[NBLUG/talk] How do I get RH to recognize wireless card?

Dave Sisley dsisley at arczip.com
Fri Sep 19 21:59:01 PDT 2003


On Fri, Sep 19, 2003 at 08:56:28PM -0700, Micxz Love (lovedialup.com) wrote:
> >waaaaaaaah!
> >
> >nothing but 'lo' !  Damn!  I *am* getting closer... I can smell it!
> >
> >Thanks again for the help Mark (& everyone else!).  Take a look at my
> >notes and let me know if you see anything that I could tweak.
> 
> Please post the relevant lines of /var/log/messages as you insert the card.
> 
> My network script is setup somthing like:
> 
> DEVICE=wlan0         <-- Change this to your device name!
> ONBOOT=no
> IPADDR=10.10.10.3
> GATEWAY=10.10.10.1
> NETMASK=255.255.255.0
> NETWORK=10.10.10.0
> BROADCAST=10.10.10.255
> 
> And I have a server answering @ 10.10.10.1 (mars) and forwarding traffic 
> from the wireless access point. Mars is also my gateway to the internet.
> 
> So the relavant IP's for you may be different if your gateway has 
> another IP. This is all depending on the network you've setup.
> 
> -- 
> Micxz

Hey! Thanks for the tip!  I'm really close, now.  /var/log/messages
made it look like the machine was looking at eth0, so I edited the 
file as you suggested, replacing wlan0 with eth0, and I changed the 
name to ifcfg-eth0 as well.  

After those changes, I was able to see an available card in the gui
network configuration app.  I tried it, and it created a new network
script (I'm pretty sure it is *not* the one I tried putting in there
after Mark's email.  Here's what's in there now:

# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
USERCTL=no
PEERDNS=yes
GATEWAY=
TYPE=Wireless
DEVICE=eth0
HWADDR=00:30:bd:d0:96:5b
BOOTPROTO=dhcp
NETMASK=
ONBOOT=no
DHCP_HOSTNAME=
IPADDR=
NAME=
DOMAIN=
ESSID=
CHANNEL=1
MODE=Ad-Hoc
KEY=
RATE=11Mb/s

Here's the relevant lines from /var/log/messages:

Sep 19 21:06:21 localhost cardmgr[3572]: socket 0: Belkin F5D6020u (ver.2) WLAN PC Card
Sep 19 21:06:21 localhost cardmgr[3572]: executing: 'modprobe pcmf502rd'
Sep 19 21:06:22 localhost /etc/hotplug/net.agent: invoke ifup eth0
Sep 19 21:06:22 localhost cardmgr[3572]: executing: './network start eth0'
Sep 19 21:07:27 localhost dhcpcd[3899]: timed out waiting for a valid DHCP server response 


Now when I run ifconfig, I see the following:

eth0      Link encap:Ethernet  HWaddr 00:30:BD:D0:96:5B  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:3 Base address:0x100 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:2921 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2921 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:208549 (203.6 Kb)  TX bytes:208549 (203.6 Kb)


I notice that the eth0 entry disappears if I let the card sit there;
this obviously has to do with the lack of a DHCP server.  It looks
like I need to do some tweaking to the network script file (i.e. some
addresses, etc.).

How do I figure out what to put in there?  The file recommended at the
top of my new ifcfg-eth0 file
(/usr/share/doc/initscripts-*/sysconfig.txt) is geek to me.

-dave



More information about the talk mailing list