Newbie in need of help with dhcpcd

1999-08-23 Thread Daniel Lesage
[System:
  slink running kernel 2.2.6.
  2 NICS: eth0 is a 3c509, eth1 is a DLink DE220]

Hi people.

I want to configure my Linux box to use as a proxy/firewall/ipmasq server for
a 3-PC LAN, but ran into trouble trying to get it to connect to my ADSL
provider
(Sympatico). It uses a DHCP system, but I'm unable to get an address from its
server.

Here's what I did:

1) in the /etc/init.d/network file, I added the line:
  modprobe ne
   at the top. Without this, I couldn't get the system to recognize my
   second network card.

2) Running ifconfig eth1 outputs what I expect (including the fact that
   no address is assigned to the card), IRQ and base address are correct.
   Strangely, though, running ifconfig without parameters only shows lo and
   eth0. Is this part of the problem?

3) Changed /etc/dhcpc/config to read:

  # List here the interface that the dhcpcd daemon should use.
  # The default is to assign an IP address to eth0.
  # If you want to disable the daemon, enter none here.
  IFACE=eth1

Rebooting the system does not fetch an IP address (ifconfig eth1 still
shows no address). Running dhcpcd blows up my LAN, and checking ifconfig
eth0 from the console shows eth0 has no IP address anymore. Running dhcpcd
eth1 doesn't seem to do anything.

Am I missing something obvious? Or something not so obvious?

Thanks for any help,
Dan.
---
This is what we do. This is who we are.

Hail Eris! -- Kallisti -- All Hail Discordia!


Re: Newbie in need of help with dhcpcd

1999-08-23 Thread Mark Wagnon
Hi,

As for your second NIC, you might try the append command in your
lilo.conf like so:

  append=ether=11,0x300,eth0 ether=10,0x240,eth1


where the underscored values are your NICs' irq and io addresses.

I am having problems getting dhcpcd up and running on my system
too. ifconfig shows no IP for eth0. 

I discovered that the dhcpcd package is supposed to contain two
different versions of dhcpcd--one for 2.0.x kernels and the other
for 2.1.x (will work for the older kernels too). But I can't seem
to get it work.

From what I've read, your edit to the config file looks like it
should work.

Hopefully someone will shed some light on this.
-- 
 (   __   _
Mark Wagnon   ) Debian GNU/ -o) / /  (_)__  __   __
Chula Vista, CA  (  /\\/ /__/ / _ \/ // /\ \/ /
[EMAIL PROTECTED] ) www.debian.org _\_v/_/_//_/\_,_/ /_/\_\


Re: Newbie in need of help with dhcpcd

1999-08-23 Thread Daniel Lesage
At 18:24 22-08-99 -0700, you wrote:
Hi,

As for your second NIC, you might try the append command in your
lilo.conf like so:

Hi Mark.

You remind me I forgot to mention something:

I can't use LILO on this system (interferes with some EZ-BIOS nonsense), so
I'm using loadlin from DOS. My loadlin param file looks like:

ether=10,0x230,0xc8000,0xcbfff,eth0
ether=9,0x240,0xd,0xd3fff,eth1

Now, I plucked some of those numbers pretty much out of thin air (I kept
the mem_start and mem_end parameters that were in the distributed file),
but I'm under the impression they don't matter anyway. The IRQ and base
address
are correct, though.

Dan.
---
This is what we do. This is who we are.

Hail Eris! -- Kallisti -- All Hail Discordia!


Re: Newbie in need of help with dhcpcd

1999-08-23 Thread Mark Wagnon
On Sun 08/22/99 10:47PM, Daniel Lesage wrote:
 At 18:24 22-08-99 -0700, you wrote:
 Hi,
 
 As for your second NIC, you might try the append command in your
 lilo.conf like so:
 
 Hi Mark.
 
 You remind me I forgot to mention something:
 
 I can't use LILO on this system (interferes with some EZ-BIOS nonsense), so
 I'm using loadlin from DOS. My loadlin param file looks like:
 
 ether=10,0x230,0xc8000,0xcbfff,eth0
 ether=9,0x240,0xd,0xd3fff,eth1
 

What are those other numbers (3rd and 4th) for? Maybe you can
remove them and try again?

what messages do you get when you boot for your NICs? Mine reads
like:

  NET3: Unix domain sockets 0.13 for Linux NET3.035.

I have to scroll down a little to see:

  tulip.c:v0.89H 5/23/98 [EMAIL PROTECTED]
  eth0: Lite-On 82c168 PNIC at 0xe400, 00 a0 cc 22 71 e3, IRQ 5.
  eth0:  MII transceiver found at MDIO address 1, config 3100 status 7829.
  eth0:  Advertising 01e1 on PHY 1, previously advertising 01e1.


 Now, I plucked some of those numbers pretty much out of thin air (I kept
 the mem_start and mem_end parameters that were in the distributed file),
 but I'm under the impression they don't matter anyway. The IRQ and base
 address
 are correct, though.
 

Try taking those mem_start/end numbers out and see what happens.
I've never used loadlin so...?

-- 
 (   __   _
Mark Wagnon   ) Debian GNU/ -o) / /  (_)__  __   __
Chula Vista, CA  (  /\\/ /__/ / _ \/ // /\ \/ /
[EMAIL PROTECTED] ) www.debian.org _\_v/_/_//_/\_,_/ /_/\_\