Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No local ip context @192.168.2.1 #11

Open
maco326 opened this issue Jun 30, 2024 · 2 comments
Open

No local ip context @192.168.2.1 #11

maco326 opened this issue Jun 30, 2024 · 2 comments

Comments

@maco326
Copy link

maco326 commented Jun 30, 2024

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.

@Pytlicek
Copy link

Pytlicek commented Oct 4, 2024

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.

@magnum88
Copy link

magnum88 commented Jan 7, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants