From: "Александр В. Макаров" <5234378@gmail.com> To: community@lists.altlinux.org Subject: Re: [Comm] VPN - замучился !!! (Alexei V. Mezin) Date: Fri, 22 Feb 2008 16:53:04 +0300 Message-ID: <ffee06470802220553m76a806c4s3edfbea8cfc927f8@mail.gmail.com> (raw) [-- Attachment #1: Type: text/plain, Size: 10941 bytes --] 1. Установил AltLinux 4 полностью с настройкой сети. 2. Установил командой apt-get install три пакета (через mc и консоль): alterator-net-pptp-0.5.2-alt1.noarch.rpm ppp-2.4.4-alt10.i586.rpm ppp-common-0.4.2-alt1.noarch.rpm 3. создал папку ppp20 в /etc/net/ifaces/ 4. создал файл options в /etc/net/ifaces/ppp20 с данными: ONBOOT=yes PPPTYPE=pptp PPTP_SERVER=192.168.100.203 REQUIRES=eth0 5. создал там же файл pppoptions с данными: name makarov90 remotename PPTP noipdefault defaultroute noauth hide-password persist 6. изменил файл chap-secrets в /etc/ppp: # Secrets for authentication using CHAP # client server secret IP addresses makarov90 PPTP ПАРОЛЬ 7. изменил файл ipv4route в /etc/net/ifaces/eth0: default via 192.168.33.1 192.168.100.203/32 via 192.168.33.1 8. ввожу команду ifdown eth0: ifdown eth0 RTNETLINK answers: No such process 9. ввожу команду ifup eth0 ifdown eth0 RTNETLINK answers: No such process RTNETLINK answers: No such process [root@makarov90 Desktop]# RTNETLINK answers: No such process -bash: RTNETLINK: command not found 10. ввожу команду tail -50 /var/log/messages: tail -50 /var/log/messages Feb 22 16:07:37 makarov90 httpd-alterator: httpd2.prefork startup succeeded Feb 22 16:07:37 makarov90 lircd: lircd startup succeeded Feb 22 16:07:37 makarov90 lircd-0.8.1[5036]: lircd(userspace) ready Feb 22 16:07:37 makarov90 lircd-0.8.1[5036]: accepted new client on /dev/lircd Feb 22 16:07:37 makarov90 lircd-0.8.1[5036]: could not get file information for /dev/lirc Feb 22 16:07:37 makarov90 lircd-0.8.1[5036]: default_init(): No such file or dir ectory Feb 22 16:07:37 makarov90 lircd-0.8.1[5036]: caught signal Feb 22 16:07:37 makarov90 lircd: lircmd startup succeeded Feb 22 16:07:49 makarov90 first_time: Building dynamic library cache: succeeded Feb 22 16:07:55 makarov90 fontconfig: Updating fonts cache: succeeded Feb 22 16:07:55 makarov90 indexhtml: Adjusting index.html: succeeded Feb 22 16:07:55 makarov90 first_time: Executing kdm first time script: succeeded Feb 22 16:07:56 makarov90 first_time: Executing libgphoto2-udev first time scrip t: succeeded Feb 22 16:07:56 makarov90 menu: Updating application menus: succeeded Feb 22 16:07:56 makarov90 wine: WINE: Registering binary handler for Windows pro gram: Feb 22 16:07:56 makarov90 wine: ^[[73G Feb 22 16:07:56 makarov90 wine: [ Feb 22 16:07:56 makarov90 wine: ^[[1m^[[32m Feb 22 16:07:56 makarov90 wine: DONE Feb 22 16:07:56 makarov90 wine: ^[[39;49m^[[0;10m Feb 22 16:07:56 makarov90 rc: Starting wine: succeeded Feb 22 16:07:57 makarov90 kdm[5293]: XDMCP socket creation failed, errno 97 Feb 22 16:08:00 makarov90 kernel: agpgart: Found an AGP 3.5 compliant device at 0000:00:00.0. Feb 22 16:08:00 makarov90 kernel: agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode Feb 22 16:08:00 makarov90 kernel: agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode Feb 22 16:12:28 makarov90 anacron[4029]: Job `cron.daily' started Feb 22 16:12:28 makarov90 anacron[5786]: Updated timestamp for job `cron.daily' to `2008-02-22 16:12:28' Feb 22 16:12:33 makarov90 kernel: UDF-fs: No VRS found Feb 22 16:13:15 makarov90 apt-get: alterator-net-pptp-0:0.5.2-alt1 installed Feb 22 16:13:16 makarov90 apt-get: alterator-net-pptp-0:0.4-alt1 removed Feb 22 16:13:29 makarov90 anacron[4029]: Job `cron.daily' terminated Feb 22 16:13:34 makarov90 apt-get: ppp-0:2.4.4-alt10 installed Feb 22 16:13:34 makarov90 apt-get: ppp-0:2.4.4-alt7 removed Feb 22 16:13:57 makarov90 apt-get: ppp-common-0:0.4.2-alt1 installed Feb 22 16:13:57 makarov90 apt-get: ppp-common-0:0.4-alt1 removed Feb 22 16:17:28 makarov90 anacron[4029]: Job `cron.weekly' started Feb 22 16:17:28 makarov90 anacron[12134]: Updated timestamp for job `cron.weekly ' to `2008-02-22 16:17:28' Feb 22 16:17:43 makarov90 anacron[4029]: Job `cron.weekly' terminated Feb 22 16:22:28 makarov90 anacron[4029]: Job `cron.monthly' started Feb 22 16:22:28 makarov90 anacron[17931]: Updated timestamp for job `cron.monthl y' to `2008-02-22 16:22:28' Feb 22 16:22:28 makarov90 anacron[4029]: Job `cron.monthly' terminated Feb 22 16:22:28 makarov90 anacron[4029]: Normal exit (3 jobs run) Feb 22 16:30:06 makarov90 gconfd (makarov90-18087): starting (version 2.16.1), p id 18087 user 'makarov90' Feb 22 16:30:06 makarov90 gconfd (makarov90-18087): Resolved address "xml:readon ly:/etc/gconf/gconf.xml.mandatory" to a read-only configuration source at positi on 0 Feb 22 16:30:06 makarov90 gconfd (makarov90-18087): Resolved address "xml:readwr ite:/home/makarov90/.gconf" to a writable configuration source at position 1 Feb 22 16:30:06 makarov90 gconfd (makarov90-18087): Resolved address "xml:readon ly:/etc/gconf/gconf.xml.defaults" to a read-only configuration source at positio n 2 Feb 22 16:30:06 makarov90 gconfd (makarov90-18087): Resolved address "xml:readon ly:/var/cache/gconf/gconf.xml.defaults" to a read-only configuration source at p osition 3 Feb 22 16:30:36 makarov90 gconfd (makarov90-18087): GConf server is not in use, shutting down. Feb 22 16:30:36 makarov90 gconfd (makarov90-18087): Exiting Feb 22 16:30:41 makarov90 consolehelper[18116]: executing "/usr/sbin/alterator-s tandalone": (makarov90 --> root --> root) ПЕРЕЗАГРУЖАЮ 1. route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 10.168.0.5 0.0.0.0 255.255.255.255 UH 0 0 0 ppp20 192.168.100.203 192.168.33.1 255.255.255.255 UGH 0 0 0 eth0 192.168.33.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp20 2. файл ipv4route: default via 192.168.33.1 192.168.100.203/32 via 192.168.33.1 3. ввожу команду tail -50 /var/log/messages Feb 22 16:35:05 makarov90 anacron[4176]: Normal exit (0 jobs run) Feb 22 16:35:05 makarov90 dm: rundm startup succeeded Feb 22 16:35:05 makarov90 messagebus: dbus-daemon startup succeeded Feb 22 16:35:06 makarov90 kdm[4216]: XDMCP socket creation failed, errno 97 Feb 22 16:35:08 makarov90 kernel: agpgart: Found an AGP 3.5 compliant device at 0000:00:00.0. Feb 22 16:35:08 makarov90 kernel: agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode Feb 22 16:35:08 makarov90 kernel: agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode Feb 22 16:35:08 makarov90 pppd[2279]: Deflate (15) compression enabled Feb 22 16:35:11 makarov90 pppd[2279]: Deflate (15) compression enabled Feb 22 16:35:11 makarov90 haldaemon: hald startup succeeded Feb 22 16:35:12 makarov90 xinetd: xinetd startup succeeded Feb 22 16:35:12 makarov90 sshd[4400]: Server listening on 0.0.0.0 port 22. Feb 22 16:35:12 makarov90 sshd: sshd startup succeeded Feb 22 16:35:12 makarov90 rc: Starting rawdevices: succeeded Feb 22 16:35:14 makarov90 cups: cupsd startup succeeded Feb 22 16:35:14 makarov90 pppd[2279]: Deflate (15) compression enabled Feb 22 16:35:14 makarov90 powersaved: acpid shutdown succeeded Feb 22 16:35:14 makarov90 powersaved: acpid startup succeeded Feb 22 16:35:15 makarov90 powersaved: powersaved startup succeeded Feb 22 16:35:16 makarov90 postfix: Adjusting environment for postfix: succeeded Feb 22 16:35:17 makarov90 xinetd[4370]: 4370 {init_services} no services. Exitin g... Feb 22 16:35:17 makarov90 postfix: postfix check succeeded Feb 22 16:35:17 makarov90 postfix: Starting postfix: succeeded Feb 22 16:35:17 makarov90 pppd[2279]: Deflate (15) compression enabled Feb 22 16:35:17 makarov90 kernel: QEMU Accelerator Module version 1.3.0, Copyrig ht (c) 2005-2007 Fabrice Bellard Feb 22 16:35:17 makarov90 kernel: KQEMU installed, max_locked_mem=778080kB. Feb 22 16:35:17 makarov90 kqemu: Loading QEMU accelerator module (kqemu): succee ded Feb 22 16:35:18 makarov90 configd: alterator startup succeeded Feb 22 16:35:18 makarov90 httpd2.prefork: httpd2.prefork: Could not reliably det ermine the server's fully qualified domain name, using 127.0.0.1 for ServerName Feb 22 16:35:19 makarov90 httpd-alterator: httpd2.prefork startup succeeded Feb 22 16:35:19 makarov90 lircd-0.8.1[4944]: lircd(userspace) ready Feb 22 16:35:19 makarov90 lircd: lircd startup succeeded Feb 22 16:35:19 makarov90 lircd-0.8.1[4944]: accepted new client on /dev/lircd Feb 22 16:35:19 makarov90 lircd-0.8.1[4944]: could not get file information for /dev/lirc Feb 22 16:35:19 makarov90 lircd-0.8.1[4944]: default_init(): No such file or dir ectory Feb 22 16:35:19 makarov90 lircd-0.8.1[4944]: caught signal Feb 22 16:35:19 makarov90 lircd: lircmd startup succeeded Feb 22 16:35:19 makarov90 wine: WINE: Registering binary handler for Windows pro gram: Feb 22 16:35:19 makarov90 rc: Starting wine: succeeded Feb 22 16:35:20 makarov90 pppd[2279]: Deflate (15) compression enabled Feb 22 16:35:50 makarov90 pptp[2266]: anon log[logecho:pptp_ctrl.c:676]: Echo Re ply received. Feb 22 16:36:21 makarov90 gconfd (makarov90-5343): starting (version 2.16.1), pi d 5343 user 'makarov90' Feb 22 16:36:21 makarov90 gconfd (makarov90-5343): Resolved address "xml:readonl y:/etc/gconf/gconf.xml.mandatory" to a read-only configuration source at positio n 0 Feb 22 16:36:21 makarov90 gconfd (makarov90-5343): Resolved address "xml:readwri te:/home/makarov90/.gconf" to a writable configuration source at position 1 Feb 22 16:36:21 makarov90 gconfd (makarov90-5343): Resolved address "xml:readonl y:/etc/gconf/gconf.xml.defaults" to a read-only configuration source at position 2 Feb 22 16:36:21 makarov90 gconfd (makarov90-5343): Resolved address "xml:readonl y:/var/cache/gconf/gconf.xml.defaults" to a read-only configuration source at po sition 3 Feb 22 16:36:50 makarov90 pptp[2266]: anon log[logecho:pptp_ctrl.c:676]: Echo Re ply received. Feb 22 16:37:50 makarov90 pptp[2266]: anon log[logecho:pptp_ctrl.c:676]: Echo Re ply received. Feb 22 16:38:50 makarov90 pptp[2266]: anon log[logecho:pptp_ctrl.c:676]: Echo Re ply received. Feb 22 16:39:50 makarov90 pptp[2266]: anon log[logecho:pptp_ctrl.c:676]: Echo Re ply received. -- С Уважением, Александр Макаров! 5234378@gmail.com [-- Attachment #2: ipv4route --] [-- Type: application/octet-stream, Size: 61 bytes --]
next reply other threads:[~2008-02-22 13:53 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-02-22 13:53 Александр В. Макаров [this message] 2008-02-22 14:00 ` Alexei V. Mezin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=ffee06470802220553m76a806c4s3edfbea8cfc927f8@mail.gmail.com \ --to=5234378@gmail.com \ --cc=community@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git