From owner-freebsd-newbies Fri Sep 17 8:40:27 1999 Delivered-To: freebsd-newbies@freebsd.org Received: from copland.udel.edu (copland.udel.edu [128.175.13.92]) by hub.freebsd.org (Postfix) with ESMTP id B9E8114D3B for ; Fri, 17 Sep 1999 08:40:22 -0700 (PDT) (envelope-from papalia@UDel.Edu) Received: from localhost (papalia@localhost) by copland.udel.edu (8.9.3/8.9.3) with ESMTP id LAA18772; Fri, 17 Sep 1999 11:40:28 -0400 (EDT) Date: Fri, 17 Sep 1999 11:40:27 -0400 (EDT) From: "John M. Papalia" To: freebsd-newbies@freebsd.org Cc: gregory kinney Subject: Some actual help (Was: it just goes on and on.......) In-Reply-To: <4.1.19990916202713.009452e0@unix01.voicenet.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org George - First, one of the earlier writers (lost his name) was correct... more information is really needed... that being said... My answers may sound naive or simple, but I thought I'd take a stab at this (slightly out of order)... Anything i'm wrong on, I hope someone will (gently) correct it. Your kernel code would be in /sys/i386/conf/GENERIC on a new install. Take that file, and copy it naming it to your machines name (ex, I copied GENERIC to MERLIN). Editing your new file will then get you on your way there. For ethernet, you want to make sure you have as a minimum the following lines added or uncommented: pseudo-device ether device There is the question though as to which ethernet device you'd need, which will be deteremined by the model card you have. After determining which ethernet device name you'll need, you'll want to make sure that those exist in /dev. If they don't, you'll want to cd /dev and then ./Makedev . For example, ./Makedev vx0. Copy your original kernel (ie: cp /kernel /kernel.orig) just in case you need to boot to it again. Then the instructions in the book should be good for recompiling and installing the kernel (from within the /sys/i386/conf/ directory). After getting your kernel configured to match your specific system, it would be wisest (as someone already mentioned) to get one ethernet card working, and then proceed to getting the other one going as well. The file you'll want to edit is /etc/rc.conf Within that file you'll need to insert some additional information. About 20 lines down, you'll need to edit the "network_interfaces" line, adding your interface device names there. For example, my configuration has two cards - one to an internal net, one to the outside. My lines are as follows: network_interfaces="fxp0 fxp1 ppp0 lo0 tun0" # List of network interfaces (lo0 is # loopback). ifconfig_fxp0="inet 10.0.0.1 netmask 255.255.255.0" ifconfig_fxp1="inet 128.175.1.2 netmask 255.255.255.0" I'm not sure how to get the system to re-read /etc/rc.conf without rebooting - maybe someone else can shed some light on that. Otherwise, I'd say reboot :) After you reboot, issued the command ifconfig -a and hopefully you will see your card is connected and purring along with the message "active" as can be seen here: merlin# ifconfig -a fxp0: flags=8843 mtu 1500 inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255 ether 00:a0:c9:6c:a9:23 media: autoselect (100baseTX ) status: active supported media: autoselect 100baseTX 100baseTX 10baseT/UT Simply put though, you're not gonna be going anywhere until you match up which device goes along with your ethernet card. Hope this helps, and I hope that someone will chime in with more useful or more correct information if need be. Regards, John > >to work - is getting any ethernet cards to work in any way; > > > >i need to have 2 cards to bridge 2 subnets > >they are in the machine > >they are 3com > >i have addresses for both subnets > >they are pluged in > >the jacks are live > >the machine is on > >unfortunately i have NO eo0 or eo1 or vx0 or vx1 > >thats about all there is to work with > >wont mount eo0 or eo1 or vx0 or vx1 > > > >so how in the world do you mount an ethernet device???? > >the networking comands exist in rc.config!!!! > >(for one of them anyway) > >where are the devices? > >i certainly cant find them! > > > >and i cant recompile the kernal, inserting them, cause i cant find the > >kernel source on the location specified in the book!!! > >i TOLD the install wizard to install all of the /src > >but apparently it descided not to! > > > >anyway - i am 4 more hours into an instilation that is about 12 hours old > >and STILL CANT FIND AN IP ADDRESS!!! > > > >thanks all > > > >greg kinney > > > >______________________________________________________ > >Get Your Private, Free Email at http://www.hotmail.com > > > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org > >with "unsubscribe freebsd-newbies" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message