Odp: Gargoyle 1.13.x
Ok, wiec jak masz to masz. Co ci nie działa w 3ginfo?
Nie jesteś zalogowany. Proszę się zalogować lub zarejestrować.
eko.one.pl → Oprogramowanie → Gargoyle 1.13.x
Strony Poprzednia 1 … 8 9 10 11 12 13 14 Następna
Zaloguj się lub zarejestruj by napisać odpowiedź
Ok, wiec jak masz to masz. Co ci nie działa w 3ginfo?
Pokaz
uci show 3ginfo
/usr/share/3ginfo/scripts/huawei_hilink.sh 192.168.8.1 debug
I napisz jaki masz konkretnie modem, bo może masz coś nowszego czego skrypty nie obrabiają.
Modem mam stary Huawei E3372
uci show 3ginfo
3ginfo.@3ginfo[0]=3ginfo
3ginfo.@3ginfo[0].http_port='81'
3ginfo.@3ginfo[0].language='pl'
3ginfo.@3ginfo[0].network='wan'
3ginfo.@3ginfo[0].pincode='xxxx'
3ginfo.@3ginfo[0].device='192.168.8.1'
/usr/share/3ginfo/scripts/huawei_hilink.sh 192.168.8.1 debug
awk: /tmp/webserver-token: No such file or directory
awk: /tmp/webserver-token: No such file or directory
/usr/bin/wget: unrecognized option: keep-session-cookies
Usage: /usr/bin/wget [options] <URL>
Options:
-4 Use IPv4 only
-6 Use IPv6 only
-q Turn off status messages
-O <file> Redirect output to file (use "-" for stdout)
-P <dir> Set directory for output files
--user=<user> HTTP authentication username
--password=<password> HTTP authentication password
--user-agent|-U <str> Set HTTP user agent
--post-data=STRING use the POST method; send STRING as the data
--post-file=FILE use the POST method; send FILE as the data
--spider|-s Spider mode - only check file existence
--timeout=N|-T N Set connect/request timeout to N seconds
--proxy=on|off|-Y on|off Enable/disable env var configured proxy
HTTPS options:
--ca-certificate=<cert> Load CA certificates from file <cert>
--no-check-certificate don't validate the server's certificate
awk: /tmp/device-signal: No such file or directory
awk: /tmp/monitoring-status: No such file or directory
awk: /tmp/monitoring-status: No such file or directory
^SYSINFOEX:x,x,x,x,,x,"-",,"-"
awk: /tmp/net-current-plmn: No such file or directory
+COPS: 0,2,"",x
awk: /tmp/net-signal-para: No such file or directory
awk: /tmp/add-param: No such file or directory
rm: can't remove '/tmp/add-param': No such file or directory
awk: /tmp/net-signal-para: No such file or directory
awk: /tmp/device-signal: No such file or directory
+CREG: 2,1,"",""
awk: /tmp/device-signal: No such file or directory
awk: /tmp/net-signal-para: No such file or directory
awk: /tmp/net-signal-para: No such file or directory
awk: /tmp/net-signal-para: No such file or directory
^CSNR: ,
awk: /tmp/device-information: No such file or directory
awk: /tmp/device-basic_information: No such file or directory
awk: /tmp/device-basic_information: No such file or directory
Zainstaluj pełną wersję wgeta. To co masz to wget z busyboxa jest. Odinstaluj pakiet jeżeli twierdzi że jest zainstalowany i zainstaluj ponownie.
Czy możesz powiedzieć jak odinstalować ? jakie polecenie ? czy wystarczy remove ?
opkg remove wget
Niestety dostaję błąd
opkg remove wget
Segmentation fault
Nie błąd tylko wywalił ci się. Zwykle dzieje się w to z powodu braku wolnego ramu, więc - wyłącz na chwile wszystkie niepotrzebne rzeczy:
/etc/init.d/uhttpd stop
/etc/init.d/gargoyle_qos stop
/etc/init.d/samba stop
itd i spróbuj ponownie. W ostateczności możesz sciągnąć sobie paczkę wgeta, rozpakować na komputerze i wgrać przez winscp samą binarkę wgeta. Bez pełnej wersji nie odczyta danych z hilinka.
Teraz dostałem takie coś
opkg install wget
Preparing to install the following packages, which will require 263056 bytes:
wget, libpcre
Preparing to install package libpcre...
Downloading...
Downloaded libpcre successfully.
Installing libpcre...
Successfully installed libpcre.
Preparing to install package wget...
Downloading...
Downloaded wget successfully.
Installing wget...
Successfully installed wget.
Installation of packages successful.
No to jeszcze raz
/usr/share/3ginfo/scripts/huawei_hilink.sh 192.168.8.1 debug
/usr/share/3ginfo/scripts/huawei_hilink.sh 192.168.8.1 debug
awk: /tmp/webserver-token: No such file or directory
awk: /tmp/webserver-token: No such file or directory
/usr/bin/wget: unrecognized option: keep-session-cookies
Usage: /usr/bin/wget [options] <URL>
Options:
-4 Use IPv4 only
-6 Use IPv6 only
-q Turn off status messages
-O <file> Redirect output to file (use "-" for stdout)
-P <dir> Set directory for output files
--user=<user> HTTP authentication username
--password=<password> HTTP authentication password
--user-agent|-U <str> Set HTTP user agent
--post-data=STRING use the POST method; send STRING as the data
--post-file=FILE use the POST method; send FILE as the data
--spider|-s Spider mode - only check file existence
--timeout=N|-T N Set connect/request timeout to N seconds
--proxy=on|off|-Y on|off Enable/disable env var configured proxy
HTTPS options:
--ca-certificate=<cert> Load CA certificates from file <cert>
--no-check-certificate don't validate the server's certificate
awk: /tmp/device-signal: No such file or directory
awk: /tmp/monitoring-status: No such file or directory
awk: /tmp/monitoring-status: No such file or directory
^SYSINFOEX:x,x,x,x,,x,"-",,"-"
awk: /tmp/net-current-plmn: No such file or directory
+COPS: 0,2,"",x
awk: /tmp/net-signal-para: No such file or directory
awk: /tmp/add-param: No such file or directory
rm: can't remove '/tmp/add-param': No such file or directory
awk: /tmp/net-signal-para: No such file or directory
awk: /tmp/device-signal: No such file or directory
+CREG: 2,1,"",""
awk: /tmp/device-signal: No such file or directory
awk: /tmp/net-signal-para: No such file or directory
awk: /tmp/net-signal-para: No such file or directory
awk: /tmp/net-signal-para: No such file or directory
^CSNR: ,
awk: /tmp/device-information: No such file or directory
awk: /tmp/device-basic_information: No such file or directory
awk: /tmp/device-basic_information: No such file or directory
Zrób
ls -al /bin/wget
ls -al /sbin/wget
ls -al /usr/bin/wget
ls -al /usr/sbin/wget
I zobacz czy nie zostało dowiązanie do wgeta busyboxowego. Jeżeli tak to je skasuj.
Tylko takie coś
root@Gargoyle:~# ls -al /bin/wget
ls: /bin/wget: No such file or directory
root@Gargoyle:~# ls -al /sbin/wget
ls: /sbin/wget: No such file or directory
root@Gargoyle:~# ls -al /usr/bin/wget
lrwxrwxrwx 1 root root 18 Jul 30 21:43 /usr/bin/wget -> /bin/u client-fetch
root@Gargoyle:~# ls -al /usr/sbin/wget
ls: /usr/sbin/wget: No such file or directory
To w ogóle ci tego nie zainstalowało...
Nie błąd tylko wywalił ci się. W ostateczności możesz sciągnąć sobie paczkę wgeta, rozpakować na komputerze i wgrać przez winscp samą binarkę wgeta. .
Skąd pobrać binarkę i jak to wgrać. Bo nic nie pomaga mim że wyłączenia kilku rzeczy nie idzie odinstalować i zainstalować wgeta. Dodam że mam czystą instalację nic nie dogrywanie więc czy rzeczywiście brakuje ramu. Jedyne co to pozmieniałem porty dostępu do routera i wgrałem 3ginfo tak poza tym jest to czysty wgrany obraz.
Zrób
rm /usr/bin/wget
opkg remove wget
opkg install wget
wget
jeszcze raz i pokaż co wyszło.
root@Gargoyle:~# rm /usr/bin/wget
root@Gargoyle:~# opkg remove wget
Removing package wget...
Finished removing wget.
root@Gargoyle:~# opkg install wget
Preparing to install the following packages, which will require 182594 bytes:
wget
Preparing to install package wget...
Downloading...
Downloaded wget successfully.
Installing wget...
Successfully installed wget.
Installation of packages successful.
root@Gargoyle:~# wget
-ash: wget: not found
root@Gargoyle:~#
A wpisz wget-ssl i zobacz czy jest. Jeżeli tak to zrób
ln -s /usr/bin/wget-ssl /usr/bin/wget
Zabroniony dostęp
root@Gargoyle:~# wget-ssl
-ash: wget-ssl: Permission denied
root@Gargoyle:~#
Tak się zastanawiam może spróbować wersję 1.12
chmod 755 /usr/bin/wget-ssl
Coś masz zepsuty ten system.
Takie coś
root@Gargoyle:~# chmod 755 /usr/bin/wget-ssl
root@Gargoyle:~# wget-ssl
root@Gargoyle:~# ln -s /usr/bin/wget-ssl /usr/bin/wget
root@Gargoyle:~#
System pobrałem najnowszy i tylko go wgrałem nic nie robiłem, jedynie zmiana portów. Mogę przywrócić do ustawień fabrycznych lub wgrać jeszcze raz ale czy to coś pomoże.
To wgrywałem gargoyle-1.13.0.0pre7-ar71xx-nand-wndr4300-ubi-factory.img
Wykonaj to 3ginfo...
Przywróciłem ustawienia fabryczne zrobiłem wszystko wg. poradnika i nic nie pokazuje.
root@Gargoyle:~# 3ginfo
awk: /tmp/webserver-token: No such file or directory
awk: /tmp/webserver-token: No such file or directory
/usr/bin/wget: unrecognized option: keep-session-cookies
Usage: /usr/bin/wget [options] <URL>
Options:
-4 Use IPv4 only
-6 Use IPv6 only
-q Turn off status messages
-O <file> Redirect output to file (use "-" for stdout)
-P <dir> Set directory for output files
--user=<user> HTTP authentication username
--password=<password> HTTP authentication password
--user-agent|-U <str> Set HTTP user agent
--post-data=STRING use the POST method; send STRING as the data
--post-file=FILE use the POST method; send FILE as the data
--spider|-s Spider mode - only check file existence
--timeout=N|-T N Set connect/request timeout to N seconds
--proxy=on|off|-Y on|off Enable/disable env var configured proxy
HTTPS options:
--ca-certificate=<cert> Load CA certificates from file <cert>
--no-check-certificate don't validate the server's certificate
awk: /tmp/device-signal: No such file or directory
awk: /tmp/monitoring-status: No such file or directory
awk: /tmp/monitoring-status: No such file or directory
awk: /tmp/net-current-plmn: No such file or directory
awk: /tmp/net-signal-para: No such file or directory
awk: /tmp/add-param: No such file or directory
rm: can't remove '/tmp/add-param': No such file or directory
awk: /tmp/net-signal-para: No such file or directory
awk: /tmp/device-signal: No such file or directory
awk: /tmp/device-signal: No such file or directory
awk: /tmp/net-signal-para: No such file or directory
awk: /tmp/net-signal-para: No such file or directory
awk: /tmp/net-signal-para: No such file or directory
awk: /tmp/device-information: No such file or directory
awk: /tmp/device-basic_information: No such file or directory
awk: /tmp/device-basic_information: No such file or directory
rm: can't remove '/tmp/device-signal': No such file or directory
rm: can't remove '/tmp/monitoring-status': No such file or directory
rm: can't remove '/tmp/net-current-plmn': No such file or directory
rm: can't remove '/tmp/net-signal-para': No such file or directory
rm: can't remove '/tmp/device-information': No such file or directory
rm: can't remove '/tmp/device-basic_information': No such file or directory
rm: can't remove '/tmp/webserver-token': No such file or directory
Status: Połączony
Czas polaczenia: 0d, 00:10:13
Przeslano danych: 3.1 MiB / 325.1 KiB
Operator: ---
Tryb pracy:
Sila sygnalu: 0%
Urzadzenie: -
MCC MNC: - -
LAC: - (-)
CID: - (-)
TAC: - (-)
CSQ: -
RSSI: - dBm
RSCP: - dBm
Ec/IO: - dB
RSRP: - dBm
SINR: - dB
RSRQ: - dB
root@Gargoyle:~#
I trzeba było tego nie przywracać, tylko czas zmarnowałeś. Bo znów masz wgeta z ufetch-clienta. Zrób jeszcze raz to co było w poprzednich postach napisane.
Strony Poprzednia 1 … 8 9 10 11 12 13 14 Następna
Zaloguj się lub zarejestruj by napisać odpowiedź
eko.one.pl → Oprogramowanie → Gargoyle 1.13.x
Forum oparte o PunBB, wspierane przez Informer Technologies, Inc