При соединении выдает:
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: AT+CGDCONT=1,"IP","vmi.velcom.by"
AT+CGDCONT=1,"IP","vmi.velcom.by"
OK
--> Modem initialized.
--> Sending: ATD*99***1#
--> Waiting for carrier.
ATD*99***1#
CONNECT 3600000
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Thu Jul 7 13:59:48 2011
--> Pid of pppd: 31694
--> Using interface ppp0
--> pppd: �[02][07][08]
--> pppd: �[02][07][08]
--> pppd: �[02][07][08]
--> pppd: �[02][07][08]
--> Disconnecting at Thu Jul 7 14:00:39 2011
--> 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.
--> Auto Reconnect will be attempted in 5 seconds
--> Cannot open /dev/ttyUSB1: No such file or directory
--> Cannot open /dev/ttyUSB1: No such file or directory
--> Cannot open /dev/ttyUSB1: No such file or directory
--> Disconnecting at Thu Jul 7 14:00:39 2011
В /var/log/messages
Jul 7 14:09:55 linux-d3sr pppd[7806]: Plugin passwordfd.so loaded.
Jul 7 14:09:55 linux-d3sr kernel: [ 127.010856] PPP generic driver version 2.4.2
Jul 7 14:09:55 linux-d3sr pppd[7806]: pppd 2.4.5 started by root, uid 0
Jul 7 14:09:55 linux-d3sr pppd[7806]: Using interface ppp0
Jul 7 14:09:55 linux-d3sr pppd[7806]: Connect: ppp0 <--> /dev/ttyUSB1
Jul 7 14:10:22 linux-d3sr dhclient: XMT: Solicit on eth0, interval 119960ms.
Jul 7 14:10:22 linux-d3sr dhclient: send_packet6: Network is unreachable
Jul 7 14:10:22 linux-d3sr dhclient: dhc6: send_packet6() sent -1 of 54 bytes
Jul 7 14:11:02 linux-d3sr dhclient: XMT: Solicit on wlan0, interval 108190ms.
Jul 7 14:11:02 linux-d3sr dhclient: send_packet6: Network is unreachable
Jul 7 14:11:02 linux-d3sr dhclient: dhc6: send_packet6() sent -1 of 54 bytes
Jul 7 14:11:55 linux-d3sr pppd[7806]: LCP: timeout sending Config-Requests
Jul 7 14:11:55 linux-d3sr pppd[7806]: Connection terminated.
Jul 7 14:11:55 linux-d3sr avahi-daemon[3749]: Withdrawing workstation service for ppp0.
Jul 7 14:11:55 linux-d3sr pppd[7806]: Modem hangup
Jul 7 14:11:55 linux-d3sr pppd[7806]: Exit.
Но настораживает:
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
может в нем дело?
PPPD соединенеие
С соединением разобрался (пересобрал заново ядро с модулми). Но теперь другя проблема, после создания сооединения в таблице маршрутизауии появляется новая запись
ip 10.64.64.64 mask 255.255.255.255 gw 0.0.0.0. Удаляю эту и добавляю ip 46.56.245.90 gw 0.0.0.0 mask 255.255.255.255.По ifconfig:
ppp0 Link encap:Point-to-Point Protocol
inet addr:46.56.245.90 P-t-P:10.64.64.64 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:11 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:386 (386.0 b) TX bytes:737 (737.0 b)
Почему так получается?
С соединением разобрался (пересобрал заново ядро с модулми). Но теперь другя проблема, после создания сооединения в таблице маршрутизауии появляется новая запись
ip 10.64.64.64 mask 255.255.255.255 gw 0.0.0.0. Удаляю эту и добавляю ip 46.56.245.90 gw 0.0.0.0 mask 255.255.255.255.По ifconfig:
ppp0 Link encap:Point-to-Point Protocol
inet addr:46.56.245.90 P-t-P:10.64.64.64 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:11 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:386 (386.0 b) TX bytes:737 (737.0 b)
Почему так получается?
Потому, что Вы делаете сами не понимая что.
Модем какой?
модем flyer
нашол сдесь свой ответ в 7 посте
http://forum.ubuntu.ru/index.php?topic=549.0