Hi Michelangelo,
i may have spoken too fast.
Before i explain my problem let me give you some details that will help to understand the context.
Like hoeffel, i had no possibility to connect via ethernet my Cubox-i4P (that sit close to my amp) to my network. This is unfortunate as all my music library is stored on a NAS.
Like hoeffel i finally bought a little piece of hardware a Netgear PR2000 (http://www.netgear.co.uk/home/products/networking/wifi-range-extenders/PR2000.aspx) that is really full of possibilities for the price and the size (wireless router, wifi extender, wifi access point and wireless to ethernet bridge). I love it by the way. In my setup this is clearly the wireless to ethernet bridge i am using, to connect the Cubox with a wire to my network : cubox —(ethernet)—> PR2000 —(wifi)—> router —(ethernet)—> NAS
But the reason why i chose a cubox is mainly as it runs Volumio ( ) but as well for its power efficiency (compared to any hifi network drive). So i’m still trying to get its embedded wifi working. It would allow me to unplug the PR2000.
So i go back to my problem now : the cubox was connected via ethernet when i applied your new kernel. With the new kernel, the embedded wifi is now recognized as i posted yesterday. At this point i have two network interfaces (eth0 and wlan0) connected with two different IP addresses.
[code]volumio@volumio:~$ sudo ifconfig
eth0 Link encap:Ethernet HWaddr d0:63:b4:00:2e:db
inet addr:192.168.100.100 Bcast:192.168.100.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:86684 errors:0 dropped:0 overruns:0 frame:0
TX packets:10944 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:23874493 (22.7 MiB) TX bytes:4196657 (4.0 MiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:494405 errors:0 dropped:0 overruns:0 frame:0
TX packets:494405 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:54090228 (51.5 MiB) TX bytes:54090228 (51.5 MiB)
wlan0 Link encap:Ethernet HWaddr b8:5a:f7:82:b2:83
inet addr:192.168.100.15 Bcast:192.168.100.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2 errors:0 dropped:2 overruns:0 frame:0
TX packets:26 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:131 (131.0 B) TX bytes:4557 (4.4 KiB)[/code]
My problem started when i tried to unplug the ethernet wire to get the PR2000 out of my setup. I immediately lost the wifi connection to the cubox : ssh connection on the wifi IP freezes and do not respond anymore, HTTP UI using the wifi IP loses the connection. After a reboot, i can not connect anymore via SSH or HTTP. The only solution is to reboot with the wire plugged to the ethernet socket and then i have both ethernet and wifi connections back again.
To be perfectly honest, after using the UI to set my network (mainly the wifi password), i directly edited the /etc/network/interfaces file.
I initially set two fixed IPs for both ethernet and wifi connections :
[code]volumio@volumio:~$ cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.100.14
netmask 255.255.255.0
gateway 192.168.100.1
nameserver 8.8.8.8
auto wlan0
iface wlan0 inet static
address 192.168.100.15
netmask 255.255.255.0
gateway 192.168.100.1
nameserver 8.8.8.8
[/code]
I even tried with the ethernet connection retrieving its IP via DHCP :
[code]volumio@volumio:~$ cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
auto wlan0
iface wlan0 inet static
address 192.168.100.15
netmask 255.255.255.0
gateway 192.168.100.1
nameserver 8.8.8.8[/code]
But i always get the same result. Wifi connection works, only if the ethernet connection works at the same time.
Let me know if i can provide any log or if i did any mistake while playing with the /etc/network/interfaces file.
Thank you in advance