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 - 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 10-22-2011, 04:54 PM   #1
unitedfollowers
LQ Newbie
 
Registered: Aug 2011
Location: USA/CO
Distribution: FC-14
Posts: 11

Rep: Reputation: 0
Help setting up inetutils/iproute2 to automatically configure network cards


Relevant package versions:
Inetutils 1.8
Iproute2 2.6.37
Net-tools 1.6
dhcp 3.0.6
Linux Kernel 2.6.X

So my issue is that my linux build is on a usb stick and that this usb stick isn't meant to be permanently tied to any one computer. This makes me believe that it will have to configure itself to whatever the new network card is each time. I have no experience in networking and so I am totally clueless as to what to do here. I'm only wanting to connect to DHCP networks (broadband/cable) that could possibly have a proxy firewall of somesort

I don't use a distro that normally would do this for me.

How would I go about getting my system to dynamically configure itself to a network card, or am I going the wrong approach?

I have defined my own hostname for the stick in /etc/sysconfig/network

I am supposed to make an /etc/hosts file but I'm stuck on how to fill it out as the FQDN would change from network to network right?

And then a /etc/sysconfig/network-devices folder is supposed to be filled with rules for eth0, eth1, ethN...but how would I determine my IP for the card/for the network to put here for the different eth devices.

Last edited by unitedfollowers; 10-22-2011 at 10:08 PM.
 
  


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] configure machine with two network cards rey Linux - Networking 3 09-21-2011 11:01 AM
How to configure two network cards in failover configuration rajesh.bahl Linux - Networking 3 11-06-2009 12:01 AM
Double network cards configure? bin_shell Linux - Networking 1 04-05-2004 07:21 AM
How to configure two network cards on RH linux 8.0 latencywala Linux - Networking 0 10-10-2003 11:39 AM
setting up 2 network cards green_dragon37 Linux - Hardware 7 05-02-2003 11:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:41 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