Wifi; how to?
#11
(05-29-2018, 12:20 PM)scalextrix Wrote: OK after re-installing the CLI OS, its working now, if anyone has issues:

connect the wifi dongle

> sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

network={
        ssid="your_ssid_here"
        psk="your_psk_here"
}

Glad you got it working in the end. btw, if network manager is installed on the jessie images, you have have used nmtui (or nmcli) instead, and basically just enable the wifi SSID you want to connect to and enter the password via the menu. It's probably the prefered way going forward... wpa_supplicant and /etc/network/interfaces seems to be going away bit by bit...

Whilst the instructions are appreciated to make the lives of others getting started easy, In addition to what bunny pointed out below, I'd also generate the wpa_supplicant file using the wpa_passphrase tool, so that an encrypted password is stored, not the plaintext one. Although one does have to wonder how much point there is to doing so, given that both WPA and WPA2 have been compromised.

Code:
sudo wpa_passphrase MYSSID passphrase > /etc/wpa_supplicant/wpa_supplicant.conf

(05-29-2018, 04:39 PM)evilbunny Wrote: if you want to protect the wifi password you put it in wpa_supplicant, and then call that file from interfaces by doing this:
Code:
auto wlan0
iface wlan0 inet dhcp
        wpa-ssid your_ssid_here
        wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

Thanks for the evilbunny, evil minds obviously think alike Tongue Big Grin
  Reply


Messages In This Thread
Wifi; how to? - by scalextrix - 05-29-2018, 03:53 AM
RE: Wifi; how to? - by evilbunny - 05-29-2018, 04:15 AM
RE: Wifi; how to? - by scalextrix - 05-29-2018, 04:28 AM
RE: Wifi; how to? - by evilbunny - 05-29-2018, 04:42 AM
RE: Wifi; how to? - by scalextrix - 05-29-2018, 04:47 AM
RE: Wifi; how to? - by evilbunny - 05-29-2018, 04:58 AM
RE: Wifi; how to? - by scalextrix - 05-29-2018, 10:41 AM
RE: Wifi; how to? - by scalextrix - 05-29-2018, 12:20 PM
RE: Wifi; how to? - by evilbunny - 05-29-2018, 04:39 PM
RE: Wifi; how to? - by pfeerick - 05-29-2018, 05:02 PM
RE: Wifi; how to? - by Rocklobster - 05-29-2018, 05:21 PM
RE: Wifi; how to? - by Rocklobster - 05-29-2018, 06:19 AM
RE: Wifi; how to? - by scalextrix - 05-30-2018, 12:20 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  get wifi mt7601u mediatek usb dongle to work Johannes 0 2,712 11-17-2020, 09:48 AM
Last Post: Johannes
Information Rock64 RTL8188EU Wifi Adapter from Pine Store Tested Well MarkHaysHarris777 7 12,322 05-13-2020, 06:00 PM
Last Post: Leon Rembowski
  RTL8192EU WIFI elik745i 12 26,865 05-13-2020, 05:03 PM
Last Post: Leon Rembowski
  low speed wifi pas059 4 5,957 05-13-2019, 12:09 PM
Last Post: pas059
  Using ESP32 as WiFi and Bluetooth Module shripal17 2 4,369 03-08-2019, 02:44 AM
Last Post: shripal17
  50 kb with RTL8188eu WIFI adapter Juice4 2 3,986 11-09-2018, 12:56 PM
Last Post: Juice4
  WIFI driver compilation wsk 1 3,151 11-01-2018, 12:21 AM
Last Post: wsk
  Very disappointed with ROCK64 USB WIFI 802.11B/G/N Danielsan 0 2,507 04-23-2018, 09:51 AM
Last Post: Danielsan
  None of my Wifi modules work NicoD 7 10,064 04-05-2018, 02:53 PM
Last Post: tllim
  Yet another thread on ROCK64 Wifi Adapter Woes zendrummer74 1 4,127 02-01-2018, 11:10 PM
Last Post: a1w.ca

Forum Jump:


Users browsing this thread: 2 Guest(s)