Friday, August 29, 2008

Windows: Hunt down a Malicious Program/Virus..

Computer viruses have been existing for ages now, they still do because they've learned to adapt. They give sleepless nights to users who own a personal computer. Computer Viruses exists in several forms and each of them have their own strategies of attacking personal data of a user. In its elementary form a virus is just a block of code written one of the several programming languages. For a virus, to do its dirty work it needs to be active, now that is the 'Virus Law' that I will exploit to hunt down a Malicious Program or a Virus. Remember not every malicious program is a virus and its just not the virus that we need to be concerned about. Trojans, Worms, Malware, Adware, bots and what not, hence I've used the term Malicious Program.Microsoft's Windows is the most widely used Operating System in the world and as a result it attracts more viruses. Users are left at the mercy of Anti virus Programs. I highly recommend anyone using Windows to have a well setup and updated Anti virus program running all the time as we have no other choice but thankfully these anti virus programs tend to detect virus many times. But what if a virus attacks (many these days do) your anti virus program!! The thought is scary and will send the shivers down to your spines. In this article I present to you my way of dealing with Malicious Programs or viruses.

This article requires that you have a medium to advanced expertise on using Windows environment, a little knowledge of Windows processes. Now enough of the talk lets now get our hands dirty. To begin with, we need weapons and they are as follows:

  • Process Explorer, a tiny utility which can be downloaded from Sysinternals.
  • Zone Alarm Pro, a firewall which you can purchase if you are gentleman or you get the idea :-)

Surprisingly we are not using any anti virus program at all. Trust me we don't need one. Start Process Explorer and have a look at its output, here is what mine looked like :



The reason why I had asked for a little knowledge of Windows processes will be justified if you go through each process and its description. Process Explorer is a great tool in an Windows Admin's hands and is much powerful and helpful than the one available by default in Windows: Task Manager.

Most malicious programs have a rule to obey : They need to be active to be able to cause destruction. Every active program (it can be a virus too) has its process running and hence when a virus is active its name is listed in the process list in the Process Explorer. We can identify it as a virus if we can identify system processes and application processes. Examples of system processes are svchots.exe, smss.exe, winlogon.exe etc. These are the processes that always run on your Windows machine, so to be smart you must know the names of the ones that run on your PC. All the remaining process that run and show up in your Process Explorer are the ones used by the applications that you've installed on your PC. Like for example, say you've installed Yahoo Messenger, a process called Ymsgr_tray.exe always runs on your PC. This way you should be able to identify all the processes as either system or application specific.

If you PC is infected with a malicious program, the process (many times itself) associated with it will be seen in the Process Explorer list. Now you can identify it as a malicious program because of its suspicious activity and also the fact that it is neither a system process or a process associated with any app that you've installed. With a process identified as Virus, our job is half done. Now open up Zone Alarm Pro, click the Program Control tab and select the Programs sub tab. Here is what this looks like on my machine :


The screenshot is itself self-explanatory. Zone Alarm can give or deny internet access to every process running on PC and also it can give trust level to every process. Trust level is what we will use to nab the malicious process. For the sake of this article I've deliberately put a process called as AutoHotKey. Some anti virus programs identify AutoHotKey as a Virus but this is actually a script that most of us don't need. So if you find this one in your startup and process list, go ahead and do what I do here.

AutoHotKey is a nasty script that has no business to irritate us. If you are infected with AutoHotKey, you will see it in Process Explorer. Now to nail the malicious process, you simply need to select it in the Programs list in Zone Alarm, click on it under the Trust Level column and select Kill. The screen below shows this :


Once that is done, no matter what Virus it is, its been nailed for ever!!

In my experience of dealing with all sorts of viruses esp those that come with USB drives, this method of hunting a Virus or any malicious program works like a charm. Always remember that most viruses disable your anti virus system once your PC is infected, hence this method should save your ass out of any such tricky situation and boy did I patent this method ;-)

Rule of Thumb: You've got internet on you PC, you must have a firewall and an properly configured and regularly updated anti virus systems running.

Tuesday, August 26, 2008

Apple: From Windows to Mac...

This is not a switcher guide to Mac OS X but it should serve as nice reading for anyone who is looking for Windows like apps on Mac OS X. Lets face it, we are so used to Windows that no matter what we always want an app similar to the one in Windows. We don't like change. As it turns out there is a world that is beyond windows and there are apps that do much more than their counterparts in Windows. Lets now look at the apps that make you get started with the wonderful world of Mac OS X..

Lets begin with TextEdit, it is a text editor for Mac but unlike Notepad in Windows TextEdit can handle rich text. This is a very handy tool if you need to write down some text. You word processing need are taken care of by Microsoft Office 2008 for Mac, although I must admit that Office for Mac doesn't look as comfortable to work with as it is on XP or Vista. If you are used to MS Office just remember that you got one for Mac as well. My personal favorite is iWork'08. iWork'08 is a wonderful and equally powerful replacement for MS Office. Working with iWork is a wonderful experience, be it creating or editing documents or creating Keynote Presentation, iWork has got it all. Most importantly iWork has support for .doc files created with MS Office, so everything is seamless and works zippy.

Once you are done with your basic text editing and word processing you face the never ending browser war. Mac OS X has got the best browsers you can think of, from Opera to Firefox or Camino to Safari. I personally recommend Safari for three simple reasons:

  • Web page rendering in Safari is fastest when compared with other browsers.
  • Safari is very light on system resources.
  • Private browsing in safari allows you to browse without leaving any tracks what so ever.

Image Editing is where the Macs excel. There are zillions of Image Editing apps available in mac and naming a few is extremely difficult. However the ones I use more often are Pixelmator, Picturesque, Xee and ofcourse the very best Preview. And then there is the mother of all : Adobe Photoshop CS3 for Mac. Photoshop on Mac runs much faster than on Windows. There is practically nothing that you can think of and couldn't do to an image on Mac.

Now comes my favorite part, p2p client on Mac. There is only one app that i'd recommend in this category and trust me when I say this, nothing works better than Transmission on Mac. This is my favorite app in all the categories. Transmission works so smoothly on Mac that no amount of description will justify it but let me try this description : Transmission on Mac is like Knife on Butter.

Heyy what about Multimedia ?? Well, you got iTunes, the best music management software on the Earth, QuickTime Player, the best media player cum video converter and VLC, the everyone's favorite media player that needs no codecs to play any files that you throw at it. What else does anyone need ?

There are several categories of app that I've deliberately left behind with a hope to cover them in my future articles. Macs are beautiful machines but the apps they've got make them equally productive. When you get a Mac, think of change, adapt to it and then you will know that once you go Mac you never come back!!

The Quest for Olympic HD Videos!!

Are you one of those unfortunate souls who missed out watching the Olympics action on your TV ?? Or did your TV broadcaster didn't cover the events you wanted to watch ?? In India the only channel that showed us Olympics was DD Sports and boy their broadcast sucked!! DD didn't show us all the matches of Michael Phelps and what about my dose of Women's Beach Volley Ball ?? Now don't ask me to watch Beach Volley Ball on YouTube!! Gosh, I need that in HD. But all is not lost, the bittorrent community comes to our rescue.


Many of the public and private trackers have hundreds of Olympic HD videos, trackers like bittorrent, btjunkie and mininova have thousands of peers for many of the videos. Private tracker hd-bits.ro has excellent HD quality opening and closing ceremony videos. So people fire up you favorite p2p client and head to your tracker and start downloading your Olympic videos. Some one said 'Ignorance is bliss', I say, 'HD is bliss' Happy leeching :-)

Sunday, August 24, 2008

Apple: The Push and Pull of MobileMe

MobileMe as we are aware is a premium email service from Apple which has replaced the earlier .mac service or lets put it this way, MobileMe takes .mac service to the next level. With push notifications, it has been referred to as the Exchange for the rest of us. For those uninitiated, push email is a service that pushes the email to the email client the moment it arises at the server. This is a superior technology to the traditional pull email service where the email client has to manually check for the new mails at the server.

MobileMe was launched on July , the launch was delayed by more than 48 hours, poor Apple guys, they must have had the toughest times in their careers in setting up MobileMe cloud. The earlier .mac members were upgraded to MobileMe, subscribers now have @me.com with an alias @mac.com. jack@mac.com is same as jack@me.com as both point to the same account. The euphoria and the excitement was put to rest when subscribers started to experience sync problems. Calenders and Contacts were not being synced automatically, there were no push emails and boy, the problems continue till date...

Apple's image was badly tarnished and the customer friendly Apple announced 1 month free extension of the service to all of its customers. A week later Apple has further extended it by another 2 months. After having said all this lets now look into some of the problems I have encountered with MobileMe with Pros and Cons:

Pros:
  • MobileMe has a really cool interface, thanks to the magic of AJAX.
  • Any changes made to contacts, calenders will be reflected in all your Macs, iPhones and PCs.
  • Dragging and droping of emails to folders is possible and gives you a desktop like interface.
  • iDisk allows you to store and share your files with your friends and family.
  • Photo Gallery allows you to share you sweet memories with your friends and famiily.
Cons:
  • Most of the times the changes I made to the contacts and calenders were reflected but at times there were sync problems.
  • Sending a file as an attachment via the web interface has not been possible to me even to this date.
  • iDisk via finder is not responsive and uploading even smaller files takes a lot of time.
  • No filers or rules for emails.
  • Gmail beats mobileme hands down.

Having said all this, I still have faith in Apple and rest assured, these little problems with mobileme will be sorted in the next few weeks if not months. Good luck Steve... mobileme is good but as of now gmail is great :-)

Linux: "Argument list too long" error when trying to use '/bin/rm' command

This error is not very common but this is something that you will see for sure in your daily routine if you are a Linux user. Lets say you are working with Apache webserver and there comes a situation where you have to delete log files for Apache.

[root @ guest logs]# pwd
/u01/app/oracle/product/j2ee/Apache/Apache/logs
[root @ guest logs]# ls -l | grep log | wc -l
5195
Try issuing the "rm" command to delete those long list of files
[root @ guest logs] # rm *log*
/bin/rm: Argument list too long.
If that returns an error message regarding "Argument list too long" then there are
alternatives to remove the files. It seems that the rm command can't deal with such
number of arguments. Fortunately there are some workarounds for this problem.

You can combine rm with find:

find . | xargs rm -f

Or if you want to delete all the files in the directory with a single stroke issue the following code:

ls | xargs rm -f

Wednesday, August 20, 2008

How to install rpm package in Ubuntu?

I'm sure you might be thinking why you would need a "RPM" package to be installed on a Ubuntu machine. But trust me, you will come across this question for sure. Of course, I can understand the purpose of you being here. You are already in such a situation where you couldn't find the deb package for one of your favorite software. The only thing you found was a "RPM" package. In a Ubuntian's (person who uses Ubuntu :->) life this is a common thing.


Well you are not lost, you have a way to install a rpm package in Ubuntu.

If you are trying to install "software.rpm" in the Desktop directory you can use the following command to install the rpm package.

guest@guest-ubuntu:~/Desktop$ sudo alien -i software.rpm

You should be aware the "alien" must be already installed on your Ubuntu machine. If you don't have it already installed you can use the below command to install it:

guest@guest-ubuntu:~/Desktop$ sudo apt-get install alien

Please post in your questions or comments.

Tuesday, August 19, 2008

Download and Install Canon MP 210 printer drivers in Ubuntu (linux)

Trying to find drivers for Canon MP 210 on Ubuntu? Well you don't get lucky if you try to find the drivers in Canon US website.


Basically, you will need three files:

cnijfilter-common_2.80-1_i386.deb
cnijfilter-mp210series_2.80-1_i386.deb
scangearmp-common_1.10-1_i386.deb

You can download the Canon MP 210 drivers from Canon (Australia) website.

Direct Link to Linux drivers:
http://support-au.canon.com.au/EN/search?canonsearch=1&lang=EN&category=All-in-One+Printers&series=All-in-One+Printers&model=PIXMA+MP210&menu=Download

Canon MP210 support page:
http://www.canon.com.au/products/all_in_one_printers/all_in_one_printers/mp210_support.aspx


You can either install these "deb" packages using graphical interface (gdebi-gtk) or use the following commands to install them on the command-line:

guest@guest-ubuntu:~/Desktop$ sudo gdebi cnijfilter-common_2.80-1_i386.deb
guest@guest-ubuntu:~/Desktop$ sudo gdebi cnijfilter-mp210series_2.80-1_i386.deb
guest@guest-ubuntu:~/Desktop$ sudo gdebi scangearmp-common_1.10-1_i386.deb


Please post in your comments and suggestions to improve this blog.

Sunday, August 17, 2008

Kill -9: How to kill running process if everything fails in linux

I bet you came across a situation when you tried to kill a process in Linux but it will be never killed.

kill -9 does the trick

I don't recommend you to use kill -9 all the time.

So that your important applications may close themselves, it is very important you follow this procedure when killing them:

kill pid (sends a TERM, wait 5 seconds)
kill pid (yes, try again, wait 5 seconds)
kill -INT pid (wait for it)
kill -INT pid (damn, still not dead?)
kill -KILL pid (same thing as -9)
kill -KILL pid (something is wrong)

If the process is still running, then stop sending it signals. It's either stuck in I/O wait or it's Defunct. 'ps auxw | grep processname', if you see it's in state D, then kill its parent process (the 3rd column of 'ps -ef' is the parent pid). If it's in I/O wait, then you have a deeper system problem. Most home users will never have this problem.

How to show labels (tags) in your blog?

When I recently created my blog in blogger, I had no way of showing my labels in the blog. I searched all over the internet trying to find a way to show the labels. Every search result suggested me to use "Add a page element" link to add the Labels option. But there was no such link when I tried to customize my blog. Trust me, I wasted almost 5 hours searching just to find out how to make the "Add a page element" link show up on my customization page. But I was never successful in doing so.


But I found another way to show the Labels instead of wasting my time to get the "Add a page element" to show up.

The following code will show all the labels used in your blog.

<b:widget id='Label2' locked='false' title='YOURTITLE' type='Label'>
<b:includable id='main'>
<b:if cond='data:title'>
<h2><data:title/></h2>
</b:if>
<div class='widget-content'>
<ul>
<b:loop values='data:labels' var='label'>
<li>
<b:if cond='data:blog.url == data:label.url'>
<data:label.name/>
<b:else/>
<a expr:href='data:label.url'><data:label.name/></a>
</b:if>
(<data:label.count/>)
</li>
</b:loop>
</ul>
<b:include name='quickedit'/>
</div>
</b:includable>
</b:widget>


You can find more information at http://www.consumingexperience.com/

Please post in your comments and suggestions.

Job Title: IT Manager

Title: IT Manager
Location: Alviso, CA

Headquartered in Alviso, CA, Minerva Networks is a privately owned networking infrastructure company developing innovative end-to-end broadband IP television solutions in the telecommunication and enterprise markets.

Play an integral role in the development of innovative applications for the IPTV industry. The successful candidate will join Minerva’s Client Engineering Team developing client-side IPTV solutions – for set-top boxes, PCs, and mobile devices - that allows for the delivery of carrier-grade video services, including high-definition (HD) and standard definition (SD) television, video on demand (VOD), pay-per-view (PPV), and digital video recording (DVR) over an IP network.

Key Responsibilities

- Responsible for the oversight, direction, planning, implementation and coordination of all technologies and technical services within the company
- Responsible for insuring network appliances and system environments are current with technology standards
- Ensure that the implementations in IT are inline with the current business requirements and future goals of the company
- Provide strategic operational direction, guidance and leadership for network architecture and administration
- Provide oversight of day to day operations as well as disaster recovery solutions
- Develop and maintain all systems, servers, workstations, security, network configurations, and other electronic communication devices
- Troubleshoot network and desktop performance issues
- Manage company email system (MS-Exchange), anti-virus management (Symantec), and spam email filtering management (Ninja)
- Oversee backup procedures and maintain disaster recovery plans
- Support and enforce company information policies and procedures
- Manage all network applications and services (DNS, WINS, AD, Wiki, RDS, Terminal Srvs, File&Print Svcs, ERP)
- Manage VPN services ensuring corporate security and connectivity between remote users and sites
- Recommend purchases, upgrades, patches, and new applications and equipment
- Maintain software inventory and tagged asset management
- Deploy and manage printing services to all corporate users and network printers
- Maintain the corporate website, intranet sites and other external devices, and be the primary contact for all associated IT related vendors
- Administer the telephone system and all user handsets

Required Knowledge

- Minimum 5 years of IT management experience including direct supervisory experience
- Knowledge of Microsoft Active Directory, LDAP and domain naming system, terminal server and related technologies
- Knowledge of multi-vendor network devices operating in a unicast and multicast network, ensuring customer SLA video streaming quality

Required Skills & Abilities

- Prepared to work in a diverse technological environment and be able to provide hands-on support of technologies when necessary
- Vendor/contractor management skills
- Communications skills (written and verbal)
- Flexibility to work with multiple business functions/capabilities
- Available to be on call 24/7, meeting overseas office’s requests

Required Professional Designation/Certification

- BS degree in Computer Science
- CCNA or CCNP
- MCSE

Required Experience

- Understanding of system disaster recovery operations, systems troubleshooting and performance monitoring, tape backup and restore procedures
- 5+ years of Microsoft and RedHat Linux operating system administration experience
- Experience with storage, VMware, SAN, data retention/management
- 5+ years of networking administration of different layer2/layer3 manufactured switches/routers, primarily Cisco, Network Extreme, and Nortel

Email your Resume to:

Job Title: Program Manager

Title: Program Manager
Location: Alviso, CA

Headquartered in Alviso, CA, Minerva Networks is a privately owned networking infrastructure company developing innovative end-to-end broadband IP television solutions in the telecommunication and enterprise markets.

Key Responsibilities:

- Managing strategic client programs or projects and ensuring all customer commitments are met
- Panning and successful delivery of projects of significant size, scope and complexity
- Leading the development of the program/project plans and the execution of those plans
- Identifying and securing needed resources (personnel & financial)
- Dealing with conflicting issues, roadblocks and dependencies
- Proactively managing risks, changes and communications to project stakeholders
- Strengthening business relationships with clients
- Management of relationships with delivery partners and suppliers
- Deliver programs and projects per agreed performance metrics
- Drive superior customer satisfaction results on program and project delivery

Required Knowledge:

- Extensive training and/or experience with program management principles, methodologies, processes and tools
- Sound knowledge of converged telecommunications solutions as related to data, voice, IP and IPTV products and services
- Excellent PC skills (MS Word, MS Excel, MS Project, MS PowerPoint, MS Access)
- Knowledge of working Telco/Carriers and asset

Required Skills & Abilities:

- Demonstrated ability in building or improving customer relationships
- Strong leadership & organizational transformation skills
- Ability to uncover client requirements and clearly articulate to others
- Able to conceive innovative and produce creative solutions to customer issues
- Superior communications and influence skills
- Extensive experience working with senior management and client executives
- Ability to navigate and get the job done in a matrix environment
- Sound knowledge of budgeting and financial processes
- Written communications skills and experience--writing and updating Statements of Work and securing customer agreement

Required Professional Designation/Certification:

- A PMP designation of equivalent certification is expected
- An advanced graduate level business or technical degree would be an asset

Required Experience:

- Minimum of 7 years experience providing program management leadership in an external client delivery environment
- Minimum of 2 years in a Senior Program Management role managing large complex programs or projects
- Experience managing projects for multiple clients simultaneously
- Experience leading multi-disciplinary and geographically dispersed teams
- A track record of delivering on agreed upon program and project objectives
- A history of excellence/superior performance against internal benchmarks

Email your Resume to:

Saturday, August 16, 2008

Job Title: Systems Engineer (Field Engineer)

Title: Systems Engineer (Field Engineer)
Location:Chicago, Illinois (preferred)
Atlanta, Georgia
Alviso, California

Headquartered in Alviso, CA, Minerva Networks is a privately-held networking infrastructure company developing innovative end-to-end broadband IP Television solutions in the telecommunications market. We are currently seeking a Technical Support Engineer who will be the first point of contact for Minerva's IP Video customers and be responsible for providing phone support services on Minerva and related third-party products.

Job Description:
- Responsible for onsite and remote installations, integration, testing and follow-up support of a broad range of IPTV technologies into headends and networks at Telco, CLEC, and ILEC customer facilities. These include middleware, set-top box, video on demand, and conditional access/encryption and DHCP systems
- Effectively lead customer technical engagements, including managing, troubleshooting and resolving difficult systems and networking issues relative to IPTV deployments
- Help establish and follow project management processes and best practices for efficient service delivery
- Deliver training materials that target technical and non-technical audiences, including System/Network Engineers, Customer Service Representatives (CSR), Software Developers, Systems Integrators, and Marketing/Business Managers.
- Willing to travel up to 75% (including International)

Required Skills:
- Demonstrated knowledge and experience installing, configuring, and troubleshooting broadband IP and multicast networks delivering high-quality video
- Technical depth and breadth in one or more of the following disciplines: IPTV middleware, video compression (MPEG-2, MPEG-4), digital video broadcast, video servers, IP networking, set-top boxes, and Web-based client/server applications
- Hands-on systems (Windows, Linux) and networking (TCP/IP) experience
- Demonstrated ability to deliver training materials for technical and non-technical audiences
- Strong written and oral communication skills
- Demonstrated strong interpersonal skills
- Ability to work independently and as part of a team
- Strong planning and organizational skills
- Must be able to quickly learn a broad array of technologies and apply knowledge to real-world problems
- High degree of customer-focused sensitivity towards both internal and external customers and partners
- A broad understanding of how major components fit into an end-to-end video broadcast Headend system (recommended)

Education:
- Five or more years of systems/network management and systems integration experience
- Computer Science or Electrical Engineering Bachelor/Masters Degree or equivalent experience

Email your Resume to:

Job Title: Technical Support Engineer

Title: Technical Support Engineer
Location: Alviso, CA

Headquartered in Alviso, CA, Minerva Networks is a privately-held networking infrastructure company developing innovative end-to-end broadband IP Television solutions in the telecommunications market. We are currently seeking a Technical Support Engineer who will be the first point of contact for Minerva's IP Video customers and be responsible for providing phone support services on Minerva and related third-party products.

Job Description:
- Function as primary customer contact for all incoming and assigned customer cases by providing telephone, web, and email based technical support for Minerva Networks products, including the MPEG-over-IP encoding, the IP networking system, IPTV application servers.
- Re-creating customer problems and testing customer configurations in-house to help diagnose problems
- Coordinating and driving activities within Minerva to address customers' needs
- Escalate customer issues and request assistance as appropriate.
- Acquire, maintain, and expand knowledge of relevant product offerings, current support policies, and methods of support delivery, in order to quickly provide technically accurate and complete solutions.
- Constantly seek to proactively identify opportunities for improvement in all processes, communication, and documentation.
- Occasional travel to customer sites to perform on-site troubleshooting, upgrades, etc.

Skills Required:
- Excellent written and verbal communication skills.
- Strong analytical and trouble shooting skills.
- Must be able to quickly learn a broad array of technologies and apply knowledge to real-world problems.
- Must be a flexible team player that is willing to jump in to help others wherever necessary.
- Ability to handle difficult or sensitive situations with diplomacy and tact.
- Demonstrated ability to work in fast paced, high demand environment.

Skills Preferred:
- 1-2 years of experience in field services or technical support
- Knowledge of one or more of the following: -

(1) IP networking, routing configuration and protocols.
(2) Unix operating systems
(3) Web based client/server applications
(4) Oracle or Microsoft SQL RDBMS

Education: BSEE/BSCS or equivalent experience.

Email your Resume to:

Thursday, August 14, 2008

Linux: Installing Cisco vpn client on Ubuntu 8.04 - the Hardy Heron

If you work for a corporation who uses Cisco VPN and if you are a big Linux fan who use Linux at home this is for you. The steps explained here are for a 2.6.24 kernel version on a 32/64 bit OS. I tested this on Ubuntu 8.04. You will need to apply the patch for the vpnclient to work.


Steps to successfully install and use Cisco vpn client on Ubuntu.
1) Download the VPN client from here.
# wget http://tuxx-home.at/vpn/Linux/vpnclient-linux-x86_64-4.8.01.0640-k9.tar.gz
2) Untar the downloaded file
# tar xvzf vpnclient-linux-x86_64-4.8.01.0640-k9.tar.gz
A new folder "vpnclient" will be created.
3) Go into the "vpnclient" directory
# cd vpnclient
4) Now download the patch from here.
# wget http://tuxx-home.at/projects/cisco-vpnclient/vpnclient-linux-2.6.22.diff
5) Before installing the vpn client you will have to apply the patch using the below command
# patch < vpnclient-linux-2.6.22.diff
6) Now time to install the actual client
# sudo ./vpn_install
Hit enter for all the options asked. You can use the default options provided by the installation.
7) Before using the vpn client you have to start it first.
# sudo /etc/init.d/vpnclient_init start
8) Place the cisco vpn profiles in to the /etc/opt/cisco-vpnclient/Profiles/ directory.
9) To connect to the "sample" vpn network using a "sample.pcf" file you need to use the following command:
# sudo vpnclient connect sample

Vpnclient Usage:
vpnclient connect [user ] [eraseuserpwd | pwd ]
[nocertpwd]
vpnclient disconnect
vpnclient stat [reset] [traffic] [tunnel] [route] [repeat]
vpnclient notify
vpnclient verify [autoinitconfig]
vpnclient autoinit


Some of the errors that I came across when trying to make this work.

1) Error:

/vpnclient/linuxcniapi.c:12:26: error: linux/config.h: No such file or directory
In file included from /vpnclient/Cniapi.h:15,
from /vpnclient/linuxcniapi.c:27:
/vpnclient/GenDefs.h:113: error: conflicting types for ‘uintptr_t’
include/linux/types.h:40: error: previous declaration of ‘uintptr_t’ was here
/vpnclient/linuxcniapi.c: In function ‘CniInjectReceive’:
/vpnclient/linuxcniapi.c:297: error: implicit declaration of function ‘skb_set_timestamp’
/vpnclient/linuxcniapi.c:331: error: ‘struct sk_buff’ has no member named ‘nh’
/vpnclient/linuxcniapi.c:332: error: ‘struct sk_buff’ has no member named ‘mac’
/vpnclient/linuxcniapi.c: In function ‘CniInjectSend’:
/vpnclient/linuxcniapi.c:454: error: ‘struct sk_buff’ has no member named ‘mac’
/vpnclient/linuxcniapi.c:455: error: ‘struct sk_buff’ has no member named ‘nh’
/vpnclient/linuxcniapi.c:458: error: ‘struct sk_buff’ has no member named ‘h’
/vpnclient/linuxcniapi.c:458: error: ‘struct sk_buff’ has no member named ‘nh’
make[2]: *** [/vpnclient/linuxcniapi.o] Error 1
make[1]: *** [_module_/vpnclient] Error 2


make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-19-generic'

make: *** [default] Error 2
Failed to make module "cisco_ipsec.ko".


Reason: You might be downloaded the wrong version of vpnclient for this kernel version.

Solution: Download the vpnclient mentioned above.

2) Error:

Running on: Linux 2.6.24-19-generic #1 SMP Fri Jul 11 23:41:49 UTC 2008 i686
Config file directory: /etc/opt/cisco-vpnclient
The profile specified could not be read.


Reason: You might have used an incorrect syntax.

Solution: Do not use file extension (.pcf) within the syntax. Use the following syntax
# vpnclient connect sample (if you want to use sample.pcf file)

Special thanks to http://tuxx-home.at/


Sunday, August 10, 2008

"HDA audio bus driver is required and not found". Dell Optiplex 745 PCI DEVICE / SoundMAX problem

When trying to install "Analog Devices ADI 198x Integrated HD Audio" drivers for my Dell Optiplex 745, I ran into an issue where the installation stops after giving an error message "HDA audio bus driver is required and not found".

There were not many articles on how to fix this issue. Finally, I came up with two simple steps to fix this issue.
  • The issue can be resolved by applying the HP patch SP33867. You can download the Microsoft Universal Audio Architecture (UAA) Bus driver for High Definition Audio from here. If you have any issues with the first link, you can also download from here.

  • Download the "Analog Devices ADI 198x Integrated HD Audio Drivers" from http://support.dell.com/. Direct link for this driver is here.

Please post in your comments, suggestions and questions. I'll try to respond promptly.