![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Network Solaris | mass1123 | SUN Solaris | 2 | 05-31-2006 09:47 PM |
| Getting solaris on my network | xtremepancakez | SUN Solaris | 1 | 04-30-2006 07:53 PM |
| Getting a solaris x86 box on my network. | possuman72 | SUN Solaris | 1 | 07-17-2005 12:28 PM |
| putting a solaris box on my network | possuman72 | SUN Solaris | 15 | 06-24-2005 07:05 PM |
| About Sun Solaris Network | q30 | UNIX for Advanced & Expert Users | 2 | 12-02-2002 05:57 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
network on solaris
Withouth being physically at the server, is there a way to tell if the network cable is unplugged?
|
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
It might matter on the version of the OS, but the ndd command should work.
This line sets the device to look at to hme0 # ndd set /dev/hme instance 0 This line gets the status of the line. If it returns 0 it is down - if it returns 1 it is up. # ndd get /dev/hme link_status Also, if there is no cable plugged in, your system should be pushing a bunch of Link Down - cable problem? messages out to either console or /var/adm/messages. Last edited by RTM; 07-29-2004 at 08:02 AM. |
|
#3
|
|||
|
|||
|
well not sure which device to use here is ifconfig -a
ifconfig -a lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 qfe0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2 inet xxx.xxx.xxx.xxx netmask fffffe00 broadcast xxx.xxx.xxx.xxx ether x:x:xx:xx:xx:xx when i run ndd set /dev/qfe instance 0 couldn't push module 'set', No such device or address |
|
#4
|
||||
|
||||
|
You have to be root - that messags shows up if you are not root.
|
|
#5
|
|||
|
|||
|
this worked
ndd -get /dev/qfe link_status 0 zero means down, does this mean my network cable is unplugged or can i start the qfe card? |
|
#6
|
||||
|
||||
|
qfe0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4>
From what you put before, your qfe0 is up. There isn't much more you could do on the server. If you aren't getting the error messages I posted earlier, then you probably have a cable plugged in. It may be a bad port on the other side. |
|
#7
|
|||
|
|||
|
thanks buddy, i having operations check the link light, thanks!
|
|||
| Google The UNIX and Linux Forums |