From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Qrrug-0004Yq-V5 for garchives@archives.gentoo.org; Fri, 12 Aug 2011 13:36:39 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4E6DA21C081; Fri, 12 Aug 2011 13:36:29 +0000 (UTC) Received: from mail-ey0-f171.google.com (mail-ey0-f171.google.com [209.85.215.171]) by pigeon.gentoo.org (Postfix) with ESMTP id 9829421C081 for ; Fri, 12 Aug 2011 13:35:22 +0000 (UTC) Received: by eyg24 with SMTP id 24so1648709eyg.16 for ; Fri, 12 Aug 2011 06:35:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:reply-to:to:subject:date:user-agent:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; bh=mJGI2k1hc5EZLkvVBl/ydCmTbr72PJMq+xpMlviZJoA=; b=p6HuZy1X8RdGHfyzjVQgEfuUrgEe8a2ykMxC6FvlzC4VleYkIlywUbjmEQ22Mzey32 YMf3bISF1Ak0T6TLYPVgejNEx3YeI7D2qakoF4ggSnx+7lv85UoUoepg+0CYCw6yKRDs uhOhpXCQr4NWycYga9R641Ha8fPTXIl2Rth0E= Received: by 10.216.60.74 with SMTP id t52mr790822wec.80.1313156121430; Fri, 12 Aug 2011 06:35:21 -0700 (PDT) Received: from dell_xps.localnet (230.3.169.217.in-addr.arpa [217.169.3.230]) by mx.google.com with ESMTPS id c58sm1870094wed.32.2011.08.12.06.35.19 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 12 Aug 2011 06:35:20 -0700 (PDT) From: Mick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: new user and dhcpcd problem Date: Fri, 12 Aug 2011 14:35:56 +0100 User-Agent: KMail/1.13.7 (Linux/2.6.39-gentoo-r3; KDE/4.6.5; x86_64; ; ) References: <201108112257.04465.michaelkintzios@gmail.com> In-Reply-To: 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: multipart/signed; boundary="nextPart7685939.G0HosUnbZ8"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201108121436.05980.michaelkintzios@gmail.com> X-Archives-Salt: X-Archives-Hash: c753c89155d993b1e98840dced78de9f --nextPart7685939.G0HosUnbZ8 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Friday 12 Aug 2011 13:52:35 Alexandre Riveira wrote: > > When you run ifconfig what does it show? When you run 'ip route show' > > what do > > you get? >=20 > localhost ~ # ifconfig > eth0 Link encap:Ethernet HWaddr 00:25:22:b2:64:44 > inet addr:192.168.0.159 Bcast:255.255.255.255=20 > Mask:255.255.255.0 Look, this is wrong ... Your Broadcast should be: 192.168.0.255 Otherwise you're broadcasting packets beyond your LAN. > UP BROADCAST RUNNING MULTICAST MTU:576 Metric:1 > RX packets:669 errors:0 dropped:3 overruns:0 frame:0 > TX packets:40 errors:0 dropped:0 overruns:0 carrier:1 > collisions:0 txqueuelen:1000 > RX bytes:94216 (92.0 KiB) TX bytes:5395 (5.2 KiB) > Interrupt:44 >=20 > lo Link encap:Local Loopback > inet addr:127.0.0.1 Mask:255.0.0.0 > inet6 addr: ::1/128 Scope:Host > UP LOOPBACK RUNNING MTU:16436 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) This looks OK, except that the local receive and transmit counters show zer= o=20 =2E.. >=20 > localhost ~ # ip route show > default via 192.168.0.2 dev eth0 metric 2 > 127.0.0.0/8 via 127.0.0.1 dev lo > 192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.159=20 > metric 2 This is OK > > How have you configured your /etc/conf.d/net? >=20 > config_eth0=3D( "dhcp" ) Aha! This is no longer correct if you are running the latest stable=20 baselayout2 and openrc. Instead it should be: config_eth0=3D"dhcp" no brackets! Read more here: http://www.gentoo.org/doc/en/openrc-migration.xml > > The local and eth0 interfaces seem to be reversed. How have you defined > > how > > your local and eth0 interfaces are routed? >=20 > I create link >=20 > ln -s /etc/init.d/net.lo /etc/init.d/net.eth0 > rc-update add net.eth0 boot This is correct. Change the dhcp entry in your /etc/conf.d/net and run: /etc/init.d/net.eth0 restart HTH. =2D-=20 Regards, Mick --nextPart7685939.G0HosUnbZ8 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iEYEABECAAYFAk5FLEUACgkQVTDTR3kpaLa7EwCgrYKnBMJ8q6gjZ9I+sJWqkDiT 4AgAn2YeTcUx77iRefQjkxhkh0pIBLxx =jA1s -----END PGP SIGNATURE----- --nextPart7685939.G0HosUnbZ8--