Author Topic: wifi - competely stumped  (Read 2946 times)

macwiz

  • Full Member
  • ***
  • Posts: 151
    • View Profile
    • http://www.macwiz.co.uk
wifi - competely stumped
« on: October 15, 2004, 08:12:19 pm »
I thought I would go back and try pdaXrom having used the cacko qtopia rom on my c860 for some time.

I had previously tried it some months ago, but could not get the wifi card to work. And I still can't. First - out of the box - it thinks it is a Farallon card. But cardctl ident shows it to be something else, an Intersil card.

What do I do with the information I get from cardctl ident? Other threads say I stick it in a file called wlan_ng, but my install doesn't have this, though it is in my sl5500 running the TKC rom. Also I have been looking for the prism2_cs (or is it the prism2_cs.o?) that my sl5500 also has but my pdaXrom does not... and yet I gather that my particular card should 'bind to it', rather than orinoco, which I also don't have anyway!

So I am stumped, and any help would be appreciated.

Thanks

-John
Macwiz
c860, never quite lived up to my expectations... my fault I guess
17in MacBook Pro lovely xxxx
iPhone 3G ummm
SE P990i with UIQ3. Never enough RAM.
Pocket Loox 720 used for designing ebooks. Just don't like it though!

macwiz: apple mac support in Oxfordshire
Twitter: @boffinboy

rgrep

  • Full Member
  • ***
  • Posts: 149
    • View Profile
wifi - competely stumped
« Reply #1 on: October 15, 2004, 11:16:06 pm »
You'll need to put the info from cardctl into /etc/pcmcia/hermes.conf.  You're right that pdaXrom doesn't include the prism2 drivers, but it does have the hostap drivers which, in my opinion, are the best prism2 drivers anyway.

See this post for instructions on modifying hermes.conf:

https://www.oesf.org/forums/inde...indpost&p=44759

Your card should work with the orinoco driver, but the above post also explains how to add hostap support in case you need it.
[img]https://www.oesf.org/forums/style_emoticons/default/smile.gif\" border=\"0\" class=\"linked-sig-image\" /] Has: Dynamism C760 / Linksys WCF12 WiFi / Kingston 512MB SD
[img]https://www.oesf.org/forums/style_emoticons/default/biggrin.gif\" border=\"0\" class=\"linked-sig-image\" /] Loves: pdaXrom / Warwalking
[img]https://www.oesf.org/forums/style_emoticons/default/sad.gif\" border=\"0\" class=\"linked-sig-image\" /] Hates: NetGear MA701 WiFi / SanDisk 256MB SD / C760 Charging Faults

macwiz

  • Full Member
  • ***
  • Posts: 151
    • View Profile
    • http://www.macwiz.co.uk
wifi - competely stumped
« Reply #2 on: October 17, 2004, 05:05:56 am »
Thanks for this advice. It didn't exactly solve my problem, but it pointed me towards hermes.conf, which I have edited along the lines described, and which I wouldn't have found otherwise. Only binding to hostap etc gave me a flashing light on the wifi card but no connection. So I put in a few more lines at the top about prism2, put in binding to prism2 next to my device details and then copied the prism2 module from my sl5500. Then it worked!

Odd thing is that the wifi applet doesn't show up now.

Thanks again.
Macwiz
c860, never quite lived up to my expectations... my fault I guess
17in MacBook Pro lovely xxxx
iPhone 3G ummm
SE P990i with UIQ3. Never enough RAM.
Pocket Loox 720 used for designing ebooks. Just don't like it though!

macwiz: apple mac support in Oxfordshire
Twitter: @boffinboy

rgrep

  • Full Member
  • ***
  • Posts: 149
    • View Profile
wifi - competely stumped
« Reply #3 on: October 17, 2004, 05:19:08 am »
The WiFi applet that ships with RC5 is broken.  I have just built the latest version which fixes the bug.  See this thread.
« Last Edit: October 17, 2004, 05:19:34 am by rgrep »
[img]https://www.oesf.org/forums/style_emoticons/default/smile.gif\" border=\"0\" class=\"linked-sig-image\" /] Has: Dynamism C760 / Linksys WCF12 WiFi / Kingston 512MB SD
[img]https://www.oesf.org/forums/style_emoticons/default/biggrin.gif\" border=\"0\" class=\"linked-sig-image\" /] Loves: pdaXrom / Warwalking
[img]https://www.oesf.org/forums/style_emoticons/default/sad.gif\" border=\"0\" class=\"linked-sig-image\" /] Hates: NetGear MA701 WiFi / SanDisk 256MB SD / C760 Charging Faults

Laze

  • Hero Member
  • *****
  • Posts: 704
    • View Profile
    • http://www.pdaXrom.org
wifi - competely stumped
« Reply #4 on: October 17, 2004, 12:00:42 pm »
macwiz please post what you added to what files - that way we can easily add it into the next build - that way other users with the same card don't have to add it like you did it :-)
C760 running pdaXrom lastest ;-)
SL5500 Running Cacko Qtopia
512 MB SD Card, 128 MB CF Card, Prism2 CF Wlan.

Always visit http://www.pdaXrom.org for latest news.

macwiz

  • Full Member
  • ***
  • Posts: 151
    • View Profile
    • http://www.macwiz.co.uk
wifi - competely stumped
« Reply #5 on: October 17, 2004, 07:10:31 pm »
Sure.

What follow works under the stable pdaXrom 1.0.5. But why bother? I have just loaded the pdaXrom 1.1.0 and it all works out of the box!

In hermes.conf these lines near the beginning following similar concerning orinoco...

Code: [Select]
device "prism2_cs
 Â   class "hermes"
 Â   module  "hermes", "prism2", "prism2_cs"

Then these line where the details about the card appear...

Code: [Select]
# Third class of device : other Intersil clones
card "Farallon SkyLINE"
 Â version "INTERSIL", "HFA384x/IEEE"
 Â manfid 0x0156,0x0002
 Â bind "prism2_cs"
Where the only bit I changed was to add the manfid line (culled from output from the command: cardctl ident) and the line following "bind"...

Note: the card nowhere says on the card itself, or its packaging that it is this card. It was advertised and sold as an origo card:
link to card
and
card manufacturer
The details that I edited above where those below the name given it in hermes.conf that showed up in the xcardinfo... ie. Farallon SkyLINE, where I changed orinoco to prism2 etc. They also agreed with the output from cardctl ident

I then (as I said) grabbed the file prism2_cs.o from my sl5500, and put in
/lib/modules/2.4.18-rmk7-pxa3-embedix/pcmcia
and rebooted, and it worked.

I suspect I have cheated horribly. If I knew more about this stuff could I have got hostap to work with my card? And if I knew where to get the orinoco_cs.o, and put it in the same place would I have needed to bother editing the hermes.conf at all?

Ultimately, my point is that the card has always worked with other non-pdaXrom roms 'out of the box', and so I transplanted files from another rom to get it going. Incidentally I also transplanted wlan-ng and wlan-ng.conf first of all and was tweaking those to no effect before being directed to the hermes.conf. I then removed them before getting to the fix above.

Hopefully if you have a card that doesn't work the above will give you some clues.

Thanks to rgrep who helped me, though I expect my solution was not precisely as intended.
« Last Edit: October 18, 2004, 06:07:30 pm by macwiz »
Macwiz
c860, never quite lived up to my expectations... my fault I guess
17in MacBook Pro lovely xxxx
iPhone 3G ummm
SE P990i with UIQ3. Never enough RAM.
Pocket Loox 720 used for designing ebooks. Just don't like it though!

macwiz: apple mac support in Oxfordshire
Twitter: @boffinboy

gtJormungand

  • Newbie
  • *
  • Posts: 38
    • View Profile
wifi - competely stumped
« Reply #6 on: October 19, 2004, 10:30:18 am »
One of the things that I'm still confused about is what needs to happen for a module to be loaded?

Thanks