Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Gnome Network manager keeps disconnecting...

  • 01-04-2012 02:48AM
    #1
    Registered Users, Registered Users 2 Posts: 849 ✭✭✭


    ...every 15 mins or so, on my O2 mobile broadband connection.
    This happens on a couple of gnome desktop distros.Never on KDE.

    I googled the problem but cant find an answer. Surely I cant be the only one.
    Has anyone else come up against this problem?

    btw, it restarts again quite quickly as I have "connect automatically" ticked, but its still a pain in the arse.


Comments

  • Registered Users, Registered Users 2 Posts: 1,034 ✭✭✭dalta5billion


    human 19 wrote: »
    ...every 15 mins or so, on my O2 mobile broadband connection.
    This happens on a couple of gnome desktop distros.Never on KDE.

    I googled the problem but cant find an answer. Surely I cant be the only one.
    Has anyone else come up against this problem?

    btw, it restarts again quite quickly as I have "connect automatically" ticked, but its still a pain in the arse.
    You could try a direct PPP dialer. I find all the Network Managers in general to be worthless.


  • Registered Users, Registered Users 2 Posts: 1,929 ✭✭✭PrzemoF


    OP, what's in the logs? (kernel and messages)


  • Registered Users, Registered Users 2 Posts: 5,238 ✭✭✭humbert


    I've used NetworkManager (though not on Gnome) with an O2 dongle and didn't have that problem. Just so you can rule out it being a general problem.

    Do you have competing wireless connections set up for NetworkManager? nm-connection-editor.

    In particular check /var/log/messages

    PS, I don't agree about NetworkManager, or network managers in general, being worthless. If you're on a laptop and moving around they make life a lot easier when they are correctly set up and working properly.


  • Registered Users, Registered Users 2 Posts: 849 ✭✭✭human 19


    Thanks for the replies. I have syslog open waiting for the next disconnect. (there's no "messages" file)

    As I mentioned, KDE network manager has never cut out like the gnome version


  • Registered Users, Registered Users 2 Posts: 849 ✭✭✭human 19


    You could try a direct PPP dialer. I find all the Network Managers in general to be worthless.

    Well Idownloaded gnomeppp to have a look at it,and its looking for a phone number. Iam on mobile broadband.


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 849 ✭✭✭human 19


    humbert wrote: »

    Do you have competing wireless connections set up for NetworkManager? nm-connection-editor.

    In particular check /var/log/messages.

    By the way, this shuts down whether or not I have competing connections. The only other one would be eth0 wired to VU+ duo box

    Ok, I checked the log after the last disconnect. Im sure you will only be interested in the first part so I will delete most of it...

    Modem hangup, eh... This would suggest it is the modem, but it doesnt happen in KDE,as I said. Is there a configfile somewhere I can amend, I wonder?

    Apr 2 23:30:17 mintg pppd[2104]: Modem hangup
    Apr 2 23:30:17 mintg pppd[2104]: Connect time 59.5 minutes.
    Apr 2 23:30:17 mintg pppd[2104]: Sent 363274 bytes, received 4447019 bytes.
    Apr 2 23:30:17 mintg kernel: [ 3625.418755] hub 2-0:1.0: port 1 disabled by hub (EMI?), re-enabling...
    Apr 2 23:30:17 mintg kernel: [ 3625.418761] usb 2-1: USB disconnect, address 4
    Apr 2 23:30:17 mintg kernel: [ 3625.418921] sierra ttyUSB0: Sierra USB modem converter now disconnected from ttyUSB0
    Apr 2 23:30:17 mintg kernel: [ 3625.418937] sierra 2-1:1.0: device disconnected
    Apr 2 23:30:17 mintg kernel: [ 3625.419055] sierra ttyUSB1: Sierra USB modem converter now disconnected from ttyUSB1
    Apr 2 23:30:17 mintg kernel: [ 3625.419068] sierra 2-1:1.1: device disconnected
    Apr 2 23:30:17 mintg kernel: [ 3625.419319] sierra ttyUSB2: Sierra USB modem converter now disconnected from ttyUSB2
    Apr 2 23:30:17 mintg kernel: [ 3625.419330] sierra 2-1:1.3: device disconnected
    Apr 2 23:30:17 mintg modem-manager[900]: <info> (ttyUSB2) closing serial port...
    Apr 2 23:30:17 mintg modem-manager[900]: <info> (ttyUSB2) serial port closed
    Apr 2 23:30:17 mintg modem-manager[900]: <info> (ttyUSB3) closing serial port...
    Apr 2 23:30:17 mintg modem-manager[900]: <info> (ttyUSB3) serial port closed
    Apr 2 23:30:17 mintg modem-manager[900]: <info> (tty/ttyUSB2): released by modem /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1
    Apr 2 23:30:17 mintg modem-manager[900]: <info> Modem /org/freedesktop/ModemManager/Modems/0: state changed (connected -> disabled)
    Apr 2 23:30:17 mintg NetworkManager[891]: <info> (ttyUSB2): now unmanaged
    Apr 2 23:30:17 mintg NetworkManager[891]: <info> (ttyUSB2): device state change: 8 -> 1 (reason 36)
    Apr 2 23:30:17 mintg kernel: [ 3625.421728] sierra ttyUSB3: Sierra USB modem converter now disconnected from ttyUSB3
    Apr 2 23:30:17 mintg NetworkManager[891]: <info> (ttyUSB2): deactivating device (reason: 36).
    Apr 2 23:30:17 mintg kernel: [ 3625.421740] sierra 2-1:1.4: device disconnected
    Apr 2 23:30:17 mintg pppd[2104]: Connection terminated.
    Apr 2 23:30:17 mintg avahi-daemon[980]: Withdrawing workstation service for ppp0.
    Apr 2 23:30:17 mintg NetworkManager[891]: <info> (ttyUSB2): cleaning up...
    Apr 2 23:30:17 mintg NetworkManager[891]: <info> (ttyUSB2): taking down device.
    Apr 2 23:30:17 mintg NetworkManager[891]: SCPlugin-Ifupdown: devices removed (path: /sys/devices/virtual/net/ppp0, iface: ppp0)


  • Registered Users, Registered Users 2 Posts: 5,238 ✭✭✭humbert


    I wonder could it be a power management issue? Very much guessing though.


  • Registered Users, Registered Users 2 Posts: 3,739 ✭✭✭Stuxnet


    human 19 wrote: »
    KDE network manager has never cut out like the gnome version

    whats stopping you installing and using the knetworkmanager in gnome, instead of gnome network-manager, if it works for you.....


  • Registered Users, Registered Users 2 Posts: 1,929 ✭✭✭PrzemoF


    A quick search and it looks like nm bug. Try wicd or a different version of nm.
    What distro/version you're using?


  • Registered Users, Registered Users 2 Posts: 1,034 ✭✭✭dalta5billion


    human 19 wrote: »
    You could try a direct PPP dialer. I find all the Network Managers in general to be worthless.

    Well Idownloaded gnomeppp to have a look at it,and its looking for a phone number. Iam on mobile broadband.
    I believe its something with a series of *# 's Google settings for it.


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 849 ✭✭✭human 19


    Stuxnet wrote: »
    whats stopping you installing and using the knetworkmanager in gnome, instead of gnome network-manager, if it works for you.....

    I tried that a year or 2 ago but could then not access knetworkmanager.Ended up reinstalling whole distro. May try it again in an Ubuntu I hardly use.

    Looking at the latest log, I may have missed a few lines at the start of the disconnect sequence...

    Apr 3 20:24:53 mintg kernel: [ 2410.519672] usb 2-1: USB disconnect, address 2
    Apr 3 20:24:53 mintg kernel: [ 2410.519836] sierra ttyUSB0: Sierra USB modem converter now disconnected from ttyUSB0
    Apr 3 20:24:53 mintg kernel: [ 2410.519851] sierra 2-1:1.0: device disconnected
    Apr 3 20:24:53 mintg kernel: [ 2410.519969] sierra ttyUSB1: Sierra USB modem converter now disconnected from ttyUSB1
    Apr 3 20:24:53 mintg kernel: [ 2410.519981] sierra 2-1:1.1: device disconnected
    Apr 3 20:24:53 mintg pppd[2302]: Modem hangup
    Apr 3 20:24:53 mintg pppd[2302]: Connect time 38.0 minutes.
    Apr 3 20:24:53 mintg pppd[2302]: Sent 248237 bytes, received 951978 bytes.


    Might also try posting in the O2 forum


  • Registered Users, Registered Users 2 Posts: 849 ✭✭✭human 19


    PrzemoF wrote: »
    A quick search and it looks like nm bug. Try wicd or a different version of nm.
    What distro/version you're using?

    various ones with these network managers have the same issue


  • Registered Users, Registered Users 2 Posts: 1,034 ✭✭✭dalta5billion


    human 19 wrote: »
    Stuxnet wrote: »
    whats stopping you installing and using the knetworkmanager in gnome, instead of gnome network-manager, if it works for you.....

    I tried that a year or 2 ago but could then not access knetworkmanager.Ended up reinstalling whole distro. May try it again in an Ubuntu I hardly use.

    Looking at the latest log, I may have missed a few lines at the start of the disconnect sequence...

    Apr 3 20:24:53 mintg kernel: [ 2410.519672] usb 2-1: USB disconnect, address 2
    Apr 3 20:24:53 mintg kernel: [ 2410.519836] sierra ttyUSB0: Sierra USB modem converter now disconnected from ttyUSB0
    Apr 3 20:24:53 mintg kernel: [ 2410.519851] sierra 2-1:1.0: device disconnected
    Apr 3 20:24:53 mintg kernel: [ 2410.519969] sierra ttyUSB1: Sierra USB modem converter now disconnected from ttyUSB1
    Apr 3 20:24:53 mintg kernel: [ 2410.519981] sierra 2-1:1.1: device disconnected
    Apr 3 20:24:53 mintg pppd[2302]: Modem hangup
    Apr 3 20:24:53 mintg pppd[2302]: Connect time 38.0 minutes.
    Apr 3 20:24:53 mintg pppd[2302]: Sent 248237 bytes, received 951978 bytes.


    Might also try posting in the O2 forum
    Any chance you're using a USB hub? I used an unpowered one for a 3G connection and USB disconnects were common.

    Hope it helps. I'll have a look later at what settings I used for O2 in pppd.

    By the way, network managers are definitely handy, but I'm more of a stick-it-in-a-shell-script kind of guy. :D


  • Registered Users, Registered Users 2 Posts: 849 ✭✭✭human 19


    Any chance you're using a USB hub? I used an unpowered one for a 3G connection and USB disconnects were common.

    Hope it helps. I'll have a look later at what settings I used for O2 in pppd.

    By the way, network managers are definitely handy, but I'm more of a stick-it-in-a-shell-script kind of guy. :D

    No, Im not using a hub. I might just have to use KDE for the net and gnome for streaming from the satellite box, as that keeps crashing KDE network manager. Oh well...I will survive. Just thought I would try and see if someone else had got around this problem.

    Thanks anyway


  • Registered Users, Registered Users 2 Posts: 849 ✭✭✭human 19


    additional...I used my nokia c5-03 on Ubuntu for hours today without mishap which suggests it is some weird combination of the Sierra dongle and gnome.

    Strange. Ill go to sierra to see if I can find anything


  • Registered Users, Registered Users 2 Posts: 849 ✭✭✭human 19


    Well, I got this solved, seemingly,...by replacing the Sierra dongle with a Huawei E353


Advertisement