Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.


  Search this Thread
Old 09-27-2005, 12:09 PM   #1
LQ Newbie
Registered: Oct 2003
Posts: 5

Rep: Reputation: 0
debian: two ethernet devices, only one works at a time

I got a Sony Vaio Laptop with an e100 wired lan and ipw2200 wireless lan. Both interfaces work fine, but only when activated on their own.

When I first bring up the wlan, and after that bring up the normal cable lan interface, only the wlan can ping machines on the local net and internet. If i do it the other way round, i can ping via the cable lan, but not using the wlan interface.
Can I make both interfaces work as normal at once? I guess it has something to do with my route settings maybe...

Although the system is debian, I made a custom network start script which goes like this:
(eth0=wireless, eth1=cable lan)

iwconfig stuff , essid, wep and so on... this should be alright.

ifconfig eth0 netmask
ifconfig eth0 up
ifconfig eth1 netmask
ifconfig eth1 up
route add default gw
However, only the first device brought up "works"....
Old 09-29-2005, 09:07 AM   #2
Registered User
Registered: Apr 2004
Posts: 560

Rep: Reputation: 30
just interested,,,how do you know only the first device works? How are you trying to route your packets and, frankly, why if they both go to the same gateway?
Old 09-29-2005, 09:20 AM   #3
LQ Newbie
Registered: Oct 2003
Posts: 5

Original Poster
Rep: Reputation: 0
I do it with ping -I ethX, and with the second activated, "non-working" device,
it always says destination host unreachable, no matter what ip i ping.
When I bring up eth0 first, eth1 won't ping anything, if I bring up eth1 first, eth0 wont ping.

All I do with route is set the default gateway
I dont have much experience with route, what is the correct way to get both interfaces to use as a gateway?
Old 09-29-2005, 12:10 PM   #4
Registered User
Registered: Apr 2004
Posts: 560

Rep: Reputation: 30
you need load balancing software for that as a given app would have to divide its packets between two NICs. That's probably why one of the NICs is always suspended.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
automounting usb devices with usbmount works well but i have one problem mechmg93 Debian 9 10-23-2005 07:24 AM
Logitech - Devices - New device works great! goozlq Linux - Hardware 0 09-01-2005 04:21 PM
No mixer elements and/or devices found. Works only as root! titan_pi8 Linux - Newbie 2 04-30-2005 06:51 AM
no signal when starting xorg for the 1st time (but the second time works fine) bungalowbill Linux - Software 0 06-04-2004 09:56 AM
multiple ethernet devices poison Slackware 2 02-23-2004 06:46 AM

All times are GMT -5. The time now is 07:24 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration