LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-12-2005, 11:12 PM   #1
zareous
LQ Newbie
 
Registered: Nov 2004
Distribution: Fedora Core 5
Posts: 2

Rep: Reputation: 0
HOWDOI implicitily configure a USB NIC to be eth(whatever)


Gidday,

I have a laptop that is running KNOPPIX. It has 1 onboard NIC, I also plug in 2 usb ethernet NICs.

Now my question is how do I implicity setup it up so that the onboard NIC is eth0 and also either that the USB NIC in USB port x is eth1 and USB port y is eth2 or that USB NIC with MAC address xx is eth1 and USB NIC with MAC address is eth2.

Either option in regards to the USB NICs is fine.

Cheers,

Graham
 
Old 07-13-2005, 04:52 PM   #2
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
the first ethernet driver loaded and detected will be eth0, the second will be eth1, and the third eth2.

load the onboard NIC drivers before the USB drivers, and the onboard will be eth0.

on normal distro's its just a case of tweaking the modules boot script, wit knoppix you may have to re-master the CD.
 
Old 07-20-2005, 01:15 AM   #3
zareous
LQ Newbie
 
Registered: Nov 2004
Distribution: Fedora Core 5
Posts: 2

Original Poster
Rep: Reputation: 0
Cheers, thanks for that. However the issue I have is not whether between onboard versus usb NIC's but between multiple USB NICS, up to four.

Now how do I specify that if a USB NIC is in a specific slot that it will always be assigned let's say eth3 and a different USB NIC in another slot will always be assigned eth2 etc.

Cheers.
 
  


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
Bind ETH devices to specific NIC/MAC not_an_expert Slackware 8 10-13-2004 11:00 AM
mandrake 10.0 - linksys eth nic detected - wont connect 2 net keyshawn Mandriva 12 08-15-2004 08:25 PM
How to specify which eth# maps to to which nic. dileepkk Linux - Networking 5 07-27-2004 07:01 AM
E100: eth NIC link is down. bossie Linux - General 1 10-18-2003 11:07 AM
usb-eth problems tekn0phile Linux - Laptop and Netbook 0 09-22-2003 06:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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