PDA

View Full Version : [ubuntu] Help: Using 2 wired & wireless simultaneously



W1nTry
October 20th, 2009, 07:58 PM
I am trying to use my wired connection for access into a LAN and my wireless for internet. There is no DHCP on the wired connection and I have to manually assign an IP address. When I try to do so, it is NOT taking a gateway ip, instead it holds 0.0.0.0. Also once they 2 are connected, I can no longer browse the internet.

t0mppa
October 20th, 2009, 10:30 PM
Why don't you run netstat -nre from the terminal and post the results. Also, can you post your /etc/network/interfaces contents or the terminal commands you're using to set up the interfaces?

W1nTry
October 21st, 2009, 05:12 PM
Here are the results of netstat -nre:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.69.0 0.0.0.0 255.255.255.0 U 2 0 0 wlan0
10.189.0.0 0.0.0.0 255.255.224.0 U 1 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 wlan0
0.0.0.0 192.168.69.1 0.0.0.0 UG 0 0 0 wlan0

etc/network/interfaces :
auto lo
iface lo inet loopback

And a screenshot for good measure:
http://img80.imageshack.us/img80/546/networkg.th.jpg (http://img80.imageshack.us/i/networkg.jpg/)

Just be looking at it I would think it SHOULD work, however once the Wired ethernet port is connected I can no longer browse the internet, though I can access the LAN.

jward3010
October 21st, 2009, 08:50 PM
Problem is, network-manager where you're trying to configure the interfaces doesn't support anymore than one connection at a time. You'll have to add this stuff to your interfaces file.

Here's a good example of an interfaces file: http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/