shaywood
Posts: 3
Joined: Sun Dec 02, 2012 2:48 am

How to enable eth0 and wlan0

Sun Dec 02, 2012 2:53 am

Hello. I'm a newbie! I initially setup Rpi using a network cable. I then added a wireless N usb adapter, which works fine. I would like to be able to go back-and-forth between the cable and usb adapter as needed. I noticed when I switch between cable and adapter the cable no longer works. How can I choose which one to use?


Shawn

pigeta
Posts: 11
Joined: Thu Nov 15, 2012 6:33 am

Re: How to enable eth0 and wlan0

Sun Dec 02, 2012 9:15 am

try to intall wicd

User avatar
redhawk
Posts: 3465
Joined: Sun Mar 04, 2012 2:13 pm
Location: ::1

Re: How to enable eth0 and wlan0

Sun Dec 02, 2012 10:46 am

try:
ifdown wlan0
ifup eth0

Richard S.

shaywood
Posts: 3
Joined: Sun Dec 02, 2012 2:48 am

Re: How to enable eth0 and wlan0

Sun Dec 02, 2012 3:35 pm

Richard, where do i enter those commands?

cl330b
Posts: 5
Joined: Mon Nov 26, 2012 11:21 pm

Re: How to enable eth0 and wlan0

Sun Dec 02, 2012 10:48 pm

Hi Shaywood,

The commands are entered at the command prompt (LXTerminal most likely).

Code: Select all

cl330b@raspberrypi ~ $ sudo ifdown wlan0
cl330b@raspberrypi ~ $ sudo ifup eth0

shaywood
Posts: 3
Joined: Sun Dec 02, 2012 2:48 am

Re: How to enable eth0 and wlan0

Thu Dec 06, 2012 5:58 pm

Thanks for the reply. Is there a way to set things up to check for lan vs wan automatically when booting. It looks like the commands you provided must be entered manually.

Return to “Troubleshooting”