On Sunday 30 June 2002 18:58, Timothy Bolz wrote:
> I changed network cards and I thought you could get network card up
> by using "ifup eth0".  I tried this and it gives me "Ignoring unknown
> interface eth0." I was able to get it going by using "ifconfig eth0
> 192.168.0.1 netmask 255.255.255.0 up".

Since no one else seems to be around.  I'll try to get things started.

So:
  1) Your network configuration was working
  2) You needed to change network cards
  3) You powered down, swapped cards, powered back up
  4) Somehow the kernel recognized your new card & assigned it to eth0
  5) But your network configuration was now broken

That's odd.  I've made changes like that before and the network has 
come right up.  But, whenever I've done this, I've always had to get 
the right driver loaded first (I'm using a modular kernel).

Did you do anything else that might have changed your config?

>  Is there an easier way of
> doing this I don't want to do this every time I start my machine.

For Debian Woody and Sid, you can do:

   dpkg-reconfigure etherconf

to get things set up.  I've forgotten how to do it for potato.

> If I want to connect from another box how would I do this?

>From below it sounds like you've had SSH working at some point.  So I 
assume you're asking from a hardware perspective here and that you want 
to connect two local boxes.  For two local boxes you could use either a 
single "crossover" type ethernet cable between the two boxes or a hub.  
Somehow though I'm not sure this is what you're asking about.

> I have a dialup connection and have 2 computers and would like to
> connect the 2nd box to the web thru the 1st box.  Would I use IP
> tables/chains to accomplish this?

You probably want to look into Network Address Translation.  Here's a 
starting point:  Linux Networking: Using Ipchains (
http://www.linuxplanet.com/linuxplanet/tutorials/2100/2/)

> I was able to ssh into each one of
> the boxes but I wasn't able to get to use the web on the 2nd box. 
> Should I use dhcp on my main box? All I want to do is to be able to
> access the web from the 2nd box.

You should be fine just doing manual assignment of IP addresses.  With 
NAT your local machines would be on their own net (look around for 
references to RFC 1918) which will be "tied" to your ISP's net.

> I'm running Debian potato.  Is there a Debian way to do this?

Debian is good to go for all of this.  But you may want to look into 
moving to Woody.

> I hope someone can help me with this.

I hope so too.  I'm not very good at this.

Reply via email to