本帖最後由 Offer 於 2012-4-8 09:25 編輯
我用緊offer兄既面版
又用在hksteven兄團購既nas ht400
張network adapter應該大過9
個download speed func ...
andylo 發表於 2012-4-5 22:50 
http://forums.lcdsmartie.org/viewtopic.php?f=5&t=1934
It happens sometimes in Windows Vista or 7 that Smartie's network statistics doesn't see the physical adapter between the first 9, and selecting any other figure higher than 9 results in a range check error. I know some have encountered this problem, so did I, and I finally found a possible solution...
If you open Device manager and you check to show hidden devices, you'll see that there are a number of WAN Miniport adapters, besides the physical ones. Usually these adapters are listed first by Smartie, therefore you can't get values from the real adapter... What I did is I uninstalled all these adapters (don't exactly know their role, but after uninstalling them, I did detailed net tests, all went fine) to get the real one in the 1-9 range. The steps were:
1. open a command prompt as administrator
2. type" netcfg -s a "to display all installed adapters
3. find all wan miniport adapters (like WAN Miniport (PPOE), WAN Miniport (PPTP) etc.) and find each one's shorter name (identifier?) in the first row. Eg, for WAN Miniport (PPOE) its ms_pppoeminiport etc.
4 run these commands:
netcfg -e -u ms_sstpminiport
netcfg -e -u ms_pppoeminiport
netcfg -e -u ms_l2tpminiport
netcfg -e -u ms_pptpminiport
netcfg -e -u ms_ndiswanipv6
(alternatively, you could uninstall other adapters like teredo tunneling, ofcourse if you don't need such things)
By uninstalling those, I managed to get the real adapter within range, and could get statistics. I know I could have used perfmon, but I haven't found a counter to return total downloaded/uploaded. I hope it will be usefull for someone, I apologize for bad English (not my native language). |