From: Ray Olszewski <ray@comarre.com>
To: linux-newbie@vger.kernel.org
Subject: Re: Netconfig Fail
Date: Thu, 06 Oct 2005 22:49:48 -0700 [thread overview]
Message-ID: <43460C7C.6050000@comarre.com> (raw)
In-Reply-To: <20051007122344.3780b5c0.heisspf@skyinet.net>
OK, Peter. Thanks for the added detail. I see one interesting thing.
Peter wrote:
[...]
> broadcasting DHCP_REQUEST for 192.169.231.250
> Oct 7 07:58:11 Peter dhcpcd[2293]: timed out waiting for DHCP_ACK response
> Oct 7 07:58:11 Peter dhcpcd[2293]: broadcasting DHCP_DISCOVER
>
> whereas when I still could connect with onboard LAN card:
>
> DHCP_ACK received from (192.169.224.1)
> Oct 2 12:17:51 localhost dhcpcd[104]: sending DHCP_REQUEST for 192.169.232.12
> to 192.169.224.1
In the first entry, Slackware's dhcpcd is asking any DHCP server to
assign to it IP address 192.169.231.250. In principle this is OK;
normally, it would mean that the system has previously received this
address assignment and wants to get the same address again. (My LAN
machines, the ones on DHCP that is, do this same thing when they renew
addresses.) When it gets no response, it then asks (the DHCP_DISCOVER)
for any DHCP server to respond as available to give *any* addresses. You
don't quote what happens next, but I'm guessing it's another "timed out
waiting" message ... maybe several, since DHCP clients are normally very
persistent in looking for servers.
But the second (on-mobo NIC) part of the report identifies a *different*
DHCP server as the one it is getting an acknowledgment from. (Am I
correct in assuming this is also from a Slackware log, BTW?)
To figure out what is going on, you want to look at other stuff that is
near these messages but that you didn't quote to us in your reply.
In the on-mobo-NIC case, look before what you sent us to see if the DHCP
client there is sending DHCP_REQUEST to 192.169.224.1 or if the
DHCP_ACK here is a response to a DHCP_DISCOVER.
In the PCI-NIC case, first check the timestamp you left off the first
(DHCP_REQUEST) message to see if it is far enough before 07:58:11 to
observe the time lag you see. Then see if anything is logged in response
to the DHCP_DISCOVER message that dhcpcd sends out.
Then check for corresponding log entries in the Fedora and DSL runs, to
see how they are actually finding their DHCP servers.
Then, using some version of your setup that gets an IP address, find out
if the DHCP server Slackware wants to use is ping'able.
The core of your problem is that in the Slackware case, you don't get a
response to a DHCP_DISCOVER message ... which would be a DHCP server
identifying itself to you as a source of address assignments.
Why this happens depends in part on what you find when you check the
things I mention above.
One other thing. You wrote:
> nd in fedora4 w/o -a flag. Note the second line missing in slack.
>
> eth1 Link encap:Ethernet HWaddr 00:08:A1:8C:44:5A
> inet addr:192.169.232.15 Bcast:192.169.255.255 Mask:255.255.224.0
> inet6 addr: fe80::208:a1ff:fe8c:445a/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:145 errors:0 dropped:0 overruns:0 frame:0
> TX packets:136 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:26493 (25.8 KiB) TX bytes:11880 (11.6 KiB)
> Interrupt:10 Base address:0xec00
What is interesting to me is not that the second line is present (it is
what I would expect, the difference between a configured and an
unconfigured interface), but that Fedora thinks your pci NIC is eth1,
not eth0. Does that version have an eth0 (it must; use the -a flag to
find out about it)? What is it? Can we see its ifconfig -a report?
I really don't know what this difference means, but it does make me
doubt whether the two cases (Fedora and Slack) are really the same in
*all* respects other than the choice of distro.
Oh yes, last thing. In Slackware, you report:
> This is in slackware
> /sbin/ifconfig -a
> eth0 Link encap:Ethernet HWaddr 00:08:A1:8C:44:5A
> BROADCAST MULTICAST MTU:1500 Metric:1
> RX packets:12 errors:0 dropped:0 overruns:0 frame:0
> TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:1896 (1.8 Kb) TX bytes:4720 (4.6 Kb)
> Interrupt:10 Base address:0xec00
Note there are RX packets and bytes, so the system is receiving
something, on a guess some response to its broadcast packets. In the
worst case, run a sniffer (ethereal, tcpdump) on the system while trying
to get a DHCP assignment.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
next prev parent reply other threads:[~2005-10-07 5:49 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-06 13:15 Netconfig Fail Peter
2005-10-06 7:33 ` Ray Olszewski
2005-10-07 16:23 ` Peter
2005-10-07 5:49 ` Ray Olszewski [this message]
2005-10-07 11:20 ` chuck gelm
2005-10-07 17:23 ` Ray Olszewski
2005-10-08 15:43 ` Peter
2005-10-08 15:22 ` Peter
2005-10-07 11:36 ` chuck gelm
2005-10-08 15:39 ` Peter
2005-10-08 4:18 ` Ray Olszewski
[not found] ` <200510052204.15272.david@fierbaugh.org>
2005-10-06 14:54 ` Peter
2005-10-06 12:53 ` David Fierbaugh
2005-10-06 18:52 ` chuck gelm
-- strict thread matches above, loose matches on Subject: below --
2005-10-08 18:33 Peter
2005-10-08 16:01 ` Ray Olszewski
2005-10-09 1:33 ` Peter
2005-10-09 7:04 ` Peter
2005-10-09 15:29 ` Peter
2005-10-09 18:00 ` chuck gelm
2005-10-09 7:08 Peter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43460C7C.6050000@comarre.com \
--to=ray@comarre.com \
--cc=linux-newbie@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox