Creating Prepaid Cards Externally, and Uploading them to SputnikNet
How to use external applications to create prepaid cards and upload them for use in SputnikNet.
Creating prepaid cards in a spreadsheet.
In SputnikNet, prepaid cards are not necessarily physical cards, but user accounts with the following information:
- User ID (or login ID)
- Password
- Type: either continuous or discontinuous (see below for explanation)
- Minutes: the amount of network access time allowed ("account time limit")
- Bandwidth (optional): amount of upload + download bandwidth allowed in megabytes (2^20 bytes or 1,048,576 bytes)
Note:
- "Continuous" starts the clock when the user first logs in; the clock keeps ticking continuously until the account time limit is used up regardless of whether the user is logged in or not
- "Discontinuous" starts the clock when the user first logs in; the clock ticks only when the user is logged in (has an active session); the account is valid until the account time limit is used up
- if you set both time and bandwidth limits, the account will expire when either the time or maximum bandwidth is used up, whichever comes first
- set the bandwidth limit as 0 if you want only time limits to apply
- maximum total bandwidth setting is approximately ten exabytes (ten trillion megabytes)
To generate prepaid cards for upload to SputnikNet, create a new spreadsheet. A single-batch prepaid card spreadsheet has four columns, or if applying bandwidth caps, five columns (shown):
- site code - use if you want to assign prepaid cards to a specific site
- login id - must be unique
- password - should be unique and random - here, left blank for now
- amount of time in minutes - here, 1440 translates to 1 day)
- total bandwidth in megabytes (optional)
Random passwords are difficult to generate in a spreadsheet. Fortunately there are many good online resources.
Generating random passwords for uploading to SputnikNet.
A good online resource for generating random codes is www.random.org. Click on "String Generator" to get started.
Using www.random.org to generate passwords.
Save the spreadsheet as CSV file.
Log into SputnikNet, then navigate to the prepaid authentication system overview.
Add a new prepaid authentication system or select an existing one.
Upload the CSV file to SputnikNet.
Click "Edit Settings" under the Authentication System menu. Scroll down, and under "Load Pre-Paid Card CSV File - single batch":
- Give your batch a unique name. This name will be displayed in the SputnikNet administrative interface, and can be used for searching, managing, and downloading codes.
- Choose the CSV file you created previously.
- Select whether the time should be continuous or discontinuous.
Review sample of uploaded data.
Review upload confirmation.
Uploading multiple batches at once.
You can upload multiple prepaid card batches at once. Create a spreadsheet with six columns, or if applying bandwidth caps, seven columns (shown):
- batch code
- site code
- unique code (login ID)
- password (paste random codes here)
- amount of time in minutes (these are 2 hour cards)
- whether the card should be continuous ("C") or discontinuous ("D")
- total bandwidth in megabytes (optional)
Save your spreadsheet as a CSV file. Important (for Macintosh users): be sure to select "Windows Comma Separated (.csv)" as both a carriage return and linefeed are required at the end of each row.