General NAS-Central Forums

Welcome to the NAS community
It is currently Wed Nov 22, 2017 8:53 am

All times are UTC




Post new topic Reply to topic  [ 46 posts ]  Go to page Previous  1, 2, 3, 4
Author Message
 Post subject: Re: Oscam on ffp-0.7arm
PostPosted: Fri Feb 03, 2017 1:41 pm 
Offline

Joined: Sun Apr 29, 2012 5:24 pm
Posts: 2310
OSCam ffp package from now is available in br2 repository. This package is based on svn11350 release and it has support of USB CCID (Chip/Smart Card Interface Devices) and ICCD (Integrated Circuit(s) Card Devices).
Steps to install (root priviledges is requirement):

# Create funpkg cache dir for br2 repo if it not exists and install new slapt-get package manager:
Code:
[ -d /ffp/funpkg/cache/br2 ] || mkdir -p /ffp/funpkg/cache/br2
cd /ffp/funpkg/cache/br2
/ffp/bin/wget -nv http://downloads.zyxel.nas-central.org/Users/barmalej2/ffp/0.7/arm/packages/slapt-get-0.10.2t-arm-2.txz
funpkg -i slapt-get-0.10.2t-arm-2.txz

# Update slapt-get lists and upgrade core packages:
Code:
slapt-get -u
slapt-get --upgrade

# Restart sshd daemon service after upgrading:
Code:
sh /ffp/start/sshd.sh restart

# Install drivers for prolific and ftdi based serial devices:
Code:
slacker -UAa "mz:zyxel_modules-$(uname -r)"

# Install OSCam package with dependent packages together:
Code:
slapt-get -i oscam

# Run start scripts to start required services:
Code:
sh /ffp/start/zyxel-modules.sh start
sh /ffp/start/udevd.sh start
sh /ffp/start/pcscd.sh start

# Now attach your device and check, is it recognised:
Code:
cat /proc/tty/driver/usbserial
Quote:
usbserinfo:1.0 driver:2.0
0: module:ftdi_sio name:"FTDI USB Serial Device" vendor:0c52 product:2101 num_ports:1 port:1 path:usb-0000:00:1d.1-1.2

Code:
ls -la /dev/ttyUSB*
Quote:
crw-rw---- 1 root dialout 188, 0 Feb 2 07:09 /dev/ttyUSB0 #Attached device is accessible for read and write to dialout group
crw-r--r-- 1 root root 188, 1 Feb 2 07:09 /dev/ttyUSB1
crw-r--r-- 1 root root 188, 2 Feb 2 07:09 /dev/ttyUSB2
crw-r--r-- 1 root root 188, 3 Feb 2 07:09 /dev/ttyUSB3
crw-r--r-- 1 root root 188, 4 Feb 2 07:09 /dev/ttyUSB4

# NOTE: ftdi_sio driver supports loading FTDI devices with PID's, which is currently unknown for driver (unsupported by current version) itself.
# In such cases, you can create the custom udev rule (/ffp/etc/udev/rules.d/99-ftdi.rules) to autoload driver, when device is plugged in :
Quote:
ACTION=="remove", GOTO="ftdi_end"
SUBSYSTEM!="usb", GOTO="ftdi_end"

ACTION=="add", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="4f50", RUN+="/ffp/sbin/modprobe ftdi_sio vendor=0x0403 product=0x4f50"

LABEL="ftdi_end"

# Optional step, if you want to use oscam dvb api with dvb devices. Install drivers package for v4l-dvb devices:
Code:
slapt-get -i v4l-dvb

# Optional check if dvb dongle is used. Attach your dvb-usb dongle and make sure that it is initialized by checking devices nodes (demux,dvr,frontend, net) created by udev:
Code:
ls -la /dev/dvb/adapter*
Quote:
crw-rw---- 1 root video 212, 0 Oct 8 13:47 demux0
crw-rw---- 1 root video 212, 1 Oct 8 13:47 dvr0
crw-rw---- 1 root video 212, 3 Oct 8 13:47 frontend0
crw-rw---- 1 root video 212, 2 Oct 8 13:47 net0

# Lastly start oscam daemon service:
Code:
sh /ffp/start/oscam.sh start
# You will see the following output on first run (only in case of fresh install):
Quote:
******** Information ********
To control OSCam service, access the Web UI at http://192.168.0.3:8888
Web UI administrator user name is: oscam
Web UI administrator password is: tXXrLeBx
Password is unique and generated on first OSCam daemon service run.
By default, OSCam WebUI is accessible to all your local LAN members.
You may want to change that at first login to WebUI.

Starting oscam...done! [ OK ]

# Use given credentials to login and configure OSCam. If everything works, enable autostart of daemon services:
Code:
chmod 755 /ffp/start/zyxel-modules.sh
chmod 755 /ffp/start/udevd.sh
chmod 755 /ffp/start/pcscd.sh
chmod 755 /ffp/start/oscam.sh
That's it. Enjoy playing with new toy :wink:


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 46 posts ]  Go to page Previous  1, 2, 3, 4

All times are UTC


Who is online

Users browsing this forum: No registered users and 67 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group