Network is running even if network service is stopped
hi to all
I just want to know one thing. I had stop the network service in ubuntu, still i can able to ping google.com.what u think might be things to consider. these are the outputs see. root@jeetendra-desktop:~# /etc/init.d/networking stop * Deconfiguring network interfaces... [ OK ] root@jeetendra-desktop:~# ping google.com PING google.com (64.233.189.103) 56(84) bytes of data. 64 bytes from hkg01s01-in-f103.1e100.net (64.233.189.103): icmp_seq=1 ttl=243 time=147 ms 64 bytes from hkg01s01-in-f103.1e100.net (64.233.189.103): icmp_seq=2 ttl=242 time=131 ms ^C --- google.com ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 999ms rtt min/avg/max/mdev = 131.765/139.424/147.083/7.659 ms root@jeetendra-desktop:~# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0 root@jeetendra-desktop:~# Responses are highly appreciated. Thanks |
What are you looking to do? If you just want to turn off the network interfaces you can simply do:
Code:
ifconfig interface down |
All the below, assumes you are using a standard Debian style networking setup: ie no network manager or wicd. If you are using these sort of tools, the standard Debian tools will probably not work and you should either use your network manager or wicd frontend or, as suggested by ms3fgx, use a low level tool like ifconfig.
Can you please post you /etc/network/interfaces file and the output of Code:
ifconfig -a Also, if you just want to bring down a specific interface (eg eth0) on a system using a Debian style networking setup, you can bring that interface down with: Code:
ifdown eth0 Evo2. |
found the solution
network-manger is the service which decides when the connection is active or not. when i stop this service i am unable to access net.
but thank u so much for ur support i appreciate that |
All times are GMT -5. The time now is 05:22 PM. |