From owner-freebsd-small Sat Jul 18 12:12:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA17651 for freebsd-small-outgoing; Sat, 18 Jul 1998 12:12:11 -0700 (PDT) (envelope-from owner-freebsd-small@FreeBSD.ORG) Received: from korin.warman.org.pl (korin.nask.waw.pl [148.81.160.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA17643 for ; Sat, 18 Jul 1998 12:12:07 -0700 (PDT) (envelope-from abial@nask.pl) Received: from localhost (abial@localhost) by korin.warman.org.pl (8.8.8/8.8.5) with SMTP id VAA03434; Sat, 18 Jul 1998 21:15:20 +0200 (CEST) X-Authentication-Warning: korin.warman.org.pl: abial owned process doing -bs Date: Sat, 18 Jul 1998 21:15:20 +0200 (CEST) From: Andrzej Bialecki X-Sender: abial@korin.warman.org.pl To: gbh@clark.net cc: freebsd-small@FreeBSD.ORG Subject: Re: Interface configuration In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 17 Jul 1998 gbh@clark.net wrote: > I'd like some info about configuring interfaces > with PicoBSD. I'm using the machine as a > router with an ethernet connection to a workstation > and a ppp connection to the Internet. If I were > using Linux I'd use a set of commands like; > > # ifconfig eth0 192.168.0.2 netmask 255.255.255.0 up ifconfig inet netmask > # ifconfig lo 127.0.0.1 Not needed - /etc/rc script does it basing on data from /etc/rc.conf. > # route add -net 192.168.0.0 netmask 255.255.255.0 eth0 > # route add default ppp0 See manual for details. As for the naming conventions: each ethernet device: * is not visible in /dev/ hierarchy - it's just an internal construct. so don't attempt to do a MAKEDEV... :-) * is named after appropriate driver, e.g. DEC21140-based device is called de0, NE2000 is called ed0 etc... > 'netstat -r' to look at the routing table but the > command is not included. What's a replacement? There is no netstat in that release - it will be included in v.0.32 which is due RSN. Andrzej Bialecki +---------------------+------------------------+--------------------------+ | | When in problem or in | if(halt_per_mth > 0) { | | Research & Academic | doubt, run in circles, | fetch("FreeBSD"); | | Network in Poland | scream and shout. | } | + --------------------+------------------------+--------------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message