wg311t and Linux

I recently installed the WG311T netgear wifi card on my firewall, i used the Madwifi (wlan, ath_hal, ath_pci) module with the card, the Madwifi module compiled properly and with no errors and produced a ath0 interface.

I then installed the wireless-tools to get the iwconfig iwspy and iwlist commands, i configured the ath0 with ip 10.1.1.2

trouble:/# ifconfig ath0 ath0 Link encap:Ethernet HWaddr 00:0F:B5:22:83:24 inet addr:10.1.1.2 Bcast:10.255.255.255 Mask:255.0.0.0 UP BROADCAST MULTICAST MTU:1500 Metric:1

further configured ath0 using iwconfig command (iwconfig ath0 essid "firewall" channel 11 mode Master key off) with the following output:

trouble:/# /usr/local/sbin/iwconfig ath0 ath0 IEEE 802.11b ESSID:"firewall" Mode:Master Frequency:2.462GHz Access Point:

00:GF:BA:12:43:14 Bit Rate:0kb/s Tx-Power:50 dBm Sensitivity=0/3 Retry:off RTS thr:off Fragment thr:off Encryption key:off Power Management:off Link Quality:31/94 Signal level:-64 dBm Noise level:-95 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0

the firewall has another 2 ethernet cards eth0 points outside with

192.168.0.11 and eth1 inside with 10.1.1.1, so in addition i wish to add ath0 pointing inside and redirecting traffic to the outside just like 10.1.1.1 does.

the route command outputs: star:/home/ir0n # route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface

192.168.0.0 * 255.255.255.0 U 0 0 0 eth0 10.0.0.0 * 255.0.0.0 U 0 0 0 eth1 10.0.0.0 * 255.0.0.0 U 0 0 0 ath0 default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0 star:/home/ir0n #

where 192.168.0.1 is the main router that all the traffic goes through and not the fw itself. Now when i ping from the ath0 interface to another wireless host on that network 10.1.1.50 i get the following:

star:/ # ping -I ath0 10.1.1.50 PING 10.1.1.50 (10.1.1.50) from 10.1.1.2 : 56(84) bytes of data. From 10.1.1.2: icmp_seq=1 Destination Host Unreachable From 10.1.1.2 icmp_seq=1 Destination Host Unreachable From 10.1.1.2 icmp_seq=2 Destination Host Unreachable From 10.1.1.2 icmp_seq=3 Destination Host Unreachable

--- 10.1.1.50 ping statistics ---

4 packets transmitted, 0 received, +4 errors, 100% loss, time 3025ms , pipe 3 star:/ #

i cannot detect where the flaw is, i ran kimset on ath0 and it detects other networks so im not sure if its a configuration error or the module is incorrect, all other wired hosts on the 10.1.1.0/8 network can connect to the internet fine throught eth0 so its not a route problem i suspect, since eth0 is setup with the same route as ath0 (output of route shows above) so they should take the same path back.

if anybody can suggest a sulotion or somthing im missing it will be much appreciated.

thanks,

Reply to
balzano_1
Loading thread data ...

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.