[Solved] Network setup error

I’m trying to launch the webui demo and I keep getting this error:

husarion@husarion:~$ roslaunch rosbot_webui demo.launch
… logging to /home/husarion/.ros/log/2324de84-8d1e-11e9-8dcc-80c5f2fe61ed/roslaunch-husarion-5866.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

Unable to contact my own server at [http://10.101.84.77:42963/].
This usually means that the network is not configured properly.

How do I fix my Network setup?
A common cause is that the machine cannot ping itself. Please check
for errors by running:

ping 10.101.84.77

For more tips, please see

http://www.ros.org/wiki/ROS/NetworkSetup

The traceback for the exception was written to the log file

When I ping 10.101.84.77 I am unable to transmit any packages and have 100% packet loss.
I have tried the suggestions in the ROS/NetworkSetup page and nothing seems to work.
I have also tried to ping the rosout node and I get the following error:
ERROR: Unable to communicate with master!

Hello Juliette_Fowler,

We need to check your network configuration, please provide me output of following commands:

ifconfig
echo $ROS_MASTER_URI
echo $ROS_IP

Regards,
Łukasz

ifconfig:
eth0 Link encap:Ethernet HWaddr 5e:7d:6b:7c:45:48
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:510 (510.0 B)
Interrupt:43

hnet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet6 addr: fc94:a1f2:6a1f:b21b:c18:9141:1727:92b9/16 Scope:Global
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1350 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:0 (0.0 B) TX bytes:1980 (1.9 KB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:9048 errors:0 dropped:0 overruns:0 frame:0
TX packets:9048 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:777588 (777.5 KB) TX bytes:777588 (777.5 KB)

wlan0 Link encap:Ethernet HWaddr 80:c5:f2:fe:61:ed
inet addr:172.20.10.3 Bcast:172.20.10.15 Mask:255.255.255.240
inet6 addr: fe80::d6e4:d258:96a5:f4d2/64 Scope:Link
inet6 addr: 2607:fb90:682d:d76a:6fd0:af9a:2f73:b70f/64 Scope:Global
inet6 addr: 2607:fb90:682d:d76a:cc6e:98b8:bf71:b88c/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:199 errors:0 dropped:12 overruns:0 frame:0
TX packets:288 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:37284 (37.2 KB) TX bytes:48125 (48.1 KB)

Hello Juliette,

Your device IP address is 172.20.10.3 while ROS_MASTER_URI points to 10.101.84.77. Set ROS_MASTER_URI and ROS_IP appropriately and try again:

export ROS_MASTER_URI=http://172.20.10.3:11311
export ROS_IP=172.20.10.3

Regards,
Łukasz

Thank you! This helped solve the issue