This one time, at band camp, Willem-Jan Meijer said: > Hello, > Auto eth0 > Iface eth0 inet dhcp > > Auto eth1 > Address 192.168.0.1 > Netmask 255.255.255.0 > Network 192.168.0.0 > Broadcast 192.168.0.255
This should presumably also have a line 'auto eth1' > But internet doesn't work > When I type ping localhost all packets are lost, when I want to ping > outside they also get lost. If 'ping localhost' doesn't work, there's a lo problem, I'm guessing. > The output from ifconfig -a is: > > Eth0 > Link ncap: ethernet hwaddr 00:02:44:52:08:b6 > Inet addr: 62.164.231.248 bcast: 62.255.255.255 mask: 255.255.254.0 UP > broadcast running multicast ntu: 1500 metric: 1 Rx packets:6896 > errors:0 dropped:0 overruns:0 frame:0 Tx packets: 82 errors:0 > dropped:0 overruns:0 carrier:0 Collisions:0 txqueuelen: 100 > Rx bytes: 422730 (412.8 kib) tx bytes: 10972 (10.7 kib) > Interrupt:9 base address: 0x6500 > > Eth1 > Link ncap: Ethernet hwaddr 00:02:44:52:08:af > Inet addr: 192.168.0.1 bcast 192.168.0.255 mask 255.255.255.0 Up > broadcast running multicast ntu: 1500 metric: 1 Rx packets: 701 > errors:0 dropped:0 overruns:0 frame:0 Tx packets: 57 errors:0 > dropped:0 overruns:0 carrier:0 Collisions:0 txqueuelen: 100 > Rx bytes: 52077 (50.8 kib) tx bytes: 9586 (9.3 kib) > Interrupt:11 base address: 0x6600 > > Lo > Link ncap: local loopback > Loopback ntu: 16436 metric:1 > Rx packets:0 errors:0 dropped:0 overruns:0 frame:0 > Tx packets:0 errors:0 dropped:0 overruns:0 carrier:0 Collisions:0 > txqueuelen:0 Rx bytes:0 (0.0b) tx bytes:0 (0.0 b) And here it is, I think - lo should have an address associated with it. Not sure why it doesn't - do you have an entry for lo in interfaces? -- -------------------------------------------------------------------------- | Stephen Gran | A little inaccuracy sometimes saves | | [EMAIL PROTECTED] | tons of explanation. -- H.H. Munro, | | http://www.lobefin.net/~steve | "Saki" | --------------------------------------------------------------------------
msg21029/pgp00000.pgp
Description: PGP signature