OK, this DOES work:
Comment out (or delete) the wlan0 block in /etc/network/interfaces (so
the last 4 lines in my example above). This will allow Network-Manager
to take control of the wifi.
Leave the eth0 section as it was, especially the 'allow-hotplug' option,
so that the Joggler doesn't complain if there's no ethernet cable (I
think).
Reboot
Then, using BosseJ's instruction above, enter (I didn't need quotes
around the ssid, but that might be because there are no spaces in my
ssid):
Code:
--------------------
nmcli dev wifi connect 'MYSSID' password XXXXXXXX
--------------------
Check whether the wifi has connected and picked up an IP address with:
Code:
--------------------
ifconfig -a
--------------------
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? I've seen examples of that /etc/network/interfaces file
that use wpa_supplicant, which might be the better way manage the
connection for new installs, but again, is any part of network manager
needed in that case?
------------------------------------------------------------------------
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