This is significantly over my head... But ill buy a beer to whomever does do it
Beiträge von themadman206
-
-
Any Update? I just tried this on OMV-4.0.10 and its still giving the same errors. Im going to spin up a windows VM to run Urbackup until the plugin is working again.
-
I just bought a new 1tb OS drive to mitigate this because my 500Gb was crashing...
Bump? -
Here is what it gives me.
root@Vault:~# insserv syncthing
insserv: script syncthing: service server already provided!
insserv: exiting now!
root@Vault:~# grep -i syncthing /etc/init.d/*
/etc/init.d/syncthing:# Provides: syncthing server instance
/etc/init.d/syncthing:# Short-Description: starts instance of syncthing server
/etc/init.d/syncthing:# Description: starts instance of syncthing server using start-stop-daemon
/etc/init.d/syncthing:DESC="syncthing"
/etc/init.d/syncthing:NAME="syncthing"
/etc/init.d/syncthing:DAEMON=/usr/bin/syncthing
/etc/init.d/syncthing: echo "Starting Syncthing for user" $ST_USER
/etc/init.d/syncthing: echo "Stopping Syncthing for user" $ST_USER
/etc/init.d/syncthing: echo "Syncthing for USER $ST_USER: not running."
/etc/init.d/syncthing: echo "Syncthing for USER $ST_USER: running (pid" $ST_PID")"
root@Vault:~# -
wow i should've caught that! my bad! still learning here.
Here is the output.
im still getting the same error. fyIroot@Vault:~# update-rc.d syncthing defaults
update-rc.d: using dependency based boot sequencing
insserv: script syncthing: service server already provided!
insserv: exiting now!
update-rc.d: error: insserv rejected the script header -
here is the output of that command. i still cannot add a user
root@Vault:~# update-rc.d syncthing default
update-rc.d: using dependency based boot sequencing
usage: update-rc.d [-n] [-f] <basename> remove
update-rc.d [-n] <basename> defaults [NN | SS KK]
update-rc.d [-n] <basename> start|stop NN runlvl [runlvl] [...] .
update-rc.d [-n] <basename> disable|enable [S|2|3|4|5]
-n: not really
-f: forceThe disable|enable API is not stable and might change in the future.
root@Vault:~# -
The install was successful but i can not add a user now. This is the error i get.
Failed to execute command 'export LANG=C; update-rc.d 'syncthing' disable 2>&1': update-rc.d: error: no runlevel symlinks to modify, aborting! update-rc.d: using dependency based boot sequencing
Error #4000:
exception 'OMVException' with message 'Failed to execute command 'export LANG=C; update-rc.d 'syncthing' disable 2>&1': update-rc.d: error: no runlevel symlinks to modify, aborting!
update-rc.d: using dependency based boot sequencing' in /usr/share/php/openmediavault/initscript.inc:90
Stack trace:
#0 /usr/share/php/openmediavault/initscript.inc(56): OMVSysVInitScript->update(true)
#1 /usr/share/openmediavault/engined/module/syncthing.inc(107): OMVSysVInitScript->exec()
#2 /usr/share/openmediavault/engined/rpc/config.inc(164): OMVModuleSyncthing->stopService()
#3 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
#4 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
#5 /usr/share/php/openmediavault/rpcservice.inc(158): OMVRpcServiceAbstract->callMethod('applyChanges', Array, Array)
#6 /usr/share/openmediavault/engined/rpc/config.inc(224): OMVRpcServiceAbstract->callMethodBg('applyChanges', Array, Array)
#7 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
#8 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
#9 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('applyChangesBg', Array, Array)
#10 /usr/sbin/omv-engined(500): OMVRpc::exec('Config', 'applyChangesBg', Array, Array, 1)
#11 {main} -
Here it is.
root@Vault:~# uname -a
Linux Vault 3.16.0-0.bpo.4-amd64 #1 SMP Debian 3.16.7-ckt9-3~deb8u1~bpo70+1 (2015-04-27) x86_64 GNU/LinuxAnd
Code
Alles anzeigenroot@Vault:~# ls -al /etc/init.d/ total 516 drwxr-xr-x 2 root root 4096 May 28 07:22 . drwxrwxr-x 101 root root 4096 May 28 08:45 .. -rwxr-xr-x 1 root root 2227 Apr 15 2013 acpid -rwxr-xr-x 1 root root 2014 May 21 2012 anacron -rwxr-xr-x 1 root root 2253 Mar 6 2013 avahi-daemon -rwxr-xr-x 1 root root 2192 Jul 14 2013 bootlogd -rwxr-xr-x 1 root root 1276 Oct 15 2012 bootlogs -rwxr-xr-x 1 root root 1281 Jul 14 2013 bootmisc.sh -rwxr-xr-x 1 root root 2673 Mar 25 08:13 calibre -rwxr-xr-x 1 root root 3816 Jul 14 2013 checkfs.sh -rwxr-xr-x 1 root root 1099 Jul 14 2013 checkroot-bootclean.sh -rwxr-xr-x 1 root root 9673 Jul 14 2013 checkroot.sh -rwxr-xr-x 1 root root 9615 Jan 4 19:23 clamav-daemon -rwxr-xr-x 1 root root 7786 Jan 4 19:23 clamav-freshclam -rwxr-xr-x 1 root root 4555 Jul 15 2012 collectd -rwxr-xr-x 1 root root 1379 Dec 8 2011 console-setup -rwxr-xr-x 1 root root 2489 May 5 2012 cpufrequtils -rwxr-xr-x 1 root root 3033 Jul 3 2012 cron -rwxr-xr-x 1 root root 2813 Nov 24 2014 dbus -rw-r--r-- 1 root root 2573 May 28 07:17 .depend.boot -rw-r--r-- 1 root root 2558 May 28 07:17 .depend.start -rw-r--r-- 1 root root 3782 May 28 07:17 .depend.stop -rwxr-xr-x 1 root root 6307 Jun 25 2014 fail2ban -rwxr-xr-x 1 root root 1329 Oct 15 2012 halt -rwxr-xr-x 1 root root 10577 Jun 24 2012 hdparm -rwxr-xr-x 1 root root 1423 Oct 15 2012 hostname.sh -rwxr-xr-x 1 root root 3880 Dec 11 2012 hwclock.sh -rwxr-xr-x 1 root root 7592 Apr 28 2012 kbd -rwxr-xr-x 1 root root 1591 Sep 30 2012 keyboard-setup -rwxr-xr-x 1 root root 1293 Oct 15 2012 killprocs -rwxr-xr-x 1 root root 1990 May 20 2012 kmod -rwxr-xr-x 1 root root 869 Feb 6 2011 lm-sensors -rwxr-xr-x 1 root root 6912 May 5 2012 loadcpufreq -rwxr-xr-x 1 root root 884 May 4 2012 lvm2 -rwxr-xr-x 1 root root 2420 Jan 24 2013 mdadm -rwxr-xr-x 1 root root 6335 Oct 20 2012 mdadm-raid -rwxr-xr-x 1 root root 1199 Jan 24 2013 mdadm-waitidle -rwxr-xr-x 1 root root 4044 Jun 1 2012 monit -rwxr-xr-x 1 root root 995 Oct 15 2012 motd -rwxr-xr-x 1 root root 670 Feb 23 2013 mountall-bootclean.sh -rwxr-xr-x 1 root root 2128 Feb 23 2013 mountall.sh -rwxr-xr-x 1 root root 1508 Jul 14 2013 mountdevsubfs.sh -rwxr-xr-x 1 root root 1413 Jul 14 2013 mountkernfs.sh -rwxr-xr-x 1 root root 678 Feb 23 2013 mountnfs-bootclean.sh -rwxr-xr-x 1 root root 2440 Oct 15 2012 mountnfs.sh -rwxr-xr-x 1 root root 1731 Jul 14 2013 mtab.sh -rwxr-xr-x 1 root root 3570 Mar 20 2012 netatalk -rwxr-xr-x 1 root root 4322 Mar 14 2013 networking -rwxr-xr-x 1 root root 6491 May 11 2013 nfs-common -rwxr-xr-x 1 root root 4950 May 11 2013 nfs-kernel-server -rwxr-xr-x 1 root root 2235 Sep 18 2014 nginx -rwxr-xr-x 1 root root 1814 Dec 20 09:29 ntp -rwxr-xr-x 1 root root 822 Jan 24 2014 openmediavault -rwxr-xr-x 1 root root 497 Apr 8 2014 openmediavault-beep -rwxr-xr-x 1 root root 1955 Apr 8 2014 openmediavault-engined -rwxr-xr-x 1 root root 2890 Mar 13 23:07 openvpnas -rwxr-xr-x 1 root root 4549 Dec 30 23:27 php5-fpm -rwxr-xr-x 1 root root 1865 Apr 30 11:28 plexmediaserver -rwxr-xr-x 1 root root 1865 Apr 30 11:28 plexmediaserver.dpkg-bak -rwxr-xr-x 1 root root 7358 Mar 6 2013 postfix -rwxr-xr-x 1 root root 1346 May 19 2012 procps -rwxr-xr-x 1 root root 4978 Sep 4 2014 proftpd -rwxr-xr-x 1 root root 3092 Mar 17 2013 quota -rwxr-xr-x 1 root root 1959 Mar 17 2013 quotarpc -rwxr-xr-x 1 root root 6120 Oct 15 2012 rc -rwxr-xr-x 1 root root 782 Oct 15 2012 rc.local -rwxr-xr-x 1 root root 117 Oct 15 2012 rcS -rw-r--r-- 1 root root 2427 Oct 15 2012 README -rwxr-xr-x 1 root root 639 Oct 15 2012 reboot -rwxr-xr-x 1 root root 2918 Jun 19 2012 resolvconf -rwxr-xr-x 1 root root 1074 Jul 14 2013 rmnologin -rwxr-xr-x 1 root root 2344 Jun 15 2012 rpcbind -rwxr-xr-x 1 root root 2921 Aug 1 2012 rrdcached -rwxr-xr-x 1 root root 4395 Oct 4 2011 rsync -rwxr-xr-x 1 root root 3054 Oct 7 2014 rsyslog -rwxr-xr-x 1 root root 3023 Jun 22 2014 samba -rwxr-xr-x 1 root root 3200 Oct 15 2012 sendsigs -rwxr-xr-x 1 root root 590 Oct 15 2012 single -rw-r--r-- 1 root root 4290 Oct 15 2012 skeleton -rwxr-xr-x 1 root root 18483 Jun 19 2011 smartd -rwxr-xr-x 1 root root 3505 Jun 19 2011 smartmontools -rwxr-xr-x 1 root root 3239 Sep 21 2014 snmpd -rwxr-xr-x 1 root root 3881 Jun 28 2014 ssh -rwxr-xr-x 1 root root 567 May 19 2013 stop-bootlogd -rwxr-xr-x 1 root root 1143 May 19 2013 stop-bootlogd-single -rwxr-xr-x 1 root root 714 Jun 28 2012 sudo -rwxr-xr-x 1 root root 4249 May 27 21:02 syncthing -rwxr-xr-x 1 root root 2022 Jun 29 2012 tftpd-hpa -rwxr-xr-x 1 root root 8827 Nov 8 2012 udev -rwxr-xr-x 1 root root 1179 Aug 19 2012 udev-mtab -rwxr-xr-x 1 root root 2721 Apr 9 2013 umountfs -rwxr-xr-x 1 root root 2195 Apr 9 2013 umountnfs.sh -rwxr-xr-x 1 root root 1122 Oct 15 2012 umountroot -rwxr-xr-x 1 root root 3111 Oct 15 2012 urandom -rwxr-xr-x 1 root root 2812 Apr 5 2012 watchdog -rwxr-xr-x 1 root root 2106 Apr 5 2012 wd_keepalive -rwxr-xr-x 1 root root 2666 Mar 2 2012 x11-common -rwxr-xr-x 1 root root 3908 Apr 2 02:14 zed -rwxr-xr-x 1 root root 5870 Apr 5 21:55 zfs-mount -rwxr-xr-x 1 root root 2310 Apr 2 02:14 zfs-share
-
update-rc.d syncthing remove
apt-get purge syncthing openmediavault-syncthing
rm -f /etc/init.d/syncthing
reboot
(these all ran without error)
here is what i got from
omv-mkconf omvextrasorg aptclean
apt-get install syncthing
fallowed by
apt-get install openmediavault-syncthingroot@Vault:~# omv-mkconf omvextrasorg aptclean
1. Cleaning apt cache files...2. Clearing available dpkg packages...
3. Removing apt lists...
removal ran just fine. but i had to remove it to fit in the post
4. Purging internal cache ...
5. Removing OpenMediaVault cache packages...
removed `/var/cache/openmediavault/archives/Packages'
6. Creating new OpenMediaVault packages file...
7. Updating apt...
Ign file: Release.gpg
Ign file: Release
Ign file: Translation-en
(shortened to fit in post)
Fetched 18.2 MB in 9s (1822 kB/s)
Creating index of upgradeable packages ...
Creating index of OpenMediaVault plugins ...
Reading package lists... Done
root@Vault:~# apt-get install syncthing
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
syncthing
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 3,203 kB of archives.
After this operation, 0 B of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
syncthing
Install these packages without verification [y/N]? y
Get:1 http://apt.syncthing.net/ syncthing/release syncthing amd64 0.11.6 [3,203 kB]
Fetched 3,203 kB in 5s (585 kB/s)
Selecting previously unselected package syncthing.
(Reading database ... 86884 files and directories currently installed.)
Unpacking syncthing (from .../syncthing_0.11.6_amd64.deb) ...
Setting up syncthing (0.11.6) ...
Creating index of upgradeable packages ...
Creating index of OpenMediaVault plugins ...
root@Vault:~# apt-get install openmediavault-syncthing
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
openmediavault-syncthing
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 17.8 kB of archives.
After this operation, 127 kB of additional disk space will be used.
Get:1 http://packages.omv-extras.org/debian/ stoneburner-btsync/main openmediava ult-syncthing all 1.4 [17.8 kB]
Fetched 17.8 kB in 0s (37.9 kB/s)
Selecting previously unselected package openmediavault-syncthing.
(Reading database ... 86891 files and directories currently installed.)
Unpacking openmediavault-syncthing (from .../openmediavault-syncthing_1.4_all.de b) ...
Processing triggers for openmediavault ...
Restarting engine daemon ...
Setting up openmediavault-syncthing (1.4) ...
insserv: script syncthing: service server already provided!
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing openmediavault-syncthing (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for openmediavault ...
Updating locale files ...
Updating file permissions ...
Purging internal cache ...
Restarting engine daemon ...
Errors were encountered while processing:
openmediavault-syncthing
Creating index of upgradeable packages ...
Creating index of OpenMediaVault plugins ...
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@Vault:~# -
I have tried installing it before but have always has this error. i tried an "apt-get purge syncthing" and then tried installing again but I still had errors.
Also the INTERNAL address +:8384 does not work for the gui
any other ideas?Thank you all for the help!!!
root@Vault:~# syncthing
openmediavault-syncthing syncthing
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/3,220 kB of archives.
After this operation, 127 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
syncthing
Install these packages without verification [y/N]? y
[monitor] 21:32:32 INFO: Starting syncthing
Selecting previously unselected package syncthing.
(Reading database ... 86884 files and directories currently installed.)
Unpacking syncthing (from .../syncthing_0.11.6_amd64.deb) ...
Selecting previously unselected package openmediavault-syncthing.
Unpacking openmediavault-syncthing (from .../openmediavault-syncthing_1.4_all.deb) ...
Processing triggers for openmediavault ...
Restarting engine daemon ...
Setting up syncthing (0.11.6) ...
Setting up openmediavault-syncthing (1.4) ...
insserv: script syncthing: service server already provided!
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing openmediavault-syncthing (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for openmediavault ...
Updating locale files ...
Updating file permissions ...
Purging internal cache ...
Restarting engine daemon ...
Errors were encountered while processing:
openmediavault-syncthing
Creating index of upgradeable packages ...
Creating index of OpenMediaVault plugins ...
E: Sub-process /usr/bin/dpkg returned an error code (1)
[start] 21:32:32 INFO: Generating RSA key and certificate for syncthing...
[OBLC3] 21:32:36 INFO: syncthing v0.11.6 (go1.4.2 linux-amd64 default) unknown-user@syncthing-builder 2015-05-23 23:58:46 UTC
[OBLC3] 21:32:36 INFO: My ID: **************************************************************************************8
[OBLC3] 21:32:36 INFO: No config file; starting with empty defaults
[OBLC3] 21:32:36 INFO: Edit /root/.config/syncthing/config.xml to taste or use the GUI
[OBLC3] 21:32:36 INFO: Database block cache capacity 65536 KiB
[OBLC3] 21:32:36 INFO: Starting web GUI on http://127.0.0.1:8384/
[OBLC3] 21:32:36 INFO: Loading HTTPS certificate: open /root/.config/syncthing/https-cert.pem: no such file or directory
[OBLC3] 21:32:36 INFO: Creating new HTTPS certificate
[OBLC3] 21:32:36 INFO: Generating RSA key and certificate for Vault...
[OBLC3] 21:32:43 INFO: Starting local discovery announcements
[OBLC3] 21:32:43 INFO: Starting global discovery announcements
[OBLC3] 21:32:43 OK: Ready to synchronize default (read-write)
[OBLC3] 21:32:43 INFO: Device ****************************************************************************************** is "Vault" at [dynamic]
[OBLC3] 21:32:43 INFO: Completed initial scan (rw) of folder default
[OBLC3] 21:32:55 INFO: New UPnP port mapping: external port 50477 to local port 22000. -
I am getting a error code 1 after installing syncthing. I get this error through ssh and the GUI.
any ideasroot@Vault:~# apt-get install openmediavault-syncthing
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
openmediavault-syncthing
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/16.1 kB of archives.
After this operation, 116 kB of additional disk space will be used.
Selecting previously unselected package openmediavault-syncthing.
(Reading database ... 86891 files and directories currently installed.)
Unpacking openmediavault-syncthing (from .../openmediavault-syncthing_1.3_all.deb) ...
Processing triggers for openmediavault ...
Restarting engine daemon ...
Setting up openmediavault-syncthing (1.3) ...
insserv: script syncthing: service server already provided!
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing openmediavault-syncthing (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for openmediavault ...
Updating locale files ...
Updating file permissions ...
Purging internal cache ...
Restarting engine daemon ...
Errors were encountered while processing:
openmediavault-syncthing
Creating index of upgradeable packages ...
Creating index of OpenMediaVault plugins ...
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@Vault:~# -
I THINK i am competent enough to set up the connection but what about MAKING transmission (only) use that new connection... i guess its not clear in what order each command should be run and the Name of the VPN client conection.
Port forwarding my Plex through a VPN is a rabbit hole im trying to avoid..
THINK is the key word for this post!!!
-
Would someone here that has gotten this to work make a list of steps? I am becoming more lost every time I read through this thread.
I have general knowledge of CLI and Linux...
Also will the apt-get openvpn mess with the OPENVPN plugin???
thank you all in advance!!!!!!!!
-
I would like to use Transmission to download torrents anonymously with my private internet access service that I pay for.
Is there a way to set up only Transmission to use a PPTP, SOCKS5 , IPSEC / L2TP or OpenVPN SSL?
I don't want my Plex or BTSync to be routed somewhere elseCould I Do this with Downloader Plug-in???
-
I can't tell if it is safe for me to upgrade my OMV from 0.5.53 to .6
the plugin i have installed are listed.
Plex
OpenVPN
Bitsync
MySQL (part of WordPress)
WordPressMySQL & WordPress could be uninstalled if that helps.
And if someone wanted to Repost the Command that would be amazing as well!
Big thanks to the OMV team you guys are amazing!!!!!!!!!
-
this would be very helpful to know!
-
here is the output
Pi virtualbox-4.3 4.3.8-92456~Debian~squeeze oracal
Virtualbox -
I know enough to be dangers but am learning....
i think the plugin did not fully uninstall.Any help to teach me what i did wrong would be nice so i dont make the same mistake
Thank you in advanced!!!!!!!
-
I was having problems with virtual box freezing during Windows (7,8,8.1&server2012) install. so i uninstalled the plugin...
now when i run update manager i get an error.Failed to execute command 'export LANG=C; apt-get --show-upgraded --simulate dist-upgrade 2>&1': Reading package lists... Building dependency tree... Reading state information... You might want to run 'apt-get -f install' to correct these. The following packages have unmet dependencies: virtualbox-4.3 : Depends: libgl1-mesa-glx but it is not installed or libgl1 Depends: libqt4-network (>= 4:4.5.3) but it is not installed Depends: libqt4-opengl (>= 4:4.5.3) but it is not installed Depends: libqtcore4 (>= 4:4.6.1) but it is not installed Depends: libqtgui4 (>= 4:4.6.2) but it is not installed Depends: libsdl1.2debian (>= 1.2.10-1) but it is not installed Depends: libxcursor1 (> 1.1.2) but it is not installed Depends: libxext6 but it is not installed Depends: libxinerama1 but it is not installed Depends: libxmu6 but it is not installed Depends: libxt6 but it is not installed E: Unmet dependencies. Try using -f.
Error #4000:
exception 'OMVException' with message 'Failed to execute command 'export LANG=C; apt-get --show-upgraded --simulate dist-upgrade 2>&1': Reading package lists...Building dependency tree...
Reading state information...
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
virtualbox-4.3 : Depends: libgl1-mesa-glx but it is not installed or
libgl1
Depends: libqt4-network (>= 4:4.5.3) but it is not installed
Depends: libqt4-opengl (>= 4:4.5.3) but it is not installed
Depends: libqtcore4 (>= 4:4.6.1) but it is not installed
Depends: libqtgui4 (>= 4:4.6.2) but it is not installed
Depends: libsdl1.2debian (>= 1.2.10-1) but it is not installed
Depends: libxcursor1 (> 1.1.2) but it is not installed
Depends: libxext6 but it is not installed
Depends: libxinerama1 but it is not installed
Depends: libxmu6 but it is not installed
Depends: libxt6 but it is not installed
E: Unmet dependencies. Try using -f.' in /usr/share/openmediavault/engined/rpc/apt.inc:141
Stack trace:
#0 [internal function]: OMVRpcServiceApt->getUpgraded(Array, Array)
#1 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
#2 /usr/share/php/openmediavault/rpc.inc(62): OMVRpcServiceAbstract->callMethod('getUpgraded', Array, Array)
#3 /usr/sbin/omv-engined(495): OMVRpc::exec('Apt', 'getUpgraded', Array, Array, 1)
#4 {main}Any help would be aprishiated!!!!
Setup is a Dell T110 II
E3-1230 V2
16Gb DDR3 1600Mhz
5x3Tb Red drives in raid 5
OMV 0.5.39 -
im trying to run through this list to mine "bitcoins from my OMV Nas any help...?
the first list of apt-get does not work... (3)1) Get your hands on some ASICMiner Block Erupter USB’s
2) Get Debian on something with USB ports.
3) apt-get stuff.
apt-get install autoconf gcc make git libcurl4-openssl-dev libncurses5-dev libtool libjansson-dev libudev-dev libusb-1.0-0-dev4) Clone cgminer source
cd /usr/src/
git clone https://github.com/ckolivas/cgminer.git5) Run autogen.sh
cd cgminer
./autogen.sh --enable-icarus6) Compile
make7) Plug your ASICMiner Block Erupter USB’s into the USB ports of your device.
Run
./cgminer -o http://your.pool.com:8332 -u username_worker -p yourpassword9) Profit