I been using RH for the longest time and I have trouble locating the files I need in knoppix, in order to hook up my second computer to my first computer that will act as a ateway.
help? :oops:
Printable View
I been using RH for the longest time and I have trouble locating the files I need in knoppix, in order to hook up my second computer to my first computer that will act as a ateway.
help? :oops:
The file /etc/network/interfaces is where your settings for the card are contained example file below:Quote:
Originally Posted by iason
For Static settings
Code:# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
auto lo
iface lo inet loopback
# The first network card - this entry was created during the Debian installation
# (network, broadcast and gateway are optional)
auto eth0
iface eth0 inet static
address 192.168.0.1
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.254
Your nameservers settings would be in the file /etc/resolv.conf example file:
You only need the one nameserver line the search of your domain and the extra nameserver are not necessary.Code:search wolf
nameserver 192.168.1.10
nameserver 192.168.1.34
The hostname for your computer is set in the file /etc/hostname and that is just one line with the hostname for your computer example:
Code:HappyTux
You would edit these files as root and put in your required settings once you have made the changes /etc/init.d/networking restart as root in a console window to re-start your networking with the new settings or just start if the network is already down.