Re: NM and broadcom stuff with ndiswrapper

2006-04-27 Thread Gene Heskett
On Thursday 27 April 2006 01:21, Gene Heskett wrote:

 http://bcm43xx.berlios.de/

Seems to be down, I can't get it to resolve from here.

-- 
Cheers, Gene
People having trouble with vz bouncing email to me should add the word
'online' between the 'verizon', and the dot which bypasses vz's
stupid bounce rules.  I do use spamassassin too. :-)
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2006 by Maurice Eugene Heskett, all rights reserved.
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


my wireless adaptor doesn't work

2006-04-27 Thread Shu Hung (Koala)
Hello all,

My wireless adaptor doesn't work with networkmanager on ubuntu right 
now. It is GW-US54GZL of Planex using chipset zd1211. 

First I found the version of of zd1211 on ubuntu is too old to identify
my adaptor. I simply download the latest version of zd1211 driver
from their offical website (http://zd1211.ath.cx/).

After compile and install the driver, my computer can identifymy adaptor.
However, as I plug it in, the NetworkManager tray icon disappears and
seems the NetworkManager hangs. It happens every time I plugin the 
addaptor.

What can I do?


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


[PATCH] Use hal device type instead of poking with ioctl

2006-04-27 Thread Jeremy Katz
NM should just use what hal has already determined as the type of device
instead of going and poking via ioctl again.  Especially as poking via
ioctls isn't necessarily going to work if, eg, the kill switch is in
use.

Patch attached -- look okay to commit?

Jeremy
Index: src/nm-device.c
===
RCS file: /cvs/gnome/NetworkManager/src/nm-device.c,v
retrieving revision 1.23
diff -u -r1.23 nm-device.c
--- src/nm-device.c	21 Mar 2006 17:57:01 -	1.23
+++ src/nm-device.c	27 Apr 2006 15:05:01 -
@@ -82,30 +82,17 @@
  *
  */
 static NMDeviceType
-discover_device_type (const char *iface)
+discover_device_type (LibHalContext *ctx, const char *udi)
 {
-	int	err = -1;
-	int	fd;
+	char * category = NULL;
 
-	g_return_val_if_fail (iface != NULL, FALSE);
-
-	if ((fd = iw_sockets_open ()) = 0)
-	{
-		char	buf[64];
-
-		strncpy (buf, iface, 62);
-		buf[63] = '\0';
-
-#ifdef IOCTL_DEBUG
-		nm_info (%s: About to GET IWNAME, iface);
-#endif
-		err = ioctl (fd, SIOCGIWNAME, buf);
-#ifdef IOCTL_DEBUG
-		nm_info (%s: Done with GET IWNAME, iface);
-#endif
-		close (fd);
-	}
-	return err == 0 ? DEVICE_TYPE_802_11_WIRELESS : DEVICE_TYPE_802_3_ETHERNET;
+	if (libhal_device_property_exists (ctx, udi, info.category, NULL))
+		category = libhal_device_get_property_string(ctx, udi, info.category, NULL);
+	if (category  (!strcmp (category, net.80211)))
+		return DEVICE_TYPE_802_11_WIRELESS;
+	else if (category  (!strcmp (category, net.80203)))
+		return DEVICE_TYPE_802_3_ETHERNET;
+	return DEVICE_TYPE_UNKNOWN;
 }
 
 /*
@@ -152,7 +139,7 @@
 	g_return_val_if_fail (strlen (iface)  0, NULL);
 	g_return_val_if_fail (app_data != NULL, NULL);
 
-	type = discover_device_type (iface);
+	type = discover_device_type (app_data-hal_ctx, udi);
 	switch (type)
 	{
 		case DEVICE_TYPE_802_11_WIRELESS:
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: [PATCH] Use hal device type instead of poking with ioctl

2006-04-27 Thread Jeremy Katz
On Thu, 2006-04-27 at 11:36 -0400, Dan Williams wrote:
 On Thu, 2006-04-27 at 11:08 -0400, Jeremy Katz wrote:
  NM should just use what hal has already determined as the type of device
  instead of going and poking via ioctl again.  Especially as poking via
  ioctls isn't necessarily going to work if, eg, the kill switch is in
  use.
  
  Patch attached -- look okay to commit?
 
 Yup, go ahead.  Can you check out the NETWORKMANAGER_0_6_0_RELEASE
 branch and commit it there too?  That one is the 0.6.x branch.

Yep, committed both places

Jeremy

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


Re: NM and broadcom stuff with ndiswrapper

2006-04-27 Thread Gene Heskett
On Thursday 27 April 2006 03:58, Gene Heskett wrote:
On Thursday 27 April 2006 01:21, Gene Heskett wrote:
 http://bcm43xx.berlios.de/

Seems to be down, I can't get it to resolve from here.

I finally figured out howto make dhcp actually work here.

1.  You must use the actual IP of the wap11 in the ifcfg-wlan0's
IPADDR= statement.  Otherwise the request for dhcp never gets off the 
laptop and thence to the subnet for service!

2. Once thats done, the dhcpd server can apparently run on any box on 
the subnet.

However, this brings up the question of how does one determine this AP 
address when out in the puckerbrush connecting to some motels wifi?

Is this something that an 'iwlist scanner' can find?

This is obviously something that all the old hands know so well they 
forget to ask the obvious questions of a newbie.

Can someone recommend a url, or a good book that teaches all this stuff?

-- 
Cheers, Gene
People having trouble with vz bouncing email to me should add the word
'online' between the 'verizon', and the dot which bypasses vz's
stupid bounce rules.  I do use spamassassin too. :-)
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2006 by Maurice Eugene Heskett, all rights reserved.
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: NM and broadcom stuff with ndiswrapper

2006-04-27 Thread Gene Heskett
On Thursday 27 April 2006 03:58, Gene Heskett wrote:
On Thursday 27 April 2006 01:21, Gene Heskett wrote:
 http://bcm43xx.berlios.de/

Seems to be down, I can't get it to resolve from here.

Still down this afternoon.  Has broadcom struck with a takedown order?

-- 
Cheers, Gene
People having trouble with vz bouncing email to me should add the word
'online' between the 'verizon', and the dot which bypasses vz's
stupid bounce rules.  I do use spamassassin too. :-)
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2006 by Maurice Eugene Heskett, all rights reserved.
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Trouble Connecting to WPA network

2006-04-27 Thread Zach Tibbitts
I'm using networkmanager 0.62 on Ubuntu Dapper, and am having trouble to connect to my school's wireless network, which uses WPA encryption.I cannot get NM to connect solely via gui, but running wpa_supplicant at the commandline made the network appear in the NM applet, and then I could connect to it fine.
However, I would like to get this working without needing to use the commandlinethe following is the conf file that will successfully connect to my network: (w/o my username and password)ctrl_interface=/var/run/wpa_supplicant
eapol_version=1ap_scan=2fast_reauth=1network={ ssid=UofL_Auth proto=RSN key_mgmt=IEEE8021X auth_alg=OPEN eap=TTLS pairwise=CCMP
 group=CCMP anonymous_identity=anonymous #Ulink user ID and password go here identity=xxx password=yyy phase2=auth=PAP
 priority=4}how should i put this into nm-applet?also, is there a way to save the profile, so I don't have to put this info in every time?-- Zach Tibbitts - 
[EMAIL PROTECTED]http://collegegeek.org
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: wpa

2006-04-27 Thread Jon Escombe

Bo Lorentsen wrote:

Hi ...

I have build a debian package for the nm-0.6.2 release and it works 
out nice but, I an only able to enable the 3 WEP encryptions but I 
find no WPA encryption.


I know there is a reference to the wpasupplicant and I have included 
this at the configure process, but I still don't get the options in 
the Create new network ... dialogs. What am I missing ?


/BL

NM populates that list of options dependent on the capabilities the card 
is reporting, what card/driver do you have?


Regards,
Jon.




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


Re: wpa

2006-04-27 Thread Dan Williams
On Thu, 2006-04-27 at 22:25 +0200, Bo Lorentsen wrote:
 Jon Escombe wrote:
 
  I have build a debian package for the nm-0.6.2 release and it works 
  out nice but, I an only able to enable the 3 WEP encryptions but I 
  find no WPA encryption.
 
  I know there is a reference to the wpasupplicant and I have 
  included this at the configure process, but I still don't get the 
  options in the Create new network ... dialogs. What am I missing ?
 
  NM populates that list of options dependent on the capabilities the 
  card is reporting, what card/driver do you have?
 
 That sounds really nice, I am getting more and more happy as a linux 
 user, and I think it is time to dig more into this dbus buisness ...
 
 I am using ipw2200 in kernel 2.6.15, that may use the ieee80211 module 
 for encryption. Will an kernel update do the trick ?

You likely need to get the enc_capa patch for the ipw2200 driver to tell
NetworkManager that the card actually does support WPA.  See here:

http://www.redhat.com/archives/fedora-test-list/2006-January/msg02283.html

Dan


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


Re: my wireless adaptor doesn't work

2006-04-27 Thread Dan Williams
On Thu, 2006-04-27 at 17:12 +0800, Shu Hung (Koala) wrote:
 Hello all,
  
 My wireless adaptor doesn't work with networkmanager on ubuntu right 
 now. It is GW-US54GZL of Planex using chipset zd1211. 
  
 First I found the version of of zd1211 on ubuntu is too old to
 identify
 my adaptor. I simply download the latest version of zd1211 driver
 from their offical website (http://zd1211.ath.cx/).
  
 After compile and install the driver, my computer can identify my
 adaptor.
 However, as I plug it in, the NetworkManager tray icon disappears and
 seems the NetworkManager hangs. It happens every time I plugin the 
 addaptor.
  
 What can I do?

What version of NetworkManager are you using?

Also, try to stop NetworkManager, then (as root) run
/usr/sbin/NetworkManager --no-daemon and grab it's output, and mail it
here.  That will let us know where it's hanging and/or having problems.

Note that the zd1211 driver is fairly immature and likely won't work
correctly with NetworkManager and/or wpa_supplicant for a while yet.  It
is, however, under active development and should become quite workable
fairly soon.

Dan



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


Re: Trouble Connecting to WPA network

2006-04-27 Thread Ey Ez
Hello,I must say your at least the thid person who's reported not being able to connect to a wireless AP after entering the connection information once.Perhaps there is an issue with NM connecting to wpa_supplicant? can you try and next time before you connect to the AP, type iwlist your wireless interface scan and see if the wireless AP appears in that list...
NoEyezOn 4/27/06, Zach Tibbitts [EMAIL PROTECTED] wrote:
I'm using networkmanager 0.62 on Ubuntu Dapper, and am having trouble to connect to my school's wireless network, which uses WPA encryption.I cannot get NM to connect solely via gui, but running wpa_supplicant at the commandline made the network appear in the NM applet, and then I could connect to it fine.
However, I would like to get this working without needing to use the commandlinethe following is the conf file that will successfully connect to my network: (w/o my username and password)ctrl_interface=/var/run/wpa_supplicant
eapol_version=1ap_scan=2fast_reauth=1network={ ssid=UofL_Auth proto=RSN key_mgmt=IEEE8021X auth_alg=OPEN eap=TTLS pairwise=CCMP
 group=CCMP anonymous_identity=anonymous #Ulink user ID and password go here identity=xxx password=yyy phase2=auth=PAP
 priority=4}how should i put this into nm-applet?also, is there a way to save the profile, so I don't have to put this info in every time?
-- Zach Tibbitts - 
[EMAIL PROTECTED]http://collegegeek.org

___NetworkManager-list mailing listNetworkManager-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