Temat: Problem z instalacją Oscam

Wita,
Proszę o pomoc w istalacji Oscama, ponieważ cały dzień siedzę i nie mogę sobie poradzić. Posiadam router z Gargoyle 1.6.2.2 i próbowałem zainstalować Oscam-a poprzez:
opkg update
opkg install oscam
, ale niestety wywala błąd przeczytałem aby zainstalować ręcznie i niestety też jest coś nie tak.

root@Gargoyle:~# opkg install http://dl.eko.one.pl/attitude_adjustment/ar71xx/pa
ckages/oscam_9752-1_ar71xx.ipk
Downloading http://dl.eko.one.pl/attitude_adjustmen … r71xx.ipk.
Installing oscam (9752-1) to root...
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for oscam:
*      libpcsclite *
* opkg_install_cmd: Cannot install package oscam.

2

Odp: Problem z instalacją Oscam

Zainstaluj ręcznie libpcsclite - jest normalnie w repo openwrt. Nie wiem co namieszałeś w repozytoriach że nie instaluje ci bezpośrednio.

Ponad to - zaktualizuj sobie system na nowszy.

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

3

Odp: Problem z instalacją Oscam

Dzięki za szybką odpowiedź. Rozumiem, że zaktualizować do 1.9.x? Jeżeli zapiszę ustawienia a po aktualizacji przywrócę to wszystkie ustawienia będą jak w wersji 1.6.2.2.

4

Odp: Problem z instalacją Oscam

Niestety przy aktualizacji wywala:
root@Gargoyle:~# opkg install http://downloads.openwrt.org/latest/ar71xx/mikroti
k/packages/packages/libpcsclite_1.8.13-1_ar71xx.ipk
Downloading http://downloads.openwrt.org/latest/ar7 … r71xx.ipk.
Installing libpcsclite (1.8.13-1) to root...
Configuring libpcsclite.
//usr/lib/opkg/info/libpcsclite.postinst: line 4: default_postinst: not found
Collected errors:
* pkg_run_script: package "libpcsclite" postinst script returned status 127.
* opkg_configure: libpcsclite.postinst returned 127.

5

Odp: Problem z instalacją Oscam

Jeżeli używasz gargoyle 1.6 to masz używać repo AA a nie 'current'. Pakiet z attitude adjustment masz zainstalować.

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

6

Odp: Problem z instalacją Oscam

Niestety nie działa
root@Gargoyle:~# opkg install http://downloads.openwrt.org/attitude_adjustment/1
2.09/ar71xx/nand/packages/libpcsclite_1.8.2-1_ar71xx.ipk
Downloading http://downloads.openwrt.org/attitude_a … r71xx.ipk.
Package libpcsclite (1.8.13-1) installed in root is up to date.
Configuring libpcsclite.
//usr/lib/opkg/info/libpcsclite.postinst: line 4: default_postinst: not found
Collected errors:
* pkg_run_script: package "libpcsclite" postinst script returned status 127.
* opkg_configure: libpcsclite.postinst returned 127.
Czy aktualizacja oprogramowania do wersji 1.9.x i przywrócenie zapisanych ustawień będzie przywrócone w takim stopniu jak przed aktualizacją? Czy będę musiał od nowa ustawiać wszystko?

7

Odp: Problem z instalacją Oscam

pakiet  wymaga pewnych zależności :

root@Gargoyle:~# opkg info libpcsclite
Package: libpcsclite
Version: 1.8.2-1
User-Installed: false
Install-Destination: Not Installed
Source: feeds/packages/utils/pcsc-lite
Size: 16596
Maintainer: OpenWrt Developers Team <openwrt-devel@openwrt.org>
Installed-Size: 15898
MD5Sum: ac4de92f7c3e01b65596f8cb788bf6c3
Provides: 
Description: The purpose of PC/SC Lite is to provide a Windows(R) SCard
             interface in a very small form factor for communicating to
             smart cards and smart cards readers.
             .
             This package contains the PC/SC shared library.
Essential: no
Architecture: ar71xx
Source-ID: attitude_adjustment
Section: libs
Filename: libpcsclite_1.8.2-1_ar71xx.ipk
Priority: optional
Status: unknown ok not-installed
Depends: libc, libusb-1.0, libpthread, librt

sprawdz :
opkg list_installed 
czy masz

Depends: libc, libusb-1.0, libpthread, librt

aktualizacje  robisz bez zachowania ustawien  - potem konfigurujesz wszystko od nowa  ( ale pliki konfiguracyjne  możesz sobie skopiowac  potem tylko podmienic ale jak nie wiesz co gdzie" siedzi "   to lepiej  zrob wszystko od nowa)

8 (edytowany przez piotr_waw 2016-07-03 14:24:52)

Odp: Problem z instalacją Oscam

Zaktualizowałem oprogramowanie do wersji 1.9.0.3 i niestety nadal nie mogę zainstalować oscam
root@Gargoyle:~# opkg install oscam
ERROR: Not enough space in destination root to install specified packages:
        libpcsclite, oscam
Czyli jest za mało miejsca?

9

Odp: Problem z instalacją Oscam

tak - zrób extroota - na gargoyle  to jest banalnie proste  - podłącz pena i postepuj zgodnie z podpowiedziami - pewnie kombinujesz bo masz jedno usb smile   podczas instalacji oscam  dociaga sobie sam libpcsclite

10

Odp: Problem z instalacją Oscam

A w/w - miałeś zainstalowany wcześniej pakiet w nowszej wersji i wcale nie instalował tego co chciałeś. Napisał to.

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

11 (edytowany przez piotr_waw 2016-07-03 20:48:54)

Odp: Problem z instalacją Oscam

Udało się. Musiałem zaktualizować do najnowszej wersji Gargoyle oraz dołożyć pamięć. W usługach pojawił się oscam. Cezary wielkie dzięki za pomoc. Kolejny raz mi pomogłeś. Jeszcze raz dziękuję.
Sorki czy da się zalogować do routera ftp-em? Ja to zrobić?

12

Odp: Problem z instalacją Oscam

Udostępnij zasób przez ftp i masz. W nośniki usb.

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

13

Odp: Problem z instalacją Oscam

Czy mam zainstalować jedenz tych pakietów.
proftpd, pure-ftpd, vsftpd.?

14

Odp: Problem z instalacją Oscam

Gargoyle ma wbudowany ftp jeżeli używasz routera z 8M/16MB flash. Podłącz pendrive i udostępnij zasób.

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

15

Odp: Problem z instalacją Oscam

Posiadam router TP-Link WDR 4300. podłączyłem pendriva i utworzylem na nim estroota. Czy w interfejsie Gargoyle się udostepnia zasoby? Coś się chyba pogubiłem.

16

Odp: Problem z instalacją Oscam

A teraz podłącz następny bo extroot nie jest widoczny jako nośnik do udostępnienia.

W interfejsie gargoyle udostępnia się nośniki, w zakładce "Nośniki USB", pisałem już to.

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

17

Odp: Problem z instalacją Oscam

Mam tylko dwa wejścia USB a chcę jeszcze podłączyć czytnik kart. Zobacze czy zadziała przez połączony hub.

18

Odp: Problem z instalacją Oscam

Jeszcze jedno pytanko posiadam czytnik kart ACS ACR38 USB. Jak zainstalować sterowniki? Na stronie certum.pl są sterowniki pod linuxa. Z jakim rozszerzeniem szukać plików? Jak zainstalować sterowniki do tego?

19

Odp: Problem z instalacją Oscam

A na jakim chipie on jest? Jeżeli nie wiesz to zainstaluj wszystkie pakiety kmod-usb-serial*

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

20

Odp: Problem z instalacją Oscam

Zainstalowałem i wpisałem komendę dmesg |grep usb i wyświetlił

root@Gargoyle:~# dmesg |grep usb
[    4.820000] usbcore: registered new interface driver usbfs
[    4.830000] usbcore: registered new interface driver hub
[    4.830000] usbcore: registered new device driver usb
[    4.970000] usbcore: registered new interface driver usb-storage
[    5.270000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[    5.750000] usb 1-1.1: new full-speed USB device number 3 using ehci-platform
[    6.190000] usb 1-1.2: new high-speed USB device number 4 using ehci-platform
[    6.300000] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[    6.310000] scsi host0: usb-storage 1-1.2:1.0
[   14.460000] usbcore: registered new interface driver cdc_acm
[   14.480000] usbcore: registered new interface driver cdc_wdm
[   14.590000] usbcore: registered new interface driver ums-alauda
[   14.600000] usbcore: registered new interface driver ums-cypress
[   14.610000] usbcore: registered new interface driver ums-datafab
[   14.620000] usbcore: registered new interface driver ums-freecom
[   14.630000] usbcore: registered new interface driver ums-isd200
[   14.640000] usbcore: registered new interface driver ums-jumpshot
[   14.650000] usbcore: registered new interface driver ums-karma
[   14.660000] usbcore: registered new interface driver ums-sddr09
[   14.670000] usbcore: registered new interface driver ums-sddr55
[   14.670000] usbcore: registered new interface driver ums-usbat
[   14.680000] usbcore: registered new interface driver usblp
[   14.720000] usbcore: registered new interface driver usbserial
[   14.730000] usbcore: registered new interface driver usbserial_generic
[   14.730000] usbserial: USB Serial support registered for generic
[   14.870000] usbcore: registered new interface driver cdc_ether
[   14.880000] usbcore: registered new interface driver cdc_ncm
[   14.950000] usbcore: registered new interface driver huawei_cdc_ncm
[   15.100000] usbcore: registered new interface driver qmi_wwan
[   15.110000] usbcore: registered new interface driver rndis_host
[   15.120000] usbcore: registered new interface driver sierra
[   15.120000] usbserial: USB Serial support registered for Sierra USB modem
[   15.130000] usbcore: registered new interface driver sierra_net
[   15.220000] usbcore: registered new interface driver option
[   15.230000] usbserial: USB Serial support registered for GSM modem (1-port)
[   15.250000] usbcore: registered new interface driver qcserial
[   15.250000] usbserial: USB Serial support registered for Qualcomm USB modem
[28316.960000] usb 1-1.1: USB disconnect, device number 3
[28323.350000] usb 1-1.1: new high-speed USB device number 5 using ehci-platform
[28323.460000] usb-storage 1-1.1:1.0: USB Mass Storage device detected
[28323.480000] scsi host1: usb-storage 1-1.1:1.0
[30704.690000] usb 1-1.1: USB disconnect, device number 5
[30711.080000] usb 1-1.1: new full-speed USB device number 6 using ehci-platform
[32847.410000] usbcore: registered new interface driver ftdi_sio
[32847.420000] usbserial: USB Serial support registered for FTDI USB Serial Device
[33131.300000] usbcore: registered new interface driver ch341
[33131.300000] usbserial: USB Serial support registered for ch341-uart
[33158.060000] usbcore: registered new interface driver ipw
[33158.060000] usbserial: USB Serial support registered for IPWireless converter
[33185.490000] usbcore: registered new interface driver ark3116
[33185.490000] usbserial: USB Serial support registered for ark3116
[33206.110000] usbcore: registered new interface driver belkin_sa
[33206.120000] usbserial: USB Serial support registered for Belkin / Peracom / GoHubs USB Serial Adapter
[33261.050000] usbcore: registered new interface driver cp210x
[33261.050000] usbserial: USB Serial support registered for cp210x
[33282.800000] usbcore: registered new interface driver cypress_m8
[33282.810000] usbserial: USB Serial support registered for DeLorme Earthmate USB
[33282.810000] usbserial: USB Serial support registered for HID->COM RS232 Adapter
[33282.820000] usbserial: USB Serial support registered for Nokia CA-42 V2 Adapter
[33325.400000] usbcore: registered new interface driver keyspan
[33325.410000] usbserial: USB Serial support registered for Keyspan - (without firmware)
[33325.420000] usbserial: USB Serial support registered for Keyspan 1 port adapter
[33325.420000] usbserial: USB Serial support registered for Keyspan 2 port adapter
[33325.430000] usbserial: USB Serial support registered for Keyspan 4 port adapter
[33351.090000] usbcore: registered new interface driver mct_u232
[33351.090000] usbserial: USB Serial support registered for MCT U232
[33371.240000] usbcore: registered new interface driver mos7720
[33371.250000] usbserial: USB Serial support registered for Moschip 2 port adapter
[33438.520000] usbcore: registered new interface driver oti6858
[33438.520000] usbserial: USB Serial support registered for oti6858
[33458.530000] usbcore: registered new interface driver pl2303
[33458.530000] usbserial: USB Serial support registered for pl2303
[33517.470000] usbcore: registered new interface driver ti_usb_3410_5052
[33517.480000] usbserial: USB Serial support registered for TI USB 3410 1 port adapter
[33517.480000] usbserial: USB Serial support registered for TI USB 5052 2 port adapter
[33540.480000] usbcore: registered new interface driver visor
[33540.490000] usbserial: USB Serial support registered for Handspring Visor / Palm OS
[33540.500000] usbserial: USB Serial support registered for Sony Clie 5.0
[33540.510000] usbserial: USB Serial support registered for Sony Clie 3.5
root@Gargoyle:~#
Jak mogę sprawdzić czy jest podłączony?

21

Odp: Problem z instalacją Oscam

Zrestartuj i pokaż wynik

cat /proc/bus/usb/devices

ls /dev/ttyUSB*

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

22

Odp: Problem z instalacją Oscam

Pokazuje komunikat
root@Gargoyle:~# cat /proc/bus/usb/devices
cat: can't open '/proc/bus/usb/devices': No such file or directory
root@Gargoyle:~#

23

Odp: Problem z instalacją Oscam

cat /sys/kernel/debug/usb/devices

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

24

Odp: Problem z instalacją Oscam

root@Gargoyle:~# cat /sys/kernel/debug/usb/devices

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.18
S:  Manufacturer=Linux 3.18.29 ehci_hcd
S:  Product=EHCI Host Controller
S:  SerialNumber=ehci-platform
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#=  2 Spd=480  MxCh= 4
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=05e3 ProdID=0608 Rev=85.36
S:  Product=USB2.0 Hub
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=256ms

T:  Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#=  3 Spd=12   MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=072f ProdID=9000 Rev= 1.00
S:  Manufacturer=ACS
S:  Product=ACR38 USB Reader
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 3 Cls=00(>ifc ) Sub=00 Prot=00 Driver=(none)
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=2ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms

T:  Bus=01 Lev=02 Prnt=02 Port=01 Cnt=02 Dev#=  4 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0781 ProdID=556b Rev= 1.03
S:  Manufacturer=SanDisk
S:  Product=Cruzer Edge
S:  SerialNumber=200435159218C2325AF7
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=200mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
root@Gargoyle:~#

25

Odp: Problem z instalacją Oscam

Google wyrzuca tylko coś o  smart card readers. Tak czy siak - w kernelu tych dirverów standardowo nie ma. Musisz szukać i kompilować samodzielnie.

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