Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack (2) Thread Tools Display Modes
Old 29-12-2005, 12:47 AM   2 links from elsewhere to this Post. Click to view. #1 (permalink)
Wise Old Owl
 
desertwind's Avatar
 
Join Date: Nov 2004
Location: Hyderabad
Posts: 1,096
Default [Tutorial] Configuring an Always On DataOne on gnu/Linux


I see many asking help for configuring DataOne on their gnu/Linux machine. I've tired of posting the same answers again and again. Hence this Tutorial.

The router configuration is specific to Huawei SmartAX MT880 ADSL router.

System Configuration

Login as root.
Select System Settings > Network or system-config-network-gui on terminal.

You'll see your NIC listed there. Select it and click Edit.



Check Activate device when computer starts and Allow all users to enable and disable this device.

Select "Statically set IP addresses"

Enter the following values
Code:
Address 		: 192.168.1.2
Subnet Mask	 	: 255.255.255.0
Default gateway address	: 192.168.1.1


Press OK.

Press Activate.

open /etc/resolv.conf in your favourite text editor

Append the following lines.

Code:
nameserver 61.1.96.69
nameserver 61.1.96.71


Router Configuration

Now start your Web Browser and type 192.168.1.1 in the address bar and press enter.

PS: Enable JavaScript in your browser, if not.

It will ask for username and password. Use admin as username and password.

Click on WAN Settings under Home in the left pane.

If not set, enter the following values

Code:
PVC No: PVC-0
Wan Type: PPP
Connection Type: PPPoE
VPI/VCI: 0 / 35
Default Route : Enabled

PPP

Username: yourusername
Password: yourpassword
Use DNS: Enabled
Max Idle Time: Always On


Click Apply
When asking for save and reboot, select No and Press OK.

Now click on DNS under Home on left pane.

If not set, enter the following values

Code:
DNS Status: Enabled
Primary DNS Address: 61.1.96.69
Secondary DNS Address: 61.1.96.71
Click Apply
When asking for save and reboot, select No and Press OK.

Now click on LAN Settings Under Advanced on left pane.

If not set, enter the following values

Code:
IP Address: 192.168.1.1
Subnet Mask: 255.255.255.0
Click Apply
When asking for save and reboot, select Yes and Press OK.



The device will reboot now. It will take about a minute or more.



Do not refresh or close the browser window while rebooting. It's better leave your computer alone while this operation.

After the device has been rebooted, refresh the page. Now scroll down and you should see the green light for LAN and WAN (PVC-0)Channels.



Now click on Diagnostics under Status on left pane.

On Clicking Submit, it will do a series of tests. Important thing is that the result of first 3 under Modem Connection Test must be PASS. Don't care others.



Now, you're done. Your machine will be connected to the internet from next reboot onwards and will be always on. If you still prefer manual connect/disconnect, uncheck the Activate device when computer starts option from network configuration window. you can use the following commands

for connecting - ifup eth0
for disconnecting - ifdown eth0

provided the device name of your NIC is eth0.

You can create launchers on Desktop/Panel for the same.

