Re: Help : configuring wpa_suplpicant.conf for WEP + login/passwd

2012-02-16 Thread Yuri Kurenkov

On 14.02.2012 17:51, Arno J. Klaassen wrote:

Hello,

could someone provide me wit a hint how to get wpa_supplicant
to work in the following environment :

  - standard  : IEEE 802.11 (at least they pretend in the doc)
  -mode   : infrastructure (?)
  -WEP: 128bit
  - Authent   : open

  - and then username/password upon browser-launch (at least under
Windows)

When I put the following to wpa_suplicant.conf I get State :
ASSOCIATED -  COMPLETED  :

   ssid=their-ID  (unpublished)
   scan_ssid=1
   key_mgmt=NONE
   wep_key0=part1
   wep_key1=part2
   wep_key2=part3

However, 'dhclient wlan0' says No DHCPOFFERS received 

Any help appreciated.

Thanx in advance, regards,

Arno
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org



Your access point bkock dhcp packes from radio to wire and back. You need 
setup dhcp server at AP.


--
Yuri V. Kurenkov [YVK9-RIPN,YVK11-RIPE]
Home:   +7-8634-361711
Mobile: +7-928-1725845
ICQ UIN:21666578
Skype:  yuri.kurenkov
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org


Re: Help : configuring wpa_suplpicant.conf for WEP + login/passwd

2012-02-16 Thread Arno J. Klaassen

[ .. stuff deleted (WEP-128 problem) ]

one more thing came to my mind:

you don't need to use wpa_supplicant to get WEP support. AFAIK WEP128
is different name for 104-bits key and that might be supported without
need of wpa_supplicant. man ifconfig might shed some light.

I tried today both 'ifconfig' and 'wpa_supplicant'; I comme to
'associated/connected' , no IP

that said, the key they provide me really is 26 characters, I have to
split it in twice 13 to get it accepted both by 'ifconfig' and
'wpa_supplicant' which is very probably wrong 

Couldn't find (quickly) anything on iff and howto for 26 caracter keys

Although wpa_supplicant message states that it connected successfully
to the network. Can you try to set the address by hand(taking some
earlier info from windows machine)?


nope, 'ping' (probably filtered) to defaultroute and DNS-lookup both
fail

More later,

thanx for your help.

Kind regards, Arno


___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org


Re: Help : configuring wpa_suplpicant.conf for WEP + login/passwd

2012-02-15 Thread Maciej Milewski
Dnia wtorek, 14 lutego 2012 21:49:01 Adrian Chadd pisze:
 Wep? With a username/password? I've not seen this.
 
 Does anyone have any ideas?
 
 Adrian
Probably WEP one for all users and username/password as an auth form for 
captive portal(Network Access Control). I haven't used that so I can't say 
anything more.

Maciek

 
 On 14 February 2012 05:51, Arno J. Klaassen a...@heho.snv.jussieu.fr 
wrote:
  Hello,
  
  could someone provide me wit a hint how to get wpa_supplicant
  to work in the following environment :
  
   - standard  : IEEE 802.11 (at least they pretend in the doc)
   -mode   : infrastructure (?)
   -WEP: 128bit
   - Authent   : open
  
   - and then username/password upon browser-launch (at least under
Windows)
  
  When I put the following to wpa_suplicant.conf I get State :
  ASSOCIATED - COMPLETED  :
  
   ssid=their-ID  (unpublished)
   scan_ssid=1
   key_mgmt=NONE
   wep_key0=part1
   wep_key1=part2
   wep_key2=part3
  
  However, 'dhclient wlan0' says No DHCPOFFERS received 
  
  Any help appreciated.
  
  Thanx in advance, regards,
  
  Arno
-- 
Pozdrawiam,
Maciej Milewski
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org


Re: Help : configuring wpa_suplpicant.conf for WEP + login/passwd

2012-02-15 Thread Arno J. Klaassen

Hello,

Paul A. Procacci pproca...@datapipe.com writes:

 Is your DHCP daemon setup to listen on the interface where the AP is
 running?

Dunno... How could eventually be sure Windows got it's IP-addres by DHCP?

 For username/password prompt upon browser launch, you'll need to configure a 
 reverse proxy to get a cookie upon successful auth to pass through the proxy.

Could you please explain me how to do this?

Thanx,

Arno


 ~Paul

 On Tue, Feb 14, 2012 at 09:49:01PM -0800, Adrian Chadd wrote:
 Wep? With a username/password? I've not seen this.

 Does anyone have any ideas?


 Adrian


 On 14 February 2012 05:51, Arno J. Klaassen a...@heho.snv.jussieu.fr wrote:
  Hello,
 
  could someone provide me wit a hint how to get wpa_supplicant
  to work in the following environment :
 
  ?- standard ?: IEEE 802.11 (at least they pretend in the doc)
  ?- ? ?mode ? : infrastructure (?)
  ?- ? ?WEP ? ?: 128bit
  ?- Authent ? : open
 
  ?- and then username/password upon browser-launch (at least under
  ? Windows)
 
  When I put the following to wpa_suplicant.conf I get State :
  ASSOCIATED - COMPLETED ?:
 
  ?ssid=their-ID ?(unpublished)
  ?scan_ssid=1
  ?key_mgmt=NONE
  ?wep_key0=part1
  ?wep_key1=part2
  ?wep_key2=part3
 
  However, 'dhclient wlan0' says No DHCPOFFERS received 
 
  Any help appreciated.
 
  Thanx in advance, regards,
 
  Arno
  ___
  freebsd-net@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-net
  To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org
 ___
 freebsd-net@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-net
 To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org

 

 This message may contain confidential or privileged information. If you are 
 not the intended recipient, please advise us immediately and delete this 
 message. See http://www.datapipe.com/legal/email_disclaimer/ for further 
 information on confidentiality and the risks of non-secure electronic 
 communication. If you cannot access these links, please notify us by reply 
 message and we will send the contents to you.


-- 

  Arno J. Klaassen

  SCITO S.A.
  8 rue des Haies
  F-75020 Paris, France
  http://scito.com
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org


Re: Help : configuring wpa_suplpicant.conf for WEP + login/passwd

2012-02-15 Thread Paul A. Procacci
On Wed, Feb 15, 2012 at 04:02:22PM +0100, Arno J. Klaassen wrote:

 Hello,

 Paul A. Procacci pproca...@datapipe.com writes:

  Is your DHCP daemon setup to listen on the interface where the AP is
  running?

 Dunno... How could eventually be sure Windows got it's IP-addres by DHCP?


Sorry, you hadn't made it very clear if you were attempting to get a lease from 
a DHCP server running on a FreeBSD machine or not.
I assumed you were, and had assumed your configuration may have been wrong.  
However, given your response, I assume you're using an off the shelf AP.

There are several things that come to mind as to why you wouldn't get a DHCP 
lease, like MAC filtering as an example.  You'll have to check the logs of the
DHCP server to see if your requests are even making it to the daemon.  tcpdump 
will come in handy if you have shell capabilities on your AP.

  For username/password prompt upon browser launch, you'll need to configure 
  a reverse proxy to get a cookie upon successful auth to pass through the 
  proxy.

 Could you please explain me how to do this?

As for the proxy, you'll need to look at squid.  I've personally never done 
what you need, but a buddy of mine has using squid.  I can't give you any 
further
details as the configuration/administrator of squid I know nothing about.  I do 
know though that it has the capabilities you seek.

~Paul



This message may contain confidential or privileged information. If you are not 
the intended recipient, please advise us immediately and delete this message. 
See http://www.datapipe.com/legal/email_disclaimer/ for further information on 
confidentiality and the risks of non-secure electronic communication. If you 
cannot access these links, please notify us by reply message and we will send 
the contents to you.
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org


Re: Help : configuring wpa_suplpicant.conf for WEP + login/passwd

2012-02-15 Thread Arno J. Klaassen

Hello,

Maciej Milewski m...@dat.pl writes:

Dnia wtorek, 14 lutego 2012 21:49:01 Adrian Chadd pisze:

 Wep? With a username/password? I've not seen this.



 Does anyone have any ideas?



 Adrian

Probably WEP one for all users and username/password as an auth form
for captive portal(Network Access Control).


Looks close : this is on a site with very restricted (physical) access : 
each day I pass I get a WEP-key and username/password only valid
during the day; the WEP-key (till now) still is the same

As said, I can get the wlan0 interface up, but no idea how to assign
it an IP-addres 

I haven't used that so I
can't say anything more.

Pity ;-)  Thanx anyway.

Regards,

Arno


Maciek




 On 14 February 2012 05:51, Arno J. Klaassen
a...@heho.snv.jussieu.fr wrote:

  Hello,

 

  could someone provide me wit a hint how to get wpa_supplicant

  to work in the following environment :

 

   - standard  : IEEE 802.11 (at least they pretend in the doc)

   -mode   : infrastructure (?)

   -WEP: 128bit

   - Authent   : open

 

   - and then username/password upon browser-launch (at least under

Windows)

 

  When I put the following to wpa_suplicant.conf I get State :

  ASSOCIATED - COMPLETED  :

 

   ssid=their-ID  (unpublished)

   scan_ssid=1

   key_mgmt=NONE

   wep_key0=part1

   wep_key1=part2

   wep_key2=part3

 

  However, 'dhclient wlan0' says No DHCPOFFERS received 

 

  Any help appreciated.

 

  Thanx in advance, regards,

 

  Arno

--

Pozdrawiam,

Maciej Milewski
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org


Re: Help : configuring wpa_suplpicant.conf for WEP + login/passwd

2012-02-15 Thread Maciej Milewski
Dnia środa, 15 lutego 2012 16:16:10 Arno J. Klaassen pisze:
 Hello,
 
 Maciej Milewski m...@dat.pl writes:
 Dnia wtorek, 14 lutego 2012 21:49:01 Adrian Chadd pisze:
  Wep? With a username/password? I've not seen this.
  Does anyone have any ideas?
  Adrian
 
 Probably WEP one for all users and username/password as an auth form
 for captive portal(Network Access Control).
 
 Looks close : this is on a site with very restricted (physical) access :
 each day I pass I get a WEP-key and username/password only valid
 during the day; the WEP-key (till now) still is the same
 
 As said, I can get the wlan0 interface up, but no idea how to assign
 it an IP-addres 
 
 I haven't used that so I
 can't say anything more.
 
 Pity ;-)  Thanx anyway.
 
 Regards,
 
 Arno

Arno,
one more thing came to my mind:
you don't need to use wpa_supplicant to get WEP support. AFAIK WEP128 is 
different name for 104-bits key and that might be supported without need of 
wpa_supplicant. man ifconfig might shed some light.
Although wpa_supplicant message states that it connected successfully to the 
network. Can you try to set the address by hand(taking some earlier info from 
windows machine)?

Additionally you may try to use dhcpcd instead of dhclient(I suspect it's in 
ports). I remember some strange networks where dhclient had problems but 
dhcpcd worked fine.

Maciej

  On 14 February 2012 05:51, Arno J. Klaassen
 a...@heho.snv.jussieu.fr wrote:
   Hello,
   could someone provide me wit a hint how to get wpa_supplicant
   
   to work in the following environment :
- standard  : IEEE 802.11 (at least they pretend in the doc)
-mode   : infrastructure (?)
-WEP: 128bit
- Authent   : open
- and then username/password upon browser-launch (at least under
 Windows)
   When I put the following to wpa_suplicant.conf I get State :
   ASSOCIATED - COMPLETED  :
ssid=their-ID  (unpublished)
scan_ssid=1
key_mgmt=NONE
wep_key0=part1
wep_key1=part2
wep_key2=part3
   However, 'dhclient wlan0' says No DHCPOFFERS received 
   Any help appreciated.
   Thanx in advance, regards,
   Arno
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org


Re: Help : configuring wpa_suplpicant.conf for WEP + login/passwd

2012-02-15 Thread Adrian Chadd
IIRC, a bad WEP key will show up as associated but no data will be exchanged.

