264 lines
7.4 KiB
HTML
264 lines
7.4 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<HTML
|
|
><HEAD
|
|
><TITLE
|
|
>Checking things in case they don't work</TITLE
|
|
><META
|
|
NAME="GENERATOR"
|
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
|
|
REL="HOME"
|
|
TITLE="Link-sys WPC11 Mini-HOWTO"
|
|
HREF="index.html"><LINK
|
|
REL="PREVIOUS"
|
|
TITLE="Wlan Drivers for You Link-Sys Card"
|
|
HREF="x328.html"><LINK
|
|
REL="NEXT"
|
|
TITLE="Wireless tools"
|
|
HREF="x371.html"></HEAD
|
|
><BODY
|
|
CLASS="SECT1"
|
|
BGCOLOR="#FFFFFF"
|
|
TEXT="#000000"
|
|
LINK="#0000FF"
|
|
VLINK="#840084"
|
|
ALINK="#0000FF"
|
|
><DIV
|
|
CLASS="NAVHEADER"
|
|
><TABLE
|
|
SUMMARY="Header navigation table"
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TH
|
|
COLSPAN="3"
|
|
ALIGN="center"
|
|
>Link-sys WPC11 Mini-HOWTO</TH
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="left"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="x328.html"
|
|
ACCESSKEY="P"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="80%"
|
|
ALIGN="center"
|
|
VALIGN="bottom"
|
|
></TD
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="right"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="x371.html"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"></DIV
|
|
><DIV
|
|
CLASS="SECT1"
|
|
><H1
|
|
CLASS="SECT1"
|
|
><A
|
|
NAME="AEN348"
|
|
></A
|
|
>8. Checking things in case they don't work</H1
|
|
><P
|
|
>1. Be sure to type <TABLE
|
|
BORDER="1"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><FONT
|
|
COLOR="#000000"
|
|
><PRE
|
|
CLASS="SCREEN"
|
|
>ifconfig</PRE
|
|
></FONT
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
></P
|
|
><P
|
|
>You should something like this</P
|
|
><P
|
|
CLASS="LITERALLAYOUT"
|
|
>lo Link encap:Local Loopback<br>
|
|
inet addr:127.0.0.1 Mask:255.0.0.0<br>
|
|
UP LOOPBACK RUNNING MTU:16436 Metric:1<br>
|
|
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br>
|
|
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br>
|
|
collisions:0 txqueuelen:0<br>
|
|
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)<br>
|
|
<br>
|
|
wlan0 Link encap:Ethernet HWaddr 00:06:25:A8:AE:64<br>
|
|
inet addr:192.168.1.104 Bcast:192.168.1.255 Mask:255.255.255.0<br>
|
|
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br>
|
|
RX packets:35197 errors:0 dropped:0 overruns:0 frame:0<br>
|
|
TX packets:57676 errors:0 dropped:0 overruns:0 carrier:0<br>
|
|
collisions:0 txqueuelen:100<br>
|
|
RX bytes:43386657 (41.3 MiB) TX bytes:2670811 (2.5 MiB)<br>
|
|
Interrupt:3 Base address:0x100</P
|
|
><P
|
|
>The keys point here are that <EM
|
|
>inet addr:</EM
|
|
>has a real IP address, and that <EM
|
|
>Bcast</EM
|
|
> and <EM
|
|
>Netmask</EM
|
|
> are set up such that they are on the same "wave-length" as your Wireless Access Point.</P
|
|
><P
|
|
>2. If you don't, you might have had the same problem i did which was that there was no easy script to initiate the wlan0 device setup. That is to say, if the card was recognized but you still did not get a connection and say that ifconfig showed wlan0 present but with no IP address. In other words, you might see something like this:</P
|
|
><P
|
|
><P
|
|
CLASS="LITERALLAYOUT"
|
|
>text:/home/dude# ifconfig<br>
|
|
<br>
|
|
lo Link encap:Local Loopback<br>
|
|
inet addr:127.0.0.1 Mask:255.0.0.0<br>
|
|
UP LOOPBACK RUNNING MTU:16436 Metric:1<br>
|
|
RX packets:14 errors:0 dropped:0 overruns:0 frame:0<br>
|
|
TX packets:14 errors:0 dropped:0 overruns:0 carrier:0<br>
|
|
collisions:0 txqueuelen:0<br>
|
|
RX bytes:700 (700.0 b) TX bytes:700 (700.0 b)<br>
|
|
<br>
|
|
wlan0 Link encap:Ethernet HWaddr 00:06:25:A8:AE:64<br>
|
|
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br>
|
|
RX packets:1 errors:0 dropped:0 overruns:0 frame:0<br>
|
|
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br>
|
|
collisions:0 txqueuelen:100<br>
|
|
RX bytes:46 (46.0 b) TX bytes:0 (0.0 b)<br>
|
|
Interrupt:3 Base address:0x100<br> </P
|
|
></P
|
|
><P
|
|
>As you can see, the interface device, the Wireless pcmcia card, is noted, but there is no <EM
|
|
>inet addr</EM
|
|
>. The pcmcia software recognized the card, but it has not successfully connected with the Wireless Access Point.</P
|
|
><P
|
|
>I used the command,<EM
|
|
>pump</EM
|
|
> to send a simple DHCP request to the DHCP server for the device in question. I used<TABLE
|
|
BORDER="1"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><FONT
|
|
COLOR="#000000"
|
|
><PRE
|
|
CLASS="SCREEN"
|
|
>pump -i wlan0</PRE
|
|
></FONT
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
> which essentially runs a simple DHCP request to set up that card, wlan0, in this case.</P
|
|
><P
|
|
>You can get the <EM
|
|
>pump</EM
|
|
> by <TABLE
|
|
BORDER="1"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><FONT
|
|
COLOR="#000000"
|
|
><PRE
|
|
CLASS="SCREEN"
|
|
>apt-get install pump</PRE
|
|
></FONT
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
></P
|
|
><P
|
|
>While I needed to use <TABLE
|
|
BORDER="1"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><FONT
|
|
COLOR="#000000"
|
|
><PRE
|
|
CLASS="SCREEN"
|
|
>pump -i wlan0</PRE
|
|
></FONT
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
> on my laptop, I did not need this when I set up the link-sys wireless WPC11 card on my girlfriend's laptop. She has a Link-Sys WPC11 version 2.5 pcmcia card.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="NAVFOOTER"
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"><TABLE
|
|
SUMMARY="Footer navigation table"
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="x328.html"
|
|
ACCESSKEY="P"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="index.html"
|
|
ACCESSKEY="H"
|
|
>Home</A
|
|
></TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="x371.html"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
>Wlan Drivers for You Link-Sys Card</TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
> </TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
>Wireless tools</TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
></BODY
|
|
></HTML
|
|
> |