Fedora 10 uses NetworkManager by default. The primary settings for any network devices will be automatically selected at installation time. Since there is no screen for selecting networking options, most devices will default to using DHCP.
Using NetworkManager has greatly improved networking for many wireless and some less common devices (mobile broadband, GSM, etc.), it may still have problems with some configurations. NetworkManager development and integration into Fedora is still an ongoing effort.
NOTE: The following steps do NOT apply to all users. NetworkManager is highly recommended for Laptop users, especially using wireless with security.

Disabling NetworkManager and Enabling network Service
On machines with a fixed networking device and a fixed IP address (e.g. desktop, server, appliance), it might be more practical to disable NetworkManager and use the older network service. Additionally users requiring virtual device types (bridging, bonding, or VLANs) will also need to use the network service.
Note that the Fedora 10 installer disables the network service by default. To switch to using the network service:
First disable NetworkManager and prevent it from automatically loading:
-------------------------------------------------------------------------------------------------
[mirandam@charon ~]$ sudo /etc/init.d/NetworkManager stop
Stopping NetworkManager daemon: [ OK ]

[mirandam@charon ~]$ sudo /sbin/chkconfig --level 35 NetworkManager off
-------------------------------------------------------------------------------------------------
Next, configure your network settings:
-------------------------------------------------------------------------------------------------
[mirandam@charon ~]$ sudo system-config-network
-------------------------------------------------------------------------------------------------
You should have an eth0 device already showing. To configure the IP settings click on Edit. Do not forget to set DNS on the DNS tab (if you're using fixed IP's). Make sure the eth0 is selected as Active. Then File > Save and quit.
Next, enable the service and make sure it loads at next boot:
-------------------------------------------------------------------------------------------------
[mirandam@charon ~]$ sudo /etc/init.d/network start
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: [ OK ]

[mirandam@charon ~]$ sudo /sbin/chkconfig --level 35 network on
-------------------------------------------------------------------------------------------------
While it may be possible to re-activate your network without a reboot, it may be recommended to reboot.
Startup Applications Requiring Network

Some applications require the network to be initialized during boot. If you are using NetworkManager and having these problems, edit /etc/sysconfig/network as 'root' and add the following line:
NETWORKWAIT=1.
Or run:
-------------------------------------------------------------------------------------------------
[mirandam@charon ~]$ sudo su -c 'echo NETWORKWAIT=1 >> /etc/sysconfig/network'
-------------------------------------------------------------------------------------------------
出處
Personal Fedora 10 Installation Guide

mitblog 發表在 痞客邦 留言(0) 人氣()


預設安裝完 Fedora 10 後,網路設定是採用 DHCP 的模式,這種設定很方便。
但要設定固定 IP 時,不管是如何改 ifcfg-ethx 的設定,重開機後就又回覆成 DHCP 模式。
解決的方法是    Disabling NetworkManager and Enabling network Service
步驟如下:

1、停止 NetworkManager 服務,並且在開機時後不再啟動此服務。
-------------------------------------------------------------------------------------------------
[mirandam@charon ~]$ /etc/init.d/NetworkManager stop
Stopping NetworkManager daemon: [ OK ]
[mirandam@charon ~]$ chkconfig NetworkManager off
-------------------------------------------------------------------------------------------------
2、設定網路的 IP 資訊。
-------------------------------------------------------------------------------------------------
[mirandam@charon ~]$ system-config-network
-------------------------------------------------------------------------------------------------
 
3、啟動 network 服務,並且在開機的時候啟動此服務。
-------------------------------------------------------------------------------------------------
[mirandam@charon ~]$ /etc/init.d/network start
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: [ OK ]
[mirandam@charon ~]$ chkconfig network on
-------------------------------------------------------------------------------------------------
重開機即可!
另外,在參考的文件中說有些程式運作時會有問題 (本人是沒遇到)
就需在 /etc/sysconfig/network 加入
NETWORKWAIT=1
或者執行
-------------------------------------------------------------------------------------------------
[mirandam@charon ~]$ sudo su -c 'echo NETWORKWAIT=1 >> /etc/sysconfig/network'
-------------------------------------------------------------------------------------------------

mitblog 發表在 痞客邦 留言(0) 人氣()

1
Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。