OESF Portables Forum
Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: jegla932 on December 30, 2004, 04:37:35 pm
-
Background:
- Zaurus SL-6000L (what a great little machine, by the way)
- wireless AP configured as DHCP server, no WEP
- gpe rom is beautiful, but not functional enough for real use, opie rom looks ok and mostly works, so thats what I have described below
- I would welcome any comments about how to do anything better, or how to avoid some of these steps...
1) flash rom
- get appropriate files from OZ web site (http://www.openzaurus.org/web/index.php?option=com_wrapper&Itemid=40)
- place opie.data on root of cf card as "updater.data"
- place "updater.sh" on root of cf card
- click reset button on back of Z
- hold down "OK" button while powering on
- follow on-screen prompts to flash rom, resize user space, etc.
2) enable wlan0 auto-start
- Settings/Network, click on wlan0 entry in list, click "Configure" button, click on "TCP/IP" tab, check "Automatically bring up" entry (and "DHCP" entry, if its not already checked)
3) reboot
4) edit wlan0 settings
- Settings/Network, click on wlan0 entry in list, click "Configure" button, click "Rescan Neighborhood" button on "General" tab, click on your AP once its found
- enter appropriate ssid, set channel if desired
- WEP does not appear to work - leave it disabled
- wireless led will now light, but connection won't yet work
5) reboot
- now wlan0 will come up and DHCP connection to your AP will be working
6) add http://www.openzaurus.org/official/unstabl...5.2/feed/devel/ (http://www.openzaurus.org/official/unstable/3.5.2/feed/devel/) to package manager source list
- click "OK" when asked about rescanning feeds - package manager might lock up (it often does, which is documented on OZ website), but just keep trying - it should work eventually
7) install service-release-*.ipk, oz-compat*.ipk from "upgrades" feed
8) if you want Opera 7 (seems to be more reliable than konqueror-embedded):
- add http://www.zaurususergroup.com/feed/ (http://www.zaurususergroup.com/feed/) to package manager source list
- install "opera" and "opera-cseries fix" ipks
<EDIT> - must set opera to use compatibility libs (from little 2.95>3.3 icon on Settings tab, once oz-compat ipk is installed)
- opera will work fine, but it does crash fairly often, usually on graphics-intensive sites (I usually run it in "content column, no images" mode for speed and stability
9) have fun
Other Recommendations:
- make NAND backups of your system 1) after installing base opie and 2) after installing the software you want but BEFORE running much of it (in case somethings breaks) - these backups will save you a lot of reinstallation and reconfiguration time if you get stuck (I've had to reflash several times when Z will mysteriously not work anymore, e.g. touchscreen stops responding, etc.) - remember to rename each one so they don't get over-written (since name is always "syst0006.dbk") <EDIT> - to make NAND backup:
- press RESET button on back of Z while holding down D and P buttons on keyboard (you'll eventually get used to the contortions required)
- NAND backup/restore options are on page 2 - press Page Down button to get there
- these usually work on battery power, but AC is safer!
- press RESET button on back of Z when complete, and then power on
- try KO/PI as PIM suite - I prefer it to the opie-pim apps - it works well, is full-featured, syncs well with desktop versions of itself (for some reason there is no OZ build of latest version - perhaps I'll try to make one - use the ipks in the OZ feed - they are lacking the OM/PI mail app - I use opie-mail instead
- I prefer opie-embeddedkonsole to the standard opie-console
- stay away from opie-wirelessapplet and opie-bluetoothapplet - they are both neat, but seem to bring on instability and lockups
Problems that still exist:
- package manager locks-up a lot - this IS documented (but I still like it better than cli mode)
- FN key only works in two-press mode (once for FN, once for the function key you want) - this IS documented
- no underscore at all from keyboard - this IS documented
- would love to get WEP to work (haven't tried WPA, maybe someday)
- included filemanager is a royal pita to use and has many bugs, but still seems to be the only practical option
- no version of opie-mediaplayer will play mp3s
- can't get newgroups to download from my news server using opie-mail (and it didn't work using OM/PI on the Sharp ROM either - must be something going on that I don't understand - yes, I have it configured identically to my desktop SUSE 9.1 machine where news works fine)
- xmms-embedded will not play streams, even after ensuring that their url ends in .mp3 and/or :mp3 (local mp3s play fine)
- opie-keypebble always just displays gibberish graphics (although it appears to connect to my desktop machine)
- "fbvncserver" ipk installs and works (installs ~8 icons for various flavors, rotations, etc.) but appears to be read-only - can't interact with Z from my desktop machine
- "zaurus-fbvncserver" doesnt' appear to work, and also appeared to kill my touchscreen, requiring a reflash
- opie doesn't recognize my Socket BlueTooth rev. H card out-of-the-box - this is not really surprising, but I haven't yet played around with it - probably needs a CSR-fix ipk or something
- you run out of /root space awfully quick - I'm about to start experimenting with install-to-SD stuff - will post success/failure when I know more
- I still need to figure out how to have multiple wireless configurations - probably need to add named entries to "/etc/network/interfaces" and then manage them them using ifup/ifdown - I'll post more when I figure it out...
-
Forgot the obvious: Thanks to all OZ developers for your great efforts!
-
To use WEP on my network with a SL-6000 I modified the /etc/network/interfaces file to look like this
iface wlan0 inet dhcp
wireless_channel 6
wireless_ap 00:12:17:38:11:A7
#wireless_key D354C54731 [1] [2] [3] [4] open key [1]
wireless_essid linksys
wireless_type wlan-ng
wireless_mode Managed
wireless_enc on
wlan_ng_priv_key128 false
wlan_ng_priv_genstr passwordhere
pre-up modprobe prism2_usb
pre-up /sbin/usbctl on 1
post-down /sbin/usbctl off 1
post-down rmmod prism2_usb
I haven't done much playing around, you may be able to use the wireless_key entry still which is controlled by 'Network Settings'. I prefered to use the genstr option though to generate the codes for me.
-
Hello and happy new year!
I have one question about OZ/Opie on a SL-6000L.
Is there an opportunity to zoom the apps to 480x640 (640x480). Many Application works great but are very small, like xmms or opiemediaplayer2 (the skin window).
Thx for the answers
Bedman
-
Finally got WEP to work (thanks to hatchetman for pointing me in right direction)!
Here is the relevant part of my /etc/network/interfaces file:
iface wlan0 inet dhcp
wireless_enc on
wireless_nick zaurus
wireless_channel 6
wireless_ap 00:11: ... etc. (whatever your AP's MAC address is)
wireless_essid whatever
wireless_type wlan-ng
wireless_mode Managed
wlan_ng_priv_key128 true (for 128-bit key, false for 64-bit key)
wlan_ng_key0 00:11:22: ... etc. (whatever your key is, in hex)
wlan_ng_authtype opensystem
Notes:
- I used capital letters in all hex strings (don't know if it really matters)
- tried to use "wlan_ng_priv_genstr my-wep-passphrase" but could never get a connection
- could never get any syntax of "wireless_key ..." command to work
- I think the "wireless_channel", "wireless_ap" and "wireless_nick" keys are optional, perhaps some of the others are too?
- found helpful hints at http://lists.linux-wlan.com/pipermail/linu...ber/011958.html (http://lists.linux-wlan.com/pipermail/linux-wlan-user/2003-December/011958.html)
-
I've got wireless working with OZ 3.5.2 and my Apple Airport. I'm using 40-bit encryption, though I think this will work fine with 128-bit encryption.
Here's the settings I used:
auto wlan0
iface wlan0 inet dhcp
wireless_nick zaurus
wireless_enc on
wireless_type wlan_ng
wireless_mode Managed
wlan_ng_key0 XX:XX:XX:XX:XX
where XX:XX:XX:XX is your 40-bit wep key for the Airport
The 'auto waln0' will start up your wireless after a reboot automatically.
I couldn't get wlan_ng_priv_genstr <password> to work either
-
Have now determined that your wep key (as designated using the "wlan_ng_key0" identifier) MUST contain ":" characters, e.g., "00:11:22...", NOT "001122..."
-
Are any of you having trouble with wi-fi after your Zaurus goes to sleep? If I haven't done a ifdown wlan0 before it goes into suspend, then when it wakes up again and I do a ifup wlan 0, I get:
ifup wlan0
ok.
wlanctl-ng: No such device
Failed to enable the device, exitcode= 1.
run-parts: /etc/network/if-pre-up.d/wlan-ng exited with return code 1: Success
But it's far from successful Only a reboot will let me do a ifup wlan0 and be wireless again.
Any ideas?
-
Me too, but also on the SharpROM. That wlan-ng thing seems pretty flakey and this once again strengthens my animosity against wlan-ng. Unfortunately there is nothing we can do about it except adding usb support to orinoco or hostap. Did you try to remove the usb host modules before suspending?
-
Hostap w/ usb support might be an improvement. Actually almost anything would be an improvement. I'm stuck on sharp rom for the moment 'cause of this one. It is not an ideal situation, but the wireless flakiness is more limited to spontaneous dropouts and things that generally don't require a reboot. In opie on my 6000 i end up doing several reboots when i change waps, and any use of the wireless applet ( say to quickly set or change a proxy) in gpe simply kills my wireless. I'd whine on irc or on the mailing list, ('cuz i sure can't fix it) but I figured this was stuff you'd have noticed without my assistance
How likely is it that another way to do wireless can be implemented? and... any idea when? I'll grab a snapshot and check it out as soon as i know there is something substantiallydifferent (and any hope for an e-image target?).
edit: popping into a console and doing repeated rmmod, modprobe, insmods doesn't seem much faster/more convenient than rebooting. I guess "wapchange" and "suspendwlan" scripts could be written to help automate the workarounds in the meantime...
-
I too have the suspend/resume problems with wifi on SL-6000. Repeated rmmod/modprobe/etc. sometimes helps - sometimes I give up and reboot - I suppose this means that I'm really only addressing the symptoms, not the cause. I rarely (if ever - hard to remember) have this problem when merely switching APs. I have a bunch of stored variations on "/etc/network/interfaces" and choose which one to cp into /etc/network/ using an opie-sh popup - cheesy, but it works. Just got all of OE installed on my main desktop box, so perhaps I'll try to write a wlan-changing applet as a way to learn my way around...
-
I was thinking more along the lines of seeing what has been improved as OZ moves to 3.5.3 as well.
-
I'm not using any usb host hardware -are modules something in the software I can disable? I don't get the wireless hang-up on my Sharp ROM. Sometimes after a suspend, the Sharp ROM won't reconnect, but it's as easy to fix as hitting the little connect button at the bottom.
Oh well, I do really like Opie and OZ, so maybe I need to teach this dog .. er cat some new tricks, and learn to do a ifdown before a suspend
-
With the addition of the irk-targus package, I have officially gotten past the last of my deal-breakers, and OZ will likely be permanent on my 5500. I have, however, grown tired of Intellisync 1.43 screwing up my data, and so I've decided to try forgoing desktop PIM altogether. The easiest way to do this, it seems, is with VNC server. I was using this on the Sharp ROM quite happily, but trying to install gives me an unsatisfied dependency for fbvncserver-kmodule.
- "fbvncserver" ipk installs and works
Could someone please point me towards the fbvncserver-kmodule package? I can't seem to find it in any of the feeds. Thx. . .