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 think you're covered in slack docs for this but here a TL;DR:
0. as root
1. first stop and disable network manager or/and wicd in /etc/rc.d
2. configure /etc/wpa_supplicant.conf by running wpa_passphrase for your intended hotspot or connection
3. make sure /etc/rc.d/rc.inet1.conf references wpa_supplicant properly:
Code:
WLAN_WPA[1]="wpa_supplicant"
for wireless interface with index [1]
4. restart /etc/rc.d/rc.inet1
In reference to #3, I simply made sure the following existing lines in /etc/rc.d/rc.inet1.conf were uncommented.
Once that was done and wpa_supplicant.conf was set up correctly, I have no problems connecting to wifi. If you want a static address, you'd just uncomment those items as well and ensure they're set properly. On my setup, I simplified it by adding my MAC address to my router for static leases to always assign it the same address (effectively a static IP, but the computer still uses DHCP and the router always provides the same IP).
I think you're covered in slack docs for this but here a TL;DR:
0. as root
1. first stop and disable network manager or/and wicd in /etc/rc.d
2. configure /etc/wpa_supplicant.conf by running wpa_passphrase for your intended hotspot or connection
3. make sure /etc/rc.d/rc.inet1.conf references wpa_supplicant properly:
Code:
WLAN_WPA[1]="wpa_supplicant"
for wireless interface with index [1]
4. restart /etc/rc.d/rc.inet1
Once that was done and wpa_supplicant.conf was set up correctly, I have no problems connecting to wifi. If you want a static address, you'd just uncomment those items as well and ensure they're set properly. On my setup, I simplified it by adding my MAC address to my router for static leases to always assign it the same address (effectively a static IP, but the computer still uses DHCP and the router always provides the same IP).
yes, indeed, DHCP with MAC->IP fixed pairing is the only proper way - once you change the receiving computer or it's network interface - you simply update the MAC on the router
The rest of time it's automagic on work
but what i didn't konw - that one could have interfaces out of order and they will still work?
but what i didn't konw - that one could have interfaces out of order and they will still work?
Out of order? If you're referring to my rc.inet1.conf snippet, that is pulled out of an almost unmodified version from 14.2. The only thing I did was change USE_DHCP[0] from yes to nothing and then uncomment the above lines. I didn't even need to modify the lines themselves...
Out of order? If you're referring to my rc.inet1.conf snippet, that is pulled out of an almost unmodified version from 14.2. The only thing I did was change USE_DHCP[0] from yes to nothing and then uncomment the above lines. I didn't even need to modify the lines themselves...
Then maybe you have 5 network interfaces the 5th being a Wireless?
Then maybe you have 5 network interfaces the 5th being a Wireless?
This is just the default rc.inet1.conf and that's the designation Pat uses for his wireless entries. Have a look: rc.inet1.conf on a Slackware mirror. I don't currently use any other network on my machine (but I eventually plan to switch back to ethernet once I run it at the new house).
Here's the relevant wireless section out of it. You just uncomment and adjust what you need. I just uncomment IFNAME, USE_DHCP, and WLAN_WPA, and none of them need adjustment (in my case).
Code:
## Example config information for wlan0. Uncomment the lines you need and fill
## in your data. (You may not need all of these for your wireless network)
#IFNAME[4]="wlan0"
#IPADDR[4]=""
#NETMASK[4]=""
#USE_DHCP[4]="yes"
#DHCP_HOSTNAME[4]="icculus-wireless"
#DHCP_KEEPRESOLV[4]="yes"
#DHCP_KEEPNTP[4]="yes"
#DHCP_KEEPGW[4]="yes"
#DHCP_IPADDR[4]=""
#WLAN_ESSID[4]=DARKSTAR
#WLAN_MODE[4]=Managed
#WLAN_RATE[4]="54M auto"
#WLAN_CHANNEL[4]="auto"
#WLAN_KEY[4]="D5A31F54ACF0487C2D0B1C10D2"
#WLAN_IWPRIV[4]="set AuthMode=WPAPSK | set EncrypType=TKIP | set WPAPSK=96389dc66eaf7e6efd5b5523ae43c7925ff4df2f8b7099495192d44a774fda16"
#WLAN_WPA[4]="wpa_supplicant"
#WLAN_WPADRIVER[4]="wext"
#WLAN_WPAWAIT[4]=30
I should mention that there is nothing wrong with the method you use. This is just what I do. Both methods work equally well. In my case, I just delete 3 characters (to uncomment those three options) and remove the "yes" from the first dhcp entry for eth0 so I don't have to wait for it to time out.
Last edited by bassmadrigal; 01-07-2019 at 03:52 PM.
Yes!
the script patiently iterates over each and every index from 0 to $MAXNICS, regardless of the edits in the *.conf file, so even the later and out of order ones are picked up!
However hard I try, I just can't get behind the idea of docks. I've tried them so many times and they just feel superfluous to me. One panel to rule them all.
I'm cheating a bit with this post but I'm experimenting with Slackware Live Xfce for the first time. What a fantastic innovation, and only 692MB. So this is not a permanent desktop, obviously, but it's great to see that this thing exists. Great, great work, Eric.
Last edited by Lysander666; 01-10-2019 at 02:53 PM.
Here is one of them. I have four, as on all my distros (except Debian), each one with a different buttonbar. This one is the "Default" desktop. The other ones are for Internet, System and Manuals.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.