From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JFw2f-0002t2-Ob for garchives@archives.gentoo.org; Fri, 18 Jan 2008 18:34:13 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 30D93E092E; Fri, 18 Jan 2008 18:33:40 +0000 (UTC) Received: from dcnode-02.unlimitedmail.net (unknown [212.145.239.58]) by pigeon.gentoo.org (Postfix) with ESMTP id 98E43E087F for ; Fri, 18 Jan 2008 18:33:38 +0000 (UTC) Received: from ppp.zz ([137.204.208.98]) (authenticated bits=0) by dcnode-02.unlimitedmail.net (8.14.2/8.14.0) with ESMTP id m0IIXSoL026094 for ; Fri, 18 Jan 2008 19:33:29 +0100 From: Etaoin Shrdlu To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Net / dhcp (miss)behaviour Date: Fri, 18 Jan 2008 19:48:08 +0100 User-Agent: KMail/1.9.7 References: <9238e8de0801180909p758315d6p783b50efa8ec22ff@mail.gmail.com> <200801181924.42412.shrdlu@unlimitedmail.org> <9238e8de0801181017g7b036e9dre3ffe39fb9b3dffe@mail.gmail.com> In-Reply-To: <9238e8de0801181017g7b036e9dre3ffe39fb9b3dffe@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200801181948.08160.shrdlu@unlimitedmail.org> X-UnlimitedMail-MailScanner-From: shrdlu@unlimitedmail.org X-Spam-Status: No X-Archives-Salt: 45dfc93f-a874-4946-ace4-1b134b64a5ae X-Archives-Hash: f59da0f978a57ef70e6843eda8caae05 On Friday 18 January 2008, Marko Koci=C4=87 wrote: > > I never used cable modem and don't know how it connects to the PC, > > so I might be saying something completely wrong here, > > Regular network cable going directly from cable modem to laptop. > > > but can't you sniff the > > traffic directly from the laptop by capturing packets on the > > interface connected to the cable modem? > > I can do that when interface is up is up and running. > But it is /etc/init.d/net.eth0 that is failing because of dhcp error. > > What should I use? Ethereal? What should I look for? Actually, as long as the interface is up, you can sniff traffic even if=20 it does not have an IP address. Emerge wireshark (somehow...), do (as=20 root) an "ip link set eth0 up" (or "ifconfig eth0 up") and run=20 wireshark. Start capturing packets, run dhcpcd from the command line (or=20 whatever DHCP client you use), and see what goes on the wire. You should=20 see DHCP discovery/offer/request messages, or maybe not all of them if=20 things are not working correctly. For each DHCP packet, look at the DHCP=20 payload details from wireshark (you can save the capture for later=20 viewing too). Then, start windows, install wireshark for windows, and do the same. To=20 force a DHCP negotiation in windows, open a command prompt and issue=20 an "ipconfig /release" followed by an "ipconfig /renew" (IIRC). Look at=20 the traffic captured after the /renew command, and look for obvious or=20 blatant differences between windows and linux in DHCP packets of the=20 same kind. -- gentoo-user@lists.gentoo.org mailing list