o11s / open80211s

open80211s
Other
242 stars 55 forks source link

mesh Access point #53

Closed vipinneemamnit closed 7 years ago

vipinneemamnit commented 7 years ago

Hi I want to create Mesh Access point .. connectivity between my mobile and mesh network. Connectivity between 802.11 and 802.11s pls help me

chunyeow commented 7 years ago

This Wiki page may help you. https://github.com/o11s/open80211s/wiki/HOWTO

On Sun, Dec 18, 2016 at 2:46 PM, vipinneemamnit notifications@github.com wrote:

I want to create Mesh Access point .. connectivity between my mobile and mesh network. pls help me

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/o11s/open80211s/issues/53, or mute the thread https://github.com/notifications/unsubscribe-auth/ABBewlJnP9tLZ0YkPQh5sAFGnpPsx92Zks5rJNaugaJpZM4LQEGB .

vipinneemamnit commented 7 years ago

Hi Thanks for reply Mr. chunyeow in https://github.com/o11s/open80211s/wiki/HOWTO they not provided how to configure mesh access point. they only provided to create mesh gate.

let me explain my problem more clearly, we have a created a mess network of 5 devices. now we have to connect a 802.11 device to this mess network. unfortunately we have two create two wlan interface on mess access point. one interface for mesh network and second one for creating a Access point so that a 802.11 enabled device can connect mesh network.

please tell me how to create that connectivity between 802.11 interface and 802.11s interface.

chunyeow commented 7 years ago

You can bridge the mesh interface and AP interface as L2 switch.

On Sun, Dec 18, 2016 at 11:40 PM, vipinneemamnit notifications@github.com wrote:

Hi Thanks for reply Mr. chunyeow in https://github.com/o11s/open80211s/wiki/HOWTO they not provided how to configure mesh access point. they only provided to create mesh gate.

let me explain my problem more clearly, we have a created a mess network of 5 devices. now we have to connect a 802.11 device to this mess network. unfortunately we have two create two wlan interface on mess access point. one interface for mesh network and second one for creating a Access point so that a 802.11 enabled device can connect mesh network.

please tell me how to create that connectivity between 802.11 interface and 802.11s interface.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/o11s/open80211s/issues/53#issuecomment-267828115, or mute the thread https://github.com/notifications/unsubscribe-auth/ABBewilYu0QsKa24GwqpzGJN8EJfeJHAks5rJVPYgaJpZM4LQEGB .

vipinneemamnit commented 7 years ago

hi Chunyeow thanks for reply

hey i am new with network please tell me how to configure AP using wpa_supplicant and hostapd . or where i could find a way to create AP that can bridge with mesh interface

chunyeow commented 7 years ago

Refer the following to figure out:

https://wireless.wiki.kernel.org/en/users/drivers/ath10k/mesh https://wiki.openwrt.org/doc/howto/mesh.80211s https://wireless.wiki.kernel.org/en/users/documentation/hostapd

You can use wpa_supp to create mesh interface then bridge with AP created by hostapd.

On Tue, Dec 27, 2016 at 3:09 PM, vipinneemamnit notifications@github.com wrote:

hi Chunyeow thanks for reply

hey i am new with network please tell me hoe to configure AP using wpa_supplicant and hostapd . or where i could find a way to create AP that can bridge with mesh interface

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/o11s/open80211s/issues/53#issuecomment-269281111, or mute the thread https://github.com/notifications/unsubscribe-auth/ABBewkaJd0XYNNfRkvrBSRsBiI3YrOtXks5rMLmfgaJpZM4LQEGB .

chunyeow commented 7 years ago

Re-read the mesh gate section on https://github.com/o11s/open80211s/wiki/HOWTO. You can replace the Ethernet interface with your virtual access point. Both hostapd and wpa_supp should allow you to bridge to your intended bridge interface.

vipinneemamnit commented 7 years ago

hiii when i am trying to create mesh network through wpa_supp this error comes wpa.conf file contain ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=adm

mpm on userspace

user_mpm=1

open mesh network

network={ ssid="ABCD"
mode=5
frequency=2432 key_mgmt=NONE
}

root@vippi:/# wpa_supplicant -Dnl80211 -imesh0 -c/etc/wpa_supplicant.conf Successfully initialized wpa_supplicant Line 5: unknown global field 'user_mpm=1'. Line 5: Invalid configuration line 'user_mpm=1'. Line 10: too large mode (value=5 max_value=4) Line 10: failed to parse mode '5'. Line 13: failed to parse network block. Failed to read or parse configuration '/etc/wpa_supplicant.conf'.

chunyeow commented 7 years ago

Check out the latest wpa_supp and use the default config file in the wpa_supplicant folder as your reference. For bridging, don't forget the "-b" while running the wpa_supp. You can check with "-h" to display the help text.

vipinneemamnit commented 7 years ago

i have created AP using hostapd and mesh interface in a laptop using usb wifi adaptor to creating AP. but at a time only mesh connectivity or AP connectivity work.

vipinneemamnit commented 7 years ago

Hi chunyeow

In processor of creating mesh access point .

mesh point wpa_supplicant\

this configuration work when mesh interface bridge with Ethernet interface. In case of two wireless interface nothing happen. please help me about it.

chunyeow commented 7 years ago

When you said that you have bridged both mesh interface and ap interface, it is not working. Can you confirm both mesh beaconing and AP beaconing working?

BTW, what WiFi chipset are you using?

On Mon, Jan 9, 2017 at 1:15 PM, vipinneemamnit notifications@github.com wrote:

Hi chunyeow

In processor of creating mesh access point .

mesh point wpa_supplicant

  • bridge br0 using brctl AP using hostapd /

this configuration work when mesh interface bridge with Ethernet interface. In case of two wireless interface nothing happen. please help me about it.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/o11s/open80211s/issues/53#issuecomment-271212568, or mute the thread https://github.com/notifications/unsubscribe-auth/ABBewq6cC6PhqI2j4HbLinuisFo9ZN2dks5rQcJegaJpZM4LQEGB .

vipinneemamnit commented 7 years ago

i am using AR9485 wireless network Adaptor and TL-WN722N USB wireless adaptor.

vipinneemamnit commented 7 years ago

Hi chunyeow thank you for reply i just thought about can two wireless card in a system work together simultaneously?

chunyeow commented 7 years ago

You have two wireless card: one for mesh and one for AP, am I right? I don't see any problem for them bridging them together.

What driver that your wireless cards using?

On Tue, Jan 10, 2017 at 1:48 PM, vipinneemamnit notifications@github.com wrote:

Hi chunyeow thank you for reply i just thought about can two wireless card in a system work together simultaneously?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/o11s/open80211s/issues/53#issuecomment-271492374, or mute the thread https://github.com/notifications/unsubscribe-auth/ABBewvuU4Z_R-E4moJSiE0TNAtq-NiF9ks5rQxuygaJpZM4LQEGB .

vipinneemamnit commented 7 years ago

for USB TL-WN722N ----> ath9k_htc driver version 4.4.0.53 for AR9485 wireless Network Adapter ath9k driver version 4.4.0.53

chunyeow commented 7 years ago

I don't see any issue that bridging both together. Are you able to bring up an monitor interface and check whether the beaconing is working?

On Tue, Jan 10, 2017 at 2:00 PM, vipinneemamnit notifications@github.com wrote:

for USB TL-WN722N ----> ath9k_htc driver version 4.4.0.53 for AR9485 wireless Network Adapter ath9k driver version 4.4.0.53

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/o11s/open80211s/issues/53#issuecomment-271493687, or mute the thread https://github.com/notifications/unsubscribe-auth/ABBewsxUCqGgoeHygEzYYjJUXVU2PYk_ks5rQx5hgaJpZM4LQEGB .