2011
149 posts
Off to New York
Via Frankfurt.
bubye!
Yourls + WP plugin
I came against a problem that my Yourls WordPress plugin refused to generate a short url (it timed out when publishing a post; and it sent a tweet with no url).
And when someone visited the post it tried to regenerate a new short url (and this often resulted in 4-5 short urls being created) with title “301 moved permanently”.
Overall, tracking 891 links, 93,876 clicks, and counting!
Mobile Vikings & iPhones
Because it took me about 10 minutes to Google it, I’ll recap it here;
If tethering is unavailable on ones iPhone, and you have to helpdesk him/her out of it, go to:
Settings > General > Network > Cellular Data Network
And set “Cellular data” to:
APN: web.be username: web password: web
And reboot the device… Tethering should/will be available.
Xen: NAT and Bridging
Because dom0 was running NAT, and I needed bridging;
Debian network file (/etc/network/interfaces):
iface eth3 inet manual
auto xenbr0
iface xenbr0 inet static
bridge_ports eth3
address 10.19.86.1
broadcast 10.19.86.255
netmask 255.255.255.0
NAT is running on eth2, bridging on eth3 (/etc/xen/xend-config.sxp):
(network-script 'network-nat netdev=eth2')
Now, for the VM configs:
NAT:
vif = [ 'ip=172.16.1.12,mac=00:16:3E:5E:0D:1A' ]
Bridge:
vif = [ 'ip=85.12.6.178,mac=00:16:3E:1D:F5:6C,script=vif-bridge,bridge=xenbr0' ]
It’s magic and it works! ;)


