Hallo,
ich versuche hier gerade einen Alditalk Webstick (MD 99079) mit einer Alditalk Simkarte unter Jessie ans Laufen zu bringen.
Configuration per usb-modeswitch funktioniert, sobald die usb-modeswitch und usb-modeswitch-data Pakete aus backports installiert sind.
Einwahl funktioniert leider nicht, hat hier jemand eine funktionierende Konfig (Internet Flat S Monatstarif).
Hier was ich bisher versucht habe:
rd@mohot:~$ cat /etc/chatscripts/alditalk TIMEOUT 10 ABORT 'BUSY' ABORT 'NO ANSWER' ABORT 'ERROR' ABORT 'NO CARRIER'
'' 'ATZ' 'OK' 'ATE1' 'OK' 'AT+CGDCONT=1,"IP","internet.eplus.de","0.0.0.0",0,0' 'OK' 'ATDT*99#' 'CONNECT' '\c' rd@mohot:~$
rd@mohot:~$ cat /etc/ppp/peers/alditalk hide-password noauth connect "/usr/sbin/chat -v -f /etc/chatscripts/alditalk" debug /dev/ttyUSB0 115200 defaultroute replacedefaultroute noipdefault usepeerdns crtscts lock local
# Redial and interval persist holdoff 5
# No compression novj novjccomp nopcomp nodeflate
# PAP authentication
# LCP echo messages settings lcp-echo-failure 4 lcp-echo-interval 65535 rd@mohot:~$
root@mohot:~# cat /etc/ppp/pap-secrets # # /etc/ppp/pap-secrets # # This is a pap-secrets file to be used with the AUTO_PPP function of # mgetty. mgetty-0.99 is preconfigured to startup pppd with the login option # which will cause pppd to consult /etc/passwd (and /etc/shadow in turn) # after a user has passed this file. Don't be disturbed therefore by the fact # that this file defines logins with any password for users. /etc/passwd # (again, /etc/shadow, too) will catch passwd mismatches. # # This file should block ALL users that should not be able to do AUTO_PPP. # AUTO_PPP bypasses the usual login program so it's necessary to list all # system userids with regular passwords here. # # ATTENTION: The definitions here can allow users to login without a # password if you don't use the login option of pppd! The mgetty Debian # package already provides this option; make sure you don't change that.
# INBOUND connections
# Every regular user can use PPP and has to use passwords from /etc/passwd * hostname "" *
# UserIDs that cannot use PPP at all. Check your /etc/passwd and add any # other accounts that should not be able to use pppd! guest hostname "*" - master hostname "*" - root hostname "*" - support hostname "*" - stats hostname "*" -
# OUTBOUND connections
# Here you should add your userid password to connect to your providers via # PAP. The * means that the password is to be used for ANY host you connect # to. Thus you do not have to worry about the foreign machine name. Just # replace password with your password. # If you have different providers with different passwords then you better # remove the following line.
# * password
eplus alditalk gprs
root@mohot:~#
scheint nicht zu reichen und ich erhalte in /var/log/syslog:
Dec 9 09:39:49 mohot chat[964]: timeout set to 10 seconds Dec 9 09:39:49 mohot chat[964]: abort on (BUSY) Dec 9 09:39:49 mohot chat[964]: abort on (NO ANSWER) Dec 9 09:39:49 mohot chat[964]: abort on (ERROR) Dec 9 09:39:49 mohot chat[964]: abort on (NO CARRIER) Dec 9 09:39:49 mohot chat[964]: send (ATZ^M) Dec 9 09:39:49 mohot chat[964]: expect (OK) Dec 9 09:39:49 mohot chat[964]: ATZ^M^M Dec 9 09:39:49 mohot chat[964]: OK Dec 9 09:39:49 mohot chat[964]: -- got it Dec 9 09:39:49 mohot chat[964]: send (ATE1^M) Dec 9 09:39:49 mohot chat[964]: expect (OK) Dec 9 09:39:49 mohot chat[964]: ^M Dec 9 09:39:49 mohot chat[964]: ATE1^M^M Dec 9 09:39:49 mohot chat[964]: OK Dec 9 09:39:49 mohot chat[964]: -- got it Dec 9 09:39:49 mohot chat[964]: send (AT+CGDCONT=1,"IP","internet.eplus.de","0.0.0.0",0,0^M) Dec 9 09:39:49 mohot chat[964]: expect (OK) Dec 9 09:39:49 mohot chat[964]: ^M Dec 9 09:39:49 mohot chat[964]: AT+CGDCONT=1,"IP","internet.eplus.de","0.0.0.0",0,0^M^M Dec 9 09:39:49 mohot chat[964]: OK Dec 9 09:39:49 mohot chat[964]: -- got it Dec 9 09:39:49 mohot chat[964]: send (ATDT*99#^M) Dec 9 09:39:49 mohot chat[964]: expect (CONNECT) Dec 9 09:39:49 mohot chat[964]: ^M Dec 9 09:39:49 mohot chat[964]: ATDT*99#^M^M Dec 9 09:39:49 mohot chat[964]: ERROR Dec 9 09:39:49 mohot chat[964]: -- failed Dec 9 09:39:49 mohot chat[964]: Failed (ERROR) Dec 9 09:39:49 mohot pppd[943]: Script /usr/sbin/chat -v -f /etc/chatscripts/alditalk finished (pid 963), status = 0x6 Dec 9 09:39:49 mohot pppd[943]: Connect script failed Dec 9 09:39:49 mohot pppd[943]: Exit.
Danke und Gruß Rainer
-- Rainer Dorsch http://bokomoko.de/ |