Author Topic: R121 & Smc2624w Wireless Cf Card Not Working  (Read 7801 times)

grog

  • Hero Member
  • *****
  • Posts: 692
    • View Profile
    • http://
R121 & Smc2624w Wireless Cf Card Not Working
« on: February 19, 2007, 06:24:51 am »
Hi all. I can't seem to get my SMC2624W wifi card working on my C860 under r121. pccardctl recognizes it (exactly as the topic description), but the light just comes on (no blinking) & I get neither eth0 nor wlan0.

Code: [Select]
$ ifconfig -a
irda0     Link encap:IrLAP  HWaddr 00:00:00:00  
          NOARP  MTU:2048  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:8
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:16 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1216 (1.1 Kb)  TX bytes:1216 (1.1 Kb)

sit0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
Output of dmesg doesn't have much either

Code: [Select]
pccard: PCMCIA card inserted into slot 0
pcmcia: registering new device pcmcia0.0
pccard: card ejected from slot 0
pccard: PCMCIA card inserted into slot 0
pcmcia: registering new device pcmcia0.0
Is all I get.
GROG!

Ling

  • Sr. Member
  • ****
  • Posts: 350
    • View Profile
    • http://
R121 & Smc2624w Wireless Cf Card Not Working
« Reply #1 on: February 19, 2007, 07:05:13 am »
I have assumed that mine is a hardware problem, but mine does not work either. It is intermittently recognized correctly or as a memory device.
SL-C3200 w/ pdaXii13 5.3
SL-C860 w/ OZ GPE 3.4.1
Accessories: 4GB Microdrive, 4GB Transcend SD, Linksys WFC12 CF 802.11b, Ambicom CF Modem, Socket Bluetooth

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
R121 & Smc2624w Wireless Cf Card Not Working
« Reply #2 on: February 19, 2007, 09:48:24 am »
What happens if you insert into kernel the required modules manually ?
I've no idea though what the modules should be for your card, but if it's prism/orinoco based you could try with the hostap stuff.
Regards
David

SL-c760*  pdaXrom latest
SL-c860    pdaXrom latest ;-)
SL-c1000  pdaXrom Latest
Acer Aspire One running slackware and Clash
Toshiba AC100 running ARMedslack and Clash

*with some hardware problems but good for testing

grog

  • Hero Member
  • *****
  • Posts: 692
    • View Profile
    • http://
R121 & Smc2624w Wireless Cf Card Not Working
« Reply #3 on: February 19, 2007, 11:05:04 am »
Quote
What happens if you insert into kernel the required modules manually ?
I've no idea though what the modules should be for your card, but if it's prism/orinoco based you could try with the hostap stuff.[div align=\"right\"][a href=\"index.php?act=findpost&pid=154662\"][{POST_SNAPBACK}][/a][/div]
Good suggestion. I loaded both hostap & hostap_cs & now we're getting somewhere. I now have both a wifi0 & wlan0 interface & the light on the card is flashing. kewl.

But I can't seem to activate it after that. I installed wifi-radar & changed the conf file to point use wlan0 instead of eth0, but it still won't associate. Then I noticed that I can't get eth0 back up for my nic card until I reboot. mmmmm
GROG!

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
R121 & Smc2624w Wireless Cf Card Not Working
« Reply #4 on: February 19, 2007, 11:06:41 am »
Have you tried the scripts on the pdaXrom website?
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
R121 & Smc2624w Wireless Cf Card Not Working
« Reply #5 on: February 19, 2007, 11:24:17 am »
Quote
Good suggestion. I loaded both hostap & hostap_cs & now we're getting somewhere. I now have both a wifi0 & wlan0 interface & the light on the card is flashing. kewl.

But I can't seem to activate it after that. I installed wifi-radar & changed the conf file to point use wlan0 instead of eth0, but it still won't associate. Then I noticed that I can't get eth0 back up for my nic card until I reboot. mmmmm
You may need to do a ifconfig wlan0 up before issuing any iwconfig commands.
Regards
David

SL-c760*  pdaXrom latest
SL-c860    pdaXrom latest ;-)
SL-c1000  pdaXrom Latest
Acer Aspire One running slackware and Clash
Toshiba AC100 running ARMedslack and Clash

