Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I posted this on the Raspberry Pi board and they booted it over to SuperUser and no one has said boo about it since it arrived. I figured seeing that it's a Debian distro...Ubuntu is Debian based... you guys might be able to help me. Can some one show me some luv here? Thanks in advance.

I have the Wheezy build loaded on my Raspberry Pi. I have my wired ethernet configured with a static IP and I have done the same thing with the wlan. When the wired is being used the wifi comes up and works. However when I disconnect the wired cable so I can use the Pi via the wifi only, it stops functioning.

Have I set up the interfaces file incorrectly? It seems really strange that it would stop working because the cable isn't attached. I tried to reboot without the cable plugged into the Pi to confirm it wasn't just some sort of glitch when I unplug it while it's running but it will only work if the wired cable is attached first.

Here's a copy of my /etc/network/interfaces file...[Based on a user suggestion elsewhere I have since modified the file to have auto lo etho wlan0 all on single line but that didn't fix anything. The file listing below is the original.]

    auto lo

iface lo inet loopback

auto eth0
iface eth0 inet static
        address 10.0.42.111
        network 10.0.42.0
        netmask 255.255.255.0
        broadcast 10.0.42.255
        gateway 10.0.42.1

allow-hotplug wlan0
auto wlan0
iface wlan0 inet static
        address 10.0.42.112
        network 10.0.42.0
        netmask 255.255.255.0
        broadcast 10.0.42.255
        gateway 10.0.42.1

wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.