

0. armbian-config ,setting time,hostname,wlan

1. install pppoeconf && pppoe

2. run pppoeconf(start boot---NO)

3  edit rc.local at /etc/rc.local

	Finaly, I fixed adding :
	ip link set  eth0 up
 	pon dsl-provider
   	
	exit 0


4. get noip
t@ NOIP0 wˤ覡

	Install noip2 from source

	cd /usr/local/src/
	wget http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz
	tar xf noip-duc-linux.tar.gz
	cd noip-2.1.9-1/
	make
	make install

If you get make not found or missing gcc
then you do not have the gcc compiler tools on your machine.
At https://help.ubuntu.com/community/InstallingCompilers
you can find install instructions if you need help.

Configure the Client

As root (or with sudo) issue the below command:

/usr/local/bin/noip2 -C (dash capital C,
this will create the default config file)


Create a Systemd service

Create the file /etc/systemd/system/noip2.service and paste the following:

----------------------------------------------------------------------------

[Unit]
Description=No-IP Dynamic DNS Update Client
After=network.target

[Service]
Type=forking
ExecStart=/usr/local/bin/noip2

[Install]
WantedBy=multi-user.target


-------------------------------------------


HUOt@ /etc/systemd/system/noip2.service
------------------------------------------------------------
# Simple No-ip.com Dynamic DNS Updater
#
# By Nathan Giesbrecht (http://nathangiesbrecht.com)
#
# 1) Install binary as described in no-ip.com's source file (assuming results in /usr/local/bin)
# 2) Run sudo /usr/local/bin/noip2 -C to generate configuration file
# 3) Copy this file noip2.service to /etc/systemd/system/
# 4) Execute `sudo systemctl enable noip2`
# 5) Execute `sudo systemctl start noip2`
#
# systemd supports lots of fancy features, look here (and linked docs) for a full list:
#   http://www.freedesktop.org/software/systemd/man/systemd.exec.html

[Unit]
Description=No-ip.com dynamic IP address updater
After=network.target
After=syslog.target

[Install]
WantedBy=multi-user.target
Alias=noip.service

[Service]
# Start main service
ExecStart=/usr/local/bin/noip2
Restart=always
Type=forking



--------------------------------------------------------------------

	Activating

	systemctl status noip2.service
	systemctl start noip2.service (start immediately)
	systemctl enable noip2.service (start on boot)


5. update & upgrade

6. edit /etc/ssh/sshd_config set deny root access ssh

7.install mtr

8.
