LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   Where is my dmfe1 on SunFire V100? (https://www.linuxquestions.org/questions/solaris-opensolaris-20/where-is-my-dmfe1-on-sunfire-v100-379447/)

saudoi 11-02-2005 09:31 PM

Where is my dmfe1 on SunFire V100?
 
Hi all,

I've just installed Solaris10 onto my SunFireV100. However, I don't see the 2nd ethernet adapter after the installation finished. There's only one dmfe0. How do I active it again?

Once more, telnet service seem not to be installed sothat I have to use console port to configure it. Can I install telnet or SSH to remote admin this server.


Thank you in advance.

jlliagre 11-03-2005 01:15 AM

Code:

ifconfig dmfe1 plumb
Telnet service is installed by default, ssh too, but need to be enabled if I recall properly.

saudoi 11-04-2005 01:24 AM

Great!!!
Code:

ifconfig dmfe0 plumb
It work.

How can I enable telnet and ssh services ?

Thanks so much

saudoi 11-04-2005 01:31 AM

omg, the dmfe1 is "unplumb" after I restart the server. Can I keep it up 4ever ?

jlliagre 11-04-2005 01:51 AM

To keep dmfe1 after a reboot, just create the /etc/hostname.dmfe1 file with the wanted IP address inside.

For the other issue, what show the following commands ?
Code:

svcs -l telnet
svcs -l ssh


saudoi 11-04-2005 07:04 AM

Here's the output
Code:

-bash-3.00# svcs -l telnet
fmri        svc:/network/telnet:default
name        Telnet server
enabled      true
state        uninitialized
next_state  none
state_time  Fri Nov 04 19:37:08 2005
restarter    svc:/network/inetd:default

Code:

-bash-3.00# svcs -l ssh 
fmri        svc:/network/ssh:default
name        SSH server
enabled      true
state        offline
next_state  none
state_time  Fri Nov 04 19:37:05 2005
restarter    svc:/system/svc/restarter:default
dependency  require_all/none svc:/system/filesystem/local (online)
dependency  optional_all/none svc:/system/filesystem/autofs (offline)
dependency  require_all/none svc:/network/loopback (online)
dependency  require_all/none svc:/network/physical (online)
dependency  require_all/none svc:/system/cryptosvc (online)
dependency  require_all/none svc:/system/utmp (online)
dependency  require_all/restart file://localhost/etc/ssh/sshd_config (online)

Can you give me the format of the file /etc/hostname.dmfe1

Thanks.

saudoi 11-04-2005 09:08 PM

I put "192.168.1.4 netmask 255.255.255.0" into /etc/hostname.dmfe1 file, after restart, i see the dmfe1 up but i can not ping to my pc (192.168.1.44), if move the cable to dmfe0, ping is okie. What's problem here?

saudoi 11-04-2005 10:34 PM

Haha, I can start telnet and ssh service. just create file /etc/resolv.conf and put "nameserver 192.168.1.2" inside this file, restart server and these services come up. I think because file /etc/resolv.conf is absent so inetd couldn't start > telnet and SSH same. Is it rite ?

jlliagre 11-05-2005 04:29 AM

Well, you had a messed up network configuration.
You told the system to use dns as a name resolution method, but you didn't configure dns. As a consequence, the services depending on a proper network initialization weren't launched, that make sense.

About dmfe1, what says "ifconfig -a" an "netstat -rn" ?

saudoi 11-05-2005 09:30 AM

Which option should I choose for name resolution method? I don't have any DNS server in my lab (I have only 1 PC and 1 Sun). I think that I need to re-install my server (to learn more experience ;) ) . Do you have any suggestion for me sothat i can have the server with good configurations.

Thx.

jlliagre 11-05-2005 09:36 AM

Hey, it looks like everyone want to reinstall its server as soon as a problem happens. Solaris is not Windows ;)

Choosing the name resolution is done through a single file: /etc/nsswitch.conf

Just copy /etc/resolv.files to /etc/nsswitch.conf and you are set.

saudoi 11-05-2005 12:32 PM

I've changed line "hosts: files dns" -> "hosts: files" in the /etc/nsswitch.conf file already.

Howerver, I changed it back "files dns" and type Dns address of my ISP into /etc/resolv.conf file in order to I could access internet.

Of course, before I re-install my server, I will try everything till it stop responding :D

I think these troubles can give me more experiences after I resolve them ;)

jlliagre 11-05-2005 02:01 PM

I'm confused by your answers.

Again, about dmfe1, what says "ifconfig -a" an "netstat -rn" ?

saudoi 11-05-2005 06:53 PM

My Lab is closed today, i will post the output "ifconfig -a" and "netstat -rn" tomorrow.

(I'm not good at English, I'm learning it too :d. Thx for ur reading and understand ;) )

AgentX 11-06-2005 01:54 AM

Quote:

Originally posted by saudoi
I put "192.168.1.4 netmask 255.255.255.0" into /etc/hostname.dmfe1 file, after restart, i see the dmfe1 up but i can not ping to my pc (192.168.1.44), if move the cable to dmfe0, ping is okie. What's problem here?
You entered the IPs correctly, right?


All times are GMT -5. The time now is 07:14 AM.