Showing posts with label Internet. Show all posts
Showing posts with label Internet. Show all posts

Apr 2, 2013

Configuring an Access Point as a Wireless Repeater

The Linksys Wireless-G Access Points can be configured as an Access Point, Access Point Client, Wireless Repeater, and Wireless Bridge. The Wireless Repeater mode will turn the access point into a wireless repeater to extend the range of your signal.                     
 
The WAP54G will work as a wireless repeater with the following devices:
  • Linksys Wireless-G Access Point (WAP54G)
  • Linksys Wireless-G Router (WRT54G) 
To configure the access point as a wireless repeater, you need to perform two steps:
  1. Checking the Wireless MAC Address of a Wireless Router/Access Point
  2. Setting-Up Wireless Repeater Mode on the WAP54G  
Checking the Wireless MAC Address of a Wireless Router 
NOTE:  If you will connect the wireless repeater to another WAP54G, click here. To check the wireless MAC Address of the wireless router follow the steps below.  
Step 1:Access the router’s web-based setup page. For instructions, click here.
NOTE: If you are using Mac to access the router’s web-based setup page, click here.
Step 2:When the router’s web-based setup page opens, click Status then click Wireless.

Step 3:Take note of the MAC Address. This is your router’s wireless MAC address.

NOTE: The Wireless MAC Address you took note of will be entered on the WAP54G set as wireless repeater. After checking the wireless MAC Address, set-up the wireless repeater mode on the WAP54G. For instructions, click here. To check the wireless MAC address of the access point, follow the steps below.
 
Checking the Wireless MAC Address of an Access Point
Step 1:Connect a computer to the access point.

Step 2:Assign a static IP address on the computer. For instructions, click here.
NOTE: To assign a static IP address on a wired Mac, click here.
Step 3:Open the access point’s web-based setup page. For instructions, click here.
NOTE: If you are using Mac to access the access point’s web-based setup page, click here.
Step 4:When the access point’s web-based setup page opens, take note of the Wireless MAC Address.

NOTE: The Wireless MAC Address you took note of will be entered on the WAP54G set as wireless repeater. 
Step 5:After obtaining the wireless MAC address of the router/access point, configure the other WAP54G as a wireless repeater. For instructions, follow the steps below.
Setting-Up Wireless Repeater Mode on the WAP54G
Step 1:Access the access point’s web-based setup page. For instructions, click here.
NOTE: If you are using Mac to access the access point’s web-based setup page, click here.
Step 2:When the access point’s web-based setup page opens, click AP Mode then select Wireless Repeater.


NOTE: The access point’s web-based setup page may differ depending on the access point’s version number.
Step 3:Type the wireless MAC address you took note of earlier in the Remote Access Point’s LAN MAC Address field.


NOTE: Remove the colons (:) when typing the MAC address on the Remote Access Point’s LAN MAC Address field.
Step 4:
Click .

Mar 30, 2013

Simple AP Setup --ubnt

Network Topology

We'll consider this simple network topology:
  • 1 Router/Gateway connected to Internet and/or private LAN (IP Address: 10.10.10.254/24)
  • 1 Switch for private LAN (optional)
  • 1 AP AirOS device directly connected to Router (IP Address: 10.10.10.253/24)
  • 1 or more Wireless Clients (Notebook, WiFi-Phone, other Wireless devices...)
  • The Router assign IP Address to network devices by DHCP Server. Alternatively, if you prefer, you can set static IP Address on Client.
Image:AP_Network.png

Devices configuration

Router Setup

Router can be your ISP ADSL Router, a Ubiquiti Routerstation or a Mikrotik RouterBoard plus Ethernet Modem... please refer to device manual.
  • Set your Internet connection according to ISP paramenters (WAN IP Address, DNS IP Address, ...)
  • Set LAN IP Address/SubnetMask: 10.10.10.254/255.255.255.0 (10.10.10.254/24)
  • Enable DHCP Server to assign IP Address to Network Devices (e.g. range Client IP Pool from 10.10.10.1 to 10.10.10.100)

AirOS AP Setup

