Image

Imageg5f wrote in Imagelinux

wlan issues

I'm running SuSE 9.0 Pro on a Toshiba laptop, the card is by Microsoft (Prism2). When I boot up wlan-pcmcia is set to hotplug, wlan0 is up with no ip. I also have no route to the gw. I wrote this tiny script as I have to give wlan0 an IP and add the route on every boot but I was wondering how I can get the settings to stay?


slacker:~ # cat wireless.sh
#!/bin/sh
/sbin/ifconfig wlan0 192.168.0.100 up
/sbin/route add default gw 192.168.0.1
slacker:~