ubuntu

mkpasswd - Overfeatured front end to crypt(3)

Tagged:

ใน Ubuntu , mkpasswd จะอยู่ในแพคเกจ whois

$ man mkpasswd

MKPASSWD(1)                                            

NAME
       mkpasswd - Overfeatured front end to crypt(3)

SYNOPSIS
       mkpasswd PASSWORD SALT

DESCRIPTION
       mkpasswd encrypts the given password with the crypt(3)
libc function using the given salt.

OPTIONS
       -S, --salt=STRING
              Use the STRING as salt. It must not contain
 prefixes such as $1$.

       -R, --rounds=NUMBER
              Use NUMBER rounds. This argument is ignored if

Hibernation on Ubuntu

Tagged:

- ควรใช้เป็น swap partition (swap file ยังมีข้อจำกัดอยู่)
- ขนาด swap >= ram

$ free -m
             total       used       free     shared    buffers     cached
Mem:          3023       2158        864          0        773        826
-/+ buffers/cache:        558       2464
Swap:         4094        364       3730

- ตรวจสอบค่าใน RESUME=UUID ใน /etc/initramfs-tools/conf.d/resume ว่าตรงกับ UUID ของ swap device หรือไม่

$ cat /etc/initramfs-tools/conf.d/resume 
RESUME=UUID=704f37d7-05f5-4de9-a0a8-4ca442a0d55a

$ cat /proc/swaps 

Ubuntu linux system/lib calls manpages

Tagged:

ใน Ubuntu , linux system/lib calls manpages จะอยู่ในแพคเกจ manpages-dev

$ aptitude show manpages-dev 
Package: manpages-dev
State: installed
Automatically installed: no
Version: 3.01-1
Priority: optional
Section: doc
Maintainer: Ubuntu Core Developers 
Uncompressed Size: 3084k
Depends: manpages
Suggests: man-browser
Replaces: glibc-doc (< 2.3.6-8)
Description: Manual pages about using GNU/Linux for development
 These man pages describe the Linux programming interface, including these two sections: 
 2 = Linux system calls.

pulseaudio กับปัญหาของเสียง

Tagged:

### Update 2009-01-07

ดูเหมือนว่า pulseaudio มันจะเป็นตัวปัญหาจริงๆ บางที่เสียงมันก็หายไปเฉยๆ อีกแล้ว
ลองดู forum เหล่านี้ แล้วจะรู้ว่ามันเป็นตัวปัญหา

http://brainstorm.ubuntu.com/idea/7377/
http://ubuntuforums.org/showthread.php?t=852518

ใน ubuntu 8.10 , pulseaudio มันจะทำงานโดยอัตโนมัติเมื่อล็อกอินเข้า gnome แม้จะ disable จาก init script แล้วก็ตาม

##########################################################

Syndicate content