Penguin

Differences between current version and previous revision of MinixNotes.

Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History

Newer page: version 3 Last edited on Sunday, October 8, 2006 10:38:49 pm by AlastairPorter
Older page: version 2 Last edited on Sunday, October 8, 2006 10:13:49 pm by AlastairPorter Revert
@@ -50,4 +50,21 @@
 <verbatim> 
 #!/bin/bash 
 /sbin/ifconfig ${1##/*/} 192.168.1.1 
 </verbatim> 
+  
+!!! Setting up IP Addresses manually.  
+(Mostly from http://www.minixtips.com/2006/06/minix-with-static-ip-address.html)  
+  
+Unless you have a dhcpd serving addresses out on your tun device, you probably want to do something like this to stop you having to set up the IP address each time you load minix:  
+  
+Add the following to /etc/rc.net  
+<verbatim>  
+ifconfig -I /dev/ip0 -n 255.255.255.0 -h 192.168.1.2  
+add_route -g 192.168.1.1  
+</verbatim>  
+  
+Add DNS by adding:  
+<verbatim>  
+your.name.server %nameserver  
+</verbatim>  
+to /etc/hosts