Re: [問題] Linux系統連接光世代100M

看板Fix-Network (固網電信)作者 (勝利玫瑰。)時間11年前 (2014/06/10 15:21), 11年前編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/3 (看更多)
※ 引述《csyow (Yow)》之銘言: : 請問有人用過 Linux 系統連光世代嗎? : 我是用 CentOS 5.8 (Kernel 2.6.18-308) : 原本使用光世代20M都很正常,速度也都有到 : 可是前陣子升級到100M,測速時發現只有40M : 同一條線使用 XP 測速則可超過80M : 所以應該是 Linux 系統設定的問題.... : 看到有人說要改 : MTU=1492 : MRU=1492 : 我把 ppp0 跟 eth0 都改成 1492 : 但還是沒有超過40M.... : 問中華電信客服則說他們沒有 Linux 相關的設定 : 請問有人知道 Linux 還要改什麼設定嗎? Cent OS5 可以開啟電腦的 /etc/rc.local 檔案,將下面的指令寫入/etc/rc.local 中, 讓 eth1 設置為100Mbps全雙工,關閉 auto。存檔後重開機會自動執行,再測試看看速度 是否有改善。 #ethtool -s eth0 autoneg off #ethtool -s eth0 speed 100 #ethtool -s eth0 duplex full #ethtool eth0 Settings for eth0: Supported ports: [ TP ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full Advertised auto-negotiation: No Speed: 100Mb/s Duplex: Full Port: Twisted Pair PHYAD: 0 Transceiver: internal Auto-negotiation: on Supports Wake-on: g Wake-on: d Current message level: 0×00000037 (55) Link detected: yes -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 36.234.144.67 ※ 文章網址: http://www.ptt.cc/bbs/Fix-Network/M.1402384880.A.DC0.html ※ 編輯: sigurose (36.234.144.67), 06/10/2014 15:22:56
文章代碼(AID): #1Jbh7mt0 (Fix-Network)
討論串 (同標題文章)
文章代碼(AID): #1Jbh7mt0 (Fix-Network)