It is possible to run PPP over the serial port instead of using
sz to transfer files. Running PPP gives you
full network support, so you can enable things like TELNET, FTP, SSH, and so
First you will need to install a
kernel with PPP support.
(This beta7 kernel has IrDA as
well as PPP.) Use the emplode software or the
to install the kernel upgrade file. Note that you will need to re-install
this kernel image after any other upgrade (such as a new beta release)
unless those upgrades also provide PPP support in the kernel.
Next you will need a PPP daemon at both ends of the serial link. If you've created a Debian-like environment on your empeg, you can install this Debian ppp package.
If you don't have a Debian environment, you can use alien or just plain
to extract a tarball from the Debian package. Note, however, that the
pppd binary in this package is linked against the
libcrypt shared library which is not included in the package,
and does not come with the empeg's developer images. (One possible source
is from the
Next, make sure you are running at least one network service on the
empeg, or you won't be able to do much besides ping the unit.
:-) You may also want to check your
/etc/resolv.conf files for appropriate contents.
pppd on the empeg like this:
pppd ttyS1 115200 nocrtscts local noauth defaultroute passive
If you're connected to the empeg using a terminal, you'll need to disconnect at this point so PPP can take over.
Finally, at the other end of the serial link, run
$serial115200 nocrtscts local noauth :
$serial is the name of your serial port
$ipaddr is the IP address to
assign to the empeg. A good choice if you don't have anything better to
assign would be an address from the private
192.168.0.0/16 address blocks,
If the link is ever broken, you'll need to restart
pppd on the
empeg, or you can add
persist to the command options to keep it
running automatically. In the latter case, you may find it difficult to get
back to a shell prompt if you start
If you are running the Debian
/sbin/init on the empeg, you can
pppd automatically by changing
contain these entries:
T1:2:respawn:/sbin/getty -L ttyS1 115200 vt100 P1:3:respawn:/usr/sbin/pppd ttyS1 115200 nocrtscts local noauth defaultroute passive
Runlevel 2 then gives you a login prompt, and runlevel 3 runs