[ltp] Cisco Wireless again

Heiko Rosemann linux-thinkpad@linux-thinkpad.org
Thu, 6 Nov 2003 22:21:40 +0100 (CET)


On Thu, 6 Nov 2003, Joel Ebel wrote:
[Problems with Cisco Wireless card]

FYI, my sequence on bootup is:

# Load the driver
modprobe airo_mpi
# Select channel
iwconfig eth1 channel 7
# Set ESSID
iwconfig eth1 essid any
# Wait for card to recognize network
sleep 1
# Register with access point and get IP, if AP available
if iwconfig eth1 | grep xx:xx:xx:xx:xx:xx > /dev/null;
then iwconfig eth1 ap xx:xx:xx:xx:xx:xx
     dhcpcd eth1
fi

(xx:xx:xx:xx:xx:xx is my access point's MAC)

Please note that
a) This causes hotplug (or something else) to complain about a module load
   failure because the module is already loaded
b) You might need full paths - I just was too lazy to type them in
c) If you skip the iwconfig eth1 ap xx:xx:xx:xx:xx:xx line, you won't get an
   answer from your DHCP server
d) This is a simple network, no security at all. If you need encryption,
   there's surely gonna be more to do

HTH, Heiko