Jump to content

wlan0 crashes system after setting to monitor mode + ifconfig up


shinew

Recommended Posts

Just playing around with it, here is what i noticed, a bug perhaps?

after setting wlan0 to monitor mode, if I try to bring it up again using ifconfig, it's guaranteed to crash the system and reboot.

ifconfig wlan0 down
iwconfig wlan0 mode monitor
ifconfig wlan0 up

However, I don't have to bring it up to make it functional for airodump-ng, then again the wlan0 LED won't work if the wlan0 interface is not up, and I like the blinking light...

Link to comment
Share on other sites

Just playing around with it, here is what i noticed, a bug perhaps?

after setting wlan0 to monitor mode, if I try to bring it up again using ifconfig, it's guaranteed to crash the system and reboot.

ifconfig wlan0 down
iwconfig wlan0 mode monitor
ifconfig wlan0 up

However, I don't have to bring it up to make it functional for airodump-ng, then again the wlan0 LED won't work if the wlan0 interface is not up, and I like the blinking light...Strange

Strange, though i have a question: Why use wlan0 whitch is the AP radio? That could have something to do with it. Try using wlan1 instead.

Link to comment
Share on other sites

Strange, though i have a question: Why use wlan0 whitch is the AP radio? That could have something to do with it. Try using wlan1 instead.

just because it's set to ap radio by default doesn't mean you need to use it as ap, obviously it's capable of more than that and runs in monitor mode and it can be run in conjunction with wlan1 as well :)

not sure what I would use it for yet, just want to find out more of the hardware capability and limits. Perhaps can be used as a more effective wifi jammer by spreading the channel load between wlan0 & wlan1? just off top my head...

run the wifi command

I'm not sure what you meant, how is that going to help preventing reset while havinb wlan0 in monitor mode and functioning LED?

When I tried it, wifi down/detect does not prevent it from resetting when bring up the wlan0. only thing seems to help is to leave wlan0 down under ifconfig.

Link to comment
Share on other sites

I assume you meant 'wlan0' for iwlist?

it doesn't say it's stuck on any channel, but it obviously does because it only picks up whatever channel that's set for the ap in "/etc/config/wireless" and airodump-ng shows channel as '-1'.

if I put wlan0 down using 'ifconfig wlan0' then it'll surf all channels, but then the blue LED doesn't work anymore. So yours doesn't do that?

Anyway, I can use it as is, just wanted to point out a possible bug unless I'm missing something.

Link to comment
Share on other sites

  • 5 months later...

Just playing around with it, here is what i noticed, a bug perhaps?

after setting wlan0 to monitor mode, if I try to bring it up again using ifconfig, it's guaranteed to crash the system and reboot.

ifconfig wlan0 down
iwconfig wlan0 mode monitor
ifconfig wlan0 up

However, I don't have to bring it up to make it functional for airodump-ng, then again the wlan0 LED won't work if the wlan0 interface is not up, and I like the blinking light...

Not sure if you got it working but I had the same problem. The only way I could get it to work was the following:

ifconfig wlan0 down
airmon-ng start wlan0
airodump-ng mon0

for some reason if wlan0 is down it works perfectly fine. but as soon as I bring wlan0 up, system crashes

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