Commit Graph

36 Commits (b974ea4ba87398a0b165047bd20be9a96ba62527)

Author SHA1 Message Date
Jo-Philipp Wich 75a299db50 [package] /etc/functions.sh => /lib/functions.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32062 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-05 16:04:23 +00:00
Felix Fietkau d5f92195e6 comgt: remove old network scripts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 12:59:11 +00:00
Felix Fietkau 94b38ec0fd enable netifd by default and add its config variable to PKG_CONFIG_DEPENDS in a few relevant places
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31730 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 23:33:35 +00:00
John Crispin 3ae3351ffd comgt: Add scripts to comgt to retrieve the IMSI and CNUM to identify the SIM card.
Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29365 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-30 14:16:44 +00:00
Felix Fietkau a1c6024381 comgt: add missing file (fixes #10301)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-28 11:30:21 +00:00
Felix Fietkau a4d6c9c077 comgt: fix pin code config option
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28637 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-27 20:29:14 +00:00
Felix Fietkau f964407745 comgt: delay 3g bringup for sierra wireless cards until the card has locked on to the carrier, this helps with avoiding firmware hangs (thx, chris)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28636 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-27 20:29:10 +00:00
Felix Fietkau d624e7ea5d comgt: port 3g.sh to netifd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28634 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-27 20:29:00 +00:00
Felix Fietkau 24aa501714 comgt: clean up patch, rename gcom binary to comgt, but add a compatibility symlink
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27699 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-20 08:47:19 +00:00
Jo-Philipp Wich d417801714 [package] comgt: add tty hotplug remove handling, only iterate each tty once (#9211)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26816 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-04 08:19:07 +00:00
Jo-Philipp Wich b1d9016ac7 [package] comgt: move ifup invocation back into background subshell to prevent hotplug deadlocks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26810 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-03 19:45:55 +00:00
Jo-Philipp Wich 4d8958b11d [package] comgt: move 3g hotplug handling to tty subsystem, fixes race on coldplug (#9211)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26809 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-03 19:39:13 +00:00
Jo-Philipp Wich 15c3dfda84 [package] comgt: handle ttyHS* devices in usb hotplug, fix typo (#9046)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26175 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-15 09:09:05 +00:00
Florian Fainelli de5b1d7d6a [package] comgt: add ACM hotplug
This adds in support for ttyACM devices in the 3g hotplug script.

Signed-off-by: Matthew Eaton <wrt at divinehawk.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25621 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-20 17:24:25 +00:00
Nicolas Thill 8ddd70bcff package/comgt: only set pincode if it's supplied (closes: #7334), bump release number
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22561 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-09 16:55:56 +00:00
Markus Wigge d4e110704c LED handling fixes for WRT54-G3Gv2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22462 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-02 10:32:39 +00:00
Jo-Philipp Wich a5dd7363e3 [package] comgt: add usb hotplug handler to bring up 3g ifaces on boot or when the dongle is attached
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22061 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-04 18:11:34 +00:00
Jo-Philipp Wich e49c6bc4d7 [package] comgt: remove obsolete iptables support code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21574 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-26 20:14:42 +00:00
Jo-Philipp Wich 29da0b6c6c [package] comgt:
- localize variables
	- bring scripts in sync with updated ppp logic
	- bump package revision


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21285 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-01 18:01:36 +00:00
Jo-Philipp Wich f799ec128c [package] cleanup Makefiles (#7212)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21107 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-23 11:27:29 +00:00
Gabor Juhos 436c00dd9e package/comgt: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20457 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-26 14:27:58 +00:00
Felix Fietkau 5bdd866100 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-17 14:09:46 +00:00
Andy Boyett 0865b3bfcc change LEDs on wrt54g3g only
/proc/diag is not available on x86, so check for existance to avoid
errors...  Thanks Markus Wigge

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14044 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-15 18:02:08 +00:00
Travis Kemen 3b0936087a This series of patches closes the support gap on one of the explicitly
supported platforms (WRT54G3G) by adding direct support for the Sierra
Wireless 3G modems.
Signed-off-by:  RB <aoz.syn@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11898 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-21 20:36:16 +00:00
Felix Fietkau 85ae437eae fix the 3g interface configuration
The first problem is the "chat" command which misses "-E", so the
environment variable addressed inside the script is never used and
the script breaks.

The second problem is the that you cannot assume an Option card when
you did "not discover a Novatel".
In my case the script tried to set the mode with the Option
AT-command which failed on the Huawei stick.
Unfortunaltely I don't have a correct command for that device, so I
just want to start the connection without any mode set before thus using
the defaults.

Signed-off-by: Markus Wigge <mwigge@marcant.net>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10774 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-09 15:35:34 +00:00
Florian Fainelli f6759a2625 Allow more ttyUSB<N> devices to use the 3g script (#3098)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10396 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-05 15:43:33 +00:00
Felix Fietkau 2a189e94a6 Add CDMA/EVDO support to comgt package
This patch adds a chat script and makes some modifications to
/lib/network/3g.sh to enable seamless use of CDMA/EVDO modems in
addition to the existing GPRS/UMTS support.  Modifications to 3g.sh
are:
 - Added 'chat' variable to point at the appropriate script
 - Added 'evdo' and 'cdma' as acceptable 'service' values, and skip
the whole gcom initialization bit
 - Changed pppd connection speed from 460800 to more widely supported
115200; in my experience, this is not your actual connection speed,
but at what speed pppd sends setup commands to the interface.

This kinda eliminates the need for /etc/ppp/3g.connect - I think I've
replaced that functionality, but in a slightly more standardized
method, using the 'connect' variable understood by PPP.

Signed-off-by: RB<aoz.syn@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10347 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-02 01:21:31 +00:00
Florian Fainelli c640a3ab2d Allow /dev/ttyUSB2 as wan device for 3g (#2269)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8717 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-09 18:41:49 +00:00
Nicolas Thill 2180fa92a1 move package description to a separate definition, remove it when DESCRIPTION=TITLE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8659 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-07 08:34:51 +00:00
Felix Fietkau 12a81e859f refresh all package patches in the buildroot using quilt
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7490 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-04 11:25:53 +00:00
Felix Fietkau 713863458d add file type autodetection for the unpack command and nuke PKG_CAT:= in lots of places
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6582 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16 20:21:39 +00:00
Felix Fietkau ae39d6a370 nuke mdev and replace it with hotplug2 :)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-04 20:31:53 +00:00
Florian Fainelli bbb3cb3a3c Upgrade comgt to 0.32 (#1347)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-19 11:17:13 +00:00
Felix Fietkau 5a32593057 replace lots of manual install commands with INSTALL_* variables
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-23 00:29:07 +00:00
Felix Fietkau 1388b6313a comgt: make firewalling changes when umts goes up or down
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5476 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-09 05:40:27 +00:00
Felix Fietkau f3d45e2f17 move comgt to trunk and add network scripts for umts compatible with the wrt54g3g
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-04 00:21:54 +00:00