Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accesspoint for testing roaming with smartphones #10

Open
FreifunkUFO opened this issue May 23, 2013 · 12 comments
Open

Accesspoint for testing roaming with smartphones #10

FreifunkUFO opened this issue May 23, 2013 · 12 comments

Comments

@FreifunkUFO
Copy link
Contributor

some of the usb-wifi-sticks are now in AP-Mode and bridged to bat1 management vlan..
maybe we should do that by default? maybe we make more vAPs and could bridge/route all routingprotokoll-vlan to that?

@FreifunkUFO
Copy link
Contributor Author

the config at the moment is:

uci set wireless.radio2.disabled=0
uci set wireless.radio2.channel=6
uci set wireless.@wifi-iface[-1].ssid=Battlemesh
uci set wireless.@wifi-iface[-1].ssid=Battlemesh
uci commit wireless

uci set [email protected]
uci set [email protected]
uci set [email protected]
uci set [email protected]
uci del network.lan_mgmt
uci set network.lan.type=bridge
uci set network.lan.ifname="eth0 bat1"
uci commit network

uci set dhcp.lan.ignore=1
uci commit dhcp

@FreifunkUFO
Copy link
Contributor Author

and at the moment, with that commands, the bat1 - management interface will NOT get an ip-adress any more (its 192.168.1.1:-o ), so no access from the battlemesh-management-node via ipv4!
quickfix: at least one node without that usb-wifi-configuration at one battlemesh netzwork, so you can access to at least that one..

@FreifunkUFO
Copy link
Contributor Author

new commands with newest firmware are:

uci set wireless.radio2.disabled=0
uci set wireless.radio2.channel=6
uci set wireless.@wifi-iface[-1].ssid=Battlemesh

uci del network.lan_mgmt
uci set network.lan.type=bridge
uci set network.lan.ifname="eth0 bat1"

uci set network.mgmt.ifname="@lan"

uci set dhcp.lan.ignore=1
uci commit

@FreifunkUFO
Copy link
Contributor Author

uci set wireless.wbm3.ifname="usbwlan0"
uci del wireless.wbm3.mcast_rate
uci del wireless.wbm3.macaddr
uci del wireless.wbm3.bssid
uci set wireless.wbm3.network=lan
uci set wireless.wbm3.mode=ap
uci set wireless.wbm3.ssid=Battlemesh
uci set wireless.wbm3.mode=ap
uci set wireless.radio2.disabled=0
uci set wireless.radio2.channel=6
uci del network.lan_mgmt
uci set network.lan.type=bridge
uci set network.lan.ifname="eth0 bat1"
uci set network.mgmt.ifname="@lan"
uci set dhcp.lan.ignore=1
uci commit

@FreifunkUFO
Copy link
Contributor Author

at the moment there is a limit of 7 clients at each usb-wifi :-(

Jun 6 13:03:19 wbm-f9e0 daemon.info hostapd: usbwlan0: STA bc:77:37:95:7d:1f IEEE 802.11: associated (aid 7)
Jun 6 13:03:19 wbm-f9e0 daemon.notice hostapd: usbwlan0: STA bc:77:37:95:7d:1f IEEE 802.11: Could not add STA to kernel driver
Jun 6 13:03:19 wbm-f9e0 daemon.info hostapd: usbwlan0: STA 78:9e:d0:4a:b0:17 IEEE 802.11: authenticated
Jun 6 13:03:19 wbm-f9e0 daemon.info hostapd: usbwlan0: STA 78:9e:d0:4a:b0:17 IEEE 802.11: associated (aid 8)
Jun 6 13:03:22 wbm-f9e0 daemon.info hostapd: usbwlan0: STA bc:77:37:95:7d:1f IEEE 802.11: authenticated
Jun 6 13:03:22 wbm-f9e0 daemon.info hostapd: usbwlan0: STA bc:77:37:95:7d:1f IEEE 802.11: associated (aid 7)
Jun 6 13:03:22 wbm-f9e0 daemon.notice hostapd: usbwlan0: STA bc:77:37:95:7d:1f IEEE 802.11: Could not add STA to kernel driver
Jun 6 13:03:23 wbm-f9e0 daemon.info hostapd: usbwlan0: STA bc:77:37:95:7d:1f IEEE 802.11: authenticated
Jun 6 13:03:23 wbm-f9e0 daemon.info hostapd: usbwlan0: STA bc:77:37:95:7d:1f IEEE 802.11: associated (aid 7)

@FreifunkUFO
Copy link
Contributor Author

iwinfo

@FreifunkUFO
Copy link
Contributor Author

hm, i will try now:

uci set wireless.wbm1.ifname="usbwlan0"
uci del wireless.wbm1.mcast_rate
uci del wireless.wbm1.macaddr
uci del wireless.wbm1.bssid
uci set wireless.wbm1.network=lan
uci set wireless.wbm1.mode=ap
uci set wireless.wbm1.ssid=BattlemeshV6
uci set wireless.wbm1.mode=ap
uci set wireless.radio2.disabled=0
uci set wireless.radio2.channel=11
uci set wireless.radio0.channel=6
uci del network.lan_mgmt
uci set network.lan.type=bridge
uci set network.lan.ifname="eth0 bat1"
uci set network.mgmt.ifname="@lan"
uci set dhcp.lan.ignore=1
uci commit

@FreifunkUFO
Copy link
Contributor Author

uci set wireless.wbm1.ifname="usbwlan0"
uci del wireless.wbm1.mcast_rate
uci del wireless.wbm1.macaddr
uci del wireless.wbm1.bssid
uci set wireless.wbm1.network=lan
uci set wireless.wbm1.mode=ap
uci set wireless.wbm1.ssid=BattlemeshV6
uci set wireless.wbm1.mode=ap
uci set wireless.radio2.disabled=0
uci set wireless.radio2.channel=11
uci set wireless.radio0.channel=6
uci del network.lan_mgmt
uci set network.lan.type=bridge
uci set network.lan.ifname="eth0 bat1"
uci set network.mgmt.ifname="@lan"
uci set dhcp.lan.ignore=1
wireless.wbm3.encryption=psk2
wireless.wbm3.key=Punkrock
uci commit

@FreifunkUFO
Copy link
Contributor Author

uci set wireless.wbm1.ifname="accesspoint"
uci del wireless.wbm1.mcast_rate
uci del wireless.wbm1.macaddr
uci del wireless.wbm1.bssid
uci set wireless.wbm1.network=lan
uci set wireless.wbm1.mode=ap
uci set wireless.wbm1.ssid=BattlemeshV6
uci set wireless.wbm1.mode=ap
uci set wireless.radio2.disabled=0
uci set wireless.radio2.channel=11
uci set wireless.radio0.channel=6
uci del network.lan_mgmt
uci set network.lan.type=bridge
uci set network.lan.ifname="eth0 bat1"
uci set network.mgmt.ifname="@lan"
uci set dhcp.lan.ignore=1
uci set wireless.wbm1.encryption=psk2
uci set wireless.wbm1.key=Punkrock
uci set wireless.radio0.channel=7
uci commit

@FreifunkUFO
Copy link
Contributor Author

uci set wireless.wbm1.ifname="accesspoint"
uci del wireless.wbm1.mcast_rate
uci del wireless.wbm1.macaddr
uci del wireless.wbm1.bssid
uci set wireless.wbm1.network=lan
uci set wireless.wbm1.mode=ap
uci set wireless.wbm1.ssid=Battlemesh
uci set wireless.wbm1.mode=ap
uci set wireless.radio2.disabled=0
uci set wireless.radio2.channel=11
uci set wireless.radio0.channel=6
uci del network.lan_mgmt
uci set network.lan.type=bridge
uci set network.lan.ifname="eth0 bat1"
uci set network.mgmt.ifname="@lan"
uci set dhcp.lan.ignore=1
uci set wireless.radio0.channel=7
uci commit

@FreifunkUFO
Copy link
Contributor Author

for tplink 3040:

uci add wireless wifi-iface
uci set wireless.@wifi-iface[1].ifname="accesspoint"
uci set wireless.@wifi-iface[1].network=lan
uci set wireless.@wifi-iface[1].mode=ap
uci set wireless.@wifi-iface[1].ssid=Battlemesh
uci set wireless.@wifi-iface[1].device=radio0
uci del network.lan_mgmt
uci set network.lan.type=bridge
uci set network.lan.ifname="eth0 bat1"
uci set network.mgmt.ifname="@lan"
uci set dhcp.lan.ignore=1
uci commit

@FreifunkUFO
Copy link
Contributor Author

oh, we also need a
/etc/init.d/firewall disable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant