Archive for the ‘Internet’ Category

FreeBSD: PPPoE client setup

Monday, January 18th, 2010

Append the provider configuration to /etc/ppp/ppp.conf:

provider:
set device PPPoE:<interface>
set authname <PPPoE username>
set authkey <PPPoE password>
set dial
set login
add default HISADDR
enable lqr echo
enable dns
nat enable yes
set redial 2

Replace <interface> with your network interface towards the PPPoE server. Start the PPPoE client, as root: /etc/rc.d/ppp start

Enable PPPoE client at startup, append to /etc/rc.conf:

ifconfig_<interface>="up"
ppp_enable="YES"
ppp_profile="provider"
ppp_mode="ddial"

Start the PPPoE client with /etc/rc.d/ppp start as root. The PPPoE interface is usually tun0.

Another Middle East undersea fiber cut

Friday, December 19th, 2008

Internet service in Egypt, the UAE, India and other counties in the region was interrupted today when submarine cables in the Mediterranean Sea failed. 

Cause of the failure is not known at this time, says operator Reliance GlobalCom. A total of three cables linking Italy and Egypt went down. A ship has been sent out to fix the problems.

Currently, services are being rerouted to backup cables and satellites. As rerouting measures fully kick in, services are expected to improve by early Saturday morning.

This isn’t the first time that cable service to the region has failed. Earlier this year, five separate undersea cables were cut between late January and early February, interrupting service to a number of countries.  

There’s likely to be some serious failure analysis involved if we see some more pipes go off-line in the next week.

(quoted from here).

SANS Internet Storm Center page about this event.

Source NAT on Solaris 10 5/08 quick how-to

Wednesday, October 8th, 2008

Enable ipv4 forwarding:

routeadm -u -e ipv4-forwarding

Configure NAT in /etc/ipf/ipnat.conf (replace e1000g0 with your outside interface, 172.16.0.0/12 with your LAN IP range):

map e1000g0 172.16.0.0/12 -> 0/32 proxy port ftp ftp/tcp
map e1000g0 172.16.0.0/12 -> 0/32 portmap tcp/udp auto
map e1000g0 172.16.0.0/12 -> 0/32

Enable ipf:

svcadm enable network/ipfilter

Internet in Qatar

Thursday, March 6th, 2008

Starting this morning the Internet link is very slow, with 10-40% packet loss and 1.5 second RTT. This could be due to Qtel’s PCCWBTN link down starting after 8 a.m. AST. Traffic is routed via AS6453 (Teleglobe), which is heavily overloaded and oversubscribed. Of course, the FLAG Telecom link is not used for ADSL subscribers. So, the 2 MBPS ADSL link (largest residential package available in Qatar) real speed is around 200 kbps. This reminds me of home Internet access ten years ago.

2008 submarine cable disruption

Tuesday, February 12th, 2008

http://en.wikipedia.org/wiki/2008_submarine_cable_disruption

Mediterranean Submarine Cables Cut

Sunday, February 3rd, 2008

Two separate oceanic cable systems in the far East were severed around 0800 hrs GMT on January 30 2008, greatly impacting both Internet and voice traffic to the region. A third cable was cut at 0559 hrs GMT on February 1 2008.

http://www.dailywireless.org/2008/01/30/oceanic-fiber-cut/

iPod touch YouTube proxy issue

Saturday, November 10th, 2007

“YouTube not available” error message is shown on the iPod touch display when a proxy server is configured.

I see a 404 error message for http://iphone-wu.apple.com/feeds/standardfeeds/ in squid logs.

Same problem reported on Apple Discussions.

Watch your home TV anywhere

Saturday, November 10th, 2007

Thanks to Sling Media, I can watch all cable and Pay-TV stations in Qatar, streamed directly from my home over the Internet. I can even remote control the Set-Top Box.

Sling Box (classic) connections: analog antenna (tuner) – cable, Composite input – UPC STB. The setup will be complete with a DVD HDD recorder (connected to S-Video input and also to the STB).

The new Sling Box Pro is on the way from amazon.co.uk.

Thanks, eNom

Wednesday, October 3rd, 2007

Checkout on https://www.enomcentral.com/checkout.asp

We are unable to process this transaction because we are currently not accepting orders from this IP.

Incriminating IP was 86.125.5X.XX.

SIP phone issues with Belkin ADSL Wireless Router

Friday, August 31st, 2007

The old Linksys WAG54Gv2 died so I replaced it with a brand new Belkin F5D7633uk4A. Everything working fine except two SIP accounts on my Siemens Gigaset S450 IP (“Authentication error”). Also I got authentication errors and SIP 408 Timeout with X-Lite using the same SIP accounts.

Also, Belkin web interface can not manage static routes, which is bad.

Version info:

Runtime Code version F5D7633-4Av1_UK_1.00.17
Boot Code Version 1.0.37-5.15
Hardware Version V1.0J3
ADSL Modem Code Version A2pB018e.d16f

Looks like there’s a transparent SIP proxy running on the router. I could ssh with admin username and web interface password to the router. Finally found siproxd running!

How to disable siproxd:

siproxd disable
save
reboot

How to add a static route:

route add IP NETMASK GATEWAY
save

All available commands:

?
help
logout
reboot
adsl
atm
brctl
cat
ledctrl
df
dumpcfg
echo
ifconfig
kill
arp
defaultgateway
dhcpserver
dns
lan
passwd
ppp
remoteaccess
restoredefault
route
save
swversion
wan
ping
ps
pwd
siproxd
sntp
sysinfo
tftp
wlctl