Slackware - InstallationThis forum is for the discussion of installation issues with Slackware.
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 am using network manager to handle wireless on my 14.2 box. When I log in I have a shell script to set up wlan0 (iwconfig wlan0 essid <...> key <....> etc...) however in order to get wireless turned on or connected I have to go to my network status in XFCE to connect to my wireless box.
Is there a definitive HOWTO set up wireless using network manager so that I I dont have to always run iwconfig or use XFCE to connect to my wireless? I havent found any consistent instructions.
Any help to link to a definitive howto would be appreciated.
If you only intend on connecting to one wireless network, you can easily set up the system to connect to it using just /etc/rc.d/rc.inet1.conf and /etc/wpa_supplicant.conf. However, before you do that, make sure you clear your cusomizations by running netconfig and selecting loopback. Once that is done, you can continue by setting up your wpa_supplicant.conf file by running the following as root.
If you only intend on connecting to one wireless network, you can easily set up the system to connect to it using just /etc/rc.d/rc.inet1.conf and /etc/wpa_supplicant.conf. However, before you do that, make sure you clear your cusomizations by running netconfig and selecting loopback. Once that is done, you can continue by setting up your wpa_supplicant.conf file by running the following as root.
This is assuming a person is using WPA correct? It a person is using WEP (yeah I know...) would this still apply?
<soapbox>As you seem to already be aware, WEP is not a good thing to be using... if you have the ability to use WPA, I would highly recommended it. </soapbox>
But, if you do insist to use WEP, you can just modify /etc/rc.d/rc.inet1.conf. Just uncomment the pertinent sections and put in your information. Alien Bob's link should provide you more detailed information.
If you did set it up the way I posted, it should be up and running before you even get your text login prompt. You don't even have to start a GUI.
Here is my rc.inet1.conf wlan0 section:
Code:
## config information for wlan0... using wep... and yes i know thats not a necessarily good.... :p
IFNAME[4]="wlan0"
USE_DHCP[4]="yes"
WLAN_ESSID[4]=<my ssid here>
WLAN_MODE[4]=Managed
WLAN_KEY[4]="<(wep hex value here)>"
I had run netconfig and set to loopback. However after boot up and login i try to ping a website but it says unknown at the CLI. So... what am I missing?
I know, but have been in the habit of using a gateway in my '/etc/rc.d/rc.inet1.conf'. Same with my '/etc/resolv.conf'. I leave my files as static and really have no problems. I move between systems so often that it is just a habit from long ago.
EDIT: at kevison in addition to requested output, please post the kernel route table from cli; 'route -n'
Thanks for clearing it for others!
Last edited by onebuck; 07-28-2016 at 02:04 PM.
Reason: add a comment
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.