Connect your PC directly via Ethernet cable to AirOS Device to configure as AP and login into WEB-GUI.
Note: need to configure your PC with an IP Address of same Subnet of AirOS device.
By default, AirOS device have 192.168.1.20/255.255.255.0, you can assign your PC IP Address like: 192.168.1.1/255.255.255.0 (see this guide)
  • In LINK SETUP Tab, set:
    • Wireless Mode: Access Point
    • SSID: yourSSID (or any other string to identify your WLAN)
    • Country Code: set according your country
    • IEEE 802.11 Mode: B/G mixed (assuming devices running in 2.4 GHz)
    • Channell Spectrum Width: 20MHz
    • Channel: 1 - 2412 MHz (or any other free channel)
    • Output Power: 10 dBm (or check Obey Regulatory Power according your country law)
    • Data Rate, Mbps: 54, Auto
    • Security: WPA (or any other, supported by Wireless Client)
    • WPA Preshared Key: yourpassphrase (this is a secret key for your WLAN, minimum 8 printable ASCII chars, maximum 63)
    • Click "Change"
    • Wait until process is complete and click "Apply" to confirm new configuration (or click "Discard" to refuse).
Note: we suggest to set Wireless Security only after you are sure that Wireless Client are able to connect your AP.
Note: not all Wireless devices support all Wireless Security (WEP, WPA, WPA2, ...)


  • In NETWORK TAB, set:
    • Network Mode: Bridge
    • IP Address: 10.10.10.253
    • Netmask: 255.255.255.0
    • Gateway IP: 10.10.10.254
    • Primary DNS IP: 10.10.10.254 (or DNS IP provided from your ISP)
    • Secondary DNS IP: as Primary DNS IP
    • Click "Change"
    • Wait until process is complete and click "Apply" to confirm new configuration (or click "Discard" to refuse).
    • Now the devices should be reachable on new IP Address 10.10.10.254.
    • Remember to assign to your PC a IP of Subnet 10.10.10.x (e.g.10.10.10.200/255.255.255.0)

Client Setup

Wireless Client devices can be: Laptop (whit Windows, MAC, Linux...), PDA, WiFi-Phine, WiFi IP Cam... refer to manual.
In TCP/IP Network Section:
  • If supported, set device to obtain Address IP automatically
  • Otherwise set statically:
    • IP Address: any free IP 10.10.10.x/255.255.255.0
    • Gateway: 10.10.10.254
    • DNS: 10.10.10.254 (or DNS provided by your ISP).
In Wireless Section, set the same parameters used in AP Setup:
  • WiFi Channel
  • Wireless Security (WEP, WPA, WPA2,...)

Monitoring Associated Clients/Stations

  • In MAIN TAB, select Show Station from Extra info menu.
    .
    A popup window will list Associated Stations For detailed info, click on the MAC address.

Mar 28, 2013

How to Connect your Home Network to xDSL Line with Mikrotik

You have your Home DSL modem installed, and want to have a secure connection to the Internet for your home network. For that, you have to install MikroTik router between the DSL modem and your home network:
Adsl.jpg
Follow the steps below to connect your home network to xDSL line:
  • Make your MikroTik router with two Ethernet NICs, one for the Home DSL modem, one for your home network. See instructions in the Basic Setup Guide!
  • When installing, make sure you install the dhcp software package, if your xDSL service provider uses DHCP to hand out IP configuration, and ppp package, if your service provider uses PPPoE for authentication and IP configuration.
  • Make sure both interfaces are enabled, for example:
/interface enable ether1,ether2
  • If your service provider uses DHCP for IP configuration, add DHCP client on the external (xDSL) interface to receive IP configuration form your service provider:
/ip dhcp-client add interface=ether1 disabled=no
  • Check, if you have received IP configuration using print detail, for example:
[admin@MikroTik] ip dhcp-client> print detail     
Flags: X - disabled, I - invalid 
 0   interface=eth1-adsl add-default-route=yes use-peer-dns=yes 
     use-peer-ntp=yes status=bound address=81.198.55.240/22 
     gateway=81.198.52.1 dhcp-server=81.198.232.1 primary-dns=80.232.169.11 
     secondary-dns=195.122.1.59 expires-after=5h5m46s 
  • If your service provider uses PPPoE for authentication and IP configuration, add PPPoE client to dial out to the service providers PPPoE server and receive IP configuration:
/ interface pppoe-client 
add interface=ether1 user="mtrouter@adsl.com" password="bunny" \
add-default-route=yes use-peer-dns=yes disabled=no
  • Check if you have received IP configuration:
[admin@MikroTik] interface pppoe-client> monitor pppoe-out1 
        status: "connected"
        uptime: 1m17s
     idle-time: 0s
      encoding: "MPPE128 stateless"
  service-name: "home_dsl"
       ac-name: "Telco_DSL"
        ac-mac: 00:0C:42:05:03:99
           mtu: 1480
           mru: 1480
  • Add your private network address to ether2 interface, for example:
/ip address add address=192.168.0.1/24 interface=ether2
  • Configure masquerading for your local network:
