Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Associating with a wireless lan
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Hoshimaru
Apprentice
Apprentice


Joined: 09 Nov 2003
Posts: 225
Location: Belgium

PostPosted: Thu Mar 24, 2005 6:03 pm    Post subject: Associating with a wireless lan Reply with quote

Hi,

I've a question regarding the difference between 2 wireless network adapters. One is an internal Intel 2200BG wich I mostly use for everything in my laptop.
There's also my brother's Cisco Aironet 350.

When I plug his adapter in my pcmcia slot, I get 2 new devices:
eth2 and wifi0

There's a small difference between both:

Code:
eth2      IEEE 802.11-DS  ESSID:""
          Mode:Managed  Frequency:2.417 GHz  Access Point: FF:FF:FF:FF:FF:FF
          Bit Rate:11 Mb/s   Tx-Power=17 dBm   Sensitivity=0/65535
          Retry limit:16   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/160  Signal level=-106 dBm  Noise level=-93 dBm
          Rx invalid nwid:129  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:847   Missed beacon:0

eth1      unassociated  ESSID:off/any
          Mode:Managed  Channel=0  Access Point: 00:00:00:00:00:00
          Bit Rate=0 kb/s   Tx-Power=20 dBm
          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


wifi0 is merely a copy of eth2's info.

Anyway, I can only associate to my lan with the Intel one. I guess it's because of that IEEE 802.11-DS
First, what is that ?
How can you deactivate it to be able to associate to any other network ?

On my brother's laptop, there's a small script made by his school's sysadmin. It doesn't work at all. (They use LEAP authentication).

The problem is you can't associate to even start negociating the network logon.

His script:
Code:
root@misato:~ # cat /opt/cisco/phl.sh
#!/bin/bash
cd /opt/cisco/
echo Associating...
iwconfig wifi0 essid PHL-STUD
iwconfig eth1 essid PHL-STUD
echo Trying to log in...
./leapscript 2320191 53158
echo Negociating DHCP lease
ifconfig eth1 up
dhclient eth1
echo Press a key to continue
read


I've my doubts about that script. He uses the 2 ethernet adapters in a mix.
Also, dmesg looks desastrous:
Code:
eth2: DSPCFG accepted after 0 usec.
NET: Registered protocol family 17
ACPI: AC Adapter [ACAD] (off-line)
ACPI: Power Button (FF) [PWRF]
ACPI: Lid Switch [LID]
ibm_acpi: ec object not found
ACPI: Battery Slot [BAT1] (battery present)
ACPI: Video Device [VGA] (multi-head: yes  rom: no  post: no)
apm: BIOS not found.
[drm] Initialized drm 1.0.0 20040925
ACPI: PCI interrupt 0000:01:05.0[A] -> GSI 10 (level, low) -> IRQ 10
[drm] Initialized radeon 1.14.0 20050125 on minor 0: ATI Technologies Inc Radeon Mobility U1
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
agpgart: Putting AGP V2 device at 0000:01:05.0 into 4x mode
cs: IO port probe 0x0100-0x04ff: excluding 0x200-0x207 0x220-0x22f 0x330-0x337 0x388-0x38f
cs: IO port probe 0x0800-0x08ff: clean.
cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0a00-0x0aff: clean.
cs: memory probe 0xa0000000-0xa0ffffff: clean.
airo:  Probing for PCI adapters
airo:  Finished probing for PCI adapters
irq 3: nobody cared (try booting with the "irqpoll" option.
 [<c012e363>] __report_bad_irq+0x31/0x77
 [<c012e436>] note_interrupt+0x75/0x9b
 [<c012de1a>] __do_IRQ+0xd3/0x111
 [<c0104cc5>] do_IRQ+0x19/0x24
 [<c0103966>] common_interrupt+0x1a/0x20
 [<c0119dfc>] __do_softirq+0x2c/0x79
 [<c0119e6b>] do_softirq+0x22/0x26
 [<c012dcf0>] irq_exit+0x29/0x34
 [<c0104cca>] do_IRQ+0x1e/0x24
 [<c0103966>] common_interrupt+0x1a/0x20
 [<c012e074>] setup_irq+0xb4/0xec
 [<dcd3182f>] airo_interrupt+0x0/0x8af [airo]
 [<c012e1e2>] request_irq+0x75/0x8b
 [<dcd31205>] _init_airo_card+0x1f7/0x423 [airo]
 [<dcd3182f>] airo_interrupt+0x0/0x8af [airo]
 [<dcc5fd74>] pcmcia_request_configuration+0x331/0x357 [pcmcia_core]
 [<dcd31446>] init_airo_card+0x15/0x19 [airo]
 [<dcd1b55c>] airo_config+0x39a/0x4bc [airo_cs]
 [<c010fa6a>] smp_local_timer_interrupt+0xb/0x4d
 [<c011d1c7>] run_timer_softirq+0x16b/0x173
 [<c0119e04>] __do_softirq+0x34/0x79
 [<dcc4e687>] yenta_set_mem_map+0x18d/0x1bf [yenta_socket]
 [<dcc4e687>] yenta_set_mem_map+0x18d/0x1bf [yenta_socket]
 [<dcc62ddb>] pcmcia_align+0x49/0x7a [pcmcia_core]
 [<c011a549>] find_resource+0x7e/0xab
 [<c011a5aa>] allocate_resource+0x34/0x6b
 [<dcc60eed>] pccard_get_next_tuple+0x82/0x1ec [pcmcia_core]
 [<dcc60ce6>] pccard_get_first_tuple+0xf7/0x104 [pcmcia_core]
 [<dc92a839>] search_by_key+0x954/0xe2e [reiserfs]
 [<c0113217>] scheduler_tick+0x3d7/0x3df
 [<c0113217>] scheduler_tick+0x3d7/0x3df
 [<c010fa6a>] smp_local_timer_interrupt+0xb/0x4d
 [<c011d1c7>] run_timer_softirq+0x16b/0x173
 [<c0119e04>] __do_softirq+0x34/0x79
 [<dcc4e687>] yenta_set_mem_map+0x18d/0x1bf [yenta_socket]
 [<dcc4e687>] yenta_set_mem_map+0x18d/0x1bf [yenta_socket]
 [<dcc62ddb>] pcmcia_align+0x49/0x7a [pcmcia_core]
 [<c011a549>] find_resource+0x7e/0xab
 [<c011a5aa>] allocate_resource+0x34/0x6b
 [<dcc60eed>] pccard_get_next_tuple+0x82/0x1ec [pcmcia_core]
 [<dcc60ce6>] pccard_get_first_tuple+0xf7/0x104 [pcmcia_core]
 [<dcc6211b>] pccard_read_tuple+0x3/0x89 [pcmcia_core]
 [<dcd1b767>] airo_event+0x98/0x143 [airo_cs]
 [<dcc5f762>] pcmcia_register_client+0x19e/0x1d0 [pcmcia_core]
 [<dcc4e687>] yenta_set_mem_map+0x18d/0x1bf [yenta_socket]
 [<dcc606f9>] read_cis_mem+0x102/0x14c [pcmcia_core]
 [<c019b40e>] kobject_put+0x16/0x19
 [<c019b40e>] kobject_put+0x16/0x19
 [<dcd1b116>] airo_attach+0x116/0x13d [airo_cs]
 [<dcd1b6cf>] airo_event+0x0/0x143 [airo_cs]
 [<dcd1404f>] pcmcia_bind_device+0x4f/0x73 [pcmcia]
 [<dcd14632>] bind_request+0x172/0x1cd [pcmcia]
 [<c0112900>] recalc_task_prio+0x8a/0x133
 [<dcd1502a>] ds_ioctl+0x4b5/0x57e [pcmcia]
 [<c0210b8e>] sock_def_readable+0x2b/0x65
 [<dc85b9a0>] unix_dgram_sendmsg+0x3e5/0x482 [unix]
 [<c011299d>] recalc_task_prio+0x127/0x133
 [<c020e126>] sock_sendmsg+0xd3/0xef
 [<c015bb94>] alloc_inode+0x104/0x18a
 [<c015c4f2>] get_new_inode_fast+0x32/0xda
 [<c015c971>] iget_locked+0xbb/0xc4
 [<c015adb4>] d_instantiate+0x5a/0x60
 [<c0170878>] proc_lookup+0x77/0xa5
 [<c011418b>] __mmdrop+0x2e/0x33
 [<c013a11b>] zap_pmd_range+0x43/0x60
 [<c013a179>] unmap_page_range+0x41/0x5d
 [<c013a277>] unmap_vmas+0xe2/0x1cf
 [<c013c1de>] remove_vm_struct+0x69/0x6f
 [<c013d5bc>] unmap_vma_list+0x14/0x1f
 [<c01562ef>] sys_ioctl+0x1bb/0x1d8
 [<c0102fa1>] sysenter_past_esp+0x52/0x75
handlers:
[<dcd3182f>] (airo_interrupt+0x0/0x8af [airo])
Disabling IRQ #3
airo: cmd= 111
airo: status= 7f11
airo: Rsp0= 2
airo: Rsp1= 0
airo: Rsp2= 0
airo: Doing fast bap_reads
airo: MAC enabled eth1 0:7:e:b9:c:62
eth1: index 0x05: Vcc 5.0, Vpp 5.0, irq 3, io 0x0100-0x013f
NET: Registered protocol family 10
Disabled Privacy Extensions on device c02ef500(lo)
IPv6 over IPv4 tunneling driver
eth2: no IPv6 routers present
eth1: no IPv6 routers present
airo: cmd= 21
airo: status= ffff
airo: Rsp0= ffff
airo: Rsp1= ffff
airo: Rsp2= ffff
airo: cmd= 21
airo: status= ffff
airo: Rsp0= ffff
airo: Rsp1= ffff
airo: Rsp2= ffff
airo: cmd= 2
airo: status= ffff
airo: Rsp0= ffff
airo: Rsp1= ffff
airo: Rsp2= ffff
airo: cmd= 21
airo: status= ffff
airo: Rsp0= ffff
airo: Rsp1= ffff
airo: Rsp2= ffff
airo: cmd= 21
airo: status= ffff
airo: Rsp0= ffff
airo: Rsp1= ffff
airo: Rsp2= ffff
airo: cmd= 21
airo: status= ffff
airo: Rsp0= ffff
airo: Rsp1= ffff
airo: Rsp2= ffff
airo: cmd= 21
airo: status= ffff
airo: Rsp0= ffff
airo: Rsp1= ffff
airo: Rsp2= ffff
airo: cmd= 21
airo: status= ffff
airo: Rsp0= ffff
airo: Rsp1= ffff
airo: Rsp2= ffff
airo: cmd= 21
airo: status= ffff
airo: Rsp0= ffff
airo: Rsp1= ffff
airo: Rsp2= ffff
airo: cmd= 21
airo: status= ffff
airo: Rsp0= ffff
airo: Rsp1= ffff
airo: Rsp2= ffff
airo: cmd= 21
airo: status= ffff
airo: Rsp0= ffff
airo: Rsp1= ffff
airo: Rsp2= ffff
airo: cmd= 21
airo: status= ffff
airo: Rsp0= ffff
airo: Rsp1= ffff
airo: Rsp2= ffff
airo:  Probing for PCI adapters
airo:  Finished probing for PCI adapters
irq 3: nobody cared (try booting with the "irqpoll" option.
 [<c012e363>] __report_bad_irq+0x31/0x77
 [<c012e436>] note_interrupt+0x75/0x9b
 [<c012de1a>] __do_IRQ+0xd3/0x111
 [<c0104cc5>] do_IRQ+0x19/0x24
 [<c0103966>] common_interrupt+0x1a/0x20
 [<c0119dfc>] __do_softirq+0x2c/0x79
 [<c0119e6b>] do_softirq+0x22/0x26
 [<c012dcf0>] irq_exit+0x29/0x34
 [<c0104cca>] do_IRQ+0x1e/0x24
 [<c0103966>] common_interrupt+0x1a/0x20
 [<c012e074>] setup_irq+0xb4/0xec
 [<dcd4d82f>] airo_interrupt+0x0/0x8af [airo]
 [<c012e1e2>] request_irq+0x75/0x8b
 [<dcd4d205>] _init_airo_card+0x1f7/0x423 [airo]
 [<dcd4d82f>] airo_interrupt+0x0/0x8af [airo]
 [<dcc5fd74>] pcmcia_request_configuration+0x331/0x357 [pcmcia_core]
 [<dcd4d446>] init_airo_card+0x15/0x19 [airo]
 [<dcd1b55c>] airo_config+0x39a/0x4bc [airo_cs]
 [<dc928475>] leaf_delete_items_entirely+0x133/0x182 [reiserfs]
 [<dc913a06>] balance_leaf+0x43/0x25aa [reiserfs]
 [<dcc60eed>] pccard_get_next_tuple+0x82/0x1ec [pcmcia_core]
 [<dcc60ce6>] pccard_get_first_tuple+0xf7/0x104 [pcmcia_core]
 [<dc92a839>] search_by_key+0x954/0xe2e [reiserfs]
 [<dc928475>] leaf_delete_items_entirely+0x133/0x182 [reiserfs]
 [<dc913a06>] balance_leaf+0x43/0x25aa [reiserfs]
 [<dcc60eed>] pccard_get_next_tuple+0x82/0x1ec [pcmcia_core]
 [<dcc60ce6>] pccard_get_first_tuple+0xf7/0x104 [pcmcia_core]
 [<dcc6211b>] pccard_read_tuple+0x3/0x89 [pcmcia_core]
 [<dcd1b767>] airo_event+0x98/0x143 [airo_cs]
 [<dcc5f762>] pcmcia_register_client+0x19e/0x1d0 [pcmcia_core]
 [<c0119e04>] __do_softirq+0x34/0x79
 [<c012dcf0>] irq_exit+0x29/0x34
 [<c0104cca>] do_IRQ+0x1e/0x24
 [<c0103966>] common_interrupt+0x1a/0x20
 [<c019b40e>] kobject_put+0x16/0x19
 [<c019b40e>] kobject_put+0x16/0x19
 [<dcd1b116>] airo_attach+0x116/0x13d [airo_cs]
 [<dcd1b6cf>] airo_event+0x0/0x143 [airo_cs]
 [<dcd1404f>] pcmcia_bind_device+0x4f/0x73 [pcmcia]
 [<dcd14632>] bind_request+0x172/0x1cd [pcmcia]
 [<c0112900>] recalc_task_prio+0x8a/0x133
 [<dcd1502a>] ds_ioctl+0x4b5/0x57e [pcmcia]
 [<c0210b8e>] sock_def_readable+0x2b/0x65
 [<dc85b9a0>] unix_dgram_sendmsg+0x3e5/0x482 [unix]
 [<c011299d>] recalc_task_prio+0x127/0x133
 [<c020e126>] sock_sendmsg+0xd3/0xef
 [<c015bb94>] alloc_inode+0x104/0x18a
 [<c015c4f2>] get_new_inode_fast+0x32/0xda
 [<c015c971>] iget_locked+0xbb/0xc4
 [<c015adb4>] d_instantiate+0x5a/0x60
 [<c0170878>] proc_lookup+0x77/0xa5
 [<c011418b>] __mmdrop+0x2e/0x33
 [<c013a11b>] zap_pmd_range+0x43/0x60
 [<c013a179>] unmap_page_range+0x41/0x5d
 [<c013a277>] unmap_vmas+0xe2/0x1cf
 [<c013c1de>] remove_vm_struct+0x69/0x6f
 [<c013d5bc>] unmap_vma_list+0x14/0x1f
 [<c01562ef>] sys_ioctl+0x1bb/0x1d8
 [<c0102fa1>] sysenter_past_esp+0x52/0x75
handlers:
[<dcd4d82f>] (airo_interrupt+0x0/0x8af [airo])
Disabling IRQ #3
airo: cmd= 111
airo: status= 7f11
airo: Rsp0= 2
airo: Rsp1= 0
airo: Rsp2= 0
airo: Doing fast bap_reads
airo: MAC enabled eth1 0:7:e:b9:c:62
eth1: index 0x05: Vcc 5.0, Vpp 5.0, irq 3, io 0x0100-0x013f


When plugged into my laptop, I had no problem with it... maybe it was luck?

Is there anyone who could help with this ? Thanks.
Back to top
View user's profile Send private message
MrUlterior
Guru
Guru


Joined: 22 Mar 2005
Posts: 511
Location: Switzerland

PostPosted: Thu Mar 24, 2005 8:33 pm    Post subject: Reply with quote

Try booting his machine with no acpi or a kernel with acpi removed completely.
_________________

Misanthropy 2.0 - enough hate to go around
Back to top
View user's profile Send private message
Hoshimaru
Apprentice
Apprentice


Joined: 09 Nov 2003
Posts: 225
Location: Belgium

PostPosted: Sat Mar 26, 2005 2:02 pm    Post subject: Reply with quote

Sounds like a good idea :)
I'll tell you if it worked once I've a chance to get his laptop.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum