Author Topic: Wellenreiter killed WiFi?  (Read 4716 times)

Ethereal

  • Full Member
  • ***
  • Posts: 236
    • View Profile
    • http://
Wellenreiter killed WiFi?
« on: April 20, 2004, 10:11:04 pm »
OK, Symbol was kind enough to replace my Spectrum24 that self-destructed (as verified by testing on another device) two weeks ago, and after verifying that the replacement worked and doing a bit of emailing on my home 802.11 net, I installed the 4-.ipk tarball for Wellenreiter under Sharp ROM.  Wellenreiter didn\'t work right away...no problem.  

Then I realised I could no longer raise any 802.11b connections :shock: ...even a plain vanilla non-encypted connection gives \"No connection detected; check your WEP and TCP/IP settings.\"  A prompt uninstallation of the Wellenreiter stuff and a reboot did not help.

I\'ve stumbled through the nitty-gritty surrounding my network configuration, and it seems the WiFi CF card is obstinately suspended.  

Quote
# cardctl eject
# cardctl insert
# cardctl status
Socket 0:
  3.3V 16-bit PC Card [suspended]
Socket 1:
  no card
# cardctl resume 0
# cardctl status
Socket 0:
  3.3V 16-bit PC Card [suspended]
Socket 1:
  no card
#

Just to be sure it wasn\'t a bum card, I plugged it into my laptop with a CF-PCMCIA adapter, and cardctl immediately reported it as \"ready.\"

Any ideas?  I\'d really like to not have to reflash/reformat my Z, especially since the last time I restored from backup, one mysteriously missing symlink meant a couple of days with a device that wouldn\'t turn off...
SL-6000L, Sharp ROM 1.12;
Socket Rev 2.5 CF Bluetooth::SE T608;
Sandisk 512MB SD, formatted ext2;
Pocketop IR Keyboard

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Wellenreiter killed WiFi?
« Reply #1 on: April 21, 2004, 06:50:48 am »
Probably just the cardmgr or PCMCIA subsystem crashed. Reboot.
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

Ethereal

  • Full Member
  • ***
  • Posts: 236
    • View Profile
    • http://
Wellenreiter killed WiFi?
« Reply #2 on: April 21, 2004, 09:31:34 am »
Unfortunately, multimple reboots--both before and after uninstalling all the Wellenreiter .ipk\'s, didn\'t help.
SL-6000L, Sharp ROM 1.12;
Socket Rev 2.5 CF Bluetooth::SE T608;
Sandisk 512MB SD, formatted ext2;
Pocketop IR Keyboard

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
Wellenreiter killed WiFi?
« Reply #3 on: April 21, 2004, 09:45:41 am »
cardctl scheme qpewlan0
cardctl reset


This should make your card report as \"Ready\"

Ethereal

  • Full Member
  • ***
  • Posts: 236
    • View Profile
    • http://
Wellenreiter killed WiFi?
« Reply #4 on: April 21, 2004, 06:01:48 pm »
OK, maslovsky, you are one smart guy  .  After the commands you suggested, plus a lot of manually wrenching around with ifconfig, iwconfig, and route (and ignoring profuse error messages about eth0 not existing, even when ifconfig reported it did), WiFi is working again on my Z.  

Now...can you tell me where the broken config file that needs fixing might be, so I can raise 802.11 without half a dozen terminal commands? :?:
SL-6000L, Sharp ROM 1.12;
Socket Rev 2.5 CF Bluetooth::SE T608;
Sandisk 512MB SD, formatted ext2;
Pocketop IR Keyboard

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
Wellenreiter killed WiFi?
« Reply #5 on: April 22, 2004, 03:29:12 am »
Quote
OK, maslovsky, you are one smart guy  .  After the commands you suggested, plus a lot of manually wrenching around with ifconfig, iwconfig, and route (and ignoring profuse error messages about eth0 not existing, even when ifconfig reported it did), WiFi is working again on my Z.   

Now...can you tell me where the broken config file that needs fixing might be, so I can raise 802.11 without half a dozen terminal commands? :?:

Frankly speaking I don\'t know. The above two commands are basicaly needed to properly resume your wifi card, so that wellenreiter can work with it. The network plugin and applet should handle card even without those commands.

