проблемы с mf626 (мтс)

доброго времени суток!

lsusb

Bus 001 Device 003: ID 19d2:0031 ONDA Communication S.p.A.

делаю все по инструкции http://ru.gentoo-wiki.com/wiki/MF626, до пункта "настройка демона", дальше по этой (выбираю wvdial). затем:

/etc/init.d/net.ppp0 start

* Starting ppp0
 *   Bringing up ppp0
 *     ppp
 *       Running pppd ...
 *       Backgrounding ...

wvdial mts

--> WvDial: Internet dialer version 1.61
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
--> Re-Sending: ATZ
--> Modem not responding.

/etc/conf.d/net

config_eth0=( "192.168.1.4 netmask 255.255.255.0 brd 192.168.1.255" )
routes_eth0=( "default gw 192.168.1.1" )

modules_ppp0="dhcpcd"
config_ppp0="ppp"
link_ppp0="/dev/ttyUSB2"
dhcpcd_ppp0="-t 10"
dhcp_ppp0="release nodns nontp nonis"

/etc/wvdial.conf

Dialer Defaults]
Baud = 115200
ISDN = false
Idle Seconds = 300
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem = /dev/ttyUSB2
Modem Type = Analog Modem

[Dialer MTS]
Baud = 115200
Country = Russia
Init3 = AT +CGDCONT=1,"IP","internet.mts.ru"
Modem = /dev/ttyUSB0
Modem Name = Huawei
Password = mts
Phone = "*99#"
Username = mts

/etc/ppp/options пустой. уже совсем не знаю что делать. помогите плиз!

fuckingpotato

fuckingpotato написал(а):
доброго времени суток!
--> Cannot get information for serial port.

Что вполне логично, ведь порт уже занят pppd который запустил openrc. Вы уж определитесь, или /etc/conf.d/net, или wvdial, смешивать их не получится.

...

/etc/conf.d/net

config_eth0=( "192.168.1.4 netmask 255.255.255.0 brd 192.168.1.255" )
routes_eth0=( "default gw 192.168.1.1" )
wvdial mts 

--> WvDial: Internet dialer version 1.61
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: AT +CGDCONT=1,"IP","internet.mts.ru"
AT +CGDCONT=1,"IP","internet.mts.ru"
OK
--> Modem initialized.
--> Idle Seconds = 300, disabling automatic reconnect.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
--> Carrier detected.  Waiting for prompt.

(длительная пауза)

--> Don't know what to do!  Starting pppd and hoping for the best.
--> Starting pppd at Sat Sep 18 04:10:14 2010
--> Pid of pppd: 4237
--> Using interface ppp0
--> Disconnecting at Sat Sep 18 04:10:14 2010
--> The PPP daemon has died: A modem hung up the phone (exit code = 16)
--> man pppd explains pppd error codes in more detail.
--> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.

после манипуляций взятых отсюда http://www.gentoo.ru/node/11283#comment-76983 след. ошибка:

wvdial mts

--> WvDial: Internet dialer version 1.61
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: AT +CGDCONT=1,"IP","internet.mts.ru"
AT +CGDCONT=1,"IP","internet.mts.ru"
OK
--> Modem initialized.
--> Idle Seconds = 300, disabling automatic reconnect.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
--> Carrier detected.  Waiting for prompt.
--> Don't know what to do!  Starting pppd and hoping for the best.
--> Starting pppd at Sat Sep 18 04:13:56 2010
--> Pid of pppd: 4456
--> Using interface ppp0
--> Disconnecting at Sat Sep 18 04:13:57 2010
--> The PPP daemon has died: Serial port open failed (exit code = 7)
--> man pppd explains pppd error codes in more detail.
--> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.

что выдаёт cat /dev/ttyUSB2

что выдаёт cat /dev/ttyUSB2 после неудачной попытки? Начинает ли моргать светодиод?

...

нет, светодиод не моргает. и вообще модем срабатывает через раз. иногда пишет

--> WvDial: Internet dialer version 1.61
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
--> Re-Sending: ATZ
--> Modem not responding.

cat /dev/ttyUSB2 - пусто

А Вы в /etc/wvdial.conf

А Вы в /etc/wvdial.conf ничего не напутали? Какое из трёх устройств /dev/ttyUSBx является модемом?

...

по инструкции ttyUSB2.
заменяю на ttyUSB0:

--> WvDial: Internet dialer version 1.61
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
--> Re-Sending: ATZ
--> Modem not responding.

заменяю на ttyUSB1:

-> WvDial: Internet dialer version 1.61
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: AT +CGDCONT=1,"IP","internet.mts.ru"
AT +CGDCONT=1,"IP","internet.mts.ru"
OK
--> Modem initialized.
--> Idle Seconds = 300, disabling automatic reconnect.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
NO CARRIER
--> No Carrier!  Trying again.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
NO CARRIER
(и так много раз)

Имею схожую проблему - модем

Имею схожую проблему - модем ничего, кроме NO CARRIER, не выдаёт...
Модем - huawei e150, МТС.

...

иногда бывает другой вывод:

--> WvDial: Internet dialer version 1.61
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: AT +CGDCONT=1,"IP","internet.mts.ru"
AT +CGDCONT=1,"IP","internet.mts.ru"
OK
--> Modem initialized.
--> Idle Seconds = 300, disabling automatic reconnect.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
--> Carrier detected.  Waiting for prompt.
+ZDONR: "Not Found"
+ZPASR: "No Service"
+ZDONR: "Not Found"
+ZPASR: "No Service"
+ZDONR: "Not Found"
+ZPASR: "No Service"
+ZDONR: "MTS RUS",250,1,"CS_PS","ROAM_OFF"
+ZPASR: "EDGE"
+ZDONR: "MTS RUS",250,1,"CS_PS","ROAM_OFF"
+ZPASR: "EDGE"
+ZDONR: "MTS RUS",250,1,"CS_PS","ROAM_OFF"
+ZPASR: "EDGE"
+ZDONR: "MTS RUS",250,1,"CS_PS","ROAM_OFF"
+ZPASR: "EDGE"
--> Don't know what to do!  Starting pppd and hoping for the best.
--> Starting pppd at Sat Sep 18 04:41:38 2010
--> Pid of pppd: 8299
--> Using interface ppp0
--> Disconnecting at Sat Sep 18 04:41:39 2010
--> The PPP daemon has died: Serial port open failed (exit code = 7)
--> man pppd explains pppd error codes in more detail.
--> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.

или:

--> WvDial: Internet dialer version 1.61
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: AT +CGDCONT=1,"IP","internet.mts.ru"
AT +CGDCONT=1,"IP","internet.mts.ru"
OK
--> Modem initialized.
--> Idle Seconds = 300, disabling automatic reconnect.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
--> Carrier detected.  Waiting for prompt.
+ZDONR: "Not Found"
+ZPASR: "No Service"
+ZDONR: "Not Found"
+ZPASR: "No Service"
--> Don't know what to do!  Starting pppd and hoping for the best.
--> Starting pppd at Sat Sep 18 04:42:01 2010
--> Pid of pppd: 8433
--> Using interface ppp0
--> Disconnecting at Sat Sep 18 04:42:07 2010
--> The PPP daemon has died: Serial port open failed (exit code = 7)
--> man pppd explains pppd error codes in more detail.
--> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.


+ZDONR: "Not Found" +ZPASR:

+ZDONR: "Not Found"
+ZPASR: "No Service"
+ZDONR: "MTS RUS",250,1,"CS_PS","ROAM_OFF"
+ZPASR: "EDGE"

Это значит, что модем подключился к сети.

CONNECT
--> Carrier detected.  Waiting for prompt.
+ZDONR: "Not Found"
+ZPASR: "No Service"

А это значит, что он отключился от сети.

...

значит ttyUSB2 - модем?

да.

да.

...

ок. буду вокруг него крутить...

...

с livecd ubuntu запустилось без всяких проблем через networkmanager. можно ли как-то перенести конфиги и установить nm?

Настройки просмотра комментариев

Выберите нужный метод показа комментариев и нажмите "Сохранить установки".