How-To Skype w platformie HD (HD Station) QNAP

Dyskusja w 'HybridDesk Station (XBMC, ...) (HD_Station)' rozpoczęta przez użytkownika pawurb1978, 3 Czerwiec 2013.

Ładowanie...
  1. Silas Mariusz
    Online

    Silas Mariusz SysOp Administrator

    Dołączył:
    5 Kwiecień 2008
    Wiadomości:
    6 635
    Miejscowość:
    Nowy Sącz
    Local Time:
    20:03
    Oceny:
    +1 478 / 30 / -6
    Followers:
    25
    QNAP:
    TVS-x71
    Ethernet:
    1 GbE
    TVS-x71 1 GbE
    Wylistuj paczki:
    Kod (Bash):
    1. dpkg -l | grep "gnome"
     
  2. pawurb1978
    Offline

    pawurb1978 Virtualization Q's Architect

    Dołączył:
    16 Marzec 2012
    Wiadomości:
    672
    Local Time:
    20:03
    Oceny:
    +197 / 2 / -2
    Followers:
    1
    QNAP:
    TS-x70 Pro
    Synology:
    DS 213
    Ethernet:
    1 GbE
    TS-x70 Pro 1 GbE
    Kod (Bash):
    1. root@QNAP-NAS:~# dpkg -l | grep "gnome"
    2. iU compiz-gnome 1:0.9.7.12-0ubuntu1 OpenGL window and compositing manager - GNOME window decorator
    3. iU gir1.2-gnomebluetooth-1.0 3.2.2-0ubuntu5 Introspection data for GnomeBluetooth
    4. iU gnome-accessibility-themes 3.4.1-0ubuntu1.2 accessibility themes for the GNOME desktop
    5. iU gnome-applets 3.4.1-0ubuntu1 Various applets for the GNOME panel - binary files
    6. iU gnome-applets-data 3.4.1-0ubuntu1 Various applets for the GNOME panel - data files
    7. iU gnome-backgrounds 3.4.1-1 Set of backgrounds packaged with the GNOME desktop
    8. iU gnome-bluetooth 3.2.2-0ubuntu5 GNOME Bluetooth tools
    9. iU gnome-contacts 3.4.0-1 Contacts manager for GNOME
    10. iU gnome-control-center 1:3.4.2-0ubuntu0.11 utilities to configure the GNOME desktop
    11. iU gnome-control-center-data 1:3.4.2-0ubuntu0.11 configuration applets for GNOME - data files
    12. iU gnome-core 1:3.0+6ubuntu3 The GNOME Desktop Environment -- essential components
    13. iU gnome-desktop3-data 3.4.2-0ubuntu0.1 Common files for GNOME desktop apps
    14. iU gnome-dictionary 3.4.0-1ubuntu0.1 GNOME dictionary application
    15. iU gnome-disk-utility 3.0.2-2ubuntu7 manage and configure disk drives and media
    16. iU gnome-font-viewer 3.4.0-1 font viewer for GNOME
    17. iU gnome-icon-theme 3.4.0-0ubuntu1.1 GNOME Desktop icon theme (small subset)
    18. iU gnome-icon-theme-extras 3.4.0-1 GNOME Desktop icon theme (additional icons)
    19. iU gnome-icon-theme-full 3.4.0-0ubuntu1.1 GNOME Desktop icon theme
    20. iU gnome-icon-theme-symbolic 3.4.0-1 GNOME desktop icon theme (symbolic icons)
    21. iU gnome-js-common 0.1.2-1 Common modules for GNOME JavaScript interpreters
    22. iU gnome-keyring 3.2.2-2ubuntu4.1 GNOME keyring services (daemon and tools)
    23. iU gnome-media 3.4.0-0ubuntu3.1 GNOME media utilities
    24. iU gnome-menus 3.4.0-0ubuntu1 GNOME implementation of the freedesktop menu specification
    25. iU gnome-online-accounts 3.4.0-0ubuntu1.1 GNOME Online Accounts
    26. iU gnome-panel 1:3.4.1-0ubuntu1.1 launcher and docking facility for GNOME
    27. iU gnome-panel-data 1:3.4.1-0ubuntu1.1 common files for the GNOME Panel
    28. iU gnome-power-manager 3.4.0-0ubuntu1.1 power management tool for the GNOME desktop
    29. iU gnome-screensaver 3.4.1-0ubuntu1 GNOME screen saver and locker
    30. iU gnome-screenshot 3.4.1-0ubuntu1.1 screenshot application for GNOME
    31. iU gnome-search-tool 3.4.0-1 GNOME tool to search files
    32. iU gnome-session 3.2.1-0ubuntu8 GNOME Session Manager - GNOME 3 session
    33. iU gnome-session-bin 3.2.1-0ubuntu8 GNOME Session Manager - Minimal runtime
    34. iU gnome-session-common 3.2.1-0ubuntu8 GNOME Session Manager - common files
    35. iU gnome-session-fallback 3.2.1-0ubuntu8 GNOME Session Manager - GNOME fallback session
    36. iU gnome-settings-daemon 3.4.2-0ubuntu0.6.2 daemon handling the GNOME session settings
    37. iU gnome-shell 3.4.1-0ubuntu2 graphical shell for the GNOME desktop
    38. iU gnome-shell-common 3.4.1-0ubuntu2 common files for the GNOME graphical shell
    39. iU gnome-system-log 3.4.1-0ubuntu1 system log viewer for GNOME
    40. iU gnome-system-monitor 3.4.1-0ubuntu1 Process viewer and system resource monitor for GNOME
    41. iU gnome-terminal 3.4.1.1-0ubuntu1 GNOME terminal emulator application
    42. iU gnome-terminal-data 3.4.1.1-0ubuntu1 Data files for the GNOME terminal emulator
    43. iU gnome-themes-standard 3.4.1-0ubuntu1.2 Standard gnome themes
    44. iU gnome-user-guide 3.4.1-1 GNOME user's guide
    45. iU gnome-user-share 3.0.2-0ubuntu1 User level public file sharing via WebDAV or ObexFTP
    46. iU libgnome-bluetooth8 3.2.2-0ubuntu5 GNOME Bluetooth tools - support library
    47. iU libgnome-control-center1 1:3.4.2-0ubuntu0.11 utilities to configure the GNOME desktop
    48. iU libgnome-desktop-3-2 3.4.2-0ubuntu0.1 Utility library for loading .desktop files - runtime files
    49. iU libgnome-keyring-common 3.2.2-2 GNOME keyring services library - data files
    50. iU libgnome-keyring0 3.2.2-2 GNOME keyring services library
    51. iU libgnome-media-profiles-3.0-0 3.0.0-1 GNOME Media Profiles library
    52. iU libgnome-menu-3-0 3.4.0-0ubuntu1 GNOME implementation of the freedesktop menu specification
    53. iU libgnome-menu2 3.0.1-0ubuntu7 GNOME implementation of the freedesktop menu specification
    54. iU libgnome2-common 2.32.1-2ubuntu1.1 The GNOME library - common files
    55. iU libgnomekbd-common 3.4.0.2-1ubuntu0.1 GNOME library to manage keyboard configuration - common files
    56. iU libgnomekbd7 3.4.0.2-1ubuntu0.1 GNOME library to manage keyboard configuration - shared library
    57. iU libpam-gnome-keyring 3.2.2-2ubuntu4.1 PAM module to unlock the GNOME keyring upon login
    58. iU libsoup-gnome2.4-1 2.38.1-1 HTTP library implementation in C -- GNOME support library
    59. iU network-manager-gnome 0.9.4.1-0ubuntu2.3 network management framework (GNOME frontend)
    60. iU policykit-1-gnome 0.105-1ubuntu3.1 GNOME
     
  3. Silas Mariusz
    Online

    Silas Mariusz SysOp Administrator

    Dołączył:
    5 Kwiecień 2008
    Wiadomości:
    6 635
    Miejscowość:
    Nowy Sącz
    Local Time:
    20:03
    Oceny:
    +1 478 / 30 / -6
    Followers:
    25
    QNAP:
    TVS-x71
    Ethernet:
    1 GbE
    TVS-x71 1 GbE
    Zainstaluj reszte paczek.
    Kod (Bash):
    1. apt-get install gnome-core gnome-session-fallback gnome-desktop-environment
    2. apt-get install xfonts-100dpi xfonts-100dpi-transcoded xfonts-75dpi xfonts-75dpi-transcoded xfonts-base
    3. apt-get install vnc4server
    A to srodowisko XFCE:
    Kod (Bash):
    1. apt-get install xfce4 xfce4-goodies
    Cały desktop:
    Kod (Bash):
    1. apt-get install xubuntu-desktop
     
  4. pawurb1978
    Offline

    pawurb1978 Virtualization Q's Architect

    Dołączył:
    16 Marzec 2012
    Wiadomości:
    672
    Local Time:
    20:03
    Oceny:
    +197 / 2 / -2
    Followers:
    1
    QNAP:
    TS-x70 Pro
    Synology:
    DS 213
    Ethernet:
    1 GbE
    TS-x70 Pro 1 GbE
    Niestety jest problem
    Kod (Bash):
    1. root@QNAP-NAS:~# apt-get install gnome-core gnome-session-fallback gnome-desktop-environment
    2. Reading package lists... Done
    3. Building dependency tree
    4. Reading state information... Done
    5. gnome-core is already the newest version.
    6. gnome-session-fallback is already the newest version.
    7. You might want to run 'apt-get -f install' to correct these:
    8. The following packages have unmet dependencies:
    9.  gnome-bluetooth : Depends: consolekit but it is not going to be installed
    10.  gnome-desktop-environment : Depends: gnome (>= 1:3.0+6ubuntu3) but it is not going to be installed
    11.  gnome-power-manager : Depends: consolekit but it is not going to be installed
    12.  policykit-1 : Depends: consolekit but it is not going to be installed
    13.  pulseaudio : Depends: consolekit but it is not going to be installed
    14.               Recommends: pulseaudio-module-x11 but it is not going to be installed
    15.               Recommends: rtkit but it is not going to be installed
    16. E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    17.  
    --- Połączono posty, 12 Czerwiec 2013, Data oryginalnego postu: 12 Czerwiec 2013 ---
    próbowałem z apt-get -f install
     
  5. Silas Mariusz
    Online

    Silas Mariusz SysOp Administrator

    Dołączył:
    5 Kwiecień 2008
    Wiadomości:
    6 635
    Miejscowość:
    Nowy Sącz
    Local Time:
    20:03
    Oceny:
    +1 478 / 30 / -6
    Followers:
    25
    QNAP:
    TVS-x71
    Ethernet:
    1 GbE
    TVS-x71 1 GbE
    Kod (Bash):
    1. apt-get -f install #bez wskazania paczki
     
  6. pawurb1978
    Offline

    pawurb1978 Virtualization Q's Architect

    Dołączył:
    16 Marzec 2012
    Wiadomości:
    672
    Local Time:
    20:03
    Oceny:
    +197 / 2 / -2
    Followers:
    1
    QNAP:
    TS-x70 Pro
    Synology:
    DS 213
    Ethernet:
    1 GbE
    TS-x70 Pro 1 GbE
    Kod (Text):
    1. root@QNAP-NAS:~# apt-get -f install
    2. Reading package lists... Done
    3. Building dependency tree
    4. Reading state information... Done
    5. Correcting dependencies... Done
    6. The following packages were automatically installed and are no longer required:
    7.   libsub-name-perl libparse-debianchangelog-perl libtimedate-perl libcwidget3 libboost-iostreams1.46.1 libio-string-perl libclass-accessor-perl
    8. Use 'apt-get autoremove' to remove them.
    9. The following extra packages will be installed:
    10.   consolekit
    11. The following NEW packages will be installed:
    12.   consolekit
    13. 0 upgraded, 1 newly installed, 0 to remove and 133 not upgraded.
    14. 511 not fully installed or removed.
    15. Need to get 0 B/115 kB of archives.
    16. After this operation, 551 kB of additional disk space will be used.
    17. Do you want to continue [Y/n]? y
    18. (Reading database ... 93929 files and directories currently installed.)
    19. Unpacking consolekit (from .../consolekit_0.4.5-2_amd64.deb) ...
    20. Can't exec "insserv": No such file or directory at /usr/sbin/update-rc.d line 402.
    21. update-rc.d: error: insserv rejected the script header
    22. dpkg: error processing /var/cache/apt/archives/consolekit_0.4.5-2_amd64.deb (--unpack):
    23. subprocess new pre-installation script returned error exit status 255
    24. Errors were encountered while processing:
    25. /var/cache/apt/archives/consolekit_0.4.5-2_amd64.deb
    26. E: Sub-process /usr/bin/dpkg returned an error code (1)
    27.  
     
  7. Silas Mariusz
    Online

    Silas Mariusz SysOp Administrator

    Dołączył:
    5 Kwiecień 2008
    Wiadomości:
    6 635
    Miejscowość:
    Nowy Sącz
    Local Time:
    20:03
    Oceny:
    +1 478 / 30 / -6
    Followers:
    25
    QNAP:
    TVS-x71
    Ethernet:
    1 GbE
    TVS-x71 1 GbE
    Leć dalej z pozostałymi :)
     
  8. pawurb1978
    Offline

    pawurb1978 Virtualization Q's Architect

    Dołączył:
    16 Marzec 2012
    Wiadomości:
    672
    Local Time:
    20:03
    Oceny:
    +197 / 2 / -2
    Followers:
    1
    QNAP:
    TS-x70 Pro
    Synology:
    DS 213
    Ethernet:
    1 GbE
    TS-x70 Pro 1 GbE
    W tym problem że trochę kręcę się w kółko
    Kod (Bash):
    1. root@QNAP-NAS:~# apt-get install xfonts-100dpi xfonts-100dpi-transcoded xfonts-75dpi xfonts-75dpi-transcoded xfonts-base
    2. Reading package lists... Done
    3. Building dependency tree
    4. Reading state information... Done
    5. xfonts-base is already the newest version.
    6. xfonts-base set to manually installed.
    7. xfonts-100dpi is already the newest version.
    8. xfonts-75dpi is already the newest version.
    9. You might want to run 'apt-get -f install' to correct these:
    10. The following packages have unmet dependencies:
    11.  gnome-bluetooth : Depends: consolekit but it is not going to be installed
    12.  gnome-power-manager : Depends: consolekit but it is not going to be installed
    13.  policykit-1 : Depends: consolekit but it is not going to be installed
    14.  pulseaudio : Depends: consolekit but it is not going to be installed
    15.               Recommends: pulseaudio-module-x11 but it is not going to be installed
    16.               Recommends: rtkit but it is not going to be installed
    17. E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    18.  
    --- Połączono posty, 12 Czerwiec 2013, Data oryginalnego postu: 12 Czerwiec 2013 ---
    Kod (Bash):
    1. root@QNAP-NAS:~# apt-get install vnc4server
    2. Reading package lists... Done
    3. Building dependency tree
    4. Reading state information... Done
    5. You might want to run 'apt-get -f install' to correct these:
    6. The following packages have unmet dependencies:
    7.  gnome-bluetooth : Depends: consolekit but it is not going to be installed
    8.  gnome-power-manager : Depends: consolekit but it is not going to be installed
    9.  policykit-1 : Depends: consolekit but it is not going to be installed
    10.  pulseaudio : Depends: consolekit but it is not going to be installed
    11.               Recommends: pulseaudio-module-x11 but it is not going to be installed
    12.               Recommends: rtkit but it is not going to be installed
    13.  vnc4server : Depends: xbase-clients but it is not going to be installed
    14. E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
     
  9. Silas Mariusz
    Online

    Silas Mariusz SysOp Administrator

    Dołączył:
    5 Kwiecień 2008
    Wiadomości:
    6 635
    Miejscowość:
    Nowy Sącz
    Local Time:
    20:03
    Oceny:
    +1 478 / 30 / -6
    Followers:
    25
    QNAP:
    TVS-x71
    Ethernet:
    1 GbE
    TVS-x71 1 GbE
    Kod (Bash):
    1. apt-get install insserv
    2. apt-get -f install
    3. apt-get install xbase-clients
    4. apt-get install vnc4server
    5. vncserver --help
     
  10. pawurb1978
    Offline

    pawurb1978 Virtualization Q's Architect

    Dołączył:
    16 Marzec 2012
    Wiadomości:
    672
    Local Time:
    20:03
    Oceny:
    +197 / 2 / -2
    Followers:
    1
    QNAP:
    TS-x70 Pro
    Synology:
    DS 213
    Ethernet:
    1 GbE
    TS-x70 Pro 1 GbE
    Kod (Bash):
    1. root@QNAP-NAS:~# apt-get install insserv
    2. Reading package lists... Done
    3. Building dependency tree
    4. Reading state information... Done
    5. insserv is already the newest version.
    6. You might want to run 'apt-get -f install' to correct these:
    7. The following packages have unmet dependencies:
    8.  gnome-bluetooth : Depends: consolekit but it is not going to be installed
    9.  gnome-power-manager : Depends: consolekit but it is not going to be installed
    10.  policykit-1 : Depends: consolekit but it is not going to be installed
    11.  pulseaudio : Depends: consolekit but it is not going to be installed
    12.               Recommends: pulseaudio-module-x11 but it is not going to be installed
    13.               Recommends: rtkit but it is not going to be installed
    14. E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    15. root@QNAP-NAS:~# apt-get -f install
    16. Reading package lists... Done
    17. Building dependency tree
    18. Reading state information... Done
    19. Correcting dependencies... Done
    20. The following packages were automatically installed and are no longer required:
    21.   libsub-name-perl libparse-debianchangelog-perl libtimedate-perl libcwidget3 libboost-iostreams1.46.1 libio-string-perl libclass-accessor-perl
    22. Use 'apt-get autoremove' to remove them.
    23. The following extra packages will be installed:
    24.   consolekit
    25. The following NEW packages will be installed:
    26.   consolekit
    27. 0 upgraded, 1 newly installed, 0 to remove and 133 not upgraded.
    28. 511 not fully installed or removed.
    29. Need to get 0 B/115 kB of archives.
    30. After this operation, 551 kB of additional disk space will be used.
    31. Do you want to continue [Y/n]? y
    32. (Reading database ... 93929 files and directories currently installed.)
    33. Unpacking consolekit (from .../consolekit_0.4.5-2_amd64.deb) ...
    34. Can't exec "insserv": No such file or directory at /usr/sbin/update-rc.d line 402.
    35. update-rc.d: error: insserv rejected the script header
    36. dpkg: error processing /var/cache/apt/archives/consolekit_0.4.5-2_amd64.deb (--unpack):
    37. subprocess new pre-installation script returned error exit status 255
    38. Errors were encountered while processing:
    39. /var/cache/apt/archives/consolekit_0.4.5-2_amd64.deb
    40. E: Sub-process /usr/bin/dpkg returned an error code (1)
    41.  
     
  11. Silas Mariusz
    Online

    Silas Mariusz SysOp Administrator

    Dołączył:
    5 Kwiecień 2008
    Wiadomości:
    6 635
    Miejscowość:
    Nowy Sącz
    Local Time:
    20:03
    Oceny:
    +1 478 / 30 / -6
    Followers:
    25
    QNAP:
    TVS-x71
    Ethernet:
    1 GbE
    TVS-x71 1 GbE
    Wklej output z:
    Kod (Bash):
    1. env
    oraz z:
    Kod (Bash):
    1. export
     
  12. pawurb1978
    Offline

    pawurb1978 Virtualization Q's Architect

    Dołączył:
    16 Marzec 2012
    Wiadomości:
    672
    Local Time:
    20:03
    Oceny:
    +197 / 2 / -2
    Followers:
    1
    QNAP:
    TS-x70 Pro
    Synology:
    DS 213
    Ethernet:
    1 GbE
    TS-x70 Pro 1 GbE
    Kod (Bash):
    1. root@QNAP-NAS:~# env
    2. HOSTNAME=QNAP-NAS
    3. QPKG_CLASS=HD_Station
    4. LIBVA_DRIVERS_PATH=/usr/lib64/dri
    5. SHELL=/bin/sh
    6. TERM=xterm
    7. HISTSIZE=1000
    8. SSH_CLIENT=83.14.69.37 56809 22
    9. PLATFORM_NAME=TS-NASX86
    10. CHROOT_DIR=/
    11. SSH_TTY=/dev/pts/3
    12. LC_ALL=en_US.UTF-8
    13. rootdrive=MD0_DATA
    14. SDL_VIDEODRIVER=x11
    15. USER=root
    16. HISTFILESIZE=2000
    17. LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
    18. MODEL_NAME=TS-269
    19. PAGER=/bin/more
    20. PATH=/opt/google/default_chrome:/usr/local/bin:/opt/startup_shell:/opt/bin:/usr/sbin:/usr/bin:/sbin:/bin:.
    21. MAIL=/var/mail/admin
    22. PWD=/root
    23. INPUTRC=/etc/inputrc
    24. EDITOR=/bin/vi
    25. LANG=en_US.UTF-8
    26. DMALLOC_OPTIONS=debug=0x34f47d83,inter=100,log=logfile
    27. hds_dir=HD_Station
    28. PS1=\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\u@\h:\w\$
    29. HOME=/root
    30. SHLVL=2
    31. LOGNAME=root
    32. QPKG_CATEGORY=HD_Station
    33. SSH_CONNECTION=83.14.69.37 56809 192.168.1.170 22
    34. LC_CTYPE=en_US.UTF-8
    35. LESSOPEN=| /bin/lesspipe %s
    36. DISPLAY=:0
    37. LESSCLOSE=/bin/lesspipe %s %s
    38. _=/usr/bin/env
    39. OLDPWD=/
    40.  
    Kod (Bash):
    1. root@QNAP-NAS:~# export
    2. declare -x CHROOT_DIR="/"
    3. declare -x DISPLAY=":0"
    4. declare -x DMALLOC_OPTIONS="debug=0x34f47d83,inter=100,log=logfile"
    5. declare -x EDITOR="/bin/vi"
    6. declare -x HISTFILESIZE="2000"
    7. declare -x HISTSIZE="1000"
    8. declare -x HOME="/root"
    9. declare -x HOSTNAME="QNAP-NAS"
    10. declare -x INPUTRC="/etc/inputrc"
    11. declare -x LANG="en_US.UTF-8"
    12. declare -x LC_ALL="en_US.UTF-8"
    13. declare -x LC_CTYPE="en_US.UTF-8"
    14. declare -x LESSCLOSE="/bin/lesspipe %s %s"
    15. declare -x LESSOPEN="| /bin/lesspipe %s"
    16. declare -x LIBVA_DRIVERS_PATH="/usr/lib64/dri"
    17. declare -x LOGNAME="root"
    18. declare -x LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:"
    19. declare -x MAIL="/var/mail/admin"
    20. declare -x MODEL_NAME="TS-269"
    21. declare -x OLDPWD="/"
    22. declare -x PAGER="/bin/more "
    23. declare -x PATH="/opt/google/default_chrome:/usr/local/bin:/opt/startup_shell:/opt/bin:/usr/sbin:/usr/bin:/sbin:/bin:."
    24. declare -x PLATFORM_NAME="TS-NASX86"
    25. declare -x PS1="\\[\\e]0;\\u@\\h: \\w\\a\\]\${debian_chroot:+(\$debian_chroot)}\\u@\\h:\\w\\\$ "
    26. declare -x PWD="/root"
    27. declare -x QPKG_CATEGORY="HD_Station"
    28. declare -x QPKG_CLASS="HD_Station"
    29. declare -x SDL_VIDEODRIVER="x11"
    30. declare -x SHELL="/bin/sh"
    31. declare -x SHLVL="2"
    32. declare -x SSH_CLIENT="83.14.69.37 56809 22"
    33. declare -x SSH_CONNECTION="83.14.69.37 56809 192.168.1.170 22"
    34. declare -x SSH_TTY="/dev/pts/3"
    35. declare -x TERM="xterm"
    36. declare -x USER="root"
    37. declare -x hds_dir="HD_Station"
    38. declare -x rootdrive="MD0_DATA"
    39.  
     
  13. Silas Mariusz
    Online

    Silas Mariusz SysOp Administrator

    Dołączył:
    5 Kwiecień 2008
    Wiadomości:
    6 635
    Miejscowość:
    Nowy Sącz
    Local Time:
    20:03
    Oceny:
    +1 478 / 30 / -6
    Followers:
    25
    QNAP:
    TVS-x71
    Ethernet:
    1 GbE
    TVS-x71 1 GbE
    Metoda nie jest najlepsza - w ogole z niej nie powinnismy korzystać ;)

    Sprawdz czy masz dostep do polecenia:
    Kod (Bash):
    1. insserv
    Jesli nie, to zrobmy na sztywno fikcyjnie:
    Kod (Bash):
    1. touch /usr/local/bin/insserv
    2. chmod a+x /usr/local/bin/insserv
    3. echo '#!/usr/bin/sh' > /usr/local/bin/insserv
    4. echo 'exit 0' >> /usr/local/bin/insserv
    sprawdz czy output jest prawidlowy:
    Kod (Bash):
    1. cat /usr/local/bin/insserv
    Kod (Text):
    1. #!/usr/bin/sh
    2. exit 0
    ponownie sprawdzy czy masz insserv
    Kod (Bash):
    1. insserv
     
  14. pawurb1978
    Offline

    pawurb1978 Virtualization Q's Architect

    Dołączył:
    16 Marzec 2012
    Wiadomości:
    672
    Local Time:
    20:03
    Oceny:
    +197 / 2 / -2
    Followers:
    1
    QNAP:
    TS-x70 Pro
    Synology:
    DS 213
    Ethernet:
    1 GbE
    TS-x70 Pro 1 GbE
    Kod (Bash):
    1. root@QNAP-NAS:~# insserv
    2. bash: insserv: command not found
    3. root@QNAP-NAS:~# touch /usr/local/bin/insserv
    4. root@QNAP-NAS:~# echo '#!/usr/bin/sh' > insserv
    5. root@QNAP-NAS:~# echo 'exit 0' >> insserv
    6. root@QNAP-NAS:~# cat insserv
    7. #!/usr/bin/sh
    8. exit 0
    9. root@QNAP-NAS:~# insserv
    10. bash: /usr/local/bin/insserv: Permission denied
    11.  
    Wybacz uprzedzam że to zaczyna wykraczać poza moją wiedzę :DNormalnie w takich wypadkach zaczynam kopać w google i uczyć się na błędach więc nie irytuj się moim ewentualnym lamerstwem.
     
  15. Silas Mariusz
    Online

    Silas Mariusz SysOp Administrator

    Dołączył:
    5 Kwiecień 2008
    Wiadomości:
    6 635
    Miejscowość:
    Nowy Sącz
    Local Time:
    20:03
    Oceny:
    +1 478 / 30 / -6
    Followers:
    25
    QNAP:
    TVS-x71
    Ethernet:
    1 GbE
    TVS-x71 1 GbE
    Sorki, zapomnialem dodac uprawnien +x
    Kod (Bash):
    1. chmod a+x /usr/local/bin/insserv #nadaje uprawnienie EXEC dla Wszystkich
    2. # Opis: 'a' All, 'u' user, 'g' group, 'o' others;; '+' add, '-' remove;; 'x' exec, 'r' read, 'w' write
    albo prosciej:
    Kod (Bash):
    1. chmod 766 /usr/local/bin/insserv #ustawia uprawnienie 766 dla pliku
    sprawdz
    Kod (Bash):
    1. insserv && echo "Exit, OK: $?" || echo "Fault exit: $?"
     
  16. pawurb1978
    Offline

    pawurb1978 Virtualization Q's Architect

    Dołączył:
    16 Marzec 2012
    Wiadomości:
    672
    Local Time:
    20:03
    Oceny:
    +197 / 2 / -2
    Followers:
    1
    QNAP:
    TS-x70 Pro
    Synology:
    DS 213
    Ethernet:
    1 GbE
    TS-x70 Pro 1 GbE
    Kod (Bash):
    1. [/] # insserv && echo "Exit, OK: $?" || echo "Fault exit: $?"
    2. sh: insserv: command not found
    3. Fault exit: 127
    4.  
    --- Połączono posty, 12 Czerwiec 2013, Data oryginalnego postu: 12 Czerwiec 2013 ---
    Kod (Bash):
    1. [/] # cat insserv
    2. #!/usr/bin/sh
    3. exit 0
    4.  
    5. [~] # insserv
    6. -sh: insserv: command not found
    7.  
     
  17. Silas Mariusz
    Online

    Silas Mariusz SysOp Administrator

    Dołączył:
    5 Kwiecień 2008
    Wiadomości:
    6 635
    Miejscowość:
    Nowy Sącz
    Local Time:
    20:03
    Oceny:
    +1 478 / 30 / -6
    Followers:
    25
    QNAP:
    TVS-x71
    Ethernet:
    1 GbE
    TVS-x71 1 GbE
    a sprobuj...
    Kod (Bash):
    1. /usr/local/bin/insserv && echo "Exit, OK: $?" || echo "Fault exit: $?"
    jesli zadziala, to
    Kod (Bash):
    1. export PATH="$PATH:/usr/local/bin/"
    i ponownie
    Kod (Bash):
    1. insserv && echo "Exit, OK: $?" || echo "Fault exit: $?"
     
  18. ShOcK
    Offline

    ShOcK Entry Technician Q Associate

    Dołączył:
    19 Luty 2013
    Wiadomości:
    62
    Local Time:
    20:03
    Oceny:
    +16 / 0 / -0
    Followers:
    0
    QNAP:
    TS-x59 Pro+
    Ethernet:
    1 GbE
    TS-x59 Pro+ 1 GbE
    Hmm a gdzie debian? ;o
     
  19. Silas Mariusz
    Online

    Silas Mariusz SysOp Administrator

    Dołączył:
    5 Kwiecień 2008
    Wiadomości:
    6 635
    Miejscowość:
    Nowy Sącz
    Local Time:
    20:03
    Oceny:
    +1 478 / 30 / -6
    Followers:
    25
    QNAP:
    TVS-x71
    Ethernet:
    1 GbE
    TVS-x71 1 GbE
    aaaa... ;)
    Kod (Bash):
    1. cp insserv /usr/local/bin/
     
  20. pawurb1978
    Offline

    pawurb1978 Virtualization Q's Architect

    Dołączył:
    16 Marzec 2012
    Wiadomości:
    672
    Local Time:
    20:03
    Oceny:
    +197 / 2 / -2
    Followers:
    1
    QNAP:
    TS-x70 Pro
    Synology:
    DS 213
    Ethernet:
    1 GbE
    TS-x70 Pro 1 GbE
    Kod (Bash):
    1. [/] # /usr/local/bin/insserv && echo "Exit, OK: $?" || echo "Fault exit: $?"
    2. Exit, OK: 0
    3. [/] # export PATH="$PATH:/usr/local/bin/"
    4. [/] # insserv && echo "Exit, OK: $?" || echo "Fault exit: $?"
    5. Exit, OK: 0
    6. [/] # cp insserv /usr/local/bin/
    7.