LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-09-2003, 11:44 AM   #1
sadanapalli
LQ Newbie
 
Registered: Apr 2003
Location: Waukesha
Distribution: RedHat Linux 9
Posts: 3

Rep: Reputation: 0
docking a laptop - eth0


I am running Red Hat 8.0 on my Dell Latitude C610 laptop
with Dell Latitude C/Port II docking station.
When I dock my laptop, the NIC of my docking station is listed as eth1
and my internal NIC for laptop is listed as eth0.

I would like √ęth0 to point to the internal NIC when undocked and point to the NIC of docking station , when docked.

How to do this? Any help is greatly appreciated.

Thanks
 
Old 04-09-2003, 02:10 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
I think you can do this by editing /boot/System.map or creating an alternative but I can't swear to it.

Last edited by david_ross; 04-09-2003 at 02:12 PM.
 
Old 04-09-2003, 02:22 PM   #3
sadanapalli
LQ Newbie
 
Registered: Apr 2003
Location: Waukesha
Distribution: RedHat Linux 9
Posts: 3

Original Poster
Rep: Reputation: 0
Can you please tell me how to do that? What should I edit in /boot/System.map..I have never looked into this file?
Should I modify something there? Please help me
 
Old 04-09-2003, 03:03 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
System.map is created when you compile a kernel - it lists the devices and the names that linux knows them by.

I'm not actually sure if you are supposed to edit it directly. From what I have read in the past - I *assume* that you can just swap the device names and map them to different names.

I'm afraid that this isn't my forte so I'll not be able to help you much further.
 
Old 04-09-2003, 04:22 PM   #5
chalybaeus
LQ Newbie
 
Registered: Apr 2003
Distribution: Redhat 7.3
Posts: 1

Rep: Reputation: 0
I sympathize.

I have a setup very similar with the added headache of a mini-pci wireless card which also shows up as an ethX. The X dependent on when the pcmcia initializes with respect to the network.

I haven't yet found a way to force an identifier on to a specific resource yet, and can't see how it could be done in the System.map.

I have however found many workarounds for dealing with the alternate position (naming) of my wireless card.

If you can tell us what it is you are trying for. I might can help there.

For instance, if it's the annoyingly long time it takes for eth0 to die out on the boot up so that eth1 (the dock) can initialize. You can fix this by having both delay booting (changing ONBOOT="NO" in /etc/sysconfig/network-scripts/ifcfg-ethX) and then scripting your own init.d script to load after the network script. What I've done in my init.d script is to check to see if the dock is present and then initialize the proper ethX accordingly.
-----
Hope this helps!!!
 
  


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
laptop + docking station does NOT boot timpie Linux - Laptop and Netbook 3 03-02-2004 02:40 PM
Laptop and Docking Station or External Monitor lewt Fedora 0 11-13-2003 09:03 PM
Toshiba Laptop/Internet Access/docking Kevin5642 Linux - Laptop and Netbook 1 10-15-2003 07:17 AM
laptop with docking -- does not boot new kernel, redhat 9 installation media timpie Linux - Laptop and Netbook 0 06-22-2003 11:30 AM
woes with video in docking laptop heiseltc Linux - Hardware 0 10-01-2002 05:32 PM


All times are GMT -5. The time now is 04:57 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration