public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] gentoo installation problems
@ 2001-07-10 23:00 Marcus A Martin
  2001-07-10 23:54 ` Jerry A!
  0 siblings, 1 reply; 16+ messages in thread
From: Marcus A Martin @ 2001-07-10 23:00 UTC (permalink / raw
  To: gentoo-dev

I have read the through the gentoo webpages and am very interested to try it out. I decided I should try the 42MB iso image to get the full gentoo experience and to become more familiar with portage. However, I am having a 
minor problem following the installation isntructions.

I am attempting to use a dhcp net configuration. The inet.dhcp_eth0 script uses dhclient, but this file is not in the /sbin directory. Or anywhere else on the CD I burned. I have tried to use the dhcpcd instead, but am unable to 
get this to work either. Can someone tell me what I am doing wrong? I know that I do not have to provide a hostname.

Marcus





^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-dev] gentoo installation problems
  2001-07-10 23:00 Marcus A Martin
@ 2001-07-10 23:54 ` Jerry A!
  2001-07-11  7:53   ` Marcus Martin
  2001-07-11 23:54   ` Marcus A Martin
  0 siblings, 2 replies; 16+ messages in thread
From: Jerry A! @ 2001-07-10 23:54 UTC (permalink / raw
  To: gentoo-dev

On Wed, Jul 11, 2001 at 01:08:18AM -0400, Marcus A Martin wrote:
: I have read the through the gentoo webpages and am very interested to try it out. I decided I should try the 42MB iso image to get the full gentoo experience and to become more familiar with portage. However, I am having a 
: minor problem following the installation isntructions.
: 
: I am attempting to use a dhcp net configuration. The inet.dhcp_eth0 script uses dhclient, but this file is not in the /sbin directory. Or anywhere else on the CD I burned. I have tried to use the dhcpcd instead, but am unable to 
: get this to work either. Can someone tell me what I am doing wrong? I know that I do not have to provide a hostname.

What happens if you run "dhcpcd eth0" by hand?

        --Jerry

name:  Jerry Alexandratos         ||  Open-Source software isn't a
phone: 703.599.6023               ||  matter of life or death...
email: jerry@thehutt.org          ||  ...It's much more important
                                  ||  than that!



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-dev] gentoo installation problems
  2001-07-10 23:54 ` Jerry A!
@ 2001-07-11  7:53   ` Marcus Martin
  2001-07-11  8:48     ` Jerry A!
  2001-07-11 23:54   ` Marcus A Martin
  1 sibling, 1 reply; 16+ messages in thread
From: Marcus Martin @ 2001-07-11  7:53 UTC (permalink / raw
  To: gentoo-dev

> : I am attempting to use a dhcp net configuration. The inet.dhcp_eth0
> : script uses dhclient, but this file is not in the /sbin directory. Or
> : anywhere else on the CD I burned. I have tried to use the dhcpcd instead,
> : but am unable to get this to work either. Can someone tell me what I am
> : doing wrong? I know that I do not have to provide a hostname.
>
> What happens if you run "dhcpcd eth0" by hand?
>
>         --Jerry

It times out waiting for a valid dhcp server. Which I find really odd, 
because my current debian box does not time out waiting for a dhcp server.

Marcus



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-dev] gentoo installation problems
@ 2001-07-11  8:48 Marcus A Martin
  2001-07-11  9:02 ` Jerry A!
  0 siblings, 1 reply; 16+ messages in thread
From: Marcus A Martin @ 2001-07-11  8:48 UTC (permalink / raw
  To: gentoo-dev

7/11/2001 11:01:34 AM, Marcus Martin <shalidor@cfl.rr.com> wrote:

> : I am attempting to use a dhcp net configuration. The inet.dhcp_eth0
> : script uses dhclient, but this file is not in the /sbin directory. Or
> : anywhere else on the CD I burned. I have tried to use the dhcpcd instead,
> : but am unable to get this to work either. Can someone tell me what I am
> : doing wrong? I know that I do not have to provide a hostname.
>
> What happens if you run "dhcpcd eth0" by hand?
>
>         --Jerry

I used the CD on another machine at work, and it works just fine. Can you tell me how to turn the logging on for the 
dhcpcd? This way I can try and get a better handle on where the failure occurs and ask more informed questions.

Was there supposed to be a dhclient file in the /sbin directory, or was it removed and the OFF_inet.dhcp_eth0 file was 
not updated??

Marcus





^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-dev] gentoo installation problems
  2001-07-11  7:53   ` Marcus Martin
@ 2001-07-11  8:48     ` Jerry A!
  0 siblings, 0 replies; 16+ messages in thread
From: Jerry A! @ 2001-07-11  8:48 UTC (permalink / raw
  To: gentoo-dev

On Wed, Jul 11, 2001 at 10:01:34AM -0500, Marcus Martin wrote:
: > : I am attempting to use a dhcp net configuration. The inet.dhcp_eth0
: > : script uses dhclient, but this file is not in the /sbin directory. Or
: > : anywhere else on the CD I burned. I have tried to use the dhcpcd instead,
: > : but am unable to get this to work either. Can someone tell me what I am
: > : doing wrong? I know that I do not have to provide a hostname.
: >
: > What happens if you run "dhcpcd eth0" by hand?
: >
: >         --Jerry
: 
: It times out waiting for a valid dhcp server. Which I find really odd, 
: because my current debian box does not time out waiting for a dhcp server.

Hmm...  Are you sure that you're not passing a hostname via the "-h" arg
under dhcpcd or "send hostname" in dhclient's /etc/dhclient.conf?

That's the only time I've seen problems like this.  Well that and
whenever I've tried to use Netgear FA-311's (the natsemi cards, man are
they crap).

        --Jerry

name:  Jerry Alexandratos         ||  Open-Source software isn't a
phone: 703.599.6023               ||  matter of life or death...
email: jerry@thehutt.org          ||  ...It's much more important
                                  ||  than that!



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-dev] gentoo installation problems
  2001-07-11  8:48 Marcus A Martin
@ 2001-07-11  9:02 ` Jerry A!
  0 siblings, 0 replies; 16+ messages in thread
From: Jerry A! @ 2001-07-11  9:02 UTC (permalink / raw
  To: gentoo-dev

On Wed, Jul 11, 2001 at 10:49:58AM -0400, Marcus A Martin wrote:
: 7/11/2001 11:01:34 AM, Marcus Martin <shalidor@cfl.rr.com> wrote:
: 
: > : I am attempting to use a dhcp net configuration. The inet.dhcp_eth0
: > : script uses dhclient, but this file is not in the /sbin directory. Or
: > : anywhere else on the CD I burned. I have tried to use the dhcpcd instead,
: > : but am unable to get this to work either. Can someone tell me what I am
: > : doing wrong? I know that I do not have to provide a hostname.
: >
: > What happens if you run "dhcpcd eth0" by hand?
: 
: I used the CD on another machine at work, and it works just fine.  Can
: you tell me how to turn the logging on for the dhcpcd?  This way I can
: try and get a better handle on where the failure occurs and ask more
: informed questions.
 
Use the "-d" flag for debug.  This should throw out copious amounts of
information.  In addition to "-d" you may want to use the "-T" flag for
test mode.  It'll show you what's supposed to happen, but won't actually
change anything (not like it matters right now, but for future
edification).

: Was there supposed to be a dhclient file in the /sbin directory, or was
: it removed and the OFF_inet.dhcp_eth0 file was not updated??

What version are you running.  I just looked at both the i686-exclusive
and x86-build cds that I have and OFF_inet.dhcp_eth0 used dhcpcd.

Hey quick question.  Did you set the network up before you did the
chroot?

        --Jerry

name:  Jerry Alexandratos         ||  Open-Source software isn't a
phone: 703.599.6023               ||  matter of life or death...
email: jerry@thehutt.org          ||  ...It's much more important
                                  ||  than that!



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-dev] gentoo installation problems
@ 2001-07-11  9:09 Marcus A Martin
  2001-07-11  9:23 ` Jerry A!
  0 siblings, 1 reply; 16+ messages in thread
From: Marcus A Martin @ 2001-07-11  9:09 UTC (permalink / raw
  To: gentoo-dev

> 
>Use the "-d" flag for debug.  This should throw out copious amounts of
>information.  In addition to "-d" you may want to use the "-T" flag for
>test mode.  It'll show you what's supposed to happen, but won't actually
>change anything (not like it matters right now, but for future
>edification).
Thanks. This will help.

>
>: Was there supposed to be a dhclient file in the /sbin directory, or was
>: it removed and the OFF_inet.dhcp_eth0 file was not updated??
>
>What version are you running.  I just looked at both the i686-exclusive
>and x86-build cds that I have and OFF_inet.dhcp_eth0 used dhcpcd.

I got the build CD from the following link.
http://www.ibiblio.org/gentoo/releases/1.0_rc5/isos/gentoo-ix86-build-1.0_rc5-r4.iso.


>
>Hey quick question.  Did you set the network up before you did the
>chroot?
I have not yet done a chroot. That is in step 6, I am still in step 3.

Marcus




^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-dev] gentoo installation problems
  2001-07-11  9:09 Marcus A Martin
@ 2001-07-11  9:23 ` Jerry A!
  0 siblings, 0 replies; 16+ messages in thread
From: Jerry A! @ 2001-07-11  9:23 UTC (permalink / raw
  To: gentoo-dev

On Wed, Jul 11, 2001 at 11:11:10AM -0400, Marcus A Martin wrote:
: > 
: >Use the "-d" flag for debug.  This should throw out copious amounts of
: >information.  In addition to "-d" you may want to use the "-T" flag for
: >test mode.  It'll show you what's supposed to happen, but won't actually
: >change anything (not like it matters right now, but for future
: >edification).
: Thanks. This will help.
: 
: >: Was there supposed to be a dhclient file in the /sbin directory, or was
: >: it removed and the OFF_inet.dhcp_eth0 file was not updated??
: >
: >What version are you running.  I just looked at both the i686-exclusive
: >and x86-build cds that I have and OFF_inet.dhcp_eth0 used dhcpcd.
: 
: I got the build CD from the following link.
: http://www.ibiblio.org/gentoo/releases/1.0_rc5/isos/gentoo-ix86-build-1.0_rc5-r4.iso.

Hmm.  Okay, I have -r3 lying around here.  But I can't see Daniel or
Achim changing this at a -r level.  Well, try "dhcpcd -d eth0" and see
what the output shows.

: >Hey quick question.  Did you set the network up before you did the
: >chroot?
: I have not yet done a chroot. That is in step 6, I am still in step 3.

Okay, I was hoping for a simple fix.  8|

        --Jerry

name:  Jerry Alexandratos         ||  Open-Source software isn't a
phone: 703.599.6023               ||  matter of life or death...
email: jerry@thehutt.org          ||  ...It's much more important
                                  ||  than that!



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-dev] gentoo installation problems
@ 2001-07-11 11:05 Marcus A Martin
  2001-07-11 11:47 ` Jerry A!
  0 siblings, 1 reply; 16+ messages in thread
From: Marcus A Martin @ 2001-07-11 11:05 UTC (permalink / raw
  To: gentoo-dev

> 
>Use the "-d" flag for debug.  This should throw out copious amounts of
>information.  In addition to "-d" you may want to use the "-T" flag for
>test mode.  It'll show you what's supposed to happen, but won't actually
>change anything (not like it matters right now, but for future
>edification).
With the -d option, I discovered that failure occurs on the DHCP_DISCOVER call. This is really odd. Like I said, my 
dhcp server has a debian box and 2 windows boaxes connecting to it and they run fine. Do I need to do anything 
before I attempt to run dhcp eth0? The only thing that I have done is enabled the network card by loading the tulip 
driver with modprobe. Is there something else I should do first?

>
>: Was there supposed to be a dhclient file in the /sbin directory, or was
>: it removed and the OFF_inet.dhcp_eth0 file was not updated??
>
>What version are you running.  I just looked at both the i686-exclusive
>and x86-build cds that I have and OFF_inet.dhcp_eth0 used dhcpcd.
I have noticed that both the binary and build CD have dhcpcd but the OFF_inet.dhcp_eth0 file uses dhclient in the 
script. You may want to either update the script or add the dhclient file back into the sbin directory.

Is there a rc4 iso image that I can get at? Maybe using a different image will be of help?

Marcus




^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-dev] gentoo installation problems
  2001-07-11 11:05 Marcus A Martin
@ 2001-07-11 11:47 ` Jerry A!
  2001-07-11 13:15   ` Daniel Robbins
  0 siblings, 1 reply; 16+ messages in thread
From: Jerry A! @ 2001-07-11 11:47 UTC (permalink / raw
  To: gentoo-dev

On Wed, Jul 11, 2001 at 01:07:07PM -0400, Marcus A Martin wrote:
: > 
: >Use the "-d" flag for debug.  This should throw out copious amounts of
: >information.  In addition to "-d" you may want to use the "-T" flag for
: >test mode.  It'll show you what's supposed to happen, but won't actually
: >change anything (not like it matters right now, but for future
: >edification).
:
: With the -d option, I discovered that failure occurs on the
: DHCP_DISCOVER call.  This is really odd.  Like I said, my dhcp server
: has a debian box and 2 windows boaxes connecting to it and they run
: fine.  Do I need to do anything before I attempt to run dhcp eth0?  The
: only thing that I have done is enabled the network card by loading the
: tulip driver with modprobe.  Is there something else I should do first?

You can try issuing "ifconfig eth0 up" to make sure that the interface
is up and then run "dhcpcd -d eth0".

Without knowing you network topology there's not much more help I can
be.

You may not be connecting b/c the card isn't correctly auto-negotiating
with the switch/hub it's plugged into.  Maybe you DHCP server has
tresholds or does expect a hostname or MAC address.  Maybe the network
card is bad.  Try swapping it with one of the working ones.

: >What version are you running.  I just looked at both the i686-exclusive
: >and x86-build cds that I have and OFF_inet.dhcp_eth0 used dhcpcd.
:
: I have noticed that both the binary and build CD have dhcpcd but the
: OFF_inet.dhcp_eth0 file uses dhclient in the script.  You may want to
: either update the script or add the dhclient file back into the sbin
: directory.

I'll make a note on the Wiki to update the script (unless Dan or Achim
beat me to it).

: Is there a rc4 iso image that I can get at?  Maybe using a different
: image will be of help?

I don't think it'll help.  Right now we need to figure out what's hosing
your network.

        --Jerry

name:  Jerry Alexandratos         ||  Open-Source software isn't a
phone: 703.599.6023               ||  matter of life or death...
email: jerry@thehutt.org          ||  ...It's much more important
                                  ||  than that!



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-dev] gentoo installation problems
@ 2001-07-11 12:37 Marcus A Martin
  2001-07-11 12:56 ` Jerry A!
  0 siblings, 1 reply; 16+ messages in thread
From: Marcus A Martin @ 2001-07-11 12:37 UTC (permalink / raw
  To: gentoo-dev

>
>You can try issuing "ifconfig eth0 up" to make sure that the interface
>is up and then run "dhcpcd -d eth0".
I will test this when I get home.

>You may not be connecting b/c the card isn't correctly auto-negotiating
>with the switch/hub it's plugged into.  Maybe you DHCP server has
>tresholds or does expect a hostname or MAC address.  Maybe the network
>card is bad.  Try swapping it with one of the working ones.
This machine is currently dual boots windows/debian and is on the network. It can successfully connect to the network 
in either OS using the dhcp service. So I know that the problem is either software, or between the chair and the 
keyboard. I am currently attempting to determine if the I am the problem (i.e. dumb user skips step).

Let me state again all that I have done. Please let me know if I skipped a step.

1) Boot from build CD image (42MB size)

2) Login as root

3) modprobe tulip (activates network card)

4) dhcpcd -d eth0


Am I missing a step??

>: Is there a rc4 iso image that I can get at?  Maybe using a different
>: image will be of help?
>
>I don't think it'll help.  Right now we need to figure out what's hosing
>your network.

Okay. Thanks for the patient help by the way.

Marcus





^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-dev] gentoo installation problems
  2001-07-11 12:37 [gentoo-dev] gentoo installation problems Marcus A Martin
@ 2001-07-11 12:56 ` Jerry A!
  0 siblings, 0 replies; 16+ messages in thread
From: Jerry A! @ 2001-07-11 12:56 UTC (permalink / raw
  To: gentoo-dev

On Wed, Jul 11, 2001 at 02:39:09PM -0400, Marcus A Martin wrote:
: >
: >You can try issuing "ifconfig eth0 up" to make sure that the interface
: >is up and then run "dhcpcd -d eth0".
: I will test this when I get home.
: 
: >You may not be connecting b/c the card isn't correctly auto-negotiating
: >with the switch/hub it's plugged into.  Maybe you DHCP server has
: >tresholds or does expect a hostname or MAC address.  Maybe the network
: >card is bad.  Try swapping it with one of the working ones.
:
: This machine is currently dual boots windows/debian and is on the
: network.  It can successfully connect to the network in either OS using
: the dhcp service.  So I know that the problem is either software, or
: between the chair and the keyboard.  I am currently attempting to
: determine if the I am the problem (i.e.  dumb user skips step).

Okay, so we know the hardware is good.

: Let me state again all that I have done.  Please let me know if I
: skipped a step.
: 
: 1) Boot from build CD image (42MB size)
: 
: 2) Login as root
: 
: 3) modprobe tulip (activates network card)

  3a) ifconfig eth0 up

: 4) dhcpcd -d eth0
: 
: Am I missing a step??

Nope, it all looks good.

: Okay. Thanks for the patient help by the way.

You're welcome.

        --Jerry

name:  Jerry Alexandratos         ||  Open-Source software isn't a
phone: 703.599.6023               ||  matter of life or death...
email: jerry@thehutt.org          ||  ...It's much more important
                                  ||  than that!



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-dev] gentoo installation problems
  2001-07-11 11:47 ` Jerry A!
