Set' nedostupna [SOLVED]
Pri podklyuchenii cherez GPRS v loge proskakivaet soobshchenie
default route ioctl(SIOCADDRT): Network is unreachable
Dalee (pri rabotayushchem podklyuchenii) imeem:
$ping <Lyuboj IP> ping: Network is unreachable
Resheniya problemy ya ne nashyol... Kuda kopat'?
Log:
abort on (BUSY)
abort on (ERROR)
abort on (NO ANSWER)
abort on (NO CARRIER)
abort on (NO DIAL)
send (AT^M)
expect (OK)
AT^M^M
OK
-- got it
send (AT+CGDCONT=1,"IP","internet"^M)
expect (OK)
^M
AT+CGDCONT=1,"IP","internet"^M^M
OK
-- got it
send (ATDP*99*1**1#^M)
expect (CONNECT)
^M
ATDP*99*1**1#^M^M
CONNECT
-- got it
send (\d)
Serial connection established.
using channel 3
Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB0
sent [LCP ConfReq id=0x1
rcvd [LCP ConfRej id=0x1
sent [LCP ConfReq id=0x2
rcvd [LCP ConfAck id=0x2
rcvd [LCP ConfReq id=0x1
sent [LCP ConfAck id=0x1
sent [PAP AuthReq id=0x1 user="localhost" password=
rcvd [LCP EchoReq id=0x0 magic=0x2a1d]
sent [LCP EchoRep id=0x0 magic=0xcdb67d3d]
rcvd [PAP AuthAck id=0x1 "Login ok"]
Remote message: Login ok
PAP authentication succeeded
sent [IPCP ConfReq id=0x1
rcvd [IPCP TermAck id=0x1]
rcvd [IPCP ConfReq id=0x1
sent [IPCP ConfAck id=0x1
sent [IPCP ConfReq id=0x1
rcvd [IPCP ConfNak id=0x1
sent [IPCP ConfReq id=0x2
rcvd [IPCP ConfAck id=0x2
default route ioctl(SIOCADDRT): Network is unreachable
local IP address 91.145.220.208
remote IP address 0.0.0.1
primary DNS address 212.58.160.33
secondary DNS address 212.58.160.34
Script /etc/ppp/ip-up started (pid 2956)
Script /etc/ppp/ip-up finished (pid 2956), status = 0x1
- Для комментирования войдите или зарегистрируйтесь
Problema rewena
Problema rewena blagodar'a
Vsem spasibo =/
offtop++?
Kak vosstanovit' framebuffer links'a posle pereklu4enija konsoli po
/offtop
для жпрс часть
для жпрс часть /etc/conf.d/net
он для питерского мегафона... .
но адаптировать под другого опереатора не проблема..
далее создаем линк на нинтерфес
ну и стартуем ссоединение
и мы в сети ;-)
_________________
Gentoo GNU/Linux 2.6.21 GCC 4.1.2 Dual Xeon
Working on Gentoo for iPAQ hx4700 :-)
Y men'a eto propisano v
Y men'a eto propisano v /etc/ppp/peers i ja startyu 4erez
(life - moj mobil'nij operator)
Est' kakaja-to raznica? I mtu=1500 -- ne mnogo li dl'a GPRS? Vsio-taki sv'az' dovol'no slabaja...
впринципе
впринципе разници нет....
просто это для генту более удобный способ....
в случае обрыва будет заново конектится само например...
роутинг само пропишет и потом вернет на место и тд...
_________________
Gentoo GNU/Linux 2.6.21 GCC 4.1.2 Dual Xeon
Working on Gentoo for iPAQ hx4700 :-)