Demo Discussion
Linux Demo Database
  General linux tips & tricks, Page 1 of 2  Not logged in ELOG logo
IDdown Date Author Type Category Subject
  21   Wed Jan 22 03:41:30 2025 ABRoutine  
This is message text is new
  20   Wed Jan 22 03:40:20 2025 MeOtherGeneralpy_elog test [mod]
hehehehehe
  19   Wed Jan 22 03:40:17 2025 ABRoutine  
This message text is new
  18   Tue Jan 21 10:35:37 2025 janRoutineSoftwarepy_elog test [mod]
hehehehehe
  Draft   Mon Jan 20 10:45:16 2025  RoutineSoftware 

lkl

  Draft   Fri Jan 17 18:12:37 2025 Stefan RittConfigurationGeneralFull Duplex
<p>&gt; &gt; &gt; /etc/conf.modules: &gt; &gt; &gt; &gt; &gt; &gt; alias eth0 eepro100 &gt; &gt; &gt; options eepro100 options=0x30 &gt; &gt; &gt; &gt; &gt; &gt; See parameters at 
http://www.scyld.com/network/eepro100.html &gt; &gt; &gt; &gt; &gt; &gt; And for 3c59x (PSI stock): &gt; &gt; &gt; &gt; &gt; &gt; alias eth0 3c59x &gt; &gt; &gt; options eth0 options=20 full_duplex=1 &gt; 
&gt; &gt; &gt; &gt; &gt; see: http://www.scyld.com/network/vortex.html &gt; &gt; &gt; &gt; fgfgdfg &gt; &gt; tester</p>
  15   Fri Jan 17 18:09:42 2025 Stefan RittConfigurationNetworkFull 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
> 
> fgfgdfg

tester
  14   Fri Jan 17 18:09:20 2025 Stefan RittConfigurationNetworkFull 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

fgfgdfg
  Draft   Tue Jan 14 14:46:43 2025 Stefan RittRoutineSoftwarepy_elog test [mod]
hehehehehe
  Draft   Mon Jan 13 10:34:38 2025     

fdfffff

fff

           
           
           

 

  11   Tue Jan 7 12:50:41 2025 MeOtherGeneralThis is a test of UTF-8 characters like èéöä
Just to be clear this is a general test using UTF-8 characters like èéöä.
  10   Tue Jan 7 12:50:38 2025 ABRoutine  
This message text is new
  9   Tue Jan 7 12:50:22 2025 MeOtherGeneralpy_elog test [mod]
hehehehehe
  8   Tue Jan 7 12:50:17 2025 ABRoutine  
This message text is new
  7   Mon Sep 21 11:04:32 2015 Stefan RittRoutineSoftwarepy_elog test [mod]
hehehehehe
  6   Mon Sep 21 11:04:12 2015 Stefan RittRoutineSoftwareRectangle commands for EMACS
- Set mark at current cursor position:

  Ctrl-Space

- Define opposite corner of rectangle:

  Move cursor to position

- Fill current rectangle with blanks:

  Ctrl-X,R,O  (open rectangle)

- Erase current rectangle:

  Ctrl-X,R,K  (kill rectangle)

- Copy current rectangle into internal buffer:

  Ctrl-X,R,R  (register rectangle)

- Paste (yank back) rectangle from internal buffer:

  Ctrl-X,R,Y  (yank rectangle)
  5   Mon Sep 21 11:03:40 2015 Stefan RittConfigurationOtherApache restricted access
- create user/password file:

  htpasswd -c /etc/httpd/conf/users pibeta
  <passwd>

- configure Apache in access.conf:

#
# Restrict access to pibeta for "resstricted" directory
#

<Directory /home/pibeta/WWW/restricted>
AuthName "restricted"
AuthType Basic
AuthUserFile /etc/httpd/conf/users
require valid-user
</Directory>

- restart Apache

  killall -HUP httpd
  4   Mon Sep 21 11:03:22 2015 Stefan RittConfigurationNetworkFull 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
  3   Mon Sep 21 11:02:53 2015 Stefan RittConfigurationNetworkPort 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
  2   Mon Sep 21 11:01:52 2015 Stefan RittConfigurationNetworkNIS
! 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
ELOG V3.1.5-3fb85fa6