Posts by IS0GRB

    Hello Evariste, great job i did some tests and I saw that it works well.

    I saw the change in /etc/init.d/S40network:


    case "$ 1" in

    start)

    create_system_files

    printf "Starting network:"

    / sbin / route add default gw 192.168.2.10 usb0

    / bin / hostname -F / etc / hostname

    / sbin / ifup -a 2> & 1 | logger

    [$? = 0] && echo "OK" echo "FAIL"

    ;;

    stop)

    printf "Stopping network:"

    / sbin / ifdown -a

    [$? = 0] && echo "OK" echo "FAIL"

    ;;

    restart | reload)

    "$ 0" stop

    "$ 0" start

    ;;

    *)

    echo "Usage: $ 0 {start | stop | restart}"

    exit 1



    I would like to ask if we can implement h265 encoding with ffmpeg.
    I saw that it is supported by a special library and it would be convenient to use it without the aid of an external box, what do you think?
    See this site: https://trac.ffmpeg.org/wiki/Encode/H.265

    Furthermore, an interesting thing that can be done is to insert in the pluto.php form the selection of the TCP and/or UDP port on which ffmpeg must listen.


    At the moment, as you know, it leaves 3 ports listening rtmp 7272, 7373 and udp 8282, even if they are not used because maybe you are using UDP mode (Recording mode on OBS) or for direct and vice versa, in this way, however, the ffmpeg daemons occupy memory resources unnecessarily also decreasing the value of free CPU, in fact, from the tests made, even using the udp 8282 port the cpu drops to 40/50% and it is not possible to use the Pluto for example in reception at the same time because is intermittent due to the few resources of the cpu, which would help to spend less and use the same hardware also to receive, perhaps even with the excellent DVBS-GUI or with sdrconsole


    For the other updates we feel and we can integrate other functions in the web part as previously mentioned.


    73
    Roberto IS0GRB

    Hello Evariste, i'm working on some implementations on the pluto.php page that have been requested to make DATV operation easier by calling another php page that displays the WB spectrum on the iframe, and other useful things during operation and the possibility of clipping the spectrum to easily insert a camera with the Chromacam program.
    I will update you on this.
    I would like to ask if in the meantime you have done something about yesterday's errors on the firmware.
    If you need to debug let me know or write me an email so that you can contact us by other faster ways


    73

    Roberto IS0GRB

    Hello Evariste, it seems that the Pluto on boot does not start the rcS .. scripts in the /etc/init.d directory.

    Yet in /etc/inittab it is specified that it must execute /etc/init.d/rcS, in fact by manually executing rcS script it starts all the rcS scripts .. and also activates the static route.

    The problem is this.

    Runnng manually the rcS script:

    # ./rcS

    Starting syslogd: FAIL

    Starting klogd: FAIL

    Starting mdev: OK

    Starting watchdog: OK

    Starting initializing random number generator: OK

    Starting miscellaneous setup: md5sum: password.md5: No such file or directory

    OK

    Starting UDC Gadgets: sh: write error: Device or resource busy

    sh: write error: Device or resource busy

    ln: /sys/kernel/config/usb_gadget/composite_gadget/configs/c.1/rndis.0: File exi sts

    ln: /sys/kernel/config/usb_gadget/composite_gadget/configs/c.1/mass_storage.0: F ile exists

    ln: /sys/kernel/config/usb_gadget/composite_gadget/configs/c.1/acm.usb0: File ex ists

    ln: /sys/kernel/config/usb_gadget/composite_gadget/configs/c.1/ffs.iio_ffs/ffs.i io_ffs: Operation not permitted

    sh: write error: Device or resource busy

    FAIL

    Starting system message bus: dbus-daemon[2911]: Failed to start message bus: The pid file "/var/run/messagebus.pid" exists, if the message bus is not running, r emove this file

    done

    Starting rpcbind: rpcbind: another rpcbind is already running. Aborting

    OK

    Starting network: OK

    Starting dhcpd Daemon & httpd Server: httpd: bind: Address already in use

    FAIL

    Starting MSD Daemon: losetup: /opt/vfat.img

    FAIL

    Starting ntpd: FAIL

    Starting dropbear sshd: FAIL

    Starting gpsd: OK

    Starting mosquitto: FAIL

    Starting NFS statd: Statd service already running!

    FAIL

    Starting NFS services: OK

    Starting NFS daemon: OK

    Starting NFS mountd: OK

    Archive: /mnt/jffs2/patch.zip

    inflating: etc/init.d/S40network

    mounting NFS volume : on /remote

    mount: can't find /remote in /etc/fstab

    Checking for maxcpus and ad9364 mods...

    ## Error: "maxcpus" not defined

    export EDITOR='/bin/vi'

    export HOME='/root'

    export LOGNAME='root'

    export OLDPWD='/mnt/jffs2'

    export PAGER='/bin/more'

    export PATH='/bin:/sbin:/usr/bin:/usr/sbin'

    export PS1='# '

    export PWD='/etc/init.d'

    export SHELL='/bin/sh'

    export SHLVL='3'

    export SSH_CLIENT='192.168.2.10 53846 22'

    export SSH_CONNECTION='192.168.2.10 53846 192.168.2.1 22'

    export SSH_TTY='/dev/pts/0'

    export TERM='xterm'

    export USER='root'

    sh: 1: unknown operand

    Mods already in place, continuing.

    Starting input-event-daemon: done


    # route

    Kernel IP routing table

    Destination Gateway Genmask Flags Metric Ref Use Iface

    default 192.168.2.10 0.0.0.0 UG 0 0 0 usb0

    192.168.2.0 * 255.255.255.0 U 0 0 0 usb0

    #



    I'm trying to figure out what happens on boot

    Hello Evariste, i'm looking for the best and least invasive method to make him load the static route.

    Even putting it in the S40 script .. doesn't load it.

    The best syntax would be:
    route add default gw 192.168.2.10 usb0

    so that the interface is specified without colliding with others.
    I'll update you as soon as i've finished the tests.

    My Pluto is asking pity for all these reboots :)
    Have you done any tests with the static route?


    73

    Roberto IS0GRB

    Hello Evariste, i've seen the changes and thank you.

    I would like to ask you if it is possible to insert the static route already in the firmware to make sure that the Pluto, through the internet sharing configured on the computer, can be connected to the internet without the aid of a USB-Ethernet converter.

    The static route, being on a different ip class, does not collide with that possibly configured on the Ethernet part as it is considered a secondary gateway not being on the same / 24 network.

    See my procedure: ( How to connect Adalm Pluto to the Internet without using the USB / Ethernet adapter )


    73

    Roberto IS0GRB

    Hi Robert the analysis page is not modified from my package; it is a default page on Pluto with F5OEO firmware

    Here work fine when i transmit; so try to reboot Pluto and update again the package.
    Sometimes Pluto has strange reactions.

    The IP address is the default 192.168.2.1 and pluto.php doesn't modify the IP.

    Are you using a H265 box? May be the IP address doesn't match
    Thanks for trying my update, i hope you like it

    73

    Roberto IS0GRB

    Good morning, if you have the Pluto connected to the internet with the USB-Ethernet adapter or if you have followed my procedure to connect it to the internet without the ethernet adapter described in this post -> (How to connect Adalm Pluto to the Internet without using the USB / Ethernet adapter) you can give these commands and you will have the loading of the new pluto.php without connecting the USB stick.

    Attached the txt file with the commands; selecting all the content including the first empty line will do very quickly.
    Just copy / paste on the Pluto after the reboot and you are ready.

    If your Pluto have a USB/Ethernet adapter probably will have a different IP from 192.168.2.1 so you must remove the first line on my txt file commands "route add -net 0.0.0.0 gateway 192.168.2.10", because probably not match with your default gateway Ethernet configuration


    73

    Roberto IS0GRB

    Good morning for those interested i am attaching a small guide that illustrates how to connect Adalm Pluto to the internet without using the USB-Ethernet adapter


    Roberto IS0GRB

    Hi Robert it is possible that there are differences with the Y cables.

    The OTG cable differs from the normal USB cable only for pin 4 which instead of being disconnected is connected to ground for autodetect.

    Some on the socket that is connected to the PC do not have a data connection but only a input power supply.

    Alternatively you can connect a power supply to the pluto on the right socket, with the OTG cable connect the USB stick and load the new files that the script will overwrite and after 10seconds then reconnect the original pluto cable to the pc leaving the power supply connected.

    Fixed again the pluto.php, now you can correctly display the downlink frequency after applying the settings.

    It is necessary to download the package again and copy all the files contained, some have been updated

    Updated the README file for info on problems in connecting the USB stick


    https://drive.google.com/file/…_Qgj4xmN/view?usp=sharing


    Roberto IS0GRB