Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NIC working or not

Status
Not open for further replies.

sureshp

Programmer
Aug 28, 2000
79
Hi,
One of Sun Ultra is not connecting to the network.
The green light is not glowing at both the ends(hub and NIC point). While rebooting the machine it gives" No cable found or hub link disconnected" message is coming.
But if I give "ifconfig -a" command it shows the interface name(hme0) and IP address correctly.
Any idea to connect that machine to the network.

Suresh.
 
My first guess would be that your cable is wierd. Try another if you haven´t tried that yet. The cable might be crossed (the ones you use between two workstations). If so, the light won´t lit for anything even if the cable is newly bought.
I suppose you can´t ping anything on the network?
Can you ping localhost?
If yes, then your NIC is working correctly.
Look if you have the correct IP in /etc/defaultrouter (netstat -r)
Make sure you have a process called init running (ps -ef | grep init)
Look for missconfiguration in
/etc/rcS.d - S30rootusr.sh
/etc/rc2.d - S69inet Nostradamus
 
It seems to be a problem with sun interface parameters (Link speed, Link type, etc),check with "ndd", if both interfaces and have same speed and same duplex mode...if is okay try disable auto_configuration for sun interface and force 100/half-duplex or 10/half-duplex, you can then make final modifications on /etc/system file like:
set hme:hme_adv_autoneg_cap=0
set hme:hme_adv_100T4_cap=0
set hme:hme_adv_100fdx_cap=1
set hme:hme_adv_100hdx_cap=0
set hme:hme_adv_10fdx_cap=0
set hme:hme_adv_10hdx_cap=0

like thread-60-51627....
Regards
CA,
 
Hi CA,
I have solved the problem blindly by refering the thread
"thread-60-51627". I included the parameters in /etc/system. But I don't know the use of ndd command.
Thanks a lot.

Suresh.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top