LINUX.ORG.RU

PPP соединение в Gentoo


0

0

поставил PPP. WVDial ставить не хочу. Помнится можно сделать скриптами, не могли бы в запистить сюда ссылку или скрипты.

anonymous

Ответ на: комментарий от anonymous

Вот нашел в гугле скрипты, но модем не звонит, а только мигнет светодиодом и все :( Что тут еще поправить?

PPP-ON ------------------------------------------------- #!/bin/sh # # Script to initiate a PPP connection. This is the first part of the # pair of scripts. This is not a secure pair of scripts as the codes # are visible with the 'ps' command. However, it is simple. # # These are the parameters. Change as needed. TELEPHONE=555-1212 # The telephone number for the connection ACCOUNT=george # The account name for logon (as in 'George Burns') PASSWORD=gracie # The password for this account (and 'Gracie Allen') LOCAL_IP=0.0.0.0 # Local IP address if known. Dynamic = 0.0.0.0 REMOTE_IP=0.0.0.0 # Remote IP address if desired. Normally 0.0.0.0 NETMASK=255.255.255.0 # The proper netmask if needed # # Export them so that they will be available to 'ppp-on-dialer' export TELEPHONE ACCOUNT PASSWORD # # This is the location of the script which dials the phone and logs # in. Please use the absolute file name as the $PATH variable is not # used on the connect option. (To do so on a 'root' account would be # a security hole so don't ask.) # DIALER_SCRIPT=/etc/ppp/ppp-on-dialer # # Initiate the connection # # exec /usr/sbin/pppd debug /dev/ttySx 38400 \ $LOCAL_IP:$REMOTE_IP \ connect $DIALER_SCRIPT

PPP-ON-DIALER ---------------------------------------- #!/bin/sh # # This is part 2 of the ppp-on script. It will perform the connection # protocol for the desired connection. # /usr/sbin/chat -v \ TIMEOUT 3 \ ABORT '\nBUSY\r' \ ABORT '\nNO ANSWER\r' \ ABORT '\nRINGING\r\n\r\nRINGING\r' \ '' \rAT \ 'OK-+++\c-OK' ATH0 \ TIMEOUT 30 \ OK ATDP$TELEPHONE \ CONNECT '' \ ogin:--ogin: $ACCOUNT \ assword: $PASSWORD

anonymous
()
Ответ на: комментарий от MaDMaN

Поставил pppconfig. Кстати он не компилился при USE="+unicode". Еще pppconfig ругался, что нет файла /dev/gpmclt (не помню точно какого) Я его создал руками (touch ...)

Создал /etc/ppp/peers/Internet далее говорю: # pppd call Internet И ничего не происходит. Никаких сообщений об ошибках. Номер не набирает, ну еп мой хорек...

anonymous
()
Ответ на: комментарий от anonymous

Вобщем я дурень, просто не тот com-порт указал

anonymous
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.