eboladeath
03-25-2003, 10:46 PM
Hi!!!
I´m having bad times trying to get my RH 73 box conneted to the internet using dhcp.
I have dual booting (W98 and RH 73) and W98 works fine.
I hope this data help you find the problem.
- Bios PnP capabilities are turned off.
- eth0 (nic conneted to cable modem) is 3Com EtherLink XL TPO 10Mb Ethernet (3C900B TPO)
- Cable modem is 3Com Home Connect Cable Modem 3CR29220 (Shark wing type)
- I have two nics and their modules seems to be right
# lsmod
Module Size Used by Not tainted
via-rhine 14468 1
3c59x 28520 1
etc# cat modules.conf
alias eth0 3c59x
alias eth1 via-rhine
- This is the routing info (IPs as seen on W98 conf)
# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
/etc# cat resolv.conf
search supercabletv.net.co
nameserver 200.47.216.19
nameserver 200.47.216.10
nameserver 200.47.216.3
- Configuration bor both nics. As im having trouble conneting, i had assign eth0 to a static
address, si i can try dhcpcd or pump later
/etc/sysconfig/network-scripts# cat ifcfg-eth0
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
USERCTL='no'
BOOTPROTO='none'
DEVICE='eth0'
HWADDR='00:01:02:3c:19:4d'
TYPE='Ethernet'
ONBOOT='yes'
NETWORK='192.168.0.0'
BROADCAST='192.168.0.255'
IPADDR='192.168.0.3'
NETMASK='255.255.255.0'
/etc/sysconfig/network-scripts# cat ifcfg-eth1
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
USERCTL='yes'
NETMASK='255.255.255.0'
BOOTPROTO='none'
HWADDR='00:07:95:0c:ae:a6'
DEVICE='eth1'
IPADDR='192.168.0.1'
TYPE='Ethernet'
ONBOOT='yes'
NETWORK='192.168.0.0'
BROADCAST='192.168.0.255'
# ifconfig
eth0 Link encap:Ethernet HWaddr 00:01:02:3C:19:4D
inet addr:192.168.0.3 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:120 errors:0 dropped:0 overruns:0 carrier:26
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:36880 (36.0 Kb)
Interrupt:5 Base address:0xec00
eth1 Link encap:Ethernet HWaddr 00:07:95:0C:AE:A6
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:2510 (2.4 Kb) TX bytes:168 (168.0 b)
Interrupt:5 Base address:0xd800
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:284 errors:0 dropped:0 overruns:0 frame:0
TX packets:284 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:171463 (167.4 Kb) TX bytes:171463 (167.4 Kb)
- dhcpcd version running on my box
# dhcpcd --help
DHCP Client Daemon v.1.3.22-pl3
- tryin to connect
# dhcpcd -r eth0
- this lecture is from tcpdump while the dhcp traffic is broadcasted. I can see cable modem activity, but
i can´t get conneted
# tcpdump -i eth0
tcpdump: listening on eth0
20:24:04.128245 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x34661171 secs:10 C:192.168.0.3 [|bootp]
20:24:04.147257 arp who-has 200.47.216.19 tell 192.168.0.3
20:24:05.138639 arp who-has 200.47.216.19 tell 192.168.0.3
20:24:06.138641 arp who-has 200.47.216.19 tell 192.168.0.3
20:24:08.248670 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x34661171 secs:10 C:192.168.0.3 [|bootp]
20:24:09.148757 arp who-has 200.47.216.10 tell 192.168.0.3
tcpdump: pcap_loop: recvfrom: Network is down
- another try
# dhcpcd -r eth0
# tcpdump -i eth0
tcpdump: WARNING: eth0: no IPv4 address assigned
tcpdump: listening on eth0
20:29:42.513865 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x731ab741 secs:10 [|bootp]
20:29:46.628672 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x731ab741 secs:10 [|bootp]
20:29:54.758669 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x731ab741 secs:10 [|bootp]
20:30:10.828670 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x731ab741 secs:10 [|bootp]
tcpdump: pcap_loop: recvfrom: Network is down
- this is dhcpcd´s syslog info
/var/log# cat dhcpcd.log
Jan 3 20:25:04 micro981 dhcpcd[1841]: timed out waiting for a valid DHCP server response
Jan 3 20:30:42 micro981 dhcpcd[1903]: timed out waiting for a valid DHCP server response
- ... and now my eth0 has disappear :(....
# ifconfig
eth1 Link encap:Ethernet HWaddr 00:07:95:0C:AE:A6
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:251 (251.0 b) TX bytes:168 (168.0 b)
Interrupt:5 Base address:0xd800
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:24 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2090 (2.0 Kb) TX bytes:2090 (2.0 Kb)
- there is no iptables or ipchais rules on the firewall. Actually, only iptables works on
this kernel!!!
If you need more info just ask for it...
Thanks in advanced
I´m having bad times trying to get my RH 73 box conneted to the internet using dhcp.
I have dual booting (W98 and RH 73) and W98 works fine.
I hope this data help you find the problem.
- Bios PnP capabilities are turned off.
- eth0 (nic conneted to cable modem) is 3Com EtherLink XL TPO 10Mb Ethernet (3C900B TPO)
- Cable modem is 3Com Home Connect Cable Modem 3CR29220 (Shark wing type)
- I have two nics and their modules seems to be right
# lsmod
Module Size Used by Not tainted
via-rhine 14468 1
3c59x 28520 1
etc# cat modules.conf
alias eth0 3c59x
alias eth1 via-rhine
- This is the routing info (IPs as seen on W98 conf)
# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
/etc# cat resolv.conf
search supercabletv.net.co
nameserver 200.47.216.19
nameserver 200.47.216.10
nameserver 200.47.216.3
- Configuration bor both nics. As im having trouble conneting, i had assign eth0 to a static
address, si i can try dhcpcd or pump later
/etc/sysconfig/network-scripts# cat ifcfg-eth0
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
USERCTL='no'
BOOTPROTO='none'
DEVICE='eth0'
HWADDR='00:01:02:3c:19:4d'
TYPE='Ethernet'
ONBOOT='yes'
NETWORK='192.168.0.0'
BROADCAST='192.168.0.255'
IPADDR='192.168.0.3'
NETMASK='255.255.255.0'
/etc/sysconfig/network-scripts# cat ifcfg-eth1
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
USERCTL='yes'
NETMASK='255.255.255.0'
BOOTPROTO='none'
HWADDR='00:07:95:0c:ae:a6'
DEVICE='eth1'
IPADDR='192.168.0.1'
TYPE='Ethernet'
ONBOOT='yes'
NETWORK='192.168.0.0'
BROADCAST='192.168.0.255'
# ifconfig
eth0 Link encap:Ethernet HWaddr 00:01:02:3C:19:4D
inet addr:192.168.0.3 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:120 errors:0 dropped:0 overruns:0 carrier:26
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:36880 (36.0 Kb)
Interrupt:5 Base address:0xec00
eth1 Link encap:Ethernet HWaddr 00:07:95:0C:AE:A6
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:2510 (2.4 Kb) TX bytes:168 (168.0 b)
Interrupt:5 Base address:0xd800
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:284 errors:0 dropped:0 overruns:0 frame:0
TX packets:284 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:171463 (167.4 Kb) TX bytes:171463 (167.4 Kb)
- dhcpcd version running on my box
# dhcpcd --help
DHCP Client Daemon v.1.3.22-pl3
- tryin to connect
# dhcpcd -r eth0
- this lecture is from tcpdump while the dhcp traffic is broadcasted. I can see cable modem activity, but
i can´t get conneted
# tcpdump -i eth0
tcpdump: listening on eth0
20:24:04.128245 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x34661171 secs:10 C:192.168.0.3 [|bootp]
20:24:04.147257 arp who-has 200.47.216.19 tell 192.168.0.3
20:24:05.138639 arp who-has 200.47.216.19 tell 192.168.0.3
20:24:06.138641 arp who-has 200.47.216.19 tell 192.168.0.3
20:24:08.248670 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x34661171 secs:10 C:192.168.0.3 [|bootp]
20:24:09.148757 arp who-has 200.47.216.10 tell 192.168.0.3
tcpdump: pcap_loop: recvfrom: Network is down
- another try
# dhcpcd -r eth0
# tcpdump -i eth0
tcpdump: WARNING: eth0: no IPv4 address assigned
tcpdump: listening on eth0
20:29:42.513865 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x731ab741 secs:10 [|bootp]
20:29:46.628672 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x731ab741 secs:10 [|bootp]
20:29:54.758669 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x731ab741 secs:10 [|bootp]
20:30:10.828670 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x731ab741 secs:10 [|bootp]
tcpdump: pcap_loop: recvfrom: Network is down
- this is dhcpcd´s syslog info
/var/log# cat dhcpcd.log
Jan 3 20:25:04 micro981 dhcpcd[1841]: timed out waiting for a valid DHCP server response
Jan 3 20:30:42 micro981 dhcpcd[1903]: timed out waiting for a valid DHCP server response
- ... and now my eth0 has disappear :(....
# ifconfig
eth1 Link encap:Ethernet HWaddr 00:07:95:0C:AE:A6
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:251 (251.0 b) TX bytes:168 (168.0 b)
Interrupt:5 Base address:0xd800
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:24 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2090 (2.0 Kb) TX bytes:2090 (2.0 Kb)
- there is no iptables or ipchais rules on the firewall. Actually, only iptables works on
this kernel!!!
If you need more info just ask for it...
Thanks in advanced