Fixed Feeding Bottle: "Fixed Channel mon0 : -1" error (0.4.3)

Discussion in 'Xiaopan Support' started by micr0be, 30 Aug 2012.

  1. micr0be

    micr0be Well-Known Member

    Joined:
    5 Aug 2012
    Messages:
    14
    Likes Received:
    7
    I seem to have stumbled on a common airodump-ng bug that is "fixed channel mon0 : -1"
    I had no problems at first and then suddenly i couldn't fake authenticate to any AP due to mon0 using channel -1.

    it seems to be limited to feeding bottle, the issue is not present in inflator n'or minidwep.
    -i've tried re-creating my live usb key. it didn't work.
    -problem is occurring on more than one wifi adapter inlcuding (8187L, 8187B, and atheros chipsets)

    After searching for a fix i found 2 relevant posts:
    http://ubuntuforums.org/showthread.php?p=11612383#post11612383
    http://ubuntuforums.org/showthread.php?t=1598930

    I've also found a patch that could solve the problem:
    https://patchwork.kernel.org/patch/103589/
    (tested with rtl8187, ath5k, zd1211rw, iwl3945, rt73usb, rt2800usb)

    (note: i haven't tried a fix yet, I will update as soon as i do.)
     
  2. Mr. Penguin

    Mr. Penguin Administrator
    Staff Member VIP Admin

    Joined:
    18 May 2012
    Messages:
    3,093
    Likes Received:
    1,268
  3. micr0be

    micr0be Well-Known Member

    Joined:
    5 Aug 2012
    Messages:
    14
    Likes Received:
    7
    it's strange because everything was working fine at first. the error showed up out of nowhere.

    Good news, I have found a temporary fix. This has been TESTED AND WORKS well.

    Step 1
    Open feeding bottle > enable monitor mode > scan network > choose target AP > Advanced Attack.

    Step 2
    Once you start capturing packets using airoplay-ng do the following:
    • Check to see what "card interface" your using (e.g: wlan0)
    • Now since mon0 is using channel -1 we cannot attack any network with it since no networks use channel -1

    Step 3
    Open Root Shell and type the following code (by the order given) - [credits to Basher101 for the fix]

    Code:
    Select All
    airmon-ng stop wlan0 ifconfig wlan0 down iwconfig wlan0 mode managed ifconfig wlan0 up iwconfig wlan0 channel (your channel here) ifconfig wlan0 down iwconfig wlan0 mode monitor ifconfig wlan0 up
    Step 4
    Go to your feeding bottle and before you RUN an attack (ex: Force auth (-1) or ARP Replay (-3))

    Step 5
    Go to the "attack command" and change "mon0" to "wlan0"
    Since wlan0 is the same adapter mon0 is on but with the channel you picked.

     
  4. Crackerz Wave

    Crackerz Wave The Dictator

    Joined:
    20 May 2012
    Messages:
    649
    Likes Received:
    136
    thanks for this tip....I will try it later:)
     
  5. hazz death

    hazz death Well-Known Member
    Dev Team VIP

    Joined:
    19 Jun 2012
    Messages:
    101
    Likes Received:
    86
    micr0be 1st you have such a funny profile pic, but i think its awesome.. 2nd, thanks for sharing the tips! :)
    --- Double Post Merged, 30 Aug 2012 ---
    hahaha... for now i just online in my sister's shop if i got some time.. or didnt have any customer.. yup, no internet connection in my house.. so cant do much for now.. :no
     
    • Like Like x 1
  6. micr0be

    micr0be Well-Known Member

    Joined:
    5 Aug 2012
    Messages:
    14
    Likes Received:
    7
    yea....i once didn't have internet in my house too.......but then i got a repeater, installed it next to the living room window and suddenly i had ~25 Access points to choose from spread evenly across my entire apartment :D

     
  7. Mr. Penguin

    Mr. Penguin Administrator
    Staff Member VIP Admin

    Joined:
    18 May 2012
    Messages:
    3,093
    Likes Received:
    1,268
    I suggest that anyone make a script file (.sh) out of this, add it to the ISO and run it when needed, or at least a text document and burn it into the ISO. Remember you can use copy and paste in Xiaopan (ctrl+c and ctrl+f) so don't go typing all those commands by hand.
     

Share This Page

Loading...