Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
What part of "not connected" didn't you understand? Therefore install impossible, but remembered I had installed this before and good install would have wpa.conf in either the
Code:
~/user/.wpa
Or
~/user
directories, but I only find a wpa_suuplicant.config file and not where it should be!
each distro is different ot can be in where files go.
Quote:
How do I download the code to another machine so I can copy to flash then install?
hahahahhaha and HA HA!
I'd back them up by using mv to get them out of the way, and still have them if you need them.
got a different PC Library with a USB Port and usb stick?
the house next to yours -- start knocking on doors.
Quote:
Will I need to purge all old copies first?
Cheers!
TBNK
I've been here before too. stuck with having to figure out how to download wifi packages I need without wifi.
can you give just give that other then wap stuff a try -- normally that too is install default on a good distro
Code:
#!/bin/bash
#device name
sudo ifconfig wlo1 up
#list providers
#sudo iwlist wlan0 scan
#set a provider to the device
sudo iwconfig wlo1 essid "Google Starbucks" key "off"
that is what I use when I needed it without any kind of network manager.
run
Code:
#list providers
sudo iwlist wlan0 scan
to get your provicer and key if you do not already know it, then replace yours with what I have for mine.
#YOUR device name
sudo ifconfig wlo1 up
sudo iwconfig wlo1 essid "Your Service Provider" key "There key if it has one, or off as it will say off it off"
I'd try and say more but my brain is on a different issue at the moment.
Im kinda surprised it wasn't already installed... If you want to connect via wpa_supplicant (which is like the most barebones way to do it) follow these steps:
1)
Code:
wpa_passphrase "YOURSSID" > wpa.conf (then after enter the wifi password)
# The -d says to use the nl80211 driver (the newest one), the -i specifies what interface to use, and the -c says where the password file is located
3)
Code:
dhclient -r ; dhclient wlan0
# release any existing addresses then it gets a new one from the DHCP server, and after that you should be connected..
If it still doesn't connect then you should try ps -aux|grep wpa_supplicant or ps -ef|grep wpa_supplicant and kill that process. That was actually a problem I had a hard time figuring out.. Be sure to replace wlan0 with whatever your interface is (it may be wlan0 though; mines however is not). Note this does not work for open or hidden networks. Wpa_supplicant can still be used but the configuration must be altered accordingly..
Last edited by justmy2cents; 08-22-2017 at 02:19 PM.
Did you try ps -aux|grep wpa_supplicant or ps -ef|grep wpa_supplicant to see if the wpa_supplicant process is already running and if so killing it via kill pid#? That was exactly the problem I had where it would continuously try to connect, but as soon as I did that it worked for me.. Besides that you may need to specify a different driver.. See man wpa_supplicant for available drivers...
Last edited by justmy2cents; 08-22-2017 at 05:03 PM.
What do you think? As part of following suggestions to fix this I have installed:
Network Manager
Wicd
wpa supplicant
thinking some of these may conflict, but do not know how to tell.
Also I went back to /etc/network/interfaces and entered seperate lines for:
Code:
auto wlan0
iface wlan0 inet dhcp
To autostart the wifi. Had disabled this earlier and the searching for wifi networks causes boot-up to stall for over 10 minutes. Goes immediately without.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.