home / linux / lsuse81 (navigation links)

If it works, don't fix it !
 

SuSE 8.1, k 2.4.19


Descripció

 
  • la instalació mínima ocupa 225 MB.
  • he posat missatges de trassa als seguents llocs :
    • /etc/init.d/boot
    • /etc/init.d/boot.local
    • /etc/init.d/hotplug
    • /etc/init.d/local
    • /etc/init.d/network
    • /etc/init.d/pcmcia
    • /etc/init.d/random
    • /etc/init.d/rc
    • /etc/pcmcia/network
    • /etc/profile
    • /home/sebas/.profile
    Hi ha una bona trassa del sistema a /var/log/boot.msg
  • drivers de xarxa :

    • /etc/modules.conf té :
        alias eth-pcmcia-0 xircom_cb
        
    • /etc/pcmcia/config té :
        card "IBM 10/100 EtherJet CardBus"
        manfid 0x00a4, 0x0113
        bind "tulip_cb"
        
    Atencio al que diu /etc/pcmcia/network.opts : USE_SUSE_NETWORK_SETUP
    Configuració de trassa i beep : /etc/sysconfig/hotplug
  • pcmcia startup :
    /etc/init.d/rc3.dS07hotplug, enllaç a /etc/init.d/hotplug
    Arrenca tots els elements de tipus /etc/hotplug/*.rc
    Així, net.rc fa servir paràmetres de /etc/sysconfig/hotplug
    As ETH0 does not start again, (see /var/log/messages : net.agent : No description found ... exiting) I set
     HOTPLUG_NET_DEFAULT_HARDWARE=pcmcia  /* +++ /etc/sysconfig/hotplug +++ */
     
  • monitor TCP/IP : he posat el ntop, però vol que arrenqui el intop -i eth0


WiFi

Fent rpm -ql wireless-tools surt :

Hints

 
  • modify ~/.bashrc to set the current dir in X-window title :
     export PS1=$PS1"\[\e]0;\H:\w\a\]"
     


Problemes

 
  • la instalació "automatica" va fallar al final, quan demanava el 2-on CD però no el deixava ficar (millor dit, no treia el anterior).

  • el KDE surt amb resolució 640x480, i color 16 bit.

  • el KDE 3 es molt maco, però lent, així que el deixo a nivel 3 (multiuser with network) tocant /etc/inittab :
         id:3:initdefault:
         
  • com que he instalat el SuSE minim, després poso (via yast2) KDE i X11. Diu "there is no link /var/X11R6/bin/X to the correct X Server binary. Configure the correct X Server with SaX2, which will create the missing link."
    Apareix /var/X11R6/bin/X -> /usr/X11R6/bin/XFree86
    startx arrenca KDE 3.0 amb resolució 1024x768.

  • no funciona la xarxa Ethernet
    /etc/sysconfig/pcmcia diu que fa servir el PCMCIA del kernel.
    eth0 es posa a funcionar al posar
    PCMCIA_SYSTEM="external" i PCMCIA_PCIC="i82365"
      DNS Servers = (9.139.234.33, 9.139.234.65, 9.135.234.66)
      Gateway = 9.136.0.1 (with DHCP)
      DHCP Server (Windows only) = 9.139.254.4
      Domain Search Order = (es.hal.com, hal.com)
    
    The following command must be rcpcmcia restart (runs /ETC/INIT.D/PCMCIA) and cardctl odent

  • no trobo el wmaker
    yast2, then "Filter" System, then install "Window Maker" (4,8 MB).
    wmaker fatal error : could not open display ""
    Google + "wmaker - stumped" say :
    First of all, it looks like you may be trying to run wmaker
    from the text mode without X already running.
    This will certainly cause the failures that you are seeing.
    
    If X is already running, you probably have another wm running,
    which will cause a failure.
    
    wmaker should be launched as part of the X startup.
    Usually the Window Manager of choice is listed in the xinitrc file
    which a local copy may be kept in the user's home directory as .xinitrc
    or the global one is used: /usr/X11R6/lib/X11/xinit/xinitrc.
    
    You might want to run "wmaker.inst" first, among other things;
    this creates a '.wm_style' file in your home directory.
    This file lists the window manager that you wish to run.
    It should contain wmaker.  If you wish to switch, then just change it to
    the name of the window manager that you wish to run.
    
    Then run startx, and Window Maker should be launched.
      
    startx uses ~/.xinitrc !!!

    Solució : export WINDOWMANAGER=/usr/X11R6/bin/wmaker + startx or exec wmaker in ~/.xinitrc

  • no tinc lynx - poso 2.8.4 del CD-4.
    lynx http://w3.ibm.com no va : Can't access startfile
    lynx -trace http://w3.ibm.com crea ~/Lynx.trace file, and ~/Lynx.trace.old
    Try strace lynx http://w3.ibm.com or ltrace
    See /etc/lynx.cfg
    yast2 + Red Avanzado + Proxy : http://proxy.es.hal.com:8080/ - mind the ending /
    --- Solució --- : See help page.
    In ~/.profile or /etc/profile.local, set
     export http_proxy=http://proxy.es.hal.com:8080/
    
  • proves amb el snort
    Em baixo 1.9.0 pero em diu que vol libpcap.so.0.6.2, que jo ja tinc a /usr/lib (?!?)
    Poso 1.8.7 del CD-4.
    Funcionament "snort -A full -c /etc/snort/snort.conf"

  • Com es veu que eth0 està en modus "promiscu" ?
    • dmesg
    • ifstatus eth-pcmcia or ifstatus hw-description
      See /etc/sysconfig/network for ifcfg-hw-description
        eth0:  mtu 1500 qdisc pfifo_fast qlen 100
        
  • no tinc cc
    Instalo (yast2) gcc 3.2 i libgcc 3.2

  • Instalo :
    • NSLOOKUP (cd1, ok)
    • BZIP2 (cd1, ok)
    • INETD (+ TCPD) (cd1, error)
    • MAKE (cd2)
    • CVS (cd2)
    • NESSUS (cd4)
      • nessus-adduser
      • nessusd &
      • nessus &

  • vull probar atmelwlandriver.2.1.1.tar.bz2. -> ftp: connect: connection refused
    See /etc/inetd.conf and use /etc/init.d/inetd reload to re-read it
    -bash: /etc/init.d/inetd: no such file or directory
    El inetd no s'arrenca : chkconfig
    Ara, no tinc (wu-)ftpd ni telnetd ! Poso vsftpd i configuro /etc/vsftpd.conf : FTP ja va, i deixa un log a /var/log/vsftpd.log

  • el Galeon s'engega un munt de vegades
    1. Delete /home/whateveryourusername/.galeon.
    This would take care of galeon program user settings problems; if any.
    2. Search  /home/whateveryourusername directory for files containing
    *galeon* and see what is going on.
    3. Might do a 'which galeon' at the command line, then follow
    along and check the script file (mine is at /opt/gnome/bin[/galeon])
    might be something in the script that is revealing
    
  • sempre em deixo els CDs a casa. Solució :
    • baixar un ISO de ftp3.linux.ibm.com a /home/sebas/Documents
    • cd /mnt + mkdir isos
    • [root] mount -t iso9660 /home/sebas/Documents/suse_cd1.iso /mnt/isos -o loop.ro
    • rpm -i --test /mnt/isos/suse/i586/inetd*
    Ull ! El lynx em baixa 760 MB, pero quan li dic "escriure a disc", com només té 1000 MB lliures (abans de llegir-ne 770), peta.

 


SuSE 8.2, k 2.4.20

uname -a : Linux dyn-9-136-0-163 2.4.20-4GB
Use hwinfo !


SuSE 9.2, k 2.4.20

New page


Links


Ep ! Site under construction. Escriu-me ! Actualitzat el 03/06/2005. Uf !