@ 2001-07-11 13:15   ` Daniel Robbins
  0 siblings, 0 replies; 16+ messages in thread
From: Daniel Robbins @ 2001-07-11 13:15 UTC (permalink / raw
  To: gentoo-dev

On Wed, Jul 11, 2001 at 01:45:14PM -0400, Jerry A! wrote:

> I'll make a note on the Wiki to update the script (unless Dan or Achim
> beat me to it).

I replaced dhclient with dhcpcd but otherwise made no changes.  Please
take a look at it on CVS (in gentoo-x86/baselayout/files/rc.d/config/)
and review it for correctness.  Thanks :)))  I don't use DHCP over here
so anything I do is really a stab in the dark.

Best Regards,

-- 
Daniel Robbins					<drobbins@gentoo.org>
President/CEO					http://www.gentoo.org 
Gentoo Technologies, Inc.			



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-dev] gentoo installation problems
  2001-07-10 23:54 ` Jerry A!
  2001-07-11  7:53   ` Marcus Martin
@ 2001-07-11 23:54   ` Marcus A Martin
  2001-07-12  0:31     ` Jerry A!
  1 sibling, 1 reply; 16+ messages in thread
From: Marcus A Martin @ 2001-07-11 23:54 UTC (permalink / raw
  To: gentoo-dev

Jerry,

I have a cable modem. My cable modem connects toa  router. The router acts as 
a dhcp server for the local machines. If I bypass the router, I can can run 
dhcpcd from the command line and everything works great.  If I attempt to run 
dhcpcd using the router as the dhcp server, it fails. Any ideas on how to 
work around this?

I use a netgear RT314 router, if that helps.

Marcus



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-dev] gentoo installation problems
  2001-07-11 23:54   ` Marcus A Martin
@ 2001-07-12  0:31     ` Jerry A!
  0 siblings, 0 replies; 16+ messages in thread
From: Jerry A! @ 2001-07-12  0:31 UTC (permalink / raw
  To: gentoo-dev

On Thu, Jul 12, 2001 at 02:02:24AM -0500, Marcus A Martin wrote:
: Jerry,
: 
: I have a cable modem. My cable modem connects toa  router. The router acts as 
: a dhcp server for the local machines. If I bypass the router, I can can run 
: dhcpcd from the command line and everything works great.  If I attempt to run 
: dhcpcd using the router as the dhcp server, it fails. Any ideas on how to 
: work around this?
: 
: I use a netgear RT314 router, if that helps.

What am I now, broadband king?  8)

All I can say is try debugging via dhcpcd with the instructions I
provided earlier.

See if manually configuring the interface work.  If so, read the docs
and figure out what's going on with the DHCP setup on the router or call
tech support.

Sorry I can't be more help.

        --Jerry

name:  Jerry Alexandratos         ||  Open-Source software isn't a
phone: 703.599.6023               ||  matter of life or death...
email: jerry@thehutt.org          ||  ...It's much more important
                                  ||  than that!



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-dev] gentoo installation problems
@ 2001-07-12  7:28 Marcus A Martin
  0 siblings, 0 replies; 16+ messages in thread
From: Marcus A Martin @ 2001-07-12  7:28 UTC (permalink / raw
  To: gentoo-dev

>All I can say is try debugging via dhcpcd with the instructions I
>provided earlier.
>
>See if manually configuring the interface work.  If so, read the docs
>and figure out what's going on with the DHCP setup on the router or call
>tech support.
>
>Sorry I can't be more help.

Thanks for the help you have provided. The debugging does not really provide any interesting help. It just reports failure 
on finding a valid DHCP server. I will take it up with the author of the dhcpcd software. It seems like he made it to 
replace pump. What is frustrating is that pump works just fine.

Thanks again.

Marcus




^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2001-07-12 13:27 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-11 12:37 [gentoo-dev] gentoo installation problems Marcus A Martin
2001-07-11 12:56 ` Jerry A!
  -- strict thread matches above, loose matches on Subject: below --
2001-07-12  7:28 Marcus A Martin
2001-07-11 11:05 Marcus A Martin
2001-07-11 11:47 ` Jerry A!
2001-07-11 13:15   ` Daniel Robbins
2001-07-11  9:09 Marcus A Martin
2001-07-11  9:23 ` Jerry A!
2001-07-11  8:48 Marcus A Martin
2001-07-11  9:02 ` Jerry A!
2001-07-10 23:00 Marcus A Martin
2001-07-10 23:54 ` Jerry A!
2001-07-11  7:53   ` Marcus Martin
2001-07-11  8:48     ` Jerry A!
2001-07-11 23:54   ` Marcus A Martin
2001-07-12  0:31     ` Jerry A!

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox