I succeeded to run the ORiNOCO card.

I increased the timeout, and it works sometimes.

bitsy# echo -n 'configure #l0 wavelan' > /dev/pcm0ctl
bitsy# bind -a '#l0' /net

Now, I am able to connect the Bitsy to the Access Point.

bitsy# echo -n 'essid my_essid' > /net/ether0/clone

In /sys/src/9/bitsy/wavelan.c, in the function w_cmd():

    if(rc&WResSts){
        /*
         * Don't print; this happens on every WCmdAccWr
         * for some reason.
         */
        if(0) print("#l%d: cmd %.4ux: status %.4ux\n",
                    ctlr->ctlrno, cmd, rc);
        return -1;
    }

It returns -1 when I set the essid, but it seems to work
since the Access Point can see the Bitsy's Ethernet address.

I can also run ip/ipconfig. Sometimes it works, sometimes
it freezes the system and I must reset the Bitsy.

bitsy# ip/ipconfig ether /net/ether0 192.168.0.7
                                     255.255.255.0

But I am not able to ping other machines, and other
machines cannot ping the Bitsy.

-- 
David du Colombier

Reply via email to