# # # LinkSys WMP54G # ============== # # # 13-May-04 amo Install the Broadcom Drivers for LinkSys WMP54G # # cd /usr/local/src # tar jxpvf bcom_linux_install1.tar.bz2 # cd broadcom # # # ========================== # == Read emachine_setup.txt # ========================== # # cd ../broadcom/ndiswrapper # -- # -- seems to be the ndiswrapper-0.4 while sourceForge.net has ndiswrapper-0.7 # -- # # # To Reinstall # ------------ # Make sure wlan is NOT currently Defined in /etc/modules.conf # # ./install.sh # # == you can also get the drivers ( bcmwl5.inf and bcml5.sys ) # == from the cdrom that came w/ the pci card # # Give the full path to .inf file of windows driver? /usr/local/src/broadcom/bcmwl5.inf # Give the full path to .sys file of the windows driver? /usr/local/src/broadcom/bcmwl5.sys # # -- it compiles - the old ndiswrapper -- seems to be ndiswrapper-0.4 # # Which directory should the loadndisdriver be installed in? (/usr/sbin) /usr/local/sbin # What interface name should ndiswrapper configure? (wlan0) # Where should module directives be placed? (/etc/modules.conf) # # # See /etc/modules.conf # # # Update ( cosmetic cleanup of ) the modules.conf file # depmod -a # # # # Install the driver # ---------------------- modprobe ndiswrapper # ndiswrapper version 0.4 loaded # # # Check that the wlan interface was created # ----------------------------------------- dmesg # PCI: Found IRQ 10 for device 00:08.0 # PCI: Sharing IRQ 10 with 00:10.1 # wlan0: ndiswrapper ethernet device 00:0c:41:5f:f9:cf # # # Assign a Wireless IP# and Gateway # ================================= # ifconfig wlan0 192.168.1.11 broadcast 192.168.1.255 netmask 255.255.255.0 up # # ifconfig -v # # wlan0 Link encap:Ethernet HWaddr 00:0C:41:5F:F9:CF # inet addr:192.168.1.11 Bcast:192.168.1.255 Mask:255.255.255.0 # UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 # RX packets:0 errors:0 dropped:0 overruns:0 frame:0 # TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 # collisions:0 txqueuelen:1000 # RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) # Interrupt:10 Memory:ee000000-ee001fff # # # # Check the Wireless Default Options # ---------------------------------- iwconfig # # wlan0 IEEE 802.11g ESSID:"" # Mode:Managed Frequency:2.412GHz Access Point: FF:FF:FF:FF:FF:FF # Bit Rate=54Mb/s Tx-Power:25 dBm # RTS thr=2347 B Fragment thr=2346 B # Encryption key:off # Power Management:off # Link Quality:100/100 Signal level:-10 dBm Noise level:-256 dBm # Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 # Tx excessive retries:0 Invalid misc:2294 Missed beacon:0 # # # # Add the Proper Routes to get to the wiress clients # --------------------------------------------------- # route add -host 192.168.1.11 gw 192.168.1.11 # route add -host 192.168.1.12 gw 192.168.1.11 # route add 192.168.1.0 gw 192.168.1.11 # # # Check the routing table # ------------------------ route -nv # Kernel IP routing table # Destination Gateway Genmask Flags Metric Ref Use Iface # 192.168.1.11 192.168.1.11 255.255.255.255 UGH 0 0 0 wlan0 # 192.168.1.12 192.168.1.11 255.255.255.255 UGH 0 0 0 wlan0 # 1.2.3.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 # 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0 # 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo # 0.0.0.0 1.2.3.1 0.0.0.0 UG 1 0 0 eth0 # # # Turn on packet forwarding # ------------------------- echo 1 > /proc/sys/net/ipv4/ip_forward # # # Now Try some ping tests # ----------------------- ping 192.168.1.11 -- pinging yourself should always work ping 192.168.1.12 -- ping the wireless client # # # =========================================================================== # # Install Latest ndiswrapper-0.7 or later from SourceForge.net, than continue # # =========================================================================== # # # For Testing nddiswrapper # ------------------------ # broadcom/ndisrapper/INSTALL - from broadcom package # ndiswrapper.txt - from Linux-Sec.net/Wireless/Drivers # # # End of file