Re: [CentOS] amanda backup ssh key

2010-12-31 Thread John Doe
From: bluethundr 

> debug2: key:  /var/lib/amanda/.ssh/id_rsa ((nil))
> debug2: key: /var/lib/amanda/.ssh/id_dsa  ((nil))
> ...
> debug1: Next authentication method: publickey
> debug1: Trying  private key: /var/lib/amanda/.ssh/id_rsa
> debug3: no such identity:  /var/lib/amanda/.ssh/id_rsa
> debug1: Trying private key:  /var/lib/amanda/.ssh/id_dsa
> debug3: no such identity:  /var/lib/amanda/.ssh/id_dsa
> debug2: we did not send a packet, disable  method
> debug3: authmethod_lookup keyboard-interactive
> debug3: remaining  preferred: password

I get this:

debug1: Next authentication method: publickey
debug1: Offering public key: /home/jd/.ssh/id_rsa
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug1: Server accepts key: pkalg ssh-rsa blen 277
debug2: input_userauth_pk_ok: SHA1 fp ...
debug3: sign_and_send_pubkey
debug1: Authentication succeeded (publickey).

What key did you copy on the destination?

JD


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


Re: [CentOS] Fixing filenames with directories with spaces in the names

2010-12-31 Thread Bob Marcan
On Mon, 27 Dec 2010 22:03:49 -0700
Craig White  wrote:

> Should be simple and perhaps I'm tired but it's not coming to me.
> 
> In its simplest form...
> 
> for old in `cat "$FILENAME"`;do
>   echo "$old"
>   dirname "$old"
>   new="$(echo $old | sed 's/\*/\-/')"
> done
> 
> I'm trying to take out some stupid Macintosh things - in this case
> filenames with asterisks but I have others like tilde's and probably
> others that I haven't come across.

Another way:
Installed Packages
Name: detox
Arch: x86_64
Version : 1.2.0
Release : 2.fc14
Size: 135 k
Repo: installed
>From repo   : fedora
Summary : Utility to replace problematic characters in file names
URL : http://detox.sourceforge.net
License : BSD
Description : Detox is a utility designed to clean up file names. It replaces 
difficult to
: work with characters, such as spaces, with standard equivalents. 
It will also
: clean up file names with UTF-8 or Latin-1 (or CP-1252) characters 
in them.

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


[CentOS] centos as a firewall help

2010-12-31 Thread Roland RoLaNd

Hello all,

first of all i'd like to wish you all happy holidays, and a merry belated 
christmas.

Secondly, i'm trying to setup  a centos 5.4 to act as:

1. firewall # can you check my config below and tell me if i missed anything?
2. DHCP # already configured
3. transparent squid proxy #  already configured
4. http (virtual hosts) # in the near future
5. squirrelmail # in the near future

- Relevant info:

Two NICs:

eth0 LAN: with dhcp service: 192.168.57.1(255.255.255.0) # my lan users are 
connected to this interface
eth1 WAN: static: 172.16.2.14 gw/172.16.2.13 (255.255.255.248) # My isp is 
connected to this interface

I want my firewall to do the following:

1. get my box to be completely secure from outside access, in other words deny 
all access from the outside world to my box &/or my LAN
2. allow my LAN users to access the internet/ box without any restrictions, 
through a transparent squid installation 

i've searched a bit online, i must admit i never used iptables before (i 
thought of using firestarter as it's graphical and am no iptables guru, not 
even a novice user though i've installed my box with no X  hence no graphical 
applications)

i finally used bits an pieces and came up with the following:

Chain INPUT (policy DROP)
target prot opt source   destination 
ACCEPT all  --  anywhere anywhere    state 
RELATED,ESTABLISHED 
In_RULE_0  all  --  anywhere 172.16.2.14 
In_RULE_2  udp  --  192.168.57.1 anywhere    udp multiport 
dports bootpc,bootps state NEW 

Chain FORWARD (policy DROP)
target prot opt source   destination 
ACCEPT all  --  anywhere anywhere    state 
RELATED,ESTABLISHED 

Chain OUTPUT (policy DROP)
target prot opt source   destination 
ACCEPT all  --  anywhere anywhere    state 
RELATED,ESTABLISHED 
Cid1888X3970.0  udp  --  192.168.57.1 anywhere    udp multiport 
dports bootpc,bootps state NEW 
Out_RULE_3  all  --  192.168.57.1 anywhere    state 
RELATED,ESTABLISHED 
Cid1594X3970.0  all  --  192.168.57.1 anywhere    state NEW 

Chain Cid1594X3970.0 (1 references)
target prot opt source   destination 
Out_RULE_4  all  --  anywhere 172.16.2.14 
Out_RULE_4  all  --  anywhere 192.168.57.1    

Chain Cid1888X3970.0 (1 references)
target prot opt source   destination 
Out_RULE_2  all  --  anywhere 172.16.2.14 
Out_RULE_2  all  --  anywhere 192.168.57.1    

Chain In_RULE_0 (1 references)
target prot opt source   destination 
LOG    all  --  anywhere anywhere    LOG level info 
prefix `RULE 0 -- DENY ' 
DROP   all  --  anywhere anywhere    

Chain In_RULE_2 (1 references)
target prot opt source   destination 
LOG    all  --  anywhere anywhere    LOG level info 
prefix `RULE 2 -- ACCEPT ' 
ACCEPT all  --  anywhere anywhere    

Chain Out_RULE_2 (2 references)
target prot opt source   destination 
LOG    all  --  anywhere anywhere    LOG level info 
prefix `RULE 2 -- ACCEPT ' 
ACCEPT all  --  anywhere anywhere    

Chain Out_RULE_3 (1 references)
target prot opt source   destination 
LOG    all  --  anywhere anywhere    LOG level info 
prefix `RULE 3 -- ACCEPT ' 
ACCEPT all  --  anywhere anywhere    

Chain Out_RULE_4 (2 references)
target prot opt source   destination 
LOG    all  --  anywhere anywhere    LOG level info 
prefix `RULE 4 -- ACCEPT ' 
ACCEPT all  --  anywhere anywhere    

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


Re: [CentOS] centos as a firewall help

2010-12-31 Thread Steve Thompson
On Fri, 31 Dec 2010, Roland RoLaNd wrote:

> I want my firewall to do the following:

I would recommend using shorewall:

http://www.shorewall.net/

As it says, iptables made easy.

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


Re: [CentOS] centos as a firewall help

2010-12-31 Thread Ryan Wagoner
On Fri, Dec 31, 2010 at 10:19 AM, Roland RoLaNd  wrote:
> Secondly, i'm trying to setup  a centos 5.4 to act as:
>
> 1. firewall # can you check my config below and tell me if i missed anything?
> 2. DHCP # already configured
> 3. transparent squid proxy #  already configured
> 4. http (virtual hosts) # in the near future
> 5. squirrelmail # in the near future
>
> - Relevant info:
>
> Two NICs:
>
> eth0 LAN: with dhcp service: 192.168.57.1(255.255.255.0) # my lan users are 
> connected to this interface
> eth1 WAN: static: 172.16.2.14 gw/172.16.2.13 (255.255.255.248) # My isp is 
> connected to this interface
>
> I want my firewall to do the following:
>
> 1. get my box to be completely secure from outside access, in other words 
> deny all access from the outside world to my box &/or my LAN
> 2. allow my LAN users to access the internet/ box without any restrictions, 
> through a transparent squid installation

So you are only allowing http and https transparently through squid?
The reason I ask is you only showed the firewall rules not the nat
table. Otherwise you need to setup nat masquerading to allow other
connections out.

Have you though of virtualizing your firewall with a purpose built
distribution like Vyatta or pfSense? I have taken this approach with
my setup. I find it makes updates easy and provides better uptime. I'm
running everything on ESXi and have a handful of virtual machines.

- Vyatta Firewall
- CentOS 5.5 Web Server and MySQL
- CentOS 5.5 Zimbra Email
- CentOS 5.5 DHCP and DNS
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT how to prevent oversubscription of a disk

2010-12-31 Thread Jorge Fábregas
On Thursday, December 30, 2010 09:53:25 pm Dave wrote:
> I want to add up the quotas I've assigned on a particular partition
> and see if the total is bigger than the disk. It's possible to do this
> (awkwardly) using repquota or quota. Is there no more accurate/elegant
> way? 

I don't think so. I haven't seen any switch on any of the usual commands 
(repquota etc)  to get this. I guess you'll have to do some scripting to add 
up the "used" values in order to compare them with your partition size.

If you find/create the elegant way, please share...

Happy New Year!
Jorge
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos as a firewall help

2010-12-31 Thread Ryan Manikowski
On 12/31/2010 10:40 AM, Ryan Wagoner wrote:
> On Fri, Dec 31, 2010 at 10:19 AM, Roland RoLaNd  
> wrote:
>> Secondly, i'm trying to setup  a centos 5.4 to act as:
>>
>> 1. firewall # can you check my config below and tell me if i missed anything?
>> 2. DHCP # already configured
>> 3. transparent squid proxy #  already configured
>> 4. http (virtual hosts) # in the near future
>> 5. squirrelmail # in the near future
>>
>> - Relevant info:
>>
>> Two NICs:
>>
>> eth0 LAN: with dhcp service: 192.168.57.1(255.255.255.0) # my lan users are 
>> connected to this interface
>> eth1 WAN: static: 172.16.2.14 gw/172.16.2.13 (255.255.255.248) # My isp is 
>> connected to this interface
>>
>> I want my firewall to do the following:
>>
>> 1. get my box to be completely secure from outside access, in other words 
>> deny all access from the outside world to my box&/or my LAN
>> 2. allow my LAN users to access the internet/ box without any restrictions, 
>> through a transparent squid installation
> So you are only allowing http and https transparently through squid?
> The reason I ask is you only showed the firewall rules not the nat
> table. Otherwise you need to setup nat masquerading to allow other
> connections out.
>
> Have you though of virtualizing your firewall with a purpose built
> distribution like Vyatta or pfSense? I have taken this approach with
> my setup. I find it makes updates easy and provides better uptime. I'm
> running everything on ESXi and have a handful of virtual machines.
>
> - Vyatta Firewall
> - CentOS 5.5 Web Server and MySQL
> - CentOS 5.5 Zimbra Email
> - CentOS 5.5 DHCP and DNS
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

Smoothwall is another option, though not based on Centos. Very easy to 
configure. Vyatta is a bit more work to configure.




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


[CentOS] happy new years ssh key problem :)

2010-12-31 Thread bluethundr
Hi List,

 Happy  New Years and I was hoping to get some help on an ssh issue
that I am having. For some reason I am unable to scp to hosts on this
network using RSA keys. Here is what I am doing/what is going on;

scp the public key to remote host

[amandabac...@virtcent18 ~]$ scp ~/.ssh/id_rsa_amdump.pub amandabac...@lb1:~
amandabac...@lb1's password:
id_rsa_amdump.pub
100%  408 0.4KB/s   00:00



ssh (w/passwd) to remote host


[amandabac...@virtcent18 ~]$ ssh lb1
amandabac...@lb1's password:
Last login: Fri Dec 31 10:57:05 2010 from 192.168.1.40
#
#   SUMMITNJHOME.COM#
#   TITLE:   LB1 BOX#
#   HOST:VIRTCENT01 #
#   LOCATION:SUMMIT BASEMENT#
#


check to see if the key exists in authorized_keys

[amandabac...@virtcent01 ~]$ grep -f id_rsa_amdump.pub ~/.ssh/authorized_keys


it didn't so cat it into authorized_keys

[amandabac...@virtcent01 ~]$ cat id_rsa_amdump.pub >> ~/.ssh/authorized_keys

check again, just to make sure that it's there

[amandabac...@virtcent01 ~]$ grep -f id_rsa_amdump.pub ~/.ssh/authorized_keys
ssh-rsa 
BlAB3Nza/FAKE-KEY-DATA--KEY-DATAKfMq4DDa0xaKb/FAKE-KEY-DATA--KEY-DATAsoqCu/boKNa/FAKE-KEY-DATA--KEY-DATAp1n9TcDtxm2XFHcOKUw2/14/bz1pWNDI/FAKE-KEY-DATA--KEY-DATAr9951JdK7Ny6lk/FAKE-KEY-DATA--KEY-DATA1/FAKE-KEY-DATA--KEY-DATAwh2dmgyxI9N69x3ypvWcGWShZw1BCJI06j5qIxvin99/FAKE-KEY-DATA--KEY-DATA

It is. so good so far. Check permissions on authorized_keys file

[amandabac...@virtcent01 ~]$ ls -l ~/.ssh/authorized_keys
-rw--- 1 amandabackup disk 408 Dec 31 11:02
/var/lib/amanda/.ssh/authorized_keys

make sure we have the right home environment

HOME=/var/lib/amanda

Also good. Now, make sure ssh is looking at the right file

[r...@virtcent01 ~]# grep -i authorizedkeysfile /etc/ssh/sshd_config
AuthorizedKeysFile   ~/.ssh/authorized_keys 

It is. Now exit and try to ssh in

[amandabac...@virtcent01 ~]$ exit
Connection to lb1 closed.


[amandabac...@virtcent18 ~]$ ssh -vvv amandabac...@lb1
OpenSSH_5.6p1lpk, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
debug1: Reading configuration data /etc/ssh/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Connecting to lb1 [192.168.1.23] port 22.
debug1: Connection established.
debug1: identity file /var/lib/amanda/.ssh/id_rsa type -1
debug1: identity file /var/lib/amanda/.ssh/id_rsa-cert type -1
debug1: identity file /var/lib/amanda/.ssh/id_dsa type -1
debug1: identity file /var/lib/amanda/.ssh/id_dsa-cert type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.6
debug1: match: OpenSSH_5.6 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.6
debug2: fd 3 setting O_NONBLOCK
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug2: kex_parse_kexinit:
diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit:
ssh-rsa-cert-...@openssh.com,ssh-dss-cert-...@openssh.com,ssh-rsa-cert-...@openssh.com,ssh-dss-cert-...@openssh.com,ssh-rsa,ssh-dss
debug2: kex_parse_kexinit:
aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-...@lysator.liu.se
debug2: kex_parse_kexinit:
aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-...@lysator.liu.se
debug2: kex_parse_kexinit:
hmac-md5,hmac-sha1,umac...@openssh.com,hmac-ripemd160,hmac-ripemd...@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit:
hmac-md5,hmac-sha1,umac...@openssh.com,hmac-ripemd160,hmac-ripemd...@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,z...@openssh.com,zlib
debug2: kex_parse_kexinit: none,z...@openssh.com,zlib
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: kex_parse_kexinit:
diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit:
aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-...@lysator.liu.se
debug2: kex_parse_kexinit:
aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-...@lysator.liu.se
debug2: kex_parse_kexinit:
hmac-md5,hmac-sha1,umac...@openssh.com,hmac-ripemd160,hmac-ripemd...@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit:
hmac-md5,hmac-sha1,umac...@openssh.com,hmac-ripemd160,hmac-ripemd...@openssh.com,

Re: [CentOS] happy new years ssh key problem :)

2010-12-31 Thread Gordon Messmer
On 12/31/2010 11:32 AM, bluethundr wrote:
> [amandabac...@virtcent18 ~]$ ssh -vvv amandabac...@lb1

...
> debug1: Next authentication method: publickey
> debug1: Trying private key: /var/lib/amanda/.ssh/id_rsa
> debug3: no such identity: /var/lib/amanda/.ssh/id_rsa
> debug1: Trying private key: /var/lib/amanda/.ssh/id_dsa
> debug3: no such identity: /var/lib/amanda/.ssh/id_dsa

Maybe try:

ssh -i ~/.ssh/id_rsa_amdump amandabac...@lb1
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Dual or quad fast ethernet NICs (that work with CentOS)

2010-12-31 Thread Lamar Owen
On Tuesday, December 28, 2010 07:13:22 am robert mena wrote:
> I am looking for dual or quad fast ethernet NICs that work with CentOS.
>  There is no need for high performance so regular fast/pci is ok.

I have in a firewall box here a quad fastethernet board; lspci shows:
01:09.0 PCI bridge: Digital Equipment Corporation DECchip 21152 (rev 03)
02:04.0 Ethernet controller: Digital Equipment Corporation DECchip 21142/43 
(rev 41)
02:05.0 Ethernet controller: Digital Equipment Corporation DECchip 21142/43 
(rev 41)
02:06.0 Ethernet controller: Digital Equipment Corporation DECchip 21142/43 
(rev 41)
02:07.0 Ethernet controller: Digital Equipment Corporation DECchip 21142/43 
(rev 41)

This uses the 'tulip' driver, very common, and good performance.

I have another one, but this one uses the 21140 instead of the 21142.  Still 
the tulip driver. Part number on it is 'COM-0040-50' or 123400-21-998, googling 
gives me that it's a Sun partit's 32-bit PCI.

The older Sun Quad Fast Ethernet (PCI) should also work fine; uses sunhme 
driver, IIRC, which is in the vanilla C5 kernel (I just checked the latest 
updated kernel; should be in all of them).  The ones I found on eBay (starting 
at the high price of $9.99 free shipping) are 64-bit, but should work fine in a 
32-bit slot, just slower.

Also, I have in hand a couple of dual-port boards made by Intel; Pro/100+ Dual, 
part 711269-004; has two 82558B controllers and an Intel-sourced 21152 bridge 
(32-bit PCI).  I have one of these in a CentOS 3 box, and it works fine.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Dual or quad fast ethernet NICs (that work with CentOS)

2010-12-31 Thread Jeff Hefner
I can vouch for the Sun Quad Fast Ethernet (PCI) cards. Quite a while
back a few co-workers and I had split a small lot of them from eBay
the broke down to roughly 8 or 9 bucks with shipping. Everyone had
good luck with whatever they ended up being used for (mostly
firewalls).

jeff

On Fri, Dec 31, 2010 at 4:00 PM, Lamar Owen  wrote:
> On Tuesday, December 28, 2010 07:13:22 am robert mena wrote:
>> I am looking for dual or quad fast ethernet NICs that work with CentOS.
>>  There is no need for high performance so regular fast/pci is ok.
>
> I have in a firewall box here a quad fastethernet board; lspci shows:
> 01:09.0 PCI bridge: Digital Equipment Corporation DECchip 21152 (rev 03)
> 02:04.0 Ethernet controller: Digital Equipment Corporation DECchip 21142/43 
> (rev 41)
> 02:05.0 Ethernet controller: Digital Equipment Corporation DECchip 21142/43 
> (rev 41)
> 02:06.0 Ethernet controller: Digital Equipment Corporation DECchip 21142/43 
> (rev 41)
> 02:07.0 Ethernet controller: Digital Equipment Corporation DECchip 21142/43 
> (rev 41)
>
> This uses the 'tulip' driver, very common, and good performance.
>
> I have another one, but this one uses the 21140 instead of the 21142.  Still 
> the tulip driver. Part number on it is 'COM-0040-50' or 123400-21-998, 
> googling gives me that it's a Sun partit's 32-bit PCI.
>
> The older Sun Quad Fast Ethernet (PCI) should also work fine; uses sunhme 
> driver, IIRC, which is in the vanilla C5 kernel (I just checked the latest 
> updated kernel; should be in all of them).  The ones I found on eBay 
> (starting at the high price of $9.99 free shipping) are 64-bit, but should 
> work fine in a 32-bit slot, just slower.
>
> Also, I have in hand a couple of dual-port boards made by Intel; Pro/100+ 
> Dual, part 711269-004; has two 82558B controllers and an Intel-sourced 21152 
> bridge (32-bit PCI).  I have one of these in a CentOS 3 box, and it works 
> fine.
> ___
> 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] happy new year :D i have a problem to upgrade my glibc to 2.7 on centos 5.5

2010-12-31 Thread Max Haann
Happy new year :D

i have just installed centos 5.5 on my vmware to test my server,i found that
i need nasm x64 to compile my assembly code,the yum database only has 0.98
version which does not support 64bit.

the nasm version 2(rpm from offcial site) requires glibc 2.7, i know its a
core component, but is there a way to upgrade it without break system? 

thanks for your time :D


NamoBhagavan
Max Haann


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


[CentOS] DHCPD troubleshooting..? help!

2010-12-31 Thread Roland RoLaNd

Hello,

i've setup dhcp as such:

yum install dhcp

vim /etc/dhcpd.config
#
# DHCP Server Configuration file.
#   see /usr/share/doc/dhcp*/dhcpd.conf.sample  
#ddns-update-style interim;
ddns-update-style interim;
ddns-rev-domainname "in-addr.arpa";
ignore client-updates;
subnet 192.168.75.0 netmask 255.255.255.0 {
   option routers  192.168.75.25; #Default Gateway
   option subnet-mask  255.255.255.0;
   option domain-name  "home.local";
   option domain-name-servers  8.8.8.8;
   #option netbios-name-servers 192.168.0.2; #WINS Server    
    range dynamic-bootp 192.168.75.26 192.168.75.100;  #DHCP Range to assign
   default-lease-time 43200;
   max-lease-time 86400;
}

more /etc/sysconfig/dhcpd 
# Command line options here
DHCPDARGS=eth0

tail -f /var/log/messages:

Jan  1 01:25:58 dnalor dhcpd: DHCPREQUEST for 192.168.25.100 (192.168.25.25) 
from 00:23:4b:cc:6c:b7 (oli) via eth0
Jan  1 01:25:58 dnalor dhcpd: DHCPACK on 192.168.25.100 to 00:23:4b:cc:6c:b7 
(oli) via eth0
Jan  1 01:26:16 dnalor dhcpd: Unable to add forward map from oli.home.local to 
192.168.25.100: timed out


any help?

PS: i dont have named installed as i use the ISP's dns, may that be the cause?

Thanks for your advice in advance and happy new year

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


Re: [CentOS] DHCPD troubleshooting..? help!

2010-12-31 Thread Ron Loftin

On Sat, 2011-01-01 at 03:31 +0200, Roland RoLaNd wrote:
> Hello,
> 
> i've setup dhcp as such:
> 
> yum install dhcp
> 
> vim /etc/dhcpd.config
> #
> # DHCP Server Configuration file.
> #   see /usr/share/doc/dhcp*/dhcpd.conf.sample  
> #ddns-update-style interim;
> ddns-update-style interim;
> ddns-rev-domainname "in-addr.arpa";
> ignore client-updates;
> subnet 192.168.75.0 netmask 255.255.255.0 {
>option routers  192.168.75.25; #Default Gateway
>option subnet-mask  255.255.255.0;
>option domain-name  "home.local";
>option domain-name-servers  8.8.8.8;
>#option netbios-name-servers 192.168.0.2; #WINS Server
> range dynamic-bootp 192.168.75.26 192.168.75.100;  #DHCP Range to assign
>default-lease-time 43200;
>max-lease-time 86400;
> }
> 
> more /etc/sysconfig/dhcpd 
> # Command line options here
> DHCPDARGS=eth0
> 
> tail -f /var/log/messages:
> 
> Jan  1 01:25:58 dnalor dhcpd: DHCPREQUEST for 192.168.25.100 (192.168.25.25) 
> from 00:23:4b:cc:6c:b7 (oli) via eth0
> Jan  1 01:25:58 dnalor dhcpd: DHCPACK on 192.168.25.100 to 00:23:4b:cc:6c:b7 
> (oli) via eth0
> Jan  1 01:26:16 dnalor dhcpd: Unable to add forward map from oli.home.local 
> to 192.168.25.100: timed out
> 
> 
> any help?
> 
> PS: i dont have named installed as i use the ISP's dns, may that be the cause?
> 
> Thanks for your advice in advance and happy new year
> 

Try:

ddns-update-style none;

-- 
Ron Loftin  relof...@twcny.rr.com

"God, root, what is difference ?"   Piter from UserFriendly

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


Re: [CentOS] DHCPD troubleshooting..? help!

2010-12-31 Thread Ryan Wagoner
On Fri, Dec 31, 2010 at 8:31 PM, Roland RoLaNd  wrote:
> vim /etc/dhcpd.config
> ddns-update-style interim;
> ddns-rev-domainname "in-addr.arpa";
>
> Jan  1 01:25:58 dnalor dhcpd: DHCPREQUEST for 192.168.25.100 (192.168.25.25) 
> from 00:23:4b:cc:6c:b7 (oli) via eth0
> Jan  1 01:25:58 dnalor dhcpd: DHCPACK on 192.168.25.100 to 00:23:4b:cc:6c:b7 
> (oli) via eth0
> Jan  1 01:26:16 dnalor dhcpd: Unable to add forward map from oli.home.local 
> to 192.168.25.100: timed out
>
>
> PS: i dont have named installed as i use the ISP's dns, may that be the cause?
>

Since you are not running your own dns then you don't need dynamic dns
updates enabled. When dynamic dns updates are turned on dhcpd can
update a zone in named with the hostname for the ip handed out. The
benefits of running your own dns server is that you can access systems
in your network by name and not ip.

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


Re: [CentOS] query regarding virtual machine space increase

2010-12-31 Thread Ryan Wagoner
On Mon, Dec 27, 2010 at 1:21 PM, benedict dcunha
 wrote:
> Now when it comes to the page for specifying the disk space i see the
> following
> as warning
> (if you don't allocate the entire disk now , space will be allocated as
> needed  while the virtual machine is running)
>
> Now as per the message i was thinking that I would just give the minimum
> space for the OS and xen would allocate space as I install software and put
> data and files as required
> So guess basically I was wrong in interpreting the message
> Now I began to understand and as leen says .. the space specified in the
> wizard is the maximum and Xen in no way will allocate more space than
> specified in the wizard
> so it above message basically means that space is allocated and managed  by
> xen within the maximum space specified in tghe wizard.

The virtual disk works just like a hard drive. If you create a 80GB
hard drive it reports it to the guest OS as a 80GB hard drive. The
"don't allocate the entire disk now" message is about how the host OS
creates the virtual disk file. If you don't allocate it up front you
end up with a sparse file. du and df commands will show the space
actually used. ls will show you the actual file size which would be
80GB.

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