I found a script that should help you out- I misunderstood what you
were trying to do before but now I think I get it and this
http://rob.pectol.com/content/view/3/1/ script should help out. I
thought you had a cable or DSL modem- if you are dialing out this
script will work, just set the PPP connection to be the outside
ethernet connection. It's probably ppp0. This script will allow you to
use the static IP addresses internally.
The zeroconf daemon is designed to allow you to hookup to and share
ethernet connections (mainly wireless and high speed off the back of a
router). In your situation it's more complicated to get that working
than to do this with the script. You can see and change the status of
the zeroconf daemon by going into "advanced" on the system
configuration menu. You'll see something like System Services. I'm not
at that machine at the moment so I can't give you an exact reference.
However, when you get to the Services area, you should switch to run
level 5 preferences (poke around a bit and I think you'll find it, it's
a pick box in the upper left as I recall). You'll see zeroconf in the
listing and you can change when it's started and it's status if you
want to experiment with it.
A gateway is a computer or box that lets you get from your local ISP
onto the greater internet. Your ISP decides the address and it's
probably transferred to your computer when you hook up with PPP. They
may be willing to give you the address if you ask.
A router is a box which allows a group of computer with one set of IP
addresses to connect to another set with another group of IP addresses.
For instances, the 192.168.1.X computers would need a router to connect
to 192.168.2.x. BTW, the choice of 1 over 2 is entirely arbitrary-
either works just as well. I'm not sure why I always uses 2.X. However,
both of these address sets are special and known as "private IP
addresses"- that is they can't be sent out over the internet. That's
why a gateway or router is needed. If you are inthe mood, here's a
discussion:
http://en.wikipedia.org/wiki/Private_network. Computers
with these addresses couldn't talk to each other by hooking up to a
switch. Here's a decent explanation:
http://www.tldp.org/LDP/nag2/x-087-2...s.routing.html. The gateway
and your router are often one and the same box.
So, the script from the first paragraph should give you a "it just
works" solution to sharing. It will let the computer using PPP dialup
to share it's internet connection with the other computer. The machine
with the connection will be acting as the gateway and the router fo the
second. The article should describe what's going on in more technical
detail.
If the script doesn't work 100%, please post again and I'm sure the
group can help with the details. TCP/IP is really complicated. MS
Windows obscures some of this in exchange for initial ease of use but I
find if something does go wrong it's often impossible to correct
without the same level of understanding that Ubuntu requires. Ubuntun
(Linux) makes the details a bit more transparent and in exchange is
easier to diagnose if something goes wrong and generally people who
have to learn this stuff get a more reliable and more secure
configuration in return.