Agere Systems Modem


Written by

The “Agere Systems HDA Modem” in many laptops are not voice capable, just so people know as I didn’t and now I do!

Facebook & HTTPS Again


Written by

Well if you had read my previous post, you will know that Facebook’s HTTPS implementation was pretty crap.

Now Facebook has officially rolled out HTTPS, great!

Only problem, currently Apps do not support HTTPS and take the user back to basic HTTP, this wouldn’t normally be a problem but upon test, it doesn’t just put the user to HTTP, it disables the option to use HTTPS in the user option so the user has to turn it back on in the options again and every time they visit an app.

so great implementation that is disabled as soon as HTTPS isn’t used, instead of just temporarily disabling the option then reinstating it where is it supported, they turn it off completely.

So overall you can have security without features or features without security.

How can implementation of a basic protocol that has been around since 1994 be so rubbish that even a basic web developer should be able to grasp?

The end or the beginning?


Written by

Today, I watched a historic moment over a webcast. The release of the final /8 IPv4 addresses (39/8 and 106/8, approximately 33,554,432 IP addresses to RIPE.) which means once those addresses have been allocated to ISP’s, Websites, Servers etc then the internet cannot grow without re-use of unused IP’s.

In the short term, there will be no noticeable difference but in the long term then this will become more of a problem but don’t fret, there is a solution!

IPv6, it’s uptake is slow but steady (or at least according to IANA/ICANN), IPv6 has an addressing space of 3.4×10^38 which is in understandable terms, (340,282,366,920,938,463,463,374,607,431,768,211,456), 340 billion billion billion billion addresses. Compared to the 4billion (4,294,967,296) IPv4 addresses.

So is this the end of an experimental technology which was not meant to last the 35years it has and also the dawn of a new internet era.

OpenVPN & Windows Vista/7


Written by

I have started using OpenVPN on Windows 7 and its pretty good apart from the default client setup leaves the connection under the “Public” settings and so network shares and discovery etc do not work.

After reading a few guides, there were two ways mentioned; set all public networks as private and allow the services through which wouldn’t be a good idea as I regularly use public WiFi and secondly, a MS PowerShell script that sets the NDIS Device Type endpoint to a non-true network connection (i.e. for smart phones) and that sets it to private but you cannot is it in “Networking and Sharing Center”.

I found a solution; set a default gateway for the connection.

route 0.0.0.0 0.0.0.0 192.168.2.1 9999

change 192.168.2.1 to your VPN server’s connection IP and stick it into your client.ovpn file.

The 9999 is a forced metric which puts it as a secondary default route (i.e. internet router) and seeings as the VPN will go down once the internet as gone, this will not effect your surfing habits.

NS2 on Fedora


Written by

My friend needed NS2 installed on Fedora 14 and he wasn’t confident in BASH (Borne Again SHell) so I helped him a little. I don’t have a Fedora install at the moment but this his how we finally got it installed. It isn’t an easy install procedure.

root@computer:$ yum install gcc-c++ libX11-dlevel xorg-x11-proto-devel libXt-devel libXmu-devel wget
wget http://downloads.sourceforge.net/project/nsnam/allinone/ns-allinone-2.34/ns-allinone-2.34.tar.gz?r=http%3A%2F
tar -xzvf ns-allinone-2.34.tar.gz
cd ns-allinone-2.34.tar.gz
gedit ns-allinone-2.34/ns-2.34/mobile/nakagami.cc

This will open up the gedit editor, if you have KDE, change this for kate.

Change the following:

183
resultPower = ErlangRandomVariable::ErlangRandomVariable(Pr/m, int_m).value();

to

183
resultPower = ErlangRandomVariable(Pr/m, int_m).value();

and change:

185
resultPower = GammaRandomVariable::GammaRandomVariable(m, Pr/m).value();

to

185
resultPower = GammaRandomVariable(m, Pr/m).value();

save and exit

then type

root@computer:$ gedit ns-2.34/tools/ranvar.cc

and edit:

219
return GammaRandomVariable::GammaRandomVariable(1.0 + alpha_, beta_).value() * pow (u, 1.0 / alpha_);

to

219
return GammaRandomVariable(1.0 + alpha_, beta_).value() * pow (u, 1.0 / alpha_);

save and exit.

Now:

root@computer:$ ./install
gedit ~/.bashrc

and add this to the file:

# LD_LIBRARY_PATH
OTCL_LIB=~/ns-allinone-2.34/otcl-1.13
NS2_LIB=~/ns-allinone-2.34/lib
X11_LIB=/usr/X11R6/lib
USR_LOCAL_LIB=/usr/local/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OTCL_LIB:$NS2_LI B:$X11_LIB:$USR_LOCAL_LIB

# TCL_LIBRARY
TCL_LIB=~/ns-allinone-2.34/tcl8.4.14/library
USR_LIB=/usr/lib
export TCL_LIBRARY=$TCL_LIB:$USR_LIB

# PATH
XGRAPH=~/ns-allinone-2.34/bin:~/ns-allinone-2.34/tcl8.4.14/unix:~/ns-allinone-2.34/tk8.4.14/unix
NS=~/ns-allinone-2.34/ns-2.34/
NAM=~/ns-allinone-2.34/nam-1.13/
PATH=$PATH:$XGRAPH:$NS:$NAM

save and exit

root@computer:$ source ~/.bashrc

This should hopefully work. If someone has an updated/corrected guide then please contact me and I’ll fix it.
If you are having problems with xgraph, try gnuplot, its slightly different but still plots graphs.

root@computer:$ yum install gnuplot

This guide may work on Red Hat Linux too as Fedora and Red Hat are developed from the same arm of Linux distros.