I tried connecting my PC to network router via ethernet and connected to RFSOC board via USB ethernet connection (verified board IP 192.168.3.1 and host to 192.168.3.x) and finally I bridged my ethernet internet and USB ethernet connections. But when I tried to ping to check internet it shows Temporary failure in name resolution. Also the Bridged adaptor IP was set something different than board IP.
Even with ethernet connection from board(RJ45 PIN) to PC. I was unable to access Jupyter without USB ETHERNET.
Any suggestions would be helpful.
Hi @Sumanth_Raikar,
The IP 192.168.3.x is only for the USB composite.
If you connect via Ethernet (RJ45), the default IP is 192.168.2.99, also the board can get a dynamic IP via DHCP.
Please, login to the board via the serial port and check the IP address with ifconfig
.
Mario
I changed ip at PC to 192.168.2.4(I am able to open jupyter lab now) with my PC connected to WIFI , I tried to share it with ethernet connection to board, (changed metric to 5) on wifi IP. But still when I ping google it shows temporary failure in name resolution. Please tell me how to proceed
Here is output when ifconfig on board side
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.137.22 netmask 255.255.255.0 broadcast 192.168.137.255
inet6 fe80::fec2:3dff:fe30:ebce prefixlen 64 scopeid 0x20
ether fc:c2:3d:30:eb:ce txqueuelen 1000 (Ethernet)
RX packets 7753 bytes 776523 (776.5 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 14208 bytes 17614000 (17.6 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 28
eth0:1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.2.99 netmask 255.255.255.0 broadcast 192.168.2.255
ether fc:c2:3d:30:eb:ce txqueuelen 1000 (Ethernet)
device interrupt 28
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 1000 (Local Loopback)
RX packets 9783 bytes 610279 (610.2 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 9783 bytes 610279 (610.2 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
usb0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.3.1 netmask 255.255.255.0 broadcast 192.168.3.255
inet6 fe80::3c80:55ff:feca:6e38 prefixlen 64 scopeid 0x20
ether 3e:80:55:ca:6e:38 txqueuelen 1000 (Ethernet)
RX packets 962 bytes 92661 (92.6 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 70 bytes 13836 (13.8 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
This seems to be a problem with the DNS servers on the board.
These few post can help you
Mario
One more issue started now, In ifconfig eth0:1 with ip 192.168.2.99 is not listed. Any idea how to turn it back on? Restart didn’t work
What changes have you made? Any attempts to debug?
I ran those echo name commands and there was a restart and tried bridge connection on my windows PC. Suddenly ethernet stopped working. Neither cable issue nor issue on my PC for sure.
I also followed some commands given on this page before restart
i also ran sudo chmod 644 /etc/resolve.conf, sudo update-ca-certificates, echo “nameserver 8.8.8.8” | sudo tee /etc/resolv.conf > /dev/null commands before restart. Does it impact anything. If this doesn’t work then what are possible ways to get back to original state?
If you do not have anything important in the SD card, the easiest thing is to re flash the SD card.
When we share wifi internet on windows PC over ethernet it assigns 192.168.137.1 to PC and in order for this to work I tried changing my rfsoc board IP (192.168.2.99 to 192.168.137.14) using “sudo vi /etc/network/interfaces.d/eth0” command but I wasn’t able to change the board IP.
Instead of this I also tried changing windows PC IP (192.168.137.1 to 192.168.2.14) this didn’t work in sharing internet. Any ideas how to proceed?
I just had to restart to change the IP, I am able to connect to internet now
Thanks for your help