Jump to content

cippo

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by cippo

  1. Hello,

    I try to use the Armbian build framework to generate a debian package with modified kernel,

    generated packages.deb works fine, but the compiled kernel is everytime the default and not mine.

     

    I use: ./compile.sh KERNEL_CONFIGURE=yes KERNEL_KEEP_CONFIG=no and then load my kernel_config but the result is everytime the default kernel, the .config become change then my .config

     

    I also try to bypass the problem by adding immutable attribute to my personalized .config (chattr +i ./.config) but the script crash:

      │ /home/maxi/sources/linux-sun8i/sun8i/scripts/kconfig/Makefile:33: recipe for target 'silentoldconfig' failed                                              │  
      │ make[2]: *** [silentoldconfig] Error 1                                                                                                                    │  
      │ /home/maxi/sources/linux-sun8i/sun8i/Makefile:493: recipe for target 'silentoldconfig' failed                                                             │  
      │ make[1]: *** [silentoldconfig] Error 2                                                                                                                    │  
      │ make: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/kernel.release'.  Stop.
    

    Thankyou for your support

    (and sorry for my bad english)

  2. With a distro downloaded from orangepi.org (originary for opiplus) hostapd work fine..

    It use an older kernel version without "new" module mac80211

    root@orangepiplus:~# uname -a
    Linux orangepiplus 3.4.39 #29 SMP PREEMPT Mon Nov 7 11:15:11 CST 2016 armv7l GNU/Linux
    root@orangepiplus:~# lsmod
    Module                  Size  Used by
    xradio_wlan           230792  0 
    root@orangepiplus:~# modinfo /lib/modules/3.4.39/xradio_wlan.ko
    filename:       /lib/modules/3.4.39/xradio_wlan.ko
    alias:          xradio_core
    license:        GPL
    description:    XRadioTech WLAN driver core
    author:         XRadioTech
    srcversion:     EE504CDAD99C9B5CF34A68C
    depends:        
    intree:         Y
    vermagic:       3.4.39 SMP preempt mod_unload modversions ARMv7 p2v8 
    parm:           macaddr:First MAC address (charp)
    root@orangepiplus:~# hostapd /etc/hostapd/hostapd.conf 
    Configuration file: /etc/hostapd/hostapd.conf
    Using interface wlan1 with hwaddr 48:eb:26:65:8f:47 and ssid "test"
    wlan1: interface state UNINITIALIZED->ENABLED
    wlan1: AP-ENABLED 
    ^Croot@orangepiplus:~# 
    root@orangepiplus:~# hostapd /etc/hostapd/hostapd.conf &
    [1] 2017
    root@orangepiplus:~# Configuration file: /etc/hostapd/hostapd.conf
    Using interface wlan1 with hwaddr 48:eb:26:65:8f:47 and ssid "test"
    wlan1: interface state UNINITIALIZED->ENABLED
    wlan1: AP-ENABLED 
    
    root@orangepiplus:~# iwconfig
    gre0      no wireless extensions.
    
    lo        no wireless extensions.
    
    tunl0     no wireless extensions.
    
    wlan1     IEEE 802.11bgn  Mode:Master  Frequency:2.412 GHz  Tx-Power=20 dBm   
              Retry  long limit:7   RTS thr:off   Fragment thr:off
              Power Management:on
              
    sit0      no wireless extensions.
    
    eth0      no wireless extensions.
    
    ip6tnl0   no wireless extensions.
    
    p2p0      IEEE 802.11bgn  ESSID:off/any  
              Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
              Retry  long limit:7   RTS thr:off   Fragment thr:off
              Encryption key:off
              Power Management:on
    

    This orangepi.org distros are full of problems and board become very hot..

    I want to try to use armbian, but I don't understand what is the problem with hostapd, any ideas?

  3. Hello,
    I have a OPI zero, I want to use it as access point, but when I start hostapd appears this message:

    root@orangepizero:~# hostapd /etc/hostapd/hostapd.conf -dd
    random: Trying to read entropy from /dev/random
    Configuration file: /etc/hostapd/hostapd.conf
    nl80211: Could not add multicast membership for vendor events: -2 (No such file or directory)
    rfkill: initial event: idx=0 type=1 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: Using driver-based off-channel TX
    nl80211: Supports Probe Response offload in AP mode
    nl80211: Use separate P2P group interface (driver advertised support)
    nl80211: interface wlan0 in phy phy1
    nl80211: Set mode ifindex 4 iftype 3 (AP)
    nl80211: Setup AP(wlan0) - device_ap_sme=0 use_monitor=0
    nl80211: Subscribe to mgmt frames with AP handle 0xb7ba98d8
    nl80211: Register frame type=0xb0 (WLAN_FC_STYPE_AUTH) nl_handle=0xb7ba98d8 match=
    nl80211: Register frame type=0x0 (WLAN_FC_STYPE_ASSOC_REQ) nl_handle=0xb7ba98d8 match=
    nl80211: Register frame type=0x20 (WLAN_FC_STYPE_REASSOC_REQ) nl_handle=0xb7ba98d8 match=
    nl80211: Register frame type=0xa0 (WLAN_FC_STYPE_DISASSOC) nl_handle=0xb7ba98d8 match=
    nl80211: Register frame type=0xc0 (WLAN_FC_STYPE_DEAUTH) nl_handle=0xb7ba98d8 match=
    nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb7ba98d8 match=
    nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
    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=0 use_monitor=0
    nl80211 driver initialization failed.
    hostapd_interface_deinit_free(0xb7ba82d8)
    hostapd_interface_deinit_free: num_bss=1 conf->num_bss=1
    hostapd_interface_deinit(0xb7ba82d8)
    wlan0: interface state UNINITIALIZED->DISABLED
    hostapd_bss_deinit: deinit bss wlan0
    wlan0: AP-DISABLED 
    hostapd_cleanup(hapd=0xb7ba8e60 (wlan0))
    hostapd_free_hapd_data: Interface wlan0 wasn't started
    hostapd_interface_deinit_free: driver=(nil) drv_priv=(nil) -> hapd_deinit
    hostapd_interface_free(0xb7ba82d8)
    hostapd_interface_free: free hapd 0xb7ba8e60
    hostapd_cleanup_iface(0xb7ba82d8)
    hostapd_cleanup_iface_partial(0xb7ba82d8)
    hostapd_cleanup_iface: free iface=0xb7ba82d8
    
    

    I use a simple config file like this:

    root@orangepizero:~# cat /etc/hostapd/hostapd.conf 
    # Wireless interface                                                                                                                                       
    interface=wlan0
    driver=nl80211
    ssid=test
    channel=1
    
    

    I use: Armbian_5.24_Orangepizero_Debian_jessie_3.4.113 with hostapd v2.5

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines