First, you will enter
commands not code. You do this in a terminal, in windows it is called a command line.
Device drivers are loaded as modules to the Linux kernel, so they are referred to simply as modules.
To know which modules your wireless cards need, we need to know the chipset that is used on the circuit board. The name of the card is not as important as the name of the chipset.
To find out which chipsets you have, first you need to be root. I'm not sure how Debian does it, so I will give two examples. The first method will log you in for as long as you have the terminal open. (The # is a prompt, don't enter it)
Code:
# su
# password <enter your root password here>
The next way will enable you to do only one command, after you enter the password.
Code:
# sudo <enter command here>
# password <enter your root password here>
Now enter this for a card that is inside the laptop (on-board).
It will print out all PCI devices on your system. Copy and post the output.
For USB devices enter this.
You can copy and post that too, but I think it will be easier to configure the on-board device, so let's do that one first.