[SOLVED] trouble with setting up wireless connectivity on new install. Correct psk is being denied repeatedly only on my slackware device
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 made sure network manager and wicd are not set to be executable. Running the first command you listed told me that dhcpcd was already running.
Quote:
Polling for DHCP server on interface wlan0:
dhcpcd already running on PID 988 (run/dhcpcd/dhcpcd-wlan0.pid)
But upon restarting it successfully connected! Thank you so much for your patience and help throughout this thread! I really do feel bad about it having had to take this long.
So I take it the problem was just that I had network manager and wicd running everytime?
And one follow up question though, just to check, does PID stand for Process ID? Or is it something else?
Yes, something was causing dhcpcd to run. If it continues to happen after a reboot, we'd need to figure out what's going on, but if it just happened this one time, it's likely related to networkmanager or wicd.
Been occasionally watching from the sideline - great effort @bassmadrigal
Indeed! And yet again, one more example for me about why I should continue to disconsider those GUI connection helpers and stick with the "standard", simple and transparent Slackware/Linux network configuration.
Indeed! And yet again, one more example for me about why I should continue to disconsider those GUI connection helpers and stick with the "standard", simple and transparent Slackware/Linux network configuration.
It really works great on computers that stay with the same wireless network, but if you need to frequently add new networks (if you take your laptop to new locations), NM or wicd certainly makes it easier to add networks to it.
It really works great on computers that stay with the same wireless network, but if you need to frequently add new networks (if you take your laptop to new locations), NM or wicd certainly makes it easier to add networks to it.
I agree with you on the convenience, although I can handle the few WiFi networks I'm connecting to from command line. And, wpa_supplicant also has cli interface I frankly never used, still on my to-do list for learning/using.
It looks like these GUI helpers are not really helping after all, but produce more fallout and cost a lot of support efforts. I had my own experience with wicd and its dumb interface(ncurses), where pressing Enter by mistake messed up my whole networking and had to manually restart the system. And this incomplete "work of art" called NetworkManager should handle exceptions a little bit better, even if its developers are maybe Agile brainwashed and not prioritizing quality, they should at least do some checks and inform the user (it would be nice to handle the problems - remove pid files (leftovers) from the system utilities they make use of).
I agree with you on the convenience, although I can handle the few WiFi networks I'm connecting to from command line. And, wpa_supplicant also has cli interface I frankly never used, still on my to-do list for learning/using.
It looks like these GUI helpers are not really helping after all, but produce more fallout and cost a lot of support efforts. I had my own experience with wicd and its dumb interface(ncurses), where pressing Enter by mistake messed up my whole networking and had to manually restart the system. And this incomplete "work of art" called NetworkManager should handle exceptions a little bit better, even if its developers are maybe Agile brainwashed and not prioritizing quality, they should at least do some checks and inform the user (it would be nice to handle the problems - remove pid files (leftovers) from the system utilities they make use of).
Honestly, reasons like these and others on the forum have given me no desire to try and use these programs. I had a bash script I developed years ago (back when it was mostly WEP networks) when I was using a laptop at several friends' houses. I don't think wicd or network manager existed. Eventually, when wpa became more common, I actually wasn't using a laptop and was mostly wired for my ethernet. Once I did have wireless again, using the rc.inet1.conf file just seemed so much easier and would connect automatically on boot, even if I was just runlevel 3.
Yes, something was causing dhcpcd to run. If it continues to happen after a reboot, we'd need to figure out what's going on, but if it just happened this one time, it's likely related to networkmanager or wicd.
And yes, PID does stand for Process ID.
So, since I recently updated from 14.2 to Current, I haven't been able to connect with my wireless automatically at startup. I re-edited my rc.d/rc.inet1.conf and wpa_supplicant.conf files and wpa_supplicant seems to work just fine, the problem seems to arise with dhcpcd wlan0.
On startup, I'm unable to establish successful connections to any websites. Running dhcpcd wlan0 gives the usual "dhcpcd is already running on pid...etc" message. But everything starts to work perfectly fine as soon as I killall dhcpcd and run dhcpcd wlan0 again.
Maybe the new (updated) WiFi driver from the -current kernel.
Try increasing the time dhcpcd waits for obtaining the ip config in rc.inet1.conf
DHCP_TIMEOUT[4]=30
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.