1831238 Members
2564 Online
110021 Solutions
New Discussion

Enabling a Dynamic IP

 
donne007
Regular Advisor

Enabling a Dynamic IP

Iwant to enable my B2000 wks to get a Dynamic ip, All i did Was
>commented the host entries in /etc/hosts file
>in /etc/rc.config.d/netconf file
reset the valeu of DHCP_Client=1
Again i restarted /sbin/init.d/net - stop& start

But it doesnt seems to work ,, can any one help me whatelso to do..

Thanks in Advance
Asif
2 REPLIES 2
Sean OB_1
Honored Contributor

Re: Enabling a Dynamic IP

information gleaned from a search:


Check /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.

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.

donne007
Regular Advisor

Re: Enabling a Dynamic IP

Thanx sean,
I'was able to get the Dynamic Ip But I'm Not able to Login using the CDE. I ran the dr_dt script and corrected the warnings like
>> /etc/hosts & /etc/named shuld have same permission and owner=bin & grp=bin

>> created a Dummy file /var/adm/inetd.sec ,,
/usr/dt/bin/xmbind,,
/usr/dt/bin/suid.exe ..

But no issues with the console logins .. Ned more help on this

Cheers
Asif