/ip firewall nat add chain=srcnat src-address=192.168.0.0/24 action=masquerade
  • Configure firewall to protect your router:
/ ip firewall filter
add chain=input connection-state=established comment="Accept established connections"
add chain=input connection-state=related comment="Accept related connections"
add chain=input connection-state=invalid action=drop comment="Drop invalid connections" 
add chain=input protocol=udp action=accept comment="UDP" disabled=no 
add chain=input protocol=icmp limit=50/5s,2 comment="Allow limited pings" 
add chain=input protocol=icmp action=drop comment="Drop excess pings" 
add chain=input in-interface=ether2 src-address=192.168.0.0/24 comment="From our LAN" action=accept
add chain=input action=log log-prefix="DROP INPUT" comment="Log everything else"
add chain=input action=drop comment="Drop everything else"
  • (Optional) Run DHCP Setup to configure DHCP server to hand out IP configuration on your home network:
/ip dhcp-server setup
  • (Optional) Enable local DNS cache to be used when resolving DNS requests from home computers:
/ip dns set allow-remote-requests=yes
That's it! You can access the Internet from your home network!

Basic Internet Sharing with Bandwidth Limiting -- Mikrotik

This tutorial explains how to configure a router to share a single Internet connection (WAN) among multiple local computers (LAN) using NAT.

First we will configure interface that is connected to WAN.
/ ip address add address=192.168.1.20/24 network=192.168.1.0 broadcast=192.168.1.255 interface=ether2

Now one interface is configured and connected to WAN (with ip 192.168.1.20/24). Now we will configure second interface for our Local Network.
/ ip address add address=192.168.0.1/24 network=192.168.0.0 broadcast=192.168.0.255 interface=ether1

Now we will configure DHCP using WinBOX, download Winbox from http://www.mikrotik.com and login to you MT Router. Then goto IP > DHCP-Server, now press Setup Button, then you will see a similar window as shown below. Just select the interface that you have configured for your Local Network (as in our example it is ether1), now just press Next till the end of setup.

Dhcp-1.JPG

Now we will configure DNS for our local network. Goto IP > DNS, press Settings button then add you Primary and Secondary DNS Server IP as provided by your Internet Service Provider. Also make sure that you select "Allow Remote Requests", so that you can give your MT Router's IP as a DNS Server to your Clients. Then Apply and OK.

Dns.JPG

Now we will configure NATing for our Local Network. Goto IP > Firewall, goto NAT table press the plus sign which will allow you to add new firewall rules. Select chain=srcnat, then set Src. Address=192.168.0.0/24 (ip range of your local network), then select Out.Interface=ether2 (interface connected WAN), as shown below.

Firewall-1.JPG

Now goto Action Tab in the same window, then select Action=Masquerade, then Apply and OK.

Firewall-2.JPG

Now we will setup Bandwidth restriction (10kbps per IP in 192.168.0.0/24 range). Goto Queues, then goto Queue Types, then press the plus sign to add a custom Queue Type. In the name field enter your desired name, select kind=pcq. As shown below.

Bandwidth-1.JPG
Now goto Settings Tab in the same window, and enter the Rate to 10000 (i.e equal to 10kbps), also select Dst. Address, as shown below.

Bandwidth-2.JPG

Now for Upload limit repeat the same procedure to create another Queue Type name it something different and in the Settings Tab instead of selecting Dst. Address this time select Src. Address. Apply and OK

Now in the Queues window goto Simple Queues Tab, and add a new simple queue by pressing plus sign. Enter your desired name, then add a Target Address=192.168.0.0/24 the IP Range of your local network.

Simple-queue-1.JPG
Now goto Advanced Tab in the same window and in Queue Type in the Target Upload select the Queue Type that we created before for upload restriction purpose, do the same for Target Download. As shown below. Press Apply and OK.

Simple-queue-2.JPG

As per the steps shown and performed, you should now have an up and running MT Router, that will serve Internet Service to local network with IP Range 192.168.0.0/24 that will be given by the DHCP Server.

Mar 27, 2013

Turn Your Windows 7 Laptop into a WiFi Hotspot with Connectify

In some computing situations, you might need to create a WiFi hotspot quickly so other wireless devices can use an Internet connection. Today we take a look at Connectify which easily turns your Windows 7 machine into an instant WiFi hotspot.
You might be at a location where there is only one Ethernet connection available (hotel room, office or meeting room etc.) and you need to share the Internet connection with other people or devices. Connectify is a free utility which is light on system resources and makes it easy for you to set up your Windows 7 machine as a secure WiFi hotspot.
Note: Connectify only works with Windows 7 Home and above, Starter is not supported.
Connectify
Installation is quick and easy, and once complete, you can access Connectify from the icon in the Taskbar.
4wifi 
Under settings, type in a name for the WiFi network, a password to access it, then decide the type of internet connection you want to share. It allows LAN, VirtualBox Host-Only, Wireless Network Connection, and no Internet sharing. When you’re ready, click on the Start Hotspot button.
1wifi
Now you’ll see it running and can begin connecting your other wireless computers and/or devices.
2wifi
Now that Connectify is running on the Windows 7 laptop, In this example we go over to an XP laptop and connect it. Open up Wireless Networks and you’ll see the new hotspot we just created that you can connect to.
6wifi
You’ll be prompted to enter in the Network Key (password) you set in Connectify twice, then click on Connect.
7wifi
Wait for a moment while a network address is acquired…
sshot-2010-01-31-[21-54-44]
Here you can see the XP machine is connected to the Geek-fi network we created on the Windows 7 machine.
sshot-2010-01-31-[00-21-21]
When you go back to the Windows 7 machine you can see the device(s) connected. It also keeps track of devices that were previously connected as well.
66wifi
Right click on the Connectify icon in the tray to get different options for running it.
3wifi
In our tests, the signal strength and connection speed was adequate, but may be a bit slower than your used to. Results will vary based on the type of hardware you have sending and receiving the signal. Overall though, if you need to create a Hotspot in a pinch, Connectify is more than capable. If you’re looking for an easy way to share your Windows 7 wireless connection with other devices, and want it to be secure, Connectify get’s the job done.
Download Connectify

Turn Your Windows PC Into a Wireless Hotspot

Turn Your Windows PC Into a Wireless Hotspot 
 
Everybody's got a wireless network at home, but if you've ever wanted to get your iPod touch, iPhone, or other wireless device connected, but all you've got is a wired network at work, school, or elsewhere, Windows 7 makes this process trivial.Upgraded to Windows 8? Check out Virtual Router Plus, a tiny free program that does the same thing. You can also accomplish the same thing in Windows Vista, XP, and even OS X—the Windows Vista method is almost identical to Windows 7, but XP requires a few more steps.
Before we begin, you should make sure that you've got a laptop or desktop with a wireless card that isn't currently connected—if your laptop is connected to the wired network, your wireless card should be free, and we can use it to allow access to the internet. Note that you have to be plugged into a wired connection in order to share the connection wirelessly with others, or have a second wireless card. Readers should also note that this won't work on (some) work networks that use group policies to enforce TPS report cover sheet boredom and prevent you from having any fun at all.
Turn Your Windows PC Into a Wireless HotspotYou'll want to start out by heading into the Network and Sharing Center through the Control Panel, or you can quickly get to it by right-clicking on the network icon in the system tray. Once you are there, find the link for "Set up a new connection or network".
You'll be prompted with a wizard that allows you to connect to VPNs, dial-up, or create a new ad hoc wireless network, which is what we want to do. You can easily use an ad hoc network to share files back and forth between two computers, but today we'll be using it for sharing the internet connection.
Turn Your Windows PC Into a Wireless Hotspot
You'll need to give your network a name and choose some security options—remember that WEP is extremely easy to crack—and you'll want to make sure to use at least a decent sized key even for WPA2. The really important option on this page is to remember to check the box for "Save this network".
Turn Your Windows PC Into a Wireless Hotspot At this point your ad hoc network should be running and ready to start connecting your devices, but you'll want to hold off just a minute.

Turn Your Windows PC Into a Wireless Hotspot You'll notice that the ad hoc networks that you create get added to the quick-select wireless network list—when you disconnect from your ad hoc network, it's the same as stopping it. Connecting to the network is the same as starting it back up; this way you can quickly switch back and forth between connections with just a few clicks.
Turn Your Windows PC Into a Wireless HotspotThe last step is enabling connection sharing through your regular network card, which will allow anybody connected to your ad hoc wireless to use your internet connection. To do so, you'll want to head into the Network and Sharing Center, click the "Change adapter settings" link on the left, and then find your network connection in the list—it's very important that you only enable internet connection sharing on the adapter that is actually connected to the internet. In this case, my internet access at work goes through my Local Area Connection, so I've enabled it there.
At this point, you should be able to connect any wireless device to your new ad hoc network and access the internet, or even share files directly with your laptop.
 

Mar 24, 2013

How to bridge internet connections using UBNT wifi

Bridging Internet connections and LAN's with UBNT Gear

