Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-25-2008, 12:45 PM   #1
LQ Newbie
Registered: Jul 2008
Posts: 2

Rep: Reputation: 0
Configuring Multiple Interfaces with Separate Parameters

I'm new to this forum but I've been using it as a resource for years.

I've just finished putting together a very small PC based on an Alix 3c3 system board. I'm using a miniPCI wifi card and the board has a built in ethernet port.

Now as I'm building up this PC towards a usable form, I am bringing the PC to work and back every day. I have a DSL line at work and no wireless, so I want to use the ethernet port to connect to the internet. At home I have wireless.

I am using iMediaLinux as it really is the only distro that completely supports the Alix system board. The distro has some issues with getting DHCP addresses, so I need to provide static details for the interfaces.

Since both routers use different IP addresses (10.0.0.x and 192.168.0.x) I need to provide separate static IPs, gateways and dns details. Can anyone provide some ideas on how to configure the network so that if the PC is connected with ethernet it uses one config and wifi another config?

Old 07-26-2008, 07:18 PM   #2
Senior Member
Registered: Jun 2008
Distribution: debian, ubuntu, sidux
Posts: 1,125
Blog Entries: 2

Rep: Reputation: 124Reputation: 124
I don't know how iMediaLinux does its networking, but I do know that Ubuntu hardy heron runs fine on those alix boards. I have several of them running with it, but I'm not using wifi, only the ethernet.

My suggestions is to setup up both networks in the configuration and then have a script that gets run at boot that does a ping for the ethernet gateway and if it doesn't find it it takes down the ethernet, if it does it takes down the wifi and then sets the dns to the appropriate one.


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
Problem while bootimg : 'Configuring Kernel Parameters [OK]' nagesh_sonone Red Hat 5 06-22-2007 03:40 PM
getopts multiple parameters arnulfo Programming 2 12-23-2004 06:12 AM
Configuring Kernel Parameters jcruzs Fedora 5 12-04-2004 02:03 AM
Red Hat 7.3 and multiple gateways on multiple interfaces bluefmc Linux - Networking 2 11-19-2004 06:01 PM
PHP - passing multiple parameters jacksmash Programming 1 11-25-2003 11:56 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:48 AM.

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