You can always restart your network instead of the whole PC

If you have no name resolution check the content of /etc/resolv.conf
Otherwise your problems might be in the routing table.

I am using version 4.8 and never had problems after disconnecting (press Ctrl-C in console).

Also you can always restart your networking subsystem (instead of restarting the whole computer). In most distros this is achieved with
/etc/init.d/network restart
or
sudo /etc/init.d/network restart (in Debian, Ubuntu, etc)

Reply

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options