public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Replacing "eth0" with "wlan0"
@ 2007-03-07 21:25 Abraham Gyorgy
       [not found] ` <afc36c0703080557i4d33a77ev2e96942f423f1276@mail.gmail.com>
  0 siblings, 1 reply; 2+ messages in thread
From: Abraham Gyorgy @ 2007-03-07 21:25 UTC (permalink / raw
  To: gentoo-user

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 is 
fine, but...
When I set up my Gentoo installation, I've added net.eth0 to default 
runlevel (it provices the networking in the init system). My ethernet 
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", then 
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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-user] Replacing "eth0" with "wlan0"
       [not found] ` <afc36c0703080557i4d33a77ev2e96942f423f1276@mail.gmail.com>
@ 2007-03-08 16:11   ` Abraham Gyorgy
  0 siblings, 0 replies; 2+ messages in thread
From: Abraham Gyorgy @ 2007-03-08 16:11 UTC (permalink / raw
  To: gentoo-user

Steve L. írta:
>
>
> On 3/7/07, *Abraham Gyorgy* <hangcsapda@gmail.com 
> <mailto:hangcsapda@gmail.com>> 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 is
>     fine, but...
>     When I set up my Gentoo installation, I've added net.eth0 to default
>     runlevel (it provices the networking in the init system). My ethernet
>     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", then
>     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 <mailto:gentoo-user@gentoo.org> mailing list
>
>
> You could tie the net dependent services to the net.lo line, and 
> afterwords bring up either net.eth0 or net.wlan0 manually (Remove them 
> from the rc default).  It's not pretty but it could work.  The other 
> consideration is to build your profile primairily for which net 
> connection you intend to use the most (Wired/Wireless)
Thanks for answers guys, I'll return, hope I'll succeed.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-03-08 16:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-07 21:25 [gentoo-user] Replacing "eth0" with "wlan0" Abraham Gyorgy
     [not found] ` <afc36c0703080557i4d33a77ev2e96942f423f1276@mail.gmail.com>
2007-03-08 16:11   ` Abraham Gyorgy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox