Answer the question
In order to leave comments, you need to log in
Connect to secure Wi-Fi network without GUI
Hello everyone, I have a laptop without a GUI (ubuntu 8.04), with a Wi-Fi network adapter (wlan0), a Wi-Fi network with a WPA-PSK password. (Both the Network Name and Password are known to me)
Please tell me how to connect to this network from the shell and so that when loading it automatically connects to this network.
Thanks in advance!
Answer the question
In order to leave comments, you need to log in
and if you don’t want to edit the config every time and manually look at the available networks, you can use
wicd.sourceforge.net
it has a console version of the interface, intuitive and clear
Well, autorun is like init.d + a symbolic link to the appropriate level. rc?.d, it remains only to write a script and voila.
Check out the script at the link:
www.linuxquestions.org/questions/linux-general-1/wifi-connect-script-tested-in-ubuntu-772646/
there was a solution in a personal message, a kind person asm0dey wrote:
asm0dey 3 марта 2011, 11:09 #
Unfortunately, I can’t write in comments to questions - the opportunity is blocked.
Therefore, I am writing here.
First
wpa_passphrase NetworkName > ~/wpa.conf
, enter the network password,
press enter
Next
sudo nano /etc/network/interfaces
If there is nothing about wlan, add it, if not, change
it Of course, do not forget to change the interface name to yours, and probably the driver name too.
You can look in wpa_supplicant -h.
auto wlan0
iface wlan inet dhcp
pre-up wpa_supplicant -iwlan0 -Dwext -c/home/usernamehere/wpa.conf -B
post-down killall wpa_supplicant -9
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question