Computing.Net > Forums > Solaris > setting up network

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.

setting up network

Reply to Message Icon

Name: Robert
Date: November 25, 2002 at 16:49:58 Pacific
OS: Solaris 8
CPU/Ram: -
Comment:

When I installed Solaris 8 I could not setup the network. Now that the installation is complete I would like to set my domain, ip, hostname, nameservers and subnet.

I've tried sys-unconfig but upon reboot I am only asked to change the power management options.. then it continues normaly without asking for network options.

I've also tried editing /etc/.sysIPtools.state which when I rebooted asked me to configure my time zone and my root password but still nothing about my network.

How do I set up my network?



Sponsored Link
Ads by Google

Response Number 1
Name: Jose
Date: November 26, 2002 at 16:38:04 Pacific
Reply:

To change your domain and nameservers.
/etc/resolv.conf
/etc/nsswitch.conf
To change your IP
/etc/hosts
To change your hostname
http://www.sugoi.org/bits/index.php?bit_id=1


Hope this helps
Jose


0

Response Number 2
Name: Prasad Kalvakota
Date: December 3, 2002 at 14:29:52 Pacific
Reply:

Setting a Domain name :
Create a file called /etc/defaultdomain and add domain name in it and reboot.
Setting an IP address:
Edit /etc/hosts and add the entry of your hostname and corresponding ip address.
Edit /etc/hostname.hme0(depends on your interface) and add your hostname to it.
use ifconfig netmask plumb up
Setting Default Gateway:
Create a file called /etc/defaultrouter and add the ipaddress of your default gateway.
Reboot or run route add default `cat /etc/defaultrouter` (remember back quotes)
Setting Name Servers:
Open /etc/resolv.conf and add the entries as follows:
nameserver
nameserver


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: setting up network

Setting up Network Printer www.computing.net/answers/solaris/setting-up-network-printer/4975.html

trouble setting up network www.computing.net/answers/solaris/trouble-setting-up-network/1247.html

setting up dhcp for solaris www.computing.net/answers/solaris/setting-up-dhcp-for-solaris/2150.html