From owner-freebsd-isp Sun Dec 31 22:23:47 2000 From owner-freebsd-isp@FreeBSD.ORG Sun Dec 31 22:23:43 2000 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from hawk-systems.com (unknown [161.58.152.235]) by hub.freebsd.org (Postfix) with ESMTP id E807D37B400 for ; Sun, 31 Dec 2000 22:23:42 -0800 (PST) Received: from server0 (cr901664-a.pr1.on.wave.home.com [24.112.146.66]) by hawk-systems.com (8.8.8) id XAA04394 for ; Sun, 31 Dec 2000 23:22:18 -0700 (MST) From: "Dave VanAuken" To: Subject: RE: Jail problems Date: Mon, 1 Jan 2001 01:30:13 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal In-Reply-To: <20001231195959.A23337@databits.net> Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org will do a cvsup to 4.2-stable and go through it again. will be reproducing this ona few machines though (once the bugs are worked out)... currently working off of the 4.1.1 ISO, is there a shorter way of getting the 4.2 stable rather than doing a 4.1.1 install and then cvsup'ing it? thanks, and will reply back with the results after the upgrade and reinstall. some answers to your questions... - aliased the IP address using the following: ifconfig xl0 inet alias 192.168.1.111 netmask 255.255.255.255 (tried 255.255.255.0 as well) - yes did makedev jail in the jail/dev directory (did again to double check but was sure I did) will do the 4.2 up and see if that resolves it... really looking forward to this. While we are working on that... any feedback as to the load imposed by each virtual machine? the installation I am looking at not is about 100mb of disk space, though I havn't tried to streamline that yet (trying to get it functional first) Dave -----Original Message----- From: Pete Fritchman [mailto:petef@databits.net] Sent: Sunday, December 31, 2000 8:00 PM To: Dave VanAuken Cc: freebsd-isp@FreeBSD.ORG Subject: Re: Jail problems ++ 31/12/00 18:29 -0500 - Dave VanAuken: >4.1.1 on intel box If you get a chance, cvsup to 4.2-stable. > [snip] > >**problem 1: cannot set root password for jail - get "Mismatch; try >again, EOF to quit." continuously dumped to the screen... have to >reboot. weird.. maybe a stdin problem? It only asks you once, then it just scrolls that? (once you get your jail running below, try running this again and see if you get the same result...) > >skipping that problem... we set accounts, timezone, etc... not >installing any packages yet >add ip address to NIC... ifconfig... as in man for jail >mount the file system as in man >run jail command as in man > jail /usr/home/lcadmin testhostname 192.168.1.111 /bin/sh /etc/rc > >do a ps to ensure the jailed processes are running... yes > >**problem 2: cannot ping to IP address from host machine, cannot >connect to IP address via telnet - get "All Network ports in use" from >other machines and "time out" from host machine Time out from host machine and you can't ping it from the host machine -- sounds like you aliased the IP wrong. What is the exact ifconfig line you typed? All network ports == can't find ttys to use. Did you 'sh MAKEDEV jail' in your $jail/dev directory? >[snip] >chflags: /dev/tty[pqrsPQRS]*: No such file or directory >chmod: /dev/tty[pqrsPQRS]*: No such file or directory >chown: /dev/tty[pqrsPQRS]*: No such file or directory ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This confirms that you haven't MAKEDEV jail'd correctly (or the MAKEDEV you have is problematic -- this is why you might want to cvsup to 4.2-stable) >[snip] >/dev/ttyv0: no >such file Again.. >[snip] Good luck -- jail is a really neat toy once you have it running. -pete -- Pete Fritchman Databits Network Services, Inc. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message