Re: How to remove settings from a systemd unit file

2024-06-05 Thread R. G. Newbury

On 2024-06-05 00:06, users-requ...@lists.fedoraproject.org wrote:

From: Jeffrey Walton



On Tue, Jun 4, 2024 at 7:24 PM Sam Varshavchik  wrote:

So I was tearing my hair out trying to figure out why attempts to push via
DAV to a git repo were failing.



However this apparently did not work. I threw in the towel and just edited
/lib/systemd/system/httpd.service and commented this setting out, entirely,
to finally fix this issue, and happy git pushing resumed.

But how do I fix this so that the next apache update doesn't clobber this?

I think a better choice is to leave the systemd unit files alone. Then
you don't have to worry about your changes getting reverted on updates
and system upgrades.

I also think it is better to avoid serving files from your home
directory. Instead, use /var. Install your Git-managed project in
/var/git (and your Subversion projects in /var/svn). Add a git user,
and make ownership of /var/git as root:git. Finally, change the
server's document root to/var/git/.

This setup works well for me. The only problem I have encountered is
Git's fix for CVE-2022-24765 a/k/a safe directories. Safe directories
caused a big DoS at my site. Also see
.

Jeff


I agree with your first point about not *serving* files from /home. I 
disagree with your 'fix' in using /var.


Notwithstanding the anaconda installer's indications and instructions 
NOT TO, the installer always seems to WIPE the /var partition. 
Accordingly, you should use a symlink from /var/git (or in my case(s) 
/var/lib/mysql and /var/www/html) to somewhere else which will remain 
stable across a re-install.
In my case I point these instances to an actual "physical" partition 
which is /misc, which allows me to easily back-up all the active 
'stuff'. (It's really meta to describe a 'partition' on an SSD as 
'physical'... but there we are.)
Yes, it's a little more work on an actual re-install but I have some 
'run-once' script lines in /etc/rc.d/rc.local which handles all of the 
stuff I would not remember how to do, much less remember to do...


And Jeff, you should remember that it is spelt:

Geoff

--
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


F40: strange network issue after upgrade of laptop from F39

2024-05-23 Thread R. G. Newbury

On 2024-05-23 19:20, users-requ...@lists.fedoraproject.org wrote:

F40: strange network issue after upgrade of laptop from
F39
To:users@lists.fedoraproject.org
Message-ID:<088547fa-c5dd-49f3-86a0-a09dba72a...@sieb.net>
Content-Type: text/plain; charset=UTF-8; format=flowed

On 5/23/24 3:32 PM, Ranjan Maitra via users wrote:

I have a strange issue after upgrading a laptop (Dell XPS 13, 2013 edition). 
That is that I am connected (whether through WiFi or ethernet cable) to a 
university network which claims after the upgrade that the laptop is no longer 
registered. I went through the registration process again through the browser 
(and was told: why are you registering this machine again, it is registered, 
simply restart the network/reboot) but the problem does not go away. I upgraded 
a desktop on the same ethernet switch and this problem did not go show up there 
(I am using that to write this email).

What are they using to identify the computer?
What is happening with the networking that isn't working?  No DHCP
response, no network traffic, etc.


Ignore the browser for the moment. Go into Network Connections and see 
if your install is cloning a random MAC address. I *suspect* that the 
registration "feature" may be checking against the MAC address, while 
the browser passes through the SSID + password only. Just a guess but I 
have had the same problem with my android cellphone getting a 
DHCP-served address instead of the expected static IP due to a random 
MAC address.

Geoff
--
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Which scanner/copier do you use with Fedora?

2024-03-19 Thread R. G. Newbury

On 2024-03-19 10:14, users-requ...@lists.fedoraproject.org wrote:

Which scanner/copier do you use with Fedora?

If you need a fast scanner, with a document feeder, and double-sided, 
the Brother ADS1000 is fantastic.


It has a near vertical document feeder, which you can keep topped up 
with new pages. Works double-sided at up to 16ppm. Once did over 2,500 
pages in about 6 hours. Two of us working: one removing staples and 
paperclips, and in-bound/out-bound handling, one stamping Bates numbers 
and feeding the scanner, overseeing the laptop storage into various 
folders. At one point did over 200 pages without stopping, until a 
missed staple caused a blockage. Very fast in black and white, slightly 
slower in color.


And small! About 3"x4"x 12" long. Very portable. (The ADS1000 has been 
superseded by the ADS1200).


G.



--
 R. Geoffrey Newbury
--
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Is there an officially Fedora supported replacement for,>,> the old rc.local? - still an issue

2022-07-19 Thread R. G. Newbury
On Tue, 19 Jul 2022 07:37:12 -0400 Tom Horsley 
wrote> On Mon, 18 Jul 2022 22:25:03 -0400

R. G. Newbury wrote:

This sleight-of-hand was posted by someone on an Arch distro
forum/mailing list. I do not have his name, but kudos and thanks whoever
you are. It works

Those are my exact notes (and even comments) from when systemd
started killing off rc.local stuff that took "too long". Maybe
someone copied them from the fedora list to an arch list :-).


Well thanks and kudos again. It's clean, understandable and it works!.


But I definitely didn't use vim, I used emacs :-).

Heretic! Unclean! Unclean!

Geoff
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Is there an officially Fedora supported replacement for,> the old rc.local? - still an issue

2022-07-18 Thread R. G. Newbury

Am 18.07.2022 um 22:18 schrieb Peter Boy: wrote

I got it finally working.

After some tests: It isn’t.

The programs I have to start depend on the existence of some (virtual) network 
interfaces. rc.local is ordered after network.target, which doesn’t mean, the 
network is functional then. Therefore, the program start via rc.local is in 
indeterministic process. Sometimes it works, sometimes not, sometimes only for 
some.

Documentation mentions a drop in at/etc/systemd/system/rc-local.service.d/network.conf. But there is no 
subdirectory /etc/systemd/system/rc-local.service.d/


Should I really mess around with vim and mkdir in the directories managed by 
the distribution? Seems like a bad idea to me.

Or have I missed something?


There is a cleaner workaround, which does, unfortunately mean you have 
to do some minor file amendments (with vim, *of course*!)


Your original /etc/rc.d/rc.local is renamed:
mv rc.local the-real-rc.local

/etc/rc.d/rc.local is replaced with a new version:

#!/bin/bash
#  to run rc.local type things, without interference from systemd
#  rc-local:
/usr/bin/at -M now <<'HERE' > /dev/null 2>&1
/etc/rc.d/the-real-rc.local
HERE

#  And everything I used to run in rc.local now gets run
#  from the-real-rc.local, untouched by systemd meddling
#  (Resistance was futile, I was assimilated).


Both of these files have to be executable (chmod 755).

The /usr/systemd/rc-local.service file IS NOT TOUCHED, so there are no 
problems with it being overwritten. (might need to be enabled. I cannot 
remember.)


The rc-local service checks the rc.local file, and IF it is executable, 
will run it. The new version rc.local calls 'the-real-rc.local'.


Your 'the-real-rc.local' file can have a sleep or structured pause until 
the networks respond properly and signal they are awake.


This sleight-of-hand was posted by someone on an Arch distro 
forum/mailing list. I do not have his name, but kudos and thanks whoever 
you are. It works


In addition, you can also split your 'real' file, by creating a 
semaphore file in /tmp, and run different sections.
If you prefer you can run a 'real' files only on the first run after a 
boot, or even after an install.
If you have not yet changed, for example, /var/lib/mysql from a 
directory to a link to somewhere else, then this is the first run after 
a re-install, and that has not yet been done: an install, in my 
experience, whether told to format or not to format, will wipe the /var 
partition, and all of the databases in that folder. I put them elsewhere 
and link to there, so no losses. So obviously one thing I want to do is 
change the folder to a link to the proper place.
And obviously there are a plethora of things which need to be done 
*once* after an install. Needs one 'if' statement in the bash script. A 
re-run will skip the block.


Geoff





___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re Re: Long timeouts on logging out/shutting down

2022-07-17 Thread R. G. Newbury

On 2022-07-17 15:17, francis.montag...@inria.fr wrote

On Sun, 17 Jul 2022 17:39:35 +0100 Patrick O'Callaghan wrote:

Actually, according to systemd-system.conf(5), it looks like the
proper place to do this is with a file under
/usr/lib/systemd/system.conf.d, similar to the old rc.d init files.
Presumably that will avoid the setting being overwritten by a new
install.

Well, that was a bust. Turns out that you do have to edit the standard
file(s) to have any effect.

It works for me.
Did you specified the [Manager] tag in the drop-in file ?
Example:
## Weird: systemd seems to uses internally a ...USec name for that
systemctl show --property=DefaultTimeoutStopUSec
DefaultTimeoutStopUSec=1min 30s

mkdir /usr/lib/systemd/system.conf.d
echo -e '[Manager]\nDefaultTimeoutStopSec=5s' > 
/usr/lib/systemd/system.conf.d/99-stop-fast.conf

systemctl daemon-reload

systemctl show --property=DefaultTimeoutStopUSec
DefaultTimeoutStopUSec=5s
-- francis
This reminds me SO much of reading old IBM Red Books. You must 
thoroughly understand the *footnotes* to Chapter 22 before you can 
actually understand the third paragraph of Chapter 2.

(Cannot now remember whether that was OS/2 or REXX... Lost to human memory.)

And also reminds me why Linux can be considered a cult, as there are 
arcane and unknown rules controlling how things work.

Geoff










--
 R. Geoffrey Newbury
 954 Owenwood Drive
 Mississauga, Ontario, L5H 3J2

  416-854-8160 newb...@mandamus.org
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: hardware RAID1 NVMe card?

2022-06-24 Thread R. G. Newbury

On 2022-06-24 ToddAndMargo
Any of you guys know of a PCIe card that will do
hardware RAID 1 with two NVMe drives?

I have found some, but they are way to elaborate,
and as such, way too expensive.


Asus makes the UltraQuad board. Asrock make the QuadUltra board.
Both hold 4 nvme drives and can raid.
Both use only one x16 slot.

You need a BIOS that can split your PCIE x16 into 4x4x4x4 for best 
performance. That means at least a X299 or better chipset. The Asus (at 
least) can boot from the raid array.

Both are priced just under $100 last time I looked.

Geoff
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Getting a new printer/scanner

2022-06-19 Thread R. G. Newbury
On Fri, 17 Jun 2022 11:54:16 Richard England wrote 
 > So, it's time again for me to> get a new printer/scanner as the old 
one> just died.

I hope it isn't too much off-topic to solicit advice on what to get so
that it would work flawlessly with Fedora. I'm looking for a rather
basic model. When I browse the homepages of manufacturers I can't find
any mention of support for Linux. Is there a list somewhere of
printer/scanners that are supported by Linux?


As usual you need to know what you want to do, first.
All the major manufacturers have supported Linux for years. Generally 
you only need an actual driver for a USB connected printer or scanner.
My advice is that you look for a used HP or Brother laser printer 
(Craigslist/Kijiji). They last forever and are easily installed/handled 
by CUPS. Get one with a built-in network card, or find one *really 
cheap* and buy a network print server for $25-$30. The printer can be 
put somewhere out of the way (same with wireless capability). You can 
print directly from any computer or tablet or phone.


The HP and Brother laser printers "just work". The laser printers can 
sit for weeks, using effectively no power but still available.


If you only want 'basic' service, you should about what you really need 
and the footprint. I do not know how old my HP-1320 is, at least 20 
years. It has a 14" square footprint. The HP-3055 MFD is "newer" at 
maybe as recent as 2006 (although that could just be the last software 
update date), much larger and obtrusive. I only keep it really for the 
scanner since I lent my Brother ADS-1000 scanner to my brother and it 
seems to have "disappeared" and cannot be found!
If you only need scanning to make the odd photocopy, you might find a 
small standalone scanner will do the job. Much smaller footprint. The 
Brother scanners need the two free linux drivers installed but the 
website support is excellent. The ADS series are small, fast and good.


G.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: OT: problems with xsane

2022-05-15 Thread R. G. Newbury

On 5/15/22 12:46, Geoffrey Leach wrote:
The Brother DS-640 is a USB-interfaces document scanner. I've been
attempting to use it with the Xsane app. All I get is a 1/2" vertical
stripe.
AFAIK there is no option to Xsane that effects the displayed scan.
OTOH, I've tried two DS-640 with the same result
Any pointers?  Thanks.

You probably need to install the Brother drivers. There are two iirc, 
and need to be installed in the correct order and support programs. 
Available through the support tab on the Brother web-site. The config 
program has a very comprehensive list of settings which you put into a 
config file.

Use scanimage -L to find the usb parameters and something like
#export ads='brother4:bus2:dev1'
then scanimage --device-name=$ads
scanimage itself has a number of parameters.

A couple of years ago I was given a Brother ADS-1500 scanner to scan a 
large number of documents. Installed the drivers, and ended up scanning 
just over 2100 pages in one day. The ADS1500 is a small thing, powered 
from a power wart and uses USB, but very fast. At one point I did nearly 
200 pages in one continuous call, feeding new pages into the back of the 
feed stack.

I used: # double sided
scanimage  --device-name=$ads --resolution 300 --format=tif 
--source='Automatic Document Feeder(left aligned,Duplex)'  -x 215 -y 280 
 --batch=$2%d.tif --batch-start=$3 --batch-count=$4 --batch-increment=$5


which numbers the output images by 1, 2 or -2 if working from the back 
of a book.
The x and y parameters are the page size and you can limit the scan 
viewport to ignore parts of the physical page.


Geoff

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Can new Fedora changes help users ?

2022-04-28 Thread R. G. Newbury

On 2022-04-28 00:04, users-requ...@lists.fedoraproject.org wrote:

I think the answer's going to depend on the age.

I have a 2007 era laptop that still works, though its battery doesn't,
and is painfully burdened by modern Gnome.  But managed Gnome from way
back then quite acceptably.  It has a no-longer supported NVidia
graphics chipset (NVidia removed drivers for that model some time ago).


Very old nvidia drivers may not be available through rmpfusion but 
drivers back to the 304 series for Geforce 6 chips are still available 
on nvidia.com. You just download and install the rpm.


I have an IBM T60 which was first introduced in 2006. Like your laptop, 
the battery is very short-lived, but the computer works fine. Presently 
running Fedora 35 with, iirc without looking, the 340 series nvidia 
driver (Geforce 9600 gpu, I think).


Removing the legacy BIOS boot is a step backwards and will hurt a large 
number of Fedora users who are, in the end count, a large testing group 
for a cutting edge distro.


G.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: pipewire and wireplumber

2022-03-26 Thread R. G. Newbury

DJ Delorie wrote


"R. G. Newbury"  writes:

If you don't mind answering, was it a Rhode Island Red cockerel or a hen
which you sacrificed to learn these arcane secrets? And, full-moon at
midnight, or dark of the moon? Or did this take moving up to a goat?



It took a LOT of googling to find the one person who mentioned it
elsewhere in the space-time continuum.


And did that version have an exception for when the sacrifice is to be 
undertaken if being undertaken *in California*?


In that case it would have been me. (Long ago in a galaxy far far 
away) iirc it involved the entrails of an OS/2 installation.


Geoff
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: pipewire and wireplumber

2022-03-25 Thread R. G. Newbury

Date: Fri, 25 Mar 2022 01:02:01 -0700

Samuel Sieb wrote

Subject: Re: pipewire and wireplumber
R. G. Newbury wrote:

DJ Delorie  wrote

Geoffrey Leach  writes:

Is there a 'Getting Started With pipewire' and/or wireplumber
somewhere? Or should they 'just work' and I need to check my
connections?

As a non-gnome (and non-display-manager) user, I share these .xsession
snippets:

# Required by pipewire, at least
export XDG_RUNTIME_DIR=$(mktemp -d/tmp/$(id -u)-runtime-dir.XXX)

# Required by most things
eval `dbus-launch --sh-syntax --exit-with-session`

pipewire &
pipewire-pulse &
(sleep 2 ; wireplumber & ) &


There wasn't a pipewire-specific config; it uses the same ALSA backend
as pulseaudio used.

If you don't mind answering, was it a Rhode Island Red cockerel or a hen
which you sacrificed to learn these arcane secrets? And, full-moon at
midnight, or dark of the moon? Or did this take moving up to a goat?
Or are you a graduate of Hogwarts? Because I am quite sure that none of
these snippets show up anywhere in the so-called documentation. Pure
magic, just like any sufficiently advanced technology.



That's because they aren't necessary.  For any standard desktop all
those pieces are already setup for you.  Notice how he said
"non-display-manager user".  Those are only necessary if you don't have
a graphical login session.


Non-display-manager user or not, those might be necessary even if you 
have a graphical login session. I installed the KDE spin of Fedora 35 on 
Monday. A bare metal install: I partitioned the sda drive and formatted 
it during the install.
I had NO audio. And nothing I did allowed the system to even *find* any 
audio hardware. I played a fugue's worth of combinations and read 
everything I could find.
Unfortunately, as noted in this thread, there is no install guide. It 
just works - NOT. I saw an error message about XDG_RUNTIME_DIR and spent 
most of an evening down that rabbit-hole, but nothing worked. Pipewire 
would not even find a module which its own rpm had installed. In the 
end, I basically inverted the lines of the install process script I was 
playing with, and re-installed pulseaudio.


Audio works fine now. My opinion of pipewire is, that like pulseaudio 
and systemd were, it has been released far too early in its beta stages. 
It took a couple of years for each of pulseaudio and systemd to reach 
adequate levels of instalability and reliability. Likely the same for 
pipewire.


Geoff
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: pipewire and wireplumber

2022-03-24 Thread R. G. Newbury


DJ Delorie  wrote


Geoffrey Leach  writes:

Is there a 'Getting Started With pipewire' and/or wireplumber
somewhere? Or should they 'just work' and I need to check my
connections?


As a non-gnome (and non-display-manager) user, I share these .xsession
snippets:

# Required by pipewire, at least
export XDG_RUNTIME_DIR=$(mktemp -d /tmp/$(id -u)-runtime-dir.XXX)

# Required by most things
eval `dbus-launch --sh-syntax --exit-with-session`

pipewire &
pipewire-pulse &
(sleep 2 ; wireplumber & ) &


There wasn't a pipewire-specific config; it uses the same ALSA backend
as pulseaudio used.


If you don't mind answering, was it a Rhode Island Red cockerel or a hen 
which you sacrificed to learn these arcane secrets? And, full-moon at 
midnight, or dark of the moon? Or did this take moving up to a goat?
Or are you a graduate of Hogwarts? Because I am quite sure that none of 
these snippets show up anywhere in the so-called documentation. Pure 
magic, just like any sufficiently advanced technology.


Geoff
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: pipewire and wireplumber

2022-03-24 Thread R. G. Newbury

Geoffrey Leach  wrote:


I'm happy for you. For me, not so much :-(


I've just installed Fedora 35 and have discovered to my dismay that
previously-working (not at all sophisticated) audio no longer works.

Is there a 'Getting Started With pipewire' and/or wireplumber somewhere?

Or

should they 'just work' and I need to check my connections?

Bob Marcan wrote:
systemctl --user --now disable  wireplumber
works for me.
Obviously we are guinea pigs for this premature piece of software.


Could not agree more with the last sentence. To get audio recognized
in order I did this:
systemctl stop wireplumber.service
dnf  erase wireplumber
systemctl stop pipewire-pulse.service pipewire-pulse.socket
systemctl stop pipewire.service pipewire.socket
systemctl daemon-reload
dnf --skip-broken erase pipewire pipewire-* libpipewire* 
pipewire-media-session pipewire-pulseaudio*


dnf -y install plasma-desktop
# An error message said that plasma-desktop was deleted although that 
does not appear to be true


systemctl stop elogd.service
dnf  erase elog*
# I tried installing elog to get the global XDG_RUNTIME_DIR set: no joy 
doing that.


dnf --allowerasing --skip-broken --best install alsa* 
kde-settings-pulseaudio
dnf --allowerasing --skip-broken --best install pulseaudio* 
alsa-plugins-pulseaudio

dnf --allowerasing install pavucontrol pulseaudio-module-zeroconf

The TL:DR is, that I re-installed alsa and pulseaudio after a couple of 
hours spent trying to get *anything* to connect to the hardware.


Geoff
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Help configuring internal network

2022-03-20 Thread R. G. Newbury

On 2022-03-20 10:11 a.m.,

Tim wrote:



If you want a predictable LAN, then I really only see two ways to
manage that without major pain:

1. Run a DHCP server with a DNS server...

2. Manually configure each device to have a fixed IP.

I think you left out a third method, which uses part of your version 1.

3. Use a router and set static addresses for each device. Today, all 
routers act as DHCP servers, and setting a static address/MAC address 
pair in the router setup ensures that any listed device will get the 
same address every time. The router does not have to act as a DNS server 
for internal devices: it passes external name calls to the gateway.


You only need to access the router setup when there is a new physical 
device being added, such as a new phone. You can give it the same old IP 
but that will now be paired to the new MAC. And then the /etc/hosts file 
is merely a memorandum file to keep track of things.


Geoff
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Help configuring internal network

2022-03-20 Thread R. G. Newbury

On 2022-03-20 8:00 a.m.,
Tim  wrote

R. G. Newbury wrote:
Controlling an hdhr with a dhcp served IP address is basically
impossible as it is hard to find that address and remember it for use
in your program. Control of the unit with most digital tv programs
requires a static IP address. Mythtv for instance will not work if
the IP address is changed, external to the mythtv program.



DHCP does not equal random new addresses each time.  On a home network,
you're extremely likely to get assigned the same address each time.
But you can ensure that by configuring the DHCP server to work that way.


'Configuring the DHCP server to work that way', is to set it to deliver 
a static address. With a dhcp server, the problem is that any change in 
the network, or the items connecting to it, can cause the dhcp server to 
deliver a different address to a unit, while a static address, once set 
as a static address, will not change. Moreover, a static address setting 
is tied to the MAC of the unit, not its FQDN.



For many things on a home LAN, configuring a DHCP server is going to be
the easiest way to set fixed IPs for every device (unless you like
manually configuring your TV, your printer, your PC, your laptop, your
smart gadgets, your internet fridge, and partridge in a pear tree.

No wonder I can never get the partridges to connect properly!
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Help configuring internal network

2022-03-20 Thread R. G. Newbury
On 2022-03-20 8:00 a.m., Tim >R. G. 
Newbury wrote:

edit your /etc/hosts file to give the hdhomerun unit a fixed IP
address.

When has the /etc/hosts file ever given anything an IP address?


You are correct, and I am completely wrong. A static address for the 
computer would be set by editing 
/etc/sysconfig/network-scripts/ifcfg-eno1 (or whatever) or using the 
network config gui to do the same thing.


But everything else needs to be given an address by the router acting as 
a dhcp server or by a separate dhcp server (which can deliver a static 
address by using the MAC address of the unit to give the desired address).


Been so long since I have had to do that, I forgot which was the cart 
and which the mule.


Geoff
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Help configuring internal network

2022-03-19 Thread R. G. Newbury

Geoffrey Leach wrote:


It will take me a while to try to understand the output from your

suggestions.

In the meantime, yes, it is a direct cable to the hdhomerun.


Then you will have to set a static IP address in your /etc/hosts file. 
There is some sort of NETGEAT unit listed in your output. If that is a 
router, it is MUCH easier to set things up with a router between the 
computer and the hdhr.


On Sat, Mar 19, 2022 at 4:54 PM Roger Heflin  wrote:


I am pretty sure the hdhomerun usually needs a dhcp server to get an ip
address.  there may be some default ip address.  I don't see that my
hdhomeruns have a way to set an ip address.


Controlling an hdhr with a dhcp served IP address is basically 
impossible as it is hard to find that address and remember it for use in 
your program. Control of the unit with most digital tv programs requires 
a static IP address. Mythtv for instance will not work if the IP address 
is changed, external to the mythtv program.



... If you are expecting autoconfig to

be used then you need to figure out what ip address on the other end is.


And that would be the static address when you set it.


nmap -sn 169.254.20.0/24  will scan the subnet.


But you really do not want to have to do that every time you reboot, do you?


There is only one computer involved
HDHomerun is a box that converts OTA TV channels (i.e., a tuner) to a feed
that is accessed by the local system.

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Help configuring internal network

2022-03-19 Thread R. G. Newbury

On 2022-03-19 7:46 p.m., Geoffrey Leach wrote


F35, fresh install. I have an ethernet-connected device (HDHomerun, fwiw)
newly re-compiled on the newly-installed F35 xfce4 workstation. As far as I
can tell from trying every network analysis I can find, the connection is
good (exception, no response to ping) The interface was configured with the
NetworkManager app,  that assigned the device eno1.


eno1 is your internal network port. Not the hdhomerun unit. My hdhr 
units (I have 2 therefor 4 tuners) respond to ping. But it sounds like 
your computer does not know where the hdhr is (ie its IP address). It 
won't show up unless you know what that is.

I could really use some help.


You are working from the wrong end, so to speak. It is highly likely 
that your hdhomerun is working perfectly but nor receiving the ping.


First: edit your /etc/hosts file to give the hdhomerun unit a fixed IP 
address. Your computer should have a static address too. The line in my 
hosts file looks like this:


192.168.1.80hdhomerun1  # 00:18:DD:04:67:E1  "10467E14"

(All tuners of a 2 or 4 tuner hdhr are at the same IP address).

Plug a network Cat5 cable from the hdhr to your router, and another from 
your computer to your router. It should work if you have a direct 
connection but then how are you going to talk to the world?


You can also fix static IP addresses for the computer and the hdhr in 
your router. You *should* have a static IP address, so that it does not 
change on reboot. Mythtv and most other digital tv programs *require* 
this. Once your computer and router know where the hdhr is, reboot.


During your install of the hdhomerun you should have received/installed 
a program hdhomerun_config and/or hdhomerun_config_gui. If the hdhr 
'address' is not posted on the back of the unit, use

   hdhomerun_config discover
 to discover that address/id. You will see something like this:

hdhomerun device 10467E14 found at 192.168.1.80

You need the id to test the unit. Using hdhomerun_config you can scan 
and set options, including the channelmap (us-bcast), and actually watch 
programs.
This is incredibly clunky however, so I presume that you will have 
something like mythtv or vlc installed to control the unit, and to watch 
on. Those programs can control the hdhr unit, and will receive and store 
the digital stream for later viewing.


There is lots of stuff on the silicon dust website (the manufacturer) 
and lots on the mythtv wiki (mythtv.org/wiki) including specific pages 
for the various types of hdhr boxes. Basic setup of a hdhr on mythtv is 
described here:


https://www.mythtv.org/wiki/Silicondust_HDHomeRun_setup

HTH

Geoffrey  (also!)
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: reinstalling fedora 35

2022-03-18 Thread R. G. Newbury

On 2022-03-18 7:42 a.m., Angelo Moreschini wrote:

I would like to ask for help about to choose the pertizioni to leave and
those to format .. starting from the current situation that I transcribe
below:


As outlined a new install will re-format *everything* as a Fedora 
install over an existing setup will re-format the '/' and everything 
contained in it. You have only the '/' partition as /dev/sdb3.


Fedora on needs to re-format the '/' and '/var' folders if you have 
partitioned any other folders onto their own partitions. The other 
partitions can be preserved across the install.


So, provided you have created a separate *partition* for /home or (for 
example) /usr/local/sbin, you can do a 'bare-metal' type install of the 
OS *without* disturbing those partitions. All of your data can carry 
over to the new install without problem. Note that those partitions do 
not need to be btrfs OR lvm. I am not sure why you are using lvm in this 
case, as there is only one drive being used for Fedora.


I am not sure if the live-install version of Fedora includes gparted. If 
not you can use sfdisk which I am sure is available on the live-install. 
But since your objective is to re-format things, the easiest route would 
just be to do an install which re-formats /dev/sdb3, then using that 
install with gparted, create partitions for the new separate folders you 
want, and re-install with that in place.



I would suggest that after /dev/sdb1 and /dev/sdb2, which are 
efi-required that  you set up partitions for '/', '/home', '/usr/local', 
and 'var', plus any other separate partitions which you might want to 
segregate (or back up separately, such as any business related 
data/code/documents etc.) (Anything after '/' will be in an extended 
partition)


Along with /home I use a separate /misc partition, which has all the 
business-related stuff, the mysql databases, and web-site backup/local 
runtime, so none of this needs to be re-installed or even touched on a 
re-install. But it is easier to back up.


I also have a 5G '/usr/local' which has my 'personal' executables, such 
as games (FlightGear), and the mythtv setup. This partition also gets 
the java /ice-tea libraries, and calibre.


/var is  given its own partition as it gets over-written on a re-install 
(even then, with mysql/mariadb on a different partition (misc) you need 
only create a link for '/var/lib/mysql pointing to /misc/mysql to be up 
and running.


So basically it is a matter of planning for what you know must happen, 
and protecting what you what to be untouched in a separate partition.

HTH

Geoff
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Time to update the hardware

2022-03-08 Thread R. G. Newbury

From: Patrick O'Callaghan 
On Mon, 2022-03-07 at 23:35 -0500, R. G. Newbury wrote:

Has a 240G SSD for Fedora, and 2 500G nvme ssd's for storage (both in
adapters as the MB has no M.2 slots).


Somewhat OT, but do you notice a difference between the SSD and the
NVMe+adapter combos? I don't have M.2 slots either and wondered if it
made sense for me (I have a good SATA3 SSD already).
poc
I wondered the same thing. And also whether it made a difference which 
PCIE x16 slot contained which hardware (including the nvidia GT9700 
video card.
I ran a test transferring 3GB from RAM tmpfs to each drive *using 
rsync*. That was too small a test to show any substantive difference. 
Spurred by your request I ran it again writing 23GB to each storage 
unit. I used rsync on a folder containing many various size files as a 
real world test.

Transfer 23G using rsync -a
SSD   Crucial (2012)
Disk model: M4-CT256M4SSD2
Tue 08 Mar 2022 09:14:41 PM EST
Tue 08 Mar 2022 09:19:38 PM EST
Diff 4:57
NVME0  WD Black SN750  (2019)
Disk model: WDS500G3X0C-00SJG0
Tue 08 Mar 2022 09:19:38 PM EST
Tue 08 Mar 2022 09:22:45 PM EST
Diff 3:07
HD  WD Red (2012)
Disk model: WDC WD10EFRX-68F
Tue 08 Mar 2022 09:22:45 PM EST
Tue 08 Mar 2022 09:28:56 PM EST
Diff 6:11
NVME1
Tue 08 Mar 2022 09:28:56 PM EST
Tue 08 Mar 2022 09:31:59 PM EST
Disk model: Samsung SSD 970 EVO Plus 500GB
Diff 3:03

So yes the NVME drives were substantially faster than the (now-old) SSD 
transferring in 60% of the time of the SSD.
I expected a greater difference between the 2 NVME drives given that the 
Samsung 970 touts a substantially higher write capability.

NVME0 is mounted in a Startech adapter: cost$13.00 Cdn about a year ago.
NVME1 is mounted in a axGear adapter, purchased through Best Buy for a 
staggering $10.99 Cdn on sale, with free shipping! So the M.2 plus 
adapter cost me $102 including tax. Very happy. Recommended.


Only caveat is that you need a free long PCIE x16 slot (although each 
adapter/M.2 only uses x4 for the 4 channels that each M.2 uses. So slot 
sharing is not actually a problem as between multiple adapters. I am 
going to swap the video card around to see if that might make a 
difference although I doubt it will.


Available here until March 10 at $10.99:
https://www.bestbuy.ca/en-ca/product/axgear-m-2-nvme-ssd-ngff-to-pci-e-adapter-m-key-interface-card-m2-to-pci-express/13276627

If you want more storage the Asus Ultra Quad at around $90 will handle 4 
M.2 up to 2280 drives and will handle a RAID storage setup.


HTH
Geoff




___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Time to update the hardware

2022-03-07 Thread R. G. Newbury

On Mon, Mar 07, 2022 at 10:21:05AM +, Patrick O'Callaghan wrote:

On Mon, 2022-03-07 at 01:47 -0500, Javier Perez wrote:

Hi.
I am using Fedora 35 and everything  is working fine in general.

But I was checking out my hardware and I realized that It is from
2013. My
CPU is 4th generation intel and I am using the nvidia-470 drivers for
my
video card. Motherboard uses the H87 chipset.



I just wonder if this combination will become obsolete anytime soon
and should I worry about it...


Well in one sense it is already obsolescent tech. It attained that 
status a couple of months or maybe *days*  after it left the production 
line. But in another sense, it is NOT obsolete. It still works and does 
*exactly* what is was designed to do and within its specifications.

Of course you can do 'better' than that today. Faster etc.

My desktop has an Asus P8 series motherboard. The manual is copyright 
dated June 2011. I installed an Nvidia Geforce 9500GT in the predecessor 
motherboard and moved it over to this one when I upgraded about 4 years
ago. (It uses the nvidia-3xx series drivers! and drives a 30" Dell 
monitor I bought in early 2007).


Has a 240G SSD for Fedora, and 2 500G nvme ssd's for storage (both in 
adapters as the MB has no M.2 slots). The second 500G nvme is recent, 
*because I got tired of listening to the hard drive hum!* The 
Thermaltake closed-system water cooler is basically silent and the core 
temps are generally about 35C. If I power test the system, I get 60C.


So this is not useless tech. To get anything faster I would need to step 
up to a faster CPU and MB and RAM... for not a lot of change.


What you have seems to meet your requirements so why are you worried?

My setup works like a charm and usually has an uptime measured in weeks.

Geoff


___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Picking a new laptop

2022-02-01 Thread R. G. Newbury

On 2022-02-01 10:22 a.m., users-requ...@lists.fedoraproject.org wrote:
 Subject: Re: Picking a new laptop
I recommend Lenovo. I have been using Thinkpads for about 20 years. 
Presently using an X61 and a T60, both of which are over 10 years old 
and quite usable. The X61 just needs a new battery and runs F32 just 
fine on an extension cord. Looking for a battery.


I have just installed F35 on the T60. Only problem area is audio, but I 
have NO idea about pipewire. Yet. (A problem left for the student, so to 
speak.) BTW, the T60 has all of the features of new machines, including 
roughly comparable speed, but is only a T2600 dual core. First world 
problems..
BTW, this T60 w 1450x1050 resolution screen, and 4G ram cost me the 
princely sum of $50 Canadian. I may pay more than that to upgrade the ram!


Both with larger SSDs.
If you are looking for something newer,the T4x0S line of models are the 
lighter models, running around 3 lbs or 1.4kg while still providing 
great screens. These models are available used for very decent prices.


Personally I cannot stand touchpads. I am too used to the trackpoint.

G.







___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Identifying what is accessing a USB device.

2021-03-26 Thread R. G. Newbury



Subject: Identifying what is accessing a USB device.



I have an external USB-3 2-disk docking station, and a script which can
power up and down the drives as needed.

I have a systemd automount unit that correctly powers up the dock when
accessed, then mounts the drives (thanks Ed).

After an idle time, automount unmounts the drives. A script detects
when this happens and powers them down ... *at which point they
immediately power up again, and remain up until I intervene manually,
even though they are unmounted*.

This never happens if I run the script directly from the command line
(i.e. the drives power down and stay down).


> I'm open to suggestions if anyone has any ideas.

The systemd service unit has a Restart=on-failure, or a Restart=always 
line???


Geoff
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Printing Hell

2020-12-19 Thread R. G. Newbury

Date: Sat, 19 Dec 2020 10:20:11 -0600
From: Richard Shaw
I've had my HP ENVY Photo 7800 series printer working fine for some time
and then I got stupid.

While looking for a BIOS update for my HP ENVY laptop I noticed there was a
new firmware for my printer and went ahead and installed it. Since then
I've been completely unable to print but I'm not sure 100% of it is the
printer's fault.

<>snip>

And then:
"Unable to locate printer "HP9C7BEF8B3751.local"."
Ideas?


I wonder if the "update" installed a new duplicate conf file, which is 
not referenced *while printing*, but is referenced through cups when you 
add the printer.


A global search from various places (/usr, /etc/, /opt, /home/$user, 
/root) for key word segments in a file name might disclose the duplicates:


find  -H -L . -type f  -iname "*search-term*"

( the *xxx* catches substring matches in a filename).

Geoff
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: How do I change the grub kernel boot parameters in F32 ?

2020-06-11 Thread R. G. Newbury

On 2020-06-09 8:11 p.m.Stephen Morris wrote

if in /etc/default/grub you have the entry GRUB_ENABLE_BLSCFG=true
that inserts a line into the grub processes to use the new BLS standard,=20
in which case grub2-mkconfig and possibly grubby do nothing until that=20
entry is set to false. I have always use grub2-mkconfig because I have=20
never liked what grubby generated, and what BLS generates appears to be=20
the same as what grubby does, and I found that I had to set that entry=20
to false for grub2-mkconfig to continue to work.


THANKS FOR THAT, Steve!

I could not get grub2-mkconfig to actually change the grub.cfg file. Now 
I know why ( but not why such a dangerously misdescriptive switch would 
be hidden away in a default file).
In the past I would just edit the damn file, but the new motherboard 
uses EFI, and such hands-on fixing might lead to an undesired result!


Geoff
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Hourly Error Message of Unknown Provenance

2020-06-08 Thread R. G. Newbury

On Mon, 08 Jun 2020 16:02:02 -0400 "Garry T. Williams"

 wrote
On Monday, June 8, 2020 
12:41:03 PM EDT R. G. Newbury wrote:

On 2020-06-07 4:46 p.m., From: Samuel Sieb  wrote:

On 6/7/20 10:31 AM, R. G.  Newbury wrote:

It was apparently something to do with selinux. I usually disable
selinux as the first or second thing I do to a new install. I
forgot to do that.

That should never be necessary.

Well obviously, it WAS necessary in order to get rid of an
objectionable and annoying message, which was otherwise impossible
to get rid of.

I imagine that he meant that restoring some file context that was
modified incorrectly by the root user would be a better way to solve
the problem, thus disabling was not necessary.


Unfortunately Samuel did not add anything about restoring the file 
context and I took his response to contain a modicum of 'Karen'. My bad(?)

Obviously I cannot know what the problem really is, but it has been
many years since I even came close to disabling selinux.  It is hard
to belive that a brand new system was created with an invalid file
context.  Those kinds of bugs don't get past updates-testing these
days.  So whatever was going on as the root user is almost certainly
to blame.Well on reflecting, I cannot see anything which I could have done. As 
noted, it was a bare metal install (actually the second to the new 
SSD,as after the first go-around, I realized I needed more room on one 
of the partitions, so I re-booted with a rescue disk, used gparted to 
change the partition structure and installed. After the installation 
re-boot, I upgraded some 527 packages, and re-re-booted into a new kernel.
I then started transferring (by rsync) the data for the /home, /misc and 
/usr/local partitions. Somewhere in there, the error started popping up.


I have, since then, tracked down a certain slowness in the login, to the 
lack of an xorg.conf file. It is possible that xinit was trying to 
report that it was having trouble connecting, as I found that message in 
the Xorg.0.log. But, why would xinit be unauthorized? The mystery 
continues. I don't think I did anything wrong or bad. Most of my 
interactions involved long wait periods while processes processed


Geoff
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Hourly Error Message of Unknown Provenance

2020-06-08 Thread R. G. Newbury
On 2020-06-08 2:42 p.m.>Samuel Sieb  wrote> On 6/8/20 
9:41 AM, R. G. Newbury wrote:>> On 2020-06-07 4:46 p.m., From: Samuel 
Sieb  wrote:>>> On 6/7/20 10:31 AM, R. G. Newbury 
wrote:>>>> Oddly 1) I was running as root... so*who/what*  was the 
'unauthorized>>>> sender'? and>>> That sounds like a likely cause right 
there.  Why are you doing that?>> Wow! So running as root causes error 
messages? Pull the other leg, it>> has bells on it!> Yes, running a 
graphical interface as root is likely to cause error> messages.
I find that concept very intriguing. I would be interested in learning 
exactly how
or when running as root in a graphical session can *cause* an error. 
Root is uid 0 (zero).
There are no gradations or ranks within root. It seems completely 
irrational to me, that linux would be designed and implemented in a 
manner such that the ultimate power that is, does things 'wrong' by default.


This is entirely apart from the question of running things as root, 
which in general terms, I consider 'a good thing' as distinct to 'a bad 
thing'. YMMV. The only time which I can remember where I inadvertently
deleted something in bulk, that I had not intended, I was running as a 
regular user, and deleted things *on the laptop*, forgetting that I was 
ssh'd into the laptop in that console. Would not have mattered if I was 
root. It wasn't boken but I frixed it anyway.


Geoff



___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


e: Hourly Error ,> Message of Unknown Provenance

2020-06-08 Thread R. G. Newbury

On 2020-06-08 2:42 p.m.,Jonathan Billings  wrote
On Mon, Jun 08, 2020 at 
12:41:03PM -0400, R. G. Newbury wrote:

Wow! So running as root causes error messages? Pull the other leg, it has
bells on it!

And why? Because this was immediately after a clean install to a brand new
drive, while I was still running upgrades and transferring files from
backup. Much easier to do that as root, so that is what I do. If you want to
type sudo a hundred times, go right ahead.

Running as root is not a disaster. Get over it.

Were you logging into the graphical session as root, or logging in as
a normal user and starting a root shell with sudo?  Or were you using
root at the console login instead of the graphical login?


At the time I was logging into the graphical session as root. 'Who' the 
unauthorized sender is/was is the conundrum. Seems to be related to 
selinux, since disabling that killed the error message. But why it 
happened in the first place, I have no idea. And at this point, as 
someone said, what difference does it make?

Geoff
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Hourly Error Message of Unknown Provenance

2020-06-08 Thread R. G. Newbury

On 2020-06-07 4:46 p.m., From: Samuel Sieb  wrote:
On 6/7/20 10:31 AM, R. G. 
Newbury wrote:

It was apparently something to do with selinux. I usually disable
selinux as the first or second thing I do to a new install. I forgot to
do that.

That should never be necessary.


Well obviously, it WAS necessary in order to get rid of an objectionable 
and annoying message, which was otherwise impossible to get rid of.



Oddly 1) I was running as root... so*who/what*  was the 'unauthorized
sender'? and

That sounds like a likely cause right there.  Why are you doing that?


Wow! So running as root causes error messages? Pull the other leg, it 
has bells on it!


And why? Because this was immediately after a clean install to a brand 
new drive, while I was still running upgrades and transferring files 
from backup. Much easier to do that as root, so that is what I do. If 
you want to type sudo a hundred times, go right ahead.


Running as root is not a disaster. Get over it.

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Hourly Error Message of Unknown Provenance

2020-06-07 Thread R. G. Newbury

On Sat, 6 Jun 2020 10:30:04 -0600 Jerry James  wrote

On Fri, Jun 5, 2020 at 9:54 PM R. G. Newbury  wrote:
> Brand new Fedora 32 KDE spin installation. Seems to work nicely, except:
>
> I have an error notification popping up, every hour, in the bottom right
> corner of the screen:
>
> Plasma Desktop Workspace (and the minutes since the message was posted,
> or the time, hourly of a previous message)
> Update Error
> Sender is not authorized to send message.

That sounds like a dbus error.  Have you seen any indication of an
SELinux denial?  If not, run "journalctl -x" in a terminal and search
for "Sender is not authorized to send message".  Does it appear?  If
so, what are the lines immediately above and below that?
*

It was apparently something to do with selinux. I usually disable 
selinux as the first or second thing I do to a new install. I forgot to 
do that.
A quick edit to /etc/selinux/config and a reboot solved removed the 
annoyance. (I cannot say 'solved the problem as I have no idea what the 
actual problem was: this was the 'sledge-hammer for walnuts' resolution.)


Now how you deciphered that that was where the error came from is just 
further evidence that far too much of system management is arcane magic: 
 Clarke's Law: Any sufficiently advanced technology is 
indistinguishable from magic.


Oddly 1) I was running as root... so *who/what* was the 'unauthorized 
sender'? and

2) Journalctl showed NOTHING about errors.

Thanks for the help Jerry







 R. Geoffrey Newbury
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Hourly Error Message of Unknown Provenance

2020-06-05 Thread R. G. Newbury

Hi all,

Brand new Fedora 32 KDE spin installation. Seems to work nicely, except:

I have an error notification popping up, every hour, in the bottom right 
corner of the screen:


Plasma Desktop Workspace (and the minutes since the message was posted, 
or the time, hourly of a previous message)

Update Error
Sender is not authorized to send message.

Searching produces NO answers using any combination of those words.

Can anyone assist? It's very annoying.
R. Geoffrey Newbury 
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: OT: recommendations for a low-volume, ,> cheap-to-use/maintain home printer for use with Fedora 31

2020-01-11 Thread R. G. Newbury

On Sat, Jan 11, 2020 at 7:15

PM Samuel Sieb  wrote:

On 1/11/20 9:14 AM, Patrick O'Callaghan wrote:

On Sat, 2020-01-11 at 23:18 +1030, Tim via users wrote:

On Fri, 2020-01-10 at 09:25 -0600, Ranjan Maitra wrote:

the printing is largely of documents, but the printer sits for a
while doing nothing. I guess laser is the way to go then? What are
goog suggestions then?


Look around for a used HP laser printer. I am using an HP1320 which I 
bought in May, 2005 for about $550 including an extra cartridge and tax. 
HP cartridges are expensive! I have no idea how many cartridges I have 
gone through, probably over a dozen, and it is as good as the day I 
bought it. Drivers are included with cups or hplip. The bare HP1320 
needs a ~$30 network print server if you want to network it, otherwise a 
parallel port!


If you want print/fax/scan, then one of the all in ones or 'MFP'. I have 
an HP3055 which I purchased in 2006 (to replace the fax machine which 
had died). I mainly use it for scanning now. It has builtin network 
capability. Again, the drivers are included in your basic install of 
cups or hplip.


A good one will probably cost you $50-$75. Off-brand cartridges cost 
about that. ATM there is an HP P2015d for sale used on kijiji.ca in the 
Toronto area for $80Cdn. Physically it looks exactly like the HP1320 and 
has duplex capability.  So... $60US???


I happen to like HP printers, but Brother printers do the same thing and 
are just about as dependable and long-lived. I've had Brother printers 
too. The best scanner I have ever used is a Brother ADS-1000. Once did 
over 650 pages in one continuous pass!


Geoff
--

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Scanning Problem HP4620

2019-03-05 Thread R. G. Newbury

>Ed Greshko  wrote:

>Well, it is possible that the printers are defined such that cups can 
>access them but not

>in such a way that hplip recognizes them.

The scanner portion of the All-In-One machines is not handled by cups.
If the OP runs hp-setup, selects 'Network' then 'Advanced' and 'Manual 
Discovery' and enters the IP address of the printer, it will be 
discovered, and the URI will be shown, something like:


Model Host Name  Device URI

HP Laserjet 3055  192.168.1.12  hp:/net/HP_Laserjet_3055?ip=192.168.1.12

Write down the URI. You can continue to set up the printer and fax as 
you wish. Your system now knows where the scanner 'is' and hp-scan 
should work without specifying the --device= parameter.


HP-scan appears to only do one page at a time. You cannot use the adf 
feature and get tiff/png outputs.


The hp scanning structure (and Hp-scan) is SANE based so scanimage is 
instakked and works. It is easy to use in a script so you don't have to 
remember the settings! Batch settings allow you to set the page start, 
page count and count direction: +2 for the front of double sided pages 
and -2 for the stack flipped over. These are not available with hp-scan.

Note that the command api is NOT the same with hp-scan, nor as featured.
My record is something above 300 pages in one pass with scanimage. 
gscan2pdf is used to create the pdf file later, maybe after a pass using 
unpaper to straighten the images, adjust contrast or whatever.


##
##!/bin/bash
# script 'scanner'
export hp="hp:/net/HP_LaserJet_3055?ip=192.168.1.12"
# takes 5 parameters
cd $1
echo -e "  Please wait while scanning commences...\n"
# letter is -y 280, legal is -y 355
scanimage  --device-name=$hp --source auto --resolution 150 --format 
tiff --mode Color --contrast 125 -x 220 -y 290 --batch=$2%d.tiff 
--batch-start=$3 --batch-count=$4 --batch-increment=$5

###
Geoff
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: scanning from a network attached printer

2018-10-09 Thread R. G. Newbury

On 10/9/18 11:32 AM, Patrick O'Callaghan wrote:

On Tue, 2018-10-09 at 11:09 -0400, Robert Moskowitz wrote:

So what is the equivalent way to do this from Fedora 28?

Have you installed hplip?


It was installed, and I can print to the printer.  I did some googling
and found that I needed hplib-gui and xsane.

Maybe only xsane is needed.

I got some things working, but the adf function is only saving the 1st
page of the stack.  I can do multipage by scanning one page at a time
into the multipage project which will then save all the pages into one
pdf.  This is too painful;; what is the adf for?

So now have to get xsane to actually pay attention to the adf sending
multiple pages.  One thing might be that it is saying the paper length
is 8.5x14 when I am scanning 8.5x11?  But I can't find where to config this.


I have an all-in-one HP3055. I use hplip to set up the printer side, 
scanimage to scan, and gscan2pdf to create pdfs from the tiff images.


scanimage is part of the sane-backends package.

hplip seesthe scanner at hpaio:/net/HP_LaserJet_3055?ip=192.168.99.112
I export that:  export hpaio="hpaio:/net/HP_LaserJet_3055?ip=192.168.99.112"

I use scanimage from the command line with a script. The main command 
line is:

Script 'scanner' sets the export variable and calls:
cd $1
scanimage  --device-name=$hpaio --source auto --resolution 150 --format 
tiff --mode Color --contrast 125 -x 220 -y 290 --batch=$2%d.tiff 
--batch-start=$3 --batch-count=$4 --batch-increment=$5


$1 is the folder to dump the images in to;
$2 is the starting part of the file name:  some-page-
$3 is the starting count number x: -> some-page-x
$4 is the number of pages to scan y: -> some-page-(x+y)
$5 is the batch increment: -2 lets you number the pages downwards: 
especially useful when you have a stack of double-sided pages to scan.


The 'source auto' switch uses the adf: depends upon the 'page loaded' 
sensor to realize that the page feeder is in use.


Paper length is set in mm by the x 220 y 290 parameters: legal length: y 355

The scanadf program is supposed to do this too, but I had no luck 
getting it working on a networked printer back about Fedora 16 and have 
not tried since. I found it much easier to set up a script to handle 
scanning, and just call it with the 5 parameters set out above.


Once I have the scanned images, I use gscan2pdf to create the pdf files. 
gscan2pdf has scanning capabilities but also has problems with a 
networked scanner: it finds the scanner but cannot open it to scan.


The same scanner script using scanimage works nicely with USB scanners 
such as a Brother 1000ADS, using 'export ads='brother4:bus1;dev2'

and --device-name=$ads in the scanner script.

I have literally scanned thousands of pages with this setup.


Geoff   

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: How to change the default Internet browser on F28?

2018-06-03 Thread R. G. Newbury
On 2018-06-01 09:28 PM, Ed Greshko  wrote: 
So, the following works for me xdg-settings set 
default-web-browser google-chrome.desktop

xdg-settings set default-url-scheme-handler http google-chrome.deskto=

p

xdg-settings set default-url-scheme-handler https google-chrome.deskt=

op

I have the same problem on F27. And it is quite annoying.

F27, KDE, Chrome, Thunderbird.
Using xdg-settings does not work*for me*, nor do the various settings =

in the

Thunderbird config, such as network.protocol-handler-app.http




Are you saying that, after making the xdg-settings changes, if you do

xdg-open http://fedoraproject.org

it still opens firefox and not chrome?


Ooops we are talking about two different things.
xdg-open http://fedoraproject.org opens the chrome browser and loads the 
fedora page, *but only does so from the command line*.


What I am searching for, is a solution, which allows we to right-click 
on a url, and select 'Open Link in Browser' and have the same result.


At present, NOTHING happens when I do the right-click thing. It does not 
matter if chrome is open or not: nothing happens.


It is neat that xdg-open does what it does, but, as noted, command line 
only, which kinda defeats the urge to "just click that random link - you 
know you want to".


R. Geoffrey Newbury 
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org/message/QDLJDJG2DFKRMSLUGO7GMTEIZMXFBAGF/


Re: How to change the default Internet browser on F28?

2018-06-01 Thread R. G. Newbury

On 2018-06-01 06:52 PM, users-requ...@lists.fedoraproject.org wrote:

Subject: Re: How to change the default Internet browser on F28?
On Thu, May 31, 2018 at 11:03 PM, Ed Greshko  wrote:

How can I change the default Internet browser on F28?


Your question may, or may not, have a simple answer.  It all depends on what 
you mean
by "default browser" and the desktop you're using as well as the applications 
calling
the browser.

Anyway, I use KDE as my DE and Chrome as my browser.  I also use T-Bird for my 
mail
client where most of the links are that I want to open.

So, the following works for me

xdg-settings set default-web-browser google-chrome.desktop
xdg-settings set default-url-scheme-handler http google-chrome.desktop
xdg-settings set default-url-scheme-handler https google-chrome.desktop


I have the same problem on F27. And it is quite annoying.

F27, KDE, Chrome, Thunderbird.
Using xdg-settings does not work *for me*, nor do the various settings 
in the Thunderbird config, such as network.protocol-handler-app.http


Any other possibilities? Anyone? Bueller?


--
 R. Geoffrey Newbury
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org/message/UD36SWWL5OVFLFE5ZFYBCAZVPVG3F4QP/


Re: tail for a list of files

2018-03-04 Thread R. G. Newbury

From: bruce 
Subject: Re: tail for a list of files
On Sun, Mar 4, 2018 at 2:31 PM, Joe Zeff  wrote:

On 03/04/2018 11:15 AM, R. G. Newbury wrote:

find .  -name "*.pdf" | tail -n 2
does not 'find' the files in canonical order: it outputs 124.pdf and
126.pdf



What does it print if you don't run it through tail?



um.. hey guys

I wanted to get the last X lines of each file from an input/wildcard
list of files !!

so.. I wanted the last 5 lines of the 126.pdf as well as the last 5
lines of the 125.pdf...
--NOT the last X files from a list of files..

thanks


Ahh, well you should *said* so. We all went running off in all 
directions *at once*!
This time I created 4 files 123.txt, 124.txt etc. each with 10 lines 
numbered 1 to 10


