Results 1 to 2 of 2

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

Hybrid View

  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
  •  


Supermicro CSE-732 Mid-Tower Server Chassis w/ Supermicro X10DRi 2x Xeon E5-2620 picture

Supermicro CSE-732 Mid-Tower Server Chassis w/ Supermicro X10DRi 2x Xeon E5-2620

$325.00



HP ProLiant MicroServer Gen8 G1610T @2.3 GHz, 16GB, 712317-001 NO HDD/OS picture

HP ProLiant MicroServer Gen8 G1610T @2.3 GHz, 16GB, 712317-001 NO HDD/OS

$199.00



Supermicro E200-8D Barebones Server Chassis Xeon D-1528 X10SDV-6C-TLN4F 2x10GbE picture

Supermicro E200-8D Barebones Server Chassis Xeon D-1528 X10SDV-6C-TLN4F 2x10GbE

$445.00



Nasuni NF-50 Supermicro Server, Atom CPU C2558, @ 2.40GHz, 8GB RAM-No HDD/OS/AC picture

Nasuni NF-50 Supermicro Server, Atom CPU C2558, @ 2.40GHz, 8GB RAM-No HDD/OS/AC

$250.00



Supermicro 2U X10DRU-i 2x E5-2680 v3 2.5ghz 32gb Ram  240gb SSD 2x GPU *READ* picture

Supermicro 2U X10DRU-i 2x E5-2680 v3 2.5ghz 32gb Ram 240gb SSD 2x GPU *READ*

$369.99



New Barebones Supermicro 5019D Server, 4C/8T Xeon D-2123T, 1U Rackmountable, 10G picture

New Barebones Supermicro 5019D Server, 4C/8T Xeon D-2123T, 1U Rackmountable, 10G

$449.99



Windows Server 2022 | Intel 18-Core Xeon | 32GB ECC DDR4 | 256GB SSD | 3TB HDD picture

Windows Server 2022 | Intel 18-Core Xeon | 32GB ECC DDR4 | 256GB SSD | 3TB HDD

$635.00



HP Proliant MicroServer HSTNS-5151 AMD Turion II Neo N40L CPU @ 1.50GHz 16Gb RAM picture

HP Proliant MicroServer HSTNS-5151 AMD Turion II Neo N40L CPU @ 1.50GHz 16Gb RAM

$174.99



Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset picture

Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset

$129.99



Supermicro 1U Network Server Appliance 16GB RAM 800GB SSD 6 LAN Ports Powers On picture

Supermicro 1U Network Server Appliance 16GB RAM 800GB SSD 6 LAN Ports Powers On

$450.00