Commit Graph

7 Commits

Author SHA1 Message Date
Felix Fietkau
081ebaca76 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>

SVN-Revision: 10774
2008-04-09 15:35:34 +00:00
Florian Fainelli
752737ff5b Allow more ttyUSB<N> devices to use the 3g script (#3098)
SVN-Revision: 10396
2008-02-05 15:43:33 +00:00
Felix Fietkau
738d610209 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>

SVN-Revision: 10347
2008-02-02 01:21:31 +00:00
Florian Fainelli
aadbdb185f Allow /dev/ttyUSB2 as wan device for 3g (#2269)
SVN-Revision: 8717
2007-09-09 18:41:49 +00:00
Felix Fietkau
a44c286fdb nuke mdev and replace it with hotplug2 :)
SVN-Revision: 6512
2007-03-04 20:31:53 +00:00
Felix Fietkau
ccc401e49e comgt: make firewalling changes when umts goes up or down
SVN-Revision: 5476
2006-11-09 05:40:27 +00:00
Felix Fietkau
8cc785bdf6 move comgt to trunk and add network scripts for umts compatible with the wrt54g3g
SVN-Revision: 5433
2006-11-04 00:21:54 +00:00