Re: [gentoo-user] Source Python virtualenv in OpenRC script

2021-12-12 Thread Manuel McLure
On Sat, Dec 11, 2021 at 3:54 PM Julien Roy  wrote:

> Hello,
>
> I am trying to create an OpenRC script to start a python module.
> To launch the module manually, what I would do is:
> cd $moduleDir
> source bin/activate
> python -m $module
>

You can actually just use

$moduleDir/bin/python -m $module

Executing anything from the bin directory inside the venv will make it act
as if it had activated the venv.
-- 
Manuel A. McLure WW1FA  
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft


Re: [gentoo-user] Ethernet card for puter

2021-11-05 Thread Manuel McLure
I highly recommend getting an Intel card. Back in the day the e1000 cards
were the ones to get, nowadays
https://www.newegg.com/intel-expi9301ctblk/p/N82E16833106033 should be a
good option for a single port card. Intel cards have been well supported in
Linux for a long time.

On Fri, Nov 5, 2021 at 5:20 PM Dale  wrote:

> Howdy all,
>
> I saw the guys running fiber optic cable today, in front of MY house.
> It wasn't supposed to be here until next year.  I almost fainted from
> the excitement.  I got a router a while back that is 1Gb ready.  They
> supply the modem.  I still have a old 100Mb network card in my puter
> tho.  So, it needs updating, after all these years of faithful service.
> I found one and this is the model number and such for it, description
> too.  "Dell V5XVT-FH Intel I350-T2 DP 1GB PCIe Ethernet Network Card"
>
> I don't really care about brand as long as it is a reliable product.
> That one is Dell,  I'm fine with any brands as long as they aren't bad
> to blow smoke on the 2nd or 3rd power up.  :/  I'm almost certain I have
> PCIe ports available.  I think that's what the current card is in
> actually.  Thing is, this has two ports and so does about all I see,
> except for those with 4 ports.  Will having 2 ports cause any problems?
> Most likely, one won't be connected at all.  I just want to be sure that
> it won't cause any issues or that using both is required for some reason
> I never heard of.
>
> They think we should be connected in a few months.  Cables comes first
> then they set up the control boxes etc etc.  I'm going with a package
> that will be about 300 times faster and only cost about $10 a month more
> than my wimpy DSL.  Oh crap.  I need to expand my hard drive space
> again.  Glad I use LVM.  LOL  I thought I had another year to deal with
> that too.
>
> Thoughts on that card?  Work fine?
>
> Dale
>
> :-)  :-)
>
>

-- 
Manuel A. McLure WW1FA  
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft


Re: [gentoo-user] Would constant max CPU speed cause lockups?

2021-06-06 Thread Manuel McLure
On Sat, Jun 5, 2021 at 10:18 AM Walter Dnes  wrote:

>   A few years ago, I cheaped out and bought a low-powered Atom desktop
> with 8 gigs of RAM.  Looking back, that was a mistake.  It would default
> to 480p or at best 720p on Youtube.  But I wrote a nifty bash script
> that manually put the CPU into "userspace" mode, and selected the
> maximum available CPU speed.  I finally got Youtube with steady playback
> at 1080p... YAY!  I'd leave it at max speed during my waking hours, and
> drop it to min speed at night before going to bed.
>
>   I saw the occasional mysterious lockups as I mentioned in recent
> threads.  I wonder if pushing the CPU to max speed most of the day would
> cause overheating and lockups.  I'm leaving my current, more powerfull,
> machine in "conservative" mode.
>
>   Should I stay in conservative mode?  Or forget about speed control
> entirely, and let "Intel Speed Step" handle things for me?  Also, is
> there a way to enable CPU throttling based on temperature?
>
>
Depending on the specific generation of Atom/Celeron processor, there may
be some issues with processor power control (cstates) that can result in a
lockup. This is a processor bug that affects "Bay Trail" CPUs, including
several Atom processors:
https://ark.intel.com/content/www/us/en/ark/products/codename/55844/products-formerly-bay-trail.html
. I ran into this on a J1900 Celeron that I use to control my 3D printer.

There are a couple of workarounds:
- Disable all cstates >1 with the kernel command line option
"intel_idle.max_cstate=1". This will mean that the processor will not be
able to microsleep to save power.
- Disable cstate 6 (the one that causes the problem) and enable cstate 7
with a shell script like the following:

#!/bin/sh

#title:   c6off+c7on.sh
#description: Disables all C6 and enables all C7 core states for Baytrail
CPUs
#author:  Wolfgang Reimer 
#date:2016014
#version: 1.0
#usage:   sudo /c6off+c7on.sh
#notes:   Intended as test script to verify whether erratum VLP52 (see
# [1]) is the root cause for kernel bug 109051 (see [2]). In
order
# for this to work you must _NOT_ use boot parameter
# intel_idle.max_cstate=.
#
# [1]
http://www.intel.com/content/dam/www/public/us/en/documents/specification-updates/pentium-n3520-j2850-celeron-n2920-n2820-n2815-n2806-j1850-j1750-spec-update.pdf
# [2] https://bugzilla.kernel.org/show_bug.cgi?id=109051

# Disable ($1 == 1) or enable ($1 == 0) core state, if not yet done.
disable() {
local action
read disabled disable || return
action=ENABLED; test "$1" = 0 || action=DISABLED
printf "%-8s state %7s for %s.\n" $action "$name" $cpu
}

# Iterate through each core state and for Baytrail (BYT) disable all C6
# and enable all C7 states.
cd /sys/devices/system/cpu
for cpu in cpu[0-9]*; do
for dir in $cpu/cpuidle/state*; do
cd "$dir"
read name  
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft


Re: [gentoo-user] how to clean up

2021-05-13 Thread Manuel McLure
On Thu, May 13, 2021 at 2:47 PM n952162  wrote:

> Hi,
>
> I'm running out of space and I see I have many versions of all pkgs.  Is
> the proper way to get rid of all older tarballs - but retain the current
> ones - to simply use the --clean option with emerge?  Any other options
> necessary?
>
>
You might want to give
https://wiki.gentoo.org/wiki/Knowledge_Base:Remove_obsoleted_distfiles a
read.

-- 
Manuel A. McLure WW1FA  
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft


Re: [gentoo-user] network transfer speed

2021-01-15 Thread Manuel McLure
On Fri, Jan 15, 2021 at 3:40 PM William Kenworthy 
wrote:

>
>
> Rsync is not a good tool for measuring throughput as its optimisations
> are problematic - and this can show up when comparing local to remote
> tests.
>
>
> Yup. A better option is to use something like net-misc/iperf. That will
give you a much better idea of the raw network performance. It's also
available on Windows so you can use it to test Linux<->Windows and
Windows<->Windows speeds as well as Linux<->Linux speeds.

-- 
Manuel A. McLure WW1FA  
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft


Re: [gentoo-user] hardware - memory problem

2020-12-16 Thread Manuel McLure
On Wed, Dec 16, 2020 at 3:14 PM  wrote:

> On 12/16/2020 04:01 PM, Mark Knecht wrote:
> >> When I loot at "htop" it only shows:
> >> Mem:155M/3.21G
> > You show all 16GB but as others have stated you are likely running the
> > wrong kernel.
> >
> > uname -a
> >
> uname -a
>
> Linux 7_old 5.4.80-gentoo-r1 #2 SMP Tue Dec 15 00:21:33 MST 2020 i686
> AMD FX(tm)-8150 Eight-Core Processor AuthenticAMD GNU/Linux
>
>
i686 is a 32-bit kernel. Where it says "i686" it should instead say
"x86_64". For example, on my Gentoo server:

Linux legend 5.4.80-gentoo-r1-x86_64 #1 SMP Wed Dec 2 10:51:23 PST 2020
x86_64 Intel(R) Core(TM) i5 CPU 650 @ 3.20GHz GenuineIntel GNU/Linux

-- 
Manuel A. McLure WW1FA  
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft


Re: [gentoo-user] hardware - memory problem

2020-12-16 Thread Manuel McLure
On Wed, Dec 16, 2020 at 2:22 PM  wrote:

> I run Memtest86 on my old box and it completed 1pass without any errors.
> Memtest86 reports 16G memory
>
> When I boot Gentoo it shows only 3282Mb
> free -m
>   totalusedfree  shared  buff/cache
> available
> Mem:   3282 1252475   7 680
>   3033
>
> Is it a motherboard? How to test it?
>
>
Are you perhaps booting a 32-bit kernel? A 32 bit kernel is not going to
see all 16GB of RAM, only what fits in its 32-bit address space. You need a
64-bit kernel (or a 32-bit kernel with Physical Address Extensions enabled)
to be able to see all the RAM.
-- 
Manuel A. McLure WW1FA  
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft


Re: [gentoo-user] sqlite3 not available in python3?

2020-11-15 Thread Manuel McLure
On Sun, Nov 15, 2020 at 2:59 PM n952162  wrote:

> I'm trying to convert python2 scripts to python3.  A script which works
> under python2 gives me this under python3:
>
> ModuleNotFoundError: No module named 'sqlite3'
>
> Any ideas?
>
You might need to add "sqlite" to the USE flags for dev-lang/python and
reinstall.

-- 
Manuel A. McLure WW1FA  
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft


Re: [gentoo-user] systemd install attempt busybox and pam are fighting

2020-11-13 Thread Manuel McLure
On Fri, Nov 13, 2020 at 3:59 PM Jude DaShiell  wrote:

> Thanks for the decode, I hope I'll get better at understanding this kind
> of error output in future.
>
> On Fri, 13 Nov 2020, Neil Bothwick wrote:
>
> > Date: Fri, 13 Nov 2020 18:28:32
> > From: Neil Bothwick 
> > Reply-To: gentoo-user@lists.gentoo.org
> > To: gentoo-user@lists.gentoo.org
> > Subject: Re: [gentoo-user] systemd install attempt busybox and pam are
> > fighting
> >
> > On Fri, 13 Nov 2020 17:40:43 -0500, Jude DaShiell wrote:
> >
> > > !!! The ebuild selected to satisfy "sys-apps/busybox" has unmet
> > > requirements.
> > > - sys-apps/busybox-1.32.0-r1::gentoo USE="ipv6 pam static systemd
> > > -debug -livecd -make-symlinks -math -mdev -savedconfig (-selinux)
> > > -sep-usr -syslog" ABI_X86="(64)"
> > >
> > >   The following REQUIRED_USE flag constraints are unsatisfied:
> > > pam? ( !static )
> >
> > It means that if you have the pam USE flag set, the static flag must be
> > unset. You can have one or the other, or neither, but not both.
>
>
As a related comment, I highly recommend having a statically linked busybox
installed on your system. It can save your bacon if something breaks.
Several years ago there was a problem where "expr" was missing a dependency
on gmp. gmp got upgraded without rebuilding "expr", and that resulted in
"expr" not working. I tried to reinstall "expr"  but emerge required "expr"
to work so I was in a bind. Luckily I had a statically linked busybox on
the system - I just hard-linked busybox to "/usr//bin/expr" and that was
sufficient to get emerge to rebuild the proper "expr".

This was a case where even booting with a live CD would have been tricky,
because as soon as I'd done a chroot I would have ended up with the same
broken "expr". Having a static busybox saved me a lot of hassle.
-- 
Manuel A. McLure WW1FA  
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft


Re: [gentoo-user] Re: tried desktop profile

2020-10-14 Thread Manuel McLure
On Wed, Oct 14, 2020 at 2:56 PM Grant Edwards 
wrote:

> On 2020-10-14, antlists  wrote:
> > On 14/10/2020 19:58, Grant Edwards wrote:
> >> On 2020-10-14, antlists  wrote:
> >>
> >>> Does your mobo support NVMe drives? Just be aware my mobo is crap in
> >>> that it says it supports two graphics cards, NVMe, etc, but if you
> stick
> >>> an NVMe in the second graphics card is disabled, or if you use both the
> >>> NVMe slots you lose a couple of SATA ports, or whatever. Bit of a PoS
> in
> >>> that regard.
> >>
> >> I think that's pretty common. NVMe uses PCI-express channels that are
> >> often shared with one of the PCI-express "slots" on the motherboard.
> >> As a result you can't use both at the same time.
> >
> > Is that the sign of a cheap/rubbishy mobo?
>
> No. AFAICT, it's done even on good, highly rated mid-range desktop
> motherboards.  [I've never spent much time looking into high-end
> server-grade motherboards, so I can't comment on those.]
>
> It's generally a limitation of the chipsets used. There are only so many
PCI Express lanes to go around, so it's impossible to have all of the
motherboard featured enabled at full blast at one time. Different
motherboards have different solutions as to how they partition the lanes.
For example, it's almost universal that if you have a single video card it
uses 16 lanes, but if you put a second card in the first card will drop
down to using 8 lanes and the other 8 lanes will go to the second video
card.
-- 
Manuel A. McLure WW1FA  
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft


Re: [gentoo-user] nvidia-drivers-440.82-r3 failing to compile: Kernel configuration is invalid

2020-05-21 Thread Manuel McLure
On Thu, May 21, 2020 at 12:14 PM Ján Zahornadský  wrote:

>
> bolt /usr/src/linux-5.6.14-gentoo # ls -l include/generated/autoconf.h
> include/config/auto.conf
> -rw--- 1 root root 26144 May 21 10:13 include/config/auto.conf
> -rw--- 1 root root 35329 May 21 10:13 include/generated/autoconf.h
>
>
Is  /usr/src/linux a symlink to  /usr/src/linux-5.6.14-gentoo ? The
nvidia-drivers package looks for the kernel sources in /usr/src/linux so if
the symlink is wrong then you might get errors like these.

-- 
Manuel A. McLure WW1FA  
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft


Re: [gentoo-user] Re: New laptop - AMD or Intel?

2020-03-09 Thread Manuel McLure
On Mon, Mar 9, 2020 at 11:09 AM Grant Edwards 
wrote:

> On 2020-03-09, Mark Knecht  wrote:
>
> > Would that be the consensus of the group here?
>
>
>
My understanding is that AMD is currently leading both in raw performance
as well as bang-for-buck.

-- 
Manuel A. McLure WW1FA  
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft


[gentoo-user] Black screen half way through boot until X startup

2020-03-02 Thread Manuel McLure
Hi, all, I have the following issue I'm trying to resolve.

I have a stable amd64 Gentoo system running on a Core i5-650 with an Nvidia
GT710 in my home theater PC. It's connected to my home theater receiver via
HDMI and thence to my 4K TV.

The problem I'm seeing is that after the boot starts, the boot messages
scroll up until "Setting system clock using the hardware clock [UTC]" shows
and then the screen goes black. However, the boot continues until Kodi
starts up and the screen shows the Kodi UI. But the screen is blank for
20-30 seconds during the second half of the boot process.

If I look at rc.log I see the following around the time the video goes
black:

 * Loading module coretemp ...
 [ ok ]
 * Loading module w83627ehf ...
 [ ok ]
 * Loading kernel modules ...
insmod
/lib/modules/4.19.97-gentoo-x86_64/kernel/drivers/cpufreq/cpufreq_ondemand.ko
 [ ok ]
 * Setting system clock using the hardware clock [UTC] ...
 [ ok ]
 * The binfmt-misc module needs to be loaded by the modules service or
built in.
 * Mounting misc binary format filesystem ...
 [ ok ]
 * Loading custom binary format handlers ...
 [ ok ]

which matches the messages I see before the black screen.

So this isn't a huge issue _unless_ there's a boot issue. It came to the
fore this weekend when a bad MySQL upgrade caused the boot to hang and I
had a lot of trouble figuring out what the problem was due to the lack of
video. Nothing I did on the keyboard allowed me to see what was going on,
and because MySQL was being started before sshd I couldn't even log in
remotely. It took booting into a LiveCD and looking at the boot logs to
figure out what was going on.

Any ideas? I'm using the x11-drivers/nvidia-drivers 440.59 but this has
been happening for a long time with earlier versions as well.
-- 
Manuel A. McLure WW1FA  
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft


Re: [gentoo-user] problems with depclean

2019-10-15 Thread Manuel McLure
On Tue, Oct 15, 2019 at 1:54 PM John Covici  wrote:

> Do I just add a line saying @kernels to that file or is there some
> other syntax?
>

I just added a line with "@kernels" to that file.

-- 
Manuel A. McLure WW1FA  
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft


Re: [gentoo-user] problems with depclean

2019-10-15 Thread Manuel McLure
On Tue, Oct 15, 2019 at 11:05 AM Neil Bothwick  wrote:

> Is @kernels in /var/lib/portage/world_sets?
>

I tested this and I found that the "emerge -n @kernels" did not add
@kernels to /var/lib/portage/world_sets. However, if I manually edited
world_sets and added @kernels then this works as expected.
-- 
Manuel A. McLure WW1FA  
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft


Re: [gentoo-user] Re: HACK: Boot without an initramfs / initrd while maintaining a separate /usr file system.

2019-08-05 Thread Manuel McLure
On Mon, Aug 5, 2019 at 4:53 PM Ian Zimmerman  wrote:

>
> Don't you have to go through some extra hoops (a flag to the mount
> command or something) to mount over a non-empty directory?
>
>
Not in my experience, I've done it many times (sometimes even on purpose :)
)
-- 
Manuel A. McLure WW1FA  
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft


Re: [gentoo-user] UEFI kernel installation?

2019-06-16 Thread Manuel McLure
On Sun, Jun 16, 2019 at 6:02 PM Wols Lists  wrote:

> And those people who wrote your guidelines? Are they the same clueless
> people who believe the twice ram rule is pure fiction? (As I said, it is
> *historical* *fact*). And why should I believe people who tell me the
> rule no longer applies, if they can't tell me WHY it no longer applies?
> I'd love to be enlightened - why can't anybody do that?
>
>
What we call UNIX today is an API, not an implementation, and different
UNIX implementations have completely different internals. You'd be
hard-pressed to find any original UNIX code in any modern UNIX. Linux was
written from scratch to implement the UNIX API, but other than some header
files (the subject of the SCO lawsuits) there is no UNIX code in Linux.

Modern UNIXes don't map the swap pages 1:1 to RAM pages like the original
UNIX code did. Instead they only map the pages that actually need to be
swapped. And some pages, such as executable code, don't get swapped at all
- instead the existing on-disk executable file or shared library file is
used as the "swap". Code and static data pages are also shared between
processes, saving even more RAM.

For example, per IBM for AIX (
https://developer.ibm.com/articles/au-aix7memoryoptimize3/):

"A more sensible rule is to configure the paging space to be half the size
of RAM plus 4GB with an upper limit of 32GB. In systems with more than 32GB
of RAM, or on systems where you are using LPAR and WPAR to help split your
workload, you can be significantly more selective and specific about your
memory requirements."

-- 
Manuel A. McLure WW1FA  
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft


Re: [gentoo-user] Re: Picking out a printer. Questions.

2019-04-27 Thread Manuel McLure
On Sat, Apr 27, 2019 at 2:43 PM Dale  wrote:

> I do have a router, that's what the printer is connected too.  I can't
> recall what it is called but remember the DSL modem is supposed to be
> pretty secure on its own.  I think it can work in bridge mode or
> router/whatever mode.  Now that I think about it, it's in router or
> whatever mode because the login and password goes in the router if I put
> the modem in bridge mode.  I put the router in for two reasons.  One,
> sometimes I have a 2nd puter that needs internet access, usually when I
> am working on someone else's puter.  2nd, it adds another layer of
> security, I would hope anyway.  I've been using this for a good long
> time and nothing weird has happened, yet anyway.  If my DVD tray starts
> sliding in and out, that may require attention.  lol
>
> I went to a website and got it to test my stuff once.  It said it was
> secure.  It's been a while tho.
>

Given the fact that your printer got a 192.168.XXX.XXX address, I would say
there's a 99.999% chance that your router/modem is doing NAT and you don't
have to worry about it.
-- 
Manuel A. McLure WW1FA  
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft


Re: [gentoo-user] Re: Picking out a printer. Questions.

2019-04-22 Thread Manuel McLure
On Mon, Apr 22, 2019 at 7:54 AM Dale  wrote:

> I ended up ordering that Lexmark C2325dw printer.  Given the price of
> the printer itself and the fact that folks on here said it should work,
> and openprinting says it too, I think that is the best printer for what
> I need.  It may get a workout the first few months tho.
>

I'm pretty sure it will work great for you. If you have more that one
computer, you definitely want to look into connecting it via ethernet
instead of USB - that way you can share the printer between any of the
computers that are on the network (Linux, Windows, Mac, even mobile devices
if you have WiFi) very easily. You could also set up a print server using
CUPS (I did that many many years ago before I got a networked printer) but
that's a lot more hassle and requires that the computer running the print
server be running before you start the print.
-- 
Manuel A. McLure WW1FA  
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft


Re: [gentoo-user] Picking out a printer. Questions.

2019-04-21 Thread Manuel McLure
On Sun, Apr 21, 2019 at 11:40 AM Dale  wrote:

> On that note, I thought about going to some lawyers offices and Doctors
> and asking them to let me know when they upgrade their printers.


A lot of those bigger printers/print centers are leased, so you might not
have a lot of luck getting a used one.
-- 
Manuel A. McLure WW1FA  
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft


Re: [gentoo-user] Picking out a printer. Questions.

2019-04-20 Thread Manuel McLure
On Sat, Apr 20, 2019 at 7:59 PM Dale  wrote:

> Manuel McLure wrote:
>
> On Sat, Apr 20, 2019 at 7:12 PM Dale  wrote:
>
>> Howdy,
>>
>> I'm looking at printers.  ...  This is the model.
>> Brother HL-L3270CDW
>>
>
> Looking at the specs for that Brother printer (I don't know why you linked
> to the openprinting.org page for a Lexmark printer) it seems to have the
> most important aspect for Linux compatibility - PCL6 emulation (PostScript
> would also work, but you want to avoid anything that doesn't have one of
> those two). It also has normal port 9100 network connectivity, so it should
> work just fine under Linux for B/W. I can't find anything in the
> Openprinting database for that specific Brother printer, some of the other
> entries for Brother printers say you need a proprietary driver to get color
> out of them. The entry for the *HL-3170* says it works perfectly but gives
> no details. So I'd be a little wary going in.
>
> As for duty cycle, 30,000 pages/month is the same that my old
> built-like-a-tank HP Laserjet 4Mp had, so I wouldn't worry about it. Note
> that the printer is going to come with "starter cartridges" that are only
> good for about 1000 pages, and that the drum is also a consumable that
> needs replacing after 18,000 pages. But 18,000 pages is a lot.
> --
> Manuel A. McLure WW1FA  <http://www.mclure.org>
> ...for in Ulthar, according to an ancient and significant law,
> no man may kill a cat.   -- H.P. Lovecraft
>
>
>
> I think I linked to the wrong page.  I was looking up a lot of printers
> and must have got it mixed up.  Makes me wonder if I picked the wrong
> printer too.  LOL  You are correct tho, it isn't listed.  Time to find
> another printer.
>
> Knowing about the PCL6 part will help.  I didn't know that would be
> important.  Also, I'd rather have one that I can install with CUPS and its
> drivers or HPLIP. It's been a while since I've had a printer and switching
> to laser is something that is new territory as well.
>
> Question.  I see some that are regular laser printers.  Then I see some
> that are laser jet.  Looking up the cartridges it seems to use toner.
> Another reason I want toner based is that if a page gets wet or damp, the
> toner doesn't run like most ink jet printers do.  Am I correct that a laser
> or a laser jet would serve that purpose the same?  It seems it just uses a
> different method to put the toner on the page or something.  I googled and
> what little I found sort of makes me think that would be fine.
>
> I'm open to ideas on this.  I've always bought HP in the past but as long
> as it prints fine with either HPLIP or CUPS, I'm fine with it.  Brother
> would be fine, Lexmark to if it works.  I know some printers are more Linux
> friendly than others.  I honestly wish I could find a used printer locally
> but not sure how to do that around here.
>
> Thanks much for the info.  Me makes note to check that PCL6 in the
> future.  ;-)
>
>
Don't worry about laser vs. Laserjet. "Laserjet" is just HP's name for
their laser printer line. So all HP laser printers are called "Laserjet"
but they're just the same as any other laser printer.

There are actually two ways a "laser" printer can create an image: it can
use a laser (duh) or it can use an array of very small LEDs (mostly Okidata
printers). From a user's perspective, they're both the same. The important
bit is that they project that light onto a photosensitive drum that picks
up toner particles and transfers them to paper, where they get heated and
fused into the paper fibers. This is much the same way photocopiers used to
work (nowadays most photocopiers are just a scanner attached to a laser
printer).

