How to get “guitar rig” software to work with my electric guitar?

oyster_ s asked:

I tried plugging in my guitar directly to the line in or mic inputs on my soundcard, and although I get static from my speakers and some change is showing on guitar rigs equilizers, I don’t get any sound while playing my guitar. I use onboard soundcard, but it is recognized by [...]