LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-15-2011, 02:14 PM   #1
veeruk101
Member
 
Registered: Mar 2005
Distribution: Ubuntu 12.04 LTS
Posts: 249

Rep: Reputation: 16
How to get wired and wireless connection at the same time using NetworkManager?


I have a wireless connection to the internet, as well as a wired connection to a local network. When the wired connection to my local network is enabled, the wireless connection to the internet no longer works until I disconnect the ethernet cable.

(This setup used to work just fine when I was using Windows, but now doesn't seem to work. I wasn't using IP aliasing in Windows, but I am now, which may be causing the problem.)

My original connection to the internet was a wired one, at eth0, so once I got wireless enabled (on eth1), I created an IP alias to my local network of eth0:1 which is a static IP on my local network. The only configuration I did at all was to add a file named /etc/sysconfig/network-scripts/ifcfg-eth0:1, with the following contents:

Code:
DEVICE=eth0:1
IPADDR=192.168.0.39
NETMASK=255.255.255.0
ONBOOT=yes
And NetworkManager just seemed to pick it up automatically - I didn't change anything else in NetworkManager or anywhere else.

(Also I use 'service NetworkManager start/stop' entirely rather than 'service network start/stop' to manage my connnections. i.e. I did 'chkconfig network off' when setting everything up initially.)

Any idea what I could do to get it working?
 
Old 06-16-2011, 08:19 AM   #2
flakblas
Member
 
Registered: Jun 2009
Location: Maryland
Distribution: Fedora, CentOS, RHEL, Ubuntu
Posts: 41

Rep: Reputation: 3
In my experience NetworkManager doesn't play well when you start messing with configs (which is why I don't use it myself.) Have you tried it without using NetworkManager?
 
Old 06-16-2011, 12:04 PM   #3
veeruk101
Member
 
Registered: Mar 2005
Distribution: Ubuntu 12.04 LTS
Posts: 249

Original Poster
Rep: Reputation: 16
I tried it without NetworkManager initially but there were lots of problems with getting wireless to work on my model of wireless network card, so I was advised to use NetworkManager which solved the problem. I'm sure it's just that I don't know how to go about configuring it correctly rather than it not being possible, so if anyone has suggestions I'm willing to try them.
 
Old 07-04-2011, 10:58 PM   #4
kennyhendrick
LQ Newbie
 
Registered: Jun 2010
Posts: 2

Rep: Reputation: 0
Talking Huh?

Erased by author.

Last edited by kennyhendrick; 07-04-2011 at 11:02 PM. Reason: Sorry I was thrown by the eth0:1
 
  


Reply



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
[SOLVED] DSL connection slow on Linux wired connection but fast on Windows wireless Pandarsson Linux - Wireless Networking 9 12-17-2010 05:55 PM
how to connect to internet using dsl connection at a time for wireless and wired itrilok Linux - Networking 2 06-14-2010 09:27 AM
Lose Wireless Connection when Wired connection is disconnected phillywill Linux - Wireless Networking 65 01-21-2010 08:40 PM
Slackware 13.0 & WICD - Slow wired connection, no wireless connection xTyrant Linux - Laptop and Netbook 2 10-14-2009 11:58 PM
Wireless and Wired connection on Belkin wireless G F5D7230 not working together ernie79 Linux - Hardware 1 02-10-2008 06:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:54 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration