Results 1 to 6 of 6

Thread: Can't read interfaces file

  1. #1
    Join Date
    May 2008
    Beans
    15

    Can't read interfaces file

    Can anyone help me figure out why this is happening ? Anytime I try to do anything that needs to read the interfaces file I am getting these errors.


    kwaters@kwaters-laptop:~$ sudo /etc/init.d/networking restart
    [sudo] password for user:
    * Reconfiguring network interfaces... /etc/network/interfaces:28: too few parameters for iface line
    ifdown: couldn't read interfaces file "/etc/network/interfaces"
    /etc/network/interfaces:28: too few parameters for iface line
    ifup: couldn't read interfaces file "/etc/network/interfaces"


    Looks like read is on the file

    -rw-r--r-- 1 root root 323 2008-05-23 11:51 interfaces

  2. #2
    Join Date
    Jan 2006
    Location
    Not heaven... Iowa
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Can't read interfaces file

    Can you post /etc/network/interfaces? Apparently something's amiss inside.
    Linux User #415691 Ubuntu User #8629
    Iowa Team (LoCo): [Wiki] [Launchpad]
    IRC channel: #ubuntu-us-ia on irc.freenode.net

  3. #3
    Join Date
    May 2008
    Beans
    15

    Re: Can't read interfaces file

    Ok -

    auto lo
    iface lo inet loopback

    auto eth0
    iface eth0 inet dhcp

    auto wlan0
    iface wlan0 inet dhcp






    I use nano to edit - FYI

  4. #4
    Join Date
    Jan 2006
    Location
    Not heaven... Iowa
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Can't read interfaces file

    Hmmm... looks kosher. Here's mine:
    Code:
    auto lo
    iface lo inet loopback
    
    auto eth0
    #iface eth0 inet dhcp
    
    auto eth1
    #iface eth1 inet dhcp
    
    auto eth2
    #iface eth2 inet dhcp
    
    auto ath0
    #iface ath0 inet dhcp
    
    auto wlan0
    #iface wlan0 inet dhcp
    
    
    iface eth0 inet dhcp
    ~
    ~
    ~
    Linux User #415691 Ubuntu User #8629
    Iowa Team (LoCo): [Wiki] [Launchpad]
    IRC channel: #ubuntu-us-ia on irc.freenode.net

  5. #5
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    26,047
    Distro
    Ubuntu Development Release

    Re: Can't read interfaces file

    kbow-
    Are you sure that's the whole entire file?. Also, may I please see:
    Code:
    ls -l /etc/network | grep interfaces
    Let's make sure we don't accidently have 2 or 3 files.
    Last edited by chili555; May 24th, 2008 at 02:45 PM.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

  6. #6
    Join Date
    Jan 2006
    Location
    Not heaven... Iowa
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Can't read interfaces file

    Quote Originally Posted by kbow View Post
    /etc/network/interfaces:28: too few parameters for iface line
    Problem on line 28??
    Linux User #415691 Ubuntu User #8629
    Iowa Team (LoCo): [Wiki] [Launchpad]
    IRC channel: #ubuntu-us-ia on irc.freenode.net

Bookmarks

Posting Permissions

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