Hi LQ users, this is my first post here so if i am posting this in a wrong way please tell me
.
To the problem.
I was trying to learn how to connect to a wpa2 secured network without the GUI network manager. So i followed a tutorial (sadly i do not remember where it was) and it told me how to configure the /etc/wpa_supplicant.conf and /etc/network/interfaces files in order to connect to wifi.
according to interfaces man page there are no options to write in the "iface wathever manual" stanza. But i have two lines there defining that (i supose) wpa_supplicant will use.
My question is: As interfaces manpage does not show these options, where do i find how it works, what program is actually reading this file (i suposed ifup, but ifup:s manpage does not explain how these options are used either.)
Is it ifup that starts up the interface at startup and sends the options to wpa_suplicant?
This is my interface file:
Code:
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
auto eth1
iface eth1 inet manual
wpa-driver nl80211 <- this line is explained nowere
wpa-roam /etc/wpa_supplicant.conf <- or this
iface hallo inet dhcp
... and this is my wpa_supplicant.conf file:
Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=netdev
update_config=1
network={
ssid="hallo"
#psk="mypassword"
psk=somecode i suppose is secret
id_str="hallo"
}
I supose i could have found how this works somewhere. But i searched and didnt really find how it works. Is there any "official" page that does actually explain how these commands work?
If it is important: my distro is linux mint KDE and i dont have any gui network manager running