Kodi Community Forum

Full Version: [RELEASE] Luemmel's DVD-Ripper (Script) for Linux, Mac, and Windows
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
@linuxluemmel

Find ich genial hier einen Schweizer Landsgenossen zu treffen! Mach weiter, gute Arbeit!

Wollt ich mal loswerden.

NodBig Grin
chippyash Wrote:Still no joy. If I try 'ssh xbmc@localhost' I am still required to enter a password despite not having entered one in when ssh-keygen was run in the setup script.

So, what next? I had a look at man ssh and man ssh_config but there is no way to pass a password on the command line using ssh

I would do the following :

erase directory .ssh from your user acount -> example /home/xbmc/.ssh

Erase all ssh server files including configuration files ..... to be later installed again.

apt-get remove --purge openssh-server

Erase content of /etc/ssh

install openssh-server

apt-get install openssh-server

and do run setup.sh again


Regards
Hans

Inside the newest svn release the package makemkv 1.6.4 is allready included since yesterday ,-)
traxxus Wrote:@linuxluemmel

Find ich genial hier einen Schweizer Landsgenossen zu treffen! Mach weiter, gute Arbeit!

Wollt ich mal loswerden.

NodBig Grin

Thanks ;-) But I guess we should keep the thread in english or the operator
will close the thread ,-)

GrĂ¼sse aus Luzern
Hans
linuxluemmel Wrote:I would do the following :

erase directory .ssh from your user acount -> example /home/xbmc/.ssh

Erase all ssh server files including configuration files ..... to be later installed again.

apt-get remove --purge openssh-server

Erase content of /etc/ssh

install openssh-server

apt-get install openssh-server

and do run setup.sh again

argh. I tried that and still no joy. typing
ssh xbmc@localhost
is still asking for a password

This is really bizzare. in addition to my sig. here are some other system details
Ubuntu 10.04 LTS
XBMC is in standalone mode - no window manager is installed (i.e. GDM)
Apache, Samba , NFS and SSH are installed and running

Can you pm me the contents of your /etc/ssh/sshd_config and ssh_config files, or I can send mine. It may be something with the way the server is set up.
Sorry, for the delay but I had in the last days allmost no time respond (work)
At the weekend I could send my configuration.
CU Hans
linuxluemmel Wrote:Sorry, for the delay but I had in the last days allmost no time respond (work)
At the weekend I could send my configuration.
CU Hans
No problem - it can wait ;-)
chippyash Wrote:No problem - it can wait ;-)

ssd deamon configuration :
Code:
# Package generated configuration file
# See the sshd_config(5) manpage for details

# What ports, IPs and protocols we listen for
Port 22
# Use these options to restrict which interfaces/protocols sshd will bind to
#ListenAddress ::
#ListenAddress 0.0.0.0
Protocol 2
# HostKeys for protocol version 2
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
#Privilege Separation is turned on for security
UsePrivilegeSeparation yes

# Lifetime and size of ephemeral version 1 server key
KeyRegenerationInterval 3600
ServerKeyBits 768

# Logging
SyslogFacility AUTH
LogLevel INFO

# Authentication:
LoginGraceTime 120
PermitRootLogin yes
StrictModes yes

RSAAuthentication yes
PubkeyAuthentication yes
#AuthorizedKeysFile    %h/.ssh/authorized_keys

# Don't read the user's ~/.rhosts and ~/.shosts files
IgnoreRhosts yes
# For this to work you will also need host keys in /etc/ssh_known_hosts
RhostsRSAAuthentication no
# similar for protocol version 2
HostbasedAuthentication no
# Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
#IgnoreUserKnownHosts yes

# To enable empty passwords, change to yes (NOT RECOMMENDED)
PermitEmptyPasswords no

# Change to yes to enable challenge-response passwords (beware issues with
# some PAM modules and threads)
ChallengeResponseAuthentication no

# Change to no to disable tunnelled clear text passwords
#PasswordAuthentication yes

# Kerberos options
#KerberosAuthentication no
#KerberosGetAFSToken no
#KerberosOrLocalPasswd yes
#KerberosTicketCleanup yes

# GSSAPI options
#GSSAPIAuthentication no
#GSSAPICleanupCredentials yes

X11Forwarding yes
X11DisplayOffset 10
PrintMotd no
PrintLastLog yes
TCPKeepAlive yes
#UseLogin no

#MaxStartups 10:30:60
#Banner /etc/issue.net

# Allow client to pass locale environment variables
AcceptEnv LANG LC_*

Subsystem sftp /usr/lib/openssh/sftp-server

# Set this to 'yes' to enable PAM authentication, account processing,
# and session processing. If this is enabled, PAM authentication will
# be allowed through the ChallengeResponseAuthentication and
# PasswordAuthentication.  Depending on your PAM configuration,
# PAM authentication via ChallengeResponseAuthentication may bypass
# the setting of "PermitRootLogin without-password".
# If you just want the PAM account and session checks to run without
# PAM authentication, then enable this but set PasswordAuthentication
# and ChallengeResponseAuthentication to 'no'.
UsePAM yes

ssh config file

Code:
# This is the ssh client system-wide configuration file.  See
# ssh_config(5) for more information.  This file provides defaults for
# users, and the values can be changed in per-user configuration files
# or on the command line.

# Configuration data is parsed as follows:
#  1. command line options
#  2. user-specific file
#  3. system-wide file
# Any configuration value is only changed the first time it is set.
# Thus, host-specific definitions should be at the beginning of the
# configuration file, and defaults at the end.

# Site-wide defaults for some commonly used options.  For a comprehensive
# list of available options, their meanings and defaults, please see the
# ssh_config(5) man page.

Host *
#   ForwardAgent no
#   ForwardX11 no
#   ForwardX11Trusted yes
#   RhostsRSAAuthentication no
#   RSAAuthentication yes
#   PasswordAuthentication yes
#   HostbasedAuthentication no
#   GSSAPIAuthentication no
#   GSSAPIDelegateCredentials no
#   GSSAPIKeyExchange no
#   GSSAPITrustDNS no
#   BatchMode no
#   CheckHostIP yes
#   AddressFamily any
#   ConnectTimeout 0
#   StrictHostKeyChecking ask
#   IdentityFile ~/.ssh/identity
#   IdentityFile ~/.ssh/id_rsa
#   IdentityFile ~/.ssh/id_dsa
#   Port 22
#   Protocol 2,1
#   Cipher 3des
#   Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc
#   MACs hmac-md5,hmac-sha1,[email protected],hmac-ripemd160
#   EscapeChar ~
#   Tunnel no
#   TunnelDevice any:any
#   PermitLocalCommand no
#   VisualHostKey no
    SendEnv LANG LC_*
    HashKnownHosts yes
    GSSAPIAuthentication yes
    GSSAPIDelegateCredentials no
Quote:ssd deamon configuration etc
Thanks for that Hans, but my config is exactly the same as yours so it's not that. Confused
I'm going to try and track down some SSH gurus and see if I can't solve it that way.

Cheers
A

ps. don't forget to set me up in SVN.
I made a little update to the svn release that makemkv 1.6.5 can be used to produce mkv from dvd and bluray.
I hope they do not decide to produce 1.6.6 in the next couple of days ...
Installed 6.18 on maverick 10.10. During installation it installed handbrake 9.4.
Start backup and get main screen. Select Transcode dvd from main menu, get the folowing error, "DVD transcoding cold not be started".

Log from userdata/addon-data/script.swiss*/log/ssh.log
dvd0.sh /dev/sr0
dvd1.sh /dev/sr0 1
dvd2.sh


Log from userdata/addon-data/script.swiss*/log/dvd-error.log
INFO default language 1 [en] not found inside track []

Now, if I go to expert and select transcode to iso (confirmed) it works. BUt it would take 6 hours to rip a dvd. I went into .xbmc/addons/script.video.swiss*/shell-linux and edited dvd-iso.sh. I changed line 148 to dd bs=2M if=$1 of=$2/$3.iso (Was bs=2048) and speed is back to normal.

But, I need to find out why the main transcode DVD is giving me that error. Chekced settings.xml in the /userdata/addons-data directory and everything is as it should be. Any suggestions?

Removed 6.18 using addons menu, then deleted folders in home and userdata. Re-installed 6.15, exact same problem, in addtion, BluRay does not work.
speed32219 Wrote:Installed 6.18 on maverick 10.10. During installation it installed handbrake 9.4.
Start backup and get main screen. Select Transcode dvd from main menu, get the folowing error, "DVD transcoding cold not be started".

Log from userdata/addon-data/script.swiss*/log/ssh.log
dvd0.sh /dev/sr0
dvd1.sh /dev/sr0 1
dvd2.sh


Log from userdata/addon-data/script.swiss*/log/dvd-error.log
INFO default language 1 [en] not found inside track []

Now, if I go to expert and select transcode to iso (confirmed) it works. BUt it would take 6 hours to rip a dvd. I went into .xbmc/addons/script.video.swiss*/shell-linux and edited dvd-iso.sh. I changed line 148 to dd bs=2M if=$1 of=$2/$3.iso (Was bs=2048) and speed is back to normal.

But, I need to find out why the main transcode DVD is giving me that error. Chekced settings.xml in the /userdata/addons-data directory and everything is as it should be. Any suggestions?

Removed 6.18 using addons menu, then deleted folders in home and userdata. Re-installed 6.15, exact same problem, in addtion, BluRay does not work.

This error came from the fact that first default language (english) was nout found on the disc.
I do test to replace the bs argument.
Regards
Hans
Hello ._)

By now I have a week free .... I wonna have a funny week on the carneval here .-).

http://en.wikipedia.org/wiki/Lucerne
Regards
Hans
Have a gerat week at carnival. I am heading to New Orleans, LA. this Saturday for a week to make Mardis Gras Carnival here in the US.

Update: Installed fresh Maverick 10.10, latest XBMC from git, and Swiss Army knife (SAK) 6.18.
If I change the default transcode to iso in addons setup of SAK, I get the error listed about not finding en language posted earlier. If I leave it set to h264 high (output mkv using handbrake default) it works, but is running at a turtle pace, in other words slow and not usable.

So, does this use handbrake for all sd dvd ripping?
It didn't in earlier releases or maybe I am getting red-pill confused with SAK. Is that why you use transcode in all your menu entries?
speed32219 Wrote:Have a gerat week at carnival. I am heading to New Orleans, LA. this Saturday for a week to make Mardis Gras Carnival here in the US.

So, does this use handbrake for all sd dvd ripping?
It didn't in earlier releases or maybe I am getting red-pill confused with SAK. Is that why you use transcode in all your menu entries?



Yes, it use Handbrake for all encoding with 3 execptions.

makemkv for all mkv container (dvd and bluray)
dd and rescuedd for iso copy ...

Regards
Hans
linuxluemmel Wrote:Yes, it use Handbrake for all encoding with 3 execptions.

makemkv for all mkv container (dvd and bluray)
dd and rescuedd for iso copy ...

Regards
Hans

Im looking all over and havent found any windows version to rip dvd movies
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44