# Captains log for cervantes.freelabs.com # Started july 2001 # Mark Whitis Hardware Configuration: - Motherboard: ASUS P5A (alladin chipset), ATX Form Factor Aladdin 5 chipset Chip: AMD K6-2 Chip: Li M1541 A1 1000 MHz 9935 T507 XD362660000G TIAWAN (Motherboard Chipset, PCI bridge) Chip: ALi M1543C 9932 TM05 XB6B8500000E TAIWAN (Motherboard Chipset, host bridge, USB controller) Chip: tmtech T35L6464AA-5Q (Ram of some sort) Chip: ESS Solo 1 (Audio) BIOS: Award Bios Note: USB is OHCI based URL: http://www.ali.com.tw/eng/support/faq/linux_os_faq.htm - BIOS - File: AL5I107A.AWD - Award Modular BIOS v4.51PG - ASUS P5A ACPI BIOS Revision 1007.A - 07/16/79 Aladdin5 <>-00 - This bios is the latest availible as of July 2001 - This bios has problems with large hard drives >32GB (no LBA32) - Memory: 96MB - Hard Drive WDC WD600AB-32BVA0 60GB NOTE: We need some shenanigans because the ASUS BIOS is outdated and does not support drives >32GB. - CD Writer: Vendor: HP Model: CD-Writer+ 9100 Rev: 1.0c - Modem Bus: ISA Model: Phoebe CMV1456VQH-2MRA Jumper Settings: COM3 IRQ7 Features: Data/fax/voice URL: http://www.phoebemicro.com Chip: Conexant 11596-21 E13382.6 0010 Mexico chip: Conexant L2800-38 E10317.4 0007 Mexico Chip: RP56D/SP R6764-61 E13254.3 0010 Mexico MX 27C2000 PC-90 C699545 TAIWAN VPP=12.5V Label: FCC No: H8NTAQI-26018-M5-E Label: 200V2300239401 (s/n) Label: P/N: A2316720 Bracket Connections (top to bottom): "Phone", "Line", "SPK", "Phone" - 8 Port Serial Card Bus: ISA Model: Byterunner TC-800 Chip: 8x 16C550CB BC9804 Chip: 8x LGS GD75232 Chip: misc logic and GAL chips not recorded Jumper Settings: All ports jumpered to use IRQ11, enabled - SCSI Controller BUS: PCI Model: Advansys ABP-960 (iomega Jaz jet?) s/n AE65A633E855 - Ethernet controller Model: Linksys LNE100TX Version 2.X Chip: Linksys LNE100TX LC82C115 M9918 TA429401 37BDX (tulip compatible) Chip: YCC R20PMT04 9918M (hybrid media interface) wake on lan connection - Video Board: Bus: AGP Model: ATI All-in-wonder 16 AGP Chip: ATI RAGE 128 (Controller) Chip: AIW128 59908 (BIOS) Chip: Bt829BKRF (TV in?) Chip: TDA9850T 472730 DSD990501 Chip: Impac TV2 213TV2UA21 B2K61 9917AA TIAWAN (TV out?) Chip: (8x) 48LCIM16A1 (RAM) Bracket Connectors: (top to bottom) A/V In MiniDin 8 (external fanout box) CATV F connector A/V OUT MiniDin 8 (external fanout cable) Monitor SVGA 15 pin high density D Internal Connectors: CD in CD out - Floppy Drive: 1.44MB - irda transceiver connected to motherboard - BIOS - Check boot order: A,CDROM, C or similar - Check floppy drives are properly configured - Check hard drives are properly configured. Typically, you will want to use LBA mode. Make sure the settings reflect your current drive and not the prior one. - Check that any interrupts needed by ISA devices are appropriately configured - Disable power management shutdown - set the time/date (use UTC if appropriate) - record the disk geometry in your captains-log - enable irda port - save and exit setup - Insert CD-ROM - Boot machine (reset or ctrl-alt-delete, if necessary) - Boot: expert - Do you have a Driver Disk: No - Choose a language: English - keyboard type: US - installation method: local CDROM - (running annaconda - please wait) - (starts x server) - Mouse: Generic 3 button, PS/2 Port: n/a (implied PS/2 port) Emulate 3 buttons: yes - (help screen, continue) - Install Type: Install, custom system (if you select desktop here instead of custom, you will not get a full install). - Disk Partitioning: fdisk you can also use disk druid but it does not allow fine control or display sufficient information to recreate the exact configuration later if the table is corrupted. Disk /dev/hda: 255 heads, 63 sectors, 4111 cylinders Units = cylinders of 16065 * 512 bytes Device Boot Start End Blocks Id System /dev/hda1 1 33 265041 83 Linux /dev/hda2 34 66 265072+ 82 Linux swap /dev/hda3 67 4000 31599855 83 Linux /dev/hda4 4001 4111 891607+ 83 Linux (mount point does not appear in fdisk, it is set later.) using fdisk: The commands you will use, and the approximate order: - p (prints partitions) - If necessary, delete all partitions. Don't do this if you have already installed another operating system. This is necessary if the disk geometry has changed since last partitioned (in which case, you will probably want to write the partition table, reboot, and run fdisk again just to be safe). - Delete any unwanted partitions, using "d" - Delete any partitions you created to reserve space to be reallocated later. - Add partitions with the new command "n". There are two types: primary and extended. There can be up to 4 primary partitions. Multiple Extended partitions are contained in a special type of primary partitions (which uses up a primary partition). - Change the type of partitions using the "t" command Normal linux partions are type 83 (default). Linux swap = 82. - print the partition table again. Check for errors. Record the information in your captains log. - use the "w" command to write the partition table and exit. - Set mount points hda1 / hda2 (swap) hda3 /disk0 hda4 /scratch - Choose Partitions to format: hda1 hda3 - Check bad blocks: Yes - Lilo config: - create bootdisk: yes - install lilo: yes - install boot record on: /dev/hda (MBR) (you might want to change this, at least initially, if setting up a dual-boot system). - Use linear mode: yes - kernel parameters: hdc=ide-scsi (this is just to support my cd burner which is the IDE secondary master) - Operating systems: linux: /dev/hda1, default, linux native - Network configuration: - Config using DHCP: No Don't answer yes even if you are running a DHCP server on one of the windows boxes because you will eventually make this machine the server. - Activate on boot: Yes - eth0: - IP Address: 192.168.0.1 - Netmask: 255.255.255.0 - Broadcast: 192.168.0.255 - General: - Hostname: test71.freelabs.com - gateway: - Primary DNS: 206.134.144.10 - Secondary DNS: 207.172.3.11 - Tertiary DNS: - Firewall config: - Security level: high - use default: no - customize: yes - trusted devices: none - Allow incoming: SSH, HTTP, SMTP, DHCP - Language: English (USA) - clock settings - Time Zone: America/New york (eastern time) - System clock uses UTC: Yes If you don't use this setting, the clock will probably be wrong after daylight savings changes. However, if you do use this seting, windoze will be confused since windoze expects/saves time in local time. - Account Config: - Root: - Password: _________ - User accounts: I normally create these later after installing a modified version of usermod - Auth Config: - Enable MD5 passwords: Yes - Enable Shadow passwords: Yes - Enable NIS: no - enable LDAP: no - enable kerberos: no - Selecting Package Groups: - I usually select all groups, including "everything" and click select individual (although I usually don't deselect individual packages). - X Config: - Video Card: ATI All-in-wonder 128 Pro AGP - RAM: 16MB - Monitor: Multisync C500 - Customize Graphics Config - Color Depth: high color ((16 Bit) - Screan Resolution: 1280x1024 - Desktop environment: Gnome - Login type: TEXT - About to install: click next - (Installation takes about an hour at this point, so you can do other stuff - however, you will be prompted to change CD-ROMs) - Bootdisk Creation: Yes (insert floppy) - System Reboots - Press ctrl-X for text mode when the stupid graphic appears - boot: linux single # To find info on chips: # http://www.xs4all.nl/~ganswijk/chipdir/ # http://www.elnec.com/ic_logos/ic_logos.htm Boot: linux single cp /tmp/install.log /root/ mount /dev/scd0 /mnt/cdrom cp /mnt/cdrom/*/select_services /root/ cp /mnt/cdrom/*/movestuff /root/ chmod +x select_services # NOTE: movestuff is to be run IF AND ONLY IF, you want almost # the entire disk to be known as /disk0 with symlinks from /usr, # /var, and /home into /disk0 and you have run the redhat installer # with the large partition identified as "/usr". movestuff will # scramble your system, otherwise chmod +x movestuff cp /etc/fstab /etc/fstab.orig patch /etc/fstab <<\...EOF... --- /etc/fstab.orig Tue Jul 3 06:58:23 2001 +++ /etc/fstab Tue Jul 3 07:04:42 2001 @@ -1,7 +1,9 @@ -LABEL=/ / ext2 defaults 1 1 +/dev/hda1 / ext2 defaults 1 1 /dev/fd0 /mnt/floppy auto noauto,owner 0 0 -LABEL=/scratch /scratch ext2 defaults 1 2 -LABEL=/usr /usr ext2 defaults 1 2 +/dev/hda4 /scratch ext2 defaults 1 2 +/dev/hda3 /disk0 ext2 defaults 1 2 none /proc proc defaults 0 0 none /dev/pts devpts gid=5,mode=620 0 0 /dev/hda2 swap swap defaults 0 0 +/dev/cdrom1 /mnt/cdrom1 iso9660 noauto,owner,kudzu,ro 0 0 +/dev/cdrom2 /mnt/cdrom2 iso9660 noauto,owner,kudzu,ro 0 0 ...EOF... Boot: linux Login: root /etc/rc.d/init.d/xfs start startx & ### ### copy old captains logs (optional) ### mount /dev/fd0 /mnt/floppy/ mkdir /root/captains-logs/ cd /root/captains-logs/ tar xvf /mnt/floppy/captainslogs.tar mv root/captains-logs/* . rmdir root/captains-logs/ rmdir root touch cervantes cd /root ln -s captains-logs/cervantes captains-logs ### ### workaround 32GB limit in BIOS ### cd /root cp /mnt/floppy/setmax.c gcc -o setmax setmax.c mv setmax /sbin/ cd /etc/rc.d/ cp rc.sysinit rc.sysinit.orig patch /etc/rc.d/rc.sysinit <<\...EOF... --- rc.sysinit.orig Tue Jul 3 23:53:21 2001 +++ rc.sysinit Tue Jul 3 23:57:37 2001 @@ -523,6 +523,10 @@ # Mount all other filesystems (except for NFS and /proc, which is already # mounted). Contrary to standard usage, # filesystems are NOT unmounted in single user mode. + +# added 2001-07-03 - MRW +action $"Resetting drive size on hda" setmax --delta 0 /dev/hda + action $"Mounting local filesystems: " mount -a -t nonfs,smbfs,ncpfs if [ X"$_RUN_QUOTACHECK" = X1 -a -x /sbin/quotacheck ]; then ...EOF... umount /dev/hda4 fdisk /dev/hda <<\...EOF... p d 4 x c 7297 r n p 4 4001 7297 p w ...EOF... # Disk /dev/hda: 255 heads, 63 sectors, 7297 cylinders # Units = cylinders of 16065 * 512 bytes # # Device Boot Start End Blocks Id System # /dev/hda1 1 33 265041 83 Linux # /dev/hda2 34 66 265072+ 82 Linux swap # /dev/hda3 67 4000 31599855 83 Linux # /dev/hda4 4001 7297 26483152+ 83 Linux patch /etc/fstab <<\...EOF... --- /etc/fstab.002 Wed Jul 4 00:08:28 2001 +++ /etc/fstab Wed Jul 4 00:09:00 2001 @@ -1,6 +1,6 @@ /dev/hda1 / ext2 defaults 1 1 /dev/fd0 /mnt/floppy auto noauto,owner 0 0 -/dev/hda4 /scratch ext2 defaults 1 2 +/dev/hda4 /disk1 ext2 defaults 1 2 /dev/hda3 /disk0 ext2 defaults 1 2 none /proc proc defaults 0 0 none /dev/pts devpts gid=5,mode=620 0 0 ...EOF... reboot #Boot: Linux #Login: root /etc/rc.d/init.d/xfs start startx & ### ### /dist ### mkdir /disk0/dist ln -s /disk0/dist /dist rmdir /opt ln -s /disk0/opt /opt mkdir /disk0/opt ### ### fix ttyS2 ### # The modem card on my machine is jumpered to use irq 7 so as not to conflict # with the onboard serial ports. setserial /dev/ttyS2 irq 7 # don't do this, we will create /etc/rc.d/rc.serial # echo "setserial /dev/ttyS2 irq 7" >>/etc/rc.d/rc.local ### ### Multiport serial card ### cat >/etc/rc.d/rc.serial <<\...EOF... setserial /dev/ttyS2 irq 7 # # /etc/rc.serial # Initializes the serial ports on your system # # Distributed with setserial version 2.10 # # Standard flags you want your serial devices to have # Examples: SAK, pgrp_lockout, session_lockout # STD_FLAGS="session_lockout" SETSERIAL=/bin/setserial echo -n "Configuring serial ports...." # Do wild interrupt detection # ${SETSERIAL} -W /dev/cua0 ############################################################### # # AUTOMATIC CONFIGURATION # # Uncomment the appropriate lines below to enable auto-configuration # of a particular board. Or comment them out to disable them.... # # NOTE! Although the automatic configuration is enabled by default, # I strongly suggest that you comment out this section and use the # manual configuration section instead. It's more work to set up, but # it's more reliable. # ############################################################### # Do AUTOMATIC_IRQ probing # AUTO_IRQ=auto_irq # These are the standard COM1 through COM4 devices # # If you have an internal modeme with a Rockwell Chipset, add a "skip_test" # to the /dev/cua3 line below. (It's not added by default because it will # screw up people with 8514 displays). # ${SETSERIAL} /dev/ttyS0 ${AUTO_IRQ} skip_test autoconfig ${STD_FLAGS} ${SETSERIAL} /dev/ttyS1 ${AUTO_IRQ} skip_test autoconfig ${STD_FLAGS} #${SETSERIAL} /dev/ttyS2 ${AUTO_IRQ} skip_test autoconfig ${STD_FLAGS} # Configuration for the modem board ${SETSERIAL} /dev/ttyS2 irq 7 ${SETSERIAL} /dev/ttyS3 ${AUTO_IRQ} autoconfig ${STD_FLAGS} # These are for the first AST Fourport board (base address 0x1A0) # #${SETSERIAL} /dev/cua4 ${AUTO_IRQ} autoconfig ${STD_FLAGS} #${SETSERIAL} /dev/cua5 ${AUTO_IRQ} autoconfig ${STD_FLAGS} #${SETSERIAL} /dev/cua6 ${AUTO_IRQ} autoconfig ${STD_FLAGS} #${SETSERIAL} /dev/cua7 ${AUTO_IRQ} autoconfig ${STD_FLAGS} # This enables the new multiport masking feature, which is highly recommened # for AST FourPort boards. # #${SETSERIAL} /dev/cua4 set_multiport port1 0x1BF mask1 0xf match1 0xf # These are for the second AST Fourport board (base address 0x2A0) # #${SETSERIAL} /dev/cua8 ${AUTO_IRQ} autoconfig ${STD_FLAGS} #${SETSERIAL} /dev/cua9 ${AUTO_IRQ} autoconfig ${STD_FLAGS} #${SETSERIAL} /dev/cua10 ${AUTO_IRQ} autoconfig ${STD_FLAGS} #${SETSERIAL} /dev/cua11 ${AUTO_IRQ} autoconfig ${STD_FLAGS} # This enables the new multiport masking feature, which is highly recommened # for AST FourPort boards. # #${SETSERIAL} /dev/cua8 set_multiport port1 0x2BF mask1 0xf match1 0xf # These are the 3rd and 4th ports on the Accent Async board. # #${SETSERIAL} /dev/cua12 ${AUTO_IRQ} autoconfig ${STD_FLAGS} #${SETSERIAL} /dev/cua13 ${AUTO_IRQ} autoconfig ${STD_FLAGS} # Usenet Serial Board II (base address 0x100) # #${SETSERIAL} /dev/cua16 ${AUTO_IRQ} autoconfig ${STD_FLAGS} #${SETSERIAL} /dev/cua17 ${AUTO_IRQ} autoconfig ${STD_FLAGS} #${SETSERIAL} /dev/cua18 ${AUTO_IRQ} autoconfig ${STD_FLAGS} #${SETSERIAL} /dev/cua19 ${AUTO_IRQ} autoconfig ${STD_FLAGS} # BocaBoard 4 port (BB-1004) (base address 0x100) # #${SETSERIAL} /dev/cua16 ${AUTO_IRQ} autoconfig ${STD_FLAGS} #${SETSERIAL} /dev/cua17 ${AUTO_IRQ} autoconfig ${STD_FLAGS} #${SETSERIAL} /dev/cua18 ${AUTO_IRQ} autoconfig ${STD_FLAGS} #${SETSERIAL} /dev/cua19 ${AUTO_IRQ} autoconfig ${STD_FLAGS} # BocaBoard 8 port (BB-1008) (base address 0x100), # or two BB-1004's (base addresses 0x100 and 0x120) # #${SETSERIAL} /dev/cua16 ${AUTO_IRQ} autoconfig ${STD_FLAGS} #${SETSERIAL} /dev/cua17 ${AUTO_IRQ} autoconfig ${STD_FLAGS} #${SETSERIAL} /dev/cua18 ${AUTO_IRQ} autoconfig ${STD_FLAGS} #${SETSERIAL} /dev/cua19 ${AUTO_IRQ} autoconfig ${STD_FLAGS} #${SETSERIAL} /dev/cua20 ${AUTO_IRQ} autoconfig ${STD_FLAGS} #${SETSERIAL} /dev/cua21 ${AUTO_IRQ} autoconfig ${STD_FLAGS} #${SETSERIAL} /dev/cua22 ${AUTO_IRQ} autoconfig ${STD_FLAGS} #${SETSERIAL} /dev/cua23 ${AUTO_IRQ} autoconfig ${STD_FLAGS} # BocaBoard 16 port (BB-1008), (base address 0x100), # or two BB-1008's (base addresses 0x100 and 0x140), # or four BB-1004's (base address 0x100, 0x120, 0x140, and 0x160) # # Warning --- some of these ports may conflict with the Future Domain # SCSI controller. If you want to run both the BocaBoards and the # Future Domain controller, you may need to change the port assignment # of the Bocaboards -- see below in the section on manual configuration. # #${SETSERIAL} /dev/cua16 ${AUTO_IRQ} autoconfig ${STD_FLAGS} #${SETSERIAL} /dev/cua17 ${AUTO_IRQ} autoconfig ${STD_FLAGS} #${SETSERIAL} /dev/cua18 ${AUTO_IRQ} autoconfig ${STD_FLAGS} #${SETSERIAL} /dev/cua19 ${AUTO_IRQ} autoconfig ${STD_FLAGS} #${SETSERIAL} /dev/cua20 ${AUTO_IRQ} autoconfig ${STD_FLAGS} #${SETSERIAL} /dev/cua21 ${AUTO_IRQ} autoconfig ${STD_FLAGS} #${SETSERIAL} /dev/cua22 ${AUTO_IRQ} autoconfig ${STD_FLAGS} #${SETSERIAL} /dev/cua23 ${AUTO_IRQ} autoconfig ${STD_FLAGS} #${SETSERIAL} /dev/cua24 ${AUTO_IRQ} autoconfig ${STD_FLAGS} #${SETSERIAL} /dev/cua25 ${AUTO_IRQ} autoconfig ${STD_FLAGS} #${SETSERIAL} /dev/cua26 ${AUTO_IRQ} autoconfig ${STD_FLAGS} #${SETSERIAL} /dev/cua27 ${AUTO_IRQ} autoconfig ${STD_FLAGS} #${SETSERIAL} /dev/cua28 ${AUTO_IRQ} autoconfig ${STD_FLAGS} #${SETSERIAL} /dev/cua29 ${AUTO_IRQ} autoconfig ${STD_FLAGS} #${SETSERIAL} /dev/cua30 ${AUTO_IRQ} autoconfig ${STD_FLAGS} #${SETSERIAL} /dev/cua31 ${AUTO_IRQ} autoconfig ${STD_FLAGS} # This enables the new multiport masking feature, which is highly recommened # for Bocaboard ports. Uncomment only the first line if you have a # BB-1004 or BB-1008. Uncomment both lines if you have a BB-2016. # These numbers assume the Bocaboard is located at address 0x100. If you # change this, remember to change the port1 and port2 addresses. # #${SETSERIAL} /dev/cua16 set_multiport port1 0x107 mask1 0xff match1 0 #${SETSERIAL} /dev/cua16 set_multiport port2 0x147 mask2 0xff match2 0 ############################################################### # # MANUAL CONFIGURATION # # If you want to do manual configuration of one or more of your # serial ports, uncomment and modify the relevant lines. # ############################################################### # These are the standard COM1 through COM4 devices # #${SETSERIAL} /dev/cua0 uart 16450 port 0x3F8 irq 4 ${STD_FLAGS} #${SETSERIAL} /dev/cua1 uart 16450 port 0x2F8 irq 3 ${STD_FLAGS} #${SETSERIAL} /dev/cua2 uart 16450 port 0x3E8 irq 4 ${STD_FLAGS} #${SETSERIAL} /dev/cua3 uart 16450 port 0x2E8 irq 3 ${STD_FLAGS} # These are the first set of AST Fourport ports # #${SETSERIAL} /dev/cua4 uart 16450 port 0x1A0 irq 9 fourport ${STD_FLAGS} #${SETSERIAL} /dev/cua5 uart 16450 port 0x1A8 irq 9 fourport ${STD_FLAGS} #${SETSERIAL} /dev/cua6 uart 16450 port 0x1B0 irq 9 fourport ${STD_FLAGS} #${SETSERIAL} /dev/cua7 uart 16450 port 0x1B8 irq 9 fourport ${STD_FLAGS} # These are the second set of AST Fourport ports # #${SETSERIAL} /dev/cua8 uart 16450 port 0x2A0 irq 5 fourport ${STD_FLAGS} #${SETSERIAL} /dev/cua9 uart 16450 port 0x2A8 irq 5 fourport ${STD_FLAGS} #${SETSERIAL} /dev/cua10 uart 16450 port 0x2B0 irq 5 fourport ${STD_FLAGS} #${SETSERIAL} /dev/cua11 uart 16450 port 0x2B8 irq 5 fourport ${STD_FLAGS} # These are the 3rd and 4th ports on the Accent Async board. # #${SETSERIAL} /dev/cua12 uart 16450 port 0x330 irq 4 ${STD_FLAGS} #${SETSERIAL} /dev/cua13 uart 16450 port 0x338 irq 4 ${STD_FLAGS} # These are two spare devices you can use to customize for # some board which is not supported above.... #${SETSERIAL} /dev/cua14 uart XXXXX port XXXX irq X ${STD_FLAGS} #${SETSERIAL} /dev/cua15 uart XXXXX port XXXX irq X ${STD_FLAGS} # These are the ports used for either the Usenet Serial II # board, or the Boca Board 4, 8, or 16 port boards. # # Uncomment only the first 4 lines for the Usenet Serial II board, # and uncomment the first 4, 8, or all 16 lines for the # Boca Board BB-1004, BB-1008, and BB-2016 respectively. # #${SETSERIAL} /dev/cua16 uart 16550A port 0x100 irq 12 ${STD_FLAGS} #${SETSERIAL} /dev/cua17 uart 16550A port 0x108 irq 12 ${STD_FLAGS} #${SETSERIAL} /dev/cua18 uart 16550A port 0x110 irq 12 ${STD_FLAGS} #${SETSERIAL} /dev/cua19 uart 16550A port 0x118 irq 12 ${STD_FLAGS} #${SETSERIAL} /dev/cua20 uart 16550A port 0x120 irq 12 ${STD_FLAGS} #${SETSERIAL} /dev/cua21 uart 16550A port 0x128 irq 12 ${STD_FLAGS} #${SETSERIAL} /dev/cua22 uart 16550A port 0x130 irq 12 ${STD_FLAGS} #${SETSERIAL} /dev/cua23 uart 16550A port 0x138 irq 12 ${STD_FLAGS} #${SETSERIAL} /dev/cua24 uart 16550A port 0x140 irq 12 ${STD_FLAGS} #${SETSERIAL} /dev/cua25 uart 16550A port 0x148 irq 12 ${STD_FLAGS} #${SETSERIAL} /dev/cua26 uart 16550A port 0x150 irq 12 ${STD_FLAGS} #${SETSERIAL} /dev/cua27 uart 16550A port 0x158 irq 12 ${STD_FLAGS} #${SETSERIAL} /dev/cua28 uart 16550A port 0x160 irq 12 ${STD_FLAGS} #${SETSERIAL} /dev/cua29 uart 16550A port 0x168 irq 12 ${STD_FLAGS} #${SETSERIAL} /dev/cua30 uart 16550A port 0x170 irq 12 ${STD_FLAGS} #${SETSERIAL} /dev/cua31 uart 16550A port 0x178 irq 12 ${STD_FLAGS} # The following Byte Runner Technologies section was added by Sean Dudley # of Byte Runner Technologies. The email address is dudley@vic.com. # # These are the ports used for the Byte Runner Technologies TC-400, TC-420 # & TC-800 serial boards. # # Uncomment only the ports which you wish to use. You can change the base # addresses as well. The Byte Runner cards are very flexible in terms of # what they can be set to. Just be sure you have the same base addresses # listed here to that of which you have the hardware set. You can use the # same interrupt on each port, or different interrupts on each port. Just # make sure that the hardware is set accordingly. # # PLEASE NOTE: Interrupts can not be shared between cards. So, if you put # two TC-400 or TC-420 cards (4-port serial cards, for 8-serial total) in a # system and want to share the interrupts, for instance, each card will have # to be on a different interrupt. If you put in a TC-800 card (8-port serial # card), however, you can set all of the ports on that one card to the same # interrupt. # # If you need to go over the 16 ports listed, you can. Just add additional # ports below as needed. You can put up to 6 TC-800 cards in a system # (provided none of the base addresses conflict with anything in your # system) for a total of 48 serial ports in the system. # # If you are using 16650 UART chips instead of 16550A UART chips, change the # "16550A port" statements listed below to "16650 port". # # Please note: For Byte Runner cards, the cua value listed below must start # at 16. If you change it to something else, it will not function properly. # ${SETSERIAL} /dev/ttyS16 uart 16550A port 0x100 irq 11 ${STD_FLAGS} ${SETSERIAL} /dev/ttyS17 uart 16550A port 0x108 irq 11 ${STD_FLAGS} ${SETSERIAL} /dev/ttyS18 uart 16550A port 0x110 irq 11 ${STD_FLAGS} ${SETSERIAL} /dev/ttyS19 uart 16550A port 0x118 irq 11 ${STD_FLAGS} ${SETSERIAL} /dev/ttyS20 uart 16550A port 0x120 irq 11 ${STD_FLAGS} ${SETSERIAL} /dev/ttyS21 uart 16550A port 0x128 irq 11 ${STD_FLAGS} ${SETSERIAL} /dev/ttyS22 uart 16550A port 0x130 irq 11 ${STD_FLAGS} ${SETSERIAL} /dev/ttyS23 uart 16550A port 0x138 irq 11 ${STD_FLAGS} echo "done." #${SETSERIAL} -bg /dev/cua? /dev/cua?? #${SETSERIAL} -bg /dev/ttyS? /dev/ttyS?? ${SETSERIAL} -bg /dev/ttyS0 /dev/ttyS1 /dev/ttyS2 /dev/ttyS3 /dev/ttyS16 /dev/ttyS17 /dev/ttyS18 /dev/ttyS19 /dev/ttyS20 /dev/ttyS21 /dev/ttyS22 /dev/ttyS23 ...EOF... ln -s /etc/rc.d/rc.serial /etc/rc.serial /etc/rc.d/rc.serial ### ### KPPP ### # NOTE: we can skip this step and use RP3 instead (below) # hardware specific: cd /dev ln -s ttyS2 modem cd /root # ppp config is now handled by kppp instead of netcfg kppp & # interactive, GUI # click setup tab # device tab: # modem device: /dev/modem # click modem tab # click query modem to test # click accounts # enter info specific to ISP account # give it a try. # kppp still has bugs: # no compatibility with the old ifup/ifdown # it prints error messages about ppp0 device missing on startup # it crashes on diskconnect ("killall kppp") # you can only create a connection if you have a GUI running - BAD BUG # start connection with "kppp" # on the plus side, kppp does a better job of showing status ### ### RP3 ### rp3-config # interactive. Supply phone number, username, and password for isp # To activate connection: # rp3 & # NOTE: if you delete a connection and add another one, /etc/ppp/peers/ppp0 # will not be updated properly # NOTE: you can use "ifup ppp0" and "ifdown ppp0" from the command line # in addition to using rp3. Also, if you have used ifup, you can still use # rp3 later during that session to display the graphical connection status. # Configuration files: # /etc/sysconfig/network-scripts/ifcfg-ppp0 # /etc/ppp/pap-secrets # /etc/ppp/peers/ppp0 # /etc/wvdial.conf # No longer used: /etc/sysconfig/network-scripts/chat-ppp0 # # Note, you can change some properties by right clicking on the rp3 connection # window but for others you need ### ### qmail ### # http://www.qmail.org/ cd /dist #wget --passive-ftp ftp://koobera.math.uic.edu/pub/software/qmail-1.03.tar.gz wget http://cr.yp.to/software/qmail-1.03.tar.gz #wget http://qmail.goof.com/rbl/qmail-1.03-rbl.diffs >/dist/qmail-1.03-rbl.diffs #wget http://www.freelabs.com/~whitis/software/qmail-rbl-patch/qmail-1.03-rbl-patch-whitis cd /usr/local/src tar zxvf /dist/qmail-1.03.tar.gz cd qmail-1.03 #patch /dev/null; then ok=0; fi if fgrep ":$i:" /etc/group >/dev/null; then ok=0; fi if [ "$ok" = "1" ]; then echo $i return fi done } # we will use mail instead of qmail group so it will work with cyrus mkdir /var/qmail uid=`getuidgid`;/usr/sbin/groupadd -g $uid nofiles uid=`getuidgid`;/usr/sbin/groupadd -g $uid alias uid=`getuidgid`; /usr/sbin/useradd -u $uid -g alias -d /var/qmail/alias alias uid=`getuidgid`; /usr/sbin/useradd -u $uid -g nofiles -d /var/qmail qmaild uid=`getuidgid`; /usr/sbin/useradd -u $uid -g nofiles -d /var/qmail qmaill uid=`getuidgid`; /usr/sbin/useradd -u $uid -g nofiles -d /var/qmail qmailp # uid=`getuidgid`; /usr/sbin/groupadd -g $uid qmail uid=`getuidgid`; /usr/sbin/useradd -u $uid -g mail -d /var/qmail qmailq uid=`getuidgid`; /usr/sbin/useradd -u $uid -g mail -d /var/qmail qmailr uid=`getuidgid`; /usr/sbin/useradd -u $uid -g mail -d /var/qmail qmails cat >conf-groups <<\...EOF... mail nofiles ...EOF... # compile it and install make setup check mkdir /usr/qmail mkdir /usr/bin/qmail/ mv /var/qmail/bin/* /usr/bin/qmail/ rmdir /var/qmail/bin ln -s /usr/bin/qmail /var/qmail/bin for i in man1 man5 man7 man8; do mv /var/qmail/man/$i/* /usr/local/man/$i/ rmdir /var/qmail/man/$i done rm -Rf /var/qmail/man mkdir -p /etc/qmail/control mv /var/qmail/control/* /etc/qmail/control/ # note, there were no files in control rmdir /var/qmail/control ln -s /etc/qmail/control /var/qmail/control mkdir /usr/doc/qmail-1.03 mv /var/qmail/doc/* /usr/doc/qmail-1.03 rmdir /var/qmail/doc ln -s /usr/doc/qmail-1.03 /var/qmail/doc make ./config # note: we will need to change this when we change the hostname later echo `hostname` >/var/qmail/control/me echo "&root" >~alias/.qmail-postmaster echo "&root" >~alias/.qmail-mailer-daemon echo "&root" >~alias/.qmail-abuse chmod 644 ~alias/.qmail-* # install sendmail replacement for programs that invoke sendmail # to send files mv /usr/sbin/sendmail /usr/sbin/sendmail.sendmail ln -s /usr/bin/qmail/sendmail /usr/sbin/sendmail # note some # Change this next line if you aren't me! echo "&whitis@freelabs.com" >/var/qmail/alias/.qmail-root chmod 644 /var/qmail/alias/.qmail-root # qmail delivers to ~qmail/Mailbox # I haven't created users yet, so skip this # There are no users mail files in /var/spool/mail to move to ~user/Mailbox #ln -s /root/Mailbox /var/spool/mail/root # change whitis to a list of all existing users. #for i in whitis; do # mv /var/spool/mail/$i /home/$i/Mailbox # ln -s /home/$i/Mailbox /var/spool/mail/$i #done # Change these! echo "freelabs.com" >/etc/qmail/control/defaultdomain echo "freelabs.com" >/etc/qmail/control/plusdomain echo "freelabs.com" >/etc/qmail/control/locals echo "cervantes.freelabs.com" >>/etc/qmail/control/locals echo "localhost.freelabs.com" >>/etc/qmail/control/locals # NOTE: we may have trouble here since inetd has apparently been replaced # by xinitd in redhat 7.1 # assume sendmail has already been disabled in /etc/inetd.conf #echo "smtp stream tcp nowait qmaild /usr/sbin/tcpd /usr/bin/qmail/tcp-env /usr/bin/qmail/qmail-smtpd ">>/etc/inetd.conf #kill -HUP `cat /var/run/inetd.pid ` # NOTE: the network_address/netmask parameters below must be changed cat >>/etc/hosts.allow <<\...EOF... # JUNK is an attempt to force frc931 lookup to occur, since "rfc931" doesn't # the JUNK kludge seems to work. So does including %u in a banner file tcp-env: 192.168.0.0/255.255.255.255:setenv RELAYCLIENT:setenv JUNK %u@Uh:banners /etc/banners/:severity mail.info:rfc931:allow ...EOF... # NOTE: xinetd has its own banner handling which might be better to # use in the future. mkdir /etc/banners cat >>/etc/banners/tcp-env <<\...EOF... 220-Hello %u@%h 220-No unsolicited bulk email. There will be a fee for delivery 220-or relaying of unsolicited bulk email. By sending UBE 220-you consent to our terms for such delivery. Write to 220-us via paper mail for a copy of those terms. 220- 220-This system is for authorized users only. Unauthorized users or 220-users exceeding their authority are subject to having their 220-Keystrokes, packets, sessions, messages, and stored-data monitored, 220-logged, and/or inspected. In the course of such monitoring, 220-authorized users may inadvertantly be monitored. 220- ...EOF... cat >/etc/xinetd.d/qmail <<\...EOF... # default: on # Descrition: The qmail mail transport agent service smtp { flags = NAMEINARGS server = /usr/sbin/tcpd server_args = /usr/bin/qmail/tcp-env /usr/bin/qmail/qmail-smtpd ">>/etc/inetd.conf disable = no socket_type = stream socket_type = tcp wait = no instances = 8 user = root } ...EOF... kill -USR2 `cat /var/run/xinetd.pid` # A "telnet localhost smtp" will verify the server is running, type "QUIT" cp /var/qmail/boot/home /var/qmail/rc cat >>/etc/rc.d/init.d/qmail <<\...EOF... #!/bin/sh # # qmail This shell script takes care of starting and stopping qmail. # # Source function library. . /etc/rc.d/init.d/functions # Source networking configuration. . /etc/sysconfig/network # Check that networking is up. [ ${NETWORKING} = "no" ] && exit 0 [ -f /usr/bin/qmail/sendmail ] || exit 0 # See how we were called. case "$1" in start) # Start daemons. echo -n "Starting qmail: " PATH="/usr/bin/qmail:$PATH"; export PATH qmail-start ./Mailbox splogger qmail & echo "qmail" touch /var/lock/subsys/qmail ;; stop) # Stop daemons. echo -n "Shutting down qmail: " killproc qmail-send echo rm -f /var/lock/subsys/qmail ;; restart|reload) $0 stop $1 start ;; restart|reload) $0 stop $1 start ;; status) status qmail-send ;; *) echo "Usage: qmail {start|stop}" exit 1 esac exit 0 ...EOF... chmod +x /etc/rc.d/init.d/qmail ln -s /etc/rc.d/init.d/qmail /etc/rc.d/rc3.d/S80qmail ln -s /etc/rc.d/init.d/qmail /etc/rc.d/rc0.d/K80qmail ln -s /etc/rc.d/init.d/qmail /etc/rc.d/rc1.d/K80qmail ln -s /etc/rc.d/init.d/qmail /etc/rc.d/rc2.d/qmail /etc/rc.d/init.d/qmail start #NOTE: site specific # disable mail relaying # mail will only be accepted if the destination domain # is listed in rcpthosts unless the RELAYCLIENT was set # by tcpd (/etc/hosts.allow) for an internal client touch /etc/qmail/control/rcpthosts echo "freelabs.com" >>/etc/qmail/control/rcpthosts # defering test of qmail until we have added users. # Setup mail relay (if you are on a dialup line. Use your ISPs server). echo ":mail.earthlink.net" >/var/qmail/control/smtproutes ### ### Workaround for some redhat symlink problems ### ln -s /lib /disk0 ### ### install source rpm files (optional) ### # insert redhat 7.1 source CD mount /dev/scd0 /mnt/cdrom cp /mnt/cdrom/SRPMS/* /usr/src/redhat/SRPMS/ umount /dev/scd0 eject /dev/scd0 ### ### fix wget ### mv /etc/wgetrc /etc/wgetrc.old sed -e "s/#passive_ftp = off/passive_ftp = on/" /etc/wgetrc ### ### Already installed ### # Some applications we would usually install that are already here. # openSSH # gnupg ### ### shadow utilities ### # Have to update patch to shadow utils to work with the current version # note that if you have the updated rpm generated in this process, you # need only install that. # We need to add a patch to these cd /dist wget http://www.freelabs.com/~whitis/linux/shadow-utils-19990827-8.src.rpm rpm -i shadow-utils-19990827-8.src.rpm # the point of this was to get the file # /usr/src/redhat/SOURCES/shadow-19990827-homesymlink.patch # shadow-utils source rpm missing from source cd wget ftp://ftp.redhat.com/redhat/redhat-7.1-en/os/i386/SRPMS/shadow-utils-20000826-4.src.rpm rpm -i shadow-utils-20000826-4.src.rpm cd /usr/src/redhat/SPECS/ cp shadow-utils.spec shadow-utils.spec.orig patch shadow-utils.spec <<\...EOF... --- shadow-utils.spec.orig Wed Jul 4 07:59:12 2001 +++ shadow-utils.spec Wed Jul 4 08:19:41 2001 @@ -1,7 +1,7 @@ Summary: Utilities for managing shadow password files and user/group accounts. Name: shadow-utils Version: 20000826 -Release: 4 +Release: 5 Serial: 1 Source0: ftp://ftp.ists.pwr.wroc.pl/pub/linux/shadow/shadow-%{version}.tar.gz Source1: shadow-970616.login.defs @@ -19,6 +19,8 @@ Patch6: shadow-20000826-hugegroups.patch Patch7: shadow-20000826-chage.patch Patch8: shadow-20000826-preserve.patch +Patch9: shadow-20000826-homesymlink.patch + Copyright: BSD Group: System Environment/Base Buildroot: %{_tmppath}/%{name}-%{version}-root @@ -46,7 +48,8 @@ %patch5 -p1 -b .vipw %patch6 -p1 -b .hugegrp %patch7 -p1 -b .chage -%patch8 -p1 -b .preserve +%patch9 -p1 -b .homesymlink + %build unset LINGUAS || : @@ -120,6 +123,10 @@ %{_mandir}/man8/faillog.8* %changelog +* Wed Jul 4 2001 Mark Whitis +- Added support for symlinks from /home/username to the physical + location where home directories are stored (such as /disk0/home/username) + * Fri Mar 9 2001 Nalin Dahyabhai - don't overwrite user dot files in useradd (#19982) - truncate new files when moving overwriting files with the contents of other ...EOF... # patch the patch to work with the new version cp shadow-19990827-homesymlink.patch shadow-20000826-homesymlink.patch patch /usr/src/redhat/SOURCES/shadow-20000826-homesymlink.patch <<\...EOF... --- shadow-19990827-homesymlink.patch Thu Mar 9 06:21:59 2000 +++ shadow-20000826-homesymlink.patch Wed Jul 4 08:25:52 2001 @@ -1,4 +1,7 @@ +20000704 - Mark whitis. Patch Modified to work with redhat 7.1 + + From mikef@spare79.dbd.com Thu Mar 9 01:05:20 2000 Received: (qmail 27156 invoked from network); 12 Jan 2000 22:12:08 -0000 Received: from spare79.dbd.com (qmailr@208.241.63.79) @@ -110,8 +113,8 @@ .BR userdel (8), .BR usermod (8) .SH AUTHOR --Julianne Frances Haugh (jfh@bga.com) -+Julianne Frances Haugh (jfh@bga.com). +-Julianne Frances Haugh (jfh@austin.ibm.com) ++Julianne Frances Haugh (jfh@austin.ibm.com). + + + @@ -544,3 +547,4 @@ Prog, user_home); Only in ./src: userdel.c~ Only in .: stamp-h + ...EOF... rpm -ba shadow-utils.spec #rpm -i /usr/src/redhat/RPMS/i386/shadow-utils-20000826-5.i386.rpm rpm -i --upgrade /usr/src/redhat/RPMS/i386/shadow-utils-20000826-5.i386.rpm ### ### Setup user defaults ### /usr/sbin/useradd -D -H /disk0/home ### ### setup user defaults ### /usr/sbin/useradd -D -H /disk0/home mkdir /etc/skel/.ncftp touch /etc/skel/.ncftp/prefs echo "ftp-mode 2" >>/etc/skel/.ncftp/prefs echo "logsize 999999" >>/etc/skel/.ncftp/prefs echo "pager /usr/bin/less" >>/etc/skel/.ncftp/prefs mkdir /root/.ncftp touch /root/.ncftp/prefs echo "ftp-mode 2" >>/root/.ncftp/prefs echo "logsize 999999" >>/root/.ncftp/prefs echo "pager /usr/bin/less" >>/root/.ncftp/prefs touch /etc/skel/.netrc echo "default macdef init" >>/etc/skel/.netrc echo " passive" >>/etc/skel/.netrc echo "" >>/etc/skel/.netrc touch /root/.netrc echo "default macdef init" >>/root/.netrc echo " passive" >>/root/.netrc echo "" >>/root/.netrc echo "export EDITOR=/usr/bin/emacs" >>/etc/skel/.bashrc echo "export VISUAL=/usr/bin/emacs" >>/etc/skel/.bashrc echo "export EDITOR=/usr/bin/emacs" >>/root/.bashrc echo "export VISUAL=/usr/bin/emacs" >>/root/.bashrc echo 'export PATH=/root/bin:/sbin:/usr/sbin:$PATH' >>/root/.bashrc ### ### Add ordinary users ### /usr/sbin/useradd -c "Mark Whitis" -m whitis passwd whitis echo "export PATH=$PATH:/sbin:/usr/sbin" >>/home/whitis/.bashrc /usr/sbin/useradd -c "Alexa" -m alexa passwd alexa ### ### Fix XFS ### cd /root cp select_services select_services.old <<\...EOF... --- select_services.old Thu Jul 5 03:38:04 2001 +++ select_services Thu Jul 5 03:38:35 2001 @@ -259,7 +259,7 @@ init_disable netfs init_disable nscd init_disable rstatd -init_disable xfs +init_enable xfs # after running on full redhat 6.0 and rebooting, only the following # processes were running: ...EOF... ./select_services /etc/rc.d/init.d/xfs start # oh, and remove executable flag from movestuff to reduce the chances # of an accident, while we are here chmod -x /root/movestuff # At this point, we can log out as root, login as an ordinary user # and su root from within one or more terminal windows. ### ### test qmail ### echo "/home/whitis/Mailbox" >/home/whitis/.qmail echo "whitis" >/home/whitis/.qmail-default chown whitis /home/whitis/.qmail-* # send some mail using pine to local users pine whitis # interactive cat /home/whitis/Mailbox ### ### Mount old hard drive ### # NOTE: specific to my system mkdir /mnt/oldsys mkdir /mnt/oldsys/root mkdir /mnt/oldsys/altroot mkdir /mnt/oldsys/disk0 mkdir /mnt/oldsys/altdisk0 cat >>/etc/fstab <<\...EOF... /dev/hdb1 /mnt/oldsys/root ext2 defaults 1 3 /dev/hdb2 /mnt/oldsys/altroot ext2 defaults 1 3 /dev/hdb5 /mnt/oldsys/disk0 ext2 defaults 1 3 /dev/hdb6 /mnt/oldsys/altdisk0 ext2 defaults 1 3 ...EOF... fsck /dev/hdb1 fsck /dev/hdb2 fsck /dev/hdb5 fsck /dev/hdb6 mount -a ### ### CDROM symlink ### # assumes scsi cdrom, include ide cdroms using ide-scsi emulation # which is needed for cdrom burners. # for ide cdrom configured as secondary master, try hdc instead of scd0 cd /dev ln -s scd0 cdrom cd /root ### ### TODO ### # upload shadow-utils rpm to ftp.redhat.com and my website ### ### ximian gnome ### # http://www.ximian.com/ # must be running X # I downloaded the installer and rpms and put them on a cd-rom. # you can also use # lynx -source http://www.go-gnome.com/ | sh # to automatically download the installer and run it. mkdir /dist/ximian mount /dev/cdrom /mnt/cdrom cd /dist/ximian cp /mnt/cdrom/0-dist-postinstalldisk-20010702-vol1/ximian-gnome-redhat7.1/installer-redhat-70-i386 . chmod +x installer-redhat-70-i386 # unfortunately, I missed one file when I downloaded the installation ifup ppp0 wget ftp://ftp.ximian.com/pub/ximian-gnome/install.xml # note that the ximian installer still requires a net connection even if # this file wasn't missing mkdir /dist/ximian/ximian-gnome/redhat-71-i386/ cd /dist/ximian/ximian-gnome/redhat-71-i386/ cp /mnt/cdrom/0-dist-postinstalldisk-20010702-vol1/ximian-gnome-redhat7.1/redhat-71-i386/* . cp /mnt/cdrom/0-dist-postinstalldisk-20010702-vol1/ximian-gnome-redhat7.1/redhat-71-i386-source/* . cd /dist/ximian # /sbin/ipchains -I input -p tcp -y -s www.ximian.com -d 0/0 -j ACCEPT # /sbin/ipchains -I input -p udp -s 0/0 53 -d 0/0 53 -j ACCEPT ./installer-redhat-70-i386 & # interactive # local media: /disk0/dist/ximian or /dist/ximian # installation type: install everything, include development packages # don't change login manger # remove downloaded files: yes # Now, restart X # when X restarts, there will be a configuration screen for the ximian desktop # I chose "custom install" and kept many of the existing settings, particularly # the taskbar configuration. #NOTE: middle clicking on the desktop gives more of a menu than clicking on #the gnome foot. See below. # click on the toolbox to launch the gnome control center. # select desktop/panel. # move "Programs (Ximian)" and "Distribution" from "off" to "in a submenu" # one odd effect, you get two "Programs" submenus with the same name # instead of merging them. ### ### Gabber ### # http://gabber.sourceforge.net/ cd /dist wget http://prdownloads.sourceforge.net/gabber/gabber-0.8.3-1_rh7.i386.rpm #rpm -i gabber-0.8.3-1_rh7.i386.rpm # #error: failed dependencies: # libsigc++ >= 1.0.0 is needed by gabber-0.8.3-1_rh7 # gtkmm >= 1.2.1 is needed by gabber-0.8.3-1_rh7 # gnomemm >= 1.1.12 is needed by gabber-0.8.3-1_rh7 # libgdkmm-1.2.so.1 is needed by gabber-0.8.3-1_rh7 # libgnomemm-1.1.so.4 is needed by gabber-0.8.3-1_rh7 # libgtkmm-1.2.so.0 is needed by gabber-0.8.3-1_rh7 # libsigc-1.0.so.0 is needed by gabber-0.8.3-1_rh7 # ximian apparently failed to install some libraries rpm -i /dist/ximian/ximian-gnome/redhat-71-i386/libsigc++-1.0.3-ximian.3.i386.rpm rpm -i /dist/ximian/ximian-gnome/redhat-71-i386/libsigc++-devel-1.0.3-ximian.3.i386.rpm rpm -i /dist/ximian/ximian-gnome/redhat-71-i386/gtkmm-1.2.5-ximian.2.i386.rpm rpm -i /dist/ximian/ximian-gnome/redhat-71-i386/gtkmm-devel-1.2.5-ximian.2.i386.rpm rpm -i /dist/ximian/ximian-gnome/redhat-71-i386/gnomemm-1.1.15-ximian.2.i386.rpm rpm -i /dist/ximian/ximian-gnome/redhat-71-i386/gnomemm-devel-1.1.15-ximian.2.i386.rpm rpm -i /dist/gabber-0.8.3-1_rh7.i386.rpm # gabber works, now ### ### fetchmail config ### # fetchmail retrieves remote pop and imap mail. Here, we are running # it as root to retreive mail for all accounts on this box but it # can also be used by a ordinary user to retrieve their own mail. cp /mnt/oldsys/root/root/.fetchmailrc /root/ fetchmail -d 300 echo "fetchmail -d 300" >>/etc/rc.d/rc.local # .fetchmailrc looks something like: #set postmaster "whitis" #set syslog # #poll cherry.super.nu protocol pop3 # user "freelabs" there with password "_________" is "whitis" here # smtpaddress freelabs.com smtphost 127.0.0.1 # #poll mail.earthlink.net protocol pop3 # user "mwhitis" there with password "________" is "whitis" here # smtpaddress freelabs.com smtphost 127.0.0.1 ### ### copy pine configuration for user whitis from old system ### cd /home/whitis # Note "cp -f" is buggy, it should not prompt if there is an existing file mv .pinerc .pinerc.old mv .addressbook .addressbook.old cp -f /mnt/oldsys/disk0/home/whitis/.addressbook . cp -f /mnt/oldsys/disk0/home/whitis/.pinerc . chown whitis .pinerc chown whitis .addressbook ### ### Check Browser Encryption ### # Netscape includes SSL, appears to support 128bit encryption # Mozzilla includes SSL, appears to support 128bit encryption # lynx includes SSL support, appears to support 128 bit encryption ### ### Redhat Power tools CD ### # this should have been done before ximian # library conflicts: libsigc++ older mount /dev/cdrom /mnt/cdrom cd /mnt/cdrom # ./autorun # interactive, runs gnorpm. # slect install # filter: uninstalled or newer packages # select all # piece of shit # Don't install exim (will break qmail installation by overwriting /usr/lib/sendmail) # Fortunately, none of the lib* packages are newer versions of old # libraries which would need to be installed instead of upgraded. # gtkmm and gtkmm-devel needs special handling # the sequence of commands to install was generated using # (for i in `rpm -i -vv --test *.rpm 2>&1 | egrep "D: *[0-9][0-9]* \([0-9][0-9]*,[0-9][0-9]*\)" | cut -d")" -f 2 | cut -c 2-`; do echo "rpm -i --test $i.i386.rpm"; done) >/tmp/test2 # which sorts the packages to account for dependancies, # and then hand edited. # note that this is tricked by a few .noarch.rpm files; need to # modify to pick the right file. set -v rpm -i 9wm-1.1-13.i386.rpm #package 9wm-1.1-13 is already installed rpm -i a2ac-19980511-11.i386.rpm rpm -i aalib-1.2-10.i386.rpm rpm -i aalib-devel-1.2-10.i386.rpm rpm -i aavga-0.9-9.i386.rpm rpm -i abs-0.7-3.i386.rpm rpm -i ace-rhcn-1.1-10.i386.rpm rpm -i acm-5.0-17.i386.rpm rpm -i acua-3.01-3.i386.rpm rpm -i aee-2.2.3-5.i386.rpm rpm -i afio-2.4.5-5.i386.rpm rpm -i AfterStep-1.8.8-3.i386.rpm rpm -i aide-0.7-4.i386.rpm rpm -i alevt-1.6.0-3.i386.rpm rpm -i alien-7.11-1.noarch.rpm rpm -i amcl-0.7.5-2.i386.rpm rpm -i ami-1.0.8-4.i386.rpm rpm -i ami-gnome-1.0.8-4.i386.rpm rpm -i amphetamine-0.8.8-2.i386.rpm rpm -i analog-4.16-3.i386.rpm rpm -i analog-form-4.16-3.i386.rpm rpm -i armadillo-0.3.10-7.i386.rpm rpm -i armagetron-0.1.4.3-2.i386.rpm rpm -i astyle-1.11.6-5.i386.rpm rpm -i aterm-0.4.0-2.i386.rpm rpm -i aub-2.0.5-10.noarch.rpm rpm -i auctex-9.10s-6.i386.rpm rpm -i autotrace-0.26-3.i386.rpm rpm -i aview-1.2-10.i386.rpm rpm -i axyftp-0.5.1-4.i386.rpm rpm -i battalion-1.3-11.i386.rpm rpm -i bb-1.2-9.i386.rpm rpm -i bchunk-1.0.0-7.i386.rpm rpm -i beav-1.40-14.i386.rpm rpm -i bibview-2.2-8.i386.rpm rpm -i BitchX-1.0c17-6.i386.rpm rpm -i blackbox-0.61.1-2.i386.rpm rpm -i blackened-1.7.1-7.i386.rpm rpm -i blackpenguin-0.2-2.i386.rpm rpm -i blockade-1.00-6.i386.rpm rpm -i bm2font-3.0-12.i386.rpm rpm -i bmud-0.5-4.i386.rpm rpm -i bsd-games-2.9-9.i386.rpm rpm -i buffer-1.19-4.i386.rpm rpm -i cadaver-0.16.0-2.i386.rpm rpm -i calamaris-2.29-4.noarch.rpm rpm -i cam-1.02-7.i386.rpm rpm -i cbb-0.8.1-7.noarch.rpm rpm -i c_count-7.0-7.i386.rpm rpm -i cdlabelgen-1.5.0-8.noarch.rpm rpm -i cdrdao-1.1.4-4.i386.rpm rpm -i cervisia-1.2-2.i386.rpm rpm -i cflow-2.0-10.i386.rpm rpm -i cgilib-0.1.1-4.i386.rpm rpm -i cgoban-1.9.10-5.i386.rpm rpm -i chbg-1.1-2.i386.rpm rpm -i cheops-0.60pre5-14.i386.rpm rpm -i chromium-0.9.9c-3.i386.rpm rpm -i circuslinux-1.0.1-2.i386.rpm rpm -i C-Kermit-7.0.197-7.i386.rpm rpm -i ClanLib-docs-0.5.0-1.i386.rpm rpm -i clobberd-4.16-7.i386.rpm rpm -i crafty-17.14-3.i386.rpm rpm -i cscope-13.0-6.i386.rpm rpm -i curl-7.5.2-2.i386.rpm rpm -i curl-devel-7.5.2-2.i386.rpm rpm -i cvsmapfs-1.3-7.noarch.rpm rpm -i cyrus-imapd-2.0.9-3.i386.rpm #error: failed dependencies: # imap conflicts with cyrus-imapd-2.0.9-3 # cyrus-imapd conflicts with imap-2000-9 # # cyrus is primarily for big imap installations and uses its own specialized # message store instead of the existing unix mailboxes used by the # existing imapd. So, we will keep the regular imapd for now. rpm -i dante-1.1.6-6.i386.rpm rpm -i dante-devel-1.1.6-6.i386.rpm rpm -i dante-server-1.1.6-6.i386.rpm rpm -i deadftp-0.0.9-1.i386.rpm rpm -i dejagnu-1.4-1.i386.rpm rpm -i dents-0.3.1-12.i386.rpm rpm -i dfm-0.99.7-2.i386.rpm rpm -i ding-1.1-1.noarch.rpm rpm -i diskcheck-3.1.1-12.noarch.rpm rpm -i dlh-0.7d-11.i386.rpm rpm -i doc++-3.4.6-2.i386.rpm rpm -i dosemu-1.0.1-10.i386.rpm rpm -i dosemu-freedos-1.0.1-10.i386.rpm rpm -i elvis-2.1_4-5.i386.rpm rpm -i elvis-X11-2.1_4-5.i386.rpm rpm -i epic-4_2000-6.i386.rpm rpm -i erlang-47.4.1-16.i386.rpm rpm -i erlang-devel-47.4.1-16.i386.rpm rpm -i erlang-docs-47.4.1-16.i386.rpm rpm -i erlang-gs_apps-47.4.1-16.i386.rpm rpm -i erlang-gs_apps-devel-47.4.1-16.i386.rpm rpm -i erlang-otp_libs-47.4.1-16.i386.rpm rpm -i erlang-otp_libs-devel-47.4.1-16.i386.rpm rpm -i eroaster-2.0b8-1.noarch.rpm rpm -i eruby-devel-0.1.3-2.i386.rpm rpm -i Eterm-0.9-19.i386.rpm rpm -i etherape-0.5.6-7.i386.rpm rpm -i ethereal-0.8.15-2.i386.rpm #rpm -i exim-3.22-10.i386.rpm #rpm -i exim-doc-3.22-10.i386.rpm #rpm -i exim-mon-3.22-10.i386.rpm rpm -i ext2resize-1.1.15-2.i386.rpm rpm -i f2c-20000510-5.i386.rpm rpm -i FaxMail-2.3-8.i386.rpm rpm -i fetchpop-1.9-8.i386.rpm rpm -i fftw-2.1.3-8.i386.rpm rpm -i fftw-devel-2.1.3-8.i386.rpm rpm -i FileRunner-2.5.1-4.i386.rpm rpm -i fixdos-1.2.1-1.i386.rpm rpm -i flying-6.20-19.i386.rpm rpm -i fort77-1.18-7.noarch.rpm rpm -i fpc-1.0.2-3.i386.rpm rpm -i fpc-docs-1.0.2-3.i386.rpm rpm -i fping-2.2b1-1.i386.rpm rpm -i ftnchek-3.0.0-2.i386.rpm rpm -i FunktrackerGOLD-1.5.2-7.i386.rpm rpm -i fvwm-1.24r-24.i386.rpm rpm -i gbuild-0.6-7.noarch.rpm rpm -i gcal-3.01-2.i386.rpm rpm -i gcombust-0.1.37-2.i386.rpm rpm -i geg-1.0.2-4.i386.rpm # rpm -i ggv-0.95-2.i386.rpm # newer version installed by ximian rpm -i git-4.3.20-6.i386.rpm rpm -i gkrellm-1.0.6-1.i386.rpm #rpm -i glimmer-1.0.1-1.i386.rpm # newer version installed by ximian rpm -i glload-0.4.2-4.i386.rpm rpm -i gMoonClock-0.2-3.i386.rpm rpm -i gnat-3.13p-4.i386.rpm rpm -i gnat-devel-3.13p-4.i386.rpm rpm -i gnewt-0.06-1.i386.rpm rpm -i gnewt-devel-0.06-1.i386.rpm rpm -i gnobog-0.4.2-1.i386.rpm rpm -i gnokii-0.3.2-1.i386.rpm rpm -i gnomail-0.0.3-6.i386.rpm rpm -i gnomba-0.6.2-4.i386.rpm #rpm -i gnomeicu-0.94.1-2.i386.rpm # newer version installed by ximian rpm -i gnome-pm-0.9.3-2.i386.rpm rpm -i gnome-telnet-2.4-1.i386.rpm rpm -i GnoSamba-0.3.3-11.i386.rpm rpm -i gnotepad+-1.3.3-3.i386.rpm #rpm -i gnucash-1.4.9-3.i386.rpm # newer version installed by ximian rpm -i gpgp-0.4-7.i386.rpm rpm -i gps-0.9.3-4.i386.rpm #service rgpsp_linux does not support chkconfig #error: execution of %post scriptlet from gps-0.9.3-4 failed, exit status 1 #rpm -i grip-2.94-7.i386.rpm # newer version installed by ximian rpm -i GtkAda-1.2.10-1.i386.rpm rpm -i GtkAda-devel-1.2.10-1.i386.rpm rpm -i GtkAda-devel-GL-1.2.10-1.i386.rpm rpm -i GtkAda-GL-1.2.10-1.i386.rpm rpm -i gtkBitchX-1.0c17-6.i386.rpm rpm -i gtkglarea-1.2.2-5.i386.rpm rpm -i Gtk-Perl-0.7004-4.i386.rpm rpm -i gtksee-0.5.0-7.i386.rpm rpm -i gtktalog-0.11.3-1.i386.rpm rpm -i g-wrap-0.9.5-1.i386.rpm #error: failed dependencies: # libguile.so.6 is needed by g-wrap-0.9.5-1 rpm -i GXedit-1.23-10.i386.rpm rpm -i gxtar-0.1.0-7.i386.rpm rpm -i hanterm-3.1.4-3.i386.rpm rpm -i Hermes-1.3.2-2.i386.rpm rpm -i ClanLib-0.5.0-1.i386.rpm rpm -i ClanLib-devel-0.5.0-1.i386.rpm rpm -i ClanLib-gl-0.5.0-1.i386.rpm rpm -i ClanLib-gui-0.5.0-1.i386.rpm rpm -i ClanLib-magick-0.5.0-1.i386.rpm rpm -i ClanLib-mikmod-0.5.0-1.i386.rpm rpm -i ClanLib-vorbis-0.5.0-1.i386.rpm rpm -i Hermes-devel-1.3.2-2.i386.rpm rpm -i heroes-0.9-1.i386.rpm rpm -i hexcalc-1.11-8.i386.rpm rpm -i hexedit-1.1.0-6.i386.rpm rpm -i hfsutils-3.2.6-7.i386.rpm rpm -i hfsutils-devel-3.2.6-7.i386.rpm rpm -i hostsentry-0.02-4.noarch.rpm rpm -i hsc-0.917-11.i386.rpm rpm -i hypersrc-2.1.6-1.i386.rpm rpm -i icecast-1.3.8.beta2-3.i386.rpm rpm -i icewm-1.0.3-6.i386.rpm rpm -i icepref-1.1-4.noarch.rpm rpm -i icewm-themes-1.0.3-4.noarch.rpm rpm -i icqlib-0.1.19991212-5.i386.rpm rpm -i id-utils-3.2d-6.i386.rpm rpm -i InDependence-1.0-11.i386.rpm rpm -i interdiff-0.0.10-1.i386.rpm rpm -i iptraf-2.3.1-1.i386.rpm rpm -i ipvsadm-1.14-5.i386.rpm #-add: unknown option #error: execution of %post scriptlet from ipvsadm-1.14-5 failed, exit status 1 rpm -i isdnbutton-2.5-17.i386.rpm rpm -i jpilot-0.99-1.i386.rpm rpm -i junkbuster-2.0.2-24.i386.rpm rpm -i kaim-0.62-2.i386.rpm rpm -i kde-themepak-1.1-3.noarch.rpm rpm -i kgoodstuff-2.0.0pre1-4.i386.rpm rpm -i kimon-2.0pre1-2.i386.rpm rpm -i kisdndock-0.9.0-4.i386.rpm rpm -i klyx-0.11-2.i386.rpm rpm -i ksnuffle-2.1-3.i386.rpm rpm -i kvirc-2.1.0-2.i386.rpm rpm -i kwintv-0.8.5-5.i386.rpm rpm -i lavaps-1.15-1.i386.rpm rpm -i lesstif-0.92.0-2.i386.rpm rpm -i lesstif-1.2-devel-0.92.0-2.i386.rpm rpm -i lftp-2.3.7-2.i386.rpm rpm -i lha-1.00-16.i386.rpm rpm -i libax25-0.0.7-7.i386.rpm rpm -i ax25-apps-0.0.4-9.i386.rpm rpm -i ax25-tools-0.0.6-13.i386.rpm rpm -i libax25-devel-0.0.7-7.i386.rpm rpm -i libcdaudio-1.0.0pre2-2.i386.rpm rpm -i cdcd-0.6.0-2.i386.rpm rpm -i libcdaudio-devel-1.0.0pre2-2.i386.rpm rpm -i libggi-devel-0.20001128-3.i386.rpm rpm -i libgii-0.20001128-3.i386.rpm rpm -i libgii-devel-0.20001128-3.i386.rpm rpm -i libruby-1.6.2-4.i386.rpm rpm -i eruby-0.1.3-2.i386.rpm rpm -i irb-1.6.2-4.i386.rpm rpm -i libsafe-1.3-9.i386.rpm rpm -i libsidplay-1.36.45-2.i386.rpm rpm -i libsidplay-devel-1.36.45-2.i386.rpm #rpm -i libsigc++-1.0.1-1.i386.rpm # newer version installed by ximian #rpm -i gtkmm-1.2.3-11.i386.rpm # newer version installed by ximian #rpm -i libsigc++-devel-1.0.1-1.i386.rpm # newer version installed by ximian #rpm -i gtkmm-devel-1.2.3-11.i386.rpm # newer version installed by ximian #rpm -i libsigc++-examples-1.0.1-1.i386.rpm # newer version installed by ximian rpm -i libwmf-0.1.21-2.i386.rpm rpm -i lincity-1.11-5.i386.rpm rpm -i linkchecker-1.2.9-2.i386.rpm rpm -i linux_logo-3.9b1-2.i386.rpm rpm -i listar-0.129a-7.i386.rpm rpm -i loadmeter-1.20-7.i386.rpm rpm -i logcheck-1.1.1-4.i386.rpm rpm -i logcoloriser-1.0.8-5.noarch.rpm rpm -i logwatch-1.6.6-7.noarch.rpm rpm -i lurkftp-0.99-7.i386.rpm rpm -i lzo-1.06-3.i386.rpm rpm -i dxpc-3.8.0-3.i386.rpm rpm -i lzo-devel-1.06-3.i386.rpm rpm -i mailman-2.0.1-2.i386.rpm rpm -i mgp-1.07a-9.i386.rpm rpm -i micq-0.4.6.p1-1.i386.rpm rpm -i mirror-2.9-11.noarch.rpm rpm -i mk-ftp-stats-1.0-8.i386.rpm rpm -i mod_roaming-1.0.2-3.i386.rpm rpm -i mopd-linux-2.5.3-17.i386.rpm rpm -i mpatrol-1.4.0-1.i386.rpm rpm -i MPEG-1.2.2-12.i386.rpm rpm -i mpich-1.2.0-12.i386.rpm rpm -i mrtg-2.9.6-2.i386.rpm rpm -i mtrack-0.2.2-6.i386.rpm rpm -i mxp-1.2-2.i386.rpm rpm -i nano-0.9.99pre2-1.i386.rpm rpm -i netatalk-1.5pre2-6.i386.rpm rpm -i netatalk-devel-1.5pre2-6.i386.rpm rpm -i netcdf-3.4-9.i386.rpm rpm -i nethack-3.3.1-3.i386.rpm rpm -i newtonlink-1.29-5.noarch.rpm rpm -i nighthawk-2.2-7.i386.rpm rpm -i nmap-2.54BETA7-3.i386.rpm rpm -i nmap-frontend-2.54BETA7-3.i386.rpm rpm -i node-0.3.0-5.i386.rpm rpm -i ntop-1.3.2-5.i386.rpm rpm -i ocaml-3.00-10.i386.rpm rpm -i camlp4-3.00-8.i386.rpm rpm -i OffiX-Clipboard-2.4-12.i386.rpm rpm -i OffiX-devel-2.4-12.i386.rpm rpm -i OffiX-Editor-2.4-12.i386.rpm rpm -i OffiX-Execute-2.4a-11.i386.rpm rpm -i OffiX-Files-2.4e-12.i386.rpm rpm -i OffiX-Printer-2.4d-12.i386.rpm rpm -i OffiX-Trash-2.4-12.i386.rpm rpm -i openmotif-2.1.30-8.i386.rpm rpm -i amaya-4.0-3.i386.rpm rpm -i ddd-3.3-1.i386.rpm rpm -i nedit-5.1.1-5.i386.rpm rpm -i openmotif-devel-2.1.30-8.i386.rpm rpm -i pavuk-0.9pl28b-2.i386.rpm rpm -i pcb-1.7.2-2.i386.rpm rpm -i pccts-1.33mr22-4.i386.rpm rpm -i pdmenu-1.2.65-3.i386.rpm rpm -i perl-Convert-BER-1.31-3.i386.rpm rpm -i perl-GD-1.29-9.i386.rpm rpm -i perl-Chart-0.99c_pre3-10.i386.rpm rpm -i perl-libnet-1.0703-5.i386.rpm rpm -i autorpm-1.9.8.4-7.noarch.rpm rpm -i perl-Mon-0.9-3.i386.rpm rpm -i perl-Net-Telnet-3.02-1.i386.rpm rpm -i perl-Period-1.20-9.i386.rpm rpm -i perl-TimeDate-1.10-1.i386.rpm rpm -i bugzilla-2.10-8.noarch.rpm rpm -i perl-Time-HiRes-01.20-9.i386.rpm rpm -i mon-0.38.18-13.i386.rpm rpm -i pilrc-2.5b7-4.i386.rpm rpm -i plan-1.8.4-2.i386.rpm rpm -i plan-server-1.8.4-2.i386.rpm rpm -i plib-1.2.0-4.i386.rpm rpm -i portsentry-1.0-11.i386.rpm rpm -i poster-1.1-1.i386.rpm # rpm -i postfix-20010202-4.i386.rpm # conflicts with sendmail, qmail, etc. rpm -i povray-3.1g-8.i386.rpm rpm -i powershell-0.8-3.i386.rpm rpm -i powertweak-0.99.0-8.i386.rpm # Starting powertweak: [ OK ] rpm -i powertweak-extra-0.99.0-8.i386.rpm # Stopping powertweak services: [ OK ] # Starting powertweak: [ OK ] rpm -i powertweak-gtk-0.99.0-8.i386.rpm rpm -i powertweak-text-0.99.0-8.i386.rpm rpm -i pptpd-1.0.0-5.i386.rpm rpm -i python2-2.0-3.i386.rpm rpm -i python2-devel-2.0-3.i386.rpm rpm -i qcad-1.4.4-4.i386.rpm rpm -i qtarch-2.1-11.i386.rpm rpm -i qt-embedded-2.3.0-0.beta1.3.i386.rpm rpm -i konq-nox-2.1-2.i386.rpm rpm -i qt-embedded-devel-2.3.0-0.beta1.3.i386.rpm rpm -i qt-embedded-designer-2.3.0-0.beta1.3.i386.rpm rpm -i qt-embedded-static-2.3.0-0.beta1.3.i386.rpm rpm -i quanta-2.0pr1-3.i386.rpm rpm -i radiusd-cistron-1.6.4-3.i386.rpm rpm -i portslave-1.2.0pre12-12.i386.rpm rpm -i radvd-0.6.2-6.i386.rpm rpm -i rat-4.2.10-4.i386.rpm rpm -i R-base-1.2.0-6.i386.rpm #updating LibIndex for library /usr/lib/R/library ... #updating HTML index ... rpm -i rCalc-0.2.2-1.i386.rpm rpm -i rdj-0.2.5-1.i386.rpm rpm -i recover-1.1-2.i386.rpm rpm -i rfbproxy-0.6.1-1.i386.rpm rpm -i rfcutil-3.0-2.noarch.rpm rpm -i rio-1.07-6.i386.rpm rpm -i rocksndiamonds-1.4.0-3.i386.rpm rpm -i rpmdb-powertools-7.1-0.20010305.i386.rpm rpm -i ruby-1.6.2-4.i386.rpm rpm -i ruby-devel-1.6.2-4.i386.rpm rpm -i ruby-docs-1.6.2-4.i386.rpm rpm -i ruby-tcltk-1.6.2-4.i386.rpm rpm -i sac-1.7-6.i386.rpm rpm -i safedelete-1.3-10.i386.rpm rpm -i sanduhr-0.3.50-2.i386.rpm rpm -i sart-0.6a1-5.i386.rpm #error: failed dependencies: # libguile.so.6 is needed by sart-0.6a1-5 rpm -i scavenger-1.4.0-3.i386.rpm rpm -i sceda-0.81-13.i386.rpm rpm -i scilab-2.5-7.i386.rpm rpm -i scotty-2.1.10-8.i386.rpm rpm -i screem-0.3.0-3.i386.rpm #error: failed dependencies: # libguile.so.6 is needed by screem-0.3.0-3 rpm -i sdr-3.0-1.i386.rpm rpm -i siag-3.4.7-1.i386.rpm #error: failed dependencies: # libguile.so.6 is needed by siag-3.4.7-1 rpm -i sidplay-base-1.0.4-2.i386.rpm rpm -i sip-2.3-3.i386.rpm rpm -i PyQt-2.3-3.i386.rpm rpm -i PyQt-devel-2.3-3.i386.rpm rpm -i PyQt-examples-2.3-3.i386.rpm rpm -i sip-devel-2.3-3.i386.rpm rpm -i slmon-0.4.0-1.i386.rpm rpm -i sms_client-2.0.8y-7.i386.rpm rpm -i sniffit-0.3.7beta-8.i386.rpm rpm -i SNNS-4.2-7.i386.rpm rpm -i SNNS-doc-4.2-7.i386.rpm rpm -i snort-1.7-3.i386.rpm rpm -i SoundStudio-1.0.3-6.i386.rpm rpm -i soundtracker-0.6.1-2.i386.rpm rpm -i SpeedX-0.1.3d2-4.i386.rpm rpm -i strobe-1.04-8.i386.rpm rpm -i suck-4.2.4-2.i386.rpm rpm -i svgalib-1.4.1-13.i386.rpm rpm -i acidwarp-1.0-15.i386.rpm rpm -i libggi-0.20001128-3.i386.rpm rpm -i repton-1.3-8.i386.rpm rpm -i svgalib-devel-1.4.1-13.i386.rpm rpm -i swig-1.1p5-9.i386.rpm rpm -i swish-1.1-10.i386.rpm rpm -i sylpheed-0.4.61-1.i386.rpm rpm -i synaesthesia-2.1-1.i386.rpm # rpm -i sysctl-config-0.99.0-8.i386.rpm # this is a subset of powertweak, already installed rpm -i t1accent-19980521-7.i386.rpm rpm -i t1lib-1.0-5.i386.rpm rpm -i tetrinet-0.6-8.i386.rpm rpm -i tgif-4.1.39-2.i386.rpm rpm -i thrust-0.83c-11.i386.rpm rpm -i thttpd-2.20b-4.i386.rpm # error: failed dependencies: # apache conflicts with thttpd-2.20b-4 # thttpd conflicts with apache-1.3.19-5 rpm -i tkdesk-1.2-8.i386.rpm rpm -i tkirc-2.43-2.noarch.rpm rpm -i tkrat-2.0rc7-4.i386.rpm rpm -i TkZip-1.0.15-5.noarch.rpm rpm -i tmake-1.7-2.noarch.rpm rpm -i trafshow-1.3-13.i386.rpm rpm -i ttyquake-0.9-9.i386.rpm rpm -i ttywatch-0.5-3.i386.rpm rpm -i ttywatch-devel-0.5-3.i386.rpm rpm -i tunnelv-1.00-4.i386.rpm rpm -i tuxnes-0.73-3.i386.rpm rpm -i tuxracer-0.61-2.i386.rpm rpm -i uae-0.8.15-2.i386.rpm rpm -i unifont-20000122-2.noarch.rpm rpm -i uudeview-0.5.13-9.i386.rpm rpm -i vacation-1.2.2-2.i386.rpm rpm -i vga_gamespack-1.4-7.i386.rpm rpm -i vic-2.8ucl1.1.3-6.i386.rpm rpm -i vile-9.2-2.i386.rpm rpm -i vrfy-990522-3.i386.rpm rpm -i vsa-0.9.7-7.i386.rpm rpm -i vsa-devel-0.9.7-7.i386.rpm rpm -i vt-1.5.1b3-1.noarch.rpm rpm -i w3m-0.1.11pre-7.i386.rpm rpm -i wbd-1.0ucl4-4.i386.rpm rpm -i webalizer-2.01_06-5.i386.rpm rpm -i webdesigner-0.1.6-5.i386.rpm rpm -i weblint-1.020-8.noarch.rpm rpm -i webxref-0.3.5-12.i386.rpm rpm -i WindowMaker-themes-0.1-4.noarch.rpm rpm -i wine-20010131-3.i386.rpm rpm -i wine-devel-20010131-3.i386.rpm rpm -i wmmon-1.0b2-9.i386.rpm rpm -i wmnet-1.06-7.i386.rpm rpm -i WMRack-1.0b5-9.i386.rpm rpm -i wmtime-1.0b2-9.i386.rpm rpm -i wv-0.6.2-2.i386.rpm rpm -i wv-devel-0.6.2-2.i386.rpm rpm -i xanim-2.80.1-12.i386.rpm rpm -i XaoS-3.0-16.i386.rpm rpm -i xattax-1.0-9.i386.rpm rpm -i xawtv-3.34-1.i386.rpm rpm -i xbattle-5.4.1-7.i386.rpm rpm -i xbeats-0.4-8.i386.rpm rpm -i xbmbrowser-5.1-10.i386.rpm rpm -i xchomp-1.0-15.i386.rpm rpm -i xclass-0.5.4-4.i386.rpm rpm -i rfb-0.1.2-4.i386.rpm rpm -i xclass-devel-0.5.4-4.i386.rpm rpm -i xconq-7.4.1-1.i386.rpm rpm -i xcopilot-0.6.6-8.i386.rpm rpm -i xcoral-3.2-5.i386.rpm rpm -i xcoral-docs-3.2-5.i386.rpm rpm -i xdemineur-2.1.1-5.i386.rpm rpm -i Xdialog-1.5.1-1.i386.rpm rpm -i xdosemu-1.0.1-10.i386.rpm rpm -i xearth-1.1-4.i386.rpm rpm -i xengine-1.10-7.i386.rpm rpm -i xephem-3.4-1.i386.rpm rpm -i xevil-1.5-12.i386.rpm rpm -i xfce-3.7.2-1.i386.rpm rpm -i xferstats-2.16-1.i386.rpm rpm -i xfinans-6.0-5.i386.rpm rpm -i xfishtank-2.1tp-7.i386.rpm rpm -i XFrisk-1.2-1.i386.rpm rpm -i xgalaga-2.0.34-2.i386.rpm rpm -i xinvest-2.6-5.i386.rpm rpm -i xkeycaps-2.46-3.i386.rpm rpm -i xlander-1.2-14.i386.rpm rpm -i xmake-1.05-8.i386.rpm rpm -i diablo-2.5_REL-1.i386.rpm rpm -i xmake5-1.1-2.i386.rpm rpm -i xmame-0.37b11.1-1.i386.rpm rpm -i xmbase-grok-1.4.1-8.i386.rpm rpm -i xmcd-2.6-5.i386.rpm rpm -i xmmix-1.2-13.i386.rpm rpm -i xmmsskins-1.0-5.noarch.rpm rpm -i xmountains-2.5-5.i386.rpm rpm -i xmris-4.0.5-5.i386.rpm rpm -i xodo-1.2-5.i386.rpm rpm -i xpcd-2.08-2.i386.rpm rpm -i xpcd-gimp-2.08-2.i386.rpm rpm -i xquote-2.1-3.i386.rpm rpm -i xroads-0.6-5.i386.rpm rpm -i xscorch-0.1.10-1.i386.rpm rpm -i xsession-1.1-9.i386.rpm rpm -i xsnow-1.40-13.i386.rpm rpm -i xsok-1.02-8.i386.rpm rpm -i xspringies-1.12-9.i386.rpm rpm -i xtraceroute-0.8.14-6.i386.rpm rpm -i xwmm-0.7-5.i386.rpm rpm -i xwpe-1.5.23a-4.i386.rpm rpm -i xwpe-X11-1.5.23a-4.i386.rpm rpm -i xwpick-2.20-15.i386.rpm rpm -i xzip-182-1.i386.rpm rpm -i zapping-0.5.9.20010206-1.i386.rpm rpm -i zebra-0.91a-3.i386.rpm rpm -i zgv-5.2-2.i386.rpm rpm -i Zope-2.2.5-4.i386.rpm rpm -i Zope-components-2.2.5-4.i386.rpm rpm -i Zope-pcgi-2.2.5-4.i386.rpm rpm -i Zope-services-2.2.5-4.i386.rpm rpm -i Zope-zpublisher-2.2.5-4.i386.rpm rpm -i Zope-zserver-2.2.5-4.i386.rpm #error: failed dependencies: # Zope-pcgi conflicts with Zope-zserver-2.2.5-4 # Zope-zserver conflicts with Zope-pcgi-2.2.5-4 # not needid if Zope-pcgi is installed (which works with apache) rpm -i Zope-ztemplates-2.2.5-4.i386.rpm rpm -i Zope-core-2.2.5-4.i386.rpm rpm -i ZZplayer-0.9-1.i386.rpm set +v # A public service announcement from the bureau of irrelevent statistics: # this machine now has 1425 packages installed and disk usage on # /disk0 is now about 4.7GB (including about 670MB in /usr/src/redhat/SP # and 400MB in dist and 100MB for the staroffice installer ### ### Star office ### # http://www.staroffice.com # # NOTE: don't waste your time installing this piece of shit # # You need to register and download the 97MB staroffice installer # manually. I can't put the URL here. cd /dist ./so-5_2-ga-bin-linux-en.bin # standard install # /opt/staroffice52/ ln -s /opt/staroffice52/program/soffice /usr/local/bin/soffice # # The idiots who wrote star office think it will be installed by each # unpriviledged user who will run it. It doesn't actually work on a # multiuser installation. what a piece of shit. ### ### Fix /usr/doc ### ln -s /usr/share/doc /usr/doc ### ### onboard sound ### # already configured by installer ### ### redhat updates ### # (for i in `rpm -i -vv --test *.rpm 2>&1 | egrep "D: *[0-9][0-9]* \([0-9][0-9]*,[0-9][0-9]*\)" | cut -d")" -f 2 | cut -c 2-`; do echo "rpm -i --test $i.i386.rpm"; done) >/tmp/test3 set -v rpm -U --nodeps cpp-2.96-85.i386.rpm rpm -U --nodeps gcc-2.96-85.i386.rpm rpm -U --nodeps gcc-chill-2.96-85.i386.rpm rpm -U --nodeps gcc-g77-2.96-85.i386.rpm rpm -U --nodeps gcc-java-2.96-85.i386.rpm rpm -U --nodeps gcc-objc-2.96-85.i386.rpm rpm -U gftp-2.0.8-1.i386.rpm rpm -U gnupg-1.0.6-1.i386.rpm # kernel install probably should have been an install not an upgrade rpm -U kernel-2.4.3-12.i386.rpm # had trouble removing some module files but appeared to install rpm -U devfsd-2.4.3-12.i386.rpm rpm -U kernel-BOOT-2.4.3-12.i386.rpm rpm -U kernel-doc-2.4.3-12.i386.rpm rpm -U kernel-headers-2.4.3-12.i386.rpm rpm -U kernel-source-2.4.3-12.i386.rpm # could not remove /usr/src/linux-2.4.2 rpm -i --force krb5-libs-1.2.2-5.i386.rpm rpm -U --force krb5-devel-1.2.2-5.i386.rpm rpm -U --force krb5-workstation-1.2.2-5.i386.rpm rpm -U --force krb5-server-1.2.2-5.i386.rpm rpm -i --force libstdc++-2.96-85.i386.rpm rpm -i --force libstdc++-devel-2.96-85.i386.rpm rpm -U arts-2.1.2-1.i386.rpm rpm -i --force kdelibs-2.1.2-1.i386.rpm rpm -i --force kdelibs-devel-2.1.2-1.i386.rpm rpm -i --force kdelibs-sound-2.1.2-1.i386.rpm rpm -i --force kdelibs-sound-devel-2.1.2-1.i386.rpm rpm -U gcc-c++-2.96-85.i386.rpm rpm -U losetup-2.11b-3.i386.rpm rpm -U LPRng-3.7.4-23.i386.rpm rpm -U mgetty-1.1.25-5.i386.rpm rpm -U mgetty-sendfax-1.1.25-5.i386.rpm rpm -U mgetty-viewfax-1.1.25-5.i386.rpm rpm -U mgetty-voice-1.1.25-5.i386.rpm rpm -U minicom-1.83.1-8.i386.rpm rpm -U mount-2.11b-3.i386.rpm rpm -U mouseconfig-4.22-1.i386.rpm # idiotic circular dependencies rpm -U --nodeps netscape-common-4.77-1.i386.rpm rpm -U --nodeps netscape-communicator-4.77-1.i386.rpm rpm -U --nodeps netscape-navigator-4.77-1.i386.rpm # old version #rpm -U samba-common-2.0.8-1.7.1.i386.rpm #rpm -U samba-2.0.8-1.7.1.i386.rpm #rpm -U samba-client-2.0.8-1.7.1.i386.rpm #rpm -U samba-swat-2.0.8-1.7.1.i386.rpm # idiotic circular dependencies rpm -U --nodeps samba-2.0.10-2.i386.rpm rpm -U --nodeps samba-client-2.0.10-2.i386.rpm rpm -U --nodeps samba-common-2.0.10-2.i386.rpm rpm -U --nodeps samba-swat-2.0.10-2.i386.rpm rpm -U SysVinit-2.78-17.i386.rpm rpm -U up2date-2.5.4-1.i386.rpm rpm -U up2date-gnome-2.5.4-1.i386.rpm rpm -U wireless-tools-21-1.i386.rpm rpm -U Xconfigurator-4.9.29-1.i386.rpm #rpm -U XFree86-3DLabs-3.3.6-38.i386.rpm #rpm -U XFree86-8514-3.3.6-38.i386.rpm #rpm -U XFree86-AGX-3.3.6-38.i386.rpm #rpm -U XFree86-FBDev-3.3.6-38.i386.rpm #rpm -U XFree86-Mach32-3.3.6-38.i386.rpm #rpm -U XFree86-Mach64-3.3.6-38.i386.rpm #rpm -U XFree86-Mach8-3.3.6-38.i386.rpm #rpm -U XFree86-Mono-3.3.6-38.i386.rpm #rpm -U XFree86-P9000-3.3.6-38.i386.rpm #rpm -U XFree86-S3-3.3.6-38.i386.rpm #rpm -U XFree86-S3V-3.3.6-38.i386.rpm #rpm -U XFree86-VGA16-3.3.6-38.i386.rpm #rpm -U XFree86-W32-3.3.6-38.i386.rpm #rpm -U XFree86-SVGA-3.3.6-38.i386.rpm rpm -U xinetd-2.1.8.9pre15-2.i386.rpm rpm -U ypbind-1.7-8.i386.rpm set +v # must update lilo or machine will not reboot. ### ### update lilo ### patch /etc/lilo.conf <<\...EOF... --- /etc/lilo.conf.orig Sat Jul 7 21:43:43 2001 +++ /etc/lilo.conf Sat Jul 7 21:53:27 2001 @@ -3,11 +3,12 @@ install=/boot/boot.b prompt timeout=50 -message=/boot/message +# /boot/message includes that annoying graphic +#message=/boot/message linear default=linux -image=/boot/vmlinuz-2.4.2-2 +image=/boot/vmlinuz-2.4.3-12 label=linux read-only root=/dev/hda1 ...EOF... lilo reboot ### ### configure lm_sensors ### # lm_sensors is a package which reads voltages, temperatures, and fan speeds # on the motherboard. sensors-detect # interactive. #Driver `w83781d' (should be inserted): # Detects correctly: # * Bus `SMBus ALI15X3 adapter at e800' (Non-I2C SMBus adapter) # Busdriver `i2c-ali15x3', I2C address 0x2d (and 0x48 0x49) # Chip `Winbond W83781D' (confidence: 8) #Driver `lm75' (may not be inserted): # Misdetects: # * Bus `SMBus ALI15X3 adapter at e800' (Non-I2C SMBus adapter) # Busdriver `i2c-ali15x3', I2C address 0x48 # Chip `National Semiconductor LM75' (confidence: 3) # * Bus `SMBus ALI15X3 adapter at e800' (Non-I2C SMBus adapter) # Busdriver `i2c-ali15x3', I2C address 0x49 # Chip `National Semiconductor LM75' (confidence: 3) # #Driver `eeprom' (should be inserted): # Detects correctly: # * Bus `SMBus ALI15X3 adapter at e800' (Non-I2C SMBus adapter) # Busdriver `i2c-ali15x3', I2C address 0x50 # Chip `Serial EEPROM (PC-100 DIMM)' (confidence: 8) # * Bus `SMBus ALI15X3 adapter at e800' (Non-I2C SMBus adapter) # Busdriver `i2c-ali15x3', I2C address 0x51 # Chip `Serial EEPROM (PC-100 DIMM)' (confidence: 8) cat >>/etc/rc.d/rc.local <<\...EOF... # I2C adapter drivers modprobe i2c-ali15x3 # I2C chip drivers modprobe w83781d modprobe eeprom ...EOF... cat >>/etc/modules.conf <<\...EOF... # I2C module options alias char-major-89 i2c-dev ...EOF... modprobe i2c-ali15x3 modprobe w83781d modprobe eeprom # see the results with: sensors ### ### IRDA ### insmod irda #Using /lib/modules/2.4.3-12/kernel/net/irda/irda.o #Warning: /lib/modules/2.4.3-12/kernel/net/irda/irda.o symbol for parameter irda_debug not found # Package irda-utils # edit /etc/sysconfig/irda /etc/rc.d/init.d/irda start irdadump -l -v # was able to see some packets seen by "beaming" from palm pilot. # further experimentation with irda deferred ### ### ATI All-in-wonder video in/out (GATOS) ### ### # http://www.linuxvideo.org/ # # Video out doesn't work since specs are not availible. # Someone reported that it would work if you connected # the video before booting and then used the frame buffer X server instead # of the normal SVGA/ATI server. Well, if you connect the video cable # you will see the boot process on the TV but when the FBdev X server starts # you lose both displays. # However, I didn't necessarily do it correctly. There are some instructions # at: # http://www.0wned.org/~cain/ragefury.htm # in particular, adding VGA=791 (or 792, 794, or 795) to lilo.conf # right after "root=" may help. # [actually, those didn't work so well. A preliminary patch is availible # from peter surda]. Here are some vesa mode numbers: # # http://www.linuxhq.com/kernel/v2.4/doc/fb/vesafb.txt.html # web site down tonight # copy my old copy, with my capture patches cp -r /mnt/oldsys/disk0/usr/local/src/gatos-0.0.5 /usr/local/src/gatos-0.0.5 cd /usr/local/src/gatos-0.0.5/ ./configure make clean make # problems in gatos-conf.cpp relating to ibtk/*.h ### ### Fix RPM policy so it doesn't strip binaries when building packages ### still stuck with all the defective redhat stripped packeges in ### th distribution. ### this will of course be overwritten when the next defective version ### of RPM is installed. ### cd /usr/src/rpm/ patch <<\...EOF... --- brp-redhat.orig Mon Jul 9 21:16:14 2001 +++ brp-redhat Mon Jul 9 21:18:00 2001 @@ -10,4 +10,4 @@ # /usr/lib/rpm/brp-strip # Strip even more sections (Red Hat uses GNU binutils). -/usr/lib/rpm/brp-strip-comment-note +# /usr/lib/rpm/brp-strip-comment-note --- brp-strip-comment-note.orig Sun Apr 8 18:43:38 2001 +++ brp-strip-comment-note Tue Jul 10 00:57:41 2001 @@ -1,4 +1,5 @@ #!/bin/sh +exit # If using normal root, avoid changing anything. if [ -z "$RPM_BUILD_ROOT" -o "$RPM_BUILD_ROOT" = "/" ]; then exit 0 @@ -13,5 +14,5 @@ grep ALLOC >/dev/null; then note= fi - strip -R .comment $note $f || : + # strip -R .comment $note $f || : done --- brp-strip.orig Sun Apr 8 18:43:38 2001 +++ brp-strip Tue Jul 10 00:57:09 2001 @@ -1,4 +1,5 @@ #!/bin/sh +exit # If using normal root, avoid changing anything. if [ -z "$RPM_BUILD_ROOT" -o "$RPM_BUILD_ROOT" = "/" ]; then exit 0 @@ -8,5 +9,6 @@ for f in `find $RPM_BUILD_ROOT -type f \( -perm -0100 -or -perm -0010 -or -perm -0001 \) -exec file {} \; | \ grep -v ' shared object,' | \ sed -n -e 's/^\(.*\):[ ]*ELF.*, not stripped/\1/p'`; do - strip $f || : + ; + # strip $f || : done --- brp-strip-shared.orig Sun Apr 8 18:43:38 2001 +++ brp-strip-shared Tue Jul 10 00:57:21 2001 @@ -1,4 +1,5 @@ #!/bin/sh +exit # Conectiva brp - strip shared libraries. Based on Red Hat's brp-strip. # Thu Apr 20 - Guilherme Manika # Created file @@ -13,5 +14,5 @@ for f in `find $RPM_BUILD_ROOT -type f -a -exec file {} \; | \ grep ' shared object,' | \ sed -n -e 's/^\(.*\):[ ]*ELF.*, not stripped/\1/p'`; do - strip --strip-unneeded $f + # strip --strip-unneeded $f done --- rpmrc.orig Tue Jul 10 00:06:54 2001 +++ rpmrc Tue Jul 10 00:07:11 2001 @@ -10,7 +10,7 @@ # XXX this is the i386 optflags that rpm has traditionally used in the past. #optflags: i386 -O2 -m486 -fno-strength-reduce -optflags: i386 -O2 -march=i386 -mcpu=i686 +optflags: i386 -O2 -march=i386 -mcpu=i686 -g optflags: i486 -O2 -march=i486 optflags: i586 -O2 -march=i586 optflags: i686 -O2 -march=i686 ...EOF... ### ### Voicemodem ### # vgetty: http://www-internal.alphanet.ch/~schaefer/vgetty.html # edited /etc/mgetty+sendfax/voice.conf so ttyS18 was the only device # without doing that, even diagnostics will fail #vgetty/vm already installed vm diagnostics ttyS18 vm devicetest -l ttyS18 -v Test Dialup Line, Int. Mic. and Int. Speaker: not supported by vm/vgetty-modemdriver Test Dialup Line, Ext. Mic. and Ext. Speaker: not supported by vm/vgetty-modemdriver Test Dialup Line and Local Handset: not supported by vm/vgetty-modemdriver Test Dialup Line and Int. Speaker: not supported by vm/vgetty-modemdriver Test Dialup Line and Ext. Speaker: not supported by vm/vgetty-modemdriver Test Local Handset: OK Test Int. Speaker: OK Test Ext. Speaker: not supported by vm/vgetty-modemdriver Test Int. Microphone: not supported by vm/vgetty-modemdriver Test Ext. Microphone: OK Test Dialup Line: OK Test No Device: OK sox /usr/share/sounds/email.wav -r 7200 email.wav wavtopvf ~whitis/email.wav ~whitis/email.pvf pvftormd Rockwell 8 ~whitis/email.pvf ~whitis/email.rmd vm play -v -l ttyS18 -d 6 /home/whitis/email.rmd # test recording vm record -v -l ttyS18 -d 7 -w /home/whitis/test14.rmd # don't pick up handset until prompted to do so. ### ### rsynth ### # http://www.speech.cs.cmu.edu/comp.speech/Section5/Synth/rsynth.html cd /dist wget ftp://svr-ftp.eng.cam.ac.uk/pub/comp.speech/synthesis/rsynth-2.0.tar.gz cd /usr/local/src tar zxvf /dist/rsynth-2.0.tar.gz cd rsynth-2.0 # patch to use /dev/dsp instead of /dev/sbdsp # note, it still doesn't use esd patch hplay.c <<\...EOF... --- hplay.c.old Tue Nov 8 08:07:45 1994 +++ hplay.c Mon Jul 9 00:27:25 2001 @@ -38,7 +38,11 @@ static int dev_fd = -1; /* file descriptor for audio device */ -char *dev_file = "/dev/sbdsp"; +#if 0 + char *dev_file = "/dev/sbdsp"; +#else + char *dev_file = "/dev/dsp"; +#endif static int linear_fd = -1; ...EOF... ./configure --host=linux --prefix=/usr/local --with-aDict --with-bDict make clean make make check make install # /usr/local/bin/say # /usr/local/bin/mkdictdb # /usr/local/bin/dlookup # /usr/local/lib/dict/ make install # Note: it still has problems on playing. When the sound card buffer fills up # it gets a resource temporarily unavailible and instead of retrying it says # write: no such file or directory. synth to a file and play the file. ### ### MVM ### # http://www-internal.alphanet.ch/~schaefer/mvm/index.html cd /dist wget http://www-internal.alphanet.ch/~schaefer/mvm/mvm-current.tar.gz wget http://www-internal.alphanet.ch/~schaefer/mvm/mvm-to-WWW-current.tar.gz cd /usr/local/src tar zxvf /dist/mvm-current.tar.gz cd mvm-2.0 # looks pretty sketchy ### ### more voice mail stuff ### # AT#CID=1 # OK # # RING # # DATE = 0709 # TIME = 0142 # NAME = WHITIS MARK R # MESG = 030732393531393735 # (ETX BELL "2" "9" "5" "1" "9" "7" "5") # ( the bell may be the number of digits) # # AT#CID=2 # OK # # RING # 802401083037303930313434070F574849544953204D41524B205220200307323935313937354F # This is raw caller ID MDMF (multiple data message format) # may be preceeded by 30 bytes AA (channel siezure) # may be preceeded by FF - mark signal 70ms, not triggering the # uart so not likely to appear. # 80 # multiple message header (80h) # 24 # message length - bytes following excl checksum # 01 08 0 7 0 9 0 1 4 4 # hdr len date/time MMDDHHMM # 07 0F W H I T I S " " M A R K " " R " " " " # hdr len length caller name # 03 07 2 9 5 1 9 7 5 # hdr len number # Called directory number. # 4F (checksum?) # submessages may occur in any order within the message # other information which may be present: # - called number # - reason why caller number not availible # 04 len reason # reason is "O" or "P" # - indication call was forwarded # - indication call was long distance # - reason why subsciber name was not availible # 08 len reason # reason is "O" or "P" # - calling line number # 02 len digits # as far as I know, this is the same as 03, up to 10 digits. # # - call type (british telecom) # 11 ???????? # three types: coice call, ring back when free, message waiting # - network message system status (british telecom) # 13 ??????? # number of messages # # # "O" = out of area # "P" = private # "INTERNATIONAL", "PAYPHONE" may appear in caller name # I have also seen city and state in caller name # diference between 02 and 03 messages. 03 supposedly gives the # number which was dialed if a call was divereted in british telecom. # however, I seem to get 03 with the number called from. # messages may also be delivered in single data message format (SDMF) # there is another format called CLIP referred to in dialogic docs # # Phone numbers may be sent with spaces or dashes. # Single Data Message Format # 04 12 30 39 33 30 31 32 32 34 36 30 39 35 35 35 31 32 31 32 51 # hdr type 09/30 12:24PM (609) 555-1212 chksum # # # http://www.tmworld.com/articles/98articles/caller_id_0998.htm # http://www.egyed.com/faq/cid.htm # http://matthieu.benoit.free.fr/cid_dsp.htm # http://support.dialogic.com/appnotes/callerid.htm # http://www.ee.washington.edu/conselec/A95/projects/jjblome/info.htm # http://www.solwise.co.uk/cid.htm # # With this init string in /etc/mgetty+sendfax/mgetty.config: # init-chat "" "\d\d\d+++\d\d\dAT&F0S0=0Q0&D3&K6#CID=1" "OK" # DTMF program gets called with # name='caller name' caller='1234567' dev=ttyS18 pid=11926 # # Playing a sound file through esd # rmdtopvf /var/spool/voice/incoming/v-11649-994656954.rmd | pvftowav | sox -t wav - -c 1 -r 7200 -t ub - | esdcat -b -m -r 7200 # install mgetty source for browsing # rpm -i /usr/src/redhat/SRPMS/mgetty-1.1.25-2.src.rpm #rpm -bp /usr/src/redhat/SPECS/mgetty.spec # source is in /usr/src/redhat/BUILD/mgetty-1.1.25/ # define cnd-program in mgetty.config to call an external program # for caller id validation/notification wget ftp://updates.redhat.com/5.2/en/os/SRPMS/mgetty-1.1.25-4.5.src.rpm rpm -i mgetty-1.1.25-4.5.src.rpm #rpm -bp /usr/src/redhat/SPECS/mgetty.spec rpm -ba /usr/src/redhat/SPECS/mgetty.spec # some complaints about needing libsafe.so.1.3 which is, in fact, installed rpm -U --force --nodeps /usr/src/redhat/RPMS/i386/mgetty-1.1.25-6.i386.rpm rpm -U --force --nodeps /usr/src/redhat/RPMS/i386/mgetty-sendfax-1.1.25-6.i386.rpm rpm -U --force --nodeps /usr/src/redhat/RPMS/i386/mgetty-viewfax-1.1.25-6.i386.rpm rpm -U --force --nodeps /usr/src/redhat/RPMS/i386/mgetty-voice-1.1.25-6.i386.rpm # for compiling without rpm, use: # make 'CFLAGS=-O2 -march=i386 -mcpu=i686 -g -Wall -DAUTO_PPP' CONFDIR=/etc/mgetty+sendfax 'ECHO='\''echo -e'\''' prefix=/usr # make -C voice 'CFLAGS=-O2 -march=i386 -mcpu=i686 -g -Wall -DAUTO_PPP' CONFDIR=/etc/mgetty+sendfax 'ECHO='\''echo -e'\''' prefix=/usr viewfax.c:132: conflicting types for `mkdtemp' /usr/include/stdlib.h:651: previous declaration of `mkdtemp' # incomplete ### ### makewhatis ### # /usr/X11R6/man # /usr/man does not exist # /usr/local/man # /usr/share/man # MANPATH=/usr/local/man:/usr/X11R6/man:/usr/share/man # those are included in output of "man --path", so we can just use -w makewhatis -w ### ### Linux Video ### # gatos has been replaced with video 4 linux/X Video extensions. cd /usr/local/src #mkdir ati_tv #cd ati_tv #export CVSROOT=:pserver:anonymous@cvs.linuxvideo.org:/cvs/livid #cvs login # # press return when propted for a password #cvs -z3 co -P ati_xv # cvs server is down #cd /dist #wget http://www.linuxvideo.org/devel/data/livid.tar.gz #cd /usr/local/src/ #mkdir livid #cd livid #tar zxvf /dist/livid.tar.gz # cd /dist # wrong @#$%$#@ version # wget ftp://updates.redhat.com/6.2/en/os/SRPMS/XFree86-3.3.6-29.src.rpm # rpm -i XFree86-3.3.6-29.src.rpm # rpm -bp /usr/src/redhat/SPECS/XFree86.spec cp -p /usr/X11R6/lib/modules/drivers/ati_drv.o /usr/X11R6/lib/modules/drivers/ati_drv.o.orig cd /dist wget http://www.linuxvideo.org/gatos/ATI-4.0.3.i386.tar.gz cd /usr/local/src mkdir ati.2 cd ati.2 tar zxvf /dist/ATI-4.0.3.i386.tar.gz #tar zcvf /home/whitis/oldX11.tar.gz /usr/X11R6/ cd X11 tar zcvf ../oldX11files.tar.gz -C /usr/X11R6 `find ./lib/ -type f -print` # ignore errors ln -s /usr/X11R6 /usr/X11 ln -s /usr/X11R6 /usr/XF-4.0 cd /usr tar zxvf /dist/ATI-4.0.3.i386.tar.gz #incomplete ### ### Arachne ### # http://browser.arachne.cz/ cd /dist # registration required to download cd /usr/local/src tar zxvf /dist/arachne-1.66b.tar.gz cd arachne-1.66b patch install <<\...EOF... --- install.orig Sat Jul 14 03:10:52 2001 +++ install Sat Jul 14 03:13:37 2001 @@ -6,12 +6,12 @@ # #Installation script needs this information only for verifying libraries: # -LIBDIR=/lib +LIBDIR=/usr/lib USRLIB=/usr/lib # #This can be modified by user anyway - it is just defaullt value... # -INSTPREFIX=/usr +INSTPREFIX=/usr/local # #This is just informational info... no need to change it. # @@ -57,19 +57,19 @@ inst_abort fi -if [ ! -e $LIBDIR/libc-2.1* ] -then - echo "This version of Arachne requires libc-2.1 based system, sorry." - msglib - inst_abort -fi - -if [ ! -e $LIBDIR/libpthread-* ] -then - echo "This version of Arachne requires libpthread, sorry." - msglib - inst_abort -fi +#if [ ! -e $LIBDIR/libc-2.1* ] +#then +# echo "This version of Arachne requires libc-2.1 based system, sorry." +# msglib +# inst_abort +#fi + +#if [ ! -e $LIBDIR/libpthread-* ] +#then +# echo "This version of Arachne requires libpthread, sorry." +# msglib +# inst_abort +#fi if [ ! -e $USRLIB/libvga.so.1.4* ] then ...EOF... ./install #interactive # fix imagemagick PNG conversion problems patch <<\...EOF... --- /usr/local/share/arachne/mime.conf.orig Sat Jul 14 03:13:53 2001 +++ /usr/local/share/arachne/mime.conf Wed Jul 18 23:41:24 2001 @@ -1,4 +1,4 @@ -;this is Linux version of MIME.CFG +>;this is Linux version of MIME.CFG ;-------------------------------------------------------------------------- ;Arachne understands four basic file types: HTM, GIF, BMP, TXT and ASF. Only ;GIF and BMP can be inlined using tag. If the file has different @@ -18,8 +18,11 @@ audio/x-wav WAV|$play.exe $1 audio/basic AU|$play.exe $1 image/jpeg JPG>BMP|djpeg $j -outfile $2 $1 -image/png PNG>BMP|convert $1 bmp24:$2 -image/x-png PNG>BMP|convert $1 bmp24:$2 +#image/png PNG>BMP|convert $1 bmp24:$2 +#image/x-png PNG>BMP|convert $1 bmp24:$2 +image/png PNG>BMP|pngtopnm $1 | ppmtobmp -bpp 24 >$2 +image/x-png PNG>BMP|pngtopnm $1 | ppmtobmp -bpp 24 >$2 + ;--------------------------------------------------------------------------- ;Linux + mpg123 ;--------------------------------------------------------------------------- @@ -175,7 +178,8 @@ file/.mp3 |mpg123 $1 & file/.jpg >BMP|djpeg -bmp -outfile $2 $1 file/.jpe >BMP|djpeg -bmp -outfile $2 $1 -file/.png >BMP|convert $1 bmp24:$2 +#file/.png >BMP|convert $1 bmp24:$2 +file/.png >BMP|pngtopnm $1 | ppmtobmp -bpp 24 >$2 ;--------------------------------------------------------------------------- ;for Linux ;--------------------------------------------------------------------------- ...EPF.. ### ### mnemonic web browser ### # http://www.mnemonic.org/ cd /dist wget http://www.nikhef.nl/~t16/public/mnemonic-19991231.tar.gz cd /usr/local/ tar zxvf /dist/mnemonic-19991231.tar.gz cat >/usr/local/bin/mnemonic <<\...EOF... #!/bin/bash export LD_LIBRARY_PATH=/usr/local/mnemonic/lib:/usr/local/mnemonic/lib/mnemonic/msg /usr/local/mnemonic/bin/mnemonic $* ...EOF... chmod +x /usr/local/bin/mnemonic ### ### Printer setup ### # no more printtool /etc/rc.d/init.d/lpd start printconf-gui & # The two files shown below were created/modified by printconf-gui. # simply recreating those files may not be sufficient since there # is other setup in /var/spool/lpd/lp # added to /etc/printcap cat >/dev/null <<\...EOF... lp:\ :sh:\ :ml=0:\ :mx=0:\ :sd=/var/spool/lpd/lp:\ :lp=/dev/lp0:\ :lpd_bounce=true:\ ...EOF... # Created /var/spool/lpd/lp/mf.cfg cat >/dev/null <<\...EOF... # foomatic/magicfilter configuration # Make: Epson # Model: Stylus Color 670 # Printer Id: 266313 # Driver: stc600ih.upp # TERMINATION= define(MAKE, `Epson')dnl define(MODEL, `Stylus Color 670')dnl define(COLOR, `true')dnl define(PAGEsize, `Letter')dnl define(TEXTfilter, text "" \r\n\14 )dnl define(PSfilter, `filter /usr/share/printconf/util/mf_postscript_wrapper --mfomatic -d stc600ih.upp-266313.foo')dnl define(PCLfilter, `cat')dnl define(PJLfilter, `cat')dnl define(DEFAULTfilter, `cat/text/')dnl ...EOF... # A test print can be done from within printconf-gui # to print a text file: # lpr filename # cat filename | lpr # cat filename | mpage -Plp -4 (four up) # mpage -Plp -4 filename (four up) ### ### dymo label printer ### wget ftp://speakeasy.rpmfind.net/linux/redhat/7.1/en/os/i386/SRPMS//printconf-0.2.12-1.src.rpm rpm -i printconf-0.2.12-1.src.rpm rpm -ba /usr/src/redhat/SPECS/printconf.spec cd /usr/src/redhat/BUILD/printconf-0.2.12/src echo pbm2lwxl >>redhat_gs_driver_list python util/build_striped_printer_db.py foomatic/data japanese printer_db.pickle redhat_gs_driver_list patch printconf-gui <<\...EOF... --- printconf-gui.orig Wed Mar 28 11:51:22 2001 +++ printconf-gui Wed Jul 18 03:22:20 2001 @@ -278,6 +278,12 @@ # This being a printing system, it's probably a good idea to go and see if there are any printers attached locally. # There are much more intelligent approaches to this problem, but the rest of the system isn't sophisticated enough # to care yet, so simply scaning likely devices to see if they can be opened for writing is sufficient. + +# Added serial ports which are needed to support Avery, Dymo, and Costar +# label printers, among others. And yes, we definitely need more than +# for serial ports here. My label printers are attached to +# a byterunner 8 port board with ports from ttyS16-ttyS23 +# - Mark Whitis local_printers = [] for devlpx in [ '/dev/lp0', '/dev/lp1', @@ -286,7 +292,40 @@ '/dev/usb/lp0', '/dev/usb/lp1', '/dev/usb/lp2', - '/dev/usb/lp3']: + '/dev/usb/lp3', + '/dev/ttyS0', + '/dev/ttyS1', + '/dev/ttyS2', + '/dev/ttyS3', + '/dev/ttyS4', + '/dev/ttyS5', + '/dev/ttyS6', + '/dev/ttyS7', + '/dev/ttyS8', + '/dev/ttyS9', + '/dev/ttyS10', + '/dev/ttyS11', + '/dev/ttyS12', + '/dev/ttyS13', + '/dev/ttyS14', + '/dev/ttyS15', + '/dev/ttyS16', + '/dev/ttyS17', + '/dev/ttyS18', + '/dev/ttyS19', + '/dev/ttyS20', + '/dev/ttyS21', + '/dev/ttyS22', + '/dev/ttyS23', + '/dev/ttyS24', + '/dev/ttyS25', + '/dev/ttyS26', + '/dev/ttyS27', + '/dev/ttyS28', + '/dev/ttyS29', + '/dev/ttyS30', + '/dev/ttyS31' + ]: try: os.close (os.open (devlpx, os.O_WRONLY | os.O_NONBLOCK)) local_printers.append({'device':devlpx}) ...EOF... # chown lp /dev/ttyS16 # buggy cp, can't overide -i with -f yes | cp printer_db.pickle /usr/share/printconf/printer_db.pickle yes | cp printconf-gui /usr/sbin/printconf-gui printconf-gui & # Interactive, GUI # after configuring printer in printconf-gui, add :br#19200: in /etc/printcap # (which will unfortunately be erased next time printconf-gui runs) emacs /var/spool/lpd/lbltst/pbm2lwxl-126082.foo # change # "| pnmflip -cw | pnmnoraw | pbm2lwxl" # to # "| pbm2lwxl 448 1500" # which defines a lable size of 2.125x8" (the length will be truncated # based on how many lines ghostscript outputs) # note this will give non-rotated output. If you want rotated output # you will need to reverse the width and height in all label # size definitions, put the pnmflip and pnmnoraw commands back, and # remember to add the options to pbm2lwxl. Better yet, figure out # how to get portrait/landscape printing options to ghostscript # once it is working, you may want to move from /etc/printcap # to /etc/printcap.local so printconf won't hurt it. ### ### XFree86 4.1.0 ### # http://www.xfree86.org/ # Installing from source rather than rpm to make it easier to # do ati TV stuff. cd /dist wget ftp://ftp.xfree86.org/pub/XFree86/4.1.0/source/X410src-1.tgz wget ftp://ftp.xfree86.org/pub/XFree86/4.1.0/source/X410src-2.tgz wget ftp://ftp.xfree86.org/pub/XFree86/4.1.0/source/X410src-3.tgz #wget http://www.linuxvideo.org/devel/data/livid.tar.gz wget http://www.linuxvideo.org/gatos/ATI-4.1.0.i386.tar.gz wget http://www.linuxvideo.org/gatos/os-support.4.1.0.tar.gz cd /usr/local/src mkdir XFree86-4.1.0 cd XFree86-4.1.0 tar zxvf /dist/X410src-1.tgz tar zxvf /dist/X410src-2.tgz tar zxvf /dist/X410src-3.tgz #cd /usr/local/src/ #mkdir livid #cd livid #tar zxvf /dist/livid.tar.gz #cd gatos-ati #cd ati_xv/ #cd r128 #xmkmf /usr/local/src/XFree86-4.1.0/ cd /usr/local/src/XFree86-4.1.0/xc patch <<\...EOF... --- config/cf/site.def.orig Sun Jul 22 09:10:51 2001 +++ config/cf/site.def Sun Jul 22 09:13:16 2001 @@ -31,6 +31,7 @@ #endif */ +#define LinuxDistribution LinuxRedhat #ifdef BeforeVendorCF ...EOF... make World # The rest needs to be done after shutting down X cp -R /etc/X11 /etc/X11.old mv /usr/X11R6 /usr/X11R6.old cd /usr/local/src/XFree86-4.1.0/xc make install # Play games because redhat installs lots of packages in /usr/X11R6 # that do not belong there and are lost when we upgrade the server # by compiling XFree86 from original sources mv /usr/X11R6 /etc/X11R6.new cp -Rp /etc/X11R6.old /etc/X11R6 yes | cp -Rp /etc/X11R6.new/* /etc/X11R6/ # restore configuration yes | cp -Rp /etc/X11.old/* /etc/X11/ # normally, we would backup the drivers we are about to overwrite but # they are already backed up in /usr/X11R6.new cd /usr tar zxvf /dist/ATI-4.1.0.i386.tar.gz cd /usr/local/src/XFree86-4.1.0/xc # use xawtv to use tv (see below) ### ### xawtv ### # http://bytesex.org/xawtv/ # note: man page gives wrong location for system wide xawtvrc file echo "[global]" >> /etc/X11/xawtvrc echo "mixer = line1" >> /etc/X11/xawtvrc echo "freqtab = us-bcast" >> /etc/X11/xawtvrc echo "[defaults]" >> /etc/X11/xawtvrc echo "norm = ntsc" >> /etc/X11/xawtvrc wget http://bytesex.org/xawtv/xawtv_3.56.tar.gz rpm -ta xawtv_3.56.tar.gz # --nodeps is to get around libsafe bug rpm -U --nodeps /usr/src/redhat/RPMS/i386/xawtv-3.56-1.i386.rpm #mkfontdir: Duplicate font names -xxl-ledfixed-medium-r-semicondensed--39-120-75-75-c-180-iso8859-1 # led-iso8859-1.pcf.gz led-latin1.pcf.gz #mkfontdir: unable to process font ./led-latin1.pcf.gz, skipping #mkfontdir: Duplicate font names -xxl-ledfixed-medium-r-semicondensed--39-120-75-75-c-180-iso8859-2 # led-iso8859-2.pcf.gz led-latin2.pcf.gz #mkfontdir: unable to process font ./led-latin2.pcf.gz, skipping #mkfontdir: Duplicate font names -xxl-ledfixed-medium-r-semicondensed--39-120-75-75-c-180-koi8-r # led-koi8-r.pcf.gz led-koi8.pcf.gz #mkfontdir: unable to process font ./led-koi8.pcf.gz, skipping rpm -i --nodeps /usr/src/redhat/RPMS/i386/xawtv-radio-3.56-1.i386.rpm rpm -i --nodeps /usr/src/redhat/RPMS/i386/xawtv-misc-3.56-1.i386.rpm rpm -i --nodeps /usr/src/redhat/RPMS/i386/xawtv-webcam-3.56-1.i386.rpm rpm -i --nodeps /usr/src/redhat/RPMS/i386/alevtd-3.56-1.i386.rpm # test xawtv ### ### DRI (3d support) ### cd /usr/local/src/ mkdir DRI cd DRI tar zxvf /dist/os-support.4.1.0.tar.gz # did not proceed further ### ### LIRC (Linux Infrared Remote Control) ### #http://www.lirc.org/ cd /dist wget lirc-0.6.4pre3.tar.gz tar zxvf /dist/lirc-0.6.3.tar.gz ./configure #interactive # defective software does not allow you to specify /dev/ttyS20 # but it just creates a shell script to run configure. ./configure --with-module-dir=/lib/modules/2.4.3-12/misc --with-tty=/dev/ttyS20 --with-x --with-driver=slinke --with-major=61 --with-port=none --with-irq=none --enable-debug make make install # not working ### ### acroread. ### # http://www.adobe.com/ cd /dist wget ftp://ftp.adobe.com/pub/adobe/acrobatreader/unix/4.x/linux-ar-405.tar.gz cd /usr/local/src mkdir acroread-4.05 cd acroread-4.05/ tar zxvf /dist/linux-ar-405.tar.gz cd ILINXR.install/ ./INSTALL #interactive: # accept # /usr/local/Acrobat4 # create? yes cd /usr/local/Acrobat4 ln -s /usr/local/Acrobat4/bin/acroread /usr/local/bin/ cd /usr/lib/netscape/plugins/ # don't use their stupid wrapper script as that will break all other # plugins since netscape will not permit more than one item in the # NPX_PLUGIN_PATH. ln -s /usr/local/Acrobat4/Browsers/intellinux/nppdf.so . # Netscape -> Edit -> Preferences -> Navigaor ->Applications # Portable Document Format: plugin: nppdf.so # # don't use: # # Portable Document Format: Application: acroread -tempFile %s # # Portable Document format: Plugin: plugger.so m ### ### plugger configuration ### #:http://www.hubbe.net/~hubbe/plugger.html # plugger 3.2-9 is already installed. This version may not work # well with netscape 6 or mozilla, though. cat >>/etc/pluggerrc <<\...EOF... application/pdf: pdf: portable document format exits: acroread -tempFile $file exits: xpdf $file exits: ghostview $file ...EOF... # notes: xpdf cant do forms, I don't think, and ghostview can't do forms # or encrypted documents # sample pdf url for testing: # http://www.pdfzone.com/pdfs/Acr4faq.pdf patch /etc/pluggerrc <<\...EOF... --- /etc/pluggerrc.old Tue Jul 24 04:07:17 2001 +++ /etc/pluggerrc Tue Jul 24 04:10:51 2001 --- /etc/pluggerrc.old Tue Jul 24 04:07:17 2001 +++ /etc/pluggerrc Tue Jul 24 04:10:51 2001 @@ -45,15 +45,18 @@ audio/x-mpeg3: mp3: MPEG audio audio/mpeg: mpa,abs,mpega: MPEG audio audio/x-mpeg: mpa,abs,mpega: MPEG audio + exits, many: xmms --play --show-main-window $file stream, preload: mpg123 -q -b 128 - many: mpg123 -q -b 128 $file audio/basic: au,snd: Basic audio file audio/x-basic: au,snd: Basic audio file + exits, many: xmms --play --show-main-window $file exits : play $file audio/wav:wav:Microsoft wave file audio/x-wav:wav:Microsoft wave file + exits, many: xmms --play --show-main-window $file : play $file image/tiff: tiff,tif: TIFF image @@ -67,7 +70,8 @@ audio/x-mpeg-url: m3u: MPEG music resource locator audio/mpegurl: m3u: MPEG music resource locator audio/x-mpegurl: m3u: MPEG music resource locator - :internal:url +# :internal:url + exits, many: xmms --play --show-main-window $file #audio/pn-realaudio-plugin::Realaudio-plugin resource locator # daemon, exits, swallow: raplayer $file ...EOF... patch /etc/pluggerrc <<\...EOF... --- /etc/pluggerrc~ Tue Jul 24 04:10:51 2001 +++ /etc/pluggerrc Wed Aug 8 16:54:19 2001 @@ -1,4 +1,4 @@ -# Configure file for plugger version 3.0 +cap# Configure file for plugger version 3.0 # Commands which are not installed on your system will not # be used. # @@ -7,10 +7,11 @@ stream: mtvp -W$window - 2>/dev/null 1>/dev/null loop:mtvp -l -W$window $file :mtvp -W$window $file - loop: xanim -Zr +W$window +q +f $file - many: xanim -Zr +W$window +q +Ze +f $file stream: plaympeg -w $window - >/dev/null 2>&1 loop: plaympeg -l -w $window $file >/dev/null 2>&1 + loop: xanim -Zr +W$window +q +f $file + many: xanim -Zr +W$window +q +Ze +f $file + video/quicktime: mov,qt: Quicktime animation video/x-quicktime: mov,qt: Quicktime animation ...EOF... ### ### USB ### # http://www.linux-usb.org/ # /etc/hotplug/usb.rc start # device mappings seem to be in: # more /lib/modules/2.4.3-12/modules.usbmap #insmod usbcore #insmod usb-uhci # redhat neglected to install usbtools which causes /etc/hotplub/usb.rc to fail cd /dist wget http://usb.cs.tum.edu/download/usbutils/usbutils-0.8.tar.gz cd /usr/local/src tar zxvf /dist/usbutils-0.8.tar.gz cd usbutils-0.8/ ./configure make make check make install # note that usb utils are installed into /usr/local/sbin/ and that # defective system scripts fail to add that to the path # workaround bad path in /etc/hotplug/usb.rc ln -s /usr/local/sbin/usbmodules /usr/sbin/ ln -s /usr/local/sbin/lsusb /usr/sbin/ mount -t usbdevfs usbfs /proc/bus/usb /etc/hotplug/usb.rc stop /etc/hotplug/usb.rc start # Still not working. Bad USB port? ### ### viavoice SDK ### # http://www-4.ibm.com/software/speech/dev/sdk_linux.html # these urls probably won't work again wget ftp://speech:rmk7wd5d@207.25.253.61/ibmspeech/viavoice_asr_sdk_3.tar wget ftp://speech:rmk7wd5d@207.25.253.61/ibmspeech/viavoice_command_rtk_2.tar wget ftp://speech:rmk7wd5d@207.25.253.61/ibmspeech/viavoice_tts_sdk_5.tar wget ftp://speech:rmk7wd5d@207.25.253.61/ibmspeech/viavoice_tts_rtk_5.tar wget ftp://speech:rmk7wd5d@207.25.253.61/ibmspeech/viavoice_dict_rtk_3.tar ### ### imwheel ### # http://jcatki.dhs.org/imwheel/ cd /dist wget ftp://updates.redhat.com/pub/powertools/6.2/i386/imwheel-0.9.8-1.i386.rpm ry cd /usr/local/src/ tar zxvf /dist/imwheel-0.9.9.tar.gz cd imwheel-0.9.9/ ./configure make make install # incomplete # doesn't look like this will do anything for us until the mouse itself # is supported by X. ### ### xless ### cd /dist wget ftp://ftp.rpmfind.net/linux/contrib/libc6/i386//xless-1.7-3.i386.rpm wget ftp://ftp.rpmfind.net/linux/contrib/libc6/SRPMS//xless-1.7-3.src.rpm rpm -i xless-1.7-3.src.rpm rpm -ba /usr/src/redhat/SPECS/xless-1.7.spec # compile error # incomplete ### ### ascii2html ### cat >/usr/local/bin/ascii2html <<\...EOF... #!/bin/bash echo
"
sed -e "s/&/&/g" -e 's//\>/g'
echo 
" ...EOF... chmod +x /usr/local/bin/ascii2html ### ### Gabber 0.8.4 upgrade ### # http://gabber.sourceforge.com/ cd /dist wget http://prdownloads.sourceforge.net/gabber/gabber-0.8.4-1_rh7.i386.rpm #wget http://prdownloads.sourceforge.net/gabber/gabber-0.8.4-1.src.rpm # rpm -i --upgrade gabber-0.8.4-1_rh7.i386.rpm # libgnomemm-1.2.so.9 is needed by gabber-0.8.4-1_rh7 # use redcarpet to update "C++ bindings for gnome" # gnomemm = 1.1.15 # gnomemm-devel # gnome-libs-devel # gtkmm-devel # note that it will remove gabber # exit from redcarpet rpm -i --upgrade gabber-0.8.4-1_rh7.i386.rpm ### ### ipchains ### # This pokes a hole in the firewall for dns queries to servers other than # the one immediately upstream. Otherwise, diagnostic use of dig/nslookup # will fail. Unfortunately, this also creates a way to sneak in UDP packets # so you shouldn't be running vulnerable UDP services on the local network # or should explictly firewall those off. patch <<\...EOF... --- /etc/sysconfig/ipchains~ Tue Jul 3 02:29:48 2001 +++ /etc/sysconfig/ipchains Tue Aug 21 14:05:36 2001 @@ -5,6 +5,8 @@ :input ACCEPT :forward ACCEPT :output ACCEPT +-A input -s 0/0 53 -d 0/0 -p udp -j ACCEPT + -A input -s 0/0 -d 0/0 25 -p tcp -y -j ACCEPT -A input -s 0/0 -d 0/0 80 -p tcp -y -j ACCEPT -A input -s 0/0 -d 0/0 22 -p tcp -y -j ACCEPT @@ -14,3 +16,4 @@ -A input -s 192.168.0.1 53 -d 0/0 -p udp -j ACCEPT -A input -s 0/0 -d 0/0 -p tcp -y -j REJECT -A input -s 0/0 -d 0/0 -p udp -j REJECT + ...EOF... ### ### Gnome user setup example ### # Next # Registration screen: Next # Would you like to update your desktop # [ ] install the new ximian gnome settings # [X] help me create custom desktop settings # [ ] dont change my settings # Desktop manager (Nautilus, Classic (gmc), no file manager): Naugilus # Panel style(Ximian GNOME, Redmond, CDE): CDE # Application theme: Raleigh # window borders: Crux # wall paper: night jungle # Ximian Gnome will now update your settings: Next # click ok to start: ok # # click on the toolbox to launch the gnome control center. # select desktop/panel. Select "Menu" tab. # move "Programs (Ximian)", Programs (GNOME)" and "KDE", "Distribution" # from "off" to "in a submenu" # one odd effect, you get two "Programs" submenus with the same name # instead of merging them. # under Miscellaneous tab, click "keep panels above other windows". # Ok. # # Right click the folder that is in the left corner of the panel # select properties # select icon tab # check Use custom icon # click the blank icon and choose Gnome-log-icon-transparent.png # close # # Right click somewhere on panel # panel -> properties -> type -> edge panel # panel -> properties -> hide buttons -> with arrows # Drag the various icons to the left side (use middle button) # (shift with middle button lets you push others around) # remove ABI word launcher (right click on it, select remove) # remove mozilla launcher # right click on panel # panel -> add to panel -> applet -> utility -> tasklist # (start a terminal window so there will be something in the tasklist) # drag tasklist to the right # right click on panel # panel -> add to panel -> applet -> multimedia -> mixer # panel -> add to panel -> applet -> multimedia -> sound monitor # panel -> add to panel -> applet -> network -> RH PPP # (select the appropriate interface) # # Panel now looks like (from left to right): # (right click on panel first to create each of the below) # (hide button) # gnome foot = panel -> add to panel -> menu -> main menu # lock = add to panel -> lock button # question mark = Panel -> add -> launcher from menu -> help system # rerminal = panel -> add -> launcher from menu -> system -> gnome terminal # toolbox = panel -> add -> launcher from menu -> settings -> gnome control center # volume control= panel -> add to panel -> applet -> multimedia -> mixer # level meter panel -> add to panel -> applet -> multimedia -> sound monitor # tasklist panel -> add to panel -> applet -> utility -> tasklist # desk guide panel -> add to panel -> applet -> utility -> desk guide # RP3 panel -> add to panel -> applet -> network -> RH PPP # clock panel -> add to panel -> applet -> clocks -> clock # (hide button) ### ### example of running as another user in Xnest ### su root Xnest :1 & su - testuser DISPLAY=:1 gnome-session & ### ### htmltidy ### # http://www.w3.org/People/Raggett/tidy/ cd /dist wget http://perso.club-internet.fr/dpo/rpm/tidy-4aug00-2.i386.rpm # wget http://perso.club-internet.fr/dpo/rpm/tidy-4aug00-2.src.rpm rpm -i tidy-4aug00-2.i386.rpm ### ### sitecopy ### # http://www.lyra.org/sitecopy/ cd /dist # wget ftp://contrib.redhat.com/pub/contrib/libc6/i386/sitecopy-0.7.8-1.i386.rpm wget http://www.lyra.org/sitecopy/sitecopy-0.10.15.tar.gz cd /usr/local/src/ tar zxvf /dist/sitecopy-0.10.15.tar.gz cd sitecopy-0.10.15/ ./configure make make install ### ### cURL note ### # cURL can do netscape file uploads (HTTP POST upload) ### ### Grip ### cat >>/root/.grip <<\...EOF... mp3exename /usr/local/bin/lame ripfileformat ./%A/%d/%t_%n.wav mp3fileformat ./%A/%d/%t_%n.mp3 ...EOF... ### ### lame 3.70 ### # Lame is an MP3 encoder. It does better than most other MP3 encoders # at 128Kb/s (total). Due to patent restrictions, lame is not # distributed in binary form (although binaries are availible from other # countries). # # http://lame.sourceforge.net/ cd /dist/ wget ftp://lame.sourceforge.net/pub/lame/src/lame3.70.tar.gz tar zxvf /dist/lame3.70.tar.gz cd lame3.70 make install lame /usr/local/bin/ install mlame /usr/local/bin/ install auenc /usr/local/bin/ install doc/man/lame.1 /usr/local/man/ install libmp3lame.a /usr/local/lib/ mkdir /usr/doc/lame3.70 cp -pf README INSTALL LICENSE COPYING HACKING PRESETS.draft README.WINGTK TODO USAGE API /usr/doc/lame3.70/ cp -rpf doc/html /usr/doc/lame3.70/ ### ### USB new USB card ### # http://www.linux-usb.com/ # htt # Monday, September 03 2001 # # I installed a new USB card since I apparently have a defective USB # chip on the motherboard. # # ADS Technologies USB Port USBX-500 # $25 at Circuit City # UPC 7-57887-50010-8 # BUS PCI # Chip: OPTi FireLink 82C861 # Chip: 74F04N # Crystal: 48Mhz # Transistors: 2x 2n3904 # other discrete compnonents: misc risistors & capacitors # Label: 011015520 USB-OPTI861-3 # Board ID: CMD0670B Rev G # Label: STL 2001-03 # Label: Made in china # Label QC Pass # # Shutdown gracefully and power off # install card # boot system normally # Note: I have kudzu (hardware detection and configuration) disabled. # If you have kudzu turned on, it will automatically add the necessary # line to /etc/conf.modules # the following commands will make the USB adapter work for the current # session but do not permanently install the hardware. mount -t usbdevfs usbfs /proc/bus/usb insmod usbcore insmod usb-ohci # This makes it permanent: echo "alias usb-controller usb-ohci" >>/etc/modules.conf # hotplug scripts should take care of this: # echo "none /proc usbfs defaults 0 0" >>/etc/fstab # note, on older versions modules.conf is called conf.modules # What would kudzo do? Here we check: #cp -rp /etc /etcsave #cp -rp /boot /bootsave #cp -rp /lib/modules/2.4.3-12 /lib/modules/2.4.3-12.save #kudzu # # interactive # # tell kudzu to install the 8xC861 it found #diff -u /lib/modules/2.4.3-12.save /lib/modules/s.4.3-12 #diff -u /etcsave /etc #diff -u /boot /bootsave #the answer is basically that it adds "alias usb-controller usb-ohci" to # the end of /etc/modules.conf and updates its own configuration file # /etc/sysconfig/hwconf to indicate it has seen this hardware before # kudzo does not mount /proc/bus/usb # Note that neither kudzu nor our installation here have modified the # initrd (inital ramdisk). So, don't try to boot off a USB device # or use a USB device until the machine has mounted the root # filesystem. # USB info # # If the usbfs is mounted (see above), you can look at the usbdevices # using: # cat /proc/bus/usb/devices # cat /proc/bus/usb/drivers # # cat /proc/bus/usb/001/* # not human readable # Diagnostic tools: # usbview # usbmodules # # Devices will automatically be detected and handled by # the scripts in /etc/hotplug/* # # If a specific device is not recognized but there is a driver which # would probably support it if it recognized the device ID, # add the device ID to /lib/modules/2.4.3-12/modules.usbmap # # specific devices # # serial: # just use the name /dev/ttyUSB0 or /deb/usb/ttyUSB0 # as you would use /dev/ttyS0 to access the first legacy # serial port # ethernet: # (assuming first ethernet port on system) # ifconfig eth0 192.168.2.1 up # scanners: # use SANE if a driver is availible for your scanner # printers # use printconf-gui to setup ghostscript and lprng to drive the printer # specify port /dev/usb/lp0 # NOTE: some epson USB printers require some special commands to be sent # to them to cause them to use the USB port. # devfs # If you are using devfs, the device names might looks something like # /dev/usb/tts/0 or /devfs/usb/tts/0 instead of /dev/ttyUSB0 ### ### MCT-232 USB serial adapter for Dymo label printers ### # http://www.dymo.cm/ # http://www.mct.com.tw/ # http://www.linux-usb.com/ # kernel modules serial + mct_u232 statserial /dev/usb/ttyUSB0 # plug and unplug attached serial device and watch handshake lines # change status # Control-C to exit stty 19200 ixon -onlcr /dev/usb/ttyUSB0 # CRASHES SYSTEM!!!!! # Apparently sending bulk data to the USB device crashes the system # ditto for reading bulk data ### ### gwatch ### cd /dist wget http://www.kraftvoll.at/software/gwatch-1.2-1.i386.rpm rpm -i /dist/gwatch-1.2-1.i386.rpm ### ### gpsdrive ### cd /dist wget http://www.kraftvoll.at/software/gpsdrive-0.18-1.i386.rpm rpm -i gpsdrive-0.18-1.i386.rpm ### ### import old PGP key ### cd ~whitis/ gpg --import --allow-secret-key-import .pgp/secring.pgp gpg --import .pgp/pubring.pgp ### ### Abiword upgrade ### cd /dist wget http://prdownloads.sourceforge.net/abiword/abiword-gnome-0.9.2-1.i386.rpm wget ftp://ftp.ximian.com/pub/ximian-gnome/redhat-71-i386/gal-0.11.2-ximian.2.i386.rpm wget ftp://ftp.ximian.com/pub/ximian-gnome/redhat-71-i386/gal-devel-0.11.2-ximian.2.i386.rpm wget ftp://ftp.ximian.com/pub/ximian-gnome/redhat-71-i386/libgal11-0.11.2-ximian.2.i386.rpm rpm -i libgal11-0.11.2-ximian.2.i386.rpm rpm -i gal-0.11.2-ximian.2.i386.rpm rpm -i --force gal-devel-0.11.2-ximian.2.i386.rpm rpm -i --upgrade --nodeps abiword-gnome-0.9.2-1.i386.rpm # it wants libgal.so.9, so we try forcing # package abiword-0.7.13-2 (which is newer than abiword-0.9.2-1) is already installed rpm -i --upgrade --nodeps --force abiword-gnome-0.9.2-1.i386.rpm # tried making libgal.so.9 a symlink to .11, no dice # font problems because abiword was apparently running wget ftp://ftp.ximian.com/pub/ximian-gnome/redhat-71-i386/libgal8-0.9.1-ximian.1.i386.rpm # rpm -i libgal8-0.9.1-ximian.1.i386.rpm # nope, didn't help #wget ftp://ftp.ximian.com/pub/evolution/redhat-71-i386/gal-0.10-ximian.1.i386.rpm #wget ftp://ftp.ximian.com/pub/evolution/redhat-71-i386/gal-devel-0.10-ximian.1.i386.rpm wget ftp://ftp.ximian.com/pub/evolution/redhat-71-i386/libgal9-0.10-ximian.1.i386.rpm rpm -i libgal9-0.10-ximian.1.i386.rpm /etc/rc.d/init.d/xfs restart ### ### tab_merge_pdf ### cd /dist wget ftp://ftp.itlab.musc.edu/pub/tab_merge_pdf/tab_merge_pdf-0.2.tar.gz wget ftp://ftp.itlab.musc.edu/pub/tab_merge_pdf/pj-0.22.tar.gz cd /usr/local/src tar zxvf /dist/pj-0.22.tar.gz tar zxvf /dist/tab_merge_pdf-0.2.tar.gz cd pj-0.22/ make make install prefix=/usr/local cd .. cd /tab_mege_pdf-0.2 make cat test.tab | ./tabmergepdf.sh test.pdf >junk.pdf # Doesn't work ### ### Mustek 1200UB Plus scanner ### # http://www.mustek.com # Hardware: # Assembly (stamped in plastic: 60-79C-08011 # Scanner head: 60-79C-09010 # crossed out: 60-82C-15010 # spring loaded head rides against bottom of glass on 4 plastic bumps # Stepper motor: 92/097/01020 24?SA32 36C 015H # Printed Circuit board: # PCB MAIN BOARD CANON, SB REV.XX4 # P/N 59-079-02000 Mustek Systems Inc. # IC: Grandtech GT-6801 F28683.1 0033 # IC: ULN2003 (stepper motor driver) # IC: AIC1563CS 944A4 # Opto interupter: HH306-04 # connectors: # 6 pin (5 used) to stepper motor # 5 pin to USB cable # 12 pin flat cable to scanner head. cd /dist wget ftp://ftp.mustek.com.tw/pub/driver/1200UB/Linux/V1.0.3/1200ub.tar.gz cd /usr/local/src tar zxvf /dist/1200ub.tar.gz cd 1200ub #It wants an older version of libgimp, so we force rpm -i --nodeps 1200ub_sane-1.0.3-1.i386.rpm # note that this rpm contains parts of sane and could interfere with # a normal sane installation. rpm -i 1200ub_sane-1.0.3-1.src.rpm rpm -ba /usr/src/redhat/SPECS/1200ub_sane-1.0.3.spec # would not compile #gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/usr/local/include -I/usr/lib/glib/include -I/usr/X11R6/include -D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/local/share -DV_MAJOR=1 -DV_MINOR=0 -g -O2 -W -Wall -DSCSIBUFFERSIZE=131072 xscanimage.c #In file included from xscanimage.c:35: #gtkglue.h:6:21: gtk/gtk.h: No such file or directory #In file included from xscanimage.c:60: #/usr/include/libgimp/gimp.h:25:18: glib.h: No such file or directory #In file included from /usr/include/libgimp/gimp.h:46, from xscanimage.c:60: #/usr/include/libgimp/gimputils.h:40:57: missing binary operator before '&&' #make[1]: *** [xscanimage.o] Error 1 #make[1]: Leaving directory `/disk0/usr/src/redhat/BUILD/1200ub_sane-1.0.3/frontend' #make: *** [all-recursive] Error 1 #error: Bad exit status from /var/tmp/rpm-tmp.45550 (%build) # # # RPM build errors: # Bad exit status from /var/tmp/rpm-tmp.45550 (%build) cp -p /usr/local/lib/sane/libsane-1200ub.* /usr/lib/sane/ cp -p /usr/local/etc/sane.d/1200ub.conf /etc/sane.d echo 1200ub >>/etc/sane.d/dll.conf insmod scanner vendor=0x05d8 product=0x4002 echo localhost >>/usr/local/etc/sane.d/net.conf emacs /lib/modules/2.4.3-12/modules.usbmap & cd /usr/src/linux/drivers/usb/ gcc -O -DMODULE -D__KERNEL__ -DKERNEL2_4 -DDEBUG -c scanner.c insmod ./scanner.o vendor=0x05d8 product=0x4002 hub.c: USB new device connect on bus1/2, assigned device number 11 scanner.c: probe_scanner: User specified USB scanner -- Vendor:Product - 5d8:4002 scanner.c: probe_scanner: USB dev address:c1802800 scanner.c: probe_scanner: ifnum:0 scanner.c: probe_scanner: Number of Endpoints:1 scanner.c: probe_scanner: Only two or three endpoints supported. usb.c: USB device 11 (vend/prod 0x5d8/0x4002) is not claimed by any active driver. ### ### form-maker (not recommended) ### cd /dist wget http://freshmeat.net/redir/formmaker/2796/url_tgz/form-maker-0.0.3.tar.gz # Actually, due to firewall problems on their end, we had to drop our # firewall rules and use ncftp manually to use PORT instead of PASV. cd /usr/local/src/ tar zxvf /dist/form-maker-0.0.3.tar.gz cd form-maker-0.0.3 make make install # dumb - doesn't let you save forms ### ### hp2xx ### # # Tuesday, October 02 2001 cd /dist wget ftp://gatekeeper.dec.com/pub/GNU/hp2xx/hp2xx-3.4.0.tar.gz cd /usr/local/src tar zxvf /dist/hp2xx-3.4.0.tar.gz cd hp2xx-3.4.0/ make make install ### ### hpojpanel ### cd /dist wget http://pages.cthome.net/jsp/hpoj-linux-gui/xhpcontrol.tar.gz cd /usr/local/src/ tar zxvf /dist/xhpcontrol.tar.gz cd hpcontrol # # # creating cache ./config.cache # checking for ptalInit in -lptal... no # # A needed library could not be found (libptal.so*). # Building and running xhpcontrol requires the installation # of a recent version of the hpoj CVS package. ### ### libtool/automake upgrade ### # needed to rebuild libdvdread below cd /dist # wget ftp://ftp.rpmfind.net/linux/redhat/7.1/en/os/i386/RedHat/RPMS/automake-1.4-8.noarch.rpm wget ftp://ftp.rpmfind.net/linux/rawhide/1.0/i386/RedHat/RPMS/automake-1.5-1.noarch.rpm wget ftp://ftp.rpmfind.net/linux/rawhide/1.0/i386/RedHat/RPMS/libtool-1.4-8.i386.rpm wget ftp://ftp.rpmfind.net/linux/rawhide/1.0/i386/RedHat/RPMS/libtool-libs-1.4-8.i386.rpm # rpm -i automake-1.4-8.noarch.rpm rpm -i --upgrade automake-1.5-1.noarch.rpm rpm -i libtool-libs-1.4-8.i386.rpm rpm -i --upgrade libtool-1.4-8.i386.rpm ### ### DVD ### # http://www.dtek.chalmers.se/groups/dvd/ ln -s /dev/hdd /dev/dvd # Serious packaging bugs: # - * should be .i386.rpm not .i686.rpm # - libdvdrequires new versions of libtool/autoconf # - circular dependedencies in ogle rpms # - ogle requires libdvdcontrol (automatically added by rpm based on ldd) # but it is what provides it. libdvdcontrol must be added to # the Provides: list. # - a52dec libao.* conflicts with library by same name from OGG Vorbis # technically, Vorbis installs liba.so and a52dec installs libao.a but # then when ./configure trys the ao_driver test, gcc loads the wrong # (vorbis) library. # - package fails to install libdvd # this is a pain because the packages were distributed as .i686.rpm's instead # of .i386.rpm # remove vorbis - libao from vorbis conflicts with libao from a52dec rpm -e vorbis vorbis-devel ClanLib-vorbis wget http://www.dtek.chalmers.se/groups/dvd/rh71/libdvdcss-0.0.3.ogle2-1.i686.rpm wget http://www.dtek.chalmers.se/groups/dvd/rh71/libdvdcss-devel-0.0.3.ogle2-1.i686.rpm wget http://www.dtek.chalmers.se/groups/dvd/srpm/libdvdcss-0.0.3.ogle2-1.src.rpm wget http://www.dtek.chalmers.se/groups/dvd/rh71/libdvdread-0.9.1-2.i686.rpm wget http://www.dtek.chalmers.se/groups/dvd/rh71/libdvdread-devel-0.9.1-2.i686.rpm wget http://www.dtek.chalmers.se/groups/dvd/srpm/libdvdread-0.9.1-2.src.rpm wget http://www.dtek.chalmers.se/groups/dvd/rh71/a52dec-0.7.1b-2.i686.rpm wget http://www.dtek.chalmers.se/groups/dvd/rh71/a52dec-devel-0.7.1b-2.i686.rpm wget http://www.dtek.chalmers.se/groups/dvd/srpm/a52dec-0.7.1b-2.src.rpm wget http://www.dtek.chalmers.se/groups/dvd/rh71/ogle-0.7.5-2.i686.rpm wget http://www.dtek.chalmers.se/groups/dvd/rh71/ogle-devel-0.7.5-2.i686.rpm wget http://www.dtek.chalmers.se/groups/dvd/srpm/ogle-0.7.5-2.src.rpm wget http://www.dtek.chalmers.se/groups/dvd/rh71/ogle_gui-0.7.5-2.i686.rpm wget http://www.dtek.chalmers.se/groups/dvd/srpm/ogle_gui-0.7.5-2.src.rpm rpm -i libdvdcss-0.0.3.ogle2-1.src.rpm rpm -ba --target=i386 /usr/src/redhat/SPECS/libdvdcss-0.0.3.ogle2-1.spec rpm -i --nodeps /usr/src/redhat/RPMS/i386/libdvdcss-0.0.3.ogle2-1.i386.rpm rpm -i --nodeps /usr/src/redhat/RPMS/i386/libdvdcss-devel-0.0.3.ogle2-1.i386.rpm # nodeps is to work around the notorius libsafe bug rpm -i libdvdread-0.9.1-2.src.rpm cp /usr/src/redhat/SPECS/libdvdread-0.9.1-2.spec /usr/src/redhat/SPECS/libdvdread-0.9.1-2w.spec rpm -ba --target=i386 /usr/src/redhat/SPECS/libdvdread-0.9.1-2.spec # failed due to libtool ltconfig issues # upgraded automake and libtool above rpm -ba --target=i386 /usr/src/redhat/SPECS/libdvdread-0.9.1-2w.spec rpm -i --nodeps /usr/src/redhat/RPMS/i386/libdvdread-0.9.1-2.i386.rpm rpm -i --nodeps /usr/src/redhat/RPMS/i386/libdvdread-devel-0.9.1-2.i386.rpm # nodeps is to work around libsafe.so.1.3 dependency bug rpm -i a52dec-0.7.1b-2.src.rpm rpm -ba /usr/src/redhat/SPECS/a52dec-0.7.1b-2.spec rpm -i --nodeps /usr/src/redhat/RPMS/i386/a52dec-0.7.1b-2.i386.rpm rpm -i --nodeps /usr/src/redhat/RPMS/i386/a52dec-devel-0.7.1b-2.i386.rpm # nodeps is to work around libsafe.so.1.3 dependency bug rpm -i ogle-0.7.5-2.src.rpm rpm -ba /usr/src/redhat/SPECS/ogle-0.7.5-2.spec # Circular dependancies and libsafe.so bug rpm -i --nodeps /usr/src/redhat/RPMS/i386/ogle-devel-0.7.5-2.i386.rpm rpm -i --nodeps /usr/src/redhat/RPMS/i386/ogle-0.7.5-2.i386.rpm cp /usr/src/redhat/BUILD rpm -i ogle_gui-0.7.5-2.src.rpm rpm -ba /usr/src/redhat/SPECS/ogle_gui-0.7.5-2.spec # fails cp /usr/src/redhat/BUILD/ogle-0.7.5/ogle/.libs/libdvdcontrol.so.3.0.0 /usr/lib/ogle/ cp /usr/src/redhat/BUILD/ogle-0.7.5/ogle/.libs/libdvdcontrol.a /usr/lib/ogle/ cp /usr/src/redhat/BUILD/ogle-0.7.5/ogle/.libs/libdvdcontrol.la /usr/lib/ogle/ cd /usr/lib/oggle ln -s libdvdcontrol.so.3.0.0 libdvdcontrol.so.3 ln -s libdvdcontrol.so.3.0.0 libdvdcontrol.so wget ftp://ftp.rpmfind.net/linux/rawhide/1.0/i386/RedHat/RPMS/glibc-2.2.4-18.i386.rpm wget ftp://ftp.rpmfind.net/linux/rawhide/1.0/i386/RedHat/RPMS/glibc-common-2.2.4-18.i386.rpm rpm -i glibc-2.2.4-18.i386.rpm # incomplete # revisited 2002-06-16 # won't install libdvdcss-0.0.3.ogle2-1.i686.rpm because it is for # a different arch. cd /dist wget http://www.videolan.org/pub/videolan/libdvdcss/1.2.1/rpm/libdvdcss2-1.2.1-1plf.i586.rpm wget http://www.videolan.org/pub/videolan/libdvdcss/1.2.1/rpm/libdvdcss2-devel-1.2.1-1plf.i586.rpm wget http://www.videolan.org/pub/videolan/libdvdcss/1.2.1/rpm/libdvdcss-1.2.1-1plf.src.rpm # note: without ide-scsi emulation, the DVD player hangs up the system for # many seconds while the disk spins up as if there were no # disconnect-reconnect. haven't tried with ide-scsi. # note, ogle sometimes seems to work with strace and 2>&1 and not without. rpm -i libdvdcss2-1.2.1-1plf.i586.rpm rpm -i --force libdvdcss2-devel-1.2.1-1plf.i586.rpm (cd /usr/lib; ln -s libdvdcss.so.2.0.1 libdvdcss.so.0 ) cd /dist wget http://www.dtek.chalmers.se/groups/dvd/rh71/libdvdread-0.9.3-ogle1.i386.rpm wget http://www.dtek.chalmers.se/groups/dvd/rh71/libdvdread-devel-0.9.3-ogle1.i386.rpm rpm -i --upgrade libdvdread-0.9.3-ogle1.i386.rpm libdvdread-devel-0.9.3-ogle1.i386.rpm # warning: user hjort does not exist - using root wget http://www.dtek.chalmers.se/groups/dvd/rh71/ogle-0.8.3-ogle1.i586.rpm wget http://www.dtek.chalmers.se/groups/dvd/rh71/ogle-devel-0.8.3-ogle1.i586.rpm wget http://www.dtek.chalmers.se/groups/dvd/srpm/ogle-0.8.3-ogle1.src.rpm rpm -i --upgrade ogle-0.8.3-ogle1.i586.rpm ogle-devel-0.8.3-ogle1.i586.rpm # Eureka - we seem to be able to watch some video cd /dist wget http://www.dtek.chalmers.se/groups/dvd/rh71/ogle_gui-0.8.3-ogle1.i386.rpm wget http://www.dtek.chalmers.se/groups/dvd/srpm/ogle_gui-0.8.3-ogle1.src.rpm rpm -i --upgrade ogle_gui-0.8.3-ogle1.i386.rpm mkdir /mnt/dvd # note that the rpms for libdvdread omit the example programs title_info and play_title cd /dist wget http://freshmeat.net/redir/libdvdread/17926/url_tgz/libdvdread-0.9.3.tar.gz cd /usr/local/src tar zxvf /dist/libdvdread-0.9.3.tar.gz cd libdvdread-0.9.3/ ./configure make install src/ifo_dump src/play_title src/title_info /usr/local/bin/ ### ### autotrace ### # http://autotrace.sourceforge.net/ cd /dist wget http://ftp1.sourceforge.net/autotrace/autotrace-0.27a.tar.gz cd /usr/local/src/ tar ztvf /dist/autotrace-0.27a.tar.gz cd autotrace-0.27a ./configure make make install ### ### eliminate email duplicates ### cd /dist wget -O ../uniq_email_md5.pl "http://sourceforge.net/snippet/download.php?type$ wget -O uniq_email_messid.pl "http://sourceforge.net/snippet/download.php?type$ wget ftp://rpmfind.net/linux/Mandrake-devel/contrib/alpha/eliminate-dups-1.2-4m$ rpm -i eliminate-dups-1.2-4mdk.noarch.rpm #/usr/share/doc/eliminate-dups-1.2 #/var/qmail/bin/eliminate-dups # defective cp -f neads yes chmod +x uniq_email_messid.pl chmod +x uniq_email_md5.pl yes | cp -f uniq_email_md5.pl uniq_email_messid.pl /usr/local/bin/ ### ### mustek scanner revisited ### cd /usr/src/redhat/BUILD cp -Rp 1200ub_sane-1.0.3 1200ub_sane-1.0.3-patched cd 1200ub_sane-1.0.3-patched/ cd backend for i in `fgrep -i -l mustek *.c`; do mv -f $i $i.old sed -e "s/printf(/fprintf(stderr,/" <$i.old >$i done cd .. make clean make # xscanimage fails to compile due to gtk bugs # #In file included from xscanimage.c:35: # gtkglue.h:6:21: gtk/gtk.h: No such file or directory # ... scanimage and the library was compiled, though yes | cp -f backend/.libs/libsane-1200ub.* /usr/local/lib/sane echo "localhost" >>/etc/sane.d/saned.conf echo "sane 6566/tcp #network scanner daemon" >>/etc/services cat >/etc/xinetd.d/sane <<\...EOF... service sane { socket_type = stream wait = no user = root server = /usr/sbin/saned log_on_success += DURATION USERID log_on_failure += USERID disable = no } ...EOF... /etc/rc.d/init.d/xinetd restart echo "localhost" >>/etc/sane.d/net.conf # # xv # cd /dist wget ftp://ftp.redhat.com/pub/redhat/linux/7.0/en/powertools/i386/RedHat/RPMS/xv-3.10a-23.i386.rpm rpm -U xv-3.10a-23.i386.rpm ### ### Intel QX3 microscope ### # http://webcam.sourceforge.net/ cd /dist wget http://prdownloads.sourceforge.net/webcam/cpia-control-0.3.3.tgz wget http://prdownloads.sourceforge.net/webcam/cpia-1.2.tgz cd /usr/local/src/ tar zxvf /dist/cpia-1.2.tgz tar zxvf /dist/cpia-control-0.3.3.tgz cd cpia-1.2 cd module # make # # fails # get newer version from cvs cd /usr/local/src mkdir cpia-cvs cd cpia-cvs cvs -d:pserver:anonymous@cvs.webcam.sourceforge.net:/cvsroot/webcam login # password: enter cvs -d:pserver:anonymous@cvs.webcam.sourceforge.net:/cvsroot/webcam co cpia cd cpia/module make make cpia_usb.o mv /lib/modules/2.4.3-12/kernel/drivers/media/video/cpia.o /lib/modules/2.4.3-12/kernel/drivers/media/video/cpia.o.old mv /lib/modules/2.4.3-12/kernel/drivers/media/video/cpia_usb.o /lib/modules/2.4.3-12/kernel/drivers/media/video/cpia_usb.o.old insmod videodev insmod ./cpio.o insmod ./cpio_usb.o cvs -d:pserver:anonymous@cvs.webcam.sourceforge.net:/cvsroot/webcam co cpio-control cd ../client ./configure make mv /dev/video /dev/video_em8300 ln -s /dev/video0 /dev/video echo "compression_mode:none" >> /proc/cpia/video0 xawtv -remote -device /dev/video0 # This is xawtv-3.56, running on Linux/i586 (2.4.3-12) # ioctl: VIDIOCGFBUF(base=(nil),size=0x0,depth=0,bpl=0): Invalid argument 24 20:01:58 cervantes kernel: USB CPiA camera found Nov 24 20:01:59 cervantes kernel: CPiA Version: 1.33 (2.10) Nov 24 20:01:59 cervantes kernel: CPiA PnP-ID: 0813:0001:0106 Nov 24 20:01:59 cervantes kernel: VP-Version: 1.0 0100 Nov 24 20:18:16 cervantes kernel: cpia.c:parse_picture(2303):EOL not found giving up after 1478/116324 bytes ### ### cddump 0.7 ### # http://www.joat.ca/cddump.html cd /dist wget http://www.joat.ca/cddump-0.7.tar.gz cd /usr/local/src tar zxvf /dist/cddump-0.7.tar.gz cd cddump-0.7/ perl install.cddump # This script will install the "cddump" Perl utility. # # Please confirm or change the following values. # # Path to perl [/usr/bin/perl] : # Path to mkisofs [/usr/bin/mkisofs] : # Path to cdrecord [/usr/bin/cdrecord] : # Path to cpio [/bin/cpio] : # Device name of CD-recorder [0,0,0] : # Recorder speed [6] : 8 # Install cddump to directory [/usr/local/bin] : # # Complete installation of cddump to /usr/local/bin [y] : y # Creating /usr/local/bin/cddump # # cannot read /etc/cddumpdates at install.cddump line 77. # # Fix bug which causes it to die if a file dissapears patch /usr/local/bin/cddump <<\...EOF... --- /usr/local/bin/cddump.orig Thu Dec 13 20:39:54 2001 +++ /usr/local/bin/cddump Thu Dec 13 20:49:16 2001 @@ -1,6 +1,10 @@ #!/usr/bin/perl -w # $Id: cddump.in,v 1.9 2001/05/17 00:54:28 fraserm Exp fraser $ # $Log: cddump.in,v $ +# Revision 1.10 2001/12/12 20:43:00 whitis@freelabs.com +# fixed bug which caused it to die when backing up a file which +# no longer existed +# # Revision 1.9 2001/05/17 00:54:28 fraserm # changed default slack to 4% # @@ -595,7 +599,7 @@ maybe_mkdir($path, "$tmpdirname/$predir"); } link ($file, "$tmpdirname/$predir/$file") || - die "unable to link $dumpdirs[$dumpdirindex]/$file to $dumpdirs[$dumpdirindex]/$tmpdirname/$predir/$file: $!"; + print "unable to link $dumpdirs[$dumpdirindex]/$file to $dumpdirs[$dumpdirindex]/$tmpdirname/$predir/$file: $!"; print "linked $dumpdirs[$dumpdirindex]/$file to $dumpdirs[$dumpdirindex]/$tmpdirname/$predir/$file\n" if $verbose; } else { print "Internal error: \"$file\" doesn't look like a file to me!\n"; ...EOF... ### ### htmltoc ### # http://www.oac.uci.edu/indiv/ehood/htmltoc.html # Wednesday, December 19 2001 cd /dist wget http://www.oac.uci.edu/indiv/ehood/tar/htmltoc1.2.1.tar.gz cd /usr/local/src tar zxvf /dist/htmltoc1.2.1.tar.gz patch install.cfg <<\...EOF... --- install.cfg~ Thu Apr 11 18:20:29 1996 +++ install.cfg Wed Dec 19 14:24:57 2001 @@ -60,12 +60,12 @@ # Location for documents. If using ms-dos, use something like # 'C:\\DOC\\FOO'. # -$docdir = '/usr/local/lib/htmltoc/doc'; +$docdir = '/usr/doc/htmltoc'; # Location of perl executable. If using ms-dos, use something like # 'C:\\BIN\\PERL.EXE'. # -$perlprg = '/usr/local/bin/perl'; +$perlprg = '/usr/bin/perl'; 1; # DO NOT DELETE THIS LINE ...EOF... patch install.me <<\...EOF... --- install.me~ Thu Apr 11 18:17:57 1996 +++ install.me Wed Dec 19 14:27:00 2001 @@ -1,4 +1,4 @@ -#! /usr/local/bin/perl +#! /usr/bin/perl ##---------------------------------------------------------------------------## ## File: ## install.me ...EOF... ./install.me # Perl executable ("/usr/local/bin/perl") # -> /usr/bin/perl # Location to install programs ("/usr/local/bin") # -> # Install documentation ("y")? y # Location to install docs ("/usr/local/lib/htmltoc/doc") # -> /usr/doc/htmltoc # [Re: hyphenation] If you know where this file is and want to use it instead of the # file included with html2ps, enter the full path name for this file, #otherwise press : # default paper size: letter # tests itself by creating html2ps.ps from html2ps.html ### ### html2ps ### # http://www.tdb.uu.se/~jan/html2ps.html # Thursday, January 03 2002 cd /dist wget http://www.tdb.uu.se/~jan/html2ps-1.0b3.tar.gz cd /usr/local/src zxvf /dist/html2ps-1.0b3.tar.gz cd html2ps-1.0b3 patch html2ps <<\...EOF... --- html2ps.orig Thu Jan 3 06:58:08 2002 +++ html2ps Thu Jan 3 21:36:39 2002 @@ -2695,7 +2695,7 @@ $rest=$'; $it=2; if($iattr=~/type\s*=\s*["']?(\w+)/i) {$it=$it{"\L$1"}}; - if($it<2) { + if(defined($it) && $it<2) { $it=($iattr=~/\schecked\W/i?1:0) ." $it"; } elsif($it==2) { $siz=$iattr=~/size\s*=\s*["']?(\d+)/i?$1:12; ...EOF... ./install #interfuckingactive # Do you want to proceed with the installation? [y]: y # Enter such a command [lynx -source -mime_header]: # By default all files will be installed in subdirectories 'bin', 'lib', and 'man' in a common directory. Is this OK? [y]: # Enter the name of this directory [/usr/local]: ### ### SignatureDB ### # http://www.pldaniels.com/signaturedb/ cd /dist wget http://www.pldaniels.com/signaturedb/signaturedb-0.1.1.tar.gz cd /usr/local/src tar zxvf /dist/signaturedb-0.1.1.tar.gz make make install # mkdir -p /usr/local/signaturedb # cp sdbscan /usr/local/signaturedb # cp signaturedb.db /usr/local/signaturedb # cp signaturedb.conf /usr/local/signaturedb # ln -s /usr/local/signaturedb/sdbscan /usr/local/bin # weak ### ### bwhois ### # http://samspade.org/w/whois/ cd /dist wget http://samspade.org/w/whois/bwhois-0.2.tar.gz cd /usr/local/src tar zxvf /dist/bwhois-0.2.tar.gz cd bwhois-0.2 make cp whois /usr/local/bin/bwhois chmod 0555 /usr/local/bin/bwhois cp whoisrc /etc/whoisrc chmod 0444 /etc/whoisrc ### ### whereip ### cd /dist wget http://dark.x.dtu.dk/~bbn/ip/whereip cp whereip /usr/local/bin/ chmod +x