Jump to content

Recommended Posts

Posted

Is it possible to use a usb connected wifi dongle as the default access point rather that the internal one in the pineapple?

I want to turn the internal wifi antenna into a client and the usb connected wifi dongle into a access point. The reason I want to do this is because I can use a stronger external wifi to broadcast further. I'm looking to have it compatible with the existing modules and stuff as well.

Anyone have any thoughts on accomplishing this?

Posted (edited)

That's what I was worried about.

im going to do a couple tests to see if its an easy task, hold tight

EDIT:

no go, seems to be setup for wlan0 before karma is even run?

Edited by petertfm
Posted

It is very very very simple.

Just run hostapd with a config file specifying wlan1 as the interface.

Best Regards,

Sebkinne

How would you do this specifically?

Posted (edited)

here is my findings

issue "killall hostapd"

then "cp /var/run/hostapd-phy0.conf /var/run/hostapd-phy1.conf"

edit hostapd-phy1.conf and change wlan0 to wlan1 and the bssid to the mac of wlan1

then you can run it like

ifconfig wlan0 down

rm /tmp/karma.log

hostapd -f /tmp/karma.log -dd hostapd-phy1.conf &

EDIT:

It's not full proof yet things like this in the .conf file need to be fixed "ctrl_interface=/var/run/hostapd-phy0" I think thats why there are some errors in the log

EDIT2:

I get this error in my ssh session and not the karma log?


wlan1: STA xx:xx:xx:xx:xx:xx IEEE 802.11: handle_action - unknown action category 131 or invalid frame
[/CODE]

Edited by petertfm

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...