Straightforward out-of-the-box solution for extending WiFi range

UPDATE:

After many hours of trying to get the settings just right, just now I was able to tremendously extend the WiFi range of my laptop, as a test, simply by connecting a Ubiquiti NanoBridge M2 feedhorn (sans dish antenna) to the Ethernet port. Here is my signal strength at the feedhorn, as seen through the laptop:

formatting link

Notice the noise is a tiny at -99dBm while the signal strength is huge at -44dBm (with a SNR of -44 - -99 = 55, if I did the math right).

This gets me 130Mbps between my Linux laptop & the home broadband router.

Here are the network settings that were necessary to make this work:

formatting link

And, here are the access-point specific wireless settings to make it connect to my home broadband router's SSID:

formatting link

With the dish antenna, that Nanobridge M2 has a gain of 41dB (i.e.,

23dBm transmit power + 18dBi antenna gain), which is far too powerful.

Since that calculates (if I did the math right?) to over 12 Watts, I had to lower the gain by removing the dish ... which dropped the gain down to 23dBm + 3dBi, or 26dB (which is a 0.4 Watts).

Even that was far too powerful for use in my house, so I dropped the transmit power of the feedhorn radio down to 6dBm, so with the 3dBi feedhorn-only gain, the screenshots above are at 6+3=9dB (0.008W) EIRP.

Even with the gain reduced as low as I could make it, I still got a connection strength of -44dBm and a connect speed of 130Mbps, so, it's at least a proof of concept that this is one way to extend the WiFi range of your laptop.

My goal will be to try to connect to my home broadband router from a mile or two down the road... so that's what I'll try next.

PS: Jeff Liebermann should be proud of me!

Here's the howto I wrote up ... (it can also be used at coffee shops!) BEGIN: How to use a Nanobridge M2 as your laptop wireless NIC!

  1. I reset the Nanobridge M2 radio to default settings as per this video:
    formatting link

I connected the POE to the Nanobridge M2. I reset the Nanobridge M2 back to factory defaults by holding the reset button down for 10sec (until all LEDs flashed)

  1. I set the Nanobridge M2 to be the Linux laptop wireless NIC as per this video:
    formatting link

  1. I turned off the wireless NIC inside the laptop with the hardware switch. Note: I could just as well have run this command on Ubuntu 13.10: $ sudo ifconfig wlan0 down

  2. I set the IP address of the laptop to be on the 192.168.1.XX subnet. $ sudo ifconfig eth0 192.168.1.99 $ ifconfig (make sure eth0 is 192.168.1.something & that wlan0 is not up)

  1. I physically connected the Nanobridge M2 to the eth0 port of the laptop.

  2. I pinged the Nanobridge M2 $ ping 192.168.1.20 PING 192.168.1.20 (192.168.1.20) 56(84) bytes of data. 64 bytes from 192.168.1.20: icmp_seq=1 ttl=64 time=0.572 ms 64 bytes from 192.168.1.20: icmp_seq=2 ttl=64 time=0.460 ms 64 bytes from 192.168.1.20: icmp_seq=3 ttl=64 time=0.286 ms etc. (control C to escape)

  1. I logged into the Nanobridge M2 $ netscape 192.168.1.20 (ubnt, ubnt)

  2. I set the "Network" tab as follows: AirOS:Network Router (default is Bridge) WLAN Network Settings->DHCP (default is DHCP) LAN Network Settings->IP Address->192.168.10.20 (default is 192.168.1.1) [x]Enable NAT [x]Enable DHCP Server Range Start=192.168.10.100 Range End =192.168.10.200 Change->Apply

  1. I rebooted the Ubuntu PC (with the wlan0 card still turned off)

  2. I set eth0 to be on the same (new) subnet as the Nanobridge M2: $ sudo ifconfig eth0 192.168.10.101

  1. I pinged the radio: $ ping 192.168.10.1 PING 192.168.10.1 (192.168.10.1) 56(84) bytes of data. 64 bytes from 192.168.10.1: icmp_seq=1 ttl=64 time=1.15 ms 64 bytes from 192.168.10.1: icmp_seq=2 ttl=64 time=0.255 ms 64 bytes from 192.168.10.1: icmp_seq=3 ttl=64 time=0.310 ms etc. (control + C to escape)

