Home Linux Community Forums Hardware Networking NETWORK IS RUNNING EVEN IF NETWORK SERVICES IS OFF


Link to this post 09 Mar 10

hi to all
I just want to know one thing. I had stop the network service in
ubuntu, still i can able to ping 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
PING ( 56(84) bytes of data.
64 bytes from ( icmp_seq=1
ttl=243 time=147 ms
64 bytes from ( icmp_seq=2
ttl=242 time=131 ms
--- 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 U 1 0
0 eth0 U 1000 0
0 eth0 UG 0 0
0 eth0

Responses are highly appreciated.

Link to this post 10 Mar 10

if you just want to shut off your ethernet port, then

ifconfig eth0 down

should do the trick.

What exactly are you trying to accomplish, or may I ask why are you trying to shut off your network access?

Link to this post 10 Mar 10

The network manager is what is actually controlling the network configuration in a defualt installation of ubuntu, the networking service is used for more manual configurations. By disabling the networking service you should have close all communication channels, but the network manager had went and took over the devices with it's own configuration. The easiest way for you to sever networking in ubuntu is to make sure that no items in the network manager are showing as connected.

Link to this post 19 Mar 10

Not a tech answer I know, but if you need your machine to not be on the network and it's a semi-permanent arrangement, just disconnect the network cable? Sorry if there are reasons this isn't an option!

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board