Upgrade Ubuntu Jaunty (9.04) to Ubuntu Karmic Koala (9.10) Using Internet Connection

Ubuntu Karmic koala (9.10) is a latest version of ubuntu Jaunty (9.04) is scheduled to be released on October 29 2009, Karmic koala release  will be concurrent with the release of windows 7 which earlier is not long time. well if you are interested in ubuntu Karmic koalas are free license or with windows 7 whose licenses must be purchased at microsoft? all that is on your choice.


To upgrade your ubuntu to Karmic Jaunty koalas using an internet connection, follow these steps :


Press Alt+f2 and type update-manager -d


into the command box. Update Manager should open up and tell you: New distribution release '9.10' is available. Click Upgrade and follow the on-screen instructions.



To upgrade from Ubuntu 9.04 on a server system: install the update-manager-core package if it is not already installed; edit /etc/update-manager/release-upgrades and set Prompt=normal; launch the upgrade tool with the command sudo do-release-upgrade; and follow the on-screen instructions.
Read More...!!

Hiding Secret Data in Bad Block Partition in Ubuntu

When the hard disk was damaged in the sector so that block is not used to store data on your system , but we can use the filesystem blocks that have (allegedly) bad. If the block is not really damaged, any data that we put there will never be touched, because the filesystem thinks it's rubbish. If the block is not really damaged, the data we put there will never be touched, because the system thinks the same garbage files. That, is exactly what we will do.













Partition must be small to contain confidential data and not to a partition larger than 100MB Agr did not arouse suspicion. Some operating systems mark blocks as bad blocks used, which means if we put inside a 100MB partition with bad blocks, the "parent" filesystem will always have at least 100MB in use. Some operating systems marks bad blocks as used blocks, which means that if we put a 100MB partition on the block bad, "parent" filesystem will always have at least 100MB in use. This could arouse Suspicion when there are not any files on it. This can lead to suspicion when there is no files in it.

I will use 256MB flash for illustrative purposes

Here's what sfdisk has to say about it: This is what sfdisk to say about this:


$ sfdisk -l /dev/sde


Disk /dev/sde: 1009 cylinders, 9 heads, 56 sectors/track
Units = cylinders of 258048 bytes, blocks of 1024 bytes, counting from 0

evice Boot Start     End   #cyls    #blocks   Id  System
/dev/sde1          0       -       0          0    0  Empty
/dev/sde2          0       -       0          0    0  Empty
/dev/sde3          0       -       0          0    0  Empty
/dev/sde4          0       -       0          0    0  Empty


We could see the flash is composed of cylinder 1009. we can make about 20MB, which is approximately 82 cylinders on this disk (see the second row sfdisk-l). Because we can not create a partition at the beginning of the disk, let us put in 214 cylinders:


$ sfdisk /dev/sde << EOF
214,82,6
EOF


Put FAT16 on it and transfer your secret data.


$ mkfs.vfat -F16 /dev/sde1
mkfs.vfat 2.11 (12 Mar 2005)


$ sfdisk /dev/sde << EOF
0,0,0
EOF


$ mkfs.vfat -F16 /dev/sde1
mkfs.vfat 2.11 (12 Mar 2005)


$ sfdisk /dev/sde << EOF
0,0,0
EOF

Creating Bad Block. Visit http://blog.crowdway.com
Good luck
Read More...!!

Ubuntu Shutdown Command

below is a collection of ubuntu shutdown command and one of them we  often use it, be as timer when we listen  music and we fell asleep, then ubuntu will be shutdown automaticaly.

here is command shutdown management for ubuntu

Shutdown Timer Countdown
Login as root

$ sudo su
$ shutdown +60 -P (60 minute)
$ sudo shutdown -h +60 (60 minute)
$ shutdown -P 15:00 (shutdown at 15:00)



Shutdown Now


$ init 0
$ poweroff
$ halt

Waking Up (switch on) Computer



$ echo “+00-00-00 00:10:00″ > /proc/acpi/alarm   

booting your computer 10 minute after switch off


Restart


$ reboot
$ shutdown -r 21:00 ( restart at 21:00)


Cancel Shutdown



$ shutdown -C
Happy Testing...!!
Read More...!!

Running Nautilus as Root (Super User) Status in Ubuntu Jaunty (9.04)


Nautilus is the official file manager for the GNOME desktop. The name is a play on words, evoking the shell of a nautilus to represent an operating system shell. Nautilus replaced Midnight Commander in GNOME 1.4 and was the default from version 2.0 onwards.
To running nautilus as root, First way: open a terminal and type

$ gksu nautilus

Second : Creating the shortcut menu to run the Nautilus by using the Super User status in the Applications menu list.













Open Main Menu editor (System> Preferences> Main Menu). Main Menu will be presented as where the picture above.

choose system tools and click the new item will appear and create launcher

Type : application
Name : super nautilus
Cammand : nautilus docs
Comment : Open Nautilus With Root Permissions

To open nautilus as root to stay open the Applications menu> System Tools> Super Nautilus.

Finish....!!
Read More...!!

Setting Transparent Proxy using Squid in Ubuntu

To Setting transparent squid, first we must install squid, to install squid. go to terminal and login as root type :




$ sudo su
$ apt-get install squid

edit squid configuration file in /etc/squid/squid.conf before edit

$ cp /etc/squid/squid.conf /etc/squid/squid.conf_backup
$ gedit /etc/squid/squid.conf

you will show file configuration squid, find :

  • First change HTTP port : http_port : 3128
  • Visible host (For if there was an error Squid can find a valid hostname) : visible_hostname minez-inspirate.blogspot.com
  • Cache manager : cache_mgr minezinspirate@gmail.com
  • Directory cache squid : cache_dir ufs /var/spool/squid 500 16 256
  • Filtering : acl user src 192.168.1.1/255.255.255.255 ex : $ acl group-it src 192.168.1.1-192.168.1.12/255.255.255.255
  • Filtering time : acl-time access time MTWHFA 08:00-16:00 save and exit
$ squid -z

Transparent proxy : give 1 value in file /proc/sys/net/ipv4/ip_forward by type :


$ echo 1 > /proc/sys/net/ipv4/ip_forward
$ iptables -A PREROUTING -t nat -p tcp –dport 80 -j REDIRECT –to-port 3128

and restart squid by tupe :


$ squid -k reconfigure

Finish....!!
Read More...!!