globtrotter i orange raz jeszcze
MK
miloszk-portal w wp.pl
Pią, 26 Paź 2007, 21:23:39 CEST
Modem GT 3G+ EMEA. Skorzystalem z archiwum i utworzylem:
-------------------
grep -v ^# /etc/ppp/peers/orange-connect-chat
-------------------
echo $*
exec chat \
TIMEOUT 5 \
ABORT '\nBUSY\r' \
ABORT '\nERROR\r' \
ABORT '\nNO ANSWER\r' \
ABORT '\nNO CARRIER\r' \
ABORT '\nNO DIALTONE\r' \
SAY "Inicjowanie modemu..." \
"" "AT" \
OK "AT+CPIN?"\
"READY\r\n\r\nOK"-"AT+CPIN=\"1234\""-OK ""\
OK-AT-OK "AT+CGDCONT=1,\"IP\",\"internet\"" \
SAY "\nModem zainicjowany." \
OK "ATD *99#" \
TIMEOUT 30 \
SAY "\nOczekiwanie na polaczenie..." \
CONNECT "" \
SAY "\nPolaczony.\n"
-------------------
~# grep -v ^# /etc/ppp/peers/orange
-------------------
updetach
debug
connect /etc/ppp/peers/orange-connect-chat
disconnect /etc/ppp/peers/orange-disconnect-chat
/dev/noz0
115200
crtscts
local
noipdefault
defaultroute
replacedefaultroute
novj
nobsdcomp
novjccomp
nopcomp
noaccomp
------------------
dmesg
-----------------
pccard: CardBus card inserted into slot 0
[1504] nozomi_card_init(): Init, cards_found: 1
[1390] nozomi_get_card_type(): Card type is: 2048
PCI: Enabling device 0000:03:00.0 (0000 -> 0002)
ACPI: PCI Interrupt 0000:03:00.0[A] -> Link [LNKF] -> GSI 10 (level,
low) -> IRQ 10
Nozomi driver nozomi_tty<6>[836] nozomi_read_config_table(): Version of
card: 3
[828] nozomi_read_config_table(): Initialization OK!
--------------
mam /dev/noz0 /dev/noz1 /dev/noz2 /dev/noz3
--------------
po wpisaniu:
pppd call orange
dostaje:
Inicjowanie modemu...
Connect script failed
---
w logach:
Oct 26 20:49:41 max pppd[5629]: pppd 2.4.2 started by root, uid 0
Oct 26 20:49:46 max pppd[5629]: Connect script failed
Oct 26 20:49:46 max pppd[5629]: Exit.
Porsze o pomoc jak to bardziej zdiagnozowac albo co robie zle :)
Więcej informacji o liście dyskusyjnej pld-users-pl