From owner-freebsd-questions Mon Oct 7 7:30:58 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 1277037B401 for ; Mon, 7 Oct 2002 07:30:57 -0700 (PDT) Received: from web13407.mail.yahoo.com (web13407.mail.yahoo.com [216.136.175.65]) by mx1.FreeBSD.org (Postfix) with SMTP id BC86D43E7B for ; Mon, 7 Oct 2002 07:30:56 -0700 (PDT) (envelope-from andrewgould@yahoo.com) Message-ID: <20021007143056.47046.qmail@web13407.mail.yahoo.com> Received: from [24.204.17.84] by web13407.mail.yahoo.com via HTTP; Mon, 07 Oct 2002 07:30:56 PDT Date: Mon, 7 Oct 2002 07:30:56 -0700 (PDT) From: Andrew Gould Subject: siemens wireless pci adapter as dhcp client - success and questions To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 Happy Monday! I have successfully installed and configured a Siemens SpeedStream Wireless PCI Adapter, Model SS1024, in a desktop PC running FreeBSD 4.6 Release. I didn't know how to get wep configured via /etc/rc.conf, so I used a shell script in /usr/local/etc/rc.d. Since I'm a newbie at networking and my approach seemed too easy, I am concerned that I may have missed something. Would someone review the script and tell me if I've forgotten anything important? Assumptions: * Firewall configuration is adequate * /etc/resolve.conf has been edited correctly * This test PC will be upgraded to FreeBSD 4-Stable /usr/local/etc/rc.d/wi0-dhcp.sh: #!/bin/sh # /usr/local/etc/rc.d/wi0-dhcp.sh # Configure wireless interface using DHCP case $1 in start) ifconfig wi0 ssid "datawok" authmode "shared" nwkey [replace with 0x and wep key] dhclient wi0 echo ' wi0' ;; stop) kill `cat /var/run/dhclient.pid` ifconfig wi0 remove echo ' wi0 removed' ;; status) ifconfig wi0 ;; *) echo 'usage: /usr/local/etc/wi0-dhcp.sh [start|stop|status]' ;; esac # End of file Thanks, Andrew Gould __________________________________________________ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos & More http://faith.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message