You are not logged in.

#1 2014-09-27 13:19:53

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

linux 3.15 and onwards: hostapd fails to forwad traffic

ive been doing a bit of reading but i fail to see what changes happened that might affect hostapd's ability to route traffic to its clients.

hostapd starts ok.
clients assosiate to the AP correctly. i can ping the the hostapd's ip. but noone else on the network.

hostapd is bridged.

on linux 3.14 it works ok.

hostapd's config

interface=wlan0
bridge=br0
driver=nl80211
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
ssid=thetomsons
hw_mode=g
channel=1
beacon_int=100
dtim_period=2
max_num_sta=255
rts_threshold=2347
fragm_threshold=2346
macaddr_acl=0
auth_algs=3
ignore_broadcast_ssid=0
wmm_enabled=1
wmm_ac_bk_cwmin=4
wmm_ac_bk_cwmax=10
wmm_ac_bk_aifs=7
wmm_ac_bk_txop_limit=0
wmm_ac_bk_acm=0
wmm_ac_be_aifs=3
wmm_ac_be_cwmin=4
wmm_ac_be_cwmax=10
wmm_ac_be_txop_limit=0
wmm_ac_be_acm=0
wmm_ac_vi_aifs=2
wmm_ac_vi_cwmin=3
wmm_ac_vi_cwmax=4
wmm_ac_vi_txop_limit=94
wmm_ac_vi_acm=0
wmm_ac_vo_aifs=2
wmm_ac_vo_cwmin=2
wmm_ac_vo_cwmax=3
wmm_ac_vo_txop_limit=47
wmm_ac_vo_acm=0
eapol_key_index_workaround=0
eap_server=0
own_ip_addr=127.0.0.1
wpa=1
wpa_psk_file=/etc/hostapd/hostapd.wpa_psk
wpa_key_mgmt=WPA-PSK

thanks!


EDIT: netctl bridge config. of course, wlan0 is not added, because hostapd adds it later on. (i have two ethernet interfaces + wireless iface).

Interface="br0"
Connection="bridge"
Description="Example Bridge connection"
BindsToInterfaces=(eth0 eth1)
IP="static"
Address=("192.168.11.10/24")
Gateway='192.168.11.1'
DNS=('192.168.11.1')

Last edited by eldragon (2014-09-27 14:06:24)

Offline

#2 2014-09-28 06:11:35

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,536

Re: linux 3.15 and onwards: hostapd fails to forwad traffic

Maybe this would be of your interest.


do it good first, it will be faster than do it twice the saint wink

Offline

#3 2014-09-28 13:47:51

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: linux 3.15 and onwards: hostapd fails to forwad traffic

TheSaint wrote:

Maybe this would be of your interest.

no. its not. they are apparently not having my problem.

i dont want to use a script for what actually works with its systemd service.

thanks for your help.

Offline

Board footer

Powered by FluxBB