How to connect with wireless network from the console environment (command line)?
- Inicie sesión o regístrese para enviar comentarios
I've installed Trisquel 7 Console Environment via netinstall as a step to install XFCE without any other desktop enviroment.
However, I can't sucessfully connect to the internet from there. I've tried pluging an ethernet cable but it didn't worked.
So I've tried to follow theses instrucions: http://linuxcommando.blogspot.com.br/2013/10/how-to-connect-to-wpawpa2-wifi-network.html?m=1
After doing this:
$ sudo -s
[sudo] password for peter:
$ wpa_passphrase gorilla >> /etc/wpa_supplicant.conf
...type in the passphrase and hit enter...
and apparentely it gives an output similar to this from the tutorial:
$ cat /etc/wpa_supplicant.conf
# reading passphrase from stdin
network={
ssid="gorilla"
#psk="testtest"
psk=4dfe1c985520d26a13e932bf0acb1d4580461dd854ed79ad1a88ec221a802061
}
But when I try to run wpa_supplicant
$ sudo wpa_supplicant -B -D wext -i wlan0 -c /etc/wpa_supplicant.conf
it says me it is still not connected (I can try again later for more specific output)
Is there another way to connect without this step? Or wpa_supplicant is not reading that little script?
see the man page for nmcli, a console ui for the network manager service.
- Inicie sesión o regístrese para enviar comentarios