Today I finished cross-compiling wvdial package. After I cross-compiling it, I found that it has some problem to load the wvdial.conf. And I also know that passing arguments to the wvdial is still working. Finally, I decide to modify the wvdial program to load the wvdial.conf by my own. I load the config file with iniParser and pass it to the cfg object. Now it works perfectly !!
wvdial -- a utility that helps in making modem-based connections to the Internet
wvdial site
wvdial wiki
iniParser home
wvdial introduction
2010年1月16日
訂閱:
張貼留言 (Atom)
coap-client 4.3.0 Windows build
coap-client is a wget -like tool to generate simple requests for retrieval and modification of resources on a remote server. Got the sour...
-
寫bash script時候, 用grep或awk取出來的值, 裡面還包含了一些non-printable的字; 作字串比對時, 就會一直出錯. 這時可以用 tr 這個指令移除看不到的字(如換行符號): # echo $VAR_WITH_NON_PRINT | tr -d ...
-
為了要測試重開機幾次會失敗, 寫了一個script來記算. 因為busybox的shell只提供了有限的功能, 不能像bash一樣宣告整數變數, 所以count的處理算比較麻煩. #!/bin/sh FILE = /etc/count timeout = 2 if ...
-
選擇用tinc的原因是因為官網的這句話. Automatic full mesh routing Regardless of how you set up the tinc daemons to connect to each other, VPN traffic i...
沒有留言:
張貼留言