[Avila] Problem with AP bridging on avila board

Jin Lu jinlu8591 at yahoo.com
Sat May 12 15:40:15 EDT 2007


--0-952945213-1178998815=:96219
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

I got my avila board recently (GW2348-4, runnning whatever preloaded firmware) ,  and in configuring it as an AP, I had some problem perhaps related to bridging, and your help is greatly appreciated.  Here are the steps of configuration:
   
  * connect the eth0 of the board to a PC (gateway) with addr 192.168.1.254
  * turn on the power
  * run the following "start_ap" script (similar to one in the /usr/bin):
  
modprobe ath_pci
modprobe wlan_scan_ap
iwpriv ath0 mode 3
wlanconfig ath0 destroy 
ifconfig eth0 0.0.0.0 down 
brctl addbr br0 
brctl addif br0 eth0 
wlanconfig ath0 create wlandev wifi0 wlanmode ap 
brctl addif br0 ath0 
ifconfig eth0 up
iwconfig ath0 mode master
iwconfig ath0 channel 2
iwconfig ath0 essid abcdef
  ifconfig ath0 up
sleep 5
ifconfig br0 192.168.1.50 up
   
  *  I have another PC with a wifi card,  and I can have the PC connected to the Avila board as a sta,  and I can ping the board (192.168.1.50),  but I can not "pass the board" by pinging the gateway (192.168.1.254) which is connected to the board via etho.   The board itself can ping the gateway.  
   
  I run the same scenario in other types of systems (a Fedora based madwifi AP, for example), and was able to get it to work.  Please
  shed some light or direction to the problem;  maybe it's some configuration specific to snapgear , etc.   Thanks in advance.
   
  Regards.
   
  Jin 
   
   

       
---------------------------------
Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
--0-952945213-1178998815=:96219--





More information about the Avila mailing list