Knowledge Base - General

 

 

Scheduling the hours that Wi-Fi is available

It is possible to enable and disable the Wi-Fi interface on a schedule. This can be used for example to restrict employees from using the Wi-Fi to during the lunch-break. To enable Wi-Fi scheduling: 1. From the UseMyNet administration screen click on "Services > Scheduled Tasks" 2. Beneath the existing entries add the following 0 12 * * * /sbin/ifconfig wl0 up 0 14 * * * /sbin/ifconfig wl0 down The entries use standard "crontab" syntax (http://en.wikipedia.org/wiki/Crontab) The entry above will enable the Wi-Fi every day at 12pm and disable it at 2pm. 3. Click on Submit; reboot the router to pick-up the changes. The Site  uses cookies and tracking technology. Cookie and tracking technology are useful for gathering information such as browser type and operating system, tracking the number of visitors to the Site, and understanding how visitors use the Site. Cookies can also help customize the Site for visitors. Personal information cannot be collected via cookies and other tracking technology, however, if you previously provided personally identifiable information, cookies may be tied to such information. Aggregate cookie and tracking information may be shared with third parties.

 

What format does the code file use ?

Codes are stored on the UseMyNet unit in the file /etc/umn/codes.

A sample file would be:

*,VKUUXF,R
,SVCDJK,R
*,OFKLHD,B

The file is comma seperated. The first field is left blank for an unused code eg. SVCDJK or is marked with a asterisk by the system when the code is used. The second field contains the code. The final field contains R,G,B to reference Red, Green or Blue codes.

You can create this file yourself and upload it to the unit. We sell a simple spreadsheet that automates the process of generating the codes and it also formats the codes to print them onto A4 lables,

http://usemynet.biz/bulk-code-generator-new

 

How to change the default messages customers see

In UseMyNet v1.9 customers the default messages customers see are:

"Duration of Internet Access(Min) "
"Your session will start in 10 seconds please wait...."

"Your free access period has finished. Please use paid service or wait till unblock."

"Incorrect Code"
"Code already used"

If you wish to change these messages (or translate them into another language) then you can do so

by editing the files:

/www_1/cgi-bin/savedata.sh

and
/www_1/cgi-bin/selfgen.sh

and looking through them for the messages to change.

If you are confident using vi then the files can be edited by connecting to the unit with ssh.

Otherwise you can use winscp or similar to copy the files onto a PC and edit them there, then transfer them back.

Please note. You must enable ssh first by enabling the XWRT console in the UseMyNet settings and then going to http://10.0.0.1 and setting up a password.

 

Extending your UseMyNet Hotspot with WDS

Wireless Distribution System (WDS) allows you to extend the range of your hotspot by adding additional access points.

Both OpenWRT (on which UseMyNet is based) and DD-WRT support WDS.

In this document we are going to add a Buffalo WHR-HP-G54 router running DD-WRT as a WDS repeater to a UseMyNet unit (Linksys WRT54GL)

Please note:

  • Only devices running the same chipset will work together with WDS. In this case both the WHR-HP-G54 and WRT54GL use Broadcom chipsets.
  • The 2 devices must be on the same wireless channel
  • It's only necessary to have the UseMyNet software installed on 1 device (The one with the internet connection)

On the UseMyNet unit.

  1. Open the XWRT settings on http://10.0.0.1
  2. Click on Status > Interfaces
  3. Record the WLAN  "Access Point" (It's a MAC address)
  4. Click Network > Wireless
  5. Change the channel from Auto to a specific channel
  6. Click "Save Changes" then "Apply Changes"

On the Buffalo unit (Running DD-WRT)

  1. Open the DD-WRT control panel
  2. Click on "Wireless"
  3. Set the Wireless Channel to the same as the UseMyNet unit.
  4. Click on WDS (Under Wireless Settings)
  5. In the MAC table, changed one of the "Disabled" lines to "LAN"
  6. Enter the MAC address of the UseMyNet unit you recorded earlier.
  7. Record the wireless MAC of the Buffalo unit (Shown at the top of the table)
  8. Click Apply Settings

On the UseMyNet unit.

  1. Open the XWRT settings on http://10.0.0.1
  2. Click on "Network" > "Advanced Wireless"
  3. In "WDS Connections" enter the WiFi MAC address of the Buffalo unit and click add
  4. I had to do this a few times to get it to work, when correct it shows the MAC address
  5. Make sure "Lazy WDS" is disabled
  6. Click "Save Changes" then "Apply Changes"

On the Buffalo unit (Running DD-WRT)

  1. Open the DD-WRT control panel
  2. Click "Status" > "Wireless"
  3. At the bottom of the page you should have "WDS Nodes" listed
  4. Here you should have the MAC of the UseMyNet listed. If it's working the Signal Quality will be showing
  5. If it is not working check the Wifi channels are the same and the MAC addresses are correct.
  6. Once it's working click on "Setup" > "Basic Setup"
  7. Set the WAN Connection Type to Disabled (As we are not using it)
  8. Set the Local IP Address to 10.0.0.2 with subnet 255.255.255.0
  9. Set the DHCP type to "DHCP Forwarder"
  10. Set the DHCP server to 10.0.0.1

Now you can connect to the SSID of the Buffalo unit and your signal will be controlled by the UseMyNet unit.

If you wish you can set the SSID of the 2 routers to be the same, although it makes troubleshooting easier to leave them on different SSIDs.

The same method could be used to setup WDS with a UseMyNet unit and another WRT54GL running plain OpenWRT without UseMyNet software.

 

How to recover the system password

If for any reason you have fogotton or lost the UseMyNet administration console  or XWRT password then "Failsafe Mode" can be used to reset it.

Unplug the unit, plug it back in and repeatedly press the  "SecureEasySetup" button on the front of the unit. The power light will flash and the unit will have an IP address of 192.168.1.1

  1. Set your PC to a static IP address of 192.168.1.2
  2. TELNET to 192.168.1.1
  3. Run "mount_root"


To recover the  UseMyNet console password

  1. Run the command "cat /etc/lighttpd/lighttpd.user" this will display the current password.
To reset the root (XWRT) password
  1. Run the command "passwd" to set a root password.

Reboot the unit and it will revert to it's normal IP address of http://10.0.0.1

 

 

Install original Linksys firmware

To go back to the Linksys firmware it's necessary to use the "TFTP method"

Download the Linksys TFTP utility for Windows from:

http://www.dd-wrt.com/dd-wrtv2/downloads/others/tornado/Windows-TFTP/tftp.exe

also download the correct firmware file from the Linksys website.

Set your PC IP to 192.168.1.2

In the Linksys utility set the "server" to 192.168.1.1   (The router always uses this IP during boot)

Browse for the file to upload.

A few seconds after you turn on the router click "upgrade" you will need to try a few times to get the timing correct.

Once you get "Upgrade Sucessful" then wait for the power light to stop flashing, then reboot the router and you'll be good

Update: Check our you-tube channel for a detailed video method description.

 

 

 

 

Connect With Us

General comments about what we are up to are made through these channels.