Re: NM before login?

2009-08-21 Thread Dan Williams
On Fri, 2009-07-24 at 00:32 +0200, eric.bru...@lps.ens.fr wrote:
> Dans son message du jeudi 23/07/09 à 14:35, Dan Williams a écrit:
> > > 
> > > However, /etc/rc.d/init.d/network picks it also. For each file
> > 
> > Yup
> > 
> > chkconfig network off
> > 
> > will turn that off for you and let NM just do its job.
> 
> Thanks for your answer; I tried that (or maybe I tried to write
> NETWORKING=no in /etc/sysconfig/network; I think it's equivalent), but
> then I don't have anymore a loopback interface, which might be
> problematic.
> 
> Maybe the easiest thing to do is to put a ifup lo in rc.local.
> 
> Shouldn't NetworkManager bring up a loopback interface if it's absent ?

It should, yes, and there's certainly code to do that.  What does
'ifconfig -a' show for you when you encounter this problem?

Dan


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


Re: NM before login?

2009-07-23 Thread Eric . Brunet
Dans son message du jeudi 23/07/09 à 14:35, Dan Williams a écrit:
> > 
> > However, /etc/rc.d/init.d/network picks it also. For each file
> 
> Yup
> 
> chkconfig network off
> 
> will turn that off for you and let NM just do its job.

Thanks for your answer; I tried that (or maybe I tried to write
NETWORKING=no in /etc/sysconfig/network; I think it's equivalent), but
then I don't have anymore a loopback interface, which might be
problematic.

Maybe the easiest thing to do is to put a ifup lo in rc.local.

Shouldn't NetworkManager bring up a loopback interface if it's absent ?

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


Re: NM before login?

2009-07-23 Thread Dan Williams
On Thu, 2009-07-23 at 16:05 +0200, eric.bru...@lps.ens.fr wrote:
> Dans son message du lundi 11/05/09 à 11:04, Dan Williams a écrit:
> > > Is there a way of establishing (and keeping)
> > > a WiFi connection with NetworkManager
> > > before logging in?
> >
> [...]
> > 
> > and after a reboot, you should be able to use the connection editor to
> > mark your wifi connections as "Available to all users", which means they
> > will be available before login.
> 
> Hi,
> 
> This wasn't working for me in Fedora 10, but I upgraded to Fedora 11 and
> now it works nicely: the checkbox is no longer grayed out, I can check
> it, a file ifcfg-Auto_xxx appears in /etc/sysconfig/network-scripts and
> NetworkManager picks it at boot time.
> 
> However, /etc/rc.d/init.d/network picks it also. For each file

Yup

chkconfig network off

will turn that off for you and let NM just do its job.

Dan

> ifcfg-something in this repertory, the network service tries to run ifup
> on it. For instance, I have an ifcfg-Auto_tudia which contains
>   ESSID="tudia"
>   MODE=Managed
>   SECURITYMODE=open
>   DEFAULTKEY=1
>   TYPE=Wireless
>   BOOTPROTO=dhcp
>   PEERDNS=yes
>   PEERROUTES=yes
>   NAME="Auto tudia"
>   UUID=12ea49ce-5559-4adb-bae7-d5e12f33ef82
>   ONBOOT=yes
>   LAST_CONNECT=1247345950
> and if I run "ifup Auto_tudia", as is done at boot time by
> /etc/rc.d/init.d/network, I see
>   Usage: grep [OPTION]... PATTERN [FILE]...
>   Try `grep --help' for more information.
>   Usage: grep [OPTION]... PATTERN [FILE]...
>   Try `grep --help' for more information.
>   
>   Determining IP information for ... failed; no link present.  Check 
> cable?
> The timeout takes 6 seconds.
> 
> Actually, I have serveral wireless networks for NetworkManager of the
> form ifcfg-Auto_xxx, and for each of them I have the two error messages
> from grep and the 6 second timeout.
> 
> In the end, everything works, but this minor problem makes booting take a
> longer time ! How can I avoid that ?
> 
> I tried to set ONBOOT=no in the file. /etc/rc.d/init.d/network now
> ignores them, but it seems that NetworkManager ignores them also.
> I tried to leave ONBOOT=yes and stop /etc/rc.d/init.d/network from being
> run at all, but then I don't have anymore a loopback interface.
> 
> 1) Is there a solution to avoid the delays ?
> 2) Shouldn't this solution be on by default when nm-connection-editor
>creates the files ?
> 3) why does ifup choke on these ifcfg files ?
> 
> Thanks,
> 
>   Éric Brunet
> 
> 
> ___
> 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: NM before login?

2009-07-23 Thread Eric . Brunet
Dans son message du lundi 11/05/09 à 11:04, Dan Williams a écrit:
> > Is there a way of establishing (and keeping)
> > a WiFi connection with NetworkManager
> > before logging in?
>
[...]
> 
> and after a reboot, you should be able to use the connection editor to
> mark your wifi connections as "Available to all users", which means they
> will be available before login.

Hi,

This wasn't working for me in Fedora 10, but I upgraded to Fedora 11 and
now it works nicely: the checkbox is no longer grayed out, I can check
it, a file ifcfg-Auto_xxx appears in /etc/sysconfig/network-scripts and
NetworkManager picks it at boot time.

However, /etc/rc.d/init.d/network picks it also. For each file
ifcfg-something in this repertory, the network service tries to run ifup
on it. For instance, I have an ifcfg-Auto_tudia which contains
ESSID="tudia"
MODE=Managed
SECURITYMODE=open
DEFAULTKEY=1
TYPE=Wireless
BOOTPROTO=dhcp
PEERDNS=yes
PEERROUTES=yes
NAME="Auto tudia"
UUID=12ea49ce-5559-4adb-bae7-d5e12f33ef82
ONBOOT=yes
LAST_CONNECT=1247345950
and if I run "ifup Auto_tudia", as is done at boot time by
/etc/rc.d/init.d/network, I see
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.

Determining IP information for ... failed; no link present.  Check 
cable?
The timeout takes 6 seconds.

Actually, I have serveral wireless networks for NetworkManager of the
form ifcfg-Auto_xxx, and for each of them I have the two error messages
from grep and the 6 second timeout.

In the end, everything works, but this minor problem makes booting take a
longer time ! How can I avoid that ?

I tried to set ONBOOT=no in the file. /etc/rc.d/init.d/network now
ignores them, but it seems that NetworkManager ignores them also.
I tried to leave ONBOOT=yes and stop /etc/rc.d/init.d/network from being
run at all, but then I don't have anymore a loopback interface.

1) Is there a solution to avoid the delays ?
2) Shouldn't this solution be on by default when nm-connection-editor
   creates the files ?
3) why does ifup choke on these ifcfg files ?

Thanks,

Éric Brunet


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


Re: NM before login?

2009-05-18 Thread Eric . Brunet
Dans son message du lundi 18/05/09 à 12:00, Dan Williams a écrit:
> >   kernel: type=1400 audit(1242370619.482:8): avc: denied  { execute } for  
> > pid=2465 comm="dbus-daemon-lau" name="console-kit-daemon" dev=sda2 
> > ino=2327841 scontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 
> > tcontext=system_u:object_r:consolekit_exec_t:s0 tclass=file
> >   kdm: Cannot open ConsoleKit session: Unable to open session: Cannot 
> > launch daemon, file not found or permissions invalid
> >   kdm: Client start failed
> >   kdm: Cannot close ConsoleKit session: Unable to close session: no session 
> > open
> > 
> > Now I remember why I had disabled selinux in the first place !
> 
> Quite interesting; we should get that fixed.  PK uses ConsoleKit to
> determine what sessions are actually humans sitting at the computer, and
> which are not.  So it's not entirely surprising that if CK isn't
> working, PK won't either...  You might try 'touch /.autorelabel' and
> reboot to see if somehow labeling got screwed up (which can happen if
> you copy files around or 'make install' stuff, and you're not running
> restorecond).

I have a hard time debugging this, as I don't understand how selinux is
working, and I find the error message most difficult to read.

However, as I read it, ConsoleKit is not launched because of selinux.
When SELINUX is disabled (as it is now), I have the impression that CK is
correctly launched (nothing bad in the logs) and everything should work. 

Or do you believe that the failure of CK to launch when selinux is
enabled indicates a problem with CK when selinux is disabled which
prevents nm-connection-editor to work ?

Or do you believe (I shiver at the idea) that the toolchain
CK+PK+nm-connection-editor requires an enabled selinux ?

About your suggestion, when I changed de config file
/etc/sysconfig/selinux to set SELINUX=enforcing and I rebooted, the boot
took several extra minutes in text mode, printing "relabelling the
filesystem', or something equivalent. So I think the "touch
/.autorelabel" is not necessary.

Regards,

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


Re: NM before login?

2009-05-18 Thread Dan Williams
On Fri, 2009-05-15 at 09:12 +0200, eric.bru...@lps.ens.fr wrote:
> Dans son message du jeudi 14/05/09 à 17:05, Dan Williams a écrit:
> > On Wed, 2009-05-13 at 23:20 +0200, eric.bru...@lps.ens.fr wrote:
> > > Dans son message du mercredi 13/05/09 à 10:08, Dan Williams a écrit:
> > > > Are you running with SELinux in enforcing mode,
> > > 
> > > /etc/sysconfig/selinux contains the line
> > > 
> > >   SELINUX=disabled
> > > 
> > > (I can only guess that this conf file is actually read and acted upon at
> > > boot time; I don't know how to ask the kernel what is the actual current
> > > selinux mode. There's probably a file in /sysfs, but I don't know which)
> > > 
> > > > and what is the version of your selinux-policy-targeted package?
> > > 
> > > selinux-policy-targeted-3.5.13-58.fc10.noarch
> > > 
> > > > Second, do you see
> > > > "org.freedesktop.network-manager-settings.system.modify" in the output
> > > > of "polkit-auth --show-obtainable" ?
> > > 
> > > Yes I do.
> > 
> > What's in your /etc/NetworkManager/nm-system-settings.conf file?
> > 
> Two lines:
>   [main]
>   plugins=ifcfg-rh
> 
> By the way, I tried to boot with SELINUX=enforcing SELINUXTYPE=targeted,
> just to be extra sure. I could not login as kdm would crash after I type
> my login/password, with X freezing just after. The relevant lines in
> /var/log/messages:
> 
>   kernel: type=1400 audit(1242370619.482:8): avc: denied  { execute } for  
> pid=2465 comm="dbus-daemon-lau" name="console-kit-daemon" dev=sda2 
> ino=2327841 scontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 
> tcontext=system_u:object_r:consolekit_exec_t:s0 tclass=file
>   kdm: Cannot open ConsoleKit session: Unable to open session: Cannot launch 
> daemon, file not found or permissions invalid
>   kdm: Client start failed
>   kdm: Cannot close ConsoleKit session: Unable to close session: no session 
> open
> 
> Now I remember why I had disabled selinux in the first place !

Quite interesting; we should get that fixed.  PK uses ConsoleKit to
determine what sessions are actually humans sitting at the computer, and
which are not.  So it's not entirely surprising that if CK isn't
working, PK won't either...  You might try 'touch /.autorelabel' and
reboot to see if somehow labeling got screwed up (which can happen if
you copy files around or 'make install' stuff, and you're not running
restorecond).

Dan


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


Re: NM before login?

2009-05-15 Thread Eric . Brunet
Dans son message du jeudi 14/05/09 à 17:05, Dan Williams a écrit:
> On Wed, 2009-05-13 at 23:20 +0200, eric.bru...@lps.ens.fr wrote:
> > Dans son message du mercredi 13/05/09 à 10:08, Dan Williams a écrit:
> > > Are you running with SELinux in enforcing mode,
> > 
> > /etc/sysconfig/selinux contains the line
> > 
> > SELINUX=disabled
> > 
> > (I can only guess that this conf file is actually read and acted upon at
> > boot time; I don't know how to ask the kernel what is the actual current
> > selinux mode. There's probably a file in /sysfs, but I don't know which)
> > 
> > > and what is the version of your selinux-policy-targeted package?
> > 
> > selinux-policy-targeted-3.5.13-58.fc10.noarch
> > 
> > > Second, do you see
> > > "org.freedesktop.network-manager-settings.system.modify" in the output
> > > of "polkit-auth --show-obtainable" ?
> > 
> > Yes I do.
> 
> What's in your /etc/NetworkManager/nm-system-settings.conf file?
> 
Two lines:
[main]
plugins=ifcfg-rh

By the way, I tried to boot with SELINUX=enforcing SELINUXTYPE=targeted,
just to be extra sure. I could not login as kdm would crash after I type
my login/password, with X freezing just after. The relevant lines in
/var/log/messages:

  kernel: type=1400 audit(1242370619.482:8): avc: denied  { execute } for  
pid=2465 comm="dbus-daemon-lau" name="console-kit-daemon" dev=sda2 ino=2327841 
scontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 
tcontext=system_u:object_r:consolekit_exec_t:s0 tclass=file
  kdm: Cannot open ConsoleKit session: Unable to open session: Cannot launch 
daemon, file not found or permissions invalid
  kdm: Client start failed
  kdm: Cannot close ConsoleKit session: Unable to close session: no session open

Now I remember why I had disabled selinux in the first place !

Thank you for your help,

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


Re: NM before login?

2009-05-14 Thread Dan Williams
On Wed, 2009-05-13 at 23:20 +0200, eric.bru...@lps.ens.fr wrote:
> Dans son message du mercredi 13/05/09 à 10:08, Dan Williams a écrit:
> > Are you running with SELinux in enforcing mode,
> 
> /etc/sysconfig/selinux contains the line
> 
>   SELINUX=disabled
> 
> (I can only guess that this conf file is actually read and acted upon at
> boot time; I don't know how to ask the kernel what is the actual current
> selinux mode. There's probably a file in /sysfs, but I don't know which)
> 
> > and what is the version of your selinux-policy-targeted package?
> 
> selinux-policy-targeted-3.5.13-58.fc10.noarch
> 
> > Second, do you see
> > "org.freedesktop.network-manager-settings.system.modify" in the output
> > of "polkit-auth --show-obtainable" ?
> 
> Yes I do.

What's in your /etc/NetworkManager/nm-system-settings.conf file?

dan


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


Re: NM before login?

2009-05-13 Thread Eric . Brunet
Dans son message du mercredi 13/05/09 à 10:08, Dan Williams a écrit:
> Are you running with SELinux in enforcing mode,

/etc/sysconfig/selinux contains the line

SELINUX=disabled

(I can only guess that this conf file is actually read and acted upon at
boot time; I don't know how to ask the kernel what is the actual current
selinux mode. There's probably a file in /sysfs, but I don't know which)

> and what is the version of your selinux-policy-targeted package?

selinux-policy-targeted-3.5.13-58.fc10.noarch

> Second, do you see
> "org.freedesktop.network-manager-settings.system.modify" in the output
> of "polkit-auth --show-obtainable" ?

Yes I do.

Thanks for looking into this,

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


Re: NM before login?

