I've had this sitting around for ages. I think Ben may have put it together. Should help you, Peter.
Nate Peter Snoblin wrote: > >Hey all, >I've started working on a document to help get people new to Linux and, >possibly, the Truman network up to speed. You can find it at >http://www2.truman.edu/~pas577/docs/docman.php?doc=Truman_FAQ.htmf >Currently it's got a note about the WINS/DNS thing, various services that we >have but are generally not known (eg we have an NTP server. who knew?), and >setting up CUPS to print to the network printers. This is still very much a >work in progress, and as such any sort of comments you have would be of value >(and, yes, I know I can't spel vry wel). > >Oh, and KDE 3.1, wow. That's really all I can say. > >-- >Peter Snoblin - http://www2.truman.edu/~pas577/ > > >----------------------------------------------------------------- >To get off this list, send email to [EMAIL PROTECTED] >with Subject: unsubscribe >----------------------------------------------------------------- > > -- Attached file included as plaintext by Ecartis -- -- File: TSU Linux net.txt Table of Contents 1. About This HOWTO 1.1 Purpose/Scope of this HOWTO 1.2 Acknowledgements and Thanks 2. Introduction 2.1 Truman State Computing Resources 2.2 Truman State Linux Users Group 3. Connecting 3.1 Residential Hall Network 3.2 DNS 3.3 SMB (Network Drives and Printing) 4. E-mail 4.1 Gold 4.2 Fetchmail 4.3 Procmail 5. Security 6. Resources 1. About This HOWTO 1.1 Purpose/Scope The purpose of this HOWTO is to familiarize Linux users on the campus of Truman State University with how Linux interoperates with the rest of the campus computing community. This document will not delve into details already explained in other HOWTO's available from the Linux Documentation Project. 1.2 Acknowledgements and Thanks I would like to thank the members of the Truman State Linux Users Group for their comments and suggestions. 2. Introduction 2.1 Truman State Computing Resources The University provides many computing resources via the campus network. These include web hosting, printing, network storage, e-mail, and library resources among other things. All of these resources are easily accessable with a standard Windows or Macintosh based PC, but support for Linux is not yet up to par which is the reason for this HOWTO. =20 2.2 Truman State Linux Users Group The Truman State Linux Users Group (TSLUG) was founded in October of 1999 to facilitate communication between users of the Linux operating system. The group meets the first and third weeks of each month during school on Thursday at 6pm. More details can be found at <http://tslug.truman.edu>. 3. Connecting 3.1 Residential Hall Network The first step to utilizing the computing resources of Truman State with your Linux box is to get connected to the network. In most rooms on campus all you need is an Ethernet Card (provided by yourself) and a patch cable (can be picked up from MC107). Some rooms in Missouri Hall though will also require a hub from ITS if you and your roommate(s) both wish to connect a computer to the network. After gathering this equipment you will be ready to connect to the network. Install the network card into your computer and connect it to the wall jack with the patch cable. Once booted into Linux, you will need to use netconf to tell Linux to use the network card. You want to enter bbrrrccc.truman.edu as the host name + domain=20 where the building code (ie MH for Missouri Hall), the rrr is your room number, and ccc is your computer number(ie the first=20 computer in the room is 001, the second is 002, etc.). Next click on Adaptor 1's tab. Enable the adapter by clicking the check box next to "Enabled." For the config mode you want to click on the box next to DHCP. This tells Linux to use Truman's DHCP server to get DNS and IP information. You will also need to set Net device to eth0 and the kernel module to the module appropriate to your card. For example the 3COM 390x series cards use the module 3c590 module. Check the Net-3 HOWTO for more information on this. Once done click accept and allow Linuxconf to activate the changes. At a shell propt type: #ping 150.243.160.1 If your pings are answered, you are on the network. 3.2 DNS =09 Your next goal is to get your computer recognized by the rest of the world as bbrrrccc.truman.edu. To do this you need to have your DNS entry added to the campus DNS server. This can be done one of two ways. The first way is to boot into Windows every so often. The preferred way is to setup WINS on your Samba server. Do this by making sure the following lines are in your smb.conf file. workgroup =3D STUDENT wins server =3D 150.243.160.xxx Note: You will need to find the appropriate IP number for the wins server from a Windows machine using winipcfg or by asking the ITS help desk as it changes from time to time. 3.3 SMB =20 Samba is also useful in accessing your network drives provided by Truman. To access your "Y" drive you will need to make a mount point and then mount the network share to this mount point. The following is an example. #mkdir ~/ydrive #smbmount -o username=3Dtrumanid, password=3DNTpassword \ <file://ss2/trumanid> ~/ydrive For your "Z" or website drive do the following #mkdir ~/zdrive #smbmount -o username=3Dtrumanid, password=3DNTpassword \ <file://gold/trumanid> ~/zdrive Now you can use both network drives as if they were a local directory. Printing to network printers can also be done, but remember that you will still be deducted for the prints you make. Use your distribution's printtool to add an smb printer. 4. E-mail 4.1 Gold =09 Gold is the Truman campus e-mail and web server. You may telnet to the server directly and retrieve your mail or you may use a standard mail client to access your mail. 4.2 Fetchmail =09 The most popular method for Linux users on campus to retrieve their mail is to use a program called fetchmail. This program connects to the mail server and fetches your mail to your own computer's mail transport agent such as sendmail or postfix. Your MTA then delivers it to your local mail spool where you can read it using any standard mail client such as mutt or pine. Below is an example .fetchmailrc file that goes in your home directory. #.fetchmailrc set postmaster "localid" set bouncemail set properties "" set daemon 20 poll gold.truman.edu with proto POP3 user trumanid there with password foobar is localid here option fetc= hall warnings 3600 After editing this to include your userid and password, place it in your home directory as .fetchmailrc and run fetchmail. This will start the fetchmail daemon. You might wish to put the fetchmail command into your startup scripts. 4.3 Procmail Procmail is used to process your mail into separate mail boxes (folders). Most distributions come with procmail already integrated with sendmail so all you need to do is put a .procmailrc file in your home directory. Below you will find mine as an example. # Ben's Procmail Configuration PATH=3D/usr/bin:/usr/local/bin MAILDIR=3D$HOME/Mail # all mailboxes are in mail/ LOGFILE=3D$HOME/procmail.log SHELL=3D/bin/sh VERBOSE=3Dyes # Put mail from TSLUG mailing list into mailbox :0: * ^(From|Cc|To).*[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> TSLUG # Put mail from LUCI mailing list into mailbox LUCI :0: * ^(From|Cc|To).*luci LUCI A good place to learn how to make your own .procmailrc file is <http://www.ii.com/internet/robots/procmail/qs/>. 5. Security As with any public network, security is an issue on the Truman network. First let's take a moment to thank Linus and the rest of the Linux developers for making a relatively secure OS. That said however, Linux is still vulnerable to DoS and other attacks. Your best bet is to run a program like portsentry and shut off any unused protocols in /etc/inetd.conf. 6. Resources <http://www.linuxdoc.org> All of the HOWTOS can be found here. <http://tslug.truman.edu> news.truman.edu has a truman.linux news group =20 Send mail to [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> with the body "subscribe" to join the tslug mailing list. ----------------------------------------------------------------- To get off this list, send email to [EMAIL PROTECTED] with Subject: unsubscribe -----------------------------------------------------------------