Public bug reported:

After upgrading from Hardy to Intrepid, /etc/network/interfaces was ignored, no 
matter what I tried, this files was ignored by Intrepid. I ended with a dynamic 
IP address. I thought it was related to the upgrade, so I reinstall everything 
and kept my /home. Same problem, no static IP possible but this time 
/etc/network/interfaces was empty, only the loopback was present, but I still 
had connection / internet through dhcp. This particular machine and 2 others 
MUST be in static IP (I only use dhcp on my 2 laptops). So I edited 
/etc/network/interfaces like this:
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
        address 192.168.0.22
        netmask 255.255.255.0
        network 192.168.0.0
        broadcast 192.168.0.255
        gateway 192.168.0.1

auto eth1
iface eth1 inet static
        address 192.168.0.21
        netmask 255.255.255.0
        network 192.168.0.0
        broadcast 192.168.0.255
        gateway 192.168.0.1

But after a reboot (to test the settings completely) no access to
internet, though I could still ping the router, DNS I thought!

I edited /etc/resolv.conf, but everything was already there !!!!!:

# Generated by NetworkManager
nameserver 68.105.28.12
nameserver 68.105.29.12
nameserver 68.105.28.11

(checked and compared to my modem interface, these above are OK DNS IPs)

I tried to remove NetworkManager for rc.d but it did not change
anything, so I restore NetworkManager defaults in rc.d

So at this point I had the correct IP settings, but no DNS working...
Seemed like this time /etc/network/interfaces was no longer ignored but
/etc/resolv.conf now is !!!!!

So right now I'm back to DHCP, I commented all about eth0 and eth1 in
/etc/network/interfaces and restarted... Everything works beside the
fact that I have wrong IP addresses for both NICs.

I feel like I'm going crazy, I spent the last 72 hours practically day
and night on this, I NEED THIS MACHINE TO WORK since I use it as a
server (ssh, apache, ftp, VPN, samba, cups, NFS) and guess what...
Everything is setup with IP, not hostnames... That means all the servers
are down. So far this is the worst experience I had with Ubuntu, "the
number one distro" people say...

Thanks for your help

** Affects: ubuntu
     Importance: Undecided
         Status: New

** Description changed:

- After upgrading from Hardy to Intrepid, /etc/network/interfaces was ignored, 
no matter what I tried, this files was ignored by Intrepid. I ended with a 
dynamic IP address. I thought it was related to the upgrade, so I reinstall 
everything and kept my /home. Same problem, no static IP possible but this time 
/etc/network/interfaces was empty, only the loopback was present, but I still 
had connection / internet through dhcp. This particular machine and 2others 
MUST be in static IP (I only use dhcp on my 2 laptops). So I edited 
/etc/network/interfaces like this:
+ After upgrading from Hardy to Intrepid, /etc/network/interfaces was ignored, 
no matter what I tried, this files was ignored by Intrepid. I ended with a 
dynamic IP address. I thought it was related to the upgrade, so I reinstall 
everything and kept my /home. Same problem, no static IP possible but this time 
/etc/network/interfaces was empty, only the loopback was present, but I still 
had connection / internet through dhcp. This particular machine and 2 others 
MUST be in static IP (I only use dhcp on my 2 laptops). So I edited 
/etc/network/interfaces like this:
  auto lo
  iface lo inet loopback
  
  auto eth0
  iface eth0 inet static
          address 192.168.0.22
          netmask 255.255.255.0
          network 192.168.0.0
          broadcast 192.168.0.255
          gateway 192.168.0.1
  
  auto eth1
  iface eth1 inet static
          address 192.168.0.21
          netmask 255.255.255.0
          network 192.168.0.0
          broadcast 192.168.0.255
          gateway 192.168.0.1
  
  But after a reboot (to test the settings completely) no access to
  internet, though I could still ping the router, DNS I thought!
  
  I edited /etc/resolv.conf, but everything was already there !!!!!:
  
  # Generated by NetworkManager
  nameserver 68.105.28.12
  nameserver 68.105.29.12
  nameserver 68.105.28.11
  
  (checked and compared to my modem interface, these above are OK DNS IPs)
  
  I tried to remove NetworkManager for rc.d but it did not change
  anything, so I restore NetworkManager defaults in rc.d
  
  So at this point I had the correct IP settings, but no DNS working...
  Seemed like this time /etc/network/interfaces was no longer ignored but
  /etc/resolv.conf now is !!!!!
  
+ So right now I'm back to DHCP, I commented all about eth0 and eth1 in
+ /etc/network/interfaces and restarted... Everything works beside the
+ fact that I have wrong IP addresses for both NICs.
+ 
  I feel like I'm going crazy, I spent the last 72 hours practically day
  and night on this, I NEED THIS MACHINE TO WORK since I use it as a
  server (ssh, apache, ftp, VPN, samba, cups, NFS) and guess what...
  Everything is setup with IP, not hostnames... That means all the servers
  are down. So far this is the worst experience I had with Ubuntu, "the
  number one distro" people say...
  
  Thanks for your help

-- 
No static IP on Ubuntu Intrepid 8.10
https://bugs.launchpad.net/bugs/292824
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to