By far the cleanest way of doing this is by running /usr/sbin/sys-unconfig
This will let you re-enter all those install type questions .. hostname, IP address, nameservices etc,etc.. Although bear in mind this will also invove a reboot [sig][/sig]
You might have a problem here, the IP address for your server is not just recorded in /etc/hosts. [sig]<p>Ged Jones<br><a href= > </a><br>Top man[/sig]
Hmmm .. thought it sounded easy ... but everything seems to work fine. ifconfig -a shows what I expect to see, etc. It's a very simple setup .. I have 2 Sparcs talking to each other over our LAN and all appear well. I took the advice from a colleague who's been at this for years. He advised me to change the IP in /etc/hosts, reboot .. and then mumbled something about hme0 picking up the new setting. As I say, I'm not an experienced admin but I trust him!
Hi,
I used do by changing the things in /etc/hosts and
/etc/netmasks and reboot. Everything works fine. In etc/netmasks you have to give both IP address and subnet mask. Any suggestions about this method.
That method might or might not do it depending on whether or not the OP has a NIC card installed and, if so, the name of his interface is "le0."
sys-unconfig isn't a bad way to go providing you have all the information it asks for after the reboot (which you probably should).
I didn't specify a gateway since I don't know where to set it up. Then I sent an ICMP echo to one PC and then it said something like: Host Unreachable from gateway <ip add of machine> for ICMP echo from <ip add of machine>. So it's mistaking my box's IP for a gateway.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.