[Fon] Fon Plus 自定設定

[前置動作] 要能夠登入 Fon Plus 192.168.10.1 port 22 重要網址 http://eric.levine.free.fr/foneraplus/Packages/   [部份設定修改] 令 Fo...

[前置動作]

  1. 要能夠登入 Fon Plus
  2. 192.168.10.1 port 22
  3. 重要網址
    http://eric.levine.free.fr/foneraplus/Packages/

 

[部份設定修改]

  1. 令 Fon Plus 為註冊狀態
    echo 1 > /etc/config/registered
  2. 設定分享頻寬
    上傳 1MB, 下載 10MB
    uci set qos.wan.upload=1024
    uci set qos.wan.download=10240
    uci commit

 

[昇級 Busybox]

暫停部份服務,為了解決 ipkg: fork failed: Cannot allocate memory

昇級取得 vi 功能

killall: dnsmasq,chilli,fonstate,httpd,fonsmcd,crond,hotplug2,logger,syslogd,klogd,watch_chilli, hostapd

 

安裝 kmod-*-fonera-1_mips.ipk 只能由下面網址所提供之套件來安裝

http://eric.levine.free.fr/foneraplus/Packages/

 

  1. cd /tmp
  2. wgeg http://downloads.openwrt.org/kamikaze/7.06/atheros-2.6/packages/busybox_1.4.2-1_mips.ipk
  3. ipkg install busybox_1.4.2-1_mips.ipk
  4. Done-完工

 

[設定自動更新]

 

  1. . /tmp/.thinclient.sh
  2. cp /tmp/.thinclient.sh /tmp/thinclient-$(date '+%Y%m%d-%H%M')

 

確認

thinclient dummy



 


[在網頁管理加上指令功能]


vi /www/cgi-bin/webif/diag.sh (建一個新檔)


 


 #!/usr/bin/webif-page
<?
###
#
# FreeWLAN Addons - http://www.freewlan.info
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
# MA 02110-1301, USA
#
# http://www.gnu.org/copyleft/gpl.html
#
###
. /usr/lib/webif/webif.sh
validate <<EOF
string|FORM_submit|@TR<<Submit>>|max=10|$FORM_submit
EOF
if [ "$?" != "0" ]
then
FORM_submit=""
fi
sel_diag=1
. /usr/lib/webif/advanced.sh
header "Diagnostics"
echo "<textarea style='width:700px; height:400px'>"
eval $FORM_cmd
echo "</textarea>"
display_form <<EOF
start_table|0|10|5
add_row
add_label_cell|@TR<<Command>>:
add_input_cell|cmd||tableTextButton
add_button_cell|submit|@TR<<Submit>>
end_row
end_table
EOF
footer ?>



 



vi /usr/lib/webif/advanced.sh (加在最後)



 <tr>
<td class=\"advancedMenu\">
<span class=\"submenu${sel_diag:+_sel}\">
<a href=\"/cgi-bin/webif/diag.sh\">@TR<<Diag_Title|Diagnostics>></a>
</span>
</td>
</tr>



 



http://www.fonboard.nl/wiki/Unlock_la_fonera_plus#Windows_howto

名稱

2330,1,27.5G,1,快速分享,1,李宗瑞,1,抽獎,1,省思,10,研討會,6,風水,2,旅遊,4,書摘,4,健康,3,教學,13,就要醬玩,1,無痛,1,愛美,4,愛情,11,網路資源,43,懶人包,1,Adobe,7,Apollo,5,CHANEL,1,Cisco,3,Coldfusion,13,Colud Storage,1,DD-WRT,8,Dropbox,2,Dropbox 18G,1,Flash,2,Flex,44,Fon,11,Game,1,Kuso,15,Linux,88,Microsoft,13,Movie,7,Nas Server,79,Other,25,Revolution,2,SQL,4,Tip,44,Web,13,
ltr
item
fjufirefox: [Fon] Fon Plus 自定設定
[Fon] Fon Plus 自定設定
fjufirefox
https://fjufirefox.blogspot.com/2008/01/fon-fon-plus.html
https://fjufirefox.blogspot.com/
https://fjufirefox.blogspot.com/
https://fjufirefox.blogspot.com/2008/01/fon-fon-plus.html
true
37845053
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share. STEP 2: Click the link you shared to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy