Автор Тема: Fedora Core 4 инсталация и настроки  (Прочетена 7336 пъти)

novak_fedora

  • Напреднали
  • *****
  • Публикации: 41
    • Профил
Fedora Core 4 инсталация и настроки
« Отговор #30 -: Jan 28, 2006, 22:28 »
1)издърпах  от  http://fedoraproject.org/extras/4/i386/repodata/repoview/P.group.html

pptp-1.7.0-1.fc4: Point-to-Point Tunneling Protocol (PPTP) Client
pptp-1.7.0-2.fc4: Point-to-Point Tunneling Protocol (PPTP) Client
                http://www.city-fan.org/ftp/contrib/yum-repo/fc4/repodata/repoview/D.group.html
dkms-2.0.9-1.noarch.rpm

  издърпах  от http://www.city-fan.org/ftp/contrib/yum-repo/fc4/

php-pcntl-4.4.1-1.i386.rpm
php-gtk-pcntl-1.0.2-1.i386.rpm
pptpconfig-20040722-7.noarch.rpm


2)  инсалирах пакетите
1  dkms-2.0.9-1.noarch.rpm
2  pptp-1.7.0-1.fc4
3  pptp-1.7.0-2.fc4
4  php-pcntl-4.4.0-1.i386.rpm
5  php-gtk-pcntl-1.0.2-1.i386.rpm
6  pptpconfig-20040722-6.noarch.rpm


3)
# su -
# mcedit /etc/ppp/options.pptp



###############################################################################
# $Id: options.pptp,v 1.1 2005/02/18 01:40:23 quozl Exp $
#
# Sample PPTP PPP options file /etc/ppp/options.pptp
# Options used by PPP when a connection is made by a PPTP client.
# This file can be referred to by an /etc/ppp/peers file for the tunnel.
# Changes are effective on the next connection.  See "man pppd".
#
# You are expected to change this file to suit your system.  As
# packaged, it requires PPP 2.4.2 or later from http://ppp.samba.org/
# and the kernel MPPE module available from the CVS repository also on
# http://ppp.samba.org/, which is packaged for DKMS as kernel_ppp_mppe.
###############################################################################

# Lock the port
lock

# Authentication
# We don't need the tunnel server to authenticate itself
noauth

# We won't do EAP, CHAP, or MSCHAP, but we will accept MSCHAP-V2
#refuse-eap
#refuse-chap
#refuse-mschap

# Compression
# Turn off compression protocols we know won't be used
nobsdcomp
nodeflate

# Encryption
# (There have been multiple versions of PPP with encryption support,
# choose with of the following sections you will use.  Note that MPPE
# requires the use of MSCHAP-V2 during authentication)

# http://ppp.samba.org/ the PPP project version of PPP by Paul Mackarras
# ppp-2.4.2 or later with MPPE only, kernel module ppp_mppe.o
# {{{
# Require MPPE 128-bit encryption
#require-mppe-128
# }}}

# http://polbox.com/h/hs001/ fork from PPP project by Jan Dubiec
# ppp-2.4.2 or later with MPPE and MPPC, kernel module ppp_mppe_mppc.o
# {{{
# Require MPPE 128-bit encryption
#mppe required,stateless
# }}}
 

4) натиснех Alt+F2 появи се Run, написах pptpconfig
и тръгна
Name : някакво име , не е важно
Server : IP-то на сървъра
Username, password е ясно
след дова на второто табче (Routing)
един клик на All to tunnel
и на следващото табче сложи един тик на Automatic
на следващото махни всички отметки.
След това Add и Start

И ето резултата от къртовсния Труд и вашата помощ ГОСПОДА

[root@svestari ~]# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:00:B4:C2:07:53
          inet addr:192.168.0.15  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::200:b4ff:fec2:753/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:34607 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13069 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:5434772 (5.1 MiB)  TX bytes:2318547 (2.2 MiB)
          Interrupt:9 Base address:0xe800

eth1      Link encap:Ethernet  HWaddr 00:00:21:F3:DA:CB
          inet addr:10.0.1.1  Bcast:10.0.1.255  Mask:255.255.255.0
          inet6 addr: fe80::200:21ff:fef3:dacb/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:659 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:43818 (42.7 KiB)
          Interrupt:9 Base address:0xe400

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:10258 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10258 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:5863874 (5.5 MiB)  TX bytes:5863874 (5.5 MiB)

ppp0      Link encap:Point-to-Point Protocol
          inet addr:193.68.118.255  P-t-P:193.68.5.67  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1460  Metric:1
          RX packets:12 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:564 (564.0 B)  TX bytes:323 (323.0 B)

sit0      Link encap:IPv6-in-IPv4
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

[root@svestari ~]#




[root@svestari ~]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
isperih7.digsys *               255.
Активен

novak_fedora

  • Напреднали
  • *****
  • Публикации: 41
    • Профил
Fedora Core 4 инсталация и настроки
« Отговор #31 -: Jan 28, 2006, 22:29 »
1)издърпах  от  http://fedoraproject.org/extras/4/i386/repodata/repoview/P.group.html

pptp-1.7.0-1.fc4: Point-to-Point Tunneling Protocol (PPTP) Client
pptp-1.7.0-2.fc4: Point-to-Point Tunneling Protocol (PPTP) Client
                http://www.city-fan.org/ftp/contrib/yum-repo/fc4/repodata/repoview/D.group.html
dkms-2.0.9-1.noarch.rpm

  издърпах  от http://www.city-fan.org/ftp/contrib/yum-repo/fc4/

php-pcntl-4.4.1-1.i386.rpm
php-gtk-pcntl-1.0.2-1.i386.rpm
pptpconfig-20040722-7.noarch.rpm


2)  инсалирах пакетите
1  dkms-2.0.9-1.noarch.rpm
2  pptp-1.7.0-1.fc4
3  pptp-1.7.0-2.fc4
4  php-pcntl-4.4.0-1.i386.rpm
5  php-gtk-pcntl-1.0.2-1.i386.rpm
6  pptpconfig-20040722-6.noarch.rpm


3)
# su -
# mcedit /etc/ppp/options.pptp



###############################################################################
# $Id: options.pptp,v 1.1 2005/02/18 01:40:23 quozl Exp $
#
# Sample PPTP PPP options file /etc/ppp/options.pptp
# Options used by PPP when a connection is made by a PPTP client.
# This file can be referred to by an /etc/ppp/peers file for the tunnel.
# Changes are effective on the next connection.  See "man pppd".
#
# You are expected to change this file to suit your system.  As
# packaged, it requires PPP 2.4.2 or later from http://ppp.samba.org/
# and the kernel MPPE module available from the CVS repository also on
# http://ppp.samba.org/, which is packaged for DKMS as kernel_ppp_mppe.
###############################################################################

# Lock the port
lock

# Authentication
# We don't need the tunnel server to authenticate itself
noauth

# We won't do EAP, CHAP, or MSCHAP, but we will accept MSCHAP-V2
#refuse-eap
#refuse-chap
#refuse-mschap

# Compression
# Turn off compression protocols we know won't be used
nobsdcomp
nodeflate

# Encryption
# (There have been multiple versions of PPP with encryption support,
# choose with of the following sections you will use.  Note that MPPE
# requires the use of MSCHAP-V2 during authentication)

# http://ppp.samba.org/ the PPP project version of PPP by Paul Mackarras
# ppp-2.4.2 or later with MPPE only, kernel module ppp_mppe.o
# {{{
# Require MPPE 128-bit encryption
#require-mppe-128
# }}}

# http://polbox.com/h/hs001/ fork from PPP project by Jan Dubiec
# ppp-2.4.2 or later with MPPE and MPPC, kernel module ppp_mppe_mppc.o
# {{{
# Require MPPE 128-bit encryption
#mppe required,stateless
# }}}
 

4) натиснех Alt+F2 появи се Run, написах pptpconfig
и тръгна
Name : някакво име , не е важно
Server : IP-то на сървъра
Username, password е ясно
след дова на второто табче (Routing)
един клик на All to tunnel
и на следващото табче сложи един тик на Automatic
на следващото махни всички отметки.
След това Add и Start

И ето резултата от къртовсния Труд и вашата помощ ГОСПОДА

[root@svestari ~]# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:00:B4:C2:07:53
          inet addr:192.168.0.15  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::200:b4ff:fec2:753/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:34607 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13069 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:5434772 (5.1 MiB)  TX bytes:2318547 (2.2 MiB)
          Interrupt:9 Base address:0xe800

eth1      Link encap:Ethernet  HWaddr 00:00:21:F3:DA:CB
          inet addr:10.0.1.1  Bcast:10.0.1.255  Mask:255.255.255.0
          inet6 addr: fe80::200:21ff:fef3:dacb/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:659 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:43818 (42.7 KiB)
          Interrupt:9 Base address:0xe400

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:10258 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10258 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:5863874 (5.5 MiB)  TX bytes:5863874 (5.5 MiB)

ppp0      Link encap:Point-to-Point Protocol
          inet addr:193.68.118.255  P-t-P:193.68.5.67  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1460  Metric:1
          RX packets:12 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:564 (564.0 B)  TX bytes:323 (323.0 B)

sit0      Link encap:IPv6-in-IPv4
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

[root@svestari ~]#




[root@svestari ~]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
isperih7.digsys *               255.255.255.255 UH    0      0        0 ppp0
192.168.0.1     *               255.255.255.255 UH    0      0        0 eth0
10.0.1.0        *               255.255.255.0   U     0      0        0 eth1
192.168.0.0     *               255.255.255.0   U     0      0        0 eth0
169.254.0.0     *               255.255.0.0     U     0      0        0 eth1
192.168.0.0     *               255.255.0.0     U     0      0        0 eth0
default         *               0.0.0.0         U     0      0        0 ppp0
[root@svestari ~]#


Аз имам и други проблеми искам да ги изложа в тази тема макар че може по форума
да има предложено решение. Поради това че някои линукс дистрибуции (може да бъркам термините)
искам да кажа за р%E
Активен

novak_fedora

  • Напреднали
  • *****
  • Публикации: 41
    • Профил
Fedora Core 4 инсталация и настроки
« Отговор #32 -: Jan 29, 2006, 08:53 »
извинявам се че го пуснах няколко пъти просто нета беше много калпав и не можах да разбера

Моля за извинение
Активен

novak_fedora

  • Напреднали
  • *****
  • Публикации: 41
    • Профил
Fedora Core 4 инсталация и настроки
« Отговор #33 -: Feb 02, 2006, 18:26 »
Здравйте отново вече имам нет но не мога да пусна през ФЕДОРА към winXP PC нет.
Значи сам направил следното
лин лан1 192.168.0.15/24--------------------------VPN server ISP 192.168.0.1
         gw  192.168.0.1
      лан2  172.16.0.1/24-----|
      gw     172.16.0.254      |
win лан    172.16.0.2/24-----|
      gw     172.16.0.1
в кнзолата писах  route add defaul gw 192.168.0.1
след това какво да добавя. Четох вав форума но не можах да разбера
някой може ли да обясни по подробно.

Благодаря предварително.
Активен

Подобни теми
Заглавие Започната от Отговора Прегледи Последна публикация
Има ли аудиомиксер във Fedora core 1?
Хардуерни и софтуерни проблеми
vesko_dechev 2 2577 Последна публикация Jan 21, 2004, 14:37
от apogza
Настройка на Fedora Core 1 ?
Настройка на програми
spider 0 1744 Последна публикация Feb 23, 2004, 17:01
от spider
Fedora Core 2
Идеи и мнения
BOT_ev 4 3022 Последна публикация Apr 27, 2004, 23:26
от tuxbg
Fedora Core 2 и MP3
Настройка на програми
BOT_ev 1 2189 Последна публикация May 22, 2004, 18:54
от kennedy
Fedora Core 2 и звук
Настройка на програми
rat 0 2127 Последна публикация May 25, 2004, 18:38
от rat