It worked!
Or at least it seems to (I didn't measure what's on the air yet).
This is output after restartif:
Restarting network. Your current connections may get cut off.
Bringing down all interfaces.
Nothing to flush.
Nothing to flush.
Starting fixed wireless interfaces.
iwconfig netcs0 mode MASTER
iwconfig netcs0 channel 1
iwconfig netcs0 rate 2M
iwconfig netcs0 txpower 100mW
iwconfig netcs0 essid "amb1"
iwconfig netcs0 nick "voldemort"
iwpriv netcs0 maccmd 4
Bringing up all interfaces.
Cannot find device "netcs1"
SIOCGIFFLAGS: No such device
Cannot find device "netcs2"
SIOCGIFFLAGS: No such device
Restarting network daemons.
==============================
Done. Press ENTER to continue.
and output showed by iwconfig:
voldemort: -root-
# iwconfig
lo no wireless extensions.
dummy0 no wireless extensions.
eth0 no wireless extensions.
netcs0 IEEE 802.11-DS ESSID:"amb1" Nickname:"voldemort"
Mode:Master Frequency:2.412GHz Access Point: 00:06:25:09:23:5A
Bit Rate=2Mb/s Tx-Power=20 dBm Sensitivity=1/3
Retry min limit:8 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:3 Invalid misc:1440889 Missed beacon:0
netcs1 IEEE 802.11-DS ESSID:"amb2" Nickname:"voldemort"
Mode:Master Frequency:2.437GHz Access Point: 00:02:6F:07:30:81
Bit Rate=2Mb/s Tx-Power=20 dBm Sensitivity=1/3
Retry min limit:8 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
netcs2 IEEE 802.11-DS ESSID:"test"
Mode:Master Frequency:2.422GHz Access Point: 00:02:6F:07:30:86
Bit Rate:2Mb/s Tx-Power:-12 dBm Sensitivity=1/3
Retry min limit:8 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
Just two problems seem to persist:
1.- Why restartif complains about netcs1 and netcs2 (not such device)?
2.- Why I setup ESSID and txpower to 'amb3' and 100mW through the WISP-Dist
Configuration panel but iwconfig shows different settings for netcs2? These
settings can be changed by hand but are restored by rebooting or after
restartif.
Well, it was a long way to reach this point and some steps must be done yet but
thank you very much for your incredible help.
abel
On Sun, 22 Feb 2004 00:37:50 +0200, Vladimir Ivaschenko wrote
> You have also to set "PCIC" if you want to set your own PCIC_OPTS.
>
> Try using the following PCIC_OPTS:
> irq_mode=0 pci_csc=0 poll_interval=100
>
> abel wrote:
> > I finally plugged in the three boards (two senao and a lynksys wmp-11) and I
got
> > the following:
> >
> > voldemort: -root-
> > # iwconfig
> > lo no wireless extensions.
> >
> > dummy0 no wireless extensions.
> >
> > eth0 no wireless extensions.
> >
> > netcs0 IEEE 802.11-DS ESSID:"amb1" Nickname:"voldemort"
> > Mode:Master Frequency:2.412GHz Access Point: 00:06:25:09:23:5A
> > Bit Rate=2Mb/s Tx-Power=20 dBm Sensitivity=1/3
> > Retry min limit:8 RTS thr:off Fragment thr:off
> > Encryption key:off
> > Power Management:off
> > Link Quality:0 Signal level:0 Noise level:0
> > Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
> > Tx excessive retries:31 Invalid misc:4673 Missed beacon:0
> >
> > netcs1 IEEE 802.11-DS ESSID:"amb2"
> > Mode:Master Tx-Power=20 dBm
> > Link Quality:0 Signal level:0 Noise level:0
> > Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
> > Tx excessive retries:0 Invalid misc:0 Missed beacon:0
> >
> > netcs2 IEEE 802.11-DS ESSID:"test"
> > Mode:Master Frequency:2.422GHz Access Point: 00:02:6F:07:30:86
> > Bit Rate:2Mb/s Tx-Power:-13 dBm Sensitivity=1/3
> > Retry min limit:8 RTS thr:off Fragment thr:off
> > Encryption key:off
> > Power Management:off
> > Link Quality:0 Signal level:0 Noise level:0
> > Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
> > Tx excessive retries:0 Invalid misc:0 Missed beacon:0
> >
> > voldemort: -root-
> > # cat /proc/interrupts
> > CPU0
> > 0: 69509 XT-PIC timer
> > 1: 2 XT-PIC keyboard
> > 2: 0 XT-PIC cascade
> > 5: 0 XT-PIC i82365
> > 7: 0 XT-PIC hostap_cs
> > 9: 0 XT-PIC hostap_cs
> > 10: 120 XT-PIC netcs0
> > 11: 723 XT-PIC eth0
> > 12: 0 XT-PIC i82365
> > 14: 7846 XT-PIC ide0
> > NMI: 0
> > ERR: 0
> >
> > voldemort: -root-
> > # cat /e proc/pci
> > PCI devices found:
> > Bus 0, device 0, function 0:
> > Class 0600: PCI device 1106:0601 (rev 5).
> > Master Capable. Latency=8.
> > Prefetchable 32 bit memory at 0xd0000000 [0xd3ffffff].
> > Bus 0, device 1, function 0:
> > Class 0604: PCI device 1106:8601 (rev 0).
> > Master Capable. No bursts. Min Gnt=12.
> > Bus 0, device 7, function 0:
> > Class 0601: PCI device 1106:0686 (rev 64).
> > Bus 0, device 7, function 1:
> > Class 0101: PCI device 1106:0571 (rev 6).
> > Master Capable. Latency=32.
> > I/O at 0x9000 [0x900f].
> > Bus 0, device 7, function 4:
> > Class 0680: PCI device 1106:3057 (rev 64).
> > Bus 0, device 7, function 5:
> > Class 0401: PCI device 1106:3058 (rev 80).
> > IRQ 12.
> > I/O at 0x9c00 [0x9cff].
> > I/O at 0xa000 [0xa003].
> > I/O at 0xa400 [0xa403].
> > Bus 0, device 8, function 0:
> > Class 0280: PCI device 1260:3873 (rev 1).
> > IRQ 10.
> > Master Capable. Latency=32.
> > Prefetchable 32 bit memory at 0xd7000000 [0xd7000fff].
> > Bus 0, device 9, function 0:
> > Class 0607: PCI device 1180:0475 (rev 128).
> > IRQ 5.
> > Master Capable. Latency=32. Min Gnt=128.Max Lat=7.
> > Non-prefetchable 32 bit memory at 0xd7001000 [0xd7001fff].
> > Bus 0, device 10, function 0:
> > Class 0607: PCI device 1180:0475 (rev 128).
> > IRQ 12.
> > Master Capable. Latency=32. Min Gnt=128.Max Lat=7.
> > Non-prefetchable 32 bit memory at 0xd7006000 [0xd7006fff].
> > Bus 0, device 14, function 0:
> > Class 0200: PCI device 10ec:8139 (rev 16).
> > IRQ 11.
> > Master Capable. Latency=32. Min Gnt=32.Max Lat=64.
> > I/O at 0xcc00 [0xccff].
> > Non-prefetchable 32 bit memory at 0xd700b000 [0xd700b0ff].
> > Bus 1, device 0, function 0:
> > Class 0300: PCI device 1023:8500 (rev 106).
> > IRQ 10.
> > Master Capable. Latency=32.
> > Non-prefetchable 32 bit memory at 0xd5800000 [0xd5ffffff].
> > Non-prefetchable 32 bit memory at 0xd6000000 [0xd601ffff].
> > Non-prefetchable 32 bit memory at 0xd5000000 [0xd57fffff].
> >
> > The /proc/interrupts pseudofile shows the following:
> >
> > voldemort: -root-
> > # cat /proc/interrupts
> > CPU0
> > 0: 1347880 XT-PIC timer
> > 1: 2 XT-PIC keyboard
> > 2: 0 XT-PIC cascade
> > 5: 0 XT-PIC i82365
> > 7: 0 XT-PIC hostap_cs
> > 9: 0 XT-PIC hostap_cs
> > 10: 975 XT-PIC netcs0
> > 11: 12053 XT-PIC eth0
> > 12: 0 XT-PIC i82365
> > 14: 7847 XT-PIC ide0
> > NMI: 0
> > ERR: 0
> >
> > where no interrupt is catched by hostap_cs which suggests an interrupt
problem
> > with the PCI-PCMCIA bridge.
> > I tried at /etc/default/pcmcia the following entries:
> >
> > PCIC_OPTS='irq_mode=0'
> >
> > PCIC_OPTS='irq_mode=1'
> >
> > PCIC_OPTS='irq_mode=1 irq_list=0'
> >
> > PCIC_OPTS='irq_mode=1 irq_list=0 extra_sockets=1'
> >
> > but I get the same output from iwconfig after restarting pcmcia subsystem.
> > So it seems the problem is interurpt related but I don't know how to isolate
the
> > problem and solve it.
> > What do you suggest I can do?
> > Thanks a lot.
> >
> > abel
> >
> > On Fri, 20 Feb 2004 12:07:46 +0200, Vladimir Ivaschenko wrote
> >
> >>Looks like an IRQ problem. Check /proc/interrupts
> >>
> >>abel wrote:
> >>
> >>>Well, I cannot get either a single card up & running.
> >>>The card is Senao NL-2511CD+EX2 w/PCI-PCMCIA adapter.
> >>>
> >>>1.- After bootup I got the following output from ip and iwconfig:
> >>>
> >>># ip link
> >>>1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
> >>> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> >>>2: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop
> >>> link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
> >>>3: eth0: <BROADCAST,MULTICAST,PROMISC,UP> mtu 1500 qdisc pfifo_fast qlen
100
> >>> link/ether 00:0d:87:2f:a9:f4 brd ff:ff:ff:ff:ff:ff
> >>>4: netcs0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
> >>> link/ether 00:02:6f:07:30:81 brd ff:ff:ff:ff:ff:ff
> >>>
> >>>voldemort: -root-
> >>># ip addr
> >>>1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
> >>> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> >>> inet 127.0.0.1/8 scope host lo
> >>>2: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop
> >>> link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
> >>>3: eth0: <BROADCAST,MULTICAST,PROMISC,UP> mtu 1500 qdisc pfifo_fast qlen
100
> >>> link/ether 00:0d:87:2f:a9:f4 brd ff:ff:ff:ff:ff:ff
> >>> inet 200.68.122.145/29 scope global eth0
> >>>4: netcs0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
> >>> link/ether 00:02:6f:07:30:81 brd ff:ff:ff:ff:ff:ff
> >>> inet 10.4.4.1/24 scope global netcs0
> >>>
> >>>voldemort: -root-
> >>># iwconfig
> >>>lo no wireless extensions.
> >>>
> >>>dummy0 no wireless extensions.
> >>>
> >>>eth0 no wireless extensions.
> >>>
> >>>netcs0 IEEE 802.11-DS ESSID:"amb1"
> >>> Mode:Master Tx-Power=20 dBm
> >>> Link Quality:0 Signal level:0 Noise level:0
> >>> Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
> >>> Tx excessive retries:0 Invalid misc:0 Missed beacon:0
> >>>
> >>>where some data is missing.
> >>>
> >>>2.- Configuration as per /etc/network/wireless.config is as follows:
> >>>
> >>># Wireless configuration parameters
> >>>#
> >>>netcs0_RTS=""
> >>>netcs0_KEY=""
> >>>netcs0_ESSID="amb1"
> >>>netcs0_CHANNEL="1"
> >>>netcs1_MODE="MANAGED"
> >>>netcs1_ESSID="amb2"
> >>>netcs1_NICK="voldemort"
> >>>netcs1_RATE="1M"
> >>>netcs1_TXPOWER="15mW"
> >>>netcs1_CHANNEL="11"
> >>>netcs0_TXPOWER="100mW"
> >>>netcs0_NICK="voldemort"
> >>>netcs0_MODE="MASTER"
> >>>netcs0_RATE="2M"
> >>>
> >>>3.- Card driver seems correctly loaded to me, cardctl ident and lsmod
output
> >>>follows:
> >>>
> >>>voldemort: -root-
> >>># cardctl ident
> >>>Socket 0:
> >>> product info: "INTERSIL", "HFA384x/IEEE", "Version 01.02", ""
> >>> manfid: 0x0156, 0x0002
> >>> function: 6 (network)
> >>>
> >>>voldemort: -root-
> >>># lsmod
> >>>Module Pages Used by
> >>>hostap_cs 81052 1
> >>>hostap 62032 0 (unused)
> >>>hostap_crypt_wep 2656 0 (unused)
> >>>hostap_crypt 1028 0 [hostap hostap_crypt_wep]
> >>>ds 6380 1 [hostap_cs]
> >>>i82365 22564 1
> >>>pcmcia_core 37120 0 [hostap_cs ds i82365]
> >>>ip_nat_snmp_basic 8480 0 (unused)
> >>>ip_nat_tftp 1656 0 (unused)
> >>>ip_nat_mms 2872 0 (unused)
> >>>ip_nat_pptp 1872 0 (unused)
> >>>ip_nat_proto_gre 1184 0 (unused)
> >>>ip_nat_h323 2552 0 (unused)
> >>>ip_nat_irc 2328 0 (unused)
> >>>ip_nat_ftp 2904 0 (unused)
> >>>ipt_state 376 0 (unused)
> >>>ipt_MARK 652 0 (unused)
> >>>ipt_REDIRECT 616 0 (unused)
> >>>ipt_MASQUERADE 1096 0 (unused)
> >>>iptable_nat 15392 9 [ip_nat_snmp_basic ip_nat_tftp ip_nat_mms
> >>
> > ip_na
> >
> >>>t_pptp ip_nat_proto_gre ip_nat_h323 ip_nat_irc ip_nat_ftp ipt_REDIRECT
> >>
> > ipt_MASQU
> >
> >>>ERADE]
> >>>iptable_mangle 1968 0 (unused)
> >>>ip_conntrack_tftp 1612 1
> >>>ip_conntrack_mms 2988 1
> >>>ip_conntrack_pptp 2296 1
> >>>ip_conntrack_proto_gre 1836 0 [ip_nat_pptp ip_conntrack_pptp]
> >>>ip_conntrack_h323 2188 1
> >>>ip_conntrack_irc 3212 1
> >>>ip_conntrack_ftp 3820 1
> >>>ip_conntrack 18060 9 [ip_nat_tftp ip_nat_mms ip_nat_pptp
> >>
> > ip_nat_h323
> >
> >>> ip_nat_irc ip_nat_ftp ipt_state ipt_REDIRECT ipt_MASQUERADE iptable_nat
> >>
> > ip_conn
> >
> >>>track_tftp ip_conntrack_mms ip_conntrack_pptp ip_conntrack_proto_gre
> >>
> > ip_conntrac
> >
> >>>k_h323 ip_conntrack_irc ip_conntrack_ftp]
> >>>bridge 17204 0 (unused)
> >>>airo 105616 0 (unused)
> >>>rtl8139 12284 1
> >>>pci-scan 2944 1 [rtl8139]
> >>>mii 2256 0
> >>>cls_u32 4832 0 (unused)
> >>>sch_sfq 3744 0 (unused)
> >>>sch_htb 18688 0 (unused)
> >>>sch_tbf 2272 0 (unused)
> >>>softdog 1612 1
> >>>cramfs 36920 5
> >>>ide-probe-mod 8816 0
> >>>ide-disk 9752 1
> >>>ide-mod 65796 1 [ide-probe-mod ide-disk]
> >>>nftl 18308 0 (unused)
> >>>docprobe 1360 0
> >>>docecc 3680 0 (unused)
> >>>mtdcore 1632 1 [nftl]
> >>>
> >>>4.- Output from dmesg command is a bunch of entries as the following:
> >>>
> >>>voldemort: -root-
> >>># dmesg
> >>>NETDEV WATCHDOG: netcs0: transmit timed out
> >>>hostap_cs: netcs0 Tx timed out!
> >>>NETDEV WATCHDOG: netcs0: transmit timed out
> >>>hostap_cs: netcs0 Tx timed out!
> >>>NETDEV WATCHDOG: netcs0: transmit timed out
> >>>hostap_cs: netcs0 Tx timed out!
> >>>NETDEV WATCHDOG: netcs0: transmit timed out
> >>>hostap_cs: netcs0 Tx timed out!
> >>>NETDEV WATCHDOG: netcs0: transmit timed out
> >>>hostap_cs: netcs0 Tx timed out!
> >>>.
> >>>.
> >>>.
> >>>.
> >>>
> >>>Any idea to diagnose this appreciated.
> >>>Thanks in advance.
> >>>
> >>>abel
> >>>
> >>>
> >>>
> >>>
> >>>-------------------------------------------------------
> >>>SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> >>>Build and deploy apps & Web services for Linux with
> >>>a free DVD software kit from IBM. Click Now!
> >>>http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> >>>_______________________________________________
> >>>leaf-wisp-dist mailing list
> >>>[EMAIL PROTECTED]
> >>>https://lists.sourceforge.net/lists/listinfo/leaf-wisp-dist
> >>>
> >>
> >>--
> >>Best Regards,
> >>Vladimir Ivashchenko
> >>ThunderWorx - www.thunderworx.com
> >>Senior Systems Designer/Engineer
> >
> >
> >
> >
> >
> >
> >
> > -------------------------------------------------------
> > SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> > Build and deploy apps & Web services for Linux with
> > a free DVD software kit from IBM. Click Now!
> > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> > _______________________________________________
> > leaf-wisp-dist mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/leaf-wisp-dist
> >
>
> --
> Best Regards,
> Vladimir Ivashchenko
> ThunderWorx - www.thunderworx.com
> Senior Systems Designer/Engineer
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
leaf-wisp-dist mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-wisp-dist