Re: 3G USB support for NM 0.7.0

2010-02-14 Thread Keith Smith
Hi,

  Thanks everyone for your help, I tried installing glib 2.18 but got
a bunch of error messages... so I think I am done with 8.04 hardy, now
wish me luck with 10.04 Alpha :-)

K

On Mon, Feb 8, 2010 at 6:09 PM, Dan Williams d...@redhat.com wrote:
 On Sun, 2010-01-31 at 12:36 -0500, Keith Smith wrote:
 ok thanks very much, I ran the git, but now I have the latest glib
 2.16 for unbuntu, but the script asks for glib 2.18  ?? perhaps from
 redhat or debian??  any ideas on who I can get the autogen.sh to
 work, or modify the configure.ac to allow it to work with glib-2.0
 v2.16 ??  I assume you don't require features only available in 2.18?

 Yes, the configure script lists 2.18 as required since it requires stuff
 from glib-2.18.  I believe that is due to usage of g_set_error_literal()
 and possibly a few other things, which were only added in glib-2.18.

 glib 2.18 was released on 02-Sep-2008, so it's been around for quite a
 while.  It predates ModemManager, actually.  So it's not that
 unreasonable that ModemManager might depend new functionality provided
 by it.

 Dan

 see log attached,
 thanks,
 Keith.


 On Wed, Jan 20, 2010 at 4:55 AM, Jirka Klimes jkli...@redhat.com wrote:
  On Saturday 09 January 2010 17:26:21 Keith Smith wrote:
  Hi,
 
    Thanks for the tip.  I am a bit new to git, I see the mainline is
  only Dec 9 2008
  http://gitorious.org/modemmanager/mainline
    Will that be sufficient update to solve my problem?  I am currently
  running 0.0 modem manager 2008 11 26...
 
 
  Current ModemManager resides on freedesktop.org
  Clone it using:
  git clone git://anongit.freedesktop.org/ModemManager/ModemManager
 
  Jirka
 
 ___
 NetworkManager-list mailing list
 NetworkManager-list@gnome.org
 http://mail.gnome.org/mailman/listinfo/networkmanager-list



___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: 3G USB support for NM 0.7.0

2010-02-08 Thread Dan Williams
On Sun, 2010-01-31 at 12:36 -0500, Keith Smith wrote:
 ok thanks very much, I ran the git, but now I have the latest glib
 2.16 for unbuntu, but the script asks for glib 2.18  ?? perhaps from
 redhat or debian??  any ideas on who I can get the autogen.sh to
 work, or modify the configure.ac to allow it to work with glib-2.0
 v2.16 ??  I assume you don't require features only available in 2.18?

Yes, the configure script lists 2.18 as required since it requires stuff
from glib-2.18.  I believe that is due to usage of g_set_error_literal()
and possibly a few other things, which were only added in glib-2.18.

glib 2.18 was released on 02-Sep-2008, so it's been around for quite a
while.  It predates ModemManager, actually.  So it's not that
unreasonable that ModemManager might depend new functionality provided
by it.

Dan

 see log attached,
 thanks,
 Keith.
 
 
 On Wed, Jan 20, 2010 at 4:55 AM, Jirka Klimes jkli...@redhat.com wrote:
  On Saturday 09 January 2010 17:26:21 Keith Smith wrote:
  Hi,
 
Thanks for the tip.  I am a bit new to git, I see the mainline is
  only Dec 9 2008
  http://gitorious.org/modemmanager/mainline
Will that be sufficient update to solve my problem?  I am currently
  running 0.0 modem manager 2008 11 26...
 
 
  Current ModemManager resides on freedesktop.org
  Clone it using:
  git clone git://anongit.freedesktop.org/ModemManager/ModemManager
 
  Jirka
 
 ___
 NetworkManager-list mailing list
 NetworkManager-list@gnome.org
 http://mail.gnome.org/mailman/listinfo/networkmanager-list


___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: 3G USB support for NM 0.7.0

2010-01-31 Thread Keith Smith
ok thanks very much, I ran the git, but now I have the latest glib
2.16 for unbuntu, but the script asks for glib 2.18  ?? perhaps from
redhat or debian??  any ideas on who I can get the autogen.sh to
work, or modify the configure.ac to allow it to work with glib-2.0
v2.16 ??  I assume you don't require features only available in 2.18?

see log attached,
thanks,
Keith.


On Wed, Jan 20, 2010 at 4:55 AM, Jirka Klimes jkli...@redhat.com wrote:
 On Saturday 09 January 2010 17:26:21 Keith Smith wrote:
 Hi,

   Thanks for the tip.  I am a bit new to git, I see the mainline is
 only Dec 9 2008
 http://gitorious.org/modemmanager/mainline
   Will that be sufficient update to solve my problem?  I am currently
 running 0.0 modem manager 2008 11 26...


 Current ModemManager resides on freedesktop.org
 Clone it using:
 git clone git://anongit.freedesktop.org/ModemManager/ModemManager

 Jirka

a...@anna:/usr/src/ModemManager$ sudo /usr/src/ModemManager/autogen.sh 
configure.ac: installing `./install-sh'
configure.ac: installing `./missing'
marshallers/Makefile.am: installing `./compile'
marshallers/Makefile.am: installing `./depcomp'
Makefile.am: installing `./INSTALL'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... 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 whether gcc and cc understand -c and -o together... yes
checking for a BSD-compatible install... /usr/bin/install -c
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 grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
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 whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... gcc -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 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 xlf... no
checking for f77... 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 xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... 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... 98304
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 

Re: 3G USB support for NM 0.7.0

2010-01-20 Thread Jirka Klimes
On Saturday 09 January 2010 17:26:21 Keith Smith wrote:
 Hi,
 
   Thanks for the tip.  I am a bit new to git, I see the mainline is
 only Dec 9 2008
 http://gitorious.org/modemmanager/mainline
   Will that be sufficient update to solve my problem?  I am currently
 running 0.0 modem manager 2008 11 26...
 

Current ModemManager resides on freedesktop.org
Clone it using:
git clone git://anongit.freedesktop.org/ModemManager/ModemManager

Jirka
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: 3G USB support for NM 0.7.0

2010-01-09 Thread Keith Smith
Hi,

  Thanks for the tip.  I am a bit new to git, I see the mainline is
only Dec 9 2008
http://gitorious.org/modemmanager/mainline
  Will that be sufficient update to solve my problem?  I am currently
running 0.0 modem manager 2008 11 26...

  In mean time I will repartition my hard disk and try out Ubuntu 9.10
netbook remix
http://www.ubuntu.com/getubuntu/download-netbook

Thanks,
K

On Thu, Jan 7, 2010 at 2:02 AM, Dan Williams d...@redhat.com wrote:
 On Tue, 2009-12-29 at 16:10 -0500, Keith Smith wrote:
 Hello!

   Great info, ok I have the modem showing up in Network Manager under
 the Mobile BroadBand section
 (only after sending the usb_modeswitch to change to the VID 0x1199
 and PID 0x0025 )

   I then tried disabling my WiFi routers and selecting the CDMA
 device... however it fails to activate see attached debug logs...

   interesting info message is Network Manager detects that /ttyUSB0
 is CDMA device from 'sierra' . looks like a good start

 The device is connected problem was fixed recently in ModemManager
 git.  You'll want to get a newer version of MM or ask your distro to
 update it.  Specifically, I believe that something forgot to set the
 serial port connected flag back to FALSE when the device was disabled
 or disconnected.

 Dan

   ok looks like the broadcom wl drivers will be ready in distro
 10.04... right now the only thing going for this netbook is that the
 WiFi is working very well, so potentially having that fail in 9.x is
 too much risk for the moment... :-(

   BTW, I added a DNSsuperseed of OpenDNS to make sure that
 resolve.conf always has at least 1 OpenDNS entry.  Then the only
 thing left to configure is the routing tables... which come from pppd
 in command line

 Thanks for any/all help you can provide!
 K

 On Fri, Dec 25, 2009 at 3:29 PM, Dan Williams d...@redhat.com wrote:
  On Wed, 2009-12-23 at 19:54 -0500, Keith Smith wrote:
  Hi,
 
     I am trying to get my Sierra Wireless 598 CDMA USB modem to work.
  I am running Ubuntu 8.04 (Hardy) which came preloaded on Dell mini
  Inspiron 1210 (like a netbook)
  I cannot (easily) upgrade the kernel or distro due to custom Dell
  hardware kernel drivers (WiFi driver wl is proprietary).
  I am using dual boot (DOS/XP/Ubuntu) with GRUB 1.0 in the MBR, don't
  want to upgrade to GRUB2 (comes with Ubuntu 8.10) since I have a
  working freedos bootable USB drive with GRUB1 for dos installer (just
  in case).
  I believe that Ubunutu 9.x fully supports the Sierra Wireless 598 out
  of the box... cannot upgrade as stated above.
 
  So you might have some problems there; Ubuntu doesn't usually update
  software in their stable versions, preferring to backport patches.  And
  of course 8.04 is pretty old now, so it's unlikely to receive a ton of
  attention.
 
  NetworkManager 0.7.2 and 0.8 work quite a lot better with modems than
  what got shipped in Ubuntu 8.04, but it may not be possible to build
  0.7.2 on your system.
 
  I have upgraded to the latest released Network Manager 0.7.0 and
  Modem Manager 0.0+20081126t163712.bf522e3.mbm.f2-0ubuntu2
  using apt-get etc.
  I have downloaded, compiled and installed the latest Sierra Wireless
  driver (v.1.7.8) for my kernel (2.6.24)
 
  USB connects fine on Windows XP computer, device is activated.
  Kernel: 2.6.24-22-lpia
 
  I am able to connect to internet using the following:
 
  1) plug into any USB slot, kernel detects device, ignores tru-install
 
  2) I run usb_modeswitch to change from mass storage to modem
     kernel then detects it is Sierra Modem (dmesg)
     /ttyUSB0 to /ttyUSB4 devices are available
  3) wvdial into /dev/ttuUSB0
  4) pppd
  5) manually adding required routes to routing table (local IP, remote
  IP, and gateway)
  6) manually adding DNS entries in /etc/resolve.conf
 
    I can script items 1 to 4, but have trouble with 5 and 6 because
  Network manager will overwrite them...
 
    Now I understand there is a plug-in mechanism to add USB BroadBand
  Mobile devices to network manager, by copying existing examples...I
  will need help to find and configure them...
 
    Since the kernel does not detect the USB modem without sending
  usb_modeswitch... is there any hope to getting network manager to work
  with a D-Bus signal/message?
 
  We'd need some logs from NetworkManager (and I guess modem-manager) in
  that case to figure out what's going on.  The version of NM/MM shipped
  in 8.04 is pretty diverged from upstream as Ubuntu did some heavy
  customization on it, but it might be possible to figure out what's going
  on.  First off, you'll want to make sure that modem-manager is actually
  finding the modem.  I think even in that older version of MM you can run
  MM with --debug to get more information out of it.
 
  That version of NM/MM used HAL .fdi files to identify devices, so if the
  device isn't also listed in the .fdi files NM/MM won't be able to see
  it.  Check that first; use dpkg -L to get a list of the files in the
  

Re: 3G USB support for NM 0.7.0

2009-12-25 Thread Dan Williams
On Wed, 2009-12-23 at 19:54 -0500, Keith Smith wrote:
 Hi,
 
I am trying to get my Sierra Wireless 598 CDMA USB modem to work.
 I am running Ubuntu 8.04 (Hardy) which came preloaded on Dell mini
 Inspiron 1210 (like a netbook)
 I cannot (easily) upgrade the kernel or distro due to custom Dell
 hardware kernel drivers (WiFi driver wl is proprietary).
 I am using dual boot (DOS/XP/Ubuntu) with GRUB 1.0 in the MBR, don't
 want to upgrade to GRUB2 (comes with Ubuntu 8.10) since I have a
 working freedos bootable USB drive with GRUB1 for dos installer (just
 in case).
 I believe that Ubunutu 9.x fully supports the Sierra Wireless 598 out
 of the box... cannot upgrade as stated above.

So you might have some problems there; Ubuntu doesn't usually update
software in their stable versions, preferring to backport patches.  And
of course 8.04 is pretty old now, so it's unlikely to receive a ton of
attention.

NetworkManager 0.7.2 and 0.8 work quite a lot better with modems than
what got shipped in Ubuntu 8.04, but it may not be possible to build
0.7.2 on your system.

 I have upgraded to the latest released Network Manager 0.7.0 and
 Modem Manager 0.0+20081126t163712.bf522e3.mbm.f2-0ubuntu2
 using apt-get etc.
 I have downloaded, compiled and installed the latest Sierra Wireless
 driver (v.1.7.8) for my kernel (2.6.24)
 
 USB connects fine on Windows XP computer, device is activated.
 Kernel: 2.6.24-22-lpia
 
 I am able to connect to internet using the following:
 
 1) plug into any USB slot, kernel detects device, ignores tru-install
 
 2) I run usb_modeswitch to change from mass storage to modem
kernel then detects it is Sierra Modem (dmesg)
/ttyUSB0 to /ttyUSB4 devices are available
 3) wvdial into /dev/ttuUSB0
 4) pppd
 5) manually adding required routes to routing table (local IP, remote
 IP, and gateway)
 6) manually adding DNS entries in /etc/resolve.conf
 
   I can script items 1 to 4, but have trouble with 5 and 6 because
 Network manager will overwrite them...
 
   Now I understand there is a plug-in mechanism to add USB BroadBand
 Mobile devices to network manager, by copying existing examples...I
 will need help to find and configure them...
 
   Since the kernel does not detect the USB modem without sending
 usb_modeswitch... is there any hope to getting network manager to work
 with a D-Bus signal/message?

We'd need some logs from NetworkManager (and I guess modem-manager) in
that case to figure out what's going on.  The version of NM/MM shipped
in 8.04 is pretty diverged from upstream as Ubuntu did some heavy
customization on it, but it might be possible to figure out what's going
on.  First off, you'll want to make sure that modem-manager is actually
finding the modem.  I think even in that older version of MM you can run
MM with --debug to get more information out of it.

That version of NM/MM used HAL .fdi files to identify devices, so if the
device isn't also listed in the .fdi files NM/MM won't be able to see
it.  Check that first; use dpkg -L to get a list of the files in the
NetworkManager and ModemManager packages and see if anything is
under /usr/share/hal/.  Then poke around there and see if adding the USB
IDs for your Sierra device helps.  Be careful to only tag ports that
actually are AT-capable serial ports with IS-707-A.  Let me know how it
goes.

Dan


___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list