#863: madwifi hostap error
---------------------------------------+------------------------------------
      Reporter:  [EMAIL PROTECTED]  |       Owner:        
          Type:  defect                |      Status:  new   
      Priority:  major                 |   Milestone:        
     Component:  madwifi: other        |     Version:  v0.9.2
    Resolution:                        |    Keywords:        
Patch_attached:  0                     |  
---------------------------------------+------------------------------------
Comment (by [EMAIL PROTECTED]):

 ok, so here's the kernel dump when i try to connect to the access point
 from the second client.  i've posted here the output relevant to the used
 devices, i've also attached a file which includes the complete dump to
 this ticket called "kernel dump"

 {{{
 Sep 15 14:12:27 localhost NetworkManager: <information> Deactivating
 device ath0.
 Sep 15 14:12:27 localhost NetworkManager: <WARNING>
 nm_device_802_11_wireless_set_mode (): error setting card ath0 to
 Infrastructure mode: Invalid argument
 Sep 15 14:12:27 localhost dhclient: wifi0: unknown hardware address type
 801
 Sep 15 14:12:27 localhost dhclient: wifi0: unknown hardware address type
 801
 Sep 15 14:12:27 localhost dhclient: DHCPDISCOVER on ath0 to
 255.255.255.255 port 67 interval 7
 Sep 15 14:12:34 localhost dhclient: DHCPDISCOVER on ath0 to
 255.255.255.255 port 67 interval 7
 Sep 15 14:12:37 localhost avahi-daemon[1928]: Withdrawing address record
 for 152.9.90.39 on eth0.
 Sep 15 14:12:37 localhost avahi-daemon[1928]: Leaving mDNS multicast group
 on interface eth0.IPv4 with address 152.9.90.39.
 Sep 15 14:12:37 localhost avahi-daemon[1928]: iface.c:
 interface_mdns_mcast_join() called but no local address available.
 Sep 15 14:12:37 localhost avahi-daemon[1928]: Interface eth0.IPv4 no
 longer relevant for mDNS.
 Sep 15 14:12:37 localhost kernel: Bridge firewalling registered
 Sep 15 14:12:37 localhost kernel: eth0: Setting promiscuous mode.
 Sep 15 14:12:37 localhost kernel: device eth0 entered promiscuous mode
 Sep 15 14:12:37 localhost kernel: audit(1158343957.992:3): dev=eth0
 prom=256 old_prom=0 auid=4294967295
 Sep 15 14:12:38 localhost kernel: device ath0 entered promiscuous mode
 Sep 15 14:12:38 localhost kernel: audit(1158343958.188:4): dev=ath0
 prom=256 old_prom=0 auid=4294967295
 Sep 15 14:12:39 localhost dhclient: receive_packet failed on ath0: Network
 is down
 Sep 15 14:12:39 localhost kernel: BUG: warning at
 kernel/mutex.c:281/__mutex_trylock_slowpath() (Tainted: P     )
 Sep 15 14:12:39 localhost kernel:  <c042e5f9> mutex_trylock+0x8d/0x173
 <d0be01ab> br_min_mtu+0xc/0x78 [bridge]
 Sep 15 14:12:39 localhost kernel:  <c0602ae3> _spin_unlock_bh+0x5/0xa
 <d0be13a5> br_device_event+0x39/0xd8 [bridge]
 Sep 15 14:12:39 localhost kernel:  <c0603ccd>
 notifier_call_chain+0x15/0x25  <c05ab405> dev_set_mtu+0x4a/0x50
 Sep 15 14:12:39 localhost kernel:  <c05ad37e> dev_ioctl+0x3a2/0x46b
 <c05a2d03> sock_ioctl+0x1ae/0x1cd
 Sep 15 14:12:39 localhost kernel:  <c05a2b55> sock_ioctl+0x0/0x1cd
 <c046bdc1> do_ioctl+0x19/0x4d
 Sep 15 14:12:39 localhost kernel:  <c046bff4> vfs_ioctl+0x1ff/0x216
 <c046c057> sys_ioctl+0x4c/0x65
 Sep 15 14:12:39 localhost kernel:  <c0402cb3> syscall_call+0x7/0xb
 Sep 15 14:12:41 localhost dhclient: DHCPDISCOVER on ath0 to
 255.255.255.255 port 67 interval 8
 Sep 15 14:12:49 localhost dhclient: DHCPDISCOVER on ath0 to
 255.255.255.255 port 67 interval 21
 Sep 15 14:13:10 localhost dhclient: DHCPDISCOVER on ath0 to
 255.255.255.255 port 67 interval 12
 Sep 15 14:13:22 localhost dhclient: DHCPDISCOVER on ath0 to
 255.255.255.255 port 67 interval 6
 Sep 15 14:13:28 localhost dhclient: No DHCPOFFERS received.
 Sep 15 14:13:28 localhost NetworkManager: <information> ath0: Device is
 fully-supported using driver 'ath_pci'.
 Sep 15 14:13:28 localhost NetworkManager: <WARNING>
 nm_device_802_11_wireless_set_mode (): error setting card ath0 to
 Infrastructure mode: Invalid argument
 Sep 15 14:13:28 localhost NetworkManager: <information> nm_device_init():
 waiting for device's worker thread to start
 Sep 15 14:13:28 localhost NetworkManager: <WARNING>
 nm_device_802_11_wireless_set_mode (): error setting card ath0 to
 Infrastructure mode: Invalid argument
 Sep 15 14:13:28 localhost NetworkManager: <information> nm_device_init():
 device's worker thread started, continuing.
 Sep 15 14:13:28 localhost NetworkManager: <information> Now managing
 wireless (802.11) device 'ath0'.
 Sep 15 14:13:28 localhost NetworkManager: <information> Deactivating
 device ath0.
 Sep 15 14:13:28 localhost NetworkManager: <WARNING>
 nm_device_802_11_wireless_set_mode (): error setting card ath0 to
 Infrastructure mode: Invalid argument
 Sep 15 14:14:08 localhost last message repeated 2 times
 Sep 15 14:16:29 localhost last message repeated 2 times
 Sep 15 14:18:29 localhost NetworkManager: <WARNING>
 nm_device_802_11_wireless_set_mode (): error setting card ath0 to
 Infrastructure mode: Invalid argument
 }}}

 it seems that it has a problem with the line
 {{{
 iwconfig ath0 mode Master
 }}}
 because it complains about the mode argument.  i was following the how-to
 tutorial:
 http ://www.linux.com/article.pl?sid=06/07/10/1729226 which explicitly
 directs the use of such command.

 thanks again for your help.

-- 
Ticket URL: <http://madwifi.org/ticket/863>
MadWifi <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Madwifi-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/madwifi-tickets

Reply via email to