sshd fails to be run

Hi, there.

First off, I'm gonna inform you of my PC.

I purchased SC420 by DELL and installed Solaris 10 onto it. Then I downloaded and installed the driver from the website of Broadcom onto Solaris10 by the burnt CD-R because it didn't recognize the NIC. After that, Solaris10 recognized and sshd has been run until this issue was detected.

This issue hasn't been solved since the circuit breaker in my house tripped.

I'm gonna show you the logs as follow:

P.S. Everytime I reboot this PC, I type like this,

1)ifconfig bcme0 down

2)ifconfig bcme0 192.168.0.101 netmask 255.255.255.0 broadcast255.255.255.255

3)ifconfig bcme0 up

4)route add default 192.168.0.1

--

$svcs -xv ssh

svc:/network/ssh:default (SSH server)

State: offline since Wed Jan 18 22:58:53 2006

Reason: Service svc:/network/physical:default

is not running because a method failed.

See: <a href="http://sun.com/msg/SMF-8000-GE" target="_blank">http://sun.com/msg/SMF-8000-GE</a>

Path: svc:/network/ssh:default

svc:/network/physical:default

See: man -M /usr/share/man -s 1M sshd

Impact: This service is not running.

--

$svcs -l ssh

fmri svc:/network/ssh:default

name SSH server

enabledtrue

stateoffline

next_statenone

state_timeWed Jan 18 22:58:53 2006

restartersvc:/system/svc/restarter:default

dependencyrequire_all/none svc:/system/filesystem/local (online)

dependencyoptional_all/none svc:/system/filesystem/autofs (online)

dependencyrequire_all/none svc:/network/loopback (online)

dependencyrequire_all/none svc:/network/physical (maintenance)

dependencyrequire_all/none svc:/system/cryptosvc (online)

dependencyrequire_all/none svc:/system/utmp (online)

dependencyrequire_all/restart <a href="file://localhost/etc/ssh/sshd_config" target="_blank">file://localhost/etc/ssh/sshd_config</a> (online)

--

$cat /etc/svc/volatile/network-physical:default.log

[ start + 1.28s Enabled. ]

[ start + 3.27s Executing start method ("/lib/svc/method/net-physical") ]

couldn't set locale correctly

[ start + 3.28s Timeout override by svc.startd. Using

infinite timeout ]

couldn't set locale correctly

configuring IPv4 interfaces:ifconfig: setifflags: SIOCSLIFFLAGS: bcme0: Cannot assign requested address

bcme0.

ifconfig: setifflags: SIOCSLIFFLAGS: bcme0: Cannot assign requested address

add net default: gateway 192.168.0.1: Network is unreachable

ult.logl10$cat /etc/svc/volatile/network-physical:defa

[ start + 1.28s Enabled. ]

[ start + 3.27s Executing start method ("/lib/svc/method/net-physcal") ]

couldn't set locale correctly

[ start + 3.28s Timeout override by svc.startd. Using infinite tmeout ]

couldn't set locale correctly

configuring IPv4 interfaces:ifconfig: setifflags: SIOCSLIFFLAGS: cme0: Cannot assign requested address

bcme0.

ifconfig: setifflags: SIOCSLIFFLAGS: bcme0: Cannot assign requestd address

add net default: gateway 192.168.0.1: Network is unreachable

--

Your help would be greatly appreciated.

Regards,

jiujingche

[3929 byte] By [jiujingche] at [2007-11-25 22:43:20]
# 1

svc:/network/physical is not started because you have been configuring your nic manually. since physical is a major dependency, i suspect a few other things won't start up.

1) put ip & hostname in /etc/hosts

2) put hostname in /etc/hostname.bcme0

3) put router ip in /etc/defaultrouter

ssh should work now after a reboot

n0b0dy at 2007-7-5 16:55:15 > top of Java-index,General,Network Configurations...
# 2

N0b0dy, thanks for your comment.

But I'm afraid I've already done things you told me to do.

Actually, I made it!

I missed the log, "ip_arp_done : init failed" when I rebooted the PC.

And I googled it and found out that I had only to change the hostname in /etc/hostname.bcme0 into the PC's ip address.

I did the same thing as you mentioned in 2).

But it was just the cause of this issue.

Anyway, thanks for your kindness.

Regards,

jiujingche

jiujingche at 2007-7-5 16:55:15 > top of Java-index,General,Network Configurations...