homematic-CCU ftp-server
Moderator: Co-Administratoren
- a.krypthul
- Beiträge: 41
- Registriert: 27.01.2008, 13:51
- Danksagung erhalten: 1 Mal
homematic-CCU ftp-server
Hi,
attached you find a tar-archive with the scripts and the software to install an ftp-daemon on your homematic.
This ftp-daemon is a cross-compiled version from the inetutils (version 1.5) [http://ftp.gnu.org/gnu/inetutils/]
The installation requires two steps:
1. Install the tar-file using "Zusatzsoftware installieren"
Just install the tar-archive - after installation an rebooting you can open a ftp-session (port 21) - but the login-authorization will fail!
2. Create a password for the user "root":
To be able to login to the ftp-server you have to create a password for your user (let´s assume root) - to do this you need a telnet access to your homematic:
[ remark: the setting of a password will NOT affect the passwordless-telnet-access]
after opening a telnet session - just enter "passwd" and follow the instructions !
-> reboot ... the ftpd will automatically start at bootup.
[ remark : I chose this ftp-deamon because it´s a simple way to access the filesystem of the homematic - it´s very stable but it´s not a daemon for a "public" ftp-access !!!
If you want further customizing of the ftp-daemon (welcome-message, user-policy...) read the documentation of the inetutils (man-pages) - the configuration directory is "etc/config".]
-----------------------------------------------
Attaching a USB-Disk or Flash-stick to your homematic
After having installed the ftp-daemon you might want to extend the file-system of the homematic by a usb-stick or a usb-disk.
This is possible : I managed to compile the necessary additional kernel modules and utilities to install (fdisk, format and mount) a disk with ext2-filesystem - so if there are interested users please give feedback - otherwise i will not waste my time creating a description (installation is easy but the creation of the disc requires some documentation - I need to write)
Have a lot of fun with your homematic-CCU
Alex
attached you find a tar-archive with the scripts and the software to install an ftp-daemon on your homematic.
This ftp-daemon is a cross-compiled version from the inetutils (version 1.5) [http://ftp.gnu.org/gnu/inetutils/]
The installation requires two steps:
1. Install the tar-file using "Zusatzsoftware installieren"
Just install the tar-archive - after installation an rebooting you can open a ftp-session (port 21) - but the login-authorization will fail!
2. Create a password for the user "root":
To be able to login to the ftp-server you have to create a password for your user (let´s assume root) - to do this you need a telnet access to your homematic:
[ remark: the setting of a password will NOT affect the passwordless-telnet-access]
after opening a telnet session - just enter "passwd" and follow the instructions !
-> reboot ... the ftpd will automatically start at bootup.
[ remark : I chose this ftp-deamon because it´s a simple way to access the filesystem of the homematic - it´s very stable but it´s not a daemon for a "public" ftp-access !!!
If you want further customizing of the ftp-daemon (welcome-message, user-policy...) read the documentation of the inetutils (man-pages) - the configuration directory is "etc/config".]
-----------------------------------------------
Attaching a USB-Disk or Flash-stick to your homematic
After having installed the ftp-daemon you might want to extend the file-system of the homematic by a usb-stick or a usb-disk.
This is possible : I managed to compile the necessary additional kernel modules and utilities to install (fdisk, format and mount) a disk with ext2-filesystem - so if there are interested users please give feedback - otherwise i will not waste my time creating a description (installation is easy but the creation of the disc requires some documentation - I need to write)
Have a lot of fun with your homematic-CCU
Alex
Re: homematic-CCU ftp-server
Hi...
It seems you're a HomeMatic Guru, he? Thank you very much for sharing this...would it be okay to make copy on my blog-site?
Regards,
kaju
It seems you're a HomeMatic Guru, he? Thank you very much for sharing this...would it be okay to make copy on my blog-site?
Regards,
kaju
HomeMatic-INSIDE: http://www.homematic-inside.de
Re: homematic-CCU ftp-server
Nice work! I am very interested!so if there are interested users please give feedback
- Christoph
-
- Beiträge: 630
- Registriert: 01.11.2007, 21:45
- System: Alternative CCU (auf Basis OCCU)
- Wohnort: Siebengebirge (bei Bonn)
- Hat sich bedankt: 18 Mal
- Danksagung erhalten: 2 Mal
Re: homematic-CCU ftp-server
I think he is very familar with linux. And linux is a well documented OS. So all the friends of windows can learn a new OS .... that's great!kaju74 hat geschrieben:...
It seems you're a HomeMatic Guru, he?
...
Gruß Stefan
- a.krypthul
- Beiträge: 41
- Registriert: 27.01.2008, 13:51
- Danksagung erhalten: 1 Mal
Re: homematic-CCU ftp-server
Sorry guys,
bad news - it seems I was a little bit too early - there are problems with the ftpd when downloading files from the homematic - very often they arrive with zero-length (the strange thing is, from the windows ftp-commandline it works fine )
At the moment I have no idea where the problem is, this daemon works perfect on another embedded ARM-device.
To get rid of that defect program uninstall via telnet
delete the directory /etc/config/asoft
by
cd /etc/config/asoft
rm ftpd
cd ..
rmdir asoft
cd /etc/config/rc.d
rm ftpstart
I´m really sorry !
Alex
bad news - it seems I was a little bit too early - there are problems with the ftpd when downloading files from the homematic - very often they arrive with zero-length (the strange thing is, from the windows ftp-commandline it works fine )
At the moment I have no idea where the problem is, this daemon works perfect on another embedded ARM-device.
To get rid of that defect program uninstall via telnet
delete the directory /etc/config/asoft
by
cd /etc/config/asoft
rm ftpd
cd ..
rmdir asoft
cd /etc/config/rc.d
rm ftpstart
I´m really sorry !
Alex
Re: homematic-CCU ftp-server
No need to be sorry! Every access to the Linux system is try and error because of the lack in documentation.a.krypthul hat geschrieben:I´m really sorry !
- Christoph
- a.krypthul
- Beiträge: 41
- Registriert: 27.01.2008, 13:51
- Danksagung erhalten: 1 Mal
Re: homematic-CCU ftp-server
Hi Christoph
But the good news are: I guess I found the problem - unsuccessfull call of a library-function, but no error message
So now it should work - any feedback is welcome !!
you are absolutely right - the next problem is testing -costs a lot of timeEvery access to the Linux system is try and error because of the lack in documentation.
But the good news are: I guess I found the problem - unsuccessfull call of a library-function, but no error message
So now it should work - any feedback is welcome !!
- Dateianhänge
-
- ftp.tar.gz
- HomeMatic FTP-Daemon install
- (30.66 KiB) 180-mal heruntergeladen
-
- Beiträge: 108
- Registriert: 23.12.2007, 22:51
Re: homematic-CCU ftp-server
Hi
Irgendwie geht das bei mir nicht,wenn ich mit passwd versuche das passwort vorzugeben
bekomme ich die Meldung:password ist changed.
Aber da ist nichts geändert,was mach ich falsch ??
MFG
Siegfried
Irgendwie geht das bei mir nicht,wenn ich mit passwd versuche das passwort vorzugeben
bekomme ich die Meldung:password ist changed.
Aber da ist nichts geändert,was mach ich falsch ??
MFG
Siegfried
- a.krypthul
- Beiträge: 41
- Registriert: 27.01.2008, 13:51
- Danksagung erhalten: 1 Mal
Re: homematic-CCU ftp-server
Hi Siegfried,
As far as I understand the changing of the root password did not work ???
When changing the password you should have a dialog like
Changing password for root
Enter the new password (minimum of 5, maximum of 8 characters)
Please use a combination of upper and lower case letters and numbers.
Enter new password:
Bad password: too simple.
Warning: weak password (continuing).
Re-enter new password:
Password changed.
or when using a strong password :
Changing password for root
Enter the new password (minimum of 5, maximum of 8 characters)
Please use a combination of upper and lower case letters and numbers.
Enter new password:
Re-enter new password:
Password changed.
enter : cd /etc/config
After there you should find 2 files
passwd
passwd-
enter: tail -n 100 passwd
will result in an output like
root:$1$$ugufphkkzPhGRrEH34KyG1:0:0:root:/root:/bin/sh
bin1:1:bin:/bin:
daemon2:2:daemon:/sbin:
adm3:4:adm:/var/adm:
lp4:7:lp:/var/spool/lpd:
sync5:0:sync:/sbin:/bin/sync
shutdown6:0:shutdown:/sbin:/sbin/shutdown
halt7:0:halt:/sbin:/sbin/halt
mail8:12:mail:/var/spool/mail:
news9:13:news:/var/spool/news:
uucp10:14:uucp:/var/spool/uucp:
operator11:0:operator:/root:
games12games:/usr/games:
gopher13:30:gopher:/usr/lib/gopher-data:
ftp14:50:FTP User:/home/ftp:
nobody99:99:Nobody:/:
boa1000:1000:BOA web server:/:
and there you see in the first line the crypted password after the entry root:
If you have the same state then the login to the ftp-daemon should do.
Bye Alex
Fortunately my german reading skills are much better then (bad) writing or (worst) speakingXYZ1234567899 hat geschrieben:Irgendwie geht das bei mir nicht,wenn ich mit passwd versuche das passwort vorzugeben
bekomme ich die Meldung:password ist changed.
Aber da ist nichts geändert,was mach ich falsch ??
As far as I understand the changing of the root password did not work ???
When changing the password you should have a dialog like
Changing password for root
Enter the new password (minimum of 5, maximum of 8 characters)
Please use a combination of upper and lower case letters and numbers.
Enter new password:
Bad password: too simple.
Warning: weak password (continuing).
Re-enter new password:
Password changed.
or when using a strong password :
Changing password for root
Enter the new password (minimum of 5, maximum of 8 characters)
Please use a combination of upper and lower case letters and numbers.
Enter new password:
Re-enter new password:
Password changed.
enter : cd /etc/config
After there you should find 2 files
passwd
passwd-
enter: tail -n 100 passwd
will result in an output like
root:$1$$ugufphkkzPhGRrEH34KyG1:0:0:root:/root:/bin/sh
bin1:1:bin:/bin:
daemon2:2:daemon:/sbin:
adm3:4:adm:/var/adm:
lp4:7:lp:/var/spool/lpd:
sync5:0:sync:/sbin:/bin/sync
shutdown6:0:shutdown:/sbin:/sbin/shutdown
halt7:0:halt:/sbin:/sbin/halt
mail8:12:mail:/var/spool/mail:
news9:13:news:/var/spool/news:
uucp10:14:uucp:/var/spool/uucp:
operator11:0:operator:/root:
games12games:/usr/games:
gopher13:30:gopher:/usr/lib/gopher-data:
ftp14:50:FTP User:/home/ftp:
nobody99:99:Nobody:/:
boa1000:1000:BOA web server:/:
and there you see in the first line the crypted password after the entry root:
If you have the same state then the login to the ftp-daemon should do.
Bye Alex
Re: homematic-CCU ftp-server
Hi Alex,
I tested the new version of the ftpd
and it seems that everything works fine,
up and download of some files worked without any problems,
I used filezilla 3.0.6.
Regarding this password problem,
after deinstallation and reinstalling the new ftpd,
it was not necessary to go again through the password installation process.
fred
I tested the new version of the ftpd
and it seems that everything works fine,
up and download of some files worked without any problems,
I used filezilla 3.0.6.
Regarding this password problem,
after deinstallation and reinstalling the new ftpd,
it was not necessary to go again through the password installation process.
fred