那天我看到這篇 有關網路加速的文章
http://www.mobile01.com/topicdetail.php?f=177&t=183347&last=1427091
依樣畫葫蘆 改了連線速度
可能功力不夠
結果好像對PC沒有快很多
但是悲劇發生了~~
隔天開機
safari一直跟我說沒有連線
照著文章的刪除辦法也只能連上IP分享器
但是不能連上網
有沒有可以補救的方法?
我不要重灌阿~~~~~~~
改 smb.conf 和sysctl.conf應該和連的連不上internet沒有關係. 建議你:
1. 檢查一下你的IP分享器的狀態, 確定有連到INTERNET嗎? (WAN有connected 嗎)
2. 在 terminal 中, 用 netstat -rn 檢查看看, 其中有一行 default 開頭的, 後面有一個 IP 位址, 看看是不是指到你的IP分享器
ada:/etc root# netstat -rn
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
default 192.168.1.2 UGSc 15 14 en0
127 127.0.0.1 UCS 0 0 lo0
127.0.0.1 127.0.0.1 UH 12 1936818 lo0
169.254 link#4 UCS 0 0 en0
192.168.1 link#4 UCS 2 0 en0
192.168.1.2 0:40:f4:94:bc:5b UHLW 14 69 en0 1191
192.168.1.207 127.0.0.1 UHS 1 6841 lo0
192.168.1.255 link#4 UHLWb 1 277 en0
3. 在 terminal 中, 用 nslookup 檢查一下, 看看你的 DNS 是不是有設對(跳出請打 exit )
ada:/etc root# nslookup
Note: nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead. Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
> www.hinet.net
Server: 168.95.1.1
Address: 168.95.1.1#53
Name: www.hinet.net
Address: 203.66.88.89
Name: www.hinet.net
Address: 61.219.38.89
>
4. 若 Step. 3 , 輸入的 www.hinet.net 並沒有傳回如上的IP Address. 試試如下方法, 改用另一個DNS看看(這個不會更改你任何設定):
ada:/etc root# nslookup
Note: nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead. Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
> server 168.95.192.1
Default server: 168.95.192.1
Address: 168.95.192.1#53
> www.google.com
Server: 168.95.192.1
Address: 168.95.192.1#53
Non-authoritative answer:
www.google.com canonical name = www.l.google.com.
Name: www.l.google.com
Address: 64.233.189.104
>
你先做這幾個步驟, 有其他的問題我們再討論!
內文搜尋

X