Problems with the VPN internet connection
I have a very strange problem with my VPN connection.
OK, I will say what I have. I am connected to a local network and the IP and DNS are set by a DHCP server. So when installing Slack 12 I've chosen the DHCP server. The Internet is purchased by a VPN connection. I don't like GUI because it doesn't work and I really hate it. So, before Slack I got Ubuntu 7.10 and such combination of a script and the program pptp-linux worked perfectly. So, what I have done. I downloaded the script http://cables.org.il/ik/cable.tar.gz and installed it. Also I installed pptp-linux in such a way: tar zxvf pptp-linux-1.0.2.tar.gz cd pptp-linux-1.0.2 make cp pptp_callmgr /usr/local/bin cp pptp /usr/local/bin Then I typed cable-start (as root, surely) in console and it told me that the link ppp0 is UP! But none of the sites loaded and ping google.com haven't had any results. I understand that none of the problems cannot be solved without necessary logs. So I provide the logs. THAT'S BEFORE I MADE THE LINK UP root@slack:~# ifconfig eth0 Link encap:Ethernet HWaddr 00:01:6C:D0:9B:F1 inet addr:10.233.114.78 Bcast:10.233.127.255 Mask:255.255.192.0 inet6 addr: fe80::201:6cff:fed0:9bf1/64 Scope:Link UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1 RX packets:837 errors:2 dropped:0 overruns:0 frame:0 TX packets:9 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:93751 (91.5 KiB) TX bytes:1708 (1.6 KiB) Interrupt:16 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) root@slack:~# ip r 10.233.64.0/18 dev eth0 scope link 127.0.0.0/8 dev lo scope link default via 10.233.64.1 dev eth0 THAT'S WHEN I RUN THE SCRIPT CABLE root@slack:~# cable-start which: no pptp in (/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib/java/bin:/usr/lib/java/jre/bin:/usr/lib/qt/bin:/usr/share/texmf/bin) Using interface ppp0 Connect: ppp0 <--> /dev/pts/2 root@slack:~# CHAP authentication succeeded not replacing existing default route via 10.233.64.1 local IP address 172.30.176.142 remote IP address 193.138.247.180 AND THAT'S WHEN THE LINK IS UP root@slack:~# ifconfig eth0 Link encap:Ethernet HWaddr 00:01:6C:D0:9B:F1 inet addr:10.233.114.78 Bcast:10.233.127.255 Mask:255.255.192.0 inet6 addr: fe80::201:6cff:fed0:9bf1/64 Scope:Link UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1 RX packets:25526 errors:4 dropped:0 overruns:0 frame:0 TX packets:67 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1664401 (1.5 MiB) TX bytes:5442 (5.3 KiB) Interrupt:16 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) ppp0 Link encap:Point-to-Point Protocol inet addr:172.30.176.142 P-t-P:193.138.247.180 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1460 Metric:1 RX packets:4 errors:0 dropped:0 overruns:0 frame:0 TX packets:4 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:40 (40.0 b) TX bytes:46 (46.0 b) root@slack:~# ip r 193.138.247.180 dev ppp0 proto kernel scope link src 172.30.176.142 10.233.64.0/18 dev eth0 scope link 127.0.0.0/8 dev lo scope link default via 10.233.64.1 dev eth0 So I can say that the IP and DNS values are absolutely correct, the same worked on Ubuntu and Arch Linux. What I think: I think there may be some special Slackware 12-related problems. I've chosen the full installation and maybe some firewall installed ? Or I heard about the IPv6 that it can cause problems. OR maybe I haven't installed the pptp-linux program correctly, or it's too old. In Ubuntu I took the pptp-linux from the native disc and surely it was newer. Please help me. I love Slack too much to give it up, and now I've got my xorg.conf right, I mounted my windows partitions, so without the Internet Linux (as well as any other OS) is useless... |
When you ran `cable-start`, it couldn't find pptp. I would guess that you installed pptp incorrectly. If I were you (which I'm not) I would uninstall pptp (I guess you just copied two files or something, and I'm just guessing that the pptp file you copied to /usr/local/bin is not executable, meaning the permissions are wrong -- however, this is almost certainly not the correct way to install it) and install the version from slackbuilds.org: http://slackbuilds.org/repository/12.0/network/pptp/
There are instructions on that site about how to use the SlackBuild, but basically, download the pptp.tar.gz, extract it (using the command `tar -zxvf pptp.tar.gz`), and then download pptp-1.7.1.tar.gz and save it into the new "pptp" directory created when you extracted pptp.tar.gz. Then `cd` into the new directory containing pptp-1.7.1.tar.gz and type, as root, `./pptp.SlackBuild`. This will compile the program and leave a .tgz file in /tmp. Install this file (pptp-1.7.1-i486-1_SBo.tgz or something similar) using the following command, as root: Code:
# installpkg pptp-1.7.1-i486-1_SBo.tgz Good luck. |
All times are GMT -5. The time now is 03:18 AM. |