With the configuration below I try to configure WiFi (AP) and PPPoE on the Fonera with Kamikaze 7.07.
PPPoE works fine but I can't connect wirelessly. If you know how to fix this please answer.
The client is Ubuntu Feisty Fawn 7.04. If the Fonera is configured as a normal AP with 7.07 (bridged) then WiFi works fine.
/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" "wifi"
option ifname 'ath0'
option proto 'static'
option ipaddr '192.168.178.1'
option netmask '255.255.255.0'
config "interface" "wan"
option ifname 'eth0'
option proto 'pppoe'
option username '<pppoe_username>'
option password '<pppoe_password>'
/etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 5
option disabled '0'
# REMOVE THIS LINE TO ENABLE WIFI:
config wifi-iface
option device wifi0
option network wifi
option mode ap
option ssid OpenWrt
option encryption 'psk2'
option key '<password>'
ipkg list_installed
base-files-atheros-2.6 - 9-8474 -
bridge - 1.0.6-1 -
busybox - 1.4.2-2 -
dnsmasq - 2.38-1 -
dropbear - 0.49-2 -
hostapd - 0.5.7-1 -
hotplug2 - 0.9+r102-1 -
iptables - 1.3.7-1 -
iptables-mod-conntrack - 1.3.7-1 -
iptables-mod-filter - 1.3.7-1 -
iptables-mod-imq - 1.3.7-1 -
iptables-mod-ipopt - 1.3.7-1 -
kernel - 2.6.21.5-atheros-1 -
kmod-ipt-conntrack - 2.6.21.5-atheros-1 -
kmod-ipt-filter - 2.6.21.5-atheros-1 -
kmod-ipt-imq - 2.6.21.5-atheros-1 -
kmod-ipt-ipopt - 2.6.21.5-atheros-1 -
kmod-madwifi - 2.6.21.5+r2568-20070710-atheros-1 -
kmod-ppp - 2.6.21.5-atheros-1 -
kmod-pppoe - 2.6.21.5-atheros-1 -
kmod-sched - 2.6.21.5-atheros-1 -
libgcc - 4.1.2-9 -
libncurses - 5.6-1 -
libopenssl - 0.9.8e-1 -
mtd - 5 -
nano - 2.0.6-1 -
ntpclient - 2003_194-4 -
ppp - 2.4.3-7 -
ppp-mod-pppoe - 2.4.3-7 -
qos-scripts - 1.2.0-1 -
tc - 2.6.20-070313-1 -
uclibc - 0.9.28-9 -
udevtrigger - 106-1 -
wireless-tools - 29-1 -
zlib - 1.2.3-3 -
Done.
ps ax
PID Uid VmSize Stat Command
1 root 396 S init
2 root SWN [ksoftirqd/0]
3 root SW< [events/0]
4 root SW< [khelper]
5 root SW< [kthread]
17 root SW< [kblockd/0]
28 root SW [pdflush]
29 root SW [pdflush]
30 root SW< [kswapd0]
31 root SW< [aio/0]
41 root SW [mtdblockd]
174 root SWN [jffs2_gcd_mtd3]
188 root 404 S logger -s -p 6 -t
190 root 576 S /bin/ash --login
197 root 368 S syslogd -C16
200 root 300 S klogd
208 root 268 S /sbin/hotplug2 --override --persistent --max-children
644 root 724 S hostapd -B /var/run/hostapd-ath0.conf
729 root 332 S /usr/sbin/dropbear -p 22
816 nobody 368 S dnsmasq -I ppp0
1155 root 380 R ps ax
logread
Aug 24 15:15:31 OpenWrt daemon.info pppd[1019]: Sent 290 bytes, received 230 bytes.
Aug 24 15:15:31 OpenWrt daemon.warn pppd[1019]: Couldn't increase MTU to 1500
Aug 24 15:15:31 OpenWrt daemon.warn pppd[1019]: Couldn't increase MRU to 1500
Aug 24 15:15:32 OpenWrt daemon.notice pppd[1019]: Connection terminated.
Aug 24 15:15:32 OpenWrt daemon.info pppd[1019]: Exit.
Aug 24 15:21:15 OpenWrt daemon.info hostapd: ath0: STA 00:19:d2:bb:6d:46 IEEE 802.11: deauthenticated due to local deauth requ
est
Aug 24 15:21:15 OpenWrt daemon.info hostapd: ath0: STA 00:19:d2:bb:6d:46 IEEE 802.11: disassociated
Aug 24 15:27:07 OpenWrt syslog.info -- MARK --
Aug 24 15:33:20 OpenWrt user.crit syslog: failed to create listening socket: Address already in use
Aug 24 15:33:20 OpenWrt user.crit syslog: FAILED to start up
Aug 24 15:39:35 OpenWrt daemon.info hostapd: ath0: STA 00:19:d2:bb:6d:46 IEEE 802.11: associated
Aug 24 15:39:35 OpenWrt daemon.info hostapd: ath0: STA 00:19:d2:bb:6d:46 IEEE 802.11: associated
Aug 24 15:39:35 OpenWrt daemon.info hostapd: ath0: STA 00:19:d2:bb:6d:46 WPA: received EAPOL-Key 2/4 Pairwise with unexpected
replay counter
Aug 24 15:39:35 OpenWrt daemon.info hostapd: ath0: STA 00:19:d2:bb:6d:46 WPA: pairwise key handshake completed (RSN)
Aug 24 15:40:30 OpenWrt daemon.info hostapd: ath0: STA 00:19:d2:bb:6d:46 IEEE 802.11: associated
Aug 24 15:40:30 OpenWrt daemon.info hostapd: ath0: STA 00:19:d2:bb:6d:46 IEEE 802.11: associated
Aug 24 15:40:30 OpenWrt daemon.info hostapd: ath0: STA 00:19:d2:bb:6d:46 WPA: received EAPOL-Key 2/4 Pairwise with unexpected
replay counter
Aug 24 15:40:30 OpenWrt daemon.info hostapd: ath0: STA 00:19:d2:bb:6d:46 WPA: pairwise key handshake completed (RSN)
(Last edited by forum2006 on 24 Aug 2007, 14:42)