[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
howtos:misc:slackware_print_server [2013/12/29 08:01 (UTC)] – [Making the printserver crash proof] louigi600howtos:network_services:slackware_print_server [2014/12/18 02:04 (UTC)] (current) – howtos:misc:slackware_print_server renamed to howtos:network_services:slackware_print_server (Moved to network services) mfillpot
Line 104: Line 104:
  
  
-  \-\-\- rc.S.org  2013-12-28 14:25:08.569250342 +0100 +  rc.S.org  2013-12-28 14:25:08.569250342 +0100 
-  \+\+\+ rc.S      2013-12-28 14:15:50.594483496 +0100+  rc.S      2013-12-28 14:15:50.594483496 +0100
   @@ -18,12 +18,31 @@   @@ -18,12 +18,31 @@
        fi        fi
Line 122: Line 122:
   +( cd /run   +( cd /run
   +  /usr/bin/mkdir -p log/{cups,nfsd,samba} spool/{cups/tmp,mail} run/{cups/certs,dbus,dhcpcd/ntp.conf,dhcpcd/resolv.conf} tmp   +  /usr/bin/mkdir -p log/{cups,nfsd,samba} spool/{cups/tmp,mail} run/{cups/certs,dbus,dhcpcd/ntp.conf,dhcpcd/resolv.conf} tmp
-  +  /usr/bin/chmod a+rwxt tmp+  +  /usr/bin/chmod a+rwxt tmp lock/subsys
   +  for DIR in packages removed_packages removed_scripts scripts setup   +  for DIR in packages removed_packages removed_scripts scripts setup
   +  do   +  do
Line 129: Line 129:
   +  /usr/bin/ln -s /var/static/cron spool/cron   +  /usr/bin/ln -s /var/static/cron spool/cron
   +  /usr/bin/touch /run/ld.so.cache   +  /usr/bin/touch /run/ld.so.cache
-  +  /usr/bin/ln -s /run/ld.so.cache /etc/ld.so.cache 
-  +  /usr/bin/ln -s /run/tmp /tmp 
   +)   +)
      
Line 215: Line 213:
   drwxr-xr-x  2 root root 160 Oct 18  2013 empty/   drwxr-xr-x  2 root root 160 Oct 18  2013 empty/
   drwxr-xr-x  7 root root 488 Jan  1  1970 lib/   drwxr-xr-x  7 root root 488 Jan  1  1970 lib/
-  drwxr-xr-t  root root 304 Jan  1  1970 lock/+  lrwxrwxrwx  root root   9 Jan  1 01:29 lock -> /run/lock/
   lrwxrwxrwx  1 root root  10 Jan  1  1970 log -> ../run/log/   lrwxrwxrwx  1 root root  10 Jan  1  1970 log -> ../run/log/
   lrwxrwxrwx  1 root root  10 Nov  4  2013 mail -> spool/mail/   lrwxrwxrwx  1 root root  10 Nov  4  2013 mail -> spool/mail/
Line 250: Line 248:
   drwx--x--- 3 root lp   60 Jan  1 01:00 cups/   drwx--x--- 3 root lp   60 Jan  1 01:00 cups/
   drwxr-xr-x 2 root root 40 Jan  1 01:00 mail/   drwxr-xr-x 2 root root 40 Jan  1 01:00 mail/
 +  root@printserver:~# ls -l /tmp
 +  lrwxrwxrwx 1 root root 7 Jan  1 01:03 /tmp -> run/tmp/
   root@printserver:~# mount   root@printserver:~# mount
   proc on /proc type proc (rw,relatime)   proc on /proc type proc (rw,relatime)
Line 260: Line 260:
   root@printserver:~#   root@printserver:~#
      
-With these links the Slackware distribution will operate pretty much normally (might have to link var/lock and maybe s few other minor issues) and can resume to ordinary operation by just remounting root read/write "mount -o remount,rw /" to allow some maintenance (like package management) and when that's done just remount it ro with a simple "mount -o remount,ro /".+With these links the Slackware distribution will operate pretty much normally and can resume to ordinary operation by just remounting root read/write "mount -o remount,rw /" to allow some maintenance (like package management) and when that's done just remount it ro with a simple "mount -o remount,ro /". 
 + 
 +===== Here's my wifi print server  ===== 
 +Here's one of my Dockstars in a homebrew casing running the above described printserver from internal flash. (the usb stick on top is a wifi stick) 
 +{{http://i246.photobucket.com/albums/gg113/louigi600/ARM/printesver_zps79e33939.jpg}}
  
 ====== Sources ====== ====== Sources ======
 howtos:network_services:slackware_print_server ()