Reboot your machine and Enjoy!!! [Don't forget Data caps]
__________________
Sometime you'll think you understand everything

...Then you'll regain consciousness
desertwind is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 29-12-2005, 11:30 AM   #2 (permalink)
Right Off the Assembly Line
 
Join Date: Feb 2005
Posts: 14
Default

Please tell how to install the modem connected via USB port(don't have a NIC card) .Also help in installing modem drivers supplied with the accompanying cd on fedora 3............
kaliaraj is offline  
Old 29-12-2005, 11:09 PM   #3 (permalink)
Wise Old Owl
 
desertwind's Avatar
 
Join Date: Nov 2004
Location: Hyderabad
Posts: 1,096
Default

Try either of these commands (being root may be necessary)

grep -i cdc /usr/src/linux/.config

or

grep -i cdc /boot/config

should give

CONFIG_USB_CDCETHER=#

where # should be m or y. If it is n, a recompilation of the kernel
might be necessary.

If you get CONFIG_USB_CDCETHER=m, try using the 'modprobe cdcether'
command as root and see if the modem is detected.

Source
__________________
Sometime you'll think you understand everything

...Then you'll regain consciousness
desertwind is offline  
Old 30-12-2005, 12:05 AM   #4 (permalink)
Alpha Geek
 
Satissh S's Avatar
 
Join Date: Mar 2005
Location: Chennai , India
Posts: 693
Default

Wonderful Tutorial there Riyaz. I think I was the first person to ask you how to configure dataone in linux!!
Satissh S is offline  
Old 31-12-2005, 12:18 PM   #5 (permalink)
Right Off the Assembly Line
 
Join Date: Feb 2005
Posts: 14
Default

WEll i tried grep command it gives config_usb_cdcether=y
Please tell me how to install modem right from beginning as it is not listed in network configuration window(don't have a NIC card too).I tried to make a new xDSL connection using internet configuration wizard but there modem is listed as cdc-usb eth0.But when i try to activate the connection it gives an error saying unable to activate.Seems that it does not detect the modem.However modem is listed in hardware browser. Please help in setting up the connection and recommend steps right from begining.
kaliaraj is offline  
Old 31-12-2005, 02:02 PM   #6 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Default

well.first you have to make sure your network is up
Code:
root@sputnik:~# ifconfig
if it lists lo and eth card then proceed with the setup for pppoe.read steps here or many other tutorials available..there are howtos like This detailing setup of custom USB modems..also "ifconfig" command should show the interface ppp0 or someother if you are connected.Also google is your friend...Best of LUX
heres my ifconfig:
Code:
root@sputnik:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 68686868686
          inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::211:11ff:fe66:b65e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2211 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2255 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1914061 (1.8 MiB)  TX bytes:276398 (269.9 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:8444 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8444 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:626530 (611.8 KiB)  TX bytes:626530 (611.8 KiB)

ppp0      Link encap:Point-to-Point Protocol
          etcetctetc..
praka123 is offline  
Old 05-01-2006, 01:22 AM   #7 (permalink)
Right Off the Assembly Line
 
Join Date: Feb 2005
Posts: 14
Default

Please buddies help in configuring the modem tried everything .Does anyone in this forum uses usb connected bsnl modem in linux???????????????????damn i'm frustrated please help..................if you've got NIC card than also please try to connect without it through usb port in fedora 3................................................. ................please please please
kaliaraj is offline  
Old 05-01-2006, 01:23 AM   #8 (permalink)
Right Off the Assembly Line
 
Join Date: Feb 2005
Posts: 14
Default

desert wind and prakash please help dudes............
kaliaraj is offline  
Old 05-01-2006, 01:40 AM   #9 (permalink)
Wise Old Owl
 
desertwind's Avatar
 
Join Date: Nov 2004
Location: Hyderabad
Posts: 1,096
Default

@kaliaraj: as said by you you can see the modem in xDSL configuration wizard. So do configure it. After that follow my instructions in the first post. instead of selecting nic, select your xDSL connection and edit settings accordingly.

NB: i haven't worked on bsnl usb modem yet. if you have a choice, swap this one with a ethernet one, which you can configure without any hassles.
__________________
Sometime you'll think you understand everything

...Then you'll regain consciousness
desertwind is offline  
Old 06-01-2006, 02:54 PM   #10 (permalink)
Right Off the Assembly Line
 
Join Date: Feb 2005
Posts: 14
Default

I've tried setting up the connection as you have explained entering dns addresses ........... but when i try to activate the connection it seems that computer can't communicate with the modem ....there is no response and after some time it gives error message ...i think i need to install drivers for the modem ....huawei site also does not explain anything.Anyway thanks Mr Wind for your time ......just keep in mind and whenever you come across someone using usb modem on linux (dataone) please remember to contact..................................thanks
kaliaraj is offline  
Old 06-01-2006, 02:55 PM   #11 (permalink)
Right Off the Assembly Line
 
Join Date: Feb 2005
Posts: 14
Default

I've tried setting up the connection as you have explained entering dns addresses ........... but when i try to activate the connection it seems that computer can't communicate with the modem ....there is no response and after some time it gives error message ...i think i need to install drivers for the modem ....huawei site also does not explain anything.Anyway thanks Mr Wind for your time ......just keep in mind and whenever you come across someone using usb modem on linux (dataone) please remember to contact..................................thanks
kaliaraj is offline  
Old 07-01-2006, 02:35 AM   #12 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Default

getting an NIC card is the easiest soltn.but there are firmware/patches available for specific USB models.....between whats ur modem,model..post it here.
praka123 is offline  
Old 31-01-2006, 08:10 PM   #13 (permalink)
Right Off the Assembly Line
 
Join Date: Jan 2006
Posts: 3
Default

I have p3 system with a LAN card
i have cable net connection
i 'm able to use it in win XP but not in LINUX
which is my second OS
can any one tell me how do i connect to internet in LINUX
the LINUX is RED HAT LINUX 9.0
sunil.p is offline  
Old 05-02-2006, 12:02 AM   #14 (permalink)
Wire muncher!
 
infra_red_dude's Avatar
 
Join Date: Nov 2003
Posts: 6,173
Default

users of fedora core/rhl can invoke the command "adsl-setup". just get all the info desertwind has mentioned. its a console based wizard. you don't hafta edit any file manually. its a step by step procedure. after configuring, invoke the command "adsl-start" to connect and "adsl-stop" to disconnect. this is not an always on connection..more like a dial up thing. but works widout any hassels. never used suse/mandriva. may work on them. not sure tho.
__________________
"The true measure of a man is how he treats someone who can do him absolutely no good."

http://phoenix-ani.blogspot.com
infra_red_dude is offline  
Old 04-03-2006, 04:42 PM   #15 (permalink)
Wise Old Owl
 
vignesh's Avatar
 
Join Date: Jul 2004
Location: Chennai
Posts: 1,659
Default

Will this procedure work on Airtel as well ?
vignesh is offline  
Old 06-03-2006, 10:28 AM   #16 (permalink)
Broken In
 
Join Date: Nov 2005
Posts: 142
Default DATAONE cant open go online.............

I configured DATAONE as told in tutorial by desertwind, but i m not able to connect. i.e the when i open the broswer or do a thing requiring to connect to the internet... it just doesnt happen. i am using SuSE 10.0.All the diagnostic teset and everythng mentioned by desertwind w done...hv i missed something??
Please Help
adi87 is offline  
Old 06-03-2006, 10:42 AM   #17 (permalink)
Wise Old Owl
 
desertwind's Avatar
 
Join Date: Nov 2004
Location: Hyderabad
Posts: 1,096
Default

Please post on the sticky thread. dont create seperate threads for these.

OK, for your problem, Open the Router Admin page in your browser (192.168.1.1, user/pass - admin/admin)

On the summary page, scroll down to WAN Channel.
Check whether any valid IP ( not 0.0.0.0) present for PVC0. Also check the status for the same. It should be gree. Check status for LAN channel too.
__________________
Sometime you'll think you understand everything

...Then you'll regain consciousness
desertwind is offline  
Old 06-03-2006, 10:42 AM   #18 (permalink)
Wise Old Owl
 
desertwind's Avatar
 
Join Date: Nov 2004
Location: Hyderabad
Posts: 1,096
Default

I'm not well familiar with Airtel. Is that ADSL too ? What modem/router are you using ?
__________________
Sometime you'll think you understand everything

...Then you'll regain consciousness
desertwind is offline  
Old 06-03-2006, 10:49 AM   #19 (permalink)
Broken In
 
Join Date: Nov 2005
Posts: 142
Default

i dint post there coz the last msg was very much old...and i didnt expect anyone o reply there so...............
Yes, i chkd wht u told above...but still the same prob.
Anythng else can i do?................
Are u alos using SuSe 10.0 and DATAONE????
adi87 is offline  
Old 06-03-2006, 11:55 AM   #20 (permalink)
Wise Old Owl
 
desertwind's Avatar
 
Join Date: Nov 2004
Location: Hyderabad
Posts: 1,096
Default

So, are you getting a proper ip for WAN channel ? (probably starting with 59.*.*.*) And are the status green for both LAN and WAN ?

Call up terminal and do a ping to any website, like

$ ping www.google.com, and post output here.

I'm Using FC4. And I've configured DataOne successfully on OpenSUSE
__________________
Sometime you'll think you understand everything

...Then you'll regain consciousness
desertwind is offline  
Old 06-03-2006, 01:31 PM   #21 (permalink)
Wise Old Owl
 
vignesh's Avatar
 
Join Date: Jul 2004
Location: Chennai
Posts: 1,659
Default

Actually its my friends... Ya its ADSL.... He uses BEETEL 220BX ADSL 2 + MODEM.He connects using LAN..
vignesh is offline  
Old 06-03-2006, 01:50 PM   #22 (permalink)
Wise Old Owl
 
desertwind's Avatar
 
Join Date: Nov 2004
Location: Hyderabad
Posts: 1,096
Default

Then this should work for him too. But he'll need some data like Primary and Secondary DNS. Contact their Customer Care for that.

Or if you're so patient, try reading This
__________________
Sometime you'll think you understand everything

...Then you'll regain consciousness
desertwind is offline  
Old 06-03-2006, 01:51 PM   #23 (permalink)
Wise Old Owl
 
vignesh's Avatar
 
Join Date: Jul 2004
Location: Chennai
Posts: 1,659
Default

Hey...I configured it using adsl-setup script...Thanks guys
vignesh is offline  
Old 06-03-2006, 07:54 PM   #24 (permalink)
Alpha Geek
 
Join Date: Feb 2004
Location: Belgaum
Posts: 745
Default

Just for the record,those with ADSL connections who want to configure on Linux,the below link should help.

http://www.linuxhomenetworking.com/w...DSL_Connection

@desertwind
Can you re-upload the images again for everyone please?
__________________
The protection of a machine is a process & not a given -Duane Arnold.
www.Oobertech.net
Look ma my blog http://techhub.blogspot.com/
digen is offline  
Old 07-03-2006, 09:15 AM   #25 (permalink)
Karthiksn
 
kato's Avatar
 
Join Date: Sep 2005
Location: Chennai
Posts: 422
Default

Hey DW thought of posting here before anywhere else. I am posting this from Ubuntu Live did exactly what you said leaving the except resolve.conf and its working thanks dude
__________________
"Walking the Path of Heaven, The Ruler of All."
kato is offline  
Old 07-03-2006, 09:30 AM   #26 (permalink)
Wise Old Owl
 
desertwind's Avatar
 
Join Date: Nov 2004
Location: Hyderabad
Posts: 1,096
Default

Congrats kato. Happy Hacking.
__________________
Sometime you'll think you understand everything

...Then you'll regain consciousness
desertwind is offline  
Old 08-03-2006, 09:35 AM   #27 (permalink)
Wise Old Owl
 
vignesh's Avatar
 
Join Date: Jul 2004
Location: Chennai
Posts: 1,659
Default

@desert Another friend of mine has a usb modem and is using Airtel broadband...But the usb modem is not detected.He uses Ubuntu 5.10
vignesh is offline  
Old 08-03-2006, 10:05 AM   #28 (permalink)
Wise Old Owl
 
desertwind's Avatar
 
Join Date: Nov 2004
Location: Hyderabad
Posts: 1,096
Default

@vignesh, the link i given above explains how to install drivers for an airtel usb modem. try that.
__________________
Sometime you'll think you understand everything

...Then you'll regain consciousness
desertwind is offline  
Old 21-03-2006, 08:13 PM   #29 (permalink)
Right Off the Assembly Line
 
Join Date: Jun 2005
Location: Hell's Workshop
Posts: 3
Default

Why not use the following software for connection via a ADSL modem? I think it is far more easier, atleast for newbies. My friend uses this to connect to the internet. He uses the BSNL Dataone Connection .

Link to PPPOE Client (has a readme, which is understandable )
http://www.roaringpenguin.com/pengui...poe-3.7.tar.gz
j667 is offline  
Old 21-03-2006, 08:18 PM   #30 (permalink)
Right Off the Assembly Line
 
Join Date: Jun 2005
Location: Hell's Workshop
Posts: 3
Default

Would have done better if i had pasted this link before

http://www.roaringpenguin.com/pengui...e_rp-pppoe.php
j667 is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: http://www.thinkdigit.com/forum/open-source/21171-tutorial-configuring-always-dataone-gnu-linux.html
Posted By For Type Date
LINUX PROBLEMS - IT@SCHOOL Project Thalassery This thread Refback 26-06-2011 01:31 PM
Bsnl dataone configuration - Linux Forums This thread Refback 03-03-2011 10:44 AM

 
Latest Threads
- by icebags
- by clinton
- by topgear
- by trublu

Advertisement




All times are GMT +5.5. The time now is 10:15 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2