DevHeads.net

Postings by Robert Heller

How do I get the kernel srpm?

I tried to follow the work flow shown in <a href="https://wiki.centos.org/Sources" title="https://wiki.centos.org/Sources">https://wiki.centos.org/Sources</a>, but
it does not seem to work:

I did this:

mkdir CentOS
pushd CentOS
git clone <a href="https://git.centos.org/git/centos-git-common.git" title="https://git.centos.org/git/centos-git-common.git">https://git.centos.org/git/centos-git-common.git</a>
git clone <a href="https://git.centos.org/git/rpms/kernel.git" title="https://git.centos.org/git/rpms/kernel.git">https://git.centos.org/git/rpms/kernel.git</a>
pushd kernel/
git checkout c6
../centos-git-common/get_sources.sh

And I got the message:

Missing metadata. Please run from inside a sources git repo

What am I missing?

Question about "generic" USB <=> Serial Port kernel drivers...

OK, I am running CentOS 6 on my Laptop and Desktop, presently kernel version
2.6.32-696.20.1.el6.x86_64 (yes, a version or so out of date -- I'll probably
do an update soon -- non-trivial since my Internet connection is via dialup).

I recently bought a couple of Adafruit Arduino compatibles, a Flora and a
Metro 328. Hooking up the Flora and the Metro to a Raspberry Pi running
Raspbian (kernel 4.9.35-v7+), tells me that the Metro 328's USB uses a FTDI
USB serial interface (ftdi_sio.ko) and the Flora uses the cdc_acm (cdc-acm.ko)
USB serial interface.

Posting check

I am wondering if I am able to post to the CentOS list.

Resetting and *locking* the Desktop in Ubuntu 14.04

We have a batch of public workstations and sometimes, somehow (I don't know
how -- I am not a user of pointy-clicky desktop file managers), the desktop
file manager displays ~home/ instead of ~home/Desktop. How do I fix this and
how do I prevent users from randomly changing it? Specificly, what config
files are being messed with and how do I "lock" those files (eg make them
non-writable or something). And no, I don't want a pointy-clicky solution, I
want a solution I can implement from the command line, since I suspect it
might be a matter of running a daily cron job to fix/re-fix.

Mystery printer in firefox under Ubuntu 14.04.5

