今天电视里又放谍影重重了,当放到伯恩在柏林火车站存包时发现,哈哈这不就是我存包的地方么。身为伯恩迷的我又满足了一次,并唤起了无穷动的回忆。。。
Archive for September, 2008
转载原创文章请注明,转载自:Systems Thoughts
[http://www.systemsthoughts.com/blog]
转载原创文章请注明,转载自:Systems Thoughts
[http://www.systemsthoughts.com/blog]
现在每次关机都会有这个东西,很annoying
/var/run/gdm.pid doesn't exist, perhaps GDM isn't running
查了查,原来是我X11启动方法不对,我是照着Arch Linux Beginner Wiki搞得,其实上边有很多东西Out of date。按照上边的方法,gdm给放在etc/rc.conf的daemon里面了:
DAEMONS=(syslog-ng dbus !network cpufreq laptop-mode netfs crond alsa acpid !net-profiles hal fam networkmanager gdm dhcdbd vboxnet @sshd)
把它移走,现在我的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"
# USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
# 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.utf8"
HARDWARECLOCK="localtime"
USEDIRECTISA="no"
TIMEZONE="Europe/Stockholm"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
#MODULES=(e1000e iwl4965 snd-mixer-oss snd-pcm-oss snd-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore)
MODULES=(acpi_cpufreq cpufreq_ondemand cpufreq_stats cpufreq_powersave cpufreq_conservative vboxdrv ac battery button dock processor thermal video wmi firmware_class hci_usb cdrom agpgart intel-agp nvram hid usbhid i2c-i801 i2c-core evdev ff-memless joydev pcspkr psmouse serio_raw led-class compat_ioctl32 uvcvideo v4l1-compat videodev thinkpad_acpi mmc_core ricoh_mmc sdhci pci_hotplug shpchp rtc-cmos rtc-core rtc-lib nvidia output snd-mixer-oss snd-pcm-oss snd-hwdep snd snd-page-alloc snd-pcm snd-timer snd-hda-intel soundcore pata_acpi ata_generic scsi_mod ahci ata_piix e1000e bluetooth mac80211 rfkill iwl4965 iwlcore cfg80211 pcmcia_core rsrc_nonstatic yenta_socket usbhid usbcore ehci-hcd uhci-hcd ieee1394 ohci1394 sd_mod sr_mod)
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="t61"
# 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
#
# DHCP: Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#
eth0="dhcp"
#wlan_wlan0="wlan0 essid Buffalo"
#wlan0="dhcp"
#wlan_wlan0="wlan0 essid Buffalo key s:12345"
INTERFACES=(lo !eth0 !wlan0)
# 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.5.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.d
#
# This now requires the netcfg package
#
#NETWORKS=(home)
# -----------------------------------------------------------------------
# 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 dbus !network cpufreq laptop-mode netfs crond alsa acpid !net-profiles hal fam networkmanager dhcdbd vboxnet @sshd)
然后改变etc/inittab里的启动进程,现在我的inittab是:
# /etc/inittab
#
# Runlevels:
# 0 Halt
# 1(S) Single-user
# 2 Not used
# 3 Multi-user
# 4 Not used
# 5 X11
# 6 Reboot
## Only one of the following two lines can be uncommented!
# Boot to console
#id:3:initdefault:
# Boot to X11
id:5:initdefault:
rc::sysinit:/etc/rc.sysinit
rs:S1:wait:/etc/rc.single
rm:2345:wait:/etc/rc.multi
rh:06:wait:/etc/rc.shutdown
su:S:wait:/sbin/sulogin -p
# -8 options fixes umlauts problem on login
c1:12345:respawn:/sbin/agetty -8 38400 vc/1 linux
c2:2345:respawn:/sbin/agetty -8 38400 vc/2 linux
c3:2345:respawn:/sbin/agetty -8 38400 vc/3 linux
c4:2345:respawn:/sbin/agetty -8 38400 vc/4 linux
c5:2345:respawn:/sbin/agetty -8 38400 vc/5 linux
c6:2345:respawn:/sbin/agetty -8 38400 vc/6 linux
ca::ctrlaltdel:/sbin/shutdown -t3 -r now
# Example lines for starting a login manager
#x:5:respawn:/usr/bin/xdm -nodaemon
x:5:respawn:/usr/sbin/gdm -nodaemon
#x:5:respawn:/opt/kde/bin/kdm -nodaemon
#x:5:respawn:/usr/bin/slim >& /dev/null
# End of file
非常neat。用了arch确实因为解决问题对linux了解更深了,看似很麻烦,但是由于网上社区很活跃,其实很多东西只要google一下就能解决。估计用gentoo能学到更多把,呵呵,不过我觉得arch已经很合适了。
转载原创文章请注明,转载自:Systems Thoughts
[http://www.systemsthoughts.com/blog]
这两天因为工作关系,看了些SilkTest的资料。不小心发现网上有个用SilkTest自动玩扫雷的视频,强~~想想我以前也用SilkTest破解公司上网密码来着。
转载原创文章请注明,转载自:Systems Thoughts
[http://www.systemsthoughts.com/blog]
今天抽风,不满于因为ubuntu某些软件更新太慢导致的弱智问题,我花了20个小时把系统换到Arch Linux了。
被Ubunut惯坏了,不知道原来他们替我们做了这么多配置工作呐,也难怪速度那么慢。
过两天把遇到的问题写写。不过说实话,一般用户用 Ubuntu还是挺好的,希望我这么多时间画的值。
转载原创文章请注明,转载自:Systems Thoughts
[http://www.systemsthoughts.com/blog]
话说Lavasoft的Web工作室里有只猫,我只知道他来得比我早,叫什么已经没人知道了,Web Guys叫他猫。要说我也是最近才看到他的,后来从老员工那听说了他鲜为人知的故事(其实就我不知道)
6个月前一个月黑风高的夜晚,猫不见了,第二天大家收到一封信,猫被绑架了!
信的大意是如果不想猫受伤就照我们说的做,在一个桶里放一个空瓶子里面放一个空罐子然后10点前放到冰箱里。
我们”善良的“ Web guy们当然没有这么做。后来又来了一封信,上面写着“不好意思,猫逃了”
紧接着又来了一封,小猫被一个善良的女孩带回家,还免费剪了头发,然后是“我很想你们”一百遍….
过了不久又是一封,小猫跑夏威夷泡妞去了。。。。他过的很开心,大家很高兴

终于,在公司搬家之后,小猫又回来天天给大家招手了…..




