by Devin Yang
(This article was automatically translated.)

Published - 2 years 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


linux

How to install the monitor tool htop on CentOS

Htop is a free (GPL) ncurses-based program monitor tool for Linux. It is similar to top, but allows you to scroll vertically and horizontally, so you can see the full command line running on the system, And you can view them as program trees, select multiple programs and operate them.

linux

How to create an ssh key so that your computer can connect to the instance of GCE

Recently, I just started using Google's GCE, and I will record the official Goolge documentation on how to generate a key for the instance to use. The -C comment here will use the name of the logged-in user, and the -t will use rsa.

linux

How to check apache loaded and enabled which modules?

How to check apache loaded and enabled which modules?