Re: How do I edit kernel/drv/hme.conf
- From: Dave <foo@xxxxxxx>
- Date: Mon, 13 Apr 2009 23:38:11 +0100
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.
.
- Follow-Ups:
- Re: How do I edit kernel/drv/hme.conf
- From: Thomas Schulz
- Re: How do I edit kernel/drv/hme.conf
- From: ITguy
- Re: How do I edit kernel/drv/hme.conf
- References:
- How do I edit kernel/drv/hme.conf
- From: Dave
- Re: How do I edit kernel/drv/hme.conf
- From: solx
- How do I edit kernel/drv/hme.conf
- Prev by Date: Re: a way to test whether a patch will be applied?
- Next by Date: Re: How do I edit kernel/drv/hme.conf
- Previous by thread: Re: How do I edit kernel/drv/hme.conf
- Next by thread: Re: How do I edit kernel/drv/hme.conf
- Index(es):