Re: How do I edit kernel/drv/hme.conf



solx wrote:

Hence I'm not sure how to edit the file.


As root, it should remain after a reboot as this can change the ip_forwarding.

# ndd -set /dev/hme0 adv_autoneg_cap = 0
# ndd -set /dev/hme0 adv_100fdx_cap = 1
# ndd -set /dev/hme0 adv_10fdx_cap = 0
# ndd -set /dev/hme0 adv_10hdx_cap = 0

Hope that helps

But the ndd commands don't survive a reboot. I think it needs to go into /kernel/drv/hme.conf or create a startup script to do it.

I believe the file I have is working ok.

# cat /kernel/drv/hme.conf
adv_autoneg_cap = 0 adv_100fdx_cap = 1 adv_100hdx_cap = 0 adv_10fdx_cap = 0
adv_10hdx_cap = 0;

I just wish I could understand why, as the syntax seems a bit 'strange'. The first line does not end in a semi-colon, the second line does.

With my router forced to 100 Mbit/s full duplex, the Sun will auto-negotiate at 100 Mbit/s half-duplex, as Casper *** said it would.

But with the above file, it does work at 100 Mbit/s full duplex.

# prtconf -v

still shows nothing about hme though!


--
I respectfully request that this message is not archived by companies as
unscrupulous as 'Experts Exchange' . In case you are unaware,
'Experts Exchange' take questions posted on the web and try to find
idiots stupid enough to pay for the answers, which were posted freely
by others. They are leeches.
.