Recent Notes

Displaying keyword search results 1 - 3
Created by magnum on June 23, 2011 20:15:49    Last update: June 23, 2011 20:29:45
Linux services startup order in general: kernel runs /sbin/init /sbin/init reads /etc/inittab and runs script defined by this line: si::sysinit:/etc/init.d/rcS switches to runlevel defined by id:3:initdefault: which causes /etc/init.d/rc to be called with the current run level. /etc/init.d/rc calls the scripts under the /etc/rc <current_run_level> .d directory (symbolic links to actual scripts under /etc/init.d/ ) in this order: The KILL scripts first (scripts with name starting with K, i.e., rc?.d/Knn name ): "script_name stop" then, the START scripts (scripts with name starting with S, i.e., rc?.d/Snn name ): "script_name start" Within each group (KILL or START), run scripts from lower priority number (i.e., the nn in the symlink name) to higher priority number. The Upstart init daemon does not use /etc/inittab . Instead, it...
Created by Dr. Xi on September 29, 2008 23:05:12    Last update: September 29, 2008 23:06:16
These variables are set or used by the Unix shell to modify its behavior. Variable Description ENV=file Name of script that gets executed at startup; Usually, ENV=$HOME/.kshrc FCEDIT=file Editor used by fc (fix command) command. If $FCEDIT is not defined, use $EDITOR, otherwise use the default (vi or ed). FPATH=dirs Directories to search for function definitions; undefined functions are set via typeset -fu . FPATH is searched when these functions are first referenced. HISTFILE=file File in which to store command history. Default is $HOME/.sh_history for Korn shell, $HOME/.bash_history for Bash. If not set, history is lost after logout. HISTSIZE=n Max number of commands to keep in history. HOME=dir Home directory; set by login from passwd file. IFS='chars' Internal field separators. Default is space, tab, and...
Created by Dr. Xi on August 26, 2007 23:22:30    Last update: August 27, 2007 02:00:18
If you want to add security to your wireless network, you almost never want to use WEP . WPA is an improved encryption algorithm that avoids many of the WEP vulnerabilities. However, FC4 (Fedora Core) doesn't support WPA out of the box. I have to install wpa_supplicant in order to access my wireless AP with WPA encryption. Since my Airlink wireless card only shipped with Windows drivers, I also needed ndiswrapper to make it work under Linux. This is my experience setting up wpa_supplicant with ndiswrapper. 1. Download wpa_supplicant 0.5.8 from http://hostap.epitest.fi/wpa_supplicant/ . Extract files to a working directory. 2. Create a .config file that contains: CONFIG_DRIVER_NDISWRAPPER=y CONFIG_CTRL_IFACE=y The first line initially read CONFIG_DRIVER_WEXT=y following the ndiswrapper documentation, but that didn't work for me. 3....