Demo Discussion
Linux Demo Database
  General linux tips & tricks, Page 2 of 2  Not logged in ELOG logo
Entry  Mon Sep 21 11:03:22 2015, Stefan Ritt, Configuration, Network, Full Duplex 
/etc/conf.modules:

  alias eth0 eepro100
  options eepro100 options=0x30
                            
See parameters at http://www.scyld.com/network/eepro100.html

And for 3c59x (PSI stock):

  alias eth0 3c59x
  options eth0 options=20 full_duplex=1

see: http://www.scyld.com/network/vortex.html
Entry  Mon Sep 21 11:02:53 2015, Stefan Ritt, Configuration, Network, Port forwarding 
- obtain

  http://www.compsoc.net/~steve/portfw-2.2.html

- Install RPM:

  rpm -i ipmasqadm-0.4.2-3.i386.rpm

- Example fast/telnet -> node1/telnet

  modprobe ip_masq_portfw.o
  ipmasqadm portfw -f
  ipmasqadm portfw -a -P tcp -L 129.129.25.207 23 -R 10.0.0.1 23


hmmmm
Entry  Mon Sep 21 11:01:52 2015, Stefan Ritt, Configuration, Network, NIS 
! Note: at least two user entries in passwd file necessary !

Server
======

- authconfig: enable NIS, domain "fast", server "fast", use shadow, MD5

- /etc/rc.d/init.d/ypserv start
  /etc/rc.d/init.d/ypbind start

- /var/yp/Makefile:
  # shadow -> shadow #
  netgrp   -> # netgrp

- /var/yp/secureent:
  255.255.255.0 10.0.0.0

- /usr/lib/yp/ypinit -m

- Test: ypcat passwd
        ypwhich
        ypmatch stefan passwd

Client
======

- remove users from passwd/shadow

- [brsh] authconfig --enablenis --nisdomain fast --nisserver fast \
                    --useshadow --enablemd5 --kickstart

Update (after useradd)
======================

cd /var/yp; make
Entry  Mon Sep 21 11:01:23 2015, SR, Routine, Hardware, Welcome to this ELOG demo psi.png
Hello,

welcome to this ELOG demonstration. It contains a logbook for Linux Tips & 
Tricks. You can use the arrow buttons on the top right corner to browse 
this logbook, use the "Find" link to search for certain entries in the 
logbook and the "New" link to enter a new entry. The write access is not 
password protected so everybody can submit entries, since this is just a 
demonstration. Each submission causes an automatic email notification to 
the author.

When submitting entries, attachments can be added just like with email 
programs. This entry for example contains a JPG attachment and a text 
attachment.

Stefan Ritt <stefan.ritt@psi.ch>
ELOG V3.1.5-3fb85fa6