Re: [gentoo-user] wireless software config problem

2017-09-06 Thread Canek Peláez Valdés
On Wed, Sep 6, 2017 at 6:31 PM, allan gottlieb  wrote:
>
> My system runs gnome3/systemd.  I use NetworkManager, which is mostly
> working fine.
>
> At work the desired network is named "nyu".  The sysadmins say I need to
> change at least one security parameter.  When I open the gui it shows
> the network configuration parameters (by clicking the gear) and lets me
> select different values.  However the "Apply" button never becomes
> active so I can only "Cancel".
>
> If I try to select the "nyu" network it asks for the password, which I
> know and enter. I then click the appropriate button (something like
> "apply" or "ok").  As expected the window goes away but I am not
> connected and the window reappears.
>
> A "tip" from the sys admins at work is to somehow tell my system to
> forget all it knows about the network "nyu", but neither I nor they know
> how to do it (they don't "fully support" linux).

I would try this:

1. Select the system menu (top right corner)
2. Select settings (lower left corner of the menu)
3. Select Network
4. Click the gears icon for the wireless network
5. Select the "Reset" option (last option available)
6. Click the "Forget" button

This should allow you to start from the beginning. You should not need to
muck around  around with permissions, it should Just Work™.

Regards.
--
Dr. Canek Peláez Valdés
Profesor de Carrera Asociado C
Departamento de Matemáticas
Facultad de Ciencias
Universidad Nacional Autónoma de México


Re: [gentoo-user] wireless software config problem

2017-09-06 Thread allan gottlieb
On Wed, Sep 06 2017, Mick wrote:

> On Wednesday, 6 September 2017 22:29:29 BST allan gottlieb wrote:
>> On Wed, Sep 06 2017, Alan McKinnon wrote:
>> > On 06/09/2017 18:31, allan gottlieb wrote:
>> >> My system runs gnome3/systemd.  I use NetworkManager, which is mostly
>> >> working fine.
>> >> 
>> >> At work the desired network is named "nyu".  The sysadmins say I need to
>> >> change at least one security parameter.  When I open the gui it shows
>> >> the network configuration parameters (by clicking the gear) and lets me
>> >> select different values.  However the "Apply" button never becomes
>> >> active so I can only "Cancel".
>> >> 
>> >> If I try to select the "nyu" network it asks for the password, which I
>> >> know and enter. I then click the appropriate button (something like
>> >> "apply" or "ok").  As expected the window goes away but I am not
>> >> connected and the window reappears.
>> >> 
>> >> A "tip" from the sys admins at work is to somehow tell my system to
>> >> forget all it knows about the network "nyu", but neither I nor they know
>> >> how to do it (they don't "fully support" linux).
>> >> 
>> >> Any help would be appreciated.
>> > 
>> > Your sysadmins are talking shit. What they need to do is tell you what
>> > the security settings are for that SSID. If it's a corporate firm it's
>> > likely something along the lines of "Protected EAP (PEAP)" and they must
>> > tell you what it requires. Or, find a working Windows machine and check
>> > it's wireless network property for that SSID. Usually, one can figure it
>> > out relatively easily.
>> > 
>> > That your sysadmins don't know this is a rather brutal indictement of
>> > your sysadmins...
>> > 
>> > In connman one often has delete and re-create connections as it often
>> > happens there isn't an Edit button in connman applets! But not in
>> > NetworkManager:
>> > right click -> Config -> Edit -> Save
>> > always does the trick if you click the right buttons in the Edit step
>> 
>> I must not have been clear.  They told me about peap etc.
>> I can't make network manager change to the desired configuration.
>> When I change the settings, the gui doesn't let me apply the change.
>> 
>> allan
>
> This sounds like an OS user permissions problem.  Do you have sys-auth/polkit 
> installed and is USE="policykit" enabled for networkmanager?
>
> Also have a read here in case you need to create this rule:
>
> https://wiki.gentoo.org/wiki/NetworkManager#Fixing_nm-applet_insufficient_privileges

I run gentoo stable and networkmanager-1.4.4-r1 doesn't have a policykit
use flag (version ~1.8.0 does have a that use flag).

I will try changing the settings tomorrow as root (the network in
question is at work)

thanks
allan





Re: [gentoo-user] Failed to load driver: Nouveau

2017-09-06 Thread Marc Joliet
Am Montag, 28. August 2017, 16:17:30 CEST schrieb David Abbott:
[...]
> try;
> modinfo nouveau | grep filename

FWIW, modinfo has various options that make using grep like that unnecessary:

% modinfo -h
Usage:
modinfo [options] filename [args]
Options:
-a, --authorPrint only 'author'
-d, --description   Print only 'description'
-l, --license   Print only 'license'
-p, --parametersPrint only 'parm'
-n, --filename  Print only 'filename'
-0, --null  Use \0 instead of \n
-F, --field=FIELD   Print only provided FIELD
-k, --set-version=VERSION   Use VERSION instead of `uname -r`
-b, --basedir=DIR   Use DIR as filesystem root for /lib/
modules
-V, --version   Show version
-h, --help  Show this help

HTH
-- 
Marc Joliet
--
"People who think they know everything really annoy those of us who know we
don't" - Bjarne Stroustrup


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] wireless software config problem

2017-09-06 Thread Mick
On Wednesday, 6 September 2017 22:29:29 BST allan gottlieb wrote:
> On Wed, Sep 06 2017, Alan McKinnon wrote:
> > On 06/09/2017 18:31, allan gottlieb wrote:
> >> My system runs gnome3/systemd.  I use NetworkManager, which is mostly
> >> working fine.
> >> 
> >> At work the desired network is named "nyu".  The sysadmins say I need to
> >> change at least one security parameter.  When I open the gui it shows
> >> the network configuration parameters (by clicking the gear) and lets me
> >> select different values.  However the "Apply" button never becomes
> >> active so I can only "Cancel".
> >> 
> >> If I try to select the "nyu" network it asks for the password, which I
> >> know and enter. I then click the appropriate button (something like
> >> "apply" or "ok").  As expected the window goes away but I am not
> >> connected and the window reappears.
> >> 
> >> A "tip" from the sys admins at work is to somehow tell my system to
> >> forget all it knows about the network "nyu", but neither I nor they know
> >> how to do it (they don't "fully support" linux).
> >> 
> >> Any help would be appreciated.
> > 
> > Your sysadmins are talking shit. What they need to do is tell you what
> > the security settings are for that SSID. If it's a corporate firm it's
> > likely something along the lines of "Protected EAP (PEAP)" and they must
> > tell you what it requires. Or, find a working Windows machine and check
> > it's wireless network property for that SSID. Usually, one can figure it
> > out relatively easily.
> > 
> > That your sysadmins don't know this is a rather brutal indictement of
> > your sysadmins...
> > 
> > In connman one often has delete and re-create connections as it often
> > happens there isn't an Edit button in connman applets! But not in
> > NetworkManager:
> > right click -> Config -> Edit -> Save
> > always does the trick if you click the right buttons in the Edit step
> 
> I must not have been clear.  They told me about peap etc.
> I can't make network manager change to the desired configuration.
> When I change the settings, the gui doesn't let me apply the change.
> 
> allan

This sounds like an OS user permissions problem.  Do you have sys-auth/polkit 
installed and is USE="policykit" enabled for networkmanager?

Also have a read here in case you need to create this rule:

https://wiki.gentoo.org/wiki/NetworkManager#Fixing_nm-applet_insufficient_privileges

-- 
Regards,
Mick



Re: [gentoo-user] wireless software config problem

2017-09-06 Thread allan gottlieb
On Wed, Sep 06 2017, Alan McKinnon wrote:

> On 06/09/2017 18:31, allan gottlieb wrote:
>> My system runs gnome3/systemd.  I use NetworkManager, which is mostly
>> working fine.
>> 
>> At work the desired network is named "nyu".  The sysadmins say I need to
>> change at least one security parameter.  When I open the gui it shows
>> the network configuration parameters (by clicking the gear) and lets me
>> select different values.  However the "Apply" button never becomes
>> active so I can only "Cancel".
>> 
>> If I try to select the "nyu" network it asks for the password, which I
>> know and enter. I then click the appropriate button (something like
>> "apply" or "ok").  As expected the window goes away but I am not
>> connected and the window reappears.
>> 
>> A "tip" from the sys admins at work is to somehow tell my system to
>> forget all it knows about the network "nyu", but neither I nor they know
>> how to do it (they don't "fully support" linux).
>> 
>> Any help would be appreciated.
>
>
> Your sysadmins are talking shit. What they need to do is tell you what
> the security settings are for that SSID. If it's a corporate firm it's
> likely something along the lines of "Protected EAP (PEAP)" and they must
> tell you what it requires. Or, find a working Windows machine and check
> it's wireless network property for that SSID. Usually, one can figure it
> out relatively easily.
>
> That your sysadmins don't know this is a rather brutal indictement of
> your sysadmins...
>
> In connman one often has delete and re-create connections as it often
> happens there isn't an Edit button in connman applets! But not in
> NetworkManager:
> right click -> Config -> Edit -> Save
> always does the trick if you click the right buttons in the Edit step

I must not have been clear.  They told me about peap etc.
I can't make network manager change to the desired configuration.
When I change the settings, the gui doesn't let me apply the change.

allan



Re: [gentoo-user] Is my SSD dying?

2017-09-06 Thread R0b0t1
On Wednesday, September 6, 2017, Peter Humphrey 
wrote:
> On Sunday, 3 September 2017 21:56:43 BST R0b0t1 wrote:
>> On Sun, Sep 3, 2017 at 2:39 AM, Peter Humphrey 
> wrote:
>> > On Sunday, 3 September 2017 03:34:06 BST R0b0t1 wrote:
>> >> On Sat, Sep 2, 2017 at 8:49 AM, Peter Humphrey
> 
>> >
>> > wrote:
>> >> > A week or two ago I was investigating some other weirdnesses and at
>> >> > one
>> >> > point I zeroed out the first partition: the unformatted one
>> >> > containing
>> >> > the UEFI data. It took longer than I expected, having only 2MB to
>> >> > fill.
>> >> > I wonder if it strayed outside the partition...
>> >>
>> >> Are you trimming your drive?
>> >
>> > Yes; this is root's crontab:
>> >
>> > 9 3,15 * * */sbin/fstrim -a
>>
>> I think a reduction in drive performance (when you are maintaining it
>> properly) is the best argument for being ready to replace the drive,
>> as this seems unlikely to happen to me unless the drive is actually
>> wearing out.
>
> I haven't noticed any degradation of performance, though I haven't run any
> tests.
>

I interpreted the slow zeroing as a performance decrease. If you can
benchmark to check you may want to.

If that situation doesn't correspond to a general decrease in performance I
will be very surprised.

>> At the same time I have seen this exact situation fixed by a firmware
>> upgrade. Still, this seems more alarming than the other issues you've
>> described.
>
> Do you mean the firmware of the NVMe drive? How would I go about that? I
> don't see any mention of firmware on Samsung's site.
>

Typically a closed source Windows program which may bundle the firmware in
it.


Re: [gentoo-user] wireless software config problem

2017-09-06 Thread Alan McKinnon
On 06/09/2017 18:31, allan gottlieb wrote:
> My system runs gnome3/systemd.  I use NetworkManager, which is mostly
> working fine.
> 
> At work the desired network is named "nyu".  The sysadmins say I need to
> change at least one security parameter.  When I open the gui it shows
> the network configuration parameters (by clicking the gear) and lets me
> select different values.  However the "Apply" button never becomes
> active so I can only "Cancel".
> 
> If I try to select the "nyu" network it asks for the password, which I
> know and enter. I then click the appropriate button (something like
> "apply" or "ok").  As expected the window goes away but I am not
> connected and the window reappears.
> 
> A "tip" from the sys admins at work is to somehow tell my system to
> forget all it knows about the network "nyu", but neither I nor they know
> how to do it (they don't "fully support" linux).
> 
> Any help would be appreciated.


Your sysadmins are talking shit. What they need to do is tell you what
the security settings are for that SSID. If it's a corporate firm it's
likely something along the lines of "Protected EAP (PEAP)" and they must
tell you what it requires. Or, find a working Windows machine and check
it's wireless network property for that SSID. Usually, one can figure it
out relatively easily.

That your sysadmins don't know this is a rather brutal indictement of
your sysadmins...

In connman one often has delete and re-create connections as it often
happens there isn't an Edit button in connman applets! But not in
NetworkManager:
right click -> Config -> Edit -> Save
always does the trick if you click the right buttons in the Edit step


-- 
Alan McKinnon
alan.mckin...@gmail.com




[gentoo-user] wireless software config problem

2017-09-06 Thread allan gottlieb
My system runs gnome3/systemd.  I use NetworkManager, which is mostly
working fine.

At work the desired network is named "nyu".  The sysadmins say I need to
change at least one security parameter.  When I open the gui it shows
the network configuration parameters (by clicking the gear) and lets me
select different values.  However the "Apply" button never becomes
active so I can only "Cancel".

If I try to select the "nyu" network it asks for the password, which I
know and enter. I then click the appropriate button (something like
"apply" or "ok").  As expected the window goes away but I am not
connected and the window reappears.

A "tip" from the sys admins at work is to somehow tell my system to
forget all it knows about the network "nyu", but neither I nor they know
how to do it (they don't "fully support" linux).

Any help would be appreciated.

thanks,
allan



Re: [gentoo-user] Is my SSD dying?

2017-09-06 Thread Daniel Frey
On 09/06/2017 03:01 AM, Peter Humphrey wrote:
>> At the same time I have seen this exact situation fixed by a firmware
>> upgrade. Still, this seems more alarming than the other issues you've
>> described.
> 
> Do you mean the firmware of the NVMe drive? How would I go about that? I 
> don't see any mention of firmware on Samsung's site.
> 

I mentioned the same in an earlier post, but unfortunately it seems
Samsung's Magician software is required to do this (Windows application.)

Dan



Re: [gentoo-user] Is my SSD dying?

2017-09-06 Thread Peter Humphrey
On Sunday, 3 September 2017 21:56:43 BST R0b0t1 wrote:
> On Sun, Sep 3, 2017 at 2:39 AM, Peter Humphrey  
wrote:
> > On Sunday, 3 September 2017 03:34:06 BST R0b0t1 wrote:
> >> On Sat, Sep 2, 2017 at 8:49 AM, Peter Humphrey 

> > 
> > wrote:
> >> > A week or two ago I was investigating some other weirdnesses and at
> >> > one
> >> > point I zeroed out the first partition: the unformatted one
> >> > containing
> >> > the UEFI data. It took longer than I expected, having only 2MB to
> >> > fill.
> >> > I wonder if it strayed outside the partition...
> >> 
> >> Are you trimming your drive?
> > 
> > Yes; this is root's crontab:
> > 
> > 9 3,15 * * */sbin/fstrim -a
> 
> I think a reduction in drive performance (when you are maintaining it
> properly) is the best argument for being ready to replace the drive,
> as this seems unlikely to happen to me unless the drive is actually
> wearing out.

I haven't noticed any degradation of performance, though I haven't run any 
tests.

> At the same time I have seen this exact situation fixed by a firmware
> upgrade. Still, this seems more alarming than the other issues you've
> described.

Do you mean the firmware of the NVMe drive? How would I go about that? I 
don't see any mention of firmware on Samsung's site.

-- 
Regards
Peter