libresdr icon indicating copy to clipboard operation
libresdr copied to clipboard

No local ip context @192.168.2.1

Open maco326 opened this issue 1 year ago • 3 comments

I finally got got my setup working to successfully build the project. Right now, I am testing the device using the sdimg output, with plans to ultimately update the nor flash... When I connect the radio over ethernet, everything seems fine, but when I plug it in to USB, there is no local IP context. Is this the expected behavior?

maco@P65:~$ iio_info -s Available contexts: 0: (iwlwifi_1,nvme,BAT1,ADP1,coretemp,pch_cannonlake,nvme,acpitz on Micro-Star International Co., Ltd.) [local:] 1: 0456:b673 (Analog Devices Inc. PlutoSDR (ADALM-PLUTO)), serial= [usb:1.51.5]

While plugged in, my machine periodically notifies me that a network connection activation has failed.

maco326 avatar Jun 30 '24 05:06 maco326

The board I ordered with prebuilt image on card has default IP: 192.168.1.10 and when I set up my local LAN to static 192.168.1.1 - it worked without any issues. Strange is that over the LAN - I have got better performance output on SDR console than via the USB port.

Pytlicek avatar Oct 04 '24 07:10 Pytlicek

For have USB network make it: vi /etc/init.d/S40network add this echo "end 192.168.2.100" >> $UDHCPD_CONF in

         ### /etc/udhcpd.conf ###
        echo "start $IPADDR_HOST" > $UDHCPD_CONF
        echo "interface usb0" >> $UDHCPD_CONF

for have


         ### /etc/udhcpd.conf ###
        echo "start $IPADDR_HOST" > $UDHCPD_CONF
        echo "end 192.168.2.100" >> $UDHCPD_CONF
        echo "interface usb0" >> $UDHCPD_CONF

after save

put sh /etc/init.d/S40network restart and sh /etc/init.d/S41network restart

try make one time again put sh /etc/init.d/S40network restart and sh /etc/init.d/S41network restart

enjoy for have 192.168.2.1 usb

you check in cat /etc/udhcpd.conf check have line add

magnum88 avatar Jan 07 '25 01:01 magnum88

The board I ordered with prebuilt image on card has default IP: 192.168.1.10 and when I set up my local LAN to static 192.168.1.1 - it worked without any issues. Strange is that over the LAN - I have got better performance output on SDR console than via the USB port.

sure ... ethernet supports up to 26 megs bandwidth .. way higher as via usb port

DG9BFC avatar Jul 01 '25 17:07 DG9BFC