Skip to Content.
Sympa Menu

baslinux - Re: [BL] questions: upgrading BusyBox, DropBear, SSH

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: baslinux AT lists.ibiblio.org
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] questions: upgrading BusyBox, DropBear, SSH
  • Date: Wed, 3 Sep 2008 13:43:04 +0000 (UTC)


6. Lastly: Many of the Linux commands i've learned
from other distros don't work in BL. Specifically,
let's say i want to SSH to one of my BL laptops from
another computer ... how do i find out the hostname
of my BL laptop?


I'm talking about the whole URL or DNS (or whatever
it actually is called) that i need to put in the SSH
command. Other distros have netstat and commands like
this, which don't work in BL.

Instead of netstat try ifconfig, which works for me using a dialup connection (ppp0 section).

Busybox 1.3.2 (compiled by another list member, Karolis, from my configuration) includes netstat and ftpget. It does not work properly with kernel 2.2 so you would also need a 2.4 kernel (I have posted several 2.4.31 kernels, with support for USB storage and framebuffer video). The busybox in BL3.5 is the last one to work right with kernel 2.2.

ftpget -u login -p password sdf.lonestar.org $1 $1
ftpput -u login -p password sdf.lonestar.org ~keesan $1

Substitute your own login and password, and the URL of your account instead of sdf.lonestar.org, and your own user name for keesan. $1 is the file name to be transferred. ftpput puts it into your user directory.

or you can use wget with login and password

wget -c ftp://login:password AT sdf.lonestar.org/~keesan/$1

or links (or links2) has a built-in ftp

links ftp://login:password AT ftp.freeshell.org/arpa/g/m/k/keesan

You can then download files from this directory.

/arpa/g/m/k/keesan is the same as ~keesan for other programs but links won't accept ~keesan.


I typically connect to BL laptops to the internet
using whatever unsecured wireless network i can pick up.


-monz



To use dropbear instead of ssh just substitute dbclient for ssh.

dbclient keesan AT freeshell.org

dbclient is smaller than ssh. I don't know if it does what you want.

My complete dropbear package also includes the server. You can run dropbear server on one computer and use dbclient or ssh to access it and run programs from another computer, over an ethernet cable or probably wireless connection or maybe parallel transfer cable or serial nullmodem cable. More secure than telnet. You need to add a password-protected account first. (Don't use the new busybox to do that - I left out shadow and it confuses things - or see my posting about the subject and how to get around it, I think by deleting some file). You will need glibc 2.2.5 to run most of what I compiled.

dbclient (glibc) is about 115K.
ssh (static) about 290K (no need for glibc)

I also compiled (glibc) for file transfer
scp 21K (part of dropbear, basic functions only)

and putty: pscp 315K and psftp 320K

I did compile kermit libc5 (for and with BL1) and it includes ftp. Kermit is about 2MB.

If there is enough interest I will set up BL3.50 for compiling and compile dropbear and whatever else people ask for. It should be possible to compile for libc5 using BL2 but I have not figured it out. You have to point it at the older header files somehow, I think. Steven, can you help with this? It may have to wait until the grapes and pears are all picked.

You need glibc 2.2.5 or later anyway to run Opera 8 or 9.2*, and 2.3.1 for Opera 9.5 (and some other libraries that I have not yet found).

Sindi





Archive powered by MHonArc 2.6.24.

Top of Page