OpenWrt Forum Archive

Topic: WAN connection issues

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

I'm running openwrt kamikaze on my fonera and I'm having some problems getting access to the internet.

Here's what my config files look like:

/etc/config/network

# 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   ath0
        option proto    static
        option ipaddr   192.168.1.1
        option netmask  255.255.255.0
        #option gateway ''
        #option dns     ''

config interface wan
        option ifname   eth0
        option proto    dhcp
        option hostname bellsouth

/etc/config/wireless

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

config wifi-iface
        option device    wifi0
#      option network    'lan'
        option mode    'ap'
        option ssid    'FON-Party'
        option hidden    '0'
#      option bgscan    enable
        option encryption    'wep'
        option txpower    '18'
        option key    'e3415cfbd34f10521bdb313825'

I'm not doing any bridging between interfaces. Since the fon has only one ethernet port, it should work with the lan interface using ath0 right?

I can connect to the network just fine, the issue is I can't get an internet connection through the fonera. Is there some firewall rule I need to make?

(Last edited by paperkut on 31 Mar 2007, 19:24)

Nevermind, I got it to work. It turns out my modem was doing NAT as well, and the ip subnets were clashing.

The discussion might have continued from here.