Hey Stephen,

The DCHP (with the help the BOOTP protocol) is the system your computer uses
that uses to ask your ISP what the dynamic addresses it should use. It also
should be able to find the addresses for your name servers as well.

Unfortunatly, I myself only have experience using DHCP under Windows. I
think the problem you mentioned is basically caused by improperly configured
network settings when using DHCP.

Please try removing nameserver 192.168.252.200 from
/etc/resolv.conf since it isn't one of your ISP's DNS servers. It could very
well explain the long delays because your computer tries to use
192.168.252.200 for name resoltion and it times out and then tries the next
name server on your list at address 210.0.144.26, which the succeeds.

Maybe someone can explain better how DHCP should be configured on you
machine. I know there's lots of docs at the Red Hat site.

Cheers!!!


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Stephen Liu
Sent: Sunday, January 06, 2002 9:08 PM
To: [EMAIL PROTECTED]
Subject: RE: Detecting "Bringup interface eth0 problem


Hi Robert,

Thanks for your advice

At 09:15 PM 1/4/2002 -0800, you wrote:
>Here's a few suspects
>
>1. HOSTNAME is localhost.localdomain, it might be a problem for DHCP?
>2. The long delay sounds like some kind of timeout problem
>3. Are the nameserver settings in resolv.conf really your ISP's DNS
servers?

There are 3 setting in  /etc/resolv.conf
nameserver 192.168.252.200
nameserver 210.0.144.26
nameserver 210.0.144.29

My ISP only provides dynamic IP address.  The last 2 settings are my ISP's
DNS servers.  I have no idea of the first one.

>*** I thought DNS servers where located via DHCP? Try removing the
>references to DNS servers. The DCHP BOOTP protocol should locate these for
>you automatically.

Kindly advise what references I have to remove to DNS servers and how ?

>What info did you get from your ISP on how to set up your host for DHCP?

I did not set up the host for DHCP because only dynamic IP address is
provided by my ISP.

Thanks in advance.

B.R.
Stephen

>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED]]On Behalf Of Stephen Liu
>Sent: Friday, January 04, 2002 6:40 PM
>To: [EMAIL PROTECTED]
>Subject: RE: Detecting "Bringup interface eth0 problem
>
>
>Hi Robert,
>
>Thanks for your response.
>
>At 04:20 PM 1/4/2002 -0800, you wrote:
> >You should try to set the machine up on a static ip address and see if
this
> >makes any difference.
>
>My ISP only provides dynamic IP address
>
> >What are the contents of these files???
> >
> >/etc/hosts
> >/etc/host.conf
> >/etc/resolv.conf
> >/etc/sysconfig/network
> >/etc/sysconfig/network-scripts/ifcfg-eth0
>
>As follows :
>/etc/hosts
># Do not remove the following line, or various programs
># that require network functionality will fail.
>127.0.0.1               localhost.localdomain localhost
>
>/etc/host.conf
>order hosts,bind
>
>/etc/resolv.conf
>nameserver 192.168.252.200
>nameserver 210.0.144.26
>nameserver 210.0.144.29
>search localdomain
>
>/etc/sysconfig/network
>NETWORKING=yes
>HOSTNAME=localhost.localdomain
>
>etc/sysconfig/network-script/ifcfg-eth0
>DEVICE=eth0
>BOOTPROTO=dhcp
>ONBOOT=yes
>
>Thanks
>
>B.R.
>Stephen
>
>
> >-----Original Message-----
> >From: [EMAIL PROTECTED]
> >[mailto:[EMAIL PROTECTED]]On Behalf Of Gregg Morris
> >Sent: Friday, January 04, 2002 7:09 AM
> >To: [EMAIL PROTECTED]
> >Subject: Re: Detecting "Bringup interface eth0 problem
> >
> >
> >Stephen,
> >
> >Three or four minutes to initialize *with* your broadband connection?
> >That's not normal.
> >What type of broadband connection?
> >
> >/etc/sysconfig/network-scripts/ifcfg-eth0 looks OK to me.
> >
> >Is there a line in your /etc/hosts file that says,
> >"127.0.0.1      localhost" ?  Preferably the first line?
> >Do you have dhcpcd running on startup?
> >
> >Regards,
> >Gregg
> >
> >
> > >>>>> "Stephen" == Stephen Liu <[EMAIL PROTECTED]> writes:
> >
> >
> >     > Hi Justin, Thanks for your response.
> >
> >     > With broadband connection it takes about 3-4 minutes.  Without
> >     > connection it takes longer time.
> >
> >     > (Without broadband connected)
> >     > /etc/sysconfig/network-scripts/ifcfg-eth0 looks as follows ;
> >
> >     > DEVICE=eth0 BOOTPROTO=dhcp ONBOOT=yes
> >
> >     > Any reconfiguration I have to make.
> >
> >     > Thanks in advance.
> >
> >     > B.R.  Stephen Liu
> >
> >
> >     > At 01:12 PM 1/3/2002 -0600, you wrote:
> >     >> If you mean that it takes forever and a day to realize that
> >     >> it's not on the network, than pass a timeout value by adding
> >     >> the line:
> >     >>
> >     >> DHCPCDARGS="-t 10"
> >     >>
> >     >> to the file /etc/sysconfig/network-scripts/ifcfg-eth0.
> >     >>
> >     >> That makes the DHCP client give up after 10 seconds.
> >     >>
> >     >> HTH,
> >     >>
> >     >> Justin



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to