歡迎您光臨本站 註冊首頁

fedora16聯通撥號怎麼設置?

←手機掃碼閱讀     火星人 @ 2014-03-25 , reply:0

我前兩天一直用單位的固定IP 直接設置一下就能上網,最近回答家裡用聯通寬頻撥號上,但是還沒來得及配置
網上查看了兩種方法,大家幫我看看 是這樣配置嗎?


fedora 16 怎麼上網? pppoe撥號方式
(一)
在root下:
1、yum install rp-pppoe
2、pppoe-setup
3. 開始在終端輸入命令設置寬頻(超級用戶下) :

# pppoe-setup     (設置寬頻,在ubuntu下的命令是 sudo pppoeconf)

  Welcome to the Roaring Penguin ADSL client setup. First, I will run some checks on your system to make sure the PPPoE client is installed properly… Looks good! Now, please enter some information:

USER NAME
>;>;>; Enter your PPPoE user name (default XXX):      (在這裡輸入ADSL用戶名 )

INTERFACE
>;>;>; Enter the Ethernet interface connected to the ADSL modem
For Solaris, this is likely to be something like /dev/hme0.
For Linux, it will be ethn, where 『n』 is a number. (default eth0):   (輸入網卡介面名,如果只有一個網卡就在這裡輸入eth0 )

Do you want the link to come up on demand, or stay up continuously? If you want it to come up on demand, enter the idle time in seconds after which the link should be dropped. If you want the link to stay up permanently, enter 『no』 (two letters, lower-case.) NOTE: Demand-activated links do not interact well with dynamic IP addresses. You may have some problems with demand-activated links. >;>;>; Enter the demand value (default no):          (直接回車)

DNS
Please enter the IP address of your ISP』s primary DNS server. If your ISP claims that 『the server will provide DNS addresses』, enter 』server』 (all lower-case) here. If you just press enter, I will assume you know what you are doing and not modify your DNS setup.
>;>;>; Enter the DNS information here:          (在這裡輸入server 即自動獲得DNS )

PASSWORD
>;>;>; Please enter your PPPoE password:         (輸入ADSL密碼)
>;>;>; Please re-enter your PPPoE password:        (再輸入一次 )

FIREWALLING
Please choose the firewall rules to use. Note that these rules are very basic. You are strongly encouraged to use a more sophisticated firewall setup; however, these will provide basic security. If you are running any servers on your machine, you must choose 『NONE』 and set up firewalling yourself. Otherwise, the firewall rules will deny access to all standard servers like Web, e-mail, ftp, etc. If you are using SSH, the rules will block outgoing SSH connections which allocate a privileged source port.

The firewall choices are:   
0 - NONE: This script. will not set any firewall rules. You are responsible for ensuring the security of your machine. You are STRONGLY recommended to use some kind of firewall rules.

1 - STANDALONE: Appropriate for a basic stand-alone web-surfing workstation

2 - MASQUERADE: Appropriate for a machine acting as an Internet gateway for a LAN
>;>;>; Choose a type of firewall (0-2):     ( 這裡是設置防火牆的,0:表示不設置防牆, 為是最好連上網,這裡就選擇0 )


** Summary of what you entered **
Ethernet Interface: eth0
User name: XXX
Activate-on-demand: No
DNS: Do not adjust
Firewalling: MASQUERADE
>;>;>; Accept these settings and adjust configuration files (y/n)?   (這裡輸入y即可,輸入n就是重頭設置過。)

配置完成!


(二)
Fedora 15 ADSL撥號
Fedora 15桌面右上角的網路連接裡面不能設置ADSL撥號,需要點桌面左上角的活動——》應用程序——》其他——》網路連接,或者在終端裡面啟動nm-connection-editor。
然後在桌面右上角的小電腦圖標上點擊ADSL ,即可實現撥號上網。

[火星人 ] fedora16聯通撥號怎麼設置?已經有365次圍觀

http://coctec.com/docs/linux/show-post-156852.html