Cezary mam jeszcze takie pytanie, chciałbym odpalić wizualizację statusu połączenia 3G (komórkowego) przez stronę www, tak jak tu http://eko.one.pl/?p=openwrt-3ginfo#inf … gnostyczne, projekt 3ginfo zainstalowałem w ruterze ale coś nie widzę tej wizualizacji jak wpiszę adres rutera na www, czyli http://192.168.2.1:81 czy możesz coś podpowiedzieć?
uci show 3ginfo
3ginfo.@3ginfo[0]=3ginfo
3ginfo.@3ginfo[0].http_port=81
3ginfo.@3ginfo[0].qos=0
3ginfo.@3ginfo[0].language=pl
3ginfo.@3ginfo[0].device=/dev/ttyUSB0
3ginfo-test
+CSQ: 21,99
^SYSINFOEX:2,3,0,1,,6,"LTE",101,"LTE"
^SYSINFO:2,3,0,5,1,,4
+COPS: 0,2,"26001",7
+CREG: 2,1,"7149","004E9803"
+CGREG: 2,1,"7149","004E9803"
+CGEQNEG: 1,2,64000,128000,0,0,0,1500,"1E3","1E5",0,100,2
DEVICE:huawei E3276
---------------------------------------------------------------
/dev/tty /dev/ttyS10 /dev/ttyS13 /dev/ttyS2 /dev/ttyS5 /dev/ttyS8
/dev/ttyS0 /dev/ttyS11 /dev/ttyS14 /dev/ttyS3 /dev/ttyS6 /dev/ttyS9
/dev/ttyS1 /dev/ttyS12 /dev/ttyS15 /dev/ttyS4 /dev/ttyS7 /dev/ttyUSB0
---------------------------------------------------------------
T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 3.03
S: Manufacturer=Linux 3.3.8 ehci_hcd
S: Product=Generic Platform EHCI Controller
S: SerialNumber=ehci-platform.1
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 1, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 3.03
S: Manufacturer=Linux 3.3.8 ehci_hcd
S: Product=Generic Platform EHCI Controller
S: SerialNumber=ehci-platform.0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 4 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=12d1 ProdID=1506 Rev= 1.02
S: Manufacturer=HUAWEI Technology
S: Product=HUAWEI Mobile
C:* #Ifs= 4 Cfg#= 1 Atr=80 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=02 Prot=12 Driver=option
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I: If#= 1 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=02 Prot=16 Driver=cdc_ncm
E: Ad=82(I) Atr=03(Int.) MxPS= 64 Ivl=2ms
I:* If#= 1 Alt= 1 #EPs= 3 Cls=ff(vend.) Sub=02 Prot=16 Driver=cdc_ncm
E: Ad=82(I) Atr=03(Int.) MxPS= 64 Ivl=2ms
E: Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 3 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
---------------------------------------------------------------
3ginfo.@3ginfo[0]=3ginfo
3ginfo.@3ginfo[0].http_port=81
3ginfo.@3ginfo[0].qos=0
3ginfo.@3ginfo[0].language=pl
3ginfo.@3ginfo[0].device=/dev/ttyUSB0
root@Gargoyle:~# /etc/config/3ginfo
-ash: /etc/config/3ginfo: Permission denied
root@Gargoyle:~# uci show 3ginfo
3ginfo.@3ginfo[0]=3ginfo
3ginfo.@3ginfo[0].http_port=81
3ginfo.@3ginfo[0].qos=0
3ginfo.@3ginfo[0].language=pl
3ginfo.@3ginfo[0].device=/dev/ttyUSB0
root@Gargoyle:~# uci set 3ginfo.@3ginfo[0].device=/dev/ttyUSB1
root@Gargoyle:~# uci commit 3ginfo
root@Gargoyle:~# uci show 3ginfo
3ginfo.@3ginfo[0]=3ginfo
3ginfo.@3ginfo[0].http_port=81
3ginfo.@3ginfo[0].qos=0
3ginfo.@3ginfo[0].language=pl
3ginfo.@3ginfo[0].device=/dev/ttyUSB1
root@Gargoyle:~# /etc/config/3ginfo
-ash: /etc/config/3ginfo: Permission denied
root@Gargoyle:~#
root@Gargoyle:~# uci set 3ginfo.@3ginfo[0].device=/dev/ttyUSB2
root@Gargoyle:~# uci commit 3ginfo
root@Gargoyle:~# uci show 3ginfo
3ginfo.@3ginfo[0]=3ginfo
3ginfo.@3ginfo[0].http_port=81
3ginfo.@3ginfo[0].qos=0
3ginfo.@3ginfo[0].language=pl
3ginfo.@3ginfo[0].device=/dev/ttyUSB2
root@Gargoyle:~# 3ginfo-test
Brak urzadzenia /dev/ttyUSB2!
root@Gargoyle:~# uci set 3ginfo.@3ginfo[0].device=/dev/ttyUSB1
root@Gargoyle:~# uci commit 3ginfo
root@Gargoyle:~# uci show 3ginfo
3ginfo.@3ginfo[0]=3ginfo
3ginfo.@3ginfo[0].http_port=81
3ginfo.@3ginfo[0].qos=0
3ginfo.@3ginfo[0].language=pl
3ginfo.@3ginfo[0].device=/dev/ttyUSB1
root@Gargoyle:~# 3ginfo-test
Brak urzadzenia /dev/ttyUSB1!
root@Gargoyle:~# uci set 3ginfo.@3ginfo[0].device=/dev/ttyUSB0
root@Gargoyle:~# uci commit 3ginfo
root@Gargoyle:~# uci show 3ginfo
3ginfo.@3ginfo[0]=3ginfo
3ginfo.@3ginfo[0].http_port=81
3ginfo.@3ginfo[0].qos=0
3ginfo.@3ginfo[0].language=pl
3ginfo.@3ginfo[0].device=/dev/ttyUSB0
root@Gargoyle:~#
root@Gargoyle:~# 3ginfo-test
+CSQ: 22,99
^SYSINFOEX:2,3,0,1,,6,"LTE",101,"LTE"
^SYSINFO:2,3,0,5,1,,4
+COPS: 0,2,"26001",7
+CREG: 2,1,"7149","004E9803"
+CGREG: 2,1,"7149","004E9803"
+CGEQNEG: 1,2,64000,128000,0,0,0,1500,"1E3","1E5",0,100,2
DEVICE:huawei E3276
---------------------------------------------------------------
/dev/tty /dev/ttyS10 /dev/ttyS13 /dev/ttyS2 /dev/ttyS5 /dev/ttyS8
/dev/ttyS0 /dev/ttyS11 /dev/ttyS14 /dev/ttyS3 /dev/ttyS6 /dev/ttyS9
/dev/ttyS1 /dev/ttyS12 /dev/ttyS15 /dev/ttyS4 /dev/ttyS7 /dev/ttyUSB0
---------------------------------------------------------------
T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 3.03
S: Manufacturer=Linux 3.3.8 ehci_hcd
S: Product=Generic Platform EHCI Controller
S: SerialNumber=ehci-platform.1
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 1, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 3.03
S: Manufacturer=Linux 3.3.8 ehci_hcd
S: Product=Generic Platform EHCI Controller
S: SerialNumber=ehci-platform.0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 4 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=12d1 ProdID=1506 Rev= 1.02
S: Manufacturer=HUAWEI Technology
S: Product=HUAWEI Mobile
C:* #Ifs= 4 Cfg#= 1 Atr=80 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=02 Prot=12 Driver=option
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I: If#= 1 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=02 Prot=16 Driver=cdc_ncm
E: Ad=82(I) Atr=03(Int.) MxPS= 64 Ivl=2ms
I:* If#= 1 Alt= 1 #EPs= 3 Cls=ff(vend.) Sub=02 Prot=16 Driver=cdc_ncm
E: Ad=82(I) Atr=03(Int.) MxPS= 64 Ivl=2ms
E: Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 3 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
---------------------------------------------------------------
3ginfo.@3ginfo[0]=3ginfo
3ginfo.@3ginfo[0].http_port=81
3ginfo.@3ginfo[0].qos=0
3ginfo.@3ginfo[0].language=pl
3ginfo.@3ginfo[0].device=/dev/ttyUSB0