This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

WLAN Accesspoint with ASL 4

Hi there,
it's me again. It is quite a while since I raced this question the last time, but no answer up to now. So I have to do it again:

"Is there anyone who got the ASL 4 with a WLAN-Accesspoint working ?" 

Can not get mine up and running, but would need it very urgent to share my Internet connection with my neighbour - should bring my budget in better shape !!
Thanks for your responses in advance -
regards
           Erich  


This thread was automatically locked due to age.
  • I dont use astaro for my wireless network, but these suggestions will work for astaro.

    Assuming you want to control the access, put a wap on a network interface of its own such as a dmz via cross-overcable ...why use a hub or switch just for one device. [:)]

    with the wap on its own network setup the firewall to allow ipsec packets  "AH, ESP" coming in own this network to that of the firewall interface. Now create a pool of address your neighbor will use assuming he will have more than one computer and allow them in the filter rules to pass out the internet interface while  keeping state. This encrypts all packets on the wireless network for your protection and allows authentication schemes with more scope to filter out unwanted war drivers trying to find a hot spot with wireless sniffers. All you neighbor should have to do is simply create a ipsec tunnel to you. I use OpenBSD for this but conceptually this should work for any ipsec gateway and as mentioned much, much better security. If you live in houses and not apartments i would just burry a ethernet cable between the houses. With the above the wap is just another node on your network and should be treated as such.
      
  • Hi there,

    Yeah, we got ASL4 working as an access point. To be precise, I have two of them running on my desk  
    Which card and pci-to-pcmcia bridge do you use? 

    Greets,
    andreas   
  • I've got the Linksys WPC11 and PCI adapter.  Doesn't find it at install.  I can manually load it and it is identified as a Wlan device but can't seem to get it configured.  Shouldn't this work?  
  • Hello EaSyToKeR,
    thanks for your advice; thought about this myself, but:
       -  first of all I would need to by another piece of hardware
       -  2nd would have to manage an additional box and
       -  3rd as I recognized the feature, I was eager to try it !!!
    By the way - my neighbor lives on the other side of the road; digging in a cable could get me in a kind of a difficulty.
    Thanks anyway -
    regards,
             Erich  
  • Hallo Andreas,
    here is my story:
    - Got the WLAN-Station (D-Link DWL-500 including DWL-650) up and running – did not come up by itself, but after I brought up the interface manually (ifconfig wlan0 inet 192.168.1.253 up) - things started to look good and it worked – hurrah !! - tested it after several "reboots" - comes up all the time.
    - Trying to switch to an access-point is not working at all – system is not even creating the “accesspoint.conf” tried to do it manually – no success.
    - Whenever I try to change from “station” to “access-point” the "kernel-log" shows that writing to the flash memory of my DWL-650 failed; sometimes the system even crashes outputting endless hex dumps to the consol.

    I think my experience proofs that the hardware is working – but how to make the ACCESSPOINT work ?????

    Thanks for your suggestions in advance –
    regards,
    Erich

    Ps.: replacing the DWL-650 with NetGear MA401 shows the same results !

    Pps.: if you are interested in the "kernel-logs" - i could provide it (Station & AP).
      
  • Hi pablito,
    sorry to tell you, but I do not have any experience with a WPC11.
    Maybe a look into the HCL (hardware compatibility list) will give you an idea - check if the Linksys is based on a "PRISM 2" chipset (I think so) and try to find the chipset of your PCI-adapter in the HCL
    Good Luck -
    regards,
    Erich   
  • Hi there,
    the accesspoint firmware is bound to specific card hardware AND firmware. In case of the D-Link DWL 650: This card exists in three versions, since D-Link changed the used chipset without changing the card version/name. Since your card is working as a client, I suppose you have a prism2.5 chipset. Please check by issuing the following command on your console (card has to be enabled):
    Code:
     
    printf "0x%x\n" `echo "p2NICIdentity" | wlancfg query wlan0 | cut -d "," -f1 `

     
    If the output is 0x800c, it is a prism2.5 card which does not work as an access point with the available firmware.

    What would be interesting for us is the output in your kernel log, especially three lines: 
    kernel: ident: nic h/w: id
    kernel: ident: pri f/w: id
    kernel: ident:  ap f/w: id
    and the output of  `cardctl info`, and that for both of your cards.
    Thanks in advance,
       andreas
      
  • WPC11 doesn't come up at boot but I can 'modprobe wlan0' and get:
    prism2_plx             57576   0  (unused)
    p80211                 13800   1  [prism2_plx]

    The kernel log shows:

    Jun 11 03:51:58 (none) kernel: Linux PCMCIA Card Services 3.2.1
    Jun 11 03:51:58 (none) kernel:   kernel build: 2.4.19-C2_23 #2 Wed Jan 22 10:29:32 CET 2003
    Jun 11 03:51:58 (none) kernel:   options:  [pci] [cardbus]
    Jun 11 03:51:58 (none) kernel: Intel ISA/PCI/CardBus PCIC probe:
    Jun 11 03:51:58 (none) kernel:   no bridges found.
    Jun 11 03:51:58 (none) kernel: ds: no socket drivers loaded!
    Jun 11 03:52:16 (none) kernel: e100: eth0 NIC Link is Up 100 Mbps Full duplex
    Jun 11 03:52:17 (none) kernel: eth1: 3c5x9 at 0x300, 10baseT port, address  00 50 da 07 83 28, IRQ 5.
    Jun 11 03:52:17 (none) kernel: 3c509.c:1.18c 1Mar2002 becker@scyld.com
    Jun 11 03:52:17 (none) kernel: http://www.scyld.com/network/3c509.html
    Jun 11 03:52:17 (none) kernel: eth1: Setting 3c5x9/3c5x9B half-duplex mode if_port: 0, sw_info: 9311
    Jun 11 03:52:17 (none) kernel: eth1: Setting Rx mode to 1 addresses.
    Jun 11 03:52:35 (none) kernel: netfilter PSD loaded - (c) astaro AG
    Jun 11 07:46:48 (none) kernel: init_module: prism2_plx.o: 0.1.15 Loaded
    Jun 11 07:46:48 (none) kernel: init_module: dev_info is: prism2_plx
    Jun 11 07:46:48 (none) kernel: PCI: Found IRQ 10 for device 00:0c.0
    Jun 11 07:46:48 (none) kernel: A PLX PCI/PCMCIA interface device found, phymem:0xe6901000, phyio=0xec00, irq:10, mem: 0xc88a4000
    Jun 11 07:46:48 (none) kernel: A PCMCIA WLAN adapter was found.
     
    I originally had a version 3 card but traded for an older version that I'm pretty sure is a prism2 2.5 chipset.  Same card works in Linux with wlan-ng.

    I also have a true PCI card that is currently working as an Access Point in Linux.  Wish I could use that one.

    Ideas?
       
  • Hi Andreas,
    thanks for the fast response, I'll provide you with the info ASAP !!!
    At the moment I can only show you this part of the kernel-log:

    kernel: Linux PCMCIA Card Services 3.2.1
    kernel:   kernel build: 2.4.19-C2_23 #2 Wed Jan 22 10:29:32 CET 2003
    kernel:   options:  [pci] [cardbus]
    kernel: Intel ISA/PCI/CardBus PCIC probe:
    kernel: PCI: Enabling device 00:10.0 (0000 -> 0002)
    kernel: PCI: Assigned IRQ 5 for device 00:10.0
    kernel:   Ricoh RL5C475 rev 80 PCI-to-CardBus at slot 00:10, mem 0xf3eff000
    kernel:     host opts [0]: [pci only] [io 3/6/1] [mem 3/6/1] [pci irq 5] [lat 168/176] [bus 2/5]
    kernel:     PCI card interrupts, PCI status changes
    kernel: cs: memory probe 0xa0000000-0xa0ffffff: clean.
    kernel: init_module: prism2_cs.o: 0.1.15 Loaded
    kernel: init_module: dev_info is: prism2_cs
    kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x220-0x22f 0x388-0x38f 0x3b8-0x3df 0x4d0-0x4d7
    kernel: cs: IO port probe 0x0230-0x0387: clean.
    kernel: cs: IO port probe 0x0390-0x03b7: clean.
    kernel: cs: IO port probe 0x03e0-0x04cf: clean.
    kernel: cs: IO port probe 0x04d8-0x04ff: clean.
    kernel: cs: IO port probe 0x0800-0x08ff: clean.
    kernel: cs: IO port probe 0x0c00-0x0cff: clean.
    kernel: prism2_cs: index 0x01: Vcc 3.3, irq 5, io 0x0100-0x013f
     kernel: ident: nic h/w: id=0x800c 1.0.0
    kernel: ident: pri f/w: id=0x15 1.0.7
    kernel: ident: sta f/w: id=0x1f 1.3.5 
     
    kernel: MFI:SUP:role=0x00:id=0x01:var=0x01:b/t=1/1
    kernel: CFI:SUP:role=0x00:id=0x02:var=0x02:b/t=1/1
    kernel: PRI:SUP:role=0x00:id=0x03:var=0x01:b/t=4/4
    kernel: STA:SUP:role=0x00:id=0x04:var=0x01:b/t=1/9
    kernel: PRI-CFI:ACT:role=0x01:id=0x02:var=0x02:b/t=1/1
    kernel: STA-CFI:ACT:role=0x01:id=0x02:var=0x02:b/t=1/1
    kernel: STA-MFI:ACT:role=0x01:id=0x01:var=0x01:b/t=1/1
    kernel: Prism2 card SN: 99SA01000000
    kernel: e100: eth0 NIC Link is Up 100 Mbps Full duplex
    kernel: dot11req_reset: the macaddress and setdefaultmib arguments are currently unsupported.
    kernel: PDA Read from 0x007f0000 in NV space.
    kernel: Download 512 bytes to flash @0x3f0000
    kernel: Writing 512 bytes to flash @0x3f0000
    kernel: hfa384x_drvr_flashdl_write: download(NVWRITE,lo=0,hi=3f,len=200) cmd failed, result=-110. Aborting d/l
    kernel: hfa384x_docmd_wait: hfa384x_cmd timeout(1), reg=0xc000.
    kernel: hfa384x_docmd_wait: hfa384x_cmd timeout(1), reg=0xc000.
    kernel: hfa384x_drvr_start: Initialize command failed.
    kernel: hfa384x_drvr_start: Failed, result=-110
    kernel: prism2sta_ifstate: hfa384x_drvr_start() failed,result=-110
     

    regards,
    erich
        
  • After much manual commands I got the wlan0 to come up and could configure.  So far I can't get clients to connect with WEP but I do see the AP.

    Turned off  WEP and I seem to associate with the AP but can't route packets or see any rules violations.  I see in kernel log:
    Jun 11 05:56:23 (none) kernel: prism2sta_inf_assocstatus: assocstatus info frame received for non-authenticated station.

    After a reboot the wlan0 seems to be configured now.  It doesn't show in the list of interfaces so if I Edit it won't show the wlan0 device.  I manually add it to /etc/itfhw.conf I can then list and select the device.

    It's a start.  WEP will be needed for sure.  Can it be working partly as I have it but not enough to use?  Maybe I'll try the PCI card even though it says unsupported.