Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
dynamic IP instead of static
Name: Jiri Soljak Date: October 9, 2002 at 08:55:46 Pacific OS: Solaris 8 CPU/Ram: spark/256
Comment:
I would like to have Solaris installation with static IP address. Nodename, hosts, IP all are configured. Durring the instalation was DHCP disabled! DNS settings in nsswitch.conf is "files dns" dns = just for reaching other servers. Why do I still gets dynamical IP address and my nodename is ignored? My hostname is not mentioned in DNS server and will not be! So the hostname is still unknown. I know it is probably very easy but you are the guru not me. Thanks
Name: Mark Date: October 9, 2002 at 13:08:02 Pacific
Reply:
Hi-
Did you remember to update your /etc/hostname.{hme0|eri0} file?
-Mark
0
Response Number 2
Name: Aakash Date: October 9, 2002 at 22:45:01 Pacific
Reply:
issue command: #/usr/sbin/sys-unconfig
after auto re-boot it will ask for the informations... IP Addr, NIS/NIS+/DNS/other... etc
If you have entries in /etc/- hosts, networks, netmasks.... you can extract from the directory /etc/inet/????? all files are automatically backed up...
-aakash
0
Response Number 3
Name: Jessica Date: October 18, 2002 at 13:08:00 Pacific
Reply:
Hi,
As DHCP client is disabled on your box, (there is no /etc/dhcp.* ), but for a static IP address, you need configure /etc/hosts file put static IP address and hostname(like wk1) for your box, touch /etc/hostname.le0 and put the entry of the hostname(wk1) in this file. reboot the machine.
As far as you still get hostname as "unknown", as my understanding you are still a DHCP client because the script /etc/rcS.d/S30network.sh will automatically configure your box as "unknown" if the box is a DHCP client.
I do not think there are anything with DNS services or /etc/nsswitch.conf if you get dynamic IP address instead of static, it is related to DHCP services.
Summary: Hi, I need a shell script to check a dynamic ip(from cable company), it will send the ip to my email if the ip changes. The Solaris box is behind the router with a static ip (internal), the router con...
Summary: Hi all, I have this new Solaris 8 box, and my cable modem company provides only dynamic IPs. How to config the box so I can connect to the internet ? Is it that I have to setup DHCP ? Thanks for he...
Summary: I'm trying to log in to my dslam sun server, to edit some users. (using Cygwin from a winxp station) However, I logged in and got an error message when I tried to start the AWSADMIN network elements. ...