当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 17 篇帖子 ]  前往页数 1, 2  下一页
作者 内容
1 楼 
 文章标题 : 用arch后 开始注重底层配置了,求各位大侠用的一些 模块 和 deamon
帖子发表于 : 2008-02-21 21:42 
头像

注册: 2005-08-22 14:05
帖子: 1743
地址: 离开北京
送出感谢: 1
接收感谢: 3
就是参考一下 大家都用了什么

比如 acpid 电源管理, hal 还有屏蔽 ipv6模块

还有u盘的使用==


_________________
错过好多好贴,没占到广告位后悔啊


页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2008-02-21 21:56 
头像

注册: 2005-12-28 1:16
帖子: 3916
地址: 火星
系统: Ubuntu 12.10 X64
送出感谢: 1
接收感谢: 0 次
代码:
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多万


页首
 用户资料  
 
3 楼 
 文章标题 :
帖子发表于 : 2008-02-22 1:29 
头像

注册: 2006-05-13 4:02
帖子: 10606
送出感谢: 0 次
接收感谢: 7
$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

因为我是笔记本,所以有些模块你可能不需要。


_________________
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


页首
 用户资料  
 
4 楼 
 文章标题 :
帖子发表于 : 2008-02-22 2:39 

注册: 2006-04-04 1:15
帖子: 83
送出感谢: 0 次
接收感谢: 0 次
先去看看官方网站的wiki吧,虽然中文翻译的不多,但很多译文都常用的。


页首
 用户资料  
 
5 楼 
 文章标题 :
帖子发表于 : 2008-02-22 3:20 
头像

注册: 2005-08-14 19:53
帖子: 3998
送出感谢: 1
接收感谢: 2
wiki,要学会看wiki,你说的那几篇wiki上都有翻译的,非常详细


页首
 用户资料  
 
6 楼 
 文章标题 :
帖子发表于 : 2008-02-22 12:04 
头像

注册: 2005-11-17 15:45
帖子: 2996
地址: 湖北
送出感谢: 0 次
接收感谢: 1
我的/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

:D :D


_________________
代码:
枪杆子里面出政权


页首
 用户资料  
 
7 楼 
 文章标题 :
帖子发表于 : 2008-02-22 12:23 
头像

注册: 2006-05-13 4:02
帖子: 10606
送出感谢: 0 次
接收感谢: 7
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


_________________
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


页首
 用户资料  
 
8 楼 
 文章标题 :
帖子发表于 : 2008-02-22 12:29 
头像

注册: 2005-08-22 14:05
帖子: 1743
地址: 离开北京
送出感谢: 1
接收感谢: 3
wiki 看过了

只是想看看还有什么地方需要完善 哈哈

多谢各位了 研究中


_________________
错过好多好贴,没占到广告位后悔啊


页首
 用户资料  
 
9 楼 
 文章标题 :
帖子发表于 : 2008-02-22 14:08 
头像

注册: 2005-11-17 15:45
帖子: 2996
地址: 湖北
送出感谢: 0 次
接收感谢: 1
To Zhuqin:

机器确实老了点,5年前的ibm x31。那个netcfg v2不是还在testing么? :D :D


_________________
代码:
枪杆子里面出政权


页首
 用户资料  
 
10 楼 
 文章标题 :
帖子发表于 : 2008-02-22 14:52 
头像

注册: 2006-05-13 4:02
帖子: 10606
送出感谢: 0 次
接收感谢: 7
已经差不多了,毕竟新的iso就快出了,一切老的技术都会被抛弃。都不订阅mailing list么?


_________________
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


页首
 用户资料  
 
11 楼 
 文章标题 :
帖子发表于 : 2008-02-22 14:55 
头像

注册: 2006-05-13 4:02
帖子: 10606
送出感谢: 0 次
接收感谢: 7
已经差不多了,毕竟新的iso就快出了,一切老的技术都会被抛弃。都不订阅mailing list么?


_________________
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


页首
 用户资料  
 
12 楼 
 文章标题 :
帖子发表于 : 2008-02-22 18:14 
头像

注册: 2007-01-12 19:32
帖子: 70
地址: 临汾->南京->苏州->广州
送出感谢: 0 次
接收感谢: 0 次
MOD_AUTOLOAD可以关的
我关了

关之前运行一下 hwdetect --modules ,把里面的modules都添加到rc.conf就行了


页首
 用户资料  
 
13 楼 
 文章标题 :
帖子发表于 : 2008-02-22 21:23 
头像

注册: 2006-05-13 4:02
帖子: 10606
送出感谢: 0 次
接收感谢: 7
不建议关autoload,用hwdetect的大多用不到,浪费资源和加长开机时间。


_________________
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


页首
 用户资料  
 
14 楼 
 文章标题 :
帖子发表于 : 2008-02-22 21:44 
头像

注册: 2007-01-12 19:32
帖子: 70
地址: 临汾->南京->苏州->广州
送出感谢: 0 次
接收感谢: 0 次
zhuqin_83 写道:
不建议关autoload,用hwdetect的大多用不到,浪费资源和加长开机时间。

哦?我每次开机花时间最久的就是autoload了,关了就快多了

不过我是台式机


页首
 用户资料  
 
15 楼 
 文章标题 :
帖子发表于 : 2008-03-06 20:01 

注册: 2006-01-25 16:55
帖子: 58
送出感谢: 0 次
接收感谢: 1
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都无法找到这个包呢?


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 17 篇帖子 ]  前往页数 1, 2  下一页

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 2 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译