Re: [問題] 網路問題
※ 引述《wenshings (舞蓮華)》之銘言:
: ppp0 Link encap:Point-to-Point Protocol
: inet addr:61.217.61.174 P-t-P:59.112.192.254 Mask:255.255.255.255
: UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
: RX packets:536 errors:567 dropped:0 overruns:0 frame:0
: TX packets:472 errors:0 dropped:0 overruns:0 carrier:0
: collisions:0 txqueuelen:3
: RX bytes:396254 (386.9 KiB) TX bytes:56422 (55.0 KiB)
小弟遇到網路連不上的時候通常會這樣檢測:
1. $ ifconfig #確定自己有沒有拿到IP(你應該有拿到)
2. $ ping 168.95.1.1 #看看連不連得上HiNet的DNS
3. $ ping www.google.com #看看連不連得上Google
4. $ route -n #檢查routing有沒有錯(有時候iface可能會不對)
5. $ cat /etc/resolv.conf #看看DNS的設定
1 2 3 4 5
O 2 3 ! B D (請自行想辦法看懂 懶得解釋了XD)
X A 4 5 C E
A. 想辦法取得IP
B. 請洽詢您的網路管理員= =" 開玩笑的...檢查一下你那邊有沒有辦法連外網
C. 先 $ man route 學會用之後再去修改routing table(我每次用每次忘orz||)
D. 換一台DNS試試看吧.....不然我也沒辦法了
E. nameserver 168.95.1.1
nameserver 168.95.192.1 #僅供參考 這是HiNet的DNS
這是小弟自己的作法 我也只會這幾招了 還請各位指教<(_ _)>
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 122.122.219.177
討論串 (同標題文章)