From owner-freebsd-isp Sun Dec 31 15:23:18 2000 From owner-freebsd-isp@FreeBSD.ORG Sun Dec 31 15:23:14 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 C5A2437B400 for ; Sun, 31 Dec 2000 15:23:13 -0800 (PST) Received: from server0 (cr901664-a.pr1.on.wave.home.com [24.112.146.66]) by hawk-systems.com (8.8.8) id QAA84972 for ; Sun, 31 Dec 2000 16:21:49 -0700 (MST) From: "Dave VanAuken" To: Subject: Jail problems Date: Sun, 31 Dec 2000 18:29:41 -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: <20001231183152.A68613@skriver.dk> Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 4.1.1 on intel box fresh install with all libs had to do make world to get all mappings correct (was getting problems finding some files during the make processes for the jail setup. following the man pages have the jail setup once created we start the jail and begin to setup environment... jail start command (as in man page) jail /usr/home/lcadmin testhostname 192.168.1.111 /bin/sh set some environment variables with sysinstall in the jail **problem 1: cannot set root password for jail - get "Mismatch; try again, EOF to quit." continuously dumped to the screen... have to reboot. 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 not sure what the problem is... ifconfig shows the aliased IP address, df shows the mapped file system, ps shows the jailed processes... appreciate any assistance, output from the jail command listed below. Dave nx1# jail /usr/home/lcadmin testhostname 192.168.1.111 /bin/sh /etc/rc Skipping disk checks ... adjkerntz[1476]: sysctl(set_disrtcset): Operation not permitted dmesg: /dev/mem: No such file or directory Doing initial network setup:. ifconfig: ioctl (SIOCDIFADDR): permission denied ifconfig: ioctl (SIOCDIFADDR): permission denied xl0: flags=8843 mtu 1500 inet6 fe80::250:daff:fe66:8f4c%xl0 prefixlen 64 scopeid 0x1 inet 192.168.1.111 netmask 0xffffff00 broadcast 192.168.1.255 ether 00:50:da:66:8f:4c media: autoselect (10baseT/UTP) status: active supported media: autoselect 100baseTX 100baseTX 10baseT/UT P 10baseT/UTP 100baseTX lo0: flags=8049 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0xa inet6 ::1 prefixlen 128 route: socket: Operation not permitted Additional routing options: tcp extensions=NOsysctl: net.inet.tcp.rfc1323: Opera tion not permitted TCP keepalive=YESsysctl: net.inet.tcp.always_keepalive: Operation not permitted . routing daemons:. 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 additional daemons: syslogdsyslogd: child pid 1561 exited with return code 1 . Doing additional network setup:. Starting final network daemons:. setting ELF ldconfig path: /usr/lib /usr/lib/compat setting a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout starting standard daemons: inetd cron sendmail. Initial rc.i386 initialization:. rc.i386 configuring syscons: blank_time/etc/rc.i386: cannot open /dev/ttyv0: no such file . additional ABI support:. Local package initialization:. Additional TCP options:. Sun Dec 31 16:55:09 MST 2000 nx1# To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message