nixp.ru v3.0

16 ноября 2024,
суббота,
20:55:21 MSK

Аватар пользователя Steck
Steck написал 14 ноября 2004 года в 23:47 (713 просмотра) Ведет себя как мужчина; открыл 125 тем в форуме, оставил 550 комментариев на сайте.

Вопрос к пользователям FreeBSD.

Народ если кто из вас юзат модем:

Genius Lucent WinModem

Кто замечал подобные глюки?

А то запарился уже . Модем звонит раза 3

и в логи выплевывает BLACKLISTED…

Приходится делать killall ppp и ждать

минуты 3-10. А потом все опять по новой…

А если зделать kldunload ltmdm сразу kldload ltmdm

По можно не ждать 3-10 мин , он звонит сразу…

Но постоянно выгрузать и загружать модуль это хм…

Вообще подскажите в чем дело!

ppp.log

————--

Nov 14 02:32:17 homebsd ppp[1087]: tun0: Chat: Send: ATDp62303^M

Nov 14 02:32:20 homebsd ppp[1087]: tun0: Chat: Expect(40): CONNECT

Nov 14 02:32:20 homebsd ppp[1087]: tun0: Chat: Received: ATDp62303^M^M

Nov 14 02:32:20 homebsd ppp[1087]: tun0: Chat: Received: BLACKLISTED^M

—————

// Тему переместил(а) fly4life из форума «UNIX FAQ».

anonymous

Парень, извини, конечно, что не могу ответить на твой вопрос и пр, просто я уже запарился с этим ltwin. Подскажи, пожалуйста, как его настроить(каие дрова ставить и как и пр). plz

Steck

А это оказывается ты ко мне глубокой ночью в асю стучал пока я спал ;o))

Дрова ставить так

cd /usr/ports/comms/ltmdm/

далее как всегда make && make install

вот тебе ppp.conf

default:
 set log Phase tun
 set device /dev/cual0
 set speed 115200
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
           \"\" AT OK-AT-OK ATE1Q0 OK AT+GCI=00 OK \\dATDT\\T TIMEOUT 120 CONNECT"
 set phone PHONE_NUMBER
 set authname LOGIN
 set authkey PASSWORD
 set timeout 180
 add default HISADDR
 set redial 3 10

А звонить так

[root(~)] ppp -ddial default
anonymous

Apr 10 14:00:52 ppp[292]: Phase: Using interface: tun0

Apr 10 14:00:52 ppp[292]: Phase: deflink: Created in closed state

Apr 10 14:00:52 ppp[293]: tun0: Phase: PPP Started (ddial mode).

Apr 10 14:00:52 ppp[293]: tun0: Phase: bundle: Establish

Apr 10 14:00:52 ppp[293]: tun0: Phase: deflink: closed -> opening

Apr 10 14:00:52 ppp[293]: tun0: Phase: deflink: Connected!

Apr 10 14:00:52 ppp[293]: tun0: Phase: deflink: opening -> dial

Apr 10 14:01:39 ppp[293]: tun0: Warning: Chat script failed

Apr 10 14:01:39 ppp[293]: tun0: Phase: deflink: dial -> hangup

Apr 10 14:01:39 ppp[293]: tun0: Phase: deflink: Disconnected!

Apr 10 14:01:39 ppp[293]: tun0: Phase: deflink: Connect time: 47 secs: 0 octets in, 0 octets out

Apr 10 14:01:39 ppp[293]: tun0: Phase: deflink: 0 packets in, 0 packets out

Apr 10 14:01:39 ppp[293]: tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Sun Apr 10 14:00:52 2005

Apr 10 14:01:39 ppp[293]: tun0: Phase: deflink: hangup -> opening

Apr 10 14:01:39 ppp[293]: tun0: Phase: deflink: Enter pause (3) for redialing.

Apr 10 14:01:42 ppp[293]: tun0: Phase: deflink: Connected!

Apr 10 14:01:42 ppp[293]: tun0: Phase: deflink: opening -> dial

Apr 10 14:02:31 ppp[293]: tun0: Warning: Chat script failed

Apr 10 14:02:31 ppp[293]: tun0: Phase: deflink: dial -> hangup

Apr 10 14:02:31 ppp[293]: tun0: Phase: deflink: Disconnected!

Apr 10 14:02:31 ppp[293]: tun0: Phase: deflink: Connect time: 49 secs: 0 octets in, 0 octets out

Apr 10 14:02:31 ppp[293]: tun0: Phase: deflink: 0 packets in, 0 packets out

Apr 10 14:02:31 ppp[293]: tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Sun Apr 10 14:01:42 2005

Apr 10 14:02:31 ppp[293]: tun0: Phase: deflink: hangup -> opening

Apr 10 14:02:31 ppp[293]: tun0: Phase: deflink: Enter pause (3) for redialing.

Apr 10 14:02:34 ppp[293]: tun0: Phase: deflink: Connected!

Apr 10 14:02:34 ppp[293]: tun0: Phase: deflink: opening -> dial

Apr 10 14:03:23 ppp[293]: tun0: Warning: Chat script failed

Apr 10 14:03:23 ppp[293]: tun0: Phase: deflink: dial -> hangup

Apr 10 14:03:23 ppp[293]: tun0: Phase: deflink: Disconnected!

Apr 10 14:03:23 ppp[293]: tun0: Phase: deflink: Connect time: 49 secs: 0 octets in, 0 octets out

Apr 10 14:03:23 ppp[293]: tun0: Phase: deflink: 0 packets in, 0 packets out

Apr 10 14:03:23 ppp[293]: tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Sun Apr 10 14:02:34 2005

Apr 10 14:03:23 ppp[293]: tun0: Phase: deflink: hangup -> opening

Apr 10 14:03:23 ppp[293]: tun0: Phase: deflink: Enter pause (3) for redialing.

Apr 10 14:03:26 ppp[293]: tun0: Phase: deflink: Connected!

Apr 10 14:03:26 ppp[293]: tun0: Phase: deflink: opening -> dial

Apr 10 14:04:15 ppp[293]: tun0: Warning: Chat script failed

Apr 10 14:04:15 ppp[293]: tun0: Phase: deflink: dial -> hangup

Apr 10 14:04:15 ppp[293]: tun0: Phase: deflink: Disconnected!

Apr 10 14:04:15 ppp[293]: tun0: Phase: deflink: Connect time: 49 secs: 0 octets in, 0 octets out

Apr 10 14:04:15 ppp[293]: tun0: Phase: deflink: 0 packets in, 0 packets out

Apr 10 14:04:15 ppp[293]: tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Sun Apr 10 14:03:26 2005

Apr 10 14:04:15 ppp[293]: tun0: Phase: deflink: hangup -> opening

Apr 10 14:04:15 ppp[293]: tun0: Phase: deflink: Enter pause (3) for redialing.

Apr 10 14:04:18 ppp[293]: tun0: Phase: deflink: Connected!

Apr 10 14:04:18 ppp[293]: tun0: Phase: deflink: opening -> dial

Apr 10 14:04:25 ppp[293]: tun0: Phase: Signal 15, terminate.

Apr 10 14:04:25 ppp[293]: tun0: Phase: deflink: Disconnected!

Apr 10 14:04:25 ppp[293]: tun0: Phase: deflink: dial -> logout

Apr 10 14:04:25 ppp[293]: tun0: Phase: deflink: logout -> hangup

Apr 10 14:04:25 ppp[293]: tun0: Phase: deflink: Disconnected!

Apr 10 14:04:25 ppp[293]: tun0: Phase: deflink: Connect time: 7 secs: 0 octets in, 0 octets out

Apr 10 14:04:25 ppp[293]: tun0: Phase: deflink: 0 packets in, 0 packets out

Apr 10 14:04:25 ppp[293]: tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Sun Apr 10 14:04:18 2005

Apr 10 14:04:25 ppp[293]: tun0: Phase: deflink: hangup -> closed

Apr 10 14:04:25 ppp[293]: tun0: Phase: bundle: Dead

Apr 10 14:04:25 ppp[293]: tun0: Phase: PPP Terminated (normal).

Apr 10 14:04:26 ppp[295]: Phase: Using interface: tun0

Apr 10 14:04:26 ppp[295]: Phase: deflink: Created in closed state

Apr 10 14:04:26 ppp[295]: tun0: Phase: PPP Started (interactive mode).

Apr 10 14:04:28 ppp[295]: tun0: Phase: bundle: Establish

Apr 10 14:04:28 ppp[295]: tun0: Phase: deflink: closed -> opening

Apr 10 14:04:28 ppp[295]: tun0: Phase: deflink: Connected!

Apr 10 14:04:28 ppp[295]: tun0: Phase: deflink: opening -> carrier

Apr 10 14:04:29 ppp[295]: tun0: Phase: deflink: /dev/cual0 doesn’t support CD

Apr 10 14:04:29 ppp[295]: tun0: Phase: deflink: carrier -> ready

Apr 10 14:05:58 ppp[295]: tun0: Phase: deflink: Disconnected!

Apr 10 14:05:58 ppp[295]: tun0: Phase: deflink: Connect time: 90 secs: 0 octets in, 0 octets out

Apr 10 14:05:58 ppp[295]: tun0: Phase: deflink: 0 packets in, 0 packets out

Apr 10 14:05:58 ppp[295]: tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Sun Apr 10 14:04:28 2005

Apr 10 14:05:58 ppp[295]: tun0: Phase: deflink: ready -> closed

Apr 10 14:05:58 ppp[295]: tun0: Phase: bundle: Dead

Apr 10 14:05:58 ppp[295]: tun0: Phase: PPP Terminated (normal).

Apr 10 14:06:05 ppp[300]: Phase: Using interface: tun0

Apr 10 14:06:05 ppp[300]: Phase: deflink: Created in closed state

Apr 10 14:06:05 ppp[300]: tun0: Phase: PPP Started (interactive mode).

Apr 10 14:06:08 ppp[300]: tun0: Phase: bundle: Establish

Apr 10 14:06:08 ppp[300]: tun0: Phase: deflink: closed -> opening

Apr 10 14:06:08 ppp[300]: tun0: Phase: deflink: Connected!

Apr 10 14:06:08 ppp[300]: tun0: Phase: deflink: opening -> carrier

Apr 10 14:06:09 ppp[300]: tun0: Phase: deflink: /dev/cual0 doesn’t support CD

Apr 10 14:06:09 ppp[300]: tun0: Phase: deflink: carrier -> ready

Apr 10 14:08:10 ppp[300]: tun0: Phase: deflink: Disconnected!

Apr 10 14:08:10 ppp[300]: tun0: Phase: deflink: Connect time: 122 secs: 0 octets in, 0 octets out

Apr 10 14:08:10 ppp[300]: tun0: Phase: deflink: 0 packets in, 0 packets out

Apr 10 14:08:10 ppp[300]: tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Sun Apr 10 14:06:08 2005

Apr 10 14:08:10 ppp[300]: tun0: Phase: deflink: ready -> closed

Apr 10 14:08:10 ppp[300]: tun0: Phase: bundle: Dead

Apr 10 14:08:10 ppp[300]: tun0: Phase: PPP Terminated (normal).

Apr 10 14:08:12 ppp[301]: Phase: Using interface: tun0

Apr 10 14:08:12 ppp[301]: Phase: deflink: Created in closed state

Apr 10 14:08:12 ppp[301]: tun0: Phase: PPP Started (interactive mode).

Apr 10 14:08:14 ppp[301]: tun0: Phase: bundle: Establish

Apr 10 14:08:14 ppp[301]: tun0: Phase: deflink: closed -> opening

Apr 10 14:08:14 ppp[301]: tun0: Phase: deflink: Connected!

Apr 10 14:08:14 ppp[301]: tun0: Phase: deflink: opening -> carrier

Apr 10 14:08:15 ppp[301]: tun0: Phase: deflink: /dev/cual0 doesn’t support CD

Apr 10 14:08:15 ppp[301]: tun0: Phase: deflink: carrier -> ready

Apr 10 14:20:28 ppp[301]: tun0: Phase: Signal 1, terminate.

Apr 10 14:20:28 ppp[301]: tun0: Phase: deflink: Disconnected!

Apr 10 14:20:28 ppp[301]: tun0: Phase: deflink: Connect time: 734 secs: 0 octets in, 0 octets out

Apr 10 14:20:28 ppp[301]: tun0: Phase: deflink: 0 packets in, 0 packets out

Apr 10 14:20:28 ppp[301]: tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Sun Apr 10 14:08:14 2005

Apr 10 14:20:28 ppp[301]: tun0: Phase: deflink: ready -> closed

Apr 10 14:20:28 ppp[301]: tun0: Phase: bundle: Dead

Apr 10 14:20:28 ppp[301]: tun0: Phase: Signal 1, terminate.

Apr 10 14:20:28 ppp[301]: tun0: Phase: PPP Terminated (normal).

Последние комментарии

ecobeingecobeing.ru
Экология и вегетарианство на благо всем живым существам Планеты.