SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
So, I installed Slackware 10.2 on a IBM TP 600e after being very pleased w/10.1. Everything is working including my Linksys wpc11 ver. 4. Installed the card using ndiswrapper, and it works perfectly. The only thing wrong is everytime I boot, dhcp does not start. So basically, once I boot up I have to open a console & type # dhcpcd wlan0, to get wireless to work. I have put the following in /etc/rc.d/rc.local:
/etc/rc.d/rc.wireless wlan0
/sbin/dhcpcd wlan0
& put all my wireless info in /etc/rc.d/rc.wireless.conf.
When I did this in 10.1 wireless would start when i booted up, but for some reason 10.2 will not let me do this...
thanks in advance for any help...this has got me stumped
If you type iwconfig does it show the wireless nic as wlan0 or eth0? I have not had to use the ndis wrapper before so am not sure about that. If iwconfig gives eth0 then change your script from wlan0 to eth0.
It is definitely wlan0 in iwconfig...iwconfig gives all the correct info for me to connect to the internet, but everytime I have to boot up or restart, I have to dhcpcd wlan0 to get the internet working
Originally posted by linux_or_bust So, I installed Slackware 10.2 on a IBM TP 600e after being very pleased w/10.1. Everything is working including my Linksys wpc11 ver. 4. Installed the card using ndiswrapper, and it works perfectly. The only thing wrong is everytime I boot, dhcp does not start. So basically, once I boot up I have to open a console & type # dhcpcd wlan0, to get wireless to work. I have put the following in /etc/rc.d/rc.local:
/etc/rc.d/rc.wireless wlan0
/sbin/dhcpcd wlan0
& put all my wireless info in /etc/rc.d/rc.wireless.conf.
When I did this in 10.1 wireless would start when i booted up, but for some reason 10.2 will not let me do this...
thanks in advance for any help...this has got me stumped
In Slackware 10.2, the rc.wireless can no longer run on it's own. It was convenient that you could do that before, but rc.wireless is started inside rc.inet1 and starting with Slackware 10.2, rc.wireless needs the variables that rc.inet1 initializes.
So, your solution would be to add this to /etc/rc.d/rc.inet1.conf:
Awesome guys!!! it worked, thanks to the both of you for your great tips.
Eric, you were absolutely correct, once I uncommented the lines in /etc/rc.d/rc.inet1.conf & put in some of my iwconfig settings, I restarted, and everything worked!!!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.