Jump to content

Airbase-ng works an newer devices


Recommended Posts

Hi guys

Tried to find the answer here many times but without luck. This ist my last shot.

I know that the wlan1 is not intended for that, but PRO's:

Wlan1 can go up to 30dBm while wlan0 is locked on 18dbm

Airbase-ng gets more clients as Karma (iphones, androids)

procedure:

i edited wlan1 from "manaed" to "monitor" /etc/configuration/wireless

i start airbase-ng: airbase-ng -E /listofessids -P -C 30 -c 11 wlan1 (creates the interface at0)

And till here all works. Phones are seeing the AP, Airbase assiociate the phone with the AP.

But dnsmask arent seeing the phone. As i understand with the pineapple configuration, dnsmasq are serving dhcp to all interfaces in the "lan" domain.

logs:

phone -> wlan0: hostapd shows association, dnsmasq gives ip to br-lan

phone -> at0: airbase shows association. dnsmask is doing nothing

In /etc/configuration/wireless i can only define on which domain phy1/wlan1 is ->lan

But since at0 is "emulated" by airmon-ng i cant set the domain in /etc/configuration/wireless.

Also by adding at0 to the br-lan bridge it doesent help.

dnsmasq are not "seeing" the devices on at0

Maybe thats not the error, if someone has an idea, plz share it.

the script looks like this. You can try it and see the difference :)

pineapplekarma start

airbase-ng -E /root/essids -P -C 30 -c 11 wlan1

ifconfig at0 up

brctl addif at0

PS:

A workaround is to start airbase-ng with the mac from the wla0. So the phone can see the AP of at0, but connects to wla0 where dhcp works

What i else tried:
add at0 to a new interface in /e/c/network

edited in /e/c/dhcp that the new interface get dhcp

maybe i messed up, but it didnt work

Ifconfig at0 xxx.xxx.xxx.xxx netmask 255.255.255.0 (i entered different IP's 172.16.42.1/2/100)

And hell yea, im desperate :)

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