The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Previous Message  |  Next Message 
 Re: New FreeBSD/Jail User
Author: drnez 
Date:   25-07-06 21:53

FreeBSD 4.8 did not have devfs, hence why there is no option for it on your previous setup. The jail should be setup using freebsd RC system. Here is a quick example of the entries you need in /etc/rc.conf on the HOST

jail_enable="YES"
jail_list="myjail"
jail_myjail_rootdir="/usr/home/jails/myjail"
jail_myjail_hostname="myjail.example.com"
jail_myjail_ip="10.0.0.20"
jail_myjail_exec_start="/bin/sh /etc/rc"
jail_myjail_devfs_enable="YES"

you cannot use raw ip sockets within the jail, its just a limitation of the system. so things like ping, and traceroute just wont work.

You do not need the CD-ROM to install postfix, or anything really. you should be using the ports system to do this. Take a look at section 4 of the handbook (http://www.freebsd.org/handbook/) and also `man ports`

Hope this helps

-Frank

 Reply To This Message  |  Forum List  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 New FreeBSD/Jail User   new
kwortman 05-06-06 13:32 
 Re: New FreeBSD/Jail User   new
Dan 11-06-06 15:14 
 Re: New FreeBSD/Jail User   new
drnez 25-07-06 21:53 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org