ubuntu pppoe網路設定的問題~ - Linux

Table of Contents

系統現在裝的是16.04英文版的

在設定pppoe時發現可以透過pppoeconf來設定

也可以使用畫面右上角上下箭頭的那個GUI來設定

但似乎不管是從那邊 設定都不會同步更新到一起

如果pppoeconf有設定

然後gui那邊也設定了

似乎會撥號兩組pppoe上網

請問該用那一個呢?

另外,使用pppoe連上線之後每次都會更新dns (resolv.conf)

每次都會使用下面三組(我是用hinet)
168.95.1.1
168.95.192.1
127.0.0.1

這三組設定常常會有一些domain name解析不出來 (如docker網站)l

所以需要加上google的dns

但是每次只要重開機重新連線後

dns又會被更新

請問是否有辦法避免dns被不斷更新呢?

謝謝

--

All Comments

Daniel avatarDaniel2016-10-25
有GUI就用GUI啊,DNS也可以在gui那邊設定成固定的
Frederica avatarFrederica2016-10-27
/etc/ppp/ 搜尋一下 usepeerdns
Charlie avatarCharlie2016-10-28
pppoe跟network manager會打架,用後者就好了
Delia avatarDelia2016-10-29
現在都用NM了吧...
Faithe avatarFaithe2016-10-31
用nm的話google了很多都是要去改etc下的設定檔
Gary avatarGary2016-11-02
請問有nm寫死dns的方法嗎
我在裏面的選項中設了dns server
或是addition dns server都無效