network on solaris


 
Thread Tools Search this Thread
Operating Systems Solaris network on solaris
# 1  
Old 07-29-2004
network on solaris

Withouth being physically at the server, is there a way to tell if the network cable is unplugged?
# 2  
Old 07-29-2004
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 12:02 PM..
# 3  
Old 07-29-2004
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  
Old 07-29-2004
You have to be root - that messags shows up if you are not root.
# 5  
Old 07-29-2004
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  
Old 07-29-2004
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  
Old 07-29-2004
thanks buddy, i having operations check the link light, thanks!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Network Interface -- Solaris

Dear All, I have a solaris Server in which I have 4 network interfaces , out of which only one is used . So all the applications are using this interface . The interface speed is 1000Mbps . I find no hardware issue or packets g being dropped. But i find that no of Input and Output... (4 Replies)
Discussion started by: jegaraman
4 Replies

2. Solaris

Install Solaris 10 through network

Hi all, I got a Fujitsu P650 server running on Solaris 9 and we are going to re-install Solaris 10 . W have a build server in a different IP segment. So we setup a boot server and /etc/ethers and /etc/bootparams are all updated. When I issue boot net -install, I'm getting the following... (3 Replies)
Discussion started by: mohzub
3 Replies

3. Solaris

Solaris 10.8 installation over network

Hi, I'm very new to Solaris world and istarted my learnign with a Blade T6320 Server. I was trying to install Solaris 10.8 from a DVD image over the network. But from the client(the machine which i want to install Solaris) when i tried boot net , i am getting a message like " cannto find... (5 Replies)
Discussion started by: jerinvjose
5 Replies

4. Solaris

Network on solaris

Hi, i have installed solaris on virtual box in my desktop, i wanted to know how to make it network enabled(nated network). Nated network means it will use same IP as of my windows right? so is it possible that using the same IP i can enable the network on this virtual box. Thanks in advance. (3 Replies)
Discussion started by: amult
3 Replies

5. Solaris

solaris 8 network

hi all, how do i change the routing info and make sure i will be able to connect remotely? any ideas please? thanks in advance. (5 Replies)
Discussion started by: itik
5 Replies

6. Solaris

Getting Solaris machine into Network

I have installed solaris x86 on a standalone PC. Now I have connected a LAN cable to it. What do I do next for further configuration or to access internet from that solaris machine? (16 Replies)
Discussion started by: panchpan
16 Replies

7. Solaris

Network Solaris

Hi gurus, I need book to learn about network in Solaris 9 Thanks (2 Replies)
Discussion started by: mass1123
2 Replies

8. Solaris

Getting solaris on my network

I have a solaris x86 box that ive been having trouble getting on my network, anyone know a good guide that can take me through it step by step? (1 Reply)
Discussion started by: xtremepancakez
1 Replies

9. Solaris

Solaris Network question

I have a machine that has developed a strange network problem. Anytime it sends an FTP file somewherwe, no problem. When it is the target machine, extremely slow. I checked the /var/adm/messages file and found a few of these: SUNW,hme0 : No response from Ethernet network : Link down -- cable... (2 Replies)
Discussion started by: hshapiro
2 Replies

10. UNIX for Advanced & Expert Users

About Sun Solaris Network

The infomation: Sun Ultra10 (SPARC),OS Solaris 8 I finished installed Solaris8 on my workstation, i want configure the net. When i run ,'ifconfig -a ' ,i did't find my familiar 'hme0,hme1' network interface,my interface is good and the reticle is connected correctly. Pls help me, tell me how... (2 Replies)
Discussion started by: q30
2 Replies
Login or Register to Ask a Question