BSD
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   Web Development Archives Mailing Lists BSD

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Web Development Archives Sponsor:
  #1  
Old July 2nd, 2008, 08:31 PM
Edd Barrett
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Iwi, wireless bad behavior

Hi,

If you get the wep key (or network name) wrong when configuring iwi
network drivers the card becomes useless until you reboot. This is
annoying when at a friends house and I mistype the key for example. I
have tried taking the interface down and back up, it makes no difference.

Is there a way of resetting the card altogether?

thinky% ifconfig iwi0
iwi0: flags=8802<BRADCAST,SIMPLEX,MULTICASTmtu 1500
lladdr 00:12:f0:79:36:41
groups: wlan
media: IEEE802.11 autoselect
status: no network
ieee80211: nwid "" 100dBm
thinky% sudo ifconfig iwi0 nwid SquishMitten nwkey
0xedd1edd2edd3edd4edd5edd666
thinky% sudo dhclient iwi0
DHCPDISCVER on iwi0 to 255.255.255.255 port 67 interval 7
DHCPDISCVER on iwi0 to 255.255.255.255 port 67 interval 9
DHCPFFER from 192.168.1.254
DHCPREQUEST on iwi0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.254
bound to 192.168.1.69 -- renewal in 43200 seconds.
thinky% ifconfig iwi0

iwi0: flags=8843<UP,BRADCAST,RUNNING,SIMPLEX,MULTICASTmtu 1500
lladdr 00:12:f0:79:36:41
groups: wlan egress
media: IEEE802.11 autoselect
status: active
ieee80211: nwid SquishMitten chan 1 bssid 00:11:95:54:90:97
77dB nwkey <not displayed100dBm
inet6 fe80::212:f0ff:fe79:3641%iwi0 prefixlen 64 scopeid 0x1
inet 192.168.1.69 netmask 0xffffff00 broadcast 192.168.1.255
thinky% sudo ifconfig iwi0 nwid SquishMitten nwkey
0xedd1edd2edd3edd4edd5edd667
thinky% sudo dhclient iwi0

DHCPREQUEST on iwi0 to 255.255.255.255 port 67
DHCPREQUEST on iwi0 to 255.255.255.255 port 67
DHCPDISCVER on iwi0 to 255.255.255.255 port 67 interval 7
DHCPDISCVER on iwi0 to 255.255.255.255 port 67 interval 8
DHCPDISCVER on iwi0 to 255.255.255.255 port 67 interval 15
^C
thinky% ifconfig iwi0

iwi0: flags=8843<UP,BRADCAST,RUNNING,SIMPLEX,MULTICASTmtu 1500
lladdr 00:12:f0:79:36:41
groups: wlan egress
media: IEEE802.11 autoselect
status: no network
ieee80211: nwid SquishMitten nwkey <not displayed100dBm
inet6 fe80::212:f0ff:fe79:3641%iwi0 prefixlen 64 scopeid 0x1
inet 192.168.1.69 netmask 0xffffff00 broadcast 192.168.1.255
thinky% sudo ifconfig iwi0 nwid SquishMitten nwkey
0xedd1edd2edd3edd4edd5edd666
thinky% sudo dhclient iwi0

DHCPREQUEST on iwi0 to 255.255.255.255 port 67
DHCPREQUEST on iwi0 to 255.255.255.255 port 67
DHCPDISCVER on iwi0 to 255.255.255.255 port 67 interval 5
DHCPDISCVER on iwi0 to 255.255.255.255 port 67 interval 6
DHCPDISCVER on iwi0 to 255.255.255.255 port 67 interval 6
DHCPDISCVER on iwi0 to 255.255.255.255 port 67 interval 13
DHCPDISCVER on iwi0 to 255.255.255.255 port 67 interval 19
^C
thinky% ifconfig iwi0

iwi0: flags=8843<UP,BRADCAST,RUNNING,SIMPLEX,MULTICASTmtu 1500
lladdr 00:12:f0:79:36:41
groups: wlan egress
media: IEEE802.11 autoselect
status: no network
ieee80211: nwid SquishMitten nwkey <not displayed100dBm
inet6 fe80::212:f0ff:fe79:3641%iwi0 prefixlen 64 scopeid 0x1
inet 192.168.1.69 netmask 0xffffff00 broadcast 192.168.1.255

Thanks

Reply With Quote
  #2  
Old August 1st, 2008, 07:41 AM
Alexander Holupirek
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Iwi, wireless bad behavior

Nick Guenther <kousue <atgmail.comwrites:

Wed, Jul 2, 2008 at 7:32 PM, Edd Barrett <vext01 <atgmail.comwrote:
Hi,
>

If you get the wep key (or network name) wrong when configuring iwi network
drivers the card becomes useless until you reboot. This is annoying when at
a friends house and I mistype the key for example. I have tried taking the
interface down and back up, it makes no difference.
>

Is there a way of resetting the card altogether?

Have you tried pulling it out? That usually fixes my zyd(4) (though it
has other problems than yours).
-Nick

maybe netstart(8) can help? I used when trashing my wireless
configuration. Quoting from netstart(8):

After the system is completely initialized, it is possible to start a
newly created interface or bridge(4), or reset an existing interface to
its default state, by invoking the following, where foo0 is the interface
or bridge name:

# sh /etc/netstart foo0

Reply With Quote
Reply

Viewing: Web Development Archives Mailing Lists BSD > Iwi, wireless bad behavior


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

Request Your Free Technology Downloads!
 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

Request Your Free Technology Downloads!
 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

Request Your Free Technology Downloads!
 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

Request Your Free Technology Downloads!
 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 1 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek