From owner-freebsd-questions Mon Nov 18 16:28:21 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E665D37B401 for ; Mon, 18 Nov 2002 16:28:19 -0800 (PST) Received: from hotmail.com (f137.law3.hotmail.com [209.185.241.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id A567143E8A for ; Mon, 18 Nov 2002 16:28:19 -0800 (PST) (envelope-from aradorn@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 18 Nov 2002 16:28:19 -0800 Received: from 128.114.63.217 by lw3fd.law3.hotmail.msn.com with HTTP; Tue, 19 Nov 2002 00:28:19 GMT X-Originating-IP: [128.114.63.217] From: "Ian Peters-Campbell" To: freebsd-questions@freebsd.org Subject: wireless networking card/routing question Date: Tue, 19 Nov 2002 00:28:19 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 19 Nov 2002 00:28:19.0620 (UTC) FILETIME=[8F756E40:01C28F62] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I am trying to set up an ad-hoc network with some Dell c600 Latitudes in a school lab. One of the machines (A) is plugged into the school's DHCP network via an average, everyday ethernet card. It has no problem accessing the internet, etc. However, system A also has a Cisco Aironet 350 plugged into a PCMCIA slot. The idea is for system A to act as a gateway, firewall, and router for the other three machines (B, C, and D). I have all of the machines running so that they can ping eachother over the wireless link. So my question has two parts. Part the First: Each time I reboot, I am finding myself having to redo the ifconfig on the network cards, and then also having to run ancontrol -n and ancontrol -o 0 on the systems. I am not sure why I have to set up the ifconfig each time, since there are sysinstall generated deltas in rc.conf for the wireless card. I would like (obviousdly) to have these small but annoying tasks automated at startup. I tried putting a shell screipt in /usr/local/etc/rc.d with my other startup scripts to get these settings done for me, but it doesn't seem to catch them. Where should my script go, and what should it contain beyond two ancontrol commands and an ifconfig? Part the Second: None of my books seem very clear onb how to set up machine A as the gateway/router for machines B, C, and D, beyond turning on the "router_enable="YES" " flag on machine A and setting machine A's wireless card as the gateway for machines B, C, and D. Can anyone offer enlightenment on what steps I need to take to get B, C, and D to talk to the outside world? Thanks in advance for any help :) Ian _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message