femindharamshi10
Posts: 102
Joined: Thu Jan 07, 2016 1:28 pm

closedcloud error

Tue Mar 22, 2016 5:01 pm

i tried setting up closedcloud from - http://www.pi-point.co.uk/closedcloud-walkthrough/ using a tp link wn822n wlan card
but after following all the instructions, the access point does not show up !

these are my config files :
/etc/network/inferfaces

Code: Select all

# interfaces(5) file used by ifup(8) and ifdown(8)

# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'

# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d

auto lo
iface lo inet loopback

iface eth0 inet dhcp

#allow-hotplug wlan0
iface wlan0 inet static
address 192.168.69.1
netmask 255.255.255.0
#    wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
/etc/hostapd/hostapd.conf

Code: Select all

interface=wlan0
driver=rtl871xdrv
ssid=FeminDharamshi
channel=6
wmm_enabled=1
wpa=1
wpa_passphrase=123456789
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
auth_algs=1
macaddr_acl=0
what should my driver value be in the above file ?
i am using TP-Link wn822n with chipset rtl8192CU

when i run the command :

Code: Select all

sudo hostapd -B /etc/hostapd/hostapd.conf
it gives this error :

Code: Select all

Configuration file: /etc/hostapd/hostapd.conf
Line 2: invalid/unknown driver 'rtl871xdrv'
1 errors found in configuration file '/etc/hostapd/hostapd.conf'
Failed to set up interface with /etc/hostapd/hostapd.conf
Failed to initialize interface
if i run sudo hostapd /etc/hostapd/hostapd.conf with commenting out the driver line then it says:
Configuration file: /etc/hostapd/hostapd.conf
nl80211: Driver does not support authentication/association or connect commands
nl80211 driver initialization failed.
hostapd_free_hapd_data: Interface wlan0 wasn't started

I AM USING RASPBIAN JESSIE. can someone tell me why is it now working ?

Return to “General discussion”