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.
I have got my wireless card working and have been working on getting it to setup at boot time, I added the following lines to /etc/rc.d/rc.local-
iwconfig wlan0 essid "my essid"
dhcpcd wlan0
I get an error "no such device wlan0 device not found, SET ESSID failed no such device" (paraphrased), I login go to su type the same commands and it works fine. I removed the lines from reboot and login and try iwconfig again it fails the first time and works the second time. I have tried adding modprobe ndiswrapper and ifconfig wlan0 up in different orders, always the same fails the first time works on the second try.
I followed the instructions for ndiswrapper, make install,ndiswrapper -i NET8180.INF, modprobe ndiswrapper make sure it works and then ndiswrapper -m. I reinstalled slack 10.1 to make sure it wasn't something I had changed and didn't undo. Any suggestions would be appreciated
tormented_one, I don't need to modprobe to bring it up, just iwconfig wlan0 essid xxxxx then dhcpcd, I already checked that no luck
jonga357- all the searching I have found here in the slackware forum and the network forum talk about using rc.local so I hsve nothing to go by to set up rc.wirelessor rc.pcmcia. As to wheter it is a cardbus or not I don't know it doesn't say cardbus anywhere on the card so I would assume it is not a cardbus all I know is that it is a Linksys WPC11 pcmcia card
Well, cardbus=PCMCIA/LAPTOP basically. This isn't a wireless PCI card on a desktop, right?
Just edit /etc/rc.d/rc.wireless.conf and Slackware will do the rest. I trimed my rc.wireless.conf down to just this:
Code:
VERBOSE=1
case "$HWADDR" in
*)
ESSID="my-essid"
MODE="Managed"
KEY="my-encryption-key"
;;
esac
Then, if you have your router assign you an IP, just put "yes" under the eth0 device listing in /etc/rc.d/rc.inet1.conf
Code:
# Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]=""
If you like to manually assign an IP, just leave the dhcp line blank and fill out IPADDR and NETMASK. Pretty simple in Slackware. I blacklist my ethernet module from loading at boot thru /etc/hotplug/blacklist because the 2 devices like to play musical chairs and it screws things up more often than not...
I tried the rc.pcmcia and rc.wireless scripts, set the rc.wireless.conf to my essid and mode, then made sure rc.inet1 use_dhcp="yes" and it is a no go I still have to use iwconfig twice to bring up the card. as near as I can tell ndiswrapper is loading at boot but not setting up the wlan0 and is not available until after the first time wlan0 is used.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.