The time now is Sat 25 May 2013, 14:06
All times are UTC - 4 |
| Author |
Message |
ecube

Joined: 11 Jul 2008 Posts: 88 Location: Västerås, Sweden
|
Posted: Sat 20 Dec 2008, 15:02 Post subject:
Huawei E169 USB modem on Puppy 4.1.1 Subject description: How to connect to internet using Huawei E169 USB modem on Puppy 4.1.1 |
|
Using NetworkManager 0.7
(http://projects.gnome.org/NetworkManager/),
my E169 modem connected flawlessly on Ubuntu8.10
But I have had no success with Puppy 4.1.1.
I have fetched NetworkManager from
http://ftp.gnome.org/pub/GNOME/sources/NetworkManager/0.7/
Trying to install it yielded:
checking for /etc/redhat-release... no
checking for /etc/SuSE-release... no
checking for /etc/fedora-release... no
checking for /etc/gentoo-release... no
checking for /etc/debian_version... no
checking for /etc/arch-release... no
checking for /etc/slackware-version... no
checking for /etc/frugalware-release... no
checking for /etc/mandriva-release... no
./configure: line 23018: lsb_release: command not found
Linux distribution autodetection failed, you must specify the distribution to target using --with-distro=DISTRO
1. Which choice of distro might work for puppy?
2. If installation isn't possible. How do I modify the recipe of
http://www.murga-linux.com/puppy/viewtopic.php?t=35565 ?
Olov
|
|
Back to top
|
|
 |
muggins
Joined: 20 Jan 2006 Posts: 6660 Location: lisbon
|
Posted: Sun 21 Dec 2008, 19:59 Post subject:
|
|
I have a Huawei E169 working with puppy-4.1.2. I just opened the file /etc/rc.d/rc.local in a text editor, added the following line:
| Code: | | modprobe usbserial vendor=0x12d1 product=0x1001 |
Then I used pupdial to probe for the modem. I think I then had problems with wvdial giving a very low connect speed, so I needed to open /etc/wvdial.conf in a text editor, and edit it to have:
| Code: |
[Dialer Defaults]
Modem = /dev/ttyUSB0
Baud = 460800
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Carrier Check = no
Dial Command = ATDT
Phone = *99#
Username = ppp
Password = ppp
Auto Reconnect = yes
[Dialer isp2]
Phone = MY2ISPPHONENUM
Username = MY2USERNAME
Password = MY2PASSWORD
Auto Reconnect = yes
|
I then rebooted, and the device is detected OK. Then ran pupdial & connected fine. I used an optus prepaid service, just recently on a train from Sydney to Melbourne, and while there were plenty of places with no signal, it switched from HSPA to GSM seamlessly.
Edit: Instead of relying on memory, I've added my current wvdial.conf, which I'm using to post this using an E169.
|
|
Back to top
|
|
 |
ecube

Joined: 11 Jul 2008 Posts: 88 Location: Västerås, Sweden
|
Posted: Tue 23 Dec 2008, 14:39 Post subject:
-- DONE -- |
|
Hi Muggins,
SUCCESS!
| Code: | --> WvDial: Internet dialer version 1.53
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATX1DT*99***1#
--> Waiting for carrier.
ATX1DT*99***1#
CONNECT 7200000
--> Carrier detected. Waiting for prompt.
--> Don't know what to do! Starting pppd and hoping for the best.
--> Starting pppd at Mon Dec 22 22:31:32 2008
--> pid of pppd: 17876 |
The only adjustment I did was to disable: "Carrier check" in
PupDial modem internet dialer.
With "Carrier check" enabled the response was
| Code: | --> WvDial: Internet dialer version 1.53
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT*99***1#
--> Waiting for carrier.
ATDT*99#
CONNECT
--> Carrier detected. Waiting for prompt.
--> Connected, but carrier signal lost! Retrying...
--> Sending: ATDT*99***1#
--> Waiting for carrier.
--> Timed out while dialing. Trying again.
--> Sending: ATDT*99***1#
--> Waiting for carrier.
--> Timed out while dialing. Trying again.
--> Sending: ATDT*99***1#
--> Waiting for carrier.
etc
--> Timed out while dialing. Trying again.
--> Disconnecting at Mon Dec 22 18:56:16 2008
|
Thanks very much for your help,
Olov
|
|
Back to top
|
|
 |
Schorhr
Joined: 21 Jan 2009 Posts: 10
|
Posted: Wed 21 Jan 2009, 12:29 Post subject:
|
|
Hello,
sorry for digging up this older post, but I have followed the steps mentioned here and ran into trouble, so I thought I'dd apend to this thread.
I am still a linux newbie, and just finished installing 4.1.2 on a DecTop, and used these instructions even though there seem a few out there (like this one which seem to be too complicated without some more experience)
First of all the modem would not respond, so I followed instructions from
http://linuxsoftware.co.nz/wiki/E169G
and after installing and running
usb_modeswitch -v 0x12d1 -p 0x1001 -H 1
I can use pupDial... but with little luck.
It works fine untill
| Code: | --> Carrier detected. Waiting for prompt.
--> Don't know what to do! Starting pppd and hoping for the best.
--> Starting pppd at Thu Dec 28 22:11:34 2006
--> pid of pppd: 2442 |
then "Disconnecting" after a while
("The PPP daemon has died: A modem hung up the phone (exit code = 16)").
/var/log/messages is mentioned after hungup, and shows this: | Quote: |
Dec 28 23:18:11 (none) daemon.notice pppd[29981]: pppd 2.4.4 started by root, uid 0
Dec 28 23:18:11 (none) daemon.debug pppd[29981]: using channel 15
Dec 28 23:18:11 (none) daemon.info pppd[29981]: Using interface ppp0
Dec 28 23:18:11 (none) daemon.notice pppd[29981]: Connect: ppp0 <--> /dev/ttyUSB0
Dec 28 23:18:11 (none) daemon.warn pppd[29981]: Warning - secret file /etc/ppp/pap-secrets has world and/or group access
Dec 28 23:18:11 (none) daemon.debug pppd[29981]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xd3f529c2> <pcomp> <accomp>]
Dec 28 23:18:11 (none) daemon.debug pppd[29981]: rcvd [LCP ConfReq id=0x27 <asyncmap 0x0> <auth chap MD5> <magic 0xedbd1c> <pcomp> <accomp>]
Dec 28 23:18:11 (none) daemon.debug pppd[29981]: sent [LCP ConfAck id=0x27 <asyncmap 0x0> <auth chap MD5> <magic 0xedbd1c> <pcomp> <accomp>]
Dec 28 23:18:11 (none) daemon.debug pppd[29981]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xd3f529c2> <pcomp> <accomp>]
Dec 28 23:18:11 (none) daemon.debug pppd[29981]: rcvd [LCP DiscReq id=0x28 magic=0xedbd1c]
Dec 28 23:18:11 (none) daemon.debug pppd[29981]: rcvd [CHAP Challenge id=0x1 <ec49dd296c3a207fa8c9db1c644394a1>, name = "UMTS_CHAP_SRVR"]
Dec 28 23:18:11 (none) daemon.warn pppd[29981]: Warning - secret file /etc/ppp/chap-secrets has world and/or group access
Dec 28 23:18:11 (none) daemon.debug pppd[29981]: sent [CHAP Response id=0x1 <5183114e59022572fba4a964b05f2f90>, name = "ppp"]
Dec 28 23:18:14 (none) daemon.debug pppd[29981]: rcvd [CHAP Challenge id=0x2 <1cadd40cd80fb15e785e87baf4774b0d>, name = "UMTS_CHAP_SRVR"]
Dec 28 23:18:14 (none) daemon.warn pppd[29981]: Warning - secret file /etc/ppp/chap-secrets has world and/or group access
Dec 28 23:18:14 (none) daemon.debug pppd[29981]: sent [CHAP Response id=0x2 <6ec3ab1e28e3d40f642c8a8c9a91b025>, name = "ppp"]
Dec 28 23:18:14 (none) daemon.debug pppd[29981]: rcvd [CHAP Success id=0x2 ""]
Dec 28 23:18:14 (none) daemon.info pppd[29981]: CHAP authentication succeeded
Dec 28 23:18:14 (none) daemon.notice pppd[29981]: CHAP authentication succeeded
Dec 28 23:18:14 (none) daemon.debug pppd[29981]: sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
Dec 28 23:18:14 (none) daemon.debug pppd[29981]: sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
Dec 28 23:18:14 (none) daemon.debug pppd[29981]: rcvd [LCP ProtRej id=0x29 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
Dec 28 23:18:14 (none) daemon.debug pppd[29981]: Protocol-Reject for 'Compression Control Protocol' (0x80fd) received
Dec 28 23:18:15 (none) daemon.debug pppd[29981]: rcvd [IPCP ConfNak id=0x1 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
Dec 28 23:18:15 (none) daemon.debug pppd[29981]: sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
Dec 28 23:18:16 (none) daemon.debug pppd[29981]: rcvd [IPCP ConfNak id=0x2 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
Dec 28 23:18:16 (none) daemon.debug pppd[29981]: sent [IPCP ConfReq id=0x3 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
Dec 28 23:18:17 (none) daemon.debug pppd[29981]: rcvd [IPCP ConfNak id=0x3 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
Dec 28 23:18:17 (none) daemon.debug pppd[29981]: sent [IPCP ConfReq id=0x4 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
Dec 28 23:18:18 (none) daemon.debug pppd[29981]: rcvd [IPCP ConfNak id=0x4 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
Dec 28 23:18:19 (none) daemon.debug pppd[29981]: sent [IPCP ConfReq id=0x5 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
Dec 28 23:18:20 (none) daemon.debug pppd[29981]: rcvd [IPCP ConfNak id=0x5 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
Dec 28 23:18:20 (none) daemon.debug pppd[29981]: sent [IPCP ConfReq id=0x6 <compress VJ 0f 01> <addr 0.0.0.0>]
Dec 28 23:18:21 (none) daemon.debug pppd[29981]: rcvd [IPCP ConfNak id=0x6 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
Dec 28 23:18:21 (none) daemon.debug pppd[29981]: sent [IPCP ConfReq id=0x7 <compress VJ 0f 01> <addr 0.0.0.0>]
Dec 28 23:18:22 (none) daemon.debug pppd[29981]: rcvd [IPCP ConfNak id=0x7 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
Dec 28 23:18:22 (none) daemon.debug pppd[29981]: sent [IPCP ConfReq id=0x8 <compress VJ 0f 01> <addr 0.0.0.0>]
Dec 28 23:18:23 (none) daemon.debug pppd[29981]: rcvd [IPCP ConfNak id=0x8 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
Dec 28 23:18:23 (none) daemon.debug pppd[29981]: sent [IPCP ConfReq id=0x9 <compress VJ 0f 01> <addr 0.0.0.0>]
Dec 28 23:18:23 (none) daemon.info pppd[29981]: Hangup (SIGHUP)
Dec 28 23:18:23 (none) daemon.notice pppd[29981]: Modem hangup
Dec 28 23:18:23 (none) daemon.notice pppd[29981]: Connection terminated.
Dec 28 23:18:23 (none) daemon.info pppd[29981]: Exit.
|
I don't know what to do, especially since UMTS connection here is a bit tricky at the moment (due to construction outside of the house this place is currently a faraday cage). I tried to connect using a usb extension though multiple times with the same result.
Is there a way to force gprs connection? (Or manually change network as sometimes I have to connect the e169g stick to a mac to choose o2 again?)
Or what could I possibly be doing wrong?
I am trying to connect to O2 Germany (Tchibo mobile), apn "webmobil1", user/pass blank (which will not work in pupDial, so I use ppp/ppp)
Thanks for any help
-Marcus
|
|
Back to top
|
|
 |
muggins
Joined: 20 Jan 2006 Posts: 6660 Location: lisbon
|
Posted: Wed 21 Jan 2009, 19:17 Post subject:
|
|
Marcus,
Rerwin is actively working on a .pet to automatically detect these devices. See this thread here, download & install his latest .pet, reboot, then plug in your E169, and if it's still not successfully detected, pm the log files to Rerwin.
|
|
Back to top
|
|
 |
Schorhr
Joined: 21 Jan 2009 Posts: 10
|
Posted: Wed 21 Jan 2009, 19:32 Post subject:
|
|
Thank you for redirecting me to the thread
-Marcus
|
|
Back to top
|
|
 |
Andmar

Joined: 17 Jul 2009 Posts: 8
|
Posted: Fri 17 Jul 2009, 14:15 Post subject:
Huawei E220 USB modem on Pupeee 4.2 |
|
Many thanks, Muggins! I have Asus Eee Pc 701 with default Xandros Linux distro and I wanted to try something new so I just installed Pupeee 4.2 to my 1 GB
USB drive. So far everything has worked just fine. At first I was really worried how I'm gonna set my network connections right, because I had used Huawei E220 modem with my Asus Eee without any problems and I had read lots of stories how difficult it could be with other linux distros. But it wasn't difficult at all! Your simple and straight forward instructions were just what I had been looking for. So thanks!
|
|
Back to top
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|