Hi all,
I am using slackware 12.1 on my desktop.
My problem is that I cannot connect to the VPN server
of my office. Although I have searched all the relevant
threads on this forum, I don't know how to do it.
Any help would be gratefully appreciated.
Thanks
What I have done is:
- ran "netconfig" an chose DHCP as my type of network connection.
- downloaded SlackBuilds of pptp-1.7.2, pptpd-1.3.4, wicd-1.5.4.
and installed all of them successfully.
- as "wicd" could not find /bin/ip, I have linked it to /sbin/ip.
- ran the following commands in order (the logs are listed at the
end of this message.):
$ wicd
$ wicd-client &
$ pptpsetup --create VPN_Network --server 172.16.2.12 \
--username my_username --password my_password \
--encrypt --start
The logs are:
Please note that on Windows XP the VPN network status is:{{{
Device Name: WAN Miniport (PPTP)
Device Type: vpn
Server Type: PPP
Transports: TCP/IP
Authentication: MS CHAP V2
Encryption: MPPE 128
Compression: (none)
PPP multilink framing: Off
Server IP address: 85.185.67.230, 172.16.2.12
Client IP address: 10.0.0.117, 172.32.1.176
}}}
pptpsetup --create VPN_Network --server 172.16.2.12 --username my_username \
--password my_password --encrypt --start
Using interface ppp0
Connect: ppp0 <--> /dev/pts/6
CHAP authentication succeeded
MPPE 128-bit stateless compression enabled
Cannot determine ethernet address for proxy ARP
local IP address 172.32.1.166
remote IP address 172.16.2.12
$ ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:1d:60:2f:30:5b
inet addr:10.4.5.32 Bcast:10.4.5.255 Mask:255.255.255.0
inet6 addr: fe80::21d:60ff:fe2f:305b/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1525 errors:0 dropped:0 overruns:0 frame:0
TX packets:56 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:136667 (133.4 KiB) TX bytes:7998 (7.8 KiB)
Interrupt:17 Base address:0x8000
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:4672 errors:0 dropped:0 overruns:0 frame:0
TX packets:4672 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1020332 (996.4 KiB) TX bytes:1020332 (996.4 KiB)
ppp0 Link encap:Point-to-Point Protocol
inet addr:172.32.1.166 P-t-P:172.16.2.12 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1496 Metric:1
RX packets:5 errors:0 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:62 (62.0 B) TX bytes:68 (68.0 B)
$ ip r
172.16.2.12 via 10.4.5.1 dev eth0 src 10.4.5.32
172.16.2.12 dev ppp0 proto kernel scope link src 172.32.1.166
10.4.5.0/24 dev eth0 scope link
127.0.0.0/8 dev lo scope link
default via 10.4.5.1 dev eth0
$ ping 10.4.5.1
PING 10.4.5.1 (10.4.5.1) 56(84) bytes of data.
64 bytes from 10.4.5.1: icmp_seq=1 ttl=255 time=7.88 ms
64 bytes from 10.4.5.1: icmp_seq=2 ttl=255 time=11.7 ms
64 bytes from 10.4.5.1: icmp_seq=3 ttl=255 time=19.6 ms
$ ping
www.google.com
ping: unknown host
www.google.com