Bug in WiFi support for ASL 3.380

I am using the following hardware:

MB:  ECS K7S5A
CPU: AMD Athlon XP 2000+
RAM: 256MB DDR RAM
HD:  MAXTOR 40.9GB 5400rpm 
AGP: ATI XPERT  98  RagePro 8MB

The MB has an integrated SiS 900 PCI Fast Ethernet. My second interface is a ZoomAir 4105. ZoomAir markets a PCMCIA bus 4100 and a PCI-PCMCIA adapter as the 4105.

The PCI-PCMCIA adapter is based on the TI1410 chipset.  The drivers for this adapter were not correct installed until I moddified /etc/pcmcia/pcmcia-param.pl. 

 $ diff pcmcia-param.pl pcmcia-param.pl.new
 27c27
  "",
 ---
 >              "Texas Instruments PCI1410" => "irq_mode=0",

It appears that the WiFi card is functions, but the GUI network interface menu with the green light on for wlan0, reports the interface down and the ip/net as ???.???.???.???/???.???.???.???.  

ifconfig reports:host:/root # ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:07:95:38:88:19
          inet addr:192.168.1.100  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1275 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1384 errors:0 dropped:0 overruns:0 carrier:0
          collisions:595 txqueuelen:100
          Interrupt:10 Base address:0xdc00

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:3431 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3431 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0

wlan0     Link encap:Ethernet  HWaddr 00:40:36:01:AF:9A
          inet addr:192.168.0.100  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:127 errors:0 dropped:0 overruns:0 frame:0
          TX packets:376 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          Interrupt:11 Base address:0x100

If you click the light again, it changes to red and shuts down wlan0.   These behaviors were all observed using wlan0 as a Station with dymanic ip allocation.  The behavior is different for static and maybe for the access point too.

-scotts
Parents
  • I expanded my tests to include the Access point configuration.  The Web Admin screen seems to validate and save the configuration, but when I attempt to enable the wlan0 interface it hangs the machine.  I did not notice any messages in /var/log/kernel related to the hang.

    I would be glad to provide more data on these test.  I believe they are repeatable.  The data should prove useful in the correct hands.  ASL admins please respond.

    -scotts
Reply
  • I expanded my tests to include the Access point configuration.  The Web Admin screen seems to validate and save the configuration, but when I attempt to enable the wlan0 interface it hangs the machine.  I did not notice any messages in /var/log/kernel related to the hang.

    I would be glad to provide more data on these test.  I believe they are repeatable.  The data should prove useful in the correct hands.  ASL admins please respond.

    -scotts
Children
  • Hi Scotts

    The Access-Point Mode will not work in the current Beta !!!
    You could do following :

    - Switch to Station Mode
    - type on console: "cat /proc/bus/pccard/drivers"
      and look if prism2_cs loaded

    If prism2_cs is loaded, please go to Webadmin, turn off WEP-Encryption and try again to connect the ASL!!

    regards 
    |Ronny|    
     
     [size="1"][ 09 January 2003, 06:04: Message edited by: Ronny ][/size]
  • HI,
    i have the same problem with my PCI-Adapter (TI1410 Chipset)(the Adpter is in  first PCI-Slot of MB). ASL don´t want to start the PCMCIA-Support. I also edit the pcmcia-param.pl .

    But this takes no effect.

    If you need the syslog i will post it.

    Thank you

    laslo
  • laslo,

    I was able to make traffic pass through the ASL 3.380 beta as a WiFi station with the modification to the /etc/pcmcia/pcmcia-param.pl, although the GUI would not have lead you to believe it was functioning.  According to Ronny the Access Point functionallity is not possible with the current beta. (I need to learn a bit more about WiFi to understand his suggestion about Wep encryption and how it changes when using ASL as a Access Point.)

    After you make the mods to /etc/pcmcia/pcmcia-param.pl, reboot the system.  I suspect that the pcmcia startup will complain that it fails.  However, review of your /var/log/kernel will likely show that that IT1410 pci->pcmcia adapter was correctly enabled.

    At this point I was able to modify the configure with the GUI and attempt to enable the WiFi card. The card did not report to the GUI that it was correctly enabled, but ifconfig showed ASL got an ip via DHCP for the WiFi interface.  

    Next I verified I could pass traffic through the WiFi interface by adding a rule to allow the webmin GUI over the WiFi interface.

    Presto, bits were flying through the air and I was able to operate the ASL GUI.  I have not configured the WiFi interface with all the rules needed for a Firewall installation.  I plan to test these more fully this weekend.

    Good Luck with your WiFi.  I hope this helps.

    -scotts
  • Hello scotts,
    hello laslo (are you from hungary?).

    1. Access Point Mode will not work in the current beta version.

    2. Disabling WEP is for testing.
    If your wlan does not work as you expect it, then try to disable WEP.
    Because if it doesn't work with WEP disabled it will most probably not work with WEP enabled.

    3. If you find a unexpected behavior of the wlan subsystem, please send the following files to dstutz@astaro.com :
    /var/log/mdwlog
    /var/log/kernel
    /var/log/deamon
    and the output of:
    /etc/pcmcia/pcmcia-param.pl

    e.g. a "working" wlan0 interface which is incorrect displayed in WebAdmin is such a unexpected behavior.

    3. We have tested wlan as much as we could.
    And it works great in almost all cases.
    But there are difficulties with some pci->pcmcia-adapter / pcmcia-card combinations.
    We can not test every permutation and we have not every hardware available.
    So we need your feedback.

    Thank you

    Daniel Stutz
  • hello,

    scotts
    dstutz(from germany) 
    ronny

    First in my last post i gave you wrong information i don´t have a TI1410, a have 1211 Chipset and i delete the mods from pcmcia-param.pl. 

    Since that my orinoco silver card were recognize by ASL. But I have the same probs scotts explains. The webadmin shows wlan0|DOWN|IP/SUB ???:???:???:???. I tried all possible configurations.

    Acces Mode
    Station Mode (DHCP and STATIC)

    but it will not work.

    ifconfig -a reports:

    wlan0     Link encap:Ethernet  HWaddr 00:00:00:00:00:00
              BROADCAST MULTICAST  MTU:1500  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:100
              Interrupt:10 Base address:0x100
     
    i don´t know if it help but the ASL box beeps two times when he tried to start the PCMCIA support.

    kernel log

    Jan 10 15:59:50 (none) kernel: Linux PCMCIA Card Services 3.2.1
    Jan 10 15:59:50 (none) kernel:   kernel build: 2.4.19-C2_18 unknown
    Jan 10 15:59:50 (none) kernel:   options:  [pci] [cardbus]
    Jan 10 15:59:50 (none) kernel: Intel ISA/PCI/CardBus PCIC probe:
    Jan 10 15:59:50 (none) kernel: PCI: Enabling device 00:08.0 (0000 -> 0002)
    Jan 10 15:59:50 (none) kernel:   TI 1211 rev 00 PCI-to-CardBus at slot 00:08, mem 0x10000000
    Jan 10 15:59:50 (none) kernel:     host opts [0]: [pci only] [pci irq 10] [lat 32/176] [bus 1/4]
    Jan 10 15:59:50 (none) kernel:     PCI card interrupts, PCI status changes
    Jan 10 15:59:51 (none) kernel: cs: memory probe 0xa0000000-0xa0ffffff: clean.
    Jan 10 15:59:51 (none) kernel: init_module: prism2_cs.o: 0.1.15 Loaded
    Jan 10 15:59:51 (none) kernel: init_module: dev_info is: prism2_cs
    Jan 10 15:59:51 (none) kernel: prism2sta_config: Initial Vcc=50/10v
    Jan 10 15:59:51 (none) kernel: prism2sta_config: Vcc set from curtupl(VMIN,VMAX)
    Jan 10 15:59:51 (none) kernel: prism2sta_config: link->conf.Vcc=50
    Jan 10 15:59:51 (none) kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x378-0x37f 0x3c0-0x3df 0x4d0-0x4d7
    Jan 10 15:59:51 (none) kernel: cs: IO port probe 0x0380-0x03bf: clean.
    Jan 10 15:59:51 (none) kernel: cs: IO port probe 0x03e0-0x04cf: clean.
    Jan 10 15:59:51 (none) kernel: cs: IO port probe 0x04d8-0x04ff: clean.
    Jan 10 15:59:51 (none) kernel: cs: IO port probe 0x0800-0x08ff: clean.
    Jan 10 15:59:51 (none) kernel: cs: IO port probe 0x0c00-0x0cff: clean.
    Jan 10 15:59:51 (none) kernel: prism2_cs: index 0x01: Vcc 5.0, irq 10, io 0x0100-0x013f
    Jan 10 15:59:51 (none) kernel: hfa384x_corereset: Doing reset via CardServices().
    Jan 10 15:59:52 (none) kernel: prism2sta_mlmerequest: Received mlme ifstate request
    Jan 10 15:59:52 (none) kernel: ident: nic h/w: id=0x01 4.0.1
    Jan 10 15:59:52 (none) kernel: ident: pri f/w: id=0x15 4.0.1
    Jan 10 15:59:52 (none) kernel: ident: sta f/w: id=0x1f 8.10.1
    Jan 10 15:59:52 (none) kernel: MFI:SUP:role=0x00:id=0x01:var=0x01:b/t=3/3
    Jan 10 15:59:52 (none) kernel: CFI:SUP:role=0x00:id=0x02:var=0x01:b/t=5/5
    Jan 10 15:59:52 (none) kernel: PRI:SUP:role=0x00:id=0x03:var=0x02:b/t=1/1
    Jan 10 15:59:52 (none) kernel: STA:SUP:role=0x00:id=0x04:var=0x01:b/t=6/12
    Jan 10 15:59:52 (none) kernel: PRI-CFI:ACT:role=0x01:id=0x02:var=0x01:b/t=1/5
    Jan 10 15:59:52 (none) kernel: STA-CFI:ACT:role=0x01:id=0x02:var=0x01:b/t=1/6
    Jan 10 15:59:52 (none) kernel: hfa384x_cmd_access: RID len mismatch, rid=0xfd22 hlen=10 fwlen=40
    Jan 10 15:59:52 (none) kernel: prism2sta_getcardinfo: Failed to retrieve STA_MFIACTRANGES
    Jan 10 15:59:52 (none) kernel: prism2sta_getcardinfo: Failed, result=-61
    Jan 10 15:59:52 (none) kernel: prism2sta_ifstate: prism2sta_getcardinfo() failed,result=-61

    laslo
  • Laslo:

     
    Since that my orinoco silver card were recognize by ASL.
    The Lucent Orinico (Gold/Silver/Bronce) cards uses the hermes chipset. ASL supports only the prism2 chipset from intersil.

    http://docs.astaro.org/HCL-3.3.txt

    Daniel
  • Daniel,
    is their any way to install the Orinoco driver on ASL3.380 Beta?

    If not could you post some PCMCIA-Cards Wireless Cards which uses the Prism2 Chipset (use the Avaya Cards also the hermes chipset?)

    laslo