Re: [CentOS] why windows 10 can't access centos samba

2019-09-12 Thread anax




On 12/09/2019 12.46, qw wrote:



I update centos's samba to 4.8.3-6. My windows 10 is professional, whose 
version is 1803. I still can't access samba. Do I need update my windows 10 to 
1903?


andrew







At 2019-09-12 17:45:10, "anax"  wrote:



On 12/09/2019 11.09, qw wrote:

Hi,


I can access centos's samba via windows 7, but fail via windows 10. Why?


Thanks!


Regards


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



Hi Andrew

No problem here with:

Centos:

CentOS Linux release 7.6.1810 (Core)

and Samba:

samba-client-libs-4.8.3-6.el7_6.x86_64
samba-4.8.3-6.el7_6.x86_64
samba-common-4.8.3-6.el7_6.noarch
samba-libs-4.8.3-6.el7_6.x86_64
samba-client-4.8.3-6.el7_6.x86_64
samba-common-libs-4.8.3-6.el7_6.x86_64
samba-common-tools-4.8.3-6.el7_6.x86_64


Windows 10:

Windows 10 Home, Version 1903


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

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




As far as I remember, samba worked already with the first Windows 10 
installation I had years ago.

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


Re: [CentOS] why windows 10 can't access centos samba

2019-09-12 Thread anax




On 12/09/2019 11.09, qw wrote:

Hi,


I can access centos's samba via windows 7, but fail via windows 10. Why?


Thanks!


Regards


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



Hi Andrew

No problem here with:

Centos:

CentOS Linux release 7.6.1810 (Core)

and Samba:

samba-client-libs-4.8.3-6.el7_6.x86_64
samba-4.8.3-6.el7_6.x86_64
samba-common-4.8.3-6.el7_6.noarch
samba-libs-4.8.3-6.el7_6.x86_64
samba-client-4.8.3-6.el7_6.x86_64
samba-common-libs-4.8.3-6.el7_6.x86_64
samba-common-tools-4.8.3-6.el7_6.x86_64


Windows 10:

Windows 10 Home, Version 1903


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


Re: [CentOS] Delta RPMs (drpms) for CentOS-6 and CentOS-7

2019-06-04 Thread anax

Hi Johnny

for my installation, drpms do not provide any advantage, so if you see 
any advantage in discontinuing to include them, just do so.


suomi

On 04/06/2019 16.55, Johnny Hughes wrote:

We are having issues with drpms on CentOS-6 i386 and x86_64 and on
CentOS-7 x86_64.

The technical issues sometimes cause us to have to rebuild all drpms
over again .. and the time involved is very large.  Also storing the
drpms and moving them around takes up a lot of space and bandwidth.

We would like to remove delta rpms (drpms) from our CentOS-6 and
CentOS-7 repositories.

But before we do , we would like a discussion on these lists to ensure
this is not going to cause people major issues.

So, begin the discussion, and we will address this again in about a
month.  And we'll see where it leads.

Thanks,
Johnny Hughes


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


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


Re: [CentOS] CentOS 7 hibernation laptop

2019-06-03 Thread anax

You may try using this page:

https://www.kernel.org/doc/Documentation/power/basic-pm-debugging.txt

suomi

On 03/06/2019 17.54, H wrote:

I have a recent Dell Inspiron laptop on which I installed CentOS 7. I have, 
however, failed somewhere since I do not have a hibernate option when shutting 
down, only a suspend option. I believe I created the necessary hibernation 
partition large enough for the RAM the machine has, 16 Gb if I remember 
correctly.

How do I identify where the problem lies?

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


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


Re: [CentOS] NetworkManager and /etc/resolv.conf

2018-11-18 Thread anax


On 11/19/18 6:49 AM, Simon Matter wrote:

On 11/17/18 8:31 AM, Alice Wonder wrote:

On 11/17/2018 07:01 AM, Alice Wonder wrote:

On 11/17/2018 06:43 AM, Alice Wonder wrote:

CentOS 7.5 image running on linode.

unbound running on localhost.

Have to use a cron job once a minute to keep /etc/resolv.conf using
the localhost for name resolution - whenever NetworkManager gets
restarted (usually only a system boot) it gets over-written.

It seems every distro has a different way of preventing
NetworkManager from replacing that file.

I found instructions for Fedora that said create
/etc/NetworkManager/conf.d/no-dns.conf containing

[main]
dns=none

That doesn't seem to have any effect.

Poking around, I find a file on boot seems to be created called

/var/run/NetworkManager/resolv.conf

It has most of the contents of what ends up in /etc/resolv.conf -
except w/o the last line, which just reads rotate in generated
/etc/resolv.conf.

It says it's generated by NetworkManager (both /etc/resolv.conf and
the one in /var/run/NetworkManager) but neither are specific enough
to indicate what is causing them to be created so I can turn it off.

Anyone know how to tell NetworkManager to just not create that file?

Using a cron job to overwrite it once a minute works but there must
be a proper way.

I really wish KISS was a design goal when designing system
configuration.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Just found this -

# cat dhclient-exit-hooks
echo 'options rotate' >> /etc/resolv.conf

That's where the last line in /etc/resolv.conf is coming from.


Okay replacing the contents of dhclient-exit-hooks with

echo -e 'nameserver 127.0.0.1\nnameserver ::1' > /etc/resolv.conf

seems to do what I need.

I hope RHEL/CentOS 8 do networking better, as in, not have spaghetti
scripts called here and there making something that should be a config
option hard to do.

With DNS the only way to trust results is if the zone is signed and
local resolver validates. You can't ever trust external nameservers
defined by dhcp to validate. So there's very valid reasons to want to
use local unbound.
___



I don't know about CentOS 7 because I'm running CentOS 6, but on other
systemd distributions where I've run into similar issues I was either
able to add a hardcoded DNS server to network manager or resolve the
problem through systemd-resolved.

In one case I resolved the issue best by disabling systemd-resolved, but
if you check the man page for systemd-resolved as wells as the man page
for  resolved.conf (/etc/systemd/resolved.conf on other distributions)
my sense is you will find a cleaner solution.  It would seem to me that
if you are running bind or powerdns on your local host, then it would
make sense to me to disable systemd-resolved, since you don't need so
many layers of caching dns resolvers.


Alice was talking about CentOS 7.5, which doesn't have systemd-resolved
nor does it have systemd-networkd. I didn't look at EL8 betas yet but we
can probably expect systemd-networkd to be included there. If that's the
case, we'll probably have legacy script based configs, NetworkManager and
systemd-networkd/systemd-resolved.

In other words, things may not get easier in the future but even more
confusing. At least that's already the case if you run different
distributions.

Regards,
Simon

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



Hi
in august 1017 i had put away the following remark about this item:


#edit
gvim /var/run/NetworkManager/resolv.conf
# to your needs
# make /etc/resolv.conf a link to the above file
rm /etc/resolv.conf
ln -s /lib/systemd/resolv.conf /etc/resolv.conf

# dns=none does not work in either /etc/NetworkManager/NetworkManager.conf
# nor in /etc/NetworkManager/conf.d/dns.conf

---

OR, much simpler:

in /etc/sysconfig/network-scripts/ifcfg-ethX

PEERDNS=no
IPV6_PEERDNS=no




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


Re: [CentOS] Centos on Dell XPS15

2018-09-23 Thread anax




On 9/24/18 3:20 AM, H wrote:

On 09/21/2018 03:59 PM, H wrote:

On 09/18/2018 08:58 PM, H wrote:

On 09/07/2018 04:01 AM, H wrote:

On September 4, 2018 10:51:09 AM GMT+02:00, Patrick Laimbock 
 wrote:

 -Original message-

 From:H  Sent: Monday 3rd September 2018 14:52 To: 
Centos Mailing List  Subject: [CentOS] Centos on Dell XPS15 Is 
anyone successfully running Centos 7 on a Dell XPS15? If so, which model? If not, what was 
the problem? Thank you!


 I only ran Fedora 28 Workstation Live from USB stick on the latest XPS15 
(9570) and did not try CentOS 7. Fedora 28 ran great and the 4K screen is 
beautiful but the laptop had some issues so I sent it back. Issues:

 - the CPU throttles when putting it under load. The "fix"was to undervolt 
the CPU, turn off Turbo speed in the BIOS and turn off HT in the BIOS. This issue seems 
similar to the thermal problem the latest MacBook Pro had. IIRC Apple fixed it in a BIOS 
update. I don't know if/when Dell will fix it (or if they even can fix it).
 - fingerprint reader does not work. With the latest XPS13 (9370) Developer Edition, 
Dell "fixed" it by removing the fingerprint reader.
 - no separate PageUp and PageDown keys. The latest XPS13 does have them 
but on the XPS15 there were 2 gaps in the keyboard where those keys should be 
but aren't.
 - it's not possible to open the screen 180 degrees
 - the webcam at the bottom of the screen (aka NoseCam) is really annoying

 As an alternative to the XPS15 there's the new Inspiron 15 7000 series and 
the Lenovo Thinkpad X1 Extreme (though I have no idea if either of them runs 
CentOS 7).

 HTH,
 Patrick
 


--


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


Very interesting, thank you!

Is anyone running Centos on the Inspiron 15 7000 mentioned?

I just looked at a Dell Inspiron 15 7570 that is refurbished and available at 
$850. Anyone running Centos 7 on this machine?


I bought this machine and am now installing Centos 7 on it. It has a 4K screen 
and the text on the installation screens is miniscule. Has anyone else seen 
this and can it be changed when installing from DVD?

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


After installing Centos 7 on this machine - and the MATE desktop - I have the 
following issues:

- When the machine boots and asks for the password to decrypt the password, the 
text is minuscule, really minuscule... Can this be changed somewhere?

- When it continues booting, the Centos boot animation is displayed in roughly 
the top-left 1/8 of the screen. Can this be changed somewhere so it uses the 
entire screen as is customary?

- I see no option to hibernate the machine, only to suspend. Did I have to do 
anything special to make hibernation possible when installing Centos 7? The 
machine has 16 Gb of memory and the swap space was automatically set to 8 Gb.

- The 4K desktop is unusable because the font, icons etc. are too small. Since 
I have not yet figured out how to increase font size etc. when in 4K mode, I 
changed display resolution to 1600 x 1200. This is only a stop-gap measure 
though and I hope there is a better solution.

- The trackpad is obnoxious to use and it is very hard to use it to maneuver 
around the screen. Should I disable it and simply rely on the mouse?

- I do like the fact that the touchscreen can actually be used to select 
windows in Centos, move them around etc.

- When I have the Dell extension dock connected at startup, the OS crashes and 
gives me a stack dump. Disconnecting it and rebooting solves the problem but it 
really should not be like this...

- Connecting the Dell extension dock after booting the computer results in some 
kind of crash every so often but the OS stays up.

- Even with the dock not connected I have found the OS suddenly crashes and two 
seconds later 

Re: [CentOS] Centos 7.5 on Vmware

2018-06-28 Thread anax

Hi Greg
here, I use Virtualbox for the following VMs:

- Centos 7.5
- Fedora 28
- Windows 10
- Windows 7
- Windows XP

and no problem sofar (cross fingers).
I download VirtualBox directly from

http://www.oracle.com/technetwork/server-storage/virtualbox/downloads/index.html

That is, I don't use any Virtualbox package offerd by any of the repos.

suomi

On 06/28/2018 11:03 PM, Gregory P. Ennis wrote:

Everyone,

I am in the initial study phase of putting together a larger virtual
server while using Centos 7.5 as the operating system of choice for the
  individual virtual machines.

How do you all like VMware for this, or what other software allows for
the development of virtural servers that use Centos 7.5

Thanks ahead of time for giving me a head start with your
experiences

--
Greg Ennis
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


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


Re: [CentOS] NetworkManager updating resolv.cfg

2018-06-21 Thread anax

Hi Shagun
check your settings of PEERDNS and IPV6_PEERDNS...

suomi

On 06/21/2018 08:33 AM, Maheshwari, Shagun wrote:

Hi,

I am facing issue stoping NetworkManager to update resolv.cfg, I am using below 
configuration for eth0 interface:

TYPE=Ethernet
BOOTPROTO=dhcp
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6_ADDR_GEN_MODE=stable-privacy
NAME=eth0
UUID=93b90a46-dab5-4a67-8fd0-fefe8874a8b9
DEVICE=eth0
ONBOOT=no
PEERDNS=no
PEERROUTES=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
DNS1=
DNS2=


Also, added dns=none in NetworkManager.conf file.

Whenever I am restarting NetworkManager, resolv.cfg gets updated and only ipv4 
nameserver is displaced, whether I am expecting both the ips (ipv6 and ipv4 
address to be present in resolv.cfg file.

Any suggestion here, how to achieve that??

Regards,
Shagun
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


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


Re: [CentOS] virt-manager change to bridged networking on CentOS 7.4

2018-01-22 Thread anax



On 01/22/2018 02:57 PM, Jerry Geis wrote:

Hi All,

I have virt-manager running just fine currently using NAT.

I want to "change" it to bridged network. The GUI is not letting me change
anything on the network section.

How do I change it to be bridged ?

Thanks,

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




Are you sure, that the virtual-machine is powered off while you are 
trying to change the network interface?


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


Re: [CentOS] update to Centos7.4: Failed to open \EFI\BOOT\grubx64.efi - Not Found

2018-01-12 Thread anax



On 01/12/2018 08:24 PM, johan.vermeul...@telenet.be wrote:



- Oorspronkelijk bericht -
Van: "Adrian Jenzer" 
Aan: "CentOS mailing list" 
Verzonden: Dinsdag 9 januari 2018 16:56:57
Onderwerp: Re: [CentOS] update to Centos7.4: Failed to open 
\EFI\BOOT\grubx64.efi - Not Found

-Original Message-
From: CentOS [mailto:centos-boun...@centos.org] On Behalf Of 
johan.vermeul...@telenet.be
Sent: Dienstag, 9. Januar 2018 16:34
To: CentOS mailing list
Subject: [CentOS] update to Centos7.4: Failed to open \EFI\BOOT\grubx64.efi - 
Not Found

Hello All,

updating from Centos7.3 to Centos7.4 rendered one of our laptops unbootable.
EM:
Failed to open \EFI\BOOT\grubx64.efi - Not Found
Failed to load image \EFI\BOOT\grubx64.efi: Not Found
start_image() returned Not Found

How could this occur because of an update and how to fix this?

What I tried is booting from centos usb, chroot to /mnt/sysimage and gave 
command:
efibootmgr --create --label CentOS --disk /dev/sda1 --loader 
"\EFI\centos\shim.efi"

This gave no EM, but booting remains impossible.

I have to say I don't know whether to try grub2 of efibootmgr commands.

Any help would be very much appreciated.

Greetings, J.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos



Hi Johan

I remember I had a similar issue and I resolved it by copying grubx64.efi from 
/centos :
cp /boot/efi/EFI/centos/grubx64.efi /boot/efi/EFI/BOOT


regards
Adrian

Adrian,

thanks for helping me out.
That didn't fix the system. The EM has changed though, it now simply says " no 
bootable device".

Greetings, J.

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



Hi Johan
appart from the above copy of the boot file, would you probably need 
something like this:


efibootmgr -b  -l EFI/BOOT/grubx64.efi

i.e. tell BOOT to use the intended boot file.

 may be found out via

efibootmgr -v
BootCurrent: 
Timeout: 0 seconds
No BootOrder is set; firmware will attempt recovery
Boot* Notebook Hard Drive 
BBS(HD,,0x0)...
Boot0001* Notebook Ethernet 
BBS(128,,0x0)E..
Boot0002* Centos 
HD(1,GPT,068e45cc-b2b6-4688-9974-ad7d27e419f8,0x800,0x7a000)/File(EFIcentosgrubx64.efi) 



 by default is 

suomi

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


Re: [CentOS] Centos7 Cant start vncserver

2017-05-25 Thread anax

Hi Robert
apparently vncserver writes its PID file somewhere else than into 
/home/root/.vnc/homebase.home.htt:3.pid, where systemd expects it to be.
Go into /lib/systemd/system/vncserver.service and correct the PID file 
location there, so that it matches the location where vncserver writes 
its PID file.

And then do a
systemctl deamon-reload
systemctl start vncserver

and then after the SECOND start of vncserver (not the first) it will work.

suomi

On 05/25/2017 07:00 PM, Robert Moskowitz wrote:

Actually it is running:

netstat -tuln | grep 590
tcp0  0 0.0.0.0:59010.0.0.0:* LISTEN
tcp0  0 0.0.0.0:59020.0.0.0:* LISTEN
tcp0  0 0.0.0.0:59030.0.0.0:* LISTEN
tcp6   0  0 :::5901 :::* LISTEN
tcp6   0  0 :::5902 :::* LISTEN
tcp6   0  0 :::5903 :::* LISTEN

Why 5901 and 2 are listening, I don't know...

when I vnc to my server I get that basic nasty blank X11 screen.  I 
modified /root/.vnc/xstartup with:


exec /bin/sh /etc/xdg/xfce4/xinitrc

But restarting vncserver@:3 does not seem to get the vnc client to get 
my xfce desktop, only the blank x11 desktop.


Oh and restart gives the same errors as start does, but the pids are there:

# ls .vnc/
homebase.home.htt:1.log  homebase.home.htt:2.pid  passwd
homebase.home.htt:1.pid  homebase.home.htt:3.log  xstartup
homebase.home.htt:2.log  homebase.home.htt:3.pid

I see:

cat .vnc/homebase.home.htt\:1.log

Xvnc TigerVNC 1.3.1 - built Nov 16 2016 13:38:44
Copyright (C) 1999-2011 TigerVNC Team and many others (see README.txt)
See http://www.tigervnc.org for information on TigerVNC.
Underlying X server release 11702000, The X.Org Foundation


Thu May 25 12:45:56 2017
  vncext:  VNC extension running!
  vncext:  Listening for VNC connections on all interface(s), port 5901
  vncext:  created VNC server for screen 0
/root/.vnc/xstartup: line 5: /etc/xdg/xfce4/xinitrc: Permission denied
/root/.vnc/xstartup: line 5: exec: /etc/xdg/xfce4/xinitrc: cannot 
execute: Permission denied


2.log has different errors.

3.log actually has connection information (as I am connecting to 5903?)

thanks

On 05/25/2017 12:37 PM, Robert Moskowitz wrote:
OK, first time configuring vncserver on Centos7.  I have read through 
a bunch of old messages here on vncserver and thought I had it. 
Obviously not.


1)cp /usr/lib/systemd/system/vncserver@.service 
/etc/systemd/system/vncserver@.service

2)vi /etc/systemd/system/vncserver@.service

I changed  in both places to root

3)systemctl daemon-reload
4)systemctl enable vncserver@:3.service
5)vncpasswd
To create /root/.vnc/passwd
6)systemctl start vncserver@:3.service

# systemctl -l status vncserver@:3
● vncserver@:3.service - Remote desktop service (VNC)
   Loaded: loaded (/etc/systemd/system/vncserver@.service; enabled; 
vendor preset: disabled)
   Active: failed (Result: resources) since Thu 2017-05-25 12:31:13 
EDT; 13s ago
  Process: 5173 ExecStart=/usr/sbin/runuser -l root -c 
/usr/bin/vncserver %i (code=exited, status=0/SUCCESS)
  Process: 5170 ExecStartPre=/bin/sh -c /usr/bin/vncserver -kill %i > 
/dev/null 2>&1 || : (code=exited, status=0/SUCCESS)


May 25 12:31:10 homebase.home.htt systemd[1]: Starting Remote desktop 
service (VNC)...
May 25 12:31:13 homebase.home.htt systemd[1]: PID file 
/home/root/.vnc/homebase.home.htt:3.pid not readable (yet?) after start.
May 25 12:31:13 homebase.home.htt systemd[1]: Failed to start Remote 
desktop service (VNC).
May 25 12:31:13 homebase.home.htt systemd[1]: Unit 
vncserver@:3.service entered failed state.
May 25 12:31:13 homebase.home.htt systemd[1]: vncserver@:3.service 
failed.



Thanks for all help.





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


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

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


Re: [CentOS] Network Manager / CentOS 7 / local unbound

2017-04-11 Thread anax

Hi Alice
man NetworkManager.conf

in /etc/NetworkManager/NetworkManager.conf


dns=none



suomi

On 04/11/2017 10:40 AM, Alice Wonder wrote:

Hello list -

http://unix.stackexchange.com/questions/90035/how-to-set-dns-resolver-in-fedora-using-network-manager


That says it works for CentOS 5 and I *suspect* the methods there (3
listed) would work, but what is the best way with NetworkManager to set
it up to use the localhost for DNS ?

I'm paranoid about DNS spoofing and really prefer to have a local
instance of DNSSEC enforcing unbound running on my CentOS 7 virtual
machines (e.g. linode)

Currently I just use a cron job that runs once a minute to over-write
was it is /etc/resolv.conf so they don't use the DHCP assigned
nameservers, but that does leave a short window every time the network
is restarted.

I'd like to know the proper way to set up Network Manager to just create

nameserver 127.0.0.1
nameserver ::1

in /etc/resolv.conf

Via google, it seems every distro approaches it differently and most
instructions I have seen involve a GUI.

I did not see how to do it in the CentOS documentation but it might be
there and I just did not figure out how to search it for what I wanted.

Those stackexchange methods look like they might work but they reference
CentOS 5 and I know some NetworkManager stuff changed even just between
7.2 and 7.3 as I experienced incorrect IPv6 address after update as a
result of those changes.

Is there an "official" way to tell NetworkManager what I want in
/etc/resolv.conf ? Or better yet, a way to just tell it to leave that
file alone?
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos

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


Re: [CentOS] laptop editing

2017-03-17 Thread anax

Hi Mike
yes, id does. I have here a HP Elite Book which requested an UEFI 
install. I put a micro SD with Fedora 25 into the slot, tell the laptop 
to boot from there, and off it goes. No problem sofar.


suomi

On 03/17/2017 06:10 PM, Michael Hennebry wrote:

On Thu, 16 Mar 2017, John R Pierce wrote:


DD the CentOS ISO onto a USB stick.   boot from USB, format HD with
anaconda, install as desired, done.


Thanks.
More or less the answer I was hoping for.
My recollection had been that even when possible,
booting from USB involved black magic.
This helped:
Pete Biggs 

Some do, some don't. They all come with USB ports though.

  https://wiki.centos.org/HowTos/InstallFromUSBkey



I have a bunch of SD cards and a interface.

This should work:
download CentOS iso
dd it to an SD card through USB interface (as the entire volume, not to
a file)
plug in SD card to USB port on laptop
turn on laptop
hit /// to get to BIOS
tell BIOS to boot from USB
follow instructions

Correct?

Will it still work if it has UEFI?

--
Michael henne...@web.cs.ndsu.nodak.edu
"SCSI is NOT magic. There are *fundamental technical
reasons* why it is necessary to sacrifice a young
goat to your SCSI chain now and then."   --   John Woods








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


Re: [CentOS] Adobereader on Centos7 crashes

2017-01-01 Thread anax

Hi  Rob
did you ever try sith master-pdf-editor?

http://code-industry.net/free-pdf-editor.php

The functionality you require in AR may be available from 
master-pdf-editor as well...


suomi

On 01/01/2017 07:11 AM, Rob Kampen wrote:

On 01/01/17 04:35, johan.vermeul...@telenet.be wrote:

Hello All,

I can't get Adobe Reader to run stable on Centos7, when trying to edit
settings or trying to print, it crashes.
The issue is people need to digitally sign pdf forms. When I open
these forms with anything else then Adobereader, I get EM

To view the full contents of this document, you need a later version
of the PDF viewer. You can upgrade
to the latest version of Adobe Reader from
www.adobe.com/products/acrobat/readstep2.html

I spent a lot of time trying to solve this with other pdf viewers,
including google-chrome and Foxit, and trickery with ps2pdf and
Pdfedit. Nothing works.

I installed Adobereader following this:
https://www.if-not-true-then-false.com/2010/install-adobe-acrobat-pdf-reader-on-fedora-centos-red-hat-rhel/


So I tried installing this on an up-to-date CentOS 7.3 system and it
fails to find
Error: Package: AdobeReader_enu-9.5.5-1.i486
(/AdbeRdr9.5.5-1_i486linux_enu)
   Requires: libpangox-1.0.so.0

which a yum whatprovides */libpangox-1.0.so.0 shows as:
pangox-compat-0.0.2-2.el7.x86_64 : Compatibility library for pangox
Repo: epel
Matched from:
Filename: /usr/lib64/libpangox-1.0.so.0

and even after an install of this package still fails - thus I suspect
it relates to not finding the 32 bit version as the epel version
installs this in /usr/lib64

What did you do to overcome this dependency?


The signing of these forms is vital to my organization, so any help
would be appreciated.

Greetings, J.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


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

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


Re: [CentOS] Trouble setting up HP Officejet Pro 8600 printer on CentOS 7 + KDE

2016-11-11 Thread anax

Hi Niki
don't you need a hplip addon/plugin, which you can fetch from
http://hplipopensource.com/hplip-web/install/install/index.html

There, with the wizard, you get a file hplip-3.x.x.run
which you download and run using
bash hplip-3.x.x.run

This will install the addon/plugin.

suomi

On 11/11/2016 08:49 AM, Nicolas Kovacs wrote:

Hi,

I just installed a CentOS 7 + KDE desktop in my office's network. So
far, I'm quite happy with the results, though I have some trouble
getting the printer to work. All the other machines in my office
(server, desktops, workstation) are running Slackware64 14.1 or 14.2,
and they can all use the printer perfectly.

I installed hplip-gui and ran it. The printer is a network printer, it
has a static IP in the network and can also be addressed by its hostname.

  [kikinovak@alphamule:~] $ host hp-officejet
  hp-officejet.microlinux.lan has address 192.168.2.252

When I run hp-setup with the default options, the setup program "sees"
the printer, but informs me that there is a "communication problem". I
figure this is because the default seach method is mDNS/Bonjour. I tried
again with the SLP option, and this time the setup procedure went OK. Or
it seemed so, as the test page was blank.

Now what?

A few details about my system: SELinux, IPv6 and firewall are disabled.
CUPS is running OK. I checked on the HP website that this printer
requires HPLIP 3.11.10 or greater, which seems OK, since the HPLIP
version shipping with CentOS is 3.13.something.

Cheers,

Niki


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


Re: [CentOS] netbook screen suddenly goes black

2016-06-19 Thread anax
Try with CTRL-ALT-F2 (go to the console) and CTRL-ALT-F1 (go back to the 
X-Window). This may help...


suomi

On 06/20/2016 03:10 AM, Fred Smith wrote:

Hi all!

I'm running an up to date Centos-7 on my Acer Aspire One netbook. have
been for, well, ever since C7 was released.

Just had an event today that also happened 2 or 3 times with earlier
systems installed, but I never pursued it.

What happens is that suddenly while working away on the desktop the
display suddenly goes black... not black as in turned off, I can see
that the backlight is still on, but no image is displayed.

Nothing I can do fixes it except a reboot. I've tried CTRL-ALT-BKSP,
CTRL-ALT-DEL, alt+printscreen+r+e+i+s+u+b. none of them do anything
noticeable.

I've been looking at system logs and don't find anything that gives
me a clue what is going wrong when that happens.

neither dmesg, /var/log/Xorg*, nor /var/log/messages contins much. I've
tried digging thru "man journalctl" and ultimately reading thru the
output of journalctl with no arguments.

Can anyone of you provide further hints on what I should be looking
for or at?

thanks!

Fred


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


Re: [CentOS] Strange behaviour of iptables in centos 7

2016-03-08 Thread anax



On 03/08/2016 10:59 AM, James Hogarth wrote:

On 8 March 2016 at 09:22, anax <a...@ayni.com> wrote:




On 03/08/2016 09:43 AM, James Hogarth wrote:


On 8 Mar 2016 07:36, "anax" <a...@ayni.com> wrote:



Hi
strange behaviour of iptables on a centos 7.0 machine:
The following rule is in the iptables of said machine:

[root@myserver ~]# iptables -L -v -n --line-numbers |grep 175\.
99   456 DROP   all  --  *  *   175.44.0.0/16


0.0.0.0/0


[root@myserver ~]#

The corresponding enty in /etc/sysconfig/iptables looks like:

[root@myserver ~]# grep 175 /etc/sysconfig/iptables
-A INPUT -s 175.44.0.0/16 -j DROP
[root@myserver ~]#

The rule must be there since ages, because it has number 9 out of 76


similar rules.



Today, on the same machine (I rechecked it to make sure not to confound


machines), I see the following extract of the ftplog:




175.44.4.1272915
175.44.26.128   2021
175.44.26.138   1322
175.44.6.1861290
175.44.24.881219
175.44.4.1991212


saying that from this IP addresse there have been this many connections


to the ftp server on that machine during the last two days, which means
that the iptables haven't dropped the connection to the machine. As far as
I know, the ftp server is behind the iptables. I also checked to see in
man
iptables, wheather the IP address is represented correctly.



What im I missing?



Please provide the full iptables listing as a snippet from one section is
not useful.

Keep in mind iptables does not go by the most specific entry but rather
the
first matching rule hit.

If there are any rules prior to this drop that would permit the traffic
then of course the traffic would be permitted.

Also 7.0? Please get that system updated asap as you are missing many
important (and higher) issues being fixed.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos



Hi James

[root@myserver ~]# cat /etc/centos-release
CentOS Linux release 7.2.1511 (Core)
[root@myserver ~]#

[root@myserver ~]# uname -a
Linux myserver.mydomain.com 3.10.0-327.4.4.el7.x86_64 #1 SMP Tue Jan 5
16:07:00 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
[root@myserver ~]#




A joyful thing to see ;)

As for your issue itself - the rules seem sound to drop any packets
arriving at the server from that /16 network.

Are you sure that the iptables rule was added before the transfer logs you
see?

That it didn't happen that someone (or some process) saw abuse of ftp and
then inserted the DROP rule afterwards?

Remember position isn't always useful to gauge age of the rule since you
can insert anywhere ... and only 9 packets have been matched by that rule
in the full output...
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos



Hi james
I am absolutely sure, that the rule in question has been insertet into 
iptables more than a year ago, because I am (hopefully) the only one 
with root access to this server. There is no fail2ban on the server, 
which could have introduced the rule into iptables automatically.


I have written the ruby program to extract the snippet of the ftp-log 
yesterday and have taken notice of the iptables missbehaviour this morning.


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


Re: [CentOS] Strange behaviour of iptables in centos 7

2016-03-08 Thread anax



On 03/08/2016 09:43 AM, James Hogarth wrote:

On 8 Mar 2016 07:36, "anax" <a...@ayni.com> wrote:


Hi
strange behaviour of iptables on a centos 7.0 machine:
The following rule is in the iptables of said machine:

[root@myserver ~]# iptables -L -v -n --line-numbers |grep 175\.
99   456 DROP   all  --  *  *   175.44.0.0/16

0.0.0.0/0

[root@myserver ~]#

The corresponding enty in /etc/sysconfig/iptables looks like:

[root@myserver ~]# grep 175 /etc/sysconfig/iptables
-A INPUT -s 175.44.0.0/16 -j DROP
[root@myserver ~]#

The rule must be there since ages, because it has number 9 out of 76

similar rules.


Today, on the same machine (I rechecked it to make sure not to confound

machines), I see the following extract of the ftplog:



175.44.4.1272915
175.44.26.128   2021
175.44.26.138   1322
175.44.6.1861290
175.44.24.881219
175.44.4.1991212


saying that from this IP addresse there have been this many connections

to the ftp server on that machine during the last two days, which means
that the iptables haven't dropped the connection to the machine. As far as
I know, the ftp server is behind the iptables. I also checked to see in man
iptables, wheather the IP address is represented correctly.


What im I missing?



Please provide the full iptables listing as a snippet from one section is
not useful.

Keep in mind iptables does not go by the most specific entry but rather the
first matching rule hit.

If there are any rules prior to this drop that would permit the traffic
then of course the traffic would be permitted.

Also 7.0? Please get that system updated asap as you are missing many
important (and higher) issues being fixed.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos



Hi James

[root@myserver ~]# cat /etc/centos-release
CentOS Linux release 7.2.1511 (Core)
[root@myserver ~]#

[root@myserver ~]# uname -a
Linux myserver.mydomain.com 3.10.0-327.4.4.el7.x86_64 #1 SMP Tue Jan 5 
16:07:00 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

[root@myserver ~]#

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


Re: [CentOS] Strange behaviour of iptables in centos 7

2016-03-08 Thread anax



On 03/08/2016 09:43 AM, James Hogarth wrote:

On 8 Mar 2016 07:36, "anax" <a...@ayni.com> wrote:


Hi
strange behaviour of iptables on a centos 7.0 machine:
The following rule is in the iptables of said machine:

[root@myserver ~]# iptables -L -v -n --line-numbers |grep 175\.
99   456 DROP   all  --  *  *   175.44.0.0/16

0.0.0.0/0

[root@myserver ~]#

The corresponding enty in /etc/sysconfig/iptables looks like:

[root@myserver ~]# grep 175 /etc/sysconfig/iptables
-A INPUT -s 175.44.0.0/16 -j DROP
[root@myserver ~]#

The rule must be there since ages, because it has number 9 out of 76

similar rules.


Today, on the same machine (I rechecked it to make sure not to confound

machines), I see the following extract of the ftplog:



175.44.4.1272915
175.44.26.128   2021
175.44.26.138   1322
175.44.6.1861290
175.44.24.881219
175.44.4.1991212


saying that from this IP addresse there have been this many connections

to the ftp server on that machine during the last two days, which means
that the iptables haven't dropped the connection to the machine. As far as
I know, the ftp server is behind the iptables. I also checked to see in man
iptables, wheather the IP address is represented correctly.


What im I missing?



Please provide the full iptables listing as a snippet from one section is
not useful.

Keep in mind iptables does not go by the most specific entry but rather the
first matching rule hit.

If there are any rules prior to this drop that would permit the traffic
then of course the traffic would be permitted.

Also 7.0? Please get that system updated asap as you are missing many
important (and higher) issues being fixed.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos




Hi James

Thanks very much for your answer.

the full iptables list is in my reply to John.

But you are correct, I must update the system. This may fix the isssue.

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


Re: [CentOS] Strange behaviour of iptables in centos 7

2016-03-08 Thread anax



On 03/08/2016 09:13 AM, John R Pierce wrote:

On 3/7/2016 11:35 PM, anax wrote:

saying that from this IP addresse there have been this many
connections to the ftp server on that machine during the last two
days, which means that the iptables haven't dropped the connection to
the machine. As far as I know, the ftp server is behind the iptables.
I also checked to see in man iptables, wheather the IP address is
represented correctly.



which table is that rule in?  INPUT, or a table invoked by input? are
there rules affecting inbound FTP connections before that rule?






Hi John

Thanks for your answer.

The complete output of iptables is:


[root@myserver ~]# iptables -L -v -n --line-numbers
Chain INPUT (policy ACCEPT 30M packets, 6401M bytes)
num   pkts bytes target prot opt in out source 
 destination
10 0 ACCEPT udp  --  *  *   127.0.0.1 
 0.0.0.0/0udp dpt:53
2   11  1133 ACCEPT udp  --  *  *   192.168.97.0/24 
 0.0.0.0/0udp dpt:53
3 254K   17M ACCEPT udp  --  *  *   212.90.206.128/27 
 0.0.0.0/0udp dpt:53
4  40M 2816Mudp  --  *  *   0.0.0.0/0 
 0.0.0.0/0udp dpt:53 recent: SET name: dnslimit side: 
source mask: 255.255.255.255
57717K  549M DROP   udp  --  *  *   0.0.0.0/0 
 0.0.0.0/0udp dpt:53 recent: UPDATE seconds: 10 hit_count: 
20 name: dnslimit side: source mask: 255.255.255.255
6 823K   65Mudp  --  *  *   0.0.0.0/0 
 0.0.0.0/0udp dpt:53 STRING match  "|ff0001|" ALGO name 
bm FROM 50 TO 65535 recent: SET name: dnsanyquery side: source mask: 
255.255.255.255
7 337K   27M DROP   udp  --  *  *   0.0.0.0/0 
 0.0.0.0/0udp dpt:53 STRING match  "|ff0001|" ALGO name 
bm FROM 50 TO 65535 recent: CHECK seconds: 10 hit_count: 3 name: 
dnsanyquery side: source mask: 255.255.255.255
80 0udp  --  *  *   0.0.0.0/0 
 0.0.0.0/0udp dpt:53 STRING match  "|e28098|" ALGO name bm 
FROM 50 TO 65535
99   456 DROP   all  --  *  *   175.44.0.0/16 
 0.0.0.0/0
101059 73305 DROP   all  --  *  *   58.251.0.0/16 
 0.0.0.0/0
111099 77004 DROP   all  --  *  *   74.63.0.0/16 
 0.0.0.0/0
121133 78600 DROP   all  --  *  *   36.248.0.0/16 
 0.0.0.0/0
131130 77455 DROP   all  --  *  *   14.222.0.0/16 
 0.0.0.0/0
141112 76977 DROP   all  --  *  *   113.247.0.0/16 
 0.0.0.0/0
151397 95745 DROP   all  --  *  *   112.90.0.0/16 
 0.0.0.0/0
16   11137  747K DROP   all  --  *  *   5.39.0.0/16 
 0.0.0.0/0
17  57  4687 DROP   all  --  *  *   185.29.0.0/16 
 0.0.0.0/0
188861  654K DROP   all  --  *  *   37.59.0.0/16 
 0.0.0.0/0
19 133  7344 DROP   all  --  *  *   165.228.0.0/16 
 0.0.0.0/0
201104 76908 DROP   all  --  *  *   58.254.0.0/16 
 0.0.0.0/0
211076 75445 DROP   all  --  *  *   99.157.0.0/16 
 0.0.0.0/0
22 215 14708 DROP   all  --  *  *   201.10.0.0/16 
 0.0.0.0/0
231073 74411 DROP   all  --  *  *   5.34.0.0/16 
 0.0.0.0/0
241124 80611 DROP   all  --  *  *   46.29.0.0/16 
 0.0.0.0/0
251867  123K DROP   all  --  *  *   104.232.0.0/16 
 0.0.0.0/0
26113K   15M DROP   all  --  *  *   195.186.1.162 
 0.0.0.0/0
271077 74817 DROP   all  --  *  *   112.111.0.0/16 
 0.0.0.0/0
281091 75748 DROP   all  --  *  *   122.13.0.0/16 
 0.0.0.0/0
29  51  3528 DROP   all  --  *  *   42.157.0.0/16 
 0.0.0.0/0
301367 87949 DROP   all  --  *  *   78.188.0.0/16 
 0.0.0.0/0
31  60  3447 DROP   all  --  *  *   218.161.0.0/16 
 0.0.0.0/0
32 727 83807 DROP   all  --  *  *   218.203.0.0/16 
 0.0.0.0/0
331043 72394 DROP   all  --  *  *   96.250.0.0/16 
 0.0.0.0/0
347332  507K DROP   all  --  *  *   89.163.0.0/16 
 0.0.0.0/0
35  59  4240 DROP   all  --  *  *   203.101.0.0/16 
 0.0.0.0/0
361063 73252 DROP   all  --  *  *   117.204.0.0/16 
 0.0.0.0/0
371081 74869 DROP   all  --  *  *   114.80.0.0/16 
 0.0.0.0/0
381387  104K DROP   all  --  *  *   14.215.0.0/16 
 0.0.0.0/0
391273 87578 DROP   all  --  *  *   14.152.0.0/16 
 0.0.0.0/0
402823  204K DROP   all  --  *  *   46.105.0.0/16 
 0.0.0.0/0
411088  352K DROP   all  --  *  *   66.85.0.0/16 
 0.0.0.0/0
426108  391K DROP   all  --  *  *   220.181.0.0/16 
 0.0.0.0/0
431253 86598 DROP   all  --  *  *   37.99.0.0/16 
 0.0.0.0/0
441092 75717 DROP   all  --  *  *   88.206.0.0/16 
 0.0.0.0/0
45 950 66684 DROP   all  --  *  *

Re: [CentOS] Strange behaviour of iptables in centos 7

2016-03-08 Thread anax



On 03/08/2016 08:50 AM, Rob Kampen wrote:

On 03/08/2016 08:35 PM, anax wrote:

Hi
strange behaviour of iptables on a centos 7.0 machine:
The following rule is in the iptables of said machine:

[root@myserver ~]# iptables -L -v -n --line-numbers |grep 175\.
99   456 DROP   all  --  *  *   175.44.0.0/16
 0.0.0.0/0
[root@myserver ~]#

The corresponding enty in /etc/sysconfig/iptables looks like:

[root@myserver ~]# grep 175 /etc/sysconfig/iptables
-A INPUT -s 175.44.0.0/16 -j DROP
[root@myserver ~]#

The rule must be there since ages, because it has number 9 out of 76
similar rules.

Today, on the same machine (I rechecked it to make sure not to
confound machines), I see the following extract of the ftplog:


175.44.4.1272915
175.44.26.1282021
175.44.26.1381322
175.44.6.1861290
175.44.24.881219
175.44.4.1991212


saying that from this IP addresse there have been this many
connections to the ftp server on that machine during the last two
days, which means that the iptables haven't dropped the connection to
the machine. As far as I know, the ftp server is behind the iptables.
I also checked to see in man iptables, wheather the IP address is
represented correctly.

What im I missing?


You mention iptables - but no mention of firewalld - they both use the
same kernel mechanism, but it is important that both CANNOT be active!
If you configure and use firewalld you can query ># iptables -L and see
what is installed, however I have no idea if this exposes the entire set
of firewall statements - others that better understand this space, feel
free to weigh in.
CentOS 7 has firewalld enabled by default, thus the choice to use
iptables directly means that firewalld must be disabled.
HTH

thanks in advance

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


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


Hi Rob

Thank you for your answer.
I did really not consider that with firewalld. But when I check on the 
server I get:


[root@myserver ~]# systemctl status firewalld
 firewalld.service - firewalld - dynamic firewall daemon
   Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; 
vendor preset: enabled)

   Active: inactive (dead)
[root@myserver ~]#

Also if I do:

[root@myserver ~]# ps xa |grep firewall
12235 pts/0S+ 0:00 grep --color=auto firewall
[root@myserver ~]#

so firewalld is really not active.

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


[CentOS] Strange behaviour of iptables in centos 7

2016-03-07 Thread anax

Hi
strange behaviour of iptables on a centos 7.0 machine:
The following rule is in the iptables of said machine:

[root@myserver ~]# iptables -L -v -n --line-numbers |grep 175\.
99   456 DROP   all  --  *  *   175.44.0.0/16 
 0.0.0.0/0

[root@myserver ~]#

The corresponding enty in /etc/sysconfig/iptables looks like:

[root@myserver ~]# grep 175 /etc/sysconfig/iptables
-A INPUT -s 175.44.0.0/16 -j DROP
[root@myserver ~]#

The rule must be there since ages, because it has number 9 out of 76 
similar rules.


Today, on the same machine (I rechecked it to make sure not to confound 
machines), I see the following extract of the ftplog:



175.44.4.1272915
175.44.26.128   2021
175.44.26.138   1322
175.44.6.1861290
175.44.24.881219
175.44.4.1991212


saying that from this IP addresse there have been this many connections 
to the ftp server on that machine during the last two days, which means 
that the iptables haven't dropped the connection to the machine. As far 
as I know, the ftp server is behind the iptables. I also checked to see 
in man iptables, wheather the IP address is represented correctly.


What im I missing?

thanks in advance

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


Re: [CentOS] CentOS 7 & dhclient hooks

2015-10-05 Thread anax

Did you check the log files /var/log/daemonlog, /var/log/messages
journalctl ...

suomi

On 2015-10-05 18:29, Tero M wrote:

Hi,

I have CentOS 7 and I am trying to get dhclient hooks working. I have 1)
created file /etc/dhcp/dhclient-enp4s0.conf,
2) created  directories /etc/dhcp/{dhclient-enter-hooks.d,
dhclient-exit-hooks.d},
3) added line  'DHCLIENTARGS="-nc"' into file ifcfg-enp4s0 and
4) added file /etc/dhcp/dhclient-enter-hooks.d/test with line echo
"executed enter-hook",
5)

but I was not getting any output after executing ifdown enp4s0 && ifup
enp4s0.

However, I was able to do this with NetworkManagers dispather scripts,
but I prefer old school dhclient hooks. :-)


sincerely
Tero M
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


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


Re: [CentOS] BackupPC problem - wrong user

2015-09-08 Thread anax

Hi Tim
if you try with suexec?

suomi

On 2015-09-08 12:18, Timothy Murphy wrote:

I recently moved BackupPC from CentOS-6 to CentOS-7.
But when I browse to localhost/BackupPC I'm told
   Error: Wrong user: my userid is 48[apache], instead of 984(backuppc)

As far as I can tell, the BackupPC settings are exactly the same
as they were before the move.

It seems htttpd is running the program as user apache
rather than backuppc, as required.
Is there a simple setting in /etc/httpd/ that will tell httpd
to run as a different user?



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


Re: [CentOS] HP Elitebook 8460p

2015-07-10 Thread anax

Hi Phil
I have Fedora 20, Fedora21, and Fedora 22 installed on an HP Elitebootk 
Folio 1040.
The only problem with Fedora 22 was, that anaconda required a GPT 
partition table to install an UEFI system. But after having changed from 
MBR to GPT partition table (using gdisk), no problems any more.
I can not explain why anaconda required the UEFI installation: The 
SD-disk on the laptop is far less then 2 Terabytes.


suomi

On 07/10/2015 11:34 AM, Phil Dobbin wrote:

Hi, all.

I'm intending to install CentOS 7 on a HP Elitebook 8460p. Does anybody
have any experience of this?

Many thanks for any help.

Cheers,

   Phil...
___
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] Package group X Window System has disappeared

2015-02-27 Thread anax

Try

yum groupinstall Xfce

or
yum groupinstall MATE Desktop

or
yum groupinstall GNOME Desktop

or
yum groupinstall Server with GUI

suomi



On 02/27/2015 10:54 AM, Niki Kovacs wrote:

Hi,

Until last week, I could install a CentOS 7 based desktop using the
following approach:

1. Install minimal system.

2. yum groupinstall X Window System

3. yum install gdm gnome-classic-session gnome-terminal liberation-fonts

4. Install applications as needed.

This morning, the package group X Window System seems to have
disappeared. This is embarrassing.

What happened?

Niki

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


Re: [CentOS] C6 server responding extremely slow on ssh interactive

2015-01-28 Thread anax

Hi Patrick
have you ever tried to find out on which side the hanger is: on the 
client's or on the server's, using tcpumg or the like?

That migth help a bit further on, that might.

suomi

On 01/28/2015 05:41 PM, Patrick Bervoets wrote:

Op 28-01-15 om 17:20 schreef Marcelo Ricardo Leitner:

On 28-01-2015 11:15, Patrick Bervoets wrote:

I have a C6 server acting as a kvm-host.

When connecting with ssh the console is extremely slow and hangs for
minutes at a time. Connecting to this server is not the problem.

If I use: ssh root@host whatever I got immediate response even when
interactive consoles opened with ssh are hanging.


Sorry, is it hanging during the session or while attempting to
establish a new one? If this last, it may be dns and ssh -v may help.
The former is weird, I don't think I ever saw it.

  Marcelo


Marcelo,

It hangs during the session. Once I'm logged in and beginning to type it
displays 3-5 chars and then hangs for up to 15 minutes, a few more
chars, wait, and so on.
Checked my resolv.conf; added 'options single-request-reopen' though I
don't know if that is helping.

Yes it is weird; even more that individual commands sent with ssh gives
immediate respons.

Thanks
Patrick




___
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] Kickstart IPv6 Gateway

2014-11-11 Thread anax
Did you probably forget to provide the network prefix, when specifiying 
the ipv6 address?


--ipv6=2001:123:abc::123/network-prefix

suomi


On 11/11/2014 09:44 AM, John Tall wrote:

Hi.

I'm installing CentOS 7 with Kickstart on a machine that has IPv6. The
problem is that while it has an IPv6 address after installation it
does not have the IPv6 gateway. I'm using NetworkManager and my
network configuration is completely static, no autoconf or dhcpv6.

My Kickstart configuration uses the following network configuration
(actual values replaced but with the same format):

network  --device enp1s0 --bootproto=static --gateway=123.123.123.1
--ip=123.123.123.123 --nameserver=123.123.123.1
--netmask=255.255.255.0 --ipv6=2001:123:abc::123
--ipv6gateway=2001:123:abc::1  --activate
network  --hostname=test.example.org

The Red Hat installation guide suggests that --ipv6gateway should be
used but it looks like it's not picked up. Does anyone know why this
doesn't work?

John
___
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] centos-7 reinstall

2014-11-05 Thread anax

If fisxed IP Addresses are to bo set up, I usually do it in
/etc/sysconfig/network-scripts/ifcfg-interfacename. This file, on a
Centos 7 installation, looks like this:


DEVICE=eth0
ONBOOT=yes
NETBOOT=yes
NM_CONTROLLED=no
UUID=2c15111b-dd3d-4b31-9c5c-e01f13e36242
BOOTPROTO=static
#BOOTPROTO=dhcp
HWADDR=90:1b:0e:11:f9:28
TYPE=Ethernet
NAME=eth0
#IPADDR=192.168.97.67
IPADDR=212.90.206.131
#NETMASK=255.255.255.0
NETMASK=255.255.255.224
MTU=1450
#GATEWAY=192.168.97.2
 GATEWAY=212.90.206.129
#
IPV6INIT=yes
# global scope
IPV6ADDR=2002:d45a:ce86::163/64
# site scope
IPV6ADDR_SECONDARIES=fec0::240:5ff:fe51:d92d/64

if you do changes in this file, you have to

ifdown interfacename
ifup interfacename

in order to activate them.

suomi


On 2014-11-05 17:10, James B. Byrne wrote:

I have a test system that I am using to investigate CentOS-7.  I note the
following difficulty when booting from the Minimal Install DVD.

Neither on the initial install nor on subsequent attempts at re-installing
CentOS-7 can I set the IPv4 interface to a static IP address.  I can configure
it but I cannot save the changes.  The save button remains greyed out.



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



Re: [CentOS] C7: need authconfig against LDAP

2014-08-29 Thread anax


On 2014-08-29 08:37, Mihamina Rakotomandimby wrote:
 Hi all,

 On a C6 box, when I want to enable LDAP authentication, I issue:

 # yum -y install nss-pam-ldapd pam_ldap nscd
 # authconfig --enableldap --enableldapauth --enablemkhomedir \
   --ldapserver=ldap://ldap-blabla/  \
   --ldapbasedn=blabla \
   --enablecache --disablefingerprint \
   --kickstart --update

 All is working fine, the directory structure is fine and compliant.

 What about C7?

 As far as I read,
 - there is a switch to sssd
 - I found 1 link:
 http://www.certdepot.net/ldap-client-configuration-authconfig/

 Is there something in particular I should pay attention for?
 Note that I have only GUI-less servers.

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


sssd is a hard peace to configure. In C7 it wants absolutely to have an 
encrypted connection to the LDAP server. Therefore, it must at least 
have a valid CAcert at disposition. Also, the LDAP server itself must 
have a valid CAcert (eventually the same as the sssd client) and a valid 
server-certificate with the Common-Name of the host it runs on.

Follows our /etc/sssd/sssd.conf:

[domain/default]

autofs_provider = ldap
cache_credentials = True
ldap_search_base = ou=pam-ldap,dc=mydomain,dc=com
ldap_user_search_base = ou=people,ou=pam-ldap,dc=mydomain,dc=com
ldap_group_search_base = ou=group,ou=pam-ldap,dc=mydomain,dc=com
ldap_default_bind_dn = cn=pam-ldap-checker,ou=pam-ldap,dc=mydomain,dc=com
ldap_default_authtok = 
cache_credentials = true
enumerate = true
id_provider = ldap
auth_provider = ldap
chpass_provider = ldap
ldap_uri = ldap://casablanca.lan/
ldap_id_use_start_tls = True
ldap_tls_cacertdir = /etc/openldap/cacerts
[sssd]
services = nss, pam, autofs
config_file_version = 2

domains = default
[nss]

[pam]

[sudo]

[autofs]

[ssh]

[pac]
---

In the /etc/nsswitch.conf you must have:

.
passwd: files sss
shadow: files sss
group:  files sss
.

---

sssd, in our config, logs into the /var/log/daemonlog

---

you must have authconfig set-up as you said in your message.

---

In case you see just Unable to establish TLS connection with the LDAP 
server from sssd then you may be better off to start sssd in debug mode:
sssd -d0x777 -i
In this debug you search for Starting TLS.

Wishing you good luck

suomi


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


Re: [CentOS] Dual boot with 2 drives

2014-08-09 Thread anax
I have a desktop with two disks, both wich Centos 7 backing up each 
other. Both disks have Grub2 in the MBR.
On the first disk, in the Grub2 Menu /boot/grub2/grub.conf, I added a 
menuentry to chainload the second disk. This chainloader menuentry looks 
like:

menuentry '3boot via chainloader from lower disk' {
   set root='hd1'
   chainloader +1
}

This way I can boot the 2nd disk from the 1st one, and I don't need to 
change boot preferences in the BIOS.

suomi


On 2014-08-09 12:23, Alan McRae wrote:
 No problems Joe. I have done this multiple times.

 I assume you have Fedora 20 on sda (the first disk) with
 the bootloader (grub2) on sda. Your BIOS will be set to boot sda.

 You install CentOS 7 on sdb (obvious).

 Your options are with the bootloader (grub2). If you install
 the bootloader on sdb the two systems will remain separate.
 You will have to change the BIOS to boot either sda (F20)  or sdb (C7).

 The way I prefer would be to install the new bootloader on sda
 (overwriting the current configuration).
 Your BIOS will still boot sda which will take you into
 the grub2 menus which will show both Fedora 20 and CentOS 7.

 You need to be aware that in the above configuration sda will
 boot into /boot on sdb (C7) which will have the dual boot menus.
 Don't wreck this directory or you won't be able to boot F20 (easily).

 The F20 and C7 installers are very good. They scan the disks for
 linux and Windows installations and add them into the boot menu for you.

 I have a laptop which boots C7, C6, F20, XP and 3 versions of Android
 using grub2.

 Alan

 On 09/08/2014 17:02, Ted Miller wrote:
 On 07/31/2014 11:37 AM, Joseph Hesse wrote:
 Hi,

 I have a laptop with 2 hard drives.  The first has Fedora 20 (no windows
 or anything else) and the second is unused.  I would like to install
 CentOS7 on the unused drive so I can dual boot with the choice of the 2
 OS's on the Grub menu.
 I am comfortable in partitioning drives and installing Linux
 distributions.  I am afraid I may mess up the MBR and/or set up Grub
 incorrectly so I lose everything.

 Please point me to some documentation to help me.

 Thank you,
 Joe
 I see no answers to this, so I will tell you this: If you have a CD (or USB
 drive) with the Super Grub Disk from www.supergrubdisk.org, you will be
 able to get to your linux installations no matter how badly you mess up you
 MBR.  It is usually quite difficult to cut yourself off from an existing
 installation, because usually the new install process will find the old
 installation and include it on the new menu.

 Ted Miller


 ___
 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

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


Re: [CentOS] freebsd hangs when install on centos6.5

2014-05-27 Thread anax
Hi
I took the following note when installng freeBSD on VirtualBox:

Installation in VirtualBox:

from
http://www.freebsd.org/
get a boot-install CDROM and burn it to a disk, because mounting the ISO 
file at installation-start does not work with freeBSD, you get a 
kernel-panic immediately. As installation source give one of the 
freebsd.org webs, Also, it is useless to copy an entire distribution to 
a local disk, using this as installation source woun't work either.

Possibly it may help you also on kvm.

suomi


On 2014-05-27 08:31, Jarod. w wrote:
 Hi, All

  The freebsd(version: 10.0, RC3) can't be installed as kvm guest based on
 CentOS 6.5(kernel: kernel-2.6.32-431.17.1.el6.x86_64, qemu-kvm:
 qemu-kvm-0.12.1.2
 -2.415.el6_5.8.x86_64). When installing it, it always shows 'booting' and
 hangs.

  My cpumemory information:
  CPU: Intel(R) Xeon(R) CPU E5-2690 v2 @ 3.00GHz
  Mem: 132189664

  My qemu-kvm command:
  /usr/libexec/qemu-kvm -name testbsd -M rhel6.5.0 -enable-kvm -m
 2048 -realtime mlock=off -smp 4,sockets=4,cores=1,threads=1 -uuid
 7f68743b-d725-4c7d-dc7e-9aa6712584b3 -drive
 file=/home/vAPV/test.img,if=none,id=drive-ide0-0-0,format=qcow2,cache=none
 -vnc 0.0.0.0:0 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x4
 --cdrom /home/downloads/FreeBSD-10.0-RC3-amd64-dvd1.iso


  Any suggestions?
  Thanks in advance..



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


Re: [CentOS] vi : unable to copy text to other file

2014-05-15 Thread anax
Mount the remote file system using sshfs

suomi

On 2014-05-15 13:15, Johan Vermeulen wrote:
 Hello All,

 I'm  trying to use vi commands instead of using the mouse.

 I open Gnome-Terminal

 I open a file :   vi /home/jvermeulen/.ssh/id_dsa.pub

 I select the key with  V  ( visual line )

 I type  y  to yank the selected line.

 I can now use
:e otherfile.txt
 and paste the text in otherfile.txt

 This is the only way I succeed in copying text to another file in
 Gnome-Terminal of xterm.

 But how can I copy text to a file on a remote machine?

 Many thanks.

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


Re: [CentOS] KVM and Win7-64 Sound

2014-02-25 Thread anax
I can only support what Arun said.

suomi

On 2014-02-25 16:01, david wrote:
 At 11:35 PM 2/24/2014, Arun Khan wrote:
 On Tue, Feb 25, 2014 at 6:40 AM, david da...@daku.org wrote:

 Sound does not work in the Windows 7 (64-bit) PRO installation as a
 Virtual Machine, and I have tried specifying the emulated hardware as
 AC97, and ICH6.

 The few times I have tried desktop VM with LKVM, the user experience
 within the VM, has been spotty.  Whereas with VB it has been
 acceptable (same no. of CPUs, RAM etc in LKVM v/s VB).

 For desktop VM, I would suggest Virtual Box.

 Thanks for that pointer, Arun.  I was about to try VB to see how it
 behaved, and am encouraged by your implication of success.

 David Kurn

 ___
 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] virtualisation

2014-02-03 Thread anax
virtualbox?

suomi

On 2014-02-03 22:31, Ridhwaan Mayet wrote:
 Hi,

 I run a small company and I would like to virtualise our setup. My internet
 provider offers a cloud server running CentOS. The server is managed by
 vmware software, they haven't been able to tell me exactly what. I wanted
 to know is it possible to virtualise such a setup, and Have CentOS running
 as the virtual OS that every client sees. Is there a solution similar to
 vmware view + client for CentOS servers?

 Regards,

 Ridhwaan Mayet
 CEO
 Mayet Economics

 T  +27 11 728 2468
 M +27 76 805 1157
 F +27 86 552 6267
 E  ridhw...@mayeteconomics.com
 W www.mayeteconomics.com
 ___
 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] NIS or not?

2014-01-28 Thread anax
Hi Sorin
we use here LDAP  authentication and mail-control since more than 10 years.
At that time, we did the conversion from passwd/shadow to LDAP using the 
tools on
http://www.padl.com/download/
which are still available, probably in a newer version...

To represent a person or a service in LDAP we use the objectclasses:
  objectClass: account
  objectClass: posixAccount
  objectClass: top
  objectClass: shadowAccount
  objectClass: mailRecipient

To represent a mail user for postfix we use the objectlcasses:

  objectClass: top
  objectClass: person
  objectClass: organizationalPerson
  objectClass: inetOrgPerson
  objectClass: qmailUser

To represent a Domain which we serve mail-wise we use the objectclasses:
objectClass: qmailControl
objectClass: top


We also have developed an LDAP via Web Interface, which we use 
exclusively for LDAP administration.

We have two LDAP servers, syncronized via syncrepl.

suomi



On 2014-01-28 10:02, Sorin Srbu wrote:
 Hi all,

 We're getting to a point in our linux environment where it's starting to be
 cumbersome to keep shadow and passwd-files up-to-date for the users to login
 on each computer. Scripts can only get us so far. 8-/

 I've looked a bit into central login systems for linux, and NIS and LDAP seem
 to be prevalent. NIS being the simpler-to-setup solution for small to medium
 networks as I understand it, while LDAP is the more modern and scalable
 solution.
 See eg http://www.yolinux.com/TUTORIALS/NIS.html or
 http://sysadmin-notepad.blogspot.se/2013/06/nis-server-setup-on-rhelcentos.html.

 NIS-wise, what is a small to medium network?
 We have currently about 20-30'ish linux clients and servers, and the
 environment is not likely to increase much beyond this point.
 Is a 30ish-computer setup, a small network?

 The only thing I'm trying to accomplish is a system which will allow me to
 keep user accounts and passwords in one place, with one place only to
 administrate. NIS seems to be able to do that.

 Comments and insights are much appreciated!



 ___
 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] NIS or not?

2014-01-28 Thread anax
Hi Sorin
of course: you may omit the mail cocacho and realize only the 
authentication cocacho in LDAP. For us, however, it has proven to be 
most advantageous to have both on LDAP.
You may also select to do first the authentication in LDAP and later on, 
if you are familiar with LDAP, realize the mail.

suomi

On 2014-01-28 13:32, Sorin Srbu wrote:
 -Original Message-
 From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
 Behalf Of anax
 Sent: den 28 januari 2014 12:24
 To: centos@centos.org
 Subject: Re: [CentOS] NIS or not?

 Hi Sorin
 we use here LDAP  authentication and mail-control since more than 10 years.
 At that time, we did the conversion from passwd/shadow to LDAP using the
 tools on
 http://www.padl.com/download/
 which are still available, probably in a newer version...

 To represent a person or a service in LDAP we use the objectclasses:
objectClass: account
objectClass: posixAccount
objectClass: top
objectClass: shadowAccount
objectClass: mailRecipient

 To represent a mail user for postfix we use the objectlcasses:

objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: qmailUser

 To represent a Domain which we serve mail-wise we use the objectclasses:
 objectClass: qmailControl
 objectClass: top


 We also have developed an LDAP via Web Interface, which we use
 exclusively for LDAP administration.

 We have two LDAP servers, syncronized via syncrepl.

 suomi



 On 2014-01-28 10:02, Sorin Srbu wrote:

 The only thing I'm trying to accomplish is a system which will allow me to
 keep user accounts and passwords in one place, with one place only to
 administrate. NIS seems to be able to do that.

 Thank you.
 Can I use just the user authentication (uid/pwd) part and skip the whole
 mail-cocacho, or do these two go hand in hand when using LDAP?

 --
 //Sorin



 ___
 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] how to find unknown ip address?

2013-05-27 Thread anax
tcpdump

On 2013-05-28 07:03, hadi motamedi wrote:
 Dear All
 On my network, there is a node with unknown ip address so I do not
 know about its range and it can be any of the range xx.xx.xx.xx . Is
 there any tool on my centos server to find this unknown ip address
 (irrespective of the range of my centos server self ip range) ?
 Thank you
 ___
 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] Configuring source-specific routing

2013-05-01 Thread anax
http://www.linuxjournal.com/article/7291
http://tldp.org/HOWTO/Adv-Routing-HOWTO/lartc.rpdb.multiple-links.html

might probably help you

suomi

On 2013-05-01 22:05, Michael Mol wrote:
 I'm attempting to configure source-specific routing so that my servers
 can exist on multiple subnets from multiple upstream providers.

 A rough diagram of the network layout:


 ISP1 router (blackbox, routes subnet A, address on subnet A)
\
 ---eth0(firewall)eth1---((servers))
/
 ISP2 router (blackbox, routes subnet B, address on subnet B)

 The aim is to allow the servers to use both subnet A and subnet B. To
 allow this, any machine on both subnets must have source-specific
 routing configured, else packets originating from one ISP's AS will be
 directed at the other's router, and neither ISP cares for that.

 At the moment, I'm focusing on getting the second ISP properly added to
 the firewall box. The firewall box is using CentOS 6.4, and normally
 passes traffic back and forth via proxy_arp. None of my interfaces are
 NM_CONTROLLED, and NetworkManager is not installed, much less started.

 I've created a route-eth0:1 file that looks roughly like this:

 10.0.0.1 dev eth0:1 \
src 10.0.0.2 \
from 10.0.0.0/29

 default via 10.0.0.1 dev eth0:1 \
src 10.0.0.2 \
from 10.0.0.0/29

 (Treat indented lines as continuations of the previous line)
 (No, the ISPs aren't giving me RFC1918 addresses; these are redacted.)

 If I run ifup eth0:1, ip route show includes the lines:

 10.0.0.1 dev eth0  scope link  src 10.0.0.2
 10.0.0.0/29 dev eth0  proto kernel  scope link  src 10.0.0.2
 default via 10.0.0.1 dev eth0


 Note that the from 10.0.0.0/29 clause is missing. With the addition of
 a second default route on my firewall/gateway without any restriction on
 which traffic should go that way, my whole network, of course, tanks.

 I'm surprised it's been such a pain; I would have expected it to be a
 relatively common configuration. What's the proper way of doing
 source-specific routing on CentOS?



 ___
 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] Computer doesn't boot with new 6.4 kernel

2013-03-28 Thread anax
Hi Markus
could probably the legacy vga kernel parameter help you? or is the 
frame-buffer mode no longer used by up-to-date boot processes?

vga = 791 : 1024x768@64K means: screen resolution 1024x768 pixels with 
64K colors
vga = 788 : 800x600@64K means: screen resolution 800x600 pixels with 64K 
colors

suomi



On 2013-03-28 08:55, Markus Lindholm wrote:
 On 28 March 2013 08:42, Akemi Yagi amy...@gmail.com wrote:
 On Thu, Mar 28, 2013 at 12:22 AM, Markus Lindholm
 markus.lindh...@gmail.com wrote:
 Yesterday a upgraded a machine that I have from Centos 6.3 to 6.4, but
 it doesn't boot with the new kernel (2.6.32-358). Right after grub the
 screen shows a distorted image, a bit like war of the ants but static,
 and nothing more happens. With the old kernel (2.6.32-279) it boots
 fine. The motherboard is a Asus E45M1-M Pro. There's no separate
 graphics card, but I use the one on the motherboard, a AMD Radeon HD
 6320. Should I file bug report or is there something else to try?

 /Markus

 What graphics driver are you using? It may not be compatible with the
 version of Xorg in 6.4.

 I've never used any special graphics driver on this machine. Just
 plain vanilla what came with the distro.

 /Markus
 ___
 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] proftp drives me crazy ....

2012-08-21 Thread anax
The shell of the approp user not defined in /etc/shells?
The user in /etc/ftpusers to deny access?
The ftp server not started?
...

suomi

On 2012-08-21 11:29, Götz Reinicke wrote:
 Hi,

 I installed proftpd from Centos repository to my Centos 6.3 server.

 Iptables and selinux are off; I do have one unix user which can ssh and
 login to the server.

 I do use the default config and cant login to the ftp server (home
 directory of that user is all I want) :/

 I use filezilla and Mac OS X native ftp access, both fails with
 incorrect login (530)

 WTF can be wrong? Or what may I have to change?


   Thanks for any hints and suggestions! Regards . Götz



 ___
 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] Need help configuring wireless NIC

2012-03-27 Thread anax
Hi Marko
if your WLAN interface does not show up in ifconfig or in ls -l 
/sys/class/net/  then
- your system recognizes that it has to load the modules you mention 
when you plug in your WLAN interface
- but the modules are incapable to install the interface correctly

if you say you cannot bring to work ndiswrapper because its compilation 
fails, then you are in bad luck.

I once had a similar problem with a D-Link card (featuring the adx 
TI-chip). What I did: I waited until a new version of ndiswrapper was 
available, compiled this one, and off I went.

suomi

On 03/27/2012 08:46 AM, Marko Vojinovic wrote:
 On Tuesday, 27. March 2012. 10.02.25 Arun Khan wrote:
 On Sat, Mar 24, 2012 at 10:05 PM, Marko Vojinovicvvma...@gmail.com  wrote:
 Yesterday I managed to find a driver for my USB wireless dongle, and it is
 now correctly recognized by the kernel. However, I don't know how to
 configure it.
 How did you install the driver that you found?

 Basically, I did this (following the advice of Ned Slider, from another
 thread):

 # yum --enablerepo=elrepo-testing kmod-compat-wireless
 # modprobe usb8xxx

 Namely, on the http://elrepo.org/tiki/kmod-compat-wireless there is a list of
 drivers corresponding to various devices. My device is

 # lsusb
 Bus 001 Device 006: ID 1286:1fab Marvell Semiconductor, Inc. 88W8338
 [Libertas] 802.11g

 so I did a search on the site for 1286 and found two relevant modules,
 usb8xxx and libertas. Modprobe-ing usb8xxx loads the following:

 # lsmod
 Module  Size  Used by
 usb8xxx13926  0
 libertas  105931  1 usb8xxx
 libertas_tf12514  0
 mac80211  234108  1 libertas_tf
 cfg80211  164625  2 libertas,mac80211
 rfkill 15242  1 cfg80211
 compat 16607  2 mac80211,cfg80211
 lib802114194  1 libertas

 When I plug in the device, /var/log/messages says:

 Mar 27 08:10:30 CicaMaca kernel: usb 1-2: new high speed USB device using
 ehci_hcd and address 7
 Mar 27 08:10:31 CicaMaca kernel: usb 1-2: New USB device found, idVendor=1286,
 idProduct=1fab
 Mar 27 08:10:31 CicaMaca kernel: usb 1-2: New USB device strings: Mfr=1,
 Product=2, SerialNumber=0
 Mar 27 08:10:31 CicaMaca kernel: usb 1-2: Product: 54M USB Wireless NIC
 Mar 27 08:10:31 CicaMaca kernel: usb 1-2: Manufacturer: Tenda..
 Mar 27 08:10:31 CicaMaca kernel: usb 1-2: configuration #1 chosen from 1 
 choice

 which is basically the same information as found in dmesg. The device is
 correctly recognized, as far as it goes.

 What is the output of /sbin/ifconfig -a  does it list the wifi
 device i.e. wlan0 ?

 No, ifconfig lists only my two wired ethernet devices (eth0, eth1), and the
 openvpn virtual ethernet device (tap0). No mention of anything wireless.

 Do ethtool --driveriface to find the driver associated with
 your wifi network interface.

 What shouldiface  be? There isn't one associated to the wireless NIC, or I
 am unable to find it. I tried the following methods:

 # ifconfig -a
 # lshw -C network
 # rfkill list
 # iwconfig

 None of these report anything except my three wired devices (if at all).

 I vaguely understand that all these utilities are querrying the kernel for the
 info about hardware, but the kernel does not seem to be exposing it (or
 requires some non-automatic initialization). I tried looking at various places
 under /proc (to see if I can read something manually), but I found nothing,
 and TBH I don't quite know where to look.

 Usuall the NetworkManager detects all the active network interfaces
 and presents the devices.   In your case, I suspect the wifi device is
 not being initialized.

 The NetworkManager does indeed give some indication that there is a wireless
 device, but it doesn't tell much. When I do a service NetworkManager
 restart, this is the only relevant thing I recognized about wireless from
 /var/log/messages:

 Mar 27 08:24:24 CicaMaca NetworkManager[30454]:info  WiFi enabled by radio
 killswitch; enabled by state file
 Mar 27 08:24:24 CicaMaca NetworkManager[30454]:info  WWAN enabled by radio
 killswitch; enabled by state file
 Mar 27 08:24:24 CicaMaca NetworkManager[30454]:info  WiMAX enabled by radio
 killswitch; enabled by state file
 Mar 27 08:24:24 CicaMaca NetworkManager[30454]:info  Networking is enabled
 by state file

 Everything else is about eth0, eth1 and tap0 devices. I can provide full logs
 if you think I missed something.

 I am almost out of patience with this, and I'm already considering buying
 another wireless card, or rather a wireless router which can act as a client
 to another wireless router, so that I can connect the computer via wired
 ethernet. I'd prefer not to waste any money on this, especially if it is just
 a software configuration issue, but I also need the damn thing to start 
 working
 sooner than later.

 Btw, the device is working properly under Windows, and it used to work
 properly under Linux with ndiswrapper. 

Re: [CentOS] php-pear problem on yum update

2012-03-09 Thread anax
Hi Nikos
you say, you don't use php-pear. Just remove it.

yum remove php-pear
yum upgrade

suomi

On 03/09/2012 10:16 AM, Nikos Gatsis - Qbit wrote:
 Hello list
 I have centos-release-5-7.el5.centos and today I noticed that there are
 some updates with yum.

 I try to update but something hapend with php-pear:

file /usr/share/pear/.channels/__uri.reg from install of
 php-pear-1.4.9-8.el5.noarch conflicts with file from
 pa   ckage
 php-pear-ole-0.5-2.el5.rf.noarch
 file /usr/share/pear/.channels/pear.php.net.reg from install of
 php-pear-1.4.9-8.el5.noarch conflicts with
 filefrom package
 php-pear-ole-0.5-2.el5.rf.noarch
 file /usr/share/pear/.channels/pecl.php.net.reg from install of
 php-pear-1.4.9-8.el5.noarch conflicts with
 filefrom package
 php-pear-ole-0.5-2.el5.rf.noarch
 file /usr/share/pear/.depdb from install of
 php-pear-1.4.9-8.el5.noarch conflicts with file from package
 php-pea   r-ole-0.5-2.el5.rf.noarch
 file /usr/share/pear/.channels/__uri.reg from install of
 php-pear-1.4.9-8.el5.noarch conflicts with file from
 pa   ckage
 php-pear-excel-0.9.0-1.el5.rf.noarch
 file /usr/share/pear/.channels/pear.php.net.reg from install of
 php-pear-1.4.9-8.el5.noarch conflicts with
 filefrom package
 php-pear-excel-0.9.0-1.el5.rf.noarch
 file /usr/share/pear/.channels/pecl.php.net.reg from install of
 php-pear-1.4.9-8.el5.noarch conflicts with
 filefrom package
 php-pear-excel-0.9.0-1.el5.rf.noarch
 file /usr/share/pear/.depdb from install of
 php-pear-1.4.9-8.el5.noarch conflicts with file from package
 php-pea
 r-excel-0.9.0-1.el5.rf.noarch
 file /usr/share/pear/.channels/__uri.reg from install of
 php-pear-1.4.9-8.el5.noarch conflicts with file from
 pa   ckage
 php-pear-log-1.9.3-1.el5.rf.noarch
 file /usr/share/pear/.channels/pear.php.net.reg from install of
 php-pear-1.4.9-8.el5.noarch conflicts with
 filefrom package
 php-pear-log-1.9.3-1.el5.rf.noarch
 file /usr/share/pear/.channels/pecl.php.net.reg from install of
 php-pear-1.4.9-8.el5.noarch conflicts with
 filefrom package
 php-pear-log-1.9.3-1.el5.rf.noarch
 file /usr/share/pear/.depdb from install of
 php-pear-1.4.9-8.el5.noarch conflicts with file from package
 php-pea
 r-log-1.9.3-1.el5.rf.noarch
 file /usr/share/pear/.channels/__uri.reg from install of
 php-pear-1.4.9-8.el5.noarch conflicts with file from
 pa   ckage
 php-pear-mail_mime-1.3.1-1.el5.rf.noarch
 file /usr/share/pear/.channels/pear.php.net.reg from install of
 php-pear-1.4.9-8.el5.noarch conflicts with
 filefrom package
 php-pear-mail_mime-1.3.1-1.el5.rf.noarch
 file /usr/share/pear/.channels/pecl.php.net.reg from install of
 php-pear-1.4.9-8.el5.noarch conflicts with
 filefrom package
 php-pear-mail_mime-1.3.1-1.el5.rf.noarch
 file /usr/share/pear/.depdb from install of
 php-pear-1.4.9-8.el5.noarch conflicts with file from package
 php-pea
 r-mail_mime-1.3.1-1.el5.rf.noarch

 I have never Install a package out of yum so this conflict is very
 strange to me.
 I try to clean up yum, and update with --skip-broken with no luck.

 Is good to install php packages excluding php-pear?
 Actually I dont use it.

 Can somebody advice me?

 Thank you in advance
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 6.2 install some problems

2012-02-28 Thread anax
For the first:
try

yum groupremove  ...

for eth
try

ifconfig ...
ip...

suomi

On 02/28/2012 12:42 PM, admin lewis wrote:
 Hi,
 I have reinstalled centos 6.2 x86_64 because it seems there is not xfs
 mod on i386.
 But i have found an orther problem. After the partitioning there is
 not any prompt to choice the type of server I want (minimal, web etc)
 So now I have a desktop installation...
 I want to remove xorg, gnome etc..
 and an other bug.. i am unable to setup Eth interface ... with
 system-config-network-tui i cant see any eth..
 I have 4 NIC.. and all works well..
 cheers
 luigi


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


Re: [CentOS] Dovecot problems

2012-02-13 Thread anax
did you try

doveconf -n -c dovecot.old.conf  dovecot.new.conf

we also use dovecot for POP as well as IMAP.  we are using the maildir 
storage for mails (one file per one mail). no problem sofar (touch wood).

suomi

On 02/13/2012 01:35 PM, Steve Campbell wrote:


 On 2/12/2012 2:09 PM, Alexander Dalloz wrote:
 Am 12.02.2012 20:01, schrieb Steve Campbell:
 Actually, I'm having problems with pop and imap.

 I changed mailservers this weekend, going from a Centos 3 box to a
 Centos 6 box. The Centos 3 box used the old standard imap and pop
 servers. We use horde for our webmail. The pop3 mailboxes (mbox)  were
 in /var/spool/mail and the imap folders were in /home/user/mail, which
 horde took care of.
 So 2 classes of users? As John has annotated, mixing POP3 and IMP4 use
 is not advised at all.

 Not really two classes of users. Most of the users use pop for
 retrieving email. Horde is our webmail app, and it reads the mailbox,
 but creates and manages the imap folders in user's home directory. This
 has worked fine in the past, allowing users to read mail from their
 desktop using pop, and if desired, using horde to read mail from
 elsewhere. If they want to be able to see read email from outside the
 building, they set their mail client to leave on server. Horde takes
 care of deleting email from the mbox as well if desired.

 Upon starting the Centos 6 box, I ran into tons of login and viewing
 problems. I tried Cyrus for imap, could log in, but couldn't see mail in
 the imap folders. Using dovecot for pop, I eventually could get logged
 in, but kept getting the couldn't open INBOX message, so no one could
 download their email, even though sendmail was delivering it properly.
 Cyrus-IMAPd is out of the game unless you do a real mail store migration
 as Cyrus-IMAPd uses his own storage scheme.

 My preference is to use dovecot as both pop and imap servers. The Centos
 3 imap server used an rpm named imap-2002d-12 (at least that's the one I
 have on that server). I'm not sure how mixing comes into play here,
 since most people set their smart phones up as imap clients, and they
 can still view their email when they arrive at work using pop.

 So here's my question:

 Can (should) dovecot be used for both imap and pop when considering the
 above setup of mbox in /var/spool/mail and imap folders in ~/mail? Horde
 will read the mbox to display new messages in it's screens.
 Yes.
 That's good to get an opinion. I'm going to proceed thinking dovecot
 will do both. There's also an issue to address later of shared stuff
 I'll have to investigate. We have a few accounts that multiple users use
 in this manner through imap. They log in as a singular user, but there
 are issues of deletions and the like that sometimes cause problems.

 If so, does anyone have a pretty good link to how to make dovecot
 function using the old Centos pop/imap scheme? Should I try and convert
 the old mbox files to another format or destination to make this work?
 See http://wiki.dovecot.org/MailLocation

 I reviewed that quite a bit during the night. I guess I need to read up
 on dovecot's definitions, since that INBOX parameter kept throwing me.
 There really isn't an INBOX to a pop account's mbox, but there is on our
 imap scheme. So I might have been trying to force the issue.

 Thanks for any help. It's been a long night, going on about 14 hours now
 and I'm just getting the old server back to current until I figure this out.
 Not intended to sound smart ass, but changing a production system the
 way you do without prior testing isn't that clever.

 Not taken in any bad way. I had actually tested it pretty well for all
 the stuff I'm running on it. Sendmail worked as expected. All of the
 other apps I have running dealing with email worked fine as well. Apps
 such as MimeDefang, MailScanner, MailWatch, and everything else. I took
 for granted that pop and imap would work fine since on the old system,
 they just worked. I had no idea these services had changed so much. So
 yes, I failed to test the two things that users want most. Egg on my
 face, for sure.

 Thanks for the help, and criticism.

 steve campbell
 I wish you success.
 Thanks.

 Alexander

 ___
 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
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to find source of data loss / corruption

2011-12-15 Thread anax
Hi Rudi
we once had a similar problem on a Web:

This Web had this in particular that its home-page needed to be deleted 
daily and of course reinstalled immediately.
Then, in a new version of the Web it did not need this delete/reinstall 
cycle any more, so the webadmin just removed the link to the delete 
script. He did not remove the delete-script itself from the Web.
The effect was, that the home-page was still deleted at random times.

What we then found out: We used an internal Search-Engine which crawled 
this web. And this Search-Engine had not forgotten the link to the 
delete-script, but invoked it at random times, whenever it crawled  the 
particular Web.

Your case: could it be something similar?

suomi

On 2011-12-15 11:28, Rudi Ahlers wrote:
 Hi,

 2 websites, hosted on 2 different CentOS 5.7 servers (one being very
 new, about 3 weeks old) keeps loosing data - but it's more like it's
 corrupted than being deleted.

 For example, a photo would be uploaded last night and today when we
 checked it, it doesn't show on the website. So we check if the file is
 on the server, and exists but is 0KB in size. Last night it still
 worked fine. The photo is 482Kb in size.

 The first time this happened we thought it was due to a bug with
 CentOS 5.7 + EXT4 + quotas (there's a bug open for this) and since the
 server's console kept giving errors about possible data corruption we
 thought it would be best if we move everything to a more stable
 platform. So we brought a new server, setup CentOS 5.7 + ext3 + quotas
 (which has been working fine on all our servers for a long time) and
 moved the data across. A few days down the line and I still see this
 happening.

 I'm out of ideas and hope someone could shed some light on the matter.
 I've checked some suggested search results, but couldn't find any
 issues with the HDD according to SMART. The servers' both have 4GB RAM
 and 8Core CPU's.Neither RAM, nor CPU usage is high. Both are setup
 with RAID10 across 4 entrerprise HDD's, one server has software RAID
 and the new one hardware RAID. So even when we changed the RAID
 subsystem it still happens.



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


[CentOS] Problems with kickstart installation into a Virtualbox

2011-08-25 Thread anax
Hi listers
i tried to kickstart-install CentOS 6.0 64 in a Virtualbox (Virtualbox 
Version 4.12). I used a local CDROM with the net-install ISO on it to 
boot from. The ISO distribution file was provided on a server in the LAN 
as was the kickstart file.
When starting the installation i aded the following to the kernel line 
of the grub menu:
ks=http://install.mydomain.com/ks/centos.6.64.cfg

After i had corrected some errors in the kickstart file, the 
installation started as expected.
But it did not terminate as expected: after installing 198 of 671 
packages, the installation halted with an error (i.e. after installing 
the package libutempter).
In order to see what the problem was, i restarted from the CDROM in 
recovery mode, and after going into the half-way installed system, i saw 
in the anaconda log  that about three quarters of the post-installation 
scripts of the packages had returned a warning. The warning code was 
255. But the post-installation script of the package libutempter had 
returned an error with code 255, whereupon the installation  stopped.

I thought, OK, we will work around the libutempter package by selecting 
other program-groups in the kickstart-file. But i had no luck: the 
installation stopped then after the package  MAKEDEV.

Then i left off kickstart-installation and did a standard installation 
booting from the CDROM and getting the default packages from the server 
in the LAN. This worked fine.

-

When it came to test the installed packages i was always lucky except 
with the package  fuse (fuse-2.8.3-1.el6.x86_64) which contains the 
binary /usr/bin/fusermount. This binary was installed without execute 
permission for everybody, so it could be invoked only by the userid root 
and members of the group fuse, which is not, what i had expected.

suomi


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


Re: [CentOS] Problems with kickstart installation into a Virtualbox

2011-08-25 Thread anax
Hi John
thanks for the immediate information.

suomi

On 2011-08-25 11:51, John Hodrien wrote:
 On Thu, 25 Aug 2011, anax wrote:

 Hi listers
 i tried to kickstart-install CentOS 6.0 64 in a Virtualbox (Virtualbox
 Version 4.12). I used a local CDROM with the net-install ISO on it to
 boot from. The ISO distribution file was provided on a server in the LAN
 as was the kickstart file.
 When starting the installation i aded the following to the kernel line
 of the grub menu:
 ks=http://install.mydomain.com/ks/centos.6.64.cfg

 After i had corrected some errors in the kickstart file, the
 installation started as expected.
 But it did not terminate as expected: after installing 198 of 671
 packages, the installation halted with an error (i.e. after installing
 the package libutempter).
 In order to see what the problem was, i restarted from the CDROM in
 recovery mode, and after going into the half-way installed system, i saw
 in the anaconda log  that about three quarters of the post-installation
 scripts of the packages had returned a warning. The warning code was
 255. But the post-installation script of the package libutempter had
 returned an error with code 255, whereupon the installation  stopped.

 I thought, OK, we will work around the libutempter package by selecting
 other program-groups in the kickstart-file. But i had no luck: the
 installation stopped then after the package  MAKEDEV.

 This is a known bug of CentOS 6.0.  Redo the install without including the
 updates repo in your kickstart file, and you'll find it installs fine.

 jh
 ___
 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