Difference between revisions of "Local wi-fi network"
Line 66: | Line 66: | ||
# Using a wi-fi enabled laptop, connect to the wf-fi network named <code>testwww</code> and use <code>WeBWorK2WeBWorK2</code> for the required security key |
# Using a wi-fi enabled laptop, connect to the wf-fi network named <code>testwww</code> and use <code>WeBWorK2WeBWorK2</code> for the required security key |
||
− | # Open a browser and connect to the URL: |
+ | # Open a browser and connect to the URL: http://192.168.1.100 |
+ | # You should see "IT Works!" |
||
+ | # To access WeBWorK, connect to the URL: http://192.168.1.100/webwork2 |
||
[[Category:WeBWorK Consultants]] |
[[Category:WeBWorK Consultants]] |
Revision as of 19:45, 7 July 2010
These instructions cover setting, configuring and connecting to a private local wi-fi network.
Contents
The router
These instructions are specifically for a Linksys WRT310N Wireless-N Gigabit Router. Setting up other Linksys wi-fi routers should be very similar. For other brands of routers, the set up should be similar.
198.168.1.1 is the default IP address used by Linksys routers. We will use 198.168.1.100 for the IP address of the WeBWorK laptop server (maybe running off a flash memory drive).
192.168.0.1 is the default IP address usually used by D-Link and Netgear brands and 192.168.2.1 is the default IP address for SMC and Belkin brands. These IP addresses can be changed but if you have a router with a default IP address different than 198.168.1.1, it is probably best to keep the default and to adjust the IP addresses in these instructions accordingly.
Configure the router
- You can configure the router from any computer. You do not need to install any software, e.g. you do not need to use the CD that comes with the router
- Connect the ethernet cable from your computer to port 1 on router (actually you can use any port) and power up the router
- Open a browser and connect to http://192.168.1.1
- You will be required to enter a User Name and Password. For the WRT310N and most Linksys routers the default User Name is empty (i.e. just leave the box empty) and the default Password is "admin". See e.g. http://compnetworking.about.com/od/routers/qt/linksys_passwds.htm which comes up when you google "default linksys username and password"
- Click on
Administration
in the upper row- Click on
Management
in the lower row. Then enter "WeBWorK3" for the Router Password - Click
Save Setting
. You will have to log in again with the new password
- Click on
- Click on
Wireless
in the upper row- Click on on
Basic Wireless Settings
in the lower row. For theConfiguration View
selectManual
and then enter "testwww" for the Network Name (SSID) - Click on on
Wireless Security
in the lower row. Enter "WeBWorK2WeBWorK2" for thePassphrase
- Click
Save Setting
- Click on on
- Click on
Applications & Gaming
in the upper row- Click on on
Single Port Forwarding
in the lower row. On the 6th row (the first non Application Name row), underExternal Port
enter 80, underInternal Port
enter 80, underProtocol
keep Both, underTo IP Address
enter 100 (so that the fullTo IP Address
is 192.168.1.100 ## ClickSave Setting
- Click on on
The WeBWorK Server
Your WeBWorK server will probably be a laptop and may be running off of a flash memory drive. Regardless, you have configure networking (if it hasn't been pre-configured) so that it communicates with the wi-fi router.
- Connect the ethernet cable from your laptop (or whatever you are using as your WeBWorK server) to port 1 on router (actually you can use any port)
- We will use a static IP address. In order to set a static IP address on your WeBWorK server, follow the directions Installing_from_WW2.4_Ubuntu10.04_64bit_Vanilla_LiveDVD#Setting_up_networking_using_a_static_IP_address
- You only have to do steps 1-6 in the first paragraph. Once you get to "Next enter the IP address(es) of your DNS server(s)separated by spaces. You need to enter at least one DNS server" stop reading and quit. We don't need name servers, host names, etc.
- Set the IP address to 192.168.1.100
- Set the Netmask to 255.255.255.0
- Set the Gateway to 192.168.1.1
Then
- Click
Apply
- Enter
<wwadmin password>
and clickAuthenticate
Pre-configured Loaner Wi-Fi Router
We have a Linksys WRT310N Wireless-N Gigabit Router available for loan (contact Arnie Pizer) which can be used when presenting a WeBWorK Demo Workshop. This router was set up following the above instructions. It has the following settings:
- To do administrative tasks, connect a computer to the router by ethernet, open a browser and connect to http://192.168.1.1
- User Name: is empty (i.e. just leave the box empty)
- Password: WeBWorK3
- Network Name (SSID): testwww
- Network security key: WeBWorK2WeBWorK2
- All wi-fi httpd requests will be forwarded to IP address 192.168.1.100
You should not have to change any settings on the router. If all else fails, reset the router to the factory setting and then reconfigure it following the above instructions. There are two ways to reset the Router’s factory defaults. Either press and hold the Reset Button for approximately five seconds, or restore the defaults from Administration > Factory Defaults in the Router’s web-based utility. Please do not do this unless absolutely necessary.
Pre-configured Live USB Flash Memory Drive Networking
The Pre-configured Live USB Flash Memory Drives (and the .iso file from which they were built) have networking configured following the above instructions. They have the following settings:
- IP address: 192.168.1.100
- Netmask: 255.255.255.0
- Gateway: 192.168.1.1
If there is any question, you can find out the ip address a Ubuntu system is using by running the command ifconfig
in a terminal window and then looking at the inet addr
setting for eth0.
Connecting to the Private Local Wi-Fi Network
- Using a wi-fi enabled laptop, connect to the wf-fi network named
testwww
and useWeBWorK2WeBWorK2
for the required security key - Open a browser and connect to the URL: http://192.168.1.100
- You should see "IT Works!"
- To access WeBWorK, connect to the URL: http://192.168.1.100/webwork2