Subject: Re: ural device timeout on -current
To: dixie <dixieml@imap.cc>
From: Kouichirou Hiratsuka <hira@po6.nsk.ne.jp>
List: current-users
Date: 10/26/2005 19:44:08
Hello,

At Mon, 24 Oct 2005 17:42:07 +0200,
dixie wrote:
> 
> > Kouichirou Hiratsuka wrote:
> >
> >>> At Wed, 17 Aug 2005 16:20:41 +0200,
> >>> dixie wrote:
> >>>   
> >>>> Hi there, I got a BUFFALO WLI-U2-KG54-AI, rev 2.00/1.15 succesfully 
> >>>> attached but when I try to assign an address, either manually or 
> >>>> via dhclient it goes on timeout.
> >>>> Here's the full dmesg output:
> >>>>     
> >>
> >> I bought this today.  It has a flash drive in order to install a
> >> Windows device driver.  The flash drive can be disabled by the
> >> switch on it.  If the flash drive is off, its device ID is changed
> >> to 0x0067.  In this state, I can use it with the following patch.
> >>
> >> --- usbdevs.orig    2005-10-20 00:42:35.000000000 +0900
> >> +++ usbdevs    2005-10-20 00:42:50.000000000 +0900
> >> @@ -1270,7 +1270,7 @@
> >> product MELCO KB11        0x0044    WLI-USB-KB11 WLAN
> >> product MELCO KG54YB        0x005e    WLI-U2-KG54-YB WLAN
> >> product MELCO KG54        0x0066    WLI-U2-KG54 WLAN
> >> -product MELCO KG54AI        0x006d    WLI-U2-KG54-AI WLAN
> >> +product MELCO KG54AI        0x0067    WLI-U2-KG54-AI WLAN
> >>
> >> /* Metricom products */
> >> product METRICOM RICOCHET_GS    0x0001    Ricochet GS
> >>  
>
> Thank you very much for the hint!
> It works, now the device is attached and I can bring it up and configure 
> all the parameters via ifconfig.
> Anyway, it cannot associate, scanning trough wiconfig does not show any 
> AP even if it's present.

Can wiconfig(8) use for ral(4)?  I've never used it.

> Dhclient cannot find any lease even if dhcpd is running.
> What procedure do you follow in order to associate?

I'm using ifconfig.if(5).

# echo "inet 192.168.0.1 netmask 255.255.255.0 nwid [SSID] nwkey [WEP key]" > /etc/ifconfig.ral0
# chmod 600 /etc/ifconifg.ral0

And if the SSID and the WEP key are set, it can be configured by
dhclient(8).

# ifconfig ral0 nwid [SSID] nwkey [WEP key]
# dhclient ral0

best regards.
-- 
 Kouichirou Hiratsuka
   hira@po6.nsk.ne.jp