Results 1 to 2 of 2

Thread: Hostapd to connect laptop to Android

  1. #1
    Join Date
    Sep 2012
    Beans
    23

    Hostapd to connect laptop to Android

    i am trying to set up my laptop as an access point for my Android to use WiFi, so i knew that ubuntu sets the network as Ad-Hoc which is not discoverable by android, So i tried the method explained here -which i found on many other websites- but when i run hostapd.conf this error appears :


    Code:
    nl80211: Failed to set interface wlan0 into AP mode
    nl80211 driver initialization failed.
    ELOOP: remaining socket: sock=4 eloop_data=0x8e488f8 user_data=0x8e48ea0 handler=0x807c5e0
    ELOOP: remaining socket: sock=6 eloop_data=0x8e4aca8 user_data=(nil) handler=0x8086770
    this is how my hostapd.cof looks like :


    Code:
    interface=wlan0
    driver=nl80211
    ssid=Any_SSID_name 
    hw_mode=g
    channel=1
    macaddr_acl=0
    auth_algs=1
    ignore_broadcast_ssid=0
    wpa=2 
    wpa_passphrase=Any_password
    wpa_key_mgmt=WPA-PSK
    wpa_pairwise=TKIP
    rsn_pairwise=CCMP
    and this is my wireless card info


    Code:
    description: Wireless interface
           product: BCM43225 802.11b/g/n
           vendor: Broadcom Corporation
           physical id: 0
           bus info: pci@0000:05:00.0
           logical name: wlan0
           version: 01
           serial: 78:e4:00:73:51:f1
           width: 64 bits
           clock: 33MHz
           capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
           configuration: broadcast=yes driver=brcmsmac driverversion=3.2.0-31-generic-pae firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11bgn
           resources: irq:17 memory:f0300000-f0303fff


    What should I do to get my WiFi network running ?

  2. #2
    Join Date
    Oct 2012
    Beans
    1

    Re: Hostapd to connect laptop to Android

    It's clear your laptop wireless card doesn't support AP mode. Buy a USB wireless card that supports AP mode. To identify if a wireless card supports AP or not, just look for words like "Infrastructure mode", "Soft Access Point" etc.

    Usually most USB wireless cards available today support AP mode, and they are not that expensive too.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •