Discussion:
Can't make RTL8188CE work with hostapd (rtl8192ce)
Xavier de Almeida
2012-07-23 20:31:00 UTC
Permalink
Hello,

I am trying to setup a wireless hotspot with my xs36v barbone. Unfortun=
ately when I start hostapd, I have got the following error:

hostapd -dd /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
nl80211: Add own interface ifindex 3
nl80211: Add own interface ifindex 4
nl80211: New interface mon.wlan0 created: ifindex=3D8
nl80211: Add own interface ifindex 8
Could not set interface mon.wlan0 flags: Operation not possible due to =
RF-kill
nl80211: Remove interface ifindex=3D8
nl80211: Failed to set interface wlan0 into AP mode
nl80211 driver initialization failed.
ELOOP: remaining socket: sock=3D4 eloop_data=3D0x842e900 user_data=3D0x=
842eeb0 handler=3D0x807c5e0
ELOOP: remaining socket: sock=3D6 eloop_data=3D0x8430cb8 user_data=3D(n=
il) handler=3D0x8086770

I tried with different drivers like=A0mac80211.

I did install the drivers from Realtek website (rtl_92ce_92se_92de_linu=
x_mac80211_0005.1230.2011) and the latest=A0linux-firmware_1.84_all.deb

But I can't make it work for any reason. Any help would be welcome. Do =
I need to move to a newest kernel to make it work?

Thanks
XabiX

lspci
02:00.5 Ethernet controller: JMicron Technology Corp. JMC250 PCI Expres=
s Gigabit Ethernet Controller (rev 03)
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188CE 8=
02.11b/g/n WiFi Adapter (rev 01)

lsmod
rtl8192ce =A0 =A0 =A0 =A0 =A0 =A0 =A075491 =A00=A0
rtl8192c_common =A0 =A0 =A0 =A069519 =A01 rtl8192ce
rtlwifi =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A095804 =A01 rtl8192ce
mac80211 =A0 =A0 =A0 =A0 =A0 =A0 =A0436455 =A03 rtl8192ce,rtl8192c_comm=
on,rtlwifi
cfg80211 =A0 =A0 =A0 =A0 =A0 =A0 =A0178679 =A02 rtlwifi,mac80211

modinfo rtl8192ce
filename: =A0 =A0 =A0 /lib/modules/3.2.0-26-generic/kernel/drivers/net/=
wireless/rtlwifi/rtl8192ce/rtl8192ce.ko
firmware: =A0 =A0 =A0 rtlwifi/rtl8192cfw.bin
description: =A0 =A0Realtek 8192C/8188C 802.11n PCI wireless
license: =A0 =A0 =A0 =A0GPL
author: =A0 =A0 =A0 =A0 Larry Finger =A0 =A0<Larry.Finger-***@public.gmane.org>
author: =A0 =A0 =A0 =A0 Realtek WlanFAE <wlanfae-***@public.gmane.org>
author: =A0 =A0 =A0 =A0 lizhaoming =A0 =A0 =A0<chaoming_li-***@public.gmane.org=
cn>
srcversion: =A0 =A0 18B9D7DE9AA317668E0197D
alias: =A0 =A0 =A0 =A0 =A0pci:v000010ECd00008176sv*sd*bc*sc*i*
alias: =A0 =A0 =A0 =A0 =A0pci:v000010ECd00008177sv*sd*bc*sc*i*
alias: =A0 =A0 =A0 =A0 =A0pci:v000010ECd00008178sv*sd*bc*sc*i*
alias: =A0 =A0 =A0 =A0 =A0pci:v000010ECd00008191sv*sd*bc*sc*i*
depends: =A0 =A0 =A0 =A0rtlwifi,mac80211
vermagic: =A0 =A0 =A0 3.2.0-26-generic SMP mod_unload modversions 686=A0
parm: =A0 =A0 =A0 =A0 =A0 swlps:bool
parm: =A0 =A0 =A0 =A0 =A0 swenc:using hardware crypto (default 0 [hardw=
are])
parm: =A0 =A0 =A0 =A0 =A0 ips:using no link power save (default 1 is op=
en)
parm: =A0 =A0 =A0 =A0 =A0 fwlps:using linked fw control power save (def=
ault 1 is open)

/etc/hostapd/hostapd.conf=A0
interface=3Dwlan0
driver=3Dnl80211
bridge=3Dbr0
ssid=3Dmy ssid
hw_mode=3Dg
channel=3D6
macaddr_acl=3D0
ignore_broadcast_ssid=3D0
auth_algs=3D1
wpa=3D2
wpa_passphrase=3DmyPWDwithMOREthan8digits
wpa_key_mgmt=3DWPA-PSK
wpa_pairwise=3DTKIP
rsn_pairwise=3DCCMP

nm-tool=A0=A0NetworkManager Tool

State: connected (global)
- Device: wlan0 -------------------------------------------------------=
---------
=A0 Type: =A0 =A0 =A0 =A0 =A0 =A0 =A0802.11 WiFi
=A0 Driver: =A0 =A0 =A0 =A0 =A0 =A0rtl8192ce
=A0 State: =A0 =A0 =A0 =A0 =A0 =A0 unmanaged
=A0 Default: =A0 =A0 =A0 =A0 =A0 no
=A0 HW Address: =A0 =A0 =A0 =A0E0:91:53:6F:55:E7

=A0 Capabilities:
=A0 Wireless Properties
=A0 =A0 WEP Encryption: =A0yes
=A0 =A0 WPA Encryption: =A0yes
=A0 =A0 WPA2 Encryption: yes
=A0 Wireless Access Points=A0

- Device: eth0 --------------------------------------------------------=
---------
=A0 Type: =A0 =A0 =A0 =A0 =A0 =A0 =A0Wired
=A0 Driver: =A0 =A0 =A0 =A0 =A0 =A0jme
=A0 State: =A0 =A0 =A0 =A0 =A0 =A0 unmanaged
=A0 Default: =A0 =A0 =A0 =A0 =A0 no
=A0 HW Address: =A0 =A0 =A0 =A080:EE:73:31:54:B2

=A0 Capabilities:
=A0 =A0 Carrier Detect: =A0yes
=A0 =A0 Speed: =A0 =A0 =A0 =A0 =A0 1000 Mb/s

=A0 Wired Properties
=A0 =A0 Carrier: =A0 =A0 =A0 =A0 on

rfkill list all
0: phy0: Wireless LAN
=A0 =A0 =A0 =A0 Soft blocked: yes
=A0 =A0 =A0 =A0 Hard blocked: no

iwconfig=A0
lo =A0 =A0 =A0 =A0no wireless extensions.
br0 =A0 =A0 =A0 no wireless extensions.
wlan0 =A0 =A0 IEEE 802.11bgn =A0Mode:Master =A0Tx-Power=3Doff =A0=A0
=A0 =A0 =A0 =A0 =A0 Retry =A0long limit:7 =A0 RTS thr=3D2347 B =A0 Frag=
ment thr:off
=A0 =A0 =A0 =A0 =A0 Power Management:on
eth0 =A0 =A0 =A0no wireless extensions.

/etc/network/interfaces
auto lo br0
iface lo inet loopback

allow-hotplug eth0
iface eth0 inet manual

allow-hotplug wlan0
iface wlan0 inet manual

iface br0 inet dhcp
bridge_ports eth0 wlan0

ifconfig
br0 =A0 =A0 =A0 Link encap:Ethernet =A0HWaddr 80:ee:73:31:54:b2 =A0
=A0 =A0 =A0 =A0 =A0 inet addr:192.168.0.40 =A0Bcast:192.168.0.255 =A0Ma=
sk:255.255.255.0
=A0 =A0 =A0 =A0 =A0 inet6 addr: fe80::82ee:73ff:fe31:54b2/64 Scope:Link
=A0 =A0 =A0 =A0 =A0 UP BROADCAST RUNNING MULTICAST =A0MTU:1500 =A0Metri=
c:1
=A0 =A0 =A0 =A0 =A0 RX packets:14803 errors:0 dropped:0 overruns:0 fram=
e:0
=A0 =A0 =A0 =A0 =A0 TX packets:2700 errors:0 dropped:0 overruns:0 carri=
er:0
=A0 =A0 =A0 =A0 =A0 collisions:0 txqueuelen:0=A0
=A0 =A0 =A0 =A0 =A0 RX bytes:1035011 (1.0 MB) =A0TX bytes:419797 (419.7=
KB)

eth0 =A0 =A0 =A0Link encap:Ethernet =A0HWaddr 80:ee:73:31:54:b2 =A0
=A0 =A0 =A0 =A0 =A0 UP BROADCAST RUNNING MULTICAST =A0MTU:1500 =A0Metri=
c:1
=A0 =A0 =A0 =A0 =A0 RX packets:18312 errors:0 dropped:130 overruns:0 fr=
ame:0
=A0 =A0 =A0 =A0 =A0 TX packets:2636 errors:0 dropped:0 overruns:0 carri=
er:0
=A0 =A0 =A0 =A0 =A0 collisions:0 txqueuelen:1000=A0
=A0 =A0 =A0 =A0 =A0 RX bytes:2148515 (2.1 MB) =A0TX bytes:414373 (414.3=
KB)
=A0 =A0 =A0 =A0 =A0 Interrupt:45=A0

lo =A0 =A0 =A0 =A0Link encap:Local Loopback =A0
=A0 =A0 =A0 =A0 =A0 inet addr:127.0.0.1 =A0Mask:255.0.0.0
=A0 =A0 =A0 =A0 =A0 inet6 addr: ::1/128 Scope:Host
=A0 =A0 =A0 =A0 =A0 UP LOOPBACK RUNNING =A0MTU:16436 =A0Metric:1
=A0 =A0 =A0 =A0 =A0 RX packets:4666 errors:0 dropped:0 overruns:0 frame=
:0
=A0 =A0 =A0 =A0 =A0 TX packets:4666 errors:0 dropped:0 overruns:0 carri=
er:0
=A0 =A0 =A0 =A0 =A0 collisions:0 txqueuelen:0=A0
=A0 =A0 =A0 =A0 =A0 RX bytes:329583=A0(329.5=A0KB) =A0TX bytes:329583=A0=
(329.5=A0KB)
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Larry Finger
2012-07-23 21:07:35 UTC
Permalink
On 07/23/2012 03:31 PM, Xavier de Almeida wrote:
> Hello,
>
> I am trying to setup a wireless hotspot with my xs36v barbone. Unfortunately when I start hostapd, I have got the following error:
>
> hostapd -dd /etc/hostapd/hostapd.conf
> Configuration file: /etc/hostapd/hostapd.conf
> nl80211: Add own interface ifindex 3
> nl80211: Add own interface ifindex 4
> nl80211: New interface mon.wlan0 created: ifindex=8
> nl80211: Add own interface ifindex 8
> Could not set interface mon.wlan0 flags: Operation not possible due to RF-kill
> nl80211: Remove interface ifindex=8
> nl80211: Failed to set interface wlan0 into AP mode
> nl80211 driver initialization failed.
> ELOOP: remaining socket: sock=4 eloop_data=0x842e900 user_data=0x842eeb0 handler=0x807c5e0
> ELOOP: remaining socket: sock=6 eloop_data=0x8430cb8 user_data=(nil) handler=0x8086770
>
> I tried with different drivers like mac80211.
>
> I did install the drivers from Realtek website (rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011) and the latest linux-firmware_1.84_all.deb
>
> But I can't make it work for any reason. Any help would be welcome. Do I need to move to a newest kernel to make it work?
>
> Thanks
> XabiX
>
> lspci
> 02:00.5 Ethernet controller: JMicron Technology Corp. JMC250 PCI Express Gigabit Ethernet Controller (rev 03)
> 03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter (rev 01)
>
> lsmod
> rtl8192ce 75491 0
> rtl8192c_common 69519 1 rtl8192ce
> rtlwifi 95804 1 rtl8192ce
> mac80211 436455 3 rtl8192ce,rtl8192c_common,rtlwifi
> cfg80211 178679 2 rtlwifi,mac80211
>
> modinfo rtl8192ce
> filename: /lib/modules/3.2.0-26-generic/kernel/drivers/net/wireless/rtlwifi/rtl8192ce/rtl8192ce.ko
> firmware: rtlwifi/rtl8192cfw.bin
> description: Realtek 8192C/8188C 802.11n PCI wireless
> license: GPL
> author: Larry Finger <Larry.Finger-***@public.gmane.org>
> author: Realtek WlanFAE <wlanfae-***@public.gmane.org>
> author: lizhaoming <chaoming_li-***@public.gmane.org>
> srcversion: 18B9D7DE9AA317668E0197D
> alias: pci:v000010ECd00008176sv*sd*bc*sc*i*
> alias: pci:v000010ECd00008177sv*sd*bc*sc*i*
> alias: pci:v000010ECd00008178sv*sd*bc*sc*i*
> alias: pci:v000010ECd00008191sv*sd*bc*sc*i*
> depends: rtlwifi,mac80211
> vermagic: 3.2.0-26-generic SMP mod_unload modversions 686
> parm: swlps:bool
> parm: swenc:using hardware crypto (default 0 [hardware])
> parm: ips:using no link power save (default 1 is open)
> parm: fwlps:using linked fw control power save (default 1 is open)

Your main problem is that your kernel is too old. A lot of changes have been
made since 3.2.0. If you obtain the bleeding-edge compat-wireless package for
your system, you are likely to have more success. That will get the wireless
code that will not be released for about 3 months, rather than using what was
available 1 year ago.

Larry



--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Xavier de Almeida
2012-07-24 13:56:33 UTC
Permalink
Thanks Larry for your help.
I tried 3.4.6 and 3.5.0 Quantal kernels but they didn't boot with my i8=
042 keyboard chip.

So I have installed=A03.2.23-030223 and it now starts OK.

=46YI here is the new log (I ll have to investigate why the auth betwee=
n the endpoint and the hotspot doesn't work)

MERCI
XabiX=A0

Configuration file: /etc/hostapd/hostapd.conf
nl80211: Register Action command failed: ret=3D-114 (Operation already =
in progress)
nl80211: Register Action match - hexdump(len=3D1): 06
nl80211: Failed to register Action frame processing - ignore for now
nl80211: Interface wlan0 is in bridge br0
nl80211: Add own interface ifindex 3
nl80211: Add own interface ifindex 4
nl80211: New interface mon.wlan0 created: ifindex=3D9
nl80211: Add own interface ifindex 9
BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
nl80211: Added 802.11b mode based on 802.11g information
Allowed channel: mode=3D1 chan=3D1 freq=3D2412 MHz max_tx_power=3D20 dB=
m
Allowed channel: mode=3D1 chan=3D2 freq=3D2417 MHz max_tx_power=3D20 dB=
m
Allowed channel: mode=3D1 chan=3D3 freq=3D2422 MHz max_tx_power=3D20 dB=
m
Allowed channel: mode=3D1 chan=3D4 freq=3D2427 MHz max_tx_power=3D20 dB=
m
Allowed channel: mode=3D1 chan=3D5 freq=3D2432 MHz max_tx_power=3D20 dB=
m
Allowed channel: mode=3D1 chan=3D6 freq=3D2437 MHz max_tx_power=3D20 dB=
m
Allowed channel: mode=3D1 chan=3D7 freq=3D2442 MHz max_tx_power=3D20 dB=
m
Allowed channel: mode=3D1 chan=3D8 freq=3D2447 MHz max_tx_power=3D20 dB=
m
Allowed channel: mode=3D1 chan=3D9 freq=3D2452 MHz max_tx_power=3D20 dB=
m
Allowed channel: mode=3D1 chan=3D10 freq=3D2457 MHz max_tx_power=3D20 d=
Bm
Allowed channel: mode=3D1 chan=3D11 freq=3D2462 MHz max_tx_power=3D20 d=
Bm
Allowed channel: mode=3D1 chan=3D12 freq=3D2467 MHz max_tx_power=3D20 d=
Bm
Allowed channel: mode=3D1 chan=3D13 freq=3D2472 MHz max_tx_power=3D20 d=
Bm
Allowed channel: mode=3D0 chan=3D1 freq=3D2412 MHz max_tx_power=3D20 dB=
m
Allowed channel: mode=3D0 chan=3D2 freq=3D2417 MHz max_tx_power=3D20 dB=
m
Allowed channel: mode=3D0 chan=3D3 freq=3D2422 MHz max_tx_power=3D20 dB=
m
Allowed channel: mode=3D0 chan=3D4 freq=3D2427 MHz max_tx_power=3D20 dB=
m
Allowed channel: mode=3D0 chan=3D5 freq=3D2432 MHz max_tx_power=3D20 dB=
m
Allowed channel: mode=3D0 chan=3D6 freq=3D2437 MHz max_tx_power=3D20 dB=
m
Allowed channel: mode=3D0 chan=3D7 freq=3D2442 MHz max_tx_power=3D20 dB=
m
Allowed channel: mode=3D0 chan=3D8 freq=3D2447 MHz max_tx_power=3D20 dB=
m
Allowed channel: mode=3D0 chan=3D9 freq=3D2452 MHz max_tx_power=3D20 dB=
m
Allowed channel: mode=3D0 chan=3D10 freq=3D2457 MHz max_tx_power=3D20 d=
Bm
Allowed channel: mode=3D0 chan=3D11 freq=3D2462 MHz max_tx_power=3D20 d=
Bm
Allowed channel: mode=3D0 chan=3D12 freq=3D2467 MHz max_tx_power=3D20 d=
Bm
Allowed channel: mode=3D0 chan=3D13 freq=3D2472 MHz max_tx_power=3D20 d=
Bm
RATE[0] rate=3D10 flags=3D0x1
RATE[1] rate=3D20 flags=3D0x1
RATE[2] rate=3D55 flags=3D0x1
RATE[3] rate=3D110 flags=3D0x1
RATE[4] rate=3D60 flags=3D0x0
RATE[5] rate=3D90 flags=3D0x0
RATE[6] rate=3D120 flags=3D0x0
RATE[7] rate=3D180 flags=3D0x0
RATE[8] rate=3D240 flags=3D0x0
RATE[9] rate=3D360 flags=3D0x0
RATE[10] rate=3D480 flags=3D0x0
RATE[11] rate=3D540 flags=3D0x0
Completing interface initialization
Mode: IEEE 802.11g =A0Channel: 6 =A0Frequency: 2437 MHz
=46lushing old station entries
Deauthenticate all stations
wpa_driver_nl80211_set_key: ifindex=3D4 alg=3D0 addr=3D(nil) key_idx=3D=
0 set_tx=3D1 seq_len=3D0 key_len=3D0
wpa_driver_nl80211_set_key: ifindex=3D4 alg=3D0 addr=3D(nil) key_idx=3D=
1 set_tx=3D0 seq_len=3D0 key_len=3D0
wpa_driver_nl80211_set_key: ifindex=3D4 alg=3D0 addr=3D(nil) key_idx=3D=
2 set_tx=3D0 seq_len=3D0 key_len=3D0
wpa_driver_nl80211_set_key: ifindex=3D4 alg=3D0 addr=3D(nil) key_idx=3D=
3 set_tx=3D0 seq_len=3D0 key_len=3D0
Using interface wlan0 with hwaddr e0:91:53:6f:55:e7 and ssid 'myWIFI'
Deriving WPA PSK based on passphrase
SSID - hexdump_ascii(len=3D12):
=A0 =A0 =A053 77 65 65 74 20 48 6f 6d 65 20 32 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 myWIFI =A0 =A0
PSK (ASCII passphrase) - hexdump_ascii(len=3D24): [REMOVED]
PSK (from passphrase) - hexdump(len=3D32): [REMOVED]
WPA: group state machine entering state GTK_INIT (VLAN-ID 0)
GMK - hexdump(len=3D32): [REMOVED]
GTK - hexdump(len=3D16): [REMOVED]
WPA: group state machine entering state SETKEYSDONE (VLAN-ID 0)
wpa_driver_nl80211_set_key: ifindex=3D4 alg=3D3 addr=3D(nil) key_idx=3D=
1 set_tx=3D1 seq_len=3D0 key_len=3D16
nl80211: Set beacon (beacon_set=3D0)
wlan0: Setup of interface done.
RTM_NEWLINK: operstate=3D0 ifi_flags=3D0x1002 ()
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Unknown event 5
RTM_NEWLINK: operstate=3D0 ifi_flags=3D0x1002 ()
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Unknown event 5
nl80211: Add ifindex 3 for bridge br0
nl80211: Add own interface ifindex 3
RTM_NEWLINK: operstate=3D0 ifi_flags=3D0x1002 ()
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Unknown event 5
nl80211: Add ifindex 3 for bridge br0
nl80211: Add own interface ifindex 3
RTM_NEWLINK: operstate=3D0 ifi_flags=3D0x1002 ()
RTM_NEWLINK, IFLA_IFNAME: Interface 'mon.wlan0' added
Unknown event 5
RTM_NEWLINK: operstate=3D0 ifi_flags=3D0x11043 ([UP][RUNNING][LOWER_UP]=
)
RTM_NEWLINK, IFLA_IFNAME: Interface 'mon.wlan0' added
Unknown event 5
RTM_NEWLINK: operstate=3D0 ifi_flags=3D0x11043 ([UP][RUNNING][LOWER_UP]=
)
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Unknown event 5
RTM_NEWLINK: operstate=3D0 ifi_flags=3D0x11043 ([UP][RUNNING][LOWER_UP]=
)
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Unknown event 5
nl80211: Add ifindex 3 for bridge br0
nl80211: Add own interface ifindex 3
RTM_NEWLINK: operstate=3D0 ifi_flags=3D0x11043 ([UP][RUNNING][LOWER_UP]=
)
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Unknown event 5
nl80211: Add ifindex 3 for bridge br0
nl80211: Add own interface ifindex 3
RTM_NEWLINK: operstate=3D0 ifi_flags=3D0x11043 ([UP][RUNNING][LOWER_UP]=
)
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Unknown event 5
nl80211: Add ifindex 3 for bridge br0
nl80211: Add own interface ifindex 3
unknown vendor specific information element ignored (vendor OUI 00:10:1=
8 len=3D9)
STA 88:30:8a:52:ed:cd sent probe request for broadcast SSID
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:10:1=
8 len=3D9)
STA 88:30:8a:52:ed:cd sent probe request for broadcast SSID
mgmt::proberesp cb
RTM_NEWLINK: operstate=3D0 ifi_flags=3D0x11043 ([UP][RUNNING][LOWER_UP]=
)
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Unknown event 5
nl80211: Add ifindex 3 for bridge br0
nl80211: Add own interface ifindex 3
unknown vendor specific information element ignored (vendor OUI 00:10:1=
8 len=3D9)
STA 88:30:8a:52:ed:cd sent probe request for our SSID
mgmt::proberesp cb
mgmt::auth
authentication: STA=3D88:30:8a:52:ed:cd auth_alg=3D0 auth_transaction=3D=
1 status_code=3D0 wep=3D0
=A0 New STA
wlan0: STA 88:30:8a:52:ed:cd IEEE 802.11: authentication OK (open syste=
m)
wlan0: STA 88:30:8a:52:ed:cd MLME: MLME-AUTHENTICATE.indication(88:30:8=
a:52:ed:cd, OPEN_SYSTEM)
wlan0: STA 88:30:8a:52:ed:cd MLME: MLME-DELETEKEYS.request(88:30:8a:52:=
ed:cd)
authentication reply: STA=3D88:30:8a:52:ed:cd auth_alg=3D0 auth_transac=
tion=3D2 resp=3D0 (IE len=3D0)
mgmt::auth cb
wlan0: STA 88:30:8a:52:ed:cd IEEE 802.11: authenticated
mgmt::assoc_req
association request: STA=3D88:30:8a:52:ed:cd capab_info=3D0x431 listen_=
interval=3D10
unknown vendor specific information element ignored (vendor OUI 00:10:1=
8 len=3D9)
=A0 new AID 1
wlan0: STA 88:30:8a:52:ed:cd IEEE 802.11: association OK (aid 1)
mgmt::assoc_resp cb
wlan0: STA 88:30:8a:52:ed:cd IEEE 802.11: associated (aid 1)
wlan0: STA 88:30:8a:52:ed:cd MLME: MLME-ASSOCIATE.indication(88:30:8a:5=
2:ed:cd)
wlan0: STA 88:30:8a:52:ed:cd MLME: MLME-DELETEKEYS.request(88:30:8a:52:=
ed:cd)
wpa_driver_nl80211_set_key: ifindex=3D4 alg=3D0 addr=3D0x981cb48 key_id=
x=3D0 set_tx=3D1 seq_len=3D0 key_len=3D0
=A0 =A0addr=3D88:30:8a:52:ed:cd
wlan0: STA 88:30:8a:52:ed:cd WPA: event 1 notification
wpa_driver_nl80211_set_key: ifindex=3D4 alg=3D0 addr=3D0x981cb48 key_id=
x=3D0 set_tx=3D1 seq_len=3D0 key_len=3D0
=A0 =A0addr=3D88:30:8a:52:ed:cd
wlan0: STA 88:30:8a:52:ed:cd WPA: start authentication
WPA: 88:30:8a:52:ed:cd WPA_PTK entering state INITIALIZE
wpa_driver_nl80211_set_key: ifindex=3D4 alg=3D0 addr=3D0x981cb48 key_id=
x=3D0 set_tx=3D1 seq_len=3D0 key_len=3D0
=A0 =A0addr=3D88:30:8a:52:ed:cd
wlan0: STA 88:30:8a:52:ed:cd IEEE 802.1X: unauthorizing port
WPA: 88:30:8a:52:ed:cd WPA_PTK_GROUP entering state IDLE
WPA: 88:30:8a:52:ed:cd WPA_PTK entering state AUTHENTICATION
WPA: 88:30:8a:52:ed:cd WPA_PTK entering state AUTHENTICATION2
WPA: 88:30:8a:52:ed:cd WPA_PTK entering state INITPSK
WPA: 88:30:8a:52:ed:cd WPA_PTK entering state PTKSTART
wlan0: STA 88:30:8a:52:ed:cd WPA: sending 1/4 msg of 4-Way Handshake
WPA: Send EAPOL(version=3D2 secure=3D0 mic=3D0 ack=3D1 install=3D0 pair=
wise=3D8 kde_len=3D0 keyidx=3D0 encr=3D0)
nl80211: Event message available
nl80211: Ignored unknown event (cmd=3D19)
IEEE 802.1X: 88:30:8a:52:ed:cd TX status - version=3D2 type=3D3 length=3D=
95 - ack=3D1
wlan0: STA 88:30:8a:52:ed:cd WPA: EAPOL-Key timeout
WPA: 88:30:8a:52:ed:cd WPA_PTK entering state PTKSTART
wlan0: STA 88:30:8a:52:ed:cd WPA: sending 1/4 msg of 4-Way Handshake
WPA: Send EAPOL(version=3D2 secure=3D0 mic=3D0 ack=3D1 install=3D0 pair=
wise=3D8 kde_len=3D0 keyidx=3D0 encr=3D0)
IEEE 802.1X: 88:30:8a:52:ed:cd TX status - version=3D2 type=3D3 length=3D=
95 - ack=3D1
wlan0: STA 88:30:8a:52:ed:cd WPA: EAPOL-Key timeout
WPA: 88:30:8a:52:ed:cd WPA_PTK entering state PTKSTART
wlan0: STA 88:30:8a:52:ed:cd WPA: sending 1/4 msg of 4-Way Handshake
WPA: Send EAPOL(version=3D2 secure=3D0 mic=3D0 ack=3D1 install=3D0 pair=
wise=3D8 kde_len=3D0 keyidx=3D0 encr=3D0)
IEEE 802.1X: 88:30:8a:52:ed:cd TX status - version=3D2 type=3D3 length=3D=
95 - ack=3D1
wlan0: STA 88:30:8a:52:ed:cd WPA: EAPOL-Key timeout
WPA: 88:30:8a:52:ed:cd WPA_PTK entering state PTKSTART
wlan0: STA 88:30:8a:52:ed:cd WPA: sending 1/4 msg of 4-Way Handshake
WPA: Send EAPOL(version=3D2 secure=3D0 mic=3D0 ack=3D1 install=3D0 pair=
wise=3D8 kde_len=3D0 keyidx=3D0 encr=3D0)
IEEE 802.1X: 88:30:8a:52:ed:cd TX status - version=3D2 type=3D3 length=3D=
95 - ack=3D1
unknown vendor specific information element ignored (vendor OUI 00:10:1=
8 len=3D9)
STA 88:30:8a:52:ed:cd sent probe request for our SSID
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:10:1=
8 len=3D9)
STA 88:30:8a:52:ed:cd sent probe request for our SSID
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:10:1=
8 len=3D9)
STA 88:30:8a:52:ed:cd sent probe request for our SSID
mgmt::proberesp cb
wlan0: STA 88:30:8a:52:ed:cd WPA: EAPOL-Key timeout
WPA: 88:30:8a:52:ed:cd WPA_PTK entering state PTKSTART
WPA: 88:30:8a:52:ed:cd WPA_PTK entering state DISCONNECT
hostapd_wpa_auth_disconnect: WPA authenticator requests disconnect: STA=
88:30:8a:52:ed:cd reason 2
WPA: 88:30:8a:52:ed:cd WPA_PTK entering state DISCONNECTED
WPA: 88:30:8a:52:ed:cd WPA_PTK entering state INITIALIZE
wpa_driver_nl80211_set_key: ifindex=3D4 alg=3D0 addr=3D0x981cb48 key_id=
x=3D0 set_tx=3D1 seq_len=3D0 key_len=3D0
=A0 =A0addr=3D88:30:8a:52:ed:cd
wlan0: STA 88:30:8a:52:ed:cd IEEE 802.1X: unauthorizing port
wlan0: STA 88:30:8a:52:ed:cd IEEE 802.11: deauthenticated due to local =
deauth request
nl80211: Event message available
nl80211: Ignored unknown event (cmd=3D20)
Data/PS-poll frame from not associated STA 88:30:8a:52:ed:cd
unknown vendor specific information element ignored (vendor OUI 00:10:1=
8 len=3D9)
STA 88:30:8a:52:ed:cd sent probe request for broadcast SSID
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:10:1=
8 len=3D9)
STA 88:30:8a:52:ed:cd sent probe request for broadcast SSID
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:10:1=
8 len=3D9)
STA 88:30:8a:52:ed:cd sent probe request for broadcast SSID
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:10:1=
8 len=3D9)
STA 88:30:8a:52:ed:cd sent probe request for broadcast SSID
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:10:1=
8 len=3D9)
STA 88:30:8a:52:ed:cd sent probe request for our SSID
mgmt::proberesp cb
mgmt::auth
authentication: STA=3D88:30:8a:52:ed:cd auth_alg=3D0 auth_transaction=3D=
1 status_code=3D0 wep=3D0
=A0 New STA
wlan0: STA 88:30:8a:52:ed:cd IEEE 802.11: authentication OK (open syste=
m)
wlan0: STA 88:30:8a:52:ed:cd MLME: MLME-AUTHENTICATE.indication(88:30:8=
a:52:ed:cd, OPEN_SYSTEM)
wlan0: STA 88:30:8a:52:ed:cd MLME: MLME-DELETEKEYS.request(88:30:8a:52:=
ed:cd)
authentication reply: STA=3D88:30:8a:52:ed:cd auth_alg=3D0 auth_transac=
tion=3D2 resp=3D0 (IE len=3D0)
mgmt::auth cb
wlan0: STA 88:30:8a:52:ed:cd IEEE 802.11: authenticated
mgmt::assoc_req
association request: STA=3D88:30:8a:52:ed:cd capab_info=3D0x431 listen_=
interval=3D10
unknown vendor specific information element ignored (vendor OUI 00:10:1=
8 len=3D9)
=A0 new AID 1
wlan0: STA 88:30:8a:52:ed:cd IEEE 802.11: association OK (aid 1)
mgmt::assoc_resp cb
wlan0: STA 88:30:8a:52:ed:cd IEEE 802.11: associated (aid 1)
wlan0: STA 88:30:8a:52:ed:cd MLME: MLME-ASSOCIATE.indication(88:30:8a:5=
2:ed:cd)
wlan0: STA 88:30:8a:52:ed:cd MLME: MLME-DELETEKEYS.request(88:30:8a:52:=
ed:cd)
wpa_driver_nl80211_set_key: ifindex=3D4 alg=3D0 addr=3D0x981cb48 key_id=
x=3D0 set_tx=3D1 seq_len=3D0 key_len=3D0
=A0 =A0addr=3D88:30:8a:52:ed:cd
wlan0: STA 88:30:8a:52:ed:cd WPA: event 1 notification
wpa_driver_nl80211_set_key: ifindex=3D4 alg=3D0 addr=3D0x981cb48 key_id=
x=3D0 set_tx=3D1 seq_len=3D0 key_len=3D0
=A0 =A0addr=3D88:30:8a:52:ed:cd
wlan0: STA 88:30:8a:52:ed:cd WPA: start authentication
WPA: 88:30:8a:52:ed:cd WPA_PTK entering state INITIALIZE
wpa_driver_nl80211_set_key: ifindex=3D4 alg=3D0 addr=3D0x981cb48 key_id=
x=3D0 set_tx=3D1 seq_len=3D0 key_len=3D0
=A0 =A0addr=3D88:30:8a:52:ed:cd
wlan0: STA 88:30:8a:52:ed:cd IEEE 802.1X: unauthorizing port
WPA: 88:30:8a:52:ed:cd WPA_PTK_GROUP entering state IDLE
WPA: 88:30:8a:52:ed:cd WPA_PTK entering state AUTHENTICATION
WPA: 88:30:8a:52:ed:cd WPA_PTK entering state AUTHENTICATION2
WPA: 88:30:8a:52:ed:cd WPA_PTK entering state INITPSK
WPA: 88:30:8a:52:ed:cd WPA_PTK entering state PTKSTART
wlan0: STA 88:30:8a:52:ed:cd WPA: sending 1/4 msg of 4-Way Handshake
WPA: Send EAPOL(version=3D2 secure=3D0 mic=3D0 ack=3D1 install=3D0 pair=
wise=3D8 kde_len=3D0 keyidx=3D0 encr=3D0)
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Larry Finger
2012-07-24 15:06:52 UTC
Permalink
On 07/24/2012 08:56 AM, Xavier de Almeida wrote:
> Thanks Larry for your help.
> I tried 3.4.6 and 3.5.0 Quantal kernels but they didn't boot with my i8042 keyboard chip.
>
> So I have installed 3.2.23-030223 and it now starts OK.
>
> FYI here is the new log (I ll have to investigate why the auth between the endpoint and the hotspot doesn't work)
>
> MERCI
> XabiX

Yes, we do make progress. Kernel 3.2.23 has the bug fixes backported from later
kernels, but there are additional changes that cannot be implemented as they are
too intrusive. You may still need to incorporate compat-wireless.

Larry



--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Xavier de Almeida
2012-07-24 15:25:22 UTC
Permalink
great following this thread to make my own compat-wireless:
http://blog.securism.com/2009/01/how-to-cutting-edge-wireless-drivers-i=
n-ubuntu/


I hope it's accurate

Merci



>________________________________
> De=A0: Larry Finger <Larry.Finger-***@public.gmane.org>
>=C0=A0: Xavier de Almeida <xavierdealmeida-***@public.gmane.org>=20
>Cc=A0: "linux-wireless-***@public.gmane.org" <linux-wireless-***@public.gmane.org=
g>=20
>Envoy=E9 le : Mardi 24 juillet 2012 17h06
>Objet=A0: Re: Tr : Can't make RTL8188CE work with hostapd (rtl8192ce)
>=20
>On 07/24/2012 08:56 AM, Xavier de Almeida wrote:
>> Thanks Larry for your help.
>> I tried 3.4.6 and 3.5.0 Quantal kernels but they didn't boot with my=
i8042 keyboard chip.
>>
>> So I have installed 3.2.23-030223 and it now starts OK.
>>
>> FYI here is the new log (I ll have to investigate why the auth betwe=
en the endpoint and the hotspot doesn't work)
>>
>> MERCI
>> XabiX
>
>Yes, we do make progress. Kernel 3.2.23 has the bug fixes backported f=
rom later=20
>kernels, but there are additional changes that cannot be implemented a=
s they are=20
>too intrusive. You may still need to incorporate compat-wireless.
>
>Larry
>
>
>
>
>
>=A0
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Larry Finger
2012-07-24 15:46:18 UTC
Permalink
On 07/24/2012 10:25 AM, Xavier de Almeida wrote:
> great following this thread to make my own compat-wireless:
> http://blog.securism.com/2009/01/how-to-cutting-edge-wireless-drivers-in-ubuntu/
>
>
> I hope it's accurate

A quick read shows that they have you pulling the entire wireless-testing tree.
If you do that, then build that kernel and skip compat-wireless. I think the
URLs have changed since 2009.

If you have your kernel headers installed, and /lib/modules/`uname -r`/build is
a link to a directory containing directory include/ with those headers, then you
can built the compat-wireless package.

Larry





--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Xavier de Almeida
2012-07-24 17:06:56 UTC
Permalink
Hi Larry and the team,

couldn't install my compiled (make + checkinstall) package.

sudo dpkg -i compat-wireless-2012-07_03-1_i386.deb=A0
(Reading database ... 214923 files and directories currently installed.=
)
Unpacking compat-wireless-2012-07 (from compat-wireless-2012-07_03-1_i3=
86.deb) ...
dpkg: error processing compat-wireless-2012-07_03-1_i386.deb (--install=
):
=A0trying to overwrite '/bin/ntfs-3g', which is also in package ntfs-3g=
1:2012.1.15AR.1-1ubuntu1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
=A0compat-wireless-2012-07_03-1_i386.deb

Should I just to a make install instead?

Thanks
XabiX


----- Mail transf=E9r=E9 -----
>De=A0: Xavier de Almeida <xavierdealmeida-***@public.gmane.org>
>=C0=A0: Larry Finger <Larry.Finger-***@public.gmane.org>=20
>Cc=A0: "linux-wireless-***@public.gmane.org" <linux-wireless-***@public.gmane.org=
g>=20
>Envoy=E9 le : Mardi 24 juillet 2012 17h25
>Objet=A0: Re: Tr : Can't make RTL8188CE work with hostapd (rtl8192ce)
>=20
>great following this thread to make my own compat-wireless:
>http://blog.securism.com/2009/01/how-to-cutting-edge-wireless-drivers-=
in-ubuntu/
>
>
>I hope it's accurate
>
>Merci
>
>
>
>>________________________________
>> De=A0: Larry Finger <Larry.Finger-***@public.gmane.org>
>>=C0=A0: Xavier de Almeida <xavierdealmeida-***@public.gmane.org>=20
>>Cc=A0: "linux-wireless-***@public.gmane.org" <linux-wireless-***@public.gmane.org=
rg>=20
>>Envoy=E9 le : Mardi 24 juillet 2012 17h06
>>Objet=A0: Re: Tr : Can't make RTL8188CE work with hostapd (rtl8192ce)
>>=20
>>On 07/24/2012 08:56 AM, Xavier de Almeida wrote:
>>> Thanks Larry for your help.
>>> I tried 3.4.6 and 3.5.0 Quantal kernels but they didn't boot with m=
y i8042 keyboard chip.
>>>
>>> So I have installed 3.2.23-030223 and it now starts OK.
>>>
>>> FYI here is the new log (I ll have to investigate why the auth betw=
een the endpoint and the hotspot doesn't work)
>>>
>>> MERCI
>>> XabiX
>>
>>Yes, we do make progress. Kernel 3.2.23 has the bug fixes backported =
from later=20
>>kernels, but there are additional changes that cannot be implemented =
as they are=20
>>too intrusive. You may still need to incorporate compat-wireless.
>>
>>Larry
>>
>>
>>
>>
>>
>>=A0
>
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Larry Finger
2012-07-24 17:51:02 UTC
Permalink
On 07/24/2012 12:06 PM, Xavier de Almeida wrote:
> Hi Larry and the team,
>
> couldn't install my compiled (make + checkinstall) package.
>
> sudo dpkg -i compat-wireless-2012-07_03-1_i386.deb
> (Reading database ... 214923 files and directories currently installed.)
> Unpacking compat-wireless-2012-07 (from compat-wireless-2012-07_03-1_i386.deb) ...
> dpkg: error processing compat-wireless-2012-07_03-1_i386.deb (--install):
> trying to overwrite '/bin/ntfs-3g', which is also in package ntfs-3g 1:2012.1.15AR.1-1ubuntu1
> dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
> Errors were encountered while processing:
> compat-wireless-2012-07_03-1_i386.deb
>
> Should I just to a make install instead?

Yes. Using "make" and "sudo make install" is the correct way. Building a .deb.
may be necessary to install a whole kernel (it is not on my distro), but not for
compat-wireless.

Larry



--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Xavier de Almeida
2012-07-25 13:54:23 UTC
Permalink
=46or some reason my system has become unstable since the installation =
of the compat-wireless drivers. :-(

I installed those drivers "compat-wireless-2012-07-03" by doing a make/=
make install

modinfo rtl8192ce
filename: =A0 =A0 =A0 /lib/modules/3.2.23-030223-generic/updates/driver=
s/net/wireless/rtlwifi/rtl8192ce/rtl8192ce.ko
firmware: =A0 =A0 =A0 rtlwifi/rtl8192cfwU_B.bin
firmware: =A0 =A0 =A0 rtlwifi/rtl8192cfwU.bin
firmware: =A0 =A0 =A0 rtlwifi/rtl8192cfw.bin
description: =A0 =A0Realtek 8192C/8188C 802.11n PCI wireless
license: =A0 =A0 =A0 =A0GPL
author: =A0 =A0 =A0 =A0 Larry Finger<Larry.Finger-***@public.gmane.org>
author: =A0 =A0 =A0 =A0 Realtek WlanFAE<wlanfae-***@public.gmane.org>
author: =A0 =A0 =A0 =A0 lizhaoming<chaoming_li-***@public.gmane.org>
srcversion: =A0 =A0 DC0B6C089A8681E6916F078
alias: =A0 =A0 =A0 =A0 =A0pci:v000010ECd00008176sv*sd*bc*sc*i*
alias: =A0 =A0 =A0 =A0 =A0pci:v000010ECd00008177sv*sd*bc*sc*i*
alias: =A0 =A0 =A0 =A0 =A0pci:v000010ECd00008178sv*sd*bc*sc*i*
alias: =A0 =A0 =A0 =A0 =A0pci:v000010ECd00008191sv*sd*bc*sc*i*
depends: =A0 =A0 =A0 =A0rtlwifi,rtl8192c-common,compat,mac80211
vermagic: =A0 =A0 =A0 3.2.23-030223-generic SMP mod_unload modversions =
686=A0
parm: =A0 =A0 =A0 =A0 =A0 swenc:Set to 1 for software crypto (default 0=
)
parm: =A0 =A0 =A0 =A0 =A0 ips:Set to 0 to not use link power save (defa=
ult 1)

parm: =A0 =A0 =A0 =A0 =A0 swlps:Set to 1 to use SW control power save (=
default 0)

parm: =A0 =A0 =A0 =A0 =A0 fwlps:Set to 1 to use FW control power save (=
default 1)

parm: =A0 =A0 =A0 =A0 =A0 debug:Set debug level (0-5) (default 0) (int)


Remote VNC works ok but it s difficult to get a ssh session established=
=2E

When I launch sudo hostpad, I can't do a ctrl C anymore to stop it.

I see this in kernel:

Jul 25 15:45:53 HTPC kernel: [ =A0409.493352] device wlan0 entered prom=
iscuous mode
Jul 25 15:45:53 HTPC kernel: [ =A0409.493979] ADDRCONF(NETDEV_UP): wlan=
0: link is not ready
Jul 25 15:45:53 HTPC kernel: [ =A0409.530751] cfg80211: Calling CRDA fo=
r country: FR
Jul 25 15:45:53 HTPC kernel: [ =A0409.541016] cfg80211: Updating inform=
ation on frequency 2412 MHz for a 20 MHz width channel with reg
ulatory rule:
Jul 25 15:45:53 HTPC kernel: [ =A0409.541024] cfg80211: 2402000 KHz - 2=
482000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
Jul 25 15:45:53 HTPC kernel: [ =A0409.541029] cfg80211: Updating inform=
ation on frequency 2417 MHz for a 20 MHz width channel with reg
ulatory rule:
Jul 25 15:45:53 HTPC kernel: [ =A0409.541035] cfg80211: 2402000 KHz - 2=
482000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
Jul 25 15:45:53 HTPC kernel: [ =A0409.541039] cfg80211: Updating inform=
ation on frequency 2422 MHz for a 20 MHz width channel with reg
ulatory rule:
Jul 25 15:45:53 HTPC kernel: [ =A0409.541045] cfg80211: 2402000 KHz - 2=
482000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
Jul 25 15:45:53 HTPC kernel: [ =A0409.541049] cfg80211: Updating inform=
ation on frequency 2427 MHz for a 20 MHz width channel with reg
ulatory rule:
Jul 25 15:45:53 HTPC kernel: [ =A0409.541055] cfg80211: 2402000 KHz - 2=
482000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
Jul 25 15:45:53 HTPC kernel: [ =A0409.541059] cfg80211: Updating inform=
ation on frequency 2432 MHz for a 20 MHz width channel with reg
ulatory rule:
Jul 25 15:45:53 HTPC kernel: [ =A0409.541065] cfg80211: 2402000 KHz - 2=
482000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
Jul 25 15:45:53 HTPC kernel: [ =A0409.541069] cfg80211: Updating inform=
ation on frequency 2437 MHz for a 20 MHz width channel with reg
ulatory rule:
Jul 25 15:45:53 HTPC kernel: [ =A0409.541075] cfg80211: 2402000 KHz - 2=
482000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
Jul 25 15:45:53 HTPC kernel: [ =A0409.541079] cfg80211: Updating inform=
ation on frequency 2442 MHz for a 20 MHz width channel with reg
ulatory rule:
Jul 25 15:45:53 HTPC kernel: [ =A0409.541085] cfg80211: 2402000 KHz - 2=
482000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
Jul 25 15:45:53 HTPC kernel: [ =A0409.541089] cfg80211: Updating inform=
ation on frequency 2447 MHz for a 20 MHz width channel with reg
ulatory rule:
Jul 25 15:45:53 HTPC kernel: [ =A0409.541095] cfg80211: 2402000 KHz - 2=
482000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
Jul 25 15:45:53 HTPC kernel: [ =A0409.541099] cfg80211: Updating inform=
ation on frequency 2452 MHz for a 20 MHz width channel with reg
ulatory rule:
Jul 25 15:45:53 HTPC kernel: [ =A0409.541105] cfg80211: 2402000 KHz - 2=
482000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
Jul 25 15:45:53 HTPC kernel: [ =A0409.541109] cfg80211: Updating inform=
ation on frequency 2457 MHz for a 20 MHz width channel with reg
ulatory rule:
Jul 25 15:45:53 HTPC kernel: [ =A0409.541115] cfg80211: 2402000 KHz - 2=
482000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
Jul 25 15:45:53 HTPC kernel: [ =A0409.541119] cfg80211: Updating inform=
ation on frequency 2462 MHz for a 20 MHz width channel with reg
ulatory rule:
Jul 25 15:45:53 HTPC kernel: [ =A0409.541125] cfg80211: 2402000 KHz - 2=
482000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
Jul 25 15:45:53 HTPC kernel: [ =A0409.541129] cfg80211: Updating inform=
ation on frequency 2467 MHz for a 20 MHz width channel with reg
ulatory rule:
Jul 25 15:45:53 HTPC kernel: [ =A0409.541135] cfg80211: 2402000 KHz - 2=
482000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
Jul 25 15:45:53 HTPC kernel: [ =A0409.541139] cfg80211: Updating inform=
ation on frequency 2472 MHz for a 20 MHz width channel with reg
ulatory rule:
Jul 25 15:45:53 HTPC kernel: [ =A0409.541145] cfg80211: 2402000 KHz - 2=
482000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
Jul 25 15:45:53 HTPC kernel: [ =A0409.541149] cfg80211: Disabling freq =
2484 MHz
Jul 25 15:45:53 HTPC kernel: [ =A0409.541155] cfg80211: Regulatory doma=
in changed to country: FR
Jul 25 15:45:53 HTPC kernel: [ =A0409.541158] cfg80211: =A0 (start_freq=
- end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Jul 25 15:45:53 HTPC kernel: [ =A0409.541164] cfg80211: =A0 (2402000 KH=
z - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Jul 25 15:45:53 HTPC kernel: [ =A0409.541168] cfg80211: =A0 (5170000 KH=
z - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Jul 25 15:45:53 HTPC kernel: [ =A0409.541173] cfg80211: =A0 (5250000 KH=
z - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Jul 25 15:45:53 HTPC kernel: [ =A0409.541178] cfg80211: =A0 (5490000 KH=
z - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)
Jul 25 15:45:53 HTPC kernel: [ =A0409.563665] ADDRCONF(NETDEV_CHANGE): =
wlan0: link becomes ready
Jul 25 15:45:53 HTPC kernel: [ =A0409.563758] br0: port 2(wlan0) enteri=
ng forwarding state
Jul 25 15:45:53 HTPC kernel: [ =A0409.563781] br0: port 2(wlan0) enteri=
ng forwarding state
Jul 25 15:46:04 HTPC kernel: [ =A0420.264454] wlan0: no IPv6 routers pr=
esent
Jul 25 15:46:08 HTPC kernel: [ =A0424.582630] br0: port 2(wlan0) enteri=
ng forwarding state
Jul 25 15:46:29 HTPC kernel: [ =A0445.538319] device wlan0 left promisc=
uous mode
Jul 25 15:46:29 HTPC kernel: [ =A0445.538334] br0: port 2(wlan0) enteri=
ng forwarding state
Jul 25 15:49:05 HTPC kernel: [ =A0600.912155] INFO: task whoopsie:1394 =
blocked for more than 120 seconds.
Jul 25 15:49:05 HTPC kernel: [ =A0600.912162] "echo 0 > /proc/sys/kerne=
l/hung_task_timeout_secs" disables this message.
Jul 25 15:49:05 HTPC kernel: [ =A0600.912167] whoopsie =A0 =A0 =A0 =A0D=
00000000 =A0 =A0 0 =A01394 =A0 =A0 =A01 0x00000000
Jul 25 15:49:05 HTPC kernel: [ =A0600.912176] =A0d51bfd00 00200082 0000=
0067 00000000 00000000 f3908ca0 c18d5380 c18d5380
Jul 25 15:49:05 HTPC kernel: [ =A0600.912189] =A0bc9d12b6 00000067 f77c=
b380 f2e81940 d489bf20 c146b95e f4d342a0 d43db540
Jul 25 15:49:05 HTPC kernel: [ =A0600.912201] =A0d3ebb280 d51bfd08 c156=
f209 d3ebb280 c1811c88 d51be000 d3ebb280 00000000
Jul 25 15:49:05 HTPC kernel: [ =A0600.912213] Call Trace:

and then 120s after
Jul 25 15:51:05 HTPC kernel: [ =A0720.861476] INFO: task whoopsie:1394 =
blocked for more than 120 seconds.
Jul 25 15:51:05 HTPC kernel: [ =A0720.861482] "echo 0 > /proc/sys/kerne=
l/hung_task_timeout_secs" disables this message.
Jul 25 15:51:05 HTPC kernel: [ =A0720.861488] whoopsie =A0 =A0 =A0 =A0D=
00000000 =A0 =A0 0 =A01394 =A0 =A0 =A01 0x00000000
Jul 25 15:51:05 HTPC kernel: [ =A0720.861496] =A0d51bfd00 00200082 0000=
0067 00000000 00000000 f3908ca0 c18d5380 c18d5380
Jul 25 15:51:05 HTPC kernel: [ =A0720.861509] =A0bc9d12b6 00000067 f77c=
b380 f2e81940 d489bf20 c146b95e f4d342a0 d43db540
Jul 25 15:51:05 HTPC kernel: [ =A0720.861521] =A0d3ebb280 d51bfd08 c156=
f209 d3ebb280 c1811c88 d51be000 d3ebb280 00000000
Jul 25 15:51:05 HTPC kernel: [ =A0720.861533] Call Trace:
Jul 25 15:51:05 HTPC kernel: [ =A0720.861546] =A0[<c146b95e>] ? kfree_s=
kbmem+0x2e/0x80
Jul 25 15:51:05 HTPC kernel: [ =A0720.861554] =A0[<c156f209>] ? apic_ti=
mer_interrupt+0x31/0x38
Jul 25 15:51:05 HTPC kernel: [ =A0720.861561] =A0[<c156cfd5>] schedule+=
0x35/0x50
Jul 25 15:51:05 HTPC kernel: [ =A0720.861567] =A0[<c156db76>] __mutex_l=
ock_slowpath+0xc6/0x120
Jul 25 15:51:05 HTPC kernel: [ =A0720.861573] =A0[<c156d824>] mutex_loc=
k+0x24/0x40
Jul 25 15:51:05 HTPC kernel: [ =A0720.861579] =A0[<c14844b2>] rtnl_lock=
+0x12/0x20
Jul 25 15:51:05 HTPC kernel: [ =A0720.861585] =A0[<c14844d0>] rtnetlink=
_rcv+0x10/0x30
Jul 25 15:51:05 HTPC kernel: [ =A0720.861592] =A0[<c149b189>] netlink_u=
nicast+0x239/0x290
Jul 25 15:51:05 HTPC kernel: [ =A0720.861598] =A0[<c149b3c8>] netlink_s=
endmsg+0x1e8/0x310
Jul 25 15:51:05 HTPC kernel: [ =A0720.861605] =A0[<c14648f7>] sock_send=
msg+0xf7/0x120
Jul 25 15:51:05 HTPC kernel: [ =A0720.861610] =A0[<c156ebdd>] ? _raw_sp=
in_lock_irqsave+0x2d/0x40
Jul 25 15:51:05 HTPC kernel: [ =A0720.861618] =A0[<c113aa50>] ? page_sy=
mlink+0x30/0x30
Jul 25 15:51:05 HTPC kernel: [ =A0720.861624] =A0[<c114c1f8>] ? mntput+=
0x18/0x30
Jul 25 15:51:05 HTPC kernel: [ =A0720.861629] =A0[<c113ab6a>] ? path_pu=
t+0x1a/0x20
Jul 25 15:51:05 HTPC kernel: [ =A0720.861636] =A0[<c1031895>] ? __wake_=
up+0x45/0x60
Jul 25 15:51:05 HTPC kernel: [ =A0720.861643] =A0[<c12a0b42>] ? _copy_f=
rom_user+0x42/0x60
Jul 25 15:51:05 HTPC kernel: [ =A0720.861649] =A0[<c1465f7f>] ? move_ad=
dr_to_kernel+0x5f/0x70
Jul 25 15:51:05 HTPC kernel: [ =A0720.861655] =A0[<c146694e>] sys_sendt=
o+0x10e/0x150
Jul 25 15:51:05 HTPC kernel: [ =A0720.861661] =A0[<c156e9ad>] ? _raw_sp=
in_lock+0xd/0x10
Jul 25 15:51:05 HTPC kernel: [ =A0720.861667] =A0[<c1144e54>] ? __d_ins=
tantiate+0xa4/0xe0
Jul 25 15:51:05 HTPC kernel: [ =A0720.861673] =A0[<c1132bc0>] ? alloc_f=
ile+0x20/0xb0
Jul 25 15:51:05 HTPC kernel: [ =A0720.861679] =A0[<c1464ad4>] ? sock_al=
loc_file+0x84/0xf0
Jul 25 15:51:05 HTPC kernel: [ =A0720.861685] =A0[<c156e9ad>] ? _raw_sp=
in_lock+0xd/0x10
Jul 25 15:51:05 HTPC kernel: [ =A0720.861690] =A0[<c112f93c>] ? fd_inst=
all+0x4c/0x60
Jul 25 15:51:05 HTPC kernel: [ =A0720.861696] =A0[<c12a09af>] ? __copy_=
from_user_ll+0x1f/0x40
Jul 25 15:51:05 HTPC kernel: [ =A0720.861702] =A0[<c1467360>] sys_socke=
tcall+0x1b0/0x2c0
Jul 25 15:51:05 HTPC kernel: [ =A0720.861709] =A0[<c1575bdf>] sysenter_=
do_call+0x12/0x28
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Xavier de Almeida
2012-07-25 17:19:40 UTC
Permalink
After uninstall (make uninstall), it's back to normal.

The syslog says:
Jul 25 19:14:55 HTPC kernel: [10126.298298] rtl8192c_common: Loading fi=
rmware file rtlwifi/rtl8192cfw.bin
Jul 25 19:14:55 HTPC NetworkManager[1260]: =A0 =A0SCPlugin-Ifupdown: de=
vices added (path: /sys/devices/pci0000:00/0000:00:1c.3/0000:03:00.0/ne=
t/mon.wlan0, iface: mon.wlan0)
Jul 25 19:14:55 HTPC NetworkManager[1260]: =A0 =A0SCPlugin-Ifupdown: de=
vice added (path: /sys/devices/pci0000:00/0000:00:1c.3/0000:03:00.0/net=
/mon.wlan0, iface: mon.wlan0): no ifupdown configuration found.
Jul 25 19:14:55 HTPC kernel: [10126.692251] device wlan0 entered promis=
cuous mode
Jul 25 19:14:55 HTPC kernel: [10126.693037] br0: port 2(wlan0) entering=
forwarding state
Jul 25 19:14:55 HTPC kernel: [10126.693073] br0: port 2(wlan0) entering=
forwarding state
Jul 25 19:14:57 HTPC avahi-daemon[1256]: Joining mDNS multicast group o=
n interface wlan0.IPv6 with address fe80::e291:53ff:fe6f:55e7.
Jul 25 19:14:57 HTPC avahi-daemon[1256]: New relevant interface wlan0.I=
Pv6 for mDNS.
Jul 25 19:14:57 HTPC avahi-daemon[1256]: Registering new address record=
for fe80::e291:53ff:fe6f:55e7 on wlan0.*.
Jul 25 19:15:06 HTPC kernel: [10137.351494] wlan0: no IPv6 routers pres=
ent
Jul 25 19:15:11 HTPC kernel: [10141.717652] br0: port 2(wlan0) entering=
forwarding state

Jul 25 19:15:39 HTPC dhcrelay: Discarding packet received on wlan0 inte=
rface that has no IPv4 address assigned.

kernel log says:
Jul 25 19:17:30 HTPC kernel: [10281.037865] rtl8192c_common: Loading fi=
rmware file rtlwifi/rtl8192cfw.bin
Jul 25 19:17:30 HTPC kernel: [10281.390776] device wlan0 entered promis=
cuous mode
Jul 25 19:17:30 HTPC kernel: [10281.391433] br0: port 2(wlan0) entering=
forwarding state
Jul 25 19:17:30 HTPC kernel: [10281.391465] br0: port 2(wlan0) entering=
forwarding state

Jul 25 19:17:41 HTPC kernel: [10292.174075] wlan0: no IPv6 routers pres=
ent
Jul 25 19:17:45 HTPC kernel: [10296.404288] br0: port 2(wlan0) entering=
forwarding state

and hostapd says:
Using interface wlan0 with hwaddr e0:91:53:6f:55:e7 and ssid 'Sweet Hom=
e 2'
Deriving WPA PSK based on passphrase
SSID - hexdump_ascii(len=3D12):
=A0 =A0 =A053 77 65 65 74 20 48 6f 6d 65 20 32 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 Sweet Home 2 =A0 =A0
PSK (ASCII passphrase) - hexdump_ascii(len=3D24): [REMOVED]
PSK (from passphrase) - hexdump(len=3D32): [REMOVED]
WPA: group state machine entering state GTK_INIT (VLAN-ID 0)
GMK - hexdump(len=3D32): [REMOVED]
GTK - hexdump(len=3D32): [REMOVED]
WPA: group state machine entering state SETKEYSDONE (VLAN-ID 0)
wpa_driver_nl80211_set_key: ifindex=3D4 alg=3D2 addr=3D(nil) key_idx=3D=
1 set_tx=3D1 seq_len=3D0 key_len=3D32
nl80211: Set beacon (beacon_set=3D0)
wlan0: Setup of interface done.
RTM_NEWLINK: operstate=3D0 ifi_flags=3D0x1002 ()
RTM_NEWLINK, IFLA_IFNAME: Interface 'mon.wlan0' added
Unknown event 5
RTM_NEWLINK: operstate=3D0 ifi_flags=3D0x11043 ([UP][RUNNING][LOWER_UP]=
)
RTM_NEWLINK, IFLA_IFNAME: Interface 'mon.wlan0' added
Unknown event 5
RTM_NEWLINK: operstate=3D0 ifi_flags=3D0x1002 ()
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Unknown event 5
nl80211: Add ifindex 3 for bridge br0
nl80211: Add own interface ifindex 3
RTM_NEWLINK: operstate=3D0 ifi_flags=3D0x11043 ([UP][RUNNING][LOWER_UP]=
)
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Unknown event 5
RTM_NEWLINK: operstate=3D0 ifi_flags=3D0x11043 ([UP][RUNNING][LOWER_UP]=
)
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Unknown event 5
nl80211: Add ifindex 3 for bridge br0
nl80211: Add own interface ifindex 3
RTM_NEWLINK: operstate=3D0 ifi_flags=3D0x11043 ([UP][RUNNING][LOWER_UP]=
)
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Unknown event 5
nl80211: Add ifindex 3 for bridge br0
nl80211: Add own interface ifindex 3
RTM_NEWLINK: operstate=3D0 ifi_flags=3D0x11043 ([UP][RUNNING][LOWER_UP]=
)
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Unknown event 5
nl80211: Add ifindex 3 for bridge br0
nl80211: Add own interface ifindex 3
RTM_NEWLINK: operstate=3D0 ifi_flags=3D0x11043 ([UP][RUNNING][LOWER_UP]=
)
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Unknown event 5
nl80211: Add ifindex 3 for bridge br0
nl80211: Add own interface ifindex 3
unknown vendor specific information element ignored (vendor OUI 00:10:1=
8 len=3D9)
STA 88:30:8a:52:ed:cd sent probe request for broadcast SSID
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:10:1=
8 len=3D9)
STA 88:30:8a:52:ed:cd sent probe request for broadcast SSID
mgmt::proberesp cb

Does anyone have a suggestion? Am not sure if the complain about IPv6 i=
s important here. ...

Merci
XabiX
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Xavier de Almeida
2012-07-25 17:25:04 UTC
Permalink
=46orgot to give new outputs: (sorry for the spam)

modinfo rtl8192ce
filename: =A0 =A0 =A0 /lib/modules/3.2.23-030223-generic/kernel/drivers=
/net/wireless/rtlwifi/rtl8192ce/rtl8192ce.ko

firmware: =A0 =A0 =A0 rtlwifi/rtl8192cfwU_B.bin
firmware: =A0 =A0 =A0 rtlwifi/rtl8192cfwU.bin
firmware: =A0 =A0 =A0 rtlwifi/rtl8192cfw.bin
description: =A0 =A0Realtek 8192C/8188C 802.11n PCI wireless
license: =A0 =A0 =A0 =A0GPL
author: =A0 =A0 =A0 =A0 Larry Finger =A0 =A0<Larry.Finger-***@public.gmane.org>
author: =A0 =A0 =A0 =A0 Realtek WlanFAE <wlanfae-***@public.gmane.org>
author: =A0 =A0 =A0 =A0 lizhaoming =A0 =A0 =A0<chaoming_li-***@public.gmane.org=
cn>
srcversion: =A0 =A0 216E9AAB4459E49C3C6B69A
alias: =A0 =A0 =A0 =A0 =A0pci:v000010ECd00008176sv*sd*bc*sc*i*
alias: =A0 =A0 =A0 =A0 =A0pci:v000010ECd00008177sv*sd*bc*sc*i*
alias: =A0 =A0 =A0 =A0 =A0pci:v000010ECd00008178sv*sd*bc*sc*i*
alias: =A0 =A0 =A0 =A0 =A0pci:v000010ECd00008191sv*sd*bc*sc*i*
depends: =A0 =A0 =A0 =A0rtlwifi,rtl8192c-common,mac80211
intree: =A0 =A0 =A0 =A0 Y
vermagic: =A0 =A0 =A0 3.2.23-030223-generic SMP mod_unload modversions =
686=A0
parm: =A0 =A0 =A0 =A0 =A0 swenc:Set to 1 for software crypto (default 0=
)
parm: =A0 =A0 =A0 =A0 =A0 ips:Set to 0 to not use link power save (defa=
ult 1)

parm: =A0 =A0 =A0 =A0 =A0 swlps:Set to 1 to use SW control power save (=
default 0)

parm: =A0 =A0 =A0 =A0 =A0 fwlps:Set to 1 to use FW control power save (=
default 1)

parm: =A0 =A0 =A0 =A0 =A0 debug:Set debug level (0-5) (default 0) (int)


ifconfig=A0
br0 =A0 =A0 =A0 Link encap:Ethernet =A0HWaddr 80:ee:73:31:54:b2 =A0
=A0 =A0 =A0 =A0 =A0 inet addr:192.168.0.40 =A0Bcast:192.168.0.255 =A0Ma=
sk:255.255.255.0
=A0 =A0 =A0 =A0 =A0 inet6 addr: fe80::82ee:73ff:fe31:54b2/64 Scope:Link
=A0 =A0 =A0 =A0 =A0 UP BROADCAST RUNNING MULTICAST =A0MTU:1500 =A0Metri=
c:1
=A0 =A0 =A0 =A0 =A0 RX packets:24794 errors:0 dropped:0 overruns:0 fram=
e:0
=A0 =A0 =A0 =A0 =A0 TX packets:19284 errors:0 dropped:0 overruns:0 carr=
ier:0
=A0 =A0 =A0 =A0 =A0 collisions:0 txqueuelen:0=A0
=A0 =A0 =A0 =A0 =A0 RX bytes:1968234 (1.9 MB) =A0TX bytes:24388301 (24.=
3 MB)

eth0 =A0 =A0 =A0Link encap:Ethernet =A0HWaddr 80:ee:73:31:54:b2 =A0
=A0 =A0 =A0 =A0 =A0 UP BROADCAST RUNNING MULTICAST =A0MTU:1500 =A0Metri=
c:1
=A0 =A0 =A0 =A0 =A0 RX packets:26859 errors:0 dropped:175 overruns:0 fr=
ame:0
=A0 =A0 =A0 =A0 =A0 TX packets:19205 errors:0 dropped:0 overruns:0 carr=
ier:0
=A0 =A0 =A0 =A0 =A0 collisions:0 txqueuelen:1000=A0
=A0 =A0 =A0 =A0 =A0 RX bytes:2731919 (2.7 MB) =A0TX bytes:24381151 (24.=
3 MB)
=A0 =A0 =A0 =A0 =A0 Interrupt:45=A0

lo =A0 =A0 =A0 =A0Link encap:Local Loopback =A0
=A0 =A0 =A0 =A0 =A0 inet addr:127.0.0.1 =A0Mask:255.0.0.0
=A0 =A0 =A0 =A0 =A0 inet6 addr: ::1/128 Scope:Host
=A0 =A0 =A0 =A0 =A0 UP LOOPBACK RUNNING =A0MTU:16436 =A0Metric:1
=A0 =A0 =A0 =A0 =A0 RX packets:8258 errors:0 dropped:0 overruns:0 frame=
:0
=A0 =A0 =A0 =A0 =A0 TX packets:8258 errors:0 dropped:0 overruns:0 carri=
er:0
=A0 =A0 =A0 =A0 =A0 collisions:0 txqueuelen:0=A0
=A0 =A0 =A0 =A0 =A0 RX bytes:591232 (591.2 KB) =A0TX bytes:591232 (591.=
2 KB)

mon.wlan0 Link encap:UNSPEC =A0HWaddr E0-91-53-6F-55-E7-30-30-00-00-00-=
00-00-00-00-00 =A0
=A0 =A0 =A0 =A0 =A0 UP BROADCAST RUNNING MULTICAST =A0MTU:1500 =A0Metri=
c:1
=A0 =A0 =A0 =A0 =A0 RX packets:0 errors:0 dropped:0 overruns:0 frame:0
=A0 =A0 =A0 =A0 =A0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:=
0
=A0 =A0 =A0 =A0 =A0 collisions:0 txqueuelen:1000=A0
=A0 =A0 =A0 =A0 =A0 RX bytes:0 (0.0 B) =A0TX bytes:0 (0.0 B)

wlan0 =A0 =A0 Link encap:Ethernet =A0HWaddr e0:91:53:6f:55:e7 =A0
=A0 =A0 =A0 =A0 =A0 inet6 addr: fe80::e291:53ff:fe6f:55e7/64 Scope:Link
=A0 =A0 =A0 =A0 =A0 UP BROADCAST RUNNING MULTICAST =A0MTU:1500 =A0Metri=
c:1
=A0 =A0 =A0 =A0 =A0 RX packets:0 errors:0 dropped:0 overruns:0 frame:0
=A0 =A0 =A0 =A0 =A0 TX packets:1169 errors:0 dropped:0 overruns:0 carri=
er:0
=A0 =A0 =A0 =A0 =A0 collisions:0 txqueuelen:1000=A0
=A0 =A0 =A0 =A0 =A0 RX bytes:0 (0.0 B) =A0TX bytes:163223 (163.2 KB)

iwconfig=A0
lo =A0 =A0 =A0 =A0no wireless extensions.

br0 =A0 =A0 =A0 no wireless extensions.

wlan0 =A0 =A0 IEEE 802.11bgn =A0Mode:Master =A0Frequency:2.437 GHz =A0T=
x-Power=3D20 dBm =A0=A0
=A0 =A0 =A0 =A0 =A0 Retry =A0long limit:7 =A0 RTS thr=3D2347 B =A0 Frag=
ment thr:off
=A0 =A0 =A0 =A0 =A0 Power Management:on
=A0 =A0 =A0 =A0 =A0=A0
eth0 =A0 =A0 =A0no wireless extensions.

mon.wlan0 =A0IEEE 802.11bgn =A0Mode:Monitor =A0Tx-Power=3D20 dBm =A0=A0
=A0 =A0 =A0 =A0 =A0 Retry =A0long limit:7 =A0 RTS thr=3D2347 B =A0 Frag=
ment thr:off
=A0 =A0 =A0 =A0 =A0 Power Management:on
=A0 =A0 =A0 =A0 =A0=A0
nm-tool=A0
NetworkManager Tool

State: connected (global)

- Device: wlan0 -------------------------------------------------------=
---------

=A0 Type: =A0 =A0 =A0 =A0 =A0 =A0 =A0802.11 WiFi
=A0 Driver: =A0 =A0 =A0 =A0 =A0 =A0rtl8192ce
=A0 State: =A0 =A0 =A0 =A0 =A0 =A0 unmanaged
=A0 Default: =A0 =A0 =A0 =A0 =A0 no
=A0 HW Address: =A0 =A0 =A0 =A0E0:91:53:6F:55:E7

=A0 Capabilities:
=A0 Wireless Properties

=A0 =A0 WEP Encryption: =A0yes
=A0 =A0 WPA Encryption: =A0yes
=A0 =A0 WPA2 Encryption: yes

=A0 Wireless Access Points=A0

- Device: eth0 --------------------------------------------------------=
---------
=A0 Type: =A0 =A0 =A0 =A0 =A0 =A0 =A0Wired
=A0 Driver: =A0 =A0 =A0 =A0 =A0 =A0jme
=A0 State: =A0 =A0 =A0 =A0 =A0 =A0 unmanaged
=A0 Default: =A0 =A0 =A0 =A0 =A0 no
=A0 HW Address: =A0 =A0 =A0 =A080:EE:73:31:54:B2

=A0 Capabilities:
=A0 =A0 Carrier Detect: =A0yes
=A0 =A0 Speed: =A0 =A0 =A0 =A0 =A0 1000 Mb/s

=A0 Wired Properties
=A0 =A0 Carrier: =A0 =A0 =A0 =A0 on

is this unmanaged value for the wlan0 normal?

merci
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Larry Finger
2012-07-25 17:43:42 UTC
Permalink
You need to "bite the bullet" and install a newer kernel such as 3.4 or 3.5, I
know the RTL8188CE works with hostapd in those versions.

Larry


--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Xavier de Almeida
2012-07-26 09:58:52 UTC
Permalink
Thanks Larry for your inputs.

=46rom this thread it looks like it's not a given piece of work to get =
the RTL8188CE stable.
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/902557=A0

Anyway I have started to compile the 3.4.6 kernel see how it goes. I ho=
pe I don't need to add the compat-wireless drivers on top?

Will report in more than 4h after the make is completed :D

Merci
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Larry Finger
2012-07-26 10:53:41 UTC
Permalink
On 07/26/2012 04:58 AM, Xavier de Almeida wrote:
> Thanks Larry for your inputs.
>
> From this thread it looks like it's not a given piece of work to get the RTL8188CE stable.
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/902557
>
> Anyway I have started to compile the 3.4.6 kernel see how it goes. I hope I don't need to add the compat-wireless drivers on top?
>
> Will report in more than 4h after the make is completed :D

That Ubuntu report is for kernel 3.2. As I said before, we are making progress!!!!!

See https://bugzilla.redhat.com/show_bug.cgi?id=797709 for a better example.

I think 3.4.6 will be OK, but if you need compat-wireless, it will work OK there.

Larry

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Xavier de Almeida
2012-07-26 11:01:43 UTC
Permalink
Cool let's get this sorted then.

Here is the output now with the 3.4.6 kernel. If you prefer me to try w=
ith the 3.5, I can.

thanks

uname -r
3.4.6-custom

ifconfig=A0

br0 =A0 =A0 =A0 Link encap:Ethernet =A0HWaddr 80:ee:73:31:54:b2 =A0
=A0 =A0 =A0 =A0 =A0 inet addr:192.168.0.40 =A0Bcast:192.168.0.255 =A0Ma=
sk:255.255.255.0
=A0 =A0 =A0 =A0 =A0 inet6 addr: fe80::82ee:73ff:fe31:54b2/64 Scope:Link
=A0 =A0 =A0 =A0 =A0 UP BROADCAST RUNNING MULTICAST =A0MTU:1500 =A0Metri=
c:1
=A0 =A0 =A0 =A0 =A0 RX packets:426 errors:0 dropped:0 overruns:0 frame:=
0
=A0 =A0 =A0 =A0 =A0 TX packets:548 errors:0 dropped:0 overruns:0 carrie=
r:0
=A0 =A0 =A0 =A0 =A0 collisions:0 txqueuelen:0=A0
=A0 =A0 =A0 =A0 =A0 RX bytes:30369 (30.3 KB) =A0TX bytes:79172 (79.1 KB=
)

eth0 =A0 =A0 =A0Link encap:Ethernet =A0HWaddr 80:ee:73:31:54:b2 =A0
=A0 =A0 =A0 =A0 =A0 UP BROADCAST RUNNING MULTICAST =A0MTU:1500 =A0Metri=
c:1
=A0 =A0 =A0 =A0 =A0 RX packets:510 errors:0 dropped:4 overruns:0 frame:=
0
=A0 =A0 =A0 =A0 =A0 TX packets:546 errors:0 dropped:0 overruns:0 carrie=
r:0
=A0 =A0 =A0 =A0 =A0 collisions:0 txqueuelen:1000=A0
=A0 =A0 =A0 =A0 =A0 RX bytes:54044 (54.0 KB) =A0TX bytes:79000 (79.0 KB=
)
=A0 =A0 =A0 =A0 =A0 Interrupt:45=A0

lo =A0 =A0 =A0 =A0Link encap:Local Loopback =A0
=A0 =A0 =A0 =A0 =A0 inet addr:127.0.0.1 =A0Mask:255.0.0.0
=A0 =A0 =A0 =A0 =A0 inet6 addr: ::1/128 Scope:Host
=A0 =A0 =A0 =A0 =A0 UP LOOPBACK RUNNING =A0MTU:16436 =A0Metric:1
=A0 =A0 =A0 =A0 =A0 RX packets:968 errors:0 dropped:0 overruns:0 frame:=
0
=A0 =A0 =A0 =A0 =A0 TX packets:968 errors:0 dropped:0 overruns:0 carrie=
r:0
=A0 =A0 =A0 =A0 =A0 collisions:0 txqueuelen:0=A0
=A0 =A0 =A0 =A0 =A0 RX bytes:72060 (72.0 KB) =A0TX bytes:72060 (72.0 KB=
)

iwconfig=A0
br0 =A0 =A0 =A0 no wireless extensions.

wlan0 =A0 =A0 IEEE 802.11bgn =A0Mode:Master =A0Frequency:2.437 GHz =A0T=
x-Power=3D20 dBm =A0=A0
=A0 =A0 =A0 =A0 =A0 Retry =A0long limit:7 =A0 RTS thr=3D2347 B =A0 Frag=
ment thr:off
=A0 =A0 =A0 =A0 =A0 Power Management:on
=A0 =A0 =A0 =A0 =A0=A0
lo =A0 =A0 =A0 =A0no wireless extensions.

eth0 =A0 =A0 =A0no wireless extensions.

sudo modinfo rtl8192ce
filename: =A0 =A0 =A0 /lib/modules/3.4.6-custom/kernel/drivers/net/wire=
less/rtlwifi/rtl8192ce/rtl8192ce.ko
firmware: =A0 =A0 =A0 rtlwifi/rtl8192cfwU_B.bin
firmware: =A0 =A0 =A0 rtlwifi/rtl8192cfwU.bin
firmware: =A0 =A0 =A0 rtlwifi/rtl8192cfw.bin
description: =A0 =A0Realtek 8192C/8188C 802.11n PCI wireless
license: =A0 =A0 =A0 =A0GPL
author: =A0 =A0 =A0 =A0 Larry Finger =A0 =A0<Larry.Finger-***@public.gmane.org>
author: =A0 =A0 =A0 =A0 Realtek WlanFAE <wlanfae-***@public.gmane.org>
author: =A0 =A0 =A0 =A0 lizhaoming =A0 =A0 =A0<chaoming_li-***@public.gmane.org=
cn>
srcversion: =A0 =A0 AE758D5E662358264A4DB35
alias: =A0 =A0 =A0 =A0 =A0pci:v000010ECd00008176sv*sd*bc*sc*i*
alias: =A0 =A0 =A0 =A0 =A0pci:v000010ECd00008177sv*sd*bc*sc*i*
alias: =A0 =A0 =A0 =A0 =A0pci:v000010ECd00008178sv*sd*bc*sc*i*
alias: =A0 =A0 =A0 =A0 =A0pci:v000010ECd00008191sv*sd*bc*sc*i*
depends: =A0 =A0 =A0 =A0rtlwifi,rtl8192c-common,mac80211
intree: =A0 =A0 =A0 =A0 Y
vermagic: =A0 =A0 =A0 3.4.6-custom SMP mod_unload modversions 686=A0
parm: =A0 =A0 =A0 =A0 =A0 swenc:Set to 1 for software crypto (default 0=
)
parm: =A0 =A0 =A0 =A0 =A0 ips:Set to 0 to not use link power save (defa=
ult 1)

parm: =A0 =A0 =A0 =A0 =A0 swlps:Set to 1 to use SW control power save (=
default 0)

parm: =A0 =A0 =A0 =A0 =A0 fwlps:Set to 1 to use FW control power save (=
default 1)

parm: =A0 =A0 =A0 =A0 =A0 debug:Set debug level (0-5) (default 0) (int)



sudo hostapd -dd /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf

nl80211: Register Action command failed: ret=3D-114 (Operation already =
in progress)
nl80211: Register Action match - hexdump(len=3D1): 06
nl80211: Failed to register Action frame processing - ignore for now
nl80211: Interface wlan0 is in bridge br0
nl80211: Add own interface ifindex 3
nl80211: Add own interface ifindex 4
=46ailed to create interface mon.wlan0: -23 (Too many open files in sys=
tem)
Try to remove and re-create mon.wlan0
nl80211: Remove interface ifindex=3D5
nl80211: New interface mon.wlan0 created: ifindex=3D6
nl80211: Add own interface ifindex 6
Could not set interface mon.wlan0 flags: Success
nl80211: Remove interface ifindex=3D6
nl80211: Failed to set interface wlan0 into AP mode
nl80211 driver initialization failed.
ELOOP: remaining socket: sock=3D4 eloop_data=3D0x8423900 user_data=3D0x=
8423eb0 handler=3D0x807c5e0
ELOOP: remaining socket: sock=3D6 eloop_data=3D0x8425cb8 user_data=3D(n=
il) handler=3D0x8086770

--
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Larry Finger
2012-07-26 11:28:25 UTC
Permalink
On 07/26/2012 06:01 AM, Xavier de Almeida wrote:
> Cool let's get this sorted then.
>
> Here is the output now with the 3.4.6 kernel. If you prefer me to try with the 3.5, I can.
>
> thanks
>
> uname -r
> 3.4.6-custom
>
> ifconfig
>
> br0 Link encap:Ethernet HWaddr 80:ee:73:31:54:b2
> inet addr:192.168.0.40 Bcast:192.168.0.255 Mask:255.255.255.0
> inet6 addr: fe80::82ee:73ff:fe31:54b2/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:426 errors:0 dropped:0 overruns:0 frame:0
> TX packets:548 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:30369 (30.3 KB) TX bytes:79172 (79.1 KB)
>
> eth0 Link encap:Ethernet HWaddr 80:ee:73:31:54:b2
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:510 errors:0 dropped:4 overruns:0 frame:0
> TX packets:546 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:54044 (54.0 KB) TX bytes:79000 (79.0 KB)
> Interrupt:45
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> inet6 addr: ::1/128 Scope:Host
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> RX packets:968 errors:0 dropped:0 overruns:0 frame:0
> TX packets:968 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:72060 (72.0 KB) TX bytes:72060 (72.0 KB)
>
> iwconfig
> br0 no wireless extensions.
>
> wlan0 IEEE 802.11bgn Mode:Master Frequency:2.437 GHz Tx-Power=20 dBm
> Retry long limit:7 RTS thr=2347 B Fragment thr:off
> Power Management:on
>
> lo no wireless extensions.
>
> eth0 no wireless extensions.
>
> sudo modinfo rtl8192ce
> filename: /lib/modules/3.4.6-custom/kernel/drivers/net/wireless/rtlwifi/rtl8192ce/rtl8192ce.ko
> firmware: rtlwifi/rtl8192cfwU_B.bin
> firmware: rtlwifi/rtl8192cfwU.bin
> firmware: rtlwifi/rtl8192cfw.bin
> description: Realtek 8192C/8188C 802.11n PCI wireless
> license: GPL
> author: Larry Finger <Larry.Finger-***@public.gmane.org>
> author: Realtek WlanFAE <wlanfae-***@public.gmane.org>
> author: lizhaoming <chaoming_li-***@public.gmane.org>
> srcversion: AE758D5E662358264A4DB35
> alias: pci:v000010ECd00008176sv*sd*bc*sc*i*
> alias: pci:v000010ECd00008177sv*sd*bc*sc*i*
> alias: pci:v000010ECd00008178sv*sd*bc*sc*i*
> alias: pci:v000010ECd00008191sv*sd*bc*sc*i*
> depends: rtlwifi,rtl8192c-common,mac80211
> intree: Y
> vermagic: 3.4.6-custom SMP mod_unload modversions 686
> parm: swenc:Set to 1 for software crypto (default 0)
> parm: ips:Set to 0 to not use link power save (default 1)
>
> parm: swlps:Set to 1 to use SW control power save (default 0)
>
> parm: fwlps:Set to 1 to use FW control power save (default 1)
>
> parm: debug:Set debug level (0-5) (default 0) (int)
>
>
>
> sudo hostapd -dd /etc/hostapd/hostapd.conf
> Configuration file: /etc/hostapd/hostapd.conf
>
> nl80211: Register Action command failed: ret=-114 (Operation already in progress)
> nl80211: Register Action match - hexdump(len=1): 06
> nl80211: Failed to register Action frame processing - ignore for now
> nl80211: Interface wlan0 is in bridge br0
> nl80211: Add own interface ifindex 3
> nl80211: Add own interface ifindex 4
> Failed to create interface mon.wlan0: -23 (Too many open files in system)
> Try to remove and re-create mon.wlan0
> nl80211: Remove interface ifindex=5
> nl80211: New interface mon.wlan0 created: ifindex=6
> nl80211: Add own interface ifindex 6
> Could not set interface mon.wlan0 flags: Success
> nl80211: Remove interface ifindex=6
> nl80211: Failed to set interface wlan0 into AP mode
> nl80211 driver initialization failed.
> ELOOP: remaining socket: sock=4 eloop_data=0x8423900 user_data=0x8423eb0 handler=0x807c5e0
> ELOOP: remaining socket: sock=6 eloop_data=0x8425cb8 user_data=(nil) handler=0x8086770

I'm not sure why you are getting that error -23 (too many open files). Is that
number set artificially low for some reason? What does

cat /proc/sys/fs/file-max

report? On my system, it is 300000.

Attached is a script file that I use to start an AP on my system. Please try it
and see if it works differently. You mnay have to adjust the symbols for
different locations of hostapd, etc, and the address of the wireless network
that is currently set at 192.168.0.X. The script is run with

sudo ./control_ap start <name_of_wireless_iface> <name_of_external_iface>

or

sudo ./control_ap stop

For a normal configuration, the command would be "control_ap start wlan0 eth0".

In addition, one of the attachments in
https://bugzilla.redhat.com/show_bug.cgi?id=797709 is a hostapd configuration
file that works. You might compare it with yours.

Larry
Xavier de Almeida
2012-07-26 12:44:08 UTC
Permalink
Thanks for your script and the working config file.

1/ here is my output of "cat /proc/sys/fs/file-max"
333653

2/ I have compared the working hostapd.conf file with mine here are the=
differences: (working file -> mine)
#bridge=3Dbr0 ->=A0bridge=3Dbr0
ssid=3Dhome ->=A0ssid=3DSweet Home 2 (and=A0wpa_passphrase changed)

then it gives me another error message when I launch hostapd:

***@HTPC:~$ sudo hostapd -dd /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
ctrl_interface_group=3D0
nl80211: Interface wlan0 is in bridge br0
nl80211: Add own interface ifindex 3
nl80211: Add own interface ifindex 4
nl80211: New interface mon.wlan0 created: ifindex=3D8
nl80211: Add own interface ifindex 8
Could not set interface mon.wlan0 flags: Success
nl80211: Remove interface ifindex=3D8
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=3D4 eloop_data=3D0x9a988f0 user_data=3D0x=
9a9a760 handler=3D0x807c5e0
ELOOP: remaining socket: sock=3D6 eloop_data=3D0x9a9c548 user_data=3D(n=
il) handler=3D0x8086770

syslog:
Jul 26 14:39:01 HTPC CRON[3689]: (root) CMD ( =A0[ -x /usr/lib/php5/max=
lifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -minde=
pth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) ! -execdi=
r fuser -s {} 2>/dev/null \; -delete)
Jul 26 14:40:13 HTPC NetworkManager[1266]: =A0 =A0SCPlugin-Ifupdown: de=
vices added (path: /sys/devices/pci0000:00/0000:00:1c.3/0000:03:00.0/ne=
t/mon.wlan0, iface: mon.wlan0)
Jul 26 14:40:13 HTPC NetworkManager[1266]: =A0 =A0SCPlugin-Ifupdown: de=
vice added (path: /sys/devices/pci0000:00/0000:00:1c.3/0000:03:00.0/net=
/mon.wlan0, iface: mon.wlan0): no ifupdown configuration found.
Jul 26 14:40:13 HTPC kernel: [ 6327.389619] rtl8192ce:_rtl92ce_llt_writ=
e():<0-0> Failed to polling write LLT done at address 0!
Jul 26 14:40:13 HTPC kernel: [ 6327.389629] rtl8192ce:rtl92ce_hw_init()=
:<0-0> Init MAC failed
Jul 26 14:40:13 HTPC avahi-daemon[1258]: Withdrawing workstation servic=
e for mon.wlan0.
Jul 26 14:40:13 HTPC NetworkManager[1266]: =A0 =A0SCPlugin-Ifupdown: de=
vices removed (path: /sys/devices/pci0000:00/0000:00:1c.3/0000:03:00.0/=
net/mon.wlan0, iface: mon.wlan0)
Jul 26 14:41:46 HTPC kernel: [ 6420.634598] rtl8192ce:_rtl92ce_llt_writ=
e():<0-0> Failed to polling write LLT done at address 0!
Jul 26 14:41:46 HTPC kernel: [ 6420.634606] rtl8192ce:rtl92ce_hw_init()=
:<0-0> Init MAC failed
Jul 26 14:41:46 HTPC NetworkManager[1266]: =A0 =A0SCPlugin-Ifupdown: de=
vices added (path: /sys/devices/pci0000:00/0000:00:1c.3/0000:03:00.0/ne=
t/mon.wlan0, iface: mon.wlan0)
Jul 26 14:41:46 HTPC NetworkManager[1266]: =A0 =A0SCPlugin-Ifupdown: de=
vice added (path: /sys/devices/pci0000:00/0000:00:1c.3/0000:03:00.0/net=
/mon.wlan0, iface: mon.wlan0): no ifupdown configuration found.
Jul 26 14:41:46 HTPC avahi-daemon[1258]: Withdrawing workstation servic=
e for mon.wlan0.
Jul 26 14:41:46 HTPC NetworkManager[1266]: =A0 =A0SCPlugin-Ifupdown: de=
vices removed (path: /sys/devices/pci0000:00/0000:00:1c.3/0000:03:00.0/=
net/mon.wlan0, iface: mon.wlan0)

I will try your script and report.


Xabix
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Xavier de Almeida
2012-07-26 14:49:50 UTC
Permalink
In my case, I don't have a dhcp server but I use isc-dhcp-relay in order to reuse my master DHCP server for wireless endpoints. The advantage over one single point of control is that fixed and wireless endpoints will share the same network 192.168.0/24.

/etc/default/isc-dhcp-relay
  # What servers should the DHCP relay forward requests to?
  SERVERS="192.168.0.254"
  # On what interfaces should the DHCP relay (dhrelay) serve DHCP requests?

  INTERFACES="wlan0"
  # Additional options that are passed to the DHCP relay daemon?

  OPTIONS="-d"

Here are the results when using Larry's script:

sudo ./control_ap.sh start wlan0 eth0

Starting AP mode for wlan0 at address 192.168.0.200
hostapd: no process found
isc-dhcp-relay: no process found
touch: cannot touch `/var/lib/dhcp/db/dhcpd.leases': No such file or directory
Configuration file: /home/xabix/hostapd.conf
Could not set interface mon.wlan0 flags: Success
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=0x85a1910 user_data=0x85a3720 handler=0x807c5e0
ELOOP: remaining socket: sock=6 eloop_data=0x85a5538 user_data=(nil) handler=0x8086770

I think the problem I am having is the same as without the script.

Do you want me to enable additional logging? (plz confirmed how to do so)

Merci
XabiX

PS: I have attached the updated script for my case. Mainly I just changed the IPTABLES=, the dhcpd with isc-dhcp-relay, .1 with .200, name of the SSID and the pwd I remove the "\"...""" entry with a pwd like WPA_SECRET=test1234)
Larry Finger
2012-07-26 21:52:10 UTC
Permalink
On 07/26/2012 09:49 AM, Xavier de Almeida wrote:
> In my case, I don't have a dhcp server but I use isc-dhcp-relay in order to reuse my master DHCP server for wireless endpoints. The advantage over one single point of control is that fixed and wireless endpoints will share the same network 192.168.0/24.
>
> /etc/default/isc-dhcp-relay
> # What servers should the DHCP relay forward requests to?
> SERVERS="192.168.0.254"
> # On what interfaces should the DHCP relay (dhrelay) serve DHCP requests?
>
> INTERFACES="wlan0"
> # Additional options that are passed to the DHCP relay daemon?
>
> OPTIONS="-d"
>
> Here are the results when using Larry's script:
>
> sudo ./control_ap.sh start wlan0 eth0
>
> Starting AP mode for wlan0 at address 192.168.0.200
> hostapd: no process found
> isc-dhcp-relay: no process found
> touch: cannot touch `/var/lib/dhcp/db/dhcpd.leases': No such file or directory
> Configuration file: /home/xabix/hostapd.conf
> Could not set interface mon.wlan0 flags: Success
> 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=0x85a1910 user_data=0x85a3720 handler=0x807c5e0
> ELOOP: remaining socket: sock=6 eloop_data=0x85a5538 user_data=(nil) handler=0x8086770
>
> I think the problem I am having is the same as without the script.
>
> Do you want me to enable additional logging? (plz confirmed how to do so)

I finally finished the bug bisection that I was doing and set up an RTL8188CE
with my script on wireless-testing 3.5.0, which is the same wireless code as you
will get with the bleeding-edge compat-wireless. BTW, that is the wireless code
that will be in 3.6.0 in about 3 months. When I started my script, I got the
following:

***@larrylap:~> sudo ./control_ap start wlan0 eth0
Starting AP mode for wlan0 at address 192.168.0.1
iptables: No chain/target/match by that name.
Internet Systems Consortium DHCP Server 4.2.3-P2
Copyright 2004-2012 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not
specified in the config file
Wrote 1 leases to leases file.
Listening on LPF/wlan0/1c:65:9d:15:c2:bd/192.168.0.0/24
Sending on LPF/wlan0/1c:65:9d:15:c2:bd/192.168.0.0/24
Sending on Socket/fallback/fallback-net
Configuration file: /root/hostapd.conf
***@larrylap:~>

I was able to associate and authenticate with this new AP and connect through it
to the Internet. Obviously this kernel does not have one of the iptables
modules, but otherwise all is well.

What version of hostapd are you using? Mine is 1.0.

You need to use compat-wireless and make certain that hostapd is new enough. I
think 0.7.3 would be OK.

Larry



--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Xavier de Almeida
2012-07-27 06:34:52 UTC
Permalink
Hi Larry,

I am using=A0hostapd v0.7.3 but I did not install the=A0bleeding-edge c=
ompat-wireless drivers.

What I noticed is that your script refers to module se while I have a c=
e. (I am not sure if this can impact or explain the differences between=
your setup and mine).

When I download the drivers from=A0http://wireless.kernel.org/en/users/=
Download#Where_to_download_bleeding_edge, I got this file "compat-wirel=
ess-2.6.tar.bz2" which contains maybe a too old version compat-wireless=
-2012-05-10.

Should I install this version?
If I install kernel 3.5.0, will I still need to install the compat-wire=
less drivers?

Thanks
XabiX


> I finally finished the bug bisection that I was doing and set up an R=
TL8188CE=20
> with my script on wireless-testing 3.5.0, which is the same wireless =
code as you=20
>=20
> will get with the bleeding-edge compat-wireless. BTW, that is the wir=
eless code=20
> that will be in 3.6.0 in about 3 months. When I started my script, I =
got the=20
> following:
>=20
> ***@larrylap:~> sudo ./control_ap start wlan0 eth0
> Starting AP mode for wlan0 at address 192.168.0.1
> iptables: No chain/target/match by that name.
> Internet Systems Consortium DHCP Server 4.2.3-P2
> Copyright 2004-2012 Internet Systems Consortium.
> All rights reserved.
> For info, please visit https://www.isc.org/software/dhcp/
> Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were=
not=20
> specified in the config file
> Wrote 1 leases to leases file.
> Listening on LPF/wlan0/1c:65:9d:15:c2:bd/192.168.0.0/24
> Sending on=A0 LPF/wlan0/1c:65:9d:15:c2:bd/192.168.0.0/24
> Sending on=A0 Socket/fallback/fallback-net
> Configuration file: /root/hostapd.conf
> ***@larrylap:~>
>=20
> I was able to associate and authenticate with this new AP and connect=
through it=20
>=20
> to the Internet. Obviously this kernel does not have one of the iptab=
les=20
> modules, but otherwise all is well.
>=20
> What version of hostapd are you using? Mine is 1.0.
>=20
> You need to use compat-wireless and make certain that hostapd is new =
enough. I=20
> think 0.7.3 would be OK.
>=20
> Larry
>=20
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Larry Finger
2012-07-27 11:51:27 UTC
Permalink
On 07/27/2012 01:34 AM, Xavier de Almeida wrote:
> Hi Larry,
>
> I am using hostapd v0.7.3 but I did not install the bleeding-edge compat-wireless drivers.
>
> What I noticed is that your script refers to module se while I have a ce. (I am not sure if this can impact or explain the differences between your setup and mine).
>
> When I download the drivers from http://wireless.kernel.org/en/users/Download#Where_to_download_bleeding_edge, I got this file "compat-wireless-2.6.tar.bz2" which contains maybe a too old version compat-wireless-2012-05-10.
>
> Should I install this version?
> If I install kernel 3.5.0, will I still need to install the compat-wireless drivers?

The SE was in the ESSID. Do you think that matters?? The chip I used was an
RTL8188CE, the same as yours.

You need to install the bleeding-edge compat wireless from
http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz2.
That sounds like the version you got.

Installing kernel 3.5 0 will get older drivers than compat-wireless. That is the
way that kernel development works. The ones in 3.5.0 should be OK, but
installing compat would be easier than generating a 3.5 kernel.

Larry



--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Xavier de Almeida
2012-07-27 13:09:41 UTC
Permalink
So I have download the file from your link=A0which=A0provides a directo=
ry called: "compat-wireless-2012-05-10". I was using one called "compat=
-wireless-2012-07-03".

=46YI I already compiled the 3.5 kernel but as you recommend I keep usi=
ng the 3.4.6 for now as it will not necessary bring something new aroun=
d the rtl8188ce wifi driver.

=46YI there should be something wrong in the README as if I do:
***@HTPC:/home/xabix/tmp/compat-wireless-2012-05-10# ./scripts/driver-=
select rtl8192ce
Processing new driver-select request...
Backing up makefile: Makefile.bk
Unsupported driver

I ve got the Unsupported driver message

Anyway I am compilling them all based on the link you suggested:=A0comp=
at-wireless-2012-05-10

Will report when done

merci
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Xavier de Almeida
2012-07-27 14:12:36 UTC
Permalink
>So I have download the file from your link=A0which=A0provides a direct=
ory called: "compat-wireless-2012-05-10". I was using one called "compa=
t-wireless-2012-07-03".
>
>FYI I already compiled the 3.5 kernel but as you recommend I keep usin=
g the 3.4.6 for now as it will not necessary bring something new around=
the rtl8188ce wifi driver.
>
>FYI there should be something wrong in the README as if I do:
>***@HTPC:/home/xabix/tmp/compat-wireless-2012-05-10# ./scripts/driver=
-select rtl8192ce
>Processing new driver-select request...
>Backing up makefile: Makefile.bk
>Unsupported driver
>
>I ve got the Unsupported driver message
>
>Anyway I am compilling them all based on the link you suggested:=A0com=
pat-wireless-2012-05-10
>
>Will report when done
>
>merci
>


Hi Larry,

So after rebooting (and installing the compat drivers from 05-10) it se=
ems to work meaning that the process runs:

5 S root =A0 =A0 =A01486 =A0 =A0 1 =A00 =A080 =A0 0 - =A01415 poll_s 16=
:03 ? =A0 =A0 =A0 =A000: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

***@HTPC:~$ sudo service hostapd stop
[sudo] password for xabix:=A0
=A0* Stopping advanced IEEE 802.11 management hostapd
=A0 =A0...done.
***@HTPC:~$ /usr/sbin/hostapd -B -P /var/run/hostapd.pid -dd /etc/hos=
tapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
ctrl_interface_group=3D0
nl80211: Register Action command failed: ret=3D-1 (Operation not permit=
ted)
nl80211: Register Action match - hexdump(len=3D1): 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 permitt=
ed)
nl80211: Failed to set interface 4 to mode 3: -1 (Operation not permitt=
ed)
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=3D4 eloop_data=3D0x9cdc910 user_data=3D0x=
9cde780 handler=3D0x807c


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):
# =A00 =3D verbose debugging
# =A01 =3D debugging
# =A02 =3D informational messages
# =A03 =3D notification
# =A04 =3D warning
logger_syslog=3D1
logger_syslog_level=3D0


but I don't see enough logs to know why after the association there is =
a deauthentication.

Cheers
almost there :D

--
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Xavier de Almeida
2012-07-27 15:38:27 UTC
Permalink
> Hi Larry,

>=20
> So after rebooting (and installing the compat drivers from 05-10) it =
seems to=20
> work meaning that the process runs:
>=20
> 5 S root =A0 =A0 =A01486 =A0 =A0 1 =A00 =A080 =A0 0 - =A01415 poll_s =
16:03 ? =A0 =A0 =A0 =A000:00:00=20
> /usr/sbin/hostapd -B -P /var/run/hostapd.pid -dd /etc/hostapd/hostapd=
=2Econf
>=20
>=20
> Jul 27 16:06:15 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802.1=
1:=20
> authentication OK (open system)
> Jul 27 16:06:15 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802.1=
1:=20
> authenticated
> Jul 27 16:06:15 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802.1=
1:=20
> association OK (aid 1)
> Jul 27 16:06:15 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802.1=
1:=20
> associated (aid 1)
> Jul 27 16:06:18 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802.1=
1:=20
> deauthenticated due to local deauth request
> Jul 27 16:06:22 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802.1=
1:=20
> authentication OK (open system)
> Jul 27 16:06:22 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802.1=
1:=20
> authenticated
> Jul 27 16:06:22 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802.1=
1:=20
> association OK (aid 1)
> Jul 27 16:06:22 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802.1=
1:=20
> associated (aid 1)
> Jul 27 16:06:25 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802.1=
1:=20
> deauthenticated due to local deauth request
> Jul 27 16:06:29 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802.1=
1:=20
> authentication OK (open system)
> Jul 27 16:06:29 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802.1=
1:=20
> authenticated
> Jul 27 16:06:29 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802.1=
1:=20
> association OK (aid 1)
> Jul 27 16:06:29 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802.1=
1:=20
> associated (aid 1)
>=20
> but I launch manually it doesn't work anymore
>=20
> ***@HTPC:~$ sudo service hostapd stop
> [sudo] password for xabix:=A0
> =A0* Stopping advanced IEEE 802.11 management hostapd
> =A0 =A0...done.
> ***@HTPC:~$ /usr/sbin/hostapd -B -P /var/run/hostapd.pid -dd=20
> /etc/hostapd/hostapd.conf
> Configuration file: /etc/hostapd/hostapd.conf
> ctrl_interface_group=3D0
> nl80211: Register Action command failed: ret=3D-1 (Operation not perm=
itted)
> nl80211: Register Action match - hexdump(len=3D1): 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 permi=
tted)
> nl80211: Failed to set interface 4 to mode 3: -1 (Operation not permi=
tted)
> 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=3D4 eloop_data=3D0x9cdc910 user_data=3D=
0x9cde780=20
> handler=3D0x807c
>=20
>=20
> so the only to launch it for now is to reboot :)
>=20
> I dit put this on the conf file
> # Levels (minimum value for logged events):
> # =A00 =3D verbose debugging
> # =A01 =3D debugging
> # =A02 =3D informational messages
> # =A03 =3D notification
> # =A04 =3D warning
> logger_syslog=3D1
> logger_syslog_level=3D0
>=20
>=20
> but I don't see enough logs to know why after the association there i=
s a=20
> deauthentication.
>=20
> 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;

***@HTPC:~$ sudo tcpdump -n -i br0 port bootps or port bootpc
[sudo] password for xabix:=A0
tcpdump: verbose output suppressed, use -v or -vv for full protocol dec=
ode
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 foun=
d; state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889)
Jul 27 16:43:50 HTPC NetworkManager[1282]: <info> Unmanaged Device foun=
d; state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889)
Jul 27 17:32:00 HTPC kernel: [ 5321.199053] init: isc-dhcp-relay main p=
rocess (4351) terminated with status 1
Jul 27 17:32:00 HTPC kernel: [ 5321.199116] init: isc-dhcp-relay main p=
rocess ended, respawning
Jul 27 17:32:00 HTPC dhcrelay: Usage: dhcrelay [-4] [-d] [-q] [-a] [-D]=
#012 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [-A <length>] [-c <hops>] =
[-p <port>]#012 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [-pf <pid-file>=
] [--no-pid]#012 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [-m append|rep=
lace|forward|discard]#012 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [-i i=
nterface0 [ ... -i interfaceN]#012 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 server0 [ ... serverN]#012#012 =A0 =A0 =A0 dhcrelay -6 =A0 [-d] [-q=
] [-I] [-c <hops>] [-p <port>]#012 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 [-pf <pid-file>] [--no-pid]#012 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
=A0 -l lower0 [ ... -l lowerN]#012 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
=A0 -u upper0 [ ... -u upperN]#012 =A0 =A0 =A0 lower (client link): [a=
ddress%]interface[#index]#012 =A0 =A0 =A0 upper (server link): [address=
%]interface
Jul 27 17:32:00 HTPC kernel: [ 5321.209552] init: isc-dhcp-relay main p=
rocess (4353) terminated with status 1
Jul 27 17:32:00 HTPC kernel: [ 5321.209637] init: isc-dhcp-relay main p=
rocess ended, respawning
Jul 27 17:32:00 HTPC dhcrelay: Usage: dhcrelay [-4] [-d] [-q] [-a] [-D]=
#012 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [-A <length>] [-c <hops>] =
[-p <port>]#012 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [-pf <pid-file>=
] [--no-pid]#012 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [-m append|rep=
lace|forward|discard]#012 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [-i i=
nterface0 [ ... -i interfaceN]#012 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 server0 [ ... serverN]#012#012 =A0 =A0 =A0 dhcrelay -6 =A0 [-d] [-q=
] [-I] [-c <hops>] [-p <port>]#012 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 [-pf <pid-file>] [--no-pid]#012 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
=A0 -l lower0 [ ... -l lowerN]#012 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
=A0 -u upper0 [ ... -u upperN]#012 =A0 =A0 =A0 lower (client link): [a=
ddress%]interface[#index]#012 =A0 =A0 =A0 upper (server link): [address=
%]interface
Jul 27 17:32:00 HTPC kernel: [ 5321.220074] init: isc-dhcp-relay main p=
rocess (4355) terminated with status 1
Jul 27 17:32:00 HTPC kernel: [ 5321.220143] init: isc-dhcp-relay main p=
rocess ended, respawning
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Xavier de Almeida
2012-07-27 15:59:30 UTC
Permalink
Larry can you tell me what do you have for power mgt settings in

/etc/modprobe.d/rtl8192ce.conf=A0
options rtl8192ce ips=3D0 swenc=3D1

systool -v -m rtl8192ce
Module =3D "rtl8192ce"

=A0 Attributes:
=A0 =A0 coresize =A0 =A0 =A0 =A0 =A0 =A0=3D "74421"
=A0 =A0 initsize =A0 =A0 =A0 =A0 =A0 =A0=3D "0"
=A0 =A0 initstate =A0 =A0 =A0 =A0 =A0 =3D "live"
=A0 =A0 refcnt =A0 =A0 =A0 =A0 =A0 =A0 =A0=3D "0"
=A0 =A0 srcversion =A0 =A0 =A0 =A0 =A0=3D "AE758D5E662358264A4DB35"
=A0 =A0 taint =A0 =A0 =A0 =A0 =A0 =A0 =A0 =3D ""
=A0 =A0 uevent =A0 =A0 =A0 =A0 =A0 =A0 =A0=3D <store method only>

=A0 Parameters:
=A0 =A0 debug =A0 =A0 =A0 =A0 =A0 =A0 =A0 =3D "0"
=A0 =A0 fwlps =A0 =A0 =A0 =A0 =A0 =A0 =A0 =3D "Y"
=A0 =A0 ips =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =3D "N"
=A0 =A0 swenc =A0 =A0 =A0 =A0 =A0 =A0 =A0 =3D "Y"
=A0 =A0 swlps =A0 =A0 =A0 =A0 =A0 =A0 =A0 =3D "N"

=A0 Sections:
=A0 =A0 .altinstr_replacement=3D "0x00000000"
=A0 =A0 .altinstructions =A0 =A0=3D "0x00000000"
=A0 =A0 .bss =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=3D "0x00000000"
=A0 =A0 .data =A0 =A0 =A0 =A0 =A0 =A0 =A0 =3D "0x00000000"
=A0 =A0 .devinit.rodata =A0 =A0 =3D "0x00000000"
=A0 =A0 .exit.text =A0 =A0 =A0 =A0 =A0=3D "0x00000000"
=A0 =A0 .gnu.linkonce.this_module=3D "0x00000000"
=A0 =A0 .init.text =A0 =A0 =A0 =A0 =A0=3D "0x00000000"
=A0 =A0 .note.gnu.build-id =A0=3D "0x00000000"
=A0 =A0 .parainstructions =A0 =3D "0x00000000"
=A0 =A0 .rodata =A0 =A0 =A0 =A0 =A0 =A0 =3D "0x00000000"
=A0 =A0 .rodata.str1.1 =A0 =A0 =A0=3D "0x00000000"
=A0 =A0 .rodata.str1.4 =A0 =A0 =A0=3D "0x00000000"
=A0 =A0 .strtab =A0 =A0 =A0 =A0 =A0 =A0 =3D "0x00000000"
=A0 =A0 .symtab =A0 =A0 =A0 =A0 =A0 =A0 =3D "0x00000000"
=A0 =A0 .text =A0 =A0 =A0 =A0 =A0 =A0 =A0 =3D "0x00000000"
=A0 =A0 __mcount_loc =A0 =A0 =A0 =A0=3D "0x00000000"
=A0 =A0 __param =A0 =A0 =A0 =A0 =A0 =A0 =3D "0x00000000"

Thanks
XabiX


----- Mail original -----
> De=A0: Xavier de Almeida <xavierdealmeida-***@public.gmane.org>
> =C0=A0: "linux-wireless-***@public.gmane.org" <linux-wireless-***@public.gmane.org=
org>
> Cc=A0: Larry Finger <Larry.Finger-***@public.gmane.org>
> Envoy=E9 le : Vendredi 27 juillet 2012 17h38
> Objet=A0: Re: Tr : Tr : Can't make RTL8188CE work with hostapd (rtl81=
92ce)
>=20
>> Hi Larry,
>=20
>>=20
>> So after rebooting (and installing the compat drivers from 05-10) i=
t seems=20
> to=20
>> work meaning that the process runs:
>>=20
>> 5 S root =A0 =A0 =A01486 =A0 =A0 1 =A00 =A080 =A0 0 - =A01415 poll_=
s 16:03 ? =A0 =A0 =A0 =A000:00:00=20
>> /usr/sbin/hostapd -B -P /var/run/hostapd.pid -dd /etc/hostapd/hosta=
pd.conf
>>=20
>>=20
>> Jul 27 16:06:15 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802=
=2E11:=20
>> authentication OK (open system)
>> Jul 27 16:06:15 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802=
=2E11:=20
>> authenticated
>> Jul 27 16:06:15 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802=
=2E11:=20
>> association OK (aid 1)
>> Jul 27 16:06:15 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802=
=2E11:=20
>> associated (aid 1)
>> Jul 27 16:06:18 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802=
=2E11:=20
>> deauthenticated due to local deauth request
>> Jul 27 16:06:22 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802=
=2E11:=20
>> authentication OK (open system)
>> Jul 27 16:06:22 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802=
=2E11:=20
>> authenticated
>> Jul 27 16:06:22 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802=
=2E11:=20
>> association OK (aid 1)
>> Jul 27 16:06:22 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802=
=2E11:=20
>> associated (aid 1)
>> Jul 27 16:06:25 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802=
=2E11:=20
>> deauthenticated due to local deauth request
>> Jul 27 16:06:29 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802=
=2E11:=20
>> authentication OK (open system)
>> Jul 27 16:06:29 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802=
=2E11:=20
>> authenticated
>> Jul 27 16:06:29 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802=
=2E11:=20
>> association OK (aid 1)
>> Jul 27 16:06:29 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802=
=2E11:=20
>> associated (aid 1)
>>=20
>> but I launch manually it doesn't work anymore
>>=20
>> ***@HTPC:~$ sudo service hostapd stop
>> [sudo] password for xabix:=A0
>> =A0* Stopping advanced IEEE 802.11 management hostapd
>> =A0 =A0...done.
>> ***@HTPC:~$ /usr/sbin/hostapd -B -P /var/run/hostapd.pid -dd=20
>> /etc/hostapd/hostapd.conf
>> Configuration file: /etc/hostapd/hostapd.conf
>> ctrl_interface_group=3D0
>> nl80211: Register Action command failed: ret=3D-1 (Operation not pe=
rmitted)
>> nl80211: Register Action match - hexdump(len=3D1): 06
>> nl80211: Failed to register Action frame processing - ignore for no=
w
>> nl80211: Add own interface ifindex 3
>> nl80211: Add own interface ifindex 4
>> nl80211: Failed to set interface 4 to mode 3: -1 (Operation not per=
mitted)
>> nl80211: Failed to set interface 4 to mode 3: -1 (Operation not per=
mitted)
>> 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=3D4 eloop_data=3D0x9cdc910 user_data=3D=
0x9cde780=20
>> handler=3D0x807c
>>=20
>>=20
>> so the only to launch it for now is to reboot :)
>>=20
>> I dit put this on the conf file
>> # Levels (minimum value for logged events):
>> # =A00 =3D verbose debugging
>> # =A01 =3D debugging
>> # =A02 =3D informational messages
>> # =A03 =3D notification
>> # =A04 =3D warning
>> logger_syslog=3D1
>> logger_syslog_level=3D0
>>=20
>>=20
>> but I don't see enough logs to know why after the association there=
is=20
> a=20
>> deauthentication.
>>=20
>> Cheers
>> almost there :D
>=20
>=20
> Too me it looks like it's working but the isc-dhcp-relay dies when th=
e=20
> interface goes down for power mgt;
>=20
> ***@HTPC:~$ sudo tcpdump -n -i br0 port bootps or port bootpc
> [sudo] password for xabix:=A0
> tcpdump: verbose output suppressed, use -v or -vv for full protocol d=
ecode
> listening on br0, link-type EN10MB (Ethernet), capture size 65535 byt=
es
> 16:42:48.997437 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Reque=
st from=20
> 88:30:8a:52:ed:cd, length 356
>=20
>=20
> Jul 27 16:10:31 HTPC dhcrelay: receive_packet failed on wlan0: Networ=
k is down
>=20
> Jul 27 16:43:50 HTPC NetworkManager[1282]: <info> Unmanaged Device fo=
und;=20
> state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889)
> Jul 27 16:43:50 HTPC NetworkManager[1282]: <info> Unmanaged Device fo=
und;=20
> 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=20
> (4351) terminated with status 1
> Jul 27 17:32:00 HTPC kernel: [ 5321.199116] init: isc-dhcp-relay main=
process=20
> ended, respawning
> Jul 27 17:32:00 HTPC dhcrelay: Usage: dhcrelay [-4] [-d] [-q] [-a] [-=
D]#012 =A0 =A0=20
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [-A <length>] [-c <hops>] [-p <port>]=
#012 =A0 =A0=20
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [-pf <pid-file>] [--no-pid]#012 =A0 =A0=
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [-m=20
> append|replace|forward|discard]#012 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
=A0 [-i interface0 [ ... -i=20
> interfaceN]#012 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 server0 [ ...=
serverN]#012#012 =A0 =A0 =A0=20
> dhcrelay -6 =A0 [-d] [-q] [-I] [-c <hops>] [-p <port>]#012 =A0 =A0 =A0=
=A0 =A0 =A0=20
> =A0 =A0 =A0 =A0 [-pf <pid-file>] [--no-pid]#012 =A0 =A0 =A0 =A0 =A0 =A0=
=A0 =A0 =A0 =A0 -l lower0 [=20
> ... -l lowerN]#012 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 -u upper0 =
[ ... -u upperN]#012 =A0 =A0 =A0=20
> lower (client link): [address%]interface[#index]#012 =A0 =A0 =A0 uppe=
r (server link):=20
> [address%]interface
> Jul 27 17:32:00 HTPC kernel: [ 5321.209552] init: isc-dhcp-relay main=
process=20
> (4353) terminated with status 1
> Jul 27 17:32:00 HTPC kernel: [ 5321.209637] init: isc-dhcp-relay main=
process=20
> ended, respawning
> Jul 27 17:32:00 HTPC dhcrelay: Usage: dhcrelay [-4] [-d] [-q] [-a] [-=
D]#012 =A0 =A0=20
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [-A <length>] [-c <hops>] [-p <port>]=
#012 =A0 =A0=20
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [-pf <pid-file>] [--no-pid]#012 =A0 =A0=
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [-m=20
> append|replace|forward|discard]#012 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
=A0 [-i interface0 [ ... -i=20
> interfaceN]#012 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 server0 [ ...=
serverN]#012#012 =A0 =A0 =A0=20
> dhcrelay -6 =A0 [-d] [-q] [-I] [-c <hops>] [-p <port>]#012 =A0 =A0 =A0=
=A0 =A0 =A0=20
> =A0 =A0 =A0 =A0 [-pf <pid-file>] [--no-pid]#012 =A0 =A0 =A0 =A0 =A0 =A0=
=A0 =A0 =A0 =A0 -l lower0 [=20
> ... -l lowerN]#012 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 -u upper0 =
[ ... -u upperN]#012 =A0 =A0 =A0=20
> lower (client link): [address%]interface[#index]#012 =A0 =A0 =A0 uppe=
r (server link):=20
> [address%]interface
> Jul 27 17:32:00 HTPC kernel: [ 5321.220074] init: isc-dhcp-relay main=
process=20
> (4355) terminated with status 1
> Jul 27 17:32:00 HTPC kernel: [ 5321.220143] init: isc-dhcp-relay main=
process=20
> ended, respawning
>=20
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Xavier de Almeida
2012-07-27 16:38:09 UTC
Permalink
Without touching anything it started to work:

Jul 27 18:34:27 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802.11:=
association OK (aid 1)
Jul 27 18:34:27 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802.11:=
associated (aid 1)
Jul 27 18:34:27 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd MLME: MLME-A=
SSOCIATE.indication(88:30:8a:52:ed:cd)
Jul 27 18:34:27 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd MLME: MLME-D=
ELETEKEYS.request(88:30:8a:52:ed:cd)
Jul 27 18:34:27 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd WPA: event 1=
notification
Jul 27 18:34:27 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd WPA: start a=
uthentication
Jul 27 18:34:27 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802.1X:=
unauthorizing port
Jul 27 18:34:27 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd WPA: sending=
1/4 msg of 4-Way Handshake
Jul 27 18:34:27 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd WPA: receive=
d EAPOL-Key frame (2/4 Pairwise)
Jul 27 18:34:27 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd WPA: sending=
3/4 msg of 4-Way Handshake
Jul 27 18:34:27 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd WPA: receive=
d EAPOL-Key frame (4/4 Pairwise)
Jul 27 18:34:27 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802.1X:=
authorizing port
Jul 27 18:34:27 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd RADIUS: star=
ting accounting session 5012BD3F-00000000
Jul 27 18:34:27 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd WPA: pairwis=
e key handshake completed (RSN)

but the signal is very weak so maybe that was one of the issues.

I am looking fwd to remove the power mgt stuff and maybe find out how t=
o increase the signal power. Maybe I should be a kind of antennat but n=
ot sure this will work with a barebone like the xs36v.

Merci

----- Mail original -----
> De=A0: Xavier de Almeida <xavierdealmeida-***@public.gmane.org>
> =C0=A0: "linux-wireless-***@public.gmane.org" <linux-wireless-***@public.gmane.org=
org>
> Cc=A0: Larry Finger <Larry.Finger-***@public.gmane.org>
> Envoy=E9 le : Vendredi 27 juillet 2012 17h59
> Objet=A0: Re: Tr : Tr : Can't make RTL8188CE work with hostapd (rtl81=
92ce)
>=20
> Larry can you tell me what do you have for power mgt settings in
>=20
> /etc/modprobe.d/rtl8192ce.conf=A0
> options rtl8192ce ips=3D0 swenc=3D1
>=20
> systool -v -m rtl8192ce
> Module =3D "rtl8192ce"
>=20
> =A0 Attributes:
> =A0 =A0 coresize =A0 =A0 =A0 =A0 =A0 =A0=3D "74421"
> =A0 =A0 initsize =A0 =A0 =A0 =A0 =A0 =A0=3D "0"
> =A0 =A0 initstate =A0 =A0 =A0 =A0 =A0 =3D "live"
> =A0 =A0 refcnt =A0 =A0 =A0 =A0 =A0 =A0 =A0=3D "0"
> =A0 =A0 srcversion =A0 =A0 =A0 =A0 =A0=3D "AE758D5E662358264A4DB35"
> =A0 =A0 taint =A0 =A0 =A0 =A0 =A0 =A0 =A0 =3D ""
> =A0 =A0 uevent =A0 =A0 =A0 =A0 =A0 =A0 =A0=3D <store method only>
>=20
> =A0 Parameters:
> =A0 =A0 debug =A0 =A0 =A0 =A0 =A0 =A0 =A0 =3D "0"
> =A0 =A0 fwlps =A0 =A0 =A0 =A0 =A0 =A0 =A0 =3D "Y"
> =A0 =A0 ips =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =3D "N"
> =A0 =A0 swenc =A0 =A0 =A0 =A0 =A0 =A0 =A0 =3D "Y"
> =A0 =A0 swlps =A0 =A0 =A0 =A0 =A0 =A0 =A0 =3D "N"
>=20
> =A0 Sections:
> =A0 =A0 .altinstr_replacement=3D "0x00000000"
> =A0 =A0 .altinstructions =A0 =A0=3D "0x00000000"
> =A0 =A0 .bss =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=3D "0x00000000"
> =A0 =A0 .data =A0 =A0 =A0 =A0 =A0 =A0 =A0 =3D "0x00000000"
> =A0 =A0 .devinit.rodata =A0 =A0 =3D "0x00000000"
> =A0 =A0 .exit.text =A0 =A0 =A0 =A0 =A0=3D "0x00000000"
> =A0 =A0 .gnu.linkonce.this_module=3D "0x00000000"
> =A0 =A0 .init.text =A0 =A0 =A0 =A0 =A0=3D "0x00000000"
> =A0 =A0 .note.gnu.build-id =A0=3D "0x00000000"
> =A0 =A0 .parainstructions =A0 =3D "0x00000000"
> =A0 =A0 .rodata =A0 =A0 =A0 =A0 =A0 =A0 =3D "0x00000000"
> =A0 =A0 .rodata.str1.1 =A0 =A0 =A0=3D "0x00000000"
> =A0 =A0 .rodata.str1.4 =A0 =A0 =A0=3D "0x00000000"
> =A0 =A0 .strtab =A0 =A0 =A0 =A0 =A0 =A0 =3D "0x00000000"
> =A0 =A0 .symtab =A0 =A0 =A0 =A0 =A0 =A0 =3D "0x00000000"
> =A0 =A0 .text =A0 =A0 =A0 =A0 =A0 =A0 =A0 =3D "0x00000000"
> =A0 =A0 __mcount_loc =A0 =A0 =A0 =A0=3D "0x00000000"
> =A0 =A0 __param =A0 =A0 =A0 =A0 =A0 =A0 =3D "0x00000000"
>=20
> Thanks
> XabiX
>=20
>=20
> ----- Mail original -----
>> De=A0: Xavier de Almeida <xavierdealmeida-***@public.gmane.org>
>> =C0=A0: "linux-wireless-***@public.gmane.org"=20
> <linux-wireless-***@public.gmane.org>
>> Cc=A0: Larry Finger <Larry.Finger-***@public.gmane.org>
>> Envoy=E9 le : Vendredi 27 juillet 2012 17h38
>> Objet=A0: Re: Tr : Tr : Can't make RTL8188CE work with hostapd=20
> (rtl8192ce)
>>=20
>>> =A0 Hi Larry,
>>=20
>>>=20
>>> =A0 So after rebooting (and installing the compat drivers from 05-1=
0) it=20
> seems=20
>> to=20
>>> =A0 work meaning that the process runs:
>>>=20
>>> =A0 5 S root =A0 =A0 =A01486 =A0 =A0 1 =A00 =A080 =A0 0 - =A01415 p=
oll_s 16:03 ? =A0 =A0 =A0=20
> =A000:00:00=20
>>> =A0 /usr/sbin/hostapd -B -P /var/run/hostapd.pid -dd=20
> /etc/hostapd/hostapd.conf
>>>=20
>>>=20
>>> =A0 Jul 27 16:06:15 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE=
=20
> 802.11:=20
>>> =A0 authentication OK (open system)
>>> =A0 Jul 27 16:06:15 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE=
=20
> 802.11:=20
>>> =A0 authenticated
>>> =A0 Jul 27 16:06:15 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE=
=20
> 802.11:=20
>>> =A0 association OK (aid 1)
>>> =A0 Jul 27 16:06:15 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE=
=20
> 802.11:=20
>>> =A0 associated (aid 1)
>>> =A0 Jul 27 16:06:18 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE=
=20
> 802.11:=20
>>> =A0 deauthenticated due to local deauth request
>>> =A0 Jul 27 16:06:22 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE=
=20
> 802.11:=20
>>> =A0 authentication OK (open system)
>>> =A0 Jul 27 16:06:22 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE=
=20
> 802.11:=20
>>> =A0 authenticated
>>> =A0 Jul 27 16:06:22 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE=
=20
> 802.11:=20
>>> =A0 association OK (aid 1)
>>> =A0 Jul 27 16:06:22 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE=
=20
> 802.11:=20
>>> =A0 associated (aid 1)
>>> =A0 Jul 27 16:06:25 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE=
=20
> 802.11:=20
>>> =A0 deauthenticated due to local deauth request
>>> =A0 Jul 27 16:06:29 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE=
=20
> 802.11:=20
>>> =A0 authentication OK (open system)
>>> =A0 Jul 27 16:06:29 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE=
=20
> 802.11:=20
>>> =A0 authenticated
>>> =A0 Jul 27 16:06:29 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE=
=20
> 802.11:=20
>>> =A0 association OK (aid 1)
>>> =A0 Jul 27 16:06:29 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE=
=20
> 802.11:=20
>>> =A0 associated (aid 1)
>>>=20
>>> =A0 but I launch manually it doesn't work anymore
>>>=20
>>> =A0 ***@HTPC:~$ sudo service hostapd stop
>>> =A0 [sudo] password for xabix:=A0
>>> =A0 =A0* Stopping advanced IEEE 802.11 management hostapd
>>> =A0 =A0 =A0...done.
>>> =A0 ***@HTPC:~$ /usr/sbin/hostapd -B -P /var/run/hostapd.pid -dd=20
>>> =A0 /etc/hostapd/hostapd.conf
>>> =A0 Configuration file: /etc/hostapd/hostapd.conf
>>> =A0 ctrl_interface_group=3D0
>>> =A0 nl80211: Register Action command failed: ret=3D-1 (Operation no=
t=20
> permitted)
>>> =A0 nl80211: Register Action match - hexdump(len=3D1): 06
>>> =A0 nl80211: Failed to register Action frame processing - ignore fo=
r now
>>> =A0 nl80211: Add own interface ifindex 3
>>> =A0 nl80211: Add own interface ifindex 4
>>> =A0 nl80211: Failed to set interface 4 to mode 3: -1 (Operation not=
=20
> permitted)
>>> =A0 nl80211: Failed to set interface 4 to mode 3: -1 (Operation not=
=20
> permitted)
>>> =A0 Could not set interface wlan0 flags: Permission denied
>>> =A0 nl80211: Interface mode change to 3 from 0 failed
>>> =A0 nl80211: Failed to set interface wlan0 into AP mode
>>> =A0 nl80211 driver initialization failed.
>>> =A0 rmdir[ctrl_interface]: No such file or directory
>>> =A0 ELOOP: remaining socket: sock=3D4 eloop_data=3D0x9cdc910=20
> user_data=3D0x9cde780=20
>>> =A0 handler=3D0x807c
>>>=20
>>>=20
>>> =A0 so the only to launch it for now is to reboot :)
>>>=20
>>> =A0 I dit put this on the conf file
>>> =A0 # Levels (minimum value for logged events):
>>> =A0 # =A00 =3D verbose debugging
>>> =A0 # =A01 =3D debugging
>>> =A0 # =A02 =3D informational messages
>>> =A0 # =A03 =3D notification
>>> =A0 # =A04 =3D warning
>>> =A0 logger_syslog=3D1
>>> =A0 logger_syslog_level=3D0
>>>=20
>>>=20
>>> =A0 but I don't see enough logs to know why after the association=20
> there is=20
>> a=20
>>> =A0 deauthentication.
>>>=20
>>> =A0 Cheers
>>> =A0 almost there :D
>>=20
>>=20
>> Too me it looks like it's working but the isc-dhcp-relay dies when =
the=20
>> interface goes down for power mgt;
>>=20
>> ***@HTPC:~$ sudo tcpdump -n -i br0 port bootps or port bootpc
>> [sudo] password for xabix:=A0
>> tcpdump: verbose output suppressed, use -v or -vv for full protocol=
decode
>> listening on br0, link-type EN10MB (Ethernet), capture size 65535 b=
ytes
>> 16:42:48.997437 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Req=
uest=20
> from=20
>> 88:30:8a:52:ed:cd, length 356
>>=20
>>=20
>> Jul 27 16:10:31 HTPC dhcrelay: receive_packet failed on wlan0: Netw=
ork is=20
> down
>>=20
>> Jul 27 16:43:50 HTPC NetworkManager[1282]: <info> Unmanaged Device=20
> found;=20
>> state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889)
>> Jul 27 16:43:50 HTPC NetworkManager[1282]: <info> Unmanaged Device=20
> found;=20
>> state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889)
>> Jul 27 17:32:00 HTPC kernel: [ 5321.199053] init: isc-dhcp-relay ma=
in=20
> process=20
>> (4351) terminated with status 1
>> Jul 27 17:32:00 HTPC kernel: [ 5321.199116] init: isc-dhcp-relay ma=
in=20
> process=20
>> ended, respawning
>> Jul 27 17:32:00 HTPC dhcrelay: Usage: dhcrelay [-4] [-d] [-q] [-a] =
[-D]#012=20
> =A0 =A0=20
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [-A <length>] [-c <hops>] [-p <port=
>]#012=20
> =A0 =A0=20
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [-pf <pid-file>] [--no-pid]#012 =A0=
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=20
> [-m=20
>> append|replace|forward|discard]#012 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
=A0 =A0 [-i interface0 [=20
> ... -i=20
>> interfaceN]#012 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 server0 [ .=
=2E. serverN]#012#012 =A0 =A0 =A0=20
>> dhcrelay -6 =A0 [-d] [-q] [-I] [-c <hops>] [-p <port>]#012 =A0 =A0 =
=A0=20
> =A0 =A0 =A0=20
>> =A0 =A0 =A0 =A0 [-pf <pid-file>] [--no-pid]#012 =A0 =A0 =A0 =A0 =A0=
=A0 =A0 =A0 =A0 =A0 -l lower0=20
> [=20
>> ... -l lowerN]#012 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 -u upper=
0 [ ... -u upperN]#012 =A0 =A0 =A0=20
>=20
>> lower (client link): [address%]interface[#index]#012 =A0 =A0 =A0 up=
per (server=20
> link):=20
>> [address%]interface
>> Jul 27 17:32:00 HTPC kernel: [ 5321.209552] init: isc-dhcp-relay ma=
in=20
> process=20
>> (4353) terminated with status 1
>> Jul 27 17:32:00 HTPC kernel: [ 5321.209637] init: isc-dhcp-relay ma=
in=20
> process=20
>> ended, respawning
>> Jul 27 17:32:00 HTPC dhcrelay: Usage: dhcrelay [-4] [-d] [-q] [-a] =
[-D]#012=20
> =A0 =A0=20
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [-A <length>] [-c <hops>] [-p <port=
>]#012=20
> =A0 =A0=20
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [-pf <pid-file>] [--no-pid]#012 =A0=
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=20
> [-m=20
>> append|replace|forward|discard]#012 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
=A0 =A0 [-i interface0 [=20
> ... -i=20
>> interfaceN]#012 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 server0 [ .=
=2E. serverN]#012#012 =A0 =A0 =A0=20
>> dhcrelay -6 =A0 [-d] [-q] [-I] [-c <hops>] [-p <port>]#012 =A0 =A0 =
=A0=20
> =A0 =A0 =A0=20
>> =A0 =A0 =A0 =A0 [-pf <pid-file>] [--no-pid]#012 =A0 =A0 =A0 =A0 =A0=
=A0 =A0 =A0 =A0 =A0 -l lower0=20
> [=20
>> ... -l lowerN]#012 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 -u upper=
0 [ ... -u upperN]#012 =A0 =A0 =A0=20
>=20
>> lower (client link): [address%]interface[#index]#012 =A0 =A0 =A0 up=
per (server=20
> link):=20
>> [address%]interface
>> Jul 27 17:32:00 HTPC kernel: [ 5321.220074] init: isc-dhcp-relay ma=
in=20
> process=20
>> (4355) terminated with status 1
>> Jul 27 17:32:00 HTPC kernel: [ 5321.220143] init: isc-dhcp-relay ma=
in=20
> process=20
>> ended, respawning
>>=20
>=20
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Larry Finger
2012-07-28 15:25:23 UTC
Permalink
On 07/27/2012 11:38 AM, Xavier de Almeida wrote:
> Without touching anything it started to work:
>
> Jul 27 18:34:27 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802.11: association OK (aid 1)
> Jul 27 18:34:27 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802.11: associated (aid 1)
> Jul 27 18:34:27 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd MLME: MLME-ASSOCIATE.indication(88:30:8a:52:ed:cd)
> Jul 27 18:34:27 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd MLME: MLME-DELETEKEYS.request(88:30:8a:52:ed:cd)
> Jul 27 18:34:27 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd WPA: event 1 notification
> Jul 27 18:34:27 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd WPA: start authentication
> Jul 27 18:34:27 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802.1X: unauthorizing port
> Jul 27 18:34:27 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd WPA: sending 1/4 msg of 4-Way Handshake
> Jul 27 18:34:27 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd WPA: received EAPOL-Key frame (2/4 Pairwise)
> Jul 27 18:34:27 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd WPA: sending 3/4 msg of 4-Way Handshake
> Jul 27 18:34:27 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd WPA: received EAPOL-Key frame (4/4 Pairwise)
> Jul 27 18:34:27 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd IEEE 802.1X: authorizing port
> Jul 27 18:34:27 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd RADIUS: starting accounting session 5012BD3F-00000000
> Jul 27 18:34:27 HTPC hostapd: wlan0: STA 88:30:8a:52:ed:cd WPA: pairwise key handshake completed (RSN)
>
> but the signal is very weak so maybe that was one of the issues.
>
> I am looking fwd to remove the power mgt stuff and maybe find out how to increase the signal power. Maybe I should be a kind of antennat but not sure this will work with a barebone like the xs36v.

I run mine, when I test AP mode, without any options.

I'm glad you got it working. Now you know why I recommend spending 40 euro for
an AP rather than trying to use a 600 euro computer for that purpose. BTW, I own
4 AP/routers.

Larry




--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Xavier de Almeida
2012-07-29 19:57:14 UTC
Permalink
> I run mine, when I test AP mode, without any options.

>=20
> I'm glad you got it working. Now you know why I recommend spending 40=
euro=20
> for=20
> an AP rather than trying to use a 600 euro computer for that purpose.=
BTW, I own=20
>=20
> 4 AP/routers.
>=20
> Larry
>=20

My goal was to have a low power server that runs 24h for wireless, domo=
tic, ... but I didn't find how to increase the signal and remove the po=
wer mgt.

Have you had to add parameters in your rtl8192ce.conf file in modprobe?

I found this device in my garage :) which is known to be working well s=
o I may try it just to compare the signal=A0strengths=A0between both
rtl8187 Alfa AWUS036H 0x0bda 0x8187
=20

Again I would like to thank you again for all your reactive support in =
order to help me making my on-board pci wifi card working. At least I c=
an now make a choice depending on the signal length.

=46YI I did find that the BW was quote low with the rtl8188ce AP. Did y=
ou notice the same issue?

MERCI
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Larry Finger
2012-07-29 20:53:47 UTC
Permalink
On 07/29/2012 02:57 PM, Xavier de Almeida wrote:
>> I run mine, when I test AP mode, without any options.
>
>>
>> I'm glad you got it working. Now you know why I recommend spending 40 euro
>> for
>> an AP rather than trying to use a 600 euro computer for that purpose. BTW, I own
>>
>> 4 AP/routers.
>>
>> Larry
>>
>
> My goal was to have a low power server that runs 24h for wireless, domotic, ... but I didn't find how to increase the signal and remove the power mgt.

A part of "modinfo rtl8192ce" says

parm: ips:Set to 0 to not use link power save (default 1) (bool)

Load the modules with "sudo modprobe rtl8192ce ips=0" or create the appropriate
rtl8192ce.conf file, and power saving is disables.


The RTL8187L, the chip in the AWUS036H will never work in AP mode. It has only
one hardware queue, and getting the timing right for beacons is extremely
difficult, and not worth the effort.

> Have you had to add parameters in your rtl8192ce.conf file in modprobe?

Except for testing, I use no module parameters. If any were always necessary, I
would change the default.

Larry

>
> I found this device in my garage :) which is known to be working well so I may try it just to compare the signal strengths between both
> rtl8187 Alfa AWUS036H 0x0bda 0x8187
>
>
> Again I would like to thank you again for all your reactive support in order to help me making my on-board pci wifi card working. At least I can now make a choice depending on the signal length.
>
> FYI I did find that the BW was quote low with the rtl8188ce AP. Did you notice the same issue?
>
> MERCI
>


--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Xavier de Almeida
2012-07-30 18:06:27 UTC
Permalink
A part of "modinfo rtl8192ce" says
>parm:=A0 ips:Set to 0 to not use link power save (default 1) (bool)
>
>Load the modules with "sudo modprobe rtl8192ce ips=3D0" or create the =
appropriate rtl8192ce.conf file, and power saving is disables.
>
>The RTL8187L, the chip in the AWUS036H will never work in AP mode. It =
has only one hardware queue, and getting the timing right for beacons i=
s extremely difficult, and not worth the effort.
>
>> Have you had to add parameters in your rtl8192ce.conf file in modpro=
be?
>Except for testing, I use no module parameters. If any were always nec=
essary, I=20
>would change the default.
>
>Larry

Good to know so I will not waste my time with this AWUS036H device.

=46YI a good blog on the sharing a wireline and wireless network, setth=
ing up the AP with dhcp, proxy ARP etc...
http://savvyadmin.com/virtualbox-wireless-bridging-with-dhcp/=A0


AS you suggested, I only kept ips=3D0 for my rtl8192ce
/etc/modprobe.d/rtl8192ce.conf=A0
options rtl8192ce ips=3D0

# ips:Set to 0 to not use link power save (default 1)
# swlps:Set to 1 to use SW control power save (default 0)
# fwlps:Set to 1 to use FW control power save (default 1)
# debug:Set debug level (0-5) (default 0) (int)

(any cheap, good and working USB wifi device which has more power than =
an embedded chip as the rtl8188 ? it's a shame that we can't add just a=
n antenna vs another wifi hw)
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Larry Finger
2012-07-30 19:51:41 UTC
Permalink
On 07/30/2012 01:06 PM, Xavier de Almeida wrote:
>
> (any cheap, good and working USB wifi device which has more power than an embedded chip as the rtl8188 ? it's a shame that we can't add just an antenna vs another wifi hw)

One of the Alfa AWUS036 models has an RTL8188CU chip in it. I think it ends in
HR. Besides that, there are a number of devices that use the rt2800usb or ath9k
variants that have external antennas.

I cannot run my RTL8188CE as an internal device as it is not white listed by my
BIOS, thus I have no idea how well it works with standard laptop antennas.

Larry


--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Xavier de Almeida
2012-07-30 20:03:14 UTC
Permalink
>> (any cheap, good and working USB wifi device which has more power than an embedded chip as the rtl8188 ? it's a shame that we can't add just an antenna vs another wifi hw)
>
>One of the Alfa AWUS036 models has an RTL8188CU chip in it. I think it ends in HR. Besides that, there are a number of devices that use the rt2800usb or ath9k variants that have external antennas.
>
>I cannot run my RTL8188CE as an internal device as it is not white listed by my BIOS, thus I have no idea how well it works with standard laptop antennas.
>
>Larry


I can't tell you as I don't have a laptop either, I have a xs36v which is a barebone so it's all embedded.
What do you mean by "it s not white listed by my BIOS"?

XabiX
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Xavier de Almeida
2012-07-30 20:17:16 UTC
Permalink
I did some ADSL test connected through the wireless.
When I use my router wifi (bcm57xx) I get 20 times a better download th=
an with the rtl8188 chip. The upload is exactly the same and both are c=
onnected with g.

Signal is lower but still good at 4/5 meters from the barebone.

Any potential reason?

mon.wlan0 =A0IEEE 802.11bgn =A0Mode:Monitor =A0Frequency:2.437 GHz =A0T=
x-Power=3D20 dBm =A0=A0
=A0 =A0 =A0 =A0 =A0 Retry =A0long limit:7 =A0 RTS thr:off =A0 Fragment =
thr:off
=A0 =A0 =A0 =A0 =A0 Power Management:on

XabiX

--
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Larry Finger
2012-07-30 21:27:25 UTC
Permalink
On 07/30/2012 03:17 PM, Xavier de Almeida wrote:
> I did some ADSL test connected through the wireless.
> When I use my router wifi (bcm57xx) I get 20 times a better download than with the rtl8188 chip. The upload is exactly the same and both are connected with g.

In my tests, the RTL8192CE has throughput of roughly 20 Mbps when connected to
an 802.11g network as a station. As 27 is the maximum, 20x is impossible. When
an 802.11n connection is used, I get about 80 Mbps. You need to give a detailed
setup, and actual numbers, preferably when connected to a local host, not
something on the Internet.

> Signal is lower but still good at 4/5 meters from the barebone.
>
> Any potential reason?

Driver rtl8192ce is optimized to work as a station. If you want better
performance as an AP, you will have to sort that out yourself.

Larry

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Larry Finger
2012-07-30 21:31:43 UTC
Permalink
On 07/30/2012 03:03 PM, Xavier de Almeida wrote:
>
> I can't tell you as I don't have a laptop either, I have a xs36v which is a barebone so it's all embedded.
> What do you mean by "it s not white listed by my BIOS"?

Laptops made by HP and Lenovo, and maybe others, have a BIOS that contains
information about what wireless cards are approved - the so-called white list.
If you install a card not on the list, the machine refuses to boot.

Larry


--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Xavier de Almeida
2012-07-27 08:14:04 UTC
Permalink
I have installed the (and rebooted)
=A0 INSTALL /home/xabix/tmp/compat-wireless-2012-07-03/compat/compat.ko
=A0 INSTALL /home/xabix/tmp/compat-wireless-2012-07-03/compat/sch_codel=
=2Eko
=A0 INSTALL /home/xabix/tmp/compat-wireless-2012-07-03/compat/sch_fq_co=
del.ko
=A0 INSTALL /home/xabix/tmp/compat-wireless-2012-07-03/drivers/misc/eep=
rom/eeprom_93cx6.ko
=A0 INSTALL /home/xabix/tmp/compat-wireless-2012-07-03/drivers/net/wire=
less/rtl818x/rtl8180/rtl8180.ko
=A0 INSTALL /home/xabix/tmp/compat-wireless-2012-07-03/drivers/net/wire=
less/rtl818x/rtl8187/rtl8187.ko
=A0 INSTALL /home/xabix/tmp/compat-wireless-2012-07-03/net/mac80211/mac=
80211.ko
=A0 INSTALL /home/xabix/tmp/compat-wireless-2012-07-03/net/rfkill/rfkil=
l-regulator.ko
=A0 INSTALL /home/xabix/tmp/compat-wireless-2012-07-03/net/wireless/cfg=
80211.ko
=A0 DEPMOD =A03.4.6-custom

hostapd -dd /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
ctrl_interface_group=3D0
nl80211: Register Action command failed: ret=3D-19 (No such device)
nl80211: Register Action match - hexdump(len=3D1): 06
nl80211: Failed to register Action frame processing - ignore for now
nl80211: Add own interface ifindex 3
nl80211: Add own interface ifindex 0
Could not read interface wlan0 flags: No such device
nl80211 driver initialization failed.
rmdir[ctrl_interface]: No such file or directory
ELOOP: remaining socket: sock=3D4 eloop_data=3D0x8fe48f0 user_data=3D0x=
8fe6760 handler=3D0x807c5e0
ELOOP: remaining socket: sock=3D6 eloop_data=3D0x8fe8548 user_data=3D(n=
il) handler=3D0x8086770

which is the same with your script:
sudo ./control_ap.sh start wlan0 eth0
Starting AP mode for wlan0 at address 192.168.0.200
hostapd: no process found
isc-dhcp-relay: no process found
wlan0: ERROR while getting interface flags: No such device
wlan0: ERROR while getting interface flags: No such device
SIOCSIFADDR: No such device
wlan0: ERROR while getting interface flags: No such device
touch: cannot touch `/var/lib/dhcp/db/dhcpd.leases': No such file or di=
rectory
Configuration file: /home/xabix/hostapd.conf
Could not read interface wlan0 flags: No such device
nl80211 driver initialization failed.
rmdir[ctrl_interface]: No such file or directory
ELOOP: remaining socket: sock=3D4 eloop_data=3D0x96d1910 user_data=3D0x=
96d3720 handler=3D0x807c5e0
ELOOP: remaining socket: sock=3D6 eloop_data=3D0x96d5538 user_data=3D(n=
il) handler=3D0x8086770

What else can I try?

Thanks
XabiX
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Xavier de Almeida
2012-07-27 10:32:12 UTC
Permalink
Hum the issue is now different as I don't have anymore the wlan0 interf=
ace:

iwconfig=A0
br0 =A0 =A0 =A0 no wireless extensions.

lo =A0 =A0 =A0 =A0no wireless extensions.

eth0 =A0 =A0 =A0no wireless extensions.


***@HTPC:/var/log$ sudo modprobe rtl8192ce
WARNING: Error inserting rtl8192c_common (/lib/modules/3.4.6-custom/ker=
nel/drivers/net/wireless/rtlwifi/rtl8192c/rtl8192c-common.ko): Invalid =
argument
=46ATAL: Error inserting rtl8192ce (/lib/modules/3.4.6-custom/kernel/dr=
ivers/net/wireless/rtlwifi/rtl8192ce/rtl8192ce.ko): Invalid argument

***@HTPC:/var/log$ ll /lib/modules/3.4.6-custom/kernel/drivers/net/wi=
reless/rtlwifi/rtl8192c/rtl8192c-common.ko
-rw-r--r-- 1 root root 71208 Jul 26 12:28 /lib/modules/3.4.6-custom/ker=
nel/drivers/net/wireless/rtlwifi/rtl8192c/rtl8192c-common.ko

modinfo rtl8192ce
filename: =A0 =A0 =A0 /lib/modules/3.4.6-custom/kernel/drivers/net/wire=
less/rtlwifi/rtl8192ce/rtl8192ce.ko
firmware: =A0 =A0 =A0 rtlwifi/rtl8192cfwU_B.bin
firmware: =A0 =A0 =A0 rtlwifi/rtl8192cfwU.bin
firmware: =A0 =A0 =A0 rtlwifi/rtl8192cfw.bin
description: =A0 =A0Realtek 8192C/8188C 802.11n PCI wireless
license: =A0 =A0 =A0 =A0GPL
author: =A0 =A0 =A0 =A0 Larry Finger =A0 =A0<Larry.Finger-***@public.gmane.org>
author: =A0 =A0 =A0 =A0 Realtek WlanFAE <wlanfae-***@public.gmane.org>
author: =A0 =A0 =A0 =A0 lizhaoming =A0 =A0 =A0<chaoming_li-***@public.gmane.org=
cn>
srcversion: =A0 =A0 AE758D5E662358264A4DB35
alias: =A0 =A0 =A0 =A0 =A0pci:v000010ECd00008176sv*sd*bc*sc*i*
alias: =A0 =A0 =A0 =A0 =A0pci:v000010ECd00008177sv*sd*bc*sc*i*
alias: =A0 =A0 =A0 =A0 =A0pci:v000010ECd00008178sv*sd*bc*sc*i*
alias: =A0 =A0 =A0 =A0 =A0pci:v000010ECd00008191sv*sd*bc*sc*i*
depends: =A0 =A0 =A0 =A0rtlwifi,rtl8192c-common,mac80211
intree: =A0 =A0 =A0 =A0 Y
vermagic: =A0 =A0 =A0 3.4.6-custom SMP mod_unload modversions 686=A0
parm: =A0 =A0 =A0 =A0 =A0 swenc:Set to 1 for software crypto (default 0=
)
parm: =A0 =A0 =A0 =A0 =A0 ips:Set to 0 to not use link power save (defa=
ult 1)

parm: =A0 =A0 =A0 =A0 =A0 swlps:Set to 1 to use SW control power save (=
default 0)

parm: =A0 =A0 =A0 =A0 =A0 fwlps:Set to 1 to use FW control power save (=
default 1)

parm: =A0 =A0 =A0 =A0 =A0 debug:Set debug level (0-5) (default 0) (int)


Merci
XabiX
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Loading...