Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

saving DHCP setting?

Status
Not open for further replies.

fsxtech

IS-IT--Management
May 16, 2001
4
0
0
US
hello all...

When i installed Solaris8 i386 on my Pc, i chose networking support and assigned a static IP....but now i have a DHCP server set up and i want to change it to DHCP instead of static ip

my problem is......

i do the following commands:
----------------------------------------------
# ifconfig cnft0(thats my adapter) auto-dhcp
# ifconfig cnft0 dhcp
----------------------------------------------

once i do that the computer detects my dhcp server and gateway and i can go on the internet ect ...ect .ect...

but.........

once i reboot the computer the settings revert back to static IP and i have to type in those dhcp commands again

what do i have to do to keep my adapter DHCP even after i reboot my computer

i'm sure this is a simple task...but i am just starting my solaris adventure and cant figure this out

and help will be GREATLY appreciated

thanks all

-fx
 
I'am not exactly sure but i think you have to do a little tinkering with /etc/inetd.conf file and the rc scripts where you have the startup scripts written for bringing up your network card mostly look for it in rc2.d directory.

Hope this helps
 
This should be the line in the file /etc/inetd.conf which is creating your problem try removing the # symbol at the starting of the entry

bootps dgram udp wait root /usr/sbin/bootpd bootpd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top