Page 5 of 5 FirstFirst ... 345
Results 41 to 48 of 48

Thread: Howto get Madwifi-ng drivers to work properly!

  1. #41
    Just burned his ISO
    Join Date
    Feb 2006
    Posts
    8

    Default

    Quote Originally Posted by kirmet
    hello

    i thought it should be possible to create two virtual interfaces for one physical interface? or is that not true?

    like
    Code:
    root@slax:~# wlanconfig ath0 create wlandev wifi0 wlanmode monitor
    ath0
    root@slax:~# wlanconfig ath1 create wlandev wifi0 wlanmode managed
    wlanconfig: ioctl: Input/output error
    thx for answers
    try:

    wlanconfig ath1 destroy

    seems it's allready up when you get that error...

  2. #42
    Junior Member
    Join Date
    Feb 2006
    Posts
    72

    Default

    On a side note to what he said I have found that ath0 prefers to be the in the "Managed" mode at all times. Use ath1 for monitor mode.

  3. #43
    Just burned his ISO
    Join Date
    Feb 2006
    Posts
    22

    Default

    Quote Originally Posted by duxzero
    try:

    wlanconfig ath1 destroy

    seems it's allready up when you get that error...
    yah that was the question ... i know you can create differnt kind of virt. interface one AFTER another but you cant run 2 different interface like
    ath0 in monitor mode and
    ath1 in ap mode or?
    perhaps i just didnt understand something right here.

    greez

  4. #44
    Junior Member
    Join Date
    Feb 2006
    Posts
    72

    Default

    You have lost me my friend, just take a brief moment to further explain your problem. More details on the inital question is a good start. Based on what information you have given thus far I feel I may have a solution to your problem but I don't want to be giving you false information so if you could supply me supplemental information Ill decide if my soultion is compatable with your problem.

  5. #45
    Just burned his ISO
    Join Date
    Feb 2006
    Posts
    22

    Default

    well ok right now i have the feeling im completly on the wrong track but i still will explain what i had in mind

    i read quite a few tutorials about the madwifi-ng drivers and the wlanconfig command. somehow (dont ask me why) i had the impression that it could be possible to operate 2 virtual interfaces on 1 physical interface.

    so like doing the 2 commands:

    e.g.
    wlanconfig ath0 create wlandev ath0 wlanmode monitor
    wlanconfig ath0 create wlandev ath0 wlanmode ap

    my idea was that with ifconfig it will show

    wifi0
    ath0
    ath1
    at the _same_ time.

    it would be like 2 different virtual cards (which can be very practical sometimes) processed by one physical card - doing their works in a timescheduling kind of way.
    kind of the way ethX subinterfaces can work with
    eth0
    eth0.1
    with different ip adresses and even with different ways of working (like routing differently or such)

    i hope that explained it now.

    greez

  6. #46
    Junior Member
    Join Date
    Feb 2006
    Posts
    72

    Default

    As far as I can see it does not work that way. You ether use ath1 or ath0 but if you have ath1 in monitor mode you cant use ath0 till ath1 is destroyed. I know it gets a little crazy creating the vwlan adapters to use onitor mode but a simple script should make it easy on you.

  7. #47
    Just burned his ISO
    Join Date
    Feb 2006
    Posts
    16

    Default

    Do you really need to destroy it or is it enough to ifconfig ath0 down?

  8. #48
    Just burned his ISO
    Join Date
    Oct 2006
    Posts
    1

    Default

    Thanks for the instructions, I followed them and am up and surveying fine.

    I am having an issue with injecting, as seems to be the case with several folks and madwifi-ng.

    I can run kismet/airodump without issue, but when I launch aireplay, it appears to not see the driver

    ioctl (SIOCGIFINDEX) failed: no such device.

    I have used the wlanconfig commands to bring up a second interface (ath1) instead of just using ath0 and it doesnt seem to work either.

    I have googled out the wazoo and have seen numerous issues, but not really this one.

    Any suggestions?

    here is the commands run

    wlanconfig ath0 destroy
    wlanconfig ath0 create wlandev wifi0 wlanmode monitor
    airodump ath0 file 0 (succeeds)
    in a new window
    aireplay -0 -x 120 -b MAC ath0
    then it generates the error above.

    I have also tried aireplay-ng - and it generates the same message, so I either have something configured wrong, or my patch is not applied correctly.

    Anyone have input as far as troubleshooting?

    Thanks in advance

Page 5 of 5 FirstFirst ... 345

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •