This is my current conf file:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
update_config=1
network={
ssid="MY WIFI NETWORK"
key_mgmt=NONE
group=WEP40
wep_key0=33643039323434356239
scan_ssid=1
auth_alg=OPEN
}
This is what I get after running wpa_supplicant -B -Dnl80211 -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf:
Successfully initialized wpa_supplicant
Line 12: Invalid WEP key length 10 - this network block will be ignored
ctrl_iface exists and seems to be in use - cannot override it
Delete '/var/run/wpa_supplicant/wlan0' manually if it is not used anymore
Failed to initialize control interface '/var/run/wpa_supplicant'.
You may have another wpa_supplicant process already running or the file was
left by an unclean termination of wpa_supplicant in which case you will need
to manually remove this file before starting wpa_supplicant again.