Jump to content

abcd567

Members
  • Posts

    12
  • Joined

  • Last visited

Posts posted by abcd567

  1. Off-topic, but related to "trixie / sid" on RPi4

     

    On a freshly written 64-bit raspberrypi os bookworm (Lite) image, replaced word "bookworm" by "trixie" in following two files:

     

     "/etc/apt/sources.list"

    and

    "/etc/apt/sources.list.d/raspi.list" .

     

    After above modifications, ran following commands:

     

    sudo apt update

    sudo apt full-upgrade

    sudo apt autoremove

    sudo apt autoclean

    sudo reboot

     

     

    The upgrade command took about half an hour to complete, and upgraded 470 packages. No issues during & after upgrade. Everything is OK.

     

    20250423_194303.jpg

  2. Upgrading:

    pi@pi-1-Armbian-trixie:~$ apt list --upgradable
    armbian-bsp-cli-rpi4b-current/trixie 25.5.0-trunk.438 arm64 [upgradable from: 2>
    linux-dtb-current-bcm2711/trixie 25.5.0-trunk.438 arm64 [upgradable from: 25.5.>
    linux-image-current-bcm2711/trixie 25.5.0-trunk.438 arm64 [upgradable from: 25.>

     

     

    When issued command "sudo apt upgrade", upgrade did take place, but when it reached finishing stage, got following errors:

     

    Armbian 'linux-image-current-bcm2711' for '6.12.22-current-bcm2711': 'postinst' starting.
    update-initramfs: Generating /boot/initrd.img-6.12.22-current-bcm2711
    W: Possible missing firmware /lib/firmware/rtl_nic/rtl8156b-2.fw for built-in driver r8152
    W: Possible missing firmware /lib/firmware/rtl_nic/rtl8156a-2.fw for built-in driver r8152
    W: Possible missing firmware /lib/firmware/rtl_nic/rtl8153c-1.fw for built-in driver r8152
    W: Possible missing firmware /lib/firmware/rtl_nic/rtl8153b-2.fw for built-in driver r8152
    W: Possible missing firmware /lib/firmware/rtl_nic/rtl8153a-4.fw for built-in driver r8152
    W: Possible missing firmware /lib/firmware/rtl_nic/rtl8153a-3.fw for built-in driver r8152
    W: Possible missing firmware /lib/firmware/rtl_nic/rtl8153a-2.fw for built-in driver r8152
    ERROR: Unsupported initramfs version (6.12.22-current-bcm2711)
    ERROR: Unsupported kernel version (6.12.22-current-bcm2711)

     

     

    update-initramfs: Generating /boot/initrd.img-6.12.22-current-bcm2711
    W: Possible missing firmware /lib/firmware/rtl_nic/rtl8156b-2.fw for built-in driver r8152
    W: Possible missing firmware /lib/firmware/rtl_nic/rtl8156a-2.fw for built-in driver r8152
    W: Possible missing firmware /lib/firmware/rtl_nic/rtl8153c-1.fw for built-in driver r8152
    W: Possible missing firmware /lib/firmware/rtl_nic/rtl8153b-2.fw for built-in driver r8152
    W: Possible missing firmware /lib/firmware/rtl_nic/rtl8153a-4.fw for built-in driver r8152
    W: Possible missing firmware /lib/firmware/rtl_nic/rtl8153a-3.fw for built-in driver r8152
    W: Possible missing firmware /lib/firmware/rtl_nic/rtl8153a-2.fw for built-in driver r8152
    ERROR: Unsupported initramfs version (6.12.22-current-bcm2711)

     

  3. [S O L V E D]   

    Modifying blacklist as shown below makes dump1090-fa / dump1090-mutability work.

     

    #open file rtl-sdr-blacklist.conf in an editor
    
    sudo nano /etc/modprobe.d/rtl-sdr-blacklist.conf
    
    #add these two line at the end:
    blacklist dvb_usb_rtl2832u
    blacklist dvb_usb
    
    #save file (Ctrl+o), and close editor (Ctrl+x)
    
    #reboot
    sudo reboot

     

  4. ATTEMT TO INSTALL DUMP1090-MUTABILITY / DUMP1090-FA ON FOLLOWING DISTROS FAILS:

    Armbian_5.30_Orangepipc_Ubuntu_xenial_default_3.4.113.img
    Armbian_5.30_Orangepipc_Debian_jessie_default_3.4.113.img

     

    DUMP1090-MUTABILITY + LIGHTTPD + PIAWARE DATA FEEDER INSTALL
    -dump1090-mutability is running

    -Piaware is running, but does not feed data to flightaware and says "no ADS-B data program seen listening on port 30005"

    -lighttpd is running

    -map at <IP of Pi>/dump1090/gmap.html gives warning:
    "Problem fetching data from dump1090. AJAX call failed (error: Not Found). Maybe dump1090 is no longer running? The displayed map data will be out of date."


    DUMP1090-FA + LIGHTTPD + PIAWARE DATA FEEDER INSTALL
    -dump1090-fa fails

    -Piaware is running, but does not feed data to flightaware and says "no ADS-B data program seen listening on port 30005"

    -lighttpd is running

     

     

  5. The lighttpd fails when installed on following two distros:

    (1) Armbian_5.25_Orangepipc_Debian_jessie_default_3.4.113

    (2) Armbian_5.25_Orangepipc_Ubuntu_xenial_default_3.4.113_desktop

     

    How to solve this problem?

     

    The code below gives the details.

    Welcome to ARMBIAN 5.25 stable Debian GNU/Linux 8 (jessie) 3.4.113-sun8i
    pi@orangepipc:~$ uname -a
    Linux orangepipc 3.4.113-sun8i #10 SMP PREEMPT Thu Feb 23 19:55:00 CET 2017 armv7l GNU/Linux
    
    pi@orangepipc:~$ sudo apt-get update
    pi@orangepipc:~$ sudo apt-get install lighttpd
    
    pi@orangepipc:~$ sudo systemctl restart lighttpd
    pi@orangepipc:~$ sudo systemctl status lighttpd -l
    ● lighttpd.service - Lighttpd Daemon
    Loaded: loaded (/ lib / systemd / system / lighttpd.service; enabled)
    Active: failed (Result: exit-code) since Mon 2017-05-01 15:42:43 CEST; 40s ago
    Process: 917 ExecStart=/usr/sbin/lighttpd -D -f / etc / lighttpd / lighttpd.conf (code=exited, status=255)
    Process: 909 ExecStartPre= / usr / sbin / lighttpd -t -f / etc / lighttpd / lighttpd.conf (code=exited, status=0 / SUCCESS)
    Main PID: 917 (code=exited, status=255)
    
    May 01 15:42:42 orangepipc lighttpd[909]: Syntax OK
    May 01 15:42:43 orangepipc systemd[1]: Started Lighttpd Daemon.
    May 01 15:42:43 orangepipc lighttpd[917]: 2017-05-01 15:42:43: (log.c.118) opening errorlog ' / var / log / lighttpd / error.log' failed: No such file or directory
    May 01 15:42:43 orangepipc systemd[1]: lighttpd.service: main process exited, code=exited, status=255 / n / a
    May 01 15:42:43 orangepipc systemd[1]: Unit lighttpd.service entered failed state.
    pi@orangepipc:~$
    

     

  6. I purchased a usb wifi adapter RTL8192EU chip, 300Mbps.
    Requires Driver Installation (CD was provided with the adapter),

    When I tried to install driver on Orange Pi PC / Armbian, gave error. :(  :angry:  
    Need help.


    This is what happened:

    1) Copied following 2 files from CD to Orange Pi PC by SFTP:
        rtl8192EU_linux_v4.2.2_7585.20130524.tar.gz
        install.sh

    2) Run the installation script
        $ sudo chmod +x install.sh
        $ sudo ./install.sh

    3) Output generated:

     

     

     

    Decompress the driver source tar ball:
            rtl8192EU_linux_v4.2.2_7585.20130524.tar.gz
    rtl8192EU_linux_v4.2.2_7585.20130524/
    rtl8192EU_linux_v4.2.2_7585.20130524/clean
    rtl8192EU_linux_v4.2.2_7585.20130524/core/
    rtl8192EU_linux_v4.2.2_7585.20130524/core/efuse/
    rtl8192EU_linux_v4.2.2_7585.20130524/core/efuse/rtw_efuse.c
    ................................

    ................................

    ................................

    ................................

    rtl8192EU_linux_v4.2.2_7585.20130524/runwpa
    rtl8192EU_linux_v4.2.2_7585.20130524/wlan0dhcp
    rtl8192EU_linux_v4.2.2_7585.20130524

     

    Authentication requested [root] for make clean:
    cd hal/OUTSRC/ ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
    cd hal/OUTSRC/ ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
    cd hal/led ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
    cd hal ; rm -fr */*/*.mod.c */*/*.mod */*/*.o */*/.*.cmd */*/*.ko
    cd hal ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
    cd hal ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
    cd core/efuse ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
    cd core ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
    cd os_dep/linux ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
    cd os_dep ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
    rm -fr Module.symvers ; rm -fr Module.markers ; rm -fr modules.order
    rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
    rm -fr .tmp_versions

     

    Authentication requested [root] for make driver:
    make ARCH=armv7l CROSS_COMPILE= -C /lib/modules/3.4.112-sun8i/build M=/home/pi/driver-18192eu/driver/rtl8192EU_linux_v4.2.2_7585.20130524  modules
    make[1]: Entering directory '/usr/src/linux-headers-3.4.112-sun8i'
    Makefile:568: /usr/src/linux-headers-3.4.112-sun8i/arch/armv7l/Makefile: No such file or directory
    make[1]: *** No rule to make target '/usr/src/linux-headers-3.4.112-sun8i/arch/armv7l/Makefile'.  Stop.

    make[1]: Leaving directory '/usr/src/linux-headers-3.4.112-sun8i'
    Makefile:1043: recipe for target 'modules' failed
    make: *** [modules] Error 2
    ##################################################
    Compile make driver error: 2
    Please check error Mesg
    ##################################################

     

     

    Here is the install.sh code:

     

     

    #!/bin/bash
    # Auto install for 8192cu
    # September, 1 2010 v1.0.0, willisTang
    #
    # Add make_drv to select chip type
    # Novembor, 21 2011 v1.1.0, Jeff Hung
    ################################################################################
    
    echo "##################################################"
    echo "Realtek Wi-Fi driver Auto installation script"
    echo "Novembor, 21 2011 v1.1.0"
    echo "##################################################"
    
    ################################################################################
    #            Decompress the driver source tal ball
    ################################################################################
    cd driver
    Drvfoulder=`ls |grep .tar.gz`
    echo "Decompress the driver source tar ball:"
    echo "    "$Drvfoulder
    tar zxvf $Drvfoulder
    
    Drvfoulder=`ls |grep -iv '.tar.gz'`
    echo "$Drvfoulder"
    cd  $Drvfoulder
    
    ################################################################################
    #            If makd_drv exixt, execute it to select chip type
    ################################################################################
    if [ -e ./make_drv ]; then
        ./make_drv
    fi
    
    ################################################################################
    #                       make clean
    ################################################################################
    echo "Authentication requested [root] for make clean:"
    if [ "`uname -r |grep fc`" == " " ]; then
            sudo su -c "make clean"; Error=$?
    else
            su -c "make clean"; Error=$?
    fi
    
    ################################################################################
    #            Compile the driver
    ################################################################################
    echo "Authentication requested [root] for make driver:"
    if [ "`uname -r |grep fc`" == " " ]; then
        sudo su -c make; Error=$?
    else    
        su -c make; Error=$?
    fi
    ################################################################################
    #            Check whether or not the driver compilation is done
    ################################################################################
    module=`ls |grep -i 'ko'`
    echo "##################################################"
    if [ "$Error" != 0 ];then
        echo "Compile make driver error: $Error"
        echo "Please check error Mesg"
        echo "##################################################"
        exit
    else
        echo "Compile make driver ok!!"    
        echo "##################################################"
    fi
    
    if [ "`uname -r |grep fc`" == " " ]; then
        echo "Authentication requested [root] for remove driver:"
        sudo su -c "rmmod $module"
        echo "Authentication requested [root] for insert driver:"
        sudo su -c "insmod $module"
        echo "Authentication requested [root] for install driver:"
        sudo su -c "make install"
    else
        echo "Authentication requested [root] for remove driver:"
        su -c "rmmod $module"
        echo "Authentication requested [root] for insert driver:"
        su -c "insmod $module"
        echo "Authentication requested [root] for install driver:"
        su -c "make install"
    fi
    echo "##################################################"
    echo "The Setup Script is completed !"
    echo "##################################################"
    

     

     

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines