-
Where is the config file to setup my nic card for a fixed IP
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?
-
Senior Member
registered user
Re: Where is the config file to setup my nic card for a fixe

Originally Posted by
iason
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?

The file /etc/network/interfaces is where your settings for the card are contained example file below:
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:
Code:
search wolf
nameserver 192.168.1.10
nameserver 192.168.1.34
You only need the one nameserver line the search of your domain and the extra nameserver are not necessary.
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:
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.
Similar Threads
-
By sakcee in forum Networking
Replies: 0
Last Post: 07-12-2005, 06:25 AM
-
By Neo-Rio in forum General Support
Replies: 3
Last Post: 03-03-2005, 10:52 PM
-
By JohninPH in forum Hardware & Booting
Replies: 0
Last Post: 09-16-2004, 06:25 PM
-
By iason in forum Hardware & Booting
Replies: 0
Last Post: 07-01-2004, 07:58 PM
-
By bongski55 in forum Hdd Install / Debian / Apt
Replies: 6
Last Post: 09-06-2003, 05:58 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

INTEL XEON E5-2680V4 SR2N7 2.40GHZ CPU
$11.00

Dell Precision Tower 7810 Xeon E5-2630 v3 @ 2.40GHz , 32GB Ram, NO HDD, NO OS
$239.99

Dell Precision T7820 2x Xeon Silver 4114 2.20GHz 950W No RAM GPU HDD 4x SATA
$350.48

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00

Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS
$179.98

Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS
$84.49

Genuine Intel Xeon W-2145 3.70Ghz 8 Cores LGA2066 CPU SR3LQ Tested USA SELLER
$94.94

DELL Precision 5820 Workstation Xeon W-2123 3.6ghz/NO RAM/NO SSD/P400 Vid
$139.99

Intel Xeon Phi 5110P 60-Core 1.053GHz Coprocessor
$50.00

Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM
$699.00