How to connect with wireless network from the console environment (command line)?

1 Antwort [Letzter Beitrag]
Beigetreten: 12/19/2013

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:

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

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?


I am a member!

Beigetreten: 09/19/2011

see the man page for nmcli, a console ui for the network manager service.