For some unknown reason a "mystery" printer is showing up in FF's selection of
printers. This printer does NOT show up in 'lpstat -t'. It is not in
/etc/cups/printers.conf. And I know for sure that I uninstalled the (stupid)
deamon that finds new random printers (don't need or want that sort of "user
friendliness"). Is this a Ubuntu issue or a Firefox issue or a Unity/Gnome
issue? I have not seen this on my CentOS machines, ever. It only seems to
happen on the diskless Ubuntu machines I set up using DRBL.

"Massively" slow down the mouse -- Ubuntu 14.04

I have a user who wants to slow the mouse down slower than the slowest setting
in the preferences. Is this possible? Her problem is she is not able to
*precisely* position the mouse when editing text. And no, she does not want
to use the keyboard to position the cursor. Is there something she (or I as
the admistrator) can do?

Installing Ubuntu 14.04 on new laptops.

Has anyone had any experience installing Ubuntu 14.04 on either of these two
laptop models:

Lenovo,T420, I5 2520M, 2.5 GHZ, DDR3, 8GB,
320GB, 14.0W, GB NIC, AGN, DVD/RW, Webcam

HP,Elitebook 8460p, I5 2520M, 2.5 GHZ, DDR3,
8GB, 250GB, 14.0W, GB NIC, AGN, DVD/RW,
Bluetooth & FP Reader

Our local library is looking to buy new laptops and we need to be sure we can
install Ubuntu 14.04 on them. The rest of the library's computers all run
Ubuntu 14.04 as their desktop Operating System (all but one are set up as
"thin" clients, booting with DRBL).

CentOS 6.8, Iptables 1.4.7, and MASQUERADE

I have a server that is also a firewall router at a public library with a
fiber optic Internet connection. It is running kernel
2.6.32-642.4.2.el6.x86_64 (current CentOS 6.8) and Iptables 1.4.7 (current
stock CentOS 6.8). I having trouble with Internet throughput. I am supposed to
be getting 20Mbits down and 20MBits up, but I am not getting that. It has no
problem doing 20MBits down, but for uploads of *large* files (using different
protocols, such as ssh or http), the upload starts at 20MBits, but over time
quickly slows down to about 3MBits.

Where is the correct place to file a packaging bug report?

I need to file a packaging bug report for Ubuntu's packaging of bison++
1.21.11-3.1. At present it conflicts with bison 2:3.0.2.dfsg, but I don't
believe it really should and the conflict is really a packaging error, at
least in my judgement. There is no reason not to be able to have both
packages installed at the same time.

(I plan on snarfing the sources, etc. and fixing it.)

debmirror broken under Trusty?

When I enable downloading the Debian installers (@di_dists="dists";
@di_archs="arches"; ) I get this error:

ubuntumirror@ub140464:~$ debmirror
Errors:
Download of dists/trusty-backports/main/installer-i386/current/images/MD5SUMS
failed: 404 Not Found
Failed to download some Package, Sources or Release files!
WARNING: releasing 1 pending lock...

debmirror works just fine if the di_dists and di_archs lines are commented
out. Is there something wrong with debmirror, my configuration file, or the
distro server?

I am using us.archive.ubuntu.com as the mirror source host.

Verifing: CentOS 5 cannot resize a *live* root filesystem

Just want to verify: CentOS 5's FS utilities are too old to safely resize a
*live* (mounted, etc.) root file system (and the CentOS 5 installer/rescue
system does not include either resize2fs or fsadm utilities).

I am presuming I will need a full-fledged Live CD/DVD to resize the root file
system.

This is for an old 32-bit laptop that presently has CentOS 5.11 on it -- I
want to shrink the root file system (it is LVM) and make a separate /home file
system, then upgrade it to something newer (not C6, since it is not PAE -- I'm
*hoping* Ubuntu's 32-bit installer can deal with a non-PAE 3

NFS mounts not being mounted at boot time.

I am having trouble with a Ubuntu 14.04 system that is not mounting NFS files
systems at boot time. I have installed nfs-common and have entries in
/etc/fstab for the mounts. I noticed that Ubuntu does not have a startup
script to mount NFS disks (the way the RedHat machines I am used to do), since
it is not possible to mount NFS filesystems when one mounts local system
filesystems, since the network is not up yet. On all of the RedHat systems
there is an init script that runs later that mounts NFS file systems (and also
fires up nfslock if needed).

New Laptop Advice

I have been asked by our local librarian to spec out a new laptop for use at
our library. The library currently runs a 100% Linux shop: a CentOS 6.7
server, 10 diskless (64-bit) workstations running Ubuntu 14.04 LTS (7 public
access, 3 for staff), and three *little* (older) laptops/notebooks for patron
use also running Ubuntu 14.04 LTS. Our librarian would like to get one new,
larger laptop and I would like to keep things consistent (same user experience
across all of the machines), so I would want to put Ubuntu 14.04 LTS on it.

USB Serial ports (ttyACMn) CentOS 6.7 (64-bit) vs. CentOS 6.7 (64-bit)

I have two computers: both running CentOS 6.7, 64-bit, with
kernel 2.6.32-573.12.1.el6.x86_64. One is a laptop with an 2 core Intel
processor and the other is a desktop machine with a 4 core AMD processor. Both
with selinux enabled.

I have a USB serial port device (a RR-CirKits LCC-Buffer USB). On the desktop
I am getting this error:

sauron.deepsoft.com% sudo minicom
Device /dev/ttyACM0 access failed: No such file or directory.
sauron.deepsoft.com% dir -lZ /dev/ttyACM0
crw-rw----.

Fwd: Re: New Monitor Weirdnesses or how do I get Xorg to pay attention to my xorg.conf file?

Has anyone built the nouveau drivers for CentOS 5 system running under Xen?

Forwarded Message:

=?iso-8859-1?Q?my_xorg.conf_file=3F?=
Message-ID: <f2d6eb09-0843-402f-bd3c- ... at gmail dot com>

VESA defined modes are
- 320

New monitor weirdnesses (CentOS 5.11)

I just got a new monitor for my desktop system (the old one died after *many*
years of service). The new monitor is a high res 16:9 monitor, but the VESA video
driver insists on using 1024x768 (which was the resolution of the *old*
monitor). It does seem to detect higher, 16:9 resolutions but it is not using
them. I *think* I need to set some low-level video mode thing, but it has
been a long time since I have had to do that that I have totally forgotten how
to do it.

Two identical laptops with Ubuntu 14.04 (i386), but one fails to update...

I manage two identicatial notebooks, both have Ubuntu 14.04 (i386) installed,
but one is not picking up updates. I run 'apt-get update;apt-get
dist-upgrade' on it and it juts updates google-chrome, but nothing else.
There are no errors. The other one does its updates properly. What should I
be looking for? Nothing *seems* to be wrong in /etc/apt as far as I can tell.

Periodotic connections to http://mistletoe.canonical.com...

Why would a Ubuntu 12.04 LTS system (a VM in this case) be making periodotic
connections to <a href="http://mistletoe.canonical.com" title="http://mistletoe.canonical.com">http://mistletoe.canonical.com</a>? I am on a dialup connection
and don't really want my VMs making regular 'phone home' connections. I do
things like updates using a mirror disk kept up-to-date with manual rsync's
from a disk kept up to date with debmirror on a server on a fast network
connection. I don't need or want my VMs trying to be clever and using
bandwidth outside of my control.

CentOS on ARM7 (eg Raspberry Pi)

I saw in the anouncement for the upcoming Boston, MA conference that there
will be demos of CentOS on an ARM7 system. I am wondering: does this mean that
there is somewhere out there a build of some version of CentOS that might run
on a Raspberry Pi (which has an ARM7 processor)?

Missing Java packages for java-1.6.0-openjdk under CentOS 5

When I compile some Java code I am getting this sort of error:

"package org.apache.http.annotation does not exist"

I am presuming that I am missing a Jar file in
/usr/lib/jvm/java-1.6.0-openjdk.x86_64.

Most of the Jar files in /usr/lib/jvm/java-1.6.0-openjdk.x86_64 come from one
or another RPMs, most from the CentOS 5 distro RPMs. But I cannot figure out
which RPM(s) I am missing. I tried doing a web search for
org.apache.http.annotation with el5 and rpm, but got nothing useful. What am
I missing?

nm-applet, wirless, and CentOS 6

I have a strange problem and I know I am doing things way outside of the box.

First of all I don't like Gnome or really any of the mess-windows flavored
desktop systems and no, I don't like the MacOSX flavored desktop systems (like
Ubuntu's Unity) either. The 'desktop' system (if you could have called it
that) that I learned on was DEC's 'DecWindows' system on a VAXStation 2000
(under VMS). This was basically a rebranded Motif system with MWM and used
DEC's *simple* session manager. I presently use FVWM in MWM compatibilty mode
and a home written session manager written in Tcl/Tk.

Fwd: Cross Building Tcl using Mingw32-gcc (4.9.2)

I posted this to the comp.lang.tcl newsgroup, but it might relate to a
possible bug in the Mingw32 cross-build environment under CentOS 6 (or EPEL).

Forwarded Message:

Newsgroups: comp.lang.tcl
Message-ID: <Nc-dnd1wRNTsy6PInZ2dnUU7-b- ... at giganews dot com>

I am trying to cross-build Tcl (8.5.8) and I have encounted two problems:

One I easily hacked the sources (wrapped the offending lines with #ifdefs):

./../generic/tclPosixStr.c:347:5: error: duplicate case

Update Manager: do I need it?

I have a batch (10) of diskless workstations that mount their root (/) and
/usr file systems read-only from a 'headless' server (actually a VM running
14.04), using DRBL. I ssh into the 'headless' server from time to time (weekly
usually) and use apt-get update/upgrade/etc. + some scripts (drbl and my own)
to update things across all of the machines. *Some* of the users on the
diskless workstations are in the admin group, so they are sometimes 'bothered'
by the Update Manager and the Update Manager seems to be hogging resources (eg
beating on the network and/or NFS mounted disks).

Using a *supported* web cam under CentOS 5

OK, I plugged in a web cam device (something called a 'Zoomy' -- a web
cam/microscope). It is recognized by the unc driver. Now what?

Does there exist a program that can use this device? Or do I have to write
one from scratch? I have been searching the web, but all of the links are
about getting and installing *drivers*. I don't need a driver, I need a
userland program.

With Ubuntu 14.04, there is a program named Cheese, but I can't find a
version that works with CentOS 5. And no, don't tell me to install Ubuntu
14.04!

Updated Spam Assassin for CentOS 5...

I am wondering about updating the version of Spam Assassin on my CentOS 5 mail
server. The current version, 3.3.1-4.el5 (stock RHEL version), has been
'leaking' recently. I suspect I need some newer match rules to detect some of
the newer flavors of spam. I see that in rpmforge's extras repo is version
3.3.2-4.el5.rfx -- is this version worth installing? Are there even newer
versions either available for CentOS 5 (or buildable under CentOS 5)?

Learning Resources Zoomy Handheld Digital Microscope on Ubuntu 14.04

Does anyone know if this device will work under Ubuntu 14.04?

<a href="http://www.learningresources.com/product/zoomy--8482-+handheld+digital+microscope.do" title="http://www.learningresources.com/product/zoomy--8482-+handheld+digital+microscope.do">http://www.learningresources.com/product/zoomy--8482-+handheld+digital+m...</a>

Stupid apt-get!

Ok, I upgraded lightdm from source, but when I do a regular 'apt-get upgrade',
it wants to downgrade lightdm. The new lightdm I installed actually works the
way I want it to, so how do a tell apt-get to leave it alone!

USB / MiFi Mobile broadband devices and CentOS 5 (32-bit)

Has anyone had any experience with the NetZero Stick? The NetZero site
says that it is 'Linux' compatible, but gives no detailed information (eg
distributations, kernel version, driver name/version, etc.).

I am running a stock CentOS 5.11 kernel (2.6.18-398.el5) on my 32-bit laptop
(IBM Thinkpad X31, with a non-PAE processor, so upgrading to CentOS 6 is not
an option, and no, I don't want to install Ubuntu on this machine).

CentOS 5.11 / Firefox 31 -- totally borked...

OK, I just updated my two CentOS 5 boxes (my laptop and by desktop) and
discoved that FF 31 is totally borked -- it seems not to be possible to
install either Firebug (either 2.0.4 or 1.12.8) or Firefox 2, the theme
reloaded (1.0.8). These two addons are critical to me. So I have snaged the FF
24.8.0 rpms from the CentOS 5 vault and downgraded to this version and blocked
further updates of FF.

Where is the best place to report this problem?

Newer version of lightdm for 14.04.1 -- is this possible?

Are there any plans to backport a newer version of lightdm for 14.04 LTS? The
current version (1.10.1-0ubuntu1) is 'broken' -- specificly it does not
auto-re-login (autologin only works the *first* time, never after the user
logs out). I believe this is fixed in 1.11 (and later). I don't want to
upgrade to 14.10 and land on the upgrade-every-9-months roller coaster. I
would like to stay with 14.04 LTS for its full 5 years and enjoy a stable
system (except for lightdm being broken).