Pidgin ignores network connection not based on NetworkManager

Bug #200047 reported by Paul Hannah
58
This bug affects 9 people
Affects Status Importance Assigned to Milestone
pidgin (Ubuntu)
Invalid
Low
Unassigned
Nominated for Lucid by Henrik H.

Bug Description

When I'm using my ppp (boradband mobile connection) pidgin starts up without trying to connect and displays 'Available - Waiting for network connection'

Choosing offline, waiting for a few seconds and then choosing available forces a connection attempt, and successful operation.

I'm guessing this is a similar issue to the problem in firefox going to offline mode (bug 191889) because there's a switch hooked into networkmanager which is incorrectly saying there is no network present...

Not sure whether this is something that should be changed in pidgin to look elsewhere for network connectivity, or should be forwarded onto networkmanager...

Revision history for this message
Paul Hannah (pkhannah) wrote :

p.s. fully updated hardy alpha 5.

Revision history for this message
Xiris (xirisr) wrote :

This also happens with me when using mobile broadband (3G in the UK). And Thanks Paul for the tip about switching to off-line and back again! :)

Revision history for this message
Marco da Silva (igama) wrote :

This also happens with me on my 3G connection.

Did what you suggested and it logged in.

Thanks for tip.

So can we say that this is like the Firefox problem, that is uses NetworkManager instead of trying to look for the connection on its startup ?

Revision history for this message
Paul Elliott (omahn) wrote :

I also experience this issue with my UK Three 3G connection. I suspect the ideal solution is to use NM to connect to 3G.

Changed in pidgin:
status: New → Confirmed
Revision history for this message
Dawid Pogorzelski (creative-mindworks) wrote :

I'm having this problem too but with a WLAN connetion

Revision history for this message
Sebastien Bacher (seb128) wrote :

is that still an issue in jaunty?

Changed in pidgin (Ubuntu):
importance: Undecided → Low
Revision history for this message
Hector Suarez barenca (barenca) wrote :

Same problem.

Linux barenca-laptop 2.6.28-13-generic #45-Ubuntu SMP Tue Jun 30 19:49:51 UTC 2009 i686 GNU/Linux

It happens when i use my mobile broadband 3G in Mexico (CDU-680).

I do not start my connection using the network manager (I can't -I do not why) but command line.

This is the way i connect to the 3G service:

#!/bin/sh

echo "-------- Detector de dispositivo CDU680DORA -------"
echo

DEV=`mount -l|grep CDU680|awk '{print $1}'`
if [ -e "$DEV" ]; then
    echo "Dispositivo BAM encontrado en $DEV"
    PREPARE="itfchg $DEV"
    PROCESSES=`ps -fea`
    ACTIVE=`echo $PROCESSES|grep "$PREPARE"`

    if [ -z "$ACTIVE" ]; then
        sudo ./$PREPARE
    else
       echo "It's already prepared"
    fi
else
   echo "It seems the cdu-680 is not mounted"
   exit;
fi

echo "CDU680DORA Linux Connection\n"
rm -rf sprintconfig wvdialconf_log
wvdialconf sprintconfig > wvdialconf_log

sleep 5

echo "[Dialer Defaults]">>sprintconfig
echo "Init1 = ATZ">>sprintconfig
echo "Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0">>sprintconfig
echo "Carrier Check = no">>sprintconfig
echo "Stupid Mode = yes" >> sprintconfig
echo "Phone = #777">>sprintconfig
echo "Username = 0000">>sprintconfig
echo "Password = 0000">> sprintconfig

if [ -e /dev/ttyACM0 ]; then
   echo "Modem = /dev/ttyACM0">>sprintconfig
fi

if [ -e /dev/ttyUSB0 ]; then
   echo "Modem = /dev/ttyUSB0">> sprintconfig
fi

echo "Baud = 460800">>sprintconfig
rm -rf wvdialconf_log
echo "--> Dialing...\n"
sudo wvdial --config sprintconfig

Revision history for this message
Lorenzo Bettini (bettini) wrote :

bug still present...

Revision history for this message
Lorenzo Bettini (bettini) wrote :

and, by the way, the switch to offline trick does not help... I cannot simply connect with pidgin :-(

Revision history for this message
Kremlin (aaron-introspection) wrote :

Bug still present in Karmic. Using wvdial to connect to 3G provider over PPP, pidgin does not detect the network connection. There is also no way to force it to connect.

Revision history for this message
Bernhard Schmidt (berni) wrote : Re: [Bug 200047] Re: Pidgin doesn't autoconnect when on ppp network.

On Wed, Nov 11, 2009 at 07:23:35AM -0000, Kremlin wrote:

> Bug still present in Karmic. Using wvdial to connect to 3G provider over
> PPP, pidgin does not detect the network connection. There is also no way
> to force it to connect.

There is a way, but it has become harder with every release.

- Intrepid: enter something in the "away cause" field, pidgin will
  connect
- Jaunty: stop NetworkManager while pidgin is running
- Karmic: /sbin/stop network-manager before pidgin is started

This bug has been annoying as hell before, but restarting
network-manager on Karmic does not work reliable. Wireless often stays
down.

Revision history for this message
Kleber Sacilotto de Souza (kleber-souza) wrote : Re: Pidgin doesn't autoconnect when on ppp network.

Bug still present on Karmic (pidgin version 2.6.2-1ubuntu7.2). Since nm applet for KDE doesn't work correctly with my 3G modem, I'm using wvdial to connect.

One way I've found to force pidgin to connect is going to Accounts->Manage Accounts (or hitting Ctrl-A) and click twice on the Enable box of each of my accounts, so it will connect when the account is enabled again. It's quite an annoying bug since I have to do this every time my 3G connection dies (which is quite often).

Revision history for this message
Bernhard Schmidt (berni) wrote : Re: [Bug 200047] Re: Pidgin doesn't autoconnect when on ppp network.

This "bug" (most Ubuntu people seem to think it's a feature) is also
still present in Lucid. I have the very same problem (nm not working
with my UMTS modem).

Reliable "fix" is to "sudo stop network-manager" before pidgin is
started.

Bernhard

Revision history for this message
com_h (patsjunk) wrote : Re: Pidgin doesn't autoconnect when on ppp network.

Since doing a fresh install of 10.04, Pidgin connects just fine when using My Vodafone 3G connection.

Bug was present in my previous install of 9.10, I suppose thats one way to fix the bug, upgrade to 10.04

Hope this helps.

Revision history for this message
Kleber Sacilotto de Souza (kleber-souza) wrote :

In my case upgrading from 9.10 to 10.04 also solved the problem, since now network-manager works with my Huawei 3G modem and I don't need to use wvdial anymore.

Revision history for this message
BlueLight (bluelight-auroville) wrote :

same bug like https://bugs.launchpad.net/linuxmint/+bug/710857

This is fixed for me after Lucid but not in mint.

Revision history for this message
xvan (skirhir) wrote :

It's a "network manager" related issue...
flag -f forces pidgin to ignore it.

Revision history for this message
Rolf Leggewie (r0lf) wrote :

anybody already tried precise?

summary: - Pidgin doesn't autoconnect when on ppp network.
+ Pidgin ignores network connection not based on NetworkManager
Revision history for this message
Marius B. Kotsbak (mariusko) wrote :

Stop network manager if you are not using it and Pidgin should stop thinking it is not connected. Feel free to use "Convert to a question" option.

Changed in pidgin (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.