Page 1 of 1
when internet disconnects, it won't reconnect until restart
Posted: Wed Feb 08, 2023 1:44 pm
by ninos
I'm using
GhostBSD with
Xfce 4.18 on a Thinkpad 240.
I'm very satisfied with its stability and speed.
But when the internet is disconnected,
it won't reconnect automatically,
I need to shut down and restart the system.
(I had exactly the same problem with Xubuntu
Xfce on a Toshiba Satellite
a few years ago.
Their forum
https://askubuntu.com/questions/215632/ ... -from-tty1
suggests restarting XFCE4 from the command line,
but I don't know how to do this
on GhostBSD.)
Any ideas to solve this annoying problem?
Re: when internet disconnects, it won't reconnect until restart
Posted: Wed Feb 08, 2023 4:39 pm
by nevets
sudo /etc/netstart
I have a pc I start off-line and need to do this to connect later on...
Wait till the gateway is up then enter the command in a terminal.
I've used this on MATE flavour.
Steve
Re: when internet disconnects, it won't reconnect until restart
Posted: Wed Feb 08, 2023 5:37 pm
by ninos
yes, but this is for Ubuntu, Debian, etc.
https://askubuntu.com/questions/230698/ ... ng-service
what is the command in GhostBSD ????
Re: when internet disconnects, it won't reconnect until restart
Posted: Wed Feb 08, 2023 5:41 pm
by ninos
I also found this
restart network & routing services on FreeBSD
https://www.cyberciti.biz/tips/freebsd- ... rvice.html
service netif restart
Other options are:
service netif stop
service netif start
Re: when internet disconnects, it won't reconnect until restart
Posted: Thu Feb 09, 2023 1:59 am
by nevets
This [sudo /etc/netstart] is for FreeBSD, GhostBSD.

If you're having issues with this command working you might need to stop "networkmgr" from running first (icon in panel > right-select > disable) - it may conflict.
Re: when internet disconnects, it won't reconnect until restart
Posted: Fri Feb 10, 2023 4:20 pm
by wb7odyfred
Yes service netif restart should work by itself. If not working
service routing restart . You may have to use 'sudo' in front of service routing restart
ifconfig wlan0 down
ifconfig wlan0 up might also restart networking
Also for Ethernet interface, use the network interface name for your pc system
ifconfig
ifconfig eth0 down
ifconfig eth0 up
Re: when internet disconnects, it won't reconnect until restart
Posted: Sat Feb 18, 2023 1:19 pm
by ninos
I don't know dear friends, but since I installed the Wavelan xfce plugin, a few days ago,
I have NOT had any problems with the internet !?!?
So , I guess, problem solved
Re: when internet disconnects, it won't reconnect until restart
Posted: Thu May 18, 2023 9:18 pm
by LibreQuest
I just do "sudo sh /etc/netstart". It has failed before and I've taken the interface down with ifconfig and then brought it back up and run it again, "sudo sh /etc/netstart.
Re: when internet disconnects, it won't reconnect until restart
Posted: Wed Jun 28, 2023 8:17 am
by wb7odyfred
I think the command for resetting the internet connection is this: Open a Terminal Window. ctrl-alt-F2 or use XFCE4 Terminal Window
and maybe
Share what works for you. Best of luck and enjoy GhostBSD.