New 3G device manager for Linux!

OK - setting static DNS addresses and changing 'APN host' to 'internet' allows it to connect properly. But there's a catch (22) - it won't start unless there's already an internet connection up ... otherwise it gets stuck with the startup progress bar at about 35% with the status showing "Authenticating ...". What needs to authenticate with what? Is this a Python/Twisted authentication, perhaps?
 
sudo apt-get install build-essential

that should solve the problem of the compiler

Hi:)

Above done.

Code:
root@sky-desktop:/usr/src/libnotify-0.4.4# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking whether make sets $(MAKE)... (cached) yes
checking whether ln -s works... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for an ANSI C-conforming const... yes
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for size_t... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PACKAGE... configure: error: Package requirements (gtk+-2.0 >= 2.6, glib-2.0 >= 2.6, dbus-1 >= 0.36, dbus-glib-1 >= 0.36) were not met:

No package 'gtk+-2.0' found
No package 'glib-2.0' found
No package 'dbus-1' found
No package 'dbus-glib-1' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables PACKAGE_CFLAGS
and PACKAGE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

root@sky-desktop:/usr/src/libnotify-0.4.4#

I also couldn't get the python-dbus update:(
 
yeah it seems so :)

Is the app working ok?
Well.. it's working no problem for SMS which is cool.. :)

But I have not yet managed to get it to connect..

When I click the "connect" button, nothing happens?

I also noticed that in the "hint area" at the bottom of the app window next to the signal level it says: 3G FFFFFFFFFFFFFFFF :confused: I guess this is where it should display the network name or something?

EDIT: I ran "vodafone-mobile-connect-card-driver-for-linux-debug" to see if I could get some output.. this is what I get as soon as I click "connect":
2007/05/08 15:37 +0200 [-] Traceback (most recent call last):
2007/05/08 15:37 +0200 [-] File "/usr/lib/python2.4/site-packages/Vodafone_Mobile_Connect_Card_driver_for_Linux-0.9.5-py2.4.egg/vmc/controllers/application.py", line 466, in on_connect_button_toggled
2007/05/08 15:37 +0200 [-] d = self.model.connect_internet()
2007/05/08 15:37 +0200 [-] File "/usr/lib/python2.4/site-packages/Vodafone_Mobile_Connect_Card_driver_for_Linux-0.9.5-py2.4.egg/vmc/models/application.py", line 102, in connect_internet
2007/05/08 15:37 +0200 [-] args = osobj.get_connection_args(self.wvdial_conf_path)
2007/05/08 15:37 +0200 [-] File "/usr/lib/python2.4/site-packages/Vodafone_Mobile_Connect_Card_driver_for_Linux-0.9.5-py2.4.egg/vmc/common/oal.py", line 116, in get_connection_args
2007/05/08 15:37 +0200 [-] gksudo_path = which(gksudo_name)[0]
2007/05/08 15:37 +0200 [-] IndexError: list index out of range
2007/05/08 15:37 +0200 [-] WAITING: DATA_RCV = '\r\nOK\r\n'
2007/05/08 15:37 +0200 [-] WAITING: EOR detected, firing deferred
2007/05/08 15:37 +0200 [-] WAITING: NO CBK REG, CBK= OK
2007/05/08 15:37 +0200 [-] NEW STATE: idle
 
Last edited:
Well.. it's working no problem for SMS which is cool.. :)

But I have not yet managed to get it to connect..

When I click the "connect" button, nothing happens?

I also noticed that in the "hint area" at the bottom of the app window next to the signal level it says: 3G FFFFFFFFFFFFFFFF :confused: I guess this is where it should display the network name or something?

EDIT: I ran "vodafone-mobile-connect-card-driver-for-linux-debug" to see if I could get some output.. this is what I get as soon as I click "connect":

Hi,

well it can do much more than sending SMS ;)

on which distro are you running the software? Debian? The software checks if pppd is setuid, in that case it will just start wvdial, if its not setuid it will try to launch with gksudo. Gksudo is installed by default on Ubuntu/Guadalinex but not in Debian :P. I have to say that the .deb is built for Ubuntu not Debian :P We have to support several distros and this subtle differences are beyond us :P Another option would be to add your user to the dip group.

