Trying to create a wireless access point with hostapd

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I'm trying to run hostapd on my machine using this sudo hostapd -d /etc/hostapd/hostapd.conf



I get the following result



random: Trying to read entropy from /dev/random
Configuration file: /etc/hostapd/hostapd.conf
ctrl_interface_group=0
rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0
rfkill: initial event: idx=1 type=2 op=0 soft=0 hard=0
nl80211: Supported cipher 00-0f-ac:1
nl80211: Supported cipher 00-0f-ac:5
nl80211: Supported cipher 00-0f-ac:2
nl80211: Supported cipher 00-0f-ac:4
nl80211: Supported cipher 00-0f-ac:6
nl80211: Using driver-based off-channel TX
nl80211: Use separate P2P group interface (driver advertised support)
nl80211: Enable multi-channel concurrent (driver advertised support)
nl80211: interface wlan1 in phy phy0
nl80211: Set mode ifindex 5 iftype 3 (AP)
nl80211: Failed to set interface 5 to mode 3: -19 (No such device)
nl80211: Could not configure driver mode
nl80211: Remove monitor interface: refcount=0
netlink: Operstate: ifindex=5 linkmode=0 (kernel-control), operstate=6 (IF_OPER_UP)
nl80211: Set mode ifindex 5 iftype 2 (STATION)
nl80211: Failed to set interface 5 to mode 2: -19 (No such device)
nl80211 driver initialization failed.
hostapd_interface_deinit_free(0x1d3ad90)
hostapd_interface_deinit_free: num_bss=1 conf->num_bss=1
hostapd_interface_deinit(0x1d3ad90)
hostapd_bss_deinit: deinit bss wlan1
hostapd_cleanup(hapd=0x1d3e7b0 (wlan1))
hostapd_free_hapd_data: Interface wlan1 wasn't started
hostapd_interface_deinit_free: driver=(nil) drv_priv=(nil) -> hapd_deinit
hostapd_interface_free(0x1d3ad90)
hostapd_interface_free: free hapd 0x1d3e7b0
hostapd_cleanup_iface(0x1d3ad90)
hostapd_cleanup_iface_partial(0x1d3ad90)
hostapd_cleanup_iface: free iface=0x1d3ad90


This is what my hostapd.conf looks like



### Set your bridge name ###

interface=wlan1
driver=nl80211
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
wmm_enabled=0


ssid=nixcraft

channel=2
wpa=2
wpa_passphrase=robotics

## Key management algorithms ##
wpa_key_mgmt=WPA-PSK
## Set cipher suites (encryption algorithms) ##
## TKIP = Temporal Key Integrity Protocol
## CCMP = AES in Counter mode with CBC-MAC
wpa_pairwise=TKIP
rsn_pairwise=CCMP
## Shared Key Authentication ##
auth_algs=1
## Accept all MAC address ###
macaddr_acl=0








share

























    up vote
    0
    down vote

    favorite












    I'm trying to run hostapd on my machine using this sudo hostapd -d /etc/hostapd/hostapd.conf



    I get the following result



    random: Trying to read entropy from /dev/random
    Configuration file: /etc/hostapd/hostapd.conf
    ctrl_interface_group=0
    rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0
    rfkill: initial event: idx=1 type=2 op=0 soft=0 hard=0
    nl80211: Supported cipher 00-0f-ac:1
    nl80211: Supported cipher 00-0f-ac:5
    nl80211: Supported cipher 00-0f-ac:2
    nl80211: Supported cipher 00-0f-ac:4
    nl80211: Supported cipher 00-0f-ac:6
    nl80211: Using driver-based off-channel TX
    nl80211: Use separate P2P group interface (driver advertised support)
    nl80211: Enable multi-channel concurrent (driver advertised support)
    nl80211: interface wlan1 in phy phy0
    nl80211: Set mode ifindex 5 iftype 3 (AP)
    nl80211: Failed to set interface 5 to mode 3: -19 (No such device)
    nl80211: Could not configure driver mode
    nl80211: Remove monitor interface: refcount=0
    netlink: Operstate: ifindex=5 linkmode=0 (kernel-control), operstate=6 (IF_OPER_UP)
    nl80211: Set mode ifindex 5 iftype 2 (STATION)
    nl80211: Failed to set interface 5 to mode 2: -19 (No such device)
    nl80211 driver initialization failed.
    hostapd_interface_deinit_free(0x1d3ad90)
    hostapd_interface_deinit_free: num_bss=1 conf->num_bss=1
    hostapd_interface_deinit(0x1d3ad90)
    hostapd_bss_deinit: deinit bss wlan1
    hostapd_cleanup(hapd=0x1d3e7b0 (wlan1))
    hostapd_free_hapd_data: Interface wlan1 wasn't started
    hostapd_interface_deinit_free: driver=(nil) drv_priv=(nil) -> hapd_deinit
    hostapd_interface_free(0x1d3ad90)
    hostapd_interface_free: free hapd 0x1d3e7b0
    hostapd_cleanup_iface(0x1d3ad90)
    hostapd_cleanup_iface_partial(0x1d3ad90)
    hostapd_cleanup_iface: free iface=0x1d3ad90


    This is what my hostapd.conf looks like



    ### Set your bridge name ###

    interface=wlan1
    driver=nl80211
    ctrl_interface=/var/run/hostapd
    ctrl_interface_group=0
    wmm_enabled=0


    ssid=nixcraft

    channel=2
    wpa=2
    wpa_passphrase=robotics

    ## Key management algorithms ##
    wpa_key_mgmt=WPA-PSK
    ## Set cipher suites (encryption algorithms) ##
    ## TKIP = Temporal Key Integrity Protocol
    ## CCMP = AES in Counter mode with CBC-MAC
    wpa_pairwise=TKIP
    rsn_pairwise=CCMP
    ## Shared Key Authentication ##
    auth_algs=1
    ## Accept all MAC address ###
    macaddr_acl=0








    share























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I'm trying to run hostapd on my machine using this sudo hostapd -d /etc/hostapd/hostapd.conf



      I get the following result



      random: Trying to read entropy from /dev/random
      Configuration file: /etc/hostapd/hostapd.conf
      ctrl_interface_group=0
      rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0
      rfkill: initial event: idx=1 type=2 op=0 soft=0 hard=0
      nl80211: Supported cipher 00-0f-ac:1
      nl80211: Supported cipher 00-0f-ac:5
      nl80211: Supported cipher 00-0f-ac:2
      nl80211: Supported cipher 00-0f-ac:4
      nl80211: Supported cipher 00-0f-ac:6
      nl80211: Using driver-based off-channel TX
      nl80211: Use separate P2P group interface (driver advertised support)
      nl80211: Enable multi-channel concurrent (driver advertised support)
      nl80211: interface wlan1 in phy phy0
      nl80211: Set mode ifindex 5 iftype 3 (AP)
      nl80211: Failed to set interface 5 to mode 3: -19 (No such device)
      nl80211: Could not configure driver mode
      nl80211: Remove monitor interface: refcount=0
      netlink: Operstate: ifindex=5 linkmode=0 (kernel-control), operstate=6 (IF_OPER_UP)
      nl80211: Set mode ifindex 5 iftype 2 (STATION)
      nl80211: Failed to set interface 5 to mode 2: -19 (No such device)
      nl80211 driver initialization failed.
      hostapd_interface_deinit_free(0x1d3ad90)
      hostapd_interface_deinit_free: num_bss=1 conf->num_bss=1
      hostapd_interface_deinit(0x1d3ad90)
      hostapd_bss_deinit: deinit bss wlan1
      hostapd_cleanup(hapd=0x1d3e7b0 (wlan1))
      hostapd_free_hapd_data: Interface wlan1 wasn't started
      hostapd_interface_deinit_free: driver=(nil) drv_priv=(nil) -> hapd_deinit
      hostapd_interface_free(0x1d3ad90)
      hostapd_interface_free: free hapd 0x1d3e7b0
      hostapd_cleanup_iface(0x1d3ad90)
      hostapd_cleanup_iface_partial(0x1d3ad90)
      hostapd_cleanup_iface: free iface=0x1d3ad90


      This is what my hostapd.conf looks like



      ### Set your bridge name ###

      interface=wlan1
      driver=nl80211
      ctrl_interface=/var/run/hostapd
      ctrl_interface_group=0
      wmm_enabled=0


      ssid=nixcraft

      channel=2
      wpa=2
      wpa_passphrase=robotics

      ## Key management algorithms ##
      wpa_key_mgmt=WPA-PSK
      ## Set cipher suites (encryption algorithms) ##
      ## TKIP = Temporal Key Integrity Protocol
      ## CCMP = AES in Counter mode with CBC-MAC
      wpa_pairwise=TKIP
      rsn_pairwise=CCMP
      ## Shared Key Authentication ##
      auth_algs=1
      ## Accept all MAC address ###
      macaddr_acl=0








      share













      I'm trying to run hostapd on my machine using this sudo hostapd -d /etc/hostapd/hostapd.conf



      I get the following result



      random: Trying to read entropy from /dev/random
      Configuration file: /etc/hostapd/hostapd.conf
      ctrl_interface_group=0
      rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0
      rfkill: initial event: idx=1 type=2 op=0 soft=0 hard=0
      nl80211: Supported cipher 00-0f-ac:1
      nl80211: Supported cipher 00-0f-ac:5
      nl80211: Supported cipher 00-0f-ac:2
      nl80211: Supported cipher 00-0f-ac:4
      nl80211: Supported cipher 00-0f-ac:6
      nl80211: Using driver-based off-channel TX
      nl80211: Use separate P2P group interface (driver advertised support)
      nl80211: Enable multi-channel concurrent (driver advertised support)
      nl80211: interface wlan1 in phy phy0
      nl80211: Set mode ifindex 5 iftype 3 (AP)
      nl80211: Failed to set interface 5 to mode 3: -19 (No such device)
      nl80211: Could not configure driver mode
      nl80211: Remove monitor interface: refcount=0
      netlink: Operstate: ifindex=5 linkmode=0 (kernel-control), operstate=6 (IF_OPER_UP)
      nl80211: Set mode ifindex 5 iftype 2 (STATION)
      nl80211: Failed to set interface 5 to mode 2: -19 (No such device)
      nl80211 driver initialization failed.
      hostapd_interface_deinit_free(0x1d3ad90)
      hostapd_interface_deinit_free: num_bss=1 conf->num_bss=1
      hostapd_interface_deinit(0x1d3ad90)
      hostapd_bss_deinit: deinit bss wlan1
      hostapd_cleanup(hapd=0x1d3e7b0 (wlan1))
      hostapd_free_hapd_data: Interface wlan1 wasn't started
      hostapd_interface_deinit_free: driver=(nil) drv_priv=(nil) -> hapd_deinit
      hostapd_interface_free(0x1d3ad90)
      hostapd_interface_free: free hapd 0x1d3e7b0
      hostapd_cleanup_iface(0x1d3ad90)
      hostapd_cleanup_iface_partial(0x1d3ad90)
      hostapd_cleanup_iface: free iface=0x1d3ad90


      This is what my hostapd.conf looks like



      ### Set your bridge name ###

      interface=wlan1
      driver=nl80211
      ctrl_interface=/var/run/hostapd
      ctrl_interface_group=0
      wmm_enabled=0


      ssid=nixcraft

      channel=2
      wpa=2
      wpa_passphrase=robotics

      ## Key management algorithms ##
      wpa_key_mgmt=WPA-PSK
      ## Set cipher suites (encryption algorithms) ##
      ## TKIP = Temporal Key Integrity Protocol
      ## CCMP = AES in Counter mode with CBC-MAC
      wpa_pairwise=TKIP
      rsn_pairwise=CCMP
      ## Shared Key Authentication ##
      auth_algs=1
      ## Accept all MAC address ###
      macaddr_acl=0






      hostapd





      share












      share










      share



      share










      asked 6 mins ago









      cjds

      1084




      1084

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f477130%2ftrying-to-create-a-wireless-access-point-with-hostapd%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f477130%2ftrying-to-create-a-wireless-access-point-with-hostapd%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Displaying single band from multi-band raster using QGIS

          How many registers does an x86_64 CPU actually have?