LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-21-2011, 01:54 PM   #1
glenn69
Member
 
Registered: Jul 2003
Location: Chicagoland
Distribution: ArchLinux
Posts: 261

Rep: Reputation: 32
How do I connect wireless AND ethernet


Hello,

I would like to connect my wireless card to one network (192.168.182.XXX) and my ethernet cable to another network (192.168.1.XXX)

Specifically, my wireless card connects to the internet through 192.168.182.XXX. My ethernet cable will connect to a server with NFS shares.

If I just connect both up, the wired connections takes over and I no longer have access to the internet.

Thanks

Edit: Update - Both cards are connected. I have been able to connect to the NFS shares via my wired connection. The only remaining problem is how do I tell my browser to use the wireless connection rather than the wired when it searches the net? Currently it apparently defaults to the wired connection and finds nothing.

Last edited by glenn69; 01-21-2011 at 02:16 PM. Reason: Additional information
 
Old 01-21-2011, 03:43 PM   #2
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
SimplyMepis has a "Network Manager" GUI that should allow you to configure both interfaces (wlan0 and eth1, or vice versa) independently of each other:

http://www.mepis.org/docs/en/index.p...etwork_Manager
 
Old 01-21-2011, 04:04 PM   #3
z1p
Member
 
Registered: Jan 2011
Location: the right coast of the US
Distribution: Ubuntu 10.04
Posts: 80

Rep: Reputation: 23
Hi glenn69, it sounds like you've gotten by setting up the two interfaces, but have run into a routing issue.

If you run netstat -rn you should see the routing table for your system. I am guessing you'll find that your system thinks it can route traffic through your wired LAN and since it has a lower metric than the wireless, it will try to use it when connected.

Also, what is your /etc/network/interfaces?

Last edited by z1p; 01-21-2011 at 06:03 PM. Reason: added final question
 
Old 01-21-2011, 05:01 PM   #4
pikeymick
LQ Newbie
 
Registered: Apr 2004
Distribution: Scientific Linux
Posts: 7

Rep: Reputation: 0
following as I'm trying to do the same thing
 
Old 01-21-2011, 06:30 PM   #5
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Glenn -

1. Output from "/sbin/ifconfig" and "netstat -rn" would be helpful.

... but FIRST ...

2. Please follow my advice and look at your SimpyMepis Network Manager.

... because ...

3. If you've indeed got two separate networks (192.168.182.XXX/255.255.255.0 and 192.168.1.XXX/255.255.255.0), and you've configured them correctly, then things should pretty much "just work".

And the Network Manager GUI is probably your best bet for configuring things correctly.

IMHO .. PSM
 
  


Reply


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
unable to connect to my wireless eth1, yes using my ethernet eth0 antonio fernandez Linux - Laptop and Netbook 3 01-04-2011 08:40 AM
Can't connect to internet F11 through wireless or ethernet dsabol Linux - Networking 2 07-02-2009 05:47 PM
Can;t Connect to Internet! Ethernet or Wireless! pat_can_vault Linux - Newbie 1 12-02-2007 03:36 AM
Cannot connect through wireless-ethernet bridge Belkin F5D7330 probabil1ty Linux - Wireless Networking 13 02-03-2007 12:13 PM
SuSE 9.0 Wireless & Ethernet connect but no upstream puyan909 Linux - Wireless Networking 1 02-20-2004 03:23 PM


All times are GMT -5. The time now is 03:30 PM.

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