#528: Problem with wlanconfig ath0 create ...
----------------------------------+-----------------------------------------
      Reporter:  [EMAIL PROTECTED]  |       Owner:                 
          Type:  defect           |      Status:  new            
      Priority:  major            |   Milestone:                 
     Component:  madwifi: other   |     Version:                 
    Resolution:                   |    Keywords:  wlanconfig mode
Patch_attached:  0                |  
----------------------------------+-----------------------------------------
Old description:

> Hi,
> I installed madwifi-ng, i made modprobe ath_pci , there has no soucy , my
> card work !
> but when i want to monitor mode for example :wlanconfig ath0 create
> wlandev wifi0 wlanmode monitor
> It say me : wlanconfig: ioctl: No such device
>
> this the same thing for any mode !
>
> ifconfig :
>
> ''ath0      Lien encap:Ethernet  HWaddr 00:0F:3D:CD:0A:38
>           inet adr:192.168.1.72  Bcast:192.168.1.255
> Masque:255.255.255.0
>           adr inet6: fe80::20f:3dff:fecd:a38/64 Scope:Lien
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:3 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 lg file transmission:0
>           RX bytes:1079 (1.0 KiB)  TX bytes:482 (482.0 b)
>
> lo        Lien encap:Boucle locale
>           inet adr:127.0.0.1  Masque:255.0.0.0
>           adr inet6: ::1/128 Scope:Hôte
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:7 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 lg file transmission:0
>           RX bytes:372 (372.0 b)  TX bytes:372 (372.0 b)
>

> wifi0_ifr Lien encap:UNSPEC  HWaddr 00-0F-3D-CD-0A-38-00-00-00-00-00-00-
> 00-00-00-00
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:6847 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:123 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 lg file transmission:199
>           RX bytes:555717 (542.6 KiB)  TX bytes:6551 (6.3 KiB)
>           Interruption:169 Mémoire:def00000-def10000
> ''
>
> Thanks You !!

New description:

 Hi,

 I installed madwifi-ng, i made modprobe ath_pci, there has no soucy, my
 card work !

 but when i want to monitor mode for example:
 {{{
 wlanconfig ath0 create wlandev wifi0 wlanmode monitor
 }}}
 It say me:
 {{{
 wlanconfig: ioctl: No such device
 }}}

 this the same thing for any mode !

 ifconfig :
 {{{
 ath0      Lien encap:Ethernet  HWaddr 00:0F:3D:CD:0A:38
           inet adr:192.168.1.72  Bcast:192.168.1.255  Masque:255.255.255.0
           adr inet6: fe80::20f:3dff:fecd:a38/64 Scope:Lien
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:3 errors:0 dropped:0 overruns:0 frame:0
           TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 lg file transmission:0
           RX bytes:1079 (1.0 KiB)  TX bytes:482 (482.0 b)

 lo        Lien encap:Boucle locale
           inet adr:127.0.0.1  Masque:255.0.0.0
           adr inet6: ::1/128 Scope:Hôte
           UP LOOPBACK RUNNING  MTU:16436  Metric:1
           RX packets:7 errors:0 dropped:0 overruns:0 frame:0
           TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 lg file transmission:0
           RX bytes:372 (372.0 b)  TX bytes:372 (372.0 b)


 wifi0_ifr Lien encap:UNSPEC  HWaddr 00-0F-3D-CD-0A-38-00-00-00-00-00-00-
 00-00-00-00
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:6847 errors:0 dropped:0 overruns:0 frame:0
           TX packets:123 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 lg file transmission:199
           RX bytes:555717 (542.6 KiB)  TX bytes:6551 (6.3 KiB)
           Interruption:169 Mémoire:def00000-def10000
 }}}

 Thanks You !!

Comment (by mrenzmann):

 You try to create a monitor interface based on ''wifi0'', but as your
 ''ifconfig'' output shows the name of the interface is actually
 ''wifi0_ifr''. Hence the right command would be:

 {{{
 wlanconfig ath0 create wlandev wifi0_ifr wlanmode monitor
 }}}

 You might need to destroy an existing interface named ''ath0'' first, or
 change ''ath0'' to something else in the above shown command, depending on
 the actual mode you want to use for the new interface. Please refer to the
 [wiki:UserDocs#CreatingInterfacesinmadwifing related documentation] in our
 wiki.

-- 
Ticket URL: <http://madwifi.org/ticket/528>
MadWifi <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity

Reply via email to