Re: nm-edit? Static entries?

2006-06-22 Thread Antony J Mee
On Wed, June 21, 2006 8:18 pm, Dan Williams wrote:

 So; I think at the moment, the plan is this [1]:
 
 [1] some bits are up for debate

I don't know about debate but a thought or two

You have mentioned worry that some parts of the core code are
starting to experience some bloat eg. the wireless code with all
the WPA.  I wonder more and more if placing a DBUS interface
between the NetworkManager core (the switching magic, routing
code etc.) and all connection types might be an interesting
route forward (long-term)?

More immediately, the static IP config stuff could be
implemented quite trivially as yup ... you've guessed it...
a ~cough~ VPN ~cough~ plugin.  The architecture provides a
neat dbus interface precisely to set 'static' IP4Config,
routing information etc. one some interface. There is a question
of whether a static connection should optionally choose
which interface it should use or whether NM should
choose but otherwise the VPN arch. provides:
All the necessary DBUS interface and methods
Configuration architecture (both the Gconf stuff and UI stuff)
Import / export architecture.
Removes any potential bloat in the core code.

There is a small amount of boolean architecture needed to assist
NM/applets decide what connections to use or show at any time
but this is very general stuff that is needed for the VPN anyhow.

Recent revelations regarding the use of DBUS_DICT_TYPEs in the
current VPN dbus interface should also remove any worries about
futureproofing such a general purpose dbus interface.

I still think why write 3 interfaces when one will do.

tOnY

PS. In such an architecture, sys admins wishing to limit the
connection types users may use on a machine can do so by simply
deleting/not installing the appropriate plugins.  Such power,
yet no special code needed in the NM core!





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


wpa_supplicant

2006-06-22 Thread Aaron Konstam
I am having a hard time filding wpa_supplicant. I downloaded a source
for it but when I compiled it I got the error that 

SCARD_S_SUCCESS

was undeclared. Any help out there?

Aaron Konstam  [EMAIL PROTECTED]

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


Re: nm-edit? Static entries?

2006-06-22 Thread Pat Suwalski
Antony J Mee wrote:
 More immediately, the static IP config stuff could be
 implemented quite trivially as yup ... you've guessed it...
 a ~cough~ VPN ~cough~ plugin.  The architecture provides a
 neat dbus interface precisely to set 'static' IP4Config,
 routing information etc. one some interface. There is a question
 of whether a static connection should optionally choose
 which interface it should use or whether NM should
 choose but otherwise the VPN arch. provides:

This is a very interesting approach. Is it feasible?

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


Re: Early timeouts connecting to unencrypted network with ndiswrapper on FC5

2006-06-22 Thread Dan Williams
On Wed, 2006-06-21 at 17:55 -0400, Peter Williams wrote:
 On Wed, 2006-06-21 at 10:23 -0400, Dan Williams wrote:
  Sounds an awful lot like the ndiswrapper driver is broken in some way;
  if you can't connect with (a) the command line tools from wireless-tools
  and (b) you can't connect with wpa_supplicant, then NM's not going to
  work.
  
  First, I'd try to figure out the scan problem; from a terminal, do you
  get scan results from /sbin/iwlist eth whatever scan consistently?
  I also hear that ndiswrapper has better WEXT support now too.  Does
  wpa_supplicant not work with the -Dwext option at all?
 
 Yeah, only later did I notice a line in my /var/log/messages from
 wpa_supplicant saying that -Dndiswrapper has been deprecated in favor of
 -Dwext.
 
 It turns out that sometimes I can associate and get my connection
 working. So the problem becomes one that I've had with before, on
 different hardware: with some networks, association intermittently times
 out in Stage 2 of the connection process.
 
 After doing some digging, I'm pretty sure that the issue in such
 situations is that you can (barely) receive packets from the base
 station, but that it can't receive packets from the weaker antenna on
 your wifi card. In the general Stage 2 timeout case, NM doesn't have
 much information to go on, but some kind of notification saying what the
 likely problem is would be very helpful, IMHO.

