To check if the appropriate kernel modules are loaded you can issue
In order to get a wifi connection you need wpa supplicant (if the network is encrypted with wpa/wpa2), and dhcp. I can't help you exactly how to install them (they may are already installed); you can download the .deb files and install them with dpkg (check the man page).
You need to edit the /etc/wpa_supplicant.conf with your network settings. Mine looks like this
Code:
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
network={
ssid="Panos"
scan_ssid=1
key_mgmt=WPA-PSK
psk="<removed>"
}
and then start/restart the service. I believe in Debian it is
Code:
$ service wpa_supplicant restart
or something like that.
Then you need to call the dhcp client. On my machine I do this
Code:
$ dhcpcd -t 60 wlan0
Of course somewhere in /etc/ you can set it to auto execute. Eg on Gentoo this is done in /etc/conf.d/net
If your router doesn't have dhcp server, you need 3 steps:
Code:
#give an IP to the adapter
$ ifconfig wlan0 inet XXX.XXX.XXX.XXX netmask 255.255.255.0 up
#set up routing table
$ route add -net default gw <your-router-IP> wlan0
#set up the dns in /etc/resolv.conf
$ echo "nameserver <your-router/dns-IP>" > /etc/resolv.conf
You can check the man pages of the tools for more details.
I hope this helps a bit.