I have a Fonera with a kamikaze-image.
I want a wlan setup of the essid "testwifi2" that distributes ip-adresses. (and eth0 of a fixed IP)
I have the wlan-setup working, the router has a ip-address (192.171.1.1). I can connect to the wifi (iwconfig), I have a good link (60-80/100) and I set my laptop's IP to 192.171.1.2.
I cannot ping the router. No network traffic seems to get through.
I think I misconfigured something hugely. This is my config:
Thanks for your time and help.
=== /etc/networks ===
default 0.0.0.0
loopnet 127.0.0.0
wlan 192.171.0.0
lan 192.170.0.0
=== /etc/config/dhcp ===
config dhcp
option interface wlan
option start 100
option limit 150
option leasetime 12h
config dhcp
option interface wifi0
option start 100
option limit 150
option leasetime 12h
config dhcp
option interface lan
option start 100
option limit 150
option leasetime 12h
config dhcp
option interface wan
option ignore 1
=== /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 eth0
# option type bridge
option proto static
option ipaddr 192.170.1.1
option netmask 255.255.255.0
#config interface lan1
# option ifname eth0:1
# option proto dhcp
config interface wlan
option ifname wifi0
# option type atheros
option proto static
option ipaddr 192.171.1.1
option netmask 255.255.255.0
=== /etc/config/wireless ===
config wifi-device wifi0
option type atheros
option channel 5
#option disabled '0'
# REMOVE THIS LINE TO ENABLE WIFI:
#option disabled 1
config wifi-iface
option device wifi0
option network wlan
option mode ap
option ssid testwifi2
option encryption none
=== /etc/dnsmasq.conf ===
# filter what we send upstream
domain-needed
bogus-priv
filterwin2k
localise-queries
# allow /etc/hosts and dhcp lookups via *.lan
local=/wlan/
domain=wlan
expand-hosts
no-negcache
resolv-file=/tmp/resolv.conf.auto
dhcp-authoritative
dhcp-leasefile=/tmp/dhcp.leases
# use /etc/ethers for static hosts; same format as --dhcp-host
# <hwaddr> <ipaddr>
read-ethers
# other useful options:
# default route(s): dhcp-option=3,192.168.1.1,192.168.1.2
# dns server(s): dhcp-option=6,192.168.1.1,192.168.1.2
=== /etc/ethers ===