Beranda | Obengkumana.Net
facebook twitter gplus
Breaking News
Loading...
Minggu, 30 Desember 2012

3g-info

Masukkan paket2 berikut ke foder /tmp pakai winscp ,
- 3ginfo
- ussd
lalu masuk ke Putty , lakukan command berikut :
opkg install /tmp/*.ipk
opkg update
opkg install gnokii lighttpd perl php5 php5-cgi unzip

Buka Winscp , edit file /etc/config/3ginfo menjadi seperti dibawah ini


config '3ginfo'
option 'device' '/dev/ttyUSB2'
option 'pincode' ''
option 'http_port' '81'
option 'qos' '1'

utuk cara install lighttpd n php, klik tags yg berada di samping atau seacrh yg berda dipojok atas
config lighttpd sbb:
server.modules = (
"mod_cgi"
)
server.network-backend = "write"
server.document-root = "/usr/share/3ginfo/"
index-file.names = ( "index.html", "default.html", "index.htm", "default.htm" )
mimetype.assign = (
".pdf" => "application/pdf",
".class" => "application/octet-stream",
".pac" => "application/x-ns-proxy-autoconfig",
".swf" => "application/x-shockwave-flash",
".wav" => "audio/x-wav",
".gif" => "image/gif",
".jpg" => "image/jpeg",
".jpeg" => "image/jpeg",
".png" => "image/png",
".svg" => "image/svg+xml",
".css" => "text/css",
".html" => "text/html",
".htm" => "text/html",
".js" => "text/javascript",
".txt" => "text/plain",
".dtd" => "text/xml",
".xml" => "text/xml"
)
$HTTP["url"] =~ "\.pdf$" {
server.range-requests = "disable"
}
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
server.port = 85
server.pid-file = "/var/run/lighttpd.pid"
server.upload-dirs = ( "/tmp" )
cgi.assign = ( ".sh" => "/usr/bin/perl", ".cgi" => "/usr/bin/perl" )

selanjutnya download file berikut
3g-info-new.zip
taruh di folder /tmp

masuk ke Putty , berikan perintah berikut :
cd / && unzip -o /tmp/3g-info-new.zip && /etc/init.d/lighttpd restart

akses ke http://192.168.1.1:85

Done......

1 komentar:

  1. kalo bisa di kasih screen shoot bos, kok hasil akhir tidak ada.. seperti ussd nya caranya gmana

    BalasHapus

 
Toggle Footer