*with some hardware problems but good for testing

grog

  • Hero Member
  • *****
  • Posts: 692
    • View Profile
    • http://
R121 & Smc2624w Wireless Cf Card Not Working
« Reply #6 on: February 20, 2007, 06:06:41 am »
Quote
You may need to do a ifconfig wlan0 up before issuing any iwconfig commands.[div align=\"right\"][a href=\"index.php?act=findpost&pid=154679\"][{POST_SNAPBACK}][/a][/div]
Here's a copy of the script I've been tweaking to get this working (rename net.txt to net). It works for my lan card (eth0), but I can't seem to get the wifi working yet. For one thing, the hostap modules aren't re-loaded on reboot, but even after I load them again manually, it still doesn't want to come up.
GROG!

InSearchOf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1144
    • View Profile
    • http://
R121 & Smc2624w Wireless Cf Card Not Working
« Reply #7 on: February 20, 2007, 09:45:48 am »
Quote
Quote
You may need to do a ifconfig wlan0 up before issuing any iwconfig commands.[div align=\"right\"][a href=\"index.php?act=findpost&pid=154679\"][{POST_SNAPBACK}][/a][/div]
Here's a copy of the script I've been tweaking to get this working (rename net.txt to net). It works for my lan card (eth0), but I can't seem to get the wifi working yet. For one thing, the hostap modules aren't re-loaded on reboot, but even after I load them again manually, it still doesn't want to come up.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=154755\"][{POST_SNAPBACK}][/a][/div]

Pull the card and reinsert....

Let me know if that works...

Late
Sharp Zaurus SL-C3100 and SL-6000L
pdaXrom Developer
Please visit pdaXrom.org for updates
My Blog
IRC #pdaxrom @ FreeNode

grog

  • Hero Member
  • *****
  • Posts: 692
    • View Profile
    • http://
R121 & Smc2624w Wireless Cf Card Not Working
« Reply #8 on: February 20, 2007, 11:05:45 am »
Quote
Pull the card and reinsert....

Let me know if that works...[div align=\"right\"][a href=\"index.php?act=findpost&pid=154775\"][{POST_SNAPBACK}][/a][/div]
Ok, here's what I did.

reboot without any card in slot
insert wifi card - light on steady, no wlan0/wifi0
pccardctl eject
modprobe hostap_cs
insert card - light blinks, wifi0/wlan0 now present
tried my script, all seems to come up, but fails to try to associate
pccardctl eject
inserted ethernet card, no eth0, have to reboot to get that back

??
GROG!

grog

  • Hero Member
  • *****
  • Posts: 692
    • View Profile
    • http://
R121 & Smc2624w Wireless Cf Card Not Working
« Reply #9 on: February 20, 2007, 12:56:11 pm »
Quote
Ok, here's what I did.

reboot without any card in slot
insert wifi card - light on steady, no wlan0/wifi0
pccardctl eject
modprobe hostap_cs
insert card - light blinks, wifi0/wlan0 now present
tried my script, all seems to come up, but fails to try to associate
pccardctl eject
inserted ethernet card, no eth0, have to reboot to get that back[div align=\"right\"][a href=\"index.php?act=findpost&pid=154791\"][{POST_SNAPBACK}][/a][/div]
I managed to figure that I had to add both pcnet_cs & hostap_cs to /etc/modules to have them load automatically on bootup. Now my script will actually connect if I have the symlink /etc/rc.d/rc5.d/net.eth0 -> /etc/rc.d/init.d/net with my ethernet card plugged in. kewl

Anyway, back to wlan0. What series of commands do I have to enter to have wlan0 associate with the first AP it finds using dhcp?

Code: [Select]
ifconfig wlan0 up
iwconfig wlan0 power on
dhcpcd -i wlan0
doesn't do it. What am I missing. And what's the proper command to associate with a specific AP using a WEP key? WPA?

thks
GROG!

InSearchOf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1144
    • View Profile
    • http://
R121 & Smc2624w Wireless Cf Card Not Working
« Reply #10 on: February 20, 2007, 03:25:20 pm »
do this....

ifconfig interface down
iwconfig interface essid name enc encryptkey power on
ifconfig interface up
dhcpcd interface


Late
Sharp Zaurus SL-C3100 and SL-6000L
pdaXrom Developer
Please visit pdaXrom.org for updates
My Blog
IRC #pdaxrom @ FreeNode

grog

  • Hero Member
  • *****
  • Posts: 692
    • View Profile
    • http://
R121 & Smc2624w Wireless Cf Card Not Working
« Reply #11 on: February 20, 2007, 03:47:10 pm »
Quote
do this....

ifconfig interface down
iwconfig interface essid name enc encryptkey power on
ifconfig interface up
dhcpcd interface[div align=\"right\"][a href=\"index.php?act=findpost&pid=154819\"][{POST_SNAPBACK}][/a][/div]
There's an open AP I'm testing on now, but this doesn't seem to work with it. Then again, all I know is the essid. Should I have to specify the channel? The first three commands work (without errors, anyway) but it just hangs on the fourth (the light remains at a steady blink, if that means anything).

I've heard a lot of mention of wpa-supplicant. I see that's it's in the base image. Would that be better to try?

I'll try your suggestion when I get home on my own router & report back. thks
GROG!

InSearchOf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1144
    • View Profile
    • http://
R121 & Smc2624w Wireless Cf Card Not Working
« Reply #12 on: February 20, 2007, 07:02:43 pm »
Quote
Quote
do this....

ifconfig interface down
iwconfig interface essid name enc encryptkey power on
ifconfig interface up
dhcpcd interface[div align=\"right\"][a href=\"index.php?act=findpost&pid=154819\"][{POST_SNAPBACK}][/a][/div]
There's an open AP I'm testing on now, but this doesn't seem to work with it. Then again, all I know is the essid. Should I have to specify the channel? The first three commands work (without errors, anyway) but it just hangs on the fourth (the light remains at a steady blink, if that means anything).

I've heard a lot of mention of wpa-supplicant. I see that's it's in the base image. Would that be better to try?

I'll try your suggestion when I get home on my own router & report back. thks
[div align=\"right\"][a href=\"index.php?act=findpost&pid=154821\"][{POST_SNAPBACK}][/a][/div]

If it hangs on the last... command dhcpcd... the ap you are trying to connect to in most cases doesnt have a running DHCP Server...

Late

PS. And do worry about the channel.
Sharp Zaurus SL-C3100 and SL-6000L
pdaXrom Developer
Please visit pdaXrom.org for updates
My Blog
IRC #pdaxrom @ FreeNode

grog

  • Hero Member
  • *****
  • Posts: 692
    • View Profile
    • http://
R121 & Smc2624w Wireless Cf Card Not Working
« Reply #13 on: February 20, 2007, 08:24:12 pm »
Now this is getting frustrating. I get home after making NO further changes, and now no matter what I do I can't get the wlan0 interface to come back up at all. And the light on the card just stays on steady. I've tried ejecting & reinserting it, even a reboot doesn't help. And the modules are still loaded.

 
GROG!

Antikx

  • Hero Member
  • *****
  • Posts: 1147
    • View Profile
    • http://tyrannozaurus.com
R121 & Smc2624w Wireless Cf Card Not Working
« Reply #14 on: February 20, 2007, 10:09:18 pm »
Quote
Now this is getting frustrating. I get home after making NO further changes, and now no matter what I do I can't get the wlan0 interface to come back up at all. And the light on the card just stays on steady. I've tried ejecting & reinserting it, even a reboot doesn't help. And the modules are still loaded.

 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=154841\"][{POST_SNAPBACK}][/a][/div]
I wish I had an extra WiFi CF to loan ya.
Kanpai,
-Antikx (Twitter, Mugshot and PodNova)
C1000 - pdaXrom R198 (Celestial Environment)
tyrannozaurus.com
[img]http://www.tyrannozaurus.com/files/category_pictures/general_1.png\" border=\"0\" class=\"linked-sig-image\" /]
Zaurus news/blogs feed from Zaurus users
Free Windows, Linux, or Web RSS readers.
Featured pages at tyrannozaurus:
Sharp Petition, ScummVM, Cacko, pdaXii13, and Celestial Environment