Find the answer to your Linux question:
Results 1 to 2 of 2
Hi everybody, I've just installed Fedora and getting in touch with Linux for the first time. I'm triying to configure the IP address with this command I've found in a ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2005
    Posts
    7

    Newbie, problem with: SIOCSIFNETMASK: No such device


    Hi everybody, I've just installed Fedora and getting in touch with Linux for the first time. I'm triying to configure the IP address with this command I've found in a tutorial:

    ifconfig eth0 192.168.0.3 netmask 255.255.255.0 up

    but I receive from the bash this answer:

    SIOCSIFNETMASK: No such device
    SIOCSGIFADDR: No such device
    SIOCSIFBROADCAST: No such device
    192.168.0.3: unknown inteface: No such device

    which is the problem?
    I'm logged as root.
    Thanx

  2. #2
    Linux Guru
    Join Date
    May 2004
    Location
    forums.gentoo.org
    Posts
    1,817
    I think your NIC is undetected. What if you just do 'ifconfig'? You should see your device 'lo', and if your NIC is detected, you should also see several lines for 'eth0'. If it's not detected, you may need to 'modprobe' the correct driver. What kind of NIC is it? Once you know what driver it should use, do 'lsmod' to see if the driver is listed. If it's a PCI slot NIC, do 'lspci' and see what returns for the NIC. If it's an ISA slot NIC (older box), there may be a couple of other configuration steps needed. If it's a USB NIC, it could get more complicated....
    /IMHO
    //got nothin'
    ///this use to look better

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •