Next Previous Contents

11. Installing Network Clients

11.1 Installing Email clients

Installing Mailx

make; make install

Installing Mutt

My favorite email client is Mutt, so that's why we're installing this one. Feel free to skip the installation of Mutt and install your own favorite client. After all, this is going to be your system. Not mine.

If your favorite client is an X Window client (such as Netscape Mail) then you'll have to sit tight a little while till we've installed X.

./configure
make; make install

Installing Fetchmail

./configure
make; make install

Testing the email system

It's time to test the email system now.

If this all worked just fine, you have a working email system for local email. It's not necessarily ready for Internet yet. You can remove the testuser by running userdel -r testuser

11.2 Installing FTP client

Installing Netkit-ftp

./configure
make; make install

Testing FTP system

11.3 Installing HTTP client

Installing Zlib

Zlib is a compression library, used by programs like PKware's zip and unzip utilities. Lynx can use this library to compress certain files.

./configure --shared
make; make install

Installing Lynx

./configure --libdir=/etc --with-zlib
make; make install
make install-help; make install-doc

Testing HTTP system

11.4 Installing Telnet client

The Telnet client has already been installed when we installed the Telnet daemon in the previous chapter.

Testing Telnet system

11.5 Installing PPP clients

Creating the connect script

#!/bin/sh
# Begin /usr/bin/pon
 
/usr/sbin/pppd call provider
 
# End /usr/bin/pon

Creating the disconnect script

#!/bin/sh
# Begin /usr/bin/poff
 
set -- `cat /var/run/ppp*.pid`
 
case $# in
  0)
    kill -15 `ps axw|grep "pppd call [[allnum:]]+"|grep -v grep|awk '{print $1}'`
    exit 0
    ;;
  1)
    kill -15 $1
    exit 0
    ;;
esac
 
# End /usr/bin/poff

Testing PPP system

Other resources

For a detailed document on how to configure your system for Internet, I recommend you reading the ISP-Hookup-HOWTO which you can download from the LDP site at http://www.linuxdoc.org/


Next Previous Contents