Connecting to a wireless network really consists of two parts. The first one is configuring the card and the second one is requesting (or assigning) and IP address and other required network configurations. Lets handle the configuration first:
Quote:
Using the kwifi manager I scanned for networks in the area. It found one labled "FMWireless" I recognized and can connect to with windows. In the scan report box it listed "FMWIRELESS" mode (empty) quality "0" and Wep 'on'. I discovered that I could select the wep setting and change it to off, and when I did that, the button at the bottom left of the scan report window (Switch to network) became clickable (no longer grayed out) I clicked on it and nothing happened. I loaded a browser to see if it had connected and forgot to tell me, but nope, no server found.
|
When configuring a card, you need to do at least one, and possibly more, things. The first is set the SSID of the station you want to use (in this case FMWireless) using a command like this:
iwconfig eth1 essid FMWireless
If that is successful, you should see FMWireless appear in the iwconfig output. The second (and sometimes optional) bit is to enable encryption.
Quote:
iwconfig eth1 key xxxxxxxxxxxx
|
is correct, provided the xxx bit is the hex version of the key. The fact that you can connect to this AP with Windows suggests that either the AP isn't WEP secured, or that Windows has had the WEP key entered previously. The fact that the scan is reporting that WEP is enabled suggests that a key is required.
This is the second part of using a wireless card, getting an IP address. Assuming that the access point is running a DHCP server, you need to run a DHCP client. Some of the common ones in Linux are dhcpcd, dhclient and pump. Now normally, pump is called using the ifup command, so rather than running pump directly, you can run it like this (as root):
ifup eth1
which (if your card is configured and you're lucky) will get an IP address, set the gateway and add a DNS to /etc/resolv.conf. All DHCP clients will do this, not just pump. You can also avoid using DHCP and set these parameters up manually using ifconfig, route, and a text editor, but that usually requires some knowledge of the network you're trying to connect to like the IP range they allow, the IP address of the router and the IP addresses of their ISP. On a home network, you're likely to know these things but if you are out using someone elses, that isn't likely.
And yes, ssid and essid refer to the same thing, the name of the access point.