LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 07-25-2008, 11:45 AM   #1
fossks
LQ Newbie
 
Registered: Jul 2008
Posts: 2

Rep: Reputation: 0
Configuring Multiple Interfaces with Separate Parameters


Hi,
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?

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

Rep: Reputation: 111Reputation: 111
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.
 
  


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


All times are GMT -5. The time now is 09:52 AM.

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