Chapter 3. Firewall/Router for Skolelinux/Debian-Edu
Total Page:16
File Type:pdf, Size:1020Kb
Free Software at Schools Installing and Maintaining a Skolelinux/Debian-edu Network Based on Debian Sarge, prerelease pr05 Klaus Ade Johnstad Norway, Oslo [email protected] [email protected] Free Software at Schools: Installing and Maintaining a Skolelinux/Debian-edu Network; Based on Debian Sarge, prerelease pr05 by Klaus Ade Johnstad Copyright © 2002, 2003, 2004, 2005, 2006 by Klaus Ade Johnstad This document is licensed under GNU General Public License Note: There is currently no author approved translation of this document. Revision History Revision 0.1 01. December 2005 Revised by: Klaus Ade Johnstad Start Revision 0.2 11. April 2006 Revised by: Klaus Ade Johnstad Added Smartboard and some notes on Munin. Table of Contents Preface .........................................................................................................................................................i 1. Where and How to Get Help.................................................................................................................1 1.1. Mailing lists Belonging to the Skolelinux/Debian-edu Project...................................................1 1.2. IRC Chat Channel Skolelinux/Debian-edu .................................................................................1 1.3. Inviting a Skolelinux/Debian-edu Knowledgeable Person into Your Computer ........................1 1.4. Permanent Backdoor into a Skolelinux/Debian-edu Machine with a SSH Tunnel.....................2 1.5. More In-Depth Linux Documentation ........................................................................................4 1.5.1. Documentation and Help Pages Already Installed.........................................................4 1.5.2. This Document as a pdf-File ..........................................................................................5 1.5.3. Skåne Sjælland Linux User Group, Friheden til at skrive bøger(Freedom to Write Books).............................................................................................................................5 1.5.4. The Linux Documentation Project .................................................................................5 1.5.5. Manuals for OpenOffice.org...........................................................................................6 1.5.6. LTSP, Linux Thin Client Server Project(LTSP) .............................................................6 2. Getting the "Right" Hardware.............................................................................................................8 2.1. Firewall/Router............................................................................................................................8 2.2. Main Server.................................................................................................................................9 2.3. Thin Client Server.....................................................................................................................10 2.4. The Thin Client .........................................................................................................................11 2.5. Workstation ...............................................................................................................................12 2.6. Laptop .......................................................................................................................................13 2.7. Combined profiles .....................................................................................................................13 2.7.1. Combi-server, mainserver+ltspserver...........................................................................13 2.7.2. mainserver with GUI, mainserver+workstation ...........................................................13 2.7.3. Not all can be combined!..............................................................................................13 3. Firewall/Router for Skolelinux/Debian-edu ......................................................................................15 3.1. Hardware...................................................................................................................................15 3.1.1. The Latest Version of Coyote Linux ............................................................................15 3.2. Placement of the firewall/router in a Skolelinux/Debian-edu Network ....................................15 3.3. Creation of a Coyote Linux Floppy ..........................................................................................16 3.3.1. Creating a Coyote Linux Floppy on a Windows Machine ...........................................20 3.4. Upgrading to Newer Versions of Coyote Linux........................................................................22 3.5. Coyote Linux Bootup................................................................................................................23 3.6. Coyote Linux Command Line Login ........................................................................................26 3.7. Coyote Linux Web Administrator.............................................................................................28 3.8. Login via SSH...........................................................................................................................31 3.9. Useful Commands in Coyote Linux..........................................................................................32 3.10. Coyote Linux as an Ordinary DHCP-Server in a Non-Skolelinux/Debian-edu Network.......35 3.11. Coyote Linux and different ISP ..............................................................................................36 3.12. Supported network card and Driver Modules Used ................................................................37 3.12.1. Supported network card and Driver Modules Used ...................................................38 3.12.2. The Special Case of 3Com 509 ISA network card.....................................................38 3.13. Further Information about Coyote Linux................................................................................39 iii 4. Network Architecture..........................................................................................................................40 4.1. Useful diagram for placement of server according to choice of profiles. .................................40 4.1.1. The different profiles on different servers. ...................................................................40 4.1.2. The two profiles Main-server and Thinclientserver combined to make Combiserver .40 5. Skolelinux/Debian-edu Installation....................................................................................................41 5.1. Preparing the Machine to Boot from CD-ROM........................................................................41 5.1.1. Using Smart Boot manager (SBM) ..............................................................................42 5.2. A Short Description of the Profiles in Skolelinux/Debian-edu.................................................43 6. The First Stage of Skolelinux/Debian-edu Installation ....................................................................46 6.1. Where to get the Skolelinux/Debian-edu CD-ROM .................................................................46 6.1.1. Downloading the Skolelinux/Debian-eduCD-ROM.....................................................46 6.1.2. Get the latest CD sent by snail mail. ............................................................................46 6.2. First Stage .................................................................................................................................46 6.2.1. Different bootoptions....................................................................................................47 6.2.2. Choosing language .......................................................................................................49 6.2.3. Virtual terminal VT ......................................................................................................49 6.2.4. The special case of SATA-disks and the missing cdrom ..............................................50 6.2.5. Information about profiles ............................................................................................50 6.2.6. Manually adjusting the partition size for automatic partitioning .................................50 6.2.7. The Various Profiles in Skolelinux/Debian-edu ...........................................................52 6.2.8. Installation complete ....................................................................................................53 7. The Second Stage of Skolelinux/Debian-edu Installation ................................................................54 7.1. Second Stage .............................................................................................................................54 7.1.1. Something Went Wrong... ............................................................................................60 7.1.2. Turning off, or Rebooting the Machine........................................................................62 7.1.3. Bugzilla.........................................................................................................................63 8. Fine-tuning ...........................................................................................................................................64 8.1.