LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 02-03-2006, 12:15 PM   #1
Mike W
LQ Newbie
 
Registered: Jan 2006
Posts: 1

Rep: Reputation: 0
Slack 10.2, 3C509b, dhcpcd not getting info


Hi Folks, newbie here...

I've just installed Slack 10.2 on a K2-300 machine connected to a working intranet served by a modem/router with DCHP server (D-Link DSL-504).
My network card is a 3C509b which works well when running win98se ( washes keyboard ) but intermittantly getting DCHP service when booting Linux.
The card is recognised, dchpcd loads and tries to obtain the required info - usually to no avail.
Help please.. I may be able to sort it myself if I knew how to log the startup messages, they fly past so fast I can't read them on screen.

gently please.. Mike
--
 
Old 02-03-2006, 01:05 PM   #2
ralvez
Member
 
Registered: Oct 2003
Location: Canada
Distribution: ArchLinux && Slackware 10.1
Posts: 298

Rep: Reputation: 30
To read the messages at boot time type "dmesg" (on a console) and you will see them.

Hope this helps.

Rick
 
Old 02-03-2006, 10:01 PM   #3
evilDagmar
Member
 
Registered: Mar 2005
Location: Right behind you.
Distribution: NBG, then randomed.
Posts: 480

Rep: Reputation: 31
Quote:
Originally Posted by Mike W
Hi Folks, newbie here...

I've just installed Slack 10.2 on a K2-300 machine connected to a working intranet served by a modem/router with DCHP server (D-Link DSL-504).
My network card is a 3C509b which works well when running win98se ( washes keyboard ) but intermittantly getting DCHP service when booting Linux.
The card is recognised, dchpcd loads and tries to obtain the required info - usually to no avail.
Help please.. I may be able to sort it myself if I knew how to log the startup messages, they fly past so fast I can't read them on screen.

gently please.. Mike
--
There's nothing outright wrong with dhcpcd that I'm aware of, so you might want to use tcpdump to make sure your client isn't missing something. Your D-Link may well be screwing up.

Once you've gotten the machine booted up, login as root, and kill off dhcpcd if it's running (you don't want it running just yet), preferably killing it by using `dhcpcd -k`. Then in one window run the following:

tcpdump -l -v -n -e -i eth0 port 67 or port 68 | tee dhcpsession.log

Now in a second window, go invoke dhcpcd to grab an IP address. The tcpdump command above will (blessedly) only log the DHCP packets going back and forth, and you don't even need to completely understand the output beyond figuring out which ones are a packet sent and which ones are a packet recieved back. You should see your machine sending packets (often to a rather obvious broadcast address), then a response back from the DHCP server, then your machine telling the DHCP server that it'll accept the lease. This should give you plenty of hints as to where things are breaking down, and if you can't figure it out, the log will really only be about 12-15 lines so you should be able to easily post it here as a followup (just don't be a paranoid n00b and try to edit out the addresses).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slack 10: Why must I run dhcpcd manually? IamI Slackware 5 11-23-2005 09:26 AM
dhcpcd problems on slack-current Trijicon Linux - Networking 0 10-24-2005 09:27 PM
dhcpcd getting IP, but not getting ns info tisource Linux - Networking 0 05-25-2005 11:16 AM
dhcpcd not accepting offered ip address on 3c509b-tpo card Yukoner Slackware - Installation 4 06-14-2004 06:56 PM
K12LTSP, dhcpcd-eth0.info file beajedi Linux - Networking 0 11-25-2003 07:07 PM


All times are GMT -5. The time now is 09:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration