From: Larry Finger <Larry.Finger@lwfinger.net>
To: Xavier de Almeida <xavierdealmeida@yahoo.fr>
Cc: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Re: Tr : Tr : Can't make RTL8188CE work with hostapd (rtl8192ce)
Date: Thu, 26 Jul 2012 16:52:10 -0500 [thread overview]
Message-ID: <5011BC0A.8060600@lwfinger.net> (raw)
In-Reply-To: <1343314190.31952.YahooMailNeo@web28901.mail.ir2.yahoo.com>
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:
finger@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
finger@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
next prev parent reply other threads:[~2012-07-26 21:52 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAKjQTCesBzbjbv4T+RPRutrgTyJoXJciwsKqPAxZDDcvot=q5g@mail.gmail.com>
[not found] ` <CAKjQTCex5oXLkPOZeoccT5a0CxMDpdpmSqcJy4SV7h1eaeo=pA@mail.gmail.com>
[not found] ` <1343074978.66314.YahooMailNeo@web28904.mail.ir2.yahoo.com>
2012-07-23 20:31 ` Can't make RTL8188CE work with hostapd (rtl8192ce) Xavier de Almeida
2012-07-23 21:07 ` Larry Finger
[not found] ` <1343138030.94415.YahooMailNeo@web28906.mail.ir2.yahoo.com>
2012-07-24 13:56 ` Tr : " Xavier de Almeida
2012-07-24 15:06 ` Larry Finger
2012-07-24 15:25 ` Xavier de Almeida
2012-07-24 15:46 ` Larry Finger
2012-07-24 17:06 ` Tr : " Xavier de Almeida
2012-07-24 17:51 ` Larry Finger
2012-07-25 13:54 ` Xavier de Almeida
2012-07-25 17:19 ` Xavier de Almeida
2012-07-25 17:25 ` Xavier de Almeida
2012-07-25 17:43 ` Larry Finger
2012-07-26 9:58 ` Xavier de Almeida
2012-07-26 10:53 ` Larry Finger
2012-07-26 11:01 ` Xavier de Almeida
2012-07-26 11:28 ` Larry Finger
2012-07-26 12:44 ` Xavier de Almeida
2012-07-26 14:49 ` Xavier de Almeida
2012-07-26 21:52 ` Larry Finger [this message]
2012-07-27 6:34 ` Xavier de Almeida
2012-07-27 11:51 ` Larry Finger
2012-07-27 13:09 ` Xavier de Almeida
2012-07-27 14:12 ` Xavier de Almeida
2012-07-27 15:38 ` Xavier de Almeida
2012-07-27 15:59 ` Xavier de Almeida
2012-07-27 16:38 ` Xavier de Almeida
2012-07-28 15:25 ` Larry Finger
2012-07-29 19:57 ` Xavier de Almeida
2012-07-29 20:53 ` Larry Finger
2012-07-30 18:06 ` Xavier de Almeida
2012-07-30 19:51 ` Larry Finger
2012-07-30 20:03 ` Xavier de Almeida
2012-07-30 20:17 ` Xavier de Almeida
2012-07-30 21:27 ` Larry Finger
2012-07-30 21:31 ` Larry Finger
2012-07-27 8:14 ` Xavier de Almeida
2012-07-27 10:32 ` Xavier de Almeida
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5011BC0A.8060600@lwfinger.net \
--to=larry.finger@lwfinger.net \
--cc=linux-wireless@vger.kernel.org \
--cc=xavierdealmeida@yahoo.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).