$ ping 192.168.10.20 PING 192.168.10.20 (192.168.10.20) 56(84) bytes of data. 64 bytes from 192.168.10.20: icmp_seq=1 ttl=64 time=1.71 ms 64 bytes from 192.168.10.20: icmp_seq=2 ttl=64 time=0.308 ms 64 bytes from 192.168.10.20: icmp_seq=3 ttl=64 time=0.242 ms etc. (control + C to escape)

  1. I logged into the Nanobridge M2: $ netscape http://192.168.10.20 (ubnt, ubnt)

  1. I set up the "Wireless" tab to connect to the home broadband router SSID: AirOS:Wireless SSID->Select (I sorted the signals by signal strength & encryption) I selected my WPA2-PSK encrypted network SSID. I scrolled to the bottom & hit select. Change->Apply

Note: I also had to set the DNS server by turning off DNS proxy Primary DNS server = 8.8.8.8 Secondary DNS server = 4.4.4.2

Voila!

Once I set up DNS (which wasn't described in the video), I was able to connect to the Internet, and, in fact, am using this connection to type this up to help myself (in the future) and others.

END OF: How to use a Nanobridge M2 as your laptop wireless NIC!

Reply to
Danny D'Amico
Loading thread data ...

Of course, that 130Mbps is only between the laptop and the router.

The actual Internet speeds from my rooftop antenna to the Internet, about 20 miles away from a real wire, is almost ten times slower than those speeds, at about 10ms ping, 19 Mbps down, & 18 Mbps up:

formatting link

One mistake I made that I just corrected is that I hadn't enabled the NTP time server on the Nanobridge M2, which I hadn't used for months, so the time & date were off in the prior screenshots.

Here's the latest, with the power dialed down as low as I can possibly make it, and even then, I get -39dBm signal strength from my laptop to my home broadband router, across floors and walls in the house:

formatting link

I can't wait until daylight to see how far I can go to connect my laptop to my home broadband router.

ADVANTAGE: This method should extend the WiFi range of the laptop up to a few miles (depends on the antenna & access point though).

DISADVANTAGE: 120V power is necessary to run the POE, so, I can't do it on foot; but I can test it a mile or two away from the house in my car with an inverter.

Reply to
Danny D'Amico

Hi, Do you work fpor Ubiquiti? Nothing new you are doing there.

Reply to
Tony Hwang

Hi Tony,

Two things I've always wanted to do:

  1. Increase the range of my wifi signal *inside* the house
  2. Connect to access points which are miles away

What I was documented is the first step, which is to increase the range. The second step is to connect to an access point that is miles away from that laptop.

I haven't done *that* yet, but, the potential now exists.

First, I had to be able to connect to an access point, period. It took me a long time to figure out *how* to do that.

Now that I've done that, my *next* test is to see if I can connect to my home broadband router from a couple of miles away.

It will be fun, to see if I can do that (but I need to find my inverter because this particular solution requires 120volts).

I'll report back if/when I'm successful.

Reply to
Danny D'Amico

There's a store in Chicago that specializes in DX WiFi. They are called

3gstore.com They also have forums for wireless hacks. Very busy boards.
Reply to
dave

The noise floor probably consists of other routers on the same frequency. This is that 3 miles path, so you are bound to hear all sorts of crud.

There are ways to get omni gain, and directional gain, based on the antenna type. For point to point long distance, you want horizontal polarization. The cross polarization spec of the antenna will reject vertically polarized signals.

"Horizontal polarization is used over longer distances to reduce interference by vertically polarized equipment radiating other radio noise, which is often predominantly vertically polarized."

They then say do whatever you want (horizontal or vertical), but horizontal will pick up less crud.

I never did circular polarization on wifi, but it would reduce multipath. The reflected signal would be reduce by the cross polarization since the reflected signal has the opposite polarization. But the circularly polarize antenna will pick up both horizontal and vertical signals, just reduced by 3dB since they are not circularly polarized.

Most people just get two sector antennas and set them up horizontally polarized.

Reply to
miso

You mean work on both bands at the same time? They kind of get tangled in knots. I'm pretty sure these dual band units have band separation filters, and they are lossy due to cost constraints. That is the filter has an insertion loss which can be quite significant (say 4dB). They don't have individual lowband and highband antennas, so they are duplexing. The out of band signal is probably bigger than the noise floor.

Reply to
miso

A doubt you can get line of sight to a Starbuck. Trees are a pain!

You would probably have to use circular polarization, like a helix feeding a dish.

Defcon has done wifi shootouts, but they used similar gear on both sides. I'm not sure if anyone ever tried to set a record for long distance interception. I've done 10 miles in the desert, but there is nothing in the way of the signal and and no competing signals. If a square law holds, 20 miles would be 1/4 the power. I get my power and voltage ratios mixed up, but probably is would need 6dB more gain in the antenna. Doable. I'm at 16dB, and gear exists at 22dB.

Reply to
miso

Hi Miso,

My fault for not being clear.

What I had meant by "double the decibels" is that I've noticed that seemingly, the same equipment (like the dish for the Rocket M2 versus the seemingly exact same dish for the Rocket M5) always has a 3 decibel (i.e., doubling) higher gain on the 5GHz equipment as on the 2.4GHz equipment.

So, without actually looking it up, I always assumed that a given set of equipment is double the power if it's 5GHz.

But, maybe I'm wrong. Googling, I found this gain calculator:

formatting link

Reading the "Antenna" section, I see a parabola is a parabola, so, I can safely assume the Rocket M2 (2.4GHz) and the Rocket M5 (5GHz) do use the same dish reflector.

Plugging in the numbers, into the "Parabolic Antennas" calculator of

1/2 meter for the dish diameter, I get 22 decibels of gain at the 2.4GHz range, and 29 decibels of gain at the 5 GHz range. So, that's actually a quadrupling of gain, simply by bouncing a higher frequency into the reflector.

So, for any given size equipment, I always assumed (perhaps incorrectly), that the 5GHz equipment inherently had twice the gain.

Reply to
Danny D'Amico

Hi Miso, This is interesting, the polarization issue. I really never thought about polarization, so, I'm reading (and re-reading) your post, to get the facts into my head.

For example, I had never realized that, for long distances, one polarization would be any different than the other - but - as you noted - most things are vertically polarized - so - to reduce noise - I'd want the opposite polarization for long distances.

Thanks for that insight! You seem to be years ahead of me in knowing what's what.

Reply to
Danny D'Amico

I'm so new to polarization, that I had never heard of circular polarization.

Googling, I find this "patch antenna", which describes what you said about penetrating obstructions:

formatting link

Here's what they say which agrees with what you had said: "circular polarization means the antenna is better able to receive a clear signal due to the fact that the signal is both vertically and horizontally polarized at the same time. This effect enables the signal to penetrate through small obstructions and "twist" its way through trees, leaves and small structures. "

Reply to
Danny D'Amico

Hi Miso,

I'm a retired accountant.

I have to do the math!

And, it has to all add up!

:)

BTW, they must expect us to use just the feedhorn for the Nanobridge M2, because it shows right here in the router configuration that I can select the 3dBi gain of the feedhorn alone, without the additional 15dBi gain of the reflector dish:

formatting link

Reply to
Danny D'Amico

Just by way of testing, I clipped the 23dBi NanoBridge M2, with just the

3dBi feedhorn into my Ethernet port of my laptop, and I went to the farthest reaches of the house to test if it mattered how I rotated that 3dBi antenna.

With the laptop on my lap, I held the feedhorn like a flashlight, pointing the invisible beam directly at the router at the other side of the house, pointing up at the ceiling, pointing down at the floor, and pointing directly away from the router (with the cat5 "tail" of the feedhorn denoting direction).

With the Nanobridge M2 transmit power dialed down to 6dB, which is the lowest it would go, I got the following signal strengths:

formatting link

-38dBm, -40dBm, -52dBm, & -61dBm

All of these are fantastic signal strength numbers for connectivity, but, they're still too strong to make much of a conclusion about usefulness.

Since my signal strength is so powerful, even at the very lowest possible settings, I'm going to need to go a few hundred yards to maybe a mile away from my home broadband router to see how much the directionality really makes a difference.

Reply to
Danny D'Amico

Wifi is just like ham radio. Same issues.

The sector antennas are always able to do horizontal or vertical polarization, but sometime the pattern isn't appropriate to more than one polarization.

For example, say you bought a sector antenna that was vertically polarized and designed for coverage over a wide horizontal region but a narrow vertical region. That makes sense for a lot of vertically polarized applications, like you are covering a yard. But if you rotate that antenna so it is now horizontally polarized, you now have narrow coverage in the horizontal direction and wide coverage in the vertical direction, which is pretty useless.

For long distance, you want a laser beam. Since that can't be achieved, you generally want it tight in both elevation and azimuth. That is beaming is often done with dishes.

If you look at microwave links, they often have two dishes. One is horizontally polarized, the other is vertically polarized, That gives them isolation between the dishes. Generally one is TX and the other RX. You don't want your TX signal leaking into the receiver.

Reply to
miso

I haven't done much non line of sight wifi. But in SIGINT, you deal with scattered signals. Reflections, knife edge diffraction, even atmospheric ducting. So you never know the polarization. Circular works well in that case.

When you design comm gear, well perhaps only back in the days I was doing so, you would put in "hooks" in the gear to see the constellation or eye pattern, depending on the complexity of the modulation. The hook would be some secret multiplexing of pins on the chip so the internal demod could be viewed. Often as simple as just providing hooks to drive dacs. These schemes provide great insight to the effect of noise and multipath. It wouldn't surprise me if the developers of these wifi chips had special drivers just for that purpose.

The wiki is OK on this topic:

The constellation is the more interesting of the two. You can watch your phase lock quality by seeing the constellation rotate back and forth. If a dot crosses a boundary, that is a bit error.

The eye pattern is useful in aiming the antenna. You move the antenna around until the eye is as wide as possible. A wide eye means the bits are less likely to be in error.

I did my MSEE with emphasis on communications and worked in the field a bit on baseband mod/demod, Not RF but wireline. But the theory works for both. Wireline reached a dead end, so I moved on to other design areas.

Reply to
miso

It is a bit more complicated than that. Meditate on a very simple antenna, say a quarter wave monopole. The signal in the aether has a field strength, generally expressed in volts per meter. If you compare two quarter wave monopoles, with one being twice the frequency of the other, it will also be half the size. [Wavelength being inversely related to frequency.] Same field strength, half the size, hence half the received signal being sent to the receiver. So generally lower frequencies are better than higher frequencies if you want range, but only for the same type of antenna.

Now there are things you can do to improve the reception of high frequencies. When I mentioned that the higher frequency antenna is smaller, that refers to the aperture of the antenna. The smaller antenna has less aperture. To increase aperture, you make a more complicated antenna. Stack simple antennas to make one that have more aperture. You now have a bigger sponge by combining smaller sponges.

This all can be related to photographic lenses. The opening of the front element of the lens is the aperture. The focal length of the lens is the gain. This all gets confusing, hence the use of various calculators to predict received signal level.

Now for a dish, and I may not be correct here, but I believe the aperture of the dish is just the damn diameter of the dish. Whatever frequency you chose, the aperture is the same. The gain however goes up with the frequency. But I think you don't gain any signal strength when the dust settles. For one thing, your feed horn for the dish is now smaller, i.e. it lost aperture.

This would be a good Jeff L. question, though he seems missing in action.

Generally there are no free lunches in electronics. The only benefit to going higher in frequency is there is less atmospheric noise. At least to a point. In satellite reception, you can have the noise of the sun kill your signal.

Reply to
miso

This makes sense, as everything in radio transmission is a tradeoff.

Reply to
Danny D'Amico

Again, you have a great perspective on how to explain why we use the dishes for point to point over long distances!

Reply to
Danny D'Amico

Luckily, in WiFi, you know everything. (At least you do!). :)

Reply to
Danny D'Amico

But that isn't a WAP with integral antenna. If the device just has a RF port, then you need to know the characteristics of of the antenna to get the effective radiated power.

I'm not sure what the limit is in those ISM (free) bands, but there probably is some limit and the vendor doesn't want you to exceed it.

Maybe you can do the first wifi moon bounce.

Reply to
miso

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.