sudo apt install pppoeconf
2. Settings
sudo pppoeconf
3. To disconnect
sudo poff
Fourth, to reconnect
sudo pon dsl-provider
sudo apt install pppoeconf
sudo pppoeconf
sudo poff
sudo pon dsl-provider
Dial pppoe through ISP, sometimes it will disconnect by itself, so we can usually write a simple schedule, let him run once every minute, for example, but things are not that simple, just checking whether ppp0 is connected is not enough , Look at how my bash is written.
If you need to use DDNS, there are too many fake free DDNS on the Internet, you can really try this one, it is really free and easy to set up. https://www.duckdns.org/DDNS is also called dynamic DNS, which allows our floating IP to obtain a domain name. In this way, we can access our floating IP host through the domain name.
No Comment
Post your comment