- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Enabling DHCP on lan0
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
01-15-2001 11:11 PM
01-15-2001 11:11 PM
i?ve been trying to setup my workstations (almost 9000-C100 hpux 10.2) to use DHCP parameters.
On "/etc/rc.config.d/netconf" i set the flag DHCP_ENABLE[0]=1.
While rebooting, i get the messages:
/sbin/auto_parm: Checking for DHCP servers ...
/sbin/auto_parms[10]: 0^J1: Syntax error
/etc/auto_parms.log: Lease valid but not updated for: lan0
What am i missing here?
Thanks for your help.
Matos
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2001 12:43 AM
01-16-2001 12:43 AM
Re: Enabling DHCP on lan0
Did you remove netconf.old from the /etc/rc.config.d directory?
Is your problem solved ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2001 01:37 AM
01-16-2001 01:37 AM
Re: Enabling DHCP on lan0
indeed, there was a netconf.old file on "/etc/rc.config.d/".
After removing it, i got stuck in the next problem: After changing the flag "DHCP_ENABLE[0]=" to 1 (i have also used sam to configure the interface for DHCP), each time i reboot
the workstation the script "auto_parms" goes for the DHCP server. Then it changes the flag back to "0" and boots with the old ip-address.
This time i have enclosed the script "netconf" and the log file "auto_parms.log".
By the way, may i supply the hostname by the DHCP request ?
Thank you in advance.
Matos
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2001 02:05 AM
01-16-2001 02:05 AM
Solutionheck /etc/inetd.conf for the bootps entry, is it commented out ?
uncomment this and verify its setup in sevices and
inetd.conf. do an inetd -c and it should add the service correctly.
try a dhcpclient -b lan0 -u, it should create an /etc/dhcpclient.data file.
Finally =>
Edit /etc/rc.config.d/netconf and reset
the DHCP_ENABLE flag to 1
2) Edit /etc/rc.config.d/netconf and remove
the hostname for this system. The hostname
field should just be ""
3) Remove all dhcp* files that may exist from /etc
4) In /etc, run touch dhcpclient.data so that a 0 byte
file is created.
5) Reboot the system, and it should run through the setup
script. You may also have a failure after the auto_parms
script has rebooted the system since it may force you to
put in an NIS domain. You will need to let the system
timeout and then login.
6) After logging into the system, edit the
/etc/rc.config.d/namesvrs file and set the NIS_CLIENT=
field to "" instead of 1.
7) Reboot and the system should now boot up properly.
PS that's 20 pts if this works as well ;)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2001 09:13 AM
01-16-2001 09:13 AM
Re: Enabling DHCP on lan0
DHCP is working now.
Thank you very much.
Matos
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2001 06:59 AM
01-25-2001 06:59 AM
Re: Enabling DHCP on lan0
I tried everything as described by Alex Glennie, but it doesn't work.
After reboot, x-windows is started and demands hostname, country-settings and IP adress, no
message in auto_parms.log.
Thanks for help
Bettina
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2001 07:21 AM
01-25-2001 07:21 AM
Re: Enabling DHCP on lan0
If not start a new posting = more people likely to help us.