This guide will walk you through the steps of sharing (bridging) an internet connection in one building, and extending that same internet to another building.
Things that can be accomplished using this guide:
  • Sharing a neighbors internet connection from across the street (must have thier permission and must be legal from there provider).
  • Bridging your internet/local area network with another building.
  • Making a standard layer 2 transparent bridge for joining two LAN networks.
Items you will need:
  • Two UBNT devices such as NanoStation, PowerStation, PicoStation ect.
  • Ethernet Cables for each device.
  • Location to mount the units (either on a pole outside or using the UBNT Window Mounts).
  • Line of Site between each mounting location.
  • A PC or Laptop to do the configuration of the units.

Step 1: Connecting the UBNT device to your computer

A) Plug the provided power adapter into the wall, then connect the other side to the PoE splitter.
B) Connect an ethernet cable to the UBNT Device, then the other side to the PoE port on the PoE splitter.
C) Next, connect a second ethernet cable into the PoE splitters LAN port, then into the back of your computer.

Step 2: Configure your Windows computer to talk UBNT device

A) Right click on your Network icon in the bottom right hand corner of the desktop (System Tray).



B) Select the Network and Sharing option.



C) Select the Manage Network Connections link



D) Right click on Local Area Connection and select the Properties link


E) Double click on the Internet Protocol version 4 option



F) Type in the information as seen to the right, then hit ok, and ok once more to return you to your desktop. Your system is now properly configured to talk with the UBNT device.

Step 3: Configure the Access Point (the side with the internet connection)

A) Launch your Web Browser (I am using Internet Explorer for this turorial.)
B) Type this address into the address bar: 192.168.1.20
C) A pop up window will arrive and you will enter ubnt for both the username and password field.
D) Next, you will select the Link Setup tab.











Image:link_setup.jpg

E) Now we will change the circled options:
  • Wireless Mode: Set this to Access Point WDS
  • SSID Set this to "bridge".*
  • Channel Set this to channel 6
  • Security Set this to WPA
  • WPA Preshared Key Set to "bridgelink"* 



  • Please note, items marked with a * can be set to whatever you like. However, these settings must be remembered as they will be needed for the setup of the client side.

  • Once you have changed all settings, hit the Change button at the bottom of the screen. DO NOT HIT the apply button that appears at the top of the screen just yet. 
F) Next we need to change the networks settings so that the unit can be used on your network. Select the Network Tab.
Image: Network_tab.jpg

G) We need to change the following circled options so that the device can communicate on your network.
  • Network Mode: Set this to Bridge Mode
  • Bridge IP Address: Set this to DHCP
  • Auto Fallback IP: Leave this setting to default. If for some reason the unit does not get an IP address you will use this fallback IP to access the unit.


H) Once you have finished with the Network options, scroll to the bottom of the page and hit the Change button. Once these changes are committed, please hit the Apply button at the top of the page.


I) Now that the unit has rebooted, unplug the ethernet from your computer and plug the device into an open LAN port of your router. Once this is done the unit is setup and ready to accept the station side of the bridge.
 

Step 4: Configure the Station side of your bridge

A) Launch your Web Browser ( I am using Internet Explorer for this turorial. )
B) Type this address into the address bar: 192.168.1.20
C) A pop up window will arrive and you will enter ubnt for both the username and password field.
D) Next, you will select the Link Setup tab.

Image:link_setup.jpg

 
E) Now we will change the circled options:
  • Wireless Mode: Set this to Station WDS
  • SSID Set this to "bridge". *
  • Security Set this to WPA
  • WPA Preshared Key Set to "bridgelink"*

* If you changed these options during the AP Setup process, please match these to your new settings.


 
 
F) Next we need to change the networks settings so that the unit can be used on your network. Select the Network Tab.


Image: Network_tab.jpg
 G) We need to change the following circled options so that the device can communicate on your network.
  • Network Mode: Set this to Bridge Mode
  • Bridge IP Address: Set this to DHCP
  • Auto Fallback IP: Leave this setting to default. If for some reason the unit does not get an IP address you will use this fallback IP to access the unit.
H) Once you have finished with the Network options, scroll to the bottom of the page and hit the Change button. Once these changes are committed, please hit the Apply button at the top of the page.
I) Now that the unit has rebooted, unplug the ethernet from your computer and plug the device into an open WAN port of your router, or directly into the computer you want to have access to the internet.
This completes the bridging setup of the UBNT device. If you cannot get it to work following the provided instuctions please visit:

http://forum.ubnt.com
-or-
Email support@ubnt.com






 



Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Computer Tricks and Tips