OpenWrt Forum Archive

Topic: On Fonera 2100 both acces with ethernet and wireless

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

Hi,
I try to acces to my Fonera 2100 fashed with 8.09 release at the same time by using ethernet and wireless interfaces.
I have no problem to acces separately. It works fine.
But when the two interfaces are activated, it seems that ath0 is using eth0 route? Very strange.

The configuration files follow:
root@O-box:/# cat /etc/config/network                                           
-------------------------------------------------------------------------------------------------                                                                               
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 'proto' 'static'                                                 
        option 'netmask' '255.255.255.0'                                       
        option 'gateway' '192.168.1.1'                                         
        option 'defaultroute' '0'                                               
        option 'peerdns' '0'                                                   
        option 'dns' '192.168.1.1'                                             
        option 'ipaddr' '192.168.1.253'                                         
        option 'ifname' 'eth0'                                                 
                                                                               
config 'interface' 'wan'                                                       
        option 'proto' 'dhcp'                                                   
        option 'defaultroute' '0'                                               
        option 'peerdns' '0'                                                   
        option 'dns' '192.168.1.1'                                             
        option 'ifname' 'ath0'
-------------------------------------------------------------------------------------------------
root@O-box:/# cat /etc/config/wireless                                         
                                                                               
config 'wifi-device' 'wifi0'                                                   
        option 'type' 'atheros'                                                 
        option 'channel' '6'                                                   
        option 'diversity' '0'                                                 
        option 'txantenna' '1'                                                 
        option 'rxantenna' '1'                                                 
        option 'disabled' '0'                                                   
        option 'txpower' '16'                                                   
                                                                               
config 'wifi-iface'                                                             
        option 'device' 'wifi0'                                                 
        option 'mode' 'sta'                                                     
        option 'ssid' 'xxxxxxxxx'                                           
        option 'nosbeacon' '1'                                                 
        option 'txpower' '16'                                                   
        option 'encryption' 'wep'                                               
        option 'key' 'xxxxxxxxxxxxxxxxxx'                               
        option 'network' 'wan' 
-------------------------------------------------------------------------------------------------

Is somebody had the same problem ?
Do you have any idea to fix it ?

Thanks in advance

This will NOT work.

As soon as you are using the single LAN port on the fon2100 e.g. for WAN or PPPoE you can only connect via wireless to the router.

(Last edited by Dogge on 24 Jun 2009, 12:22)

Hi Dogge,
Thank you for your answer. I guess that point.
On the other hand, do you think it's possible with double Lan port, like Fonera+
Thanks in advance.

The discussion might have continued from here.