Linux Space Station Raven : 03-Internet-Working
(C) Graham Swallow
gps@trix.dircon.co.uk
v0.3.-1d, gen 1997-08-06 (August)
Issue Three - Networking
Issue-3 Internet Working
Modem
fax
TCP/IP system files
/etc/services and other files
ifconfig route lo eth0 ppp0 sl0
dial_ppp
SLIP and tdc.dip
Internet
Debian Configs
RedHat Configs
Kernel devices
networking with/out passwords
Networking X11
TCP/IP apps
Sendmail
Sendmail - more to play with
Configurations on the end host
knews
Netscape
xrn
apache www server
Other stuff
Raven OverView
1.
Issue-3 Internet Working
1.1 Drop-in and change the values - example configuration
1.2 modem + ethernet card
1.3 SLIP or PPP
1.4 dial_ppp
1.5 Apps
1.6 sendmail
1.7 UPDATE!
2.
Modem
2.1 A Normal Modem
2.2 COM IO port conflict
2.3 Modem on wrong IRQ
2.4 irq conflict
2.5 HINT: COM-3 IRQ-5
2.6 /dev/modem -> /dev/cua2
2.7 Permission Denied
2.8 Modem not spd_vhi
2.9 Modem at correct BAUD rate
2.10 CONNECT 115200 -or- CONNECT 28800
2.11 Modem prefers rtscts
2.12 Sharing the modem with a getty
2.13 Other possible problems
2.14 Modem Tests
2.15 Query UART during session
2.16 Test with minicom
2.17 Dead modem card
2.18 Modem card not jumpered to defaults
2.19 Screen Capture with minicom
2.20 Reset Defaults with minicom
2.21 Check from boot
2.22 Now what ?
3.
fax
3.1 efax-07a
3.2 /dev/something
3.3 edit /usr/bin/fax
3.4 Test the fax
3.5 Setup for incoming
3.6 fax view
3.7 URGENT! 50 page postscript document to send NOW!
3.8 hi-res lo-res
4.
TCP/IP system files
4.1 /etc/HOSTNAME
4.2 /etc/hosts
4.3 /etc/host.conf
4.4 /etc/resolv.conf
4.5 The confusing parts
5.
/etc/services and other files
5.1 /etc/services - PORTS
5.2 /etc/inetd - DAEMONS
5.3 Others - PERMISSION
6.
ifconfig route lo eth0 ppp0 sl0
6.1 interface names
6.2 ethernet card devices
6.3 different ethernet card devices
6.4 ppp0, sl0 and /dev/modem
6.5 ifconfig and route
6.6 the loopback device
6.7 the ethernet device
6.8 the SECOND ethernet device
6.9 /etc/rc.d/rc.inet1
6.10 default route
6.11 scripts for the PPP device (or DIP)
6.12 What didn't happen ...
6.13 ifconfig
6.14 route
7.
dial_ppp
7.1 /etc/group
7.2 /etc/ppp/dial_ppp.c
7.3 chgrp dial_ppp /etc/ppp/dial_ppp
7.4 chown root /etc/ppp/dial_ppp
7.5 chmod 6750 /etc/ppp/dial_ppp
7.6 /etc/ppp/dial_ppp.sh
7.7 /etc/ppp/chat_tdc
7.8 /etc/ppp/ip-up
7.9 /etc/ppp/options
7.10 persist
7.11 Anything else ?
7.12 ANNOUCE: dial_ppp.tgz
7.13 Now What?
8.
SLIP and tdc.dip
8.1 /usr/local/lib/tdc.dip
8.2 tdc.dip
8.3 /usr/local/bin/dip_in
8.4 /usr/local/bin/dip_out
8.5 Now test it!
9.
Internet
9.1 Documentation
9.2 ISP Account Information
9.3 ISP Toolkit
9.4 Overview
10.
Debian Configs
10.1 /etc/hostname
11.
RedHat Configs
11.1 /etc/HOSTNAME
11.2 /etc/sysconfig/network
11.3 /etc/sysconfig/network-scripts/ifcfg-eth0
12.
Kernel devices
12.1 compiling the kernel and modules
12.2 /sbin/kerneld
12.3 /etc/conf.modules
13.
networking with/out passwords
13.1 /home/gps/.rhosts # or any users HOME
13.2 rlogin pigeon [-l gps
13.3 rsh pigeon -l gps mount /cdrom
13.4 rcp gps@pigeon:/cdrom/X11/xapps/graphics/xearth-0.92.tar.gz /tmp/pkgs_cd
13.5 slighty safer rcp rsh
13.6 slighty less stable than normal
13.7 security areas
13.8 tar -zxf gps@pigeon:/cdrom/X11/xapps/graphics/xearth-0.92.tar.gz
14.
Networking X11
14.1 The X11 terminal is the server
14.2 xhost pigeon
14.3 TODO - xauth
14.4 export DISPLAY=trix:0.0 ; xterm &
15.
TCP/IP apps
15.1 telnet
15.2 ftp src.doc.ic.ac.uk
15.3 mc ftp://src.doc.ic.ac.uk/packages/linux/sunsite.unc-mirror
15.4 netscape ftp://src.doc.ic.ac.uk/packages/linux/sunsite.unc-mirror
15.5 98% of 3344 K (Stalled)
15.6 restart 3287040
15.7 sendmail
15.8 NFS
15.9 ident
15.10 http
16.
Sendmail
16.1 /etc/sendmail.cf - the monster
16.2 /etc/sendmail.mc - edit this
16.3 Installing /etc/sendmail.mc --> /etc/sendmail.cf
16.4 What is Sendmail?
16.5 Sample SMTP session - how it works
16.6 Sendmail - requires ...
16.7 Slackware - /etc/sendmail.cf
16.8 testing a new /etc/sendmail.cf
16.9 Sendmail Documentation
17.
Sendmail - more to play with
17.1 no_blank_lines - (chmod 755 /usr/local/bin/no_blank_lines)
17.2 no_comments - a shell script
17.3 no_trail_sp - a shell script
17.4 full_path_name - a shell script to get a full path name
17.5 HINT: Creating documents with CUT and PASTE
17.6 send_11 - a quick test utility
17.7 mc_to_cf - a shell script to install an mc file
17.8 sendmail.mc - with comments looks like:
17.9 /usr/src/sendmail/cf
17.10 ls -l /var/spool/mail/postmaster
17.11 Sendmail site configurations
17.12 Smart Host = LAN gateway
17.13 Smart Host = WAN gateway (ISP)
17.14 ISP smarthost is faster
17.15 ISP smarthost is slower
17.16 One Hop is faster
17.17 Direct is more private
18.
Configurations on the end host
18.1 Typical Sendmail
18.2 More on configuration options
18.3 /etc/aliases
18.4 Other configuration parameters
18.5 pulling mail off your server
18.6 <smarthost.domain:user@yourhost.domain>
18.7 smail not sendmail
19.
knews
19.1 Other news
19.2 knews thread tree
19.3 Installing
19.4 Running
19.5 Save message
19.6 Post / Follow up and reply
19.7 Post+Mail dialog box
19.8 Configuring
19.9 organization
19.10 $HOME/.knews/config-news.dircon.co.uk
19.11 xrdb $HOME/.xrc.knews
19.12 Where is news?
20.
Netscape
20.1 What_is Netscape
20.2 Download
20.3 mkdir /usr/local/lib/netscape
20.4 lib fixes
20.5 Configure
20.6 Tetris
20.7 Tcl-Security
20.8 Diagrams
21.
xrn
21.1 comp.os.linux.announce
21.2 xrn
21.3 SLANG
21.4 slrn
21.5 Make:gcc:ld: SIGNAL 11
22.
apache www server
22.1 www.apache.org
22.2 /usr/local/etc/httpd
22.3 httpd/htdocs -> /home/ftp
22.4 /etc/httpd
22.5 No configuration changes NECESSARY.
22.6 Installation - Configuration
22.7 /usr/local/etc/httpd -> /usr/local/apache-1.0.2/.
22.8 /home/ftp is root directory
22.9 /home/gps/public_html
22.10 Beware: httpd has more access then ftpd
22.11 apache/conf/.
22.12 /etc/aliases
22.13 /usr/local/etc/httpd/conf/mime.types
22.14 /etc/rc.d/rc.local
22.15 Completely redesigned layout
23.
Other stuff
23.1 Samba
23.2 Novell
23.3 AppleTalk
23.4 skim-0.4++ newsreader
23.5 slrn newsreader
23.6 dial_ppp
23.7 /etc/ppp/chat_isp
24.
Raven OverView
24.1 Raven
24.2 Raven/EyeView £25
24.3 Linux As An Internet Server
24.4 An Internet Workstation
24.5 Windows-95 aside
24.6 Action List
24.7 Issue-0-Base-Station-Zero
24.8 Issue-1-Hardware - The Tower
24.9 Issue-2-SysBuild - Linux OS
24.10 Issue-3-Internet-Working
24.11 Issue-4-Users-view: Now what's this?
24.12 Issue-5-Planning
24.13 Download
24.14 Other places - Linux FAQ's and HOWTO's
24.15 Browser access