From owner-freebsd-small Sun Jan 24 06:44:19 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA10311 for freebsd-small-outgoing; Sun, 24 Jan 1999 06:44:19 -0800 (PST) (envelope-from owner-freebsd-small@FreeBSD.ORG) Received: from quackerjack.cc.vt.edu (quackerjack.cc.vt.edu [198.82.160.250]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA10300 for ; Sun, 24 Jan 1999 06:44:10 -0800 (PST) (envelope-from jobaldwi@vt.edu) Received: from sable.cc.vt.edu (sable.cc.vt.edu [128.173.16.30]) by quackerjack.cc.vt.edu (8.8.8/8.8.8) with ESMTP id JAA14164; Sun, 24 Jan 1999 09:43:56 -0500 (EST) Received: from john.baldwin.cx (jobaldwi.campus.vt.edu [198.82.67.63]) by sable.cc.vt.edu (8.8.8/8.8.8) with ESMTP id JAA06526; Sun, 24 Jan 1999 09:43:55 -0500 (EST) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <36AB243B.E43427BE@sbox.tu-graz.ac.at> Date: Sun, 24 Jan 1999 09:43:57 -0500 (EST) From: John Baldwin To: Michael Bretterklieber Subject: RE: Problems and questions to custom-config Cc: freebsd-small@FreeBSD.ORG Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- On 24-Jan-99 Michael Bretterklieber wrote: > Hi, > I have the following problems with my custom-config: > > 1. I allways get > "init: login_getclass: unknown class 'daemon'", > but this login-class is in the login.conf file. Same here, my floppy works regardless, so I've just ignored it. You probably should use cap_mkdb to build a login.conf database and stick it in floppy.tree/etc > 2. I tried to compile wide-dhcp with crunchgen, > but I allways get the messages: > "crunchgen: crunch.conf: dhcpc: warning: could not find any .o files" > > "crunchgen: crunch.conf: dhcpc: error: no objpaths specified or > calculated" > I added the right paths in crunch.conf. I also tried it with ssh and > I had > the same problems. For my custom disk, I just compiled it statically (cd /usr/ports/isc-dhcp2 ; make configure ; cd work/blah/dhclient ; ; make ; strip dhclient ) Then, I edited the crunch1/Makefile and added a cp line to put dhclient in /stand. You can add another cp line to take care of 3). Look at an old version of the net floppy's crunch1/Makefile to see an example of cp being used. Also, crunchgen figures out the .o files by looking for a SRCS variable in the Makefile listing all the .c files that have to be compiled. > 3. I'd like to add a "/www" dir with an "index.html" file in it, > I added the /www in mfs.tree, but I have no idea, how I can > copy the index.html-file in this directory. > 4. During the kernel-decompression I get "warning: malloc-wrapped" > 5. I'd like to enable /var/log/messages logging for the firewall and > login logging. Make sure you have a syslog.conf in floppy.tree/etc or English and Polish versions in lang. Then, edit lang/rc.(en|pl) and make sure it is starting syslogd. Make sure mfs.tree contains /var/log or whatever directory you are using for logging and that crunch1/Makefile has syslogd as a program. > 6. I could'nt get work the simple_httpd. > I get "document contains no data" from my browser and the > simple_httpd dumps a core. > Note: I made a /httphome dir with a simple index.html file. > > Generaly my version of PicoBSD works well and I called it firewall, so > if anybody has interest on my config, mail it. Good luck. - --- John Baldwin -- http://members.freedomnet.com/~jbaldwin/ PGP Key: http://members.freedomnet.com/~jbaldwin/pgpkey.asc -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQCVAwUBNqswGLaE8XzBCodNAQHC7QP9HYQfDefdo1XVlYlOHdxD8G7PMveFeoQE 5wDGWUxetq/5BojwBB3zVDOEcwzD9rYzeUF5mxPJtkKy5uJuQsmnDA3ADRDPkmq0 4ZgJw0dAJhNgeS7iwVjoMO5xThRwsXUWU/JnQw/RVMtJeeU+MEMt+RKdait85YaR 5DGP1NPd5bw= =UdDk -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message