Quantcast
Channel: Applied Electronics Journal
Viewing all articles
Browse latest Browse all 21

Airtel Broadband connection on linux machine

$
0
0

I have a dual boot (Windows XP, openSUSE) PC.

I have my airtel broadband connection activated.
Airtel Engineer had done the setup and activation on WindowsXP.
After he left, I did a reboot to openSUSE.

Then I just followed the instructions as given in the below site.
Pasting it without changing a word

=====================================================================
http://kasolutions.wordpress.com/2009/05/14/using-airtel-broadband-in-linux/

yesterday i sweated a lot for bringing up airtel braodband in linux. to save water (!) please read the instructions.
pre-requisites
airtel router ip , subnet mask , supplied IP
generally it is 192.168.1.1
to find out this, use windows. connect to windows and wait for the “LAN in now connected” pop up
open up a command prompt and type in “ipconfig”
from the listing, look for something like this
Ethernet adapter Local Area Connection:Connection-specific DNS Suffix . :IP Address. . . . . . . . . . . . : 192.168.1.36Subnet Mask . . . . . . . . . . . : 255.255.252.0Default Gateway . . . . . . . . . : 192.168.1.15
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.1.2 => your machine’s IP (note this down)
Subnet Mask . . . . . . . . . . . : 255.255.255.0 => mask (note this down)
Default Gateway . . . . . . . . . : 192.168.1.1 => airtel router’s IP (note this down)
We are all set to get into linux. Follow the steps in their order
From a shell execute the commands
1. $ ifconfig eth0 192.168.1.2
this sets IP for eth0 . to know which eth link you have, execute the command “ifconfig -a” and look for the link eth
2. $ route add default gw 192.168.1.1
this sets default gateay as airtel router
3. $ vim /etc/resolv.conf
add this line
nameserver 192.168.1.1
to the file’s end after commenting out all the other lines (for commenting, put a “#” at the beginning of a line)
4. $ ping http://www.google.com
it will work
Thats it. Browse away

=====================================================================

Note: ifconfig, route commands require superuser privileges
Type su, then enter password and do steps 1 through 3
For fourth step, superuser privilege is not required.
Type exit and call the ping command as a normal user

Within a minute I was able to browse from my openSUSE.
That was really nice.

Then I did a restart into openSUSE
Now I was not able to browse anything.
Sadly I had to repeat the above steps again to start with.

Then I looked up the Control Center to see if these settings
could be saved. Couldn’t do it successfully.

Finally I did a try as given below; it worked right away
Computer -> Control Center -> Network Settings
-> Global Options:

  • Traditional Method with ifup
  • Enable IPv6
  • Hostname to send AUTO
  • Change Default route via DHCP

-> Overview -> Edit
-> General

  • Activate device at boot time

-> Address

  • Dynamic Address DHCP

-> Hardware

  • Device name eth0

Filed under: Linux Tagged: airtel, broadband, DHCP, Linux, openSUSE, suse

Viewing all articles
Browse latest Browse all 21

Trending Articles