I’ve just installed volumio 1.1 and everything seems to work in eth environment but when I try to turn it into wifi something strange happens.
the webgui shows no wlan0 interface name and no ip (my dhcp works), I’ve tried some manual configs from shell and editing conf files:
if I setup wlan0 with
iwconfig wlan0 essid MYSSID key MYKEY
ifconfig wlan0 up
it gives an error about the key command but it connects without problems and everything works from wifi (it connects, take ip and I can use webgui and ssh on the wifi ip) but still no infos about wlan connection on the webgui.
if I now disconnect the eth cable even wifi stops working.
if I reboot no wifi connection is established, I have to reconnect on eth and issue the command iwconfig wlan0 essid MYSSID to restart the connection.
I think it can depend on the fact the AP (using wpa2) is not broadcasting the ssid (imperative for me) so tried this configuration:
/etc/network/interfaces:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
allow-hotplug wlan0
auto wlan0
iface wlan0 inet dhcp
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
and /etc/wpa_supplicant/wpa_supplicant.conf:
network={
ssid=“MYSSID”
scan_ssid=1
psk=“MYPSK”
}
saved, reboot and still no auto wifi connection.
my setup will only be useful in wifi mode so I need to manage it to work, do you know what can I try to make wlan0 connect at startup?
well, I tried every kind of /etc/interfaces and /etc/wpa_supplicant/wpa_supplicant.conf configurations I’ve found on the web, I’ve also installed wicd-curses and the only result is that I can connect to my ap only broadcasting the ssid. I really can’t figure out what’s the problem. any hint will be appreciated!
(before I tried with wpa-roam instead of wpa-conf that does’t work for me, it also doesn’t work in dhcp mode for me, really don’t know why as it works perfectly when not hiding ssid)
generated my wpa key with wpa_passphrase, my ap doesn’t accept the key in plain text while hiding ssid, I’ve generated my wpa_supplicant.conf with this command: