Find the answer to your Linux question:
Results 1 to 3 of 3
hello everyone i am a new linux user and i love it but i need help i have two computers running ubuntu 5.10 on both i need detailed instructions on ...
  1. #1
    Just Joined!
    Join Date
    Jan 2006
    Posts
    1

    network setup

    hello everyone i am a new linux user and i love it but i need help i have two computers running ubuntu 5.10 on both i need detailed instructions on how to set them up to share the internet with a crossover cable any help would be apreciated

    thanks

  2. #2
    Just Joined!
    Join Date
    Sep 2005
    Location
    China
    Posts
    37

    configuration files

    The IP Address configuration file is /etc/network/interfaces. You can edit it with vim by saying "vi /etc/network/interfaces"

    On the first machine, you need to add TWO network adapter.
    Then add these lines to the end of file, Do NOT make any changes to the line that already exist:
    iface eth1 inet static
    name ubuntu
    address 192.168.0.1
    netmask 255.255.255.0
    broadcast 192.168.0.255
    network 192.168.0.0

    Press ESC and say :wq. Then enter to exit

    On the second maching you need to add these lines to the configuration file:
    iface eth0 inet static
    name ubuntu
    address 192.168.0.2
    netmask 255.255.255.0
    broadcast 192.168.0.255
    network 192.168.0.0
    gateway 192.168.0.1

    Press ESC and say :wq. Then enter to exit

    The DNS configuration file is /etc/resolv.conf you can add the IP address the same as your 1st machine's.

  3. #3
    Linux User
    Join Date
    Apr 2005
    Location
    Ohio
    Posts
    326
    I would install firestarted on the gateway machine. In the confguration for Firestarter is a checkbox for Internet Connection Sharing.

    sudo apt-get install fiurestarter

    http://www.fs-security.com/docs/connection-sharing.php
    far...out

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •