On Thu, 2003-02-20 at 00:27, Spundun Bhatt wrote:
> Thanx Joshua,
> what you said in your mail was all I needed.
> Now I became more brave and tried with encryption.
> this time I am getting the follosing messages and all sort of wierd
> things happen.
> sometimes the led keeps blinking, after I played once with the wlancfg-*
> file that blinking stopped but still no connection.
> When I insert the card.. the messages I get on
> /var/log/everything/current are
> ----------------------------------------------------------------------
<snip>

> Feb 20 00:16:27 [dhcpcd] timed out waiting for a valid DHCP server
> response
> Feb 20 00:16:27 [rc-scripts] Failed to bring wlan0 up

This means you don't have a DHCP server on your network...so what you'll
probably need to do is either set one up (which can be a pain) or
configure your wireless card to use a static IP address.  There is an
example for doing this in /etc/conf.d/net, which I've pasted below:

  iface_eth0="192.168.0.1 broadcast 192.168.0.255 netmask 255.255.255.0"

Also, here's what I use at home for my internal network:

  iface_eth1="10.0.0.1 broadcast 10.0.0.255 netmask 255.255.255.0"

You probably don't want to copy either of these verbatim, as your
network is probably setup different from mine or from the default. :)

Hope this helps.

-- Josh

>  
> 
> ---------------------------------------------------------------
> 
> if I do ifconfig.. I get
> ---------------------------------------------------------------
> 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:180 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:180 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:9000 (8.7 Kb)  TX bytes:9000 (8.7 Kb)
>  
> wlan0     Link encap:Ethernet  HWaddr 00:02:DD:30:5E:1F
>           UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:2 errors:0 dropped:1 overruns:0 carrier:0
>           collisions:0 txqueuelen:100
>           RX bytes:0 (0.0 b)  TX bytes:584 (584.0 b)
>           Interrupt:10 Base address:0x100
> -------------------------------------------------------------
> Also after a minut I got message on /var/log/everything/current
> -------------------------------------------------------------
> Feb 20 00:23:16 [dhcpcd] timed out waiting for a valid DHCP server
> response
> Feb 20 00:23:16 [rc-scripts] Failed to bring wlan0 up
> -------------------------------------------------------------
> 
> Am i doing some common mistake over here?
> again...  thanx for the response
> Spundun
> 
> On Wed, 2003-02-19 at 22:58, Joshua J. Berry wrote:
> > You need to create yourself a net.wlan0 init script.  Usually you can
> > just copy net.eth0 and add "need pcmcia" to the depend() section.
> > 
> > You'll also need to setup your wlan0 interface in
> > /etc/conf.d/net...usually something like "iface_wlan0=dhcp" works just
> > fine.
> > 
> > After that, I *believe* there is a way to get it to start automatically,
> > though I'm not sure (I always start it manually with
> > /etc/init.d/net.wlan0 start on my laptop).  I haven't actually had much
> > time to play around with my wireless configuration yet, so perhaps
> > someone else can jump in here and add the part I'm missing.
> > 
> 
> 
> 
> --
> [EMAIL PROTECTED] mailing list
-- 

-----------------------------------------
Joshua J. Berry

"I haven't lost my mind -- it's backed up on tape somewhere."
    -- /usr/games/fortune

PGP Key: http://deneb.condordes.net/node/16/view

NOTE: Please do not submit this email address to any mailing
lists or websites without prior permission.  Thank you.


Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to