Jump to content

lemonahmas

Members
  • Posts

    9
  • Joined

  • Last visited

Posts posted by lemonahmas

  1. Hi everybody,

     

    burned the latest armbian for opi prime since I got the board, and the greed led is working, but after all I cannot find it with “arp -a”

     

    and the ethernet led is flash, both color.

     

    Anyone have the idea? I don't have a screen or tv even a router here course I am at university. So I directly connected my computer with the board. Don't think anything is wrong.

     

    image.png.c5db1d4c7c9459e1348ce2278c148fb1.png

  2. Hi everyone viewing this post, here is the situation.

    I think I have configured my hostapd correctly, but I cannot find the ssid(I haven't  hidden it), and I cannot even join mannualy.

    there is no fatal error in the log so I don't know what to do.

    PLEASE HELP. THANK ALL OF YOU VERY MUCH.

    -----here is the log-----

    Spoiler

     

    
    random: Trying to read entropy from /dev/random
    Configuration file: /etc/hostapd.conf
    ctrl_interface_group=0
    nl80211: Could not add multicast membership for vendor events: -2 (No such file or directory)
    nl80211: TDLS supported
    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: use P2P_DEVICE support
    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 0x559538cf80 (device SME)
    nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x559538cf80 match=04
    nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
    nl80211: Register frame match - hexdump(len=1): 04
    nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x559538cf80 match=0501
    nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x559538cf80 match=0504
    nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x559538cf80 match=06
    nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
    nl80211: Register frame match - hexdump(len=1): 06
    nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x559538cf80 match=08
    nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
    nl80211: Register frame match - hexdump(len=1): 08
    nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x559538cf80 match=09
    nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
    nl80211: Register frame match - hexdump(len=1): 09
    nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x559538cf80 match=0a
    nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
    nl80211: Register frame match - hexdump(len=1): 0a
    nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x559538cf80 match=11
    nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
    nl80211: Register frame match - hexdump(len=1): 11
    nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x559538cf80 match=7f
    nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
    nl80211: Register frame match - hexdump(len=1): 7f
    nl80211: Failed to subscribe for mgmt frames from SME driver - trying to run without it
    nl80211: Enable Probe Request reporting nl_preq=0x559538cf80
    nl80211: Register frame type=0x40 (WLAN_FC_STYPE_PROBE_REQ) nl_handle=0x559538cf80 match=
    nl80211: Register frame command failed (type=64): ret=-114 (Operation already in progress)
    nl80211: Register frame match - hexdump(len=0): [NULL]
    nl80211: Failed to enable Probe Request frame reporting in AP mode
    rfkill: initial event: idx=1 type=1 op=0 soft=0 hard=0
    nl80211: Could not re-add multicast membership for vendor events: -2 (No such file or directory)
    nl80211: Add own interface ifindex 4 (ifidx_reason -1)
    nl80211: if_indices[16]: 4(-1)
    phy: phy0
    BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
    Using existing control interface directory.
    wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
    Previous country code 00, new country code CH 
    Continue interface setup after channel list update
    ctrl_iface not configured!
    random: Got 20/20 bytes from /dev/random
    Channel list update timeout - try to continue anyway
    nl80211: Regulatory information - country=00
    nl80211: 2402-2472 @ 40 MHz 20 mBm
    nl80211: 2457-2482 @ 40 MHz 20 mBm (no IR)
    nl80211: 2474-2494 @ 20 MHz 20 mBm (no OFDM) (no IR)
    nl80211: 5170-5250 @ 80 MHz 20 mBm (no IR)
    nl80211: 5735-5835 @ 80 MHz 20 mBm (no IR)
    nl80211: 57240-63720 @ 2160 MHz 0 mBm
    nl80211: Added 802.11b mode based on 802.11g information
    Allowed channel: mode=1 chan=1 freq=2412 MHz max_tx_power=20 dBm
    Allowed channel: mode=1 chan=2 freq=2417 MHz max_tx_power=20 dBm
    Allowed channel: mode=1 chan=3 freq=2422 MHz max_tx_power=20 dBm
    Allowed channel: mode=1 chan=4 freq=2427 MHz max_tx_power=20 dBm
    Allowed channel: mode=1 chan=5 freq=2432 MHz max_tx_power=20 dBm
    Allowed channel: mode=1 chan=6 freq=2437 MHz max_tx_power=20 dBm
    Allowed channel: mode=1 chan=7 freq=2442 MHz max_tx_power=20 dBm
    Allowed channel: mode=1 chan=8 freq=2447 MHz max_tx_power=20 dBm
    Allowed channel: mode=1 chan=9 freq=2452 MHz max_tx_power=20 dBm
    Allowed channel: mode=1 chan=10 freq=2457 MHz max_tx_power=20 dBm
    Allowed channel: mode=1 chan=11 freq=2462 MHz max_tx_power=20 dBm
    Allowed channel: mode=1 chan=12 freq=2467 MHz max_tx_power=20 dBm
    Allowed channel: mode=1 chan=13 freq=2472 MHz max_tx_power=20 dBm
    Allowed channel: mode=0 chan=1 freq=2412 MHz max_tx_power=20 dBm
    Allowed channel: mode=0 chan=2 freq=2417 MHz max_tx_power=20 dBm
    Allowed channel: mode=0 chan=3 freq=2422 MHz max_tx_power=20 dBm
    Allowed channel: mode=0 chan=4 freq=2427 MHz max_tx_power=20 dBm
    Allowed channel: mode=0 chan=5 freq=2432 MHz max_tx_power=20 dBm
    Allowed channel: mode=0 chan=6 freq=2437 MHz max_tx_power=20 dBm
    Allowed channel: mode=0 chan=7 freq=2442 MHz max_tx_power=20 dBm
    Allowed channel: mode=0 chan=8 freq=2447 MHz max_tx_power=20 dBm
    Allowed channel: mode=0 chan=9 freq=2452 MHz max_tx_power=20 dBm
    Allowed channel: mode=0 chan=10 freq=2457 MHz max_tx_power=20 dBm
    Allowed channel: mode=0 chan=11 freq=2462 MHz max_tx_power=20 dBm
    Allowed channel: mode=0 chan=12 freq=2467 MHz max_tx_power=20 dBm
    Allowed channel: mode=0 chan=13 freq=2472 MHz max_tx_power=20 dBm
    hw vht capab: 0x0, conf vht capab: 0x0
    Completing interface initialization
    Mode: IEEE 802.11g  Channel: 9  Frequency: 2452 MHz
    DFS 0 channels required radar detection
    nl80211: Set freq 2452 (ht_enabled=1, vht_enabled=0, bandwidth=20 MHz, cf1=2452 MHz, cf2=0 MHz)
      * freq=2452
      * vht_enabled=0
      * ht_enabled=1
      * sec_channel_offset=0
      * channel_type=1
    RATE[0] rate=10 flags=0x1
    RATE[1] rate=20 flags=0x1
    RATE[2] rate=55 flags=0x1
    RATE[3] rate=110 flags=0x1
    RATE[4] rate=60 flags=0x0
    RATE[5] rate=90 flags=0x0
    RATE[6] rate=120 flags=0x0
    RATE[7] rate=180 flags=0x0
    RATE[8] rate=240 flags=0x0
    RATE[9] rate=360 flags=0x0
    RATE[10] rate=480 flags=0x0
    RATE[11] rate=540 flags=0x0
    hostapd_setup_bss(hapd=0x559538d7f0 (wlan0), first=1)
    wlan0: Flushing old station entries
    nl80211: flush -> DEL_STATION wlan0 (all)
    wlan0: Deauthenticate all stations
    nl80211: sta_remove -> DEL_STATION wlan0 ff:ff:ff:ff:ff:ff --> 0 (Success)
    wpa_driver_nl80211_set_key: ifindex=4 (wlan0) alg=0 addr=(nil) key_idx=0 set_tx=0 seq_len=0 key_len=0
    wpa_driver_nl80211_set_key: ifindex=4 (wlan0) alg=0 addr=(nil) key_idx=1 set_tx=0 seq_len=0 key_len=0
    wpa_driver_nl80211_set_key: ifindex=4 (wlan0) alg=0 addr=(nil) key_idx=2 set_tx=0 seq_len=0 key_len=0
    wpa_driver_nl80211_set_key: ifindex=4 (wlan0) alg=0 addr=(nil) key_idx=3 set_tx=0 seq_len=0 key_len=0
    Using interface wlan0 with hwaddr ac:83:f3:1e:d3:ff and ssid "ARMBIAN"
    Deriving WPA PSK based on passphrase
    SSID - hexdump_ascii(len=7):
         41 52 4d 42 49 41 4e                              ARMBIAN         
    PSK (ASCII passphrase) - hexdump_ascii(len=8): [REMOVED]
    PSK (from passphrase) - hexdump(len=32): [REMOVED]
    Get randomness: len=32 entropy=0
    GMK - hexdump(len=32): [REMOVED]
    Get randomness: len=32 entropy=0
    Key Counter - hexdump(len=32): [REMOVED]
    WPA: Delay group state machine start until Beacon frames have been configured
    nl80211: Set beacon (beacon_set=0)
    nl80211: Beacon head - hexdump(len=58): 80 00 00 00 ff ff ff ff ff ff ac 83 f3 1e d3 ff ac 83 f3 1e d3 ff 00 00 00 00 00 00 00 00 00 00 64 00 31 04 00 07 41 52 4d 42 49 41 4e 01 08 82 84 8b 96 0c 12 18 24 03 01 09
    nl80211: Beacon tail - hexdump(len=117): 07 06 43 48 20 01 0d 14 2a 01 00 32 04 30 48 60 6c 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 0c 00 2d 1a 0c 00 1f ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3d 16 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 dd 18 00 50 f2 02 01 01 00 00 03 a4 00 00 27 a4 00 00 42 43 5e 00 62 32 2f 00
    nl80211: ifindex=4
    nl80211: beacon_int=100
    nl80211: dtim_period=2
    nl80211: ssid - hexdump_ascii(len=7):
         41 52 4d 42 49 41 4e                              ARMBIAN         
      * beacon_int=100
      * dtim_period=2
    nl80211: hidden SSID not in use
    nl80211: privacy=1
    nl80211: auth_algs=0x1
    nl80211: wpa_version=0x2
    nl80211: key_mgmt_suites=0x2
    nl80211: pairwise_ciphers=0x10
    nl80211: group_cipher=0x10
    nl80211: SMPS mode - off
    WPA: Start group state machine to set initial keys
    WPA: group state machine entering state GTK_INIT (VLAN-ID 0)
    Get randomness: len=16 entropy=0
    GTK - hexdump(len=16): [REMOVED]
    WPA: group state machine entering state SETKEYSDONE (VLAN-ID 0)
    wpa_driver_nl80211_set_key: ifindex=4 (wlan0) alg=3 addr=0x55953550d8 key_idx=1 set_tx=1 seq_len=0 key_len=16
    nl80211: KEY_DATA - hexdump(len=16): [REMOVED]
       broadcast key
    nl80211: Set wlan0 operstate 0->1 (UP)
    netlink: Operstate: ifindex=4 linkmode=-1 (no change), operstate=6 (IF_OPER_UP)
    Failed to set TX queue parameters for queue 0.
    Failed to set TX queue parameters for queue 1.
    Failed to set TX queue parameters for queue 2.
    Failed to set TX queue parameters for queue 3.
    wlan0: interface state COUNTRY_UPDATE->ENABLED
    wlan0: AP-ENABLED 
    wlan0: Setup of interface done.
    nl80211: Event message available
    nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlan0
    wlan0: nl80211: Scan trigger
    wlan0: Event SCAN_STARTED (47) received
    Unknown event 47
    nl80211: Event message available
    nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlan0
    wlan0: nl80211: New scan results available
    nl80211: Scan probed for SSID ''
    nl80211: Scan included frequencies: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467 2472
    wlan0: Event SCAN_RESULTS (3) received
    RTM_NEWLINK: ifi_index=4 ifname=wlan0 wext ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
    nl80211: Event message available
    nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlan0
    wlan0: nl80211: Scan trigger
    wlan0: Event SCAN_STARTED (47) received
    Unknown event 47
    nl80211: Event message available
    nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlan0
    wlan0: nl80211: New scan results available
    nl80211: Scan probed for SSID ''
    nl80211: Scan included frequencies: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467 2472
    wlan0: Event SCAN_RESULTS (3) received
    RTM_NEWLINK: ifi_index=4 ifname=wlan0 wext ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
    nl80211: Event message available
    nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlan0
    wlan0: nl80211: Scan trigger
    wlan0: Event SCAN_STARTED (47) received
    Unknown event 47
    nl80211: Event message available
    nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlan0
    wlan0: nl80211: New scan results available
    nl80211: Scan probed for SSID ''
    nl80211: Scan included frequencies: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467 2472
    wlan0: Event SCAN_RESULTS (3) received
    RTM_NEWLINK: ifi_index=4 ifname=wlan0 wext ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
    Signal 2 received - terminating
    hostapd_interface_deinit_free(0x559538c550)
    hostapd_interface_deinit_free: num_bss=1 conf->num_bss=1
    hostapd_interface_deinit(0x559538c550)
    wlan0: interface state ENABLED->DISABLED
    hostapd_bss_deinit: deinit bss wlan0
    wlan0: Deauthenticate all stations
    nl80211: sta_remove -> DEL_STATION wlan0 ff:ff:ff:ff:ff:ff --> 0 (Success)
    wlan0: AP-DISABLED 
    hostapd_cleanup(hapd=0x559538d7f0 (wlan0))
    hostapd_free_hapd_data(wlan0)
    hostapd_interface_deinit_free: driver=0x5595388d38 drv_priv=0x559538e440 -> hapd_deinit
    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)
    hostapd_interface_free(0x559538c550)
    hostapd_interface_free: free hapd 0x559538d7f0
    hostapd_cleanup_iface(0x559538c550)
    hostapd_cleanup_iface_partial(0x559538c550)
    hostapd_cleanup_iface: free iface=0x559538c550
    

     

     

     

    -----here is /etc/hostapd.conf-----

     

    #
    # armbian hostapd configuration example
    #
    # nl80211 mode
    #
    
    ssid=ARMBIAN
    interface=wlan0
    hw_mode=g
    channel=9
    #bridge=br0
    driver=nl80211
    ignore_broadcast_ssid=0  # 是否广播,0 广播
    
    logger_syslog=0
    logger_syslog_level=0
    wmm_enabled=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
    
    ## IEEE 802.11n
    ieee80211n=1
    ht_capab=[DSSS_CK-40][HT20+]
    country_code=CH
    ieee80211d=1
    ## IEEE 802.11n
    
    ### IEEE 802.11a
    #hw_mode=a
    ### IEEE 802.11a
    
    ### IEEE 802.11ac
    #ieee80211ac=1
    #vht_capab=[MAX-MPDU-11454][SHORT-GI-80][TX-STBC-2BY1][RX-STBC-1][MAX-A-MPDU-LEN-EXP3]
    #vht_oper_chwidth=1
    #vht_oper_centr_freq_seg0_idx=42
    ### IEEE 802.11ac
    
    # controlling enabled
    ctrl_interface=/var/run/hostapd
    ctrl_interface_group=0
    
    Spoiler

     

     

    THANK YOU!

     

     

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines