Archive for May, 2009

h1

Restoring Default Ubuntu Panel

May 6, 2009

How to restore the default Ubuntu Panel.

This have been tested in Ubuntu 9.04.

Run the following command in terminal.

gconftool –recursive-unset /apps/panel
rm -rf ~/.gconf/apps/panel
pkill gnome-panel

Then logout and then back in.

Source: http://www.saifur-rahman.com/tag/default-panel/

Advertisements
h1

Enable Wireless in Ubuntu 9.04

May 4, 2009

I have a HP 510 laptop with ubuntu 9.04 on it. Everything worked fine until one day when it just lost its wireless connection. When I looked at network manager it say that the device not manage.

After searching the net for a long time without finding a solution I found a website that finely had a solution.

I am a newbie to Ubuntu and Linux so I do not know what it did but it seemed to resolved the problem. The article as written in 2006 for Dapper Drake but is seems to also work on 9.04.

To update the source list run the following command

sudo apt-get

sudo apt-get install wpasupplicant

sudo apt-get install network-manager-gnome network-manager

sudo gedit /etc/network/interfaces

Comment out everything other than “lo” entries in that file and save the file

Create a file called /etc/default/wpasupplicant, add entry ENABLED=0 and save the file

sudo touch /etc/default/wpasupplicant

Reboot your system or use the following command

sudo /etc/init.d/dbus restart

Hope it helps.

Source : http://www.debianadmin.com/enable-wpa-wireless-access-point-in-ubuntu-linux.html

h1

Ubuntu Send Ctrl+Alt+Del command to VMware Server VM

May 4, 2009

I was surprised to find there is not a “send ctrl+alt+del” menu command in VMware Server 2.0. When connecting from an Ubuntu desktop. It’s not in the Remote Console menus nor in the Commands section of the Web Interface. Normally that is not a big deal because you can always use “ctrl+alt+ins” to log on to a Windows VM, but it did not work. I was banging away at my keyboard wondering what was wrong. I had just finished installing Server 2008 remotely from one of my Intrepid desktops and was ready to log back in to run dcpromo but I could not get to the log on prompt. I thought maybe my ins key went bad, but I knew that could not be the case. When I tried to use another Ubuntu desktop I had the same problem. Then I discovered there was not a menu command either! I did some research.

Turns out you have to use the Del key from the number pad on your Ubuntu desktop’s keyboard because the keyboard mappings in Ubuntu 8.10 are not correct! The working key combination is therefore “ctrl+alt+[numberpad]del. If you do not have a number pad on your keyboard (laptops) then make this quick config change.

add just one line to the file ~/.vmware/config:

xkeymap.nokeycodeMap = true

Close the VM web console and reopen it for the change to take effect.

Source :http://vmetc.com/2009/01/30/ubuntu-send-ctrlaltdel-command-to-vmware-server-vm/

h1

How to mount a Windows share with smbmount.

May 1, 2009

Ok so onto the Linux system, its relatively simple:
Make the directory you want to mount the share to.

mkdir /mnt/share

Next either…
Mount the share with user/pass:

smbmount //winpc/shared /mnt/share -o username=user,password=pass,rw

Or mount the share without a user/pass (this is true if Everyone is still set)

smbmount //winpc/shared /mnt/share -o rw

Source :http://www.linux-noob.com/forums/index.php?showtopic=1404