Hi, Yes I meant /etc/network/interfaces
I connect the machine to the internet through a gateway. The router is set at 192.168.1.1 as usual. I tried ping debian.org and it doesn’t return results. The device that has the error is an onboard network device, eth0. My motherboard is ASUS. However, I plugged another network device, eth1 and the put the same settings then it worked fine. I believe it's a compatibility error at debian etch and my motherboard. Since I had installed debian stable in the past and I didn't have any problems with the onboard network device Jeff About the /etc/init.d/networking restart. Without reboot the machine... I realized it doesn’t work, it worked only when I first use stop and then start /etc/init.d/networking stop /etc/init.d/networking start That happens also with postgres. Sorry for my delay, iuri -----Original Message----- From: Douglas Allan Tutty [mailto:[EMAIL PROTECTED] Sent: Monday, July 02, 2007 2:16 PM To: [email protected] Subject: Re: static IP On Mon, Jul 02, 2007 at 11:21:57AM -0300, Iuri Sampaio wrote: > > I’m trying to set up a internal static IP to my machine. > > My /etc/init.d/interfaces is: You mean /etc/network/interfaces. > > # This file describes the network interfaces available on your system > # and how to activate them. For more information, see interfaces(5). > > # The loopback network interface > auto lo > iface lo inet loopback > > # The primary network interface > allow-hotplug eth1 > # Static IP > iface eth1 inet static > address 192.168.1.10 > netmask 255.255.255.0 > network 192.168.1.255 > gateway 192.168.1.1 > > I set the IP but when I restarted the machine to the changes make effect I > loose internet connection. > > I already tried other final number to the ip such as 192.168.1.105. but it > didn’t work out > > Is there anything I’m doing wrong? > Hi iuri That depends. How are you connecting to the internet? You've told the system that you only have one network interface card (but then why is it eth1?) and that to get to the internet it should default route to the gateway at 192.168.1.1. What exactly do you mean that you loose the internet connection? Is it a connectivity thing or that the name doesn't resolve? Give us the exact error message you get when you enter: ping debian.org Doug. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.9.14/885 - Release Date: 7/3/2007 10:02 AM No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.9.14/885 - Release Date: 7/3/2007 10:02 AM

