You are not logged in.
Pages: 1
I am using gnome-network-manager, everything works fine if I turn the wireless card on before boot.
But if I turn the card on after boot up, the gnome-network-manager does not start my card automatically, so I have to "ifconfig wlan0 up" to turn the card on.
Is there any way to make it automatically start?
Offline
You could bring the card up during initialisation. I use wpa_supplicant and dhcpcd, but if I know how you do things, I could probably build a nice little script for you. Here is a bit of basics:
In /etc/rc.d/ build a new script:
#!/bin/bash
# general condif
. /etc/rc.conf
. /etc/rc.d/functions
case "$1" inthere are three cases:
start)
stop)
restart)
*)start: you put the commands to start the daemon, so in my case
start)
stat_busy "Starting Wireless"
wpa_supplicant -Dwext -iwlan0 -c/etc/wpa1.conf -B &> /dev/null
add_daemon wireless
stat_done
;;stat_busy and stat_done, produce the [BUSY] [DONE] at the end.
stop: usually a kill command can be enough here,
stop)
stat_busy "Stopping Wireless"
killall wpa_supplicant
rm_daemon wireless
stat_done
;;restart is a bit of a no brainer:
restart)
$0 stop
sleep 1
$0 start
;;and finally *:
*)
echo "usage: $0 {start|stop|restart}"
;;Just finish off with:
esac
exit 0and your done.
Note: make sure there is a ;; for the end of that case. If you don't it will go into the next case.
You can look into other files in rc.d if you want to make them more complex
.
Once you've saved it, chmod a+x the file and be sure to be root. Go into rc.conf, go all the way to the bottom and add it to the daemons list.
I know this is a bit much, but its an idea.
32-bit Gentoo -to- Arch64
If you could be so kind, but when you found the solution,
edit your first post and add to the title '[SOLVED]'.
Offline
Looks like the network manager will ask root password after gdm login, but mine doesn't.
PS. I didn't unlock the keyrings.
Thanks.
Offline
Pages: 1