Results 1 to 4 of 4

Thread: Ubuntu Server etc/network/interfaces Fail

  1. #1
    Join Date
    Jul 2009
    Posts
    69

    Ubuntu Server etc/network/interfaces Fail

    I have a windows box with Windows XP. I have an old box which i decided to setup with Linux and use as a Samba server for sharing files with my Windows box. I do not use this computers to connect to the internet. I use internet only on my laptop. Well i went forward and installed ubuntu 7.04 server [as the box was old for ubuntu 9.04 server]. Everything went well, I had to install samba manual and got some dependency files from the internet. Now everything was setup perfectly. I assigned the ubuntu box with static IP 10.0.0.1 and for the windows box the ip was 10.0.0.2

    The ubuntu box config :

    auto eth0
    iface eth0 net static
    address 10.0.0.1
    netmask 255.0.0.0
    network 10.0.0.0
    broadcast 10.0.0.255
    gateway 10.0.0.0.1

    Now i did appropriate configuration on my windows box. I pingged windows box from ubuntu and vice-versa and it worked. But when i restarted the network session, i got this error :
    /etc/network/interfaces :6: unknown address type ifdown : couldn't find interfaces file "etc/network/interfaces unknown address type ifup : couldn't find interfaces file "etc/network/interfaces" FAIL
    Can anyone tell me, what to do? Please help!

  2. #2
    Join Date
    Jan 2008
    Posts
    3,388

    Re: Ubuntu Server etc/network/interfaces Fail

    Try this :

    Code:
    auto eth0
    iface eth0 inet static [it should be inet, you wrote net]
    address 192.168.0.1
    netmask 255.255.255.0
    network 192.168.0.0
    broadcast 192.168.0.255
    gateway 192.168.0.1

  3. #3
    Join Date
    Mar 2009
    Posts
    599

    Re: Ubuntu Server etc/network/interfaces Fail

    Yeah, that right, also as you are not connected to internet, you don't need gateway, just leave it blank... You will need to configure the samba's config file [smb.conf] according to your needs. All the best...

  4. #4
    Join Date
    Jul 2009
    Posts
    69

    Re: Ubuntu Server etc/network/interfaces Fail

    Thanks again for the super fast replies guys, I will give it a try as soon as i get home. If i get this working, it will be my fourth query that will be solved. I owe this to you guys.. Thanks again. If there is anything with which i can help people along with you guys, will be pleased...

Similar Threads

  1. Microsoft Exchange Server reported error 0x8004010F operation fail
    By SurnameS in forum Small Business Server
    Replies: 7
    Last Post: 02-05-2012, 11:23 PM
  2. Server Connection fail in Bad Company 2
    By Jailekhaa in forum Video Games
    Replies: 5
    Last Post: 26-02-2011, 10:17 AM
  3. StorageWorks P4300 fail through network RAID
    By AlBinDoSh in forum Networking & Security
    Replies: 4
    Last Post: 17-02-2011, 06:22 PM
  4. How to use dual network interfaces with two internet connections
    By Garonman in forum Networking & Security
    Replies: 3
    Last Post: 23-11-2010, 08:12 PM
  5. Replies: 29
    Last Post: 23-01-2009, 08:10 AM

Tags for this Thread

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
  •  
Page generated in 1,750,529,943.66765 seconds with 16 queries