pb setting up network and opening /etc/resolv.conf
Hello all, i just installed solaris, its the first time im using it and i m having trouble setting up the network.
I did modify /etc/nsswitch.conf to use dns. I edited /etc/resolv.conf to add the dns server ip.
Now i m stuck and dont know what to do. I m using a switch and a router, and solaris 10
Message was edited by:
JusteUneQuestion
# 1
If sounds like you're trying to modify /etc/resolv.conf through some kind of File Management GUI. When it asks you to associate it to an application, use gedit or some other text editor.
Another way you can go about this is to click on launch, applications, utilities, and then choose terminal.
Then su - to root and vi /etc/resolv.conf and populate it as needed.
alan
# 2
Hello and thx for your answer, effectively it seems easier to set up the network using command line. Sorry for some simple question but i m new to this environnement and dont have much background on unix or linux, but the terminal is a shell ? If yes, which shell is it and how can i change it to a different one ?
Thank you.
# 3
I have also read that i have to get my interface name in order to configure my network.
I did /usr/sbin/ifconfig -a but i only got the loopback interface which is this :
lo0 .....
inet 127.0.0.1 netmask ff000000 which isnt important for configuring DHCP
So how can i know my interface name ?
thanks for helping
# 5
> or linux, but the terminal is a shell ? If yes,
yes
> which shell is it and how can i change it to a
> different one ?
It should be the one associated with your user account in /etc/passwd.
To change to a different one, vi /etc/passwd or just type the name of the shell, assuming that it is in your path.
alan
# 7
devfsadm -v
Or, you could just try the install again.
When it asks if the machine is networked, say yes.
It will then give you a list of all the interfaces from which to
choose a primary interface.
If one doesn't show up, the OS cannot see an interface, and
that may be part of the problem