Disabling DHCP on Solaris 8
2007-12-25 11:33:00
Hash: SHA1
To switch from using DHCP to hardcoding your IP:
1. Delete /etc/dhcp.interface-name (hme0 for instance)
2. Make sure your hostname is in /etc/hostname.interface-name
3. Make sure the correct entry for your machine is in /etc/hosts.
4. Reboot.
In my case I simply wanted to turn off DHCP altogether for this
client. Sys-unconfig wouldn't work for me since the machine was
geographically elsewhere. Answerbook also hinted that the existence
of /etc/dhcp.interface-name tells the machine to use DHCP. I had
originally had difficulty because instead of removing
/etc/dhcp.interface-name I had renamed it to /etc/dhcp.hme0.sol8 like
I typically do to be able to go backwards. Some regular expression
probably just looks for /etc/dhcp* so it wouldn't work until I blew
it away.
Thanks,
- -Huba
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com>
iQA/AwUBOfnwJkpG2S0cMeJwEQJEDQCg/sCqBSHPkngdoluxU7o9PR4kxZMAmweI
tqUEabQ//P+H0Q/V9DxqRs3i
=i+lG
-----END PGP SIGNATURE-----
S
U BEFORE POSTING please READ the FAQ located at
N ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/faq
. and the list POLICY statement located at
M ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/policy
A To submit questions/summaries to this list send your email message to:
N sun-managers@codeprof.ececs.uc.edu
A To unsubscribe from this list please send an email message to:
G majordomo@codeprof.ececs.uc.edu
E and in the BODY type:
R unsubscribe sun-managers
S Or
. unsubscribe sun-managers original@subscription.address
L To view an archive of this list please visit:
I http://www.latech.edu/sunman.html
S
T
Comments
Got something to say?
You must be logged in to post a comment.

