我的資料卡可以上網,但無法上網(Fedora 14)

我的資料卡可以上網,但無法上網(Fedora 14)

我正在使用 MTS 數據卡。我已經安裝了 usb_modeswitch 並配置了 wvdial.conf 檔案。當我這樣做時sudo wvdial cdma,IP 和 DNS 位址也被分配,但我仍然無法存取互聯網。回復dmesg | grep -e 'tty' -e 'modem'是:

[0.000000] console [tty0] enabled

[11.098238] USB Serial support registered for GSM modem (1-port)

[11.098352] option 6-1:1.0: GSM modem (1-port) converter detected

[11.102170] usb 6-1: GSM modem (1-port) converter now attached to ttyUSB0

[11.102207] option 6-1:1.1: GSM modem (1-port) converter detected

[11.102334] usb 6-1: GSM modem (1-port) converter now attached to ttyUSB1

[11.102364] option 6-1:1.2: GSM modem (1-port) converter detected

[11.102488] usb 6-1: GSM modem (1-port) converter now attached to ttyUSB2

[11.102522] option 6-1:1.3: GSM modem (1-port) converter detected

[11.102643] usb 6-1: GSM modem (1-port) converter now attached to ttyUSB3

[11.102672] option 6-1:1.4: GSM modem (1-port) converter detected

[11.102793] usb 6-1: GSM modem (1-port) converter now attached to ttyUSB4

[11.103074] option: v0.7.2:USB Driver for GSM modems

誰能告訴我該怎麼辦?

答案1

好吧,經過大量谷歌搜尋後,我發現應該創建為網路管理器的 DNS 條目沒有建立。因此,我必須透過編輯 /etc/resolv.conf 檔案並重新啟動網路來手動執行此操作。

# Generated by NetworkManager


# No nameservers found; try putting DNS servers into your
# ifcfg files in /etc/sysconfig/network-scripts like so:
#
nameserver 8.8.8.8
nameserver 8.8.4.4
# DOMAIN=lab.foo.com bar.foo.com

這解決了問題。

相關內容