On 18/11/09 Mick said: > I don't think that there bugs in conf.d/net just a matter of preference. > Alan > suggested that wicd is a simpler way to have your wireless configured and it > does not need /etc/init.d/*net scripts to function. > > I am running wpa_supplicant: > > modules=( "wpa_supplicant" ) > > wpa_supplicant_ath0="-Dwext" > > and it just works??? for my wireless card. > > You may want to try something like this in your /etc/conf.d/net: > > sleep_scan_wlan0="1" > > config_wlan0=( "dhcp" ) > fallback_wlan0=( "192.168.0.5 netmask 255.255.255.0" ) > fallback_route_wlan0=( "default via 192.168.0.1" ) > > in case there is a dhcp problem with how the router releases IP address > leases.
I'm not using dhcp, just a static address. All I want the damn scripts to do is this modprobe ndiswrapper iwconfig wlan0 essid digitaltorque ifconfig wlan0 192.168.0.5 netmask 255.255.255.0 route add default gw 192.168.0.1 After looking at the net.example again maybe I need this modules=( "ifconfig" "iwconfig" "!wpa_supplicant" ) Or maybe I should just run an rc.local script. Mike -- Michael P. Soulier <msoul...@digitaltorque.ca> "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
pgp4r9UwhWhPw.pgp
Description: PGP signature