Networking

110 posts in Networking

OpenVPN: Can't assign requested address

· Apple, Errors, Linux, Networking, Software

For no clear reason, OpenVPN on Mac with Tunnelblick (any version, had this problem for a few years already) results in these kind of error messages (and refuses to connect):

2013-02-05 17:44:31 write UDPv4: Can't assign requested address (code=49)
2013-02-05 17:44:33 write UDPv4: Can't assign requested address (code=49)

This seems to appear more often when swapping WiFi/IP range (after my Mac goes into sleep). But also happens when connecting to the same WiFi. It doesn’t change anything whether I disconnect OpenVPN before putting the Mac to sleep.

Xen: NAT and Bridging

· Linux, Networking

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! ;)

Shell(s) for my Great Firewall Checker

· Linux, Networking, Software, www

As my last shell has been disconnected in China (not because I was probing websites, but because the building the Guruplug was in got closed) I’m looking for shells. Linux or Unix. With Git installed. I’ll barely use any disk space and it will probe the websites at most once/day (at night, when you won’t notice it).

And not just China, but any country where they tend to censor certain websites.

Telenet, the satire

· Misc, Networking

Another news site that gets the facts wrong.

I only retweeted and posted the image on my blog. @raf__ is the author of this image (or at least, the one that spread it). Not me.

I thought the “Source” part at the end of my blog was clear enough…

De aanhoudende YouTube-problemen bij Telenet inspireerden Twitteraar Yeri Tiete (@Tuinslak) tot deze satirische advertentie.

ZDnet was wrong. Now ITprofessionals. Who’s next?

Data roaming

· Google, Networking, Software, Travel

I bricked my Nexus S yesterday, while trying to root it (with an howto for an old Android version). As usual I was trying to do too much stuff with too little time (as I had to catch my plane later that evening).

I had to root it to get OpenVPN, ssh tunnel, or system wide proxies up and running. Things I needed to by-pass the Great Firewall in China on my mobile.

socket: Permission denied

· Errors, Linux, Networking, Software

After upgrading my Guruplug Display from Lenny to Squeeze I came along an odd error; every non-root user was unable to access anything related to the internet.

NTP:

Mar 26 20:31:50 localhost ntpd[1055]: ./../lib/isc/unix/ifiter_ioctl.c:348: unexpected error: Mar 26 20:31:50 localhost ntpd[1055]: making interface scan socket: Permission denied Mar 26 20:35:09 localhost ntpd[1055]: ntpd exiting on signal 15

Regular user:

yeri@gplugD ~ $ ping google.be ping: unknown host google.be yeri@gplugD ~ $ ping 85.12.6.171 socket: Permission denied yeri@gplugD ~ $ ssh localhost socket: Permission denied ssh: connect to host localhost port 22: Permission denied