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 [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to