Recently I need to access my Internet from my blackberry device. I already using Connectify to run my windows machine as a wifi-hotspot, but due to some reason on my laptop windows was not working. So I thought I should find some alternative to create a wifi hotspot in Ubuntu.
Ubuntu 11.10 gives user easy way to turn their computer into hotspot. You can simply do it without installing any application.
To get started got to the Application > System Tools > System Settings > Network Setting > Wireless. You will see the following screen in your Computer.
Click on Use as Hotspot. You hotspot will be immediately create with the SSID name “UBUNTU”. If you want to change it go to configure
1st field is for assigning a name for a connection. 2nd field is for enabling security in hotspot connection. 3rd field is for assigning SSID as a unique name. 4th field is for cloning your MAC address.
To Configure wireless security, select different security mode of your desire and put your desired password.
That’s it. Your wifi hotspot is ready in Ubuntu.
If you are using any other software or method please let us know the same.
Append following lines in /tftpboot/pxelinux.cfg/default
label Clonezilla Live
MENU LABEL Clonezilla Live
append initrd=images/clone/initrd.img boot=live live-config noswap nolocales edd=on nomodeset ocs_live_run="ocs-live-general"ocs_live_extra_param=""ocs_live_keymap=""ocs_live_batch="no"ocs_lang=""vga=788 nosplash fetch=tftp://192.168.1.2/images/clone/filesystem.squashfs
Here 192.168.1.2 is pxe server
Above config will boot clonezilla using pxe & you’ll get prompt to choose lang, mount image source dir etc.
OR you can use following config to skip lang selection & mount option, however it will still prompt you to select image source but you can skip & continue as we have mentioned nfs server in following config.
Fedora team have released next version of Fedora i.e Jules Verne Fedora 16. If you already have Fedora 15 installed on your machine, there is an easy way of upgrading your Linux distribution to the latest version Fedora 16.
Steps are as follows:
Update your Fedora 15 system
Run the following command to install any updates to your Fedora 15 distribution.
Install the ‘preupgrade’ tool
Preupgrade is a GUI tool that walks you through the upgrade process.
su-c'yum install preupgrade'
Start the preupgrade tool
You can run the preupgrade tool by entering the command in the terminal or via the menu.
It will ask you for your root password before presenting you the GUI.
The preupgrade tool will prepare your Fedora 15 system for upgrade.
First you have to choose the version of Fedora you want to upgrade to from the available Fedora releases.
The preupgrade tool will then start downloading the release info; the installer images; determine which packages to download; and download the packages.
Be patient, it will take some time depending upon your internet connection speed.
Lastly it will prepare and test the upgrade.
Start the upgrade process
Once the preupgrade tool has finished doing its job, it will prompt you to reboot.
When you reboot back into Fedora, it will start the Anaconda installer and the upgrade process will start.
No user intervention is required at this stage as everything is done automatically by the Anaconda installer.
The installer will do the dependency check of packages and start upgrading your system.
Post upgrade configuration include installing the boot loader which is automatically installed in the Master Boot Record (MBR) of your machine.
Once the upgrade process is finished, you can log into your brand new Fedora 16 Linux system.
Every time I strat my Ubuntu Desktop I used to plug in my USB device for data storage. While leaving the workplace I remove USB storage device but forgot to lock the desktop. Hence in the search of utility to lock / unlock desktop using USB device I found below script.
Firstly Install xscreensaver
apt-get install xscreensaver
Then run lsusb and locate your USB Device. In my case, it was the last Device i.e Bus 004 Device 002: ID 058f:6387 Alcor Micro Corp. Transcend JetFlash Flash Drive
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 058f:6387 Alcor Micro Corp. Transcend JetFlash Flash Drive
Create a file name autoUnlock in your home directory (Avoid using root user).
Copy below lines in the /home/vidyadhar/autoUnlock
#!/bin/bash# A simple shell to lock / unlock your Desktop# Ubuntu# ----------------------------------------------------------------------------# Original Script by Echowrap http://echowarp.neomenlo.org# Modified by Vidyadhar D S <http://www.techienote.com/># firstname.lastname@example.org email@example.com# ----------------------------------------------------------------------------#Replace with the ID of your USB deviceid="ID 058f:6387 Alcor Micro Corp. Transcend JetFlash Flash Drive"#runs every 2 secondsfor((i=0; i<=30; i++))doif[-z"`lsusb | grep "$id"`"]thenecho"Device is NOT plugged in"if[-n"`DISPLAY=:0.0 gnome-screensaver-command --query | grep "is active"`"]thenif[-e/tmp/autoUnlock.lock ]then#stop locking the screenrm/tmp/autoUnlock.lock
fielif[-e/tmp/autoUnlock.lock ]thenDISPLAY=:0.0 notify-send -t5000 âicon=dialog-info "Device Disconnected""Bye!"#lock the desktopDISPLAY=:0.0 gnome-screensaver-command --lockrm/tmp/autoUnlock.lock
fielseecho"USB Plugged In"if[!-e/tmp/autoUnlock.lock ]thenDISPLAY=:0.0 gnome-screensaver-command --deactivateDISPLAY=:0.0 notify-send -t5000--icon=dialog-info "Device Connected""Welcome Back!"touch/tmp/autoUnlock.lock
#Uncomment the 3 following lines if you would like your computer to remind you if you lock your screen without disconnecting the deviceecho"Don't forget your device!">/tmp/usbReminder
DISPLAY=:0 festival --tts/tmp/usbReminder