Okay, so here's the latest. I wanted telnetd from Busybox running with the
ability to ask for a username and password. You need to build Busybox that
way. You need to have support for shadow passwords and login turned on in
Busybox.
That's part 1. Part 2 is you need to have a symbolic link for /bin/login to
busybox. Without this, telnetd logs out the connection immediately.
One remaining issue is that if the user's default shell is /bin/bash then I get
errors when trying to do ls ls: invalid option -- '-'
I think that's a .bashrc problem but using /bin/sh instead works fine.
Now, the last weird thing is that I tried building Busybox 1.17.3 and the
executable file comes out about a third the size. And using it results in a
kernel panic.
--- In "Blair" <> wrote:
>
> No no...you're missing the point. I'm trying to telnet and ftp INTO the 7350
> not out of.
>
> Here's an update: I now have Busybox ftpd working. First off, you need a
> newer Busybox than 1.7.1. I found a 1.14 on the TS website but I may look at
> the latest from the internet later.
>
> So, you configure Busybox to build ftpd and install the new Busybox object
> file into /bin. Then you make a symbolic like from ftpd to Busybox in the
> /sbin directory. Then you edit the inetd.conf file to have the following
> line:
>
> ftp stream tcp nowait root /sbin/ftpd /sbin/ftpd -w
>
> The -w is necessary if you want to be able to upload files to the 7350.
>
> Boot the machine and execute /sbin/inetd (assuming there is a symbolic like
> for inetd).
>
> I think you need an ftpd.conf file in /etc but I'm not 100% sure.
>
> And I also created a writeable partition on the SD card so I can upload files
> to it. (EXT3 and I'm also using a 2.6.34 kernel.)
>
> BUT this still leaves me with a severely broken telnetd system.
> Currently I can connect to it but it immediately disconnects. And it never
> asks for a user or password. Crap. I hate when I waste the better part of a
> week dicking with stuff like this.
>
>
>
>
>
>
>
>
>
>
> --- In juan obando <obandojuan@> wrote:
> >
> >
> > 0) Connect the board to internet!!!
> >
> >
> > 1) Try to use FTP like FTP IPADDRESS, if it is not installed. apt-get
> > install ftp
> >
> >
> > 2) Try to use SSH like if it is not installed, apt-get
> > install ssh
> >
> > 3) I f you try to install the application and it says something like, it is
> > not supported by the kernel change the name of the source.list to LENNY is
> > the actual support for DEBIAN.
> >
> > First, create a new user--> adduser NAME
> > Second, create the password -->password PASWWORD
> > Or create the password for ROOT.
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|