Re: [CentOS] 1 Gbit/s Ethernet NIC under CentOS

2010-12-02 Thread Veiko Kukk
On 01/12/10 21:12, Boris Epstein wrote:
 So now my question is, what PCI 1 Gbit/s Ethernet adapters should I
 use under CentOS? If you have had a consistent positive experience
 with any particular chipset/brand please speak up.

Use Intel NIC-s and you don't have to worry.

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


Re: [CentOS] Snag installing CentOS in a VirtualBox VM

2010-11-17 Thread Veiko Kukk
On 17/11/10 11:36, Mark wrote:
 I spent most of the evening trying to boot a new install of CentOS in a
 VirtualBox VM.  The VM recognizes the install DVD, runs it, asks for me
 to boot it and I type in return (or any number of other combinations,
 all of which fail in exactly the same way) and it continues to run up to
 the point shown in the attached screenshot.

I know this error. Workaround is to enable IO APIC in the virtual 
machine configuration.

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


Re: [CentOS-virt] Libvirt NAT-based network 2x-4x faster than Libvirt routed network?

2010-05-27 Thread Veiko Kukk
On 05/27/2010 12:21 PM, Aleksei Miheev wrote:
 Is it typo?
 There can be no subnet with /32 bit mask, it's single host only.


 Actually, it is possible:

 ip addr add xxx.yyy.zzz.215/32 dev eth0
 ip route add xxx.yyy.zzz.193 dev eth0
 ip route add default via xxx.yyy.zzz.193

Of course you can do that, but it wouldn't a *subnet*. Net like network, 
system consisting of several units.
I rest my case.

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


Re: [CentOS] question on CPU

2010-05-27 Thread Veiko Kukk
On 05/27/2010 03:47 PM, Jerry Geis wrote:
 I have centos 5.4 on an HP laptop, as below the /proc/cpuinfo shows Dual
 core,
 however, there is only 1 processor listed in /proc/cpuinfo.

 Is the OS only using a single core?

Check the BIOS, I have seen HP desktops that have option in BIOS to turn 
off multicore support. Then only single core is exposed to the OS.

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


Re: [CentOS] VMWare vs. KVM - recommendations?

2010-03-30 Thread Veiko Kukk
John R Pierce wrote:
 Ross Walker wrote:
 For simplicity and reliability I'd give virtualbox a try, especially  
 if your talking limited # of machines and fancy displays.
   
 
 I concur.  for virtualizing an OS within a desktop, virtualbox works 
 great.  its very simple to setup and use, and yet quite flexible

I also suggest using Virtualbox on desktop. You can use non-free 
edition, the license allows it to be used for non-server configurations. 
I've been using it for years and haven't seen yet better solutions for 
linux desktop host.

-- 
Veiko

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


Re: [CentOS-virt] bridged kvm guest and ever changing MAC address

2010-02-16 Thread Veiko Kukk
compdoc wrote:
 The mac address shouldn't change. Are you setting the mac
 address of the guest to be the same as the host?

I'm not sure what you are asking, but I'm trying to give all relevant
information.

Host interfaces:
# ip a
1: lo: LOOPBACK,UP,LOWER_UP mtu 16436 qdisc noqueue
 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
 inet 127.0.0.1/8 scope host lo
2: eth0: BROADCAST,MULTICAST,UP,LOWER_UP mtu 1500 qdisc pfifo_fast
qlen 100
 link/ether f4:ce:46:b3:87:14 brd ff:ff:ff:ff:ff:ff
3: eth1: BROADCAST,MULTICAST mtu 1500 qdisc noop qlen 1000
 link/ether f4:ce:46:b3:87:15 brd ff:ff:ff:ff:ff:ff
4: br0: BROADCAST,MULTICAST,UP,LOWER_UP mtu 1500 qdisc noqueue
 link/ether 96:8d:9e:09:0e:6a brd ff:ff:ff:ff:ff:ff
 inet 172.21.1.233/24 brd 172.21.1.255 scope global br0
6: vnet0: BROADCAST,MULTICAST,UP,LOWER_UP mtu 1500 qdisc pfifo_fast
qlen 500
 link/ether 96:8d:9e:09:0e:6a brd ff:ff:ff:ff:ff:ff

guest interfaces:
# ip a
1: lo: LOOPBACK,UP,LOWER_UP mtu 16436 qdisc noqueue
 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
 inet 127.0.0.1/8 scope host lo
2: eth0: BROADCAST,MULTICAST,UP,LOWER_UP mtu 1500 qdisc pfifo_fast
qlen 1000
 link/ether 00:16:3e:51:9b:2a brd ff:ff:ff:ff:ff:ff

*before* guest is booted there is no vnet0, when vnet0 goes up, br0 mac
changes from f4:ce:46:b3:87:14 to 96:8d:9e:09:0e:6a

when guest is not running, host's interfaces are:
# ip a
1: lo: LOOPBACK,UP,LOWER_UP mtu 16436 qdisc noqueue
 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
 inet 127.0.0.1/8 scope host lo
2: eth0: BROADCAST,MULTICAST,UP,LOWER_UP mtu 1500 qdisc pfifo_fast
qlen 100
 link/ether f4:ce:46:b3:87:14 brd ff:ff:ff:ff:ff:ff
3: eth1: BROADCAST,MULTICAST mtu 1500 qdisc noop qlen 1000
 link/ether f4:ce:46:b3:87:15 brd ff:ff:ff:ff:ff:ff
4: br0: BROADCAST,MULTICAST,UP,LOWER_UP mtu 1500 qdisc noqueue
 link/ether f4:ce:46:b3:87:14 brd ff:ff:ff:ff:ff:ff
 inet 172.21.1.233/24 brd 172.21.1.255 scope global br0

guests config file includes:
interface type='bridge'
mac address='00:16:3e:51:9b:2a'/
source bridge='br0'/
model type='virtio'/
/interface

guest's /etc/sysconfig/network-scripts/ifcfg-eth0 includes
HWADDR=00:16:3e:51:9b:2a

host /etc/sysconfig/network-scripts/ifcfg-eth0
HWADDR=F4:CE:46:B3:87:14
host /etc/sysconfig/network-scripts/ifcfg-eth1
HWADDR=F4:CE:46:B3:87:15
host /etc/sysconfig/network-scripts/ifcfg-br0
does not have HWADDRESS specified

 From where does come that 96:8d:9e:09:0e:6a ? It seems random.
Forcing HWADDR to br0 has no effect, vnet0 still gets random mac every 
time the guest is started and changes br0 mac to whatever mac vnet0 has 
and when vnet0 goes down, br0 gets eth0's mac address back.

--
Veiko

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


[CentOS-virt] bridged kvm guest and ever changing MAC address

2010-02-15 Thread Veiko Kukk
Hi,

Centos 5.4, dual igb ethernet, kvm guest (Centos 5.4).
br0 is connected to eth0, guest has virtio ethernet connected to br0.
Guest is configured using virt-manager.
When host is booting, br0 gets mac address of eth0.

Every time i start guest (with virt-manager) vnet0 appears and br0 mac 
aadressi on host is changed. Why does it need to change the mac? I'd 
like to keep it same, not to change it every time guest is booting.

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


Re: [CentOS] Bind data directory borked on update from 5.3 to 5.4

2010-01-22 Thread Veiko Kukk
Kai Schaetzl wrote:
 Brian Mathis wrote on Thu, 21 Jan 2010 09:38:12 -0500:
 
 I don't think you'd want a compromised named to be able to make
 changes to your authoritative DNS records, which is what could happen
 if you have permissions set that way.
 
 But why does named then report it right after the update?
 
 Jan 21 12:46:40 chacha named[16607]: the working directory is not writable

I experienced same message when upgrading bind on freebsd recently. 
After googling, I settled down, seems that its exactly as it must be. 
Only that message shold be more precise and add at the end something 
like ... good!.

-- 
Veiko

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


Re: [CentOS] Centos 5.3, no AHCI on HP DL320 G5p?

2009-07-29 Thread Veiko Kukk
Joshua Baker-LePain wrote:
 On Mon, 27 Jul 2009 at 1:19pm, Veiko Kukk wrote
 
 I'm not sure for this particular model server, but normally this is a
 *BIOS* setting for the SATA controller.
 There are no settings in BIOS for AHCI mode, it's only possible to
 choose between raid and sata controller mode, i have chosen sata mode.
 
 Check to see if there's a BIOS update on HP's site.  I had some DL160s 
 with an old BIOS with no option for AHCI mode.  After upgrading to the 
 most recent BIOS, the option was there.
 

Yes, there was an update, changelog described changes regarding to sata2 
drives should work properly with this update. Did the update yesterday, 
but nothing changed except the bios version number.
Also tried ahci=on with no success.

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


Re: [CentOS] Centos 5.3, no AHCI on HP DL320 G5p?

2009-07-29 Thread Veiko Kukk
Tony Mountifield wrote:
 That's probably why. To use AHCI you need to set it to RAID mode.
 Having done that, you can still use the drives independently if you
 prefer kernel RAID; you just have to go into the BIOS RAID setup and
 set the drives to JBOD mode (or something like that), by telling it
 to remove all RAID information from the drives.

I don't think so, because I have another DL320 (older G3 version) with 
same bios setup (sata mode). On that G3, ahci is working.

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


[CentOS] Centos 5.3, no AHCI on HP DL320 G5p?

2009-07-27 Thread Veiko Kukk
I have one HP Proliant DL320 G5p, where for some reason, the AHCI mode 
is not enabled. According to server specs, it should have AHCI/NCQ 
capability, but ata_piix module gets loaded during bootup, not ahci module.
Any ideas how to enable AHCI mode?

lspci output:

# lspci
00:00.0 Host bridge: Intel Corporation 3200/3210 Chipset DRAM Controller 
(rev 01)
00:01.0 PCI bridge: Intel Corporation 3200/3210 Chipset Host-Primary PCI 
Express Bridge (rev 01)
00:06.0 PCI bridge: Intel Corporation 3210 Chipset Host-Secondary PCI 
Express Bridge (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express 
Port 1 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express 
Port 3 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express 
Port 4 (rev 02)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express 
Port 5 (rev 02)
00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express 
Port 6 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI 
Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI 
Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI 
Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI 
Controller #6 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI 
Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
00:1f.0 ISA bridge: Intel Corporation 82801IR (ICH9R) LPC Interface 
Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 4 
port SATA IDE Controller (rev 02)
00:1f.5 IDE interface: Intel Corporation 82801I (ICH9 Family) 2 port 
SATA IDE Controller (rev 02)
01:02.0 VGA compatible controller: ATI Technologies Inc ES1000 (rev 02)
01:04.0 System peripheral: Compaq Computer Corporation Integrated Lights 
Out Controller (rev 03)
01:04.2 System peripheral: Compaq Computer Corporation Integrated Lights 
Out  Processor (rev 03)
01:04.4 USB Controller: Hewlett-Packard Company Proliant iLO2 virtual 
USB controller
01:04.6 IPMI SMIC interface: Hewlett-Packard Company Proliant iLO2 
virtual UART
02:00.0 PCI bridge: Broadcom EPB PCI-Express to PCI-X Bridge (rev b5)
03:04.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5715 
Gigabit Ethernet (rev a3)
03:04.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5715 
Gigabit Ethernet (rev a3)

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


[CentOS] Samba packages update

2009-03-25 Thread Veiko Kukk
I'm unable to find this http://rhn.redhat.com/errata/RHBA-2009-0180.html 
package update in Centos 5.2 updates. Why?

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


[CentOS] How to delay failed ssh auth

2008-11-27 Thread Veiko Kukk

Hi!

I need to delay failed ssh password authentication as an additional 
measure against brute force ssh attacks. I understand, that shoud be 
accomplished through pam, but googling gave me no example. I have CentOS 
5.2.


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