If, in either mode, you can capture the output of /usr/sbin/tcpdump -n -i eth0 as root, that would help a lot. (tcpdump is in package tcpdump, if you don't have it installed already.) Yes, I have it installed. I'll run a trace later today and see what it reveals. OOPS! catch-22. In order to start tcpdump, you have to specify an interface. Before the card is inserted, there is no interface. the whole
As for the file not found, does /etc/init.d/dhclient not exist? If not, try re-installing the dhcp-client package? No, it doesn't exist. Yes, I installed dhcp-client, and that didn't create it. From another message, I discovered ARCHIVES.gz, and searched it. It appears that NO package in SuSE 8.0 provides that file. I've sent
On Mon, 3 Jun 2002, Tara L Andrews wrote: thing is over in three seconds, and I'm not that quick on the keyboard... this observation on to feedback@suse.com. The good news is it's only used when 'USE_SUSE_CONFIG' is set to 'no' in /etc/pcmcia/network.opts. This whole thing has become a wild goose chase. Yesterday, even after I resorted to manually configuring the interface, I was having extreme difficulty passing traffic, with pings to local servers dropping 60-75% of the packets. I wondered if my ethernet card was simply going bad, so I swapped it out. Since then, the problem has almost gone away... It still appears that the dhcp client isn't quite patient enough, giving up on the server after only 3 seconds, but I was able to negotiate an IP address in only two tries: Here's a snippet of my /var/log/messages: Jun 4 00:18:45 ebony cardmgr[509]: executing: './network start eth0' Jun 4 00:18:45 ebony kernel: eth0: 3C574-TX Fast EtherLink PC Card at io 0x300, irq 3, hw_addr 00:50:04:58:3F:A2. Jun 4 00:18:45 ebony kernel: ASIC rev 1, 64K FIFO split 1:1 Rx:Tx, autoselect MII interface. Jun 4 00:18:45 ebony kernel: klogd 1.4.1, ---------- state change ---------- Jun 4 00:18:45 ebony kernel: Inspecting /boot/System.map-2.4.18-4GB Jun 4 00:18:46 ebony kernel: Loaded 12771 symbols from /boot/System.map-2.4.18-4GB. Jun 4 00:18:46 ebony kernel: Symbols match kernel version 2.4.18. Jun 4 00:18:46 ebony kernel: Loaded 776 symbols from 26 modules. Jun 4 00:18:46 ebony /etc/hotplug/net.agent[1543]: Interface eth0 is handled by service PCMCIA ... exiting Jun 4 00:18:48 ebony kernel: eth0: found link beat Jun 4 00:18:48 ebony kernel: eth0: autonegotiation complete: 100baseT-HD selected Jun 4 00:18:51 ebony dhcpcd[1606]: timed out waiting for a valid DHCP server response ...note here how it gives up after only three seconds. I thought the default was supposed to be thirty! Jun 4 00:18:52 ebony modify_resolvconf: restored /etc/resolv.conf.saved.by.dhcpcd to /etc/resolv.conf Jun 4 00:18:52 ebony modify_resolvconf: Service dhcpcd modified /etc/resolv.conf. See info block in this file Jun 4 00:18:55 ebony cardmgr[509]: + Starting DHCP Client Daemon on eth0... . . . . . . . no IP address yet... backgrounding. ...huh? it was already running, and in fact had given up already. Is this message just delayed in the log? ... At about his point, eth0 disappears from an 'ifconfig' display completely, where for the past few seconds, it showed up, but without an IP address assigned. Jun 4 00:19:19 ebony su: (to root) rtg on /dev/pts/4 Jun 4 00:19:19 ebony su: pam_unix2: session started for user root, service su ...here I finally started iptraf, monitoring all interfaces: Jun 4 00:19:36 ebony kernel: device eth0 entered promiscuous mode ...then remembered I wanted a logfile: Jun 4 00:19:46 ebony kernel: device eth0 left promiscuous mode ...and restarted it with the logfile enabled: Jun 4 00:20:35 ebony kernel: device eth0 entered promiscuous mode ../with the log running, I eject the card to start over: Jun 4 00:20:58 ebony cardmgr[509]: executing: './network check eth0' Jun 4 00:20:59 ebony cardmgr[509]: + dhcpcd not running Jun 4 00:20:59 ebony cardmgr[509]: + eth0 not up Jun 4 00:20:59 ebony cardmgr[509]: executing: './network stop eth0' Jun 4 00:20:59 ebony cardmgr[509]: executing: 'rmmod 3c574_cs' Jun 4 00:21:00 ebony /etc/hotplug/net.agent[1795]: Interface eth0 is handled by service PCMCIA ... exiting ...and re-insert it to watch what happens: Jun 4 00:21:06 ebony cardmgr[509]: socket 0: 3Com 572/574 Fast Ethernet Jun 4 00:21:06 ebony cardmgr[509]: executing: 'insmod -v /lib/modules/2.4.18-4GB//pcmcia/3c574_cs.o' Jun 4 00:21:06 ebony cardmgr[509]: + Using /lib/modules/2.4.18-4GB//pcmcia/3c574_cs.o Jun 4 00:21:06 ebony cardmgr[509]: + Symbol version prefix '' Jun 4 00:21:06 ebony cardmgr[509]: executing: './network start eth0' Jun 4 00:21:06 ebony kernel: eth0: 3C574-TX Fast EtherLink PC Card at io 0x300, irq 3, hw_addr 00:50:04:58:3F:A2. Jun 4 00:21:06 ebony kernel: ASIC rev 1, 64K FIFO split 1:1 Rx:Tx, autoselect MII interface. Jun 4 00:21:08 ebony /etc/hotplug/net.agent[1818]: Interface eth0 is handled by service PCMCIA ... exiting Jun 4 00:21:09 ebony kernel: eth0: found link beat Jun 4 00:21:09 ebony kernel: eth0: autonegotiation complete: 100baseT-HD selected Jun 4 00:21:12 ebony modify_resolvconf: Service dhcpcd modified /etc/resolv.conf. See info block in this file Jun 4 00:21:13 ebony cardmgr[509]: + Starting DHCP Client Daemon on eth0... . . . . IP address: 192.168.187.174 Jun 4 00:21:18 ebony kernel: eth0: no IPv6 routers present ...and this time, of course, it negotiates an IP address, and all is well. That's what happens when you're looking! So it seems that the only problems remaining are: 1) dhcpcd timeout appears to be too short. Three seconds is a tight race for some DHCP servers. 2) /etc/init.d/dhclient script is missing from SuSE 8.0pro, and is necessary to implement old 'scheme-based' PCMCIA configuration. ...I also learned that the log produced by iptraf isn't in a format compatible with ethereal, my favorite network log visualizer... ...just now, in re-reading 'man tcpdump', I learned that I could specify '-i any', and get tcpdump running before the eth0 card is inserted, so I didn't have to use iptraf after all... Thanks for your comments and suggestions, which helped keep me on the case! -- Rick Green "They that can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety." -Benjamin Franklin