Closed GoogleCodeExporter closed 9 years ago
The are two stages of the modem installation. The first stage is switching off
the zerocd mode. You made it using usb_modeswitch.
It is possible to select "UserDefined" Zero CD Configuration and store your
data into the /usr/local/etc/usb_modeswitch.conf (do not forget commands
flashfs enable && flashfs save && flashfs commit). Or insert your command into
the "Device initial script" line.
The second stage of the modem installation is choosing of the data and user
interface ports. We can guarantee autodetection only for modems in our base
http://wl500g.googlecode.com/svn/trunk/cdma/files/usr/share/modem/modems.conf
Other modems may be or not detected.
See http://code.google.com/p/wl500g/issues/detail?id=305
Original comment by rssdev10@gmail.com
on 19 Apr 2012 at 6:22
Hello,
I have the same 3G modem (ZTE MF160J) from the Portuguese TMN. It does not work
in Ubuntu 12.04. The led-light turns red, then after 5 secs to green, but no
connection. I have also created an entry under "Mobile BroadBand" in the
network manager (see the attached picture).
Do you have instructions for how to make this 3G-modem to work in Linux?
$ lsusb
Bus 001 Device 002: ID 19d2:1542 ZTE WCDMA Technologies MSM
T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=19d2 ProdID=1542 Rev=00.01
S: Manufacturer=ZTE
S: Product=MF190J
S: SerialNumber=9BB27BAF013DFB85103C397DCB576 <snip>
C: #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
The actual 3G pen from TMN: http://tinyurl.com/7v6yvh9
Original comment by osmoma
on 2 May 2012 at 3:08
Attachments:
Try to switch off zerocd-mode using the command above:
usb_modeswitch -v 19d2 -p 1542 -V 19d2 -P 1544 -M
"5553424312345679000000000000061b000000020000000000000000000000"
Original comment by rssdev10@gmail.com
on 2 May 2012 at 5:31
For TMN PT do not put any data in the Username and Password field.
It must be blank!
Original comment by mdun...@portugalmail.pt
on 4 May 2012 at 9:19
Hello,
Username/password can either be blank or tmn/tmn.
I just tested these configurations on Windows.
The APN is normally set to automatic in Windows, but it can also be
"internet". This is default in Linux.
Study this picture: http://bildr.no/view/1173613
Check also this thread on Ubuntuforums.org
http://ubuntuforums.org/showthread.php?t=1971318
I have more tests to do.
Many thanks so far.
// Osmo Antero
Original comment by osmoma
on 5 May 2012 at 3:49
The username/password can be anything. They do not matter (at least in my
Windows test).
This command for mode switch is good. It disables automount of the
3G-modem�s internal USB-storage.
usb_modeswitch -v 19d2 -p 1542 -V 19d2 -P 1544 -M
"5553424312345679000000000000061b000000020000000000000000000000"
I was instructed to create a udev rule. It works fine too.
$ sudo gedit /etc/udev/rules.d/zte_eject.rules
ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="1542",
RUN+="/usr/bin/eject %k", OPTIONS+="last_rule"
Then re-connect the pin.
But still no internet.
The driver says CONNECT but then it cuts off after a second or two.
As said, still testing.
Original comment by osmoma
on 5 May 2012 at 4:13
Although it could work with or without the username/password, it is a good rule
to use the same parameters that the operator use(in the default TMN profile in
your software as you could see is blank) to avoid another problems as it does
not work yet!!
As I said after with to command line I posted the router recognize the modem
but I still can connect!
It continues returning the same error:
Script /tmp/ppp/peers/wan0_chat.sh finished (pid 810), status = 0x1
Connect script failed
Original comment by mdun...@portugalmail.pt
on 8 May 2012 at 11:45
This 3G-modem (ZTE MF160J) works fine in Ubuntu if I use wvdial, gnome-ppp or
pppd commands directly. Ubuntu's ordinary network manager (and its applet)
fails to connect. At the moment I'm happy to use gnome-ppp. It connects
willingly and the line is very stable. Please see details in:
http://ubuntuforums.org/showpost.php?p=11934679&postcount=16
The setup of gnome-ppp (or wvdial) is very easy.
Please see: http://bildr.no/view/1182904
See also the rule for mode-switch in the earlier posting.
(/etc/udev/rules.d/zte_eject.rules)
There is also a bug report on
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/994651
Please ask me if you need further information.
Original comment by osmoma
on 21 May 2012 at 6:07
After r4943 this modem, ZTE MF190J, is working great!
Thanks to all, but a special thanks to vampik! !-)
Original comment by mdun...@portugalmail.pt
on 21 Mar 2013 at 8:22
Original comment by lly.dev
on 22 Mar 2013 at 6:24
Original issue reported on code.google.com by
mdun...@portugalmail.pt
on 19 Apr 2012 at 11:21