{"id":5223,"date":"2015-02-20T02:42:17","date_gmt":"2015-02-20T01:42:17","guid":{"rendered":"http:\/\/blog.wenzlaff.de\/?p=5223"},"modified":"2021-11-22T17:15:03","modified_gmt":"2021-11-22T16:15:03","slug":"wie-kann-auf-einem-raspberry-pi-unter-kali-linux-ethersex-fuer-den-avr-net-io-compiliert-werden","status":"publish","type":"post","link":"http:\/\/blog.wenzlaff.de\/?p=5223","title":{"rendered":"Wie kann auf einem Raspberry Pi unter Kali Linux Ethersex f\u00fcr den AVR-NET-IO compiliert werden?"},"content":{"rendered":"<p>Wie kann auf einem Raspberry Pi unter Kali Linux (Debian m\u00fcsste genauso laufen) <a href=\"https:\/\/github.com\/ethersex\/ethersex\" title=\"ethersex-home\" target=\"_blank\" rel=\"noopener noreferrer\">Ethersex<\/a> compiliert werden? Das geht so wie sehr ausf\u00fchrlich hier beschrieben. Folgende Anpassungen sind aber noch mit dem root User oder sudo n\u00f6tig:<\/p>\n<pre class=\"lang:default decode:true \" >\r\napt-get update\r\napt-get upgrade\r\n# die n\u00f6tigen Libs installieren\r\napt-get install gcc-avr avr-libc avrdude dialog gawk m4 libncurses5-dev\r\n# ein Verzeichnis erstellen\r\nmkdir avr-net-io\r\n# in das Verzeichnis gehen\r\ncd avr-net-io\r\n# das Projekt holen\r\nwget http:\/\/github.com\/ethersex\/ethersex\/tarball\/master\/ethersex-ethersex-snapshot_compile_ok-927-g3f59c22.tar.gz\r\n# das Archive auspacken\r\ntar xfz ethersex-ethersex-snapshot_compile_ok-927-g3f59c22.tar.gz\r\n# in das Verzeichnis gehen\r\ncd ethersex-ethersex-3f59c22\/\r\n# Konfigurieren in der GUI<\/pre>\n<p># Load a Default Configuration Avr-Net-Io, Hostname vergeben, Mac anpassen, Ip und Netmask ausw\u00e4hlen &#8230; <\/p>\n<figure id=\"attachment_5226\" aria-describedby=\"caption-attachment-5226\" style=\"width: 1149px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/02\/Bildschirmfoto-2015-02-19-um-21.11.37.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/02\/Bildschirmfoto-2015-02-19-um-21.11.37.png\" alt=\"Konfiguration von Ethersex\" width=\"1149\" height=\"623\" class=\"size-full wp-image-5226\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/02\/Bildschirmfoto-2015-02-19-um-21.11.37.png 1149w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/02\/Bildschirmfoto-2015-02-19-um-21.11.37-300x163.png 300w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/02\/Bildschirmfoto-2015-02-19-um-21.11.37-1024x555.png 1024w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/02\/Bildschirmfoto-2015-02-19-um-21.11.37-900x488.png 900w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><figcaption id=\"caption-attachment-5226\" class=\"wp-caption-text\">Konfiguration von Ethersex<\/figcaption><\/figure>\n<p><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/02\/Bildschirmfoto-2015-02-19-um-21.12.48.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/02\/Bildschirmfoto-2015-02-19-um-21.12.48.png\" alt=\"Net\" width=\"1149\" height=\"631\" class=\"aligncenter size-full wp-image-5228\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/02\/Bildschirmfoto-2015-02-19-um-21.12.48.png 1149w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/02\/Bildschirmfoto-2015-02-19-um-21.12.48-300x165.png 300w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/02\/Bildschirmfoto-2015-02-19-um-21.12.48-1024x562.png 1024w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/02\/Bildschirmfoto-2015-02-19-um-21.12.48-900x494.png 900w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/02\/Bildschirmfoto-2015-02-19-um-21.14.46.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/02\/Bildschirmfoto-2015-02-19-um-21.14.46.png\" alt=\"Hostname\" width=\"1154\" height=\"626\" class=\"aligncenter size-full wp-image-5230\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/02\/Bildschirmfoto-2015-02-19-um-21.14.46.png 1154w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/02\/Bildschirmfoto-2015-02-19-um-21.14.46-300x163.png 300w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/02\/Bildschirmfoto-2015-02-19-um-21.14.46-1024x555.png 1024w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/02\/Bildschirmfoto-2015-02-19-um-21.14.46-900x488.png 900w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<pre class=\"lang:default decode:true \" ># Konfiguration anschauen ob alle Module wie gew\u00fcnsch vorhanden sind mit\r\nmake show-config\r\n# Ausgabe:\r\nMCU: atmega32 Hardware: netio\r\n\r\nThese modules are currently enabled:\r\n======================================\r\n * ADC\r\n * ADC_INLINE\r\n * ECMD_PARSER\r\n * ECMD_TCP\r\n * ENC28J60\r\n * ETHERNET\r\n * HTTPD\r\n * ICMP\r\n * IPV4\r\n * NET\r\n * ONEWIRE\r\n * ONEWIRE_DETECT\r\n * ONEWIRE_DETECT_ECMD\r\n * ONEWIRE_INLINE\r\n * PORTIO_SIMPLE\r\n * TCP\r\n * UIP\r\n * VFS\r\n * VFS_INLINE\r\n * VFS_INLINE_INLINESVG\r\n * VFS_IO_INLINE\r\n# compilieren mit\r\nmake\r\n# nach ein paar Minuten ist das ethersex.hex File zum flashen bereit:\r\n\r\nFinal size of ethersex.bin is 28018.\r\navr-objcopy -O ihex -I binary ethersex.bin ethersex.hex\r\n=======The ethersex project========\r\nCompiled for: atmega32 at 16000000Hz\r\nImagesize: 28018\/32768 bytes (85.50%)\r\n  [=========================-----]\r\n\r\nProgram (.text + .data)\t: 20548 bytes\r\nData (.data + .bss)\t: 1131 bytes\r\n<\/pre>\n<p>So oder so l\u00e4uft dann das flashen. Oder auch <a href=\"https:\/\/www.ethersex.de\/index.php\/Quick_Start_Guide\/Flashing\" title=\"ethersex-flas\" target=\"_blank\" rel=\"noopener noreferrer\">so<\/a>, mal sehen was am Besten l\u00e4uft. Aber nicht mehr heute Nacht &#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Wie kann auf einem Raspberry Pi unter Kali Linux (Debian m\u00fcsste genauso laufen) Ethersex compiliert werden? Das geht so wie sehr ausf\u00fchrlich hier beschrieben. Folgende Anpassungen sind aber noch mit dem root User oder sudo n\u00f6tig: apt-get update apt-get upgrade # die n\u00f6tigen Libs installieren apt-get install gcc-avr avr-libc avrdude dialog gawk m4 libncurses5-dev # &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/blog.wenzlaff.de\/?p=5223\" class=\"more-link\"><span class=\"screen-reader-text\">\u201eWie kann auf einem Raspberry Pi unter Kali Linux Ethersex f\u00fcr den AVR-NET-IO compiliert werden?\u201c <\/span>weiterlesen<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[538,566,808],"tags":[1972,1379,1971,1121,230,1973,1974],"class_list":["post-5223","post","type-post","status-publish","format-standard","hentry","category-elektronik","category-hardware","category-linux-2","tag-avr-net-io","tag-compilieren","tag-ethersex","tag-kali","tag-linux","tag-net-io","tag-pollin"],"_links":{"self":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/posts\/5223","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5223"}],"version-history":[{"count":0,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/posts\/5223\/revisions"}],"wp:attachment":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5223"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5223"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5223"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}