Thursday, June 7, 2007

Cisco VPN Client on Ubuntu

This post helped me in setting up Cisco VPN Client on Ubuntu in an effortless manner.

Sunday, June 3, 2007

Ubuntu, Ruby & IntelliJ

Ubuntu
<rant>
I had instlled Beryl 0.2R3 on Ubuntu 7.04. Though the deskop effects have been great so far, the behaviour of any new window being opened has been very unpredictable. The new window will be open up as a empty black window at first, I had to reset the window manager/window decorator sometimes to get the see that window functioning. Sometimes even the already opened winodws will be blackened. Finally I lost my patience and reverted back to the default metacity window manager.
</rant>

Ruby


Installed ruby and RoR with the help of the steps mentioned here.

IntelliJ

  • Installing IntelliJ (Selena EAP) was a simple affair too. Just unzip to the installation folder:
tar xzvf idea6918.tar.gz
  • Created a launcher in the Applications Menu too by right clicking on Applications, selecting Edit Menus and adding the launcher in the Programming group. Also Modified the /bin/idea.vmoptions file so that IntelliJ uses a little more memory to start with.
-Xms256m
-Xmx512m

I had to disable dektop effects on Ubuntu to see IntelliJ window [otherwise I could just see a white window with borders].
  • Next, I installed two plugins DBHelper and Ruby on IntelliJ.
  • Configure Ruby SDK on IntelliJ [File -> Settings -> Template Project Settings -> Project Structure -> Project 'Default (template) Project'], need to provide the ruby installation folder as /usr. To configure JSDK, point to /usr/lib/jvm/java-6-sun.

Friday, June 1, 2007

Configure Verizon PC-5740 EVDO in Ubuntu

Off-late, using verizon wireless PC-5740 card on the laptop has been very helpful. Though the speed is low, it solves the purpose many times. In my windows installation, I had to download an installer from VZAccess Manager Software Download site after answering few stupid questions. But for Ubuntu 7.04 (Fiesty Fawn), I had to do the following simple steps:

  • Edit dialing config:
sudo gedit /etc/wvdial.conf

Change the contents of that file to:

[Dialer Defaults]
Phone = #777
Username = 0
Password = 0
Stupid Mode = on
New PPPD = yes
Save and exit the file
  • Connect PC-Card :
sudo modprobe usbserial vendor=0x106c product=0x3701
(To find out the vendor and product see Kernel Modules section of this post.)
  • Dial :
sudo wvdial
  • I had to comment out the following in /etc/ppp/options so that the connection does not drop every 2 minutes or so:
# lcp-echo-interval 30
# lcp-echo-failure 4

The configuration does not even need the phone number to use EVDO on Ubuntu, which was required to download the installer for windows.