Initially my internet was running through Network Manager . But i dont know, now, why its not working. I am trying to run internet by configuring /etc/network/interfaces. But its not working. Things which i have done shown below.






ifconfig -a
eth0 Link encap:Ethernet HWaddr 90:fb:a6:34:01:d5
inet addr:172.16.26.209 Bcast:172.16.27.255 Mask:255.255.252.0
inet6 addr: fe80::92fb:a6ff:fe34:1d5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:448 errors:0 dropped:0 overruns:0 frame:0
TX packets:83 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:31251 (31.2 KB) TX bytes:10731 (10.7 KB)
Interrupt:20 Base address:0x2c00

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1 errors:0 dropped:0 overruns:0 frame:0
TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:79 (79.0 B) TX bytes:79 (79.0 B)

cat /etc/network/interfaces
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 172.16.26.209
netmask 255.255.252.0
gateway 172.16.24.254
dns-nameservers 202.141.80.9

cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 mrityunjay-A7GMX-K

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 202.141.80.9

cat /etc/NetworkManager/NetworkManager.conf

[main]
plugins=ifupdown,keyfile
dns=dnsmasq

no-auto-default=90:FB:A6:34:015,00:00:A6:34:015,

[ifupdown]
managed=false


No ddclient.conf file in my /etc directory

When i start my computer: which runs Ubuntu 12.04LTS, then first i type these command for stopping network manager.

/etc/init.d/network-manager stop
/etc/init.d/networking restart

When, i try to run my internet it does not work. If i ping my own ip then it shows. But if i ping some different ip in network then it does not work.


If i use internet connection with same wire then it is working in window 7. its mean that wire has no problem.


I am in college so, internet has to pass through proxy by username and password.


Please help me in this regards.