Hi Didier, Didier Kryn writes:
> [... purge Network Manager...] > > BTW, I'm not sure ifupdown and the interfaces file are installed by > default nowadays. I don't remember which package one must install to > have all this traditional infrastructure, though, if it's already > installed, it won't be removed when dist-upgrading. FYI, ifupdown is (still) installed by default but a simple `apt-get install ifupdown` will put it in place if necessary. # I have a habit of marking all installed automatic after the initial # installation and configure APT to purge any unnecessary packages, # occasionally even telling it to ignore Recommends: # If you do that ifupdown may get purged. > If you have a wifi interface, it is more complicated. Explained below. > > 'apt-get install wpa-supplicant wpa-gui', FTR, the package names are wpasupplicant and wpagui, without the - > then write the following two > lines into /etc/wpa_supplicant/wpa_supplicant.conf: > > ctrl_interface=DIR=/run/wpa_supplicant GROUP=dialout > update_config=1 > > Make yourself a member of group dialout. Then search the web for a > tutorial on wifi roaming with wpa_supplicant: it will explain you how to > write the wifi part of the interfaces file. To finish with, > 'dpkg-reconfigure ifplugd' to tell it to handle your wifi interface. Use > wpa_gui everytime you want to connect your laptop to a yet-unknown wifi hub. Thanks for the above. Made my take a look at what wicd was doing under the covers. Should have done so a lot earlier ;-) It puts snippets for your wireless interface(s) below /var/lib/wicd/configurations/ and uses those to run wpa_supplicant like so wpa_supplicant -B -i $if -c /var/lib/wicd/configurations/$mac where $if is the interface name, typically wlan0. The $mac is the MAC address of the wireless access point, lower-cased, no : separators. You can use the files in /var/lib/wicd/configurations/ to seed your /etc/wpa_supplicant/wpa_supplicaton.conf file. As for the group, the user that installed the system is a member of the netdev group by default, I think. Looks like a good default choice to me, unless wpa_supplicant has special requirements. Definitely more nowadaisy than dialout (or dip) :-) BTW, group "definitions" can be found in file://usr/share/doc/base-password/user-and-groups.txt.gz (outdated?) https://wiki.debian.org/SystemGroups I'm off now, reconfiguring my wireless setup. Hope this helps, -- Olaf Meeuwissen, LPIC-2 FSF Associate Member since 2004-01-27 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13 F43E B8A4 A88A F84A 2DD9 Support Free Software https://my.fsf.org/donate Join the Free Software Foundation https://my.fsf.org/join _______________________________________________ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng