Gnypahalan - SuSE 7.2

From miki
Jump to navigation Jump to search
LINUX INSTALLATION - LOG:    (maintained by Nightmare@hell-on-earth.org)
========================
OS: SuSE 7.2
PC: AMD-DURON-1000
    384MB (--> will decrease to 128MB)
    Advansys SCSI Card,
    ATI 64Play,
    Net Genius PCI RLT8139B 10/100,
    Net Unex PCI  RLT8139C 10/100,
    IBM HDD 8G4,
    ??? HDD 2G (disconnected),
    PIONEER SCSI CD-ROM 32x Slot-In,
    YAMAHA SCSI ReWriter 16x/4x/4x,
    Microsoft IntelliMouse 1.2a,
    Sound Card on Board (SB Compatible+MPU401+AC97 Codec)
    DELL P790 Multisync Monitor.

-------------------------------------------------------------------------------------------
Reused current installation from PII-333
-------------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------------
Network Physical Configuration: (netword card slot are switched compared to PII-333 config)
------------------------------

+------+
|+----+|
||    ||
|+----+|
|      |
|+---+ |                             manuf:
||== | | --> Network card: RTL8139 - REALTEK  --> IP=dhcpclient           eth0  (IRQ?)
||   | |
||== | | --> Network card: RTL8139 - UNEX     --> IP=192.168.69.69        eth1  (IRQ?)
||   | |
|+---+ |
+------+


(private subnet) 192.168.*.*

 --> Network:         192.168.69.*
 --> Subnet mask:     255.255.255.0
 --> Default gateway: 192.168.69.69

-------------------------------------------------------------------------------------------
Motherboard Soltek:
------------------
- Had problem with adcansys SCSI card when some of the features on the motherboard are disabled.
  But when these features are enabled, it's Win98 which has problem with the SCSI card.

  Below the settings for Win98/LInux for making the SCSI card works:

                          WIN98     LINUX
  On Chip USB2            disabled  enabled
  On Chip Sound           disabled  enabled
  On Chip IDE Channel 1   disabled  enabled
  Onboard Legacy Audio    disabled  enabled
  Assign IRQ For VGA      disabled  enabled
  Assign IRQ For USB      disbaled  enabled

-------------------------------------------------------------------------------------------
XFree86 Configuration (Monitor DELL P790 / RIVA TNT2):
---------------------

- Sub-part of file /etc/X11/XF86Config:

  #The Following Monitor configuration was made by hand (Michael Peeters)
  Section "Monitor"
    HorizSync     31-92
    Identifier    "Monitor[0]"
    ModelName     "P790"
    VendorName    "DELL"
    VertRefresh   50-150
  #  UseModes     "Modes[0]"
    Modeline      "1024x768x85Hz"   94.50 1024 1072 1216 1376  768  768  784  809 +HSync +VSync
    Modeline      "1152x864x85Hz"  119.90 1152 1224 1360 1556  864  864  870  907 -HSync +VSync
    Modeline      "1280x1024x85Hz" 156    1280 1336 1552 1720 1024 1024 1039 1067 +HSync +VSync
    Modeline      "1600x1200"      162.00 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
  EndSection

  Section "Screen"
    DefaultDepth  16
    SubSection "Display"
      Depth       16
      virtual     1152 864
      Modes      "1152x864x85Hz" "1280x1024x85Hz" "1600x1200" "1024x768x85Hz"
    EndSubSection
    Device        "Device[0]"
    Identifier    "Screen[0]"
    Monitor       "Monitor[0]"
  EndSection

- The following rules apply (obtain from DELL P790 specs, reverse engineer, error message
                             from file /var/log/XFree86.0.log and man pages)

  - vsync & hsync polarity vary between resolution. +/+ appears to be mostly used for high pixel freq.
    (sometimes wrong polarity can lead to strange screen!!!)

  - Modeline   "LABEL"  pixfreq hres hsyncstart hsyncend hmax vres vsyncstart vsyncend vmax

    values are computed as follows:
      - INPUT: HRES, VRES, VFREQ (=60,75,85,100 Hz)

               --> vmax = vres * 1.05    (~link to monitor structure)
               --> hmax = hres * 1.35    (~link to monitor structure)
               --> hfreq = vmax * VFREQ
               --> pixfreq = hfreq * hmax

               Here are rule of the thumb for other parameters:
               --> hsyncstart = hres + 16
               --> hsyncend = (hres+hmax)/2
               --> vsyncstart = vres
               --> vsyncend = vres + (5..10)  (low offset for small res, high offset for hires)

      - CAUTION, the following shall apply (also depends on the card drivers)

               --> hfreq, vfreq and pixfreq must be in limit supported by the monitor and the card
               --> hmax must be mult of 4
               --> H blank width (ie. max(hmax,hsyncend) - min (hres,hsyncstart) ) must be mult of 4
               --> H sync width (ie. hsyncend-hsyncstart) must be < 256

       - to shrink/stretch horizontally: must increase/decrease hmax (hence increasing/decrease #pixel
         per lines)
       - to move horizontally: increase/decrease hsyncstart (or maybe hsyncend depending on polarity)

--------------------------------------------------------------------------------------------
Network Services:
----------------

- konqueror network browsing (example)
  - List cerber network services (with Lisa)                lan:cerber
  - List cerber network services (with resLisa)             rlan:cerber
  - Connect to cerber FTP                                   ftp://cerber/
  - view cerber file                                        file://cerber/
  - connect to phoenix Samba                                smb://phoenix/

- Set LAN Browsing (only resLISA)  (in konqueror, use 'rlan:cerber' eg. to connect to cerber services)

- Activate FTP
  - uncomment line in /etc/inetd.conf
    ftp ...   ... in.ftpd

  - send HUP to inetd

- Install QMail (see configuration txt file)
-------------------------------------------------------------------------------------------

============================================================================================
APPLICATION INSTALLED:
---------------------
- Opera 6.0  (RPMS Package) (install with kpackage)
- GetBinNews
- Wine

============================================================================================
UPDATE - PATCHES:
----------------
aborted



============================================================================================
POST-INSTALLATION CHANGES
============================================================================================
Configuration:
-------------
- setuid root /var/bin/smbmnt    (to allow mounting smbfs by normal user)
- setuid root /var/bin/smbumount (to let unmounting them...)
- add local script for mounting phoenix W2k (/usr/local/bin/mntphoenix)   (root/root/chmod 755)
                     & unmounting           (/usr/local/bin/umntphoenix)  (root/root/chmod 755)
  ! PROBLEM: SLOW PERFORMANCE !!! (50kB/s !!!)

- Installed package kernel k_deflt-2.4.16-22.i386.rpm
  Installed package modutils-2.4.12-11.i386.rpm
  Installed package resierfs-3.x.0k_pre10-8.i386.rpm

  --> SOLVE PERFORMANCE ISSUE FOR SMBMOUNT (now 4MB/s !!!)
      (source: http://www-1.ibm.com/servers/eserver/iseries/netserver/smbfs_faq.htm)

      Problem: smbfs performance is poor for larger file transfers.
      Solution:
        Currently, Samba has a "bug" in the way it determines the appropriate blocksize to use
        for file transfers. Only 512 bytes are transferred per read/write request, instead of
        the normal 4K transfers.  There is a partial fix for this problem in the 2.4.11 kernel.
        Users who experience slow transfers should upgrade to at least this kernel level.
        The smbclient utility is not affected by this problem.
--------------------------------------------------------------------------------------------
- Modified /etc/X11/XF86Config to allow wheel mouse support

- created symlink /dev/cdrecorder --> scd1 (for cdrdao)
    ln -s /dev/scd1 /dev/cdrecorder
- Updated samba server configuration (added line: encrypt passwords=yes; added password with smbpasswd)
--------------------------------------------------------------------------------------------
- Downloaded & Installed ntop 2.0.0
  - Downloaded & installed libpcap-0.7.1
  - installed gdchart0.94c (came with ntop tar.gz)
    - gd-1.8.3 was already installed
    - installed zlib-1.1.3

  - Create suse package  ('make make-suse')
    --> small error during makefile, missing target parent directory for intop.1 manpage
        (WORKAROUND: create the missing directory, re-run makefile)

  - Launch ntop at boot (set yes in rc.config)
--------------------------------------------------------------------------------------------
- Make cdrecord available to all users:

  cdrecord can be safely setuid to root:

    su
    (cd to directory where cdrecord is installed)
    chown root cdrecord
    chmod 4711 cdrecord
--------------------------------------------------------------------------------------------
SHELL STARTUP CONFIGURATION:
---------------------------

- added .cshrc (see file in config/cshrc)
    in /root/
    in ~baddreams/
    in /etc/skel/

    purpose: change history key bindings, clean up redundant entries in path

- added path.csh in /etc/profile.d/ (see file in config/path.csh)

    purpose: complete path definition for all users with shells tcsh/csh

- added /etc/skel/.bashrc in /root/
  added /etc/skel/.profile in /root/
--------------------------------------------------------------------------------------------
X CONFIGURATION:
---------------
  - Deactivated klipper URLGrabber:

    in  file .kde2/share/config/klipperrc:
      ...
      URLGrabberEnabled=false

--------------------------------------------------------------------------------------------
SCRIPTS ADDED IN /usr/local/bin:
-------------------------------

 - noerr (to discard stderr output)
 - iplog (to log & reject internet connections)
 - mntphoenix & umntphoenix (to mount phoenix samba shares)

--------------------------------------------------------------------------------------------
Added new IDE CDROM in IDE-0, SLAVE:
-----------------------------------
  New symlink:
  - ln -s /dev/hdb /dev/cdrom2
--------------------------------------------------------------------------------------------
- Activated autofs
  ----------------
  as root:
  --> in /etc/rc.config, START_AUTOFS="yes"
  --> edited /etc/auto.master  (auto mount point is /auto)
      # $Id: auto.master,v 1.1 2001/04/17 11:43:02 arvin Exp arvin $
      # Sample auto.master file
      # Format of this file:
      # mountpoint map options
      # Also see variable AUTOFS_OPTIONS in /etc/rc.config
      # For details of the format look at autofs(8).
      /auto   /etc/auto.misc  --timeout 60

  --> edited /etc/auto.misc
      # $Id: auto.misc,v 1.1 2001/04/17 11:43:02 arvin Exp arvin $
      # This is an automounter map and it has the following format
      # key [ -mount-options-separated-by-comma ] location
      # Details may be found in the autofs(5) manpage

      #kernel         -ro                     ftp.kernel.org:/pub/linux
      #removable      -fstype=ext2            :/dev/hdd
      #cd             -fstype=iso9660,ro      :/dev/hdc
      floppy          -fstype=auto            :/dev/fd0
      cd              -fstype=auto,ro         :/dev/cdrom
      cd2             -fstype=auto,ro         :/dev/cdrom2
      cdrec           -fstype=auto,ro         :/dev/cdrecorder

  --> edited /etc/fstab to remove old mount point (now all manual mount points are in /mnt)
      /dev/hda3       swap                      swap            defaults   0   0
      /dev/hda7       /                         ext2            defaults   1   1
      /dev/hda6       /boot                     ext2            defaults   1   2
      /dev/fd0        /mnt/floppy             auto            noauto,user 0   0
      proc            /proc                     proc            defaults   0 0
      /dev/cdrom      /mnt/cd         auto            ro,user,noauto,unhide
      /dev/cdrecorder /mnt/cdrec      auto            ro,user,noauto,unhide
      # End of YaST-generated fstab lines
      /dev/hda1       /mnt/hda1       vfat    users   0       0
      /dev/hda5       /mnt/hda5       vfat    users   0       0
      /dev/cdrom2     /mnt/cd2        auto            ro,user,noauto,unhide

  --> Created symlinks to auto mount points:
      mkdir /auto
      ln -s /auto/cd /cd
      ln -s /auto/cd2 /cd2
      ln -s /auto/cdrec /cdrec
      ln -s /auto/floppy /floppy
--------------------------------------------------------------------------------------------
2003-03-12 Configuration of the ADSL Firewall Router USB/4 PORTS SWITCH (BIPAC-741):
-----------------------------------------------------------------------------------

Configuration of the Modem:
--------------------------
LAN Settings:
  IP Address: default (ie. IP address=192.168.1.254, mask=255.255.255.0)
  DHCP Server: DHCP enabled, start address=192.168.1.100, max. 100, DNS/WINS auto
WAN Settings:
  ISP: Protocol: PPPoE, VPI:8, VCI:35
       NAT enabled, Encapsulation Method: LLC/SNAP
       User Name: *****
       Password: *****
       Service Name:
       Specify an IP Address:
       Authentication Protocol: AUTO
       Connect on demand (auto-disconnect after 60 minutes)
  DNS: Obtain a DNS address automatically
System Settings:
  PASSWORD: ****
  TIMEZONE: Brussels, apply daylight saving

LINUX Configuration:
-------------------
 - LINUX PC will act as the mail server for the LAN (POP proxy), hence will receive a fixed IP address

 - IP Address= 192.168.1.69 (ie. outside the DHCP range to avoid conflict)
 - DNS       = 192.168.1.254 (ie. the MODEM ITSELF!!! that will act as a DNS relay)
 - ROUTE     = default gateway is 192.168.1.254 (ie. the modem)


NOTE: MODEM DHCP Server is not compatible with DHCLIENT (some settings are accepted, but not all)

--------------------------------------------------------------------------------------------
2003-07-05 Changed Samba configuration to sync. with new IP address (ADSL router)
--------------------------------------------------------------------------------------------
  --> change file /etc/samba.conf:

      hosts allow = 192.168.1. 127.               (instead of 192.168.69. 127.)
      interfaces = 192.168.1.69/24                (instead of 192.168.69.69/24)

--------------------------------------------------------------------------------------------
2004-05-22 Enabled NFS Server
--------------------------------------------------------------------------------------------
  - Enabled with YAST2. Config files changes are:
  - /etc/rc.config:
     NFS_SERVER="yes"
  - /etc/exports
     /c \
     192.168.0.0/255.255.0.0(ro,all_squash)
     /d \
     192.168.0.0/255.255.0.0(ro,all_squash)
     /home \
     192.168.0.0/255.255.0.0(ro)