On Sun, 1 Jul 2018 10:20:10 -0400, Haines wrote in message <20180701142010.gt1...@engels.historicalmaterialism.info>:
> On Sun, Jul 01, 2018 at 07:30:30AM -0400, Haines Brown wrote: > > Stefan, sorry to be dense. > > With the help of ThinkPenguin I finally resolved the problem and wlan0 > is now my interface name, not wlx<mac address>. In any case, simply > modifying /etc/network/interfaces to use that address didn't work (I > replaced all instances of wlan0 with wlx<my dongle mac address>, but I > might have gone too far). > > Because my online search failed to come up with the solution, it may > be useful to describe it here. I simplify by leaving out references to > NetworkManager (if present it should be stopped) and for setting up a > static IP address. The full directions are at: > www.thinkpenguin.com/gnu-linux/how-configure-wifi-card-using-command-line-or-terminal > With ascii I had to modify one step a bit. > > The following assumes that wpasupplicant and wireless-tools have been > installed, and also the appropriate driver for the wireless card or > dongle is accessible. It assumes that /etc/resolv.conf points to the > name server, which in my case is my router's IP address. It also > assumes there is only one wireless interface. > > 1. Create (or replace) a wpa_supplicant.conf file: > > # wpa_passphrase "<the AP SSID>" <wireless passphrase> > > /etc/wpa_supplicant.conf > > 2. Replace the wireless stanza in /etc/network/interfaces with: > > auto wlan0 > iface wlan0 inet dhcp > wpa-driver nl80211 ..totally fine this far. > wpa-conf /etc/wpa_supplicant.conf ..totally fine this far on networks you control or trust. But everywhere? > The value of the driver is extracted from iwconfig line: IEEE > 802.11bgn > > 3. Activate the connection > > # ifconfig wlan0 up > > # ping -c 5 google.com > > My ifconfig now shows wlan0 to be UP and RUNNING. My only open > question is that DHCP has assigned an IP address different than > before. I've not checked to see if it differs from the old ethernet > IP address as well. > > Haines -- ..med vennlig hilsen = with Kind Regards from Arnt Karlsen ...with a number of polar bear hunters in his ancestry... Scenarios always come in sets of three: best case, worst case, and just in case. _______________________________________________ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng