Problems in PC/Linux

  1. Refresh NIS password to clients after adding user on server
    Solution:
    cd /var/yp
    make
    ps ax|grep ypserv <----- Find out the PID of current ypserv
    kill -9 PID of ypserv
    /usr/sbin/ypserv

  2. Install suidperl....... (bad idea, but needed sometimes)
    Untar from scratch.
    sh Configure -Dd_dosuid
    make ; make test ; make install

  3. Dell PowerConnect 5224 Switch causes DHCP or PXE-BOOT timeout
    (Also applies to SMC 8848M)
    Solution:
    Log into the switch from Web interface;
    Enable (checkbox) the "Fast Link" of each port in the menu of
    System -> Spanning Tree -> Port Setting -> Fast Link ;
    Fast Link immediately enables the port in forwarding state when a link comes up.
    The port is not part of the Spanning Tree at that time, but will participate
    in future Spanning Tree resolutions.

    Remember to save the setting to the startup file otherwise this change will vanish after the switch reboots.
    Sketched from http://bbcr.uwaterloo.ca/~brecht/servers/docs/Dell-5224/pc5224cd.htm#1099395

    In SMC 8848M it is called "Fast Forward", located under the menu of
    Spanning Tree -> STA -> Port Configuration, named as Admin Edge Port (Fast Forwarding).
    Setting can also be done by CLI instead of web interface. Commands follow:
    config
    interface eth 1/1-48
    spanning-tree edge-port
    end
    
    Then save the setting as boot default by:
    copy run sta
    
    and give a filename to save. (Boot file can be verified by the command dir ).
    In addition, 802.3x flow control in SMC 8848M is enabled by:
    config
    interface eth 1/1-48
    cap flow              (or in canonical form: capabilities flowcontrol)
    end
    

  4. The ssh returns
    Warning: no access to tty (Bad file descriptor).
                                                    Thus no job control in this shel
    l.
    and hangs the terminal while attempting to connect to a host. But actually that machine is still alive and console works fine.
    Solution:
    Do the following from a remote machine:
    ssh root@that_host "mkdir /dev/pts;mount /dev/pts"
    See also https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=128154
    Configurations that the problem is still observed: FC4 for AMD64 with vallina kernel 2.6.14 on EM64T. (20051108)
  5. Problem installing r1000 NIC driver from Realtek
    Solution:
    Refer to the following link to resolve compilation errors.
  6. Ubuntu kernel version mapping list:
    https://people.canonical.com/~kernel/info/kernel-version-map.html