Jump to content

rom

Members
  • Posts

    25
  • Joined

  • Last visited

Posts posted by rom

  1. Igor,

     

    just installed Armbian hostapd and tried it with my config file for the embedded AP6210 wifi chipset. It has been working fine until I use WPS related configuration items, among others. Below the result of the command hostapd with my config file as an argument :


     

    Line 32: unknown configuration item 'wps_state'
    Line 33: unknown configuration item 'ap_setup_locked'
    Line 34: unknown configuration item 'os_version'
    Line 36: unknown configuration item 'manufacturer'
    Line 37: unknown configuration item 'device_name'
    Line 39: unknown configuration item 'device_type'
    Line 40: unknown configuration item 'friendly_name'
    Line 41: unknown configuration item 'model_description'
    Line 42: unknown configuration item 'manufacturer_url'
    Line 43: unknown configuration item 'config_methods'
    Line 44: unknown configuration item 'pbc_in_m1'
    Line 45: unknown configuration item 'ap_pin'
    
    12 errors found in configuration file '/etc/hostapd_24GHz.conf'
    Failed to set up interface with /etc/hostapd_24GHz.conf
    Failed to initialize interface


     

    Is Armbian hostapd compiled without WPS support ?
     

  2. No good news Igor...to sum up things, the different options for the while are: 

     

    - Armbian 5.60/kernel 4.14/Debian hostapd (Amrbian hostapd not tested) => both brcmfmac and 8812au working;

    - Armbian 5.73+/kernel 4.19/Debian hostapd => only 8812au working ;

    - Armbian 5.73+/kernel 4.19/Armbian hostapd => only brcmfmac working.

     

    Thank you very much for your concern though.

  3. Well, I'm not much surprised that it works with Armbian hostapd because it was already the case in one of my previous posts above.  Problem is that if I use Armbian hostpad, my setup works with the embedded AP6210 but it doesn't work anymore with my other wifi device based on rtl8812au chipset and I don't know why:\

     

    I want to get both b/g/n 2.4GHz and ac 5GHz APs working, this was the case with Debian hostapd before I upgrade to Armbian 5.70.

     

    I'll give a try to Armbian 5.74 (compiling it right now) + Debian hostapd first then will try Armbian hostapd if it still doesn't work.

     

    Thanks

  4. Hi Igor,

     

    I use hostapd from official Debian repo (2:2.4-1+deb9u2), not the Armbian one, and it still doesn't work with module brcmfmac and ARMBIAN 5.73. So I uninstalled the "official" hostapd and tried the Armbian one : now hostapd works with the sample configuration file you provide but it doesn't with the one (attached) I've successfully used until now :\

     

    With my configuration file and official hostapd, I get the following result with command "hostapd /etc/hostapd/hostapd_2.4GHz -dd": 

     

    root@cubietruck:~# hostapd /etc/hostapd/hostapd_24GHz.conf -dd
    random: Trying to read entropy from /dev/random
    Configuration file: /etc/hostapd/hostapd_24GHz.conf
    ctrl_interface_group=0
    rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0
    rfkill: initial event: idx=1 type=1 op=0 soft=0 hard=0
    nl80211: Using driver-based roaming
    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: Using driver-based off-channel TX
    nl80211: Supported vendor command: vendor_id=0x1018 subcmd=1
    nl80211: Use separate P2P group interface (driver advertised support)
    nl80211: use P2P_DEVICE support
    nl80211: Disable use_monitor with device_ap_sme since no monitor mode support detected
    nl80211: interface wlan0 in phy phy0
    nl80211: Set mode ifindex 4 iftype 3 (AP)
    nl80211: Setup AP(wlan0) - device_ap_sme=1 use_monitor=0
    nl80211: Subscribe to mgmt frames with AP handle 0x636e38 (device SME)
    nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x636e38 match=
    nl80211: Register frame command failed (type=208): ret=-22 (Invalid argument)
    nl80211: Register frame match - hexdump(len=0): [NULL]
    nl80211: Could not configure driver mode
    nl80211: deinit ifname=wlan0 disabled_11b_rates=0
    nl80211: Remove monitor interface: refcount=0
    nl80211: Remove beacon (ifindex=4)
    netlink: Operstate: ifindex=4 linkmode=0 (kernel-control), operstate=6 (IF_OPER_UP)
    nl80211: Set mode ifindex 4 iftype 2 (STATION)
    nl80211: Teardown AP(wlan0) - device_ap_sme=1 use_monitor=0
    nl80211 driver initialization failed.
    hostapd_interface_deinit_free(0x633cd8)
    hostapd_interface_deinit_free: num_bss=1 conf->num_bss=1
    hostapd_interface_deinit(0x633cd8)
    wlan0: interface state UNINITIALIZED->DISABLED
    hostapd_bss_deinit: deinit bss wlan0
    wlan0: AP-DISABLED 
    hostapd_cleanup(hapd=0x6349e0 (wlan0))
    hostapd_free_hapd_data: Interface wlan0 wasn't started
    hostapd_interface_deinit_free: driver=(nil) drv_priv=(nil) -> hapd_deinit
    hostapd_interface_free(0x633cd8)
    hostapd_interface_free: free hapd 0x6349e0
    hostapd_cleanup_iface(0x633cd8)
    hostapd_cleanup_iface_partial(0x633cd8)
    hostapd_cleanup_iface: free iface=0x633cd8

    The result of "ip a" shows that interface wlan0 is DOWN

    root@cubietruck:~# ip a
    4: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
        link/ether 6c:fa:a7:14:0e:fa brd ff:ff:ff:ff:ff:ff
        inet 192.168.0.254/24 brd 192.168.0.255 scope global wlan0
           valid_lft forever preferred_lft forever


    Thanks again for your help.

    Romain

    hostapd_24GHz.conf

  5. Hello,

     

    since I upraded from Armbian Strech 5.60 (kernel 4.14.84-sunxi) to Armbian Stretch 5.70 (kernel 4.19.13-sunxi), I can't get hostapd to work on my Cubietruck. When I modprobe the brcmfmac module, I get the following lines with dmesg: 

     

    [134591.243266] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43362-sdio for chip BCM43362/1
    [134591.523515] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43362-sdio for chip BCM43362/1
    [134591.523658] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43362-sdio.clm_blob failed with error -2
    [134591.523665] brcmfmac mmc1:0001:1: Falling back to syfs fallback for: brcm/brcmfmac43362-sdio.clm_blob
    [134591.532943] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-11), device may have limited channels available
    [134591.535517] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43362/1 wl0: Oct 23 2017 10:33:17 version 5.90.240 FWID 01-0

     

    Also, the result of "ip a" returns "state DOWN" for interface wlan0.

     

    Did I miss something ?

     

    Thanks in advance for your suggestions,

    Romain

  6. Armbianmonitor:

    Hello,

     

    on Cubietruck, until I upgrade my ARMBIAN server from Jessie to Stretch with kernel 4.13.16-sunxi, I could use the VGA output for display. After the upgrade, I don't have any display from VGA.

     

    In /boot/boot.cmd, I have the following kernel bootargs : "console=tty1 root=/dev/mmcblk0p1 rootwait rootfstype=ext4 sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_no_mali_mem_reserve sunxi_fb_mem_reserve=16 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 panic=10 consoleblank=0 enforcing=0 loglevel=1"

     

    Any advice ?

     

    Thanks in advance,

    Romain

  7. Hello,

     

    I'm running ARMBIAN 5.25 stable with kernel 4.9.12-sunxi on my Cubietruck and I mostly use it as an AP.

     

    I've installed the "hostapd" package from the official armbian repository and it works fine until I want to connect more than 5 wireless clients. The kernel module used is "brcmfmac" provided by the armbian-firmware package.

     

    Is it an hardware limit and how can I bypass it if possible ?

     

    The working default config provided with hostapd package is below:

    ssid=ARMBIAN
    interface=wlan0
    hw_mode=g
    channel=5
    driver=nl80211
    
    ctrl_interface=/var/run/hostapd
    ctrl_interface_group=0
    
    logger_syslog=0
    logger_syslog_level=0
    
    wmm_enabled=1
    ieee80211n=1
    wpa=2
    preamble=1
    
    wpa_psk=66eb31d2b48d19ba216f2e50c6831ee11be98e2fa3a8075e30b866f4a5ccda27
    wpa_passphrase=12345678
    wpa_key_mgmt=WPA-PSK
    wpa_pairwise=TKIP
    rsn_pairwise=CCMP
    auth_algs=1
    macaddr_acl=0
    
    noscan=1
    #country_code=SI
    #ieee80211d=1

    Thanks in advance for your help,

    Romain

     

  8. Thanks for the advice 

     

    Actually, on Cubietruck, the kernel module for the embedded AP6210 wifi chipset is "brcmfmac" but I'll probably need Rui RUBIERO's procedure if I decide to switch to an rtl819cu based chipset because brcmfmac dosen't support WPS :\ unless someone demonstrates me the contrary.

     

    When I use the command "hostapd_cli wps_pbc" on cli, hostapd_cli's output seems OK :

     

    Selected interface 'wlan0'
    OK

    but I get the following messages in syslog :

     

    brcmfmac: brcmf_vif_set_mgmt_ie: vndr ie set error : -30
    brcmfmac: brcmf_config_ap_mgmt_ie: Set Beacon IE Failed

     

    and nothing happens. If anyone knows how to get WPS mode working with "brcmfmac"...

     

    I know it isn't an hostpad issue because I've already tried with a wifi USB and WPS works but I didn't go further with the wifi USB because it wasn't stable. I think it was an rtl8191cu based chipset by the way so maybe I should try again with a compiled module !

     

    Thanks
     

  9. Hello,

     

    I'm running a freshly installed armbian with mainline kernel 4.9.5 on my cubietruck.

     

    Between u-boot messages and login prompt I don't get any output while booting.

     

    I've tried several values for the "console" parameter in the armbianEnv.txt and recompiled the /boot/boot.scr file without success.

     

    I've tested both VGA and HDMI (with an HDMI to VGA adapter) outputs without success too.

     

    What should I do to get things to work please ?

     

    Thanks for your time and your great work on armbian.

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines