Search Linux Wireless

Re: Tr : Tr : Can't make RTL8188CE work with hostapd (rtl8192ce)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Hi Larry,

> 
> So after rebooting (and installing the compat drivers from 05-10) it seems to 
> work meaning that the process runs:
> 
> 5 S root      1486     1  0  80   0 -  1415 poll_s 16:03 ?        00:00:00 
> /usr/sbin/hostapd -B -P /var/run/hostapd.pid -dd /etc/hostapd/hostapd.conf
> 
> 
> Jul 27 16:06:15 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802.11: 
> authentication OK (open system)
> Jul 27 16:06:15 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802.11: 
> authenticated
> Jul 27 16:06:15 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802.11: 
> association OK (aid 1)
> Jul 27 16:06:15 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802.11: 
> associated (aid 1)
> Jul 27 16:06:18 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802.11: 
> deauthenticated due to local deauth request
> Jul 27 16:06:22 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802.11: 
> authentication OK (open system)
> Jul 27 16:06:22 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802.11: 
> authenticated
> Jul 27 16:06:22 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802.11: 
> association OK (aid 1)
> Jul 27 16:06:22 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802.11: 
> associated (aid 1)
> Jul 27 16:06:25 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802.11: 
> deauthenticated due to local deauth request
> Jul 27 16:06:29 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802.11: 
> authentication OK (open system)
> Jul 27 16:06:29 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802.11: 
> authenticated
> Jul 27 16:06:29 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802.11: 
> association OK (aid 1)
> Jul 27 16:06:29 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802.11: 
> associated (aid 1)
> 
> but I launch manually it doesn't work anymore
> 
> xabix@HTPC:~$ sudo service hostapd stop
> [sudo] password for xabix: 
>  * Stopping advanced IEEE 802.11 management hostapd
>    ...done.
> xabix@HTPC:~$ /usr/sbin/hostapd -B -P /var/run/hostapd.pid -dd 
> /etc/hostapd/hostapd.conf
> Configuration file: /etc/hostapd/hostapd.conf
> ctrl_interface_group=0
> nl80211: Register Action command failed: ret=-1 (Operation not permitted)
> nl80211: Register Action match - hexdump(len=1): 06
> nl80211: Failed to register Action frame processing - ignore for now
> nl80211: Add own interface ifindex 3
> nl80211: Add own interface ifindex 4
> nl80211: Failed to set interface 4 to mode 3: -1 (Operation not permitted)
> nl80211: Failed to set interface 4 to mode 3: -1 (Operation not permitted)
> Could not set interface wlan0 flags: Permission denied
> nl80211: Interface mode change to 3 from 0 failed
> nl80211: Failed to set interface wlan0 into AP mode
> nl80211 driver initialization failed.
> rmdir[ctrl_interface]: No such file or directory
> ELOOP: remaining socket: sock=4 eloop_data=0x9cdc910 user_data=0x9cde780 
> handler=0x807c
> 
> 
> so the only to launch it for now is to reboot :)
> 
> I dit put this on the conf file
> # Levels (minimum value for logged events):
> #  0 = verbose debugging
> #  1 = debugging
> #  2 = informational messages
> #  3 = notification
> #  4 = warning
> logger_syslog=1
> logger_syslog_level=0
> 
> 
> but I don't see enough logs to know why after the association there is a 
> deauthentication.
> 
> Cheers
> almost there :D


Too me it looks like it's working but the isc-dhcp-relay dies when the interface goes down for power mgt;

xabix@HTPC:~$ sudo tcpdump -n -i br0 port bootps or port bootpc
[sudo] password for xabix: 
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on br0, link-type EN10MB (Ethernet), capture size 65535 bytes
16:42:48.997437 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 88:30:8a:52:ed:cd, length 356


Jul 27 16:10:31 HTPC dhcrelay: receive_packet failed on wlan0: Network is down

Jul 27 16:43:50 HTPC NetworkManager[1282]: <info> Unmanaged Device found; state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889)
Jul 27 16:43:50 HTPC NetworkManager[1282]: <info> Unmanaged Device found; state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889)
Jul 27 17:32:00 HTPC kernel: [ 5321.199053] init: isc-dhcp-relay main process (4351) terminated with status 1
Jul 27 17:32:00 HTPC kernel: [ 5321.199116] init: isc-dhcp-relay main process ended, respawning
Jul 27 17:32:00 HTPC dhcrelay: Usage: dhcrelay [-4] [-d] [-q] [-a] [-D]#012                     [-A <length>] [-c <hops>] [-p <port>]#012                     [-pf <pid-file>] [--no-pid]#012                     [-m append|replace|forward|discard]#012                     [-i interface0 [ ... -i interfaceN]#012                     server0 [ ... serverN]#012#012       dhcrelay -6   [-d] [-q] [-I] [-c <hops>] [-p <port>]#012                     [-pf <pid-file>] [--no-pid]#012                     -l lower0 [ ... -l lowerN]#012                     -u upper0 [ ... -u upperN]#012       lower (client link): [address%]interface[#index]#012       upper (server link): [address%]interface
Jul 27 17:32:00 HTPC kernel: [ 5321.209552] init: isc-dhcp-relay main process (4353) terminated with status 1
Jul 27 17:32:00 HTPC kernel: [ 5321.209637] init: isc-dhcp-relay main process ended, respawning
Jul 27 17:32:00 HTPC dhcrelay: Usage: dhcrelay [-4] [-d] [-q] [-a] [-D]#012                     [-A <length>] [-c <hops>] [-p <port>]#012                     [-pf <pid-file>] [--no-pid]#012                     [-m append|replace|forward|discard]#012                     [-i interface0 [ ... -i interfaceN]#012                     server0 [ ... serverN]#012#012       dhcrelay -6   [-d] [-q] [-I] [-c <hops>] [-p <port>]#012                     [-pf <pid-file>] [--no-pid]#012                     -l lower0 [ ... -l lowerN]#012                     -u upper0 [ ... -u upperN]#012       lower (client link): [address%]interface[#index]#012       upper (server link): [address%]interface
Jul 27 17:32:00 HTPC kernel: [ 5321.220074] init: isc-dhcp-relay main process (4355) terminated with status 1
Jul 27 17:32:00 HTPC kernel: [ 5321.220143] init: isc-dhcp-relay main process ended, respawning
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux