by Devin Yang
(This article was automatically translated.)

Published - 2 years ago ( Updated - 2 years 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


linux

Multiple ssh configuration files for public key authentication

When we use ssh public key authentication, we usually add relevant settings in ~/.ssh/config. If some are used by the company or at home, can multiple configs be used? In fact, it is possible. We can use git to load the company-shared, version-controlled config through Include.

linux,termux

how to play mp4 or webm in android phone background

I have some audio files downloaded from Youtube that I want to play in the background, do I know how to do it?

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.