LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 11-02-2005, 09:31 PM   #1
saudoi
Member
 
Registered: Aug 2004
Location: VietNam
Distribution: Sun Solaris 10
Posts: 117

Rep: Reputation: 15
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.
 
Old 11-03-2005, 01:15 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Code:
ifconfig dmfe1 plumb
Telnet service is installed by default, ssh too, but need to be enabled if I recall properly.
 
Old 11-04-2005, 01:24 AM   #3
saudoi
Member
 
Registered: Aug 2004
Location: VietNam
Distribution: Sun Solaris 10
Posts: 117

Original Poster
Rep: Reputation: 15
Great!!!
Code:
ifconfig dmfe0 plumb
It work.

How can I enable telnet and ssh services ?

Thanks so much
 
Old 11-04-2005, 01:31 AM   #4
saudoi
Member
 
Registered: Aug 2004
Location: VietNam
Distribution: Sun Solaris 10
Posts: 117

Original Poster
Rep: Reputation: 15
omg, the dmfe1 is "unplumb" after I restart the server. Can I keep it up 4ever ?
 
Old 11-04-2005, 01:51 AM   #5
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
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
 
Old 11-04-2005, 07:04 AM   #6
saudoi
Member
 
Registered: Aug 2004
Location: VietNam
Distribution: Sun Solaris 10
Posts: 117

Original Poster
Rep: Reputation: 15
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.
 
Old 11-04-2005, 09:08 PM   #7
saudoi
Member
 
Registered: Aug 2004
Location: VietNam
Distribution: Sun Solaris 10
Posts: 117

Original Poster
Rep: Reputation: 15
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?

Last edited by saudoi; 11-04-2005 at 09:39 PM.
 
Old 11-04-2005, 10:34 PM   #8
saudoi
Member
 
Registered: Aug 2004
Location: VietNam
Distribution: Sun Solaris 10
Posts: 117

Original Poster
Rep: Reputation: 15
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 ?
 
Old 11-05-2005, 04:29 AM   #9
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
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" ?
 
Old 11-05-2005, 09:30 AM   #10
saudoi
Member
 
Registered: Aug 2004
Location: VietNam
Distribution: Sun Solaris 10
Posts: 117

Original Poster
Rep: Reputation: 15
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.

Last edited by saudoi; 11-05-2005 at 09:32 AM.
 
Old 11-05-2005, 09:36 AM   #11
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
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.
 
Old 11-05-2005, 12:32 PM   #12
saudoi
Member
 
Registered: Aug 2004
Location: VietNam
Distribution: Sun Solaris 10
Posts: 117

Original Poster
Rep: Reputation: 15
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

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

Last edited by saudoi; 11-05-2005 at 12:34 PM.
 
Old 11-05-2005, 02:01 PM   #13
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
I'm confused by your answers.

Again, about dmfe1, what says "ifconfig -a" an "netstat -rn" ?
 
Old 11-05-2005, 06:53 PM   #14
saudoi
Member
 
Registered: Aug 2004
Location: VietNam
Distribution: Sun Solaris 10
Posts: 117

Original Poster
Rep: Reputation: 15
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 )
 
Old 11-06-2005, 01:54 AM   #15
AgentX
Member
 
Registered: Sep 2005
Posts: 43

Rep: Reputation: 15
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?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SunFire V20Z and Solaris 9 zillah Solaris / OpenSolaris 4 11-29-2005 04:26 AM
Linux X-Server for SunFire Laoch Linux - Networking 1 09-06-2005 02:18 AM
Installing Redhat On Sun Sparc v100 petestar Solaris / OpenSolaris 1 01-13-2003 06:54 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 11:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration