|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
help configuring Huawei E182EHello Misc,
I'm having difficulty figuring out the configuration required to get Huawei E182E wireless dongle working with Telus mobility in Canada, I'm using 4.8-current, I have copied the verizon ppp.conf example from umsm(4) manpage only changing phone, authname, authkey without any success? Technical specification: http://tinyurl.com/2g3hszd My ppp.conf and error message from dialing ppp: http://pastebin.com/KvwcF48U Thank you all greatly for any help. |
|
|
Re: help configuring Huawei E182EDate: Sat, 25 Sep 2010 21:35:29 +0200
From: Joachim Schipper <joachim@...> To: misc@... Subject: Re: help configuring Huawei E182E Message-ID: <20100925193529.GB22522@...> Mail-Followup-To: misc@... References: <B678C347D7C941B7B12F5E90CF58E9BF.MAI@...> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <B678C347D7C941B7B12F5E90CF58E9BF.MAI@...> X-GnuPG-key: 8D6B3BAC X-GnuPG-fingerprint: 262B 1966 E79E FC2A FEA2 9BD1 845E B82C 8D6B 3BAC User-Agent: Mutt/1.5.20 (2010-08-04) On Sat, Sep 25, 2010 at 07:34:59AM -0500, Anony (chicken) Mous wrote: > I'm having difficulty [configuring] the Huawei E182E wireless dongle > (...) with Telus mobility in Canada, I'm using 4.8-current, I have > copied the verizon ppp.conf example from umsm(4) manpage only changing > phone, authname, authkey without any success? > > Technical specification: http://tinyurl.com/2g3hszd > > My ppp.conf and error message from dialing ppp: > http://pastebin.com/KvwcF48U > > Thank you all greatly for any help. Some hints: 1. You can use cu -l ttyU0 to communicate with the device, this is useful for debugging/trying what works. Note that the 'AT' stuff is called the Hayes command set and quite Googleable. 2. Find out how to see the messages from your device. If you use pppd(8), call chat with the -V option and look at /etc/ppp/connect-errors; I'm sure ppp(8), which you're using, has similar options. 3. The following configuration (somewhat) Works For Me with XS4ALL in the Netherlands, using a HUAWEI E180. (For anyone finding this via Google: This is *not* XS4ALL's mobile internet, which uses a more modern device; this is the temporary mobile internet they provide you when you request an ADSL connection.) You may be able to use it as a basis. If your device doesn't have a pin set, you may need to remove everything between AT+CPIN? and +CPIN\sREADY-AT+CPIN=0000-OK (inclusive). Joachim P.S. Please send all information inline next time - it's small, but makes it possible to answer your questions e.g. on the train. /etc/ppp/peers/xs4all: # Use USB device cuaU0 # Taken from the Windows settings 460800 # Leave hardware flow control and compression enabled #nocrtscts #noccp #nobsdcomp #novj # Connection settings noipdefault noauth defaultroute user xum28 # XS4ALL doesn't care about their own IP, but let them override our idea if # they ever begin caring. :192.168.255.1 ipcp-accept-remote # XXX -v seems useless? connect "chat -V -f /etc/ppp/chatscript-xs4all" /etc/ppp/chatscript-xs4all: # 10s timeout should be enough - it's directly connected! TIMEOUT 10 # Report if it works REPORT CONNECT # Abort on various errors ABORT BUSY ABORT 'NO CARRIER' ABORT ERROR # Initialize '' ATZ # Has the PIN been entered? OK AT+CPIN? # If the PIN has already been entered, we get '+CPIN: READY' and continue; if # not, we send the PIN (AT+CPIN=0000), wait for OK, and continue. # # The next part configures the device: 3 means "use whatever is available", # apparently. # # FInally, we wait a bit. If we don't, everything *appears* to work, but we get # NO CARRIER. It appears to be necessary to set TIMEOUT higher than the time we # wait (i.e. the number of \d sequences). +CPIN:\sREADY-AT+CPIN=0000-OK AT+cgdcont=3,"IP","umts.xs4all.nl" '' \d\d\d\d\d # Dial the standard code OK ATD*99# # Start connection and pass control back to pppd CONNECT \d\c |
|
|
Re: help configuring Huawei E182ESat, Sep 25, 2010 at 07:34:59AM -0500, Anony (chicken) Mous may have written:
> Hello Misc, > > I'm having difficulty figuring out the configuration required to get > Huawei E182E wireless dongle working with Telus mobility in > Canada, I'm using 4.8-current, I have copied the verizon ppp.conf > example from umsm(4) manpage only changing phone, authname, > authkey without any success? > > Technical specification: http://tinyurl.com/2g3hszd > > My ppp.conf and error message from dialing ppp: > http://pastebin.com/KvwcF48U > > Thank you all greatly for any help. Here's the ppp(8) configuration that I use for Telus Mobility (I have a Kyocera KPC650 PCMCIA card, which is also umsm(4)): ------------------------------------------------------------------------------ telusevdo: add default HISADDR allow users <elided> disable ipv6cp rename telusevdo set authkey <elided> set authname <elided>@1x.telusmobility.com set device /dev/cuaU0 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AAAT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 50 CONNECT" set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 set login set phone \#777 set server /tmp/telusevdoctl "" 0177 set speed 115200 ------------------------------------------------------------------------------ Matt. -- Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. -- Kernighan -- quoted by Quentyn Taylor |
|
|
|
|
|
Re: help configuring Huawei E182ESun, Sep 26, 2010 at 11:13:47AM -0500, Anony (chicken) Mous may have written:
> Thank you so much for all your kind help Mathew & Joachim, I have > used a hybrid of both your configuration and things are working > accept for DNS I have put a public OpenDNS (208.67.222.222) > servers in my /etc/resolv.conf to overcome this? Any advice on > fixing that would be appreciated. [ snip ] I can't speak from personal experience because I run a local name server on that machine and have "127.0.0.1" in its /etc/resolv.conf, but look up the "enable dns" and "resolv" commands in the ppp(8) manual page. Some combination of those should be able to get ppp automatically updating /etc/resolv.conf when you connect. Matt. P.S. It was pointed out to me in private mail that I had an error in my first reply. The Kyocera KPC650 is a CardBus, not PCMCIA, card. -- "Perfection [in design] is achieved not when there is nothing left to add, but rather when there is nothing left to take away." -- Antoine de Saint-Exupery |
| Free embeddable forum powered by Nabble | Forum Help |