View previous topic :: View next topic |
Author |
Message |
gullevek n00b
Joined: 09 Mar 2003 Posts: 23
|
Posted: Tue Jun 17, 2003 6:21 am Post subject: dhcpcd some strange problems |
|
|
I have a gentoo 1.4rc4 install vom stage2 (stage 1 failed because of the k6 stepping 1 & more than 32MB RAM error crap). anyway everything works fine (I even have a full KDE + X compiled and ready), BUT the dhcpcd does not work.
I have some other gentoo(s) running here and they all run fine with dhcpcd.
Anyway, when I set dhcp in the net config and I start the network I get this error in /var/log/messages
Jun 17 16:02:16 linux-clemens dhcpcd[6974]: terminating on signal 4
Jun 17 16:02:16 linux-clemens dhcpcd[6974]: dhcpStop: ioctl SIOCSIFADDR: Bad file descrip tor
Jun 17 16:02:16 linux-clemens dhcpcd[6974]: dhcpStop: ioctl SIOCSIFFLAGS: Bad file descri ptor
when I run 'strace dhcpcd eth0' I find this strange lines:
bind(4, {sin_family=AF_INET, sin_port=htons(6, sin_addr=inet_addr("0.0.0.0")}}, 16) = 0
fcntl64(4, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
open("/etc/dhcpc/dhcpcd-eth0.cache", O_RDONLY) = -1 ENOENT (No such file or directory)
ioctl(3, 0x8915, 0xbffff940) = 0
uname({sys="Linux", node="linux-clemens.tequila.intern", ...}) = 0
--- SIGILL (Illegal instruction) ---
he doesn't find the dhcpc/ stuff there nor does he create it, after that he just hangs and eats all my cpu time
well, I will google on perhaps I can find something. Perhaps someone here knows what I am missing (btw, I already tried to recompile dhcpcd).
lg |
|
Back to top |
|
|
EvilN n00b
Joined: 13 Feb 2003 Posts: 47 Location: Stockholm, Sweden
|
Posted: Tue Jun 17, 2003 6:58 am Post subject: |
|
|
I've never used dhcpd with linux (only *bsd) but a common error is not to have created the dhcpd.leases file.
Could be worth checking out.
I belive that it should generate an error about the file missing though but you never know. _________________ Juniper Networks Certified Internet Associate
JNCIA-M #0090 |
|
Back to top |
|
|
gullevek n00b
Joined: 09 Mar 2003 Posts: 23
|
Posted: Tue Jun 17, 2003 7:14 am Post subject: |
|
|
EvilN wrote: | I've never used dhcpd with linux (only *bsd) but a common error is not to have created the dhcpd.leases file.
Could be worth checking out.
I belive that it should generate an error about the file missing though but you never know. | ]
well I doubt that is the problem as you don't need a leases file on the local pc, and the DHCP deamon is just working fine for all the other computers. the problem here is something with dhcpCd (client, not server).
I am a bit stuck, because I have no more clue (kernel looks okay, etc) |
|
Back to top |
|
|
EvilN n00b
Joined: 13 Feb 2003 Posts: 47 Location: Stockholm, Sweden
|
Posted: Tue Jun 17, 2003 7:36 am Post subject: |
|
|
Douh!
I'll try to read the post more carefully next time. Sorry. _________________ Juniper Networks Certified Internet Associate
JNCIA-M #0090 |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|