The name issue is probably because you are using a Huawei E620 or any other card that returns the network name of the network in its numeric representation. There's a csv file with all the "numeric id - network name" pairs at:
/usr/share/vodafone-mobile-connect-card-driver-for-linux/resources/extra/networks.csv

If your net id is not present on that file then I'll be happy to include the info for the next release :) Another option is that your card responds really strange to the COPS? command. Either way use the -debug shell script to launch the app and copy the AT+COPS? response to see whats going on.
 
Last edited:
Hi:)

Above done.

Code:
root@sky-desktop:/usr/src/libnotify-0.4.4# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking whether make sets $(MAKE)... (cached) yes
checking whether ln -s works... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for an ANSI C-conforming const... yes
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for size_t... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PACKAGE... configure: error: Package requirements (gtk+-2.0 >= 2.6, glib-2.0 >= 2.6, dbus-1 >= 0.36, dbus-glib-1 >= 0.36) were not met:

No package 'gtk+-2.0' found
No package 'glib-2.0' found
No package 'dbus-1' found
No package 'dbus-glib-1' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables PACKAGE_CFLAGS
and PACKAGE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

root@sky-desktop:/usr/src/libnotify-0.4.4#

I also couldn't get the python-dbus update:(

sudo apt-get install libgtk2.0-dev libdbus-1-dev libdbus-glib-1-dev libglib-dev

Dapper doesn't ships with python-dbus? try python2.4-dbus
 
OK - setting static DNS addresses and changing 'APN host' to 'internet' allows it to connect properly. But there's a catch (22) - it won't start unless there's already an internet connection up ... otherwise it gets stuck with the startup progress bar at about 35% with the status showing "Authenticating ...". What needs to authenticate with what? Is this a Python/Twisted authentication, perhaps?

Run the software on debug mode and paste here the relevant trace
 
Using wvdial directly does give valid DNS addresses, so maybe it isn't necessary to specify them manually. I suspect it is something to do with the 'APN host' setting. By default it is set to 'ac.vodafone.es'; I have tried things like "Vodacom-SA", but that didn't help. What should it be?

If you had a wvdial.conf that was working for you, you can always tweak the template that VMCCdfL uses:

/usr/share/vodafone-mobile-connect-card-driver-for-linux/resources/templates/wvdial.conf.tpl

The $something in the template shouldn't be removed! They will be expanded later and could end up useless
 
Hi,

well it can do much more than sending SMS ;)

on which distro are you running the software? Debian? The software checks if pppd is setuid, in that case it will just start wvdial, if its not setuid it will try to launch with gksudo. Gksudo is installed by default on Ubuntu/Guadalinex but not in Debian :P. I have to say that the .deb is built for Ubuntu not Debian :P We have to support several distros and this subtle differences are beyond us :P Another option would be to add your user to the dip group.

The name issue is probably because you are using a Huawei E620 or any other card that returns the network name of the network in its numeric representation. There's a csv file with all the "numeric id - network name" pairs at:
/usr/share/vodafone-mobile-connect-card-driver-for-linux/resources/extra/networks.csv

If your net id is not present on that file then I'll be happy to include the info for the next release :) Another option is that your card responds really strange to the COPS? command. Either way use the -debug shell script to launch the app and copy the AT+COPS? response to see whats going on.
Actually I'm using Fedora Core (6) ... and also I'm using a Huawei E220 (usb) not an E620.. ;)
I've also been running the app as root with su ..

I'm on MTN btw ... which does seem to appear in the csv file:
cat /usr/share/vodafone-mobile-connect-card-driver-for-linux/resources/extra/networks.csv | grep MTN said:
41302,MTN Networks Dialog GSM,Sri Lanka
62130,MTN,NG
62401,MTN,Cameroon
64110,MTN Uganda,Uganda
65310,Swazi MTN,SZ
65510,MTN,South Africa

Here's how my E220 responds to the AT+COPS? in debug mode:
vodafone-mobile-connect-card-driver-for-linux-debug said:
2007/05/08 20:53 +0200 [-] SENDING ATCMD 'AT+COPS?\r\n'
2007/05/08 20:53 +0200 [-] NEW STATE: waiting
2007/05/08 20:53 +0200 [-] WAITING: DATA_RCV = '\r\n+COPS: 1,0,"FFFFFFFFFFFFFFFF",2\r\n\r\nOK\r\n'
2007/05/08 20:53 +0200 [-] WAITING: EOR detected, firing deferred
2007/05/08 20:53 +0200 [-] WAITING: CBK = [('FFFFFFFFFFFFFFFF', '2')]
2007/05/08 20:53 +0200 [-] NEW STATE: idle
Any idea why it does that? :confused:


About the gksudo thing.. yea.. Fedora Core doesn't come with it...

Just an idea, but couldn't you also put in a check if the current user is root in which case you can just execute wvdial straight without needing to bother about gksudo or whatever? - That way as a last resort on systems without gksudo you could still use it just by running the app as root.. :)

I'll see if I can get gksudo install on my system anyway though.. :cool:
 
Actually I'm using Fedora Core (6) ... and also I'm using a Huawei E220 (usb) not an E620.. ;)
I've also been running the app as root with su ..

I'm on MTN btw ... which does seem to appear in the csv file:


Here's how my E220 responds to the AT+COPS? in debug mode:

Any idea why it does that? :confused:


About the gksudo thing.. yea.. Fedora Core doesn't come with it...

Just an idea, but couldn't you also put in a check if the current user is root in which case you can just execute wvdial straight without needing to bother about gksudo or whatever? - That way as a last resort on systems without gksudo you could still use it just by running the app as root.. :)

I'll see if I can get gksudo install on my system anyway though.. :cool:

Well, then installing gksu from freshrpms will work for you. Thanks for the MTN netid, it will be in 0.9.5 final.

About the gksu/root thing... for the vast majority of users running an app as root is not a big thing, but you also have this security paranoids that doesn't like to run things as root. So we have put a big effort on making possible to run the app without having an id == 0. This has proven to be a big effort with all this small but annoying differences between distros. Check out the vmc.common.oal module :P
 
Well, then installing gksu from freshrpms will work for you. Thanks for the MTN netid, it will be in 0.9.5 final.
Hmm... you must have misunderstood me.. :o It is already in the current one.. :D

Anyway... I just installed gksu and hey.. now it's all working! :D
The only thing still wrong is the network name.. but oh well.. that's no crisis. :)

About the gksu/root thing... for the vast majority of users running an app as root is not a big thing, but you also have this security paranoids that doesn't like to run things as root. So we have put a big effort on making possible to run the app without having an id == 0. This has proven to be a big effort with all this small but annoying differences between distros. Check out the vmc.common.oal module :P
Yea.. I can sympathise with that.. the million and one distro's can be a pain to a developer I guess..
 
Last edited:
This is what is output when it hangs on "Authenticating ...":

peter@earth:~$ vodafone-mobile-connect-card-driver-for-linux-debug
2007/05/08 22:27 +0200 [-] Log opened.
2007/05/08 22:27 +0200 [-] twistd 2.5.0 (/usr/bin/python 2.5.1) starting up
2007/05/08 22:27 +0200 [-] reactor class: <class 'twisted.internet.gtk2reactor.Gtk2Reactor'>
2007/05/08 22:27 +0200 [-] Loading /usr/share/vodafone-mobile-connect-card-driver-for-linux/tap.py...
2007/05/08 22:27 +0200 [-] Loaded.
2007/05/08 22:27 +0200 [-] SENDING ATCMD 'ATE0\r\n'
2007/05/08 22:27 +0200 [-] NEW STATE: waiting
2007/05/08 22:27 +0200 [-] Shutting down...
2007/05/08 22:27 +0200 [-] Shutting down...
2007/05/08 22:27 +0200 [-] Shutting down...
2007/05/08 22:27 +0200 [-] Server Shut Down.

(Takes 3 clicks on the 'Cancel' button to get it to shut down)

Then, using the usual 'wvdial huawei_e620 strength internet 3gonly 384k' does connect OK.
 
sudo apt-get install libgtk2.0-dev libdbus-1-dev libdbus-glib-1-dev libglib-dev

Hi:)

Above done.
Code:
root@sky-desktop:/usr/src/notification-daemon-0.3.7# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking whether make sets $(MAKE)... (cached) yes
checking whether ln -s works... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for an ANSI C-conforming const... yes
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for size_t... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for perl... /usr/bin/perl
checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool

Dapper doesn't ships with python-dbus? try python2.4-dbus

Spot on :)

Code:
root@sky-desktop:/usr/src/notification-daemon-0.3.7# sudo apt-get install python2.4-dbus
Reading package lists... Done
Building dependency tree... Done
python2.4-dbus is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 117 not upgraded.
 
Hmm... you must have misunderstood me.. :o It is already in the current one.. :D

Anyway... I just installed gksu and hey.. now it's all working! :D
The only thing still wrong is the network name.. but oh well.. that's no crisis. :)


Yea.. I can sympathise with that.. the million and one distro's can be a pain to a developer I guess..

Yeah I misunderstood you, my bad :)

Gksu is a required dependency to install the rpm anyway, did you use the --nodeps option?

About the network name... your E220 response to the COPS? command is atypical. Dunno why does it respond on that way, its the standard way to ask the card "gimme the name/id of the network i'm registered with"
 
This is what is output when it hangs on "Authenticating ...":

peter@earth:~$ vodafone-mobile-connect-card-driver-for-linux-debug
2007/05/08 22:27 +0200 [-] Log opened.
2007/05/08 22:27 +0200 [-] twistd 2.5.0 (/usr/bin/python 2.5.1) starting up
2007/05/08 22:27 +0200 [-] reactor class: <class 'twisted.internet.gtk2reactor.Gtk2Reactor'>
2007/05/08 22:27 +0200 [-] Loading /usr/share/vodafone-mobile-connect-card-driver-for-linux/tap.py...
2007/05/08 22:27 +0200 [-] Loaded.
2007/05/08 22:27 +0200 [-] SENDING ATCMD 'ATE0\r\n'
2007/05/08 22:27 +0200 [-] NEW STATE: waiting
2007/05/08 22:27 +0200 [-] Shutting down...
2007/05/08 22:27 +0200 [-] Shutting down...
2007/05/08 22:27 +0200 [-] Shutting down...
2007/05/08 22:27 +0200 [-] Server Shut Down.

(Takes 3 clicks on the 'Cancel' button to get it to shut down)

Then, using the usual 'wvdial huawei_e620 strength internet 3gonly 384k' does connect OK.

Hi,

one of the first commands that VMCCdfL issues to the 3g device is ATE0 which means "I don't want you to echo my commands". Your card doesn't replies to that command and VMCCdfL just waits for the reply. So far the only card I had seen that sometimes responds buggy was the E220. It seems that some E620s act the same way too. Can you send me the firmware version of the card? Till we implement a workaround (basically timeouts for the AT commands), the solution for the E220 is unplugging & plugging it again. That resets its state machine. Does this *always* happens to you, or is it from time to time?

Closing the program has a 2 second delay to shutdown cleanly.
 
Last edited:
Hi:)

Above done.
Code:
root@sky-desktop:/usr/src/notification-daemon-0.3.7# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking whether make sets $(MAKE)... (cached) yes
checking whether ln -s works... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for an ANSI C-conforming const... yes
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for size_t... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for perl... /usr/bin/perl
checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool

apt-cache search XML::Parser
sudo apt-get install libxml-parser-perl

BTW: How about going to a cybercoffee downloading and burning Feisty there? Much better than waiting n weeks
 
Error connecting to internet

Hi,

I am running feisty fawn ubuntu and using a Huawei E620 datacard to connect to Vodacom SA. I have successfully installed and started the Vodacom Mobile Connect Card Driver for Linux but am having issues connecting to the internet.

The GUI shows that I have a signal from Vodacom ZA, I setup the APN host as internet, and static nameservers deselected. But cannot connect to the internet. The diagnostic tool shows the following error:

Code:
Checking if ppp interface is up...	ERROR

This output to the screen when run in debug mode:

Code:
2007/05/09 10:56 +0200 [-] WVDIAL: pppd closed their stdout!
2007/05/09 10:56 +0200 [-] WVDIAL: pppd closed their stderr.
2007/05/09 10:56 +0200 [-] WVDIAL: quitting


Any ideas?

Thanks

Richard
 
Hi,

I am running feisty fawn ubuntu and using a Huawei E620 datacard to connect to Vodacom SA. I have successfully installed and started the Vodacom Mobile Connect Card Driver for Linux but am having issues connecting to the internet.

The GUI shows that I have a signal from Vodacom ZA, I setup the APN host as internet, and static nameservers deselected. But cannot connect to the internet. The diagnostic tool shows the following error:

Code:
Checking if ppp interface is up...	ERROR

This output to the screen when run in debug mode:

Code:
2007/05/09 10:56 +0200 [-] WVDIAL: pppd closed their stdout!
2007/05/09 10:56 +0200 [-] WVDIAL: pppd closed their stderr.
2007/05/09 10:56 +0200 [-] WVDIAL: quitting


Any ideas?

Thanks

Richard

Hi Richard,

the diagnostics tool helps once you're connected to the internet and you don't know why you cannot surf, resolve names, whatever, but you gotta be connected. The output you've pasted is not really helpful as that is just the end of the connection attempt.

I don't know what are the connection settings for Vodacom SA. Perhaps Tazz_Tux could help here. BTW I must give credit to him as his initial wvdial.conf helped us loads, thanks Tazz_Tux :)
 
Yeah I misunderstood you, my bad :)

Gksu is a required dependency to install the rpm anyway, did you use the --nodeps option?
No.. actually I installed from the source package.. :)
I hardly ever install binary packages.. except when I'm initially setting up my system, thereafter I prefer to use source packages where I can.. :)

About the network name... your E220 response to the COPS? command is atypical. Dunno why does it respond on that way, its the standard way to ask the card "gimme the name/id of the network i'm registered with"
Oh darn.. :( but I'll not wallow in grief.. :D I know which network I'm on so the app doesn't have to tell me.. ;)
 
apt-cache search XML::Parser
sudo apt-get install libxml-parser-perl

Hi:)

I installed above and a few other packages to get all of the following installed:
libnotify-0.4.4
notification-daemon-0.3.7
notify-deamon-0.3.1
notify-python-0.1.1.

