LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   VPN connection on FC7 (https://www.linuxquestions.org/questions/fedora-35/vpn-connection-on-fc7-595464/)

Salgeras 10-29-2007 09:18 AM

VPN connection on FC7
 
Hello to all!!
I have problems with VPN WiFi connection on Fedora 7.. read lots of tutorials, howto's, but I still cant connect..

Concerning hardware configuration, it looks like this:
Yagi antenna->AP TL-WA501G->Ethetnet card on laptop.

I've followed instructions from http://pptpclient.sourceforge.net/h...ra-core-6.phtml, successfully installed pptpconfig, and setup it like from the picture..name, server, user and pass.. For routing I set "all to tunnel" (dont know what route is, but only works with this option)..

When I start connection, it says this:
Code:

Using interface ppp0pptpconfig: monitoring interface ppp0

Connect: ppp0 <--> /dev/pts/1
Remote message: 138/128/128/128^J
PAP authentication succeeded
local  IP address 91.148.114.106
remote IP address 10.200.2.1
pptpconfig: pppd process exit status 0 (started)
ip route replace 10.200.250.130 via 10.200.125.1 dev eth0  src 10.200.125.175
pptpconfig: routes added to remote networks
ip route replace default dev 'ppp0'
pptpconfig: default route changed to use tunnel
pptpconfig: DNS changes made to /etc/resolv.conf
pptpconfig: connected

And I see that packages are being sent..but only a few received. I cant ping, nor open any web page.

This is "ifconfig" output:
Code:

eth0      Link encap:Ethernet  HWaddr 00:17:31:25:8C:E0 
          inet addr:10.200.125.175  Bcast:10.200.125.255  Mask:255.255.255.0
          inet6 addr: fe80::217:31ff:fe25:8ce0/64 Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:231 errors:0 dropped:0 overruns:0 frame:0
          TX packets:49 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:20329 (19.8 KiB)  TX bytes:4795 (4.6 KiB)
          Interrupt:18 Base address:0xd800

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: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)

Then, my /etc/resolv.conf
Code:

# generated by NetworkManager, do not edit!
nameserver 10.200.1.30

I think that problem is somewhere in IP's configuration, but I dont know what else to do.

This is output from "ipconfig /all" from windows:
Code:

Windows IP Configuration
        Host Name . . . . . . . . . . . . : salgeras
        Primary Dns Suffix  . . . . . . . :
        Node Type . . . . . . . . . . . . : Unknown
        IP Routing Enabled. . . . . . . . : No
        WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Local Area Connection:
        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : Realtek RTL8139/810x Family Fast Ethernet NIC
        Physical Address. . . . . . . . . : 00-17-31-25-8C-E0
        Dhcp Enabled. . . . . . . . . . . : Yes
        Autoconfiguration Enabled . . . . : Yes
        IP Address. . . . . . . . . . . . : 10.200.125.175
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 10.200.125.1
        DHCP Server . . . . . . . . . . . : 10.200.125.1
        DNS Servers . . . . . . . . . . . : 10.200.1.30
        Lease Obtained. . . . . . . . . . : Monday, October 29, 2007 9:17:19 AM
        Lease Expires . . . . . . . . . . : Thursday, November 01, 2007 9:17:19AM

PPP adapter KBCnet:
        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : WAN (PPP/SLIP) Interface
        Physical Address. . . . . . . . . : 00-53-45-00-00-00
        Dhcp Enabled. . . . . . . . . . . : No
        IP Address. . . . . . . . . . . . : 91.148.113.154   
        Subnet Mask . . . . . . . . . . . : 255.255.255.255
        Default Gateway . . . . . . . . . : 91.148.113.154
        DNS Servers . . . . . . . . . . . : 10.200.1.30
                                            194.106.162.2

Please, help!!
Thanks!!

Salgeras 10-30-2007 09:30 AM

I forgot to give you one more information. This is 'ifconfig' after the pptpconfig establish connection:
Code:

eth0      Link encap:Ethernet  HWaddr 00:17:31:25:8C:E0 
          inet addr:10.200.125.175  Bcast:10.200.125.255  Mask:255.255.255.0
          inet6 addr: fe80::217:31ff:fe25:8ce0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:107 errors:0 dropped:0 overruns:0 frame:0
          TX packets:106 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:8544 (8.3 KiB)  TX bytes:20744 (20.2 KiB)
          Interrupt:22 Base address:0x400

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:10 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:660 (660.0 b)  TX bytes:660 (660.0 b)

ppp0      Link encap:Point-to-Point Protocol 
          inet addr:91.148.114.253  P-t-P:10.200.253.1  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1400  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2862342 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:40 (40.0 b)  TX bytes:966316019 (921.5 MiB)

virbr0    Link encap:Ethernet  HWaddr 00:00:00:00:00:00 
          inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
          inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:46 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:9081 (8.8 KiB)

Looking in this everything seem ok. But, still cant open any page. I really dont understand what is wrong.
This is screenshot from pptpconfig log screen: http://www.freewebs.com/salgeras/linux/Screenshot.jpg


All times are GMT -5. The time now is 08:26 AM.