LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Zenwalk (http://www.linuxquestions.org/questions/zenwalk-75/)
-   -   How to make Wifi config default at log-in? (http://www.linuxquestions.org/questions/zenwalk-75/how-to-make-wifi-config-default-at-log-in-598862/)

rossi46 11-11-2007 04:09 PM

How to make Wifi config default at log-in?
 
I've successfully edited wireless settings with iwconfig after downloading the firmware for the zd1211rw driver.

My problem is that every time I log in, I have to manually call the modprobe command, then iwconfig ESSID ~mynetwork~ and the wep key as root before finally throwing the dhcpcd command at it before I can surf.

How can I make my machine do this for me at log-in, please?

ta

Paul

Vincent_Vega 11-11-2007 04:14 PM

You could add the commands to your /etc/rc.d/rc.local file which gets executed at startup.

tommcd 11-13-2007 12:09 AM

Edit /etc/rc.d/rc.local and put in /sbin/modprobe driver_name to load the driver at start up. If that doesn't do it then remove it from there and put it in /etc/rc.d/rc.modules.
Then edit /etc/rc.d/rc.inet1.conf and put in your essid, wep key, driver and dhcp as discussed here:
http://wiki.zenwalk.org/index.php?ti...xx_ndiswrapper


All times are GMT -5. The time now is 05:12 AM.