Dirk Opfer writes:
 > George Hartzell schrieb:
 > > Thanks for the fix!
 > >
 > [...]
 > 
 > > Even with my hacky work around, I still wasn't able to get wireless to
 > > work:
 > >
 > >   - I was using ifup wlan0 to bring up the interface.  That tries to
 > >     run usbctl, presumably to start up the hardware?
 > >
 > >   
 > 
 > >     I didn't have a usbctl though I was able to build one with the
 > >     wlan-ng-utils recipe.
 > >
 > >     But, it doesn't work, it exits after complaining 'No such file or
 > >     directory'.
 > >
 > >     I tried to look at the source for usbctl, but it seems to be
 > >     checked into the tree as a compiled binary.  What's up with that?
 > >
 > >     Running strings on the binary shows the path '/dev/usb/ohci',
 > >     which doesn't exist.
 > >
 > >     Have I missed a configuration step?
 > >
 > >     What is the proper way to bring up the wireless interface on a
 > >     tosa running a 2.6 kernel?
 > >
 > >   
 > usbctl is used to control the power of the specified port. But usbctl
 > works only with sharps 2.4 kernel. I need to implement this
 > functionality for the 2.6 kernel. Temporarily  remove these lines in
 > /etc/network/interfaces and the port is powered.
 > To use the usb host functionality you have to do a modprobe ohci-hcd first.
 > 
 > warning: the ohci-driver lacks pm functionality, so remove this modules
 > befor suspend.
 > [...]

I had wireless working well using the instructions you supplied above
and the hint about setting up wep keys on the openzaurus site.

It has stopped working for me in recent builds of
org.openzaurus.oz354x and I can't figure out what has changed.

I've tried both opie and gpe images, and I'm using the following
/etc/network/interfaces file (with a real key, not all zeros):

   # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
    
   # The loopback interface
   auto lo
   iface lo inet loopback
   
   # Wireless interfaces
   # you may need to:
   #   modprobe ohci-hcd 
   # by hand before this will work.
   iface wlan0 inet dhcp
        wireless_type wlan-ng
        wireless_mode Managed
        wireless_nick Zaurus
        wireless_enc on
        wlan_ng_default_key_id 0
        wlan_ng_key0 00:00:00:00:00
     pre-up modprobe prism2_usb
     post-down rmmod prism2_usb
   
   # Wired or wireless interfaces
   iface eth0 inet dhcp
   iface eth1 inet dhcp
   
   # Zaurus usbnet
   iface usbd0 inet dhcp
   
   # usbnet from the other side
   iface usb0 inet dhcp
   
When I modprobe ohci-hcd the green network led lights up.

When I ifup wlan0 I get the following (re-typed by hand):
   
   udhcpc (v0.9.9-pre) started
   SIOCSIFFLAGS: No such device
   Sending discover...
   Sending discover...
   Sending discover...
   No Lease, foring to backgroung.
   
At this point, if I run ifconfig wlan0 the device is present, but if I
run 'ifconfig wlan0 up' it says: "SIOCSIFFLAGS: No such device".

Do you have any idea how I might get it running?

Thanks,

g.
_______________________________________________
Oe mailing list
[email protected]
https://www.handhelds.org/mailman/listinfo/oe

Reply via email to