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
  •  


MTC8C1084S1SC56BD1 Micron 16GB DDR5 1Rx8 PC5-5600B 5600Mhz SO-DIMM Memory picture

MTC8C1084S1SC56BD1 Micron 16GB DDR5 1Rx8 PC5-5600B 5600Mhz SO-DIMM Memory

$149.99



TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot picture

TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot

$573.98



Windows 11 Pro Install/Recovery/Repair USB Flash Drive picture

Windows 11 Pro Install/Recovery/Repair USB Flash Drive

$35.00



5 in 1 Memory Card Reader USB 3.0 OTG Adapter SD Card Reader For iPhone/iPad LOT picture

5 in 1 Memory Card Reader USB 3.0 OTG Adapter SD Card Reader For iPhone/iPad LOT

$9.99



USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack picture

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack

$826.09



Lot of 18 Various 16GB DDR4 2400T Server RAM. May have damage, not tested. picture

Lot of 18 Various 16GB DDR4 2400T Server RAM. May have damage, not tested.

$900.00



USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot picture

USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot

$3.75



Samsung 32GB DDR4-2666V-2Rx4-RB2-12 RAM  M393A4K40CB2-CTD6Q picture

Samsung 32GB DDR4-2666V-2Rx4-RB2-12 RAM M393A4K40CB2-CTD6Q

$169.00



SMART(Micron)SafeStor 32GB(1X32GB) 1RX4 NN4-3200AA(DDR4) HPE Server Memory picture

SMART(Micron)SafeStor 32GB(1X32GB) 1RX4 NN4-3200AA(DDR4) HPE Server Memory

$159.98



Wholesale 5/10/100PCS 1GB 2GB 4GB 8GB 16GB 32GB USB 2.0 Flash Drive Memory Stick picture

Wholesale 5/10/100PCS 1GB 2GB 4GB 8GB 16GB 32GB USB 2.0 Flash Drive Memory Stick

$218.79