Ok. Looks like this bug hit the circular filing cabinet. So the end-game
workaround I'm living with now is (for any co-suffers in agony):

- Keeping nm-applet installed 
  (Because connecting to secured wireless by command line is a PITA)

- Disabling nm-applet from starting up (see gnome-session)
  (to prevent it from screwing everything up at start up)

- scanning by hand before I start up nm-applet.
  $> iwlist eth1 scanning | less
  (to ensure I'm starting up nm-applet with an available connection)

- start nm-applet when I know I have wireless

- before i walk away from any wireless connection with the laptop still on:
 $> killall nm-applet
 (so I don't walk into a dead area, and suddenly have all my apps take 10 
freaking seconds to start up)

I've been living with this for a few weeks, and this does, sadly, seem
like the easiest process.

Still have no leads on why gnome apps are pinging out whenever I start
them up. This is kind of dumb.

Btw, I don't mean system start-up, I mean _application_ startup. Blah.

** Summary changed:

- Gnome apps (gvim, gnome-terminal) triggering needless pinging at startup
+ Gnome apps (gvim, gnome-terminal) triggering needless pinging when started

** Description changed:

  It took me a while to pin this one down, and I still haven't figured
- everything out. I noticed slow startup times on may apps when I would
+ everything out. I noticed slow startup times on many apps when I would
  lose my internet connection. Applications include gvim and gnome-
  terminal (would should start up fairly quickly, but would take 5-10 sec
  on Insipiron 1501 with 2GB of memory & no internet). With internet, it
  was fine. A little investigation with wireshark showed the computer was
  sending out ICMP ping packets every time I started up an application. It
  would send out four or so packets, and time out waiting for each one,
  and then start the App. It works fine with the internet because they're
  not timing out. At first I thought it might be related to the /etc/hosts
  loopback misconfigured bug that pops up here and there on the buglists,
  but that wasn't it (or maybe some weird malicious software on my laptop,
  I'm kind of paranoid about that kind of thing). Seems more likely to be
  some odd combination of bad application behavior, though.
  
  (on a side note, the Network Configuration gui really shouldn't say
  "some applications may break" when you change the name via the gui,
  should say "all applications *will* break", and you'll need to reboot -
  at least on my box).
  
  Also the packets always contained my hostname & domain in the icmp data.
  Weird. Bringing down my interfaces or assigning a 0.0.0.0 ip "fixes" the
  issue in that the pings no longer happen, and the applications start up
  quickly. I also tried killing avahipd and that seemed to help once, but
  not always. I also had this entry in my /etc/network/interfaces:
  
  ifconfig eth0 dhcp
    Address [some address]
    Netmask [some netmask]
    [Err... I forgot this line, the usual one]
  
  I don't know how it got dhcp & entries for address, etc, since I've
  never bothered to configure eth0 (it's the wired connection).
  
  Also, when I manually configure the routes, etc, the pings go out to the
  gateway (if I remember correctly), but if I don't, they were going out
  with the source ip set to 169.x.x.x or whatever the fake ip is for Zero-
  Conf. Interestingly the Source & Dest ips were equal in this case, and
  the pings were *still* failing.
  
  Removing the ifconfig eth0 entry from /etc/network/interfaces fixes it
  for the case when I just boot up with no wireless, but it doesn't fix it
  for when I have network manager up, have a connection, it sets up the
  routes and everything, and then I move to a place without an internet
  connection (very common use case for me). So basically, if you have
  routes set up, and no internet connection, ubuntu (gutsy, up to date),
  is essentially unusable (5-10 second startup for simple terminal &
  editor apps is basically unusable by me).
  
  Why are these pings happening?
  Why are they happening on every application startup?
  
  Someone with a deeper understanding of all the gnome parts is probably
  needed to understand this.

** Tags added: gnome internet-connection ping slow

-- 
Gnome apps (gvim, gnome-terminal) triggering needless pinging when started
https://bugs.launchpad.net/bugs/211512
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to