OpenWrt Forum Archive

Topic: Kamikaze7.09 with atheros2316 chipset, wireless question (online wait)

The content of this topic has been archived on 15 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi everyone, my english is very poor.


I have two atheros2316 chipset, and it's burn kamikaze7.09 from official website(http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/), and kernel is openwrt-atheros-2.6-vmlinux.lzma, rootfs is openwrt-atheros-2.6-root.jffs2-64k. And they run a good time to load the module does not prompt an error.

My question is below:
this is my network topology

AP------(Through a wireless connection)--------client(sta)---------(Through a LAN connection)----------PC(windows)
AP:       ip:192.168.100.240
Client:   ip:192.168.100.241
PC:       ip:192.168.100.242

And i telnet AP and client.
In AP cmd line i can ping client(ps: ping 192.168.100.241 ok), but i can't ping PC (ps: ping 192.168.100.242 ) Why ???
In Client cmd line i can ping AP, and PC.
In PC cmd line i can ping Client, but i can't ping AP, Why??


Bestregards

what is your network setting  (i mean ... routing ,bridging ,firewall . ....)
i think you have to setup a bridge or routing between wan (in this case wlan iface) and lan (connected to windows pc) and edit firewall setting
by default is openwrt in mode

wan >> [routing] >> (lan{switch} and wlan bridged together)

(Last edited by calltrace on 18 Jan 2010, 02:57)

HI calltrace this is my config
AP:
ath0      Link encap:Ethernet  HWaddr 00:03:7F:09:45:82 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:196 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4197633 errors:0 dropped:104 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:14836 (14.4 KiB)  TX bytes:274745447 (262.0 MiB)

br-lan    Link encap:Ethernet  HWaddr 00:03:7F:09:45:82 
          inet addr:192.168.100.240  Bcast:192.168.100.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4198662 errors:0 dropped:0 overruns:0 frame:0
          TX packets:267 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:216036553 (206.0 MiB)  TX bytes:19770 (19.3 KiB)

eth0      Link encap:Ethernet  HWaddr 00:03:7F:09:45:AA 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4045558 errors:0 dropped:0 overruns:0 frame:0
          TX packets:154091 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:271822475 (259.2 MiB)  TX bytes:3107194 (2.9 MiB)
          Interrupt:4 Base address:0x1000

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  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:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wifi0     Link encap:Ethernet  HWaddr 00:03:7F:09:45:82 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1113716 errors:0 dropped:0 overruns:0 frame:99777
          TX packets:4692826 errors:169617 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:199
          RX bytes:206272856 (196.7 MiB)  TX bytes:425518996 (405.8 MiB)
          Interrupt:3 Memory:b0000000-b00ffffc

root@OpenWrt:/# brctl show
bridge name     bridge id               STP enabled     interfaces
br-lan          8000.00037f094582       no              eth0
                                                        ath0
root@OpenWrt:/# iwconfig
eth0      no wireless extensions.

lo        no wireless extensions.

wifi0     no wireless extensions.

br-lan    no wireless extensions.

ath0      IEEE 802.11g  ESSID:"h240t"  Nickname:""
          Mode:Master  Frequency:2.417 GHz  Access Point: 00:03:7F:09:45:82   
          Bit Rate:0 kb/s   Tx-Power:20 dBm   Sensitivity=1/1 
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:6869-7472-6F   Security mode:restricted
          Power Management:off
          Link Quality=56/70  Signal level=-37 dBm  Noise level=-93 dBm
          Rx invalid nwid:1359  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

------------------------

Client(sta):
root@OpenWrt:/# ifconfig
ath0      Link encap:Ethernet  HWaddr 00:03:7F:09:45:B0 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:4002037 errors:0 dropped:0 overruns:0 frame:0
          TX packets:263024 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:268392041 (255.9 MiB)  TX bytes:33960912 (32.3 MiB)

br-lan    Link encap:Ethernet  HWaddr 00:03:7F:09:45:B0 
          inet addr:192.168.100.241  Bcast:192.168.100.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4270243 errors:0 dropped:0 overruns:0 frame:0
          TX packets:392 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:225973085 (215.5 MiB)  TX bytes:30225 (29.5 KiB)

eth0      Link encap:Ethernet  HWaddr 00:03:7F:09:45:B1 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:766254 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3951509 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:84244534 (80.3 MiB)  TX bytes:264267388 (252.0 MiB)
          Interrupt:4 Base address:0x1000

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  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:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wifi0     Link encap:Ethernet  HWaddr 00:03:7F:09:45:B0 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:7460673 errors:0 dropped:1124056 overruns:0 frame:43675
          TX packets:506946 errors:170005 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:199
          RX bytes:501729452 (478.4 MiB)  TX bytes:58838965 (56.1 MiB)
          Interrupt:3 Memory:b0000000-b00ffffc

root@OpenWrt:/# brctl show
bridge name     bridge id               STP enabled     interfaces
br-lan          8000.00037f0945b0       no              eth0
                                                        ath0
root@OpenWrt:/# iwconfig
eth0      no wireless extensions.

lo        no wireless extensions.

br-lan    no wireless extensions.

wifi0     no wireless extensions.

ath0      IEEE 802.11g  ESSID:"h240t"  Nickname:""
          Mode:Managed  Frequency:2.417 GHz  Access Point: Not-Associated   
          Bit Rate:36 Mb/s   Tx-Power:20 dBm   Sensitivity=1/1 
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:6869-7472-6F   Security mode:restricted
          Power Management:off
          Link Quality=46/70  Signal level=-48 dBm  Noise level=-94 dBm
          Rx invalid nwid:20067  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

and my firewall is closed. Can you give me some more detailed information.

Have other views??
thanks ...

From looking at your schema above it looks to me like you're trying to set up a bridged client connection. This is not possible with OpenWrt and Atheros, either use a routed setup or switch to Gargoyle / DD-Wrt for that - they have support for that kind of operation mode.

~ JoW

Hi jow thanks a lot.
This is a chip problem or driver problem? atheros 2313a to solve this problem??You mean i was use DD-wrt driver? Give you the trouble......
Bestregards

The discussion might have continued from here.