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

[370 byte] By [JusteUneQuestiona] at [2007-11-27 5:25:14]
# 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

alan.paea at 2007-7-12 14:45:11 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 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.

JusteUneQuestiona at 2007-7-12 14:45:11 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 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

JusteUneQuestiona at 2007-7-12 14:45:11 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 4
I tried /usr/sbin/ifconfig -a plumb and dladm show-dev and those two commands didnt show up anything.Does it mean that my card is not compatible ?
JusteUneQuestiona at 2007-7-12 14:45:11 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 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

alan.paea at 2007-7-12 14:45:11 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 6
You could try:cat /etc/path_to_inst and look for anything that says ethernet or something similar.The easiest way is to just check the hardware compatibility list at bigadmin.comalan
alan.paea at 2007-7-12 14:45:11 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 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

cloakesa at 2007-7-12 14:45:11 > top of Java-index,Solaris Operating System,Solaris 10 Features...