Slashdot Mirror


Testing and Mapping a Cellular Data Network?

bgsneeze writes "In order to resolve an ongoing issue with a vendor, I have been trying to find a way to test different 3G data devices empirically. I would like to be able to chart signal strength, latency, and bandwidth. I would also like to create a map of the coverage area. I have a test 3G card from three different providers. I would like to be able to travel with the setup to several different locations and run tests. What software or techniques would Slashdotters use to test the different devices? Are there any free or open source software packages that will do this?"

75 of 114 comments (clear)

  1. 3G by Ethanol-fueled · · Score: 1, Interesting
    TFS:

    ...I have a test 3G card from three different providers...

    Do you mean a 3G SIM for use in mobile devices?

    If you mean the USB/PC card 3G adapters for computers, I doubt you'll be able to run them on Linux without using WINE or a VM or whatever, which may interfere with latency readings. Those adapters require you to install software(ATT Connection manager in their case) that's only supported on Windows and Mac, and that software is required to "authenticate" your computer and use the network.

    Anecdote: I had ATT 3G in the metro San Diego area around 2007. Speeds and coverage were decent enough to browse the web, but too spotty for anything hardcore.

    I've also said this a million times, but ATT connection manager takes 10 minutes to install and spins the hard drive like a defrag...waaaay overkill given the reported footprint.

    Note: too lazy to dig up hacks and testamonials from Google.

    1. Re:3G by trapnest · · Score: 1

      Most of the cell modems are made by Sierra Wireless and they've been pretty good about making sure things work in linux, at least in my experience. I've got a 598 USB Sierra card from sprint and it works fine as a backup connection for my headless Arch server.

    2. Re:3G by digitalunity · · Score: 1

      Even without Linux, it should be pretty trivial to whip up an app on Windows to track signal strength. I'd install the drivers and check if any new COM interfaces appear or .NET components for interacting with the software. If so, I bet finding out the current connection status would be pretty easy.

      As far as actual throughput, there's a lot of software out there for that - even on Windows. You could also use native Windows logging facilities to track network packet rates, Mbps, whatever you want to.

      --
      You can't legislate goodness. Let each to his own destiny, by will of his freely made choices.
    3. Re:3G by brentrad · · Score: 1

      My work's Verizon USB 3G dongle installed in Windows 7 on my laptop automatically without needing a driver disc (I think it automatically downloaded an up-to-date driver from Windows Update when I plugged it in) and worked without installing the Verizon connection manager. It made a dial-up-networking connection automatically, and I entered #77 or something like that as the phone number - you can find out the parameters to enter with a quick google search. You can install the connection manager but it's not required.

      So it's possible some of the new 3G dongles will also auto-install and work automatically in Linux also. The cell companies tend to like to buy the cheapest equipment to give to customers these days, so the dongle is probably a cheap Chinese piece - which tend to be very compatible standard USB stuff. Has pretty good speed and connection strength - I shared a user's desktop while my wife was driving us in the car on the way to see Avatar a while back - allowed me to get that taken care of before we got to the movie, and I didn't miss any of it. :) NE Portland Oregon near Lloyd district.

    4. Re:3G by phantomfive · · Score: 3, Interesting

      If you mean the USB/PC card 3G adapters for computers, I doubt you'll be able to run them on Linux without using WINE or a VM or whatever, which may interfere with latency readings...........Note: too lazy to dig up hacks and testamonials from Google.

      Sigh.......this is the kind of misconception that happens when you are too lazy to use Google. Those USB/PC card 3G adapters for computers work quite well on Linux, here is one example tutorial. Try not to give advice if you are too lazy to verify it.

      --
      Qxe4
    5. Re:3G by fandingo · · Score: 3, Informative

      Dan Williams, the guy behind Network Manager, does a lot of work to get cellular modems working in Linux. There seems to be lots working and steady process on others.
      His blog http://blogs.gnome.org/dcbw/ is informative and frankly pretty hilarious in a geeky way.

      Props to Dan for doing a great job.

    6. Re:3G by ysth · · Score: 1

      Gah. I read "My work's Verizon USB 3G dongle installed Windows 7 on my laptop automatically" and thought, now that's an aggressive IT department.

    7. Re:3G by Cato · · Score: 1

      As well as Network Manager, I'd recommend umtsmon and wvdial for USB 3G modems - the former tracks your data usage, the latter is just a standard PPP dialler that can be put into scripts.

    8. Re:3G by dotancohen · · Score: 1

      Anecdote: I had ATT 3G in the metro San Diego area around 2007. Speeds and coverage were decent enough to browse the web, but too spotty for anything hardcore.

      There's nothing wrong with that. Softcore on the bus is cool, but people always bitch at me when I'm watching hardcore.

      Protip: Use headphones and sit in the back.

      --
      It is dangerous to be right when the government is wrong.
    9. Re:3G by Neil_Brown · · Score: 2, Interesting

      Those adapters require you to install software(ATT Connection manager in their case) that's only supported on Windows and Mac, and that software is required to "authenticate" your computer and use the network.

      (Disclaimer - I work for Vodafone, albeit as a lawyer)

      I have never tried with one of the PCMIA cards, but, most Huawei modems will work fine under Linux - you might need usb-modeswitch to flip it into modem mode (as opposed to mass storage mode), but, otherwise, it should not be a problem.

      If using Network Manager (works automatically under Linux Mint 7 and 8), or tinkering with ppp (this was not difficult using Xandros on an Asus EEE 701), is not your thing, Vodafone has also released a version of the Vodafone Mobile Connect client for Linux, which should work with any provider's SIM. More details at Betavine. It's gui-driven, and should be usable by those without a particular interest in how/why things work.

      We also do our best to support those in need of assistance, irrespective of provider, but, since it's just a few of the R&D team, and (very occasionally now) me, it really is a "best efforts" rather than a "guaranteed support" environment.

    10. Re:3G by jimicus · · Score: 1

      You'd better tell my employer. They think that the USB 3G units they're using for a Linux embedded device work just fine, thanks.

  2. Are you kidding? by Anonymous Coward · · Score: 2, Funny

    Obviously this can only be used for terrorism.

  3. Don't waste your time by Anonymous Coward · · Score: 2, Informative

    http://www.cellularmaps.com/coverage_finder.shtml

    1. Re:Don't waste your time by bughunter · · Score: 4, Interesting

      These are simply links to the coverage maps advertised by the providers, in which service quality is frequently exaggerated, if not blatantly false.

      For example, AT&T (my provider) claims "good" coverage in two neighborhoods in my home town, Pasadena, where I know for a fact that there is no coverage, or worse, sporadic one-bar-then-no-bar coverage that drains my cellphone battery in an hour. And even worse, they show "best" coverage throughout San Marino, a town in which I can never make or receive calls on AT&T.

      --
      I can see the fnords!
    2. Re:Don't waste your time by xixax · · Score: 1

      The data is outright modelled and cannot take into account a bunch of factors that limit the actual signal strength. I had a somewhat heated discussion with a saleperson who was convinced that their telco had actually sent someone with a meter to measure the reception at 100 metre intervals across some wild and rugged terrain. It would be funny to take some samples and quantiatively demonstrate the exaggeration in each provider's coverage maps, the tabloid media would lap up the right analysis.

      Xix.

      --
      "Everything is adjustable, provided you have the right tools"
    3. Re:Don't waste your time by sjames · · Score: 1

      Typical of marketing. If one person once managed to make a call, the coverage is "good". If it wasn't dropped in the middle of "hello", it's "excellent".

  4. MyTrueCoverage/Root Mobile by mtmra70 · · Score: 3, Informative

    http://www.mytruecoverage.com/ is a good site to show coverage. You can install an app on your phone then manually run tests. The results usually take 12-36 hours to post to the website.

    1. Re:MyTrueCoverage/Root Mobile by rsanford · · Score: 1

      FYI -- This supports only Android and Blackberry.

  5. Multiple ways to do this... by ThermalRunaway · · Score: 2, Informative

    I assume that you are not working with a network operator? They have plenty of tools to do drives and plot out signal. Also, chip makers have these tools. I used to work for a large mobile phone chip maker and we had internal test setups that can be driven around in a car to plot signal, etc. Also, we developed a small device FPGA based device that could be tuned to various channels and recover the "sync" and "paging" channels of a CDMA system. You could do the same for UMTS, EVDO, etc. If you just wanted raw signal strength, all you really need is dBm for whatever provider and tower you are looking at. You could then compare strength between providers. However, this isn't really apples to apples. CDMA based systems can literally pick up signal out of horrid conditions and low signal powers... much than, say, a GSM based system. So if you were comparing purely 3G to 3G, that would be valid, but not in the 2G realm. Just get a phone for each provider, turn on the engineering mode to get the phone's reported dBm reading, and then plot the values as you drive around....

    1. Re:Multiple ways to do this... by dotancohen · · Score: 1

      I assume that you are not working with a network operator?

      It looks like he is trying to independently verify/disprove his cell provider's claims. They are about as likely to send a network engineer to evaluate his situation as BP is likely to send a scientist to evaluate the situation at the bottom of the Mexican Gulf.

      --
      It is dangerous to be right when the government is wrong.
    2. Re:Multiple ways to do this... by ThermalRunaway · · Score: 1

      I meant in a more cooperative sense. If he is working for a provider of services to say, Verizon, then he might be able to at least get access to some VZ tools. For example, back a while ago I was working with some of the FloTV people (they provide VZ and ATT mobile TV), and we did independent verification of signal and picture quality, but we had help from the network people. The other problem he would run into without assistance is figuring out where towers are. Most providers don't publicly give out network layout info, channel assignments, blah blah.

  6. Re:hack something in perl by WrongSizeGlass · · Score: 4, Funny

    Why do it yourself when you can just wait for Google to announce they did it accidentally ;-)

  7. Big Money; Lots of variables by TheOddOne · · Score: 5, Informative

    Empirical testing with wireless CELLULAR networks can be very tricky; A few things that you will need to keep in mind is that for testing, you want to make sure your transceiver setup is perfectly reproducable; Same card, same ANTENNA, same position of antenna. When performing your testing, your signal strength will depend on several factors: Distance from the site, antenna type/gain, and specifically what sector/node on the site you happen to be on. while driving in a straight line, you may find that you approach steep nulls near the border of a cells sector boundary. Alot depends on the ability of your particular card to handle the handoff between sectors/sites.

      Your latency measurements will also vary according to the individual usage of the sector/site that you are currently on, and additionally vary with time and also variable bandwidth allocation to the sites from the main switch.

    There are quite a few test sets and software suited that are commercially available and are tailored for this use, and are used heavily by the mobile data/cellular industry in their drive testing and coverage verification methodologies.

    Good luck to you on your testing.

    --ToO

    1. Re:Big Money; Lots of variables by adolf · · Score: 2, Informative

      Please mod parent up: He's completely correct, and his simple methodology is a good example of best practices.

      However, there are more impromptu ways to accomplish similar feats:

      One obvious possibility is the test mode built into many (perhaps all) cell phone handsets. These will typically display a number of different datapoints, such as signal strength and error rate. If the asker is troubleshooting only troubleshooting GSM or CDMA (so that switching carriers does not necessarily entail switching radios, antennas, etc), and isn't interested in the accuracy or automation of doing GPS-based maps of cellular coverage, this might work just fine -- perhaps even for free.

      All it would take is a map, a pencil, a copilot, and (ideally) an external antenna, to chart this stuff the old fashioned way.

      With a quick Google search, I found a concise list of procedures for entering field test mode on a number of handsets. Other handsets, past and present, are likely to have information available at places like HowardForums.

      And, indeed: Good luck. I've charted my share of wireless systems, and it is (at best) tedious to get good results.

  8. One idea by TubeSteak · · Score: 2, Funny

    What software or techniques would Slashdotters use to test the different devices? Are there any free or open source software packages that will do this?

    I would suggest the "grad student technique".
    Find a nearby university and convince a professor to lend some (under)grad students to your cause.
    It helps if you have friends that can refer you to professors/students who'd be interested in the challenge.

    P.S. The only thing better than the "grad student technique" is the "summer intern technique"

    --
    [Fuck Beta]
    o0t!
    1. Re:One idea by stoborrobots · · Score: 3, Funny

      P.S. The only thing better than the "grad student technique" is the "summer intern technique"

      Especially if she's hot...

  9. Test / Debug Mode by Rhalin · · Score: 1

    Many cellphones have test/debug modes that will give you all kinds of data regarding signal quality and strength. Can't say for bandwidth / latency though. You could check some of the phone hacking forums for a debug mode / debug drivers for your card(s), and see what kind of data you could get to.

  10. Latency, and bandwidth are easy by sznupi · · Score: 1

    There's plenty of network monitoring tools around.

    Signal strenght might be harder if the manufacturer of the device doesn't give easy access to that data (many cellphones can be switched into diagnostic mode; or some smartphone OSes have diagnostic software available). Maybe you can find some electrosensitive person?

    --
    One that hath name thou can not otter
  11. Placelab? by drewzhrodague · · Score: 1

    There is the Placelab.org project, but their mailing list has died down over the years.

    --
    Zhrodague.net - I do projects and stuff too.
  12. Obligatory reference: by zill · · Score: 5, Funny

    Can you ping me yet?







    How about now?

  13. Stats The Cellular Provider Sees by deathcow · · Score: 2, Informative

    At least, this is what I see working with SNMP data coming off dumps from the cellular base transceiver stations attached to our towers.

    Every 15 minutes, every GSM handset measures the perceived strength of the tower signal it is using, this is reported to the tower, and we record them all. Also every 15 minutes, the strength of the handset signal, from the perspective of the tower is sampled and recorded.

    These readings go into buckets, for example if a reading showed a -78 dbm signal, it goes in the -78dbm bucket. Before long, a histogram can be generated with the datain the buckets, and we can see typical distribution for receive performance - for both handsets and the tower. Different towers have very different "signatures" in this data.

    You may go around sampling receive performance, (which would be interesting) but I don't think you'll be able to map how well the cellular system is receiving from you.

    1. Re:Stats The Cellular Provider Sees by kent_eh · · Score: 2, Informative

      You may go around sampling receive performance, (which would be interesting) but I don't think you'll be able to map how well the cellular system is receiving from you.

      Which is most often the limiting factor.

      The base station is transmitting at 50-100 watts ERP, but your handset (modem) is transmitting at less than a watt.
      Sure the base station has pretty efficient recieve antennas, possibly with tower mounted pre-amps, but if it can't see your signal, it can't do much with it.
      And a signal path needs to work in both directions to be able to do something useful with it.

      --

      ---
      "I can't complain, but sometimes still do..." Joe Walsh
  14. Modelled data by xixax · · Score: 1

    Most providers use modelled data to estimate signal strength as it's too expensive to actually measure every point within their coverage. You might be able to obtain and use modelled coverage (which is mostly based on putting virtual towers into a digital terrain model) and undertake some validation. This would provide a meaure of the optimism usually present in modelled coverage. Actual coverage is usually going to be less due to buildings, weather, trees and other rubbish you rarely see in a DTM. Validation of published coverage maps would also require far fewer observations ("field work") than creating your own map from scratch.

    Suck the whole lot into Quantum GIS (FOSS) and generate a text dump of obesrved/modelled coverage to analyse statistically in R (also FOSS).

    Xix.

    --
    "Everything is adjustable, provided you have the right tools"
  15. After what happened by Tigersmind · · Score: 1

    After what happened to wardriving be sure you legally have your butt covered. Especially if you prove the network sucks >.>

  16. Good Luck With That by pushf+popf · · Score: 2, Insightful

    I would suggest learning that it's pointless to test for something you can't fix. You'll waste much less time and energy.

    Your provider won't care even a Tiny Iota about your results. If you show that their network is fine, they'll ignore you. Even if you prove their network is not fine and all the packets are routed though a Sinclair ZX80 in Clive's basement they'll still ignore you. If you're really lucky, you might get a nice, polite "Fuck you very much, We're not fixing it."

    Knowledge is knowing that they have 3000ms latency between nodes. Wisdom is knowing that the only thing you can do is vote with your wallet.

    1. Re:Good Luck With That by phantomfive · · Score: 4, Insightful

      However, if you have 3G cards from three different providers, and your company wants to know which one to use to deploy their new fancy device, and they don't actually trust any of those providers (for good reason), it may be a good idea to go out and make sure with real world tests before you jump to one provider or another.

      --
      Qxe4
    2. Re:Good Luck With That by wh1pp3t · · Score: 1

      Agreed. While I worked at a wireless provider, a very large account holder was ready to drop us because 3G bandwidth had deteriorated significantly. I've never seen engineering move so quickly with complete disregard for standard practices and required procedure.
      Unless you have the ability to inflict significant monetary impact, they could care less.

    3. Re:Good Luck With That by uniquegeek · · Score: 1

      Unfortunately true.

      I encountered the same issue, was naive enough to figure proving my scenario would mean something to them. (I had a cell phone which had no coverage where I lived - in a large city 0.5 km away from the largest university).

      In the end, what did work was going to Visa and making a claim to refund charges on the basis that I was a sold a service and device that didn't provide the services and work anywhere near as advertised. Despite a "blah blah blah we can't guarantee 100% coverage clause" in the cell phone contract, I didn't get much argument from Visa. I had informed the cell phone company what I was doing and why, and I had plenty of documentation to back me up, so they realized pretty quickly it wasn't worth fighting me tooth and nail about it.

    4. Re:Good Luck With That by rew · · Score: 1

      Right! And from the way the original question is posted, I'm thinking he has at least SOME monetary power over the providers...

    5. Re:Good Luck With That by dmihalko · · Score: 1

      +1 at my company, we switched cell providers due to dropped calls and started 2 year contract with the one that is supposed to have the least amount of dropped calls. the dropped calls pretty much stopped, but now experience inbound calls going at all. after testing signal strength throughout the buildings from ground level to roof, giving my CS, his boss, and field engineer my test results (which i was surprised i got this far) the end result: "you have a tower in line of sight from your building, its not our problem."

    6. Re:Good Luck With That by BobMcD · · Score: 1

      However, if you have 3G cards from three different providers, and your company wants to know which one to use to deploy their new fancy device, and they don't actually trust any of those providers (for good reason), it may be a good idea to go out and make sure with real world tests before you jump to one provider or another.

      Yeah, you'd think that. Until the owner's son sees a compelling ad on TV and requires you to switch via fiat.

    7. Re:Good Luck With That by phantomfive · · Score: 1

      lol someone sounds bitter

      --
      Qxe4
    8. Re:Good Luck With That by BobMcD · · Score: 3, Funny

      I'd tell you stories, but my therapist says I'm close to recovery...

    9. Re:Good Luck With That by NateTech · · Score: 1

      Agreed. Wouldn't it be smarter to deploy devices from more than one carrier in a large deployment anyway?

      I know the carriers make this difficult with "bulk" deals on service, but for cryin' out loud... if you at least choose TWO vendors, and use both equally -- you'd be able to hand the one guy who lives out in the one coverage area that Vendor A doesn't cover, one of Vendor B's USB sticks and say, "Go try this one."

      And if they both don't work, you have a lot more leg to stand on to say, "You just live out in the styx, sorry."

      And of course, if you find that Vendor A blows Vendor B away, you can slowly migrate over...

      Diversity. It's not just for people, anymore. Try it with networks. It's helpful.

      --
      +++OK ATH
  17. 3G Coverage != Good Speed by Stenchwarrior · · Score: 2, Insightful

    I wouldn't worry about charting the signal strength for 3G. You can be in a densely populated area showing five bars of 3G and your speed and latency can still be dog shit depending on how many people are hitting the tower, similar to your cable modem. It might be worth it to record whether or not you have 3G just to help map out your general coverage, but that doesn't mean you'll have great speed. Although, you can find something like that here.

    As for speed I like to use a util called iperf for measuring speed from one device to another across a network. You may have to open ports on your firewall or setup a VPN, which will add unwanted overhead, but you will get a good idea of which carriers have the best speeds. You can also run the simple tests using other websites like here or here.

    --
    Loading...
    1. Re:3G Coverage != Good Speed by kent_eh · · Score: 2, Insightful

      I wouldn't worry about charting the signal strength for 3G. You can be in a densely populated area showing five bars of 3G and your speed and latency can still be dog shit depending on how many people are hitting the tower, similar to your cable modem. It might be worth it to record whether or not you have 3G just to help map out your general coverage, but that doesn't mean you'll have great speed.

      Also, if your 3G network is based on CDMA (WCDMA, HSPA, HSDPA) then signal-to-noise ratio is as important as raw signal strength. SNR in both the downlink (what you receive from the base station) path - which you might be able to measure, and the uplink (what the base station receives from you) -which you have no way of measuring directly.
      And while you might be able to control the signal level somewhat, you have very little control over the noise part of the equation.

      --

      ---
      "I can't complain, but sometimes still do..." Joe Walsh
    2. Re:3G Coverage != Good Speed by wowbagger · · Score: 1

      "Also, if your 3G network is based on CDMA (WCDMA, HSPA, HSDPA) then signal-to-noise ratio is as important as raw signal strength."

      Actually, this is true for ALL communications, bar none - S/N is what matters. You could have a signal that is barely 6 dB above what your receiver can detect and have a good S/N ratio, or have a signal that is so large it is driving the receiver into compression, thus distorting the signal and driving the S/N ratio down into the weeds. Shannon's Law.

      However, reporting signal level is easy (look at the automatic gain control loop feedback term), reporting S/N is much harder, so most devices cheat and report signal.

  18. cdrouter by mveloso · · Score: 3, Informative

    Industry standard?

    http://www.qacafe.com/cdrouter

  19. You can use linux by phantomfive · · Score: 1

    I've done similar things using Linux. Basically, when you hook up the 3G card, it presents itself as an old-school modem (although it's over USB). You can then use a program such as wvDial or Minicom to send AT commands (if you want to do a connect, you need to find out the number to dial. You can find this on your carrier's website).

    A lot of wireless modems have AT commands for signal strength and other info, you can do a Google search for documentation about AT commands for your specific modem. A warning: writing a robust, industrial quality parser for AT commands is one of the most difficult things I've ever programmed. A lot of people take the easy way out, and if a command doesn't work, they just send it a couple more times until it does (which is good enough for many tasks).

    If that doesn't provide enough info for you, and you have money, then you should contact the manufacturer. Some modems, like Qualcomm modems, have a separate diagnostic port in a proprietary protocol that provides way more information than you ever dreamed existed, but you will have to pay to find out the protocol.

    --
    Qxe4
  20. Hack something together in Python by Animal+Farm+Pig · · Score: 1

    If you're on Linux you can use gpsd for interacting with your GPS. If you're on Windows using the new Location API in Win7 would be nice, but, more realistically, you'll be listening on the serial port your GPS uses and parsing NMEA packets. No worries, this isn't that hard to do. After a either a certain interval or time or distance traveled, send a few pings to a server and download a reference file. Dump your data into a CSV or use OGR to make a shapefile, KML, PostGIS layer, whatever.

    1. Re:Hack something together in Python by Animal+Farm+Pig · · Score: 1

      Of course the network testing I've mentioned only works for one provider/device at a time, unless you do some kind of funky network configuration. I also doesn't measure signal strength,

  21. Sensorly on Android by mykro76 · · Score: 2, Interesting

    http://www.sensorly.com/ Run it on your phone manually (or have it triggered intermittently). The 3G, EDGE and wifi coverage that your phone detects is uploaded to the central server and within a minute your phone receive the updated maps. You can only contribute to the maps for your phone's carrier, but you can view the maps for all carriers.

  22. What about standard tools? by sonamchauhan · · Score: 1

    I'm a bit rusty, but since your network is probably TCP/IP, can't you do this with standard TCP/IP tools?

    The only thing that could be a problem is measuring "signal strength". However, but a lot of mobile chipsets work under Linux. Even tools running under Windows, there may be access to this information (netstumbler)

    For latency, you could just use ping:

    $ ping -c 5 broadbandreports.com
    PING broadbandreports.com: (209.123.109.175): 56 data bytes
    64 bytes from 209.123.109.175: icmp_seq=0 ttl=46 time=248 ms
    64 bytes from 209.123.109.175: icmp_seq=1 ttl=46 time=248 ms
    64 bytes from 209.123.109.175: icmp_seq=2 ttl=46 time=247 ms
    64 bytes from 209.123.109.175: icmp_seq=3 ttl=46 time=248 ms
    64 bytes from 209.123.109.175: icmp_seq=4 ttl=46 time=247 ms
     
    ----broadbandreports.com PING Statistics----
    5 packets transmitted, 5 packets received, 0% packet loss
    round-trip min/avg/max = 247/247/248 ms

    Also, take a look at ping -f (use with caution) and traceroute.

    For bandwidth measurement, setup an FTP server and script automated downloads from your clients using a .netrc file
    http://www.stratigery.com/scripting.ftp.html

    Or just use a command line HTTP client like wcget -- depending on your requirement.

  23. Charting? Gnuplot by SEWilco · · Score: 1

    You can use Gnuplot to chart data such as signal strength or error rates by location. For example, if you time sync GPS data and your statistics you can emit surface and contour maps (such as the second glass.dat example near the bottom).

  24. Re:Evaluation copy ? by elballio · · Score: 1

    _most_, if not ALL operators use TEMS at some point. All the equipment vendors I've dealt with won't even respond to a radio related trouble ticket unless there's a TEMS log.

  25. I had to do something similar. by GNUALMAFUERTE · · Score: 3, Informative

    In the end, the project was cancelled before we got a chance to get to test 3G coverage. But we did get to think about it. Our customer was a fleet of cargo ships, going through a fixed path on the Rio de la Plata (River Plate). Basically, we were going to install our CCTV system in there, and have it push images and other information to our servers whenever it had signal. We wanted to know approximately in what areas of the river we would have signal. We were going to base our system on the Vodafone mobile connect driver. It's a set of Python scripts. Of course, it communicates with the modem using simple AT commands. It's released under the GPL. It is capable of measuring signal, sending and receiving text messages, and other nice stuff (like, well, actually dialing and calling PPP to stablish the connection). We had it working with several Huawei devices, but I know it works with other brands too.

    Our idea was to modify this scripts so that they would try to maintain a connection, auto-dial every time it disconnected, and log the signal at certain intervals to a MySQL DB. We were also going to run download tests all the time automatically. Since there was no chance we would go on the ships with the devices (the ships were cargo ships that transported and extracted sand, and there weren't very comfortable, not to mention their average trip was at least ~72 hs.), so we wanted to do all of this automatically. The devices would also inform their IP to a web service every time their IP changed, so we could SSH in the machine running this tests in case we needed to change something.

    We were going to add a GPS to this system, that would also log its position at certain intervals, so that we could then generate a color-coded signal map.

    I hope this helps. It's really fairly simple. I would be happy to provide you with source code, but we didn't get that far into the project as to produce actual source code, since the customer changed his mind due to budget restrictions real early. Feel free to contact me if you have other questions {almafuerte (at) gmail (dot) com}

    --
    WTF am I doing replying to an AC at 5 A.M on a Friday night?
  26. Academic paper on that topic by DrCompE · · Score: 3, Interesting

    http://www.cs.wisc.edu/~suman/pubs/citywide.pdf
    ABSTRACT
    We describe our experiences in building a city-wide infrastructure for wide-area wireless experimentation. Our infrastructure has two components — (i) a vehicular testbed consisting of wireless nodes, each equipped with both cellular (EV-DO) and WiFi interfaces, and mounted on city buses plying in Madison, Wisconsin, and (ii) a software platform to utilize these testbed nodes to continuously monitor and characterize performance of large scale wireless networks, such as city-wide mesh networks, unplanned deployments of WiFi hotspots, and cellular networks. Beyond our initial eorts in building and deploying this infrastructure, we have also utilized it to gain some initial understanding of the diversity of user experience in large-scale wireless networks, especially under various mobility scenarios. Since our vehicle-mounted testbed nodes have fairly deterministic mobility patterns, they provide us with much needed performance data on parameters such as RF coverage and available bandwidth, as well as quantify the impact of mobility on performance. We use our initial measurements from this testbed to showcase its ability to provide an ecient, low-cost, and robust method to monitor our target wireless networks. These initial measurements also highlight the challenges we face as we continue to expand this infrastructure. We discuss what these challenges are and how we intend to address them.

  27. Get android handset and/or iphone; write an app by naturaverl · · Score: 2, Interesting

    one possible solution:

    Download the android SDK; write an app; run it in the emulator that comes with the SDK.
    I'm not sure how much work it'd be to tie your 3G card(s) into the emulator (that comes with the SDK), but it's possible.
    Linux would be my first choice, but the SDK also runs on windows or mac os.

    Bonus for getting a useful app included in the app store.

  28. Too many variables... by cdrguru · · Score: 1

    While the goal is an admirable one, there are just too many variables to even begin to consider really doing this.

    First off, you aren't working with a stable environment. There are changes being made to the cellular infrastructure all the time. Changes to settings in the towers, changes to the tower equipment and addition of new towers. You will not be informed about any of this making your information out of date almost immediately.

    Next there is the problem that most throughput problems are going to be caused by overcommitment of resources, not lack of radio coverage. You will find that there are patterns to this, but again this sort of thing changes over time.

    Essentially, what is wrong with the carrier coverage maps is they aren't detailed enough and do not account for throughput problems. You are going to have the same problem, only perhaps worse. In short, I would expect any data gathered in this manner to be extremely unreliable because you don't even know what variables you are missing.

  29. Google "UT Diagnostic Monitor" by Anonymous Coward · · Score: 1, Informative

    ...or "Spirent UTS"

    I used to do this kind of programming all the time for Qualcomm and Kyocera Wireless. Cell phones have a User Terminal Diagnostic Monitor running on them constantly that can be used to get almost all data in realtime out of the phone through it's data port. There are a couple of areas of memory that are write only for things like passwords, but you have access to pretty much everything else.

  30. Signal quality isn't a comparable measure by lordlod · · Score: 4, Informative
    Signal quality numbers are about as meaningful as CPU numbers.

    A bigger number on the same device probably means you have a better signal. A 'two' on one device could be equivalent to a 'five' on another or a 'one' on a third. There is no standard that is used across the industry, or even across all devices from a given manufacturer.

    When a device manufacturer gets customer reviews that say "I only get one bar with your phone but two from company X" the device manufacturer can either try and explain repeatedly that their one bar is better than X's two bars and that unlike X you can still make phone calls on our device on one bar. Or they can just double the number of bars reported on the next model so they don't look worse than X.

    Which do you think they do?

    To do a real test you need to use a constant antenna and location, attenuating the signal gradually until each device stops functioning. The amount of attenuation it can take is a crude indicator of the quality of the radio.

  31. Howto by BodeNGE · · Score: 1
    There are three sets of tests you need to run at each location, or along each drive route. That means three runs along the same route, or three cards. All can be scripted in dos or Linux. From simplest to most complex they are:

    1) Ping Test. A simple ping to the nearest visible IP address, usually the GGSN, will give you the round trip time for a session in progress. You are looking for the variability. A simple ping -t command for a few minutes and plot the results in excel. You can vary the packet size, but the two tests below give a more accurate test for throughput. Protip: if you want to measure radio channel activation time too then you need to know a few network parameters, specifically the radio TBF timers. You would only do one ping at an interval greater than the timer so that each new ping needs a new radio resource allocation request. The round trip times for the first ping will always be longer, and recording variability in the allocation requests is useful if you are the network, not so much for users.

    2) TCP Test. Use an FTP session download a file of known size to get the actual time taken. Then you need to upload that file back to a separate directory and compare the two (or just see if it opens). You actually have to do the math to get the bits per second, neither the windows or Linux native clients show it correctly. bps = bytes_recieved * 8 / seconds. Protip: you need to test several file sizes to get an accurate picture. I'd suggest one run would up/download several 300k and 1Mb files and one 10Mb file. To complete the test in the field you do need to check the upload is successful using a terminal session, but remember not to have the session open using the test equipment as it will bias the test.

    3) UDP Test. For assessing the actual performance of the radio network itself the only test that has any relevance is a unidirectional UDP stream because the radio resources are allocated unidirectionally and have asymmetric speeds. TCP is not a test of the radio network itself as the uplink channel causes throttling on the downlink due to the slower uplink. You need a utility that sends UDP packets of a certain size, and a utility to receive them. Ideally the packets have sequentially numbered content because what you are looking for is out-of-sequence delivery. You measure the bandwidth by sending a known number of packets of a known size and simply subtract the timestamps from the client to get the duration. This has to be tested separately on the uplink and the downlink. To instigate the downlink stream you again need a remote session, ideally not using the test equipment.

  32. Won't be reliable data or give ability to compare by JohnnyComeLately · · Score: 2, Informative

    I was a 3G data engineer for Sprint PCS during the launch of 2.5G and 3G data. There are a few problems with the type of testing it sounds like you want to do.

    First, I would suggest reading the specs from the IEEE on CDMA 2000, aka 3G. CDMA2000 allows the ability to allocate and de-allocate bandwidth on demand and based upon quality of service configurations. At night, with no one on the cell tower, you're going to get the full pipe for data. You'll see bursts up in speed but then several things can happen. First, voice takes priority. So at midnight in this scenario, I pick up my phone and make a voice call and I take priority. You're pipe just got smaller. The next variable is overall tower usage. Cellular towers shrink and expand RF power with regards to usage. As more users get on, the cell tower will reduce it's footprint. So even if hardly anyone is on the phone, but there are a ton of subsribers on a cell, it can drop it's power. So your bandwidth and RF are variables which change by the second.

    So if you're just doing a "Hey lets just see what we see," type of test, then expect a huge array of data with not too many descernable results. If you're looking for data to be compared with something else (carrier vs carrier, region vs region), then it also won't be terribly useful. As a geek, it'll be cool to know you can set the test up, but as a quantitative analysis tool it won't be repeatable or statistically useful. You also can't really compare it to desktop loading times either. The images you "download" via a wireless carrier are not the same. Go to Yahoo and download the GIF for their logo using an aircard or wireless carrier device. Now, download the same with a desktop PC over a wired (or other non-wireless carrier method). Not the same file size, huh? :)

    Just as an aside, I used to test it using Stick Figure Death Theater ( www.SFDT.com ) since you can start a really long download and watch the stats. Also, it was entertaining to watch at the same time.

  33. CellMapper by carmex · · Score: 1

    Try the application CellMapper from the Android market. It creates maps of user-submitted cell signal strength. Some of the areas you are interested in may be covered already, and any new data you submit will help to benefit the community as a whole.

  34. Do it yourself by Anonymous Coward · · Score: 1, Informative

    I found it extermely easy to write a program myself for my windows mobile handset. It took me about an hour to write a program which a) collects network information (available techniques such as GPRS, EDGE or HSDPA) and signal strength along with tcp ping statistics (for some reason some Finnish wireless base stations block icmp ping) and b) gps data (time, speed, location). This gave me a possibility to gather quite interesting data about both coverages and the effect of speed as I ran the mapping program a couple times while traveling the same route by train. If you happen to have a wimo 6 -phone and have _any_ programming experience you should be able to hack something like that together (using free tools) very fast.

  35. Using old Nokia Network Monitor (field test) Mode by balint256 · · Score: 2, Informative

    Shameless self-promotion ahead...
    This is more a suggestion to help with mapping received signal strength (RSSI), rather than data network latency and bandwidth (you can argue that those data network metrics rely heavily upon your RSSI!):
    Grab an old Nokia, use gammu to enable Network Monitor mode, fire up a GPS and display the combined information streams on a map. I did exactly that as an experiment using a Nokia 3310 and a Navman GPS receiver. Interesting to then correlate the signal peaks to the actual base station locations.

    The main caveat is that the old Nokias in question only do (I believe) dual-band 2G GSM at best, so you won't actually be able to measure 3G W-CDMA statistics as if you were connected with a 3G data device. I would offer, however, that 3G RSSI might be related to that of 2G as many of the base stations handle both services (ignoring differences in signal propagation characteristics). A starting point at least...

  36. Go for the pros... by Anonymous Coward · · Score: 1, Informative

    Warning: shameless plug dead ahead...

    Look at http://www.p3-group.com/communications/en/home.html, it's their core business and they just opened an office in the US.

  37. If your end users will run 24hours by frank_abacus · · Score: 1

    If your end users will need to run 24 hours a day you will need to test 24 hours a day.

    We have number of little (Linux of course) boxes using 3G USB modems here in Sweden, and have discovered that Telia does all sorts of maintenance at night and at weekends.

    Furthermore the latency (as measured by ping) varies quite a bit depending on time of day, i.e. when the local farmers are downloading their porn.

    Another thing we've come across is that the versions of the USB modems changes with great frequency! Which of course means when they break you have to be very careful who changes them.

    Good luck!

    --
    Sorry, nothing profound to put here! (http://www.abacus4.com/
  38. This is my job! by simonpage · · Score: 2, Informative

    There are plenty of expensive software solutions for this that are used at a professional level (ROMES, NEMO TEMS etc).
    If you are after a free solution, the AT commands of most units Huewai, Option etc will give you network information,
    For example: Signal as RSSi. (look under 3GPP TS 27.007) AT+CSQ? gives a number 0 (-113dBm or Less) to 31 (-51dBm or greater)

    Failing that a lot of the dashboards have open APIs (in the UK Vodafones dashboard gives you access to lots of information)
    Most of the Samsung mobiles have a diagnostic screen giving levels Scrambe Code and Cell IDs

    For more info Siroda.co.uk or pm me

    Si

    1. Re:This is my job! by TheSync · · Score: 1

      I want to comment on Received Signal Strength, Eb/N0, Es/N0, SNR, etc.

      A commercial data receiver is NOT a professional test system. I did a lot of testing on satellite receivers, and what I know is that the SNR numbers you get from commercial receivers represent the ability of that receiver (antenna, front end, demodulator) to receive the signal under your current noise floor and interference situation. The SNR numbers you get may be correlated with actual SNR, but it is not exact.

      For example, if you applied thermal noise equally to two different receivers, they may read two different SNRs because one is better than the other one at handling the noise. I found that one receiver reported better SNR numbers handling applied high-level thermal noise (an unrealistic scenario for satellite), and another reported better numbers when I keep the noise floor at a normal level and dropping the signal (typical for satellite rain fades). This is despite the fact that the "actual" SNR was the same in both scenarios.

      If you had a piece of test equipment that could accurately plot a spectrogram, identify the signal level, and identify the noise floor, then you have an accurate measurement.

      Interference is not much of a problem for satellite receivers as our antennas have huge directional gain, but I suspect that 3G and other land terrestrial mobile receive systems will be highly affected by interference (both direct and intermodulation) as well as multi-path interference.

      My suggestion is if you can only test with commercial receivers, use the ones for testing that you intend to use for operations, as numbers gathered from another device may not correlate well with your actual operational device experience.

    2. Re:This is my job! by simonpage · · Score: 1

      Good reply,
      You're correct about a modem being non-professional equipment, there are some excellent PN Scanner/Decoders used in these system - Rohde & Schwarz TSMW, TSMU, TMSL, however a modem is representative of a customers experience.
      SNR is not really used as Ec/No (Chip energy over noise) is more useful. The scanners mentioned supply a CINR figure - Carrier Interference Noise Ratio.

      General testing is carried out with a user device modem/mobile and a Scanner as this is not controlled by network commands.

      Si

  39. Funny Story by RingDev · · Score: 1

    Back in 2001/2002 I was doing drive testing for US Cellular. One day we were cruising through some random suburb of northern Illinois. My driver that day was an Iranian American. Nice guy, but not the usual bleached white skin tones folks are used to seeing in such a location. Someone called us in to the police as possible terror suspects, driving the neighborhood around with "computer equipment".

    So we got pulled over by a fleet of police. Took about 5 seconds for them to realise what we were doing and we went on our way.

    As to the original question, we ran two phones, one that would continuously make short duration calls to test the ability to the network to identify and connect new call, and another that would try to stay online for as long as possible, testing the network's ability to hand off calls from one tower to the next.

    If you are planning on testing a decent sized area, I would recommend using a similar system. If you're just going to go to specific hot spots and run a couple of tests at each location, I wouldn't go to such lengths though.

    -Rick

    --
    "Most people in the U.S. wouldn't know they live in a tyrannical state if it walked up and grabbed their junk." - MyFirs
  40. Resolve an issue with your vendor? by captaindomon · · Score: 1

    "In order to resolve an ongoing issue with a vendor..." Good luck with that. Doing the testing itself is very technically interesting and worth discussion. Trying to resolve an issue with a vendor by "proving" they have a certain level of service is a different matter entirely. That type of approach to resolving business disputes just isn't the right approach. It's a good example of trying to resolve business/legal issues with proving something in technology, and that is very difficult.

    --
    Just because I can hook a shark from a boat, I do no offer to wrestle it in the water.
  41. Use results for public shaming? by GameboyRMH · · Score: 1

    I'd mod you Insightful, but if this telco has any competitors, a nice heaping pile of public shame could motivate them to take care of the issue...Post the results of the "cellular wardrive" online and send links to the competitors, ideally to someone in marketing if you can find the contact info. Again if there are competitors, maybe you can get a SIM from them and record data from that device simultaneously so you can compare the signal quality. The company with the best signal quality in the area would be very interested in the results.

    As for capturing the data, it shouldn't be too hard on any Linux device as long as you can access the signal quality of the cellular modem. I know you could do it with a Python script or maybe even a shell script on an N900. The hard part will be using the data to produce a map visualizing the signal quality in different areas.

    --
    "When information is power, privacy is freedom" - Jah-Wren Ryel
  42. Using SMSlib by npetrovic · · Score: 1

    I have used SMSlib for a similar purpose. It is an open source Java library for sending and receiving SMS with a wireless modem. I used it as a framework to communicate with the modem and extract its signal quality measurements. The basic algorithm is: -- Force the modem into 3G mode (that's what I'm interested in) -- Loop every minute: -- Read and record RSSI, BER, SNR You can read about the details on: http://knol.google.com/k/novak-petrovic/modem-based-3g-signal-analysis/1j9pv1wo3nq4h/20# There are also my measurements at two locations: "good" and "bad". With a bit more work this approach can be extended to correlate RF parameters with some other (IP) measurements you mention. It can also be extended to make it a mobile measurement that you require. I am currently working on a more accurate interpretation of some of the RF measurements. Best regards, Novak.