network problem

Alan McKinnon alan at linuxholdings.co.za
Wed May 10 00:47:24 UTC 2006


On Tuesday 09 May 2006 23:20, Dimitri Mallis wrote:
> hi list,

Firstly, you have cross posted to three mailing lists. Please don't do 
this, it's bad manners - three conversations will get mixed up in 
three separate mailing lists and you will greatly annoy a lot of 
people. Send three identical mails to three lists instead.

> i was having troble with my network, but i could conect to the
> internet. then i changed something, then i was able to browez the
> network. when i rebooted i could not connect to the internet :<

Your network is up and running it seems. You probably have a routing 
problem.

> pppoe -> sais it connected

Yes, it did, and that's why you have a ppp0 interface with an IP 
address

> what is lo ?  Local Loopback -> was never there before
> that was never there before. how can i get rid of that. i think
> that is were my problem is.

No, that's not your problem. You MUST have an lo, it's the local 
loopback device with address 127.0.0.1. All machines on a TCP/IP 
network must have this address, it always resolves to your machine 
and many vital pieces of software will want to use it if no real 
interfaces are up. No lo = badly broken ubuntu box!

> OR
> how can i delete ALL my network & internet settings & then
> reconfigure everything?

This is not advisable, it's a common tactic in the Windows world 
because Windows is, well, broken and it likes to forget things like 
it's own name. Ubuntu doesn't behave like this.

If you reconfigure everything, you will most likely end up putting the 
same wrong settings back. How do I know this? Experience :-)

Let's rather fix your real problem, with pppo up:
What's the output of the command 'route?'
Whats' the contents of the file /etc/host?
What's the contents of the file /etc/host.conf?
What's the contents of the file /etc/resolv.conf?

>
> root at ubuntu:~# pppoe-start
> ......... Connected!
> root at ubuntu:~# ping www.google.com
> ping: unknown host www.google.com
> root at ubuntu:~# ifconfig
> eth0      Link encap:Ethernet  HWaddr 00:50:70:26:01:46
>           inet addr:10.0.0.4  Bcast:255.255.255.255  Mask:255.0.0.0
>           inet6 addr: fe80::250:70ff:fe26:146/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:148 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:200 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:14932 (14.5 KiB)  TX bytes:14823 (14.4 KiB)
>           Interrupt:23 Base address:0xc000
>
> 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:30 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:1500 (1.4 KiB)  TX bytes:1500 (1.4 KiB)
>
> ppp0      Link encap:Point-to-Point Protocol
>           inet addr:165.146.74.221  P-t-P:165.146.64.1 
> Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST 
> MTU:1492  Metric:1 RX packets:4 errors:0 dropped:0 overruns:0
> frame:0 TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:3
>           RX bytes:102 (102.0 b)  TX bytes:61 (61.0 b)
>
> root at ubuntu:~#

-- 
If only me, you and dead people understand hex, 
how many people understand hex?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five




More information about the ubuntu-users mailing list