Re: Write to network interfaces and wpa_supplicant?

2006-09-20 Thread Bryan
On 9/19/06, Dan Williams [EMAIL PROTECTED] wrote:
 Out of curiosity, what needs this?  I'm interested to know; a config
 tool of some sort?  Something that reports network status or
 configuration?

I'm wanting to try a couple of virtualization packages (VMWare and
xen) which need to bridge the guest network interfaces to the host's.
It doesn't seem to work when using the NM applet.

Oh yeah, I should have specified that I was using the applet and not
the regular GUI because this is a WPA encrypted network.

Anyway, I happened to accidentally stumble across a page that in
wpa_supplicant, the driver that must be specified if you have a 2.6.14
kernel or newer, that you must specify the wext driver if you have
one of the ipw2100, ipw2200, ipw3945 Intel adaptors.  After making
that one small change, wpa_suppliant started working correctly.  I
really wish this little tidbit was a little more documented (esp. in
the man page).

Thanks for your help.  Much appreciated.
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Write to network interfaces and wpa_supplicant?

2006-09-19 Thread withayanda
I really do enjoy the fact that this just works.  It's much easier
than having to configure everything by hand.

But I've run into a bit of a snag on one particular laptop.  Something
needs my wireless interface's config written to the usual
/etc/network/interfaces and the wpa configuration (for the default
wifi network in the office) written to the usual
/etc/wpa_supplicant.conf.  On this particular laptop, I can't seem to
be able to get this working correctly the hard way by writing out
the config to those 2 files.  Yet, I'm able to connect flawlessly via
the applet.

Is there any way to look at the configuration that NM is using once
it's connected to a network so that I might be able to write those 2
config files correctly?  Thanks.
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Write to network interfaces and wpa_supplicant?

2006-09-19 Thread Darren Albers
On 9/19/06, withayanda [EMAIL PROTECTED] wrote:
 Is there any way to look at the configuration that NM is using once
 it's connected to a network so that I might be able to write those 2
 config files correctly?  Thanks.

Not that I know of but if you post the settings you use in NM (Without
the key and SSID of course) I can post an example wpa_supplicant.conf
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Write to network interfaces and wpa_supplicant?

2006-09-19 Thread Dan Williams
On Tue, 2006-09-19 at 18:27 -0400, withayanda wrote:
 I really do enjoy the fact that this just works.  It's much easier
 than having to configure everything by hand.
 
 But I've run into a bit of a snag on one particular laptop.  Something
 needs my wireless interface's config written to the usual
 /etc/network/interfaces and the wpa configuration (for the default
 wifi network in the office) written to the usual

Out of curiosity, what needs this?  I'm interested to know; a config
tool of some sort?  Something that reports network status or
configuration?

Anyway, NetworkManager doesn't write stuff out to text files.  If you
need this information, you can use NetworkManagerDispatcher to run a
script to pull the information out of NetworkManager via D-Bus and write
it to those files as you wish.  Using Python would be even easier.

The standard way to get information about your network is to use the
NetworkManager D-Bus interface, not text files.

 /etc/wpa_supplicant.conf.  On this particular laptop, I can't seem to
 be able to get this working correctly the hard way by writing out
 the config to those 2 files.  Yet, I'm able to connect flawlessly via
 the applet.
 
 Is there any way to look at the configuration that NM is using once
 it's connected to a network so that I might be able to write those 2
 config files correctly?  Thanks.

Yup!  D-Bus :)  If you need pointers on the D-Bus interface or how to
talk to it via Python or something, just let me know and I'd be happy to
help.

Dan

 ___
 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