From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1HPLHN-0000AD-Oq for garchives@archives.gentoo.org; Thu, 08 Mar 2007 16:15:46 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l28GEWCL021280; Thu, 8 Mar 2007 16:14:32 GMT Received: from mail.kabelnet.hu (mail.kabelnet.hu [195.56.99.6]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l28GAT8S016743 for ; Thu, 8 Mar 2007 16:10:29 GMT Received: from localhost (localhost [127.0.0.1]) by mail.kabelnet.hu (Postfix) with ESMTP id A8721DC80F for ; Thu, 8 Mar 2007 17:10:28 +0100 (CET) Received: from mail.kabelnet.hu ([127.0.0.1]) by localhost (Mail [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 28294-07 for ; Thu, 8 Mar 2007 17:10:25 +0100 (CET) Received: from [192.168.0.100] (cm-216-181.kabelnet.hu [195.56.216.181]) by mail.kabelnet.hu (Postfix) with ESMTP id 0ECD6D43B5 for ; Thu, 8 Mar 2007 17:10:24 +0100 (CET) Message-ID: <45F035CB.5000000@gmail.com> Date: Thu, 08 Mar 2007 17:11:55 +0100 From: Abraham Gyorgy User-Agent: Thunderbird 1.5.0.10 (X11/20070303) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Replacing "eth0" with "wlan0" References: <45EF2DC4.7020105@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at aldomain.kabelnet.hu Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id l28GEWCZ021280 X-Archives-Salt: fe903c03-59b7-43b5-8354-150203cfc64e X-Archives-Hash: 98f9b4380974fc83113b45c9545f2f6e Steve L. =EDrta: > > > On 3/7/07, *Abraham Gyorgy* > wrote: > > Hello again :) > > I've switched my networking from wired "eth0" to "wlan0". I'm using > ndiswrapper with Win32 driver and an USB WiFi adapter. Everything i= s > fine, but... > When I set up my Gentoo installation, I've added net.eth0 to defaul= t > runlevel (it provices the networking in the init system). My ethern= et > driver (forcedeth nvidia nforce2 chip) is compiled in, using DHCP. > All I > had to do is to add net.eth0. > Now when my system boots it is waiting 1-2 mins for DHCP, then goes > forward, but (in the init system) there is no networking, so Samba = and > other stuff doesnt work. > I want to replace this thing, > > 1) ndiswrapper module should go to /etc/modules.autoload folder > 2) then wlan0 device appears, I want to do "iwlist wlan0 scan", the= n > DHCP for wlan0 > 3) all this stuff should go nice to init system, eth0 should be > removed, > so wlan0 should provide the init system with "net". > > Now I wait for eth0 dhcp'ing, then modprobe, iwlist, and dhcpcd by > hand, > but it is time consuming and not so nice. > What to do exactly guys? > > Thanks a lot! > -- > gentoo-user@gentoo.org mailing list > > > You could tie the net dependent services to the net.lo line, and=20 > afterwords bring up either net.eth0 or net.wlan0 manually (Remove them=20 > from the rc default). It's not pretty but it could work. The other=20 > consideration is to build your profile primairily for which net=20 > connection you intend to use the most (Wired/Wireless) Thanks for answers guys, I'll return, hope I'll succeed. --=20 gentoo-user@gentoo.org mailing list