Re: [CentOS] CentOS 6.6 repo access issue.

2015-03-10 Thread Hendrik Strydom
On Tue, 2015-03-10 at 16:44 +0530, Ravi Roy wrote:
 Hi Guys,
 
 My apologies for earlier mail without subject line. kindly ignore.
 
 i've CentOS 6.6 (Final) 64 bit version installed and I can not access the
 online repositories to install/update (pls see eror below the error),  I
 tried to google this error I get a lot of links but nothing I could  really
 solving this  issue. I've already disabled ipv6 and also defined proxy in
 /etc/yum.conf.
...

This is stating the obvious but it looks like your proxy definition in
yum.conf does not work.
I assume you have something like:
proxy=http://hostname:port
with a possible 
proxy_username=whoever
and proxy_password=whatever
if required in yum.conf
Check these again, I find I often read what I thought I typed, not what
I actually did.

If this is correct tcpdump may give you some useful information on what
is actually happening.

Regards






___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to enable sound for other users but the one who owns the current session

2014-07-02 Thread Hendrik Strydom
On Thu, 2014-07-03 at 00:37 +0200, wwp wrote:
 Hello there!
 
 
 I'm trying to get sound from applications running from other users bug
 the one who owns the current GNOME sessions.
 
 Typically, my default user is A and he's running the GNOME session,
 logged in graphically. From this session, I open terminals, su to other
 users (B or C, non-root) and run mplayer or firefox. No sound for these.
 
 Adding those users to the audio group didn't help. Any idea how to do
 this?

From very limited experience where I attempted it and got this to work
with some semblance of reliability once long ago I can tell you that it
involves something around:
load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1

This implies the pulse server must provide a local network service and
the clients must be configured to connect to this server.

Updating default.pa in .pulse directories and granting access to pulse*
groups also rings a bell.
Sadly I kept few notes on this so can only find this hint at present.
There must be better ways to do it and if you get it working I would be
keen to know how, so please provide feedback.
I also recall murmurs of security issues around shared pulse services,
obviously more so if the ip is not localhost, so consider that too.







___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Samba on Centos 5/6 differences

2014-03-10 Thread Hendrik Strydom
On Mon, 2014-03-10 at 11:45 -0400, Steve Campbell wrote:
 Kinda OT.
 
 I've been trying to get Samba running on a Centos 5 box for some time 
 now, but can't seem to get it to happen. I can not connect to the 
 machine from our external network but I can connect from a box on the 
 same network. So it seems like a firewall problem.

This is covering the basics, but did you perhaps limit the IP range
allowed to connect to the samba service in /etc/samba/smb.conf in either
the 
interfaces =
or 
hosts allow = 
statements to exclude the external network?
As far as I know these statements have not changed between CentOS 5 and
6.  Sane defaults typically limit this so your shares are not
potentially exposed to the wider internet.

Alternatively, is your default route set up properly for the other
network on both machines?

If your samba is configured for access via tcp_wrappers 
/etc/hosts.allow and 
/etc/hosts.deny 
comes into play.  This is again not standard configuration.

If these suggestions don't solve it we may need extracts from your
configuration files.  Exclude comments and mask sensitive information
before you post these.

In the basic port open or not firewall configuration the server should
not care where the connection comes from so I would look at the samba
configuration first.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Frustrated. Java on Centos 6 doesn't give an error message when downloading from a Samsung Galaxy S3

2013-05-25 Thread Hendrik Strydom
On Fri, 2013-05-24 at 14:33 +, Rock wrote:
...
 c) Connecting that phone by AirDroid (works! Even for multiple files!)
 
 Slow. Cumbersome. But all that matters is that files can be transferred
 from the Samsung Galaxy SIII to the Centos 6 PC.

I use ES File Explorer on my S3 for manual single or multiple file
transfers to CentOS desktops over wireless.
The ftp targets in ES File Explorer supports sftp, which works well and
is enabled on default CentOS installs.







___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Help: Server security compromised?

2008-08-06 Thread Hendrik Strydom

On Wed, 2008-08-06 at 15:14 +0800, Noob Centos Admin wrote:
 
.. snip


 I did that too, no root login and everytime I have to su from normal
 user. It is a pain to work with especially with having to use full
 pathnames for commands instead of say just doing a service httpd
 restart. 
If you use 
su
only, you assume root privileges without the root environment.
Rather do
su -
which gives you the full root environment, including path.
The same holds for other users, i..e
su - joe
switches the user to the user joe with full environment.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] madwifi on Centos 5.2, kernel 2.6.18-92.1.6.el5

2008-07-13 Thread Hendrik Strydom
Any of these approaches will work.
There is a bug in madwifi (or at least a difference in opinion on RH
kernels) as per 
http://madwifi.org/ticket/1956
As documented there this requires a trivial source code change in order
to get the modules to compile.  
If your system already attempts to compile the module at boot time you
only need to make the change in the code found under /usr/src and all
should be well.  If not, compile it from madwifi source or an atrpms
source rpm as per your preference.

Regards
  Hendrik

On Sun, 2008-07-13 at 23:46 -0400, Kurt Hansen wrote:
 Hello,
 
 I just installed Centos 5.2 on my wife's IBM thinkpad T41 with Atheros 
 wireless.
 
 It looks like I need to install madwifi to get the wireless to work. Our 
 home wireless network uses WPA2
 
 I found the EL5 rpms at atrpms, but there is no madwifi-kmdl rpms for 
 kernel 2.6.18-92.1.6.el5.
 
 So, to get the wireless working on my home network, what's the shortest 
 path from here? Install madwifi from source (was part the way there but 
 discovered the rpms when I looked for the wpa_supplicant stuff)? Or, can 
 I use one of the other madwifi-kmdl rpms? Or, go back to an earlier kernel?
 
 Thanks for your help!
 
 Take care,
 
 Kurt Hansen
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problems to install java plugin in CentOS 5.1 x86_64

2008-01-31 Thread Hendrik Strydom
On Fri, 2008-02-01 at 00:46 -0200, Sergio Belkin wrote:
 --- El Vie 01 Feb 2008, Hendrik Strydom encontró un teclado y tipeó lo 
 siguiente: 
  HS: On Thu, 2008-01-31 at 23:51 -0200, Sergio Belkin wrote:
  HS:  --- El Mié 30 Ene 2008, Ralph Angenendt encontró un teclado y tipeó
  lo HS:  siguiente:
  HS:   RA: Sergio Belkin wrote:
  HS:   RA:  Hi!
  HS:   RA: 
  HS:   RA:  I've tried to install java plugin as is in
  HS:   RA: 
  http://www.howtoforge.com/installation-guide-centos5.1-desktop-p7 but HS: 
   with no RA:  success.
  HS:   RA: 
  HS:   RA:  All steps seems to go well, with no error messages, but
  Firefox says HS:   that RA:  there is no java plugin.
  HS:   RA:
  HS:   RA: Are you using a 64bit version of CentOS? Then it won't work -
  Sun's HS:   java RA: plugin only works on 32bit browsers.
  HS: 
  HS:  I'm using Centos 64bit, but I have firefox 32bit installed
  HS:
  HS: Are you sure you only have the 32 bit version installed?
  HS: yelp lists the 64 bit version as a dependency, and the /usr/bin/firefox
  HS: script checks for the existence of and runs the 64 bit version if it
  HS: exists.
  HS:
  HS: Does
  HS: rpm -q firefox
  HS: only return line with firefox?
 
 No Hendrik, I have installed both, but is that a problem?
This depends how you start firefox.  The /usr/bin/firefox script will
always start the 64 bit version if it is installed.
If contains a check that sets MOZ_LIB_DIR to use the 64 bit version:

MOZ_LIB_DIR=/usr/lib
if [ -x /usr/lib64/firefox-1.5.0.12/firefox-bin ]
then
  MOZ_LIB_DIR=/usr/lib64
fi

You may need to intervene here to use the 32 bit version.  A simple
check when firefox is running is to do:

$ ps -ef | grep firefox

this will return lines containing either:
/usr/lib64/firefox-1.5.0.12/firefox-bin
which is the 64 bit version, or
/usr/lib/firefox-1.5.0.12/firefox-bin
which is the 32 bit version.
If you edit /usr/bin/firefox directly to prevent it from using the 64
bit version it will work for all users, but you need to redo it with
every firefox update.  If you copy this to for
example /usr/bin/firefox32 you need to manually create a shortcut to
start firefox for all affected users.  (If you update the original menu
entry it may well be replaced with an update - I have not tested this.)
I tend to update a shortcut on the panel, which is more convenient to
use.

Regards
  Hendrik




___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Running a local mirror of centos?

2007-11-17 Thread Hendrik Strydom
On Sat, 2007-11-17 at 17:46 -0500, Jason Pyeron wrote:
 Now that we have 28 centos boxes up and running, we really want to minimize
 the up2date traffic.
 
 Is there a how to on mirroring centos?
 
 We are using
 
  rsync -azHv --delete-excluded --delete rsync://mirrors.kernel.org/centos/
 --exclude-from=centos.excludes --bwlimit=64 --progress centos/
 
 But then what?

Publish this mirror on a internal website, for example link it
to: /var/www/html/repo/Centos (which means it will be visible on
http://reposerver/repo/Centos , where reposerver resolves to the local
web server.

Then modify the file /etc/yum.repos.d/Centos-Base, comment out the
mirrorlist entry and add one like:

#mirrorlist=http://mirrorlist.centos.org/?release=$releaseverarch=
$basearchrepo=os
baseurl=http://reposerver/repo/CentOS/$releasever/os/$basearch/
(for base)

Do this for every repository that you mirror.
Place this updated file in /etc/yum.repos.d/ on all your CentOS servers
and the server will update from it for yum.

Regards
  Hendrik


 
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 -   -
 - Jason Pyeron  PD Inc. http://www.pdinc.us -
 - Sr. Consultant10 West 24th Street #100-
 - +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
 -   -
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 
 This message is for the designated recipient only and may contain
 privileged, proprietary, or otherwise private information. If you
 have received it in error, purge the message from your system and
 notify the sender immediately.  Any other use of the email by you
 is prohibited. 
 
 
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos