Приобрел модем anydata e100a, но он не хочет соеденяться с нетом. в винде всё ок. Пины, пароли и всё прочее на модеме отключено. FreeBSD 7.0-stable. вот логи:kldstat:
Id Refs Address Size Name
2 1 0xc0a6d000 561c if_tun.ko
5 1 0xc0ac5000 3280 ubsa.ko
6 3 0xc0ac9000 3518 ucom.ko
7 1 0xc0acd000 405c uplcom.ko
8 1 0xc0ad2000 2d34 uhid.ko
13 1 0xc1d20000 4000 libiconv.ko
log.all
Sep 5 17:19:53 freebsd kernel: ucom0: <AnyDATA Corporation AnyDATA CDMA Products, class 0/0, rev 1.10/0.00, addr 2> on uhub0
[....]
Sep 5 17:24:32 freebsd kernel: ucom0: ubsa_request: STALLED
Sep 5 17:24:32 freebsd last message repeated 6 times
Sep 5 17:24:33 freebsd kernel: ucom0: ucomreadcb: IOERROR
Sep 5 17:25:14 freebsd ppp[792]: tun0: Warning: Chat script failed
Sep 5 17:25:14 freebsd ppp[792]: tun0: Warning: deflink: Unable to set physical to speed 0
ppp.log
Sep 5 16:22:51 freebsd ppp[736]: Phase: Using interface: tun0
Sep 5 16:22:51 freebsd ppp[736]: Phase: deflink: Created in closed state
Sep 5 16:22:51 freebsd ppp[736]: tun0: Command: default: disable pred1 deflate deflate24 protocomp acfcomp shortseq vj
Sep 5 16:22:51 freebsd ppp[736]: tun0: Command: default: deny pred1 deflate deflate24 protocomp acfcomp shortseq vj
Sep 5 16:22:51 freebsd ppp[736]: tun0: Command: default: set speed 115200
Sep 5 16:22:51 freebsd ppp[736]: tun0: Command: default: set timeout 160
Sep 5 16:22:51 freebsd ppp[736]: tun0: Command: default: enable dns
Sep 5 16:22:51 freebsd ppp[736]: tun0: Command: bwc: set device /dev/ttyU0
Sep 5 16:22:51 freebsd ppp[736]: tun0: Command: bwc: set phone *99****1
Sep 5 16:22:51 freebsd ppp[736]: tun0: Command: bwc: set dial ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5 "" AT OK-AT-OK ATE1Q0 OK \dATDT\T TIMEOUT 40 CONNECT
Sep 5 16:22:51 freebsd ppp[736]: tun0: Command: bwc: set login
Sep 5 16:22:51 freebsd ppp[736]: tun0: Command: bwc: set authname bwc
Sep 5 16:22:51 freebsd ppp[736]: tun0: Command: bwc: set authkey ********
Sep 5 16:22:51 freebsd ppp[736]: tun0: Command: bwc: set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
Sep 5 16:22:51 freebsd ppp[736]: tun0: Command: bwc: add default HISADDR
Sep 5 16:22:51 freebsd ppp[747]: tun0: Phase: PPP Started (ddial mode).
Sep 5 16:22:51 freebsd ppp[747]: tun0: Phase: bundle: Establish
Sep 5 16:22:51 freebsd ppp[747]: tun0: Phase: deflink: closed -> opening
Sep 5 16:22:51 freebsd ppp[747]: tun0: Phase: deflink: Connected!
Sep 5 16:22:51 freebsd ppp[747]: tun0: Phase: deflink: opening -> dial
Sep 5 16:22:51 freebsd ppp[747]: tun0: Chat: Phone: *99****1
Sep 5 16:22:51 freebsd ppp[747]: tun0: Chat: Send: AT^M
Sep 5 16:22:51 freebsd ppp[747]: tun0: Chat: Expect(5): OK
Sep 5 16:22:51 freebsd ppp[747]: tun0: Chat: Received: ^M
Sep 5 16:22:51 freebsd ppp[747]: tun0: Chat: Received: OK^M
Sep 5 16:22:51 freebsd ppp[747]: tun0: Chat: Send: ATE1Q0^M
Sep 5 16:22:51 freebsd ppp[747]: tun0: Chat: Expect(5): OK
Sep 5 16:22:51 freebsd ppp[747]: tun0: Chat: Received: ATE1Q0^M^M
Sep 5 16:22:51 freebsd ppp[747]: tun0: Chat: Received: OK^M
Sep 5 16:22:51 freebsd ppp[747]: tun0: Chat: Send: ATDT*99****1^M
Sep 5 16:22:53 freebsd ppp[747]: tun0: Chat: Expect(40): CONNECT
Sep 5 16:23:33 freebsd ppp[747]: tun0: Chat: Expect timeout
Sep 5 16:23:33 freebsd ppp[747]: tun0: Warning: Chat script failed
Sep 5 16:23:33 freebsd ppp[747]: tun0: Phase: deflink: dial -> hangup
Sep 5 16:23:33 freebsd ppp[747]: tun0: Warning: deflink: Unable to set physical to speed 0
Sep 5 16:23:33 freebsd ppp[747]: tun0: Phase: deflink: Disconnected!
Sep 5 16:23:33 freebsd ppp[747]: tun0: Warning: deflink: Unable to set physical to speed 0
Sep 5 16:23:34 freebsd ppp[747]: tun0: Phase: deflink: Connect time: 43 secs: 0 octets in, 0 octets out
Sep 5 16:23:34 freebsd ppp[747]: tun0: Phase: deflink: 0 packets in, 0 packets out
Sep 5 16:23:34 freebsd ppp[747]: tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Fri Sep 5 16:22:51 2008
ppp.conf
default:
set log Phase Chat LCP IPCP CCP tun command
ident user-ppp VERSION (built COMPILATIONDATE)
# Ensure that "device" references the correct serial port
# for your modem. (cuad0 = COM1, cuad1 = COM2)
#
set device /dev/ttyU0
set speed 115200
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
\"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
set timeout 180 # 3 minute idle timer (the default)
enable dns # request DNS info (for resolv.conf)
bwc:
#
# edit the next three lines and replace the items in caps with
# the values which have been assigned by your ISP.
#
set phone *99****1#
set authname bwc
set authkey internet
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
add default HISADDR # Add a (sticky) default route