Archive for the ‘Advanced Networking’ Category

S60 Web Server

Tuesday, July 13th, 2010

In the previous post we spoke of the web server application for iPhone. Nice little piece of software that lets you access your mobile from a regular desktop machine. Lucky for Symbian users (mostly Sony Ericsson & Nokia) there is an alternative for S60. The application is called Mobile Web Server.

The latest version of the Nokia mobile web server is available for download absolutely free of charge. You have to register a web server account and you will receive a subdomain (http://user_name.mymobilesite.net). This web server application isn’t exactly an Apache clone for mobile devices, but more of your personality and habits shared with your friends to see.

It is especially good if you like to blog on the go. S60 enabled phones have the facilities to make typing easier for you. It is not an actual web server, in terms of hosting. You post your content on a dedicated page on a server provided by Nokia. Not that bad at all, since your content remains online. You can share everything you want whenever you want it.

With a standard install Python scripts are supported, however, you can also get PHP support with PAMP (Personal Apache MySQL PHP). Actually, that is what you might call an actual, fully operational server on your s60 device. If you wish to squeeze more out of your s60 device it is definitely a topic worth exploring.

clomid, synthroid, zithromax, accutane, celebrex

PuTTY Client for S60

Tuesday, July 6th, 2010

PuTTY is a free Telnet/SSH client many administrators and people with less skills have grown to love. It is the perfect little tool to help you establish a SSH connection to a remote server. It enables you to connect and administer your Unix/Linux based server from any Unix or Windows work environment.

Many of us need to multi task, be as mobile as possible and be able to deal with various situations on the go. One application I always keep on my mobile is PuTTY’s mobile phone port. For many people it is more than just another application, it is a trustworthy companion they would have killed for 10 years ago. I know people who used to reboot servers with text messages just so that they can get them running while on the road and that was about as far as it got. Nothing too fancy.

With PuTTY’s port for mobile devices you can get a lot more done. I was able to check my home server’s uptime, update the content of a few static HTML files I have on there, and check the activity of my wireless connection I share with a few people. Respectively, each admin, regardless of his location, can log to any server he administrates and perform some necessary maintenance or a routine check.

If you need more than this and would like to see your network’s hardware status from more than one geographic point, go ahead and try out our free tools.

iPhone Web Server

Tuesday, June 29th, 2010

The iPhone – one of the most, if not the most, popular mobile phone on the market. Innovative, when first launched, craved by people from all around the world, and widely accepted by the software development society. There are many great applications for it, most of them designed for plain fun and rich multimedia experience on the go. After a period of euphoria people start tinkering with the device even more, thinking – “What else can I squeeze from this device?”.

Most of the times the answer is – a lot! We’ve all seen various wacky applications and some of practical use. One that you might not find practical at all is the web server for iPhone, called ServersMan. I honestly don’t think this app will have a solid commercial value and extensive future implementations, but it is one of those things people will put on their phones only to tell friends they did so. Geeky, really geeky, and good for home use too. You can get all your data off your phone without syncing.

Data plans are still quite expensive and we are still a bit far from having our websites running from our pockets, but who knows? Everything is developing so fast. Imagine running your online business from your pocket. The idea of it is insane. One day, after a few generations of iPhones have become obsolete this software is sure to bring back the life to your old 2010 iPhone. Mostly as a part of a weekend project.

clomid, synthroid, zithromax, accutane, celebrex

DHCP (Dynamic Host Configuration Protocol)

Thursday, June 24th, 2010

DHCP stands for Dynamic Host Configuration Protocol. This protocol is used by DHCP clients to automatically obtainIP addresses. Most ISP providers use it to make your life easy and be ready to browse the Internet right after you properly connect your network device.

Four steps, invisible to the user, take place before a host can obtain its IP address.

• IP Discovery – In this stage the client probes the physical subnet to discover available DHCP servers by sending broadcast messages.
• IP Lease Offer – A DHCP server receives an IP lease request from the client, it reserves an IP address and extends an IP lease offer by sending a DHCPOFFER message to the client. This message carries the client’s MAC address, the IP that the server is suggesting, the subnet mask, the lease duration, and the IP address of the DHCP server carrying out the request.
• IP Request – The client receives IP offers by one or more DHCP servers, but it will select only one of them and send out DHCP request message. Other servers will be informed that the client has already made a request to another DHCP and return their reserved IPs back to the pool of available addresses for other clients to take advantage of.
• IP Lease Acknowledgment – In its final stage, after receiving the request from the client the DHCP server sends DHCPACK packet to the client. This packet contains configuration information that the client has requested. With this done the IP configuration process is complete.

The 100% Server Uptime Illusion

Tuesday, May 25th, 2010

You’ve seen 98.9%, 99.9% and even 100% server uptime labels on hosting sites. The first thought which comes up to people is “Well, 99.9% sounds pretty well, 0.01% is no big deal” and they are right. The fact many people are missing is the fact that even if the server is reachable, it doesn’t necessarily mean it’s fully functional. So many other things can go wrong with a server. A 99.9% uptime sticker is no guarantee that your business won’t face other problems, while the server is up and running. Hosting providers calculate uptime in ways that aren’t intuitive from a user’s perspective, not taking in account certain website downtime.

  • First of all, not all downtime is counted. Scheduled maintenance is not part of the equation. Several hours of downtime is not what hosting companies would include. When monthly server uptime is calculated, such planned service interruptions are not included (deducted).
  • Some, if not most, hosting providers tend to overlook shorter downtime periods. 3-5 minutes of unavailability are not considered significant and don’t end up on the 99.9% sticker. You can see how multiple short downtime periods can make a difference at the end of the day.
  • 0.01% means twice the trouble. 99.9% uptime means 8 hours and 45 minutes downtime per year. So when you go down a notch to 98.9%, your calculated downtime goes up twice to 17 hours and 30 minutes.
  • Resources are limited. “Unlimited” is just a nice way to sugarcoat “enough for the majority of common users”. Your business might not be a common one and demand might be high. There might be other significant sites, sharing the same hosting hardware. At one point it can all build up to an overload, resulting in poor loading times, broken transactions, even website. The server will still be online, but the performance won’t meet your needs. Application monitoring is a good way to find out such problems quick and easy.

100% uptime is not feasible. Eventually something will go wrong. Network backbones will cause problems, power failures will happen, server software and hardware will fail every now and then and human error will always be a considerable factor. So, my advice is: Don’t try to find the ultimate provider, as it doesn’t exist. Instead find a decent provider with good server uptime and performance, 24 hour technical support and frequent backups. Oh, and why don’t you go for a nice remote website monitoring service, just in case. It might be the best money you have ever spent.

It Don’t Mean a Thing If It Ain’t Got That Ping

Tuesday, May 18th, 2010

Ping is one of the most well known and easy to use computer network tools. Its basic application is to test the availability of hosts across an IP network. The ping tool was written by Mike Muuss way back in December, 1983. Its practical use and reliability was undeniable until 2003 when a lot of internet service providers began filtering ICMP ping requests, due to growing thread from internet worms and basic DDoS attacks. Nearly 3 decades later, ping stands tall providing common computer users, webmasters and network administrators with valuable information.

Check your network adapter

Common users can use ping from their local machine to check if their LAN, WLAN card is enabled and working, by simply pinging itself. The command will look something very similar to this:

Z:\>ping 127.0.0.1

Pinging 127.0.0.1 with 32 bytes of data:

Reply from 127.0.0.1: bytes=32 time<1ms TTL=128

Reply from 127.0.0.1: bytes=32 time<1ms TTL=128

Reply from 127.0.0.1: bytes=32 time<1ms TTL=128

Reply from 127.0.0.1: bytes=32 time<1ms TTL=128

Ping statistics for 127.0.0.1:

Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Approximate round trip times in milli-seconds:

Minimum = 0ms, Maximum = 0ms, Average = 0ms

If you get this result it means that your network card is up and running and any lack of connectivity might be due to a faulty third party device on your network. Sometimes LAN cards burn out during trunderstorms (when unprotected LAN cable is exposed to it, outside the house) and ping can give you a clue and way to pinpoint the problem.

Troubleshoot your Local Area Network

You can identify problems across your neighbourhood Local Area Network. Pinging different hosts and applying simple logic will help you find out if a network device (network switch or hub) is malfunctioning. You can also find out whether the physical link has been severed in one way or another (meaning the cable being damaged). If all packets are lost, then you can be sure that the network device is unavailable. If there are some losses, the device might be damaged, or the cable might be slightly cut somewhere along the network. There are a lot of scenarios and I can’t go through all of them, but you will find some extra information on www.pcweenie.com.

Find out what OS is a host using

One cool thing to use ping for is to check what king of operation system is running on a host (host being an IP address or a domain name). You can find out what OS is used on a hosting server by reading the TTL values of a successful ping. First you run a ping test and then you can compare the TTL values with the initial TTL values for popular operation systems. If we compare the value from the example above - TTL=128 with the list in the link, we can be almost certain that it is a Windows machine and definitely not a Linux one.