Welcome to the Linux Foundation Forum!


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.

[email protected]:~# /etc/init.d/networking stop

* Deconfiguring network

interfaces... [ OK ]

[email protected]:~# ping google.com

PING google.com ( 56(84) bytes of data.

64 bytes from hkg01s01-in-f103.1e100.net ( icmp_seq=1

ttl=243 time=147 ms

64 bytes from hkg01s01-in-f103.1e100.net ( icmp_seq=2

ttl=242 time=131 ms


--- 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

[email protected]:~# 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

[email protected]:~#

Responses are highly appreciated.



  • gomer
    gomer Posts: 158
    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?
  • mfillpot
    mfillpot Posts: 2,177
    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.
  • jmcnulty
    jmcnulty Posts: 9
    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!


Upcoming Training