|
From: | Derek Kozel |
Subject: | Re: [Discuss-gnuradio] Cannot ping the usrp |
Date: | Mon, 11 Apr 2016 15:05:57 -0700 |
/etc/network/if-up.d/add-usrp-subnet.sh
#!/bin/bash
if [[ `nmcli connection show --active | grep 'Lab LAN'` ]]
then
ip addr add 192.168.10.5/24 dev enp0s25
fi
The network name can be determined with nmcli connection show --active
when connected to the local network. The device name is shown at the end. For example:
address@hidden ~] nmcli connection show --active
NAME UUID TYPE DEVICE
Lab LAN 5b0c59d0-3c9b-420f-9645-a425862e1088 802-3-ethernet enp0s25
For earlier versions of Network Manger the command is nmcli connection status
.
Hopefully this is helpful. Also, this again is a USRP question (Linux networking actually), so would be better on the USRP-users mailing list.
Regards,
Derek
I first configured everything and installed uhd and gnuradio using pybombs, I faced this of problem of not able to ping my usrp device.. Then I set Host address and mask to 192.168.10.1 and 255.255.255.0 in edit connection....ethernet...manual ipv4....And everything was working fine..But from suddenly My computer is again not able to detect the usrp device.I have tried sudo ifconfig eth0 192.168.10.1; and then ping to my usrp address..not working ..My ethernet cable works fine..Please can anybody tell me what the reasons could be ?-Vinit
_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Prev in Thread] | Current Thread | [Next in Thread] |