To get the last 5 lines of every ".txt" file
Use:
$ for file in $(find .  -name "*.txt"); do cat $file | tail -n 5; done


To display the filename, and last 5 lines of each of the last 2 files
Use:
$ for file in $(find .  -name "*.txt" | sort | tail -n 2); do echo 
$file; cat $file | tail -n 5; done


Output is:
./125.txt
7
8
9
10

./126.txt
7
8
9
10

YOu may have to be careful about the use of the 'sort' pipe: you may 
need to add a switch to enforce a particular sort order. Sort can leave 
you out of sorts that way.


Geoff









___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: tail for a list of files

2018-03-04 Thread R. G. Newbury

From: Joe Zeff

On 03/04/2018 11:15 AM, R. G. Newbury wrote:

find .  -name "*.pdf" | tail -n 2

does not 'find' the files in canonical order: it outputs 124.pdf and
126.pdf

What does it print if you don't run it through tail?


That exercise was left for those adventurous students with an inquiring 
mind to attempt and to ascertain the answer for themselves


But for those without a computer to run the code or the intellectual 
musculature to open a console and type a line or two, (or for that 
matter, read this, since you obviously cannot own a computer..), the 
answer is:


$find .  -name "*.pdf" | sort
./123.pdf
./124.pdf
./125.pdf
./126.pdf

Geoff
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: tail for a list of files

2018-03-04 Thread R. G. Newbury



From: Jonathan Ryshpan 
Subject: Re: tail for a list of files
To: users@lists.fedoraproject.org
Message-ID: <1520171408.2173.42.ca...@pacbell.net>
Content-Type: multipart/alternative; boundary="=-PuQtDYwItgjfcLx2Crff"


--=-PuQtDYwItgjfcLx2Crff
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit

On Sat, 2018-03-03 at 11:15 -0500, bruce wrote:

Trying to figure out how to do a single line cmd (it should be
possible right??) to do a tail -5 for a list of files???

I thought I could combine find with exec/xargs and tail to generate
the list of files/tail data.. But couldn't figure out the syntax..

find /foo -name "*dog.dat ... tail -5<< obviously not correct.
but
what would work?


I think the easy way is
$ find /foo -name "*dog.dat" | xargs tail -n5
or am I missing something?

I created 4 pdf files using 'touch 123.pdf' through '126.pdf'

find .  -name "*.pdf" | tail -n 2

does not 'find' the files in canonical order: it outputs 124.pdf and 126.pdf

Neither does  | xargs tail -n 2

Trying:
 tail -n 2 $(find .  -name "*.pdf")
gives:
==> ./125.pdf <==

==> ./123.pdf <==

==> ./124.pdf <==

==> ./126.pdf <==

NOT in order and ignores the 'tail -n 2'

 tail -n 2 $(find .  -name "*.pdf"| sort) gives the files in order, but 
ignores the tail count.


HOWEVER this works:
find .  -name "*.pdf" | sort | tail -n 2
./125.pdf
./126.pdf

Geoff
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Riddle me this: grep / regx experts

2018-02-03 Thread R. G. Newbury

 Subject: Re: Riddle me this: grep / regx experts

Allegedly, on or about 2 February 2018, R. G. Newbury sent:

I am cleaning up some html code, using sed to standardize the
formatting. I was searching for specific instances of code to amend
using grep.


In case you're not aware of it, there's a HTML tidy command that
neatens up HTML.


I am using sed basically for search and replace.
I already use tidy, but it does not deal with my problem which is that 
the text has multiple variations in the *text* formatting in the many 
different files. This screws up the parsing and requires normalization.


Tidy does not touch that. Unfortunately.

Geoff

 R. Geoffrey Newbury
 954 Owenwood Drive
 Mississauga, Ontario, L5H 3J2

  t905-271-9600 newb...@mandamus.org
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Riddle me this: grep / regx experts

2018-02-02 Thread R. G. Newbury

On Fri, Feb 02, 2018 at 11:04:01AM -0500, R. G. Newbury wrote:
A bug in regx handling???

I am cleaning up some html code

.

# grep -h '[0-9]*s[0-9]*">' temp

>> Returns the example line with the 's[0-9]">' highlighted.


Can anyone explain what is happening?. This isn't politics so the group
[0-9] should not equal [0-9"#]. Or even [0-9\"\#].



.
Fri, 2 Feb 2018 10:14:37 -0600 From: Chris Adams  



A * in a regex is "0 or more of the previous", so basically you are just
matching 's[0-9]*">' (because there will always be at least 0 of the
[0-9] part at the start).

If you really mean "1 or more", you can use an extended regex (the -E
argument to grep/sed) and use + instead of *, so '[0-9]+s[0-9]*">'.

Fri, 02 Feb 2018 16:15:37 + From: Patrick O'Callaghan 
In grep, * matches any number of instances, including 0. You want to

use + rather than * to guarantee at least one digit.



Date: Fri, 2 Feb 2018 11:26:02 -0500 > From: Jon LaBadie



You are misunderstanding the "*".  It means any sequence of the
associated character including a ZERO length sequence.

So [0-9]*s matches "s (actually just the s) as is is a zero length
sequence of digits followed by an s.  When you grep for [0-9]s, there
must be at least one digit before the s (but any extra digits are not
part of the match).  Sometimes the sequence [0-9][0-9]*s is useful to
say "one or more digits before the s".

jl
Thanks to all for the quick responses. I *tried* to RTFM but that was 
not clear, even on a re-read.  I took [0-9]* as multiple instances of 
[0-9] but NOT zero instances..


Geoff
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Riddle me this: grep / regx experts

2018-02-02 Thread R. G. Newbury

A bug in regx handling???

I am cleaning up some html code, using sed to standardize the 
formatting. I was searching for specific instances of code to amend 
using grep.

I was looking for instances like  
Example text in a file: ( here named, quite originally, temp )
8.

And # grep -h '[0-9]s[0-9]*">' temp
Returns nothing  (which is the expected result: there are no 
[0-9]s[0-9}"> instances.


BUT!!!
# grep -h '[0-9]*s[0-9]*">' temp
Returns the example line with the 's[0-9]">' highlighted.

Note that the character before the 's' is either " or #

Can anyone explain what is happening?. This isn't politics so the group 
[0-9] should not equal [0-9"#]. Or even [0-9\"\#].


--
 R. Geoffrey Newbury
 954 Owenwood Drive
 Mississauga, Ontario, L5H 3J2

  t905-271-9600 newb...@mandamus.org
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: DNF install of tesseract fails w call to old lib,> dependency

2017-01-24 Thread R. G. Newbury

On 01/23/2017 09:47 PM, Greshko 

On 01/24/17 06:43, R. G. Newbury wrote:
I used tesseract in an ocr script on F24 last year. Worked well
Did a new install of F25, including a dnf install of tesseract, ( and leptonica 
and
leptonica-devel which are actually dependencies)

tesseract fails, calling for liblept.so.3
I did a dnf upgrade of all three, just to be sure, but

I have a new install of F25 in a VM (KDE).  I did not have to install tesseract 
as it was
already installed.


PEBKAC!
I think I had my rpmfusion.repo turned off, so no match found. I then 
tried installing from sourceforge, which installed to /usr/local/bin. 
And which was apparently an older version???
Of course, /usr/local/bin is ahead of /usr/bin, so the dnf re-install 
did nothing visible!

Delete and re-install fixed things..
Thanks!  It was the 'ldd /usr/bin/tesseract' which triggered a search.
Geoff
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


DNF install of tesseract fails w call to old lib dependency

2017-01-23 Thread R. G. Newbury

I used tesseract in an ocr script on F24 last year. Worked well
Did a new install of F25, including a dnf install of tesseract, ( and 
leptonica and leptonica-devel which are actually dependencies)


tesseract fails, calling for liblept.so.3
I did a dnf upgrade of all three, just to be sure, but

# tesseract
tesseract: error while loading shared libraries: liblept.so.3: cannot 
open shared object file: No such file or directory

# cd /usr/lib64
# ls -al liblept*

lrwxrwxrwx 1 root root  16 Jan  3 06:08 liblept.so -> liblept.so.5.0.1
lrwxrwxrwx 1 root root  16 Jan  3 06:08 liblept.so.5 -> liblept.so.5.0.1
-rwxr-xr-x 1 root root 2552880 Jan  3 06:08 liblept.so.5.0.1

# ln -s liblept.so.5.0.1 liblept.so.3

# ls -al liblept*
lrwxrwxrwx 1 root root  16 Jan  3 06:08 liblept.so -> liblept.so.5.0.1
lrwxrwxrwx 1 root root  16 Jan 23 17:25 liblept.so.3 -> liblept.so.5.0.1
lrwxrwxrwx 1 root root  16 Jan  3 06:08 liblept.so.5 -> liblept.so.5.0.1
-rwxr-xr-x 1 root root 2552880 Jan  3 06:08 liblept.so.5.0.1

# tesseract
Segmentation fault (core dumped)

Creating a linked version of liblept.so.3 cause a seg fault!

Interestingly, I get the same 'missing liblept.so.3' error on f23, but 
creating the linked version (against liblept.so.4.0.3 works.


 tesseract is:   3.04.01-2.fc25
 leptonica is:   1.74.1-1.fc25

 (On the F23 laptop those are 3.02.02 and 1.72 respectively.

Anyone have any ideas on what/why this fails, and how to fix it?

Geoff

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: unable to start rc-local.service[SOLVED]

2016-09-07 Thread R. G. Newbury

On 09/05/2016 05:07 AM, oe Zeff  wrote:


Subject: Re: unable to start rc-local.service[SOLVED]
To: Community support for Fedora users 
Message-ID: <57cc87ea.3090...@zeff.us>
Content-Type: text/plain; charset=utf-8; format=flowed

On 09/04/2016 01:34 PM, François Patte wrote:

> Just  unwanted spaces before and after  #!/bin/bash
>
> The script works when executed for itself, but it seems that systemd is
> quite supercilious about that spaces and very avaricious to give some
> hints about the error encountered!
>
> Thank you for helping.

Interesting.  I have some blank lines in mine, to improve readability,
but not there.  I'll have to keep that in mind for future reference.
It's rather like mount insisting that every line in /etc/fstab end in a
newline, even the last one, but not giving a clear error message if you
forget it.

And, it's occurred to me that there's a way to get what's needed here
done that's easier because it doesn't try to make the same change during
every boot.  Alas, I've gotten the impression that my advice isn't
wanted in this thread, so I'll leave it as an exercise for the reader.


Lennart Poettering has a hate for rc.local. He discusses that somewhere 
in his systemd blog. For whatever reason, he dislikes it and thinks that 
no-one should use it, or be able to use it. So you must sacrifice the 
correct animal, at the exactly correct time, for it to work.


And of course, just as with pulseaudio, systemd does not give meaningful 
or useful error messages.


Since most items in rc.local are run-one-time items, the answer is to 
NOT USE SYSTEMD.


Create your rc.local file, and chmod it u+x, and then add the following 
to your (root) crontab:  @reboot /etc/rc.d/rc.local


@reboot in a cron does exactly what it implies: it runs, once at boot 
time.  See 'man 5 crontab'


Problem solved without systemd.

--
Geoff
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: sed question

2016-07-21 Thread R. G. Newbury

Date: Thu, 21 Jul 2016 08:00:44 -0400
From: bruce 
Subject: sed question




Hey guys..

Sed question.. should be simple, but after stack/net searches, lots or
trials.. can't seem to get it..

I've got a case

any thoughts on how to handle the parens would be cool!

just irks me that I couldn't see what I missed.


You cannot 'escape' the parens since '\(' and '\)' are defined 'codes' 
like ^ & and $.


\( marks the start  of an internal variable to be recorded, and \) marks 
the end, substitution in the output side uses \1 (or \2,\3, or as many 
as needed)


So sed -i -e "s#('txt')#'(\/dir\/txt)'#g" foo

should work.

NOTE: 1) sed inplace replacement
2) using extended grep
3) for clarity, the usual use of '/' for the 's' replacement is changed 
to '#'

4) the global replacement marker, usually ', is changed to "

sed gets confused when dealing with mixed ' and " markers,  I suspect 
that this is your problem. So use the opposite marker outside the sed 
replacement, when you have one inside.




--
 R. Geoffrey Newbury
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: X server dies on startup with kernel-4.2.7-300.fc23.x86_64

2015-12-19 Thread R. G. Newbury

Ed Greshko wrote


On 12/18/15 20:14, Patrick O'Callaghan wrote:

>After rebooting I get the login screen but Plasma segfaults and Gnome
>gives an oops and sad face so I've had to fall back to LxQT until I can
>figure out what's going on.

FWIW, I can confirm that akmod-nvidia-358.16-1.fc23.x86_64 breaks my system 
with the
GeForce 8600M GS card (a rather old card in a laptop).

Falling back to akmod-nvidia-340xx.x86_64 got things working again.  You may 
want to
consider giving that a try after checking and confirming 340xx is supposed to 
support your
card.


The 8600 series cards are classified like the 9600 series and 9300 
series cards , as "Legacy" and *require* the 340-xxx series drivers.


I am using the 340.96 with a 9300 chipset on my main box, and with a 
9600 chipset on the mythbox. Both running well on F22. Using the wrong 
driver might the problem, not F23.


Geoff

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: The continuous crippling of Fedora LiveCDs by removing usefull stuff for no apparent reason

2015-12-19 Thread R. G. Newbury

On 12/18/2015 09:30 PM, users-requ...@lists.fedoraproject.org wrote:
 On Fri, Dec 18, 2015 at 05:58:55PM -0500,

Fernando Cassia wrote:

>Will check it out. Wasn't aware of such Scientific spin. Does the "labs"
>subdomain mean it is somewhat different from other Fedora respins?

We've split it so the "spins" are focused on presenting desktop
environments (KDE, Xfce, etc.), while "labs" are collections of
software for a given purpose.


>Since I run this on a netbook with low resources (Intel Atom, 32-bit CPU,
>only 2 GB RAM), I'd prefer if I could get openJDK retrofitted into the
>somewhat lightweight Mate-Compiz spin. (I tried Fedora XFCE but hate its
>browser, Midori).

With these needs, it seems like you're really_way_  into "making your
own custom Fedora Remix". See
https://fedoraproject.org/wiki/Remix


A faster and much more useful route is to install isomaster on your main 
computer and use it to edit the iso image.
I have used to to remove unused packages and to add packages. It is 
extremely easy to use. It's been around since 2007 or Fedora 7 so I 
would suspect that it's stable and it works!


R. Geoffrey Newbury 

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Update on the KDE KF5 build boondoggle,Message-ID:

2015-11-04 Thread R. G. Newbury

On 11/04/2015 01:40 PM, users-requ...@lists.fedoraproject.org wrote:

>
>"I don't have to be faster than the bear--I only have to be faster than
>YOU!"
>

And after undergoing 6 surgeries on my feet and looking at having one to
repair a damaged knee, I do believe most corpses could outrun me, I think
you're safe.  :)


In which case your motto should be something like:
"I don't have to be faster than the bear -- my cane converts to a five 
foot long spear!"


Or "I don't I carry a 44 magnum".

Geoff

--
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Thunderbird Opening Links

2015-09-30 Thread R. G. Newbury

On 09/30/2015 01:44 PM, users-requ...@lists.fedoraproject.org wrote:

From: Ed Greshko  To:
Can anyone assist? My google-fu produces nothing.
What desktop are you using?  And what does


F21 on this desktop, with kde
uname -a
Linux tor1.mandamus.org 3.19.5-200.fc21.x86_64 #1 SMP Mon Apr 20 
19:51:56 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux


xdg-settings get default-web-browser
google-chrome.desktop


From: Joachim Backes 


>Can anyone assist? My google-fu produces nothing.



xdg-mime default firefox.desktop x-scheme-handler/http
xdg-mime default firefox.desktop x-scheme-handler/https


#xdg-mime default firefox.desktop x-scheme-handler/http
#
#xdg-mime default firefox.desktop x-scheme-handler/https
#

So google.desktop and nothing. Note that I do not have a desktop icon 
for firefox. One was created for chrome iirc (but no longer exists).


I have just created a desktop icon/shortcut for firefox, and done:
 xdg-settings set default-web-browser firefox.desktop

But clicking a link in tbird does nothing, whether or not firefox is open.

I didn't know about xdg-settings. Thanks! Even though it does not seem 
to help.


Geoff


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Thunderbird Opening Links

2015-09-30 Thread R. G. Newbury
In a moment of insanity, I installed google-chrome on fedora21. The 
Chrome installation made chrome the default and changed the 
network-protocol handlers in Thunderbird to 'chrome'. I have since 
removed google-chrome and manually edited the entries in TB back to 
firefox. I think I have properly set firefox as the default browser.


BUT, when I click on a link in an email in tbird, Nothing happens (even 
if firefox is open).


Getting tired of copying link location, and pasting into the address bar.

Can anyone assist? My google-fu produces nothing.
--
 R. Geoffrey Newbury

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Making rc.local work on F20.

2014-10-27 Thread R. G. Newbury

On Sat, 2014-10-25 at 21:25 -0400, Derrik Walker v2.0 wrote:

:

cd /etc
echo '#!/bin/bash' > rc.d/rc.local
ln -s rc.d/rc.local rc.local
chmod 755 rc.d/rc.local


As noted, previously you should use 'vi /etc/rc.d/rc.local' to add the 
'#!/bin/bash' line and any testing lines (like 'touch /var/tmp/hello')


After re-booting, check that the file 
/usr/lib/systemd/system/rc-local.service exists. It is *supposed* to be 
created when/if /etc/rc,d/rc.local exists and is executable *but* it may 
not. If it does not, then rc-local.service should contain:

*
# rc-local.service

# This unit gets pulled automatically into multi-user.target by
# systemd-rc-local-generator if /etc/rc.d/rc.local is executable.
[Unit]
Description=/etc/rc.d/rc.local Compatibility
ConditionFileIsExecutable=/etc/rc.d/rc.local
After=network.target

[Service]
Type=forking
ExecStart=/etc/rc.d/rc.local start
TimeoutSec=0
RemainAfterExit=yes
SysVStartPriority=99
**

You don't actually need the 'start' on the 4th last line. With this file 
in place and a systemctl enable rc-local.service' you should be good to go.


Note:
In my experience, this method is NOT stable. My guess is that, although 
the priority of 99 is supposed to be last, systemd has started processes 
which have not yet completed, when this is called, and things just fail. 
In particular, modules may get loaded in the wrong order, so that the 
hardware 'fails'. This sort of failure may not even be apparent in dmesg 
etc.


I have had success and stable results using the following line in 
*root's* crontab. (See Extensions in 'man 8 crontab')


@reboot  /etc/rc.d/rc.local

And disabling/masking the rc-local.service file so it is still there but 
not used.


This seems to depend entirely upon the hardware connected/installed in 
the computer. My desktop machine is fine with rc-local.service, but the 
mythtv box at home requires use of the crontab work-around to boot 
reliably with everything properly loaded. Note that I have to remove and 
re-install modules in rc.local to ensure the correct loading order. YMMV



 R. Geoffrey Newbury

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Extremely Off Topic -- but!

2014-10-22 Thread R. G. Newbury

On 22/10/14 06:56 AM,  Roger wrote:

Error is: ERROR 2002 Can't connect to local MYSQL through socket
'/tmp/mysql.sock' (2)
  From installation instructions  I did ln -s /tmp/mysql.sock
/private/var/mysql/mysql.sock which is no help.


Error 2002 is usually a permissions/ownership problem. Try:

cd /var/lib/mysql
touch mysql.sock
chown mysql:mysql mysql.sock
chmod 1777 mysql.sock

now make a sym link into /tmp

ln -s /var/lib/mysql/mysql.sock /tmp
then
chmod 1777 /tmp

( These are set in /etc/my.cnf... IF that file exists on a Mac!)

Then stop and re-start the mysql server (mysqld)


/usr/local/mysql/support-files/mysql.server start  starts mysql but I
cannot get it to start on boot.


My wife's MacAir is a black box to me too. I have NO idea how services 
are started on a Mac. Google may be your friend.

-
 R. Geoffrey Newbury

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: selecting some kind of files using the resync command

2014-10-22 Thread R. G. Newbury

On 22/10/14 08:00 AM, users-requ...@lists.fedoraproject.org wrote:

Message: 2 Date: Wed, 22 Oct 2014 19:23:40 +0800 From: Ed Greshko

>On 10/22/2014 11:41 AM, Angelo Moreschini wrote:

>>I would like to know how to start this command (after it is inside a shell
>>script) at the boot.

>Did you try /etc/rc.local?

For the most recent versions of Fedora that has changed.

It is now, /etc/rc.d/rc.local*And*  that file must be set executable.

This is noted in /lib/systemd/system/rc-local.service


I found that rc-local.service was not run consistently.

Create a crontab *as root* and use the @reboot command for cron.

ie a line like '@reboot /usr/local/sbin/my-startup-backup.sh

Regarding this:
rsync -av --delete /home/programmers/Labels/*.java /media/saved_lab
 rsync -avr --delete /home/programmers/Labels/*.java /media/saved_lab

The message that I get is :

sending incremental file list
rsync: link_stat 
"/home/programmers/java/PROJECTS_development/Labels/*.java" failed: No 
such file or directory


There is something very wrong here. I suspect that you have edited the 
command lines in your example, since rsync should only be looking in and 
below /home/programmers/Labels  and NOT in /home/programners/java


As noted in the link posted, you should look at rsync's --include and 
--exclude files.


Although if this is a backup situation, maybe the -u (--update) switch 
is what you really need. Using '-au' will find all files which have been 
updated relative to the destination version. (And you may then want to 
use --delete-after.).







--
 R. Geoffrey Newbury

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Fedora support for the Asus ,> N-150 usb wifi adapter

2014-08-05 Thread R. G. Newbury

Robert Moskowitzwrote

 Ed Greshko wrote:

On 08/04/14 08:19, Robert Moskowitz wrote:
OK.  It is in another F20 box, but as this is a one liner, I can type it over 
here...


>>Bus 001 Device 010: ID 0b05:1786 ASUSTek Computer, Inc. USB-N150 802.11n 
Network Adapter [Realtek RTL8188su]
note that looking athttp://wireless.kernel.org/en/users/Drivers/rtl819x  I don't see a 
reference to RTL8188su only r8188eu (rtl8188eu) and that driver is only in 
"staging".



thanks but this still is getting the warning in messages that ouldn't
find support for the device, and ifconfig does not list it.


Realtek chipsets are like D-Link chipsets. And it is hard to find the 
correct one.


The page at wireless.kernel.org does not list the RTL8188SU chipset. I 
found (somehow) some time ago that the proper driver is the r8712u 
chipset. If you have it installed (which may take a download and copy to 
/lib/firmware  etc. then the ASUS-N10 is recognized and the module 
loaded on insertion. Works like a charm, including when I tested at a 
friend's place where he has an N speed router.


The only place which seems to list and cross-reference all of the 
Realtek chipset variants is here:


https://wiki.debian.org/rtl819xwhich is based on, but extends the 
wireless.kernel.org page.


The rtl8192su driver (which is still a work in progress apparently) is 
intended to replace the r8712u driver, and may be worth testing.



--
 R. Geoffrey Newbury

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Why do we use systemd

2014-07-09 Thread R. G. Newbury

On 09/07/14 05:35 AM, users-requ...@lists.fedoraproject.org wrote:
On  7 Date: Wed, 09 Jul 2014 00:36:37 -0700 From: Joe Zeff
On 07/08/2014 11:40 PM, lee wrote:

>When something is disguised or hidden, it is not disabled.  It is
>camouflaged or concealed.  Camouflage, concealment, hiding, disguise and
>masking can all be used for*preventing*  from being disabled.

No.  When a service is disabled it can still be started after boot, but
when it's masked, it can't be started at all.



Do understand that I'm defending neither systemd nor the deveolper's
choice of terminology.  I'm merely correcting what looks like a
misstatement of how it works.


Yes! And how it *works* is not what that term, used normally describes. 
Which is the point being made.

'Disabled' should imply 'NEVER'
'Masked' is not a word which should be used in this context.

Selinux got the terms correct, IMHO there is NO reason why systemd 
should not use the same terms:


ENABLED  means ALWAYS
PERMISSIVE  means SOMETIMES
DISABLED means NEVER

These are the start-up default states and should have no effect on using 
start or stop directly. Systemd however mis-manages this as well, so 
that you cannot start a 'masked' service


So 'masked' is actually NEVER NOT EVEN WHEN YOU WANT IT. and DISABLED 
means SOMETIMES, but there is no way to set a state where the computer 
cannot under any circumstances but you can MANUALLY.*


This thread contains numerous instances of why systemd is not well 
architected, although what it does do, it seems to do well. What it 
tries to do seems to be a 'reach which exceeds its grasp'. And to boot, 
the documentation, although extensive is far too abstract and 
blatherfull to be actually useful.


Geoff

*I mean that I should not have to 'unmask', 'start' and 'mask' the 
service to achieve an 'only-when-*I*-want-it' start-up of a service. 
Setting 'disabled' means that the system can start it whenever it feels 
the need.





--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Question for Fedora users of Garmin nuvi GPS

2014-07-09 Thread R. G. Newbury

On 8 Jul 2014 21:32:43 -0500, Steven Ulrick wrote

I know that I can just go drive to a computer that has Windows
installed on it and get this over with, but I shouldn't have to do that ...



If they would just let me/us manually download and install updates, I
wouldn't care if I can't use their Windows based application.


Well that answers one question I had and reduces the manufacturers list 
by one.

I *won't* be looking at a Garmin.

 R. Geoffrey Newbury

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: why do we use systemd?

2014-07-06 Thread R. G. Newbury



>>> If Mr. Poettering objects to such analysis, he should stop

performing it on those who disagree with him.


Bullshit, he hasn't done anything to you personally. There is no reason
to behave like you're doing here.


So in your view, I have no right to object to his behavior but you have a right 
to object to my objection?

Something ain't right there.


The difference is that Olav is polite and you are abusive.


Well even Linus T. is not happy with some of the problems with systemd. 
In this case he is pissed at another systemd dev who exhibits the same 
attitudes towards 'outsiders':


"Key, I'm f*cking tired of the fact that you don't fix problems in the 
code *you* write, so that the kernel then has to work around the 
problems you cause.


Greg - just for your information, I will *not* be merging any code from 
Kay into the kernel until this constant pattern is fixed.


This has been going on for *years*, and doesn't seem to be getting any 
better. This is relevant to you because I have seen you talk about the 
kdbus patches, and this is a heads-up that you need to keep them 
separate from other work. Let distributions merge it as they need to and 
maybe we can merge it once it has been proven to be stable by whatever 
distro that was willing to play games with the developers.


But I'm not willing to merge something where the maintainer is known to 
not care about bugs and regressions and then forces people in other 
projects to fix their project. Because I am *not* willing to take 
patches from people who don't clean up after their problems, and don't 
admit that it's their problem to fix.


Kay - one more time: you caused the problem, you need to fix it. None of 
this "I can do whatever I want, others have to clean up after me" crap.


Linus"


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: why do we use systemd?

2014-07-06 Thread R. G. Newbury

lee  wrote:

>Kevin Fenzi writes:
>pulseaudio, which I leave alone right up to the moment I have
>problems--any problems--with sound, and then eliminate as a usually
>successful first stab at a solution.

How do you eliminate pulseaudio on Fedora?  It doesn't do anything but
get in the way.


You cannot 'eliminate' it, but you can circumvent it from getting in the 
way. I use


yum -y erase xine-lib-pulseaudio alsa-plugins-pulseaudio


It is the latter which is the important one for using alsa.

Geoff

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Network availability systemd dependency failure at boot

2014-07-05 Thread R. G. Newbury

On Sat, 05 Jul 2014 08:13:45 -0400
Sam Varshavchik wrote:


Everything was always broken


I'm pretty sure everything was always broken.
I never had the combination of postfix, dovecot,
and stunnel operational more than about 10% of
the time with pure systemd.

I just took a more practical approach and made
an rc.local script that restarted services I found
not always coming up right after a short delay.
This sort of thing:

/bin/bash -c 'sleep 5 ; service stunnel restart' > /dev/null 2>&1 < /dev/null &
/bin/bash -c 'sleep 7 ; service postfix restart' > /dev/null 2>&1 < /dev/null &

That at least works up to the day systemd decides
no one needs rc.local and they drop support for
it (a day that is sure to come :-).


Direct support for rc.local has already been "deprecated". Somewhere I 
read something from Lennart and it was clear that he has an almost 
religious hatred for doing things 'the old way', so much so that 
rc.local is not 'desired'.


And since systemd wants to run everything as the final user, there are 
all lots of problems now in creating folders etc which were easy to do 
before and difficult now, which some lines in rc.local can easily avoid. 
But not easy to set up.


I've been playing with using @reboot in a cron script. Using @reboot is 
effectively a run-once trigger for cron. I am still not sure exactly 
when in the boot sequence the @reboot is triggered. Hopefully after the 
network is up! ( The @reboot gem learnt from that dangerous extremist 
publication Linux Journal!)


Geoff

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: ARRGH: Anaconda F20: dumb Dumber DUMBEST!

2014-01-23 Thread R. G. Newbury

On 23/01/14 12:49 PM, Chris Murphy  wrote:

On Jan 23, 2014, at 8:52 AM, R. G. Newbury  wrote:

>Now this sort of blind stupidity really irritates the hell out of me.
>
>I was trying to do a stand-alone install of F20 on my laptop. The installer 
knows that I have an Intel 3965 wifi setup, but NetworkManager*would not connect*  
no matter what I tried. So I continued, without network access.
>
>Anaconda burped in the middle of the install with a fatal error:  No more 
mirrors!   I presume it was searching for an update (for PackageKit)...  WTF???
>Whoever thought that requiring network access was a good idea needs to be 
taken out and spanked.

This is what install media? DVD.iso, netinst.iso, live desktop iso? What is Installation 
Source set to when this happens? By default it's set to Local Media for DVD and live 
desktop. And by default in Installation Source the option "Don't install the latest 
available software updates" is checked. I've done numerous no network installs while 
QA'ing F20 and have never once encountered what you're reporting.


Hard drive started dieing on Tuesday night. Bought new drive a lunchtime 
yesterday.

Using a DVD iso, installed on a USB stick using (iirc) dd.
This was probably the 20th or 30th install try, what with problems with 
NetworkManager not connecting with wifi and KDE hanging on the kdm 
splash page (*before* login). Finally gave up on KDE after about 4 hours 
last night.


I was sitting at the dining room table (with the wireless router 
approximately directly under my feet in the basement rafters) and no 
wifi through a couple of tries. The network connection "wizard" was 
playing clown, not wizard and refused to do anything.


I cold re-started, *ignored* attempting to connect and continued.
Installation source set to local media (or whatever it is called). On 
this try I was attempting to install w LXDE as the DM,

It barfed.

At work, w network cable plugged in, it automagically connected and the 
install proceeded.


Major pain, and another program is throwing a snit-fit too. If I could 
reliably go back to F17 I would. but I would be faced with the same 
problem -> No more mirrors!!

Geoff





--
 R. Geoffrey Newbury
   Barrister and Solicitor
  Suite 106, 150 Lakeshore Road West
 Mississauga, Ontario, L5H 3R2

   t905-271-9600 f905-271-1638
  newb...@mandamus.org
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


ARRGH: Anaconda F20: dumb Dumber DUMBEST!

2014-01-23 Thread R. G. Newbury

Now this sort of blind stupidity really irritates the hell out of me.

I was trying to do a stand-alone install of F20 on my laptop. The 
installer knows that I have an Intel 3965 wifi setup, but NetworkManager 
*would not connect* no matter what I tried. So I continued, without 
network access.


Anaconda burped in the middle of the install with a fatal error:  No 
more mirrors!   I presume it was searching for an update (for 
PackageKit)...  WTF???
Whoever thought that requiring network access was a good idea needs to 
be taken out and spanked.


Geoff

--
 R. Geoffrey Newbury

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


IPv6 breakage in NetworkManager

2014-01-23 Thread R. G. Newbury

On 01/22/2014 12:52 AM,

From: Dan Irwin



Seeing significant issues with IPv6. After some time, IPv6 completely seems
to stop working. IPv4 is unaffected.

Re-connecting to wifi seems to restore IPv6 connectivity.

However, various things (ssh, firefox) stop working completely. Open ssh
sessions "freeze". Web page requests time out.

At the same time, I can access IPv6 resources from other machines which do
not run NetworkManager.

Next time this occurs, I hope to have some time to diagnose this problem
further. In the meantime, is anyone else seeing such breaking wrt IPv6?

Something to note, I run numerous servers with IPv6, both physical and
virtual. These servers run CentOS; None run NetworkManager, and all have
working IPv6 connectivity.


I have been seeing similar issues with NM on IPv4 with an Intel 4965 
wifi chipset.

It got so bad on F17 that I installed an Asus N-10 rtl8712u based USB stick.
SAME PROBLEM over the last two days attempting to install F20 and 
actually get it to work (KDE problems).
The nm=applet would notify me that it was disconnected, but on opening 
the applet, it would show it was still connected BUT there was actually 
no connection. Sometimes I can get it to re-connect: about 30% of the time.


IF I can get F20 installed, I will disable NM and move to wicd which 
seems to work.



 R. Geoffrey Newbury

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Scanimage Fails at 1200 dpi with sane_read I/O error

2013-08-13 Thread R. G. Newbury
I've been using scanimage for years with an HP3055 MFP which is network 
attached. Suddenly, it stopped working at --resolution=1200. The only 
thing I can remember upgrading was/is the kernel, but even going back to 
the 3.7.3-101.fc17 kernel and downgrading everything does not help.


Most intrigueingly, scanning works at resolution=600.
Some details:

scanimage -d$hpaio -A

All options specific to device 
`hpaio:/net/HP_LaserJet_3055?ip=192.168.1.12':

  Scan mode:
--mode Lineart|Gray|Color [Color]
Selects the scan mode (e.g., lineart, monochrome, or color).
--resolution 75|100|150|200|300|600|1200dpi [75]
Sets the resolution of the scanned image.

 But scanning results in this:
Scanning 1 pages, incrementing by 1, numbering from 701
Scanning page 701
scanimage: sane_read: Error during device I/O
Scanned page 701. (scanner status = 9)

And the MFP hangs in a perpetual'Cancelling Scan'.

And this used to work. I have 700 pages already scanned at 1200 dpi...

Anyone have any ideas on how to debug this?





--
 R. Geoffrey Newbury
   Mandamus Publishing Inc.
  Suite 106, 150 Lakeshore Road West
 Mississauga, Ontario, L5H 3R2

  www.mandamus.ca

t416-479-0930 f905-271-1638
  r...@mandamus.ca
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: laptops with 1200 vertical resolution

2013-01-05 Thread R. G. Newbury

On 01/05/2013 07:01 AM, Tim wrote:


I don't know about elsewhere, but here in Australia, high resolution TV
has been a bit of a flop.  We only have about 3 high res TV channels out
of about 16, and much of what they put to air is standard resolution,
anyway.  And, oddly enough, one of the better looking programs is a
1980s UK TV program shot using 900 line resolution tube cameras; bumped
up to high res it looks very nice, compare that to modern 4:3 CCD studio
cameras which rarely went above 750 line resolution.  Then there's the
several heavily compressed standard resolution channels from the same
station that looks like VHS is being put to air.  And people don't seem
to be complaining about it, nor even noticing.  Seriously, why buy a
$1000+ high res TV set when there's little of it to watch.


HD will come. If you like sports you might hit on your local station to 
broadcast Oz footie in HD. In North America, CBS has, for some years, 
broadcast (OTA) what appears to be a completely uncompressed HD stream 
and watching football ( American style) in that format is awesome. As a 
'benchmark' most HD programs hereabouts take 5 to 6 G/hour for storage. 
Some programs (The Good Wife is one example) regularly takes 8G/hr and 
the difference is noticeable. I get that program OTA from 2 different 
stations: one at 8G and one at 5G. The difference is noticeable. NFL 
football runs 11-12G/hr in 720p.

G
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Enabling Wireless network without NetworkManager

2012-12-30 Thread R. G. Newbury

It won't accept the key and the mode.   It will only accept Mode as
Managed.  the key is the one in the router, under Wireless Security .

The problem is the wireless network is not starting.  It cannot find the
Gateway 192.168.1.1 , and that is the correct setting

How do you start the wireless network ?

Remember I'm not using NetworkManager


Use wicd instead of NM.
The network service apparently will *never* start a wireless device. It 
may have once upon a time, but not now. (I can't remember if it ever 
did, or not)


Yum install wicd* should install what you need, then
systemctl enable wicd.service
systemctl start wicd.service

Geoff
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: automatic helpers which really suck!

2012-12-13 Thread R. G. Newbury

On 12/13/2012 01:07 PM, François Patte wrote:

>  -BEGIN PGP SIGNED MESSAGE-
>  Hash: SHA1
>
>  Bonjour,
>
>  I installed f-17 and wanted to set my mail with thunderbird.
>
>  New account, name, mail address, smtp*immediately*  thunderbird
>  helper goes on the web to check my email server and don't find it! Why?
>  I really don't know: this mail address and server has been in service
>  for years now (and I'm using it to send this mail) I can ping it, I
>  can dig it...


You might check first in your ~/.thunderbird/profile.ini file.
IIRC, the last time I installed TBird, it created a *new* xxxyyy.default 
folder, and pointed profile.ini at *that* folder.
Changing the profile.ini to point to the correct, older default folder 
fixed that. It was a while ago, and things "may have changed" (as if we 
can assume that they have not!).


Talking about other 'automatic' helpers which suck: I nominate nepomuk, 
closely followed by zietgeist as "disastrous moronic stupidity of the 
decade".  Not that they might not be useful to someone, but that they 
install themselves like the malaria parasite, suck your cycles and are 
almost impossible to actually kill. Shades of the walking dead.


(Yes I know these are KDE specific, but in my defense I offer: Gnome. 
The defense rests.)


Geoff


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Getting rid of nepomukserver

2012-11-23 Thread R. G. Newbury

Ed wrote

On 11/22/2012 12:29 PM, R. G. Newbury wrote:

>
>I have turned off 'Desktop Search' in Settings. I have deleted all executables 
in /usr/bin with 'nepomuk' in the name (and virtuoso). I have nuked the nepomuk 
folders hiding down in ~/.kde.
>But after I rebooted I*still*  ended up with a 'nepomukserver' running.
>ps -aux says it is started by kde4init. Setting 'autostart' to false 
in/usr/share/./autostart/nepomukserver.desktop
>stops that from happening, but*where*  is the executable instance which 
kdeinit is starting? I wish to nuke it too.
>

FWIW, I have unchecked "Nepomuk Sematic Desktop" in the Desktop Search section of the KDE 
"System Settings" and upon clicking apply the server is no longer running.




Only /usr/bin/nepomukcontroller remains.


I am quite sure that that's the first thing I did. Noted as the first 
item. I then nuked every executable I could find. So if I failed to 
'Apply' the setting, where is the executable which kdeinit *then* started.

.

System Settings -> Startup and Shutdown -> Service Manager. Uncheck
Nepomuk Search Module.

Login and Logout if required. No need to "nuke" anything. Well, maybe
virtuoso.



Gabriel


Thanks. What a stupidly obtuse system for wasting cycles. I didn't even 
know that there was another complete level of 'service' management. Now 
it is turned off, it still does not answer the question:


Where is the damn executable which the service starts.

This sort of layered obscurity pisses me off. And the user cannot nuke 
the libs, since they are "dependencies" of all sorts of other actually 
useful bits of the install.

Geoff





--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Getting rid of nepomukserver

2012-11-21 Thread R. G. Newbury


I have turned off 'Desktop Search' in Settings. I have deleted all 
executables in /usr/bin with 'nepomuk' in the name (and virtuoso). I 
have nuked the nepomuk folders hiding down in ~/.kde.

But after I rebooted I *still* ended up with a 'nepomukserver' running.
ps -aux says it is started by kde4init. Setting 'autostart' to false in 
/usr/share/./autostart/nepomukserver.desktop
stops that from happening, but *where* is the executable instance which 
kdeinit is starting? I wish to nuke it too.


G.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: disabling graphical boot and shutdown in Fedora 17

2012-11-05 Thread R. G. Newbury

On 11/05/2012 07:00 AM, sergio wrote:


>  When shutting down from the console, a graphical screen appears showing

>  the Fedora logo.  That's really silly and I'd like to turn that off ---
>  but how?
>

Delete 'rghb' in GRUB_CMDLINE_LINUX in /etc/default/grub

Or just uninstall the plymouth theme then you won't have that logo at
shutdown and the plymouth theme at startup will be a simple progress bar.


I knew about the first bit, but could you please explain *how* to 
'uninstall the plymouth theme'.  iirc there are 8 different plymouth 
services in systemd.


Geoffrey
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Problem with wpa_supplicant

2012-10-04 Thread R. G. Newbury
Has anyone else noticed a problem with wireless authentication using 
wpa_supplicant? Following a router change and consequent messing with 
passphrases, my Thinkpad with iwl4965 chipset has ceased to 
authenticate. It can easily connect with the wireless router if the 
router is 'open' but fails on WEP, WPA and WPA2. The household's mac 
airbook, ipad, iphone and android phone have no difficulty.


I have tried deleting all /etc/sysconfig/network* files, as well as 
those in wicd and wpa_supplicant and recreating but no joy.


Interestingly, the psk reported by a 'iwlist wlan0 scan' for my router 
is nothing like the psk produced by 'wpa_passphrase essid 
mysecretpassphrase'


scan: 1382882a0e39633131ca70df0db2a9bff9a8f142d47cdde921740e27aea26c77
wpa_passphrase: 
f389062374809e11f7c30b39b6e34f221b311a963dcb866a318bcee1e4ce0337


Anyone have any idea what's going on?
Fedora 17 on 3.5.5.-1, wpa_supplicant, wpa_supplicant-1.0-1.fc17.x86_64


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Production server running from USB stilck with /var on,>> >HD

2012-07-10 Thread R. G. Newbury



>On 10.07.2012 06:07, Philip Rhoades wrote:

>>People,
>>
>>I have been using RH and Fedora since the beginning and love it!




So even putting /var on the hard disk would not help much?



>You should probably assemble a little cluster and then use kvm for
>virtualization. It's very speed efficient to reboot virtual machines.


I did think of that but that does not resolve all the problems - it
allows me to create a new (virtual) server quickly and swap it in when
it is ready to go - so there is not much downtime BUT then the
underlying OS doesn't get updated . . and I still have the same problem
to update that.  I have been thinking about using a SSD for the OS but
it would be nice to be able to plug in a new drive without taking the
box apart - I suppose I could look for plug-n-play SSD that can be
inserted into a drive-socket in a standard CD drive bay . .


USB sticks are not fast enough. However, you might find that an SSD in a 
portable case *with eSATA* will be fast enough not to be objectionable.
Set things to boot from the external (in BIOS) and test it. When ready, 
halt the server, swap the SSD into the box and reboot, change the BIOS, 
and done!. Downtime maybe 4 minutes if you are quick. Data can be on 
another physical drive, or replicated to a partition on the 
to-be-swapped drive immediately before server shutdown.


I have a portable external drive case which cost maybe $8 more for eSATA 
capabilities and it IS fast. Waaa faster than USB!


G.

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Systemctl hates mysqld: refuses to start Fedora 16 (LONG)

2012-07-02 Thread R. G. Newbury

On 07/02/2012 10:25 AM,"R. G. Newbury" wrote

Subject:  Systemctl hates mysqld: refuses to start  Fedora 16 (LONG)


Ooops! My apologies for sending this twice. Not awake, or too much 
coffee or whatever. The question still remains however.

Geoff
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Systemctl hates mysqld: refuses to start Fedora 16 (LONG)

2012-07-02 Thread R. G. Newbury
Well I am stumped. I have a puzzler which needs the brain-power and 
knowledge which hangs around here.


 Systemctl on fedora 16 will NOT start mysqld.

 The problem started on Thursday evening when I rebooted. Uptime was 
then 60 days. Mysqld was running, but mythfrontend was having difficulty 
connecting. This was *before* the UTC problem arose. No updates since 
about January.


 Startup of mysqld fails with a permissions error, attempting to write 
to /tmp,  which is chmod 1777, that is, world writeable and readable! 
There is  nothing wrong with the mysql setup. If I run each command from 
the  command line, mysqld starts without problem. That is to say: there 
is  nothing wrong with the mysqld setup. I repeat: there is nothing 
wrong  with the mysqld setup.


But mysqld startup FAILS when initiated by systemctl.

 In order to avoid unhelpful responses/questions relating to the many
 many many other ways in which one can have mysqld fail to start, I 
will list the sanity checks which I have used to ensure that everything

 lines up properly: I have checked my.cnf and use the same command line
 switches, and folders and permissions throughout. Everything run as
 root. Selinux disabled. And mysqld *will* start properly from the
 commandline, just NOT by way of systemctl. See log extract below.

So any answers about missing folders etc are off-track.

 *** Proof of Setup
 # mkdir /var/log/mysqld
 mkdir: cannot create directory `/var/log/mysqld': File exists
 # chown -R mysql:mysql /var/log/mysqld
 # chmod -R 777 /var/log/mysqld
 # chown -R mysql:mysql /run/mysqld
 # chmod -R 777 /run/mysqld
 # chmod -R 1777 /tmp
 # killall mysqld
 mysqld: no process found

  Replicate mysqld.service commands:

 # /usr/libexec/mysqld-prepare-db-dir
 # /usr/bin/mysqld_safe --nowatch --datadir=/var/lib/mysql
 --socket=/var/lib/mysql/mysql.sock --pid-file=/run/mysqld/mysqld.pid
 --basedir=/usr/ --log-error=/var/log/mysqld/mysqld.log
 # /usr/libexec/mysqld-wait-ready $MAINPID

  and mysqld STARTS
 # ps -ae | grep mysqld
 20853 pts/300:00:00 mysqld

 At this point, I can use the console mysql client, etc. etc.
 So the mysqld setup is correct. But this is not what happens under
 systemctl

  COMPARE AND CONTRAST ***
 # killall mysqld

 # systemctl start mysqld.service
 Job failed. See system logs and 'systemctl status' for details.

 *** Edited *** Failure is:
   Process: 25762 ExecStartPost=/usr/libexec/mysqld-wait-ready
 $MAINPID (code=exited, status=1/FAILURE)

 *** Comment out the exec-post command (which is not technically
 required...it just adds some 'settle' time) and reload:

 # systemctl start mysqld.service

 *** Note that it gives no erroras appears above
  Yes the service IS disabled atm, because of this testing
 # systemctl status mysqld.service
 mysqld.service - MySQL database server
Loaded: loaded (/lib/systemd/system/mysqld.service; disabled)
Active: failed since Sun, 01 Jul 2012 12:05:22 -0400; 5s ago
   Process: 26943 ExecStart=/usr/bin/mysqld_safe --nowatch
 --datadir=/var/lib/mysql --socket=/var/lib/mysql/mysql.sock
 --pid-file=/run/mysqld/mysqld.pid --basedir=/usr/
 --log-error=/var/log/mysqld/mysqld.log (code=exited, status=0/SUCCESS)
   Process: 26927 ExecStartPre=/usr/libexec/mysqld-prepare-db-dir
 (code=exited, status=0/SUCCESS)
  Main PID: 27128 (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/mysqld.service

   SO, the operation was a success but the patient died...

  mysqld.log

  First the command line startup and shutdown:

 120701 12:15:30 mysqld_safe Starting mysqld daemon with databases from
 /var/lib/mysql
 120701 12:15:30 [Note] Plugin 'FEDERATED' is disabled.
 120701 12:15:30 InnoDB: The InnoDB memory heap is disabled
 120701 12:15:30 InnoDB: Mutexes and rw_locks use GCC atomic builtins
 120701 12:15:30 InnoDB: Compressed tables use zlib 1.2.5
 120701 12:15:30 InnoDB: Using Linux native AIO
 120701 12:15:30 InnoDB: Initializing buffer pool, size = 128.0M
 120701 12:15:30 InnoDB: Completed initialization of buffer pool
 120701 12:15:30 InnoDB: highest supported file format is Barracuda.
 120701 12:15:30  InnoDB: Waiting for the background threads to start
 120701 12:15:31 InnoDB: 1.1.8 started; log sequence number 5950198631
 120701 12:15:31 [Note] Server hostname (bind-address): '127.0.0.1';
 port: 3306
 120701 12:15:31 [Note]   - '127.0.0.1' resolves to '127.0.0.1';
 120701 12:15:31 [Note] Server socket created on IP: '127.0.0.1'.
 120701 12:15:31 [Note] Event Scheduler: Loaded 0 events
 120701 12:15:31 [Note] /usr/libexec/mysqld: ready for connections.
 Version: '5.5.24'  socket: '/var/lib/mysql/mysql.sock'  port: 3306 MySQL
 Community Server (GPL)
 120701 12:16:08 [Note] /usr/libexec/mysqld: Normal shutdown

 120701 12:16:08 [Note] Event Scheduler: Purging the queue. 0 events
 120701 12:16:08  InnoDB: Starting shutdown...
 120701 12:16:09  InnoDB: Shutdown comp

Fwd: Systemctl hates mysqld: Fails writing to /tmp

2012-07-01 Thread R. G. Newbury


Sent from my iPhone

Begin forwarded message:

> From: "R. G. Newbury" 
> Date: 1 July, 2012 12:50:57 PM EDT
> To: Fedora-List 
> Subject: Systemctl hates mysqld: Fails writing to /tmp
> 
> I am stumped. I have a puzzler which needs the brain-power and knowledge 
> which hands around here.
> 
> Systemctl on fedora 16 will NOT start mysqld.
> 
> Startup fails with a permissions error, attempting to write to /tmp, which is 
> chmod 1777, that is, world writeable and readable! There is nothing wrong 
> with the mysql setup. If I run each command from the command line, mysqld 
> starts without problem. That is to say: there is nothing wrong with the 
> mysqld setup. I repeat: there is nothing wrong with the mysqld setup.
> 
> In order to avoid unhelpful responses/questions relating to the many many 
> many other ways in which one can have mysqld fail to start, I list some of 
> the sanity checks which I have used to ensure that everything lines up 
> properly: I have checked my.cnf and use the same command line switches, and 
> folders and permissions throughout. Everything run as root. Selinux disabled. 
> And mysqld *will* start properly from the commandline, just NOT by way of 
> systemctl.
> 
> *** Proof of Setup
> # mkdir /var/log/mysqld
> mkdir: cannot create directory `/var/log/mysqld': File exists
> # chown -R mysql:mysql /var/log/mysqld
> # chmod -R 777 /var/log/mysqld
> # chown -R mysql:mysql /run/mysqld
> # chmod -R 777 /run/mysqld
> # chmod -R 1777 /tmp
> # killall mysqld
> mysqld: no process found
> 
>  Replicate mysqld.service commands:
> 
> # /usr/libexec/mysqld-prepare-db-dir
> # /usr/bin/mysqld_safe --nowatch --datadir=/var/lib/mysql 
> --socket=/var/lib/mysql/mysql.sock --pid-file=/run/mysqld/mysqld.pid 
> --basedir=/usr/ --log-error=/var/log/mysqld/mysqld.log
> # /usr/libexec/mysqld-wait-ready $MAINPID
> 
>  and mysqld STARTS
> # ps -ae | grep mysqld
> 20853 pts/300:00:00 mysqld
> 
> At this point, I can use the console mysql client, etc. etc.
> So the mysqld setup is correct. But this is not what happens under systemctl
> 
>  COMPARE AND CONTRAST ***
> # killall mysqld
> 
> # systemctl start mysqld.service
> Job failed. See system logs and 'systemctl status' for details.
> 
> *** Edited *** Failure is:
> Process: 25762 ExecStartPost=/usr/libexec/mysqld-wait-ready $MAINPID 
> (code=exited, status=1/FAILURE)
> 
> *** Comment out the exec-post command (which is not supposed to be required) 
> and reload:
> 
> # systemctl start mysqld.service
> 
> *** Note that it gives no erroras appears above
>  Yes the service IS disabled atm, because of this testing
> # systemctl status mysqld.service
> mysqld.service - MySQL database server
>  Loaded: loaded (/lib/systemd/system/mysqld.service; disabled)
>  Active: failed since Sun, 01 Jul 2012 12:05:22 -0400; 5s ago
> Process: 26943 ExecStart=/usr/bin/mysqld_safe --nowatch 
> --datadir=/var/lib/mysql --socket=/var/lib/mysql/mysql.sock 
> --pid-file=/run/mysqld/mysqld.pid --basedir=/usr/ 
> --log-error=/var/log/mysqld/mysqld.log (code=exited, status=0/SUCCESS)
> Process: 26927 ExecStartPre=/usr/libexec/mysqld-prepare-db-dir 
> (code=exited, status=0/SUCCESS)
>Main PID: 27128 (code=exited, status=1/FAILURE)
>  CGroup: name=systemd:/system/mysqld.service
> 
> SO, the operation was a success but the patient died...
> 
>  mysqld.log
> 
>  First the command line startup and shutdown:
> 
> 120701 12:15:30 mysqld_safe Starting mysqld daemon with databases from 
> /var/lib/mysql
> 120701 12:15:30 [Note] Plugin 'FEDERATED' is disabled.
> 120701 12:15:30 InnoDB: The InnoDB memory heap is disabled
> 120701 12:15:30 InnoDB: Mutexes and rw_locks use GCC atomic builtins
> 120701 12:15:30 InnoDB: Compressed tables use zlib 1.2.5
> 120701 12:15:30 InnoDB: Using Linux native AIO
> 120701 12:15:30 InnoDB: Initializing buffer pool, size = 128.0M
> 120701 12:15:30 InnoDB: Completed initialization of buffer pool
> 120701 12:15:30 InnoDB: highest supported file format is Barracuda.
> 120701 12:15:30  InnoDB: Waiting for the background threads to start
> 120701 12:15:31 InnoDB: 1.1.8 started; log sequence number 5950198631
> 120701 12:15:31 [Note] Server hostname (bind-address): '127.0.0.1'; port: 3306
> 120701 12:15:31 [Note]   - '127.0.0.1' resolves to '127.0.0.1';
> 120701 12:15:31 [Note] Server socket created on IP: '127.0.0.1'.
> 120701 12:15:31 [Note] Event Scheduler: Loaded 0 events
> 120701 12:15:31 [Note] /usr/libexec/mysqld: ready for connections.
> Version: '5.5.24'

Re: recover from a bad F16 install

2012-03-19 Thread R. G. Newbury

> Aaron wroteL

For what you are doing all you need is a LiveCD and fdisk applied to a
unmounted disk. There is a option inn fdisk to clear all partitions from
the disk which will leave you in a position to partition the disk from
scratch. parted and/or partitionmagic are not needed. I assume that your
disk will be something like /dev/sda so you would run the command :
fdisk /dev/sda,
and away you go.


From my experience, fdisk alone will not do the job as it is not gpt 
aware. I recently purchased a new SSD and started a really bare-metal 
install of F16. And I was unable to partition the disk as I desired, 
since ananconda had decided that it would be gpt.


It took quite a while for me to recover from that, as I had no idea 
about gpt, and my first tries involved non-gpt aware methods. gpt writes 
to different places on the disk and ALL of those spots must be cleared. 
I ended up using dd to overwrite the first and last couple of megs of 
the disk, to get the gpt traces expunged.

Until I did that, I got errors.
Geoff
--


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: recover from a bad F16 install

2012-03-18 Thread R. G. Newbury

Paul Allen Newell wrote
 its does the same "No usable disks"

>>
>> PartedMagic was the one option I asked about in my original email and it

>On both the LiveCD and the installation DVD troubleshot into a bash
shell, I am getting "parted - Invalid partition table - recursive
partition on /dev/sr0" and I am pretty certain it is looking at the
CD/DVD as that's the device it displays. So I don't know whether I am
even able to get at the hardware via parted/cfdisk (???)
dn't make sense of them.

>I am also going to look at the sysresccd site and see if it
presents me with easier to understand access.

>All I want to do is get it back to a sane minimal state that I can run
the installation DVD and let it do the proper partitioning.

Paul, you really do need the system rescue disk. Grab the cd iso and 
read the instructions to make a usb stick from the iso. The iso is 
84Meg. I carry one of my oldest memory sticks in my briefcase with this 
installed. Then it is a quick matter to interrupt a boot and select the 
usb stick as the boot medium (F12 on my Thinkpad). Or change the boot 
order in the bios on the desktop.


Also, there is a good explanation of GPT vs MBR boot processes on the 
sysrescue site. I STRONGLY suspect that your prior attempt at 
installation failed with the disk prepared for, but not yet partitioned 
as GPT.


And no software not GPT-aware can deal with that. Thus 'no usable 
disks'. (The F16 repos now carry the 'gdisk' package which is a 
gpt-aware version of fdisk but I am not sure that the install uses that 
capability.)


The system rescue cd is based on the 3.2 kernel and has gparted .12, 
which should be gpt aware. It should allow you to change back to a blank 
MBR setup drive.


If that does not work, then use gdisk from the the Fedora16 LiveCD. You 
will need to use the -x option and then -z to zap the (wrong) gpt 
structures. Again, luckily you need not worry about zapping any data or 
even an mbr setup.


How did this happen? The anaconda installer will leave an mbr 
partitioned disk as is, but will use gpt if the disk is blank or if you 
let *it* partition the drive. Thus another poster's comment: 'never let 
fedora partition your disk.' Always pre-partition, and select 'Custom', 
so you are in control of the partition sizes and names.


HTH

G.
-
 R. Geoffrey Newbury

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: recover from a bad F16 install

2012-03-17 Thread R. G. Newbury



I have an install DVD that I used to do a fresh install of F16 onto a
i386/686 machine. I then used it to do a fresh install of a second
machine. Midway through the formatting/partitioning, it "popped up a
bug". When I reported it, it pointed me to 743778 which was closed as
"notabug". At that point, the machine was at some unknown state in its
formatting.

I now have a machine that is "a brick". There is no operating system on
it as that got destroyed and any attempts to do a fresh install come
back with "No usable disks have been found" and I can't make any
progress. Nothing could be done in the troubleshoot options except get a
dmesg, which I have attached to this email.

Is this one of these times where I need to get something like
partedmagic and figure out how to format/partition from there? If so,
anyone done this before and can give pointers. If not, what other
options do I have.



You need to visit www.sysresccd.org  and download the iso. Burn to a CD 
or install unto a USB drive (instructions on the website). It has all of 
the nice tools you need and runs as a 'live-cd' to allow you to fix things.


Note that if you got to the partitioning portion of the Fedora16 
install, and let anaconda set the partitioning, then it is now using gpt 
and not the usual mbr scheme. Recovery back to an ms-dos style mbr is 
not difficult but takes a number of steps.


G.


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: US ISPs become 'copyright cops' starting July 12

2012-03-17 Thread R. G. Newbury

On 03/17/2012 02:03 PM, Reindl Harald wrote:

>
>  Am 17.03.2012 18:45, schrieb Dave Ihnat:

>>  On Sat, Mar 17, 2012 at 06:24:08PM +0100, Reindl Harald wrote:

>>>  what exactly let you imagine taht this has ANYTHING to do with OpenSource?

>>  Well, playing_Advocatus Diaboli_, what if some moneyed software company
>>  claims Open Source software being hosted for download is violating their
>>  copyrights, and uses this excuse to shut down archives?

>  sorry, but this is simply bullshit in any context
>

Actually, it's been done. Remember /SCO v. IBM?/ The only reason that
failed was that/SCO/  went bankrupt, the investors grew outraged, and
they went out looking for a new company president. But not before/SCO/
tried to extort licensing fees from everyone using Linux. Darl McBride
even went to Congress to try to suggest that the GPL was
unconstitutional, because it somehow defied the power of the United
States Congress to grant patents and copyrights.


No the only reason SCO went bankrupt was because it failed.

SCO v IBM is still outstanding and SCO is going to lose at that trial 
just as it did in SCO v Novell: because it never owned the copyrights 
that it claimed to own in order to run its extortion racket. It lost to 
Novell and went into bankruptcy to avoid certain consequences of that 
loss, while it tried an appeal. The appeal court overturned the summary 
judgment and help that SCO was entitled to a jury trial. It got the jury 
trial and LOST again. The jury specifically found that the copyrights 
had NEVER been transferred from Novell. And ALL of SCO's claims against 
IBM depend upon it being the copyright owner: you cannot complain that 
IBM 'improperly' copied code from Unix, into AIX and claim damages *when 
you do not own the copyright*. But IBM's counterclaims are still 
outstanding. It is supposed to go to trial this fall.


So although you can say "it's been tried", like many frauds you can fool 
some of the people some of the time.


As for a monied software company ("MSC") trying that tack, they might be 
able to bamboozle an ISP into acting, but the DCMA notice/counter notice 
regime is now quite well known and would be used to block any 
precipitous actions. And then the MSC would face a real problem: say the 
allegedly copied software carries a GPL notice. Did the MSC gift the 
software into the GPL? There is lots of GPL'd software floating around 
from Sun for example (and Universal/Vivendi was posting video trailers 
on Youtube that they now claim were pirated!.


And if the MSC did NOT freely GPL the software, they will have to open 
their OWN code databases up for examination. They cannot prove it was 
copied WITHOUT producing the original.Oh, and did they *register* the 
copyright with the USCO???


So that is NOT going to happen.









--
 R. Geoffrey Newbury

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: schroedinger

2012-02-09 Thread R. G. Newbury

On Tuesday 07 February 2012 04:32:10 pm Mark LaPierre
wrote:

>  On 02/07/2012 07:17 PM, T.C. Hollingsworth wrote:

>  >  On Tue, Feb 7, 2012 at 5:15 PM, david

walcroft   wrote:

>  >>  My "yum update" today updated this program,I cannot find any
>  >>  doc's, only "schroedinger's cat" on google.
>  >>  Anybody Know what this program does?

>
>  Yah, but is it alive?

The problem with the Schroedinger package is that it changes
everytime you look at it via `yum`.



It's the Heisenberg package which changes when you look at it. With the 
Schoedinger package you are never sure whether it is running, or not.



Geoff

--

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: libvpx issues, anyone?

2012-02-04 Thread R. G. Newbury

On 02/04/2012 03:56 AM, Paul Smith wrote:


On Fri, Feb 3, 2012 at 11:58 PM, Roger  wrote:

>>  Does anyone except me had problems today with updating their F16 systems?
>>  I seem to have dependency problems regarding ffmpeg-libs and/or libvpx. My
>>  repos are standard Fedora ones and rpmfusion. And 'yum clean all' did not
>>  help.
>>

>  Yes same here

Another one in the same situation.


RPMFusion is probably not up to date yet. I ran into the same problem 
updating and had three packages from atrpms have a dependency issue. I 
thought it was a Fedora bug, but it was my error to not notice that the 
packages were atrpms and not fedora's.


Wait till rpmfusion does a rebuild, or remove the packages from you box, 
download the SRPMS and rebuild them against the updated base ( ie, do 
what rpmfusion does). The Fedora Admin guide explains how. A skill worth 
knowing, too.


Geoff

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: f16 - Brain dead wireless network manager

2012-01-17 Thread R. G. Newbury

On 01/17/2012 04:11 AM, Robert Moskowitz wrote:


f16 and gnome 3
   I have to go into Network Settings, turn off wireless and
turn it on.  ARGH!

Then I am not getting anything to work on the Hyatt SSID,

< snip>


I would like some help on getting things to work better...


I gave up on NetworkManager about F12. I now use wicd. It scans for hot 
spots and and shows you the SSID's and strengths much like kismet. But 
it also handles your encryption requirements etc. Works well. The icon 
in the tray shows whether you are connected or not.


Suspend is always a problem for wireless. I have found (following 
postings here) that it is best to 'ifdown wlan0' the wireless before 
suspending. That leaves it in a proper state for re-instating after 
re-start.


Geoff

--

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Fedora 16 test

2012-01-03 Thread R. G. Newbury

On 01/03/2012 07:00 AM, Roger wrote:


>
I just spent this evening playing with the Fedora 16 live iso on a dvd.

Wow!




Just a couple of questions about clean installing over Fedora 14.
Is there an option for it to not overwrite the home and /var/www/html
directories?
Don't like the font rendering, pretty glunky with Bitstream charter and
the default font. Is there a way to improve font rendering?
Are there any gotchas to look out for.

Thanks fedora, good job
Roger


You should move the contents of /var/www/html to somewhere else (backup) 
or onto /home.


Presuming /home is a separate partition, when the install reaches the 
'deal with the hard drive' section, choose 'Custom Layout'. You can then 
choose which partitions to format *or not format* as desired.


But you will be unable to change the sizes and layouts of any of your 
other partitions. If you need or want to do that, the only safe route is 
to backup what you want to save and create your new disk layout with 
gparted outside of the installer, or use 'Custom Layout'. Note that 
anaconda likes to re-number your partitions as you create new ones, 
which can be very annoying. I have never been able to figure out the 
logic to its re-numbering. So I use gparted together with 'sfdisk -uS 
-l' to create and ensure that the partitions are aligned on 2048 sector 
boundaries.


Geoff


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Boot Disk

2011-12-30 Thread R. G. Newbury

On 12/29/2011 11:30 AM, Alan Cox wrote:

which disk the initial load occurred from?  I did run dmidecode and found
nothing of value.


dmidecode is the wrong interface. EDD provides the drive to BIOS mapping
tables, DMI provides static configuration data.


Your two hard drives are otherwise (I presume) exactly alike.


Just use the drive serial numbers for that - or the UUIDs of the
partitions - much easier and basically how Fedora itself does it.

Alan


Agreed. But you have to *know* the drive serial number or UUID to do 
that. And there is, of course, a high probability that you will not have 
that information available.


(Ha! With Captain Murphy's thumb on the scale the probability is 
exactly: 1.00. )


The advantage of marking the actual disk is that you only need remember 
which way you installed...extra partition on sda/sata 1 or not.

Geoff


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Boot Disk

2011-12-29 Thread R. G. Newbury

On 12/27/2011 11:21 AM, Jeffrey Ross wrote:


>  On Sun, Dec 25, 2011 at 2:37 PM, Jeffrey Ross  wrote:

>>  Is there a way to identify which disk the BIOS is using to boot from (eg
>>  disk 0 or 1) when I don't have physical access to the system to view the
>>  BIOS settings?



>  If both disks have identical bootloaders, I'm not sure there's any way
>  from a running system to check which one you booted from.  If you
>  don't mind rebooting it, you could add a different arbitrary kernel
>  argument to the GRUB configuration of each disk's bootloader, reboot
>  the machine, then check /proc/cmdline to see which one shows up.



In this case it turns out it was booting off of sda (which is what I
suspected), I ended up taking a ride down to the datacenter and verifying
the BIOS.

The original question although no longer important remains, can you tell
which disk the initial load occurred from?  I did run dmidecode and found
nothing of value.


There is a way to determine things remotely, if you do some setup 
beforehand.

Your two hard drives are otherwise (I presume) exactly alike.
Set them up similarly, *except* that both use all but a megabyte or so 
(or one cylinder's worth of blocks). Make that little extra into a 
partition on ONE of the disks.


You can then remotely use 'cat /proc/partitions' to show the attached 
drives and partition  sizes (or use 'sfdisk -uC -l').


The extra partition will denote which drive is being used as 'sda' or 
'sdb'. This method is independent of the contents of the disk.


You may be able to re-size both of them in place although it might 
require another site visit. I have NO idea if gparted can be made to 
work remotely with vnc etc.


Geoff





--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Bug 648732 – Intel wireless broken on 11n for many users

2011-12-06 Thread R. G. Newbury
On 12/05/2011 10:47 PM, Lawrence Graves
> On 12/05/2011 01:32 PM, R. G. Newbury wrote:
>> >  On 12/04/2011 09:44 PM, Lawrence Graves
>>> >>  On 12/04/2011 07:44 AM, Ian Malone wrote:

>> >
>> >  1 Add rdblacklist=nouveau to kernel grub line (done)
< big snip>
>> >  18Reboot to check.
> After doing all the above from 1-18, it is still doing the same thing
> and gave me the same screen as when I first start this journey.

This brings to mind the Holmes Corrollary to Murphy's Laws:  "Any law of 
chemistry or physics to the contrary notwithstanding, if it happened, it 
must be possible".
This is very weird.

Can you at least report that some of the steps worked???
Did the reboot at step 4 work? (The vesa driver only step).
Did you at least see the nvidia driver loaded at step 8?
Did startx get you to the graphical desktop in step 9?

I didn't closely follow the beginning of the thread. Could you repeat 
what hardware you are using, and confirm the distro level (F15 I think) 
and kernel. I am interested in confirming the video chipset and the 
wireless chipset, since *something* weird is going on, involving those...

Geoff

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Bug 648732 – Intel wireless broken on 11n for many users

2011-12-05 Thread R. G. Newbury
On 12/04/2011 09:44 PM, Lawrence Graves
> On 12/04/2011 07:44 AM, Ian Malone wrote:
>> >  On 4 December 2011 11:22, Ian Malone   wrote:
>> >
>>> >>  3. If at this point after rebooting nouveau is still starting then I'm
>>> >>  really stumped.

>> >  I've got Lawrence's dmesg output and nouveau is being loaded very early 
>> > on:
>> >
>> >  [7.591930] [drm] Initialized drm 1.1.0 20060810
>> >  [7.613319] nouveau :01:00.0: PCI INT A ->   GSI 16 (level, low) ->   
>> > IRQ 16
>> >  [7.613325] nouveau :01:00.0: setting latency timer to 64

>> >
>> >  has the 'blacklist nouveau' line and successfully run:
>> >  dracut -f /boot/initramfs-$(uname -r).img $(uname -r)
>> >
>> >  If he has done these then does anyone know how nouveau could still get
>> >  loaded?

> I just placed rdblacklist=nouveau in the grub command line and also
> added it to the blacklist.conf file and then rebooted and nothing.

Nouveau probably got loaded because the initramfs is still the old one.
And the nvidia driver has not been installed/loaded so that dracut uses 
*it* (instead of nouveau) when creating the new initramfs. The 
...'rebooted and nothing' suggests that *no* video driver is being 
loaded. Here is a recipe of steps for Lawrence to follow:

1   Add rdblacklist=nouveau to kernel grub line (done)
2   For the moment add rdblacklist=iwl4965 to the kernel grub line
3   Change your /etc/X11/xorg.conf file Device section to say Driver "vesa"
[ If using the nvidia binary run-file to install, change /etc/inittab to 
boot into run-level 3 ( multi-user under systemd not 'graphical']
4   Reboot. This should get you through to the desktop *with the vesa 
(basic) driver: no nouveau, no nvidia, no iwl4695.

5   Install the nvidia drivers using rpmfusion [ or the nvidia run file.]
6   Change the xorg.conf device section Driver line to Driver "nvidia"
7   Reboot.
You should now be using the nvidia driver at runlevel 3 (console).
8   Run 'lsmod  | grep nvidia', You should see  something like   'nvidia 
11694654 30'
See what happens when you run 'startx'

9.  Run the 'dracut' command line given above to create a new initramfs 
*with* nvidia and *without* nouveau (also without iwl4695 ATM)
10. Change inittab to runlevel 5
11  Reboot. You should go right through to the graphical desktop.

At this point, nvidia will be working. But you will not have any 
wireless. Reboot a couple of times, so you can bask in the splendour of 
getting the nvidia driver installed.

12. NOW and ONLY NOW, remove the rdblacklist=iwl4695 from the kernel 
grub line. (You can remove or retain the nouveau reference)
13. It has not been mentioned: do you have the firmware installed?
Run 'yum install iwl4965-firmware'

Now it gets interesting: see whether iwl4695 actually conflicts with 
nvidia.

14. Run 'modprobe iwl4695'
15. Run 'lsmod | grep iwl4965' to check that it has been installed.
16  Use 'system-config-network' to configure your wireless.
Check that it is working properly.
17  Re-run dracut to create a new initramfs *with* iwl4695.
18  Reboot to check.



-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Can't install nvidia drivers on Laptop

2011-11-23 Thread R. G. Newbury

> On 11/23/2011 09:20 AM, Lawrence Graves wrote:

 >>>  Then what do you suggest I do to get my nvidia drivers installed.

You refer to kmod's and akmod version drivers. Have you tried building 
your own from the bin file?

Add rdblacklist=nouveau to the kernel line in your grub conf file

Change 'inittab' to boot to multi-user (what was level 3);

  rm -vf /etc/systemd/system/default.target
  ln -s /lib/systemd/system/multi-user.target 
/etc/systemd/system/default.target

(that is all one line)

Download the NVIDIA.bin file and chmod it to 755

Reboot, login, cd to where the NVIDIA file is and launch it.
It will compile the driver against your running kernel.

G.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Trends - how to save Fedora ?

2011-11-15 Thread R. G. Newbury
> On 11/14/2011 01:49 PM, Ralf Corsepius wrote:
>> >  I have to repeat: F16's anaconda's partitioning GUI does not allow you
>> >  to do so.
> I've been using Fedora since FC6, and anaconda's always allowed you to
> do a custom partitioning scheme.  If it doesn't in F16, it's a serious
> bug and you should report it.

I think you are talking about different things. Since at least Fedora 4 
(my start point) there has been an option to customize the partitioning.
BUT when you do that, anaconda WILL re-number/re-arrange the partitions 
as you create them from a blank disk. I have never discerned the 
reasoning behind the way it does this. I like my partitions in 
alphabetical label order but I cannot create them in that order with 
anaconda.
I have a gpartged live-cd somewhere around here and that might be the 
easiest route the next time I am installing (sometime soon with F16!)
(Hmmm, wonder if kickstart can be coerced into doing the right thing?)

Geoff


-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


RE: Network printer not working, how to debug?

2011-09-13 Thread R. G. Newbury
On 09/13/2011 02:29 PM, Tim wrote:
> On Tue, 2011-09-13 at 09:54 -0400, R. G. Newbury wrote:
>> >  I have a Brother MFC665CW connected wirelessly. I installed the cups and
>> >  lpd driver rpms from the Brother site, and run a cups service on the
>> >  computers which use that printer.
>> >
>> >  The URI for the printer is:  usb:/dev/usb/lp0
> That's the URI for a*locally*-connected printer, not a
> wirelessly-connected one.
>
> Tim.

As I said, Tim, *why* that URI I have no idea. That printer has NEVER 
been connected with a wire of any sort ehternet OR parallel port. I 
configured it using the front panel, it showed up in the router and I 
could ping it, etc. so I installed the drivers and it worked.

The *only* possible scenario that I can think of, is that the local (on 
the laptop) cupswrapper driver daemon writes *there* and the brother lpr 
driver uses that as a socket and sends the print job on to the printer 
using wifi.
So it appears to be a locally connected printer because the drivers 
obscure the 'unconnectedness' of it.

This same sort of thing shows up when connecting network printers to a 
guest WinXP instance in virtualbox. An HP printer connected through a 
lpd/lpr print server is 'installed' in the WinXP guest as a 'network' 
printer using the 'http://IP-address/pASTHRU', while an HP MFC (using 
hplip) is selected as a LOCAL printer in the WinXP guest install using a 
TCPIP 'port': socket://ip-address/:9100.

I have never tried to install the Brother MFC into the Win guest, but I 
think it would be a 'network' printer.

Geoff

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


RE: Network printer not working, how to debug?

2011-09-13 Thread R. G. Newbury
On Sat, 2011-09-10 at 11:55 -0700, Gordon
> Charrick wrote:
>> >  I click the Network Printer dropdown under "Select Device" and the
>> >  printer shows up with the proper IP address. Under "Connection", "IPP
>> >  network printer via DNS-SD" is selected. I choose the driver and apply
>> >  the settings. It prompts to print a test page and I click to print it.
>> >  The job for the test page is submitted and a window with the settings
>> >  shows up and the Printer State shows as "Stopped - Destination printer
>> >  does not exist!". The Device URI is
>> >  "dnssd://Brother%20MFC-7860DW._ipp._tcp.local/".
> Try using a different Device URI.  The error you're getting is because
> the device URI doesn't include a queue name (because it couldn't be
> detected, I suppose).
>
> You may be able to find out the default queue name by visiting the
> printer's web server (if it has one built-in), or by consulting the
> printer's documentation.

I have a Brother MFC665CW connected wirelessly. I installed the cups and 
lpd driver rpms from the Brother site, and run a cups service on the 
computers which use that printer.

The URI for the printer is:  usb:/dev/usb/lp0

Why that URI I have no idea. I expected something like 
lpd:/192.168.2.10/PASSTHRU but the usb URI is what the install injected.

And it works. This printer also works with a Macbook Air but I have NO 
present recollection of doing the install process. It must have been 
automagic since I cannot recall it at all.

Geoff

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Network printing in Fedora 15

2011-08-08 Thread R. G. Newbury
Antonio wrote:
>>> >>  I have exactly the same problem, printer is not auto-detected, and it is
>>> >>  detected only if I insert the remote IP.
>>> >>  I insert the correct driver, but at a certain step when verifying
>>> >>  printer, I get the message that printer is not available!!
>>> >>  Firewall is disabled on all network machines.
>>> >>  What is the starting point to decode the problem (Printer is a HP2350
>>> >>  all in one)?? Same printer with same driver is working fine if directed
>>> >>  connected to computer

You may have selected the wrong *type* of printer connection when 
setting up the printer. Most HP All-in-One or MFC printers appear on the 
network as 'socket://192.168.1.xx:9100' while LPD printers appear as 
'lpd://192.168.1.yy/CONNECTOR' where CONNECTOR is something like 'DUMMY' 
or PASSTHRU or PORT1 etc. And I have a Brother printer connected 
wirelessly only which appears as 'usb:/dev/usb/lp0' on my computers. 
Note that none of these have an actual "server" machine. They act as 
their own server. In fact the LPD printer, is connected by a parallel 
port cable to a 'Print Server' hub which does all of the server stuff.

I strongly suspect that entering the IP address alone, without properly 
denoting the type of connection, will always fail since the driver will 
talk to the wrong connection.

You might try setting up the printer using cups on your desktop machine. 
It seems to be quite competent at finding and recognizing network 
attached printers. Use http://your-computer's-IP:631 from a browser. Of 
course, if you are not running cups, this will not work.

  R. Geoffrey Newbury   
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: F15: Questions re systemd

2011-07-20 Thread R. G. Newbury

> R. G. Newbury  wrote:
>> >  New install of F15 on Thinkpad X61. Httpd refuses to start using:
>> >  systemctl enable httpd.service; systemctl start httpd.service
> Hmm, this works fine on my installation of F15.  'systemctl enable'
> redirects to 'chkconfig' because httpd uses systemd's SYSV
> compatibility, but both commands do what you expect.
>
>> >
>> >  User:group apache:apache exists and 'owns' /var/www
>> >
>> >  No httpd.service file was installed through yum. I created one containing:
> httpd still uses a SYSV initscript.  systemd is completely compatible
> with them for the moment.
>
>> >  **
>> >  # httpd.service for systemd
>> >  # installed to /lib/systemd/system
> Please do not install or edit unit files in /lib/systemd.  Changes in
> that directory can be overriden by package updates.  Instead use
> /etc/systemd/system, either by creating new unit files in that
> directory or copying existing ones in /lib/systemd to /etc and editing
> them.  Unit files in /etc/systemd always override identically named
> ones in /lib/systemd.

Well *that* explains why there was no httpd.service file!. But it does 
not quite explain why 'status' reported a 'fail'. I will rsync the 
desktop F14 /etc/sysconfig/httpd and /etc/rc.d/init.d/httpd files and 
see what happens then, when I run 'service httpd restart'


>> >  [Unit]
>> >  Description=httpd daemon
>> >  After=mysqld.service
> You probably want "network.target" in After too.  (Although presumably
> mysqld has that in its After too.)  If you use NetworkManager and bind
> httpd to particular IP addresses also add
> "NetworkManager-wait-online.service" to After as well, otherwise it
> might come up before it has a socket to bind to.

Since I do not need it, I'll delete this file. I'll wait for someone who 
*knows* what is going on the write one!


>> >
>> >  [Service]
>> >  EnvironmentFile=-/etc/sysconfig/httpd
>> >  ExecStart=/usr/sbin/httpd $OPTIONS -k start
>> >  ExecReload=/usr/sbin/httpd $OPTIONS -k restart
>> >  PIDFile=/run/httpd.pid
>> >  Type=forking
> This might be your problem:
>
>> >  User=apache
>> >  Group=apache
> httpd probably needs to be launched as root and allowed to drop
> privileges on its own.  (Don't quote me on this though; I don't know
> much about the internal workings of httpd.)

You could well be right. Httpd wants to own the files in /var/www/html 
etc. but since it is launched on boot, root would be the correct user to 
do that.


> One other thing that might affect it:  if you bind httpd to particular
> IP addresses, it might require the network to be active
>
>> >  [Install]
>> >  WantedBy=multi-user.target
>> >  
>> >
>> >  I only get 'Job failed. See system logs and 'systemctl status' for
>> >  details'. ?[FAILED]
>> >
>> >  Status details are no help. I added OPTIONS=" -e 3 -E
>> >  /var/log/httpd/error_log -w" to /etc/sysconfig/httpd, which systemctl
>> >  status says it is executing, but I get NO error_log entries.
>> >
>> >  Moreover, I get NO systems logs of any sort from systemctl/systemd.
>> >
>> >  FIRST QUESTION: Where are the system logs? ?I do NOT have a
>> >  /var/log/messages file Do I need to set a logging option somewhere?
> systemd normally logs to syslog.  You really should figure out why
> syslog isn't working first.

SOLVED that bit. Somehow I chconfig'd OFF, the rsyslog daemon while 
turning off all the rpc stuff (it forwarded to systemctl)Does sorta 
help!

> That being said, you can force systemd to log elsewhere with the
> "systemd.log_target=" kernel argument.  Set it to "kmsg" to log to the
> kernel message log or "console" to print errors on the console.  You
> can also set "systemd.log_level=debug" to get lots more output out of
> systemd.  More on these and a lot more at
> http://fedoraproject.org/wiki/How_to_debug_Systemd_problems
>
>> >  SECOND QUESTION: If I use '/usr/sbin/httpd -k start', it works and I get
>> >  httpd threads in the ps list.
>> >  Service httpd status, at that point, says that the start FAILED.
>> >  Service httpd stop does not actually stop anything, nor does systemctl
>> >  httpd.service stop. ?(Does not know the pid?)
> Exactly.  Systemd has no idea httpd was started, nor does it need to.
> It really shouldn't muck about with what the user didn't intend it to
> control.

Well yup! But I thought that it WAS controllingWhat we have here is 
a failure to communicate, as someone once said!

-
  R. Geoffrey Newbury   

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


F15: Questions re systemd

2011-07-18 Thread R. G. Newbury
New install of F15 on Thinkpad X61. Httpd refuses to start using:
systemctl enable httpd.service; systemctl start httpd.service

User:group apache:apache exists and 'owns' /var/www

No httpd.service file was installed through yum. I created one containing:
**
# httpd.service for systemd
# installed to /lib/systemd/system

[Unit]
Description=httpd daemon
After=mysqld.service

[Service]
EnvironmentFile=-/etc/sysconfig/httpd
ExecStart=/usr/sbin/httpd $OPTIONS -k start
ExecReload=/usr/sbin/httpd $OPTIONS -k restart
PIDFile=/run/httpd.pid
Type=forking
User=apache
Group=apache

[Install]
WantedBy=multi-user.target


I only get 'Job failed. See system logs and 'systemctl status' for 
details'.  [FAILED]

Status details are no help. I added OPTIONS=" -e 3 -E 
/var/log/httpd/error_log -w" to /etc/sysconfig/httpd, which systemctl 
status says it is executing, but I get NO error_log entries.

Moreover, I get NO systems logs of any sort from systemctl/systemd.

FIRST QUESTION: Where are the system logs?  I do NOT have a 
/var/log/messages file Do I need to set a logging option somewhere?


SECOND QUESTION: If I use '/usr/sbin/httpd -k start', it works and I get 
httpd threads in the ps list.
Service httpd status, at that point, says that the start FAILED.
Service httpd stop does not actually stop anything, nor does systemctl 
httpd.service stop.  (Does not know the pid?)

But another service httpd start, reports that httpd is already running

Does anyone know how to get this working? My google-foo is lacking. I 
can find nothing about where systemd logs data.
And I can find nothing about whether to remove the original (F14) 
service files.


  R. Geoffrey Newbury
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: /var/log/messages question

2011-05-31 Thread R. G. Newbury
> On Mon, 2011-05-30 at 18:36 -0400, Tom Horsley wrote:
>> >  Just for curiosity, why has no one ever arranged to
>> >  log something like "Hey! I'm booting the system again!"
>> >  as the very first line in that goes to /var/log/messages
>> >  when the system is booting?
> I used to do something like that back when I was still using another OS.
> I modified the bootup script to add my own entry at the beginning.  You
> could do the same, I don't think the script gets changed by updates that
> often.

It is far easier to add:   echo "Completed boot at `date`"

to the bottom of /etc/rc.d/rc.local

Then it does not matter whether the system is using the old method or 
systemd and whether it is writing to 'messages' or boot.log.


R. Geoffrey Newbury 

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: very long boot time in fedora 15

2011-05-27 Thread R. G. Newbury
On 05/26/2011 05:04 PM, Ian Malone wrote

> I'm trying to work out why Fedora 15 takes an incredibly long time to
> start on this machine (Intel Core 2 Duo T5500, 1GB RAM laptop),
> booting takes several minutes as opposed to F13. No custom modules,
> just stock Fedora, intel wireless and graphics, used preupgrade to go
> F13 to F15. I can try and provide more information, but I'm not sure
> where to start with this, any ideas? Some things that might be
> relevant below.
>
> dmesg, at the 'gap':
> [   43.006805] sky2 :02:00.0: eth0: enabling interface
> [   43.010915] ADDRCONF(NETDEV_UP): eth0: link is not ready
> [   43.044360] iwl3945 :06:00.0: loaded firmware version 15.32.2.9
> [   43.111086] iwl3945 :06:00.0: Error setting Tx power (-5).
> [   43.132498] ADDRCONF(NETDEV_UP): wlan0: link is not ready
> [  344.645061] RPC: Registered udp transport module.
> [  344.645066] RPC: Registered tcp transport module.
> [  344.645069] RPC: Registered tcp NFSv4.1 backchannel transport module.

It *looks* like it is waiting for the link to become ready.

You could try using the iwlagn module instead of the iwl3945, to see if 
that module reacts better. It is supposed to work with the 3945 chipset 
iirc.

I would then try turning off ALL network services and dependencies of 
those. and timing boot in that condition. Then timing startup of the 
network with the wired NIC only, and then with the wireless NIC only, 
etc. etc.

It *could* be that the delay is some other module which actually depends 
on network services, such as an NFS or samba share etc..


Geoff


-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Set inittab to 3

2011-05-25 Thread R. G. Newbury
> 2011/5/25 Jan Willies
>
>> >  2011/5/25 Bob Goodwin
>> >
>>> >>  On 25/05/11 05:33, Jan Willies wrote:
 >>  >  2011/5/25 Bob Goodwin
 >>  >
 >>  >  New install F-15: When I attempted to change the inittab
 >>  >   setting
 >>  >  from 5 to 3 as I normally do I was told that was no 
 >> longer
 >>  >   the way.
>
 >>  >  Your can boot with systemd.unit=emergency.target and fix it.
>>> >>
>>> >>   Where do I put that command, in the grub screen I assume but
>>> >>  where?
>>> >>
>> >
>> >  In the kernel-line, where you did put '3'.
>> >
> Ah sorry, you edited /etc/inittab. Yes, in the grub screen at the end of the
> 'kernel-line'

After fixing this, you can replace inittab with the script I posted in 
Issue 53, which is archived here:

http://article.gmane.org/gmane.linux.redhat.fedora.general/392873/match=re+start+system+without+x+fedora+15



-- 
  R. Geoffrey Newbury   
Barrister and Solicitor
   Suite 106, 150 Lakeshore Road West
  Mississauga, Ontario, L5H 3R2

 o905-271-9600 f905-271-1638
   newb...@mandamus.org
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: About start system without X in Fedora 15

2011-05-19 Thread R. G. Newbury
On 05/19/2011 09:45 PM, slamp On Tue, May 17, 2011 at 7:49 AM, JB  wrote:
>> >  Manuel Trujillo (TooManySecrets  toomany.net>  writes:
>>> >>  Before systemd, you could start a system without the X putting a "3"
>>> >>  at end of kernel line in grub. How I can make the same in Fedora 15? I
>>> >>  tried the same but not work (I think it is for the new systemd start
>>> >>  system).
>> >
>> >  https://fedoraproject.org/wiki/Systemd#Boot_Kernel_Command_Line
>> >
>> >  JB
>> >
>> >
> how do i switch to the multi-user.target when X fails to start?

See my reply in Issue 53.

Geoff Newbury


-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: About start system without X in Fedora 15

2011-05-17 Thread R. G. Newbury
On 05/17/2011 11:13 AM, "Manuel Trujillo 
(TooManySecrets)"  wrote:

> Before systemd, you could start a system without the X putting a "3"
> at end of kernel line in grub. How I can make the same in Fedora 15? I
> tried the same but not work (I think it is for the new systemd start
> system).

A quick and easy to remember method: Add the following to your 
/etc/inittab file, and make it executable. Then run 'inittab 3'. It 
suddenly strikes me that you may be able to do this, by merely 
're-starting' X. I'm not near my F15 box ATM so I am not sure. But a 
reboot works. After doing whatever, 'inittab 5' and re-start.

#  REVISED INITTAB
# To set the default systemd target
# run as an executable with a level parameter
#eg:  inittab 3
#  this defaults to non-graphical for anything other than 5
#  ..possibly dangerous with a 0 or 1, or even 6!

export LEVEL=$1
echo ""
echo " Setting RUNLEVEL to " $LEVEL
echo ""
if [ $LEVEL = "5" ];
then
   rm -vf /etc/systemd/system/default.target
   ln -s /lib/systemd/system/graphical.target 
/etc/systemd/system/default.target
   echo "   Default target set to graphical.";
else
   rm -vf /etc/systemd/system/default.target
   ln -s /lib/systemd/system/multi-user.target 
/etc/systemd/system/default.target
   echo "   Default target set to multi-user.";
fi

-- 
  R. Geoffrey Newbury   

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


  1   2   >