Re: Connection sharing with WPA/WPA2
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
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
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 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
On Mon, Jan 18, 2010 at 6:02 AM, Quintin Beukes 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
Re: Connection sharing with WPA/WPA2
2010/1/18 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. > 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
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
> 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
Am 17.01.2010 22:09, schrieb John Mahoney: On Sun, Jan 17, 2010 at 1:28 PM, Quintin Beukes 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
Re: Connection sharing with WPA/WPA2
On Sun, Jan 17, 2010 at 1:28 PM, Quintin Beukes 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 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
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 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
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
>> 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
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 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