Notes by voodoo

Displaying keyword search results 1 - 10
Created by voodoo on September 30, 2011 08:22:39    Last update: February 18, 2012 16:17:36
This iptables rule redirects all port 80 traffic from subnet 192.168.0.0/24 to 192.168.0.1 running HTTP proxy (say squid): /usr/sbin/iptables -t nat -A PREROUTING -s 192.168... Make any packets destined to port 3256 on firewall be NAT'ed to internal system server on port 80: iptables -t nat -I PREROUTING -s ! 192.168.2.0/24 ... To make internal web server work for clients from the internet, LAN and the firewall itself: Make all packets from the Internet going to port 80 on the firewall ( $INET_IP ) to be redirected (or DNAT'ed) to the internal HTTP server ( $HTTP_IP ): iptables -t nat -A PREROUTING --dst $INET_IP -p tc... SNAT the packets entering the firewall that are destined for $HTTP_IP (internal HTTP server) port 80 so that they...
Created by voodoo on September 04, 2011 14:48:52    Last update: September 04, 2011 14:49:40
If Ubuntu does not recognize the wifi adapter, use ndiswrapper and Windows XP driver instead: Install the needed Ubuntu packages: $ sudo apt-get install ndisgtk If there's no Internet access, the needed packages are available from the Ubuntu live CD under the directory /pool/main/n . Install both ndiswrapper and ndisgtk . Download and extract the Windows XP driver for your wifi adapter. Install the Windows XP driver: Browse to System/Administration/Windows Wireless drivers Click Install New Driver Select the .inf file, then click Install Connect to wifi networks as you normally do.
Created by voodoo on September 02, 2011 18:12:56    Last update: September 02, 2011 18:12:56
This is how to add the 3GB switch for Windows XP: Remove system and hidden attributes of C:\boot.ini : C:\>attrib -s -h boot.ini Add the 3GB switch to C:\boot.ini : [boot loader] timeout=30 default=multi(0)dis... Add system and hidden attributes: C:\>attrib +s +h boot.ini Reboot
Created by voodoo on August 08, 2011 19:54:34    Last update: August 09, 2011 07:23:45
To install the base qemu system: $ sudo apt-get install qemu But that only installs the emulators matching the host system ( i386 for example). To install the emulator for other architectures like mips , use: $ sudo apt-get install qemu-kvm-extras For Fedora, the command is: $ sudo yum install qemu-launcher
Created by voodoo on April 14, 2011 13:16:18    Last update: April 14, 2011 13:17:48
From Fedora Project wiki : A security context , or security label , is the mechanism used by SELinux to classify resources, such as processes and files, on a SELinux-enabled system. This context allows SELinux to enforce rules for how and by whom a given resource should be accessed. A security context is typically shown as a string consisting of three or four words. Each word specifies a different component of the security context, namely, the user , role , type , and level of that file or process . Each word is separated by a colon. Use the -Z switch to display security context info. Display security context for Apache files: $ ls -Z /var/www/ drwxr-xr-x. root root system_... Display security for files under...
Created by voodoo on March 10, 2011 11:08:45    Last update: March 10, 2011 11:09:18
Looks like for Linux fdisk , cylinders as display units was deprecated, using sectors is the new way. # fdisk -v fdisk (util-linux-ng 2.18) # ... Notice that cylinder numbers actually overlap for the last 2 partitions.
Created by voodoo on March 04, 2011 12:46:58    Last update: March 04, 2011 12:47:35
According to SELinux Trouble Shooting Tool AVC AVC stands for Access Vector Cache . SELinux Denials are reported in the logging system as AVC 's with the denied key word.
Created by voodoo on February 25, 2011 14:00:41    Last update: February 25, 2011 14:03:46
Suddenly my Windows XP failed to boot with this error message on a blank screen: missing or corrupt <windows root>\system32\hal.dll I took out the hard drive, put it in a USB enclosure and attached it to another PC. Then I ran CHKDSK and it fixed some file system errors. But I did find that hal.dll was intact, so hal.dll was not missing or corrupt . It turned out that the file that was really missing was C:\boot.ini . It is a hidden file, so you have to use attrib boot.ini to see it. The file is missing if attrib boot.ini returns nothing (run in the root folder C:\). In my case I reconstructed the boot.ini file: [boot loader] timeout=30 default=multi(0)dis... and changed the attributes back...
Created by voodoo on September 21, 2010 03:51:14    Last update: September 21, 2010 03:51:14
Update: I followed the advice from CamStudio Support Forum and selected Stereo Mix . That fixed the no-audio problem! Double click Speaker icon in System Tray > Options > Properties > Adjust Volume For Recording > Select Stereo Mix, Mono Mix, What-U-Hear, etc.
Created by voodoo on July 15, 2010 22:43:40    Last update: July 15, 2010 22:45:07
You need to merge this value into the Windows XP registry in order to make ClearType work for a remote desktop: Windows Registry Editor Version 5.00 [HKEY_... A restart is required for the change to take effect.
Previous  1 2 Next