View Single Post
  #2   (View Single Post)  
Old 15th December 2014
J65nko J65nko is offline
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,798
Default Download

The attached tarball contains the script, the Makefile, an install.conf and a serial console log of the unattended automatic install.

Notes for the Makefile

If you comment out the MAC variable the file will be uploaded to the web server as install.conf. Else the MAC address, followed by a '-' will be prefixed.

#MAC     = 52:54:00:aa:aa:01
CONF    = install.conf

.ifdef MAC

$ make -n upload
sudo cp -p install.conf /home/www/52:54:00:aa:aa:01-install.conf

$ vi Makefile (commenting out the MAC variable)

$ make -n upload 
sudo cp -p install.conf /home/www/install.conf
Check make(1) for the purpose of the -n option in this small demo
Attached Files
File Type: tgz Autoinstall.tgz (8.1 KB, 272 views)
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump

Last edited by J65nko; 15th December 2014 at 02:20 AM.
Reply With Quote