Network Yöneticisi
From ArchWiki
| i18n |
|---|
| Türkçe |
| Deutsch |
| English |
| Italiano |
| Español |
| Português do Brasil |
| 简体中文 |
Contents |
[edit] Giriş
Ağ Yöneticisi, ileri düzey ağ bağlantısı aracıdır. Amacı son kullanıcıya ağ bağlantılarını rahat bir şekilde sağlamasına yardımcı olmaktır.
[edit] Yükleme
Öncelikle wireless_tools yüklü olup olmadığını kontrol edin aksi halde ağ yöneticiniz çalışmayacaktır.
Bununla birlikte yine HAL yüklü ve rc.conf içerisinde deamon da kayıtlı olduğundan emin olun. Ayrıca dbus ı deamon bölümünde aktif hale getirmeniz gerekebilir.
[edit] Gnome
# pacman -S gnome-network-manager
[edit] KDE
# pacman -S knetworkmanager
[edit] Xfce
Xfce Gnome ile aynı paketi kullanır ancak buna ek olarak xfapplet eklentisine ihtiyaç duyar. Bu eklenti sayesinde Gnome applet leri xfce masaüstü üzerinden görülebilir.
# pacman -S gnome-network-manager xfce4-xfapplet-plugin
Eğer session-manager kullanmıyor ve gnome servisiniz otomatik başlıyorken bir takım sorunlar ile karşılaşıyorsanız, aşağıdaki önerileri takip ediniz.
1) Bütün nm-applet işlemlerini öldürün. 2) nm-applet --sm-disable komutunu otomatik açıcılar listenize kaydedin 3) Xfce den çıkış yapın (logout) 4) XFCE session dosyalarını silin (~/.cache/sessions/..) 5) Tekrar giriş yapın xfce e herşeyin düzgün olduğunu göreceksiniz.
[edit] Fluxbox ve Diğer WM
nm-applet i çalıştırmanız için hicolor temasına ihtiyacınız olacak
# pacman -S gnome-network-manager hicolor-icon-theme
Sisteminizi network yöneticisini kullanmak için düzenledikten sonra, otomatik başlatmak için yapmanız gereken, settings --> Autostarted Applications ve sonra, "nm-applet --sm-disable &", komutunu eklemek başlangıçda, çoklu katmanlı olmasını engellemek "--sm-disable" için seçeneği kullanıldı. Bunu istemiyorsanız bu parametreyi kaldırarak giriş yapabilirsiniz.
[edit] Konfigürasyon
Eğer herhangi bir arayüz için network yöneticisi kullanmak istiyorsanız, bu arayüzü /etc/rc.conf içerisinde pasif hale getirmelisiniz. Bu işlemi pasif hale getirilecek interface in önüne '!' işaretini koyarak yapabilirsiniz. Örneğin, INTERFACES=(lo !eth0 !ath0)
Note: I had to enable (i.e, remove the '!') eth0 again afterwards for my card to work, although YMMV. Confirmed with ath_pci madwifi module - I also had to re-enable my cards for them to work.
NetworkManager parses your /etc/rc.conf to see if you want to have a static or dynamic IP on your interfaces.
So just put your preferred config into it.
example for static IP:
eth0="eth0 172.19.3.18 netmask 255.255.255.0 broadcast 172.19.3.255"
example for dynamic IP:
eth0="dhcp"
You must also "disable" the default network daemon, and add the hal, dhcdbd and networkmanager daemons in this order:
DAEMONS=( ... !network hal dhcdbd networkmanager ... )
Note: If you happen to specify the fam daemon in your array, it must appear after networkmanager. The same also applies to portmap if specified.
Finally, add yourself to the network group as shown below (replacing USERNAME with the appropriate username):
# gpasswd -a USERNAME network
Note: If you have problems with getting an IP via DHCP try to add the following to your /etc/dhclient.conf:
interface "eth0" {
send dhcp-client-identifier 01:aa:bb:cc:dd:ee:ff;
}
Where aa:bb:cc:dd:ee:ff is the MAC-adress of this nic.
[edit] Automatically unlock keyring in GNOME after login
This will prevent nm-applet from asking for your keyring password. Note that this will only work when logging in via GDM.
In /etc/pam.d/gdm, add these lines at the end of the 'auth', 'session' blocks:
auth optional pam_gnome_keyring.so
session optional pam_gnome_keyring.so auto_start
In /etc/pam.d/passwd, add this line to the 'password' block:
password optional pam_gnome_keyring.so
Next time you log in, you should get asked if you want the password to be unlocked automatically on login.
See http://live.gnome.org/GnomeKeyring/Pam for reference.
[edit] Ek Kaynaklar
- Wireless Setup -- The wireless setup wiki
- NetworkManager - The official website for NetworkManager