FluxionNetwork / fluxion

Fluxion is a remake of linset by vk496 with enhanced functionality.
https://fluxionnetwork.github.io/fluxion/
GNU General Public License v3.0
4.97k stars 1.4k forks source link

Raspberry Pi 3 model B #298

Closed ProsAnon closed 6 years ago

ProsAnon commented 6 years ago

I started fluxion on my Raspberry Pi 3 Model B and I got this message when I choose wich channels to scan.

EDIT: I just tried with airmon-ng and airodump-ng and I got the handshake, but I cannot use it with Fluxion because I cannot scan the networks.

EDIT2: Sorry.. The message was: Your wireless card may not be supported(No APs found) or something like this.

MPX4132 commented 6 years ago

You didn't post the message you mentioned fluxion showed you.

ProsAnon commented 6 years ago

Updated. Sorry again.

MPX4132 commented 6 years ago

You're saying it works with airmon-ng and airodump-ng, but not with fluxion, correct?

ProsAnon commented 6 years ago

Yes. So I successfully scanned the networks with airodump-ng, successfully captured a handshake(*.cap file right?) but I cannot use it with fluxion(I cannot go further than network scanning).

MPX4132 commented 6 years ago

When the scanner starts, can you see any networks?

ProsAnon commented 6 years ago

No, I choose to scan All channels(2.4GHz & 5GHz) then a windows pops up but closes imediatly, then I get the message: "Wireless card may not be supported (no APs found). The choices are [1]Back and [2] Exit

MPX4132 commented 6 years ago

Please run the diagnostics script and post the results.

cd fluxion
./scripts/diagnostics.sh wlanX  # replace wlanX with your wireless interface identifier

Also post the results of

airmon-ng
ProsAnon commented 6 years ago

Yes.

[ BASH Info ] GNU bash, version 4.4.12(1)-release (arm-unknown-linux-gnueabihf) Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html

This is free software; you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Path: /bin/bash

[ Interface (wlan0) Info ] Device: phy0 Driver: brcmfmac Chipset: Unknown chipset for SDIO device. Injection Test: ioctl(SIOCSIWMODE) failed: Device or resource busy ioctl(SIOCSIWMODE) failed: Device or resource busy failed

[ XTerm Info ] Version: XTerm(330) Path: /usr/bin/xterm Test: XServer/XTerm success!

[ HostAPD Info ] hostapd v2.4 User space daemon for IEEE 802.11 AP management, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator Copyright (c) 2002-2015, Jouni Malinen j@w1.fi and contributors Path: /usr/sbin/hostapd

[ Aircrack-ng Info ]

Aircrack-ng 1.2 rc4 - (C) 2006-2015 Thomas d'Otreppe http://www.aircrack-ng.org

[ System Info ] Linux version 4.9.59-v7_Re4son-Kali-Pi+ (root@builder) (gcc version 4.9.4 (Linaro GCC 4.9-2017.01) ) #1 SMP Tue Nov 21 00:36:47 CST 2017 root@kali:~/Desktop/fluxion#

MPX4132 commented 6 years ago

Try running fluxion with the airmon-ng flag, and check if it works:

export FLUXIONAirmonNG=1
./fluxion.sh
ProsAnon commented 6 years ago

I typed that command, should something appear or it continues normaly? Nothing happened,same message.

EDIT: I choose another language and it worked.

EDIT#2 Got an error "device 10 cannot be found" when i try to launch captive portal. Then it opens me 4 windows(fluxion ap dns service, fluxion web service, fluxion AP authenticator and fluxion AP jammer service). I cannot connect with my phone to the network.

MPX4132 commented 6 years ago

Well, it should continue normally as if you ran fluxion. You can run it all in one line if you add a command delimiter (a semicolon), like this:

export FLUXIONAirmonNG=1; ./fluxion.sh

It should execute regularly, you shouldn't notice any difference, except that this time it should work properly.

You found a bug with the language you were using before?

ProsAnon commented 6 years ago

I used english, then I used Romanian, it has worked with Romanian. I updated my last comment, can you check that out?

MPX4132 commented 6 years ago

I’ll look into the issue in a couple of hours, I need to sleep right now, I’m really sleepy, sorry to make you wait.

Post some images of the error you got if you can, otherwise, post the output text of where you got that error. I’ll check it out later on today.

ProsAnon commented 6 years ago

Here are some photos of errors I get

1 2 3 4 5

Then I get stuck here, 34 mins running and nothing happens, no evil twin 6

MPX4132 commented 6 years ago

You should not use the external access point option if you don’t know how to set it up.

The external access point option requires you to have a dedicated access point device, which you must manually configure according to what fluxion specifies. It is not a USB device, it’s a device that connects to the Ethernet port of your machine.

When you use that option, fluxion isn’t responsible for generating the access point, you’re the one responsible for generating the access point by configuring the dedicated access point device.

MPX4132 commented 6 years ago

There’s definitely a problem when you select the wireless interface, though. We need to look into that. I noticed your wireless device is SDIO, that means it probabaly won’t be supported by fluxion because SDIO devices are always super limited in capabilities.

MPX4132 commented 6 years ago

Yeah, found the problem. It doesn’t support master mode, or monitor mode, or both.

drjohannspector commented 6 years ago

I have also had some luck with the nexmon kernel for the onboard wifi. Just a quick heads up, saw the rpi post and they have always been a favorite of mine. Onboard doesn't support master mode though. Search for re4son if you want that kernel, it's decent.

MPX4132 commented 6 years ago

@ProsAnon I’m gonna have to close the issue because it’s not a problem with fluxion, is a driver problem. I suggest looking into what @drjohannspector mentioned.

M1z23R commented 6 years ago

I've made fluxion based fluxion alternative :) I hope it will help you. https://github.com/M1z23R/FluxPi

ProsAnon commented 6 years ago

Thank you very much, I will try it tonight when I get home.

OFF-Topic:

Do you have some free time to help me with few answers? I am kinda new into these things and my questions may seem stupid but I am really trying to learn these things.

2017-12-14 7:52 GMT+02:00 M1z23R notifications@github.com:

I've made fluxion based fluxion alternative :) I hope it will help you. https://github.com/M1z23R/FluxPi

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/FluxionNetwork/fluxion/issues/298#issuecomment-351615893, or mute the thread https://github.com/notifications/unsubscribe-auth/AgY4kCBJzCwuAjMMyqXL8Q4ELFtFUPXaks5tALesgaJpZM4Q8CWJ .

M1z23R commented 6 years ago

Sure, to be honest i am new to bash scripting also, i guess it's a good thing know some other programming languages :D Contact me here: dr.pentesting@gmail.com