On Sat, May 29, 2010 at 12:25 PM, Daniel A. Nagy <[email protected]>wrote:
> Dear all, > > After some discussions on #openwrt-devel, I came up with a generic > framework for > supporting mobile USB sticks and, as an example, implemented support for > Huawei > E1750 and E1752. If you are happy with it, I shall proceed with > implementing > support for more hardware of this kind. > > The idea is to burden the user with no more than finding his device among > the > usb-modem-... packages and setting operator-specific stuff (apn name, > username/password, pin, etc.) in network.mobile... uci settings (also > doable via > luci under Netowrk/Interfaces/MOBILE) > > Tasks like writing usb-modeswitch configuration, hotplug scripts and > finding the > appropriate kernel module and modem device are taken care of. > > Please review. The sources are available from the svn feed at > https://www.epointsystem.org/svn/vending_machine/hotspot/trunk > under usb-modem and usb-modem-huawei-e175x, respectively. > One thing that would also be nice would be to add into the LuCI GUI to have similar functionality as is currently provided in X-WRT that shows the signal strength and other useful information by sending a few AT commands via /dev/usb. The scripts that is used to display the card info in x-wrt can be found at: http://code.google.com/p/x-wrt/source/browse/trunk/package/webif/files/www/cgi-bin/webif/status-wwaninfo.sh and http://code.google.com/p/x-wrt/source/browse/trunk/package/webif/files/usr/lib/webif/comgt.webif And a nice little country auto-apn configurator as well in: http://code.google.com/p/x-wrt/source/browse/trunk/package/webif/files/www/cgi-bin/webif/network.sh parsing in this CSV. http://code.google.com/p/x-wrt/source/browse/trunk/package/webif/files/usr/lib/webif/apn.csv
_______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
