user-avatar
Today is Sunday
June 8, 2025

Archives: September 2010

September 30, 2010

Connect to Cisco VPN from Ubuntu 10.04

by viggy — Categories: ubuntu — Tags: , , , 1 Comment

Today I was trying to see if I can connect to office VPN from Ubuntu. Hence I tried to google and see if there is already
a solution for the same. I found that for Cisco VPN client, we need to install a package called network-manager-vpnc which is luckily available in Ubuntu repository. After that you need to create a file by any name, say remotevpn.conf in /etc/vpnc folder. In that just add the following contents in it.

Sec gateway
IPSec ID
Xauth username
Xauth password

Change the username as needed. After that just run the following command,

vpnc-connect remotevpn # here remotevpn should be replaced by the name
you had given to the conf file.

This will prompt you for a IPSec Secret password. Enter the Group password. Chances are that you might actually have a Encrypted password which you will have to convert into normal password. For that you can use the following site,

http://coreygilmore.com/projects/decrypt-cisco-vpn-password/

After entering the group password, it will prompt you for the password for the username you gave.
Enter the 4 digit password and the 6 digit RSA ID.

Thats it :). You are now connected to VPN network.

September 15, 2010

Keyboard layout changed when connecting through vnc

by viggy — Categories: debian — Tags: , , Leave a comment

I have a desktop in which I have installed Debain. I connected to it using vnc from my laptop and was typing some command when I observed that the complete Keyboard layout had changed to some unknown keyboard layout. I tried re-installing but the problem still existed. So when I googled it, I found this bug report which was luckily resolved and the solution was also shared in it.
Hence all I had to do to solve the problem was to add the following line in $HOME/.vnc/xstartup before the last line /etc/X11/Xsession
'export XKL_XMODMAP_DISABLE=1' x

September 11, 2010

September 8, 2010

To enable Broadcomm wireless driver in Ubuntu 9.10

by viggy — Categories: schoolos, ubuntu — Tags: , , 1 Comment

I was trying SchoolOS on my laptop which is a derivative of Ubuntu 9.10. However my first problem with it was that my wireless driver was not working. I had known from my previous experience that I would have to probably install b43-fwcutter to get it working. However when I tried to install it, I found out that it was already installed. I still removed the package and installed again but still it did not help. So I googled for any help. I found a forum post where in I was suggested to try the packages given in http://www.broadcom.com/support/802.11/linux_sta.php . I downloaded the 32 bit package and followed the Readme.txt given along with the package. Within 2 minutes my network driver detected the wireless device and I was able to surf using my wireless connection.

September 3, 2010

Enter your linux system in single command line mode without knowing the root passwd

by viggy — Categories: linux — Tags: , , , , Leave a comment

So you press ESC before the system boots up, to intercept it, and then you have to “edit the kernel parameters” in that menu there —
* Find the line that looks like:
kernel /boot/vmlinuz-2.6.10-5-386 root=/dev/hda2 ro quiet splash
change it to
kernel /boot/vmlinuz-2.6.10-5-386 root=/dev/hda2 ro quiet splash rw init=/bin/bash
when you set init=/bin/bash, you should get a PURE COMMAND LINE prompt and your fstab should be bypassed completely.
SO THEN, once you get there, your whole disk will be read only, so you have to do:
mount -o remount,rw /
This will give you read/write permission on root.
Now you can do whatever you want, like changing your root passwd.

Found this here when I was trying to find a solution for one of my friend.