Ethereal

  • Full Member
  • ***
  • Posts: 236
    • View Profile
    • http://
Wellenreiter killed WiFi?
« Reply #6 on: April 22, 2004, 10:22:31 am »
Unfortunately, it seems that cardmgr\'s default behaviour regarding the WiFi CF card is to invoke a scheme called \"CardSuspend,\" as the \"cardctl scheme qpewlan0\" command was answered with, among other things \"Changing scheme from CardSuspend to qpewlan0.\"  But I can\'t find the file where that default behaviour was (mis)configured...
SL-6000L, Sharp ROM 1.12;
Socket Rev 2.5 CF Bluetooth::SE T608;
Sandisk 512MB SD, formatted ext2;
Pocketop IR Keyboard

Ethereal

  • Full Member
  • ***
  • Posts: 236
    • View Profile
    • http://
Wellenreiter killed WiFi?
« Reply #7 on: April 22, 2004, 07:53:27 pm »
OK, after manually forcing 802.11 up another time, the \"kinks seem to be working out\" of the QTopia-based applet, which is good since I didn\'t really relish the thought of troubleshooting the Z every time I want to check email at work.  However, I\'m almost more disturbed at this sort of \"gremlin\" behaviour...too reminiscient of PPC2K3 :x
SL-6000L, Sharp ROM 1.12;
Socket Rev 2.5 CF Bluetooth::SE T608;
Sandisk 512MB SD, formatted ext2;
Pocketop IR Keyboard

Ethereal

  • Full Member
  • ***
  • Posts: 236
    • View Profile
    • http://
Wellenreiter killed WiFi?
« Reply #8 on: April 24, 2004, 03:47:39 am »
And the finale:  just when WiFi seemed to be behaving itself on my home network, I took the Z to work today and tried to bring up 802.11 there.  The Z responded by locking up frequently and enthusiastically:  on starting the interface, on resuming from suspend, on card insertion--you name it, the Z locked up during it.  Beat Win95 at its own game. And not those wussy, BSOD Windoze-style lockups; I mean old-school, Apple II style lock-ups, complete with random vertical stripe patterns superimposed on the destroyed rubble of whatever happened to be on the screen at the moment!

OK, I know the good folks who wrote Wellenreiter and packaged it for Sharp ROM invested a lot of hard work, and I sincerely hope that many a fellow Zaurite derived much good from it.  But from where the sun now stands, I will Wellenreit no more forever.  I have reflashed, reformatted, and (I must admit) reconsidered why the hell I ever bought a Z.  Whatever you guys did, it destroyed my 802.11 configuration, subtly enough that the only cure was \"scorched earth.\"

The silver lining was that, while I was destroying six weeks of work installing and setting stuff up on the Z, I had the chance to try Zynergy, and I must say I like it!  This is the ROM Sharp would have shipped with the Z, if it had any respect for the American consumer or notion of what \"customer satisfaction\" means.  The screensaver even doesn\'t look like sh1t and stops cleanly and quickly!  What a country!

So, to sum it up: this is only one data point, but Wellenreiter for Sharp ROM=slow, agonising death for wireless networking; if it happens to you, reformat and make the most of it by trying Zynergy!
SL-6000L, Sharp ROM 1.12;
Socket Rev 2.5 CF Bluetooth::SE T608;
Sandisk 512MB SD, formatted ext2;
Pocketop IR Keyboard

abject

  • Newbie
  • *
  • Posts: 22
    • View Profile
    • http://
Wellenreiter killed WiFi?
« Reply #9 on: April 26, 2004, 12:38:25 am »
A few replies back, maslovsky said:
Quote
cardctl scheme qpewlan0
cardctl reset
Another thing that I needed to do, after my 5500\'s battery ran down
while I was wandering around with Wellenreiter on (and APM off) was to reset the default route to the gateway (at home), like so:
Code: [Select]
# route add default gw 192.168.1.1

192.168.1.1 is my gateway, of course. Your gateway may vary (YGMV).  Note this was only a problem after the unusual way that Wellenreiter was shutdown. It restored normal operation to my Socket Low-Power quite nicely before that. The symptom was that I couldn\'t get DNS resolution (I use the ISP\'s DNS servers on the other side of the router).

Ab.
p.s. - Thanks, whoever gave me my old avatar back