Jump to content

Help 5G GHz WiFi broadcast open network


henri67

Recommended Posts

53 minutes ago, henri67 said:

Hello, I want to broadcast an open 5G net work with my wifi pineapple mk7.
I have the MK7AC 5G adapter from hak5 and it works well with the recon scan.
Does anyone here know how I can get the wifi pineapple MK7 to broadcast a 5G open network?

If you're referring to 5 GHz WiFi and not cellular, you would have to reconfigure hostapd somehow, but since PineAP manages the interfaces, you would probably have trouble. 

Link to comment
Share on other sites

  • Irukandji changed the title to Help 5G GHz WiFi broadcast open network
18 hours ago, DramaKing said:

If you're referring to 5 GHz WiFi and not cellular, you would have to reconfigure hostapd somehow, but since PineAP manages the interfaces, you would probably have trouble. 

So it is not possible for the wifi pineapple MK7 to broadcast an open 5G wifi network with the MK7 AC adapter?

Link to comment
Share on other sites

I wouldn't say it's impossible. Setting up a 5 GHz adapter is for sure possible. The question is if you want it to still be useful to PineAP. I think the question is too wide and needs to be narrowed down. Do you want to use the MK7 AC adapter for recon (and such) and also broadcast an open 5 GHz AP with Pineapple features and functionality? Or, do you just want to set up a 5 GHz open AP (not linked to the already existing open AP of the Pineapple). There is a difference. To retain the Pineapple features, you will need to do some more in depth tweaking (and perhaps two 5 GHz adapters). To just add the adapter and broadcast an open 5 GHz AP will need less tweaking (and is less likely to break out-of-the-box functionality).

Link to comment
Share on other sites

4 hours ago, dark_pyrro said:

I wouldn't say it's impossible. Setting up a 5 GHz adapter is for sure possible. The question is if you want it to still be useful to PineAP. I think the question is too wide and needs to be narrowed down. Do you want to use the MK7 AC adapter for recon (and such) and also broadcast an open 5 GHz AP with Pineapple features and functionality? Or, do you just want to set up a 5 GHz open AP (not linked to the already existing open AP of the Pineapple). There is a difference. To retain the Pineapple features, you will need to do some more in depth tweaking (and perhaps two 5 GHz adapters). To just add the adapter and broadcast an open 5 GHz AP will need less tweaking (and is less likely to break out-of-the-box functionality).

The intention is to broadcast and open 5G network.

Link to comment
Share on other sites

On 11/7/2023 at 10:49 PM, dark_pyrro said:

OK, so if you don't need to involve any built-in Pineapple functionality and only need a simple 5 GHz AP, then just set wlan1 as the recon interface and use the 5 GHz adapter to set up the 5 GHz AP in /etc/config/wireless

Can you tell me how to do that?

Link to comment
Share on other sites

Attach the 5 GHz adapter to the Pineapple

Make sure that PineAP is using wlan1 (configure that in the web UI)

Make a copy of /etc/config/wireless (just as a backup)

Edit /etc/config/wireless

Remove any entries related to radio3 and wlan3 (most likely at the bottom of the file)
You could leave them and change what's already there, but it will most likely end up in a mess if you don't know what you're doing

Copy the sections covering radio0 and wlan0 (NOT! wlan0-1, wlan0-2, etc) at the top of the file and paste it in at the bottom

Change the pasted section so that every occurrence of radio0 becomes radio3

Change the wifi-device section for the newly created radio3 so that; hwmode is set to 11a, channel is set to something relevant to 5 GHz and that the path is correct for the device, htmode can also be changed if desired

Regarding the path, verify it by running
ll /sys/class/net
make sure any path that is copied starts from "platform" and doesn't include the trailing "/net/wlan3"

In the newly pasted wifi-iface section, change wlan0 to wlan3, set a relevant ESSID and change the MAC address

reboot the Pineapple or restart wireless/networking

try to connect to the 5 GHz open AP from a device of choice

iptables rules might be needed in order to access the Pineapple itself
using the internet (if the Pineapple itself has internet access), should work without any firewall rules added
(or change /etc/config/firewall)

Link to comment
Share on other sites

On 11/9/2023 at 9:20 AM, dark_pyrro said:

Attach the 5 GHz adapter to the Pineapple

Make sure that PineAP is using wlan1 (configure that in the web UI)

Make a copy of /etc/config/wireless (just as a backup)

Edit /etc/config/wireless

Remove any entries related to radio3 and wlan3 (most likely at the bottom of the file)
You could leave them and change what's already there, but it will most likely end up in a mess if you don't know what you're doing

Copy the sections covering radio0 and wlan0 (NOT! wlan0-1, wlan0-2, etc) at the top of the file and paste it in at the bottom

Change the pasted section so that every occurrence of radio0 becomes radio3

Change the wifi-device section for the newly created radio3 so that; hwmode is set to 11a, channel is set to something relevant to 5 GHz and that the path is correct for the device, htmode can also be changed if desired

Regarding the path, verify it by running
ll /sys/class/net
make sure any path that is copied starts from "platform" and doesn't include the trailing "/net/wlan3"

In the newly pasted wifi-iface section, change wlan0 to wlan3, set a relevant ESSID and change the MAC address

reboot the Pineapple or restart wireless/networking

try to connect to the 5 GHz open AP from a device of choice

iptables rules might be needed in order to access the Pineapple itself
using the internet (if the Pineapple itself has internet access), should work without any firewall rules added
(or change /etc/config/firewall)

Thanks for your explanation, when I have time I will look into it

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...