LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 11-10-2012, 05:29 PM   #1
bigal666
LQ Newbie
 
Registered: Nov 2012
Posts: 2

Rep: Reputation: Disabled
Hostapd with Asus PCE-N15 (RTL8188CE) - Access Point with Centos 5.8


Hello.

Im trying to setup my Centos 5.8 as Access Point for my local network. The wifi card i have is Asus PCE-N15.

$lspci
04:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter (rev 01)


Seems is properly detected and working:

$iwconfig
wlan0 802.11bgn ESSID:"clevwifi" Nickname:"rtl8192CE"
Mode:Managed Frequency=2.412 GHz Access Point: Not-Associated
Bit Rate=65 Mb/s
Retryn RTS thrff Fragment thrff
Encryption keyff
Power Managementff
Link Quality=10/100 Signal level=-256 dBm Noise level=-100 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0



I also setup the bridge:

$ifconfig
br0 Link encap:Ethernet HWaddr 10:BF:48:4B:0A:F5
inet addr:192.168.1.200 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::12bf:48ff:fe4b:af5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:5745 (5.6 KiB)

eth0 Link encap:Ethernet HWaddr 00:23:7D:2B:2E:14
inet addr:192.168.0.200 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::223:7dff:fe2b:2e14/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:121378 errors:0 dropped:0 overruns:0 frame:0
TX packets:46473 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:75792358 (72.2 MiB) TX bytes:7324899 (6.9 MiB)
Interrupt:58 Base address:0xc000

eth1 Link encap:Ethernet HWaddr 10:BF:48:4B:0A:F5
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:66 Base address:0xec00

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:155 errors:0 dropped:0 overruns:0 frame:0
TX packets:155 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:11318 (11.0 KiB) TX bytes:11318 (11.0 KiB)

wlan0 Link encap:Ethernet HWaddr 30:85:A9:F3:3A:35
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:185 Memory:ffffc20000040000-ffffc20000040100


Until this point, i think everything looks ok.
My problem start when i try to run hostapd.

This is my hostapd.conf:

interface=wlan0
bridge=br0
driver=nl80211
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
ssid=wifiname
hw_mode=g
channel=1
beacon_int=100
dtim_period=2
max_num_sta=255
rts_threshold=2347
fragm_threshold=2346
macaddr_acl=1
accept_mac_file=/etc/hostapd/hostapd.accept
deny_mac_file=/etc/hostapd/hostapd.deny
auth_algs=1
ignore_broadcast_ssid=0
wmm_enabled=1
wmm_ac_bk_cwmin=4
wmm_ac_bk_cwmax=10
wmm_ac_bk_aifs=7
wmm_ac_bk_txop_limit=0
wmm_ac_bk_acm=0
wmm_ac_be_aifs=3
wmm_ac_be_cwmin=4
wmm_ac_be_cwmax=10
wmm_ac_be_txop_limit=0
wmm_ac_be_acm=0
wmm_ac_vi_aifs=2
wmm_ac_vi_cwmin=3
wmm_ac_vi_cwmax=4
wmm_ac_vi_txop_limit=94
wmm_ac_vi_acm=0
wmm_ac_vo_aifs=2
wmm_ac_vo_cwmin=2
wmm_ac_vo_cwmax=3
wmm_ac_vo_txop_limit=47
wmm_ac_vo_acm=0
eapol_key_index_workaround=0
eap_server=0
wpa=2
wpa_passphrase=wifipassword
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP
rsn_pairwise=CCMP
wpa_group_rekey=600
wpa_gmk_rekey=86400



When i try to run hostapd to start working as Access Point i get the following error, where i m stuked already for several days and i really dont know what else i can do.

# /usr/local/bin/hostapd /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
Line 4: invalid/unknown driver 'nl80211'
1 errors found in configuration file '/etc/hostapd/hostapd.conf'


Im not sure what driver i should use with hostapd. Im afraid my wifi card is not supported? Do i have to compile another different driver for my card?
i would really apreciate any help, because i fell quite lost in this point.

Thanks a lot for your help.

Last edited by bigal666; 11-10-2012 at 05:31 PM.
 
Old 11-20-2012, 02:40 PM   #2
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hello bigal666, welcome to LQ,

We have a Howto here: http://docs.slackware.com/howtos:net...s_access_point

I would suppose that you should comment the bridge line out, it is not necessary.

Markus
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
hostapd access point is unable to complete the connection ravi.xolve Linux - Networking 7 04-10-2012 06:01 AM
[SOLVED] Asus PCE-N13 can't see router DrTardis Slackware 5 07-02-2011 03:54 PM
LXer: Turn your Linux computer in a wireless access point using hostapd LXer Syndicated Linux News 0 08-27-2010 11:00 AM
How to setup hostapd access point in opensuse? alex2002 Linux - Networking 4 07-15-2009 03:50 PM
Help, ... hostapd Access point stop ... ERBRMN Linux - Networking 0 02-17-2006 12:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 09:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration