Re: Connection sharing with WPA/WPA2

2010-01-20 Thread Gonsolo



What type of wifi card?  It may be that driver issues prevent the wifi
card from completing the WPA Ad-Hoc network.  WPA Ad-Hoc is more complex
than WEP ad-hoc and there have been kernel driver issues with that
configuration in the past.  What kernel version are you using, what wifi
hardware, and what wifi driver?
   


Ubuntu Karmic, 2.6.31, Netgear WG511T, ath5k.

g

___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Connection sharing with WPA/WPA2

2010-01-19 Thread Dan Williams
On Sun, 2010-01-17 at 18:58 +0200, Quintin Beukes wrote:
 The type of encryption shouldn't make a difference to sharing ability.
 It's 2 completely differently networking layers.

Actually it does; you can't connect to a WPA2-only Ad-Hoc network with
the current wpa_supplicant and Linux kernel drivers.  So that means NM
can't use those networks.  But they are quite rare.

Dan

 Though, how are you sharing it? Are you building custom firewall
 rules, or using some automated sharing via a configuration option?
 
 Quintin Beukes
 
 
 
 On Sun, Jan 17, 2010 at 6:37 PM, Gonsolo gons...@gmail.com wrote:
  Hi!
 
  I wanted to inform you that I was able to share my connection with WEP64 but
  not WPA/WPA2.
 
  I am connecting my Ipod Touch 2nd generation to my notebook (ath5k based
  WLAN card, Ubuntu Karmic) which is connected to the internet via UMTS
  (Huawei E220, option kernel module).
  It works with WEP64 encryption but not with WPA/WPA2 encryption.
 
  Is that problem known?
  I would be happy to provide more information (lsmod, log messages, etc).
  Should I file a bug?
  If so, where (Launchpad, Gnome, Fedora)?
 
  g
  ___
  NetworkManager-list mailing list
  NetworkManager-list@gnome.org
  http://mail.gnome.org/mailman/listinfo/networkmanager-list
 
 ___
 NetworkManager-list mailing list
 NetworkManager-list@gnome.org
 http://mail.gnome.org/mailman/listinfo/networkmanager-list

___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Connection sharing with WPA/WPA2

2010-01-19 Thread Dan Williams
On Sun, 2010-01-17 at 18:04 +0100, Gonsolo wrote:
  I wanted to inform you that I was able to share my connection with 
 WEP64 but
   not WPA/WPA2.
  
   I am connecting my Ipod Touch 2nd generation to my notebook (ath5k based
   WLAN card, Ubuntu Karmic) which is connected to the internet via UMTS
   (Huawei E220, option kernel module).
   It works with WEP64 encryption but not with WPA/WPA2 encryption.
  
   Is that problem known?
   I would be happy to provide more information (lsmod, log messages, etc).
   Should I file a bug?
   If so, where (Launchpad, Gnome, Fedora)?
 
 Am 17.01.2010 17:58, schrieb Quintin Beukes:
  The type of encryption shouldn't make a difference to sharing ability.
  It's 2 completely differently networking layers.
 
  Though, how are you sharing it? Are you building custom firewall
  rules, or using some automated sharing via a configuration option?
 
 No, very simple: Plug in UMTS Stick and WLAN Pcmcia card, connect mobile 
 broadband via NetworkManager and then create a new WLAN network also via 
 NetworkManager like it is explained in 
 http://magazine.redhat.com/2008/10/16/video-fedora-10-connection-sharing/ .
 It automatically adds DNS forwarding via dnsmasq (,I guess).
 
 And, how I said, it works with WEP64 but not with with WPA.

What type of wifi card?  It may be that driver issues prevent the wifi
card from completing the WPA Ad-Hoc network.  WPA Ad-Hoc is more complex
than WEP ad-hoc and there have been kernel driver issues with that
configuration in the past.  What kernel version are you using, what wifi
hardware, and what wifi driver?

Dan


___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Connection sharing with WPA/WPA2

2010-01-18 Thread Quintin Beukes
 It should not have to be ad-hoc.  The wifi card is acting in ap(Access
 Point) mode.

How does this work?

Q
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Connection sharing with WPA/WPA2

2010-01-18 Thread Marc Herbert
Gonsolo a écrit :
 I think my WG511 card would allow  WPA

Note that it is not because a card works as a WPA station that it works
as an WPA Access Point.

___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Connection sharing with WPA/WPA2

