, i am using a kernel my friend put together
This is pretty easy to figure out. First thing to do would be to ask your friend if wireless support was enabled. The second thing to do would be to open the .config
file in the kernel source directory (usually /usr/src/linux) and look for a section called Wireless LAN (non-hamradio)
. If you see CONFIG_NET_RADIO=y
then your kernel is set for wireless.
From what you've posted so far though, it looks like you are good. However without an AP to test against, it is going to be hard to tell for sure. So basically you either need to find a friend who has a wireless rig and try to set it up there or find a place that has an open wireless network. I know frequently Starbucks will have wireless connections they let customers use.
So once you find an AP you can use, you need to set up your card with iwconfig. You can sometimes find out the info you need to set up your card with iwlist. Open a console and type iwlist eth0 scan
. The output of that should show all the access points available with their ssid and mode. So then set up the card with that info like this:
iwconfig eth0 mode Managed (or whatever mode is shown by iwlist)
iwconfig eth0 essid SSID (where SSID is the ESSID from iwlist)
You may need to set the mode to Auto rather than Managed in order to set the essid.
Once you have the mode and essid set, dhcpcd eth0
should get you an IP address and you should be good to go.
By the way, if you haven't already, now would be a good time to read some man pages, mainly man iwconfig, man ifconfig and man iwlist.