Networking Forums

Networking Forums > Wireless Networking > Wireless Internet > WEP key wrong and static IP address setting

Reply
Thread Tools Display Modes

WEP key wrong and static IP address setting

 
 
Bin Chen
Guest
Posts: n/a

 
      05-09-2007, 05:52 AM
Hi,

In Windows, if AP A's WEB key is 1111111111, but I input the WEP key
to 2222222222 and set the IP address to static , say 192.168.1.3. The
windows will connect to AP A, and it reports connect successfully. But
obviously, the data can't transfers.

This makes software designers very hard to junior users who don't know
why 'connected' but can't transfer data. Is there way to optimize
this?

Thanks.
Bin

 
Reply With Quote
 
 
 
 
barry@sme-online.com
Guest
Posts: n/a

 
      05-09-2007, 01:40 PM
On May 9, 1:52 am, Bin Chen <binary.c...@gmail.com> wrote:
> Hi,
>
> In Windows, if AP A's WEB key is 1111111111, but I input the WEP key
> to 2222222222 and set the IP address to static , say 192.168.1.3. The
> windows will connect to AP A, and it reports connect successfully. But
> obviously, the data can't transfers.
>
> This makes software designers very hard to junior users who don't know
> why 'connected' but can't transfer data. Is there way to optimize
> this?
>
> Thanks.
> Bin


Don't get hung up on "connected". What matters is that your client
associates with AP, has full, workable IP config, and has its packets
routed properly.

In manually setting IP, you're ignoring all the other stuff the DHCP
server on the AP would be providing: netmask, gateway, dns servers,
mostlikely domain-name.

You can check the full IP config., etc. in Windows (which version/SP,
please?) with winipcfg (GUI) or at shell "ipconfig /all". If that
passes
muster, then "tracert www.google.com" or some other hostname
would tell you much about how it's talking with the world. They are
easily researched, and left as an exercise.

Meanwhile ... why not just enter the same key? And make it a
_good_ one: long, melange of do-do with WPA. Few or no words
found in dictionary is a starter. Don't waste your time with WPA,
most especially if you're in an area of any population density.

HTH,
J

 
Reply With Quote
 
Gordon Montgomery
Guest
Posts: n/a

 
      05-09-2007, 06:14 PM
In article <(E-Mail Removed). com>, (E-Mail Removed) wrote:
>On May 9, 1:52 am, Bin Chen <binary.c...@gmail.com> wrote:
>> Hi,
>>
>> In Windows, if AP A's WEB key is 1111111111, but I input the WEP key
>> to 2222222222 and set the IP address to static , say 192.168.1.3. The
>> windows will connect to AP A, and it reports connect successfully. But
>> obviously, the data can't transfers.
>>
>> This makes software designers very hard to junior users who don't know
>> why 'connected' but can't transfer data. Is there way to optimize
>> this?
>>
>> Thanks.
>> Bin

>
>Don't get hung up on "connected". What matters is that your client
>associates with AP, has full, workable IP config, and has its packets
>routed properly.
>
>In manually setting IP, you're ignoring all the other stuff the DHCP
>server on the AP would be providing: netmask, gateway, dns servers,
>mostlikely domain-name.
>
>You can check the full IP config., etc. in Windows (which version/SP,
>please?) with winipcfg (GUI) or at shell "ipconfig /all". If that
>passes
>muster, then "tracert www.google.com" or some other hostname
>would tell you much about how it's talking with the world. They are
>easily researched, and left as an exercise.
>
>Meanwhile ... why not just enter the same key? And make it a
>_good_ one: long, melange of do-do with WPA. Few or no words
>found in dictionary is a starter. Don't waste your time with WPA,
>most especially if you're in an area of any population density.
>
>HTH,
>J
>

I think what he is trying to say is that if the WEP key is mis-typed,
but they use static IP's, there is no real connectivity ( packets don't
flow) but the PC believes the AP is connected. As a matter of course,
I always re-type the WEP keys just to make sure I have typed them
in correctly, but I also always use DHCP. Is there any reason not to
use DHCP? Most AP's have simple DHCP servers built into them.

Gordon


Gordon Montgomery
Living Scriptures, Inc
(E-Mail Removed) (anti spam - replace lsi with livingscriptures)
(801) 627-2000
 
Reply With Quote
 
barry@sme-online.com
Guest
Posts: n/a

 
      05-09-2007, 08:31 PM
On May 9, 2:14 pm, gor...@lsi.com (Gordon Montgomery) wrote:
> In article <1178718054.227865.248...@w5g2000hsg.googlegroups. com>, b...@sme-online.com wrote:
> >On May 9, 1:52 am, Bin Chen <binary.c...@gmail.com> wrote:
> >> Hi,

>
> >> In Windows, if AP A's WEB key is 1111111111, but I input the WEP key
> >> to 2222222222 and set the IP address to static , say 192.168.1.3. The
> >> windows will connect to AP A, and it reports connect successfully. But
> >> obviously, the data can't transfers.

>
> >> This makes software designers very hard to junior users who don't know
> >> why 'connected' but can't transfer data. Is there way to optimize
> >> this?

>
> >> Thanks.
> >> Bin

>
> >Don't get hung up on "connected". What matters is that your client
> >associates with AP, has full, workable IP config, and has its packets
> >routed properly.

>
> >In manually setting IP, you're ignoring all the other stuff the DHCP
> >server on the AP would be providing: netmask, gateway, dns servers,
> >mostlikely domain-name.

>
> >You can check the full IP config., etc. in Windows (which version/SP,
> >please?) with winipcfg (GUI) or at shell "ipconfig /all". If that
> >passes
> >muster, then "tracertwww.google.com" or some other hostname
> >would tell you much about how it's talking with the world. They are
> >easily researched, and left as an exercise.

>
> >Meanwhile ... why not just enter the same key? And make it a
> >_good_ one: long, melange of do-do with WPA. Few or no words
> >found in dictionary is a starter. Don't waste your time with WPA,
> >most especially if you're in an area of any population density.

>
> >HTH,
> >J

>
> I think what he is trying to say is that if the WEP key is mis-typed,
> but they use static IP's, there is no real connectivity ( packets don't
> flow) but the PC believes the AP is connected. As a matter of course,
> I always re-type the WEP keys just to make sure I have typed them
> in correctly, but I also always use DHCP. Is there any reason not to
> use DHCP? Most AP's have simple DHCP servers built into them.
>
> Gordon
>
> Gordon Montgomery
> Living Scriptures, Inc
> gor...@lsi.com (anti spam - replace lsi with livingscriptures)
> (801) 627-2000


Got me. Don't want to interpret, rather ask for restatement, whatever.

Belief really not relevant here. :') "Just the facts, ma'am" said
Friday.
I'd only manually configure IP if I were sure of what I'm doing, and
test, test, test. Else, if DHCP server is properly configured, I'd
have
it do all client config, period. Same as at work. Great stuff.

It always helps to study and understand things- part of what I was
indicating to OP. Else it's random poo.

J

 
Reply With Quote
 
Bin Chen
Guest
Posts: n/a

 
      05-09-2007, 11:58 PM
On 5ÔÂ10ÈÕ, ÉÏÎç4ʱ31·Ö, b...@sme-online.com wrote:
> On May 9, 2:14 pm, gor...@lsi.com (Gordon Montgomery) wrote:
>
>
>
> > In article <1178718054.227865.248...@w5g2000hsg.googlegroups. com>, b...@sme-online.com wrote:
> > >On May 9, 1:52 am, Bin Chen <binary.c...@gmail.com> wrote:
> > >> Hi,

>
> > >> In Windows, if AP A's WEB key is 1111111111, but I input the WEP key
> > >> to 2222222222 and set the IP address to static , say 192.168.1.3. The
> > >> windows will connect to AP A, and it reports connect successfully. But
> > >> obviously, the data can't transfers.

>
> > >> This makes software designers very hard to junior users who don't know
> > >> why 'connected' but can't transfer data. Is there way to optimize
> > >> this?

>
> > >> Thanks.
> > >> Bin

>
> > >Don't get hung up on "connected". What matters is that your client
> > >associates with AP, has full, workable IP config, and has its packets
> > >routed properly.

>
> > >In manually setting IP, you're ignoring all the other stuff the DHCP
> > >server on the AP would be providing: netmask, gateway, dns servers,
> > >mostlikely domain-name.

>
> > >You can check the full IP config., etc. in Windows (which version/SP,
> > >please?) with winipcfg (GUI) or at shell "ipconfig /all". If that
> > >passes
> > >muster, then "tracertwww.google.com" or some other hostname
> > >would tell you much about how it's talking with the world. They are
> > >easily researched, and left as an exercise.

>
> > >Meanwhile ... why not just enter the same key? And make it a
> > >_good_ one: long, melange of do-do with WPA. Few or no words
> > >found in dictionary is a starter. Don't waste your time with WPA,
> > >most especially if you're in an area of any population density.

>
> > >HTH,
> > >J

>
> > I think what he is trying to say is that if the WEP key is mis-typed,
> > but they use static IP's, there is no real connectivity ( packets don't
> > flow) but the PC believes the AP is connected. As a matter of course,
> > I always re-type the WEP keys just to make sure I have typed them
> > in correctly, but I also always use DHCP. Is there any reason not to
> > use DHCP? Most AP's have simple DHCP servers built into them.

>
> > Gordon

>
> > Gordon Montgomery
> > Living Scriptures, Inc
> > gor...@lsi.com (anti spam - replace lsi with livingscriptures)
> > (801) 627-2000

>
> Got me. Don't want to interpret, rather ask for restatement, whatever.
>
> Belief really not relevant here. :') "Just the facts, ma'am" said
> Friday.
> I'd only manually configure IP if I were sure of what I'm doing, and
> test, test, test. Else, if DHCP server is properly configured, I'd
> have
> it do all client config, period. Same as at work. Great stuff.
>
> It always helps to study and understand things- part of what I was
> indicating to OP. Else it's random poo.


Gordon got the idea of me. Things it not that simple. I am a software
programming that produce the wifi connection tools. My customer is not
smart as you all here who knows when the connection inactive its
needed to check the WEP key. They don't know this and will only
complain to us when they enters a wrong WEP key but with a static IP.

I don't want to get the answer of "guess by people, and try". Even
ping some internet host is not feasible, because "connected to AP"
doesn't necessarily means "connected to internet".

I need to find a general way to effectively reduce the customer
complains, is it any way to get some infomation from the 802.11 frame
to catch the fact that something is probably wrong. With WPA, I can
get the infomation now for the MAC layer frame.

Again, don't give me the naive answer because I am asking a really
technical question here.

 
Reply With Quote
 
William R. Walsh
Guest
Posts: n/a

 
      05-10-2007, 06:12 PM
Hi!

> I think what he is trying to say is that if the WEP key is mis-typed,
> but they use static IP's, there is no real connectivity ( packets don't
> flow) but the PC believes the AP is connected.


That's what seems to happen on this end. If I deliberately mistype my
security keys, there seems to be a connection established. Of course,
nothing flows over it.

> Is there any reason not to use DHCP? Most AP's have simple DHCP servers
> built into them.


Yes, in some cases. Assigning static IP addresses to things like printers,
network attached storage devices and anything else you don't want to be a
"moving target" on your network is a good idea. With DHCP doling out
addresses, devices may not always get the same address. This depends upon
the implementation of the DHCP server your AP/router uses. Some assign the
same address (my old Microsoft AP did this) based on MAC (hardware)
addresses. Others assign random addresses using whatever addresses are
currently listed as being unoccupied. Still other devices (the DD-WRT
firmware can be configured this way) are configurable to whichever behavior
you'd prefer.

Sometimes DHCP won't work. I have a bunch of Token Ring clients on my
network that are connected to the Ethernet network using an IBM 8229 LAN
bridge. DD-WRT simply won't supply IP addresses to these computers, so I
have to set them manually. (Why this is I don't know...computers with TR
that are running Windows XP *do* get IP addresses, but all other systems
don't.)

William


 
Reply With Quote
 
William R. Walsh
Guest
Posts: n/a

 
      05-10-2007, 06:17 PM
Hi!

> This makes software designers very hard to junior users who don't know
> why 'connected' but can't transfer data. Is there way to optimize
> this?


Not to discount your question, but maybe some training of the users is in
order. They should have some basic understanding of what is going on. If
they do not, they will be in trouble more often than not and unable to do
anything at all to fix the problem or possibly even report it.

If wireless security is not needed, then turn it off. That should solve the
problem, and nobody will have to know anything about security.

If wireless security is needed (and it is a good idea to have it on anyway),
consider creating a connection profile using the connection management
software included with your wireless hardware or operating system. This
should store the settings and maintain them. The users then won't need to
know anything unless the software completely loses its mind or is
removed/reinstalled.

William


 
Reply With Quote
 
Aaron Leonard
Guest
Posts: n/a

 
      05-14-2007, 11:13 PM
Hi Bin,

~ In Windows, if AP A's WEB key is 1111111111, but I input the WEP key
~ to 2222222222 and set the IP address to static , say 192.168.1.3. The
~ windows will connect to AP A, and it reports connect successfully. But
~ obviously, the data can't transfers.

Yes, if you have configured 802.11 open authentication with static WEP,
you can and will get into this situation.

~ This makes software designers very hard to junior users who don't know
~ why 'connected' but can't transfer data. Is there way to optimize
~ this?

You can monitor your wireless adapter stats. If decrypt errors are
incrementing after 802.11 open authentication/association succeeds,
then it's a good bet that you are dealing with a WEP key mismatch.

Well, you can use shared key authentication instead of open. This will
prevent you from doing a successful 802.11 authentication, if the static
WEP keys don't match.

Some will note that shared key WEP is even easier to crack than open with
static WEP. The rejoinder to which would be: don't use WEP at all, use WPA.

Aaron
 
Reply With Quote
 
Bin Chen
Guest
Posts: n/a

 
      05-15-2007, 06:47 AM
On May 15, 7:13 am, Aaron Leonard <A...@Cisco.COM> wrote:
> Hi Bin,
>
> ~ In Windows, if AP A's WEB key is 1111111111, but I input the WEP key
> ~ to 2222222222 and set the IP address to static , say 192.168.1.3. The
> ~ windows will connect to AP A, and it reports connect successfully. But
> ~ obviously, the data can't transfers.
>
> Yes, if you have configured 802.11 open authentication with static WEP,
> you can and will get into this situation.
>
> ~ This makes software designers very hard to junior users who don't know
> ~ why 'connected' but can't transfer data. Is there way to optimize
> ~ this?
>
> You can monitor your wireless adapter stats. If decrypt errors are
> incrementing after 802.11 open authentication/association succeeds,
> then it's a good bet that you are dealing with a WEP key mismatch.


I doubt how can you get the stats about the decrypt errors? The
hardware can only decrypt the data and throw it up to the various
stack, it's up to the stack to see is it the data valid. But if you
can't get the IP from the AP, who will send you the data to let you
check whether it is decrypt error?

So it is impossible.


 
Reply With Quote
 
Aaron Leonard
Guest
Posts: n/a

 
      05-15-2007, 07:15 PM
On 14 May 2007 23:47:18 -0700, Bin Chen <(E-Mail Removed)> wrote:

~ On May 15, 7:13 am, Aaron Leonard <A...@Cisco.COM> wrote:
~ > Hi Bin,
~ >
~ > ~ In Windows, if AP A's WEB key is 1111111111, but I input the WEP key
~ > ~ to 2222222222 and set the IP address to static , say 192.168.1.3. The
~ > ~ windows will connect to AP A, and it reports connect successfully. But
~ > ~ obviously, the data can't transfers.
~ >
~ > Yes, if you have configured 802.11 open authentication with static WEP,
~ > you can and will get into this situation.
~ >
~ > ~ This makes software designers very hard to junior users who don't know
~ > ~ why 'connected' but can't transfer data. Is there way to optimize
~ > ~ this?
~ >
~ > You can monitor your wireless adapter stats. If decrypt errors are
~ > incrementing after 802.11 open authentication/association succeeds,
~ > then it's a good bet that you are dealing with a WEP key mismatch.
~
~ I doubt how can you get the stats about the decrypt errors? The
~ hardware can only decrypt the data and throw it up to the various
~ stack, it's up to the stack to see is it the data valid. But if you
~ can't get the IP from the AP, who will send you the data to let you
~ check whether it is decrypt error?
~
~ So it is impossible.

I wouldn't say "impossible".

If you have an API into your wireless adapter's stats, then it may be able to
give you access to the decrypt error counters.

There is still an open question as to whether the AP will attempt to send the
client any data, after the client associates, in order to trigger the decrypt
errors.

I just now tested with a Cisco CB21AG card talking to a Cisco AP, with
a mismatched WEP key ... I see that the card is logging a decrypt
(or, as it puts it, "Encryption") error every 30 seconds or so.

If you do not have an API into your wireless adapter and do not have
access to the AP's control plane, and if you cannot configure
shared key authentication, then I agree, you will not know that
you are experiencing a WEP key mismatch.

Aaron
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Coffee shop wifi will not give me IP address, but gives everyone else IP address. But static IP works! Jennifer R Wireless Internet 5 09-30-2007 06:12 AM
Static IP Setting but status is "Acquiring Network Address" Saeed Pazoki Windows Networking 1 07-22-2006 01:19 PM
VPN adapter ip address wrong Phil Windows Networking 1 12-23-2004 07:03 PM
wrong return address John I-Chung Wang Linux Networking 0 10-27-2004 05:50 AM
ntp on linux- setting wrong time!? Daniel Linux Networking 0 12-03-2003 10:40 PM



1 2 3 4 5 6 7 8 9 10 11