SUMMARY Could not set Link-Speed and Mode

From: FREEHOME SunManager <sunmanagers_at_freehome.ch>
Date: Wed Jul 07 2004 - 19:15:05 EDT
Hi Sunmanagers

It seems there is something a little bit funny but some people have given me
following notes:

To put this in /etc/system solves the problem but I had to do a
reboot...mmmhh not nice but it solved the problem:

set hme:hme_adv_autoneg_cap=0
set hme:hme_adv_100T4_cap=0
set hme:hme_adv_100hdx_cap=0
set hme:hme_adv_10fdx_cap=0
set hme:hme_adv_10hdx_cap=1
set hme:hme_adv_100fdx_cap=0

Other people mentioned the the order of commands on the command line are
importante and I know that and I tried also this varia because I would not
do the reboot but I could not solve the problem:

# ndd -set /dev/hme instance 0
# ndd -set /dev/hme adv_autoneg_cap 0
# ndd -set /dev/hme adv_100fdx_cap 0
# ndd -set /dev/hme adv_100hdx_cap 0
# ndd -set /dev/hme adv_10fdx_cap 0
# ndd -set /dev/hme adv_10hdx_cap 1

Anyway I decided to reboot the server and the problem is solved....thanks to
anybody who answered me. Thanks a lot and have a nice day :-)

Andrea




Now the problem I have is on my opinion quit funny otherwise I did not
understand something correct it means:

SUN Server > Ultra 1 with hme0 Interface and a Quad-Fast Etherne
Packetshaper 1550 Outbound/Inbound Interface 10/100 Half/Full-Duplex)
Router Cisco 1600 Outbound/Inbound Interface (10Mibt Half-Duplex)

The Ultra 1 is my FireWall and in front of the FireWall there is a
Packetshaper and after the Router it means:

                                     +-----------+
                                     |           |
                                     |  Router   |
                                     |           |
                                     +-----------+
                                           |
                                           |Gateway
                                           |
                                           |
                                           |Outbound
                                           |
                                     +-----------+
                                     |           |
                                     | Packeteer |
                                     |           |
                                     +-----------+ 
                                           |
                                           |Inbound
                                           |
                                           |
                                           |Outbound
                                           |
                                     +-----------+ 
                                     |           |
                                     | FireWall  |
                                     |           | 
                                     +-----------+
                                           |     
                                           |
                                           |
                                          LAN

So far so good....! Because it is recommended to set Inbound Interface and
Outbound Interface on the Packetshaper to the lowest speed and mode and
because the Cisco Router gives the value I tried to configure the Ultra 1
hme0 Interface to 10Mibt Half-Duplex. On the Command line I used first:

ndd -set /dev/hme instance 0
ndd -get /dev/hme link_speed
1
ndd -get /dev/hme link_mode
0

It means hme instance 0 = hme0 is set to 100Mbit (=1) Full-Duplex (=0). To
get the neccessary options with the ndd command I used:

ndd /dev/hme \?

Now I have the options and I configured:

ndd -set /dev/hme instance 0
ndd -set /dev/hme adv_10hdx_cap 1
ndd -set /dev/hme adv_autoneg_cap 0

It means set to 10Mibt Half-Duplex (=1) and Autonegotiation to 0 = False
After that I controlled the interface again:

ndd -set /dev/hme instance 0
ndd -get /dev/hme link_speed
1
ndd -get /dev/hme link_mode
0

You see it was NOT set and also in the log there is the message:

Jul  8 00:07:44 hme: [ID 786680 kern.notice] SUNW,hme0 : No response fr
om Ethernet network : Link down -- cable problem?
Jul  8 00:07:45 hme: [ID 786680 kern.notice] SUNW,hme0 : Internal Trans
ceiver Selected.
Jul  8 00:07:45 hme: [ID 786680 kern.notice] SUNW,hme0 :   100 Mbps Hal
f-Duplex Link Up


The other Interfaces on the Quad Fast Ethernet Card are configured as
following:

ndd -set /dev/qfe instance 0
ndd -get /dev/qfe link_speed
1
ndd -get /dev/qfe link_mode 
1



It means 100Mbit Full-Duplex. I tried also to reconfigure the qfe interfaces
but it was not successful same symptome. What did I false?

Andrea
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Wed Jul 7 19:11:15 2004

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:34 EST