Hello,

i have a Huawei EC-325 Modem which is connected to my Computer running FreeBSD 6.3 with a mini-USB Cable, and supposedly is supported by the ubsa driver, as described here "http://www.freebsd.org/cgi/man.cgi?query=ubsa&sektion=4&manpath=FreeBSD+6.3-RELEASE ".

I modified my /boot/loader.conf to yield the following:
ubsa_load="YES"
ucom_load="YES"

After rebooting, kldstat shows the above modules loaded.

When i re-insert my Huawei Modem, dmesg displays:
ucom0: Huawei Technologies Huawei Mobile, rev 1.01/0.00, addr 2

My ppp.conf looks like this:
default:
set log Phase Chat LCP IPCP CCP tun command
ident user-ppp VERSION (built COMPILATIONDATE)

set device /dev/cuaU0
set speed 230400
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
\"\" AT OK-AT-OK AT&FE0V1X1&D2&C1S0=0 OK \\dATDT\\T TIMEOUT 40 CONNECT" set timeout 180 # 3 minute idle timer (the default) enable dns # request DNS info (for resolv.conf)

three:
        set phone \#77
        set authname card
        set authkey card
        disable ipv6cp
        set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
        add default HISADDR

But when i run ppp -ddial three , ppp.log reports this output:

Jan 28 15:32:57 testbed ppp[824]: Phase: Using interface: tun0
Jan 28 15:32:57 testbed ppp[824]: Phase: deflink: Created in closed state Jan 28 15:32:57 testbed ppp[824]: tun0: Command: default: ident user- ppp VERSION (built COMPILATIONDATE) Jan 28 15:32:57 testbed ppp[824]: tun0: Command: default: set device / dev/cuaU0 Jan 28 15:32:57 testbed ppp[824]: tun0: Command: default: set speed 230400 Jan 28 15:32:57 testbed ppp[824]: tun0: Command: default: set dial ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5 "" AT OK-AT-OK AT&FE0V1X1&D2&C1S0=0 OK \dATDT\T TIMEOUT 40 CONNECT Jan 28 15:32:57 testbed ppp[824]: tun0: Command: default: set timeout 180
Jan 28 15:32:57 testbed ppp[824]: tun0: Command: default: enable dns
Jan 28 15:32:57 testbed ppp[824]: tun0: Command: three: set phone #77
Jan 28 15:32:57 testbed ppp[824]: tun0: Command: three: set authname card Jan 28 15:32:57 testbed ppp[824]: tun0: Command: three: set authkey ********
Jan 28 15:32:57 testbed ppp[824]: tun0: Command: three: disable ipv6cp
Jan 28 15:32:57 testbed ppp[824]: tun0: Command: three: set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 Jan 28 15:32:57 testbed ppp[824]: tun0: Command: three: add default HISADDR
Jan 28 15:32:57 testbed ppp[825]: tun0: Phase: PPP Started (ddial mode).
Jan 28 15:32:57 testbed ppp[825]: tun0: Phase: bundle: Establish
Jan 28 15:32:57 testbed ppp[825]: tun0: Phase: deflink: closed -> opening
Jan 28 15:32:57 testbed ppp[825]: tun0: Phase: deflink: Connected!
Jan 28 15:32:57 testbed ppp[825]: tun0: Phase: deflink: opening -> dial
Jan 28 15:32:57 testbed ppp[825]: tun0: Chat: Phone: #77
Jan 28 15:32:57 testbed ppp[825]: tun0: Chat: Send: AT^M
Jan 28 15:32:57 testbed ppp[825]: tun0: Chat: Expect(5): OK
Jan 28 15:32:57 testbed ppp[825]: tun0: Chat: Received: ^M
Jan 28 15:32:57 testbed ppp[825]: tun0: Chat: Received: OK^M
Jan 28 15:32:57 testbed ppp[825]: tun0: Chat: Send: AT&FE0V1X1&D2&C1S0=0^M
Jan 28 15:32:57 testbed ppp[825]: tun0: Chat: Expect(5): OK
Jan 28 15:32:57 testbed ppp[825]: tun0: Chat: Received: AT&FE0V1X1&D2&C1S0=0^M^M
Jan 28 15:32:57 testbed ppp[825]: tun0: Chat: Received: OK^M
Jan 28 15:32:57 testbed ppp[825]: tun0: Chat: Send: ATDT#77^M
Jan 28 15:32:59 testbed ppp[825]: tun0: Chat: Expect(40): CONNECT
Jan 28 15:33:12 testbed ppp[825]: tun0: Chat: Received: ^M
Jan 28 15:33:12 testbed ppp[825]: tun0: Chat: Received: NO CARRIER^M
Jan 28 15:33:12 testbed ppp[825]: tun0: Warning: Chat script failed
Jan 28 15:33:12 testbed ppp[825]: tun0: Phase: deflink: dial -> hangup
Jan 28 15:33:12 testbed ppp[825]: tun0: Warning: deflink: Unable to set physical to speed 0
Jan 28 15:33:12 testbed ppp[825]: tun0: Phase: deflink: Disconnected!
Jan 28 15:33:12 testbed ppp[825]: tun0: Warning: deflink: Unable to set physical to speed 0 Jan 28 15:33:14 testbed ppp[825]: tun0: Phase: deflink: Connect time: 17 secs: 0 octets in, 0 octets out Jan 28 15:33:14 testbed ppp[825]: tun0: Phase: deflink: 0 packets in, 0 packets out Jan 28 15:33:14 testbed ppp[825]: tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Mon Jan 28 15:32:57 2008 Jan 28 15:33:14 testbed ppp[825]: tun0: Phase: deflink: hangup -> opening Jan 28 15:33:14 testbed ppp[825]: tun0: Phase: deflink: Enter pause (30) for redialing.

Additionally, after running ppp -ddial three, dmesg shows a lot of lines like these:
ucom0: ubsa_request: STALLED
ucom0: ubsa_request: STALLED
....

Can anyone help me to get this to work?
Thanks and best regards,
David

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to