But still back to square one:(
Code:
root@sky-desktop:/usr/src/notify-daemon-0.3.1# /usr/bin/vodafone-mobile-connect-card-driver-for-linux-debug
2007/05/09 19:24 SAST [-] Log opened.
2007/05/09 19:24 SAST [-] twistd 2.2.0 (/usr/bin/python2.4 2.4.3) starting up
2007/05/09 19:24 SAST [-] reactor class: twisted.internet.gtk2reactor.Gtk2Reactor
2007/05/09 19:24 SAST [-] Loading /usr/share/vodafone-mobile-connect-card-driver-for-linux/tap.py...
2007/05/09 19:24 SAST [-] Traceback (most recent call last):
2007/05/09 19:24 SAST [-]   File "/usr/lib/python2.4/site-packages/twisted/application/app.py", line 159, in getApplication
2007/05/09 19:24 SAST [-]     application = service.loadApplication(filename, style, passphrase)
2007/05/09 19:24 SAST [-]   File "/usr/lib/python2.4/site-packages/twisted/application/service.py", line 301, in loadApplication
2007/05/09 19:24 SAST [-]     application = sob.loadValueFromFile(filename, 'application', passphrase)
2007/05/09 19:24 SAST [-]   File "/usr/lib/python2.4/site-packages/twisted/persisted/sob.py", line 208, in loadValueFromFile
2007/05/09 19:24 SAST [-]     exec fileObj in d, d
2007/05/09 19:24 SAST [-]   File "/usr/share/vodafone-mobile-connect-card-driver-for-linux/tap.py", line 33, in ?
2007/05/09 19:24 SAST [-]     from vmc.common.startup import create_service
2007/05/09 19:24 SAST [-]   File "/usr/lib/python2.4/site-packages/Vodafone_Mobile_Connect_Card_driver_for_Linux-0.9.5-py2.4.egg/vmc/common/startup.py", line 37, in ?
2007/05/09 19:24 SAST [-]     from vmc.controllers.pin import (AskPUKAndExecuteFuncController,
2007/05/09 19:24 SAST [-]   File "/usr/lib/python2.4/site-packages/Vodafone_Mobile_Connect_Card_driver_for_Linux-0.9.5-py2.4.egg/vmc/controllers/pin.py", line 28, in ?
2007/05/09 19:24 SAST [-]     from vmc.common.notification import show_error_notification
2007/05/09 19:24 SAST [-]   File "/usr/lib/python2.4/site-packages/Vodafone_Mobile_Connect_Card_driver_for_Linux-0.9.5-py2.4.egg/vmc/common/notification.py", line 23, in ?
2007/05/09 19:24 SAST [-]     import pynotify
2007/05/09 19:24 SAST [-] ImportError: No module named pynotify
2007/05/09 19:24 SAST [-] Failed to load application: No module named pynotify
2007/05/09 19:24 SAST [-] Traceback (most recent call last):
          File "/usr/bin/twistd", line 25, in ?
            run()
          File "/usr/lib/python2.4/site-packages/twisted/scripts/twistd.py", line 205, in run
            app.run(runApp, ServerOptions)
          File "/usr/lib/python2.4/site-packages/twisted/application/app.py", line 278, in run
            runApp(config)
          File "/usr/lib/python2.4/site-packages/twisted/scripts/twistd.py", line 195, in runApp
            application = app.getApplication(config, passphrase)
        --- <exception caught here> ---
          File "/usr/lib/python2.4/site-packages/twisted/application/app.py", line 159, in getApplication
            application = service.loadApplication(filename, style, passphrase)
          File "/usr/lib/python2.4/site-packages/twisted/application/service.py", line 301, in loadApplication
            application = sob.loadValueFromFile(filename, 'application', passphrase)
          File "/usr/lib/python2.4/site-packages/twisted/persisted/sob.py", line 208, in loadValueFromFile
            exec fileObj in d, d
          File "/usr/share/vodafone-mobile-connect-card-driver-for-linux/tap.py", line 33, in ?
            from vmc.common.startup import create_service
          File "/usr/lib/python2.4/site-packages/Vodafone_Mobile_Connect_Card_driver_for_Linux-0.9.5-py2.4.egg/vmc/common/startup.py", line 37, in ?
            from vmc.controllers.pin import (AskPUKAndExecuteFuncController,
          File "/usr/lib/python2.4/site-packages/Vodafone_Mobile_Connect_Card_driver_for_Linux-0.9.5-py2.4.egg/vmc/controllers/pin.py", line 28, in ?
            from vmc.common.notification import show_error_notification
          File "/usr/lib/python2.4/site-packages/Vodafone_Mobile_Connect_Card_driver_for_Linux-0.9.5-py2.4.egg/vmc/common/notification.py", line 23, in ?
            import pynotify
        exceptions.ImportError: No module named pynotify


Failed to load application: No module named pynotify
2007/05/09 19:24 SAST [-]
root@sky-desktop:/usr/src/notify-daemon-0.3.1#

BTW: How about going to a cybercoffee downloading and burning Feisty there? Much better than waiting n weeks

By my estimation that will still take 4-5hours to download the 700MB and cost about R200.
 
Hi:)

I installed above and a few other packages to get all of the following installed:
libnotify-0.4.4
notification-daemon-0.3.7
notify-deamon-0.3.1
notify-python-0.1.1.

But still back to square one:(
Code:
root@sky-desktop:/usr/src/notify-daemon-0.3.1# /usr/bin/vodafone-mobile-connect-card-driver-for-linux-debug
2007/05/09 19:24 SAST [-] Log opened.
2007/05/09 19:24 SAST [-] twistd 2.2.0 (/usr/bin/python2.4 2.4.3) starting up
2007/05/09 19:24 SAST [-] reactor class: twisted.internet.gtk2reactor.Gtk2Reactor
2007/05/09 19:24 SAST [-] Loading /usr/share/vodafone-mobile-connect-card-driver-for-linux/tap.py...
2007/05/09 19:24 SAST [-] Traceback (most recent call last):
2007/05/09 19:24 SAST [-]   File "/usr/lib/python2.4/site-packages/twisted/application/app.py", line 159, in getApplication
2007/05/09 19:24 SAST [-]     application = service.loadApplication(filename, style, passphrase)
2007/05/09 19:24 SAST [-]   File "/usr/lib/python2.4/site-packages/twisted/application/service.py", line 301, in loadApplication
2007/05/09 19:24 SAST [-]     application = sob.loadValueFromFile(filename, 'application', passphrase)
2007/05/09 19:24 SAST [-]   File "/usr/lib/python2.4/site-packages/twisted/persisted/sob.py", line 208, in loadValueFromFile
2007/05/09 19:24 SAST [-]     exec fileObj in d, d
2007/05/09 19:24 SAST [-]   File "/usr/share/vodafone-mobile-connect-card-driver-for-linux/tap.py", line 33, in ?
2007/05/09 19:24 SAST [-]     from vmc.common.startup import create_service
2007/05/09 19:24 SAST [-]   File "/usr/lib/python2.4/site-packages/Vodafone_Mobile_Connect_Card_driver_for_Linux-0.9.5-py2.4.egg/vmc/common/startup.py", line 37, in ?
2007/05/09 19:24 SAST [-]     from vmc.controllers.pin import (AskPUKAndExecuteFuncController,
2007/05/09 19:24 SAST [-]   File "/usr/lib/python2.4/site-packages/Vodafone_Mobile_Connect_Card_driver_for_Linux-0.9.5-py2.4.egg/vmc/controllers/pin.py", line 28, in ?
2007/05/09 19:24 SAST [-]     from vmc.common.notification import show_error_notification
2007/05/09 19:24 SAST [-]   File "/usr/lib/python2.4/site-packages/Vodafone_Mobile_Connect_Card_driver_for_Linux-0.9.5-py2.4.egg/vmc/common/notification.py", line 23, in ?
2007/05/09 19:24 SAST [-]     import pynotify
2007/05/09 19:24 SAST [-] ImportError: No module named pynotify
2007/05/09 19:24 SAST [-] Failed to load application: No module named pynotify
2007/05/09 19:24 SAST [-] Traceback (most recent call last):
          File "/usr/bin/twistd", line 25, in ?
            run()
          File "/usr/lib/python2.4/site-packages/twisted/scripts/twistd.py", line 205, in run
            app.run(runApp, ServerOptions)
          File "/usr/lib/python2.4/site-packages/twisted/application/app.py", line 278, in run
            runApp(config)
          File "/usr/lib/python2.4/site-packages/twisted/scripts/twistd.py", line 195, in runApp
            application = app.getApplication(config, passphrase)
        --- <exception caught here> ---
          File "/usr/lib/python2.4/site-packages/twisted/application/app.py", line 159, in getApplication
            application = service.loadApplication(filename, style, passphrase)
          File "/usr/lib/python2.4/site-packages/twisted/application/service.py", line 301, in loadApplication
            application = sob.loadValueFromFile(filename, 'application', passphrase)
          File "/usr/lib/python2.4/site-packages/twisted/persisted/sob.py", line 208, in loadValueFromFile
            exec fileObj in d, d
          File "/usr/share/vodafone-mobile-connect-card-driver-for-linux/tap.py", line 33, in ?
            from vmc.common.startup import create_service
          File "/usr/lib/python2.4/site-packages/Vodafone_Mobile_Connect_Card_driver_for_Linux-0.9.5-py2.4.egg/vmc/common/startup.py", line 37, in ?
            from vmc.controllers.pin import (AskPUKAndExecuteFuncController,
          File "/usr/lib/python2.4/site-packages/Vodafone_Mobile_Connect_Card_driver_for_Linux-0.9.5-py2.4.egg/vmc/controllers/pin.py", line 28, in ?
            from vmc.common.notification import show_error_notification
          File "/usr/lib/python2.4/site-packages/Vodafone_Mobile_Connect_Card_driver_for_Linux-0.9.5-py2.4.egg/vmc/common/notification.py", line 23, in ?
            import pynotify
        exceptions.ImportError: No module named pynotify


Failed to load application: No module named pynotify
2007/05/09 19:24 SAST [-]
root@sky-desktop:/usr/src/notify-daemon-0.3.1#



By my estimation that will still take 4-5hours to download the 700MB and cost about R200.

Well, I'm not fond of cybercoffees down there :) Here in Spain it'd cost you around 1-2 euros with the cd inclusive, that's why I mentioned it :)

You're missing the pynotify module, but u also said that you managed to install it. Whats the output of "dpkg -L python-notify" ?
 
Top
Sign up to the MyBroadband newsletter
X