by Devin Yang
(This article was automatically translated.)

Published - 1 year ago ( Updated - 1 year ago )

Not sure who will use it, but I encountered it myself, because my home is a floating IP.
A software I installed can't detect that the ppp0 network card is an external network, so changing the name can trick him into successfully installing it.

1. File opening

vim /etc/ppp/peers/dsl-provider

2. Add ifname eth0 in the last line

plugin rp-pppoe.so
nic-ens3
ifname eth0

Tags: linux config

Devin Yang

Feel free to ask me, if you don't get it.:)

No Comment

Post your comment

Login is required to leave comments

Similar Stories


docker, goaccess, config

phpenv actual combat GoAccess is real website analysis (docker version)

Before I start, let me say that GoAccess can also generate static data as long as you have a log, because I think the real-time feeling is more dazzling, so this article will focus on the part of GoAccess real-time display. Although Google Analytics (GA) is very useful, it is also very good to try another GA. For example, you want to know which browsers website users use to visit the website.

linux

Generate ssh key pair without password query

Sometimes it is necessary to generate an ssh key pair for automatic configuration. There is no password query in the command line, and an ssh key pair is generated.

linux

How to change timezone on RHEL 7/CentOS7/Fedora

On the new version of RHEL 7/CentOS 7 or Fedora, we can check the status and make adjustments through timedatectl.