All pastes #548357 Raw Edit

ath0 not ping google

public text v1 · immutable
·published 2007-06-07 18:22 UTC
rendered paste body
ping -I 192.168.1.41 google.it
PING google.it (72.14.221.104) from 192.168.1.41: 56 data bytes
64 bytes from 72.14.221.104: icmp_seq=0 ttl=240 time=163.9 ms

ping -I 192.168.0.41 google.it
PING google.it (66.249.93.104) from 192.168.0.41: 56 data bytes

--- google.it ping statistics ---


# Copyright (C) 2006 OpenWrt.org                                                                                                                                                  
                                                                                                                                                                                  
config interface loopback                                                                                                                                                         
        option ifname   lo                                                                                                                                                        
        option proto    static                                                                                                                                                    
        option ipaddr   127.0.0.1                                                                                                                                                 
        option netmask  255.0.0.0                                                                                                                                                 
                                                                                                                                                                                  
config interface lan                                                                                                                                                              
        option ifname   eth0                                                                                                                                                      
        option proto    static                                                                                                                                                    
        option ipaddr   192.168.1.41                                                                                                                                              
        option netmask  255.255.255.0                                                                                                                                             
        option gateway  192.168.1.1                                                                                                                                               
        option dns      85.37.17.50 85.38.28.76                                                                                                                                   
        option type     'bridge'                                                                                                                                                  
                                                                                                                                                                                  
config interface waifai                                                                                                                                                           
       option ifname   ath0                                                                                                                                                       
       option proto    static                                                                                                                                                     
       option ipaddr   192.168.0.41                                                                                                                                               
       option netmask  255.255.255.0                                                                                                                                              
       option gateway  192.168.1.1                                                                                                                                                
       option dns      85.37.17.50                                                                                                                                                
       option type     'bridge'                       

config wifi-device  wifi0
        option type     atheros
        option channel  '6'
#       option diversity 1
#       option txantenna 0
#       option rxantenna 0
#       option distance  2000
# disable radio to prevent an open ap after reflashing:
        option disabled '0'
        option mode     ''
        option maxassoc ''
        option distance ''
        option diversity        '0'
        option txantenna        '2'
        option rxantenna        '2'

config wifi-iface
        option device   wifi0
        option network  'waifai'
        option mode     'ap'
        option ssid     'OpenWrt AP'
        option hidden   '0'
        option encryption 'none'
        option bssid    '00:18:84:2A:57:15'
        option server   ''
        option port     ''
        option isolate  '0'
        option txpower  '18'
        option bgscan   '1'
        option key1     ''
        option key2     ''
        option key3     ''
        option key4     ''