Saturday, May 2, 2009

BSNL dataone with manual ip!! .. something is weird in Ubuntu 9.04 networking..

Donno if ubuntu went crazy..
BSNL dataone connection goes on perfect with Windows Vista... but when i installed ubuntu, i think, networkin in ubuntu went crazy..

Wot happened is as follows..

BSNL Dataone broadband uses dhcp.. So, using a username and password, u need to login.. As usual, the broadband modem is 192.168.1.1 ..

Now, wen i used fedora before, i was easily able to do 'ping 192.168.1.1' without any need for configuring the device..

Wen i booted from the jaunty live cd, its network icon showed the network connectivity to the broadband router and i was able to connect to the internet easily..
After installation, i was able to use net properly for 2-3 sessions..

Now, all of a sudden, wen i booted ubuntu the next time, the network manager is showing NO CONNECTION..

i used the 'nm-connection-editor' applet and found that it also had no WIRED CONNECTION.. then i edited it to create a new dhcp connection.. i disabled network and enabled it again and even then, the nm-icon showed NO VALID CONNECTION..
this continued for many system restarts while Vista worked fine with net..

wen i booted the next time, i did ' cat /etc/network/interfaces ' and the output was

auto lo
iface lo inet loopback


iface dsl-provider inet ppp
pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf
provider dsl-provider

auto eth0
iface eth0 inet manual


i should be getting ' iface eth0 inet dhcp' .. so, i edited that line to make it dhcp.. and again restarted.. once again it was not working..

Now i tried another thing.. i took the nm-connection-manager applet and edited the wired connection and checked the box " available to all users " .. when i saved and closed the connection, the connection simply disappeared from the list of wired connection!!!!!!!!!!!... some kind of bug?????????

i tried the ubuntuforums.org and its of no use till now..

now i did something different..

I edited the 'Auto-eth0' connection which i created in 'nm-connection-manager' and i changed dhcp to manual.. i changed ma ip to 192.168.1.4.. netmast.. 255.255.255.0, gateway.. 192.168.1.1.. and alas.. i was able to ping 192.168.1.1 ..!!!!!!!!!!.

I was then able to use ' sudo pon dsl-provider ' to get the net connection and i am typing from that manually configured BSNL dataone connection.. :D ..

earlier i edited ma /etc/resolv.conf to be 192.168.1.1
but now after doing 'pon dsl-provider' , it is

nameserver 218.248.255.139
nameserver 218.248.255.146

Wot is happening???

and even though internet is connected, the network manager icon shows NO VALID ACTIVE CONNECTION..!! .. :D..

any idea??????????????????????

0 comments: