Howto: Disable any Ubuntu users internet access
This is quite simple and very effective, I have used it a few times, its pretty convenient since it looks as if the internet is broke or something :)
Check it:
Comments
Howto Integrate Windows XP Desktop into Ubuntu Gutsy and Hardy Heron!
Ok this is really really simple and a great feature of VirtualBOX Now you can simply run Windows XP/Ubuntu at the same time concurrently while switching in between windows applications and Linux applications! I can effectively run XP and Ubuntu at the same time on my Intel HT 3.0 ghz 768 meg ram flawelessly and my box isnt even top of the line. Check out some screenshots:
Comments
Get better sound in Ubuntu with the Brand new OSS 4!
Hell yea, im excited to share this little howto! OSS Has enlightened my life and made my linux/unix experience more desirable, my volume is louder, my sound quality rocks, stereo is actually stereo, surround sound actually works now... I can enjoy more music more!
The OSS project was initially free software, but following the project's success, Savolainen started the company 4Front Technologies and made his support for newer sound devices and improvements proprietary. In response, the Linux community abandoned OSS and development effort switched to the replacement Advanced Linux Sound Architecture (ALSA). Many free software operating systems such as Linux and FreeBSD continued to distribute previous versions of OSS, and continued to maintain and improve these versions.
In July 2007, 4Front Technologies released sources for OSS under CDDL and GPL licenses, now OSS v4
wget http://www.4front-tech.com/release/oss-linux_v4.0-1008_i386.deb
Now lets install:
sudo dpkg -i oss-linux_v4.0-1008_i386.deb
Wow that was easy...
Now lets blacklist our slow/garbage ALSA drivers...
First we must locate those drivers with a simple cmd:
lsmod | grep snd
Thats it, now you should see a list of things starting with "snd"
Now lets open another terminal and:
sudo -s
Now lets blacklist the old drivers:
Ok now either use gedit or nano, I prefer mousepad but lets use nano :)
nano /etc/modprobe.d/blacklist
Now lets scroll all the way to the bottom of the file and blacklist our snd* drivers
You want your additions to look like this:
# blacklist alsa
blacklist snd_intel8x0
blacklist snd_ac97_codec
blacklist snd_pcm
blacklist snd_timer
blacklist snd
Make Sure you save the file :)
Basically we are done, other than a simple reboot and sudo soundon after reboot, mostly soundon isnt necessary.
sudo reboot
Have fun and enjoy your better sound drivers :)
References:
OSS Developers Blog
OSS Help Forum
Another Helpful OSS Howto
Great Install Directions and OSS tools
Comments
Setup VNC Server for Ubuntu Gutsy Gibbon and Hardy Heron in 3 easy steps
I just did this on Gutsy, and I thought that it might be worth sharing as a simple way to set up a persistent VNC server. If you dont know what VNC is, its similiar to Remote Desktop for wind0ze. This is accessible using regular vnc viewers, and through java-enabled browsers. That's right, you work on your computer through a browser.
Comments
Easily Setup Seperate /home partition in Ubuntu!
Ok I have almost always had a seperate home partition, excluding the 3-10 times I have completely crashed my system and had to redo it all.
Reasons you should use a seperate home partition:
1. Easy backup/restore.
2. You can simply rm -rf / and pop in a livecd and be able to mount your home partition as /home without deleting users home directories and files.
3. You can use multiple linux Distro's with the /home partition
4. You dont have to worrie about the hassle of re-installing or upgrading ubuntu because everything you need is in your /home directory, you can simply backup all your apt packages via aptoncd.
sudo mkdir /old
sudo mount -t ext3 /dev/hda1 /old
sudo mkdir /new
sudo mount -t ext3 /dev/hda7 /new
Now we're going to back up the /home directory on the old partition and move it to the new partition:
cd /old/home
find . -depth -print0 | sudo cpio --null --sparse -pvd /new/
sudo mv /old/home /old/home_backup
sudo mkdir /old/home
Yes, one of those lines looks really complicated--please type it as is--or, if you're unsure of your typing skills, copy and paste it into the terminal. Believe me--the command is necessary.
Next, we're going to specify to use the new home partition as /home:
sudo cp /old/etc/fstab /old/etc/fstab_backup
type blkid in terminal and find /dev/hda7 it will look something like this:
/dev/hda7/: UUID="8b89a5c4-20ff-477c-a49e-c1ccb435bf11" SEC_TYPE="ext2" TYPE="ext3"
Copy the "UUID=8b89a5c4-20ff-477c-a49e-c1ccb435bf11"
sudo nano /old/etc/fstab
You'll then be taken to the nano text editor. Add in these lines:
# /dev/hda7defaults,noatime,errors=remount-ro
UUID=8b89a5c4-20ff-477c-a49e-c1ccb435bf11 /home ext3
Then save (Control-X), confirm (Y), and exit (Enter)
After you reboot, you should be now using your new /home partition.
If you find that you are running out of room on your old partition and you're pretty confident everything is working as it should be, then go ahead and delete the backup of home:
sudo rm -rf /home_backup
What if this doesn't work?
You know, it really should work, but if you somehow messed up your /etc/fstab and didn't configure it correctly... well, that's why we have a live CD, so we can fix things.
Boot up the live CD, go to a terminal, and type:
sudo mkdir /recovery
sudo mount -t ext3 /dev/hda1 /recovery
sudo cp -R /recovery/home_backup /recovery/home
sudo cp /recovery/etc/fstab_backup /recovery/etc/fstab
Comments
Create shortcuts in Ubuntu
Hey just ran across an easy way to make symbolic links in ubuntu, I was missing out the the right click create shortcut feature in windows but in Ubuntu its easier...
Howto:
All ya do is simply hold in ctrl and shift and drag then drop a folder/file and it creates a virtual symbolic link ;)
By default, the file manager adds an emblem to symbolic links.
Note:
The permissions of a symbolic link are determined by the file or folder to which a symbolic link points.
Comments