Difference between pages "Netbsd vpn gateway basic setup" and "Mendel90 3D Printer"

From ENTS
(Difference between pages)
Jump to: navigation, search
(Recompile the kernel)
 
(Known Problems)
 
Line 1: Line 1:
 +
{{Template:EquipmentPage |owner=ENTS |model=Mendel90 |serial=ENTS000001 |arrived=June 2013 |doesitwork=WORKING |contact= [[User:Hov]] |where=Main Workroom |certification= YES |hackable= NO |value= $600 |itemphoto=[[File:Mendel90.jpg|350px|thumb|right|]]}}<br>
  
===basic setup after vanilla install===
 
  
---
+
==Mendel 90==
 +
3D printing is a thing and it's a thing we can do!
  
  vi /root/.profile
+
== Current State ==
 +
Currently working with small issues.  Interface is at http://members.ents.ca:5000
  
change the path for the pkgsrc repo to:<br />
+
== Who Can Certify You?==
ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/i386/5.0/All/
+
[[User:grelli]]
 +
[[User:khawkings]]
  
convenience packages
+
== Specifications ==
  
pkg_add lynx
 
pkg_add pico
 
pkg_add screen
 
  
---
+
== Equipment Settings ==
 +
== Modifications ==
 +
== Working on it ==
 +
== Known Problems ==
 +
If the hot end stops making itself hot then unplug and plug back in the connectors for the hot end on the x-carriage (the 4 pin connectors to the protoboards)
  
vi /etc/ifconfig.fxp0
+
== Future Ideas ==
 
+
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
+
 
+
 
+
---
+
 
+
===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_x300
+
 
+
<pre>
+
CFLAGS:
+
 
+
  #use whatever is applicable
+
  #see:  http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86_002d64-Options.html
+
  #
+
  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
+
</pre>
+
 
+
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 /
+
 
+
Reboot using the new kernel.
+
 
+
 
+
 
+
===pf setup===
+
 
+
Pf (the openbsd packet filter) is installed by default on Netbsd 5.2 No special packages are required.
+
 
+
---
+
 
+
Set pf to run by default
+
 
+
vi /etc/rc.conf
+
 
+
pf=yes
+
 
+
---
+

Revision as of 17:26, 2 August 2013

Back to list of Equipment

Mendel90.jpg

Contents

Label

Mendel90 3D Printer http://ents.ca/index.php/Mendel90_3D_Printer

General

  • Owner/Loaner: ENTS
  • Make/Model: Mendel90
  • Usability: WORKING
  • Contact: User:Hov
  • Where: Main Workroom
  • Certification Needed: YES
  • Hackable: NO
  • Estimated Value: $600

Instructions

{{{Instructions}}}


Mendel 90

3D printing is a thing and it's a thing we can do!

Current State

Currently working with small issues. Interface is at http://members.ents.ca:5000

Who Can Certify You?

User:grelli User:khawkings

Specifications

Equipment Settings

Modifications

Working on it

Known Problems

If the hot end stops making itself hot then unplug and plug back in the connectors for the hot end on the x-carriage (the 4 pin connectors to the protoboards)

Future Ideas

Personal tools
Namespaces

Variants
Actions
Navigation
Members
Toolbox