Network Card Help

Discussion in 'Installation/Configuration' started by logik, Mar 1, 2006.

  1. logik

    logik New Member

    hi , All

    First off This is my First linux Project so please take it easy on me..

    ok , im Trying To Build a Server, im Useing Fedora Core 4 , but i can't get on the
    Enternet.

    i have a Kingston kne40t Ethernet Card and i dont know how to get it to work?
    please Help

    THanks in Advance:)
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Please post the output of
    Code:
    ifconfig
    What's in /etc/sysconfig/network-scripts/ifcfg-eth0? Do you see errors when you run
    Code:
    /etc/init.d/network restart
    ?
     
  3. logik

    logik New Member

    ...

    No i Dont see Any errors , it Just Skips The Network Confg When i Install The Server ? is That Normal?

    btw , i dont understand the code you put up
     
    Last edited: Mar 2, 2006
  4. falko

    falko Super Moderator Howtoforge Staff

    Please run these two commands on the command line (as root) and post the output.
     
  5. logik

    logik New Member

    RESults For Code : Ifconfig
    Code:
    Link encap:local loopBack
    inet Addr:127.0.01 Mask:255.0.0.0
    inet addr : ::1/128 scope:host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets :8 errors:0 droped:0 overruns:0 frame:0
    TX packets :8 errors:0 droped:0 overruns:0 carrier:0
    collisions:0 txqeuelen:0
    RX bytes:560 (560.0 b) TX bytes:560 (560.0 b)
    Also When i Run /etc/init.d/network restart i See NO Errors Everything Says OK
     
    Last edited: Mar 3, 2006
  6. falko

    falko Super Moderator Howtoforge Staff

    Please post the output of
    Code:
    ls -la /etc/sysconfig/network-scripts
     
  7. logik

    logik New Member

    output for ls -la /etc/sysconfig/network-scripts

    Code:
    -rwxr-xr-x 1 root root 1235 jan 31 2005 ifdown-post
    -rwxr-xr-x 1 root root 1082 sep 15 2003 ifdown-ppp
    -rwxr-xr-x 1 root root 1558 nov 11 2002 ifdown-sit
    -rwxr-xr-x 1 root root 902  jun 26 2002 ifdonwn-sl
    lrwxrxrx 1 root root      18 mar 2 15:29 ifup -> . ./. ./ . ./sbin/ifup
    -rwxr-xr-x 1 root root 12872 jun 7 2004 ifup-aliases
    -rwxr-xr-x 1 root root 869 feb 10 2005 ifup-bnep
    -rwxr-xr-x 1 root root 9965 may 25 2005 ifup-eth
    -rwxr-xr-x 1 root root 11466 aug 19 2004 ifup-ippp
    -rwxr-xr-x 1 root root 8077 mar 30 2005 ifup-ipsec 
    -rwxr-xr-x 1 root root 10466 oct 16 2004 ifup-ipv6
    -rwxr-xr-x 1 root root 821 jun 26 2002 ifup-ipx
    irwxrwxrwxv 1 root root 9 mar 2 15:29 ifup-isdn -> ifup-ippp
    -rwxr-xr-x 1 root root 689 jun 26 2002 ifup-plip
    -rwxr-xr-x 1 root root 926 jun 2002 ifup-plusb
    -rwxr-xr-x 1 root root 2234 apr 15 2005 ifup-post
    -rwxr-xr-x 1 root root 4219 apr 25 2005 ifup-ppp
    -rwxr-xr-x 1 root root 1299 apr 18 2005 ifup-routes
    -rwxr-xr-x 1 root root 3546 oct 16 2002 ifup-sit
    -rwxr-xr-x 1 root root 1646 jun 26 2002 ifup-sl
    -rwxr-xr-x 1 root root 3307 apr 15 2005 ifup-wireless
    -rwxr-xr-x 1 root root 5432 jan 12 2005 init.ipv6-global
    -rw-r--r-- 1 root root 9652 may 10 2005 network-functions
    -rw-r--r-- 1 root root 38496 apr 15 2005 network-functions-ipv6
    
     
  8. falko

    falko Super Moderator Howtoforge Staff

    /etc/sysconfig/network-scripts/ifcfg-eth0 is missing. I guess this means Fedora didn't recognize your network card or has no driver for it.

    You can try to create /etc/sysconfig/network-scripts/ifcfg-eth0 with something like this in it:

    Code:
    DEVICE=eth0
    BOOTPROTO=static
    BROADCAST=192.168.0.255
    IPADDR=192.168.0.100
    NETMASK=255.255.255.0
    NETWORK=192.168.0.0
    ONBOOT=yes
    TYPE=Ethernet
    (you must adjust the values to your own network). Then you run
    Code:
    /etc/init.d/network restart
    and check with
    Code:
    ifconfig
    if your network card has come up.
     
  9. logik

    logik New Member

    what am i sopost to see when i restart the network "?
     
  10. falko

    falko Super Moderator Howtoforge Staff

    Please post the output of
    Code:
    ifconfig
    after you've restarted the network.
     

Share This Page