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 1KwaH3-00078s-SG for garchives@archives.gentoo.org; Sun, 02 Nov 2008 10:33:38 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BF3BEE0212; Sun, 2 Nov 2008 10:33:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 71F24E0212 for ; Sun, 2 Nov 2008 10:33:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id B1AC56427F for ; Sun, 2 Nov 2008 10:33:33 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -3.599 X-Spam-Level: X-Spam-Status: No, score=-3.599 required=5.5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q9kfDkc9h4SW for ; Sun, 2 Nov 2008 10:33:27 +0000 (UTC) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 4E74C646EC for ; Sun, 2 Nov 2008 10:33:25 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KwaGo-0006d3-J2 for gentoo-user@gentoo.org; Sun, 02 Nov 2008 10:33:22 +0000 Received: from athedsl-404541.home.otenet.gr ([79.131.132.59]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 02 Nov 2008 10:33:22 +0000 Received: from realnc by athedsl-404541.home.otenet.gr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 02 Nov 2008 10:33:22 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Nikos Chantziaras Subject: [gentoo-user] Re: dhcpd uses fake MAC address Date: Sun, 02 Nov 2008 12:33:13 +0200 Message-ID: References: <200810260232.42584.volker.armin.hemmann@tu-clausthal.de> <200810291049.39124.michaelkintzios@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; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: athedsl-404541.home.otenet.gr User-Agent: Thunderbird 2.0.0.17 (X11/20080926) In-Reply-To: Sender: news X-Archives-Salt: faf09148-2975-4f94-bb69-0f4ac629e4b4 X-Archives-Hash: b92bf265cae4ec55408fb3cea09aad8f Joshua Murphy wrote: > On Wed, Oct 29, 2008 at 6:49 AM, Mick wrote: > >> More sophisticated routers allow you to set up on their CLI static LAN IP >> addresses using the DUID string, instead of the client's MAC hardware >> address. >> >> Previous versions of dhcpcd had the vram USE flag which copied the hardware >> address into the DUID string and the dhcp servers would happily recognise the >> original network device, while using the DUID string. Now the vram flag is >> gone. Therefore, if you cannot set up static IP addresses with your router's >> CLI using the client_indentifier string (like e.g. on Cisco and >> Adtran/Netvanta routers), the only other solution would be to set it on the >> client side. That's an inconvenient solution if you have a laptop which >> connects to all sort of networks with different LAN IP addresses/ranges. In >> that case you may have to run ifconfig and route manually each time you >> connect to a network. > > Or, actually, you could just give in and use a different dhcp > client... one more forgiving of less RFC compliant servers. Just > winging an admittedly untested idea... try "busybox udhcpc" and see if > it gives you the right IP... and if so, try emerging net-misc/udhcp > (different from BB's built in, but it's worked in all the same places > as BB's has for me, which includes some very cheap routers) and > setting your conf.d/net to use it over other clients. ( modules=( > "udhcpc" ) ) I just did this and everything is OK; the MAC address is correct. Booting is also faster by about 8-10 seconds (dhcpcd needed about 10 seconds to get the IP, udhcpc gets an IP instantly.) And no, my router isn't broken. Quite the contrary; all the Ciscos and Netgears and whatevers developed problems over time. My old trusty Thomson SpeedTouch just keeps walking for ages, running 24/7 for over 5 years :)