lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 14 May 2015 20:44:43 +0100
From:	John Whitmore <arigead@...il.com>
To:	netdev@...r.kernel.org
Subject: GSM Modem management?

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.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