Temat: gnokii - problem
Skompilowałem obraz wraz z programem gnokii... Niestety wyszly takie krzaki.
3G ~ # gnokii
gnokii: can't load library 'libbluetooth.so.2'
Co jest grane?! Jak ja newet nie mam w routerze bluetootha. ;P
Nie jesteś zalogowany. Proszę się zalogować lub zarejestrować.
eko.one.pl → Oprogramowanie / Software → gnokii - problem
Zaloguj się lub zarejestruj by napisać odpowiedź
Skompilowałem obraz wraz z programem gnokii... Niestety wyszly takie krzaki.
3G ~ # gnokii
gnokii: can't load library 'libbluetooth.so.2'
Co jest grane?! Jak ja newet nie mam w routerze bluetootha. ;P
Ale gnokii jest skompilowane z tą biblioteką bo potrafi tez po BT gadać, nie tylko po kablu. Doinstaluj po prostu.
Skompilowalem od nowa z 'kmod-bluetooth' i dalej jest to samo... ;/
libbluetooth a nie kmod-blutetooth...
Zainstalowalem bluez-libs i libpcsclite i działa. ;]
mam taki problem że wykrywa mi mój modem Huawei jako 3 urządzenia USB
Feb 7 22:35:14 Gargoyle user.info kernel: usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
Feb 7 22:35:14 Gargoyle user.info kernel: option 1-1:1.1: GSM modem (1-port) co nverter detected
Feb 7 22:35:14 Gargoyle user.info kernel: usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
Feb 7 22:35:14 Gargoyle user.info kernel: option 1-1:1.2: GSM modem (1-port) co nverter detected
Feb 7 22:35:14 Gargoyle user.info kernel: usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
robiłem w/g poradnika i wpisywałem kolejno każde ttyUSB i dostaje tylko takie coś:
root@Gargoyle:~$ gnokii --identyfy
GNOKII Version 0.6.21
Use 'gnokii --help' for usage information.
plik /etc/gnokiirc wygląda tak
[global]
model = AT
port = /dev/ttyUSB0
connection = serial
z tym ze tak jak pisałem zmieniałem ttyUSB0 na wszystkie 3 co mi wykryło... chyba że musze wpisać wszystkei na raz ?? tylko jak to ma wyglądac wtedy
Nie, jeden ma być. Opcja nazywa się identify, nie identyfy...
no faktycznie zagapiłem sie z tą literówką. Niestety modem nie chce mi gadać, próbuje z starą nokią 6230i, która po kablu też coś nie bardzo. Natomiast mam dongle bluetooth wiec tak próbuje. Tylko nie potrafi nawet pliku z configiem odczytać, no i pluje sie o typ połączenia, a port odczytałem sobie, bo bluetooth wykrył mi nokie.
root@Gargoyle:~$ gnokii --identify
GNOKII Version 0.6.21
Couldn't read /root/.gnokiirc config file.
Couldn't read /root/.gnokiirc config file.
You need to define 'connection' in the config file.
Couldn't read /etc/gnokiirc config file.
No connection type specified in the config file.
[global]
model = 6510
port = 00:12:D1:91:9A:3C
connection = bluetooth
ciągle pod górke... próbowałem jeszcze połączyć sie przez modem Huawei e169, ale tez nie gada. W logach takie coś sypie:
Feb 8 21:45:54 Gargoyle user.info kernel: option 1-1.2:1.0: GSM modem (1-port) converter detected
Feb 8 21:45:54 Gargoyle user.info kernel: usb 1-1.2: GSM modem (1-port) convert er now attached to ttyUSB0
Feb 8 21:45:54 Gargoyle user.info kernel: option 1-1.2:1.1: GSM modem (1-port) converter detected
Feb 8 21:45:54 Gargoyle user.info kernel: usb 1-1.2: GSM modem (1-port) convert er now attached to ttyUSB1
Feb 8 21:45:54 Gargoyle user.info kernel: option 1-1.2:1.2: GSM modem (1-port) converter detected
Feb 8 21:45:54 Gargoyle user.info kernel: usb 1-1.2: GSM modem (1-port) convert er now attached to ttyUSB2
Feb 8 21:45:54 Gargoyle user.info kernel: scsi5 : SCSI emulation for USB Mass S torage devices
Feb 8 21:45:54 Gargoyle user.debug kernel: usb-storage: device found at 5
Feb 8 21:45:54 Gargoyle user.debug kernel: usb-storage: waiting for device to s ettle before scanning
Feb 8 21:45:55 Gargoyle user.notice usb-modeswitch: 1-1.2:1.0: Manufacturer=ÿà żĂżĂżĂżĂżĂżĂżĂżĂżĂżĂżĂżĂżĂżĂżĂżĂżĂż Product=HUAWEI_Mobile Serial=ÿÿÿÿÿÿÿà żĂżĂżĂżĂżĂżĂżĂżĂżĂżĂżĂż
Feb 8 21:45:55 Gargoyle user.notice usb-modeswitch: 1-1.2:1.0: Selecting /etc/u sb_modeswitch.d/12d1:1001 for mode switching
Feb 8 21:45:55 Gargoyle user.notice usb-modeswitch: switching seemingly failed
Feb 8 21:45:55 Gargoyle user.notice usb-modeswitch: switching seemingly failed
Feb 8 21:45:55 Gargoyle user.notice usb-modeswitch: switching seemingly failed
Feb 8 21:45:55 Gargoyle user.notice usb-modeswitch: switching seemingly failed
Feb 8 21:45:55 Gargoyle user.notice usb-modeswitch: switching seemingly failed
Feb 8 21:45:55 Gargoyle user.notice usb-modeswitch: switching seemingly failed
Feb 8 21:45:55 Gargoyle user.notice usb-modeswitch: switching seemingly failed
Feb 8 21:45:56 Gargoyle user.notice usb-modeswitch: 1-1.2:1.0: Manufacturer=ÿà żĂżĂżĂżĂżĂżĂżĂżĂżĂżĂżĂżĂżĂżĂżĂżĂżĂż Product=HUAWEI_Mobile Serial=ÿÿÿÿÿÿÿà żĂżĂżĂżĂżĂżĂżĂżĂżĂżĂżĂż
Feb 8 21:45:56 Gargoyle user.notice usb-modeswitch: 1-1.2:1.0: Selecting /etc/u sb_modeswitch.d/12d1:1001 for mode switching
Feb 8 21:45:56 Gargoyle user.notice usb-modeswitch: switching seemingly failed
Feb 8 21:45:56 Gargoyle user.notice usb-modeswitch: switching seemingly failed
Feb 8 21:45:56 Gargoyle user.notice usb-modeswitch: switching seemingly failed
Feb 8 21:45:56 Gargoyle user.notice usb-modeswitch: switching seemingly failed
Feb 8 21:45:56 Gargoyle user.notice usb-modeswitch: switching seemingly failed
Feb 8 21:45:56 Gargoyle user.notice usb-modeswitch: switching seemingly failed
Feb 8 21:45:56 Gargoyle user.notice usb-modeswitch: switching seemingly failed
Feb 8 21:45:57 Gargoyle user.notice usb-modeswitch: 1-1.2:1.1: Manufacturer=ÿà żĂżĂżĂżĂżĂżĂżĂżĂżĂżĂżĂżĂżĂżĂżĂżĂżĂż Product=HUAWEI_Mobile Serial=ÿÿÿÿÿÿÿà żĂżĂżĂżĂżĂżĂżĂżĂżĂżĂżĂż
Feb 8 21:45:57 Gargoyle user.notice usb-modeswitch: 1-1.2:1.1: Selecting /etc/u sb_modeswitch.d/12d1:1001 for mode switching
Feb 8 21:45:57 Gargoyle user.notice usb-modeswitch: switching seemingly failed
Feb 8 21:45:57 Gargoyle user.notice usb-modeswitch: switching seemingly failed
Feb 8 21:45:57 Gargoyle user.notice usb-modeswitch: switching seemingly failed
Feb 8 21:45:57 Gargoyle user.notice usb-modeswitch: switching seemingly failed
Feb 8 21:45:57 Gargoyle user.notice usb-modeswitch: switching seemingly failed
Feb 8 21:45:57 Gargoyle user.notice usb-modeswitch: switching seemingly failed
Feb 8 21:45:57 Gargoyle user.notice usb-modeswitch: switching seemingly failed
Feb 8 21:45:57 Gargoyle user.notice usb-modeswitch: 1-1.2:1.2: Manufacturer=ÿà żĂżĂżĂżĂżĂżĂżĂżĂżĂżĂżĂżĂżĂżĂżĂżĂżĂż Product=HUAWEI_Mobile Serial=ÿÿÿÿÿÿÿà żĂżĂżĂżĂżĂżĂżĂżĂżĂżĂżĂż
Feb 8 21:45:57 Gargoyle user.notice usb-modeswitch: 1-1.2:1.2: Selecting /etc/u sb_modeswitch.d/12d1:1001 for mode switching
Feb 8 21:45:57 Gargoyle user.notice usb-modeswitch: switching seemingly failed
Feb 8 21:45:57 Gargoyle user.notice usb-modeswitch: switching seemingly failed
Feb 8 21:45:57 Gargoyle user.notice usb-modeswitch: switching seemingly failed
Feb 8 21:45:57 Gargoyle user.notice usb-modeswitch: switching seemingly failed
Feb 8 21:45:57 Gargoyle user.notice usb-modeswitch: switching seemingly failed
Feb 8 21:45:57 Gargoyle user.notice usb-modeswitch: switching seemingly failed
Feb 8 21:45:57 Gargoyle user.notice usb-modeswitch: switching seemingly failed
Feb 8 21:45:58 Gargoyle user.notice usb-modeswitch: 1-1.2:1.3: Manufacturer=ÿà żĂżĂżĂżĂżĂżĂżĂżĂżĂżĂżĂżĂżĂżĂżĂżĂżĂż Product=HUAWEI_Mobile Serial=ÿÿÿÿÿÿÿà żĂżĂżĂżĂżĂżĂżĂżĂżĂżĂżĂż
Feb 8 21:45:58 Gargoyle user.notice usb-modeswitch: 1-1.2:1.3: Selecting /etc/u sb_modeswitch.d/12d1:1001 for mode switching
Feb 8 21:45:58 Gargoyle user.notice usb-modeswitch: switching seemingly failed
Feb 8 21:45:58 Gargoyle user.notice usb-modeswitch: switching seemingly failed
Feb 8 21:45:58 Gargoyle user.notice usb-modeswitch: switching seemingly failed
Feb 8 21:45:58 Gargoyle user.notice usb-modeswitch: switching seemingly failed
Feb 8 21:45:58 Gargoyle user.notice usb-modeswitch: switching seemingly failed
Feb 8 21:45:58 Gargoyle user.notice usb-modeswitch: switching seemingly failed
Feb 8 21:45:58 Gargoyle user.notice usb-modeswitch: switching seemingly failed
Feb 8 21:45:59 Gargoyle user.notice kernel: scsi 5:0:0:0: CD-ROM HUA WEI Mass Storage 2.31 PQ: 0 ANSI: 2
Feb 8 21:45:59 Gargoyle user.notice kernel: scsi 5:0:0:1: Direct-Access HUA WEI SD Storage 2.31 PQ: 0 ANSI: 2
Feb 8 21:45:59 Gargoyle user.debug kernel: usb-storage: device scan complete
Feb 8 21:45:59 Gargoyle user.notice kernel: sd 5:0:0:1: [sdb] Attached SCSI rem ovable disk
Feb 8 21:46:02 Gargoyle user.info kernel: Adding 543636k swap on /dev/sda2. Pr iority:-1 extents:1 across:543636k
Gdzie ten plik konfiguracyjny umieściłeś? Bo ani nie w /root/.gnokiirc ani nie w /etc/gnokiirc, wypisał to przecież. Ponad to aktualnie gnokii nie jest kompilowane z BT, więc tylko po kablu.
testy robie na starej wersji
| |
| Gargoyle 1.5.4 |
| Wersja Gargoyle: 703e64d |
| OpenWrt Backfire 10.03.1 |
| Wersja OpenWrt: 30752 |
| Zbudowano: 2012-03-02 18:45 CET |
| |
| Cezary Jackiewicz (obsy), http://eko.one.pl
to nie wiem czy tutaj jeszcze bt był obsługiwany. No właśnie problem w tym że mam w obydwu katalogach pliki gnokiirc, a on mi ich nie widzi...
Pokaż wynik
ls -al /root/.gnokiirc
ls -al /etc/gnokiirc
root@Gargoyle:~$ ls -al /root/.gnokiirc
-rwxr-xr-x 1 root root 71 Feb 8 21:49 /root/.gnokiirc
root@Gargoyle:~$ ls -al /root/gnokiirc
ls: /root/gnokiirc: No such file or directory
root@Gargoyle:~$
Uruchom jeszcze raz ten gnokii.
bez sensu... niby nie widzi pliku gnokiirc i nie rozróżnia typu połączenia, a to jest modem hauwei e169 więc nie wiem jakie inne może być jak nie "serial"
root@Gargoyle:~$ ls -al /root/.gnokiirc
-rwxr-xr-x 1 root root 71 Feb 11 13:42 /root/.gnokiirc
root@Gargoyle:~$ gnokii --identify
GNOKII Version 0.6.21
You need to define 'connection' in the config file.
Couldn't read /root/.gnokiirc config file.
No connection type specified in the config file.
/root/.gnokiirc
[global]
model = AT
port = /dev/ttyUSB2
connection = serial
Od początku linii zrób bez tych wcięć. Czy czasami nie edytujesz tego pod windowsem?
edytowałem to w winscp. Ale sprawdziłem czy nie ma dziwnych znaków przez VI i wygląda ok. Usunąłem wcięcia i dalej to samo...
root@Gargoyle:~$ vi /root/.gnokiirc
[global]
model = AT
port = /dev/ttyUSB2
connection = serial
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
- /root/.gnokiirc 1/3 33%
To podaj mu jawnie przy wywołaniu --config /root/.gnokiirc
hmm jak daje gnokii --config /root/.gnokiirc, to nie działa, wyskakuje cały help. Pewnie dlatego że trzeba tą ścieżke jakoś inaczej wpisać, tylko jak?
gnokii --config /root/.gnokiirc --identify...
dzięki za cierpliwość, siedze już nad tym 3 dzień, próbowałem z telefonem po kablu i bluetooth i nie działało teraz z tym modemem i dalej nie czyta...
root@Gargoyle:~$ gnokii --config /root/.gnokiirc --identify
GNOKII Version 0.6.21
Couldn't read /root/.gnokiirc config file.
Config file cannot be read.
File: /root/.gnokiirc
a plik ma nadane parametry chmod 755....
Usuń ten plik w końcu u zrób go po ludzki w vi normalnie.
dzięki za cierpliwość. Nauczka dla mnie, następnym razem od razu robić w vi. Gnokii działa już poprawnie
Jak masz połączenie modemowe na /dev/ttyUSB3 to nie może być gnokii na tym, proste. Albo wyłącz połączenie albo zmień port na inny.
Zaloguj się lub zarejestruj by napisać odpowiedź
eko.one.pl → Oprogramowanie / Software → gnokii - problem
Forum oparte o PunBB, wspierane przez Informer Technologies, Inc