Forum

Full Version: Wlan0 is not recognized when eth0 is unplugged
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all,

I've got a Raspberry model B and my Xbian version is 1.0 Beta 2. When I want to boot the Raspberry with only my dongle wifi (D-Link N150), he can't boot correctly ( the screen is always stop on "connect to network" with the xbian logo). I'm forced to plug the RJ45 cable in order to "active" wlan0

When the RJ45 cable is plugged, I can ping the wlan0's IP and when eth0 is unplugged I can't ping wlan0

Wlan0 is configured manually and eth0 is configured by DHCP

I would like to use my Raspberry with only my wireless network.

If you've got any idea for solve my trouble, that would be nice

You can find with this post the results of ifconfig and lsusb


Thank you for your help

Parrot
@Parrot

remove eth0 from "auto" adapters
and keep wlan0 definitely as "hotplug" and inet conf "static". in case you are not sure what that specifically means, post your /etc/network/interfaces file and I will update it for you
(27th Mar, 2014 08:45 AM)mk01 Wrote: [ -> ]@Parrot

remove eth0 from "auto" adapters
and keep wlan0 definitely as "hotplug" and inet conf "static". in case you are not sure what that specifically means, post your /etc/network/interfaces file and I will update it for you


Hi mk01,

Thank you for answering. Wlan0 was configured by the Xbian GUI so my /etc/network/interfaces has been generated automatically. For me, wlan0 is already hotplug and static in this file. How I can remove eth0 from auto adapters ? You can find my /etc/network/interfaces as attached file.

Best regards,

Parrot
@Parrot

the interfaces file is now correct. (1) please update your XBian to latest available version.

and meantime you can try changing:
Code:
iface eth0 inet dhcp

to

Code:
iface eth0 inet manual

but (1) is highly preferred.
Reference URL's