You are not logged in.

#1 2013-04-30 15:59:52

benedikt
Member
Registered: 2013-04-30
Posts: 2

[SOLVED] eth0-wlan0 AP using bridge AND keep internet access

Hi there!

This is my very first post here, so please forgive me if I (unintentionally) violate some rule.

I have set up my system as an eth0-wlan0 access point with hostapd using a bridge.
The IP addresses are provided by a separate dhcp-server (router resp. cablemodem).

My problem is: when I work on the AP I would like to have a working connection to the
Internet/Router. But to get there I have to execute

systemctl restart dhcpcd.service

The AP via the eth0-wlan0 bridge keeps working and I now have a working Internet connection.

AFAIK the dhcpcd service acts (invoked by netcfg) on the bridge-profile to assign an IP
to eth0. After that the bridge is set up and (now hostapd.service is up) the wlan0 is
added to the bridge in AP mode.

It would be great if someone could point out the problem for me.

Thx, Benedikt

Last edited by benedikt (2013-04-30 19:16:43)

Offline

#2 2013-04-30 19:15:58

benedikt
Member
Registered: 2013-04-30
Posts: 2

Re: [SOLVED] eth0-wlan0 AP using bridge AND keep internet access

After switching from netcfg to netctl everything worked "out-of-the-box". The bridge gets to be the new standard network interface and all traffic on the machine gets directed through it. YAY smile

Offline

Board footer

Powered by FluxBB