The important bit is the language the printer speaks. There are two main
languages spoken by laser printers: PCL and PostScript. Both are
technically proprietary (PCL is from HP, PostScript is from Adobe) but
there are a lot of printers that emulate these languages. You want to run
far and fast from any printer that supports neither of these languages -
those are generally known as Winprinters and require special drivers.
PostScript is the more "UNIX-compatible" of the two - many programs on
UNIX/Linux will generate PostScript and pass that to CUPS. If the printer
supports PostScript, CUPS can pass the print file straight to the printer,
otherwise it needs to use Ghostscript to convert the Postscript input into
whatever the destination printer supports. Because so many laser printers
either include true PCL (i.e. HP printers) or emulate PCL (like that
Brother) the support for PCL in CUPS is very good. However, I have only
used Ghostscript->PCL with black and white. I don't know exactly what
issues there might be with color 

Re: [gentoo-user] Picking out a printer. Questions.

2019-04-20 Thread Manuel McLure
On Sat, Apr 20, 2019 at 7:12 PM Dale  wrote:

> Howdy,
>
> I'm looking at printers.  ...  This is the model.
> Brother HL-L3270CDW
>

Looking at the specs for that Brother printer (I don't know why you linked
to the openprinting.org page for a Lexmark printer) it seems to have the
most important aspect for Linux compatibility - PCL6 emulation (PostScript
would also work, but you want to avoid anything that doesn't have one of
those two). It also has normal port 9100 network connectivity, so it should
work just fine under Linux for B/W. I can't find anything in the
Openprinting database for that specific Brother printer, some of the other
entries for Brother printers say you need a proprietary driver to get color
out of them. The entry for the *HL-3170* says it works perfectly but gives
no details. So I'd be a little wary going in.

As for duty cycle, 30,000 pages/month is the same that my old
built-like-a-tank HP Laserjet 4Mp had, so I wouldn't worry about it. Note
that the printer is going to come with "starter cartridges" that are only
good for about 1000 pages, and that the drum is also a consumable that
needs replacing after 18,000 pages. But 18,000 pages is a lot.
-- 
Manuel A. McLure WW1FA  
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft


Re: [gentoo-user] start ntpdate after network....

2019-03-10 Thread Manuel McLure
On Sun, Mar 10, 2019 at 3:41 PM Tamer Higazi  wrote:

> Mar 11 00:33:36 localhost systemd[1]: Starting Set time via NTP using
> ntpdate...
> Mar 11 00:33:37 localhost ntpdate[4553]: Exiting, name server cannot be
> used: Temporary failure in name resolution (-3)11 Mar 00:33:37
> ntpdate[4553]: name server cannot be used: Temporary failure in name
> resolution (-3)
> Mar 11 00:33:37 localhost systemd[1]: ntpdate.service: Main process
> exited, code=exited, status=1/FAILURE
> Mar 11 00:33:37 localhost systemd[1]: ntpdate.service: Failed with
> result 'exit-code'.
> Mar 11 00:33:37 localhost systemd[1]: Failed to start Set time via NTP
> using ntpdate.
>

Do you have IPV6 enabled at all on your network? I have seen problems in
the past where the DHCP client (dhcpcd) would return as soon as it got an
IPV6 address so processes that depended on an IPV4 address would fail to
start - in my case I've seen it both with MySQL and with NFS mounts.