If drivers were better, and we could trust their strength information
(which we can't), we'd likely even remove APs from the scan list if
their strength was  15% or something like that.  Anything below that
and you're pretty much screwed.

Dan


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


Re: Early timeouts connecting to unencrypted network with ndiswrapper on FC5

2006-06-22 Thread Robert Love
On Thu, 2006-06-22 at 10:53 -0400, Dan Williams wrote:

 If drivers were better, and we could trust their strength information
 (which we can't), we'd likely even remove APs from the scan list if
 their strength was  15% or something like that.  Anything below that
 and you're pretty much screwed.

We are almost to the point, though, where we can trust strength values,
no?

I think Orinoco does strength with the latest driver, no?

And madwifi has bogus strength, but I have a patch to fix that (special
cases the driver, though).

Would be nice to remove, as you say, low scoring AP's.

Robert Love


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


Re: How to set up Bind/SplitDNS on FC5?

2006-06-22 Thread Dan Williams
On Wed, 2006-06-21 at 08:55 -0400, Derek Atkins wrote:
 I'm running FC5 with the following packages:
 
 NetworkManager-0.6.3-1.fc5
 bind-9.3.2-20.FC5
 bind-config-9.3.2-20.FC5
 
 I have named running, but /etc/resolv.conf still points to the
 DNS server provided by DHCP and not the local caching resolver.
 
 Is there some manual configuration I need to do to get this working,
 other than just setting up named to run at boot?  I would've assumed
 that the bind/bind-config packages would have set the appropriate
 configurations for NM in FC5.  I guess I've assumed wrong, but I can't
 seem to find any instructions for what changes I might need to make to
 get this feature working.

I thought they did; make sure that bind is running with the -D option.
Just checked, and a basic install of FC6 (rawhide) doesn't turn this on
by default either.  Which might explain some of the stupidity I've been
seeing WRT to networking changes recently on my laptop.

Note that split DNS, while possible, isn't quite used yet.  We've got
all the bits in place, just need to hook it up for VPN.

Dan

 Thanks,
 
 -derek
 

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


Re: How to set up Bind/SplitDNS on FC5?

2006-06-22 Thread Derek Atkins
Quoting Dan Williams [EMAIL PROTECTED]:

 I thought they did; make sure that bind is running with the -D option.
 Just checked, and a basic install of FC6 (rawhide) doesn't turn this on
 by default either.  Which might explain some of the stupidity I've been
 seeing WRT to networking changes recently on my laptop.

Okay.  I hand-modified /etc/sysconfig/named and added OPTIONS=-D and
now named is reporting dbus service.  Should I file a bug against named
for this?  I have no idea if it should be running with the DBUS service
enabled by default.

 Note that split DNS, while possible, isn't quite used yet.  We've got
 all the bits in place, just need to hook it up for VPN.

Oh, it isn't?   Hmm...  Then what does that mean for a VPN situation?
When I VPNC into my corporate net I need to use the corporate DNS servers.
If I'm using named.  How would this work right now?

 Dan

-derek

-- 
   Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
   Member, MIT Student Information Processing Board  (SIPB)
   URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH
   [EMAIL PROTECTED]PGP key available

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


HOWTO : get rid of the DEBUG option in FC5

2006-06-22 Thread Didier Bien
Title: Message




Hi 
everybody,

In FC5, it looks 
like the debug option (-d) is activated by default.

The 
/var/log/messages log file is filling every few seconds with connection 
settings...

How to disable this 
? It looks like the '-d' flag is like hardcoded...???

Any help 
appreciated

Regards.

Didier

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


Re: How to set up Bind/SplitDNS on FC5?

2006-06-22 Thread Dan Williams
On Thu, 2006-06-22 at 12:09 -0400, Derek Atkins wrote:
 Quoting Dan Williams [EMAIL PROTECTED]:
 
  I thought they did; make sure that bind is running with the -D option.
  Just checked, and a basic install of FC6 (rawhide) doesn't turn this on
  by default either.  Which might explain some of the stupidity I've been
  seeing WRT to networking changes recently on my laptop.
 
 Okay.  I hand-modified /etc/sysconfig/named and added OPTIONS=-D and
 now named is reporting dbus service.  Should I file a bug against named
 for this?  I have no idea if it should be running with the DBUS service
 enabled by default.
 
  Note that split DNS, while possible, isn't quite used yet.  We've got
  all the bits in place, just need to hook it up for VPN.
 
 Oh, it isn't?   Hmm...  Then what does that mean for a VPN situation?
 When I VPNC into my corporate net I need to use the corporate DNS servers.
 If I'm using named.  How would this work right now?

If you start a VPN, all DNS traffic is funneled to the corporate
nameservers that the VPN reports back to NM.  If split DNS were running,
you'd only use the corporate nameservers for addresses ending in the
corporate domain name that the VPN provided, or ones you specified in
the VPN config, instead of everything.  Think of it like the split
routing that we've already got.

Dan

  Dan
 
 -derek
 

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