Tag Archive for Entertainment_Culture

Making Path Persistent

I’ve been paying a lot of attention to this site since I switched platforms and somehow people are finding some fairly irrelevant content on my site for the search terms making path persistent in solaris 10 so I figured I better put some real answers up.

It is hard to know exactly what kind of path they had in mind- were they referring to the standard PATH variable which lists the directories in which to search for executables or were they referring to something more complicated?

You can make the executable search PATH variable persistent in several ways:

  1. On the system level you can set it in the /etc/profile file. It will affect all users except maybe root.
  2. On a per user level, or for the user root, you can set the PATH in the .profile file in the user’s home directory

Setup PPTP on Ubuntu

Here is a quick howto on installing and setting up PPTP on Ubuntu.
Specifically I’ll be attempting to configure this machine to use the Israeli ISP 012 over a cable modem. 012 provides some sort of installation package for Linux but it doesn’t support Ubuntu.

Anyway- here are my steps:
xhost +
sudo su-
export DISPLAY=’:0′
echo ‘deb http://quozl.netrek.org/pptp/pptpconfig ./’ >> /etc/apt/sources.list
apt-get update
apt-get install pptp-linux
apt-get install pptpconfig
Use the server cablepns.012.net.il and the user/password provided by the ISP

Set the Cable connection to by your default route (All to Tunnel)

Select ‘usepeerdns’ enabled (Automatic)

Set the tunnel to reconnect if disconnected.
Use the following pppd options:

noipdefault noauth default-asyncmap noipx defaultroute hide-password nodetach maxfail 1 lcp-max-configure 6 linkname cable ipparam cable-pptp userpeerdns persist mtu 1460 mru 1460 noproxyarp noaccomp nobsdcomp nodeflate nopcomp user cable lcp-echo-interval 20 lcp-echo-failure 3

Click Add and Start
Now if you don’t have a network connection which is very likely you will need your ubuntu cd and these files from the apt source we added:

Instead of the ‘apt-get install pptpconfig’ step above do:
dpkg -i php-gtk-pcntl_1.0.0-2_i386.deb
dpkg -i php-pcntl_4.3.8-2_i386.deb
dpkg -i pptpconfig_20060821-0_all.deb