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 installed slackware and i like it. However after the upgrade I can't connect my wireless network and I didn't install wicd. While using the iwconfig, i have been getting "set encode invalid arguments" error while I add "s:" prefix. Also I'm trying to use wpa_dupplicant but I get some errors like ioctl[SIOCSIWSCAN]: invalid arguments. What can I do for it?
Merhaba. In the absence of a better reply, I'll attempt some semblance of assistance. You say - after the upgrade you can't connect - which upgrade is this? Or do you mean after the installation? Are you using DHCP or Network Manager?
here is a script I wrote awhile ago to get wifi up and running and hooked up, you're going to need to make it conform to your service provider name, you could even mod it to take in information from the command line if you like, and or know how to.
Code:
$ cat Dropbox/linux/upwifi
#!/bin/bash
#device name
sudo ifconfig wlan0 up
#list providers
#sudo iwlist wlan0 scan
#set a provider to the device
sudo iwconfig wlan0 essid "service provider name" key "off"
because I have some time to kill.
Quote:
I have installed slackware and i like it. However after the upgrade I can't connect my wireless network and I didn't install wicd. While using the iwconfig, i have been getting "set encode invalid arguments" error while I add "s:" prefix. Also I'm trying to use wpa_dupplicant but I get some errors like ioctl[SIOCSIWSCAN]: invalid arguments. What can I do for it?
I assume you've already made
rc.networkmanager an executable, yes?
then ran the command to bring up the network.
Code:
su
password
/etc/rc.d/rc.networkmanager start
# i always run this next for good mesure
/etc/rc.d/rc.networkmanager restart
# then start up my desktop, this is on a fresh install.
# nevertheless ./etc/rc.d/rc.networkmanager needs to be
#made executable and started, or you'll get no where.
then find your service provider even if it is you, off your router in your house, then add that to that script then run it. it should hook you up if you have the needed information in the script, or just do all of that off the command line instead. as root or sudo.
or make /etc/rc.d/rc.networkmanager executable, start it, then start your window manager and let networkmanager take it from there.
note: after it is made executable, every time you boot up it will start during that process afterwards.
deviating from the norm can cause issues as you have clearly found out.
here is a script I wrote awhile ago to get wifi up and running and hooked up, you're going to need to make it conform to your service provider name, you could even mod it to take in information from the command line if you like, and or know how to.
Code:
$ cat Dropbox/linux/upwifi
#!/bin/bash
#device name
sudo ifconfig wlan0 up
#list providers
#sudo iwlist wlan0 scan
#set a provider to the device
sudo iwconfig wlan0 essid "service provider name" key "off"
because I have some time to kill.
I assume you've already made
rc.networkmanager an executable, yes?
then ran the command to bring up the network.
Code:
su
password
/etc/rc.d/rc.networkmanager start
# i always run this next for good mesure
/etc/rc.d/rc.networkmanager restart
# then start up my desktop, this is on a fresh install.
# nevertheless ./etc/rc.d/rc.networkmanager needs to be
#made executable and started, or you'll get no where.
then find your service provider even if it is you, off your router in your house, then add that to that script then run it. it should hook you up if you have the needed information in the script, or just do all of that off the command line instead. as root or sudo.
or make /etc/rc.d/rc.networkmanager executable, start it, then start your window manager and let networkmanager take it from there.
note: after it is made executable, every time you boot up it will start during that process afterwards.
deviating from the norm can cause issues as you have clearly found out.
Thank you too but I had some problems with iwlist/iflist. They aren't a good choise I think.
run that script, then start your firefox in the term and I have no idea how you log in if you have to or not, that part you'll have to figure out on your own.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.