Jump to content

SaiHou

Members
  • Posts

    30
  • Joined

  • Last visited

Posts posted by SaiHou

  1. 59 minutes ago, martinayotte said:

    No ! Armbian is built for native capabilties !

    But why do you need it in 32 bits ? If you have a closed source application which is only available in 32 bits, you can still install required 32 bits libraries, such libc ...

    @martinayotte,

     

    Thanks for the reply.

     

    I don't know what version of OS does Raspbian Stretch / Buster is...  But for sure some application package cannot be installed in "aarch64" or "meson64" due to no such packages available. That is why I ask such "question" in this forum.

     

    I have OPi PC (H3) and most what Raspbian packages can installed, the same as armbian for OPi PC also can be installed. I think I stick back to OPi PC (H3).

     

    I am just beginner, so not much knowledge I have on armbian or raspbian.

     

    Thanks mates.

  2. 3 minutes ago, martinayotte said:

    Can you access the HDD from within a shell ?

    Is it a Samba permissions issue ?

    If Yes, start by adding a Samba share such as a simple /public folder with R/W permissions for any users ...

    Hi @martinayotte,

     

    I already re-flash the sd card into fresh image and no longer can can check.

    Before I re-flash the SD card, I can confirm that the drive is connected and detected by the SBC.

     

    Device          Boot Start        End           Sectors          Size      Id        Type
    /dev/sda1        2048     1953521663  1953519616  931.5G    7      HPFS/NTFS/exFAT

     

    Anyway, thanks for the help. No idea where and what the problem is as I am not familiar with the linux.

     

    Thanks & regards.

  3. 20 minutes ago, TonyMac32 said:

    You didn't answer my question.  I also see this is a double post with one that was already moved to peer to peer.

    Hi TonyMac32,

     

    The board can detect the drive.

     

    Device          Boot Start        End           Sectors          Size      Id        Type
    /dev/sda1        2048     1953521663  1953519616  931.5G    7      HPFS/NTFS/exFAT

     

    Regards.

  4. 2 hours ago, TonyMac32 said:

    Is there a problem with the board recognizing the drive, or is the issue in setting up the network share?

    Hi TonyMac32,

     

    Thanks for the reply. I googled and followed all the steps but at last type the \\NAS IP and nothing.

     

    At last I shutdown the Pi and re-flash to fresh image and not doing anything until I have a clear picture of how to get it work.

     

    I just need a very simple SBC with Ext. USB HDD as storage, can do the nsync from other NAS to this SBC USB HDD.

     

    Hope to get an info on this matter. Thanks.

     

    Regards.

  5. Hello there,

     

    I would like to build 1 NAS for my Nanopi K2 with Armbian Stretch installed with 1 no of external USB 1TB HDD. 

     

    I have googled and none of it work. I am here to looking for help on this matter. The NAS is as basic as possible with 1 login id & password and can show as a network drive in Windows Network.

     

    Thanks and regards.

     

  6. Hello there,

     

    I have 1 Nano Pi K2 S905X SBC with Armbian Ubuntu Bionic Installed. Externally connected with USB HDD (Toshiba 1TB) as a backup storage.

     

    How am I going to configure the Armbian Ubuntu Bionic to become something like Samba / NAS so that I can access the Ext USB HDD via Local IP.  I tried few times and can't made it successfully for 1TB USB HDD as a network drive.

     

    Can someone experts here assist me on this matter? Thanks in advance.

     

    Best regards.

  7. I have 1 "Customised Olimex Lime A20 SBC with RTL-SDR chip installed in the board (AirNav XRANGE).

     

    Currently the OS I'm using is the Lime A20 Armbian Stretch 4.14.84, everything is works fine except for the 2 GPIO LED. I have no idea how to let it work.

     

    I have the edited "sun7i-a20-olinuxino-lime.dtb" from Armbian Jessie 4.11.5 which is mainly for the board.

     

    May I know is there a way to incorporated the "Armbian Jessie 4.11.5's sun7i-a20-olinuxino-lime.dtb into the A20 Armbian Stretch 4.14.84 so that the 2 LEDs will work again?

     

    Quote

    /soc@01c00000/pinctrl@01c20800/led_status@0

    /soc@01c00000/pinctrl@01c20800/led_adsb@0

     

    The edited dtc for LEDs to work  "sun7i-a20-olinuxino-lime.dtb" attached. Hope to get some experts to assist me on this matter. Thanks in advance.

     

    Regards,

    SaiHou

    sun7i-a20-olinuxino-lime.dtb

    4.14.84 - sun7i-a20-olinuxino-lime.dtb

  8. Dear experts,

     

    I would like to make my OrangePi PC on board LEDs works like power (Green: Default ON) and status (Red:heartbeat blinking).

     

    root@orangepipc:~# ls -1 /sys/class/leds/
    orangepi:green:pwr
    orangepi:red:status
    root@orangepipc:~#
     

    Any experts can assist me on this matter on edit in /etc/rc.local to get it works. Thanks in advance and appreciated your help.

     

    Regards,

    Sai Hou

  9. 1 hour ago, martinayotte said:

    You've done it right, but passwd can NOT be left empty as describe in "man shadow" :

     

    So, if you have another board with a known working password, copy the encrypted passwd from one board to the other, it should work.

    Hi martinayotte,

     

    Thanks for the reply.

     

    Great info.

     

    Best regards.

  10. I have 1 Armbian installed in the SBC.

     

    I want to login but I don't have any idea what is the root password.

     

    I saw there are few methods of breaking it and can bypass / reset password.

     

    I noticed that this method is 1 of the easiest way, but it doesn't work.

     

    By editing  /etc/shadow,

    root:$6$6fRIGsIb$dt.U84pEFgqpCSmlU9Nn2SLxBK8mYxxZMethrY35kqPg09aS/8e5xQ08excoGzdta6E5XmF2iFQC5J4EJVuM31:17401:0:99999:7:::
    daemon:*:17326:0:99999:7:::
    bin:*:17326:0:99999:7:::
    sys:*:17326:0:99999:7:::
    sync:*:17326:0:99999:7:::
    games:*:17326:0:99999:7:::
    man:*:17326:0:99999:7:::
    lp:*:17326:0:99999:7:::
    mail:*:17326:0:99999:7:::
    news:*:17326:0:99999:7:::
    uucp:*:17326:0:99999:7:::
    proxy:*:17326:0:99999:7:::
    www-data:*:17326:0:99999:7:::
    backup:*:17326:0:99999:7:::
    list:*:17326:0:99999:7:::
    irc:*:17326:0:99999:7:::
    gnats:*:17326:0:99999:7:::
    nobody:*:17326:0:99999:7:::
    systemd-timesync:*:17326:0:99999:7:::
    systemd-network:*:17326:0:99999:7:::
    systemd-resolve:*:17326:0:99999:7:::
    systemd-bus-proxy:*:17326:0:99999:7:::
    messagebus:*:17326:0:99999:7:::
    ntp:*:17326:0:99999:7:::
    avahi-autoipd:*:17326:0:99999:7:::
    sshd:*:17326:0:99999:7:::
    rbcs:$6$SMHou.Qx$ZFNh7PSANkFtf7LtUnkBlMZNzoPw5Yj8VHhvpwcpbyvTI4AqIN.NEpWL2uSDI1dVuJLZrh2WS05yyPhHalwRI/:17401:0:99999:7:::
    gpsd:*:17401:0:99999:7:::
    
    Which segment to be removed?
    root:$6$6fRIGsIb$dt.U84pEFgqpCSmlU9Nn2SLxBK8mYxxZMethrY35kqPg09aS/8e5xQ08excoGzdta6E5XmF2iFQC5J4EJVuM31:17401:0:99999:7:::

    I tried many times by removing "$6$6fRIGsIb$dt.U84pEFgqpCSmlU9Nn2SLxBK8mYxxZMethrY35kqPg09aS/8e5xQ08excoGzdta6E5XmF2iFQC5J4EJVuM31" and with left with the new line of:-

    root::17401:0:99999:7::: <---- Is this correct or I am done something very wrong. 

     

    Please advise and thank you in advance.

     

    Regards.

  11. 22 minutes ago, martinayotte said:

    euuh ? /etc/rc.local should exist on both !

    I'm don't know what can be wrong in Rasbian ...

     

    Hi martinayotte,

     

    I have no idea. Both OS has this file but only the Armbian is working, Raspbian is not. No clue.

     

    Anyway, thank you for sharing info.

     

    Regards.

  12. 12 hours ago, martinayotte said:

    Right !

    For other kind of apps which run in background, ampersand need to be added, example :

    
    python run_for_ever.py &

     

    Thanks for the reply. It only works in Armbian Debian Jessie.

    For the Raspbian Jessie it will not work. Any clue on this to solve it?

    Thanks once again.

  13. 16 hours ago, martinayotte said:

    You may call this command at startup using /etc/rc.local ...

     

    Hi martinayotte,

     

    Thank you for the advise.

     

    Is it something like:-

     

    sudo nano /etc/rc.local
    
      GNU nano 2.7.4                 File: /etc/rc.local
    
    #!/bin/sh -e
    #
    #
    # This script is executed at the end of each multiuser runlevel.
    # Make sure that the script will "exit 0" on success or any other
    # value on error.
    #
    # In order to disable this script please use systemd to control the service:
    # systemctl disable rc-local.service
    #
    # By default this script does nothing.
    
    view1090-fa --modeac
    
    exit 0

    Then reboot and the view1090-fa --modeac will run automatically? Thank you once again.

     

    Regards,

    SaiHou

  14. Hello there,

     

    I am looking a way to get / write a script for the file to be run on startup.

     

    I am running PiAware with dump1090-fa installed. I would like to having the

    view1090-fa --modeac

    to be auto run when the system is ON. Is there a way to get this work without my concern in the future?

     

    Currently if I need to run this command, I need to run SSH and remote the Pi to run this command from my PC. Thank you in advance.

     

    Regards,

    SaiHou

  15. 3 minutes ago, Igor said:


    We support wireless adaptors which are on boards, we just don't support 3rd party hardware. That is mission impossible. With exception of OrangePi Zero / Nanopi Duo, which has some bad wifi chip, all works fine.

     


     You need to look for some "Linux compatibility lists" and/or buy what is supported. Rpi is popular but that doesn't mean it has an advantage in this area. I have a lot of wireless adaptors for testings and to try to make them work ... Some work fine on Linux, some don't.

    Hi Igor,

     

    I got what you mean.

     

    Yeah, I saw many forums and feedbacks for the OrangePi Zero, NanoPi Duo etc with BAD Wifi connection.

     

    Best regards.

  16. 6 hours ago, Igor said:


    Wrong. It is Linux versus Windows. If dongle works well on Rpi it usually works well on other Linux devices, especially in a situation, we have here - modern kernel. If dongle has good support in official Rpi "Linux kernel" then it can be easily ported to official Linux kernel (www.kernel.org), where our sources mostly come from. 

    If you can't live with this, you need to switch back to Windows or buy what is recommended. But even then you might have troubles.

    I may be wrong. But for sure Raspberry Pi has built-in Wifi and Bluetooth with Raspbian installed, no need to guess which dongle is compatible or not compatible to be used...

     

    For other Single Board Computers, their built-in wifi is not as good as Raspberry Pi with the price of US$35++. No need to mention those enpensive SBC which more than US$100-US$200.

     

    To me, I only need a simple SBC for my LiveATC / ADSB with wifi support. I have few Rpi 3B for my ADSB and I am trying a low cost SBC which without wifi and I have the D-Link DWA-131 in hand and try to make it work... Unfortunately....

     

    Igor, thanks for the previous instruction / reply. At least I learned something but may be I am smart enough to make it work.

     

    Best regards,

    SaiHou

  17. 9 hours ago, Igor said:


    You need to add module to the kernel or load it before network goes up ...

    Hi Igor,

     

    Thanks for the reply. I can't make it work and I just unplugged the USB wifi dongle and the forget about using unsupported "USB hardware" and "hardware drivers".

     

    I decide to change to Raspberry Pi 3B(+) board which with good reputation hardware & drivers when compared to unsupported "hardware & hardware drivers".

     

    Best regards,

    SaiHou

  18. 10 minutes ago, SaiHou said:

    Hi Igor,

     

    This is what I get:-

     

    
    root@orangepipc:~# dir
    root@orangepipc:~# cd
    root@orangepipc:~# git clone https://github.com/pvaret/rtl8192cu-fixes.git
    Cloning into 'rtl8192cu-fixes'...
    remote: Counting objects: 637, done.
    remote: Total 637 (delta 0), reused 0 (delta 0), pack-reused 637
    Receiving objects: 100% (637/637), 1.94 MiB | 669.00 KiB/s, done.
    Resolving deltas: 100% (358/358), done.
    root@orangepipc:~# cd rtl8192cu-fixes
    root@orangepipc:~/rtl8192cu-fixes# make ARCH=arm
    make ARCH=arm CROSS_COMPILE= -C /lib/modules/4.14.44-sunxi/build M=/root/rtl8192cu-fixes  modules
    make[1]: Entering directory '/usr/src/linux-headers-4.14.44-sunxi'
      CC [M]  /root/rtl8192cu-fixes/core/rtw_cmd.o
      CC [M]  /root/rtl8192cu-fixes/core/rtw_security.o
    /root/rtl8192cu-fixes/core/rtw_security.c: In function aes_cipher’:
    /root/rtl8192cu-fixes/core/rtw_security.c:1504:5: warning: this for clause does not guard... [-Wmisleading-indentation]
         for (j = 0; j < 8; j++)
         ^~~
    /root/rtl8192cu-fixes/core/rtw_security.c:1507:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the for
      payload_index = hdrlen + 8;
      ^~~~~~~~~~~~~
    /root/rtl8192cu-fixes/core/rtw_security.c: In function aes_decipher’:
    /root/rtl8192cu-fixes/core/rtw_security.c:1878:5: warning: this for clause does not guard... [-Wmisleading-indentation]
         for (j = 0; j < 8; j++)
         ^~~
    /root/rtl8192cu-fixes/core/rtw_security.c:1881:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the for
      payload_index = hdrlen + 8;
      ^~~~~~~~~~~~~
      CC [M]  /root/rtl8192cu-fixes/core/rtw_debug.o
      CC [M]  /root/rtl8192cu-fixes/core/rtw_io.o
      CC [M]  /root/rtl8192cu-fixes/core/rtw_ioctl_query.o
      CC [M]  /root/rtl8192cu-fixes/core/rtw_ioctl_set.o
      CC [M]  /root/rtl8192cu-fixes/core/rtw_ieee80211.o
      CC [M]  /root/rtl8192cu-fixes/core/rtw_mlme.o
      CC [M]  /root/rtl8192cu-fixes/core/rtw_mlme_ext.o
      CC [M]  /root/rtl8192cu-fixes/core/rtw_wlan_util.o
      CC [M]  /root/rtl8192cu-fixes/core/rtw_pwrctrl.o
      CC [M]  /root/rtl8192cu-fixes/core/rtw_rf.o
      CC [M]  /root/rtl8192cu-fixes/core/rtw_recv.o
      CC [M]  /root/rtl8192cu-fixes/core/rtw_sta_mgt.o
      CC [M]  /root/rtl8192cu-fixes/core/rtw_ap.o
      CC [M]  /root/rtl8192cu-fixes/core/rtw_xmit.o
      CC [M]  /root/rtl8192cu-fixes/core/rtw_p2p.o
      CC [M]  /root/rtl8192cu-fixes/core/rtw_tdls.o
      CC [M]  /root/rtl8192cu-fixes/core/rtw_br_ext.o
      CC [M]  /root/rtl8192cu-fixes/core/rtw_iol.o
      CC [M]  /root/rtl8192cu-fixes/core/rtw_sreset.o
      CC [M]  /root/rtl8192cu-fixes/core/efuse/rtw_efuse.o
      CC [M]  /root/rtl8192cu-fixes/hal/hal_intf.o
      CC [M]  /root/rtl8192cu-fixes/hal/hal_com.o
      CC [M]  /root/rtl8192cu-fixes/hal/dm.o
      CC [M]  /root/rtl8192cu-fixes/hal/rtl8192c/rtl8192c_hal_init.o
      CC [M]  /root/rtl8192cu-fixes/hal/rtl8192c/rtl8192c_phycfg.o
      CC [M]  /root/rtl8192cu-fixes/hal/rtl8192c/rtl8192c_rf6052.o
      CC [M]  /root/rtl8192cu-fixes/hal/rtl8192c/rtl8192c_dm.o
      CC [M]  /root/rtl8192cu-fixes/hal/rtl8192c/rtl8192c_rxdesc.o
      CC [M]  /root/rtl8192cu-fixes/hal/rtl8192c/rtl8192c_cmd.o
      CC [M]  /root/rtl8192cu-fixes/hal/rtl8192c/usb/usb_halinit.o
      CC [M]  /root/rtl8192cu-fixes/hal/rtl8192c/usb/rtl8192cu_led.o
      CC [M]  /root/rtl8192cu-fixes/hal/rtl8192c/usb/rtl8192cu_xmit.o
      CC [M]  /root/rtl8192cu-fixes/hal/rtl8192c/usb/rtl8192cu_recv.o
      CC [M]  /root/rtl8192cu-fixes/hal/rtl8192c/usb/usb_ops_linux.o
      CC [M]  /root/rtl8192cu-fixes/hal/rtl8192c/rtl8192c_sreset.o
      CC [M]  /root/rtl8192cu-fixes/hal/rtl8192c/rtl8192c_xmit.o
      CC [M]  /root/rtl8192cu-fixes/hal/rtl8192c/usb/Hal8192CUHWImg.o
      CC [M]  /root/rtl8192cu-fixes/os_dep/osdep_service.o
      CC [M]  /root/rtl8192cu-fixes/os_dep/linux/os_intfs.o
      CC [M]  /root/rtl8192cu-fixes/os_dep/linux/usb_intf.o
      CC [M]  /root/rtl8192cu-fixes/os_dep/linux/usb_ops_linux.o
      CC [M]  /root/rtl8192cu-fixes/os_dep/linux/ioctl_linux.o
      CC [M]  /root/rtl8192cu-fixes/os_dep/linux/xmit_linux.o
      CC [M]  /root/rtl8192cu-fixes/os_dep/linux/mlme_linux.o
      CC [M]  /root/rtl8192cu-fixes/os_dep/linux/recv_linux.o
      CC [M]  /root/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.o
      CC [M]  /root/rtl8192cu-fixes/os_dep/linux/rtw_android.o
      LD [M]  /root/rtl8192cu-fixes/8192cu.o
      Building modules, stage 2.
      MODPOST 1 modules
      CC      /root/rtl8192cu-fixes/8192cu.mod.o
      LD [M]  /root/rtl8192cu-fixes/8192cu.ko
    make[1]: Leaving directory '/usr/src/linux-headers-4.14.44-sunxi'
    root@orangepipc:~/rtl8192cu-fixes# insmod 8192cu.ko
    root@orangepipc:~/rtl8192cu-fixes# usbcore: registered new interface driver rtl8192cu
    Could not find the database of available applications, run update-command-not-found as root to fix this
    usbcore:: command not found
    root@orangepipc:~/rtl8192cu-fixes# cd ..
    root@orangepipc:~# iwconfig wlan0
    wlan0     No such device
    root@orangepipc:~# iwconfig
    wlx180f76038d53  IEEE 802.11  ESSID:off/any
              Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm
              Retry short limit:7   RTS thr=2347 B   Fragment thr:off
              Encryption key:off
              Power Management:off
    
    enx000ec6dec8be  no wireless extensions.
    
    eth0      no wireless extensions.
    
    lo        no wireless extensions.
    
    
    
    wlx180f76038d53  IEEE 802.11  ESSID:"MOTOROLA AP"
              Mode:Managed  Frequency:2.462 GHz  Access Point: E0:B9:E5:DF:8D:C3
              Bit Rate=1 Mb/s   Tx-Power=20 dBm
              Retry short limit:7   RTS thr=2347 B   Fragment thr:off
              Encryption key:off
              Power Management:off
              Link Quality=26/70  Signal level=-84 dBm
              Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
              Tx excessive retries:0  Invalid misc:0   Missed beacon:0

    The signal strength is very low and the connection speed is unacceptable. If I plugged into Windows PC, the signal strength is 5/5 and signal quality is 100%.

     

    But in Armbian, seems ...

     

    Any solution?

     

    Regards,

    SaiHou

    Hi Igor,

     

    FYI, after I reboot, the wlan is not connected / activated (view in nmtui), but when check with iwconfig, the wlan is as follow:-

     

    wlx180f76038d53  IEEE 802.11  ESSID:off/any
              Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm
              Retry short limit:7   RTS thr=2347 B   Fragment thr:off
              Encryption key:off
              Power Management:off

    Seems the same issue as before.

     

    Anyway, thank you for the reply and advise.

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines