When I bring my Ubuntu machine into an elevator, it loses Wi-Fi connectivity briefly. When I bring it back out, it is unable to regain Internet connection. Why could this be the case? Is network-manager responsible for regaining Internet connection (and what exactly does network-manager do)?
Here are some details:
Because this machine is running ROS (the Robot Operating System), it is configured to have a static IP. In other words, /etc/network/interfaces looks like:
auto wlan0 iface wlan0 inet static address ... netmask ... network ... broadcast ... gateway ... dns-nameservers ... wireless-essid ...
And /etc/NetworkManager/NetworkManager.conf is configured such that:
After the Ubuntu machine exits the elevator, when I type "iwconfig", I see that wlan0 is connected to an Access Point with reasonable link quality and signal level, however I cannot ping any website from the Ubuntu machine, and I cannot ssh into the Ubuntu machine from another machine. What is going on and why would this be the case?
I have also disabled NetworkManager just to see what would happen. In this case, upon exiting the elevator, when I type "iwconfig", I see that wlan0 is not connected to any access points or wireless networks. However, I can type "sudo ifdown wlan0 && sudo ifup wlan0" to regain Internet connection.