Compile up wlanstats from /usr/src/tools/tools/net80211/wlanstats/ and
run it - post the output here.


Adrian
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org


Help : configuring wpa_suplpicant.conf for WEP + login/passwd

2012-02-14 Thread Arno J. Klaassen
Hello,

could someone provide me wit a hint how to get wpa_supplicant
to work in the following environment :

 - standard  : IEEE 802.11 (at least they pretend in the doc)
 -mode   : infrastructure (?)
 -WEP: 128bit
 - Authent   : open

 - and then username/password upon browser-launch (at least under
   Windows)

When I put the following to wpa_suplicant.conf I get State :
ASSOCIATED - COMPLETED  :

  ssid=their-ID  (unpublished)
  scan_ssid=1
  key_mgmt=NONE
  wep_key0=part1
  wep_key1=part2
  wep_key2=part3

However, 'dhclient wlan0' says No DHCPOFFERS received 

Any help appreciated.

Thanx in advance, regards,

Arno
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org


Re: Help : configuring wpa_suplpicant.conf for WEP + login/passwd

2012-02-14 Thread Adrian Chadd
Wep? With a username/password? I've not seen this.

Does anyone have any ideas?


Adrian


On 14 February 2012 05:51, Arno J. Klaassen a...@heho.snv.jussieu.fr wrote:
 Hello,

 could someone provide me wit a hint how to get wpa_supplicant
 to work in the following environment :

  - standard  : IEEE 802.11 (at least they pretend in the doc)
  -    mode   : infrastructure (?)
  -    WEP    : 128bit
  - Authent   : open

  - and then username/password upon browser-launch (at least under
   Windows)

 When I put the following to wpa_suplicant.conf I get State :
 ASSOCIATED - COMPLETED  :

  ssid=their-ID  (unpublished)
  scan_ssid=1
  key_mgmt=NONE
  wep_key0=part1
  wep_key1=part2
  wep_key2=part3

 However, 'dhclient wlan0' says No DHCPOFFERS received 

 Any help appreciated.

 Thanx in advance, regards,

 Arno
 ___
 freebsd-net@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-net
 To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org


Re: Help : configuring wpa_suplpicant.conf for WEP + login/passwd

2012-02-14 Thread Paul A. Procacci
Is your DHCP daemon setup to listen on the interface where the AP is running?
For username/password prompt upon browser launch, you'll need to configure a 
reverse proxy to get a cookie upon successful auth to pass through the proxy.

~Paul

On Tue, Feb 14, 2012 at 09:49:01PM -0800, Adrian Chadd wrote:
 Wep? With a username/password? I've not seen this.

 Does anyone have any ideas?


 Adrian


 On 14 February 2012 05:51, Arno J. Klaassen a...@heho.snv.jussieu.fr wrote:
  Hello,
 
  could someone provide me wit a hint how to get wpa_supplicant
  to work in the following environment :
 
  ?- standard ?: IEEE 802.11 (at least they pretend in the doc)
  ?- ? ?mode ? : infrastructure (?)
  ?- ? ?WEP ? ?: 128bit
  ?- Authent ? : open
 
  ?- and then username/password upon browser-launch (at least under
  ? Windows)
 
  When I put the following to wpa_suplicant.conf I get State :
  ASSOCIATED - COMPLETED ?:
 
  ?ssid=their-ID ?(unpublished)
  ?scan_ssid=1
  ?key_mgmt=NONE
  ?wep_key0=part1
  ?wep_key1=part2
  ?wep_key2=part3
 
  However, 'dhclient wlan0' says No DHCPOFFERS received 
 
  Any help appreciated.
 
  Thanx in advance, regards,
 
  Arno
  ___
  freebsd-net@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-net
  To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org
 ___
 freebsd-net@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-net
 To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org



This message may contain confidential or privileged information. If you are not 
the intended recipient, please advise us immediately and delete this message. 
See http://www.datapipe.com/legal/email_disclaimer/ for further information on 
confidentiality and the risks of non-secure electronic communication. If you 
cannot access these links, please notify us by reply message and we will send 
the contents to you.
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org