2010-01-18 Thread José Queiroz
2010/1/18 Marc Herbert marc.herb...@gmail.com:
 Gonsolo a écrit :
 I think my WG511 card would allow  WPA

 Note that it is not because a card works as a WPA station that it works
 as an WPA Access Point.


I agree.

I remember that when I was testing a rt61-based card, I had problems
when tried to use WPA with ad-hoc mode. I had to switch to the
ndiswrapper driver to do that.
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Connection sharing with WPA/WPA2

2010-01-18 Thread John Mahoney
On Mon, Jan 18, 2010 at 6:02 AM, Quintin Beukes quin...@last.za.net wrote:

  It should not have to be ad-hoc.  The wifi card is acting in ap(Access
  Point) mode.

 How does this work?


Internally or how to configure?

To configure:
1. Create a new wireless connection with the add button
2. enter ssid
3. Keep mode as Infrastructure instead of Ad-hoc
4. In ipv4 settings tab select method: Shared to other computers.


--
John
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Connection sharing with WPA/WPA2

2010-01-17 Thread Gonsolo

Hi!

I wanted to inform you that I was able to share my connection with WEP64 
but not WPA/WPA2.


I am connecting my Ipod Touch 2nd generation to my notebook (ath5k based 
WLAN card, Ubuntu Karmic) which is connected to the internet via UMTS 
(Huawei E220, option kernel module).

It works with WEP64 encryption but not with WPA/WPA2 encryption.

Is that problem known?
I would be happy to provide more information (lsmod, log messages, etc).
Should I file a bug?
If so, where (Launchpad, Gnome, Fedora)?

g
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Connection sharing with WPA/WPA2

2010-01-17 Thread Quintin Beukes
The type of encryption shouldn't make a difference to sharing ability.
It's 2 completely differently networking layers.

Though, how are you sharing it? Are you building custom firewall
rules, or using some automated sharing via a configuration option?

Quintin Beukes



On Sun, Jan 17, 2010 at 6:37 PM, Gonsolo gons...@gmail.com wrote:
 Hi!

 I wanted to inform you that I was able to share my connection with WEP64 but
 not WPA/WPA2.

 I am connecting my Ipod Touch 2nd generation to my notebook (ath5k based
 WLAN card, Ubuntu Karmic) which is connected to the internet via UMTS
 (Huawei E220, option kernel module).
 It works with WEP64 encryption but not with WPA/WPA2 encryption.

 Is that problem known?
 I would be happy to provide more information (lsmod, log messages, etc).
 Should I file a bug?
 If so, where (Launchpad, Gnome, Fedora)?

 g
 ___
 NetworkManager-list mailing list
 NetworkManager-list@gnome.org
 http://mail.gnome.org/mailman/listinfo/networkmanager-list

___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Connection sharing with WPA/WPA2

2010-01-17 Thread Gonsolo
 I wanted to inform you that I was able to share my connection with 
WEP64 but

 not WPA/WPA2.

 I am connecting my Ipod Touch 2nd generation to my notebook (ath5k based
 WLAN card, Ubuntu Karmic) which is connected to the internet via UMTS
 (Huawei E220, option kernel module).
 It works with WEP64 encryption but not with WPA/WPA2 encryption.

 Is that problem known?
 I would be happy to provide more information (lsmod, log messages, etc).
 Should I file a bug?
 If so, where (Launchpad, Gnome, Fedora)?

Am 17.01.2010 17:58, schrieb Quintin Beukes:

The type of encryption shouldn't make a difference to sharing ability.
It's 2 completely differently networking layers.

Though, how are you sharing it? Are you building custom firewall
rules, or using some automated sharing via a configuration option?


No, very simple: Plug in UMTS Stick and WLAN Pcmcia card, connect mobile 
broadband via NetworkManager and then create a new WLAN network also via 
NetworkManager like it is explained in 
http://magazine.redhat.com/2008/10/16/video-fedora-10-connection-sharing/ .

It automatically adds DNS forwarding via dnsmasq (,I guess).

And, how I said, it works with WEP64 but not with with WPA.

g
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Connection sharing with WPA/WPA2

2010-01-17 Thread Gonsolo

Am 17.01.2010 18:04, schrieb Marc Luethi:

On Sun, 2010-01-17 at 17:37 +0100, Gonsolo wrote:


It works with WEP64 encryption but not with WPA/WPA2 encryption.


If your notebook sets up an ad hoc WiFi network, you can't use WPA or
WPA2.

AFAIK, the ad hoc WiFi mode is still limited to WEP encryption.

With certain hardware/driver combinations it is possible to run your
hardware in Access Point mode - then this restriction does not apply,
of course.


Ok, thanks. It seems to be ad hoc. I think my WG511 card would allow 
WPA but I will continue to use WEP for now (since it is the easiest to 
do :) ).


g
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Connection sharing with WPA/WPA2

2010-01-17 Thread Quintin Beukes
Are you sure the network is even established? Can you ping the other host?

You mentioned ad-hoc. I've noticed NetworkManager has problems
establishing AdHoc networks using WPA. For the network doesn't
establish in the first place, so sharing won't work.

Maybe this is your problem as well?

try pinging the other host.

Quintin Beukes



On Sun, Jan 17, 2010 at 7:07 PM, Gonsolo gons...@gmail.com wrote:
 Am 17.01.2010 18:04, schrieb Marc Luethi:

 On Sun, 2010-01-17 at 17:37 +0100, Gonsolo wrote:

 It works with WEP64 encryption but not with WPA/WPA2 encryption.

 If your notebook sets up an ad hoc WiFi network, you can't use WPA or
 WPA2.

 AFAIK, the ad hoc WiFi mode is still limited to WEP encryption.

 With certain hardware/driver combinations it is possible to run your
 hardware in Access Point mode - then this restriction does not apply,
 of course.

 Ok, thanks. It seems to be ad hoc. I think my WG511 card would allow WPA
 but I will continue to use WEP for now (since it is the easiest to do :) ).

 g
 ___
 NetworkManager-list mailing list
 NetworkManager-list@gnome.org
 http://mail.gnome.org/mailman/listinfo/networkmanager-list

___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Connection sharing with WPA/WPA2

2010-01-17 Thread John Mahoney
On Sun, Jan 17, 2010 at 1:28 PM, Quintin Beukes quin...@last.za.net wrote:

 Are you sure the network is even established? Can you ping the other host?

 You mentioned ad-hoc. I've noticed NetworkManager has problems
 establishing AdHoc networks using WPA. For the network doesn't
 establish in the first place, so sharing won't work.


It should not have to be ad-hoc.  The wifi card is acting in ap(Access
Point) mode.

 Maybe this is your problem as well?

 try pinging the other host.

 Quintin Beukes



 On Sun, Jan 17, 2010 at 7:07 PM, Gonsolo gons...@gmail.com wrote:
  Am 17.01.2010 18:04, schrieb Marc Luethi:
 
  On Sun, 2010-01-17 at 17:37 +0100, Gonsolo wrote:
 
  It works with WEP64 encryption but not with WPA/WPA2 encryption.
 
  If your notebook sets up an ad hoc WiFi network, you can't use WPA or
  WPA2.
 
  AFAIK, the ad hoc WiFi mode is still limited to WEP encryption.
 
  With certain hardware/driver combinations it is possible to run your
  hardware in Access Point mode - then this restriction does not apply,
  of course.
 
  Ok, thanks. It seems to be ad hoc. I think my WG511 card would allow
 WPA
  but I will continue to use WEP for now (since it is the easiest to do :)
 ).
 
  g
  ___
  NetworkManager-list mailing list
  NetworkManager-list@gnome.org
  http://mail.gnome.org/mailman/listinfo/networkmanager-list
 
 ___
 NetworkManager-list mailing list
 NetworkManager-list@gnome.org
 http://mail.gnome.org/mailman/listinfo/networkmanager-list

___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Connection sharing with WPA/WPA2

2010-01-17 Thread Gonsolo

Am 17.01.2010 22:09, schrieb John Mahoney:

On Sun, Jan 17, 2010 at 1:28 PM, Quintin Beukesquin...@last.za.net  wrote:


Are you sure the network is even established? Can you ping the other host?

You mentioned ad-hoc. I've noticed NetworkManager has problems
establishing AdHoc networks using WPA. For the network doesn't
establish in the first place, so sharing won't work.



It should not have to be ad-hoc.  The wifi card is acting in ap(Access
Point) mode.


Yes, but the simplest solution for me is to just use Create New 
Wireless Network in NetworkManager, use WEP64, and everything works.


Looking in NetworkManager it tells me that it is an Adhoc network.

I received an answer that WPA(2) mode in Adhoc mode is not in the 
specification.


AP mode may work, I'm just too lazy. :)

Thank you all for your answers,

g (lying on the couch with his Ipod :) )
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list