[126000400010] |Howto: Encrypt your private files with Encfs & Cryptkeeper Gnome applet [126000400020] |I have been using this little applet called cryptkeeper with encfs for a while now, it is a beautifully simple power user application that will help you keep your private information safe and secure. [126000400030] |Basically Cryptkeeper is a Linux system tray applet that manages EncFS encrypted folders. [126000400040] |In this simple Howto, I will assist you in installing encfs and CryptKeeper. [126000400050] |1. Install encfs like this:sudo apt-get install encfssudo echo fuse >>/etc/modulessudo modprobe fusesudo addgroup fuse2. [126000400060] |Then you must log off and back on again. [126000400070] |To do this quickly just press ctrl+alt+backspace and log back in. [126000400080] |Then Download [126000400090] |Resources:Cryptkeeper Developer TomEncFS WikipediaEncFS Developer Site [126000420010] |Block Ads with Ubuntu without installing anything [126000420020] |okay in one of my nights searching the internet and ubuntu forums i came a cross a nice tweak for Ubuntu. [126000420030] |It involves messing with your etc/hosts file in order to block web sites that produce ads. [126000420040] |Cool eh? [126000420050] |Here is how: [126000420060] |1. back up your original host file located at etc/hosts sudo cp /etc/hosts /etc/hosts.old [126000420070] |2. Download a good/updated host file here [126000420080] |3. Open your hosts filesudo gedit /etc/hosts [126000420090] |4. Paste the contents of the downloaded hosts file (from mvps) into the bottom of the /etc/hosts - do not override any content! [126000420100] |5. Test it out, try loading one of the sites in your browser. [126000420110] |You should get a 404 error message. [126000420120] |To take this even further you can use a hosts file update script located here [126000420130] |Follow these steps1. [126000420140] |Download the file at http://hostsfile.mine.nu/downloads/updatehosts.sh.txt [126000420150] |2. Rename updatehosts.sh.txt to updatehosts.sh [126000420160] |3. Make the file executable by doing using the follow commandchmod a+x updatehosts.sh [126000420170] |4. Install tofrodos sudo apt-get install tofrodos [126000420180] |5. Run the update sudo ./updatehosts.shThis tweak has been tested and seems to work 100% on Ubuntu FF - no guarantees [126000430010] |CFS Kernel Patch: The Completely Slow Scheduler! [126000430020] |I constantly upgrade my kernel and constantly keep applications updated, I have been reading many sites proclaiming that CFS patchset "The Completely Fair Scheduler" from Ingo Molnar is better and faster than Con Kolivas 2.6.22-ck1 patchsetI am extremely dissapointed in all the hype and the news that cfs will be a part of kernel 2.6.23... [126000430030] |Here is what I noticed about cfs which sucks... [126000430040] |Boot time:5 seconds longer than ck patchNautilus: Takes a second longer to load up... wtfFirefox: takes 2 more seconds to load, simple web pages like digg and my site spike to 100 cpu usage and mouse freezes.. [126000430050] |Music: Choppy with more cpu usageVideo: glxgears reported a loss of over 100 fpsOverall CFS sucks, and ck's patchset kicks ass, I have ck's patchset installed with the latest ubuntu feisty kernel as well as the "The Completely Slow Scheduler CFS" [126000430060] |I would love to see some benchmarks of how cfs is faster than CK and what it actually improves. [126000430070] |Also I cannot believe Linus is implementing this POS Patchset.. [126000430080] |This is a true dissapointment for the Linux Community, I now understand why Con Kolivas quit because there is so many ignorant people out there that dont respect a good coders work. [126000430090] |Ck's patchset is way faster than CFS, CFS is garbage and im only keeping it on my pc to do benchmarks when requested. [126000430100] |Be smart get Con Kolivas Patchset here and do you and the Linux community a favor and actually try out CFS and let me know what you experience [126000430110] |Here are my benchmark results with hardinfo:cK patchsetcfs the slow scheduler [126000440010] |HOWTO: Right Click-Convert videos to Ipod / Smartphone format Quickly and Easily [126000440020] |Found a little script that will convert videos to IPod video format (i.e. mp4 with xvid and aac encoding) utilising ffmpeg and ruby. [126000440030] |The nice thing about this is that it will preserve the original aspect ratio and add black bars depending, so videos look like they should do (well aside from being in QVGA 320x240 resolution!). [126000440040] |Some smartphones (such as the Nokia N95) are also able to display this format =) [126000440050] |The script can be found here [126000440060] |For a little HOWTO: [126000440070] |Open up synaptic and ensure that you have ffmpeg and ruby installed/apt-get install ruby ffmpeg liblame-dev libxvidcore4-dev libx264-dev libfaac-dev libfaad2-devsudo apt-get build-dep ffmpegDownload the script: [126000440080] |Code: [126000440090] |wget http://thomer.com/howtos/mp4ize [126000440100] |Make it so you can run it: [126000440110] |Code: [126000440120] |chmod +x mp4ize [126000440130] |Move it so it's system-wide: [126000440140] |Code: [126000440150] |sudo mv mp4ize /usr/local/bin [126000440160] |Now, if you want to convert a video, just open up a terminal and type mp4ize [videoname] and it will make an IPod mp4 version in the same folder. [126000440170] |Enterprising Nautilus Actions users may want to add a right click menu version for this by adding /usr/local/bin/mp4ize as a path and %M as a parameter. [126000440180] |If everything goes well, your output will look like this:root@ion:/extra/movies/Life.Support.DVDRip.XviD-BeStDivX/Sample# lsbestdivx-lifes-sample.aviroot@ion:/extra/movies/Life.Support.DVDRip.XviD-BeStDivX/Sample# mp4ize bestdivx-lifes-sample.avi FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2004 Fabrice Bellard configuration: --prefix=/usr --libdir=${prefix}/lib --shlibdir=${prefix}/lib --incdir=${prefix}/include/ffmpeg --enable-shared --enable-mp3lame --enable-gpl --enable-faad --mandir=${prefix}/share/man --enable-vorbis --enable-pthreads --enable-faac --enable-xvid --enable-dts --enable-amr_nb --enable-amr_wb --enable-pp --enable-libogg --enable-libgsm --enable-x264 --enable-a52 --extra-cflags=-Wall -g -fPIC -DPIC libavutil version: 49.0.0 libavcodec version: 51.11.0 libavformat version: 50.5.0 built on Nov 3 2006 21:14:27, gcc: 3.3.5 (Debian 1:3.3.5-13)Input #0, avi, from 'bestdivx-lifes-sample.avi': Duration: 00:01:00.0, start: 0.000000, bitrate: 1071 kb/s Stream #0.0: Video: mpeg4, yuv420p, 576x320, 23.98 fps(r) Stream #0.1: Audio: mp3, 48000 Hz, stereo, 160 kb/sMust supply at least one output fileFFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2004 Fabrice Bellard configuration: --prefix=/usr --libdir=${prefix}/lib --shlibdir=${prefix}/lib --incdir=${prefix}/include/ffmpeg --enable-shared --enable-mp3lame --enable-gpl --enable-faad --mandir=${prefix}/share/man --enable-vorbis --enable-pthreads --enable-faac --enable-xvid --enable-dts --enable-amr_nb --enable-amr_wb --enable-pp --enable-libogg --enable-libgsm --enable-x264 --enable-a52 --extra-cflags=-Wall -g -fPIC -DPIC libavutil version: 49.0.0 libavcodec version: 51.11.0 libavformat version: 50.5.0 built on Nov 3 2006 21:14:27, gcc: 3.3.5 (Debian 1:3.3.5-13)Input #0, avi, from 'bestdivx-lifes-sample.avi': Duration: 00:01:00.0, start: 0.000000, bitrate: 1071 kb/s Stream #0.0: Video: mpeg4, yuv420p, 576x320, 23.98 fps(r) Stream #0.1: Audio: mp3, 48000 Hz, stereo, 160 kb/sOutput #0, mp4, to 'bestdivx-lifes-sample.mp4': Stream #0.0: Video: xvid, yuv420p, 320x240, q=3-5, 400 kb/s, 23.98 fps(c) Stream #0.1: Audio: aac, 48000 Hz, stereo, 128 kb/sStream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1Press [q] to stop encodingframe= 1439 q=3.0 Lsize= 3734kB time=59.9 bitrate= 510.6kbits/s video:2763kB audio:936kB global headers:0kB muxing overhead 0.928542%root@ion:/extra/movies/Life.Support.DVDRip.XviD-BeStDivX/Sample# lsbestdivx-lifes-sample.avi bestdivx-lifes-sample.mp4root@ion:/extra/movies/Life.Support.DVDRip.XviD-BeStDivX/Sample# [126000450010] |Heron (Ubuntu 8.04) and The Future [126000450020] |Heron (Ubuntu 8.04), the next version of Ubuntu that will succeed Gutsy Gibbon (Ubuntu 7.10, due for release in October 2007). [126000450030] |Not only will the Ubuntu community continue to do what it does best, produce an easy-to-use, reliable, and fun free software platform, but this release will proudly wear the badge of Long Term Support (LTS) and be supported with security updates for five years on the server and three years on the desktop. [126000450040] |I am hoping to see Ubuntu in every school in the United States. [126000450050] |We Can all make this possible by sharing our knowledge [126000460010] |Introducing ioSwiftFox [126000460020] |Wow, I just found a truly unique application that runs fast as hell right from memory and does not require root access to install, so you non-root users can download this single file and you dont have to install a thing, it runs straight from ram and /tmp and believe it or not, it is faster than firefox and swiftfox because it is all pre-linked. [126000460030] |No compiling, installing or anything is necessary. [126000460040] |"ioSwiftFox is a recompilation of Firefox 2 for Infodomestic Objects Linux. [126000460050] |It is developed and tested under Ubuntu Linux, and can be run with just one click without installation on your system."ioSwiftfox is secure as well, since it runs in ram, so you dont have to worrie about people sn00ping your browser history. [126000460060] |This also auto loads your extentions in your current swiftfox/firefox directory if you do happen to have it installed. [126000460070] |Howto:Download herechmod +x ioSwiftFox2.0.0.6-pentium4_Infodomestic0.8.5mv ioSwiftFox2.0.0.6-pentium4_Infodomestic0.8.5 ioswiftfox./ioswiftfox [126000470010] |Introducing ioXChat [126000470020] |I found yet another blazing fast Infodomestic Objects application made just for Ubuntu Feisty, its Xchat, we all know what that is right? [126000470030] |Its an IRC client for Ubuntu but prelinked with Infodomestic Objects so you can run it without installing the dependencies, this means you can run xchat without installing it, Xchat also loads faster and runs more smoothly. [126000470040] |Download Here [126000480010] |How to connect Motorola V3X to ubuntu 7.04 with USB port [126000480020] |I am a big fan of motorola and Nokia, here is a simple how to to get your motorola connected through Ubuntu. [126000480030] |In this tutorial we will learn how connect your Motorola V3X to ubuntu 7.04 trough usb [126000480040] |First of all, we will download the moto4lin utility from the repositories. [126000480050] |sudo aptitude update [126000480060] |sudo aptitude install moto4lin [126000480070] |Once installed, we need to change the configuration file of moto4lin. [126000480080] |cd $HOME/.qt [126000480090] |gedit moto4linrc [126000480100] |We change the old values to this ones. [126000480110] |The most important values are, the device, product and vendor values. [126000480120] |Those values are for the motorola V3X. Other motorola have different values. [126000480130] |You can activate the auto connect option too. [126000480140] |[device]cfgACMdevice=/dev/ttyACM0cfgATproduct=3002cfgATvendor=22b8cfgAutoConnect=1cfgDetachDriver=0cfgP2Kproduct=3001cfgP2Kvendor=22b8 [126000480150] |[filemanager]cfgAutoExpandDirTree=0cfgAutoUpdateFileList=1cfgGoLastFolder=0cfgLoadList=0 [126000480160] |Now we are going to make a little script in our home directory to load the module and launch moto4lin. [126000480170] |moto4lin you need access from root login to work, so we make a sudo launch. [126000480180] |cd $HOME [126000480190] |gedit motorola [126000480200] |This will be the script: [126000480210] |sudo modprobe cdc_acm [126000480220] |sudo moto4lin [126000480230] |now we only need to allow execution for the script with chmod and we have our script. [126000480240] |chmod 700 motorola [126000480250] |./motorola [126000480260] |If all has gone right we will be able to connect our Motorola V3X by USB. [126000490010] |Howto: Share Ubuntu Connectivity with your Nokia Symbian Phone [126000490020] |This guide will let you share your internet connection by Bluetoothso that you can surf the net on your bed without paying high GPRS/HSDPA rates. [126000490030] |Im just summarizing the steps, credits goes to the author of websites at the end of this post [126000490040] |My setup:Nokia n73 (most Symbian phones will do, even Sony Ericsson's)Feisty i386 (just about any distro will do)bluetooth dongle supported by Ubuntu (mine is CSR)wireless connection to AirStation router [126000490050] |Pair up your phone and your computer [126000490060] |Make sure you have bluez-gnome installed, otherwise install it by the following command:aptitude install bluez-gnomeMake sure you have a bluetooth icon in the notification area (otherwise you can't set PIN while pairing)On your phone, go to Connect >Bluetooth >. [126000490070] |Paired devices >Option >New paired device, choose your computer [126000490080] |Setup your phone: [126000490090] |Backup your phone! [126000490100] |I can't fix your phone if anything goes wrongInstall gnubox for Series 60 v3 (http://discussion.forum.nokia.com/forum/archive/i ndex.php/t-96953.html) or other Symbians (http://gnubox.dnsalias.org/gnubox/#download)(if you have a s60v3 phone, you will have to sign the sis file. just follow the instruction on the download page, 5th reply)Run gnubox, Options >Debug >Dump Full CommsDB, this dump the network configuration, in case any thing goes wrong [126000490110] |Create an Access point, goto Tools >Settings >Connection >AccesspointsName it "Bt" (case sensitive), set Data Bearer to "data call" and dial-up number to some random number [126000490120] |Run gnubox again, Options >Install >Create recordsRestart gnubox, Options >Install >set RAS login scriptRestart gnubox, Options >2box Bluetooth >LAN Access server, select your computer, no encryption if it ask [126000490130] |Setup your ubuntu [126000490140] |Put the following into /etc/ppp/peers/dun115200noauth192.168.11.30:192.168.11.40 (this has to be in the same subnet as your computer, ie. the first-three set of digits have to be the same)crtsctsms-dns lock [126000490150] |execute the following as root, to setup network forwarding, otherwise you can only access LAN from the phoneecho 1 >/proc/sys/net/ipv4/ip_forwarddund --msdun --listen call dun [126000490160] |DONE! grab your phone, fire up the Web app. and enjoy! [126000490170] |References [126000490180] |http://gnubox.dnsalias.org/gnubox/http://mikie.iki.fi/symbian/bt-ap.html [126000500010] |Howto: Sync an iPod with Ubuntu [126000500020] |Here is a quick easy [126000500030] |Windows through iTunes, before you can proceed with this Howto. [126000500040] |My iPod nano was already formatted with a Windows filesystem (fat32) as a factory default, but you may have one which uses the Mac filesystem. [126000500050] |Installing GTKPodI'm using the program GTKPod for synchronizing my songs to the iPod. [126000500060] |So first of all, you should install GTKPod. [126000500070] |If you want AAC support for GTKPod, type the following command in in the terminal:sudo apt-get install gtkpod-aackillall gnome-panel [126000500080] |without ACC support, the command would be: sudo apt-get install gtkpodYou can't have both installed at the same time. [126000500090] |Mounting the iPodNow we're creating a mount point. [126000500100] |You can skip this step, if Gnome created already one for you in the /media directory automatically. [126000500110] |First create the corresponding directory as a mount point for your iPod:sudo mkdir /media/iPod [126000500120] |Let GEdit open the file fstab:sudo gedit /etc/fstab [126000500130] |Add at the bottom:/dev/sdc2 /media/iPod vfat nosuid,noauto,nodev,rw,umask=077,gid=1000,uid=1000,user,defaults,noatime,iocharset=utf8 0 0 [126000500140] |Configuring GTKPodWhen you go into GTKPod, go to Edit -> Preferences, Input/Output tab. [126000500150] |I personally didn't get the auto mount/unmount thing working, so I left it unchecked. [126000500160] |However, the most important field in that entire preferences window is the iPod mount point field in the Input/Output tab. [126000500170] |Fill in the mount point field with the appropriate folder (in this example /media/iPod). [126000500180] |Restart the program. [126000500190] |It will automatically fill the GTKPod database with all of the songs and playlists that you have stored on your iPod prior to setting up GTKPod. [126000500200] |When problems occurHowever, here is the rub: GTKPod seems to work randomly for different people. [126000500210] |It will work on one synchronization, yet it will stop working for subsequent synchronizations. [126000500220] |Others will find that it will not work, period. There's a simple solution to that, actually; just type the following command in into your console app: [126000500230] |sudo dosfsck -a /dev/sdc2 [126000500240] |sdc2 being the partition where your iPod data resides. [126000500250] |Be sure to check out /etc/mtab with gedit in order to confirm which /dev/ node is being used for your iPod. [126000500260] |The above command will execute dosfsck, and automatically fix any errors encountered in the vfat partition. [126000500270] |Have fun! [126000500280] |After that, GTKPod should work flawlessly without your system automatically mounting your iPod as read only. [126000500290] |Now you can also write on your iPod and therefore synchronize your MP3 and AAC files. [126000510010] |Install Mplayer and Multimedia Codecs (libdvdcss2,w32codecs) in Ubuntu Feisty Fawn,Dapper,Edgy [126000510020] |MPlayer is a movie and animation player that supports a wide range of codecs and file formats, including MPEG 1/2/4,DivX 3/4/5, Windows Media 7/8/9, RealAudio/Video up to 9, Quicktime 5/6, and Vivo 1/2. [126000510030] |It has many MX/SSE (2)/3Dnow(Ex) optimized native audio and video codecs, but allows using XAnim’s and RealPlayer’s binary codec plugins, and Win32 codec DLLs. [126000510040] |It has basic VCD/DVD playback functionality, including DVD subtitles, but supports many text-based subtitle formats too. [126000510050] |For video output, nearly every existing interface is supported. [126000510060] |It’s also able to convert any supported files to raw/divx/mpeg4 AVI (pcm/mp3 audio), and even video grabbing from V4L devices. [126000510070] |Install Mplayer in Ubuntu Dapper Drake [126000510080] |You need to add the following lines to /etc/apt/sources.list file [126000510090] |gedit /etc/apt/sources.list [126000510100] |enter these two lines and save your file [126000510110] |deb http://archive.ubuntu.com/ubuntu dapper universe multiversedeb-src http://archive.ubuntu.com/ubuntu dapper universe multiverse [126000510120] |Install Mplayer in Ubuntu Edgy eft [126000510130] |You need to add the following lines to /etc/apt/sources.list file [126000510140] |gedit /etc/apt/sources.list [126000510150] |enter these two lines and save your file [126000510160] |deb http://archive.ubuntu.com/ubuntu edgy universe multiversedeb-src http://archive.ubuntu.com/ubuntu edgy universe multiverse [126000510170] |Install Mplayer in Ubuntu Feisty Fawn [126000510180] |You need to add the following lines to /etc/apt/sources.list file [126000510190] |gedit /etc/apt/sources.list [126000510200] |enter these two lines and save your file [126000510210] |deb http://archive.ubuntu.com/ubuntu feisty universe multiversedeb-src http://archive.ubuntu.com/ubuntu feisty universe multiverse [126000510220] |Now you need to run the following command to update the source list [126000510230] |sudo apt-get update [126000510240] |Install mplayer using the following command [126000510250] |sudo apt-get install mplayer [126000510260] |if you want to open mplayer just type [126000510270] |gmplayer [126000510280] |or [126000510290] |You can Open from Applications—>Sound&Video—> Mplayer Movie Player [126000510300] |Once it opens you should see the following screen [126000510310] |Installing libdvdcss2 and w32 video codecs in Ubuntu [126000510320] |Support for WMV, RealMedia and other formats has been bundled into the w32codecs package. [126000510330] |This package is not available from the Ubuntu repositories due to licensing and legal restrictions. [126000510340] |Edit /etc/apt/sources.list file and enter the following repositories [126000510350] |sudo gedit /etc/apt/sources.list [126000510360] |You can install this DVD playback and w32codecs using Seveas Repository [126000510370] |For Ubuntu Dapper Drake Users [126000510380] |deb http://mirror.ubuntulinux.nl dapper-seveas alldeb-src http://mirror.ubuntulinux.nl dapper-seveas all [126000510390] |For Ubuntu Edgy Eft Users [126000510400] |deb http://mirror.ubuntulinux.nl edgy-seveas alldeb-src http://mirror.ubuntulinux.nl edgy-seveas all [126000510410] |Now you need to copy the key using the following command [126000510420] |wget http://mirror.ubuntulinux.nl/1135D466.gpg -O- ¦sudo apt-key add - [126000510430] |For Ubuntu Feisty Fawn Users [126000510440] |deb http://medibuntu.sos-sts.com/repo/ feisty free non-freedeb-src http://medibuntu.sos-sts.com/repo/ feisty free non-free [126000510450] |Now you need to copy the key using the following command [126000510460] |wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- ¦sudo apt-key add - [126000510470] |Update the source list using the following command [126000510480] |sudo apt-get update [126000510490] |Install Codecs using the following command [126000510500] |sudo apt-get install w32codecs libdvdcss2 [126000510510] |Using above download locations you can install most of the mutimedia codecs for ubuntu. [126000510520] |sudo apt-get update [126000510530] |Mplayer Plugin for Firefox [126000510540] |If you want to install Mplayer with plug-in for Firefox run the following command [126000510550] |sudo apt-get install mozilla-mplayer [126000530010] |Setup Cingular Blackjack i607 as a USB modem in Ubuntu Feisty [126000530020] |Luckily the phone, once connected by the supplied USB cable, is automatically recognized by Feisty (Ubuntu 7.04) and the proper kernel modules and devices are loaded. [126000530030] |All that remain is for you to run gnome-ppp as root, configure the connection and enjoy. [126000530040] |If you don't have gnome-ppp just install it using Synaptic or apt-get. [126000530050] |Open gnome-ppp as root by either creatinga desktop launcher with "gksudo gnome-ppp" as the command line or typing that into the command line your self. [126000530060] |Enter credentials ISP@CINGLARGPRS.COM for the usernameCINGULAR1 as the password*99# as the phone number. [126000530070] |Click setupClick detect to auto detect your modem (it shoudl find it as ttyACM0)Click init string andmakemake the following changes:Init 2 should read: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0Init 3 should read: AT+CGDCONT=1,"IP","isp.cingular"Close "setup" and click on connect. [126000530080] |After a sort pause at "Waiting for prompt" it should connect you. [126000530090] |Hope that helps someone else. [126000530100] |You can of course configure it to dock into the system tray too. [126000540010] |Use your Treo 650 internet connection for Ubuntu via GPRS [126000540020] |SoftwareMake sure you are running the latest versions of firmware for the Treo 650. [126000540030] |I happen to have an unlocked edition so this is very easy to fix from PalmOne. [126000540040] |I recommend going with the latest but this isnt a deal breaker. [126000540050] |I am going to assume this from a total newbie position as yes, you can use pppd or wvdial from CLI. [126000540060] |For our test we will be using Ubuntu 6.06 and Gnome-ppp. [126000540070] |To enable “tethered” mode on the Treo you maybe lucky and dial #*83843733. [126000540080] |I was unable with GSM and Cingular and instead used this software which works wonderfully. [126000540090] |If anything they also officially support Linux. [126000540100] |http://mobile-stream.com/usbmodem.html [126000540110] |HardwareThe hotsync USB cable will be all that is needed. [126000540120] |I have problems in the past plugging into an external USB hub so keep that in mind. [126000540130] |Installing SoftwareI downloaded the USB Treo program and explored the zip file. [126000540140] |I extracted the PRC to a SD-Card Code: [126000540150] |and reinserted into the Treo. [126000540160] |There was the program. [126000540170] |I clicked enable USB modem and plugged the USB hotsync cable in. [126000540180] |At this point I Code: [126000540190] |and waited for that to finish. [126000540200] |Check dmesg for ttyACM0 to ensure that the kernel did pickup the hotplug device. [126000540210] |Gnome-PPP SettingsBefore we can even start on that portion of the install lets enable a few LCP options we will need to ensure the connection stays put. [126000540220] |Code: [126000540230] |Find in the conf file: Code: [126000540240] |and change it to... [126000540250] |Code: [126000540260] |Next run Gnome-PPP from your applications menu. [126000540270] |The settings most important here will be the username and password: [126000540280] |Code: [126000540290] |Also for the phone number put: Code: [126000540300] |The final dialog box should look like this: [126000540310] |Lets digg into some of the options you may need to check to ensure this is transparent: [126000540320] |Init Strings needed: [126000540330] |Setup Dialog Box 1: [126000540340] |Setup Dialog Box 2: [126000540350] |After all is said and done. [126000540360] |Click connect! [126000540370] |You should see the gnome-ppp dock itself and lights start flashing. [126000540380] |Something to keep in mind is that if your default route is pointing to eth0/wifi0 you will need to pull those interfaces down before the ppp0 can take over. [126000540390] |Enjoy! [126000550010] |Install Tor with Vidalia GUI on Ubuntu [126000550020] |Do you want completely anonymous internet access? [126000550030] |For Free? [126000550040] |Tor is the open source leader to anonymous connections on the internet, you can anonymize your internet presence from AIM/ICQ/MSN/ Jabber/IRC/WWW/FTP and you can even issue a torify command at the command prompt to anonymize your wget/ssh/lynx/ftp/perl or whatever. [126000550050] |Basically tor is for the people by the people, it is only alive because we make it so, we can choose to use it freely or use it freely and help it out by running a server on your computer to make the internet safer. [126000550060] |Basically tor encrypts your data communications through chained/linked proxies all over the internet. [126000550070] |Vidalia is a cross-platform controller GUI for Tor, built using the Qt framework. [126000550080] |Using Vidalia, you can start and stop Tor, view the status of Tor at a glance, and monitor Tor’s bandwidth usage. [126000550090] |Vidalia also makes it easy to contribute to the Tor network by helping you set up and manage your own Tor server. [126000550100] |Vidalia runs on most platforms supported by Qt 4.1 or later, including Windows, Mac OS X, and Linux or other Unix variants using the X11 window system. [126000550110] |Here is how to set it up [126000550120] |First things first get tor. [126000550130] |I prefer to grab the latest version and compile to source but I will give you the quick and easy way. [126000550140] |This will apt get tor and the dependencies, wget vidalia, extract and cd to the directory and configure for you. [126000550150] |sudo apt-get install tor qt4-dev-tools qt4-designer [126000550160] |wget http://vidalia-project.net/dist/vidalia-0.0.14.tar.gz [126000550170] |tar zxvf vidalia-0.0.14.tar.gz [126000550180] |cd vidalia-0.0.14 [126000550190] |export QMAKE=/usr/bin/qmake-qt4 [126000550200] |./configure --disable-debug [126000550210] |Then just type [126000550220] |sudo make install [126000550230] |once installed press alt F2 and open the run prompt and type in “vidalia” without the quotes, this will start tor, vidalia and you can configure tor/vidalia by right clicking on the tray applet and click on settings, right there you can view all the nodes and choose what to connect to, see node uptimes, os’s and locations with a graphical map. [126000550240] |For secure web browsing in firefox I prefer using an extention named torbutton which you can get hereRead more on torbutton hereAlternatively you can use the less secure FoxyProxy:FoxyProxy it works well with firefox and swiftfox, you can grab this extention directly from hereInstall the addon and go through the Tor wizard and it will set you up for you and you can view which tor nodes you connect through actively via vidalia [126000550250] |I hope you enjoy my first tutorial on ubuntu privacy concerns. [126000550260] |I hope many more people use tor and set up a server to anonymize the world. [126000570010] |Easily Install Google Desktop & Picasa For Ubuntu [126000570020] |I absolutely love Google, I am a die hard google fan and use google as my homepage, if I dont know google always is my guide and google simplifies my quest to finding information I need online. [126000570030] |For a while now google has come to the desktop, first to windows, and not too long ago it came to Linux. [126000570040] |I was a fan of beagle but now I prefer google desktop, I press ctrl 2 times and search my desktop or the web without having to click a thing. [126000570050] |Here is the quick &easy howto right from the google desktop for linux page and after that I will give you a quicker terminal installation method that saves you the navigation with your mouse. [126000570060] |I also love picasa, I save all my picture albums, desktop screenshots, wallpapers and more on picasaweb. [126000570070] |Once you complete the repository instructions below, just apt-get install picasa or search synaptic or another package manager you Use. [126000570080] |

GUI Configuration on Ubuntu 7.04 (Feisty)

[126000570090] |This page will guide you through setting up an Ubuntu 7.04 (Feisty) system to use the Google Linux software repository. [126000570100] |For general information, please see the Google's Linux Software Repositories page. [126000570110] |

Key Installation and Usage

[126000570120] |Download the key from the Google Linux Package Signing Key page. [126000570130] |Choose the "Software Sources" application from the "System/Administation" menu. [126000570140] |Click the "Import Key File..." button and select the "linux_signing_key.pub" file you downloaded previously, then click "OK". [126000570150] |You should now see the "Google, Inc. Linux Package Signing Key" in the list. [126000570160] |

Package Manager Configuration

[126000570170] |In the "Software Sources" application, click the "Third-Party Software" tab, then click the "Add..." button. [126000570180] |Enter "deb http://dl.google.com/linux/deb/ stable non-free" for the "APT line:", then click "Add Source". [126000570190] |You should now see the new repository in the list. [126000570200] |Click "Close" to finish adding the repository. [126000570210] |After adding the repository, you will be warned that your software information is out-of-date. [126000570220] |Click "Reload" to finish configuring your system to use the new repository. [126000570230] |

Alternate Command Line Configuration

[126000570240] |Run these commands as root: [126000570250] |Recent versions of apt-get will automatically attempt to verify packages on download. [126000570260] |If an appropriate key is not found or if the package is corrupted, you will get a message like the following: [126000570270] |Add the following rule to /etc/apt/sources.list [126000570280] |then use apt to update then install [126000580010] |Choose the fastest Apt Repository With Synaptic [126000580020] |Downloading software from repositories can be a long and daunting task especially when you are downloading from a repository server which is far from your location. [126000580030] |It even can turn out to be an annoying experience when your downloads keeps timing out because of the bad connection between you and the mirror server. [126000580040] |Thus it is crucial for us to find the closest/fastest software repository in order to speed up the installation and upgrade process. [126000580050] |In this post I’ll show you how to get the fastest/closest repository server automatically using Synaptic. [126000580060] |Here’s how : [126000580070] |First you need to start up Synaptic. [126000580080] |Then go to Settings->Repositories. [126000580090] |Click the Download From section, and Select ‘Other‘ [126000580100] |Click “Select Best Server” button to enable synaptic to find the best and fastest repository server for you. [126000580110] |Synaptic will perform automated pinging, and It will select the fastest server based on its calculation. [126000580120] |Its nice and easy! [126000590010] |Encrypt your Files with Truecrypt & Forcefield GUI [126000590020] |*update* Truecrypt now has its own GUI, see here, This post remains for archive purposes. [126000590030] |I have always been security conscious, in todays world privacy &security is a thing of the past unless we take matters into our own hands. [126000590040] |I have used many types of encryption applications, dm-crypt, luks, cryptsetup, encfs, and truecrypt. personally I like truecrypt more than all the others simply because you can hide encrypted files in encrypted files. [126000590050] |This is a form of steganography and is a better deterrant to law enforcement than full disk encryption, with that judges and juries seem to think you are indeed hiding something and you should be punished. [126000590060] |I found this powefull little applet for gnome that complements truecrypt very nicely. [126000590070] |I can simply right click &and create &mount truecrypt volumes. [126000590080] |This is all you do: [126000600010] |125 Nautilus Scripts To Simplify Nautilus [126000600020] |Here is a collection of 125 Nautilus scripts you can use to simplify your Nautilus experience, from simply creating a blank text file, to converting, creating, and encoding video. [126000600030] |Check it out: [126000600040] |Open up a terminalcd ~/.gnome2/nautilus-scriptswget http://g-scripts.sourceforge.net/nautilus-scripts.tar.gztar zxvf nautilus-scripts.tar.gzAnd thats itFeel Free to add/remove whatever you do not need, also a few scripts "may" be outdated. [126000600050] |.|-- Archiving| |-- Compress__.bz2_| |-- Compress__.gz_| |-- Decompress| |-- archiver-unarchiver| |-- gnome-archive| |-- super-extractor| `-- unrar|-- Execute| |-- Open Terminal Here| |-- Play in XMMS| |-- XMMS| |-- command_prompt_here| |-- gedit| |-- ghex| |-- glimmer| |-- gnome2-terminal-here| |-- root-nautilus-here| |-- root-terminal-here| |-- run| |-- terminal-here| |-- xemacs| |-- xine| `-- xsu-terminal-here|-- File Info| |-- FileUsedBy| |-- Search Here| |-- Show MD5 Sum| |-- Show_Parameters| |-- filetype| |-- ggrep| |-- gtk-du| |-- gtk2-du| |-- gtk2-grep| |-- mimetype| `-- wordcount|-- File Processing| |-- Mail In Evolution| |-- New Text Document| |-- concatenate| |-- dos2unix| |-- doublespace| |-- latex| |-- latex2ps| |-- mail_file| |-- mail_file2| |-- maker| |-- new-text-document| |-- pdf2ps| |-- pixdir2html.pl| |-- pprint| |-- print| |-- print_with_openoffice| |-- ps2pdf| |-- scp2host| |-- scp_to_host| |-- search_n_replace| |-- secure copy| `-- superexec.py|-- File System Management| |-- Get Photos| |-- Junksorter.pl| |-- Make Link| |-- QuickBurn| |-- Search Here| |-- UnExec| |-- burn_dir| |-- burn_iso| |-- change_name| |-- chmod| |-- chmog| |-- copyhome| |-- junksorter| |-- linker| |-- lowercase| |-- mount_loopback| |-- moveup| |-- set_exec| |-- set_read_only| |-- shredder| `-- uppercase|-- Multimedia| |-- Create_Thumbnail| |-- Naudilus| |-- Play_in_XMMS| |-- Queue to XMMS| |-- Show Digital Photo EXIF data| |-- XMMS_Enqueue| |-- convert_to_jpeg| |-- convert_to_png| |-- create-vcd| |-- dv_to_mpg| |-- mirror_jpg| |-- queue_to_xmms| |-- rotate| |-- rotate_image| |-- rotate_jpg_left| |-- rotate_jpg_right| |-- scale_image| |-- scale_image_to_sizes| |-- slideshow| `-- watermark|-- Obsolete| |-- RPM-install-update| |-- bzip2| |-- converter| |-- create-zip| |-- create_file| |-- create_targz| |-- gb-unzip| |-- gzip| |-- mail_image| |-- mailinbalsa| |-- to_upper| `-- uncompress_all`-- System Configuration |-- Debian_Package |-- Hide or Show Hidden Files |-- Install to Palm |-- Install_Galeon_Theme |-- Query_RPM |-- RPM-install-update |-- RPM-tools |-- Set image as Wallpaper |-- Set_as_Directory_Icon |-- Set_as_Wallpaper |-- Show_Directory_Metafile |-- archiver-config |-- install_rpm |-- make-nautilus-script |-- make_launcher |-- pseudo-nautilus `-- pynautilus [126000610010] |GUI CPU Speed Selector [126000610020] |So, recently I saw an article about using the "cpufreq-selector" utility to set the CPU scaling speed of my Core 2 Duo. [126000610030] |As a person who likes simplicity, I decided it might be useful to have a graphical interface for Ubuntu users who prefer to avoid the command prompt. [126000610040] |Here's what I came up with. [126000610050] |First, Ubuntu installs Zenity by default. [126000610060] |Zenity is a utility which allows you to integrated graphical elements into shell scripts. [126000610070] |Using Zenity, one could create a selection dialog which allows the user to choose the SpeedStep frequency for their CPU. [126000610080] |Here's how: [126000610090] |1. Open a new instance of gedit (Applications->Accessories->Text Editor). [126000610100] |2. Enter the following code: [126000610110] |Code: [126000610120] |#!/bin/bashCURRENT=`cat /proc/cpuinfo | grep "^cpu MHz.*" | awk -F": " '{print $2}' | sed 's@\.@@g' | uniq`if [ "${CURRENT}" == "1000000" ] ; then SETA='TRUE'; SETB='FALSE'; SETC='FALSE';fiif [ "${CURRENT}" == "1333000" ] ; then SETA='FALSE'; SETB='TRUE'; SETC='FALSE';fiif [ "${CURRENT}" == "1667000" ] ; then SETA='FALSE'; SETB='FALSE'; SETC='TRUE';fians=$(zenity --list --text "Select CPU Speed" --radiolist --column "" --column "Speed" ${SETA} "1.0 GHz" ${SETB} "1.33 GHz" ${SETC} "1.67 GHz") ;VALUE=1000000if [ "${ans}" == "1.0 GHz" ] ; then VALUE=100000;fiif [ "${ans}" == "1.33 GHz" ] ; then VALUE=1333000;fiif [ "${ans}" == "1.67 GHz" ] ; then VALUE=1667000 ;figksu "cpufreq-selector -f ${VALUE}" [126000610130] |3. Save the new file as "cpuScaler" and give the file execute permissions. [126000610140] |4. Review your CPU steppings for you particular computer. [126000610150] |My computer has 3 settings of 1, 1.3, and 1.66 GHz. [126000610160] |Yours may differ, but you should easily be able to figure it our using cpufreq-selector and looking at the contents of /proc/cpuinfo. [126000610170] |5. Modify the steppings to suit your computer. [126000610180] |Resources:Original Post [126000630010] |Using Google Calendar, Thunderbird and Lighting to full effect [126000630020] |One of the best apps available on Windows is MS Outlook, as a complete suite of apps to organize your life, with Mail, to do lists and a calendar application, which allows for scheduling of meetings, and your time, which will communicate happily with your Windows Mobile or Smartphone Device. [126000630030] |Allowing you to know what you are doing while both at your PC or away from it. [126000630040] |However, being a commercial application, this can be quite a pricey solution, especially, if your are looking for these features to manage yourself, or maybe just a few others. [126000630050] |However it is possible to archive similar results using Windows, or Linux for free. [126000630060] |Being the owner of an Orange M600 Smartphone, and a Linux user, I spent a long time looking over the Internet, as the best way to get the information shared between my Desktop and my PDA phone. and although there are projects out there , SynCE springs to mind, they are not easy to setup. [126000630070] |So I thought i would look at a different way of resolving the issue.. [126000630080] |As always, this is not the only way, its just my way. [126000630090] |Issue [126000630100] |
  • Cross Platform Calendar Connectivity Windows, Linux, Windows Mobile
  • [126000630110] |
  • Easy to use
  • [126000630120] |How I managed it. [126000630130] |The key to my resolution is Google Calendar, which can be accessed easily enough, especially if you already have a gMail account. [126000630140] |If however you don’t have a gMail account, you can create your self a Google Account here, which will give you access to the Calendar functionality. [126000630150] |Its pretty self explanatory. [126000630160] |Once this is setup, its time to look at your mail client, obviously you could just use google calendar, via the web browser in Windows or Linux, but it doesn’t display to well on a PDA.. [126000630170] |Also the aim here, is to emulate some of the functionality of Outlook, which allows you to have access to multiple mail accounts in one location. [126000630180] |The Email Client [126000630190] |The software I use is Thunderbird, Its my preferred Mail client, as i use both POP and IMAP based mail accounts, this mail client doesn’t however come with any built in calendar function, which is a reason, so many people berate it, and state that “calendar functionality is required before this app can move forward”. [126000630200] |One of Thunderbirds strengths however, is, like its cousin Firefox, it works on a plugin system. [126000630210] |That is, people have written third party modules, which can be used to enhance the functionality of Thunderbird. [126000630220] |And I use 2 of these plugins: [126000630230] |
  • Lightning
  • [126000630240] |
  • Provider for Google Calendar
  • [126000630250] |Quite simply, Lightning provides a calendar interface for Thunderbird, its part of the Mozilla Sunbird project, and helps provide the Schedule interface which standalone Thunderbird is missing. [126000630260] |Setup The Plugins [126000630270] |The magic here, however is the Provider for Google Calendar plugin, which, unlike just adding the necessary links to Thunderbird, to access Google Calendard, not only provides read access, it provides write access as well.. [126000630280] |Install both plugins, and restart Thunderbird, you will then be shown, a Calendar in the left pane, this calendar has 3 tabs Agenda, Todo and Calendars. [126000630290] |To setup Google Calendar, click on the Calendar tab. [126000630300] |Click on the New Button, in the Calendar Tab, and you will be given a choice, you need to select, On the Network. [126000630310] |Click on Next, there is an option for Google Calendar, select this. [126000630320] |In the Text bar under the Google Calendar you will need to enter the Link URL which allows you to write to your Account, you can find this, buy logging into the Google Calendar account you created earlier. [126000630330] |Create a new Calendar, or if you already have a celedar created, click on the down arrow next to the calendar. [126000630340] |And click on Share this Calendar. [126000630350] |You will be taken to a new page, where you will need to click on Calendar Details on the top of this page. [126000630360] |Then Select the XML button, next to the Private Address, this will allow you the read/write access to the calendar, if you need read only access, or wish to share calendards with read only access, use the XML button next to the Public Tab. [126000630370] |When you click on the XML button a URL will be displayed (i’ve edited the whole strin below for security reasons) Copy this URL , and paste it into the Thunderbird Text box, then click on Next. [126000630380] |Give the Calendar a name which you will use in Thunderbird to identify this calendar, and choose a colour, this is the colour which will identify your Google Calendar, if you are using multiple calendars. [126000630390] |Then CLick on Next and then Finish. [126000630400] |You will then see your calendar listed as available. you should now be able to add an event in either Thunderbird, or the wEb Interface, and both will update to show the events. [126000630410] |You can set reminders, repeat events, and all the usual type of Schedule details. [126000630420] |Sync the PDA [126000630430] |The next step is to sync the Calendar with the PDA, this is done using the GMobileSync app for Windows Mobile or Smartphones. it requires .NET CF 2.0 which is available for download from the site, and provides not only read access to they Google Calendar, it also provides write access. [126000630440] |This means as well as having PDA based access to your existing schedule, you can provide updates from your PDA to your calendar too. [126000630450] |The application requires your login ID and password for the Google Calendar site. and works as far as i’m aware over both Wifi and GPRS networks, however i will confess, with UK prices as they are for Data over GPRS i’ve only tried Wifi. [126000630460] |The Sync is a manual operation, and not automatic (yet) [126000630470] |Final Thoughts? [126000630480] |So what do we have? quite simply a free, Open source based Mail and personal schedulling system, which can be accessed, over muliple platforms, Windows Mobile, Windows and Linux (not sure about OSX). [126000630490] |Providing access to multiple mail accounts, using POP or IMAP. [126000630500] |Read/Write Calendar access on Desktop, Laptop or PDA.. [126000630510] |There is also ToDo list functionality available. and all this can be accessed via a Web Interface. [126000630520] |Now thats value for money.. [126000630530] |Now if i could get this working with Open Xchange as well… bye bye M$ Exchange.. [126000630540] |Resources:Original Post [126000640010] |VirtualBox 1.50 Virtualization Solution [126000640020] |There is a new version of virtual box out, I love this freeware virtualization solution that is less bloated and more efficient then Vmware. [126000640030] |You really dont need any help installing this and running this, it has the simplest gui ever as you see above. [126000640040] |It comes with full documentation, check it out! [126000640050] |Direct download:VirtualBox 1.5.0 for Linux Hosts: [126000640060] |
  • Ubuntu 7.04 ("Feisty Fawn") i386 | AMD64
  • [126000640070] |ChangeLog [126000640080] |VirtualBox 1.5.0 (released 2007-09-03) [126000640090] |
  • Major: Seamless windows
  • [126000640100] |
  • Major: Virtual serial ports
  • [126000640110] |
  • Major: Support for 64-bit Windows hosts
  • [126000640120] |
  • Major: Intel PXE 2.1 network boot
  • [126000640130] |
  • Major: Guest Additions for IBM OS/2 Warp
  • [126000640140] |
  • GUI: sometimes two mouse cursors were visible when Windows guest additions became active
  • [126000640150] |
  • GUI: added VT-x/AMD-V settings
  • [126000640160] |
  • GUI: disable 'Show log...' menu entry to prevent crash if VM list is empty
  • [126000640170] |
  • GUI: the log window grabbed the keyboard
  • [126000640180] |
  • GUI: fixed error handling if Linux host clipboard initialization fails
  • [126000640190] |
  • GUI: pass the Pause key and the PrtScrn key to the guest (Linux hosts)
  • [126000640200] |
  • GUI: increased maximum guest RAM to 2 GB (Windows host)
  • [126000640210] |
  • GUI: improved rendering performance (Windows host)
  • [126000640220] |
  • GUI: status lights for USB and shared folders
  • [126000640230] |
  • GUI: properly respect the DISPLAY environment variable
  • [126000640240] |
  • GUI: download Guest Additions from virtualbox.org in case they are not present locally
  • [126000640250] |
  • VRDP: support for multimonitor configurations in Windows guests
  • [126000640260] |
  • VRDP: support for MS RDP6 and MS RDP Mac clients
  • [126000640270] |
  • VRDP: added support for WinConnect RDP client
  • [126000640280] |
  • VRDP: performance improvements
  • [126000640290] |
  • VRDP: fixed sporadic client disconnects
  • [126000640300] |
  • VBoxManage: never delete existing target during clonevdi
  • [126000640310] |
  • VBoxManage: properly print the size of currently used hard disks
  • [126000640320] |
  • VMM: fixed Xandros Desktop 4.1 hang
  • [126000640330] |
  • VMM: fixed VT-x/AMD-V hang with newer versions of gcc (Linux hosts)
  • [126000640340] |
  • VMM: improved stability of VT-x
  • [126000640350] |
  • VMM: check for disabled AMD-V when detecting support
  • [126000640360] |
  • VMM: fixed AMD-V issue when running OS/2 guests
  • [126000640370] |
  • VMM: fixed application startup regressions (e.g. VideoReDo)
  • [126000640380] |
  • VMM: fixed regression that broke disk access in OS/2 and OpenBSD guests (possibly much more)
  • [126000640390] |
  • VMM: fixed crashes if memory allocation failed (Linux)
  • [126000640400] |
  • VMM: fixed enabling of Local APIC on AMD hosts (fixed Ubuntu Feisty installation kernel hang during boot)
  • [126000640410] |
  • VMM: fixed XFree86 4.3 (Debian/Sarge) segfaults when switching to text mode
  • [126000640420] |
  • VMM: refuse to start when KVM is active (Linux Host)
  • [126000640430] |
  • VMM: fixed bootup hangs with ReactOS
  • [126000640440] |
  • VMM: fixed out-of-memory errors under certain environments with enough appropriate memory available
  • [126000640450] |
  • API: fixed occassional crashes of the VBoxSVC server during VM shutdown (Linux host)
  • [126000640460] |
  • API: some components were not notified when mounting a CD/DVD
  • [126000640470] |
  • VMDK: improve geometry compatibility with existing VDMK images
  • [126000640480] |
  • IDE/Floppy: optionally make non-available host device non-fatal
  • [126000640490] |
  • IDE: improve emulation accuracy of the IRQ line between master and slave drive
  • [126000640500] |
  • IDE: guest could freeze when unmounting the CD/DVD drive
  • [126000640510] |
  • VGA: several text mode fixes in particular with Windows DOS boxes
  • [126000640520] |
  • USB: fixed some issues with Windows hosts
  • [126000640530] |
  • USB: fixed race condition between udev and USB filters (Linux host)
  • [126000640540] |
  • Shared Folders: reversed network provider order to increase mapping performance (Windows guest)
  • [126000640550] |
  • Shared Folders: browsable from Windows Explorer (Windows guests)
  • [126000640560] |
  • Shared Folders: stability fixes (Windows guest)
  • [126000640570] |
  • Shared Folders: case sensitivity fixes (Windows guest and Linux host)
  • [126000640580] |
  • Audio: fall back to the NULL audio driver if no voice could be opened
  • [126000640590] |
  • NAT: fixed crash
  • [126000640600] |
  • Guest Additions: reworked the shared clipboard for Linux hosts and guests based on user feedback about problems with individual applications
  • [126000640610] |
  • Guest Additions: don't allow to disable mouse pointer integration for Linux guests as an Xorg hardware mouse cursor cannot be turned into a software mouse cursor
  • [126000640620] |
  • Guest Additions: Linux guests shipping Xorg 1.3 (e.g. Fedora 7, Ubuntu Gutsy) are now supported
  • [126000640630] |
  • Guest Additions: added DirectDraw support to the Windows display driver
  • [126000640640] |Type rest of the post here [126000650010] |Enable Sudo insults for some laughs! [126000650020] |I recently found a fun feature available within the sudo program that will insult you when you do the wrong thing such as enter your password incorrectly. [126000650030] |I’ll tell you how you can activate the feature for a few laughs and also give a few examples of what insults you might get. [126000650040] |To turn the feature on you’ll need to use the following command: [126000650050] |sudo visudo [126000650060] |(always use visudo when you need to edit your sudoers file as it has a self-check system that won’t let you screw it up.) [126000650070] |Find the line that begins with Default and append insults to the end. [126000650080] |(Any addition to that line is comma separated.) [126000650090] |Your entry will then look like this: [126000650100] |Defaults !lecture,tty_tickets,!fqdn,insults [126000650110] |Save the file and you’ll notice the next time you screw up your sudo password you’ll get an insult. [126000650120] |Note: to clear your sudo session and be required to enter the password again try: [126000650130] |sudo -K [126000650140] |A few examples below: [126000650150] |Maybe if you used more than just two fingers… [126000650160] |I have been called worse. [126000650170] |Listen, burrito brains, I don’t have time to listen to this trash. [126000650180] |Have fun :) [126000660010] |HowTo: Speed up ubuntu boot process - the way you can feel it. [126000660020] |I found this great howto via the forums and I want it on my site :) [126000660030] |This HowTo is for those who complaint ubuntu boot-up speed is pretty slow but not willing to install any alternative tools to speed up. [126000660040] |The way I use here is not the altimate solution by any means but it does make differences and it does work. [126000660050] |Everything done below is by tuning the boot process itself and because everyone's computer might be different, there is a little risk that something below might break your system. [126000660060] |Take your own judgment before you perform a change and always good to do a backup for the /etc dir. [126000660070] |**This HowTo is mainly for laptops and desktops, not for servers.** [126000660080] |Due to Ubuntu Edgy Eft (6.10) is using upstart to manage the init process and it already has reducing boot time built in mind, many things have been changed. [126000660090] |This thread is mainly for any ubuntu version older than 6.10. [126000660100] |For how to customize upstart, please refer to upstart threads in this forum. [126000660110] |The following is a very interesting and useful WiKi on how to further speed up the boot process by taking out some useless bootup/shutdown processes... [126000660120] |wiki.ubuntu.com/Teardown [126000660130] |Suggestions for this HowTo:1. I hope you learn something from here but not just a simple copy. [126000660140] |So please, **DO NOT** follow exactly what I did and copy to your box. [126000660150] |Read the descriptions of services and use your own judgment to determine if you need to keep them on or not. [126000660160] |For instance, I turned GDM off on mine to boot to console, but if you do not feel confortable to see console at all, you should keep GDM or KDM on to boot directly to GUI. [126000660170] |2. If you have a question about a boot up service and not really sure what it does, post a question here and see if anybody can help you. [126000660180] |Ask before you do if you don't know. [126000660190] |The bottom line to be safe is to leave a service on rather than turn it off if you do not understand. [126000660200] |3. If you see a boot up service that you have but not in here, let us know what it does just like what I did here - give some descriptions and suggestions on whether it should be on or off on a normal laptop or desktop environment. [126000660210] |Color reference : service I turned on service I turned off [126000660220] |Screen shots contrib'ed by domino for the initial bootup settings. [126000660230] |A great reference for those who mess up on runlevels... [126000660240] |Thanks!! [126000660250] |Page 1: [126000660260] |Page 2: [126000660270] |I. Install a tool - sysv-rc-conf. [126000660280] |It is a perl based boot process adjustment tool. [126000660290] |Code: [126000660300] |It gives you a way to esaily config the boot process and runlevel configuration, but its not necessary if you want to do it manually by linking/unlinking the files... [126000660310] |Its up to you. [126000660320] |II. [126000660330] |Ok, that's all we need. [126000660340] |Now let's fire it up by Code: [126000660350] |and analyze each service one by one. **Note:** Some services I have here you might not have, perfectly ok. [126000660360] |If some you have but I don't, then you will need to investigate on your own or ask here... [126000660370] |But this HowTo should cover most of them... [126000660380] |Throw a littel bit of runlevel knowledge here before we start messing them up.... [126000660390] |All the boot processes are executed in sequence as following:runlevel S: the first runlevel in boot process. /etc/init.d/rcS script will be invoked to start and all the processes underneath /etc/rcS.d will be executed.runlevel 1: the single user mode. [126000660400] |All processes underneath /etc/rc1.d will be executed.runlevel 2,3,4,5: in debain system, the multi-user env, may not may not include GUI. [126000660410] |The same, processes under each of the corresponding dirs will be run. **Note** this is different than RedHat, SuSE, and other RPM based systems.runlevel 0: computer shutdown.runlevel 6: computer reboot. [126000660420] |ok, back to sysv-rc-conf: [126000660430] |1. acpi-support - You'd better leave it on the default runlevel. [126000660440] |The default is 2,3,4,5. [126000660450] |2. acpid - The acpi daemon. [126000660460] |These two are for power management, quite important for laptop and desktop computers, so leave them on. [126000660470] |The default is 2,3,4,53. alsa - If you use alsa sound subsystem, yes leave it on. [126000660480] |But if you have the service below, its safe to be off. [126000660490] |The default is off when alsa-utils is on. [126000660500] |4. alsa-utils - On my system, this service supercedes the alsa, so I turn off the alsa and turn this on at S level. **Note**, I mean "turn off" is to remove all "X" at all runlevels. [126000660510] |If you don't have it on your system, no problem. [126000660520] |Just keep going. [126000660530] |The default is S runlevel. [126000660540] |5. anacron - A cron subsystem that executes any cron jobs not being executed when the time is on. [126000660550] |Most likely you've probably turned your computer off when a certain cron job time is ready. [126000660560] |For example, updatedb is scheduled at 2am everyday, but at that moment, you computer is off, then if anacron service is on, it will try to catch up that updatedb cron... [126000660570] |I turn it off cause it didn't turn my laptop off very offen, but its totally up to you for this one. [126000660580] |The default is 2,3,4,56. apmd - This is the one that confused me a quite bit. [126000660590] |I have acpid on already and what's the benefits of having apmd on too? [126000660600] |If you computer is not that old which can't even support acpi, then you may try to turn this off. [126000660610] |I did anyway. [126000660620] |The default is 2,3,4,57. atd - like cron, a job scheduler. [126000660630] |I turned it off. [126000660640] |The default is 2,3,4,58. binfmt-support - Kernel supports other format of binary files. [126000660650] |I left it on. [126000660660] |The default is 2,3,4,59. bluez-utiles - I turned it off. [126000660670] |I don't have any bluetooth devices. [126000660680] |The default is 2,3,4,510. bootlogd - Leave it on. [126000660690] |The default is S.11. cron - Leave it on. [126000660700] |The default is 2,3,4,512. cupsys - subsystem to manager your printer. [126000660710] |I don't have so I turned it off, but if you do, just leave it on. [126000660720] |The default is 2,3,4,513. dbus - Message bus system. [126000660730] |Very important, leave it on. [126000660740] |The default is 2,3,4,514. dns-clean - Mainly for cleaning up the dns info when using dial-up connection. [126000660750] |I don't use dial up, so I turn it off. [126000660760] |The default is S.15. evms - Enterprise Volumn Management system. [126000660770] |I turned it off. [126000660780] |The default is S.16. fetchmail - A mail receving daemon. [126000660790] |I turned it off. [126000660800] |The default is 2,3,4,517. gdm - The gnome desktop manager. [126000660810] |I turned it off anyway since I get use to boot to console first. [126000660820] |This is up to you if you want to boot directly to GUI. [126000660830] |The default is 2,3,4,518. gdomap - Actually I have no idea why this one should on. [126000660840] |I didn't see any other systems have this daemon, so I turned it off and I don't feel I lose anything. [126000660850] |Any benefits to have it on a loptop or desktop? [126000660860] |The default is 2,3,4,519. gpm - Mouse support for console. [126000660870] |If you feel you'd better have a mouse on console, go turn it on at runlevel 1 and 2. [126000660880] |That's all you need. [126000660890] |The default is 2,3,4,520. halt - Don't change it. [126000660900] |The default is 0. [126000660910] |21. hdparm - tuning harddisk script. [126000660920] |I removed the 2,3,4,5 runlevel but add it to S runlevel. [126000660930] |I feel that opening DMA, 32bit I/O, etc eariler will benefit the rest of the processes. [126000660940] |Also I changed the original script to a very simple one that I made myself. [126000660950] |I feel useless to put all those redundant checks if I know what I am doing. [126000660960] |The configuration file is /etc/hdparm.conf. [126000660970] |The default is 2,3,4,522. hibernate - If your system support hibernate, leave it on. [126000660980] |Otherwise, its useless for you. [126000660990] |The default is S.23. hotkey-setup - This daemon setup some hotkey mappings for Laptop. [126000661000] |Manufacturers supported are: HP, Acer, ASUS, Sony, Dell, and IBM. [126000661010] |If you have a laptop in those brands, you can leave it on, otherwise, this might not have any benefits for you. [126000661020] |The default is 2,3,4,524. hotplug and hotplug-net #activating hotplug subsystems takes time. [126000661030] |I'd consider to turn them off. [126000661040] |I did some changes in my /etc/network/interfaces file. [126000661050] |Instead of mapping my wireless card during hotplug process, I set it up to auto. [126000661060] |So I can turn them off. [126000661070] |I've tested even I turned them off, ubuntu can still detect my usb driver, my digital camera, etc. [126000661080] |So I think its pretty safe to turn them off. **Note** If you find your sound card doesn't work after turning hotplug service off, you can turn it back. [126000661090] |Or edit /etc/modules file to add your sound card's driver module. [126000661100] |Tested out the later one is faster. [126000661110] |The default is S.25. hplip - HP printing and Image subsystem. [126000661120] |I turned it off. [126000661130] |The default is S.26. ifrename - network interface rename script. [126000661140] |Sounds pretty neat but I turned it off. [126000661150] |Mainly for managing multiple network interfaces names. [126000661160] |Since I have a wireless card and an ethernet card, they all assigned eth0 and ath0 from kernel, so its not really useful for me. [126000661170] |The default is S.27. ifupdown and ifupdown-clean - Leave it on. [126000661180] |They are network interfaces activation scripts for the boot time. ifupdown default is 0,6,S and ifupdown-clean is S.28. inetd or inetd.real - take a look your /etc/inetd.conf file and comment out any services that you don't need. [126000661190] |If there aren't any services there, then its very safe to turn them off. [126000661200] |The default is 2,3,4,529. klogd - Leave it on. [126000661210] |The default is 2,3,4,530. laptop-mode - A service to tweak the battery utilization when using laptops. [126000661220] |You can leave it on. [126000661230] |The default is 2,3,4,531. linux-restricted-modules-common - You need to see if you really have any restricted modules loaded on your system. [126000661240] |Since I need madwifi ath_pci module, so I left it on. [126000661250] |The restricted modules can be found from /lib/linux-restricted-modules. [126000661260] |If you find that you are not using any of the restricted modules, then its ok to turn it off. [126000661270] |The default is 0,6, and S.32. lvm - I don't use it so I turned it off. [126000661280] |Leave it on if you *DO* have lvm. [126000661290] |The default is S.33. makedev - Leave it on. [126000661300] |The default is 2,3,4,534. mdamd - Raid management tool. [126000661310] |I don't use it so I turned it off. [126000661320] |The default is 2,3,4,535. mdamd-raid - Raid tool. [126000661330] |If you don't have Raid devices, turn it off. [126000661340] |The default is S.36. module-init-tools - Load extra modules from /etc/modules file. [126000661350] |You can investigate your /etc/modules file and see if there is any modules that you don't need. [126000661360] |Normally, this is turned on. [126000661370] |The default is S.37. mountvirtfs - mount virtual filesystems. [126000661380] |Leave it on. [126000661390] |The default is S.38. networking - bring up network interfaces and config dns info during boot time by scaning /etc/network/interfaces file. [126000661400] |Leave it on. [126000661410] |The default is 0,6,S39. ntpdate - Sync time with the ubuntu time server. [126000661420] |The default is S. QUOTED: "If you are dual-booting with Windows, it is probably a good idea to leave ntpdate on. [126000661430] |Windows can only deal with the hardware clock set to local (not UTC) and Linux needs ntpdate to correct this, otherwise your clock will increase an hour everytime you boot into Linux from Windows." [126000661440] |Thanks dejitarob for the update!! [126000661450] |I don't have dual boot, so I turned it off, but if you have multiple systems, suggestion is to turn it on. [126000661460] |40. nvidia-kernel - I compiled the nvidia driver by myself, so its useless for me now. [126000661470] |If you use the ubuntu nvidia driver from the restrict modules, just leave it on. [126000661480] |The default is 1,2,3,4,541. pcmcia - Active pcmcia device. [126000661490] |I changed it to start on 0,6,S runlevel instead of on each 2,3,4,5 cause I feel its better to have hardware device ready at first. [126000661500] |Also, useless if you are using desktop which doesn't have pcmcia card. [126000661510] |So in that case, turn it off please. [126000661520] |The default is 2,3,4,542. portmap - daemon for managing services like nis, nfs, etc. [126000661530] |If your laptop or desktop is a pure client, then turn it off. [126000661540] |The default is 2,3,4,5,0,6,S43. powernowd - client to manage cpufreq. [126000661550] |Mainly for laptops that support CPU speed stepping technology. [126000661560] |Normally, you should leave it on if you are configuring a laptop, but for desktop, it might be useless. [126000661570] |The default is 2,3,4,544. ppp and ppp-dns - Useless to me. [126000661580] |I don't have dial-up. [126000661590] |The default for ppp is 2,3,4,5 and pppd-dns is S.45. readahead - **Thanks mr_pouit!** It seems readahead is a kind of "preloader". [126000661600] |It loads at startup some libs on memory, so that some programs will start faster. [126000661610] |But it increases startup time for about 3-4 seconds. [126000661620] |So, you can keep it... or not . **update**, I tested and I just didn't feel difference loading programs. [126000661630] |So I decided to turn it off. [126000661640] |If you have a reason to keep it on, please do so. [126000661650] |The default is S46. reboot - Don't change it. [126000661660] |The default is 647. resolvconf - Automatically configuring DNS info according to your network status. [126000661670] |I left it on. [126000661680] |The default is S.48. rmnologin - Remove nologin if it finds it. [126000661690] |It wouldn't happen on my laptop, so I got rid of it. [126000661700] |The default is 2,3,4,549. rsync - rsync daemon. [126000661710] |I don't use it on my laptop, so turned it off. [126000661720] |The default is 2,3,4,550. sendsigs - send signals during reboot or shutdown. [126000661730] |Leave it as it is. [126000661740] |The default is 0,651. single - Active single user mode. [126000661750] |Leave it as it is. [126000661760] |The default is 152. ssh - ssh daemon. [126000661770] |I need this so I turned it on. [126000661780] |The default is 2,3,4,553. stop-bootlogd - stop bootlogd from 2,3,4,5 runlevel. [126000661790] |Leave it as it is. [126000661800] |The default is 2,3,4,554. sudo - check sudo stauts. [126000661810] |I don't see any good to run it everytime on a laptop or desktop client, so I turned it off. [126000661820] |The default is S55. sysklogd - Leave it as it is. [126000661830] |The default is 2,3,4,556. udev and udev-mab - Userspace dev filesystem. [126000661840] |Good stuff, I left them on. [126000661850] |The defaults are all S runlevels. [126000661860] |57. umountfs - Leave it as it is. [126000661870] |The default is 0,658. urandom - Random number generator. [126000661880] |Might not useful but I left it on. [126000661890] |The default is 0,6,S59. usplash - Well, if you really want to see the nice boot up screen, leave it as it is. [126000661900] |I just turned it off anyway. [126000661910] |If you want to turn it off, you also need to edit /boot/grub/menu. lst file to comment out the splashimage line and get rid of the splash kernel boot option. [126000661920] |The default is 2,3,4,560. vbesave - video card BIOS configuration tool. [126000661930] |Its able to save your video card status. [126000661940] |I left it on. [126000661950] |The default is 2,3,4,561. xorg-common - setup X server ICE socket. [126000661960] |I moved it from starting at runlevel S to runlevel 2,3,4,5. [126000661970] |Since I don't need this if I boot to single user mode. [126000661980] |This way it wouldn't occupy time during the initial booting. [126000661990] |The default is 2,3,4,5============ My bootup services end up here============ [126000662000] |============ Some services from others================62. adjtimex - This is a kernel hw clock time adjusting too. [126000662010] |Normally, you shouldn't see this on your boot up list. [126000662020] |In very rare case if you do see its on your boot up process, then there might be a reason why it is on, so better leave it that way. [126000662030] |In my case, it is off. [126000662040] |63. dirmngr - A certification lists management tool. [126000662050] |Work with gnupg. [126000662060] |You will have to see if you need it or not. [126000662070] |In my case, I turned it off. [126000662080] |Default runlevel 2,3,4,564. hwtools - A tool to optimize irqs. [126000662090] |Not sure what's the benefits of turning it on. [126000662100] |In my case, I turned it off. [126000662110] |65. libpam-devperm - A daemon to fix device files permissions after a system crash. [126000662120] |Sounds pretty good, so I left it on. [126000662130] |66. lm-sensors - If you matherboard has builtin some sensor chips, it might be helpful to see hw status via userspace. [126000662140] |I ran it and it said "No sensors found", so I turned it off. [126000662150] |67. screen-cleanup - A script to cleanup the boot up screen. [126000662160] |Well, turn on or off is up to you. [126000662170] |In my case, I left it on. [126000662180] |The default is S68. xinetd - A inetd super daemon to manage other damons. [126000662190] |In my system, the xinetd is managing chargen, daytime, echo and time (find them from /etc/xinetd.d dir), I care none of them, so I turned it off. [126000662200] |If you do have some important services configured under xinetd, then leave it on. [126000662210] |III. [126000662220] |Alter the /etc/inittab file Code: [126000662230] |then comment out tty4,tty5, and tty6. [126000662240] |Just leave tty1, tty2, and tty3. [126000662250] |Three vts should be enough for a laptop or desktop user. [126000662260] |Save the file. [126000662270] |IV. [126000662280] |Ok, now, we can reboot our box and see how it goes. [126000662290] |From what I've tested, before I got tons of services stopped, the whole process is about 85 secs to 90 secs to boot to console. [126000662300] |(At that time, I also has samba and nfs services turned on which I shouldn't. Apparently, I turned them off too). [126000662310] |After this change, the whole boot up process took about 50 secs. [126000662320] |I have a P4M 1.8G CPU laptop. [126000662330] |Some of the high-end desktops or laptops should take even less time. [126000662340] |**UPDATE**: speed up/clean system reboot or shutdown process. [126000662350] |1. start sysv-rc-conf by issuing: Code: [126000662360] |2. ok, open your eyes and look very carefully for those SERVICES THAT DO NOT HAVE A "X" ON ANY RUNLEVELS (Any runlevel means 1,2,3,4,5,6, and S), write them down one by one. [126000662370] |Don't make mistakes here. [126000662380] |Double check after you've done. [126000662390] |Thanks ice60 for wording recommendation! [126000662400] |3. quit sysv-rc-conf. [126000662410] |4. Code: [126000662420] |- This is for the system shutdown process. [126000662430] |5. ok, now, Code: [126000662440] |will list all links starting from UPPERCASE letter "K". [126000662450] |Compare with your list, change each of the filename containing the service name in your list to start from a lowercase "k". [126000662460] |For example, in your list, you have ppp service (which means ppp is turned off at all runlevels), then you can do like: Code: [126000662470] |. [126000662480] |You just change the UPPERCASE K to lowercase k, keep the rest the same. [126000662490] |Do this on all of the services in your list. [126000662500] |6. Code: [126000662510] |- This is for the system reboot process. [126000662520] |7. ok, you should see similar things here too. [126000662530] |So do the same thing here as you did on rc0.d.8. [126000662540] |Now, you reboot and shutdown process should be cleaned up and faster. [126000662550] |The explanation for what you did is pretty simple. [126000662560] |The /etc/rc and /etc/rcS scripts run start on each link on each runlevel by scaning if it is starting with a UPPERCASE "S" and run stop on each by scaning if it is starting with a UPPERCASE "K". [126000662570] |So for reboot and shutdown runlevels, the most thing we care is the "K" links cause for those services not running on all runlevels, its just not needed to stop them. [126000662580] |They are not runing at all. [126000662590] |If some day you want to turn some of the services back on, just change the lowercase "k" to UPPERCASE "K". [126000662600] |That's all. [126000662610] |Anyway, it is not intend to work on servers, but I did try on one of my servers has 2.7G P4 and 1.5G mem. [126000662620] |It brought the boot process down to 31 secs. [126000662630] |I calc'ed it with my watch. [126000662640] |Besides, this is with my ftp server and nfs server started on boot time. [126000662650] |**Note**For all of those that having HAL failure problem, try this:1. change acpi-support from S to 2,3,4,52. change acpid from S to 2,3,4,53. change dbus from S to 2,3,4,54. [126000662660] |Reboot. [126000662670] |Go to the console and do Code: [126000662680] |. [126000662690] |If hald service is up, then your dbus subsystem is running fine now. [126000662700] |Try it. [126000662710] |Great comments added by bodhi.zazen. [126000662720] |Thanks!! [126000662730] |First we should make sure we are left with a bootable system and have backups. [126000662740] |Since we are changing our boot process: [126000662750] |Step 1- Make a bootable GRUB floppy. [126000662760] |http://www.linuxjournal.com/article/4622 [126000662770] |Step 2- BackupIs there any need to back up more then menu.1st, /etc/init.d, /etc/rcS.d, and /etc/rc*.c ( *= 0,1,2,3,4,5,6)?mkdir /~/bakup.filessudo cp -P /etc/init.d /~/backup.filessudo cp -P /boot/grub/menu.1st /~/backup.filessudo cp -P /etc/rc*.d /~/backup.filesAlthough a backup of /etc is nice, is it not overkill for this exercise? [126000662780] |Setp 3- Know you Ubuntu Root device (hda1, hdb1, hda2,) and kernel (the numbers in "vmlinuz"). [126000662790] |Location of kernel is /boot [126000662800] |Step 4- Modify runlevels. [126000662810] |DO NOT MODIFY DEFAULT RUN LEVELS 0,1, OR 6MODIFY ONLY 1 RUN LEVEL AT A TIMERUN LEVEL "S" IS RUN AT EACH RUN LEVEL PRIOR TO OTHERSie as system boots (at default) the scritps in rcS.d are run first, then rc2.d [126000662820] |Therefore, if you disable a script in "S", enable the script in runlevel 2This should guarantee your system will remain bootable to the default run level (2) [126000662830] |In Ubuntu the default run level is 2Modify only 1 test run level at a time. [126000662840] |Choose a custom run level (I will use 3 for the rest of this post, you can use 3,4, or 5). [126000662850] |After modifying the runlevel test without re-bootingsudo init 3This will change to run level 3Now check your system. [126000662860] |Problems? [126000662870] |Return to default run level and re-configure run level 3sudo init 2No problem -> Boot from floppyNo problem, boot from floppy. [126000662880] |When booting (from diskette) to the default run level, the "kernel" line looks like:kernel=/boot/vmlinuz-2.6.8.1-3-386 root=/dev/hda1 ro quiet splashIn menu.1st this looks like this:kernel /boot/vmlinuz-2.6.8.1-3-386 root=/dev/hda1 ro quiet splashTo boot to run 3 (from GRUB diskette), add a "3" at the end of the linekernel=/boot/vmlinuz.... root=/dev/..... ro quiet splash 3Note: the number 3 was added at the end (without quotes)time boot process. [126000662890] |If OK boot again from floppy (to default run level)kernel=/boot/vmlinuz..... root=/dev/.... [126000662900] |Note: no number 3 at the end of this linetime boot processThis is the default boot and you can measure any time savings.booting from a floppy to compair apples to applesIf OK you can now change the default run level (or not)There is more then 1 way to do thisMy preferance is to leave the default runlevel unmodifiedThis leaves the default boot process as a future referanceChange the default boot levelsudo nano /boot/grub/menu.1stadd init=3 to end of line [126000662910] |kernel /boot/vmlinuz-2.6.8.1-3-386 root=/dev/hda1 ro quiet splash 3 [126000662920] |Or create 2 Ubuntu titles, one for each run level. [126000662930] |OR [126000662940] |Edit /etc/inittab [126000662950] |Step 4- Modify shutdown scripts if desired. [126000662960] |This process should guide users through a logical process of modifying boot scripts without generating a non-bootable system. [126000662970] |Backups were made "just in case" but really should not be needed. [126000670010] |PC-BSD the Ubuntu killer? *updated* [126000670020] |I was just on distrowatch.org today looking around to see whats hot, I downloaded a new os called PC-BSD, it is truly awesome, and believe it or not was almost faster than my host system on vmware, im so happy with it today on my birthday im about to install it on its own partition to see how it works with my wifi. [126000670030] |I am a die-hard ubuntu fan but im just experimenting, and the .pbi installation system is seemless, faster and more efficient than apt... [126000670040] |I'll keep experimenting, if ubuntu adds the .pbi package system it would totally kick ass..*update*Well I just installed pcbsd, it looked sweet and ran 100% faster than ubuntu but unfortunately pcbsd does not support my belkin usb rt73 wifi card, which I was really dissapointed. [126000670050] |The terminal isnt as userfriendly and is a bit confusing, and basically it needs allot of work. [126000670060] |It also only has KDE and no Gnome, which i love. [126000670070] |Anyways I wasted a dvd that is going in the garbage, I hope the linux kernel and ubuntu run as fast as freebsd/pcbsd someday because im sticking with Ubuntu :D [126000670080] |Pro's:Runs extremely fast, i mean damn fast, everything loaded instantly with low load timesPackaging system rocks! [126000670090] |Con's:Wifi support sucksno gnome ;\ [126000670100] |Resources:www.pcbsd.org [126000680010] |Picking the Kernel thats Right for You (Possible Speed Increase) [126000680020] |Disclaimer [126000680030] |This section is about messing with the kernel and that can be tricky business. [126000680040] |Has never messed up for me, but it is a little nerdy. [126000680050] |Look here if you want to learn and maybe get a speed boast (or if you have a dual core/dual processor/hyperthreading machine because you WILL get a performance boost). [126000680060] |Use at you own risk, I am not a kernel developer or anything. [126000680070] |Be sure not to install the linux-image package instead or things will probably break! [126000680080] |If you have done that just install the correct package and things will fix themselves. [126000680090] |*********************** [126000680100] |Introduction [126000680110] |I have noticed some recent confusion in the forum when it comes to kernels, so I want to explain some things I have discovered. [126000680120] |I hope it helps. [126000680130] |So you just installed Ubuntu but you don't think its going as fast as you think it should? [126000680140] |Maybe you have just been advised to install a new kernel so you want to know more. [126000680150] |In Synaptic, if you search for “linux-image” you will find many kernels. [126000680160] |Each its follows by some numbers and letters in some order. [126000680170] |I will now explain those differences and what each means. [126000680180] |Notes: [126000680190] |- This guide does not apply to the PPC or 64 bit version of Ubuntu. [126000680200] |- If you have a heavily modified setup this might not work. [126000680210] |For example if you have installed some drivers "by hand" and not from the repositories. [126000680220] |- Its hard to measure the speed increase, so if in doubt leave it out. [126000680230] |Don't follow the guide if you are uncomfortable [126000680240] |- You can always boot back into you old kernel if things mess up. [126000680250] |When the OS Menu appears at boot (called the Grub menu) just hit down and then hit enter on the first line with a "386" in it. [126000680260] |You might have to hit the ESC key when you boot to pull up this menu. [126000680270] |- My steps will rewite your grub, so if you have a custom grub save it somewhere. [126000680280] |The Many Kinds of Kernels [126000680290] |386 –the default kernel in Ubuntu is the 386 kernel (but I hear its really a 486 kernel). [126000680300] |What that means is that its the most compatible kernel because it supports the oldest tech. [126000680310] |Here is wiki page to learn more: [126000680320] |http://en.wikipedia.org/wiki/Intel_80386 [126000680330] |686 –The kernel that is recommended for use with any Intel Processors in a computer that are more recent then a Pentium Pro. [126000680340] |So even old Pentium 2s and 3s can get in on the act. Installing this kernel with may improve performance. [126000680350] |http://en.wikipedia.org/wiki/Pentium_Pro [126000680360] |k7 –This kernel is recommended for a computer with a Athlon or newer AMD CPU. [126000680370] |New 64 bit AMD cpus can use it as well if you have the 32 bit version of Ubuntu installed. [126000680380] |Installing this kernel with may improve performance. [126000680390] |http://en.wikipedia.org/wiki/Athlon [126000680400] |smp –This kernel is NEEDED to use both CPUs in a multi-CPU setting. [126000680410] |The kernel is also required to “enable” hyperthreading in modern Pentium 4 CPUs. [126000680420] |Also needed for dual core processors (the letters stand for Symmetric Multiprocessing). [126000680430] |Very important to install this, as it WILL improve performance. [126000680440] |Sorry to bold it but I think this one is the most important. [126000680450] |http://en.wikipedia.org/wiki/Symmetric_multiprocessing [126000680460] |How to Install New Kernels [126000680470] |You need to install the file below as indicated: [126000680480] |For a modern Pentium 2+ (686) kernel: [126000680490] |Quote:sudo apt-get install linux-686For a modern Pentium 2+ kernel for dual processors, dual cores, or hyperthreading: [126000680500] |Quote:sudo apt-get install linux-686-smpFor a Athlon (k7) or for a Athlon 64 (with 32 bit Ubuntu) kernel. [126000680510] |Quote:sudo apt-get install linux-k7For a Athlon (k7) kernel for dual processors or dual cores: [126000680520] |Quote:sudo apt-get install linux-k7-smpConclusion [126000680530] |I wish you the best of luck and please post comments if you notice any improvements or any problems. [126000680540] |Note About Nvidia [126000680550] |The Nvidia driver is not an open source driver. [126000680560] |It is "restricted" because of that fact. [126000680570] |Therefore the actual official Nvidia driver's kernel module (the part that interacts with the kernel to make it work) is in the restricted package. [126000680580] |If you follow my guide those packages should be installed automatically (they are for me) but they don't for legacy cards. [126000680590] |If you have a Nvidia card older than a Geforce 3 (except maybe the Geforce 2 MX) you have to install the legacy drivers. [126000680600] |Every time you switch to another kernel you have to reinstall the nvidia drivers for that specific kernel if you have used the nvidia installer. [126000680610] |OR [126000680620] |If you use the drivers from the repos then you will need the restricted modules for your kernel (only the ones for the i386 kernel are installed by default). [126000680630] |If apt-get did not install these automatically with my guide you MUST do it! [126000680640] |In other words, boot as usual, and if you are stuck to the command line type: [126000680650] |Quote:sudo apt-get install linux-restricted-modules-`uname -r`OR (if you use the nvidia legacy drivers) [126000680660] |Quote:sudo apt-get install linux-restricted-modules-`uname -r`-nvidia-legacy__________________Quote:Those folks who try to impose analog rules on digital content will find themselves on the wrong side of the tidal wave. [126000680670] |- Mark Shuttleworth [126000690010] |Start Firestarter without a password [126000690020] |This how-to will let you start Firestarter automatically without having to enter a password for it, but also not editing /etc/sudoers and, thus, giving access to anyone to change it. [126000690030] |Actually, this how-to was originally developed by kukibird1 in this thread; I put it here so it is more visible. [126000690040] |0. Understand what Firestarter isFirestarter is not the firewall, just a nice tool to configure iptables, the actual firewall. [126000690050] |Iptables resets itself after reboot, so Firestarter is meant to start at boot and recreate iptables' rules. [126000690060] |This is made before even GNOME/KDE/Xfce is started, so you won't see anything... [126000690070] |You don't need to open Firestarter to be protected... [126000690080] |So, any solution that makes Firestarter open (not only start) will prompt you for the "sudo" password and, because that's nasty, you're told to edit /etc/sudoers... [126000690090] |Not good. [126000690100] |1. Is it really Firestarter your problem? [126000690110] |How do you know if Firestarter is your problem? [126000690120] |Please, do this test:1. [126000690130] |Reboot your machine. [126000690140] |2. After having logged in as normally, go to a Terminal (Applications --> Accessories --> Terminal) and type: [126000690150] |Code: [126000690160] |sudo iptables -nL [126000690170] |3. If you get the following, Firestarter must be fixed: Code: [126000690180] |Chain INPUT (policy ACCEPT)target prot opt source destination Chain FORWARD (policy ACCEPT)target prot opt source destination Chain OUTPUT (policy ACCEPT)target prot opt source destination [126000690190] |If you don't get that and you know your firewall is not working, then either Firestarter is not the issue or it's not the "usual" Firestarter issue. [126000690200] |2. Fix it! [126000690210] |(To do this succesfully don't open Firestarter)1. [126000690220] |Enter Terminal (see above) [126000690230] |2. Type: Code: [126000690240] |gksudo gedit /etc/firestarter/firestarter.sh [126000690250] |3. Locate the following "paragraph": Code: [126000690260] |if [ "$MASK" = "" -a "$1" != "stop" ]; then echo "External network device $IF is not ready. Aborting.." exit 2fi [126000690270] |It's near the beginning; be careful, check twice before going to step 4! [126000690280] |4. Make that paragraph look exactly like this (put a # before each line): Code: [126000690290] |#if [ "$MASK" = "" -a "$1" != "stop" ]; then #echo "External network device $IF is not ready. Aborting.." #exit 2#fi [126000690300] |5. Reboot. [126000690310] |(If you know how to do it and want to skip the rest of the steps, deactivate the boot spash and monitor the boot process; it should say "Firestarter firewall starting up...[OK]". [126000690320] |If so, you don't need to follow the rest) [126000690330] |6. Enter a Terminal and type "sudo iptables -nL" again. [126000690340] |It should be different to what you saw at the beginning. [126000690350] |7. Open Firestarter, go again to Terminal and type "sudo iptables -nL" again. [126000690360] |It should be the same as in step 6. [126000690370] |8. Review Firestarter configuration to see if it's correct (there's no particular reason to do this, just to be sure you're protected). [126000690380] |Now, you (and all users) are protected from boot, without messing around with sudo's configuration! [126000690390] |You'll have to enter the password to access Firestarter, but as you usually do with other administrative apps. [126000690400] |ReasonaleIt seems (to me) that Firestarter thinks the network is not configured, so, without network, no firewall is needed and shuts down with an error. [126000690410] |Putting those # is equivalent to delete the code that analizes that error, so this fix forces Firestart to start ignoring that "error" (?). [126000700010] |Tweaking Sudo On Ubuntu [126000700020] |If you’ve used your Ubuntu machine for more than a week you’ve probably run into the sudo command a few times. [126000700030] |Particularly if you have followed any of my previous howto's you’ve used it. [126000700040] |Sudo allows you to run superuser commands on your machine, without needing a complete superuser account. [126000700050] |Now what happens when you have another user on that machine that needs certain superuser privileges but you don’t want to give them FULL access? [126000700060] |Well sudo can be configured to give users sudo access, but limited to only certain commands. [126000700070] |Here is a breakdown: [126000700080] |If you use the command: [126000700090] |sudo visudo [126000700100] |you’ll be taken into the self checking sudoers editing file. [126000700110] |What you’ll want to look for is near the bottom and appears similar to this: [126000700120] |# User privilege specificationroot ALL=(ALL) ALL [126000700130] |# Members of the admin group may gain root privileges%admin ALL=(ALL) ALL [126000700140] |What this is defining is who has what sudo or superuser privileges on that machine. [126000700150] |By default, and in this case root has all power and anyone in the admin group (generally just the initial user) has this control. [126000700160] |Now consider you have a buddy, wife or partner that also uses that machine and needs occasional sudo access but you’d prefer not to give them complete permissions to avoid destroying the world as we know it. [126000700170] |Well, you can list them in this file and create a limited list of sudo permissions that they will be granted. [126000700180] |An example would be below: [126000700190] |# User privilege specification [126000700200] |root ALL=(ALL) ALL [126000700210] |defcon ALL=(root) /usr/bin/aptitude, /usr/bin/apt-get [126000700220] |Let me break this down for you. [126000700230] |By adding this new line to the file you’ve done the following: [126000700240] |The first listing, mike, is the user that is being assigned the privilege. [126000700250] |For this to apply to a group of users on the machine you would prefix the name with a % as seen in the example above (%admin). [126000700260] |The second listing defines the hosts that these permissions apply to. [126000700270] |For your use this will almost always apply to your local machine only so ALL is safe. [126000700280] |If this does not apply to you (you will know who you are) you will want to define only the hosts to grant access). [126000700290] |Thirdly, the (root) entry defines what user the first user is applying the command as. [126000700300] |In this example we want to run the command as root and not any other user. [126000700310] |You can define this to another user (or user daemon) to allow access to their specific privileges. [126000700320] |Lastly we’ve got a comma separated list of commands that the user will have access to. [126000700330] |In this case I’m allowing the user defcon to add and remove programs from the machine using the apt-get and aptitude programs. [126000700340] |Allowing users to add / remove programs from your machine as in this example can be dangerous. [126000700350] |This is for example use and may not match your usage. [126000700360] |Sudo is our friend while using Ubuntu. [126000700370] |It allows us to temporarily take on a different persona, make changes to the critical parts of the machine and quietly change back again. [126000700380] |Allowing other users this privilege can be helpful but it can also be harmful so be sure you understand who you are applying privileges to and to what commands. [126000700390] |Security is #1, or should be, so use this knowlege wisely. [126000700400] |Disable Annoying Sudo password prompts:Although disabling the password prompts is a big security risk, if someone compromises your password or account a user could simply sudo -s or sudo "command" to be root. [126000700410] |I dont recommend doing this unless you are "SURE" that you will not screw something up and you are sure your computer is secure and firewalled up. [126000700420] |All you need to do to accomplish this is:First open a terminal and sudo visudo [126000700430] |Find %admin% and replace that line with:%admin ALL=(ALL) NOPASSWD: ALL [126000700440] |Then ctrl-x and press enter to save [126000700450] |Then add yourself to the admin usergroup by typing:sudo adduser myusername admin [126000710010] |Fix Comcast or University BitTorrent Connection Killing on Ubuntu [126000710020] |I was searching the web for a fix for this fuq'd up problem about Comcast and Universities limiting connections with Sandvine. [126000710030] |I have many reasons to believe qwest and other internet service providers are going to start limiting your torrent connections which is bullshit. [126000710040] |Bittorrent is indeed hard on ISP's with thousands of syn/ack and tcp connection to and from your computer. [126000710050] |I have read BANDWIDTH CHALLENGE TO PUSH LIMITS OF TECHNOLOGY and it seems bandwidth is surpassing technology and ISP's need to upgrade, but anyways who's fault is that? [126000710060] |Not ours, screw them! [126000710070] |Here is a script that will block the RST packets that reset your connections: [126000710080] |1) open a terminal 2) sudo -s3) cd /etc/init.d/4) type cat >>bitfix5) paste script below:#!/bin/sh#Replace 6883 with you Bittorent PortBT_PORT=6883 [126000710090] |#Flush the filtersiptables -F [126000710100] |#Apply new filtersiptables -A INPUT -i lo -j ACCEPT#Comcast BitTorrent seeding block workaroundiptables -A INPUT -p tcp --dport $BT_PORT --tcp-flags RST RST -j DROPiptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT#BitTorrentiptables -A INPUT -m state --state NEW -m tcp -p tcp --dport $BT_PORT -j ACCEPTiptables -A INPUT -m state --state NEW -m udp -p udp --dport $BT_PORT -j ACCEPTiptables -A INPUT -j REJECT --reject-with icmp-host-prohibitedexit [126000710110] |6) chmod +x bitfix7) ./bitfixYour ipchains firewall is now configured and you should have great upload speed now. [126000710120] |You will have to run this script every boot. [126000710130] |I left out the rule to let through established connections, -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT [126000710140] |Now you if you use Transmission or any other Bittorent client you may have to edit the port [126000710150] |Transmission uses port 9090 [126000710160] |Credits [126000720010] |Setup MySpace IM with PIDGIN! [126000720020] |This howto is no longer necessary because a new version of Pidgin has been released, read Here--I personally hate myspace due to the spam and lameness, facebook for me is a little better, but for those people with girlfriends that are nagging, "why did you change my operating system, I need myspace IM" blah blah blah... [126000720030] |Here it is, a reverse engineering hack for myspace IM:Original guide from http://developer.pidgin.im/wiki/MsimInstall. [126000720040] |I am using Pidgin 2.1.1, here is an easy to use script that will do the work for you, or you can scroll down and copy/paste each command one by one into a "root" terminal: [126000720050] |wget http://io.storm.googlepages.com/myspaceim.shsudo -schmod +x myspaceim.sh./myspaceim.sh [126000720060] |And that should do it, start up pidgin and click on add new account, make sure you use your myspace email and password. [126000720070] |Contents of myspaceim.sh:#!/bin/bashwget http://ubuntu.org.ua/getdeb/pi/pidgin-dev_2.1.1-1~getdeb1_all.debwget http://downloads.sourceforge.net/pidgin/pidgin-2.1.1.tar.bz2wget http://msimprpl.darkthoughts.net/msimprpl-0.16.tar.gzwget http://developer.pidgin.im/attachment/wiki/MySpaceIM/myspace_16.pngwget http://developer.pidgin.im/attachment/wiki/MySpaceIM/myspace_22.pngwget http://developer.pidgin.im/attachment/wiki/MySpaceIM/myspace_48.pngcp *.png /usr/share/pixmaps/pidgin/protocols/dpkg -i pidgin-dev_2.1.1-1~getdeb1_all.debtar jxvf pidgin-2.1.1.tar.bz2mkdir msimprpl-0.16cd msimprpl-0.16tar zxvf ../msimprpl-0.16.tar.gzcd libpurple/protocols/myspacegcc `pkg-config --cflags pidgin ` -D PURPLE_PLUGINS -c message.c myspace.c -I../../../../pidgin-2.1.1/libpurple/ -I.gcc -shared -`pkg-config --libs pidgin` message.o myspace.o -o libmyspace.socp -v libmyspace.so /usr/lib/purple-2/ [126000730010] |Parallels The New Ultimate Virtualization Solution? [126000730020] |Until now, Parallels has had problems compiling the the newest ubuntu kernels and now is working absolutely great on my ubuntu machine, i just ditched qemu, virtualbox, and vmware! [126000730030] |Dont ditch yours just yet untill you have a feel of this Virtualization Solution that has suprised the hell out of me. [126000730040] |So far I have tried Windows XP, and PC-BSD and they both run much smoother on my box. [126000730050] |*update*Pro's:On my box I run Parallel's, Vmware Workstation, And VirtualBox, So It seems Parallel's is a little faster than Vmware Workstation and the Parallels Tools make VM's more responsive than vmware or VirtualBox. [126000730060] |Graphics and mouse are very responsive. [126000730070] |Con's:Cannot mount whole disk partitionsparallels-config did not install modules to /etc/modules so I needed to add:vm-mainvm-bridgealthough this may only be because I run vmware/vbox as well... [126000730080] |User Interface could be improved. [126000730090] |Here are some features: [126000730100] |STEP 1Install Necessary Packages Code: [126000730110] |sudo aptitude install libqt3-mt-dev build-essential [126000730120] |STEP 2Install Parallels>>Download Here<<Then, either automatically install it, or save it to desktop and double click it and install it. [126000730130] |Your choice. [126000730140] |STEP 3Configure ParallelsIn the Terminal Code: [126000730150] |sudo parallels-config [126000730160] |And agree to the license agreements. [126000730170] |FINISHEDNow all to do is enter your license code, and your ready to Virtualize.key generator?