Results 1 to 5 of 5

Thread: Can stop networking, but not restart it

  1. #1
    Join Date
    Aug 2005
    Beans
    65

    Can stop networking, but not restart it

    I have always thought of myself as a reasonably knowledgable linux user, but today's problem: computer only accessing the network when booted with a live CD, has me beat.

    I've tried several times to restart networking. The command

    sudo /etc/init.d/networking restart

    tells me that I should use "service" or "start". Well, both of

    sudo start networking
    sudo service networking start

    simply produce

    networking stop/waiting

    I've also tried

    sudo ifup -a
    sudo ifup eth0
    sudo ifconfig eth0 up

    Nothing. I simply cannot restart the network, without a reboot. (I've done about 10 reboots so far; I'm now using a liveCD). I've tried using the KDE system settings, but

    System settings -> Network

    causes System settings to crash! Arrrgh!

    I'm at my wits end: I can't work without access to the network, and my desktop machine, when booted up normally, just will not connect. (I've tried unplugging and replugging the network cable too.)

    Any advice short of smashing the maching with an axe would be most gratefully received!

    thanks,
    Al

  2. #2
    Join Date
    Apr 2012
    Beans
    5,057

    Re: Can stop networking, but not restart it

    Is this Desktop or Server? Unless you have configured things manually via /etc/network/interfaces, the current Desktop editions don't use the networking service - they use network-manager (configured via the desktop applet) instead:

    Code:
    $ service networking status
    networking stop/waiting
    $ service network-manager status
    network-manager start/running, process 3723
    $

  3. #3
    Join Date
    Aug 2005
    Beans
    65

    Re: Can stop networking, but not restart it

    Oh yes - that makes sense! I'll try that now.

    I'll see if a mix of cable unplugging and replugging, along with network-manager restarting, will fix my problem.

  4. #4
    Join Date
    Aug 2005
    Beans
    65

    Re: Can stop networking, but not restart it

    I can now stop and start the network at will. However, my desktop still cannot connect. What a colossal waste of a day. I'll bring my laptop in tomorrow, so at least l can get some work done.

    Maybe I'll have to reinstall Ubuntu? Seems like there should be an easier solution....

  5. #5
    Join Date
    Nov 2008
    Location
    Sheffield, UK
    Beans
    1,517
    Distro
    Ubuntu

    Re: Can stop networking, but not restart it

    am not a fan of network manager and normally remove it upon fresh install
    I then edit my interfaces file like so..

    Code:
     cat /etc/network/interfaces
    Code:
     
    auto lo
    iface lo inet loopback
    
    auto eth0
    iface eth0 inet static
    address 192.168.0.2
    netmask 255.255.255.0
    gateway 192.168.0.1
    or DHCP
    Code:
     
    auto lo
    iface lo inet loopback
    
    auto eth0
    iface eth0 inet dhcp

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •