Помогите разобратся. Сделал как в первом посте но че то не выходит выкладаваю лог, если у кого-то есть какие-то мысли напишите что не так сделал.
(none) login: admin
Password:
[admin@(none) root]$ tail -f /tmp/syslog.log
Jan 1 00:04:08 pppd[205]: local IP address 10.64.64.65
Jan 1 00:04:08 pppd[205]: remote IP address 10.112.112.113
Jan 1 00:04:59 pppd[205]: Terminating on signal 2
Jan 1 00:05:00 pppd[205]: Exit.
Jan 1 00:05:03 pppd[210]: pppd 2.4.5 started by admin, uid 0
Jan 1 00:05:03 pppd[210]: Couldn't allocate PPP unit 0 as it is already in use
Jan 1 00:05:03 pppd[210]: Using interface ppp1
Jan 1 00:05:03 pppd[210]: local IP address 10.64.64.65
Jan 1 00:05:03 pppd[210]: remote IP address 10.112.112.113
Jan 1 00:18:53 login[241]: root login on 'pts/2'
Jan 1 00:19:57 login[245]: root login on 'pts/1'
Jan 1 00:20:29 pppd[248]: pppd 2.4.5 started by admin, uid 0
Jan 1 00:20:29 pppd[248]: Couldn't allocate PPP unit 0 as it is already in use
Jan 1 00:20:29 pppd[248]: Using interface ppp2
Jan 1 00:20:29 pppd[248]: local IP address 10.64.64.66
Jan 1 00:20:29 pppd[248]: remote IP address 10.112.112.114
Jan 1 00:21:53 pppd[248]: Terminating on signal 2
Jan 1 00:21:54 pppd[248]: Exit.
Jan 1 00:25:23 pppd[278]: pppd 2.4.5 started by admin, uid 0
Jan 1 00:25:23 pppd[278]: Couldn't allocate PPP unit 0 as it is already in use
Jan 1 00:25:23 pppd[278]: Using interface ppp2
Jan 1 00:25:23 pppd[278]: local IP address 10.64.64.66
Jan 1 00:25:23 pppd[278]: remote IP address 10.112.112.114
(none) login: admin
Password:
[admin@(none) root]$ pppd call dialup
Couldn't allocate PPP unit 0 as it is already in use
Using interface ppp2
local IP address 10.64.64.66
remote IP address 10.112.112.114
cat /tmp/ppp/peers/dialup
Terminating on signal 2
[admin@(none) root]$ cat /tmp/ppp/peers/dialup
debug
/dev/usb/acm/0
921600
crtscts
noipdefault
ipcp-accept-local
lcp-echo-interval 60
lcp-echo-failure 6
mtu 1492
mru 1492
usepeerdns
noauth
holdoff 5
maxfail 0
nodetach
persist
unit 0
novj nobsdcomp novjccomp nopcomp noaccomp
user '
[email protected]'
password '901479'
demand idle 60
connect "/tmp/ppp/peers/chat.sh"
[admin@(none) root]$ cat /tmp/ppp/dialup.chat
'' ''
'' 'ATZ'
'OK' 'ATD #777'
'CONNECT' ''
[admin@(none) root]$ echo /tmp/ppp/peers/dialup > /tmp/local/.files
[admin@(none) root]$ echo /tmp/ppp/dialup.chat >> /tmp/local/.files
[admin@(none) root]$ flashfs save && flashfs commit && flashfs enable
tar: removing leading '/' from member names
tmp/local/
tmp/local/.files
tmp/local/root/
tmp/ppp/peers/dialup
tmp/ppp/dialup.chat
-rw-r--r-- 1 admin root 483 Jan 1 00:24 /tmp/flash.tar.gz
Check saved image and type "/sbin/flashfs commit" to commit changes
.
Committed.
[admin@(none) root]$ pppd call dialup
Couldn't allocate PPP unit 0 as it is already in use
Using interface ppp2
local IP address 10.64.64.66
remote IP address 10.112.112.114