Sorry for a delay.
As far as I understand, we should prepare wpa_supplicant.conf and run wpa_supplicant as we do for Wi-Fi, but on Ethernet interface. Before asking DHCP or apply static IP to interface. Right?
Should we generate default wpa_supplicant.conf or always require user-provided wpa_supplicant.conf ? If we should generate default, please write it to me.
For Wi-Fi we use such minimal default wpa_supplicant.conf if user doesn't provide another :
Code: Select all
ctrl_interface=/var/run/wpa_supplicant
network={
ssid="MYSSID"
psk="passphrase"
}
With wpa_supplicant.conf prepared, we should run:
Code: Select all
/sbin/wpa_supplicant -B -c /etc/wpa_supplicant.conf -i eth0
Right?
Sorry for a delay.
As far as I understand, we should prepare wpa_supplicant.conf and run wpa_supplicant as we do for Wi-Fi, but on Ethernet interface. Before asking DHCP or apply static IP to interface. Right?
Should we generate default wpa_supplicant.conf or always require user-provided wpa_supplicant.conf ? If we should generate default, please write it to me.
For Wi-Fi we use such minimal default wpa_supplicant.conf if user doesn't provide another :
[code]ctrl_interface=/var/run/wpa_supplicant
network={
ssid="MYSSID"
psk="passphrase"
}[/code]
With wpa_supplicant.conf prepared, we should run:
[code]/sbin/wpa_supplicant -B -c /etc/wpa_supplicant.conf -i eth0[/code]
Right?