用arch后 开始注重底层配置了,求各位大侠用的一些 模块 和 deamon
- ttand
- 帖子: 1745
- 注册时间: 2005-08-22 14:05
- 来自: 离开北京
用arch后 开始注重底层配置了,求各位大侠用的一些 模块 和 deamon
就是参考一下 大家都用了什么
比如 acpid 电源管理, hal 还有屏蔽 ipv6模块
还有u盘的使用==
比如 acpid 电源管理, hal 还有屏蔽 ipv6模块
还有u盘的使用==
错过好多好贴,没占到广告位后悔啊
- xhy
- 帖子: 3916
- 注册时间: 2005-12-28 1:16
- 系统: Ubuntu 12.10 X64
- 来自: 火星
代码: 全选
Module Size Used by
af_packet 12936 2
snd_pcm_oss 36256 0
snd_mixer_oss 13824 1 snd_pcm_oss
snd_seq_dummy 2692 0
snd_seq_oss 28800 0
snd_seq_midi_event 6080 1 snd_seq_oss
snd_seq 46480 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 6412 3 snd_seq_dummy,snd_seq_oss,snd_seq
nvidia 6209072 24
agpgart 26632 1 nvidia
snd_hda_intel 266588 0
snd_pcm 62148 2 snd_pcm_oss,snd_hda_intel
snd_timer 18372 2 snd_seq,snd_pcm
snd 42788 8 snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_pcm,snd_timer
soundcore 5728 1 snd
snd_page_alloc 7624 2 snd_hda_intel,snd_pcm
psmouse 35792 0
evdev 8704 0
ehci_hcd 28556 0
sky2 37892 0
bitrev 1600 1 sky2
crc32 3776 1 sky2
ohci_hcd 18948 0
usbcore 115332 3 ehci_hcd,ohci_hcd
unix 22448 316
目前负债150多万
- zhuqin_83
- 帖子: 10606
- 注册时间: 2006-05-13 4:02
- 联系:
$lsmod
Module Size Used by
usb_storage 80960 1
radeon 120736 2
drm 70548 3 radeon
agpgart 27352 1 drm
arc4 2176 2
ecb 3072 2
ieee80211_crypt_wep 4608 1
usbhid 40896 0
hid 33920 1 usbhid
ff_memless 5128 1 usbhid
rtc_cmos 7584 0
rtc_core 15496 1 rtc_cmos
rtc_lib 2944 1 rtc_core
ehci_hcd 32524 0
uhci_hcd 22672 0
evdev 9344 7
thermal 13084 0
fan 3844 0
button 6544 0
battery 10756 0
ac 4612 0
snd_hda_intel 289952 1
snd_pcm 68996 1 snd_hda_intel
snd_timer 19204 1 snd_pcm
snd_page_alloc 8072 2 snd_hda_intel,snd_pcm
snd_hwdep 7300 1 snd_hda_intel
snd 44772 6 snd_hda_intel,snd_pcm,snd_timer,snd_hwdep
soundcore 6368 1 snd
ipw2200 138184 0
ieee80211 30664 1 ipw2200
ieee80211_crypt 4992 2 ieee80211_crypt_wep,ieee80211
cpufreq_userspace 3796 0
cpufreq_conservative 6664 1
cpufreq_powersave 1920 0
cpufreq_ondemand 7180 0
acpi_cpufreq 11420 0
freq_table 3984 2 cpufreq_ondemand,acpi_cpufreq
processor 29400 3 thermal,acpi_cpufreq
usbcore 125292 5 usb_storage,usbhid,ehci_hcd,uhci_hcd
reiserfs 225408 4
sr_mod 14884 0
cdrom 33824 1 sr_mod
sd_mod 22656 7
ata_piix 14724 4
pata_acpi 5248 0
ata_generic 5252 0
libata 137712 3 ata_piix,pata_acpi,ata_generic
因为我是笔记本,所以有些模块你可能不需要。
Module Size Used by
usb_storage 80960 1
radeon 120736 2
drm 70548 3 radeon
agpgart 27352 1 drm
arc4 2176 2
ecb 3072 2
ieee80211_crypt_wep 4608 1
usbhid 40896 0
hid 33920 1 usbhid
ff_memless 5128 1 usbhid
rtc_cmos 7584 0
rtc_core 15496 1 rtc_cmos
rtc_lib 2944 1 rtc_core
ehci_hcd 32524 0
uhci_hcd 22672 0
evdev 9344 7
thermal 13084 0
fan 3844 0
button 6544 0
battery 10756 0
ac 4612 0
snd_hda_intel 289952 1
snd_pcm 68996 1 snd_hda_intel
snd_timer 19204 1 snd_pcm
snd_page_alloc 8072 2 snd_hda_intel,snd_pcm
snd_hwdep 7300 1 snd_hda_intel
snd 44772 6 snd_hda_intel,snd_pcm,snd_timer,snd_hwdep
soundcore 6368 1 snd
ipw2200 138184 0
ieee80211 30664 1 ipw2200
ieee80211_crypt 4992 2 ieee80211_crypt_wep,ieee80211
cpufreq_userspace 3796 0
cpufreq_conservative 6664 1
cpufreq_powersave 1920 0
cpufreq_ondemand 7180 0
acpi_cpufreq 11420 0
freq_table 3984 2 cpufreq_ondemand,acpi_cpufreq
processor 29400 3 thermal,acpi_cpufreq
usbcore 125292 5 usb_storage,usbhid,ehci_hcd,uhci_hcd
reiserfs 225408 4
sr_mod 14884 0
cdrom 33824 1 sr_mod
sd_mod 22656 7
ata_piix 14724 4
pata_acpi 5248 0
ata_generic 5252 0
libata 137712 3 ata_piix,pata_acpi,ata_generic
因为我是笔记本,所以有些模块你可能不需要。
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo
DELL UltraSharp 2209WA
Arch64, Testing repo
- rhfcaesar
- 帖子: 2996
- 注册时间: 2005-11-17 15:45
- 来自: 湖北
我的/etc/rc.conf,也不知道对不对,反正用着没什么问题。
代码: 全选
#
# /etc/rc.conf - Main Configuration for Arch Linux
#
#
# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="en_US.UTF-8"
HARDWARECLOCK="localtime"
TIMEZONE="Asia/Shanghai"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
#
# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# Scan hardware and load required modules at bootup
MOD_AUTOLOAD="yes"
# Module Blacklist - modules in this list will never be loaded by udev
MOD_BLACKLIST=()
#
# Modules to load at boot-up (in this order)
# - prefix a module with a ! to blacklist it
#
MODULES=(e100 eepro100 mii !fglrx acpi-cpufreq cpufreq_stats cpufreq_ondemand cpufreq_powersave cpufreq_conservative cpufreq_userspace slhc ipw2100 ac97_bus snd-mixer-oss snd-pcm-oss snd-page-alloc snd-pcm snd-timer snd snd-ac97-codec snd-intel8x0 snd-intel8x0m soundcore nvram ibm_acpi)
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"
#
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
HOSTNAME="localhost"
#
# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available
# interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
# - prefix an entry in INTERFACES with a ! to disable it
# - no hyphens in your interface names - Bash doesn't like it
#
# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
#
lo="lo 127.0.0.1"
#eth0="dhcp"
#eth1="dhcp"
INTERFACES=(lo !eth0 !eth1)
#
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# - prefix an entry in ROUTES with a ! to disable it
#
#gateway="default gw 192.168.0.1"
#ROUTES=(!gateway)
#
# Enable these network profiles at boot-up. These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
# - set to 'menu' to present a menu during boot-up (dialog package required)
# - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network-profiles
#
NET_PROFILES=(menu)
#
# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
# - prefix a daemon with a ! to disable it
# - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(@syslog-ng @cpufreq network !dhcdbd @netfs @crond alsa hal !ivman fam !@cups gdm !@samba @bluetooth @avahi-daemon @laptop-mode)
# End of file
代码: 全选
枪杆子里面出政权
- zhuqin_83
- 帖子: 10606
- 注册时间: 2006-05-13 4:02
- 联系:
ls的网络部分设置过时了,现在推荐用netcfg v2。另外最新的guide把不用的modules放在MOD_BLACKLIST=()了,这样比较好维护,一目了然。daemons几乎都可以用@,alsa hal fam gdm 都可以。
ps. 从文件就知道这台机器比较年迈了。
附上我的:
ps. 从文件就知道这台机器比较年迈了。
附上我的:
代码: 全选
#
# /etc/rc.conf - Main Configuration for Arch Linux
#
#
# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="zh_CN.utf8"
HARDWARECLOCK="localtime"
TIMEZONE="Canada/Eastern"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
#
# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# Scan hardware and load required modules at bootup
MOD_AUTOLOAD="yes"
# Module Blacklist - modules in this list will never be loaded by udev
MOD_BLACKLIST=(pcspk 8139cp 8139too snd_seq_oss snd-mixer-oss snd-pcm-oss asus_laptop joydev pcmcia_core ieee1394 bluetooth intel-agp pcspkr tsdev psmouse output sg sdhci mmc_core rtc_cmos battery)
#
# Modules to load at boot-up (in this order)
# - prefix a module with a ! to blacklist it
#
MODULES=(acpi_cpufreq cpufreq_ondemand cpufreq_powersave cpufreq_conservative cpufreq_userspace ipw2200 snd-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore)
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"
#
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
HOSTNAME="Arch"
NETWORKS=(Lai)
#
# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available
# interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
# - prefix an entry in INTERFACES with a ! to disable it
# - no hyphens in your interface names - Bash doesn't like it
#
# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
#
# Don't use this for wireless interfaces, see network profiles below
#
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
eth0="dhcp"
INTERFACES=(eth0)
#
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# - prefix an entry in ROUTES with a ! to disable it
#
#gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
#
# Enable these network profiles at boot-up. These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
# - set to 'menu' to present a menu during boot-up (dialog package required)
# - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network-profiles
#
#NET_PROFILES=(main)
#
# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
# - prefix a daemon with a ! to disable it
# - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng @hal @net-profiles @crond @alsa @fam)
# End of file
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo
DELL UltraSharp 2209WA
Arch64, Testing repo
- ttand
- 帖子: 1745
- 注册时间: 2005-08-22 14:05
- 来自: 离开北京
- rhfcaesar
- 帖子: 2996
- 注册时间: 2005-11-17 15:45
- 来自: 湖北
- zhuqin_83
- 帖子: 10606
- 注册时间: 2006-05-13 4:02
- 联系:
- zhuqin_83
- 帖子: 10606
- 注册时间: 2006-05-13 4:02
- 联系:
- steamedfish
- 帖子: 70
- 注册时间: 2007-01-12 19:32
- 来自: 临汾->南京->苏州->广州
- 联系:
- zhuqin_83
- 帖子: 10606
- 注册时间: 2006-05-13 4:02
- 联系:
- steamedfish
- 帖子: 70
- 注册时间: 2007-01-12 19:32
- 来自: 临汾->南京->苏州->广州
- 联系:
-
- 帖子: 58
- 注册时间: 2006-01-25 16:55
zhuqin_83 写了:ls的网络部分设置过时了,现在推荐用netcfg v2。另外最新的guide把不用的modules放在MOD_BLACKLIST=()了,这样比较好维护,一目了然。daemons几乎都可以用@,alsa hal fam gdm 都可以。
ps. 从文件就知道这台机器比较年迈了。
附上我的:代码: 全选
# # /etc/rc.conf - Main Configuration for Arch Linux # # # ----------------------------------------------------------------------- # LOCALIZATION # ----------------------------------------------------------------------- # # LOCALE: available languages can be listed with the 'locale -a' command # HARDWARECLOCK: set to "UTC" or "localtime" # TIMEZONE: timezones are found in /usr/share/zoneinfo # KEYMAP: keymaps are found in /usr/share/kbd/keymaps # CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US) # CONSOLEMAP: found in /usr/share/kbd/consoletrans # USECOLOR: use ANSI color sequences in startup messages # LOCALE="zh_CN.utf8" HARDWARECLOCK="localtime" TIMEZONE="Canada/Eastern" KEYMAP="us" CONSOLEFONT= CONSOLEMAP= USECOLOR="yes" # # ----------------------------------------------------------------------- # HARDWARE # ----------------------------------------------------------------------- # # Scan hardware and load required modules at bootup MOD_AUTOLOAD="yes" # Module Blacklist - modules in this list will never be loaded by udev MOD_BLACKLIST=(pcspk 8139cp 8139too snd_seq_oss snd-mixer-oss snd-pcm-oss asus_laptop joydev pcmcia_core ieee1394 bluetooth intel-agp pcspkr tsdev psmouse output sg sdhci mmc_core rtc_cmos battery) # # Modules to load at boot-up (in this order) # - prefix a module with a ! to blacklist it # MODULES=(acpi_cpufreq cpufreq_ondemand cpufreq_powersave cpufreq_conservative cpufreq_userspace ipw2200 snd-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore) # Scan for LVM volume groups at startup, required if you use LVM USELVM="no" # # ----------------------------------------------------------------------- # NETWORKING # ----------------------------------------------------------------------- # HOSTNAME="Arch" NETWORKS=(Lai) # # Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available # interfaces. # # Interfaces to start at boot-up (in this order) # Declare each interface then list in INTERFACES # - prefix an entry in INTERFACES with a ! to disable it # - no hyphens in your interface names - Bash doesn't like it # # Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp") # # Don't use this for wireless interfaces, see network profiles below # #eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255" eth0="dhcp" INTERFACES=(eth0) # # Routes to start at boot-up (in this order) # Declare each route then list in ROUTES # - prefix an entry in ROUTES with a ! to disable it # #gateway="default gw 192.168.0.1" ROUTES=(!gateway) # # Enable these network profiles at boot-up. These are only useful # if you happen to need multiple network configurations (ie, laptop users) # - set to 'menu' to present a menu during boot-up (dialog package required) # - prefix an entry with a ! to disable it # # Network profiles are found in /etc/network-profiles # #NET_PROFILES=(main) # # ----------------------------------------------------------------------- # DAEMONS # ----------------------------------------------------------------------- # # Daemons to start at boot-up (in this order) # - prefix a daemon with a ! to disable it # - prefix a daemon with a @ to start it up in the background # DAEMONS=(syslog-ng @hal @net-profiles @crond @alsa @fam) # End of file
请教,为什么我用pacman -Ss netcfg 或者yaourt -Ss netcfg都无法找到这个包呢?