Changes

From SME Server
Jump to navigationJump to search
no edit summary
Line 1: Line 1:  
My talk page (whatever that means)
 
My talk page (whatever that means)
 +
 +
RPM build
 +
dnf install git rpmdevtools rpmlint
 +
 +
rpmlint is handy!
 +
 +
db yum_repositories setprop Rocky-Devel MirrorList "https://mirrors.rockylinux.org/mirrorlist?arch=\$basearch&repo=Devel-\$releasever" Name "Rocky Linux \$releasever - Devel" EnableGroups yes GPGCheck no Visible yes status disabled
 +
 +
    
phatch - not supported for years but still excellent
 
phatch - not supported for years but still excellent
Line 15: Line 24:     
  <nowiki>grep '^[[:blank:]]*[^[:blank:]#;]' smb.conf
 
  <nowiki>grep '^[[:blank:]]*[^[:blank:]#;]' smb.conf
grep -vxE '[[:blank:]]*([#;].*)?' smb.conf
+
  grep -vxE '[[:blank:]]*([#;].*)?' smb.conf
awk '$1 ~ /^[^;#]/' smb.conf
+
  awk '$1 ~ /^[^;#]/' smb.conf
cat /etc/samba/smb.conf | grep ^[^#\;]
+
  cat /etc/samba/smb.conf | grep ^[^#\;]
grep -v "^\s*[#\;]\|^\s*$" smb.conf
+
  grep -v "^\s*[#\;]\|^\s*$" smb.conf
grep -v "^\s*[#;]" any.conf | grep -v "^\s*$"
+
  grep -v "^\s*[#;]" any.conf | grep -v "^\s*$"
</nowiki>
+
  </nowiki>
      Line 47: Line 56:  
== TFTP Notes ==
 
== TFTP Notes ==
   −
=== Menu system ===
+
===Menu system===
    
This uses syslinux available from here  
 
This uses syslinux available from here  
Line 131: Line 140:       −
# If you install the smeserver-nfs contrib and export a mount you can use something like the following :
+
#If you install the smeserver-nfs contrib and export a mount you can use something like the following :
    
  label Bitdefender 2
 
  label Bitdefender 2
Line 148: Line 157:  
   append nfsdir=192.168.0.1:/home/e-smith/files/ibays/computer/files/fsecure_311 initrd=images/fsecure_311/minirt.gz nodhcp lang=gb ramdisk_size=1000000
 
   append nfsdir=192.168.0.1:/home/e-smith/files/ibays/computer/files/fsecure_311 initrd=images/fsecure_311/minirt.gz nodhcp lang=gb ramdisk_size=1000000
   −
== smeserver-openswan notes ==
+
==smeserver-openswan notes ==
    
smeserver-openswan-0.6
 
smeserver-openswan-0.6
Line 223: Line 232:  
keyingtries| Default Empty | 0 is default - 'forever'
 
keyingtries| Default Empty | 0 is default - 'forever'
   −
# Future
+
#Future
# certname: Default Empty | Your certificate name
+
#certname: Default Empty | Your certificate name
# leftcert
+
#leftcert
 
# rightca: Default %same
 
# rightca: Default %same
      −
*** For a basic connection you need this as a bare minimum ***
+
***For a basic connection you need this as a bare minimum ***
    
config setprop ipsec status enabled access public
 
config setprop ipsec status enabled access public
Line 260: Line 269:       −
*** For a rsasig connection ***
+
***For a rsasig connection ***
    
Please see the section on generating rsa Signatures.
 
Please see the section on generating rsa Signatures.
Line 292: Line 301:       −
*** For a rsasig connection with dynamic IP ***
+
***For a rsasig connection with dynamic IP ***
    
This will set your local 'left' rsasig
 
This will set your local 'left' rsasig
Line 322: Line 331:  
db ipsec_connections set MyWest ipsec status enabled iptype dyntostat auto start leftsourceip 10.0.0.1 leftsubnet 10.0.0.0/24 right 5.6.7.8 rightsubnet 192.168.20.0/24 security rsasig leftid West rightid East leftrsasig SomeLongPassFromWest rightrsasig SomeLongEastPasswordFromEast
 
db ipsec_connections set MyWest ipsec status enabled iptype dyntostat auto start leftsourceip 10.0.0.1 leftsubnet 10.0.0.0/24 right 5.6.7.8 rightsubnet 192.168.20.0/24 security rsasig leftid West rightid East leftrsasig SomeLongPassFromWest rightrsasig SomeLongEastPasswordFromEast
   −
== smeserver-libreswan notes ==
+
==smeserver-libreswan notes==
    
smeserver-libreswan-0.5
 
smeserver-libreswan-0.5
Line 397: Line 406:  
keyingtries| Default Empty | 0 is default - 'forever'
 
keyingtries| Default Empty | 0 is default - 'forever'
   −
# Future
+
#Future
# certname: Default Empty | Your certificate name
+
#certname: Default Empty | Your certificate name
# leftcert
+
#leftcert
# rightca: Default %same
+
#rightca: Default %same
      −
*** For a basic connection you need this as a bare minimum ***
+
***For a basic connection you need this as a bare minimum ***
    
config setprop ipsec status enabled access public
 
config setprop ipsec status enabled access public
Line 434: Line 443:       −
*** For a rsasig connection ***
+
***For a rsasig connection ***
    
Please see the section on generating rsa Signatures.
 
Please see the section on generating rsa Signatures.
Line 466: Line 475:       −
*** For a rsasig connection with dynamic IP ***
+
***For a rsasig connection with dynamic IP ***
    
This will set your local 'left' rsasig
 
This will set your local 'left' rsasig

Navigation menu