I'm stuck.
At first I thought it would be just a matter of putting a script in /etc/init.d to start the busybox telnet daemon, but that didn't seem to work so I looked in the custom firmware available for the Foxsat HDR and the HD-Fox T2. Interestingly neither use the busybox telnetd. The hdr foxsat cf doesnt have it built in but installs utelnet package, the T2 does have it in the firmware.
So I grabbed the utelnet daemon package from http://hummypkg.org.uk/foxsat ; I unpacked it with archive manager. Its very simple: executable and start up script, nothing exciting in the extra configuration scripts. I put the executable in /sbin and the startup script in /etc/init.d I checked that pathnames were consistent. Created an hdf and uploaded it.
It didnt work, it takes some time but it eventually comes back with 'connection closed by remote host'
I use putty as client. I can only attempt to access the foxsat by ip address; in the HDR, HD and T2 firmware, /etc/hostname contains the name HDR-5000 so it cant be being used and the box isnt visible in the network (but pingable by ip address).
I noticed the T2 has /etc/hosts.allow containing ALL:ALL . This shouldn't make any difference since that is the default, but just to be sure I added it. As expected it made no difference.
I noticed that /etc/passwd listed /dev/null as the shell for all users listed, effectively disabling them. I dont think this can be my problem (yet), I am not getting that far, but I changed the shell for root to /bin/sh/ Surprisingly this did make a difference, but not a positive one; putty now instantly returns with closed by remote host.
I didn't expect this to be difficult, but working blind (i.e. change the firmware and try putty, without any access to logging) has proved harder than I thought. All the more reason to get this working.
The daemon is started (I hope) with the command "/sbin/utelnetd -l /bin/sh -p 23 -d"
Could the shell be expecting write access to somewhere? (which would mean I will have to bring forward my next mini-project of mounting a usb disk).
At first I thought it would be just a matter of putting a script in /etc/init.d to start the busybox telnet daemon, but that didn't seem to work so I looked in the custom firmware available for the Foxsat HDR and the HD-Fox T2. Interestingly neither use the busybox telnetd. The hdr foxsat cf doesnt have it built in but installs utelnet package, the T2 does have it in the firmware.
So I grabbed the utelnet daemon package from http://hummypkg.org.uk/foxsat ; I unpacked it with archive manager. Its very simple: executable and start up script, nothing exciting in the extra configuration scripts. I put the executable in /sbin and the startup script in /etc/init.d I checked that pathnames were consistent. Created an hdf and uploaded it.
It didnt work, it takes some time but it eventually comes back with 'connection closed by remote host'
I use putty as client. I can only attempt to access the foxsat by ip address; in the HDR, HD and T2 firmware, /etc/hostname contains the name HDR-5000 so it cant be being used and the box isnt visible in the network (but pingable by ip address).
I noticed the T2 has /etc/hosts.allow containing ALL:ALL . This shouldn't make any difference since that is the default, but just to be sure I added it. As expected it made no difference.
I noticed that /etc/passwd listed /dev/null as the shell for all users listed, effectively disabling them. I dont think this can be my problem (yet), I am not getting that far, but I changed the shell for root to /bin/sh/ Surprisingly this did make a difference, but not a positive one; putty now instantly returns with closed by remote host.
I didn't expect this to be difficult, but working blind (i.e. change the firmware and try putty, without any access to logging) has proved harder than I thought. All the more reason to get this working.
The daemon is started (I hope) with the command "/sbin/utelnetd -l /bin/sh -p 23 -d"
Could the shell be expecting write access to somewhere? (which would mean I will have to bring forward my next mini-project of mounting a usb disk).