Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Oct 2002 07:30:56 -0700 (PDT)
From:      Andrew Gould <andrewgould@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   siemens wireless pci adapter as dhcp client - success and questions
Message-ID:  <20021007143056.47046.qmail@web13407.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021007143056.47046.qmail>