Re: Looking for advice about using NM with a Sprint U301 modem

2010-06-04 Thread Daenyth Blank
On Fri, Jun 4, 2010 at 01:01, John Mahoney jmaho...@waav.com wrote:
 I'm looking into the 598 now, and I'm having a little trouble getting
 NM to recognize it. I plug in the device and I can see by using dmesg
 that the sierra driver gets loaded, but when I run
 nm-connection-editor and try to edit the connection, it doesn't get
 listed in the device dropdown. Is there anything I have to do to get
 it recognized? I also haven't been able to find any good guides on
 setting it up. I'm running Ubuntu Karmic right now.

 On Sierra's site there is a
 link(http://www.sierrawireless.com/en/Support/knowledgebase.aspx) in
 the knowledge base which says:

 **Note: Ubuntu 9.10 distribution is not supported with Sierra
 Wireless modems. Ubuntu 9.04 distribution is still supported with all
 Sierra Wireless modems listed in this KB article.
 We expect the issue to be fixed in Ubuntu 10.4.

 If you require Ubuntu 9.10 and Sierra isn't working get a Novatel.

 --
 John


Thanks for the follow up John! So far the 598U seems to be working
alright, but I'll keep the novatel in mind if it should prove
unreliable. We do plan to upgrade our systems to be running lucid as
soon as possible, but they'll be on karmic a little longer yet.
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Looking for advice about using NM with a Sprint U301 modem

2010-06-04 Thread Eric Lee Elliott

On 06/04/2010 12:01 AM, John Mahoney wrote:

I'm looking into the 598 now, and I'm having a little trouble getting
NM to recognize it. I plug in the device and I can see by using dmesg
that the sierra driver gets loaded, but when I run
nm-connection-editor and try to edit the connection, it doesn't get
listed in the device dropdown. Is there anything I have to do to get
it recognized? I also haven't been able to find any good guides on
setting it up. I'm running Ubuntu Karmic right now.


On Sierra's site there is a
link(http://www.sierrawireless.com/en/Support/knowledgebase.aspx) in
the knowledge base which says:

**Note: Ubuntu 9.10 distribution is not supported with Sierra
Wireless modems. Ubuntu 9.04 distribution is still supported with all
Sierra Wireless modems listed in this KB article.
We expect the issue to be fixed in Ubuntu 10.4.

If you require Ubuntu 9.10 and Sierra isn't working get a Novatel.

--
John


I am sure Sierra knows better than I, even so, Ubu 9.10 connected both 
my 875U  885U Sierra modems to ATT with minimum effort. Simply boot 
9.10 Live CD, see it offer to install modem, click 5 times, then watch 
NM connect.

I gave a few Ubuntu 9.1 CDs to ATT stores for use as trouble shooting tool.

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


Re: Looking for advice about using NM with a Sprint U301 modem

2010-06-03 Thread Dan Williams
On Wed, 2010-06-02 at 12:54 -0400, Daenyth Blank wrote:
 On Wed, Jun 2, 2010 at 08:12, Daenyth Blank daen...@gmail.com wrote:
  On Wed, Jun 2, 2010 at 03:16, Dan Williams d...@redhat.com wrote:
  On Thu, 2010-05-27 at 12:04 -0400, Daenyth Blank wrote:
  Hi all,
 
  I'm trying to find out some information regarding the Sprint U301 3G
  modem. Our use case for it is that it will be attached to an embedded
  machine running ubuntu with networkmanager, in addition to our
  software. I've been trying to get this modem to connect reliably and
  am having some issues with it. I've added a udev rule so that the
  usbserial driver is given the correct vendor/product information, and
  it connects automatically on boot, but not reliably. Some boots it
  does not connect at all and won't until I reboot. Sometimes it
  disconnects while the machine is running. If it disconnects either by
  itself or from deactivating the connection, it will not connect again
  and needs a reboot. The nm/mm logs say that serial requests are timing
  out when it's in the non-connected state. I haven't been able to
  recover from the disconnected state with anything about a reboot.
 
  Is there anything we can do with this device to increase reliability?
  Failing that, can you recommend a usb Sprint 3G modem that will be
  more reliable? If there are none, do you have any recommendations for
  any brand of 3G modem that will work well in this situation? The boxes
  will be deployed where manual access is not easy, so it needs to be
  able to connect and recover from disconnections automatically, or at
  least in a way that can be scripted easily.
 
  You're certainly not going to be able to get the WiMAX part of the
  device working automatically since we dont' have drivers for the Beceem
  chipset of the WiMAX side.  However, the EVDO side should work with
  cdc-acm, so if you have to use 'usb-serial' there's already something
  wrong.
 
  I suspect you need to use usb_modeswitch to eject the fake CD that the
  device provides too, correct?
 
  Honestly, UTStarcom-based devices (which the 300 and 301 are rebrands
  of) often don't work that well as you've found out.  I'd recommend a
  Sierra device instead, as Sierra is also very active in Linux kernel
  development and has great support for their devices.
 
  Dan
 
 
 
  Thanks Forest, Dan. I'm going to recommend to our client that we use
  the Sierra cards. Appreciate the advice!
 
 
 I'm looking into the 598 now, and I'm having a little trouble getting
 NM to recognize it. I plug in the device and I can see by using dmesg
 that the sierra driver gets loaded, but when I run
 nm-connection-editor and try to edit the connection, it doesn't get
 listed in the device dropdown. Is there anything I have to do to get
 it recognized? I also haven't been able to find any good guides on
 setting it up. I'm running Ubuntu Karmic right now.

It should show up in the menu after a few seconds.  Try grabbing some
debugging information as described here to figure out why things aren't
working:

http://live.gnome.org/NetworkManager/Debugging

under the Debugging NetworkManager 0.8.x 3G connections section.
Basically, we want to get modem-manager logs to find out why the modem
doesn't appear to be found.

Dan


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


Re: Looking for advice about using NM with a Sprint U301 modem

2010-06-03 Thread Daenyth Blank
On Thu, Jun 3, 2010 at 11:19, Dan Williams d...@redhat.com wrote:
 On Wed, 2010-06-02 at 12:54 -0400, Daenyth Blank wrote:
 On Wed, Jun 2, 2010 at 08:12, Daenyth Blank daen...@gmail.com wrote:
  On Wed, Jun 2, 2010 at 03:16, Dan Williams d...@redhat.com wrote:
  On Thu, 2010-05-27 at 12:04 -0400, Daenyth Blank wrote:
  Hi all,
 
  I'm trying to find out some information regarding the Sprint U301 3G
  modem. Our use case for it is that it will be attached to an embedded
  machine running ubuntu with networkmanager, in addition to our
  software. I've been trying to get this modem to connect reliably and
  am having some issues with it. I've added a udev rule so that the
  usbserial driver is given the correct vendor/product information, and
  it connects automatically on boot, but not reliably. Some boots it
  does not connect at all and won't until I reboot. Sometimes it
  disconnects while the machine is running. If it disconnects either by
  itself or from deactivating the connection, it will not connect again
  and needs a reboot. The nm/mm logs say that serial requests are timing
  out when it's in the non-connected state. I haven't been able to
  recover from the disconnected state with anything about a reboot.
 
  Is there anything we can do with this device to increase reliability?
  Failing that, can you recommend a usb Sprint 3G modem that will be
  more reliable? If there are none, do you have any recommendations for
  any brand of 3G modem that will work well in this situation? The boxes
  will be deployed where manual access is not easy, so it needs to be
  able to connect and recover from disconnections automatically, or at
  least in a way that can be scripted easily.
 
  You're certainly not going to be able to get the WiMAX part of the
  device working automatically since we dont' have drivers for the Beceem
  chipset of the WiMAX side.  However, the EVDO side should work with
  cdc-acm, so if you have to use 'usb-serial' there's already something
  wrong.
 
  I suspect you need to use usb_modeswitch to eject the fake CD that the
  device provides too, correct?
 
  Honestly, UTStarcom-based devices (which the 300 and 301 are rebrands
  of) often don't work that well as you've found out.  I'd recommend a
  Sierra device instead, as Sierra is also very active in Linux kernel
  development and has great support for their devices.
 
  Dan
 
 
 
  Thanks Forest, Dan. I'm going to recommend to our client that we use
  the Sierra cards. Appreciate the advice!
 

 I'm looking into the 598 now, and I'm having a little trouble getting
 NM to recognize it. I plug in the device and I can see by using dmesg
 that the sierra driver gets loaded, but when I run
 nm-connection-editor and try to edit the connection, it doesn't get
 listed in the device dropdown. Is there anything I have to do to get
 it recognized? I also haven't been able to find any good guides on
 setting it up. I'm running Ubuntu Karmic right now.

 It should show up in the menu after a few seconds.  Try grabbing some
 debugging information as described here to figure out why things aren't
 working:

 http://live.gnome.org/NetworkManager/Debugging

 under the Debugging NetworkManager 0.8.x 3G connections section.
 Basically, we want to get modem-manager logs to find out why the modem
 doesn't appear to be found.

 Dan




I'll try to get that today, first with a normal install and then with
the configs that Forest suggested.
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Looking for advice about using NM with a Sprint U301 modem

2010-06-03 Thread Daenyth Blank
On Thu, Jun 3, 2010 at 11:27, Daenyth Blank daen...@gmail.com wrote:
 On Thu, Jun 3, 2010 at 11:19, Dan Williams d...@redhat.com wrote:
 On Wed, 2010-06-02 at 12:54 -0400, Daenyth Blank wrote:
 On Wed, Jun 2, 2010 at 08:12, Daenyth Blank daen...@gmail.com wrote:
  On Wed, Jun 2, 2010 at 03:16, Dan Williams d...@redhat.com wrote:
  On Thu, 2010-05-27 at 12:04 -0400, Daenyth Blank wrote:
  Hi all,
 
  I'm trying to find out some information regarding the Sprint U301 3G
  modem. Our use case for it is that it will be attached to an embedded
  machine running ubuntu with networkmanager, in addition to our
  software. I've been trying to get this modem to connect reliably and
  am having some issues with it. I've added a udev rule so that the
  usbserial driver is given the correct vendor/product information, and
  it connects automatically on boot, but not reliably. Some boots it
  does not connect at all and won't until I reboot. Sometimes it
  disconnects while the machine is running. If it disconnects either by
  itself or from deactivating the connection, it will not connect again
  and needs a reboot. The nm/mm logs say that serial requests are timing
  out when it's in the non-connected state. I haven't been able to
  recover from the disconnected state with anything about a reboot.
 
  Is there anything we can do with this device to increase reliability?
  Failing that, can you recommend a usb Sprint 3G modem that will be
  more reliable? If there are none, do you have any recommendations for
  any brand of 3G modem that will work well in this situation? The boxes
  will be deployed where manual access is not easy, so it needs to be
  able to connect and recover from disconnections automatically, or at
  least in a way that can be scripted easily.
 
  You're certainly not going to be able to get the WiMAX part of the
  device working automatically since we dont' have drivers for the Beceem
  chipset of the WiMAX side.  However, the EVDO side should work with
  cdc-acm, so if you have to use 'usb-serial' there's already something
  wrong.
 
  I suspect you need to use usb_modeswitch to eject the fake CD that the
  device provides too, correct?
 
  Honestly, UTStarcom-based devices (which the 300 and 301 are rebrands
  of) often don't work that well as you've found out.  I'd recommend a
  Sierra device instead, as Sierra is also very active in Linux kernel
  development and has great support for their devices.
 
  Dan
 
 
 
  Thanks Forest, Dan. I'm going to recommend to our client that we use
  the Sierra cards. Appreciate the advice!
 

 I'm looking into the 598 now, and I'm having a little trouble getting
 NM to recognize it. I plug in the device and I can see by using dmesg
 that the sierra driver gets loaded, but when I run
 nm-connection-editor and try to edit the connection, it doesn't get
 listed in the device dropdown. Is there anything I have to do to get
 it recognized? I also haven't been able to find any good guides on
 setting it up. I'm running Ubuntu Karmic right now.

 It should show up in the menu after a few seconds.  Try grabbing some
 debugging information as described here to figure out why things aren't
 working:

 http://live.gnome.org/NetworkManager/Debugging

 under the Debugging NetworkManager 0.8.x 3G connections section.
 Basically, we want to get modem-manager logs to find out why the modem
 doesn't appear to be found.

 Dan




 I'll try to get that today, first with a normal install and then with
 the configs that Forest suggested.


I waited a few minutes as you suggested and then I was able to add the
connection... I must have just been impatient during my testing the
other day. Thanks for the help!
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Looking for advice about using NM with a Sprint U301 modem

2010-06-03 Thread John Mahoney
 I'm looking into the 598 now, and I'm having a little trouble getting
 NM to recognize it. I plug in the device and I can see by using dmesg
 that the sierra driver gets loaded, but when I run
 nm-connection-editor and try to edit the connection, it doesn't get
 listed in the device dropdown. Is there anything I have to do to get
 it recognized? I also haven't been able to find any good guides on
 setting it up. I'm running Ubuntu Karmic right now.

On Sierra's site there is a
link(http://www.sierrawireless.com/en/Support/knowledgebase.aspx) in
the knowledge base which says:

**Note: Ubuntu 9.10 distribution is not supported with Sierra
Wireless modems. Ubuntu 9.04 distribution is still supported with all
Sierra Wireless modems listed in this KB article.
We expect the issue to be fixed in Ubuntu 10.4.

If you require Ubuntu 9.10 and Sierra isn't working get a Novatel.

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


Re: Looking for advice about using NM with a Sprint U301 modem

2010-06-02 Thread Dan Williams
On Thu, 2010-05-27 at 12:04 -0400, Daenyth Blank wrote:
 Hi all,
 
 I'm trying to find out some information regarding the Sprint U301 3G
 modem. Our use case for it is that it will be attached to an embedded
 machine running ubuntu with networkmanager, in addition to our
 software. I've been trying to get this modem to connect reliably and
 am having some issues with it. I've added a udev rule so that the
 usbserial driver is given the correct vendor/product information, and
 it connects automatically on boot, but not reliably. Some boots it
 does not connect at all and won't until I reboot. Sometimes it
 disconnects while the machine is running. If it disconnects either by
 itself or from deactivating the connection, it will not connect again
 and needs a reboot. The nm/mm logs say that serial requests are timing
 out when it's in the non-connected state. I haven't been able to
 recover from the disconnected state with anything about a reboot.
 
 Is there anything we can do with this device to increase reliability?
 Failing that, can you recommend a usb Sprint 3G modem that will be
 more reliable? If there are none, do you have any recommendations for
 any brand of 3G modem that will work well in this situation? The boxes
 will be deployed where manual access is not easy, so it needs to be
 able to connect and recover from disconnections automatically, or at
 least in a way that can be scripted easily.

You're certainly not going to be able to get the WiMAX part of the
device working automatically since we dont' have drivers for the Beceem
chipset of the WiMAX side.  However, the EVDO side should work with
cdc-acm, so if you have to use 'usb-serial' there's already something
wrong.

I suspect you need to use usb_modeswitch to eject the fake CD that the
device provides too, correct?

Honestly, UTStarcom-based devices (which the 300 and 301 are rebrands
of) often don't work that well as you've found out.  I'd recommend a
Sierra device instead, as Sierra is also very active in Linux kernel
development and has great support for their devices.

Dan

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


Re: Looking for advice about using NM with a Sprint U301 modem

2010-06-02 Thread Daenyth Blank
On Wed, Jun 2, 2010 at 08:12, Daenyth Blank daen...@gmail.com wrote:
 On Wed, Jun 2, 2010 at 03:16, Dan Williams d...@redhat.com wrote:
 On Thu, 2010-05-27 at 12:04 -0400, Daenyth Blank wrote:
 Hi all,

 I'm trying to find out some information regarding the Sprint U301 3G
 modem. Our use case for it is that it will be attached to an embedded
 machine running ubuntu with networkmanager, in addition to our
 software. I've been trying to get this modem to connect reliably and
 am having some issues with it. I've added a udev rule so that the
 usbserial driver is given the correct vendor/product information, and
 it connects automatically on boot, but not reliably. Some boots it
 does not connect at all and won't until I reboot. Sometimes it
 disconnects while the machine is running. If it disconnects either by
 itself or from deactivating the connection, it will not connect again
 and needs a reboot. The nm/mm logs say that serial requests are timing
 out when it's in the non-connected state. I haven't been able to
 recover from the disconnected state with anything about a reboot.

 Is there anything we can do with this device to increase reliability?
 Failing that, can you recommend a usb Sprint 3G modem that will be
 more reliable? If there are none, do you have any recommendations for
 any brand of 3G modem that will work well in this situation? The boxes
 will be deployed where manual access is not easy, so it needs to be
 able to connect and recover from disconnections automatically, or at
 least in a way that can be scripted easily.

 You're certainly not going to be able to get the WiMAX part of the
 device working automatically since we dont' have drivers for the Beceem
 chipset of the WiMAX side.  However, the EVDO side should work with
 cdc-acm, so if you have to use 'usb-serial' there's already something
 wrong.

 I suspect you need to use usb_modeswitch to eject the fake CD that the
 device provides too, correct?

 Honestly, UTStarcom-based devices (which the 300 and 301 are rebrands
 of) often don't work that well as you've found out.  I'd recommend a
 Sierra device instead, as Sierra is also very active in Linux kernel
 development and has great support for their devices.

 Dan



 Thanks Forest, Dan. I'm going to recommend to our client that we use
 the Sierra cards. Appreciate the advice!


I'm looking into the 598 now, and I'm having a little trouble getting
NM to recognize it. I plug in the device and I can see by using dmesg
that the sierra driver gets loaded, but when I run
nm-connection-editor and try to edit the connection, it doesn't get
listed in the device dropdown. Is there anything I have to do to get
it recognized? I also haven't been able to find any good guides on
setting it up. I'm running Ubuntu Karmic right now.

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


Re: Looking for advice about using NM with a Sprint U301 modem

2010-06-02 Thread Forest Bond
Hi Daenyth,

On Wed, Jun 02, 2010 at 12:54:40PM -0400, Daenyth Blank wrote:
 I'm looking into the 598 now, and I'm having a little trouble getting
 NM to recognize it. I plug in the device and I can see by using dmesg
 that the sierra driver gets loaded, but when I run
 nm-connection-editor and try to edit the connection, it doesn't get
 listed in the device dropdown. Is there anything I have to do to get
 it recognized? I also haven't been able to find any good guides on
 setting it up. I'm running Ubuntu Karmic right now.

In Hardy, I have to use the option driver:

  modprobe option
  echo -n '1199 0025' /sys/bus/usb-serial/drivers/option1/new_id
  
I use these udev rules to automate this:

  SUBSYSTEM==usb, SYSFS{idVendor}==1199, SYSFS{idProduct}==0025, 
RUN+=/sbin/modprobe option
  SUBSYSTEM==drivers, DEVPATH==/bus/usb-serial/drivers/option1, 
RUN+=/path/to/new_id 1199 0025 %p
  SUBSYSTEM==tty, ATTRS{idVendor}==1199, ATTRS{idProduct}==0025, 
SYMLINK+=modem

This is the script called new_id:


#!/bin/sh

if [ $# -lt 3 ]; then
  echo 'too few arguments' 2
  exit 1
fi

VENDOR=${1}
PRODUCT=${2}
DEVPATH=${3}

echo -n ${VENDOR} ${PRODUCT} /sys/${DEVPATH}/new_id


I believe that proper support from Sierra is forthcoming ... ?

Hope this helps.

Thanks,
Forest


signature.asc
Description: Digital signature
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Looking for advice about using NM with a Sprint U301 modem

2010-05-27 Thread Forest Bond
Hi Daenyth,

On Thu, May 27, 2010 at 12:04:55PM -0400, Daenyth Blank wrote:
 I'm trying to find out some information regarding the Sprint U301 3G
 modem. Our use case for it is that it will be attached to an embedded
 machine running ubuntu with networkmanager, in addition to our
 software. I've been trying to get this modem to connect reliably and
 am having some issues with it. I've added a udev rule so that the
 usbserial driver is given the correct vendor/product information, and
 it connects automatically on boot, but not reliably. Some boots it
 does not connect at all and won't until I reboot. Sometimes it
 disconnects while the machine is running. If it disconnects either by
 itself or from deactivating the connection, it will not connect again
 and needs a reboot. The nm/mm logs say that serial requests are timing
 out when it's in the non-connected state. I haven't been able to
 recover from the disconnected state with anything about a reboot.
 
 Is there anything we can do with this device to increase reliability?
 Failing that, can you recommend a usb Sprint 3G modem that will be
 more reliable? If there are none, do you have any recommendations for
 any brand of 3G modem that will work well in this situation? The boxes
 will be deployed where manual access is not easy, so it needs to be
 able to connect and recover from disconnections automatically, or at
 least in a way that can be scripted easily.

I ran into the same difficulties on a project.  The device is unreliable, I
believe due to a driver compatibility issue (I think the device needs some
special handling that cdc-acm does not provide).  I did some debugging with it
but lacked the time and expertise to finish the job.

See this thread on linux-usb:

  http://kerneltrap.org/mailarchive/linux-usb/2010/2/19/6257991

Interesting that you are using the generic usb-serial driver.  cdc-acm
automatically bound to mine when I plugged it in.

We ended up switching to the Sierra Wireless 598U 3G modem for our project.  It
works well with the option driver.

Hope this helps.

Thanks,
Forest
-- 
Forest Bond
http://www.alittletooquiet.net
http://www.pytagsfs.org


signature.asc
Description: Digital signature
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list