2009-05-13 Thread Dan Williams
On Wed, 2009-05-13 at 11:09 +0200, eric.bru...@lps.ens.fr wrote:
> Dans son message du lundi 11/05/09 à 11:04, Dan Williams a écrit:
> > > If it is possible,
> > > what are the steps one must take to implement this?
> > > (I'm running Fedora-10 with KDE.)
> > 
> > This is provided by the nm-system-settings service.  You'll want to grab
> > the NM from F-10 updates-testing:
> > 
> > https://admin.fedoraproject.org/updates/F10/FEDORA-2009-3686
> 
> Those have pushed to regular updates, haven't they ? I have on my F10-kde
> computer:
>   NetworkManager-0.7.1-1.fc10
>   NetworkManager-gnome-0.7.1-1.fc10
> which are the same names as on the webpage you give.
> > 
> > and after a reboot, you should be able to use the connection editor to
> > mark your wifi connections as "Available to all users", which means they
> > will be available before login.
> 
> I ran nm-connection-editor, and when I select one of my connections (wired
> or wireless) and hit the Edit button, a window opens and right at the
> bottom, there is a checkbox titled "Available to all users".
> 
> Unfortunately, this checkbox is grayed out and cannot be checked!
> 
> It makes sense, as I might not have enough privilege to do so; I tried
> "sudo nm-connection-editor", but then I don't see the networks defined by
> my normal user. I tried to create a phony connection as root, but even
> then the checkbox remains grayed out.
> 
> What am I missing ?

Are you running with SELinux in enforcing mode, and what is the version
of your selinux-policy-targeted package?

Second, do you see
"org.freedesktop.network-manager-settings.system.modify" in the output
of "polkit-auth --show-obtainable" ?

dan

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


Re: NM before login?

2009-05-13 Thread Timothy Murphy
eric.bru...@lps.ens.fr wrote:

>> > If it is possible,
>> > what are the steps one must take to implement this?
>> > (I'm running Fedora-10 with KDE.)
>> 
>> This is provided by the nm-system-settings service.  You'll want to grab
>> the NM from F-10 updates-testing:
>> 
>> https://admin.fedoraproject.org/updates/F10/FEDORA-2009-3686
> 
> Those have pushed to regular updates, haven't they ? I have on my F10-kde
> computer:
>   NetworkManager-0.7.1-1.fc10
>   NetworkManager-gnome-0.7.1-1.fc10
> which are the same names as on the webpage you give.
>> 
>> and after a reboot, you should be able to use the connection editor to
>> mark your wifi connections as "Available to all users", which means they
>> will be available before login.
> 
> I ran nm-connection-editor, and when I select one of my connections (wired
> or wireless) and hit the Edit button, a window opens and right at the
> bottom, there is a checkbox titled "Available to all users".
> 
> Unfortunately, this checkbox is grayed out and cannot be checked!

I followed the advice given to get the version of NM from updates-testing,
and it seemed to work as suggested - I was able to tick the checkbox.

I haven't checked the version numbers, but something was downloaded
when I ran "sudo yum --enablerepo=updates-testing update NetworkManager",
so I take it there was a newer version there.
This was a few days ago; maybe that version is now standard?


-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College Dublin 


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


Re: NM before login?

2009-05-13 Thread Eric . Brunet
Dans son message du lundi 11/05/09 à 11:04, Dan Williams a écrit:
> > If it is possible,
> > what are the steps one must take to implement this?
> > (I'm running Fedora-10 with KDE.)
> 
> This is provided by the nm-system-settings service.  You'll want to grab
> the NM from F-10 updates-testing:
> 
> https://admin.fedoraproject.org/updates/F10/FEDORA-2009-3686

Those have pushed to regular updates, haven't they ? I have on my F10-kde
computer:
NetworkManager-0.7.1-1.fc10
NetworkManager-gnome-0.7.1-1.fc10
which are the same names as on the webpage you give.
> 
> and after a reboot, you should be able to use the connection editor to
> mark your wifi connections as "Available to all users", which means they
> will be available before login.

I ran nm-connection-editor, and when I select one of my connections (wired
or wireless) and hit the Edit button, a window opens and right at the
bottom, there is a checkbox titled "Available to all users".

Unfortunately, this checkbox is grayed out and cannot be checked!

It makes sense, as I might not have enough privilege to do so; I tried
"sudo nm-connection-editor", but then I don't see the networks defined by
my normal user. I tried to create a phony connection as root, but even
then the checkbox remains grayed out.

What am I missing ?

Thanks,

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


Re: NM before login?

2009-05-11 Thread Timothy Murphy
Dan Williams wrote:

>> >> Is there a way of establishing (and keeping)
>> >> a WiFi connection with NetworkManager
>> >> before logging in?
>> >> I've read postings saying it is possible,
>> >> and others saying it is not.

>> > This is provided by the nm-system-settings service.  You'll want to 
grab
>> > the NM from F-10 updates-testing:
>> > 
>> > https://admin.fedoraproject.org/updates/F10/FEDORA-2009-3686
>> > 
>> > and after a reboot, you should be able to use the connection editor to
>> > mark your wifi connections as "Available to all users", which means 
they
>> > will be available before login.
>> 
>> Thanks very much, I'll try that.
>> 
>> Though I am reasonably sure -
>> having followed your suggestion to use nm-tools -
>> that the occasional problem with my Orinoco Gold PCMCIA card
>> is something to do with the orinoco_cs driver rather than NM.

> You might get better luck by using the 'hostap' driver for your card,
> most of the orinoco cards can be driven by hostap too.

Well, WiFi is working sufficiently well at the moment
that I don't like to disturb it.
I did try hostap in the distant past,
but didn't find it as good as orinoco_cs with my cards.

> However, I've used an airport card (which is essentially orinoco) pretty
> successfully with recent NM versions.  What sort of issues are you
> having with it, and what kernel version are you running?

I'm running Fedora-10 with KDE, and always keep it up to date;
at present my kernel is 2.6.27.21-170.2.56 .

The only issue is that about 1 time in 5
WiFi does not come up when I re-boot.
I haven't found anything that works then
except re-booting again.
When I do that WiFi almost always works -
perhaps 9 times out of 10.

I find that when I suspend to RAM with WiFi working
it is nearly always still working when the machine awakes.


> 
> Dan

-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College Dublin 


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


Re: NM before login?

2009-05-11 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dan Williams wrote:
> On Mon, 2009-05-11 at 20:31 +0100, Timothy Murphy wrote:
>> Dan Williams wrote:
>>
>>> On Sun, 2009-05-10 at 11:40 +0100, Timothy Murphy wrote:
 Is there a way of establishing (and keeping)
 a WiFi connection with NetworkManager
 before logging in?
 I've read postings saying it is possible,
 and others saying it is not.

 If it is possible,
 what are the steps one must take to implement this?
 (I'm running Fedora-10 with KDE.)
>>> This is provided by the nm-system-settings service.  You'll want to grab
>>> the NM from F-10 updates-testing:
>>>
>>> https://admin.fedoraproject.org/updates/F10/FEDORA-2009-3686
>>>
>>> and after a reboot, you should be able to use the connection editor to
>>> mark your wifi connections as "Available to all users", which means they
>>> will be available before login.
>> Thanks very much, I'll try that.
>>
>> Though I am reasonably sure -
>> having followed your suggestion to use nm-tools -
>> that the occasional problem with my Orinoco Gold PCMCIA card
>> is something to do with the orinoco_cs driver rather than NM.
>> Still, it will help to find as soon as possible
>> whether or not a WiFi connection is going to be set up.
> 
> You might get better luck by using the 'hostap' driver for your card,
> most of the orinoco cards can be driven by hostap too.
> 
> However, I've used an airport card (which is essentially orinoco) pretty
> successfully with recent NM versions.  What sort of issues are you
> having with it, and what kernel version are you running?

Is that right? I've been using hermesap on a machine, but now can't
upgrade to Linux 2.6 because that driver has essentially dead-ended.
This is one of the old old WaveLAN cards (gold) that is actually branded
Lucent. If this is true, that would be welcome news.

- --
  _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
 |$&| |__| |  | |__/ | \| _| |novos...@umdnj.edu - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/CST - NJMS Medical Science Bldg - C630
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkoIkeEACgkQmb+gadEcsb6/BACcCTbkIRPJKszz8Hf4hj7M8rdv
aegAn14PqqnTUkcmOD0n6h0cGajlzWRq
=Vu8H
-END PGP SIGNATURE-
begin:vcard
fn:Ryan Novosielski
n:Novosielski;Ryan
org:UMDNJ;IST/AST
adr;dom:MSB C630;;185 South Orange Avenue;Newark;NJ;07103
email;internet:novos...@umdnj.edu
title:Systems Programmer II
tel;work:(973) 972-0922
tel;fax:(973) 972-7412
tel;pager:(866) 20-UMDNJ
x-mozilla-html:FALSE
version:2.1
end:vcard

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


Re: NM before login?

2009-05-11 Thread Dan Williams
On Mon, 2009-05-11 at 20:31 +0100, Timothy Murphy wrote:
> Dan Williams wrote:
> 
> > On Sun, 2009-05-10 at 11:40 +0100, Timothy Murphy wrote:
> >> Is there a way of establishing (and keeping)
> >> a WiFi connection with NetworkManager
> >> before logging in?
> >> I've read postings saying it is possible,
> >> and others saying it is not.
> >> 
> >> If it is possible,
> >> what are the steps one must take to implement this?
> >> (I'm running Fedora-10 with KDE.)
> > 
> > This is provided by the nm-system-settings service.  You'll want to grab
> > the NM from F-10 updates-testing:
> > 
> > https://admin.fedoraproject.org/updates/F10/FEDORA-2009-3686
> > 
> > and after a reboot, you should be able to use the connection editor to
> > mark your wifi connections as "Available to all users", which means they
> > will be available before login.
> 
> Thanks very much, I'll try that.
> 
> Though I am reasonably sure -
> having followed your suggestion to use nm-tools -
> that the occasional problem with my Orinoco Gold PCMCIA card
> is something to do with the orinoco_cs driver rather than NM.
> Still, it will help to find as soon as possible
> whether or not a WiFi connection is going to be set up.

You might get better luck by using the 'hostap' driver for your card,
most of the orinoco cards can be driven by hostap too.

However, I've used an airport card (which is essentially orinoco) pretty
successfully with recent NM versions.  What sort of issues are you
having with it, and what kernel version are you running?

Dan

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


Re: NM before login?

2009-05-11 Thread Timothy Murphy
Dan Williams wrote:

> On Sun, 2009-05-10 at 11:40 +0100, Timothy Murphy wrote:
>> Is there a way of establishing (and keeping)
>> a WiFi connection with NetworkManager
>> before logging in?
>> I've read postings saying it is possible,
>> and others saying it is not.
>> 
>> If it is possible,
>> what are the steps one must take to implement this?
>> (I'm running Fedora-10 with KDE.)
> 
> This is provided by the nm-system-settings service.  You'll want to grab
> the NM from F-10 updates-testing:
> 
> https://admin.fedoraproject.org/updates/F10/FEDORA-2009-3686
> 
> and after a reboot, you should be able to use the connection editor to
> mark your wifi connections as "Available to all users", which means they
> will be available before login.

Thanks very much, I'll try that.

Though I am reasonably sure -
having followed your suggestion to use nm-tools -
that the occasional problem with my Orinoco Gold PCMCIA card
is something to do with the orinoco_cs driver rather than NM.
Still, it will help to find as soon as possible
whether or not a WiFi connection is going to be set up.

-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College Dublin 


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


Re: NM before login?

2009-05-11 Thread Dan Williams
On Sun, 2009-05-10 at 11:40 +0100, Timothy Murphy wrote:
> Is there a way of establishing (and keeping)
> a WiFi connection with NetworkManager
> before logging in?
> I've read postings saying it is possible,
> and others saying it is not.
> 
> If it is possible,
> what are the steps one must take to implement this?
> (I'm running Fedora-10 with KDE.)

This is provided by the nm-system-settings service.  You'll want to grab
the NM from F-10 updates-testing:

https://admin.fedoraproject.org/updates/F10/FEDORA-2009-3686

and after a reboot, you should be able to use the connection editor to
mark your wifi connections as "Available to all users", which means they
will be available before login.

dan


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