query($sql); $loc_db->next_record(); $node_name = $loc_db->f("name"); $node_lat = (double)$loc_db->f("latitude"); $node_long = (double)$loc_db->f("longitude"); $node_suburb = $loc_db->f("suburb"); $node_status = $loc_db->f("status"); $node_notify_nearby = $loc_db->f("notify_nearby"); $node_area = $loc_db->f("area"); $node_url = $loc_db->f("url"); if ($node_area == -1) { $node_ip_block = "You must be within a Melbourne Wireless Area to use our IP Space"; } else { $node_ip_block = get_ip_block($node_id) . "
request a block"; } // to make sure the status dropdown list is selected correctly if ($loc_db->f("status") == "operational") $status_operational = "selected"; if ($loc_db->f("status") == "testing") $status_testing = "selected"; if ($loc_db->f("status") == "building") $status_building = "selected"; if ($loc_db->f("status") == "gathering") $status_gathering = "selected"; if ($loc_db->f("status") == "interested") $status_interested = "selected"; // to make sure the notify dropdown list is selected correctly if ($node_notify_nearby == 1) { $notify_1 = "selected"; } elseif ($node_notify_nearby == 2) { $notify_2 = "selected"; } elseif ($node_notify_nearby == 5) { $notify_5 = "selected"; } elseif ($node_notify_nearby == 10) { $notify_10 = "selected"; } elseif ($node_notify_nearby == 20) { $notify_20 = "selected"; } else { $notify_none = "selected"; } ?>

Edit node :

Please fill in as much information as you can. Fields marked with a * must be filled in. Any other fields, you may leave blank if you wish; you can always update the entries at a later date.
Node information

A short, descriptive name for your node

Short node name:
 

Your contact Information and location...

Coordinates are in standard GPS format, and you can look them up automatically or manually

Suburb:
Suburb:
Latitude:*
Longitude:*
 
What status is your node at?

Please be aware that if you change your status to lower than testing, your interfaces, links, services and ip allocations will be removed.

Node status:*
 

Melbourne has been divided up into - initially - 11 geographical regions. Some areas are quite organised and hold thier own meetings and events, while others are little more than words on our website - the oppurtunity exists to build strong social, as well a network, links with these people in your area. By choosing your area of residence, it also allows us to assign you an ip that will be close to that of your neighbours.

It is important that you use the geographical boundaries only as a guide - for example, if you find yourself physically in one area, but with better LOS to a neighbouring area, select the neighbouring area as yours.

Area:
 

Every node within a Melbourne Wireless Area is entitled to one or more (if you can justify why) /28 ip block(s) - equal to the 16 addresses begining with the one shown.

IP Block:
 

Do you have an external webpage about your node?

External URL: http://
 

Optional Notifications
Nearby nodes - you may specify a radius around your node, and whenever a new node is registered within that range, you will be notified via email

Nearby nodes:

f("status") == "operational") || ($loc_db->f("status") == "testing")) { ?>

query($sql); // loop for each service while($loc_db->next_record()) { ?>
Services
Type IP Port Descripion
f("type") ?> f("ip") ?> f("port") ?> f("description") ?> ">delete

query($sql); // if there are interfaces for the node if ($loc_db->num_rows() != 0) { // counter to show the number of interfaces $counter = 1; // loop for each node in the db while($loc_db->next_record()) { // make sure the right dropdown is selected // for antenna type if ($loc_db->f("antenna_type") == "built in") { $antenna_builtin = "selected"; } else { $antenna_builtin = ""; } if ($loc_db->f("antenna_type") == "cantenna") { $antenna_cantenna = "selected"; } else { $antenna_cantenna = ""; } if ($loc_db->f("antenna_type") == "helical"){ $antenna_helical = "selected"; } else { $antenna_helical = ""; } if ($loc_db->f("antenna_type") == "omni") { $antenna_omni = "selected"; } else { $antenna_omni = ""; } if ($loc_db->f("antenna_type") == "panel") { $antenna_panel = "selected"; } else { $antenna_panel = ""; } if ($loc_db->f("antenna_type") == "parabolic") { $antenna_parabolic = "selected"; } else { $antenna_parabolic = ""; } if ($loc_db->f("antenna_type") == "waveguide") { $antenna_waveguide = "selected"; } else { $antenna_waveguide = ""; } if ($loc_db->f("antenna_type") == "yagi") { $antenna_yagi = "selected"; } else { $antenna_yagi = ""; } // make sure the right dropdown is selected // for mode if ($loc_db->f("mode") == "bss") { $mode_bss = "selected"; } else { $mode_bss = ""; } if ($loc_db->f("mode") == "ibss") { $mode_ibss = "selected"; } else { $mode_ibss = ""; } // make sure the right dropdown is selected // for modes of operation if ($loc_db->f("class") == "regular") { $class_regular = "selected"; } else { $class_regular = ""; } if ($loc_db->f("class") == "p2p") { $class_p2p = "selected"; } else { $class_p2p = ""; } if ($loc_db->f("class") == "p2mp") { $class_p2mp = "selected"; } else { $class_p2mp = ""; } if ($loc_db->f("class") == "client") { $class_client = "selected"; } else { $class_client = ""; } $int_id = $loc_db->f("id"); $card_manufacturer = $loc_db->f("card_manufacturer"); $card_power = $loc_db->f("card_power"); $card_receive = $loc_db->f("card_receive"); $mac = $loc_db->f("mac"); $channel = $loc_db->f("channel"); $antenna_dbi = $loc_db->f("antenna_dbi"); $cable_loss = $loc_db->f("cable_loss"); $class = $loc_db->f("class"); $router_ip = get_ip_router($int_id); if ($router_ip == "") { $router_ip = "Request one"; } if ($card_power == -1) $card_power = ""; if ($card_receive == -1) $card_receive = ""; if ($channel == -1) $channel = ""; if ($antenna_dbi == -1) $antenna_dbi = ""; if ($cable_loss == -1) $cable_loss = ""; ?>

query( $sql ); while ($loc_db_2->next_record()) { // which node is on the other end of the link? if ($int_id == $loc_db_2->f("interface_1")) { $link_int = $loc_db_2->f("interface_2"); } else { $link_int = $loc_db_2->f("interface_1"); } // assign the id for this link to a variable $link_id = $loc_db_2->f("id"); // select the interface info for the other // end of this link $sql = "SELECT * FROM interfaces WHERE id = " . $link_int . " ORDER BY class, node"; $loc_db_3->query( $sql ); while($loc_db_3->next_record()) { if ($loc_db_2->f("class") == "link") { $link_class = "linked"; } elseif ($loc_db_2->f("class") == "planned") { $link_class = "planned link"; } elseif ($loc_db_2->f("class") == "tunnel") { $link_class = "tunneled"; } ?> '" . $node_id . "' ORDER BY node, antenna_type"; $loc_db_2->query( $sql ); if (!$loc_db_2->num_rows() == 0) { ?>
Interface ( delete )
blank fields are valid if you're unsure of a value

Card/AP Specs
Manufacturer - Company that made your card/AP
Power - the power level of the signal your card/AP outputs.
Receive Sensitivty - The amount of signal your card needs to be recieving to work
MAC - the Media Access Control address for the card/AP
Channel - The 802.11b Channel this Interface is operating on
Mode - The 802.11b Mode the Interface is running
Class - Is the interface one end of a p2p link, offering signal in a wide arc to allow multiplple connections, or recieving its configuration automatically from another node (ie. DHCP)

Card/AP Manufacturer: (?)
Card/AP Power: (?) dBm
Card/AP Receive Sensitivty: (?) dBm @ 1Mbit/sec
MAC: (?)
Channel: (?)
Mode: (?)
Class: (?)
 

Antenna and Cable Specs
Antenna Type - Which of the various Antenna Types is yours?
Antenna Gain - What is the level of Gain on your Antenna
Cable Loss - how much signal is lost between your card and the antenna due to the cable?

Antenna Type: (?)
Antenna Gain: (?) dBi
Cable Loss: (?) dB
 

IP Address - p2p interfaces may request a unique IP address to seperate their internal network from their external links. If you dont need one, please don't request one

IP Address: (?)
      to ">f("node") ?> : (f("antenna_dbi") ?>dBi f("antenna_type") ?>) ">delete
   Create a new to  @ 


New Interface
blank fields are valid if you're unsure of a value

Card/AP Specs
Manufacturer - Company that made your card/AP
Power - the power level of the signal your card/AP outputs.
Receive Sensitivty - The amount of signal your card needs to be recieving to work
MAC - the Media Access Control address for the card/AP
Channel - The 802.11b Channel this Interface is operating on
Mode - The 802.11b Mode the Interface is running

Card/AP Manufacturer: (?)
Card/AP Power: (?) dBm
Card/AP Receive Sensitivity: (?) dBm @ 1Mbit/sec
MAC: (?)
Channel: (?)
Mode: (?)
Class: (?)
 

Antenna and Cable Specs
Antenna Type - Which of the various Antenna Types is yours?
Antenna Gain - What is the level of Gain on your Antenna
Cable Loss - how much signal is lost between your card and the antenna due to the cable?

Antenna Type: (?)
Antenna Gain: (?) dBi
Cable Loss: (?) dB