Setting up wireless LAN
I would like to construct a wireless LAN and attach to my local network.
However, I encounter some problems on doing this.
I have a notebook with a PCMCIA wireless LAN card (Intel PRO/Wireless 2011 PC LAN card) and an access point(Intel PRO/Wireless access point, I don't remember the exact model). I follow closely with the documentation PCMCIA-Howto. I use pcmcia-cs-3.0.9 which comes with Red Hat Linux 7.2. I add the following lines (copied from pcmcia-cs-3.1.34, because the installation of pcmica-cs-3.1.34 makes linux out of order -_-) in etc/pcmcia/config:
==================================
card "Intel PRO/Wireless 2011"
manfid 0x0089, 0x0001
bind "orinoco_cs"
==================================
I think the configuration of PCMCIA is successful (because of some symptoms: giving two high beeps at insertion, cardctl giving reasonable output, dmesg shows that eth0 starts and is ready at insertion). Then, I modify /etc/pcmcia/network.conf like this:
==================================
case "$ADDRESS" in
*,*,*,*)
BOOTP="n"
IPADDR="192.168.254.80"
NETMASK="255.255.255.0"
NETWORK="192.168.254.0"
BROADCAST="192.168.254.255"
GATEWAY="192.168.254.81" <- the IP addr of access point
;;
esac
==================================
However, this does not take effect when I either insert my card or use "/etc/rc.d/init.d/pcmcia restart". There is no IP address shown using "ifconfig -a" (but eth0 and its MAC address exist). It can only get a static IP addr when I use "ifconfig eth0 192.168.254.80".
Then, I modify wireless.opts as follows:
==================================
case "$ADDRESS" in
*,*,*,*)
ESSID="MY_ESSID"
NWID="101" <- network ID of access point
MODE="Managed"
;;
esac
==================================
However, it doesn't work. Using "iwconfig" gives MAC address 00-00-00-00-00-00 and ESSID="" etc. Trying "./wireless" (with some parameters) does not give changes.
I would like to know:
(1) How can I make "ifconfig" get an IP addr when I just insert the card?
(2) How can I configure the access point, wireless.opts and my card in order to make my notebook be able to access my access point and other computers in LAN?
(3) Is there any excellent reference for setting up wireless LAN other than "http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/" ?
|