You are not logged in.
Pages: 1
Not sure if there is something ive done wrong or wpa_supplicant itself.
Im using latest refracta nox beowulf (now openbox) iso on bare metal.
did the following from the root account,
wpa_passphrase <SSID> <PASS> /etc/wpa_supplicant/wpa_supplicant.conf
/etc/network/interfaces
auto lo
iface lo inet loopback
auto wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
from the user account i can fully see the output of below command, surely this is a security flaw?
~:$ cat /etc/wpa_supplicant/wpa_supplicant.conf
network={
ssid="SSID"
#psk="PASS"
psk=ddddddddddddddddddddddddddddddddddddddddddddddd
}
Last edited by HevyDevy (2019-12-21 16:32:31)
Offline
seems one needs to remove this line #psk="PASS" in /etc/wpa_supplicant/wpa_supplicant.conf
and then setup /etc/network/interfaces like so..
auto wlan0
iface wlan0 inet dhcp
wpa-ssid SSID
wpa-psk w9n2d5930w60fabaaebkodabbf42777069520c3811472bd041e84017d550dl559
Last edited by HevyDevy (2019-12-21 13:10:21)
Offline
You don't need /etc/wpa_supplicant/wpa_supplicant.conf if you're calling wpa-ssid & wpa-psk in the interfaces file. The wpa_supplicant.conf file is only needed if you call wpa-conf.
To find out why it didn't work (the commented-out line is irrelevant but should be removed for security reasons) run wpa_supplicant directly to see any errors, but remember to bring the interface down first:
# ifdown wlan0
# wpa_supplicant -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf
Then bring the network back up when you're finished:
# ifup wlan0
Brianna Ghey — Rest In Power
Offline
so if calling wpa-ssid and wpa-psk from the interfaces file then /etc/wpa_supplicant/wpa_supplicant.conf can be deleted ?
that seems more secure considering /etc/network/interfaces is set (set myself) to restricted permissions as per https://wiki.debian.org/WiFi/HowToUse#W … d_WPA2-PSK
Last edited by HevyDevy (2019-12-21 15:02:09)
Offline
so if calling wpa-ssid and wpa-psk from the interfaces file then /etc/wpa_supplicant/wpa_supplicant.conf can be deleted ?
Yes, that's right.
that seems more secure
Well the wpa_supplicant.conf file only contains the SSID (which is publicly broadcast) and the hashed password, which is also in the interfaces file, so it's fine as long as the plain-text password is deleted.
Brianna Ghey — Rest In Power
Offline
Thanks for your help Head on a stick
Offline
Pages: 1