Results 1 to 2 of 2

Thread: Where is the config file to setup my nic card for a fixed IP

  1. #1
    Junior Member
    Join Date
    Jul 2004
    Posts
    2

    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?

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479

    Re: Where is the config file to setup my nic card for a fixe

    Quote 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:
    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.

Similar Threads

  1. Wireless card setup walkthrough
    By sakcee in forum Networking
    Replies: 0
    Last Post: 07-12-2005, 06:25 AM
  2. Will Sound Card Detection get fixed in the next Knoppix
    By Neo-Rio in forum General Support
    Replies: 3
    Last Post: 03-03-2005, 10:52 PM
  3. AOC monitor detection and sound card problem - fixed
    By JohninPH in forum Hardware & Booting
    Replies: 0
    Last Post: 09-16-2004, 06:25 PM
  4. Replies: 0
    Last Post: 07-01-2004, 07:58 PM
  5. Please Post a Simple CONFIG file for Kernel Config
    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
  •  


INTEL XEON E5-2680V4 SR2N7 2.40GHZ CPU picture

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 picture

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 picture

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 picture

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 picture

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 picture

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  picture

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 picture

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   picture

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 picture

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

$699.00