❗️Toto je původní verze internetového fóra ISPforum.cz do února 2020 bez možnosti registrace nových uživatelů. Aktivní verzi fóra naleznete na adrese https://telekomunikace.cz

Ubiquiti 24 GHz

WIFI, LTE, dvoubodové spoje, antény atd. Vlákna zaměřené přímo na problematiku MikroTik/RouterBoard a Ubiquiti prosím směrujte do příslušného fóra, viz výše.
blax
Příspěvky: 395
Registrován: 16 years ago
antispam: Ano

Re: Ubiquiti 24 GHz

Příspěvekod blax » 12 years ago

0 x

blax
Příspěvky: 395
Registrován: 16 years ago
antispam: Ano

Příspěvekod blax » 12 years ago

Viktor Novotný píše:
Walkeer píše:Ja tam vidim FPGA. Uz jen podle latenci a propustnosti to nemuze byt wifina.


tak pokud mas fotky desky atd .. posli je .. vychazel jsem z info jake mam :) pokud je vse jinak, pak i muj nazor se zmeni :)

fotky desek, masek, atd .... zde:
http://www.ulozto.cz/xEAfLuz/airfibre-report-zip
0 x

Uživatelský avatar
Viktor Novotný
Moderátor
Příspěvky: 4611
Registrován: 20 years ago
antispam: Ano
Bydliště: Novy Jicin
Kontaktovat uživatele:

Příspěvekod Viktor Novotný » 12 years ago

hm zajimave, meril to uz tady nekdo z Vas ? jde me o tu chybovost na eth .... diky
0 x
..:: Nas-Net.org ::..
- programming
- build-up and management networks
- development
- education

Uživatelský avatar
hapi
Příspěvky: 12989
Registrován: 18 years ago

Příspěvekod hapi » 12 years ago

ludvik píše:Spíš by vás mohla všechny zajímat tato informace: The airFiber Configuration Interface will verify whether a product is genuine or counterfeit.
Takže tohle zařízení "volá domů". Což ve světle známých informací (umí IP, má GPS) a ve světle informací z druhé ruky vypadá trochu (diplomaticky řečeno) podivně.

aircloud - jednotka bude mít specifický kód, který bude možné zkopírovat z toho rozhraní a jednotka bude potřebovat aktivaci (občas se dostat k internetu) - pokud nebude provedeno tak se jednotka po čase sama zavře.
- distributor bude mít právo hlásit ukradená zařízení - po instalaci se lokne. Ubnt ví, kde to zařízení je a ubnt bude vědět kdy naposled bylo.


Tolik asi k tomu, jak překročit povolený vysílací výkon :-)


doufám že se takhle kravina dá vypnout. Nebudu nahazovat zase nějaký pravidla pro komunikaci páteřních pojítek do netu.
0 x
Supermicro + Mikrotik = SuperTik
high speed routery podle požadavků

Jap
Příspěvky: 186
Registrován: 15 years ago
antispam: Ano

Příspěvekod Jap » 12 years ago

Tomáš Břinčil píše:
umí jednotka mca-status? To se parsuje imho lépe.

umi, jsou tam jine hodnoty, nez v normalnim statusu. ted nestiham, ale odpoledne dodelam podbny script i na mca-status.

Pošli mi jen výstup. Jestli je struktura podobná NB M5, tak zkusim na to najít parser, někde jsem to psal.


Kód: Vybrat vše

    status.host.uptime => 24879
    status.host.time => 2012-09-05 00:20:27
    status.host.utime => 1346804427
    status.host.hostname => UBNT
    status.host.fwversion => AF.am1808.v1.0.14141.120904.1726
    status.host.role => unknown
    status.host.loadavg.0 => 0
    status.host.loadavg.1 => 0
    status.host.loadavg.2 => 0
    status.host.meminfo.total => 62064
    status.host.meminfo.free => 45892
    status.host.meminfo.buffers => 2808
    status.interfaces.0.ifname => air0
    status.interfaces.0.ifindex => 4
    status.interfaces.0.flags => 4419
    status.interfaces.0.hwaddr => 02:27:22:DA:18:62
    status.interfaces.0.hwtype => 1
    status.interfaces.0.mtu => 1500
    status.interfaces.0.status.0.plugged => 1
    status.interfaces.0.status.0.speed => 0
    status.interfaces.0.status.0.duplex => 255
    status.interfaces.0.stats.rx_packets => 24263
    status.interfaces.0.stats.rx_bytes => 2300073
    status.interfaces.0.stats.rx_errors => 0
    status.interfaces.0.stats.rx_dropped => 0
    status.interfaces.0.stats.rx_overruns => 0
    status.interfaces.0.stats.rx_frame => 0
    status.interfaces.0.stats.rx_compressed => 0
    status.interfaces.0.stats.rx_multicast => 0
    status.interfaces.0.stats.tx_packets => 224
    status.interfaces.0.stats.tx_bytes => 19944
    status.interfaces.0.stats.tx_errors => 0
    status.interfaces.0.stats.tx_dropped => 0
    status.interfaces.0.stats.tx_overruns => 0
    status.interfaces.0.stats.tx_carrier => 0
    status.interfaces.0.stats.tx_compressed => 0
    status.interfaces.0.stats.collisions => 0
    status.interfaces.1.ifname => br0
    status.interfaces.1.ifindex => 7
    status.interfaces.1.flags => 4163
    status.interfaces.1.hwaddr => 02:27:22:DA:18:62
    status.interfaces.1.hwtype => 1
    status.interfaces.1.mtu => 1500
    status.interfaces.1.status.0.plugged => 1
    status.interfaces.1.status.0.speed => 0
    status.interfaces.1.status.0.duplex => 255
    status.interfaces.1.ipv4.addr => 192.168.1.20
    status.interfaces.1.ipv4.netmask => 255.255.255.0
    status.interfaces.1.ipv4.broadcast => 192.168.1.255
    status.interfaces.1.stats.rx_packets => 22653
    status.interfaces.1.stats.rx_bytes => 2281493
    status.interfaces.1.stats.rx_errors => 0
    status.interfaces.1.stats.rx_dropped => 0
    status.interfaces.1.stats.rx_overruns => 0
    status.interfaces.1.stats.rx_frame => 0
    status.interfaces.1.stats.rx_compressed => 0
    status.interfaces.1.stats.rx_multicast => 17248
    status.interfaces.1.stats.tx_packets => 5368
    status.interfaces.1.stats.tx_bytes => 2250883
    status.interfaces.1.stats.tx_errors => 0
    status.interfaces.1.stats.tx_dropped => 0
    status.interfaces.1.stats.tx_overruns => 0
    status.interfaces.1.stats.tx_carrier => 0
    status.interfaces.1.stats.tx_compressed => 0
    status.interfaces.1.stats.collisions => 0
    status.interfaces.2.ifname => eth0
    status.interfaces.2.ifindex => 3
    status.interfaces.2.flags => 4419
    status.interfaces.2.hwaddr => 00:27:22:DA:18:62
    status.interfaces.2.hwtype => 1
    status.interfaces.2.mtu => 1500
    status.interfaces.2.status.0.plugged => 1
    status.interfaces.2.status.0.speed => 100
    status.interfaces.2.status.0.duplex => 1
    status.interfaces.2.stats.rx_packets => 41529
    status.interfaces.2.stats.rx_bytes => 8428082
    status.interfaces.2.stats.rx_errors => 0
    status.interfaces.2.stats.rx_dropped => 0
    status.interfaces.2.stats.rx_overruns => 0
    status.interfaces.2.stats.rx_frame => 0
    status.interfaces.2.stats.rx_compressed => 0
    status.interfaces.2.stats.rx_multicast => 0
    status.interfaces.2.stats.tx_packets => 41542
    status.interfaces.2.stats.tx_bytes => 15977699
    status.interfaces.2.stats.tx_errors => 0
    status.interfaces.2.stats.tx_dropped => 0
    status.interfaces.2.stats.tx_overruns => 0
    status.interfaces.2.stats.tx_carrier => 0
    status.interfaces.2.stats.tx_compressed => 0
    status.interfaces.2.stats.collisions => 0
    status.interfaces.3.ifname => sit0
    status.interfaces.3.ifindex => 2
    status.interfaces.3.flags => 128
    status.interfaces.3.hwaddr => 00:00:00:00:00:00
    status.interfaces.3.hwtype => 776
    status.interfaces.3.mtu => 1480
    status.interfaces.3.status.0.plugged => 0
    status.interfaces.3.status.0.speed => 0
    status.interfaces.3.status.0.duplex => 255
    status.interfaces.3.stats.rx_packets => 0
    status.interfaces.3.stats.rx_bytes => 0
    status.interfaces.3.stats.rx_errors => 0
    status.interfaces.3.stats.rx_dropped => 0
    status.interfaces.3.stats.rx_overruns => 0
    status.interfaces.3.stats.rx_frame => 0
    status.interfaces.3.stats.rx_compressed => 0
    status.interfaces.3.stats.rx_multicast => 0
    status.interfaces.3.stats.tx_packets => 0
    status.interfaces.3.stats.tx_bytes => 0
    status.interfaces.3.stats.tx_errors => 0
    status.interfaces.3.stats.tx_dropped => 0
    status.interfaces.3.stats.tx_overruns => 0
    status.interfaces.3.stats.tx_carrier => 0
    status.interfaces.3.stats.tx_compressed => 0
    status.interfaces.3.stats.collisions => 0
    status.interfaces.4.ifname => af0
    status.interfaces.4.ifindex => 42
    status.interfaces.4.flags => 4931
    status.interfaces.4.hwaddr => 00:27:22:DA:18:62
    status.interfaces.4.hwtype => 1
    status.interfaces.4.mtu => 1500
    status.interfaces.4.status.0.plugged => 1
    status.interfaces.4.status.0.speed => 1000
    status.interfaces.4.status.0.duplex => 1
    status.interfaces.4.stats.rx_packets => 24319
    status.interfaces.4.stats.rx_bytes => 1963899
    status.interfaces.4.stats.rx_errors => 0
    status.interfaces.4.stats.rx_dropped => 0
    status.interfaces.4.stats.rx_overruns => 0
    status.interfaces.4.stats.rx_frame => 0
    status.interfaces.4.stats.rx_compressed => 0
    status.interfaces.4.stats.rx_multicast => 18531
    status.interfaces.4.stats.tx_packets => 112
    status.interfaces.4.stats.tx_bytes => 9034
    status.interfaces.4.stats.tx_errors => 0
    status.interfaces.4.stats.tx_dropped => 0
    status.interfaces.4.stats.tx_overruns => 0
    status.interfaces.4.stats.tx_carrier => 0
    status.interfaces.4.stats.tx_compressed => 0
    status.interfaces.4.stats.collisions => 0


jinak jednotka to vraci cele v JSON strukture, muj script z toho vyrabi tu teckovou notaci (napr. status.host.loadavg.1), aby se s tim mne lepe pracovalo..
0 x

Jap
Příspěvky: 186
Registrován: 15 years ago
antispam: Ano

Příspěvekod Jap » 12 years ago

tak jeste mca status..

af24mcastat.php

Kód: Vybrat vše

#!/etc/alternatives/php -q
<?php

#
# jan@panoch.net 20121019
#

#####################################################
# functions
#####################################################

#
# get status variables from AirFiber unit
#
function get_ubnt_stats($ip,$user,$pass) {
  $cookie_file = tempnam('/tmp', 'status-cookie');
  $ch = curl_init();
  curl_setopt($ch, CURLOPT_URL, 'http://' . $ip);
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
  curl_setopt($ch, CURLOPT_HEADER, 1);
  curl_setopt($ch, CURLOPT_TIMEOUT, 2);
  curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie_file);
  $result = curl_exec($ch);
  if (!strstr($result, 'AIROS_SESSIONID')) {
    unlink($cookie_file);
    return false;
  }
                               
  $radio_data = 0;
  $login_post_data = array (
    'uri' => '/status-new.cgi',
    'username' => $user,
    'password' => $pass,
    'Submit' => 'Login'
  );
  curl_setopt($ch, CURLOPT_HTTPHEADER, Array('Expect: '));
  curl_setopt($ch, CURLOPT_HEADER, 0);
  curl_setopt($ch, CURLOPT_URL, 'http://' . $ip . '/login.cgi');
  curl_setopt($ch, CURLOPT_POST, 1);
  curl_setopt($ch, CURLOPT_POSTFIELDS, $login_post_data);
  curl_setopt($ch, CURLOPT_COOKIEFILE, $cookie_file);
  $result = curl_exec($ch);
  unlink($cookie_file);
  if ($result) {
    $data = json_decode($result);
    return $data;
  }
}

#
# walk through data structure
#
function walk_data (&$vars,$id,$data) {
  if (is_object($data) || is_array($data)) {
    # recurse into data
    foreach ($data as $key => $val) {
      $vid = $id ? "$id.$key" : $key;
      walk_data($vars,$vid,$val);
    }
  } else {
    # we are at the end of recursion
    $vars[$id] = $data;
  }
}

#####################################################
# main
#####################################################

#
# set time limit
#
set_time_limit(0);

#
# get vars from command line
#
if ($argc<5) {
  print "usage: af24mcastat.php <host> <user> <pass> <var1> [<var2>]\n";
  exit;
}
$host = $argv[1];
$user = $argv[2];
$pass = $argv[3];
$var1 = $argv[4];
if ($argc>5) {
  $var2 = $argv[5];
} else {
  $var2 = "";
}

#
# get data from airfiber unit
#
$data = get_ubnt_stats($host,$user,$pass);
if (!$data) {
  exit;
}

#
# create vars array
#
$vars = array();
walk_data($vars,"",$data);

#
# output variables
#
print $vars[$var1]."\n";
if ($var2) {
  if (array_key_exists($var2,$vars)) {
    print $vars[$var2]."\n";
  } else {
    print "$var2\n";
  }
} else {
  print "0\n";
}

?>


seznam promennych, ktere v mca-statusu dodava airfiber.

Kód: Vybrat vše

    status.host.uptime => 24879
    status.host.time => 2012-09-05 00:20:27
    status.host.utime => 1346804427
    status.host.hostname => UBNT
    status.host.fwversion => AF.am1808.v1.0.14141.120904.1726
    status.host.role => unknown
    status.host.loadavg.0 => 0
    status.host.loadavg.1 => 0
    status.host.loadavg.2 => 0
    status.host.meminfo.total => 62064
    status.host.meminfo.free => 45892
    status.host.meminfo.buffers => 2808
    status.interfaces.0.ifname => air0
    status.interfaces.0.ifindex => 4
    status.interfaces.0.flags => 4419
    status.interfaces.0.hwaddr => 02:27:22:DA:18:62
    status.interfaces.0.hwtype => 1
    status.interfaces.0.mtu => 1500
    status.interfaces.0.status.0.plugged => 1
    status.interfaces.0.status.0.speed => 0
    status.interfaces.0.status.0.duplex => 255
    status.interfaces.0.stats.rx_packets => 24263
    status.interfaces.0.stats.rx_bytes => 2300073
    status.interfaces.0.stats.rx_errors => 0
    status.interfaces.0.stats.rx_dropped => 0
    status.interfaces.0.stats.rx_overruns => 0
    status.interfaces.0.stats.rx_frame => 0
    status.interfaces.0.stats.rx_compressed => 0
    status.interfaces.0.stats.rx_multicast => 0
    status.interfaces.0.stats.tx_packets => 224
    status.interfaces.0.stats.tx_bytes => 19944
    status.interfaces.0.stats.tx_errors => 0
    status.interfaces.0.stats.tx_dropped => 0
    status.interfaces.0.stats.tx_overruns => 0
    status.interfaces.0.stats.tx_carrier => 0
    status.interfaces.0.stats.tx_compressed => 0
    status.interfaces.0.stats.collisions => 0
    status.interfaces.1.ifname => br0
    status.interfaces.1.ifindex => 7
    status.interfaces.1.flags => 4163
    status.interfaces.1.hwaddr => 02:27:22:DA:18:62
    status.interfaces.1.hwtype => 1
    status.interfaces.1.mtu => 1500
    status.interfaces.1.status.0.plugged => 1
    status.interfaces.1.status.0.speed => 0
    status.interfaces.1.status.0.duplex => 255
    status.interfaces.1.ipv4.addr => 192.168.1.20
    status.interfaces.1.ipv4.netmask => 255.255.255.0
    status.interfaces.1.ipv4.broadcast => 192.168.1.255
    status.interfaces.1.stats.rx_packets => 22653
    status.interfaces.1.stats.rx_bytes => 2281493
    status.interfaces.1.stats.rx_errors => 0
    status.interfaces.1.stats.rx_dropped => 0
    status.interfaces.1.stats.rx_overruns => 0
    status.interfaces.1.stats.rx_frame => 0
    status.interfaces.1.stats.rx_compressed => 0
    status.interfaces.1.stats.rx_multicast => 17248
    status.interfaces.1.stats.tx_packets => 5368
    status.interfaces.1.stats.tx_bytes => 2250883
    status.interfaces.1.stats.tx_errors => 0
    status.interfaces.1.stats.tx_dropped => 0
    status.interfaces.1.stats.tx_overruns => 0
    status.interfaces.1.stats.tx_carrier => 0
    status.interfaces.1.stats.tx_compressed => 0
    status.interfaces.1.stats.collisions => 0
    status.interfaces.2.ifname => eth0
    status.interfaces.2.ifindex => 3
    status.interfaces.2.flags => 4419
    status.interfaces.2.hwaddr => 00:27:22:DA:18:62
    status.interfaces.2.hwtype => 1
    status.interfaces.2.mtu => 1500
    status.interfaces.2.status.0.plugged => 1
    status.interfaces.2.status.0.speed => 100
    status.interfaces.2.status.0.duplex => 1
    status.interfaces.2.stats.rx_packets => 41529
    status.interfaces.2.stats.rx_bytes => 8428082
    status.interfaces.2.stats.rx_errors => 0
    status.interfaces.2.stats.rx_dropped => 0
    status.interfaces.2.stats.rx_overruns => 0
    status.interfaces.2.stats.rx_frame => 0
    status.interfaces.2.stats.rx_compressed => 0
    status.interfaces.2.stats.rx_multicast => 0
    status.interfaces.2.stats.tx_packets => 41542
    status.interfaces.2.stats.tx_bytes => 15977699
    status.interfaces.2.stats.tx_errors => 0
    status.interfaces.2.stats.tx_dropped => 0
    status.interfaces.2.stats.tx_overruns => 0
    status.interfaces.2.stats.tx_carrier => 0
    status.interfaces.2.stats.tx_compressed => 0
    status.interfaces.2.stats.collisions => 0
    status.interfaces.3.ifname => sit0
    status.interfaces.3.ifindex => 2
    status.interfaces.3.flags => 128
    status.interfaces.3.hwaddr => 00:00:00:00:00:00
    status.interfaces.3.hwtype => 776
    status.interfaces.3.mtu => 1480
    status.interfaces.3.status.0.plugged => 0
    status.interfaces.3.status.0.speed => 0
    status.interfaces.3.status.0.duplex => 255
    status.interfaces.3.stats.rx_packets => 0
    status.interfaces.3.stats.rx_bytes => 0
    status.interfaces.3.stats.rx_errors => 0
    status.interfaces.3.stats.rx_dropped => 0
    status.interfaces.3.stats.rx_overruns => 0
    status.interfaces.3.stats.rx_frame => 0
    status.interfaces.3.stats.rx_compressed => 0
    status.interfaces.3.stats.rx_multicast => 0
    status.interfaces.3.stats.tx_packets => 0
    status.interfaces.3.stats.tx_bytes => 0
    status.interfaces.3.stats.tx_errors => 0
    status.interfaces.3.stats.tx_dropped => 0
    status.interfaces.3.stats.tx_overruns => 0
    status.interfaces.3.stats.tx_carrier => 0
    status.interfaces.3.stats.tx_compressed => 0
    status.interfaces.3.stats.collisions => 0
    status.interfaces.4.ifname => af0
    status.interfaces.4.ifindex => 42
    status.interfaces.4.flags => 4931
    status.interfaces.4.hwaddr => 00:27:22:DA:18:62
    status.interfaces.4.hwtype => 1
    status.interfaces.4.mtu => 1500
    status.interfaces.4.status.0.plugged => 1
    status.interfaces.4.status.0.speed => 1000
    status.interfaces.4.status.0.duplex => 1
    status.interfaces.4.stats.rx_packets => 24319
    status.interfaces.4.stats.rx_bytes => 1963899
    status.interfaces.4.stats.rx_errors => 0
    status.interfaces.4.stats.rx_dropped => 0
    status.interfaces.4.stats.rx_overruns => 0
    status.interfaces.4.stats.rx_frame => 0
    status.interfaces.4.stats.rx_compressed => 0
    status.interfaces.4.stats.rx_multicast => 18531
    status.interfaces.4.stats.tx_packets => 112
    status.interfaces.4.stats.tx_bytes => 9034
    status.interfaces.4.stats.tx_errors => 0
    status.interfaces.4.stats.tx_dropped => 0
    status.interfaces.4.stats.tx_overruns => 0
    status.interfaces.4.stats.tx_carrier => 0
    status.interfaces.4.stats.tx_compressed => 0
    status.interfaces.4.stats.collisions => 0


Jap
0 x

Uživatelský avatar
Tomáš Břinčil
Moderátor
Příspěvky: 648
Registrován: 13 years ago
antispam: Ano
Bydliště: /dev/null
Kontaktovat uživatele:

Příspěvekod Tomáš Břinčil » 12 years ago

Jap píše:jinak jednotka to vraci cele v JSON strukture

Super, s tím se dá pěkně pracovat.
0 x
Windows what? Linux instead...
Real programmers don't need notice all their known languages.

https://www.facebook.com/conexainternet

Jap
Příspěvky: 186
Registrován: 15 years ago
antispam: Ano

Příspěvekod Jap » 12 years ago

Tomáš Břinčil píše:
Jap píše:jinak jednotka to vraci cele v JSON strukture

Super, s tím se dá pěkně pracovat.


pro mca-status ten JSON vypada takhle:

Kód: Vybrat vše

{ "status" : {
"host" : {
   "uptime" : "11564",
   "time" : "2012-09-04 20:38:32",
   "utime" : "1346791112",
   "hostname" : "UBNT",
   "fwversion" : "AF.am1808.v1.0.14141.120904.1726",
   "role" : "unknown",
   "loadavg" : [ 0.06, 0.01, 0.00 ],
   "meminfo" : {
      "total" : 62064,
      "free" : 45904,
      "buffers" : 2808
   }
},
"interfaces" : [
   {
      "ifname" : "air0",
      "ifindex" : "4",
      "flags" : "4419",
      "hwaddr" : "02:27:22:DA:18:62",
      "hwtype" : "1",
      "mtu" : "1500",
      "status": [{ "plugged": 1, "speed": 0, "duplex": 255 }],
      "stats" : {
         "rx_packets" : "12421",
         "rx_bytes" : "1101460",
         "rx_errors" : "0",
         "rx_dropped" : "0",
         "rx_overruns" : "0",
         "rx_frame" : "0",
         "rx_compressed" : "0",
         "rx_multicast" : "0",
         "tx_packets" : "224",
         "tx_bytes" : "19944",
         "tx_errors" : "0",
         "tx_dropped" : "0",
         "tx_overruns" : "0",
         "tx_carrier" : "0",
         "tx_compressed" : "0",
         "collisions" : "0"
      }
   },
   {
      "ifname" : "br0",
      "ifindex" : "7",
      "flags" : "4163",
      "hwaddr" : "02:27:22:DA:18:62",
      "hwtype" : "1",
      "mtu" : "1500",
      "status": [{ "plugged": 1, "speed": 0, "duplex": 255 }],
      "ipv4" : {
         "addr" : "192.168.1.20",
         "netmask" : "255.255.255.0",
         "broadcast" : "192.168.1.255"
      },
      "stats" : {
         "rx_packets" : "9074",
         "rx_bytes" : "1035246",
         "rx_errors" : "0",
         "rx_dropped" : "0",
         "rx_overruns" : "0",
         "rx_frame" : "0",
         "rx_compressed" : "0",
         "rx_multicast" : "5406",
         "tx_packets" : "3517",
         "tx_bytes" : "1438281",
         "tx_errors" : "0",
         "tx_dropped" : "0",
         "tx_overruns" : "0",
         "tx_carrier" : "0",
         "tx_compressed" : "0",
         "collisions" : "0"
      }
   },
   {
      "ifname" : "eth0",
      "ifindex" : "3",
      "flags" : "4419",
      "hwaddr" : "00:27:22:DA:18:62",
      "hwtype" : "1",
      "mtu" : "1500",
      "status": [{ "plugged": 1, "speed": 100, "duplex": 1 }],
      "stats" : {
         "rx_packets" : "39792",
         "rx_bytes" : "8190342",
         "rx_errors" : "0",
         "rx_dropped" : "0",
         "rx_overruns" : "0",
         "rx_frame" : "0",
         "rx_compressed" : "0",
         "rx_multicast" : "0",
         "tx_packets" : "39691",
         "tx_bytes" : "15165097",
         "tx_errors" : "0",
         "tx_dropped" : "0",
         "tx_overruns" : "0",
         "tx_carrier" : "0",
         "tx_compressed" : "0",
         "collisions" : "0"
      }
   },
   {
      "ifname" : "sit0",
      "ifindex" : "2",
      "flags" : "128",
      "hwaddr" : "00:00:00:00:00:00",
      "hwtype" : "776",
      "mtu" : "1480",
      "status": [{ "plugged": 0, "speed": 0, "duplex": 255 }],
      "stats" : {
         "rx_packets" : "0",
         "rx_bytes" : "0",
         "rx_errors" : "0",
         "rx_dropped" : "0",
         "rx_overruns" : "0",
         "rx_frame" : "0",
         "rx_compressed" : "0",
         "rx_multicast" : "0",
         "tx_packets" : "0",
         "tx_bytes" : "0",
         "tx_errors" : "0",
         "tx_dropped" : "0",
         "tx_overruns" : "0",
         "tx_carrier" : "0",
         "tx_compressed" : "0",
         "collisions" : "0"
      }
   },
   {
      "ifname" : "af0",
      "ifindex" : "42",
      "flags" : "4931",
      "hwaddr" : "00:27:22:DA:18:62",
      "hwtype" : "1",
      "mtu" : "1500",
      "status": [{ "plugged": 1, "speed": 1000, "duplex": 1 }],
      "stats" : {
         "rx_packets" : "12477",
         "rx_bytes" : "931074",
         "rx_errors" : "0",
         "rx_dropped" : "0",
         "rx_overruns" : "0",
         "rx_frame" : "0",
         "rx_compressed" : "0",
         "rx_multicast" : "8791",
         "tx_packets" : "112",
         "tx_bytes" : "9034",
         "tx_errors" : "0",
         "tx_dropped" : "0",
         "tx_overruns" : "0",
         "tx_carrier" : "0",
         "tx_compressed" : "0",
         "collisions" : "0"
      }
   }
]
}}
0 x

Jap
Příspěvky: 186
Registrován: 15 years ago
antispam: Ano

Příspěvekod Jap » 12 years ago

Kód: Vybrat vše

strings afrd | grep GHz
23.1GHz
23.2GHz
23.3GHz
23.4GHz
23.5GHz
23.6GHz
23.7GHz
23.8GHz
23.9GHz
24.0GHz
24.1GHz
24.2GHz
24.3GHz
24.4GHz
24.5GHz
24.6GHz
24.7GHz
24.8GHz
24.9GHz
25.0GHz
25.1GHz
25.2GHz


a dal

Kód: Vybrat vše

AF.v1.0# /bin/radio -h

radio [master|slave|analyze|reset] [status] [config] [frame] [kill] [options]
      -h --help
      -v --version
      -f --frequency <24.1GHz> | .1 | 24.2GHz | .2
      -s --speed <1x> | 2x | 4x | 6x | 8x
      -m --modcontrol automatic|<manual>
      -c --cp <256> | 68
      -g --gps <off>|on
      -l --linkname <Link One>
      -k --key <0000:0000:0000:0000:0000:0000:0000:0000>
      -p --powerout <0x1c>  {will be number in range of 0 to +33dBm}
      -r --rxpad <off> | on
      -d --dynamicpower <off> | on
      -e --errorcorrection <high> | low
      -a --analyzerange <24000000:24300000> {FREQLOW:FREQHIGH}

      Notes: powerout will be in dBm EIRP - currently raw FPGA control <0x1c>
             analyze on the command line will start an analysis non-functional
             analyzerange non-functional
             errorcorrection selection non-functional
             rxpad selection non-functional
             autopower selection non-functional
             Final product may be locked to cp 68



ale dynamicpower bude asi vazne az v dalsi verzi firmware..

Kód: Vybrat vše

AF.v1.0# /bin/radio -d on     
Not Implemented: -dynamicpower on


:-)
0 x

ppp76
Příspěvky: 3017
Registrován: 19 years ago
Kontaktovat uživatele:

Příspěvekod ppp76 » 12 years ago

Mate nekdo 24Ghz alcomu? chtel bych porovnat spotreby
0 x

Uživatelský avatar
Viktor Novotný
Moderátor
Příspěvky: 4611
Registrován: 20 years ago
antispam: Ano
Bydliště: Novy Jicin
Kontaktovat uživatele:

Příspěvekod Viktor Novotný » 12 years ago

mam, ale idu+odu ... v case nakupu nebylo FOD
0 x
..:: Nas-Net.org ::..
- programming
- build-up and management networks
- development
- education

ppp76
Příspěvky: 3017
Registrován: 19 years ago
Kontaktovat uživatele:

Příspěvekod ppp76 » 12 years ago

Jen me zajima jaka je priblizna spotreba toho spoje pripadne jedne strany
0 x

Leeonek
Příspěvky: 3485
Registrován: 19 years ago

Příspěvekod Leeonek » 12 years ago

Pro srovnání 24Ghz saf 360Mbit si hltne 20-23W, spoj na 600m, nevšiml jsem si závislosti na výkonu, a pokud jo, je to rozdíl tak max 1W
0 x

ppp76
Příspěvky: 3017
Registrován: 19 years ago
Kontaktovat uživatele:

Příspěvekod ppp76 » 12 years ago

Delam si propocet z dlouhodobeho hlediska protoze tech 50w je uz slusna spotreba a davam si dohromady vselijake scenare kde zapocitavam i spotrebu a pocitam ze s nasazenim cca 10 let coz u tohodle typu spoje nenai zadna silena doba kdyz vezmu jak dlouho frcej ruzne alcomy a pod , beru v potaz i pripadne opravy . Snazim se zjistit zdali-li je i pres nizsi nakupni cenu z dlouhodobe hlediska opravdu vyhodnejsi tento spoj ci nikoliv . Na alcomy servis zajisten na ubnt zatim o nicem nevim , podle fotek desky je tam jakakoliv zavada spis na vyemnu desky pokdu by to delal nejakej autorizovanej ubnt servis, pripadne by se kupovala cela nova deska , nema nekdo info za kolik by byli schopni ji distributori dodat? Ptal se nekdo u dodavatelu na tuhel variantu v pripade pozarucni zavady? Na v soucasne dobe dodavana spoje mi vetsinou distributoru ci vyrobci jsou schopni odpovedet u ubnt zatim 00prd :(. Pocital jste uz taky nekdo z dlouhodobeho hlediska ekonomickou stranku veci?
0 x

David2006
Příspěvky: 3243
Registrován: 19 years ago

Příspěvekod David2006 » 12 years ago

ppp76 píše:Delam si propocet z dlouhodobeho hlediska protoze tech 50w je uz slusna spotreba a davam si dohromady vselijake scenare kde zapocitavam i spotrebu a pocitam ze s nasazenim cca 10 let coz u tohodle typu spoje nenai zadna silena doba kdyz vezmu jak dlouho frcej ruzne alcomy a pod , beru v potaz i pripadne opravy . Snazim se zjistit zdali-li je i pres nizsi nakupni cenu z dlouhodobe hlediska opravdu vyhodnejsi tento spoj ci nikoliv . Na alcomy servis zajisten na ubnt zatim o nicem nevim , podle fotek desky je tam jakakoliv zavada spis na vyemnu desky pokdu by to delal nejakej autorizovanej ubnt servis, pripadne by se kupovala cela nova deska , nema nekdo info za kolik by byli schopni ji distributori dodat? Ptal se nekdo u dodavatelu na tuhel variantu v pripade pozarucni zavady? Na v soucasne dobe dodavana spoje mi vetsinou distributoru ci vyrobci jsou schopni odpovedet u ubnt zatim 00prd :(. Pocital jste uz taky nekdo z dlouhodobeho hlediska ekonomickou stranku veci?


Z tohoto pohledu není nad čím dumat - spotřeba nad Alcomou v součtu za obě strany bude ročně cca 500kW. Na 10let je to dost scestné i pro obchoďáka z Alcomy pro vlastní argumentaci, ale budiž - pokud by mi to někdo řekl fucknul bych ho že AFko má skoro dvojnásobnou propustnost (tedy i morální životnost:) ) a ty love při nákupu Alcomy z toho nevyvařím ani kdybych se pos... . Spíš bych si spočítal kolik bych dostal za 10let když těch cca 80-100tisíc co by mě Alča stála navíc dal do banky - kolik bych vydělal za deset let (pokud banka nekrachne:)) ). No a jinak si myslím že český človíček je tvořivý a rád si hraje s odpálenými věcmi jako ethernetové porty případně je tu klasické RMAčko do států či hození do koše či připojištění. Hold už to není věc za 100-180tis ale za skoro polovic.
0 x