chill wrote:
>
> What I'm not clear on is (1) which parts of Network Manager are needed
> (if any) if we try to control the wlan0 interface via the
> /etc/network/interfaces file (i.e. does the interface itself work
> without network manager)?, and (2) what was wrong with the block I
> posted earlier?
The mist is starting to clear. The answer to my first question is that
Network Manager is not needed if the interfaces are configured solely
through /etc/network/interfaces.
For my second question, the problem with the wlan0 block that I posted
earlier is that the wpa-psk option requires the hexadecimal key, not the
normal wifi password. This can be generated with:
Code:
--------------------
wpa_passphrase ssid password
--------------------
The output will include the line 'psk=...', and the long hexadecimal
string after the '=' needs to be copied and pasted between the quotes in
the wpa-psk field in /etc/network/interfaces. So my
/etc/network/interfaces file now looks like this:
Code:
--------------------
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
allow-hotplug eth0
iface eth0 inet dhcp
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-ssid "ssid"
wpa-psk "hexadecimal passkey"
--------------------
I think this can all be made more user-friendly with wpa_supplicant -
I'll investigate that next.
------------------------------------------------------------------------
chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=110040
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix