Difference between pages "Netbsd vpn gateway basic setup" and "Template:EquipmentPage"

From ENTS
(Difference between pages)
Jump to: navigation, search
(prep to recompile the kernel)
 
m (Materials)
 
Line 1: Line 1:
 +
<includeonly>[[Category:Equipment]]</includeonly>
 +
[[Equipment|Back to list of Equipment]]
 +
<noinclude>
 +
== Usage ==
 +
Welcome users:
 +
{{Equipment|owner=Owner of Loaner of equipment|model=Make/Model of equipment|arrived=When this thing first showed up|doesitwork=Does this work or not|contact=person to contact|where=where is it}}
 +
</noinclude>
 +
{| style="border:solid #aaa 0px; margin:0px; font-size:100%; background:#ffffff; width:0px; padding:1em; text-align:absmiddle; float:right; clear:right;"
 +
| {{{itemphoto|[[file:Equipment-no-photo.jpg|150]]}}}
 +
|}
  
===basic setup after vanilla install===
+
== Label ==
 +
{{Template:EquipmentLabel|owner={{{owner}}}|certification={{{certification}}}|hackable={{{hackable}}}}}
  
---
+
== General ==
 +
* '''Owner/Loaner:''' {{{owner}}}
 +
* '''Make/Model:''' {{{model}}}
 +
* '''Usability:''' {{{doesitwork}}}
 +
* '''Contact:''' {{{contact}}}
 +
* '''Where:''' {{{where}}}
 +
* '''Certification Needed:''' {{{certification}}}
 +
* '''Hackable:''' {{{hackable}}}
 +
* '''Estimated Value:''' {{{value}}}
  
vi /root/.profile
+
== How to Use ==
 +
LaserCad software is available on \\atlas\Media
 +
<br><br>
 +
Step 1: Ask Someone who is certified for instructions <br/>
 +
Step 2: Read Instructions. <br/>
 +
Step 3: Place Instructions in Laser Engraver. <br/>
 +
Step 4: Burn them... <br/>
 +
Step 5: Wing it...
  
change the path for the pkgsrc repo to:<br />
+
== Materials ==
ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/i386/5.0/All/
+
  
  pkg_add lynx<br />
+
<br>
  pkg_add pico<br />
+
The good, the bad, and the ugly of materials.
pkg_add screen
+
<br>
 +
<br>
 +
This editing of this wiki table is just starting. On the wall next to the laser cutter you will find a longer list of safe/unsafe materials.
 +
<br>
 +
{| style="width: 100%; text-align:left;" class="wikitable"
 +
!colspan="4"|<big>Unsafe Materials</big>
 +
|-
 +
!style="width: 20%"|Material
 +
!style="width: 10%; text-align:center"|Marks
 +
!Notes
 +
|-
 +
|HDPE
 +
|[[File:recycle2.png]]
 +
|Although tempting due to its ready availability (milk jugs), it melts, catches fire, and makes a big mess.
 +
|-
 +
|PVC
 +
|[[File:recycle3.png]]
 +
|Releases Chlorine gas! Dangerous to breathe and corrosive to the equipment.
 +
|-
 +
|Unidentified Plastic
 +
|[[File:recycle7.png]]
 +
|This symbol is a catch-all for various plastics and plastic combinations.  Avoid any plastics with this symbol because they're composition is unknown.
 +
|-
 +
|ABS plastic
 +
|[[File:recycle_abs.png]]
 +
|Emits Cyanide! (do you need another reason?).  Fine then, it melts and makes a mess too.
 +
|-
 +
|Other Plastic
 +
|None
 +
|Avoid any unmarked plastic because its composition is unknown.
 +
|-
 +
|Artificial leather and other vinyl
 +
|None
 +
|See PVC, above
 +
|}
 +
<br>
 +
{| style="width: 100%; text-align:left;" class="wikitable"
 +
!colspan="4"|<big>Safe Materials</big>
 +
|-
 +
!Material
 +
!Cutting
 +
!Engraving
 +
!Notes
 +
|-
 +
|Wood-solid
 +
|Yes
 +
|Yes
 +
|
 +
|-
 +
|Wood-MDF
 +
|Yes
 +
|Yes
 +
|Engraved surface may become pitted due to glue and wood particles being burnt at different rates by the laser
 +
|-
 +
|Acrylic
 +
|Yes
 +
|Yes
 +
|Engraving at high power levels may cause many small fractures to appear.
 +
|}
  
---
+
== Fine-Tuning ==
 
+
<br>
vi /etc/ifconfig.fxp0
+
Suggestions for getting the best results from various materials, using this laser cutter.
 
+
192.168.0.20{1,2} netmask 255.255.255.0
+
 
+
---
+
 
+
vi /etc/sysctl.conf
+
 
+
net.inet.ip.forwarding=1
+
 
+
---
+
 
+
vi /etc/resolv.conf
+
 
+
nameserver 64.59.184.13
+
 
+
---
+
 
+
vi /etc/rc.conf
+
 
+
hostname=chaosvpn{1,2}.440bx.net<br />
+
defaultroute=192.168.0.1<br />
+
sshd=yes
+
 
+
---
+
 
+
useradd -m -G wheel chaosvpn_user<br />
+
passwd chaosvpn_user
+
 
+
---
+
 
+
continue with the steps at:
+
 
+
https://wiki.hamburg.ccc.de/ChaosVPN:NetBSDHowto
+
 
+
 
+
---
+
 
+
===prep to recompile the kernel===
+
 
+
make directories
+
 
+
# mkdir /usr/src
+
# chown chaosvpn_user /usr/src
+
 
+
get the actual source
+
+
$ ftp -i ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-5.2/source/sets/
+
  mget *.tgz
+
+
extract
+
 
+
$ for i in *.tgz
+
  do
+
  tar -xzf $i
+
  done
+
 
+
after you realize youve extracted to the wrong dir
+
 
+
$ mv /usr/src/usr/src/* /usr/src
+
 
+
copy config stuff
+
 
+
$ cd /usr/src/sys/arch/i386
+
$ cp GENERIC i686_CVPN_x300
+
 
+
 
+
vi ./i686_CVPN_x30
+
 
+
CFLAGS:
+
 
+
  CPUFLAGS="-march=pentium3m -mtune=pentium3m"
+
 
+
Uncommented:
+
 
+
  PERFCTRS #since this is going to be non-smp kernel (may or may not ever use this)
+
  GATEWAY
+
  IPSEC
+
  IPSEC_ESP
+
  IPSEC_NAT_T
+
  pseudo-device carp
+
  pseudo-device pf
+
  pseudo-device pflog
+
 
+
 
+
Might dig more into "tuning" later.
+
 
+
Time to start building the new kernel
+
 
+
$ config ./i686_CVPN_x300
+
$ cd ../compile/i686_CVPN_x300
+
$ make clean && make depend && make
+
 
+
And install
+
 
+
$ su -
+
# cp /netbsd /netbsd.orig
+
# cp netbsd /
+

Revision as of 20:04, 1 May 2014

Back to list of Equipment

Contents

Usage

Welcome users: Baleeted for testing porpoises.

150

Label

Template:EquipmentPage {{{owner}}} http://ents.ca/index.php/Template:EquipmentPage

General

  • Owner/Loaner: {{{owner}}}
  • Make/Model: {{{model}}}
  • Usability: {{{doesitwork}}}
  • Contact: {{{contact}}}
  • Where: {{{where}}}
  • Certification Needed: {{{certification}}}
  • Hackable: {{{hackable}}}
  • Estimated Value: {{{value}}}

How to Use

LaserCad software is available on \\atlas\Media

Step 1: Ask Someone who is certified for instructions
Step 2: Read Instructions.
Step 3: Place Instructions in Laser Engraver.
Step 4: Burn them...
Step 5: Wing it...

Materials


The good, the bad, and the ugly of materials.

This editing of this wiki table is just starting. On the wall next to the laser cutter you will find a longer list of safe/unsafe materials.

Unsafe Materials
Material Marks Notes
HDPE Recycle2.png Although tempting due to its ready availability (milk jugs), it melts, catches fire, and makes a big mess.
PVC Recycle3.png Releases Chlorine gas! Dangerous to breathe and corrosive to the equipment.
Unidentified Plastic Recycle7.png This symbol is a catch-all for various plastics and plastic combinations. Avoid any plastics with this symbol because they're composition is unknown.
ABS plastic Recycle abs.png Emits Cyanide! (do you need another reason?). Fine then, it melts and makes a mess too.
Other Plastic None Avoid any unmarked plastic because its composition is unknown.
Artificial leather and other vinyl None See PVC, above


Safe Materials
Material Cutting Engraving Notes
Wood-solid Yes Yes
Wood-MDF Yes Yes Engraved surface may become pitted due to glue and wood particles being burnt at different rates by the laser
Acrylic Yes Yes Engraving at high power levels may cause many small fractures to appear.

Fine-Tuning


Suggestions for getting the best results from various materials, using this laser cutter.

Personal tools
Namespaces

Variants
Actions
Navigation
Members
Toolbox