You are not logged in.
Hi!
first of all, I do not have any problems with the network itself or somtheing, ust looking for some "nicer" way to do this..
but what is it I wanna do you may wonder??
Well, I have an ordinary ethernet card and a builtin wireless card (laptop), I primarly use wlan (both home and school) and is now using a customed wireless script (think it was iphitus who wrote it) and it is working fine...thhe problem is that when I do not have an ethernet cable it takes a while for dhcp to search and decide that it has not found anything, and then find wlan and then continue booting..
My thinking was that it should be like this: "Look for WIFI connection, IF=YES, skip eth0 connection, IF=NO do ETH0 connection"..
Is this possible with Arch "standard" way? or must I use rc.local and build my own script? (and comment out the eth0 / wlan0 in rc.conf )???
all ideas are approciated.-..
/CyberTron
http://www.linuxportalen.com -> Linux Help portal for Linux and ArchLinux (in swedish)
Dell Inspiron 8500
Kernel 2.6.14-archck1 (selfcompiled)
Enlightenment 17
Offline
disable eth0 on startup, background the network daemon... use ifplugd on the eth0 interface...
what you gain:
a) wireless will attempt to startup on boot
b) a daemon will start which polls the eth0 device to see if it has a connection - when it does, it loads things up
viola!
Offline
You can also change the amount of time that dhcpd searches for a connection. I don't bother doing what phrakture said and just load both because I reduced that number quite a bit (and it's the lazy man's way heh). It's the number (in seconds) that appears in /etc/conf.d/dhcpcd
I am a gated community.
Offline
Aye, ive got my dhcp down to about 3 seconds.
Offline
A thanks for the tip will lower the settings of dhcp, then I will be happy
I will also look into ifplugd
http://www.linuxportalen.com -> Linux Help portal for Linux and ArchLinux (in swedish)
Dell Inspiron 8500
Kernel 2.6.14-archck1 (selfcompiled)
Enlightenment 17
Offline