From Fedora Project Wiki
(Created page with '<!-- page was renamed from NetworkManager --> = NetworkManager = [http://people.redhat.com/dcbw/NetworkManager/ NetworkManager] consente di ... automatic network detection and...')
 
No edit summary
Line 4: Line 4:
= NetworkManager =
= NetworkManager =


[http://people.redhat.com/dcbw/NetworkManager/ NetworkManager] consente di ... automatic network detection and configuration for the system. Once enabled, the NetworkManager service also monitors the network interfaces, and may automatically switch to the best connection at any given time. Applications that include NetworkManager support may automatically switch between on-line and off-line modes when the system gains or loses network connectivity.
[http://people.redhat.com/dcbw/NetworkManager/ NetworkManager] è il servizio di sistema che consente la ricerca e la configurazione automatica della rete. Una volta abilitato/avviato, il servizio NetworkManager controlla le presenza di schede di rete ed automaticamente seleziona la migliore connessione disponibile.


These facilities are most useful for modern laptops, where the user may move between wireless networks, and plug in to a variety of wired networks, but NetworkManager also provides features that are relevant to workstations. Current versions of NetworkManager support modem connections, and certain types of VPN. Development of these features is ongoing.
Le applicazioni che si appoggiano a NetworkManager possono automaticamente transitare tra gli stati on-line ed off-line quando il sistema riprende o perde, rispettivamente la connessione di rete. Questa proprietà è molto utile nei moderni portatili, dove l'utente ha la possibilità di spostarsi tra reti wireless, o connettersi a reti fisse; ma NetworkManager fornisce caratteristiche importanti anche per i sistemi fissi. <BR>Le versioni correnti di NetworkManager supportano le connessioni tramite modem, oltre a certi tipi di VPN. Lo sviluppo di queste peculiarità è comunque in corso.  


NetworkManager requires Fedora to have drivers for the wired and wireless interfaces on the computer. Many manufacturers of modems and wireless devices provide limited support for Linux. You may need to install additional drivers or firmware on your Fedora system in order to activate these interfaces.
NetworkManager necessita che il S.O. Fedora abbia disponibili i driver delle interfacce interessate. Molti produttori di modem e dispositivi wireless forniscono limiatato supporto a Linux. Quindi potrebbe essere necessario installare driver aggiuntivi al proprio sistema Fedora o riaggiornare il firmware per poter attivare queste interfacce.  




{{admon/tip|Drivers first|NetworkManager may only work with network interfaces once the relevant drivers are correctly installed on your system. Reboot your system after installing a new firmware or a new driver in order to ensure that the changes take effect.}}


== Enabling NetworkManager on Fedora ==
{{admon/tip|Controllare i driver|NetworkManager può far funzionare le interfacce di rete, soltanto se sono stati correttamente installlati nel sistema i necessari driver.<BR> Inoltre, ricordarsi di riavviare il sistema dopo aver aggiornato il firmware o dopo aver installato un nuovo driver.}}


=== Command line way ===
== Abilitare NetworkManager in Fedora ==
The installation process for Fedora automatically provides NetworkManager. To enable it, enter the following commands in a terminal window:


1. Set the main service to automatically start on boot: <code>su -c '/sbin/chkconfig --level 345 NetworkManager on'</code>
=== Da Terminale ===
1. Start the service: <code>su -c '/sbin/service NetworkManager start </code>
Il processo d'installazione automaticamente include anche NetworkManager. Per abilitare il servizio, digitare in una finestra di terminale i comandi indicati.<BR>Per avviare automaticamente il servizio all'avvio del sistema:
su -c '/sbin/chkconfig --level 345 NetworkManager on'
Per avviare il servizio:
su -c '/sbin/service NetworkManager start


For each
Ad ogni comando <code>su</code>, inserire, quando richiesto, la password di ''root''.
<code>su</code>
command, enter the ''root'' password at the prompt.


=== Graphical Way ===
=== Modalità grafica ===
Dal menu, selezionare ''Sistema-->Amministrazione-->Servizi'', inserire la password di root ed attivare il servizio ''NetworkManager'' per il runlevel 5.


Start the <code>system-config-services</code> program, enter your root password and activate the <code>NetworkManager</code> service for runlevel 5.
=== Informazioni specifiche a Gnome ===
L'icona relativa a NetworkManager appare automaticamente sul lato destro del pannello una volta avviati i servizi. Se il servizio NetworkManager è attivo, allora l'icona appare ogni volta che si accede al proprio desktop.  


=== Gnome-specific information ===
The NetworkManager tray icon automatically appears on your desktop once the services are started. If the NetworkManager service is active, then the tray icon appears each time that you log in to your desktop.


NetworkManager also stores any encryption keys in the gnome-keyring manager.  If your are prompted to enter the keyring password after login, then keep reading. If your login password & the keyring password are the same, then there is a tool built to open the keyring for you on login. The package is called pam_keyring. To configure your system first install pam_keyring with yum:
NetworkManager also stores any encryption keys in the gnome-keyring manager.  If your are prompted to enter the keyring password after login, then keep reading. If your login password & the keyring password are the same, then there is a tool built to open the keyring for you on login. The package is called pam_keyring. To configure your system first install pam_keyring with yum:

Revision as of 12:36, 24 January 2010


NetworkManager

NetworkManager è il servizio di sistema che consente la ricerca e la configurazione automatica della rete. Una volta abilitato/avviato, il servizio NetworkManager controlla le presenza di schede di rete ed automaticamente seleziona la migliore connessione disponibile.

Le applicazioni che si appoggiano a NetworkManager possono automaticamente transitare tra gli stati on-line ed off-line quando il sistema riprende o perde, rispettivamente la connessione di rete. Questa proprietà è molto utile nei moderni portatili, dove l'utente ha la possibilità di spostarsi tra reti wireless, o connettersi a reti fisse; ma NetworkManager fornisce caratteristiche importanti anche per i sistemi fissi.
Le versioni correnti di NetworkManager supportano le connessioni tramite modem, oltre a certi tipi di VPN. Lo sviluppo di queste peculiarità è comunque in corso.

NetworkManager necessita che il S.O. Fedora abbia disponibili i driver delle interfacce interessate. Molti produttori di modem e dispositivi wireless forniscono limiatato supporto a Linux. Quindi potrebbe essere necessario installare driver aggiuntivi al proprio sistema Fedora o riaggiornare il firmware per poter attivare queste interfacce.


Idea.png
Controllare i driver
NetworkManager può far funzionare le interfacce di rete, soltanto se sono stati correttamente installlati nel sistema i necessari driver.
Inoltre, ricordarsi di riavviare il sistema dopo aver aggiornato il firmware o dopo aver installato un nuovo driver.

Abilitare NetworkManager in Fedora

Da Terminale

Il processo d'installazione automaticamente include anche NetworkManager. Per abilitare il servizio, digitare in una finestra di terminale i comandi indicati.
Per avviare automaticamente il servizio all'avvio del sistema:

su -c '/sbin/chkconfig --level 345 NetworkManager on'

Per avviare il servizio:

su -c '/sbin/service NetworkManager start

Ad ogni comando su, inserire, quando richiesto, la password di root.

Modalità grafica

Dal menu, selezionare Sistema-->Amministrazione-->Servizi, inserire la password di root ed attivare il servizio NetworkManager per il runlevel 5.

Informazioni specifiche a Gnome

L'icona relativa a NetworkManager appare automaticamente sul lato destro del pannello una volta avviati i servizi. Se il servizio NetworkManager è attivo, allora l'icona appare ogni volta che si accede al proprio desktop.


NetworkManager also stores any encryption keys in the gnome-keyring manager. If your are prompted to enter the keyring password after login, then keep reading. If your login password & the keyring password are the same, then there is a tool built to open the keyring for you on login. The package is called pam_keyring. To configure your system first install pam_keyring with yum:

su -c 'yum -y install pam_keyring'

Second you'll need to modify your /etc/pam.d/gdm file.

su -c 'gedit /etc/pam.d/gdm'

Add the following lines

auth    optional    pam_keyring.so try_first_pass
session optional    pam_keyring.so

The order in which this lines are placed in this file are important, here is a copy from a working system

#%PAM-1.0
auth       required    pam_env.so
auth       optional    pam_keyring.so try_first_pass <---
auth       include     system-auth
account    required    pam_nologin.so
account    include     system-auth
password   include     system-auth
session    optional    pam_keyinit.so force revoke
session    include     system-auth
session    required    pam_loginuid.so
session    optional    pam_console.so
session    optional    pam_keyring.so <---

Now reboot your computer. After login the keyring will be unlocked for you. If your keyring password is different from your login password, don't worry, there is a tool available to change it.

su -c 'yum -y install gnome-keyring-manager gnome-keyring pam_keyring

Once you have installed pam_keyring and gnome-keyring, you will need to log out and back on. Then you can run

/usr/libexec/pam-keyring-tool -c

to change the default password. Alternatively you can now change a password through gnome-keyring-manager. Download and install gnome-keyring-manager. Then highlight the keyring and select Change Keyring Password from the Keyring menu of gnome-keyring-manager.

KDE specific information

To control NetworkManager by a system tray applet you need to install and start the program knetworkmanager of the same named package. The keys to the different networks are stored automatically in KDE's password storage system kwalletmanager.

Further Information