Messages in /var/log/messages

hi

i got my Opensuse serve the Lan inside my house and doing the Nat …DHCP… act like a Fantastic Router…
i got my eth1 in bridge mode connected to one modem Adsl and have the connection configured in yast…

all work ok but i have one noise message in var log messages telling this …:

eb 28 00:38:52 thedoor dhcpcd[2255]: eth1: timed out
Feb 28 00:38:52 thedoor dhcpcd[2255]: eth1: broadcasting for a lease
Feb 28 00:39:12 thedoor dhcpcd[2255]: eth1: timed out
Feb 28 00:39:12 thedoor dhcpcd[2255]: eth1: broadcasting for a lease
Feb 28 00:39:32 thedoor dhcpcd[2255]: eth1: timed out
Feb 28 00:39:32 thedoor dhcpcd[2255]: eth1: broadcasting for a lease
Feb 28 00:39:52 thedoor dhcpcd[2255]: eth1: timed out
Feb 28 00:39:52 thedoor dhcpcd[2255]: eth1: broadcasting for a lease
Feb 28 00:40:12 thedoor dhcpcd[2255]: eth1: timed out
Feb 28 00:40:12 thedoor dhcpcd[2255]: eth1: broadcasting for a lease

this repeat and repeat…

Can anyone help me correct this ???
tank s

On 2012-02-28 01:56, mymind wrote:

Please use code tags to post things like this.


> Feb 28 00:40:12 thedoor dhcpcd[2255]: eth1: timed out
> Feb 28 00:40:12 thedoor dhcpcd[2255]: eth1: broadcasting for a lease

It means that you have configured eth1 to ask for an IP, and it is not
getting it. Do you have a dhcp server in that network? If you haven’t, then
give that card a fixed IP.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

hi
tank s for your reply …
your solution brings me a problem i think …

i know this :
"It means that you have configured eth1 to ask for an IP, and it is not
getting it. Do you have a dhcp server in that network? If you haven’t, then
give that card a fixed IP. "

but i need this network adapter with dynamic ip because i make ppp over ethernet with eth1 … and i see that after ppp is made i got one other network adapter active that is dsl0 and this one is the one that get public ip … like i said in the first post this network adapter only make the bridge to modem … and other thing the modem is configured like bridged mode and the dhcp is in the suse because i can t have two dhcp working at same time …

could i configure any ip satic in this network adapter ?
should i give dynamic ip to this netw. adap from DHCP that is running ? this not seems well …

i will post here a copy of the conf of my working adapters …

dsl0 Link encap:Point-to-Point Protocol
inet addr:82.155.158.185 P-t-P:194.65.169.232 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:199962 errors:0 dropped:0 overruns:0 frame:0
TX packets:199266 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:30654453 (29.2 Mb) TX bytes:29822009 (28.4 Mb)

eth0 Link encap:Ethernet HWaddr 00:19:B9:62:BB:A4
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:40826 errors:0 dropped:0 overruns:0 frame:0
TX packets:26380 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:11623797 (11.0 Mb) TX bytes:4155178 (3.9 Mb)
Interrupt:17

eth1 Link encap:Ethernet HWaddr 00:10:13:50:A4:90
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:202670 errors:0 dropped:0 overruns:0 frame:0
TX packets:214130 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:32378830 (30.8 Mb) TX bytes:38872773 (37.0 Mb)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:138808 errors:0 dropped:0 overruns:0 frame:0
TX packets:138808 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:14094300 (13.4 Mb) TX bytes:14094300 (13.4 Mb)

tank s

Please, please, please. To post computer output here in a way that it is readable, not malformed and not subject to smiley interpretation, do this between CODE tags: http://forums.opensuse.org/english/information-new-users/advanced-how-faq-read-only/451526-posting-code-tags-guide.html

On 2012-02-28 13:16, mymind wrote:

> could i configure any ip satic in this network adapter ?
> should i give dynamic ip to this netw. adap from DHCP that is running ?
> this not seems well …

I can not answer exactly what you must do because I don’t understand well
your situation, I have not used such a setup as you describe. What I know
is what I said: that eth1 is requesting an IP number from the network it is
connected to, and there is no dhcp in that network or is refusing the lease.

So you either create a dhcp server there, or configure the existing one (if
it exists) differently, or give a fixed IP.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Please mymind,

Can you explain more clear what your setup is. Probably with some small schema or so. It is very difficult to understand what it looks liek in your siruarion as @robin_listas allready said.

Carlos E. R. wrote:
> So you either create a dhcp server there, or configure the existing one (if
> it exists) differently, or give a fixed IP.

but on 2012-02-28 00:56, mymind wrote:
> all work ok but i have one noise message in var log messages

So perhaps all the OP needs to do is to configure eth1 to not use dhcp?
I don’t suppose it will do any harm to assign a static address, except
there might be a possibility it will break the already-working system.

I did not read this before my last post above, but I guess this is correct. It seems that eth1 is not used at all in the OP’s configuration. Thus either configure it not to use DHCP or even configure it not to be used at all.

hcvv wrote:
> It seems that eth1 is not used at all in the OP’s configuration. Thus
> either configure it not to use DHCP or even configure it not to be
> used at all.

Well, he said he runs pppoe over it, so basically if it is already
working, it’s best to do the minimum necessary to suppress the message.

hi
first tank s to all for the interest …

ok

for this :

sorry i will not do again …

ok freind

i have Opensuse act like a router …

i got two network adapters eth0 with DHCPd and fixed IP,running on there and this network adapter is connected to one switch to serve my local Lan…

i have other network adapter eth1 that is configured with dynamic ip and is connected with one RJ45 cable to one ADSL modem that is configured like a bridge. with this i make the dialer to the internet and got the dslo network running like you see in my other post …

what i tell you in post 3 of this thread is that i can t assign any IP address to this network adapter i think because i use eth1 to make the ppoe dialing …
and what you have said is correct,… that message is because i don t have one IP address on that network adapter …

but i think that i can t assign any IP address to the network card that i use to make pppoe with the modem adsl …

if i m telling some stupid thing please correct me …

and tank s …

hi
i think that if assign any IP to this ethernet i will break the running system …
have you see any case like this with fixed IP ?

hi
i have explain the situation a bit upper … and tank s

hi yes is what i m looking for but if was possible to correct and someone share their point of view i will like to ear and learn …

Tank s to all

On 2012-02-28 21:36, mymind wrote:
> what i tell you in post 3 of this thread is that i can t assign any IP
> address to this network adapter i think because i use eth1 to make the
> ppoe dialing …
> and what you have said is correct,… that message is because i don t
> have one IP address on that network adapter …

Then don’t configure it for automatic IP, because it will get none via
dhcp. I don’t know your setup, I can only make guesses.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

ok
so here is …

dhcpd.conf



#
# Define RFC 3442 classless static route option (121);
# the following _example_ routes:
#    192.168.2.254/32 via 0.0.0.0     (device route)
#    192.168.2.253/32 via 192.168.1.2 (255.255.255.255)
#    192.2.0.128/25   via 192.168.1.2 (255.255.255.128)
#    192.168.2.0/24   via 192.168.1.2 (255.255.255.0)
#    172.16.0.0/12    via 192.168.1.2 (255.240.0.0)
#    10.0.0.0/8       via 192.168.1.2 (255.0.0.0)
#    default          via 192.168.1.1
#    option rfc3442-classless-static-routes
#           32,  192, 168, 2, 254,    0,   0, 0, 0,
#           32,  192, 168, 2, 253,  192, 168, 1, 2,
#           25,  192,   2, 0, 128,  192, 168, 1, 2,
#           24,  192, 168, 3,       192, 168, 1, 2,
#           12,  172, 16,           192, 168, 1, 2,
#            8,   10,               192, 168, 1, 2,
#            0,                     192, 168, 1, 1;
#
# Note: you have to specify the default gateway here
# as well, because when classless routes are in use,
# the 'routers' option is ignored by the dhcp client.
#
#option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;
option domain-name "gateway";
option domain-name-servers 194.65.100.117, 194.65.100.117;
#max-lease-time 14400;
# if you do not use dynamical DNS updates:
#
# if you want to use dynamical DNS updates, you should first read
# read /usr/share/doc/packages/dhcp-server/DDNS-howto.txt
#
#ddns-updates none;
# Use this to enble / disable dynamic dns updates globally.
#ddns-update-style off;
# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).

authoritative ;
log-facility local7;
default-lease-time 14400;
ddns-update-style none;
subnet 192.168.1.0 netmask 255.255.255.0 {
  option routers 192.168.1.1;
  range dynamic-bootp 192.168.1.10 192.168.1.20;
  default-lease-time 14400;
  max-lease-time 172800;
}



/etc/sysconfig/network/ifcfg-eth0…



BOOTPROTO='static'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR='192.168.1.1/24'
MTU=''
NAME='NetXtreme BCM5755M Gigabit Ethernet PCI Express'
NETMASK=''
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'
USERCONTROL='no'
PREFIXLEN='24'


/etc/sysconfig/network/ifcfg-eth1…



BOOTPROTO='dhcp4'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR=''
MTU=''
NAME='USB Network Controller'
NETMASK=''
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='hotplug'
USERCONTROL='yes'



/etc/sysconfig/network/ifcfg-dsl0…


BOOTPROTO='none'
DEVICE='eth1'
MODEM_IP='10.0.0.138'
NAME='DSL Connection'
PPPD_OPTIONS=''
PPPMODE='pppoe'
PROVIDER='provider0'
STARTMODE='auto'
UDI=''
USERCONTROL='no'
VPIVCI='0/35'
             


i think that this ones is what you need to clarify …

tank s

Ignore this …
i will explain next…

Ok
i give static IP to the network card that make bridge with the ADSL modem and the problem was fixed …

tank s to ALL