HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- 2 nics dhcpcd activation according to where i am..
Operating System - Linux
1829905
Members
1355
Online
109993
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2001 11:33 PM
11-26-2001 11:33 PM
2 nics dhcpcd activation according to where i am..
hi
i have 2 nics ..
eth0 for roadrunner at home
wlan0 for wireless network at school..
at home, there's no problem.
at school, at boot time, my box tries to contact dhcp server through eth0..and this takes about 1-2 min..
can i set up my box so that it can decide activate eth0 or wlan0, according to where i am?
thank you
Eugene Kim
i have 2 nics ..
eth0 for roadrunner at home
wlan0 for wireless network at school..
at home, there's no problem.
at school, at boot time, my box tries to contact dhcp server through eth0..and this takes about 1-2 min..
can i set up my box so that it can decide activate eth0 or wlan0, according to where i am?
thank you
Eugene Kim
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2001 01:15 AM
11-27-2001 01:15 AM
Re: 2 nics dhcpcd activation according to where i am..
Hi,
I think you can tell the kernel at boot time which card to use. So, using lilo, you can choose before loading the kernel which card should be activated, or just to disable the eth0 when you're at school.
E.
I think you can tell the kernel at boot time which card to use. So, using lilo, you can choose before loading the kernel which card should be activated, or just to disable the eth0 when you're at school.
E.
To Live Is To Learn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2001 12:49 PM
11-27-2001 12:49 PM
Re: 2 nics dhcpcd activation according to where i am..
Hello eugene:
This may prove to be hard because your computer has no idea about where you are. You could try to improvise a script that 'pings' a given host and then you decide which interface to put under DHCP (via pump or whatever) control.
If I were you, I'd setup dummy IP addresses on those interfaces and run a shell script that assigns the addresses via pump (dhcp) depending on the place you are.
Regards,
Paga
This may prove to be hard because your computer has no idea about where you are. You could try to improvise a script that 'pings' a given host and then you decide which interface to put under DHCP (via pump or whatever) control.
If I were you, I'd setup dummy IP addresses on those interfaces and run a shell script that assigns the addresses via pump (dhcp) depending on the place you are.
Regards,
Paga
Keeping alive, until I die.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP