SaiHou

Members
  • Content Count

    19
  • Joined

  • Last visited

 Content Type 

Forums

Member Map

Store

Crowdfunding

Raffles

Everything posted by SaiHou

  1. SaiHou

    Olimex Lime A20

    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? 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
  2. Hi guidol, Thanks for the reply. Yes, I did as per above stated. Regards, SaiHou
  3. 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
  4. Thanks for the info. It works now. Cheers.
  5. 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.
  6. SaiHou

    Don't know the root password

    Hi martinayotte, Thanks for the reply. Great info. Best regards.
  7. SaiHou

    OrangePi Zero Stable Debian Jessie 3.4.113

    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.
  8. 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
  9. SaiHou

    OrangePi Zero Stable Debian Jessie 3.4.113

    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.
  10. SaiHou

    OrangePi Zero Stable Debian Jessie 3.4.113

    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
  11. 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.
  12. I am trying to install my newly bought D-Link DWA-131 E1 on my Orange Pi PC with theLinux orangepipc 4.14.18-sunxi #24 SMP Fri Feb 9 16:24:32 CET 2018 armv7l GNU/Linux. I googled from the internet and there are so many guides which will not work for me. I almost messed up my OS and the installation still failed. I already re-flash the microSD card with a new "Linux orangepipc 4.14.18-sunxi #24 SMP Fri Feb 9 16:24:32 CET 2018 armv7l GNU/Linux". I am here looking for help if some one experts here can guide me through out the installation. I really appreciated for your help and thank you in advance. Best regards, SaiHou
  13. 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
  14. 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
  15. 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.
  16. 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
  17. Hello Igor, Thank you for the advise. I am now trying the advance features. Regards. SaiHou
  18. Hi, Thank you for the quick response. I have just switch to nightly build, and trying to install the headers but can't make it. root@orangepipc:~# sudo apt-get install linux-headers-$(uname -r) Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package linux-headers-4.14.14-sunxi E: Couldn't find any package by glob 'linux-headers-4.14.14-sunxi' E: Couldn't find any package by regex 'linux-headers-4.14.14-sunxi' root@orangepipc:~# root@orangepipc:~# aptitude install linux-headers-4.14.14-sunxi Couldn't find any package whose name or description matched "linux-headers-4.14.14-sunxi" Unable to apply some actions, aborting root@orangepipc:~# root@orangepipc:~# armbianmonitor -u System diagnosis information will now be uploaded to http://ix.io/1bIP Please post the URL in the forum where you've been asked for. This is what I get. Thank you.
  19. Hi, I am newbie in Debian. I have an inquiry regarding this matter. I am having USB Wifi Dongle installed @ my OPi Zero H2+. It has built-in NIC (Eth0 & WLAN1) for the Debian Stretch. I am using this PI for the FlightAware purposes. 1. I connect to Eth0 from the beginning to access SSH and update all required updates. 2. I use nmtui for the USB Wireless connected to the Wireless AP. 3. Reboot the PI. 4. Install my PiAware 3.5.3 as per their instruction. 5. All Installed without any issue. I noticed that the MAC address of the USB Wireless Dongle is as follow:- wlx7c8bca1f3ad1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.1.194 netmask 255.255.255.0 broadcast 192.168.1.255 inet6 fe80::1b71:b02c:b5dd:22f9 prefixlen 64 scopeid 0x20<link> ether 7c:8b:ca:1f:3a:d1 txqueuelen 1000 (Ethernet) RX packets 10302 bytes 2304649 (2.1 MiB) RX errors 0 dropped 391 overruns 0 frame 0 TX packets 3567 bytes 1221201 (1.1 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 Built-in Wifi:- wlan1: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 ether 12:42:2f:e3:99:f8 txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 ( 0.0 b ) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 ( 0.0 b ) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 On Board Ethernet:- eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 ether 02:42:2f:e3:99:f8 txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 ( 0.0 b ) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 ( 0.0 b ) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 37 Now I want to set the wireless router to forward the port and I tried to put my USB Wifi Dongle MAC Address "7c:8b:ca:1f:3a:d1" but end up and it link/loop to the eth0 MAC Address "02:42:2f:e3:99:f8" at router. What should I do to resolve this issue? Thank you. Regards, SaiHou