installed connman and it trashed my network

Tom H tomh0665 at gmail.com
Fri Oct 19 08:25:34 UTC 2012


On Fri, Oct 19, 2012 at 2:59 AM, Marius Gedminas <marius at pov.lt> wrote:
>
> Wired is harder because you need to also specify the network SSID with
> iwconfig.  And if you use WPA or something, the encryption method and
> keys.

You must mean "wireless"! :)

It's not that much harder - and you don't need iw or iwconfig if
you're using WPA.

$ sudo -i
# wpa_passphrase <ssid> <passphrase> > wpa_tmp.conf
# cat wpa_tmp.conf
network={
       ssid="<ssid>"
       #psk="<passphrase>"
       psk=<encrypted_passphrase>
}
# vi wpa_tmp.conf
ctrl_interface=/run/wpa_supplicant
ctrl_interface_group=netdev
network={
       ssid="<ssid>"
       #psk="<passphrase>"
       psk=<encrypted_passphrase>
}
# ip link set up dev <nic>
# wpa_supplicant -B -D wext -i <nic> -c /root/wpa_tmp.conf
# dhclient <nic>




More information about the ubuntu-users mailing list