The solution (if you're using dhcpcd as your DHCP client) is to add either

waitip 4

or

waitip 4 6

to the end of your /etc/dhcpcd.conf file.

-- 
Manuel A. McLure WW1FA  
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft


Re: [gentoo-user] I want a low-end usb laser printer with minimal config hassle

2018-12-07 Thread Manuel McLure
On Fri, Dec 7, 2018 at 8:12 AM »Q«  wrote:

> I'm looking for recommendations for a low-end laser printer. I don't
> need networking and I'd like to keep things as simple as possible, so
> I'm probably looking for just a usb printer which works with cups.  I'd
> very much prefer one which doesn't require proprietary firmware to be
> loaded or anything to be installed outside of portage.  I'd Duplex
> printing would be a plus, but not necessary.
>
> For reference, if the Brother HL-L2300D works easily with cups, it
> would suit me fine.  (But I don't have any preference of manufacturer
> -- I just happen to have the Brother URL handy as I'm typing this.)
> 
>

The main thing you want to look for is PCL and/or PostScript compatibility.
And I'd highly recommend getting a networked printer that supports Port
9100 instead of a USB one - this allows you to use the same printer for all
of your systems.

The Brother HL-L2370DW (https://www.brother-usa.com/products/HLL2370DW)
seems to be the cheapest Brother that supports PCL.

-- 
Manuel A. McLure WW1FA  
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft


Re: [gentoo-user] iMON remote, evdev, X and Kodi stopped working

2018-01-03 Thread Manuel McLure
On Wed, Jan 3, 2018 at 11:42 AM, Mick  wrote:

>
>
> Sometime in autumn I had a similar symptom with a (non-gentoo) box running
> kodi here.  I had to reprogram the IR remote control handset, but wouldn't
> know how to go about it with yours ...
> --
> Regards,
> Mick


Interesting. After checking out /var/log/emerge.log I'm now confident that
the remote was working after I upgraded to xf86-input-evdev to 2.10.5,
since that happened in March (shortly after it went stable) and I upgraded
nvidia-drivers in October when I changed out the video card and I'm
positive I tested Kodi with the new card and everything worked. I did do a
"emerge -e @world" update to profile 17.0 in early December and that could
have corresponded with the start of the problem, although I think I
remember testing it and everything working.

-- 
Manuel A. McLure WW1FA  
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft


[gentoo-user] iMON remote, evdev, X and Kodi stopped working

2018-01-03 Thread Manuel McLure
Hi all, I'm having a problem with my Kodi system. Unfortunately I don't use
the Kodi system very often (the system also runs as a general server on my
network so most of my work on it is done through ssh) so I don't know
exactly when this happened, but it would have been in the last couple of
months.

The problem is that the iMON IR remote stopped working at some point. I
have an Antec Fusion Remote Black case that uses an iMON LCD and IR
receiver. This was working fine with evdev/X/Kodi but at some point stopped
working, and since I haven't used the Kodi interface for a few months I
don't know exactly what broke it.

It looks like the most interesting information comes from Xorg.0.log:

...
[217569.500] (II) config/udev: Adding input device iMON Remote (15c2:ffdc)
(/dev/input/event4)
[217569.500] (**) iMON Remote (15c2:ffdc): Applying InputClass "evdev
keyboard catchall"
[217569.500] (II) Using input driver 'evdev' for 'iMON Remote (15c2:ffdc)'
[217569.500] (**) iMON Remote (15c2:ffdc): always reports core events
[217569.500] (**) evdev: iMON Remote (15c2:ffdc): Device:
"/dev/input/event4"
[217569.500] (--) evdev: iMON Remote (15c2:ffdc): Vendor 0x15c2 Product
0xffdc
[217569.500] (WW) evdev: iMON Remote (15c2:ffdc): Don't know how to use
device
[217569.600] (EE) PreInit returned 8 for "iMON Remote (15c2:ffdc)"
[217569.600] (II) UnloadModule: "evdev"
...

I've tried googling "evdev Don't know how to use device" but haven't found
anything relevant. Does anyone have any clues about what I could be
missing? It looks like xf86-input-evdev 2.10.5 went stable back in March
2017, and I'm pretty sure that the remote was working after that.

-- 
Manuel A. McLure WW1FA  
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft


Re: [gentoo-user] CFLAGS for both AMD64 and Intel?

2017-12-05 Thread Manuel McLure
On Sun, Dec 3, 2017 at 12:08 AM, Walter Dnes  wrote:

>
> https://gcc.gnu.org/onlinedocs/gcc-6.4.0/gcc/x86-Options.html#x86-Options
> lists what instruction sets gcc expects for any "-march="
>
>   I would suggest rebuilding with...
>
> CFLAGS="-march=nocona -O2 -pipe"
> CPU_FLAGS_X86="mmx sse sse2 sse3"
>
>   nocona was the first Intel cpu to support AMD64 instructions, and it's
> the newest Intel that does not exceed your AMD.  The next Intel cpu, the
> "core2" supports ssse3 which your AMD does not (count the "s"'s... very
> carefully; sse3 != ssse3).
>
>
Thanks! I have successfully rebuilt the system with "-march=nocona -O2
-pipe" (and switched to gcc 6.4.0/profile 17 while I was at it) and
everything seems to be running fine. Hopefully I can pick up a micro-ATX
LGA1156 motherboard for cheap and can do the processor upgrade soon.

-- 
Manuel A. McLure WW1FA  
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft


[gentoo-user] CFLAGS for both AMD64 and Intel?

2017-12-02 Thread Manuel McLure
Here's the situation. I have a system that's been running for many years
with an Athlon 5050e processor. The system is built with

CFLAGS="-march=k8-sse3 -O2 -pipe -msse3"
CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext sse sse2 sse3"

I have the possibility of upgrading the system to a first-generation Intel
Core i5 which should give a nice speed boost, but of course the Intel chip
doesn't understand 3dnow or 3dnowext, so I'll have to do a system rebuild
before I switch out the motherboard/processor. It seems pretty obvious that
I have to take "3dnow 3dnowext" out of CPU_FLAGS_X86, but what CFLAGS would
be recommended for a system that will still run with the AMD processor but
won't fall over when I switch to the Intel processor? Once I have the Intel
in place I can rebuild with options more suited for that chip, but I want
to make sure I don't end up in a catch-22 situation.

-- 
Manuel A. McLure WW1FA  
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft


Re: [gentoo-user] Nvidia Drivers. =(

2017-04-05 Thread Manuel McLure
On Wed, Apr 5, 2017 at 9:53 AM, Alan Grimes  wrote:

> I hit the "view raw" link and used save as... I then copied it into the
> "files" subdirectoy and portage threw a hissy fit and refused to do
> anything because letting the user patch a package is simply
> unthinkable!!! A mere USER, applying a custom patch to one of our
> immaculate packages on HIS OWN COMPUTER??!?!?! UNTHINKABLE!!! So it
> doesn't flash a warning, or a "are you sure?", it just barfs and
> quits.  I then mv ..'d it. and portage completely ignores the file.
> Doesn't match any of the versions I have anyway.
>
> Which gets me back to how wise I was for version-freezing myself at
> 4.6.7...
>
> And yes, I am continuing to call my Ryzen 1800x "tortoise". =P
>
> It looks like you put it in /usr/portage/x11-drivers/nvidia-drivers, not
in  /etc/portage/patches/x11-drivers/nvidia-drivers

>
>

-- 
Manuel A. McLure WW1FA  
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft


Re: [gentoo-user] Changing glibc

2014-08-18 Thread Manuel McLure
One option is to copy the glibc version you want to some other directory
and set LD_LIBRARY_PATH before starting the executable. Running ldd on
all the executables/shared libraries in question should give you a list of
all the shared libraries you might need to copy to a safe place.


On Mon, Aug 18, 2014 at 11:06 AM, Timur Aydin t...@taydin.org wrote:

 Hi,

 I am using a closed source software package on my 64 bit gentoo linux
 system. The software package is beyond compare by scooter soft. Because
 of the way this package is built, it needs a specially patched version of
 glibc. I have patched my existing glibc version (2.18) and have been
 avoiding updating my glibc since. Now I am wondering whether the latest
 update of bcompare will work with the latest glibc (2.19).

 So, if I upgrade to 2.19 and the package doesn't work, how can I go back
 to the working, patched 2.18? I know that portage issues the most scary
 warnings when you try to downgrade glibc. So what does the community
 recommend?

 --
 Timur




-- 
Manuel A. McLure WW1FA man...@mclure.org http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft


Re: [gentoo-user] Tell cron to send email using sender:passwd@host:587 syntax?

2013-11-16 Thread Manuel McLure
On Sat, Nov 16, 2013 at 12:03 PM, Tanstaafl tansta...@libertytrek.orgwrote:

 No...

 I know all about running a local MTA.

 My real question is, why can portage do this (send emails without a local
 MTA installed)?

 Why did the gentoo devs decide to build an smtp client into it capable of
 doing TLS, instead of simply requiring an MTA to be able to email emerge
 logs?


They didn't. The smtp client is part of Python, not part of portage. If
you're developing in Python, you just call Python's mail API and let Python
take care of the mail, instead of calling the local MTA. Easier and faster
development.

Cron is written in C where you don't get mail functionality for free so
it's easier to use the local MTA.

-- 
Manuel A. McLure WW1FA man...@mclure.org http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft


Re: [gentoo-user] system time 6-hr. ahead

2013-05-11 Thread Manuel McLure
For PHP you need to set the date.timezone variable in the php.ini file -
that should fix things. For asterisk I have no clue.


On Fri, May 10, 2013 at 10:31 PM, Joseph syscon...@gmail.com wrote:

 On 05/10/13 23:25, Joseph wrote:

 My computer time reported by asterisk server or php database is 6hr ahead.
 Why?

 My desktop clock is correct, and command line date reporting local time
 as well.
 My /etc/conf.d/hwclock
 clock=local
 clock_hctosys=YES
 clock_systohc=YES

 Should I set clock=UTC?
 I'm running Windows via VirtualBox and I know windows is using local
 time.


 I forgot to mention:
 /etc/timezone
 Canada/Mountain
 --
 Joseph




-- 
Manuel A. McLure WW1FA man...@mclure.org http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft


Re: [gentoo-user] MySQL startup problem - interface does not have an address yet.

2013-01-24 Thread Manuel McLure
On Thu, Jan 24, 2013 at 7:03 AM, Stroller
strol...@stellar.eclipse.co.uk wrote:
 I think, to be rigorous, I would want to test this system (I'm not saying you 
 should keep it this way) by setting the IP address statically for eth1.

 From what I'm understanding, this doesn't sound like a MySQL problem, but a 
 DHCP problem.

You're correct. When I set the interface statically, MySQL starts up
like a champ.

 You're checking the IP address with ifconfig - I believe that is deprecated. 
 I guess at some point you might replace that in your `echo  test.log` 
 scripts with the newer tools, just to make sure they say the same thing. 
 Maybe this is paranoia, but you know what they say about that.

 http://blog.timheckman.net/2011/12/22/why-you-should-replace-ifconfig/

Thanks for the link. I'll definitely check that out.

 ...
 eth1: flags=4163UP,BROADCAST,RUNNING,MULTICAST  mtu 1500
inet6 :::::::  prefixlen 64
 scopeid 0x0global
inet6 :::::  prefixlen 64  scopeid 0x20link

 I don't think these are valid IPv6 addresses. If you're not using IPv6 then I 
 would recommend removing the IPv6 USE flag globally and remerging everything 
 --newuse. This will ensure nothing is depending upon IPv6 or expecting it or 
 waiting for it.

The real addresses are valid, I just didn't want to put them in a
public mailing list message so I edited them. IPv6 on my network
(through a Hurricane Electric tunnel) is working fine.

 The entries for eth1 in /etc/conf.d/net are:

 config_eth1=dhcp
 routes_eth1=239.0.0.0/8

 Is this right?

Yes. The extra route is so that DLNA/uPnP works correctly on my network.

 I could add a delay to the mysql script to ensure startup, but I'd
 rather figure out why the IP address is not yet available even though
 the net.eth1 script has completed. Does anyone have any hints on what
 could be going wrong?

 There are several DHCP clients available in Portage.

 You need to tell us which one you're using.

I did, although it was sort of hidden in the list of upgraded
packages: dhcpcd was upgraded from 5.2.12 to 5.6.4.

 It wouldn't do any harm to experiment with one or two others.

 I think that a busybox version may be installed on some systems, and that 
 this may interfere or misbehave. I don't know if a bug report has been filed 
 for this.6

In any case, I did some more debugging and found that the problem
seems to be an interaction between dhcpcd and IPv6 configuration.  The
latest version of dhcpcd now attempts by default to take over IPv6
stateless configuration instead of letting the kernel take care of it
as happened before. dhcpcd appears to be getting an IPv6 address set
up before the IPv4 configuration is complete, and considers this good
enough to background itself instead of waiting for the IPv4
configuration to be complete. The workaround was to add noipv6rs
(Disable solicition of IPv6 Router Advertisements) to the
/etc/dhcpcd.conf file so that dhcpcd ignores IPv6 configuration. The
kernel still configures IPv6 correctly, and dhcpcd now waits for the
IPv4 configuration to be complete before backgrounding itself.

-- 
Manuel A. McLure WW1FA man...@mclure.org http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft



[gentoo-user] MySQL startup problem - interface does not have an address yet.

2013-01-23 Thread Manuel McLure
I'm having a problem with booting my Gentoo system due to MySQL
hanging at startup. My system is up-to-date stable (including
udev-197, although I believe the problem started while I was still on
171) except for the kernel, which is at 3.1.10 because I can't seem to
get lirc to work correctly on newer kernels. The problem started after
a large system update just before the udev 171 to 197 migration. Among
other upgrades dhcpcd was upgraded from 5.2.12 to 5.6.4, net-tools was
upgraded from 1.60_p20110409135728 to 1.60_p20120127084908, and openrc
was upgraded from 0.9.8.4 to 0.11.8.

For historical reasons, this system has two ethernet adapters, eth0
and eth1. eth0 is not configured any more (it used to be used for IPTV
connectivity to my cable provider for MythTV before they changes their
system.) eth1 is configured via DHCP to an RFC 1918 10.x.x.x address -
the DHCP server is always configured to provide the same IP address
for this system. net.eth1 is symlinked to /etc/runlevels/default.

The boot process starts, configures eth1, starts LCDd, and then
attempts to start MySQL - and hangs for about 15 minutes before
continuing with the boot.

I added several debugging statements to /etc/init.d/mysql and found
that even though the log shows that eth1 got its IP address, when
MySQL attempts to start the interface does not have an IP address
assigned. It's like the net.eth1 script exits before the interface is
completely up.

After the 15 minute hang, the system boots up as usual, except for
MySQL not running. If I then start mysql manually it comes up
immediately.

Here's the rc.log output:

 * Starting D-BUS system messagebus ...
 [ ok ]
 * Bringing up interface eth1
 *   dhcp ...
 * Running dhcpcd ...
dhcpcd[8400]: version 5.6.4 starting
dhcpcd[8400]: eth1: waiting for carrier
dhcpcd[8400]: eth1: carrier acquired
dhcpcd[8400]: eth1: sending IPv6 Router Solicitation
dhcpcd[8400]: eth1: sendmsg: Cannot assign requested address
dhcpcd[8400]: eth1: rebinding lease of 10.x.y.14
dhcpcd[8400]: eth1: acknowledged 10.x.y.14 from 10.x.y.1
dhcpcd[8400]: eth1: checking for 10.x.y.14
dhcpcd[8400]: eth1: Router Advertisement from :::::
dhcpcd[8400]: forked to background, child pid 8454
 [ ok ]
 * received address
 [ ok ]
 *   Adding routes
 * 239.0.0.0/8 ...
 [ ok ]
 * Starting LCDd ...
 [ ok ]
 * Starting mysql ...
 [ !! ]
 * ERROR: mysql failed to start
 * Starting syslog-ng ...
 [ ok ]
 * Mounting network filesystems ...
 [ ok ]

I added the following commands before the start-stop-daemon line in
/etc/init.d/mysql:

date /var/log/mysqlstart.log
netstat -anp | grep 3306 /var/log/mysqlstart.log
ps -efl | grep mysql /var/log/mysqlstart.log
lsof -i @10.x.y.14:3306 /var/log/mysqlstart.log
ifconfig -a /var/log/mysqlstart.log

The output of this was:

Wed Jan 23 09:56:03 PST 2013
0 S root  8497  8290  0  80   0 -  4301 poll_s 09:56 ?
00:00:00 /sbin/runscript /etc/init.d/mysql --lockfd 10 start
4 S root  8498  8497  1  80   0 -  3425 wait   09:56 ?
00:00:00 /bin/sh /lib64/rc/sh/runscript.sh /etc/init.d/mysql start
0 S root  8537  8498  0  80   0 -  2142 pipe_w 09:56 ?
00:00:00 grep mysql
eth0: flags=4098BROADCAST,MULTICAST  mtu 1500
ether 00:22:15:b7:ff:bc  txqueuelen 1000  (Ethernet)
RX packets 0  bytes 0 (0.0 B)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 0  bytes 0 (0.0 B)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
device interrupt 22  base 0xa000

eth1: flags=4163UP,BROADCAST,RUNNING,MULTICAST  mtu 1500
inet6 :::::::  prefixlen 64
scopeid 0x0global
inet6 :::::  prefixlen 64  scopeid 0x20link
ether 00:1b:21:b1:cb:bb  txqueuelen 1000  (Ethernet)
RX packets 9  bytes 1149 (1.1 KiB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 8  bytes 936 (936.0 B)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
device interrupt 18  memory 0xfebe-fec0

lo: flags=73UP,LOOPBACK,RUNNING  mtu 16436
inet 127.0.0.1  netmask 255.0.0.0
inet6 ::1  prefixlen 128  scopeid 0x10host
loop  txqueuelen 0  (Local Loopback)
RX packets 0  bytes 0 (0.0 B)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 0  bytes 0 (0.0 B)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

As you can see, eth1 has no IPV4 address assigned. Once the server
boots (after the 15 minute mysql timeout ends) ifconfig shows the
following:


eth1: flags=4163UP,BROADCAST,RUNNING,MULTICAST  mtu 1500
inet 10.x.y.14  netmask 255.255.255.0  broadcast 10.x.y.255
inet6 :::::::  prefixlen 64
scopeid 0x0global
inet6 :::::  prefixlen 64  scopeid 0x20link
ether 00:1b:21:b1:cb:bb  txqueuelen 1000  (Ethernet)
RX packets 2732  bytes 496650 

Re: [gentoo-user] rsync from ext3 to vfat?

2012-02-17 Thread Manuel McLure
On Fri, Feb 17, 2012 at 1:03 PM, m...@trausch.us m...@trausch.us wrote:
 rsync works just fine with any normal set of options when using any sort
 of FAT as a destination.  There are, of course, a couple of gotchas:

  - FAT has limitations on file sizes.
  - FAT cannot store permissions or ACLs
  - FAT does not support extended attributes

 Other than that, though, you should be good.

Add FAT considers two filenames that are the same except for case as
the same filename to that list. NTFS has the same limitation.
-- 
Manuel A. McLure WW1FA man...@mclure.org http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.                       -- H.P. Lovecraft



Re: [gentoo-user] LVM and LABELS in fstab

2011-11-16 Thread Manuel McLure
On Wed, Nov 16, 2011 at 6:52 PM, Dale rdalek1...@gmail.com wrote:
 OK.  I jumped into LVM.  I took my spare drive, put it to use with LVM.
  Then copied data from my super large drive to it and backed up some to DVDs
 that wouldn't fit.  Then I put the big drive on LVM and put the stuff back.
  Now comes the problem.  I use LABELS in fstab and would like to continue
 that.  I can't figure out how to get the LABEL set for the LVM file system
 tho.  This is my info:


...

 root@fireball / # lvdisplay
  --- Logical volume ---
  LV Name                /dev/data/data1
  VG Name                data
  LV UUID                ZvsgH6-PI0M-NqVd-op9P-Crsy-IEnz-iKoTfp
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                931.00 GiB
  Current LE             238336
  Segments               2
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:0

 root@fireball / #


 I tried e2label since it has ext4 for the file system.  It didn't work and I
 don't know for sure what to point it to for the device.  I can't point to
 the drive itself since there are now two in the setup.

 What am I missing here?  It's simple I'm sure but I'm missing it.

You should be able to use e2label (or tune2fs -L as I do) on the
/dev/data/data1 device to set the filesystem label. That's the logical
volume that the operating system needs to mount.

# tune2fs -L mylabel /dev/data/data1

should do what you need.

I haven't done this with ext4, but I have used LVM with ext2, ext3 and
labels in this fashion.
-- 
Manuel A. McLure WW1FA man...@mclure.org http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.                       -- H.P. Lovecraft



Re: [gentoo-user] /usr/bin/[ and coreutils

2011-10-11 Thread Manuel McLure
On Tue, Oct 11, 2011 at 10:35 PM, William Kenworthy bi...@iinet.net.au wrote:
 I have been checking my system for some deep seated problems and in the
 process, ran across the fact that equery files sys-apps/coreutils-8.7
 shows a file included called /usr/bin/[ - thats right, left square
 bracket!

 Is that a bug or if real, what would you use it for?  It doesnt seem to
 be on the file system ...

 moriah ~ # /usr/bin/[
 /usr/bin/[: missing `]'
 moriah ~ #

 doesnt show much!

'/usr/bin/[' is a synonym for the '/usr/bin/test' utility. It's used
in shell scripts like

if [ -f /etc/passwd ] ; then
  ...

So don't worry. It's supposed to be there.
-- 
Manuel A. McLure WW1FA man...@mclure.org http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.                       -- H.P. Lovecraft



Re: [gentoo-user] hardened-sources reverted to 2.6.39-r8 :(

2011-09-23 Thread Manuel McLure
On Thu, Sep 22, 2011 at 2:27 PM, Francisco Blas Izquierdo Riera
(klondike) klond...@gentoo.org wrote:
 Or you can just get the ebuilds for CVS:
 http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-kernel/hardened-sources/?hideattic=0
 the patches for all those kernels are still there and we won't remove
 them in the near future:
 http://dev.gentoo.org/~blueness/hardened-sources/hardened-patches/

Now why didn't I think of that? Thanks (to you and blueness)!
-- 
Manuel A. McLure WW1FA man...@mclure.org http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.                       -- H.P. Lovecraft



Re: [gentoo-user] hardened-sources reverted to 2.6.39-r8 :(

2011-09-22 Thread Manuel McLure
On Sep 21, 2011 9:13 PM, Francisco Blas Izquierdo Riera (klondike)
klond...@gentoo.org wrote:

 Well deprecated version removal tends to happen because we are not
 going
 to aim for those versions stabilization AND there is a newer version
 available AND upstream tends to ignore bugs happening on older
 versions.

I myself am a little miffed that all gentoo-sources between 2.6.33 and
2.6.37 inclusive were removed from the tree. My MythTV box was running
2.6.35 because it was the highest kernel I could use without having to
move to lirc-0.9.0 (which I have been unable to make work correctly in
multiple attempts.) I had a complete disk failure (LVM won't even
succeed in doing vgchange -ay) and had to rebuild the system, now
I'm stuck back at 2.6.32 :(

I suppose it's time to again see if I can figure out the magic to get
lirc-0.9.0 to work.
-- 
Manuel A. McLure WW1FA man...@mclure.org http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.                       -- H.P. Lovecraft



Re: [gentoo-user] Re: Netatalk 2.2 for Gentoo?

2011-07-29 Thread Manuel McLure
On Fri, Jul 29, 2011 at 12:20 PM, Hartmut Figge h.fi...@gmx.de wrote:
 Ralph Seichter:

 as a Mac user who recently began migrating machines to OS X Lion, I am
 wondering if some kind soul is already working on net-fs/netatalk 2.2.0
 for Gentoo?

 https://bugs.gentoo.org/show_bug.cgi?id=353177

 Hartmut

FYI, netatalk 2.1.5 for AFP (I don't use anything else) is working for
me here with OS X Lion.
-- 
Manuel A. McLure WW1FA man...@mclure.org http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.                       -- H.P. Lovecraft



Re: [gentoo-user] How's the openrc update going for everyone?

2011-05-13 Thread Manuel McLure
On Fri, May 13, 2011 at 9:31 AM, William Hubbs willi...@gentoo.org wrote:
 That error message comes from iproute2, so it looks like you hit this
 bug:

 http://bugs.gentoo.org/show_bug.cgi?id=366905

 In a nutshell we are trying to convert ifconfig syntax to iproute2
 syntax, but we do not do it correctly in this case.

 The consensus on the dev list seems to be that it is fine to stop doing
 that, so at some point in the future, probably a release coming up soon,
 the syntax of config_* lines will have to match the tool you are using
 to configure the interfaces.

That looks like it. I fixed it by going to /NN notation, but it should
probably be documented in the conversion guide. I was lucky that I
didn't decide to do the upgrade remotely and had a console to work
with because neither network interface came up due to that error.
-- 
Manuel A. McLure WW1FA man...@mclure.org http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.                       -- H.P. Lovecraft



Re: [gentoo-user] How's the openrc update going for everyone?

2011-05-12 Thread Manuel McLure
Just ran into a gotcha with my main server upgrade to
openrc/baselayout2 - it appears that the old ifconfig network syntax
no longer works. I kept getting the message:

Error: either local is duplicate, or netmask is garbage

until I changed the syntax from

config_eth0=XX.YY.ZZ.WW broadcast XX.YY.ZZ.255 netmask 255.255.255.0

to

config_eth0=XX.YY.ZZ.WW/24

The other syntax worked in baselayout1.
-- 
Manuel A. McLure WW1FA man...@mclure.org http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.                       -- H.P. Lovecraft



Re: [gentoo-user] How's the openrc update going for everyone?

2011-05-10 Thread Manuel McLure
On Tue, May 10, 2011 at 2:55 PM, Dale rdalek1...@gmail.com wrote:
 I was curious, what's the results of the openrc update for people that have
 done theirs?  Is it pretty simple and just works or are there issues?  I'm
 mostly interested in x86 and amd64 since that is what I have.  Just a simple
 works here and I'm X86 or amd64 would be nice.  List issues if you had any.

On my dedicated MythTV box, the major problem I had was that neither
net.eth0 nor net.eth1 started up once I deleted /etc/conf.d/rc and
went to /etc/rc.conf. This is possibly due to the hotplug settings
which IMHO weren't clear in /etc/rc.conf. Fixed by simply adding
net.eth0 and net.eth1 to the default runlevel and everything is fine
now.

I think that a guide specifying exactly how to migrate from
/etc/conf.d/rc to rc.conf, setting by setting, would be good. Please
read through /etc/rc.conf and /etc/conf.d/rc and migrate the settings
doesn't cut it when the syntax and semantics of some settings are so
different. Also, I'm accustomed to having configuration files show the
default value commented out, but for example in this case the
commented out value was

#rc_hotplug=*

which was the exact opposite of the default which is !*.
-- 
Manuel A. McLure WW1FA man...@mclure.org http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.                       -- H.P. Lovecraft



Re: [gentoo-user] Qt3 deprecated, but Qt4 still not x86 (only ~x86)???

2010-02-10 Thread Manuel McLure
On Wed, Feb 10, 2010 at 11:47 AM, Neil Bothwick n...@digimed.co.uk wrote:
 Upgrading from 0.21 to 0.22 was painless AFAIR. I made a backup of the
 database but didn't need. You do need to upgrade all backends and
 frontends at the same time, but then it's just a matter of restarting
 them and you're OK. I did emerge --onlydeps mythtv  emerge -B mythtv
 first so that I could then run emerge -k mythtv on the server to minimise
 the time it was down.

It can be painless, but you could also run into the corrupt database
encoding problem on Gentoo. I did, and had to follow the steps at
http://www.mythtv.org/wiki/Fixing_Corrupt_Database_Encoding to fix a
partial corruption before the upgrade would succeed.

However, I'm quite happy with the behavior and performance of 0.22, so
it was definitely worth the pain.
-- 
Manuel A. McLure WW1FA man...@mclure.org http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft



Re: [gentoo-user] Buying a low-cost printer for Linux

2008-12-03 Thread Manuel McLure
On Wed, Dec 3, 2008 at 7:44 PM, Mark Knecht [EMAIL PROTECTED] wrote:
 Does anyone have a good way of figuring out what printers that you can
 actually buy in the retail market place actually have support in
 Linux? I sure don't.

Almost all HP printers are well-supported in Linux using the hplip
open source drivers which act as a backend to CUPS and are developed
with help from HP. hplip also supports features such as scanning on
all-in-ones. hplip is available in most modern distributions. For a
complete list of supported printers, go to
http://hplipopensource.com/hplip-web/supported_devices/index.html  -
there are over 1500 printers listed. In fact, there are less than 20
HP printers that _aren't_ supported by the hplip drivers!

Thanks to HP's support of open source drivers for their printers I
don't look anywhere else when deciding on a printer to buy.

-- 
Manuel A. McLure WW1FA [EMAIL PROTECTED] http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft



Re: [gentoo-user] k3b demands audio support

2008-03-04 Thread Manuel McLure

On Tue, 4 Mar 2008 17:07:52 -0500, Philip Webb [EMAIL PROTECTED]
wrote:
 Can anyone explain why K3b demands audio support, but Xcdroast doesn't ?
 
   root: root emerge -pv k3b
 
   These are the packages that would be merged, in order:
 
   Calculating dependencies... done!
   [ebuild N ] media-sound/cdparanoia-3.10_pre0  148 kB
   [ebuild N ] media-libs/libsamplerate-0.1.2-r1  USE=-fftw -sndfile 692
 kB
   [ebuild N ] media-libs/taglib-1.4-r1  USE=-debug 716 kB
   [ebuild N ] dev-util/cmake-2.4.6-r1  USE=-emacs -vim-syntax 2,544 kB
   [ebuild N ] sys-libs/libcap-1.10-r11  USE=python 39 kB
   [ebuild N ] media-sound/normalize-0.7.7  USE=-audiofile -mad -nls 380
 kB
   [ebuild N ] app-cdr/cdrkit-1.1.6  USE=-hfs unicode 1,375 kB
   [ebuild N ] app-cdr/cdrdao-1.2.2  USE=-debug -encode -gnome -pccts
 1,376 kB
   [ebuild N ] app-cdr/k3b-1.0.4  USE=-alsa -arts -css -debug -dvdr
 -dvdread -emovix -encode -ffmpeg -flac hal -mp3 -musepack -musicbrainz
 -sndfile -vcd -vorbis -xinerama LINGUAS=-af -ar -bg -br -bs -ca -cs -cy
 -da -de -el -en_GB -es -et -eu -fa -fi -fr -ga -gl -he -hi -hu -is -it
-ja
 -ka -lt -mk -ms -nb -nds -nl -nn -pa -pl -pt -pt_BR -ru -rw -se -sk -sr
 [EMAIL PROTECTED] -sv -ta -tr -uk -uz -zh_CN -zh_TW 4,996 kB

[SNIP]

 
 The extra pkgs required by K3b all involve audio.
 I have no sound support in my kernel.

I don't think any of those require that you have audio support in your
kernel. They're sound file manipulation packages and audio CD
ripping/recording packages, not sound playback/recording packages.

-- 
Manuel A. McLure WW1FA [EMAIL PROTECTED] http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft


-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] KDE 3.5

2006-05-26 Thread Manuel McLure

Anthony E. Caudel wrote:
I see that KDE 3.5 finally made it out of testing.  I plan to upgrade to 
it but since it is slotted, I'll have to unmerge 3.4 first.  No problem, 
but I think I will then have to recompile all non-kde but related apps, 
such a k3b, that were compiled against the old libraries.  Right?


Using equery useflag kde, I found k3b and amarok (and gnome-libs ).

So, my question is:  Is this all?  I can't believe these are all the 
semi-kde apps there are?  Does the fact that it does not use the kde 
flag guarantee that it does not need the kde libraries?


Course, I guess I could blithely go along and as apps crash, I'll find 
the others.


Just do a revdep-rebuild after merging 3.5 and unmerging 3.4 - that 
should rebuild anything that lost libraries.



--
Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Web mail

2006-05-03 Thread Manuel McLure
 Nick Rout wrote:
 I am running courier as well.  I haven't tried dovecot.  My largest
 folder has about 75 emails so I guess performance should be fine.
 I am the opposite and delete everything.  It has come to bite me in the
 bum many times.  I need to start saving emails.

I *just* (as in an hour or so ago) upgraded from courier-imap to dovecot.
On large folders (1000+ messages) dovecot is *much* faster. I'd say around
5x faster when bringing up the folder in Squirrelmail.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Web mail

2006-05-03 Thread Manuel McLure

JimD wrote:

Manuel McLure wrote:


I *just* (as in an hour or so ago) upgraded from courier-imap to dovecot.
On large folders (1000+ messages) dovecot is *much* faster. I'd say 
around

5x faster when bringing up the folder in Squirrelmail.



Any major changes in setup?  Any quirks with your fav. client?


A couple. First of all you won't find your subscribed folders unless you 
copy courierimapsubscribed to subscriptions, and edit this to remove 
INBOX. from the start of each folder name. Second, it won't allow 
plain-text authentication over a non-SSL connection unless you change a 
configuration setting. This doesn't apply to 127.0.0.1 so SquirrelMail 
still works fine, but if you have non-encrypted IMAP on your internal 
network, you either want to go encrypted or specifically allow plaintext 
logins. Otherwise it's working beautifully.


--
Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] openvpn multiple tunnels

2006-04-27 Thread Manuel McLure
 Used to be you could have multiple tunnels open with vpn.  when it changed
 to
 require /etc/openvpn/openvpn.conf, instead of launching all the tunnels, i
 can no longer figure out how to open multiple tunnels.  the docs seem to
 mention an /etc/conf.d/openvpn file, but that didn't get created on my
 system
 and i can't find any reference to the format/options.  can someone point
 me
 to a readme or howto on how to start a particular tunnel?

What you need to do is create a tunnelname.conf file for your second
tunnel, and then link /etc/init.d/openvpn to /etc/init.d/tunnelname.
Then you can start the second tunnel with either /etc/init.d/tunnelname
start, or by using rc-update to add tunnelname to the runlevel of your
choice. For example:

cp /etc/openvpn/openvpn.conf /etc/openvpn/homevpn.conf
vi /etc/openvpn/homevpn.conf
ln -s openvpn /etc/init.d/homevpn
rc-update add homevpn default
/etc/init.d/homevpn start

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] drupal / php

2006-04-19 Thread Manuel McLure
 On Mon, Apr 17, 2006 at 05:25:57PM +0100, Uwe Thiem wrote:
 I can't remember setting anything special, mysql or postgesql support in
 php is required to get anything useful. I didn't use the drupal package
 from gentoo, because it doesn't match the latest bug-fixed version of
 drupal.

Although Drupal itself works with PostgreSQL, many of the add on modules
for it (such as the Mailhandler modules) suffer from MySQL myopia - I
tried to get a good Drupal setup with PostgreSQL and gave up.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] nvidia-kernel

2006-04-09 Thread Manuel McLure

Tamas Sarga wrote:

So yes, the ebuild is there, but
#equery l -p nvidia-kernel
[ Searching for package 'nvidia-kernel' in all categories among: ]
* installed packages
[I--] [M ] media-video/nvidia-kernel-1.0.8178-r3 (0)
* Portage tree (/usr/portage)
[-P-] [ -] media-video/nvidia-kernel-1.0.6111-r3 (0)
[-P-] [ -] media-video/nvidia-kernel-1.0.6629-r5 (0)
[-P-] [M~] media-video/nvidia-kernel-1.0.7167-r1 (0)
[-P-] [M~] media-video/nvidia-kernel-1.0.7174-r2 (0)
[-P-] [M~] media-video/nvidia-kernel-1.0.7667 (0)
[-P-] [M~] media-video/nvidia-kernel-1.0.7676-r1 (0)
[-P-] [M~] media-video/nvidia-kernel-1.0.8174-r1 (0)
[-P-] [ ~] media-video/nvidia-kernel-1.0.8756 (0)


Something's strange with your portage tree. I just did the same after a 
sync:


$ equery l -p nvidia-kernel
[ Searching for package 'nvidia-kernel' in all categories among: ]
 * installed packages
[I--] [ ~] media-video/nvidia-kernel-1.0.8756 (0)
 * Portage tree (/usr/portage)
[-P-] [ -] media-video/nvidia-kernel-1.0.6111-r3 (0)
[-P-] [ -] media-video/nvidia-kernel-1.0.6629-r5 (0)
[-P-] [ ~] media-video/nvidia-kernel-1.0.7167-r1 (0)
[-P-] [ ~] media-video/nvidia-kernel-1.0.7174-r2 (0)
[-P-] [ ~] media-video/nvidia-kernel-1.0.7667 (0)
[-P-] [ ~] media-video/nvidia-kernel-1.0.7676-r1 (0)
[-P-] [ ~] media-video/nvidia-kernel-1.0.8174-r1 (0)
[-P-] [ ~] media-video/nvidia-kernel-1.0.8178-r3 (0)

Are you sure you don't have anything in /etc/portage/package.mask that 
may be blocking?


Also, try emerge --metadata to rebuild the portage cache.

--
Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] sudo difficulties

2006-04-05 Thread Manuel McLure

Grant wrote:

I actually tried that first and when that failed I tried something
like that specified here:

www.gentoo.org/doc/en/sudo-guide.xml

Either way I get:

[EMAIL PROTECTED] ~ $ /sbin/shutdown -h now
shutdown: you must be root to do that!


Try

sudo /sbin/shutdown -h now

instead.

--
Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Issues with Dependencies

2006-03-31 Thread Manuel McLure

Lord Sauron wrote:

Hi, I'm having a bit more trouble.

I'm trying to re-compile KDE so that maybe some functionality which
didn't compile right the first time will work.  However, it says I've
got some broken dependencies.

localhost ~ # emerge --pretend kde

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[blocks B ] =kde-base/kbounce-3.4* (is blocking kde-base/kdegames-3.4.3)
[blocks B ] =kde-base/libkdegames-3.4* (is blocking kde-base/kdegames-3.4.3)
[blocks B ] =kde-base/kdemultimedia-kioslaves-3.4* (is blocking
kde-base/kdemultimedia-3.4.3)
[blocks B ] =kde-base/kdemultimedia-arts-3.4* (is blocking
kde-base/kdemultimedia-3.4.3)
[blocks B ] =kde-base/libkcddb-3.4* (is blocking
kde-base/kdemultimedia-3.4.3)
[blocks B ] =kde-base/klaptopdaemon-3.4* (is blocking
kde-base/kdeutils-3.4.3-r1)
[blocks B ] =kde-base/kommander-3.4* (is blocking
kde-base/kdewebdev-3.4.3-r1)
[blocks B ] =kde-base/kxsldbg-3.4* (is blocking kde-base/kdewebdev-3.4.3-r1)
[blocks B ] =kde-base/kfilereplace-3.4* (is blocking
kde-base/kdewebdev-3.4.3-r1)
[blocks B ] =kde-base/klinkstatus-3.4* (is blocking
kde-base/kdewebdev-3.4.3-r1)
[blocks B ] =kde-base/kimagemapeditor-3.4* (is blocking
kde-base/kdewebdev-3.4.3-r1)
[blocks B ] =kde-base/quanta-3.4* (is blocking kde-base/kdewebdev-3.4.3-r1)


It looks like you installed KDE originally using the split ebuilds - 
i.e. kde-meta instead of kde. Try


emerge --pretend kde-meta

and see if that doesn't give blocking messages. I expect it won't.


--
Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Card games in portage

2006-03-28 Thread Manuel McLure

Neil Bothwick wrote:

On Tue, 28 Mar 2006 17:03:26 -0500, Philip Webb wrote:



I've always been amazed that there's no pgm to play Bridge on UNIX.



There's abridge - http://www.abridgegame.org/ - for playing online, or
did you me something to play against the computer?


In the commercial arena, there's GIB (Ginsberg's Intelligent 
Bridgeplayer) at www.gibware.com - I personally haven't tried it, but 
they do provide a Linux version.



--
Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT: Monitor resolutions

2006-03-27 Thread Manuel McLure

JimD wrote:

Does anyone know whey monitor resolutions go:

1024x768, 1152x864, 1280x1024

Shouldn't that last number be: 1280x960?  I have a 17 and a 19 LCD and
I have been wondering why both do 1280x1024 by default.


Mostly history, I think. However, most monitors and video cards will do 
1280x960 just fine so you can have your high resolution and square 
pixels too :) I use that resolution regularly for gaming (if 1600x1200 
taxes my video card too much.)



--
Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT: Monitor resolutions

2006-03-27 Thread Manuel McLure

JimD wrote:

OK, I switched to 1280x960 and noticed something weird.  Here is the
xdpyinfo for both resolutions.

1280x1024:
screen #0:
  print screen:no
  dimensions:1280x1024 pixels (339x271 millimeters)
  resolution:96x96 dots per inch
  depths (7):24, 1, 4, 8, 15, 16, 32

1280x960:
screen #0:
  print screen:no
  dimensions:1280x960 pixels (339x271 millimeters)
  resolution:96x90 dots per inch
  depths (7):24, 1, 4, 8, 15, 16, 32

Why is the dpi hosed when it is at 1280x960?


The dpi is calculated from the size that the monitor reports 
(339mmx271mm) and the number of dots across and down. It appears that at 
1280x1024 the monitor is reporting square pixels, and at 1280x960 it 
reports tall pixels.


If the 339x271 millimeters is correct, that means that the display is 
a little taller than the standard 4:3 ratio (which would give 339x254) - 
perhaps 1280x1024 *is* the correct resolution for this monitor. I'd 
measure the physical dimensions of the monitor and if the ratio is 5:4 
instead of 4:3, use the 1280x1024 resolution. I did some research and it 
appears that this is the case for at least some LCD 1280x1024 monitors 
(for example the ViewSonic 17 has a viewable area of 13.3 (horizontal) 
X 10.6 (vertical); 17.0 diagonal which works out to 4:5 - the 
ViewSonic 19 monitors also have a 5:4 ratio.)


So it's probably best to run at the native resolution.

--
Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What's bringing in Mozzilla?

2006-03-26 Thread Manuel McLure

Ernie Schroder wrote:


[ebuild U ] net-www/mplayerplug-in-3.21 [2.80] -gecko-sdk +gtk 204 kB
[ebuild  N]  www-client/mozilla-firefox-1.0.7-r4  -debug -gnome +ipv6 
+java -mozcalendar -mozdevelop -moznoxft -mozsvg +truetype -xinerama -xprint 
32,131 kB

[ebuild U ]   www-client/mozilla-launcher-1.49 [1.45] 5 kB


As other have said, mplayer-plugin wants to pull in mozilla-firefox. The 
reason for this is that it needs the Mozilla source libraries to build 
against. One workaround for this is to do


echo net-www/mplayerplug-in   gecko-sdk /etc/portage/package.use

This will make mplayerplug-in pull in net-libs/gecko-sdk instead 
(gecko-sdk is the minimal portion of the Mozilla libraries required to 
build plugins.)


--
Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] got lprng?[SOLVED]

2006-03-01 Thread Manuel McLure

maxim wexler wrote:

This didn't quite do it. But I followed the lprng link
at linuxprinting.org and came across the sample
printcap there which I adapted and...success! Except
for the part where I actually understand what's going
on :^(


Well, I'm glad it's all finally working for you. I know just how 
frustrating it can be to figure out stuff like this.


--
Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: cups and ghostprint ESP

2006-02-21 Thread Manuel McLure
On Tuesday 21 February 2006 22:12, Harry Putnam wrote:
 No, I didn't have but I installed it after seeing your message.
 Restarted cups and see no improvement.  The logs still say the bit
 bout ESP ghostscript.

 D [22/Feb/2006:00:10:23 -0600] Job 27 hold_until = 0
 D [22/Feb/2006:00:10:23 -0600] StartJob(27, 0x8088d30)
 D [22/Feb/2006:00:10:23 -0600] StartJob() id = 27, file = 0/1
 E [22/Feb/2006:00:10:23 -0600] Unable to convert file 0 to printable format
 for job 27! I [22/Feb/2006:00:10:23 -0600] Hint: Do you have ESP
 Ghostscript installed? D [22/Feb/2006:00:10:23 -0600] CancelJob: id = 27

What type of file are you trying to print? I wonder if there's no defined 
filter chain for that mime type... the error message may be misleading.

-- 
Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] fbsplash starting after local and not during boot

2006-02-17 Thread Manuel McLure

On 17 February 2006 17:35, Marco Calviani wrote:

Since we're here and you're expert in this field, i would like to ask
you if, like me, you experience problem in deleting the
/etc/splash/default symlink:

# rm -rf default/
rm: cannot remove `default/': Not a directory


Remove the trailing / :

# rm -rf default

That will delete the symlink.

--
Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] still can't print

2006-02-12 Thread Manuel McLure
On Sunday 12 February 2006 11:05, maxim wexler wrote:

 127.0.0.1   localhost   sarawak
 # IPV6 versions of localhost and co

Try

127.0.0.1 sarawak localhost

(i.e. list the hostname of the machine first)
-- 
Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: CUPS not allowing configuration from browser

2006-02-10 Thread Manuel McLure

Mark Knecht wrote:

Hi Manuel,
   Thanks very much. This has been helpful. However what we're finding
is to completely use lpstat and lpoptions on printers out on the
network, as well as the printer admin app within Gnome, we must have
cupsd running locally. Other than that everything now works. Granted
we cannot 'manage' the remote printers from our local cupsd
localhost:631, but we are allowed to look at the Job Queue on the
remote printers using CUPS on the local machine. I suspect that will
be suffucient for our needs.


Glad it's working for you. I'd be interested in knowing what lpoptions 
aren't available without a local CUPS daemon, though. I've had no issues 
printing using just client.conf, although my setup is KDE-centric rather 
than Gnome-centric.



--
Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: CUPS not allowing configuration from browser

2006-02-09 Thread Manuel McLure

Mark Knecht wrote:

Hi Brett,
   Yes, I zapped it and tried restarting it but I get complaints.



Try

pgrep cupsd

and see if there's a PID listed. If so, do

pkill cupsd
/etc/init.d/cupsd zap
/etc/init.d/cupsd start

What's probably happened is that etc-update updated the 
/etc/init.d/cupsd script so it changes the location where it stores the 
PID it has to kill when you do a stop, therefore running 
/etc/init.d/cupsd fails to kill the actual cupsd process. Since a cupsd 
is already running (the old cupsd) you can't start a new one since 
they'd compete for ports.


For this reason I usually do a /etc/init.d/service stop before 
allowing etc-update to update any file in /etc/init.d, and then start it 
again after the update.



--
Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: CUPS -- fails better!

2006-02-01 Thread Manuel McLure

maxim wexler wrote:

What I would try is to set up another printer queue,
using Raw Printer 
- this makes cups get out of the way as much as it
can (even more than 
-l would do.)



Not sure, but if you mean 


sarawak heathen # cat cups_error  /dev/lp0

then the result is as before: some noise followed by a
blinking trouble light.


Try

cat cups_error | unix2dos /dev/lp0

If that works, then a raw queue in CUPS will work as well. Set up a new 
queue in CUPS and define the printer make as Raw and the model as Raw 
Queue. Then you can use


cat cups_error | unix2dos | lpr -Praw_queue

and it should work. The only thing that worries me is that perhaps you 
wouldn't get a form feed at the end of the print job to eject the page. 
Somewhere or other I have a little C program I wrote to handle all of 
this conversion - I'll send it if I find it.	


It does seem that CUPS has an everything should be Postscript view of 
the world and does not handle plain text printing as smoothly as it 
should (instead it converts text to postscript and then converts that to 
raster for printing.) It doesn't bother me, but I don't have your 
printing needs. You *could* use the standard CUPS 
text-postscript-raster functionality, but I expect that it would be a 
*lot* slower than plain text printing. Perhaps you should try lprng 
instead of CUPS as your print spooler - it may be a better option for 
what you're trying to do.


--
Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] CUPS -- fails better!

2006-01-29 Thread Manuel McLure
On Sunday 29 January 2006 10:54, maxim wexler wrote:

  One option to solve this is to emerge unix2dos and
  use the following command
  line:
 
  unix2dos filetoprint.txt | lp -l

 After removing and re-installing cups and installing
 unix2dos got this:

 [EMAIL PROTECTED] ~ $ unix2dos environment | lpr -l
 unix2dos: converting file environment to DOS format
 ...
 unix2dos: problems converting file environment
 lpr: error - scheduler not responding!

 I was sure it was because I had neglected to go to
 localhost631 first but
 trying to open the page in firefox got connection
 refused error.

 Only thing that comes to mind is that when I did
 emerge -pv cups it said some file(can't recall which)
 was being blocked by xpdf which I don't use so I
 removed it and cups went in OK. Long shot.

Sounds like cups wasn't started - does /etc/init.d/cups restart show any 
errors?

The command line to unix2dos may need to be

  unix2dos environment | lpr -l

or

  cat environment | unix2dos | lpr -l

-- 
Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] CUPS -- fails better!

2006-01-29 Thread Manuel McLure
On Sunday 29 January 2006 11:08, maxim wexler wrote:
 It was poppler. googling cups + poppler revealed this:

 http://www.gentoo.org/security/en/glsa/glsa-200512-08.xml?style=printable

 Have I swapped one problem for another?

The GLSA shows that newer versions of poppler have the security hole fixed, so 
as long as you're up to date you shouldn't have an issue.

-- 
Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] vim USE flag: vim-with-x

2006-01-27 Thread Manuel McLure

Walter Dnes wrote:

  Let me re-iterate what I'm trying to do...
  - In X, highlight a text string (e.g. a URL) in Firefox
  - hit {CTRL}{ALT}{F1}, taking me to a *REAL TEXT CONSOLE* running mutt
or slrn, with vim as the editor
  - paste the complex URL directly into a message I'm composing with vim


I don't think that will work - I think there's no communication between 
X and text consoles. What vim-with-x would allow you to do is paste into 
a vim session running in an xterm, not one running on the console.


--
Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Error message on kde startup

2006-01-24 Thread Manuel McLure

Paul wrote:

Hi all,
Recently I had to update about 24 packages, all went well and any config files 
were updated.  However, I now have a problem when kde starts, I get an 
error-kdesktop message saying The KDE Mediamanager is not running  In the 
control Centre - Service Manager under startup Services the KDED Media 
Manager has a status of Not Running.  If I try to start it manually I just 
get a message saying Unable to start service.


I just don't know what to try next -  any suggestions?


Just got this last night - the problem is that the new dbus/hal changed 
the shared library they use. revdep-rebuild should solve the problem (in 
my case it made me rebuild kioslaves and k3b.)



--
Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Squirrelmail doesn't work after recent PHP upgrade

2006-01-24 Thread Manuel McLure

Michael Sullivan wrote:

I'm having some trouble with Squirrelmail since the recent PHP upgrade.
On almost every folder I click on in Squirrelmail (including the Inbox),
I get this:

Fatal error: Only variables can be passed by reference
in /var/www/localhost/htdocs/squirrelmail/functions/imap_messages.php on
line 480


Upgrade to the ~x86 version of squirrelmail (1.4.5-r1) - it includes a 
patch specifically for this issue.



--
Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] trouble with CUPS

2006-01-20 Thread Manuel McLure
On Friday 20 January 2006 15:46, Statux wrote:
 I, personally, refuse to use CUPS because I can't get it to do raw
 text-only printing (ala my Oki Microline 320 Turbo). I use LPRng
 instead :/

This is definitely possible with CUPS - just create a queue and select Raw 
for make and Raw Queue for model. I do it to share an inkjet over Samba so 
that Windows programs can send ESCP/2 data directly. Or add -l or -oraw 
to your lpr command line.

-- 
Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT: need text viewer with delete and multiple files

2005-12-13 Thread Manuel McLure

Ben wrote:

vim.  There's probably other (better) ways, but:

:!rm $filename
:n!

The first line tells vim to execute the shell command rm, you have to give it 
the filename, but that's displayed in the buffer anyway (or you can get it 
with ^G).


Try:

:!rm %

% in a shell escape gets replaced with the name of the current file.

--
Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] system stopped booting

2005-12-09 Thread Manuel McLure

Michael George wrote:

On Mon, Dec 05, 2005 at 09:57:47PM +0100, [EMAIL PROTECTED] wrote:


About a week later, I booted it and it wouldn't boot.  It got stuck at
configuring system to use udev and never gets okay.  I just sits there
for ever.


My system hangs at this point quite often. I have no idea why - it seems to be quite random but if I try 
again I usually get it to boot. I take it your system never gets past this line on boot?



correct.  I've left it for minutes several times.  Never goes beyond...



Take a look at the following link - it's a known bug in udev and LDAP. 
The workaround is listed in the bug notes.


http://bugs.gentoo.org/show_bug.cgi?id=99564

--
Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out?

2005-11-29 Thread Manuel McLure

Timur Aydin wrote:

Having the exact same copy on each system does not sound
correct. There should be a localhost alias in each /etc/hosts and it
should point to the IP address of the relevant machine.


No. Nononono. localhost should always point to 127.0.0.1.

--
Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Directory directive inside VirtualHost

2005-11-27 Thread Manuel McLure
On Saturday 26 November 2005 23:00, Joseph wrote:
 Any Apache guru on the list?

 Is Directory directive permitted inside VirtualHost directive?
 example from Gentoo /etc/apache2/vhosts.d/00_default_vhost.conf file:

 VirtualHost *:80
Directory /var/www/localhost/htdocs
 .
 .
/Directory
 /VirtualHost

 If I comment out the #VirtualHost directive, the Directory directive
 (along with all its parameter (mainly AllowOveride All)  is working.
 But the default setup that came after Gentoo conversion to new standards
 is preventing for example: AllowOveride All inside Directory directive
 to take effect.

 --
 #Joseph

It should work fine - I have this in 
my /etc/apache2/vhosts.d/01_external_vhost.conf file:

VirtualHost mclure.org:80
ServerName www.mclure.org
DocumentRoot /var/www/external/htdocs
ScriptAlias /cgi-bin/ /var/www/external/cgi-bin/
Directory /var/www/external/htdocs
Options -Indexes Includes FollowSymLinks
Order allow,deny
Allow from all
AcceptPathInfo on
AllowOverride all
php_value include_path /var/www/external/phpinc:.:/usr/lib/php
/Directory
Directory /home/bev/html
Options -Indexes Includes FollowSymLinks
Order allow,deny
Allow from all
AcceptPathInfo on
AllowOverride all
php_value include_path /var/www/external/phpinc:.:/usr/lib/php
/Directory
Alias /bev /home/bev/html
Directory /var/www/external/cgi-bin
AllowOverride None
Options None
Order allow,deny
Allow from all
/Directory
AddType text/html .shtml
AddHandler server-parsed .shtml
AddType application/octet-stream .iso
ErrorDocument 404 /errordocs/404.php
ErrorDocument 403 /errordocs/403.php
/VirtualHost
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mplayerplug-in downloads but doesn't play

2005-11-27 Thread Manuel McLure
On Sunday 27 November 2005 07:51, Mark Knecht wrote:
 Does anyone have this problem? I click a link, such as on the page I
 put in this email, I get a new Firefox window, mplayerplug-in seems to
 be downloading, but then never plays. If I look at processes using top
 and ps aux I do not see mplayer at all.

 http://blog.dis-dot-dat.net/2005/11/more-music.html

 There are ogg and mp3 links to try.

What version of mplayerplug-in are you running? I *greatly* recommend using at 
least 3.11 (which is still marked ~x86) - it's the first that works really 
well for me (the earlier releases would crash firefox when you left the page 
with the video on it.) I'd also see the problem you see with earlier versions 
- the page would appear to download the video but nothing would happen.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mplayerplug-in downloads but doesn't play

2005-11-27 Thread Manuel McLure
On Sunday 27 November 2005 11:03, Manuel McLure wrote:
 What version of mplayerplug-in are you running? I *greatly* recommend using
 at least 3.11 (which is still marked ~x86) - it's the first that works
 really well for me (the earlier releases would crash firefox when you left
 the page with the video on it.) I'd also see the problem you see with
 earlier versions - the page would appear to download the video but nothing
 would happen.

Following up on my own email, apparently 3.15 is problematic. Stay with 3.11.
-- 
gentoo-user@gentoo.org mailing list



Re: default stage3 (was : [gentoo-user] Is Gentoo still on the right path?)

2005-11-22 Thread Manuel McLure

Neil Bothwick wrote:

Try plugging in a wireless NIC. It's not hard to set on up manually when
you know what you are doing, but other distros will take care of this
automatically.


Perhaps if you're using WEP it's easier on a binary distro, but if 
you're using WPA-PSK it's a lot easier on Gentoo. Just edit 
wpa_supplicant.conf to enter your pre-shared key, and add


modules=(wpa_supplicant)
wlan0=(dhcp)

in /etc/conf.d/net

The other distros I tried all had long HOWTOs (complete with editing 
system scripts as opposed to just editing configuration files) on how to 
make sure wpa_supplicant would start before the interface came up.



--
Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] kdelibs-3.4.1-r1 build fails

2005-11-22 Thread Manuel McLure

Ernie Schroder wrote:
OK I haven't updated this box in 10 months and finally decided to spend some 
time on maintainance. I successfully ran emerge -u system last night and have 
updated my profile and gotten Xorg running.
Now it's time to move on to world and kdelibs-3.4.2-r1 fails like so. I'm 
way rusty at this and hoped I could get some tips here.

[SNIP]
 libtool: link: 
`/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la'  is not a valid 
libtool archive


I'll bet dollars to doughnuts that you upgraded from gcc 3.3.4 to gcc 
3.4.4 since the last time you upgraded KDE. Try running


/usr/portage/sys-devel/gcc/files/fix_libtool_files.sh 3.3.4

to fix up the .la files to reflect the new compiler.

--
Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] kdelibs-3.4.1-r1 build fails

2005-11-22 Thread Manuel McLure

Richard Fish wrote:

On 11/22/05, Manuel McLure [EMAIL PROTECTED] wrote:


   /usr/portage/sys-devel/gcc/files/fix_libtool_files.sh 3.3.4



Just a note...that path should be /sbin/fix_libtool_files.sh.  It may
well exist in the portage tree, but there is no guarantee that it will
be executable.  For on my system, that file does not have the
executable bit set, but the one in /sbin does.


Right you are. For some reason I thought this was one of those 
executables that is only in a /usr/portage/*/*/files directory because 
it's only used when installing/upgrading a specific package. I stand 
corrected :)


--
Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
--
gentoo-user@gentoo.org mailing list



Re: default stage3 (was : [gentoo-user] Is Gentoo still on the right path?)

2005-11-22 Thread Manuel McLure

William Kenworthy wrote:

Actually, as someone who uses wireless across a number of nets, wireless
on gentoo sucks hugely.  


Was at a presentation the other day and saw an Ubutu user just walk in,
a couple of quick commands and he had connected - after much work I
still cant do that to a particular no-encryption net.  I am hoping the
last wpa_supplicant version I have installed will make the difference -
manual iwconfig does work by the way, just not via the gentoo files!

A mess of config files
(/etc/conf.d/wireless, /etc/conf.d/net, /etc/wpa_supplicant, ...),
different versions of software work in only some combinations - only
0.4.5 (~x86) will work with 2.6.14, some other versions will do WPA_PSK,
but not no encryption.- - I suspect the gentoo config design is the main
stumbling block.

I realise wireless is complicated (read the above files for instance,
but gentoo has complicated things further (try and work out which of the
above files a particular variable will work ... note that for
wpa_supplicant, not all permutations are listed in the otherwise
comprehensive instructions)


Interesting, as the distro I was specifically comparing to was Kubuntu - 
getting it to connect to my WPA-PSK network at home was a PITA, while 
Gentoo worked beautifully - emerge ndiswrapper, run ndiswrapper -i to 
install the driver, emerge wpa_supplicant, modify a stanza in the 
wpa_supplicant.conf file to reflect my SSID and PSK, and ifup wlan0.


Kubuntu had no options for entering a WPA-PSK key other than manually 
editing the files, and you had to trick it to make sure that it ran the 
supplicant before trying to bring the interface up.


By the way, wpa_supplicant should handle non-encrypted and WEP networks 
very nicely - if you use it you don't need to play around with 
/etc/conf.d/wireless.


--
Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
--
gentoo-user@gentoo.org mailing list



Re: default stage3 (was : [gentoo-user] Is Gentoo still on the right path?)

2005-11-21 Thread Manuel McLure

Steven Susbauer wrote:

I hope that
the new docs do have a How to recompile everything at the end 
somewhere though, for those of us that like the optimization.


The new handbook links to http://www.gentoo.org/doc/en/faq.xml#stage12 - 
how to get the equivalent of a Stage 1 install while still starting with 
 a Stage3.


--
Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
--
gentoo-user@gentoo.org mailing list



Re: default stage3 (was : [gentoo-user] Is Gentoo still on the right path?)

2005-11-21 Thread Manuel McLure

George Garvey wrote:

On Mon, Nov 21, 2005 at 04:17:45PM +0100, Holly Bostick wrote:


reinstall, again I must wonder why he would complain that such a
reinstall is now likely to be much easier, and lead to a functioning
system (from which he can emerge -e world to his heart's content) much
faster.



   No, you presume a strange point of view on Steve's part, quite
unfairly. That is why he posted: stage 3 did NOT leave him a
functioning system from his POV. I don't know the right or wrong of
this, but implying Steve is an idiot seems quite derogatory. But maybe
I just have a strange point of view.


She didn't say Stage 3 would leave him with a functioning system - she 
said that it's *faster* to get to a functioning system from Stage 3 than 
it would be from Stage 2 or 1.


--
Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Is Gentoo still on the right path?

2005-11-16 Thread Manuel McLure

Mark Knecht wrote:

Good points. I agree it doesn't seem like the Gentoo way to remove
options, however, in response to Derek's original point about rising
or fallign numbers of Gentoo new users it might be wise to make the
default install Stage 3, thus making the newest users most likely more
successful, and then create some (not so obvious) option to allow
folks like you that have good reasons to do Stage 1 if they want it.

I know not what I speak of as I cannot even imagine anymore why I'd
want to do a Stage 1 install, but I do assume all that work must have
some value to others.


It appears that you can still do the equivalent of a Stage 1 install 
using the Stage 3 tarball - the Handbook points to 
http://www.gentoo.org/doc/en/faq.xml#stage12 which has instructions on 
how to re-bootstrap the system and rebuild with new compiler flags.


--
Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] two ati-drivers packages using --deep --update

2005-11-08 Thread Manuel McLure

Mark Knecht wrote:

   So with the realtime kernels I cannot even built the ATI drivers at
this time. I don't really know what to make of that. Maybe time will
tell.


I think you need the 8.18.8-r1 for 2.6.14-gentoo kernels, at least 
that's what the ChangeLog for ati-drivers says (apparently there was a 
change to the ebuild *after* it was released originally, so the 
8.18.8-r1 that's there now is different from the one that was originally 
released.)


--
Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] two ati-drivers packages using --deep --update

2005-11-07 Thread Manuel McLure

Mark Knecht wrote:

From someone on the LKML I found out that the ATI binary drivers won't
work on a 64-bit kernel so this is suddently not such an issue for me.


The 32-bit drivers won't work on a 64-bit kernel, but ATI does provide 
64-bit binary drivers as well (and the ebuild should download the 
correct one depending on whether you're on a 64-bit or 32-bit Gentoo 
install.)


--
Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] two ati-drivers packages using --deep --update

2005-11-07 Thread Manuel McLure

Mark Knecht wrote:

On 11/7/05, Manuel McLure [EMAIL PROTECTED] wrote:



The 32-bit drivers won't work on a 64-bit kernel, but ATI does provide
64-bit binary drivers as well (and the ebuild should download the
correct one depending on whether you're on a 64-bit or 32-bit Gentoo
install.)

--



Manuel,
   Hi. Are you able to make this work? I'm not. (so far...)



1) I emerged ati-drivers-8.18.8-r1. Is that new enough?


I had this working with the 8.14.13 drivers and kernel 
2.6.12-mumblemumbe. My Gentoo64 installation has gone byebye, so I 
haven't tested with newer versions.



lightning ~ # emerge -pv ati-drivers


Make sure that /usr/src/linux points to /usr/src/linux-version, where 
version is the exact version that uname -a reports. Also, when you 
upgrade kernels, you *must* remerge ati-drivers, since they need to 
build against the current kernel sources.



These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] media-video/ati-drivers-8.18.8-r1  +opengl 0 kB

Total size of downloads: 0 kB
lightning ~ #

2) I ran the app referenced in the emerge output to set up xrog.config:

aticonfig --initial --input=/etc/X11/xorg.conf

3) I looked at xorg.conf. It looks OK, if a bit confusing. Now it
appears that the developers are attempting to make a single xorg.conf
that works with either the radeon driver or the fglrx driver? That
would be nice.

4) I switched to fglrx in /etc/modules.audtoload.d/kernel.2.6 and rebooted.


This shouldn't be needed - the fglrx X module should autoload the fglrx 
module for you.



5) fglrx did not load:
lightning ~ # lsmod | grep fglrx
lightning ~ #


Any messages in /var/log/messages or dmesg output?


6) Xorg.0.log results:


[SNIP]


(WW) fglrx(0): Failed to set up write-combining range (0xd700,0xff)
(WW) fglrx(0): Failed to set up write-combining range (0xd600,0x1ff)
(WW) fglrx(0): Failed to set up write-combining range (0xd400,0x3ff)
(WW) fglrx(0): Failed to set up write-combining range (0xd000,0x7ff)
(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
lightning ~ #

7) mtrr problems:

dmesg
SNIP
mtrr: no more MTRRs available
mtrr: no more MTRRs available
mtrr: no more MTRRs available
mtrr: no more MTRRs available
eth0: no IPv6 routers present
lightning ~ #
lightning ~ # cat /proc/mtrr
reg00: base=0x (   0MB), size= 512MB: write-back, count=1
reg01: base=0xd7fe (3455MB), size=  64KB: write-combining, count=1
reg02: base=0xd7fc (3455MB), size= 128KB: write-combining, count=1
reg03: base=0xd7f8 (3455MB), size= 256KB: write-combining, count=1
reg04: base=0xd7f0 (3455MB), size= 512KB: write-combining, count=1
reg05: base=0xd7e0 (3454MB), size=   1MB: write-combining, count=1
reg06: base=0xd7c0 (3452MB), size=   2MB: write-combining, count=1
reg07: base=0xd780 (3448MB), size=   4MB: write-combining, count=1
lightning ~ #



From what I see here, it looks like the MTRR stuff is the problem. 
Possibly some of the patchsets in the -rt kernels (as opposed to the 
-gentoo kernels) are causing problems. I'd try manually doing a 
modprobe fglrx and see if there are any useful messages. Also, you 
might try to use fglrxconfig instead of aticonfig to create the 
configuration.


--
Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] two ati-drivers packages using --deep --update

2005-11-07 Thread Manuel McLure

Mark Knecht wrote:

Yes, this much was in place.

I wondered later if the issue is that my current kernel has DRM
selected so that I Can get the radeon driver from the kernel. Possibly
for the ATI driver I need to completely deselect DRM, rebuild the
kernel, and then emerge the ATI drivers?


I'm pretty sure that's probably the problem. You might try compiling DRM 
as a module and listing the DRM module in /etc/hotplug/blacklist so it's 
easier to switch between fglrx and DRM.


In any case, I have heard that the current R200 open-source driver is as 
good as the ATI driver - I'm running an R360 (9800XT) so I don't have 
the luxury of choice :(


--
Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Collecting USE variables

2005-10-14 Thread Manuel McLure

Holly Bostick wrote:

You could edit /etc/make.profile if you liked, I suppose, but Portage
will update it at one or more various points anyway, and then where are you?


One question for those with more USE flag-fu than I have - does the 
default set of USE flags depend on the packages that have been installed 
into world? It seems to me that at some point I have installed a package 
(for example postgresql) and suddenly found that the next emerge 
--newuse world spits out a list of packages it will rebuild with a new 
flag.


--
Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Right recipe for gentoo-user procmail

2005-09-30 Thread Manuel McLure

Dave Nebinger wrote:

Just set up the following recipe for postfix/courier-imapd/procmail:

:0
* ^(From|Cc|To).*gentoo-user
$HOME/.maildir/.Gentoo.User/new/

Sound about right?

Guess I'll find out before many of you can even reply ;-)



I use:

:0
* ^List-Id:.*gentoo-user\.gentoo\.org
.maildir/.Mail.gentoo-user/


You shouldn't put the /new/ at the end of the maildir - procmail is 
smart enough to put it there. The $HOME isn't strictly needed but 
shouldn't hurt either and is probably a good idea from a readability 
standpoint.


--
Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ati-drivers: bad md5 sum

2005-09-14 Thread Manuel McLure

Holly Bostick wrote:

Would have done it months ago, Mike, if there was any way, but I really
have absolutely no budget, even for an MX440 (true desperation, if I'm
even considering an MX 440 in this day and age. But I'd rather that than
a 5200, all things considered. What I'd really like -- a 6600-- is right
out).

I may wind up putting my Matrox G400 Max back in here, but Wine is
soo close on DX 9 (which the G400 of course does not support) that I
can't bear it.


Holly, for what it's worth I'm using the 8.16.20 drivers with no 
problems on my 9800XT - perhaps I can help? The biggest problem I had 
was that initially it would not display anything on the CRT - the way I 
solved this was to add


Option ForceMonitors  notv

to the Device section of my xorg.conf.

--
Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] fbsplash

2005-07-10 Thread Manuel McLure
Uwe Thiem wrote:
 Hi folks,
 
 verbose mode of fbsplash doesn't seem to work any more. If I press F2 
 during 
 the boot process or switch to a text console after booting the background is 
 black instead of showing my specified picture. Same behaviour for the themes 
 emergence, gentoo and my own one. I skipped a couple of kernels, so I am not 
 too sure when it started. Current kernel is 2.6.12-r4.

If you switch to 2.6.12 from 2.6.11 you will need to remerge splashutils
and rebuild your bootsplash ramdisk, since the splash protocol has
changed. I saw the same problem with 2.6.12. The new splashutils ebuild
has the following to say:

* If you upgrade your kernel from pre-2.6.12 to 2.6.12 or higher, please
* make sure that you remerge this package and rebuild your initrds. You
* can use the splash_geninitramfs script to do that.


-- 
Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] fbsplash

2005-07-10 Thread Manuel McLure
Uwe Thiem wrote:
 Still no joy. Same behaviour as before. :-(
 
 Actually, I wouldn't give a rat's ass for it but this is for a customer, and 
 looks are important.

Did you update the /usr/src/linux symlink to point to
linux-2.6.12-gentoo-r4? The splashutils ebuild uses that to figure out
what kernel to build against.

-- 
Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] sudo echo cannot write to /etc/ files ?

2005-07-06 Thread Manuel McLure

Holly Bostick wrote:

So it will. Shoot. Oh, well. Maybe I'll rework this, or I should then
ask for:

1) firewall recommendations (personal, as the router has one too; atm
I'm liking firestarter)


I've been very pleased with Shorewall as a firewall.

--
Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
--
gentoo-user@gentoo.org mailing list