Results 1 to 30 of 126
-
29-12-2005, 12:47 AM #1
[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
Click ApplyCode:DNS Status: Enabled Primary DNS Address: 61.1.96.69 Secondary DNS Address: 61.1.96.71
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
Click ApplyCode:IP Address: 192.168.1.1 Subnet Mask: 255.255.255.0
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
-
29-12-2005, 11:30 AM #2Right Off the Assembly Line
- Join Date
- Feb 2005
- Posts
- 14
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............
-
29-12-2005, 11:09 PM #3
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.
SourceSometime you'll think you understand everything
...Then you'll regain consciousness
-
30-12-2005, 12:05 AM #4
Wonderful Tutorial there Riyaz. I think I was the first person to ask you how to configure dataone in linux!!
-
31-12-2005, 12:18 PM #5Right Off the Assembly Line
- Join Date
- Feb 2005
- Posts
- 14
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.
-
31-12-2005, 02:02 PM #6
well.first you have to make sure your network is up
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 LUXCode:root@sputnik:~# ifconfig
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..
-
05-01-2006, 01:22 AM #7Right Off the Assembly Line
- Join Date
- Feb 2005
- Posts
- 14
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
-
05-01-2006, 01:23 AM #8Right Off the Assembly Line
- Join Date
- Feb 2005
- Posts
- 14
desert wind and prakash please help dudes............
-
05-01-2006, 01:40 AM #9
@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
-
06-01-2006, 02:54 PM #10Right Off the Assembly Line
- Join Date
- Feb 2005
- Posts
- 14
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
-
06-01-2006, 02:55 PM #11Right Off the Assembly Line
- Join Date
- Feb 2005
- Posts
- 14
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
-
07-01-2006, 02:35 AM #12
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.
-
31-01-2006, 08:10 PM #13Right Off the Assembly Line
- Join Date
- Jan 2006
- Posts
- 3
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
-
05-02-2006, 12:02 AM #14
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
-
04-03-2006, 04:42 PM #15
Will this procedure work on Airtel as well ?
-
06-03-2006, 10:28 AM #16Broken In
- Join Date
- Nov 2005
- Posts
- 142
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
-
06-03-2006, 10:42 AM #17
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
-
06-03-2006, 10:42 AM #18
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
-
06-03-2006, 10:49 AM #19Broken In
- Join Date
- Nov 2005
- Posts
- 142
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????
-
06-03-2006, 11:55 AM #20
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 OpenSUSESometime you'll think you understand everything
...Then you'll regain consciousness
-
06-03-2006, 01:31 PM #21
Actually its my friends... Ya its ADSL.... He uses BEETEL 220BX ADSL 2 + MODEM.He connects using LAN..
-
06-03-2006, 01:50 PM #22
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 ThisSometime you'll think you understand everything
...Then you'll regain consciousness
-
06-03-2006, 01:51 PM #23
Hey...I configured it using adsl-setup script...Thanks guys
-
06-03-2006, 07:54 PM #24Alpha Geek
- Join Date
- Feb 2004
- Location
- Belgaum
- Posts
- 745
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/
-
07-03-2006, 09:15 AM #25
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."
-
07-03-2006, 09:30 AM #26
Congrats kato. Happy Hacking.
Sometime you'll think you understand everything
...Then you'll regain consciousness
-
08-03-2006, 09:35 AM #27
@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
-
08-03-2006, 10:05 AM #28
@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
-
21-03-2006, 08:13 PM #29Right Off the Assembly Line
- Join Date
- Jun 2005
- Location
- Hell's Workshop
- Posts
- 3
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.gzNext to the Devil...
-
21-03-2006, 08:18 PM #30Right Off the Assembly Line
- Join Date
- Jun 2005
- Location
- Hell's Workshop
- Posts
- 3
Would have done better if i had pasted this link before
http://www.roaringpenguin.com/pengui...e_rp-pppoe.phpNext to the Devil...
LinkBacks (?)
-
26-06-2011, 01:31 PM
-
03-03-2011, 10:44 AM
Similar Threads
-
[Tutorial] Configuring NetGear DG834 V4 Router
By VarDOS in forum TutorialsReplies: 2Last Post: 01-04-2009, 07:01 PM -
Configuring an always on DataOne connection on WA1003A
By chatterjeesayan in forum Open SourceReplies: 1Last Post: 17-08-2007, 01:01 PM -
Configuring Bsnl Dataone Broadband in Linux
By paragkalra in forum Open SourceReplies: 1Last Post: 08-05-2007, 11:23 AM -
*Urgent* Problem in configuring dataone
By h_kunte in forum PC Components / ConfigurationsReplies: 9Last Post: 25-03-2007, 10:06 AM -
Configuring Dataone in RHEL 4 via USB?
By paragkalra in forum Open SourceReplies: 3Last Post: 27-04-2006, 07:02 PM



LinkBack URL
About LinkBacks

Bookmarks