DevHeads.net

Postings by Hakan

Unable to access network from docker container

I have recently installed docker and playing around with it. On a CentOS 7 machine, however, I am unable to get access to the outside internet, thus yum ... fails. The host machine runs fine.

I am wondering if there are some networking setting on the host I need to modify to allow the docker container to connect to the outside?

Cisco AnyConnect Mobility Client for 32- bit CentOS 6

I have the above installed on a couple of 64-bit systems, both CentOS 6 and CentOS 7, where the client works fine.

Now, however, I have installed the 32-bit version of CentOS 6 on a netbook but I cannot get the Cisco website installer to recognize the computer/operating system, not even displaying any error message.

Does anyone have the client running on a 32-bit system?

Problem with ssh disconnecting

Running CentOS 7 on workstation and having a problem with ssh disconnects. My ssh_config contains:

Host *
TCPKeepAlive yes
ServerAliveInterval 30
ServerAliveCountMax 300

and sshd_config on the server contains:

TCPKeepAlive yes
ClientAliveInterval 60
ClientAliveCountMax 300

Have I missed any setting needed to prevent these random disconnects?

Unrar not extracting archive

I received a rar-archive, probably created on Win10, that I could not extract with unrar on CentOS 6.

Is it possible that the version of unrar available for CentOS 6 does not support potentially new archiving algorithms used by some newer archiving program (don't know which one was used) on Win 10? I was later able to extract the files using another program on a WinXP computer. Defeat...

Devilspie or wmctrl for CentOS 6

Anyone running one of the above on C 6? Recommendations for which one to install appreciated.

Thanks.

Chromium on CentOS 6

I have chromium installed on CentOS 7 and it works fine, I now need to install it on a CentOS 6 workstation. However, it is not available in EPEL as it is for C 7. From what I understand, this is because it is already available in a supplementary channel from RHEL for C 6.

Is this the recommended method for installing it on C 6?

<a href="https://www.tecmint.com/install-google-chrome-on-redhat-centos-fedora-linux/" title="https://www.tecmint.com/install-google-chrome-on-redhat-centos-fedora-linux/">https://www.tecmint.com/install-google-chrome-on-redhat-centos-fedora-li...</a>

Intermittently unresponsive mouse

I am using the Mate desktop on CentOS 7 and have found that the mouse intermittently becomes unresponsive for a few seconds, typically no more than 3-5 seconds. I do not remember seeing that when I used the regular Gnome desktop on CentOS 6 but I could misremember. The machine is fast and uses a dual-monitor setup with the native nVidia graphics driver.

Is this really to be expected?

Incorrect characters in Chinese font

I frequently exchange e-mails, read and write documents and visit Chinese websites although the language of my computer is English.

As I was translating a Chinese document yesterday, I had three characters I was not able to translate and after much hair-pulling realized to my surprise that they may be incorrectly drawn in Centos 7. These very characters in the same document were drawn correctly on my Android phone... As none of the characters are uncommon, I am very surprised.

Could this be a Unicode issue? How does one report this in CentOS?

How to encourage maintainers to update their software

How do I best encourage maintainers to update the software they are responsible for in various repositories?

Akema Yagi made sure kmod-jfs for CentOS 7 was updated amazingly fast which is greatly appreciated. On the other hand, I have requested updates of some other software packages and have heard absolutely nothing in months...

Comparing directories recursively

What is the best tool to compare file hashes in two different drives/directories such as after copying a large number of files from one drive to another? I used cp -au to copy directories, not rsync, since it is between local disks.

I found a mention of hashdeep on the 'net which means first running it against the first directory generating a file with checksums and then running it a second time against the second directory using this checksum file.

Open-source home automation software

Is anyone running any open-source home automation software on CentOS and willing to share experiences?

gdevilspie on mate

I just read about gdevilspie on this list the other day and downloaded it for my mate desktop. Although it installed, it complains that python-wnck is not installed.

Does anyone know if it is supposed to work on mate? I would have expected it to install python-wnck as a requirement if not already installed?

KeePassX replacement

I have been using the KeePassX password manager on CentOS 6 and 7 for some time and it works pretty well. On my Windows machine I use KeePass which offers a number of features missing from KeePassX, I also sync the database between several machines, including Android units where I use keepass2android. Database compatibility is thus required.

KeePassX, however, does not seem to be maintained any more, the last update was just a bit less than a year ago.

Cups driver

I recently bought a Brother HL-L2360DW printer, a BW printer, and I was hoping the printer properties settings GUI could be used to adjust how colors are printed. There is a print-color-mode setting but it only has one selection: monochrome.

I was wondering if tinkering with the cups driver parameters would make the above possible?

Geany markdown plugin

I have not been able to find the markdown plugin for Geany for CentOS 7 on EPEL despite a number of other plugins being available. I filed a bug report some time ago so it may eventually be resolved.

In the meantime, has anyone found it in a repository or should I compile all plugins from the Geany website?

CentOS 7 on HP DL160 G6

I am running the latest updated version of CentOS on a HP DL160 G6 server as a workstation with the Mate desktop, not Gnome. The only expansion card I have installed is a MSI Geforce GT710 graphics card driving two monitors.

Unfortunately the computer locks up at random intervals: neither the mouse nor the keyboard work and I lose the SSH connection to the computer I have used to see if the entire computer locks up or only the desktop.

kmod-jfs on Centos 6

I am a bit of a noob with Linux and Centos but would like to be able to access an old external USB disk formatted JFS by OS/2. I have seen there is a kmod-jfs package on elrepo that ought to work with Centos 6 but am unsure how to install kmods without hosing my existing system...

If anyone would like to be so kind to give me a short how-to, I would be very grateful.

Thank you.

Installing support for Chinese text in Centos 7

I have just done a minimal installation of Centos7 followed by X Windows and the Mate desktop on a workstation. Although the default language is English, I would like to be able to write Chinese text in various applications.

I seem to remember this was very easy to do in Centos 6 and Gnome: possibly only requiring only a simple 'yum groupinstall "Chinese Support"' after which I could use iBus to switch between languages. This does not seem to work in Centos 7.

Suggestions?

nVidia K1200 on Centos

Can anyone confirm that the above 4-port card is supported at its full resolution and capabilities under CentOS 6 and/or 7? The card has four DisplayPort 1.2 connectors, each capable of driving a 4K monitor.

Thank you.

Noise Cancellation of Server Noise

Has anyone come across a device that could cancel out the noise from servers, ie. the fan noise? I have a server rack near my office and would like to see if i can decrease the noise level. It would seem to me that the steady drone of the fans could be cancelled out to a large extent.

Off-Topic: Travel Router and Firewall

This is off-topic and the only connection with CentOS is that the laptop will be running CentOS...

I am looking for a travel router/firewall for a number of reasons:

- Protect against outside attacks when outside the office/home not relying on whatever protection the laptop/tablet/phone offers.

- Allow for fast transfer for data between devices without being limited by the bandwidth of the hotel etc., even without being connected to the internet.

- Allow for multiple devices even when the hotel etc.

Outliner plugin for editor

I am currently running not only Geany (on CentOS and on Windows) but also Gedit on CentOS, much of the use is as markdown-editors being a recent convert to this language. I would, however, also like to be able to essentially use it as an outliner - remember the old DOS outliners that were great for creating document outlines?

It would have been perfect had I been able to fold and unfold sections of whatever markdown document I am working on in Geany or Gedit but sadly that does not seem possible...

Database Modeling Tools

I am looking for an open-source database modeling tool, ideally to run under both CentOS and Windows. I have not used any such tool before so I would like to solicit suggestions.

Thank you.

mcrypt on PHP 5.4 and 5.5

I have Centos 6.8 running on a VPS and upgraded PHP from 5.3 to 5.4 using scl. Unfortunately it seems mcrypt is not available, neither for 5.4 nor for 5.5.

What have other users done about that? Unfortunately I have an application that requires mcrypt.

Using keepass on Centos 6

Is anyone running keepass on C6? I have a rather large password database under Windows that I want also to use on my Centos systems. It seems that keepass is not available, it relies on mono and there may be bugs.

Googling also seems to suggest that I should download the source code and compile to install. The nux repository seems to have a version for C7, but not for C6.

Many suppositions and few facts - perhaps someone knows better?

Thanks!

scp via another server

I normally use ssh to log into a remote server, change directory and then use scp from there to copy files from another remote server to the first one.

Now the first server has been hit by continuous error correction messages from the ECC controller, all of which are corrected, and I am unable to get a command line to issue the required commands to change directory and then run scp from the other server.

Changing default file type in Centos 6

It turns out my markdown files - extension .md - are of the "Genesis
ROM" file type in Centos 6. Googling did not turn up any obvious places
to change this in Gnome - neither in my local directory or in /etc/gnome.

Where would I be able to change this default file type for files with
the extension .md? I have already changed the default application to
geany (with the markdown extension.)

Thank you.

Restoring session status

I am running CentOS 6.6 on both a couple of servers and on a laptop. When I let the laptop sleep, window states and positions are restored correctly when I awaken it. However, when I shut down the laptop, later turn it on and log in, none of the terminal windows and directory windows are restored correctly to e.g.

Latest version of kate editor

I have installed the kate editor on Centos 6.7 but it seems to be a very old version, 3.3.4, installed as part of kdesdk. On Centos 7 I can simply run 'yum install kate' but, alas, not on Centos 6.

What is the recommended way of updating kate on Centos 6?

Thank you.

Centos 3.8 Server Questions, SeaMonkey Mozilla and Java

In order to run a certain software package that runs as a java applet I had to install Centos 3.8 on a 32-bit server. After installation I upgraded the installation using yum after repointing the configuration file to vault.centos.org.