Date: Tue, 19 Nov 2002 00:28:19 +0000 From: "Ian Peters-Campbell" <aradorn@hotmail.com> To: freebsd-questions@freebsd.org Subject: wireless networking card/routing question Message-ID: <F1373XAg0pepP1znXgf0000dda9@hotmail.com>
next in thread | raw e-mail | index | archive | help
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 <SSID> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F1373XAg0pepP1znXgf0000dda9>