Computing.Net > Forums > Solaris > Internet Access and Specifying User

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

Internet Access and Specifying User

Reply to Message Icon

Original Message
Name: Mark
Date: December 19, 2002 at 22:45:44 Pacific
Subject: Internet Access and Specifying User
OS: Sol 9
CPU/Ram: 167/128
Comment:

I've searched this site and Google, but I haven't found what I need. Perhaps you can help:
(I know Windows well, Mac OK and just learning linux and unix. Bought an Ultra 1 on ebay to learn Sparc and Solaris, have installed Sol 9 as a "new install" although it appears it saw old partitions.)

(1) I can't get this system to see the internet. I have a DSL modem feeding a 192.168.1.xxx home network. I can ping the modem. Other computers can ping the sun, although it doesn't ping them. I haven't been able to specify the "default gateway" although I've tried tips such as creating file in /etc/inet. Could somebody give me a brief "internet setup for dummies" outline?

(2) I have set up a "root" account, but I haven't figured out how to set up user accounts, or how to specify the local machine name. Is this in the "man" somewhere, or is it in Sun's website.

Thanks.


Report Offensive Message For Removal


Response Number 1
Name: jonob
Date: December 20, 2002 at 02:03:55 Pacific
Reply: (edit)

Hi Mark


The 3 files required to allow your host to work as specified are the follows

/etc/resolv.conf
/etc/nsswitch.conf
/etc/defaultrouter

resolv and conf you create yourself.

/etc/resolv.conf add one line adding the dns
The syntax is (xxx being the ip address of the dns)-:
nameserver xxx.xxx.xxx.xxx

/etc/nsswitch.conf, in this file go to where it says hosts.
Append after files and add the word dns

/etc/defaultrouter, here just insert the defaultrouter address you are using.

In regards to adding users, just run admintool. It should be pretty intuitive.
If you would prefer to use CLI then man useradd and it will help

Jono


Report Offensive Follow Up For Removal







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








Do you own an iPhone?

Yes
No, but soon
No


View Results

Poll Finishes In 7 Days.
Discuss in The Lounge
Poll History




Data Recovery Software