Problem of connecting to the internet in ubuntu

  • Thread starter Thread starter powersum
  • Start date Start date
  • Replies Replies 20
  • Views Views 15,089
i am facing identical problem. my modem is not recognised by the terminal. i gave command of sudo pppoeconf and scanning started for modem but failed. what should i do. kindly guide me. thanks
 
in your terminal type ifconfig and post output here
 
thanks for your prompt responce.

i am getting following output:-


yt@yt-desktop:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:1e:90:1e:e6:85
inet6 addr: fe80::21e:90ff:fe1e:e685/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:54 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:256 (256.0 B) TX bytes:6807 (6.6 KB)
Memory:feb40000-feb60000

eth0:avahi Link encap:Ethernet HWaddr 00:1e:90:1e:e6:85
inet addr:169.254.7.202 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Memory:feb40000-feb60000

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:2496 errors:0 dropped:0 overruns:0 frame:0
TX packets:2496 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:124952 (122.0 KB) TX bytes:124952 (122.0 KB)

yt@yt-desktop:~$


Thanks buddy.if you can help, will feel oblidge.

thank you again.
 
go to system->admin->network and then go to eth0 wired connection properties and disable roaming mode and select static ip address.. and enter ip as 192.168.1.10 and gateway as 192.168.1.1 .. then try sudo pppoeconf in the terminal.. also type ping 192.168.1.1 in the terminal and post output
 
i tried what you said and again got following message-

NOT CONNECTED

│ Sorry, I scanned 1 interface, but the Access │
│ Concentrator of your provider did not respond. Please │
│ check your network and modem cables. Another reason │
│ for the scan failure may also be another running pppoe │
│ process which controls the modem. │

│ │



thereafter i typed ping _____-- and got output as under:-

yt@yt-desktop:~$ ping 192.168.1.1

PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.675 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=0.653 ms
64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=0.653 ms
64 bytes from 192.168.1.1: icmp_seq=4 ttl=64 time=0.664 ms
64 bytes from 192.168.1.1: icmp_seq=5 ttl=64 time=0.654 ms
64 bytes from 192.168.1.1: icmp_seq=6 ttl=64 time=0.653 ms
64 bytes from 192.168.1.1: icmp_seq=7 ttl=64 time=0.653 ms
64 bytes from 192.168.1.1: icmp_seq=8 ttl=64 time=0.655 ms
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxx------------------------------


kindly advise me.
thanking you.
 
hey guys , i started using ubuntu yesterdy. it was a totally different experience.how smooth and stable it is .:happy:
 
i suggest u NOT to use bridge mode (u can configure that usin Win or jus by going to ur router page after connecting it with LAN... USB gives lot of probs, so jus avoid it..), rest connect the modem with LAN n u done... nothing else...
 
first of all ,dont try in Linux with USB connection.it is almost NIL supported.if at all supported ,very buggy(even in window$ too).
use bridge mode and configure using pppoeconf .
OR
just make a file in /etc/ppp/peers/dataone(or any other).add below contents:-
Code:
noipdefaultdefaultroutereplacedefaultroutehide-password#lcp-echo-interval 30#lcp-echo-failure 4noauthpersist#mtu 1492#persist#maxfail 0#holdoff 20plugin rp-pppoe.so eth0user \"yourbroadbandusername\"#usepeerdns
and in your /etc/ppp/chap-secrets add like this format:
Code:
\"yourbroadbandusername\"  * \"yourbroadbandpassword\"
^yes double quotes are there.

now ,in your /etc/network/interfaces file:
Code:
# This file describes the network interfaces available on your system# and how to activate them. For more information, see interfaces(5).# The loopback network interfaceauto loiface lo inet loopback# The primary network interfaceauto eth0iface eth0 inet [B]static[/B]    address 192.168.1.3    netmask 255.255.255.0    network 192.168.1.0    broadcast 192.168.1.255iface dsl-provider inet ppppre-up /sbin/ifconfig eth0 up # line maintained by pppoeconfprovider [B]dataone[/B]
for faster DNS resolution ,use OpenDNS or any other free faster dns service.now add in your /etc/resolv.conf file ,below contents(make sure nothing else exists there)
Code:
nameserver 208.67.222.222nameserver 208.67.220.220
thats it. you can use ALT+F2 to get run. inside just execute "gksudo gedit /path/to/whateverfile" to have root power.
Best of Luck.

:thumb:
 
i'm running XP and ubuntu 11.1 i'm able to connect to the net from XP, but not from ubuntu.. should i configure modem for ubuntu again.. plz explain... i hav tried several times and also tryin from many days.
 

Back