Sunday, April 19, 2009

Re: E220 as 3G Internet Access

Olivier CherrierTue, 13 Jan 2009 05:13:17 -0800
On Fri, Jan 09, 2009 at 02:15:21PM +0700, sonj...@gmail.com wrote:
> i have E220 from Huawei for mobile internet connection . Now i want
> using E220 as internet sharing from my obsd 4.4 box.
> i have found good link obsd 4.4 and E220 http://www.jensolsson.se/?p=123
> when i try connect get error like this bellow :
>
> Jan 9 13:54:15 bsd pppd[28000]: pppd 2.3.5 started by root, uid 0
> Jan 9 13:54:20 bsd pppd[28000]: Connect: ppp0 <--> /dev/ttyU0
> Jan 9 13:54:23 bsd pppd[28000]: Could not determine remote IP address
> Jan 9 13:54:23 bsd pppd[28000]: Connection terminated.
> Jan 9 13:54:25 bsd pppd: Exit.
>
> here my ppp conf :
>
> # cat /etc/ppp/qiandra
> /dev/ttyU0
> crtscts
> defaultroute
> noauth
> connect '/usr/sbin/chat -v -f /etc/ppp/qiandra.chat'
> #
> chat
> # cat /etc/ppp/qiandra.chat
> ABORT "NO CARRIER"
> ABORT "NO DIALTONE"
> ABORT "ERROR"
> ABORT "NO ANSWER"
> ABORT "BUSY"
> ABORT "Username/Password Incorrect"
> TIMEOUT 15
> "" "ATZ"
> OK "ATE1"
> OK "ATQ0V1E1S0=0&C1&D2+FCLASS=0"
> OK 'AT+CGDCONT=1,"IP","apnisp"'
> OK "ATDT*99***1#"
> TIMEOUT 30
> CONNECT \d\c
> #
> options
>
> # cat /etc/ppp/options
> modem
> defaultroute
> netmask 255.255.255.0
?
> ipcp-accept-local
> ipcp-accept-remote
> noipdefault
> lock
> auth
> usehostname
> #
> basic my isp using dhcp for ip address and i must set static dns for tunning.
>
> so how to solved my problem with E220 and OBSD 4.4 do i missing something ?
There are some configuration examples in the mailing-list archives. You
may have a look.
--
Olivier Cherrier

No comments:

Post a Comment