26 (edytowany przez dzolero 2015-07-23 15:54:20)

Odp: gnokii - problem

No właśnie zmieniłem i sam to odkryłem dlatego skasowałem posta, ale Cezary jesteś za szybki. smile Myślałem, że to jak z adresem domu, jeżeli pod tym jest modem z internetem to myślałem, że jest też i odczytywanie i obsługa sms.

W momencie kiedy chcę odebrać sms poprzez GUI mam tylko ekran ładowania "Odczyt wiadomości". Jak to obejść?

zgodnie z tą stroną powinno wszystko działać:

http://wiki.gnokii.org/index.php/Sierra_Wireless

Czy może mieć to coś wspólnego z tym?

root@Gargoyle:/# gnokii --getsms SM 1 99
GNOKII Version 0.6.21
GetSMS SM 1 failed! (The given location is empty.)
GetSMS SM 2 failed! (The given location is empty.)
GetSMS SM 3 failed! (The given location is empty.)
GetSMS SM 4 failed! (The given location is empty.)
GetSMS SM 5 failed! (The given location is empty.)
GetSMS SM 6 failed! (The given location is empty.)
GetSMS SM 7 failed! (The given location is empty.)
GetSMS SM 8 failed! (The given location is empty.)
GetSMS SM 9 failed! (The given location is empty.)
GetSMS SM 10 failed! (The given location is empty.)
GetSMS SM 11 failed! (The given location is empty.)
GetSMS SM 12 failed! (The given location is empty.)
GetSMS SM 13 failed! (The given location is empty.)
GetSMS SM 14 failed! (The given location is empty.)
GetSMS SM 15 failed! (The given location is empty.)
GetSMS SM 16 failed! (The given location is empty.)
GetSMS SM 17 failed! (The given location is empty.)
GetSMS SM 18 failed! (The given location is empty.)
GetSMS SM 19 failed! (The given location is empty.)
GetSMS SM 20 failed! (The given location is empty.)
GetSMS SM 21 failed! (The given location is empty.)
GetSMS SM 22 failed! (The given location is empty.)
GetSMS SM 23 failed! (The given location is empty.)
GetSMS SM 24 failed! (The given location is empty.)
GetSMS SM 25 failed! (The given location is empty.)
GetSMS SM 26 failed! (The given location is empty.)
GetSMS SM 27 failed! (The given location is empty.)
GetSMS SM 28 failed! (The given location is empty.)
GetSMS SM 29 failed! (The given location is empty.)
GetSMS SM 30 failed! (The given location is empty.)
GetSMS SM 31 failed! (The given location is empty.)
GetSMS SM 32 failed! (The given location is empty.)
GetSMS SM 33 failed! (The given location is empty.)
GetSMS SM 34 failed! (The given location is empty.)
GetSMS SM 35 failed! (The given location is empty.)
GetSMS SM 36 failed! (The given location is empty.)
GetSMS SM 37 failed! (The given location is empty.)
GetSMS SM 38 failed! (The given location is empty.)
GetSMS SM 39 failed! (The given location is empty.)
GetSMS SM 40 failed! (The given location is empty.)
GetSMS SM 41 failed! (The given location is empty.)
GetSMS SM 42 failed! (The given location is empty.)
GetSMS SM 43 failed! (The given location is empty.)
GetSMS SM 44 failed! (The given location is empty.)
GetSMS SM 45 failed! (The given location is empty.)
GetSMS SM 46 failed! (The given location is empty.)
GetSMS SM 47 failed! (The given location is empty.)
GetSMS SM 48 failed! (The given location is empty.)
GetSMS SM 49 failed! (The given location is empty.)
GetSMS SM 50 failed! (The given location is empty.)
GetSMS SM 51 failed! (The given location is empty.)
GetSMS SM 52 failed! (The given location is empty.)
GetSMS SM 53 failed! (The given location is empty.)
GetSMS SM 54 failed! (The given location is empty.)
GetSMS SM 55 failed! (The given location is empty.)
GetSMS SM 56 failed! (The given location is empty.)
GetSMS SM 57 failed! (The given location is empty.)
GetSMS SM 58 failed! (The given location is empty.)
GetSMS SM 59 failed! (The given location is empty.)
GetSMS SM 60 failed! (The given location is empty.)
GetSMS SM 61 failed! (The given location is empty.)
GetSMS SM 62 failed! (The given location is empty.)
GetSMS SM 63 failed! (The given location is empty.)
GetSMS SM 64 failed! (The given location is empty.)
GetSMS SM 65 failed! (The given location is empty.)
GetSMS SM 66 failed! (The given location is empty.)
GetSMS SM 67 failed! (The given location is empty.)
GetSMS SM 68 failed! (The given location is empty.)
GetSMS SM 69 failed! (The given location is empty.)
GetSMS SM 70 failed! (The given location is empty.)
GetSMS SM 71 failed! (The given location is empty.)
GetSMS SM 72 failed! (The given location is empty.)
GetSMS SM 73 failed! (The given location is empty.)
GetSMS SM 74 failed! (The given location is empty.)
GetSMS SM 75 failed! (The given location is empty.)
GetSMS SM 76 failed! (The given location is empty.)
GetSMS SM 77 failed! (The given location is empty.)
GetSMS SM 78 failed! (The given location is empty.)
GetSMS SM 79 failed! (The given location is empty.)
GetSMS SM 80 failed! (The given location is empty.)
GetSMS SM 81 failed! (The given location is empty.)
GetSMS SM 82 failed! (The given location is empty.)
GetSMS SM 83 failed! (The given location is empty.)
GetSMS SM 84 failed! (The given location is empty.)
GetSMS SM 85 failed! (The given location is empty.)
GetSMS SM 86 failed! (The given location is empty.)
GetSMS SM 87 failed! (The given location is empty.)
GetSMS SM 88 failed! (The given location is empty.)
GetSMS SM 89 failed! (The given location is empty.)
GetSMS SM 90 failed! (The given location is empty.)
GetSMS SM 91 failed! (The given location is empty.)
GetSMS SM 92 failed! (The given location is empty.)
GetSMS SM 93 failed! (The given location is empty.)
GetSMS SM 94 failed! (The given location is empty.)
GetSMS SM 95 failed! (The given location is empty.)
GetSMS SM 96 failed! (The given location is empty.)
GetSMS SM 97 failed! (The given location is empty.)
GetSMS SM 98 failed! (The given location is empty.)
GetSMS SM 99 failed! (The given location is empty.)

Jestem happy trigger. Po paru minutach wskoczyło okienko z odebranym sms w GUI Gargoyle'a. smile

27

Odp: gnokii - problem

Inną pamięć niż SM sprawdź. I nie odczytuj smsów na komputerze bo są kasowane z karty przez zewnętrzne programy.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

28

Odp: gnokii - problem

Witam,

Walczę od wczoraj i "nie działa". Hardware: TP-Link TL-WDR4300 v1 + Gargoyle 1.9.2.3 (r49483) & Huawei E3372.

# gnokii --identify

Odp.:

GNOKII Version 0.6.21
Couldn't read /root/.gnokiirc config file.
Couldn't read /root/.gnokiirc config file.
Couldn't read /etc/gnokiirc config file.
Couldn't read /etc/gnokiirc config file.
Config file cannot be read.
# ls -al /etc/gnokiirc

Odp.:

drwxr-xr-x    2 root     root             0 Sep 23 03:08 .
drwxrwxr-x    1 root     root             0 Sep 22 23:45 ..
-rw-r--r--    1 root     root            60 Sep 23 03:08 config
gnokii --config /etc/gnokiirc --identify

Odp.:

GNOKII Version 0.6.21
Couldn't read /etc/gnokiirc config file.
Config file cannot be read.
File: /etc/gnokiirc

Plik config.conf stworzony za pomocą Notepad++

[global]
 model = AT
 port = /dev/ttyUSB0
 connection = serial

29

Odp: gnokii - problem

/etc/gnokiirc ma być plikiem z konfiguracją a nie katalogim i plikiem config.conf z nim. Więc albo to popraw albo zrób

gnokii --config /etc/gnokiirc/config.conf --identify

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

30 (edytowany przez cosmonet 2017-09-24 11:28:17)

Odp: gnokii - problem

Ok, wykrywa.
Następny problem przy sms.sh Zmieniłem linijkę port na:

"port = /dev/ttyUSB0"

Przy próbie otworzenia strony 192.168.2.1:81/cgi-bin/sms.sh pojawia się komunikat:

Unable to launch the requested CGI program:
  /tmp/sms/cgi-bin/sms.sh: No such file or directory

Postąpiłem według poradnika wykonując:

# mkdir -p /tmp/sms/cgi-bin
# chmod 755 /tmp/sms/cgi-bin/sms.sh
# uhttpd -p 0.0.0.0:81 -h /tmp/sms

Edit:
Ok, działa. Zmiana jeszcze linii na --config /etc/gnokiirc/config.conf

Edit2:
Da się wysyłać kody USSD?

31

Odp: gnokii - problem

Bezpośrednio nie. Pośrednio: http://nongnu.13855.n7.nabble.com/USSD- … 20998.html

ussd159 zastosuj do kodów ussd

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.