Hi,
well, I am not really fully acquainted with network configurations, so
here it comes ... ;)
in blfs 6.0 I have no connection to the internet anymore (it worked
before, I did not intentionally change any dhclient settings, and I did
not build and use a new kernel), In my other two installations in my
computer (currently Kubuntu 7.04 and XP) I have access to the Internet,
using the same network interface (eth0).
When I try to ping google.de in BLFS 6.x, then "ping: unknown host".
BLFS 6.x starts as usual, during boot the message appears:
"Bringing up the et0 interface [OK]
Starting dhclient on the interface [OK]"
Some network information which is present after a boot n BLFS 6.x:
eth0 Protokoll:Ethernet Hardware Adresse 00:07:95:27:30:A6
inet Adresse:192.168.178.20 Bcast:192.168.178.255
Maske:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenl�nge:1000
RX bytes:1420 (1.3 Kb) TX bytes:1026 (1.0 Kb)
Interrupt:11 Basisadresse:0xd800
[EMAIL PROTECTED]:~# netstat -panuta
Aktive Internetverbindungen (Server und stehende Verbindungen)
Proto Recv-Q Send-Q Local Address Foreign Address
State PID/Program name
tcp 0 0 0.0.0.0:6000 0.0.0.0:*
LISTEN 1891/X
udp 0 0 0.0.0.0:68 0.0.0.0:*
1838/dhclient
[EMAIL PROTECTED]:~#
=> according to me the tcp and udp connection to my router is missing.
/var/log/daemon.log says:
Jul 29 16:57:36 localhost dhclient: DHCPREQUEST on eth0 to
255.255.255.255 port 67
Jul 29 16:57:44 localhost dhclient: DHCPREQUEST on eth0 to
255.255.255.255 port 67
Jul 29 16:58:05 localhost dhclient: DHCPDISCOVER on eth0 to
255.255.255.255 port 67 interval 4
Jul 29 16:58:06 localhost dhclient: DHCPOFFER from 192.168.178.1
Jul 29 16:58:06 localhost dhclient: DHCPREQUEST on eth0 to
255.255.255.255 port 67
Jul 29 16:58:06 localhost dhclient: DHCPACK from 192.168.178.1
Jul 29 16:58:06 localhost dhclient: bound to 192.168.178.20 -- renewal
in 331497 seconds.
/var/log/sys.log contains:
Jul 28 18:22:02 localhost dhclient: receive_packet failed on eth0:
Network is down
Version of dhclient:
[EMAIL PROTECTED]:/etc/rc.d/init.d# dhclient --version
isc-dhclient-V3.0.2
Kernel version:
[EMAIL PROTECTED]:/etc/rc.d/init.d# uname -r
2.6.15.1
content of /etc/dhclient.conf:
# dhclient.conf
interface "eth0"{
prepend domain-name-servers 127.0.0.1;
request subnet-mask, broadcast-address, time-offset, routers,
domain-name, domain-name-servers, host-name;
require subnet-mask, domain-name-servers;
}
# end dhclient.conf
content of /var/state/dhcp/dhclient.leases:
lease {
interface "eth0";
fixed-address 192.168.178.20;
option subnet-mask 255.255.255.0;
option dhcp-lease-time 864000;
option routers 192.168.178.1;
option dhcp-message-type 5;
option dhcp-server-identifier 192.168.178.1;
option domain-name-servers 127.0.0.1,192.168.178.1;
option dhcp-renewal-time 432000;
option dhcp-rebinding-time 756000;
option broadcast-address 192.168.178.255;
renew 3 2007/8/1 11:49:55;
rebind 1 2007/8/6 10:25:29;
expire 2 2007/8/7 16:25:29;
}
lease {
interface "eth0";
fixed-address 192.168.178.20;
option subnet-mask 255.255.255.0;
option routers 192.168.178.1;
option dhcp-lease-time 864000;
option dhcp-message-type 5;
option domain-name-servers 127.0.0.1,192.168.178.1;
option dhcp-server-identifier 192.168.178.1;
option dhcp-renewal-time 432000;
option broadcast-address 192.168.178.255;
option dhcp-rebinding-time 756000;
renew 4 2007/8/2 11:03:03;
rebind 2 2007/8/7 08:58:06;
expire 3 2007/8/8 14:58:06;
}
The command "dhclient -lf /var/state/dhcp/dhclient.leases" results in:
==> ./sys.log <==
Jul 29 17:43:52 localhost dhclient: Listening on
LPF/eth0/00:07:95:27:30:a6
Jul 29 17:43:52 localhost dhclient: Sending on
LPF/eth0/00:07:95:27:30:a6
Jul 29 17:43:52 localhost dhclient: Sending on Socket/fallback
Jul 29 17:43:52 localhost dhclient: DHCPREQUEST on eth0 to
255.255.255.255 port 67
Jul 29 17:43:52 localhost dhclient: DHCPACK from 192.168.178.1
Jul 29 17:43:52 localhost dhclient: bound to 192.168.178.20 -- renewal
in 431949 seconds
pppoe is not running:
[EMAIL PROTECTED]:/tmp/dhcp-3.0.2# ps -aux | grep pppoe
Warning: bad ps syntax, perhaps a bogus '-'? See
http://procps.sf.net/faq.html
root 2228 0.0 0.1 3600 676 pts/0 R+ 17:50 0:00 grep
--color=auto pppoe
[EMAIL PROTECTED]:/tmp/dhcp-3.0.2#
dmesg says:
[EMAIL PROTECTED]:~# dmesg | grep eth0
[17179572.904000] eth0: SiS 900 PCI Fast Ethernet at 0xd800, IRQ 11,
00:07:95:27:30:a6.
[17179598.480000] eth0: Media Link On 100mbps full-duplex
There are no IRQ conflicts with IRQ 11:
[EMAIL PROTECTED]:~# dmesg | grep "IRQ 11"
[17179572.892000] ACPI: PCI Interrupt Link [LNKG] enabled at IRQ 11
[17179572.892000] PCI: setting IRQ 11 as level-triggered
[17179572.892000] ACPI: PCI Interrupt 0000:00:03.0[A] -> Link [LNKG] ->
GSI 11 (level, low) -> IRQ 11
[17179572.904000] eth0: SiS 900 PCI Fast Ethernet at 0xd800, IRQ 11,
00:07:95:27:30:a6.
[17179578.044000] ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11
[17179578.044000] ACPI: PCI Interrupt 0000:00:11.0[A] -> Link [LNKB] ->
GSI 11 (level, low) -> IRQ 11
[17179580.056000] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
[17179580.056000] ACPI: PCI Interrupt 0000:00:0f.0[A] -> Link [LNKD] ->
GSI 11 (level, low) -> IRQ 11
[EMAIL PROTECTED]:~#
-------------------------------------------------------------
Steps to resolve the behaviour (which did not resolve the behaviour):
- switched off router (pulled the plug), switched in on again and did a
re-boot
- restarted network service via /etc/rc.d/init.d/network restart
(result in the console: everything "[OK]")
- restarted dhclient on the console
- stopped the firewall locally:
[EMAIL PROTECTED]:/etc/rc.d/init.d# ./firewall.stop
[EMAIL PROTECTED]:/etc/rc.d/init.d# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
[EMAIL PROTECTED]:/etc/rc.d/init.d#
- used an older kernel which I never used before for dclient based
internet connections
Any help would be very welcome ...
Jens
__________________________________ Wissenswertes für Bastler und Hobby
Handwerker. BE A BETTER HEIMWERKER! www.yahoo.de/clever
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page