You are not logged in.
Hi forum member,
Which package should I install to have the /etc/wpa_supplicant/wpa_supplicant.conf file in place?
I tried searching in Synoptics for ‘wpa’ and installing the top matches - there are dependencies issues in some and could not install.
I need that file / package for network configuration in a work place.
Best,
M
Offline
I think the configuration file for wpa_supplicant that you refer to is created either manually (in a manual networking setting) or by the networking utility software (e.g. network-manager or wicd). E.g., for wicd, I have the configuration files in /var/lib/wicd/configurations/ with some "random" filenames.
Offline
You need to investigate what these commands are doing and learn how to use them first but as a guide research the following set of commands to suit your setup.
As ROOT - Check first.
a.
ip link show
b.
ip link set wlan0 up
c.
iw wlan0 link
d.
iw wlan0 scan
Then...
1.
wpa_passphrase ESSID >> /etc/wpa_supplicant.conf
[enter pass]
2.
wpa_supplicant -B -D wext -i wlan0 -c /etc/wpa_supplicant.conf
3.
dhclient wlan0
Always check and study the very useful documentation that come with packages if available in a terminal like man wpa_supplicant or man wpa_passphrase man wpa_supplicant.conf
Last edited by Panopticon (2018-10-07 13:40:46)
Offline
Generate a /etc/wpa_supplicant/wpa_supplicant.conf (see https://wiki.debian.org/WiFi/HowToUse)
I did create my file with:
su -c "wpa_passphrase myssid my_very_secret_passphrase > /etc/wpa_supplicant/wpa_supplicant.conf"
and did configure my wlan0 in /etc/network/interfaces with
auto wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
or for a static IP (in my network):
# wlan0
auto wlan0
iface wlan0 inet static
address 192.168.6.125
netmask 255.255.255.0
gateway 192.168.6.1
# here are my own 2 Pi-Hole DNS servers
dns-nameservers 192.168.6.20 192.168.6.3
# Google DNS
# dns-nameservers 8.8.8.8 8.8.4.4
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
Offline