title: the wired network connection is active ,but can't connect to the internet
body: <p>The operating system is Ubuntu10.04. The icon of <code>network connection</code> on the panel shows
  the wired network connection is active, but I can't access to the Internet. So I set the network configuration manually.I changed the <code>/etc/resolv.conf</code> as below:</p>
  
  <p><code>nameserver   202.112.14.151</code> </p>
  
  <p>202.112.14.151 is my school's DNS server's IP. 192.168.2.1 is router' address. I also changed the <code>/etc/network/interfaces</code>:</p>
  
  <pre><code>auto lo
  iface lo inet loopback
  auto eth0
  iface eth0 inet static
  address 192.168.2.107
  netmask 255.255.255.0
  gateway 192.168.2.1
  </code></pre>
  
  <p>And <code>/var/run/network/ifstate</code>:</p>
  
  <pre><code> lo=lo
   eth0=eth0
  </code></pre>
  
  <p>My classmates (we'are in the same room and use the same router) used</p>
  
  <pre><code>address:192.168.2.254
  netmask:255.255.255.0
  gateway:192.168.2.1   
  DNS server:202.112.14.151 
  </code></pre>
  
  <p>to configure the network  on <code>Windows xp</code> can access to the Internet.
  I typed the command <code>ping 192.168.2.1</code> but it reminds me the host 192.168.2.1 is unreachable. Do I neglect something? Please tell me, Thx!</p>