netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: John Whitmore <arigead@gmail.com>
To: netdev@vger.kernel.org
Subject: GSM Modem management?
Date: Thu, 14 May 2015 20:44:43 +0100	[thread overview]
Message-ID: <20150514194442.GA21972@bamboo.electronicsoup> (raw)

Chances are that I'm in the wrong place here, "Linux" networking having so many
parts, many of which aren't in the kernel, that being said this might be
considered the centre of it all, so I thought I'd start here and see if
somebody would point me in a direction that was better placed to answer some
of my queries.

I'm working on a mobile system, RaspberryPi based, which has two 4G USB
Dongles for communications to the Internet. Both dongles are the same make and
model but have different service provider sims. The idea being that if one has
no coverage hopefully the other does have some degree of connectivity. I
started by connecting up to the internet using network-manager-gnome for a
single dongle. Unfortunately when I started a ping test after a couple of ping
messages it crashed the whole raspbian system without any message going to
/var/log/messages. Totally locked up. 

Having failed with the Network-manager I used wvdial to establish a connection
and that is as happy as larry, pinging away. 

My questions are to do with how to manage two identical Dongles. At present
when usb-modeswitch ejects them, from CD Drive, into modem configuration, when
"qmi_wwan" assignes a network name. I'd like to assign udev rules to assign
carrier based names to the network interfaces. I'm not sure if udev will
interfere with qmi_wwan? 

That is possibly the easy part. I then want to attach some logic to manage the
connections in a very basic manner and perhaps display connectivity
information to the user on the desktop. Could somebody tell me where this
functionality would be added? I assume that ppp has no idea about GSM signal
strength. It'd be great if a simple user space program could monitor DBus and
bring up or drop the connections as conditions change, but I guess that might
be asking for a little bit much. So if not ppp what sub-system controls the
Modem? 

Thanks for any help.

             reply	other threads:[~2015-05-14 19:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-14 19:44 John Whitmore [this message]
2015-05-14 20:20 ` GSM Modem management? Dan Williams
2015-05-14 21:34   ` John Whitmore
2015-05-15 14:27     ` Dan Williams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150514194442.GA21972@bamboo.electronicsoup \
    --to=arigead@gmail.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).