|
我按这个帖子作了,但是没成功!http://blog.csai.cn/user1/15841/archives/2007/18014.html
--------------------------
我剛在 WM5 的 emulator 上試出來了
事實上 WM5 沒有 include PPPoE module
但其實 aku 裡頭都有 so 我們就自己加回去吧
but 有點麻煩
因為沒有適當的 ui
1)
加 registry
[HKEY_LOCAL_MACHINE\Comm\PPPOE]
"DisplayName"="Microsoft PPPoE driver"
"Group"="NDIS"
"ImagePath"="pppoe.dll"
[HKEY_LOCAL_MACHINE\Comm\PPPOE\Linkage]
"Route"=multi_sz:"PPPOE1"
[HKEY_LOCAL_MACHINE\Comm\PPPOE1]
"DisplayName"="Microsoft PPPoE driver"
"Group"="NDIS"
[HKEY_LOCAL_MACHINE\Comm\PPPOE1\Parms]
"BusNumber"=dword:0
"BusType"=dword:0
"DisablePowerManagement"=dword:1
"MaxLines"=dword:3 ; <-- default 1 (Line0, Line1, Line2)
"MaxSendPackets"=dword:30 ; <-- default is also 30.
"Line3"=multi_sz:""
其中device name 是你的網卡名子 比如說 ne20001 為何會多一個 1 那是 instance name
假如有兩張就變成 ne20001 and ne20002
至於你的網卡叫啥名子
請到 HKLM\Comm\ 下找找
2)
download 已下 archive 然後全部解到 device 的 windows 去
這些 file 都是可以用 PB 5.0 build 出來
所以沒有 PPC AKU 的人理論上還是可以弄出這些 file
也就是每個人都 build 的出來
附加壓縮檔: pppoe.zip
3) 新增 PPPoE connection
connmc.exe 是 UI based 的 connection manager
幾乎啥都可以新增 設定 可是 user name and password 確不能
而 Magneto 的 rnaapp.exe 好像是被改過了 不會叫你填 user/passwd
所以這個 UI 有點像廢物了 除非你的 ISP 不需要 authentication
rasentry.exe 這玩意比較有用
可是是 command line base
然後是從 text file 輸入
ZIP file 裡有個 sample 叫 pppoe.txt
內容如下
Name=PPPoE
UseCountryAndAreaCodes=N
SpecificIpAddr=N
SpecificNameServers=N
DeviceType=PPPoE
DeviceName=PPPoE Line 0
IpHeaderCompression=N
SwCompression=N
UserName=myusername
Password=mypassword
其中 UserName and Password 改一改就可以連 (至少 hinet ok)
用法是
rasentry
e. g.
rasentry \windows\pppoe.txt
這樣就建好 connection
只要建一次 就可以
4) dialup
你可以用
i)
command line
rnaapp -e
for example
rnaapp -ePPPoE
這個 entry name 就是 pppoe.txt 裡頭的 Name
假如有 space 要 quoted
就像 rnaapp -e"abc def"
ii) 再把 connmc 打開 然後就會看到 一個 PPPoE connectio 就 double click 就會撥號
其實骨子裡還是去 invoke rnaapp.exe
QQ上弄来的,不知道出处了 |
|