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 1NDs1n-0002ei-Uu for garchives@archives.gentoo.org; Fri, 27 Nov 2009 04:01:52 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1A8D4E089C for ; Fri, 27 Nov 2009 04:01:51 +0000 (UTC) Received: from qw-out-1920.google.com (qw-out-1920.google.com [74.125.92.147]) by pigeon.gentoo.org (Postfix) with ESMTP id DD6D7E0757 for ; Fri, 27 Nov 2009 02:55:28 +0000 (UTC) Received: by qw-out-1920.google.com with SMTP id 4so199756qwk.10 for ; Thu, 26 Nov 2009 18:55:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:received:date:from:to :subject:message-id:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=Udji+sqMXR/YlpE6WpBmgiv68EZC/uXIB6UOikbzc+k=; b=thsoDT/ygctym77+VJtywL6FWJU/VTUKkCl5J7XdriK73+iAot6YPdQBLzqhUFbh4n gkhVl8byHSchdpIvO5zdT5fmLzEzlvx8Zvs36jynHpBLi0rgy9GIDu+37G9EloaEwnts F4xIkJrdyCAOVxi2FQ2F7DnmDcEvR5iExgRak= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=kGB/gDxh37H4QDDYEBNUrXW0rc8Kidj13d6DaR98ez1zJ0HoMO0HCY9fuae0uVl2C6 tvZcpRscmzhafrG20n2l+vC7j6neEqiWu8n57O4LsXzZ1iua0xRm3wN78wA1wlKiQTGT Uyh20pUKhZJ6xU5rB3FFHI/b5bqzGzuUTavhU= Received: by 10.224.53.88 with SMTP id l24mr228018qag.259.1259290528314; Thu, 26 Nov 2009 18:55:28 -0800 (PST) Received: from kostya (hs-216-106-102-79.storm.ca [216.106.102.79]) by mx.google.com with ESMTPS id 23sm1005150qyk.11.2009.11.26.18.55.27 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 26 Nov 2009 18:55:27 -0800 (PST) Sender: "Michael P. Soulier" Received: by kostya (Postfix, from userid 1000) id 062AA19C06F; Thu, 26 Nov 2009 21:55:26 -0500 (EST) Date: Thu, 26 Nov 2009 21:55:25 -0500 From: "Michael P. Soulier" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] configuring wlan0 Message-ID: <20091127025523.GB5812@kostya.digitaltorque.ca> References: <20091117232014.GA6951@anton.digitaltorque.ca> <200911181638.55003.michaelkintzios@gmail.com> <20091118233820.GD6951@anton.digitaltorque.ca> <200911202012.43948.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: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="i7F3eY7HS/tUJxUd" Content-Disposition: inline In-Reply-To: <200911202012.43948.michaelkintzios@gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Archives-Salt: d16f8d4a-6b17-4e44-bc6f-f5f052ff03a9 X-Archives-Hash: 500e7b857ea27b6c72a37f349d539be0 --i7F3eY7HS/tUJxUd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 20/11/09 Mick said: > Does your router know this? I'm not being funny, but I had run into a pr= oblem=20 > sometime in the past where a change in the dhcpcd version caused the rout= er to=20 > not read the NIC MAC address correctly. That created a clash with the IP= =20 > address lease. If I configure it statically then it dhcpcd shouldn't run at all. It works fine when I configure it by hand.=20 > OK, have you looked in your logs/dmesg? I think that the ndiswrapper has= to=20 > load first and probe your NIC, before /etc/init.d/net.wlan0 launches. It= may=20 > pay to keep an eye on the router logs while your machine boots. >=20 > My line above with sleep_scan_wlan0=3D"1" or say "3" seconds delay may he= lp, if=20 > this is the problem. I'll play with it a bit. > If you have not installed wpa_supplicant you don't need this. Just make = sure=20 > #modules=3D( "wpa_supplicant" ) is commented out. iwconfig is the defaul= t=20 > anyway. ifconfig or iproute2 will work so I don't think that you need to= =20 > define that either. Your entries: >=20 > essid_wlan0=3D"digitaltorque" > config_wlan0=3D( "192.168.0.5/24" ) > routes_wlan0=3D( "default via 192.168.0.1" ) >=20 > are correct - so the error is not because of these. >=20 > > Or maybe I should just run an rc.local script. >=20 > You could use the preup scripts in /etc/conf.d/net, if for some reason th= e=20 > ndiswrapper takes for ever to kick into action. Hmm. I did put ndiswrapper in my /etc/modules.autoload.d/kernel-2.6, so it should be loaded at boot, but maybe it takes too long, causing a race condition at boot. Mike --=20 Michael P. Soulier "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein --i7F3eY7HS/tUJxUd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAksPP5sACgkQKGqCc1vIvgiZSwCfaEE0QJFoG62lZlsVEF0tKYke THUAoKfz0IjbnXA+1v5fvJ8rnbkGTevF =gkdD -----END PGP SIGNATURE----- --i7F3eY7HS/tUJxUd--