Notes: PPTP/L2TP Server on Ubuntu

From: https://help.ubuntu.com/community/PPTPServer and https://help.ubuntu.com/community/L2TPServer

This is an integrated & simplified intro about installing pptp/l2tp server on ubuntu 12.04.

Install

pptpd, xl2tpd, openswan are needed.
ppp should be installed by default, you can apt-get install ppp just for sure.
dnsmasq is needed to simplify dns issue.
So, just type commands:

Environment

Server ip is assigned as: 192.168.210.1
Client ip are in : 192.168.210.100~192.168.210.200

Continue reading “Notes: PPTP/L2TP Server on Ubuntu” »

Notes: PPTP/L2TP Server on Ubuntu by @sskaje: https://sskaje.me/2013/10/notes-pptpl2tp-server-on-ubuntu/

Macports upgrade outdated failed on OS X 10.9 Mavericks

bash-4.2# port upgrade outdated
---> Extracting expat
Error: org.macports.extract for port expat returned: command execution failed
Please see the log file for port expat for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
bash-4.2#
bash-4.2# tail /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/main.log
:info:extract Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/expat/expat-2.1.0.tar.gz' | /usr/bin/gnutar --no-same-owner -xf -
:info:extract Exit code: 127
:error:extract org.macports.extract for port expat returned: command execution failed
:debug:extract Error code: NONE
:debug:extract Backtrace: command execution failed
while executing
"$procedure $targetname"
:info:extract Warning: targets not executed for expat: org.macports.destroot org.macports.extract org.macports.patch org.macports.configure org.macports.build
:notice:extract Please see the log file for port expat for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/main.log

Continue reading “Macports upgrade outdated failed on OS X 10.9 Mavericks” »

Macports upgrade outdated failed on OS X 10.9 Mavericks by @sskaje: https://sskaje.me/2013/10/macports-upgrade-outdated-failed-on-os-x-10-9-mavericks/

iPad not Charging on MacBook Pro?

It’s not the first time my iPad show not charging when it’s connected to my MBP.
IMG_0107

‘About This Mac’ => ‘More Info…’ => ‘System Report…’ => ‘Hardware’ => ‘USB’ => ‘iPad’

QQ20130425-1@2x

You’ll find ‘Extra Operating Current’ disappeared here.

Continue reading “iPad not Charging on MacBook Pro?” »

iPad not Charging on MacBook Pro? by @sskaje: https://sskaje.me/2013/04/ipad-not-charging-on-macbook-pro/

Incoming search terms: