{"id":84254,"date":"2020-06-06T19:42:11","date_gmt":"2020-06-06T17:42:11","guid":{"rendered":"https:\/\/prohoster.info\/blog\/administrirovanie\/ustanovka-debian-na-netgear-stora"},"modified":"2020-06-06T19:42:11","modified_gmt":"2020-06-06T17:42:11","slug":"ustanovka-debian-na-netgear-stora","status":"publish","type":"post","link":"https:\/\/prohoster.info\/pl\/blog\/administrirovanie\/ustanovka-debian-na-netgear-stora","title":{"rendered":"Instalacja Debiana na Netgear Stora","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Niedawno trafi\u0142o mi si\u0119 w r\u0119ce takie cudo: <noindex><a rel=\"nofollow\" href=\"https:\/\/www.netgear.ru\/support\/product\/MS2000.aspx\">netgear ms 2000 \u2014 stora<\/a><\/noindex>. Zdecydowa\u0142em si\u0119 od razu zrezygnowa\u0107 z u\u017cywania wbudowanego systemu operacyjnego i zainstalowa\u0107 na twardym dysku debian. <\/p>\n<p>Informacje w sieci s\u0105 nieco rozproszone, linki dawno ju\u017c nie dzia\u0142aj\u0105, dlatego postanowi\u0142em zaktualizowa\u0107 proces instalacji debiana na stora. Kto zainteresowany, zapraszam pod kat.<br \/>\n<noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><br \/>\nG\u0142\u00f3wnym \u017ar\u00f3d\u0142em by\u0142a ta <noindex><a rel=\"nofollow\" href=\"https:\/\/www.sites.google.com\/site\/samelent\/ustanovka-debian-na-netgear-stora\">artyku\u0142<\/a><\/noindex>.<\/p>\n<p>Na pocz\u0105tek potrzebujemy obraz\u00f3w do instalacji systemu: <noindex><a rel=\"nofollow\" href=\"https:\/\/mirror.yandex.ru\/debian\/dists\/Debian9.12\/main\/installer-armel\/20170615\/images\/kirkwood\/netboot\/marvell\/openrd-base\/\">wzi\u0119\u0142em st\u0105d<\/a><\/noindex>. Pobieramy oba pliki. Te pliki zapisujemy w g\u0142\u00f3wnym katalogu na pendrive, kt\u00f3ry jest sformatowany w fat32.<br \/>\nPotrzebny b\u0119dzie r\u00f3wnie\u017c konwerter USB \u2013 UART PL2303TA.<\/p>\n<p>                        <b class=\"spoiler_title\">Mia\u0142em w\u0142a\u015bnie taki<\/b><br \/>\n                        <img decoding=\"async\" alt=\"Instalacja Debiana na Netgear Stora\" src=\"\/wp-content\/uploads\/2020\/06\/26db7fd890f4405a15599d2002bae57b.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p>\nB\u0119dziemy te\u017c potrzebowa\u0107 oprogramowania do po\u0142\u0105czenia z urz\u0105dzeniem, na przyk\u0142ad hyperterminal lub putty (u mnie z putty si\u0119 nie uda\u0142o: ca\u0142y czas pojawia\u0142y si\u0119 krzaczki w terminalu, wi\u0119c u\u017cy\u0142em hyperterminal).<\/p>\n<p>Aby pod\u0142\u0105czy\u0107 urz\u0105dzenie kablem, najpierw trzeba je rozebra\u0107. Proces nie jest skomplikowany, dlatego nie b\u0119d\u0119 go opisywa\u0142. I trzeba pami\u0119ta\u0107, aby w pierwszym slocie stora w\u0142o\u017cy\u0107 twardy dysk, na kt\u00f3ry b\u0119dzie dokonywana sama instalacja.<\/p>\n<p>Po roz\u0142o\u017ceniu urz\u0105dzenia pod\u0142\u0105czamy przej\u015bci\u00f3wk\u0119. Uwaga, nie pod\u0142\u0105czajcie czerwonego przewodu, tzn. nale\u017cy pod\u0142\u0105czy\u0107 tylko 3 przewody (od baterii: czarny, zielony, bia\u0142y).<br \/>\nI tak, przew\u00f3d pod\u0142\u0105czony, sterowniki podpi\u0119te. W sterowniku portu com ustawiamy parametry: pr\u0119dko\u015b\u0107 115200, liczba bit\u00f3w 8, bity stopu 1, bez kontroli parzysto\u015bci. Nast\u0119pnie w\u0142\u0105czamy urz\u0105dzenie i \u0142\u0105czymy si\u0119 z nim w terminalu. Gdy zobaczycie komunikat Press any key\u2026 wci\u015bnijcie dowolny klawisz, aby wej\u015b\u0107 do bootloadera u-boot.<\/p>\n<p>Ma\u0142e przerywnik.<\/p>\n<p>                        <b class=\"spoiler_title\">Lista komend, kt\u00f3rymi b\u0119dziemy si\u0119 pos\u0142ugiwa\u0107 i kt\u00f3re b\u0119d\u0105 przydatne:<\/b><br \/>\n                        usb reset, ide reset \u2014 inicjalizacja urz\u0105dze\u0144 usb, ide<br \/>\nfatls, ext2ls \u2014 przegl\u0105danie katalogu na systemie plik\u00f3w fat lub ext2.<br \/>\nsetenv \u2014 ustawianie zmiennych \u015brodowiskowych<br \/>\nsaveenv \u2014 zapis zmiennych w pami\u0119ci wewn\u0119trznej<br \/>\nreset \u2014 restart urz\u0105dzenia<br \/>\nprintenv \u2014 wypisanie wszystkich zmiennych<br \/>\nprintenv NAME \u2014 wypisanie zmiennej NAME<br \/>\nhelp \u2014 wypisanie wszystkich komend<\/p>\n<p>Po wej\u015bciu do bootloadera ustawimy parametry sieci, zainicjalizujemy urz\u0105dzenie usb, sprawdzimy, czy na pendrive'ie s\u0105 potrzebne pliki, zapiszemy parametry w pami\u0119ci urz\u0105dzenia i zrestartujemy:<\/p>\n<p>                        <b class=\"spoiler_title\">Polecenia<\/b><\/p>\n<pre><code class=\"plaintext\">usb reset\nfatls usb 0\nsetenv mainlineLinux yes\nsetenv arcNumber 2743\nsetenv ipaddr your_IP\nsetenv gatewayip your_GW_IP\nsetenv dnsip your_DNS_IP\nsaveenv\nreset<\/code><\/pre>\n<p>\nPo restarcie wprowadzamy komendy do rozpocz\u0119cia instalacji debiana:<\/p>\n<pre><code class=\"plaintext\">reset usb\nfatload usb 0 0x200000 uImage\nfatload usb 0 0x800000 uInitrd\nsetenv bootargs console=ttyS0,115200n8 base-installer\/initramfs-tools\/driver-policy=most\nbootm 0x200000 0x800000\n<\/code><\/pre>\n<p>\nNast\u0119pnie rozpocznie si\u0119 standardowa instalacja Debiana w trybie tekstowym. Instalujemy system, po instalacji restartujemy, wchodzimy do uboot i wprowadzamy polecenia do za\u0142adowania urz\u0105dzenia z dysku twardego:<\/p>\n<pre><code class=\"plaintext\">setenv bootcmd_ide 'ide reset; ext2load ide 0 0x200000 \/uImage; ext2load ide 0 0x800000 \/uInitrd'\nsetenv bootcmd 'setenv bootargs $(console) root=\/dev\/sda2; run bootcmd_ide; bootm 0x200000 0x800000'\nsaveenv\nreset\n<\/code><\/pre>\n<p>\nPo restarcie nast\u0105pi za\u0142adunek z dysku twardego Debiana, co pierwotnie planowali\u015bmy.<\/p>\n<p>                        <b class=\"spoiler_title\">P.S. Przywr\u00f3cenie oryginalnego bootloadera:<\/b><\/p>\n<pre><code class=\"plaintext\">setenv mainlineLinux=no\nsetenv arcNumber\nsetenv bootcmd_ide\nsetenv bootcmd 'nand read.e 0x800000 0x100000 0x300000; setenv bootargs $(console) $(bootargs_root); bootm 0x800000'\nsaveenv\nreset<\/code><\/pre>\n<p>\u0179r\u00f3d\u0142o: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/505386\/\">habr.com<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041d\u0430 \u0434\u043d\u044f\u0445 \u0443 \u043c\u0435\u043d\u044f \u0432 \u0440\u0443\u043a\u0430\u0445 \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0432\u043e\u0442 \u0442\u0430\u043a\u043e\u0435 \u0447\u0443\u0434\u043e: netgear ms 2000 \u2014 stora. \u0420\u0435\u0448\u0438\u043b \u0441\u0440\u0430\u0437\u0443 \u043e\u0442\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f \u043e\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u043e\u0439 \u041e\u0421 \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043d\u0430 \u0436\u0435\u0441\u0442\u043a\u0438\u0439 \u0434\u0438\u0441\u043a debian. \u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u0432 \u0441\u0435\u0442\u0438 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u0440\u043e\u0437\u043d\u0435\u043d\u0430, \u0441\u0441\u044b\u043b\u043a\u0438 \u0434\u0430\u0432\u043d\u043e \u0443\u0436\u0435 \u0443\u043c\u0435\u0440\u043b\u0438, \u043f\u043e\u044d\u0442\u043e\u043c \u0440\u0435\u0448\u0438\u043b \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 debian \u043d\u0430 stora. \u041a\u043e\u043c\u0443 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e, \u0434\u043e\u0431\u0440\u043e \u043f\u043e\u0436\u0430\u043b\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0434 \u043a\u0430\u0442. \u041e\u0441\u043d\u043e\u0432\u043d\u044b\u043c \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u043e\u043c \u0431\u044b\u043b\u0430 \u0432\u043e\u0442 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":84255,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[688],"tags":[],"class_list":["post-84254","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-administrirovanie"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.1.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041d\u0430 \u0434\u043d\u044f\u0445 \u0443 \u043c\u0435\u043d\u044f \u0432 \u0440\u0443\u043a\u0430\u0445 \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0432\u043e\u0442 \u0442\u0430\u043a\u043e\u0435 \u0447\u0443\u0434\u043e: netgear ms 2000 \u2014 stora.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/pl\/blog\/administrirovanie\/ustanovka-debian-na-netgear-stora\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.1.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"pl_PL\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Debian \u043d\u0430 Netgear Stora | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041d\u0430 \u0434\u043d\u044f\u0445 \u0443 \u043c\u0435\u043d\u044f \u0432 \u0440\u0443\u043a\u0430\u0445 \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0432\u043e\u0442 \u0442\u0430\u043a\u043e\u0435 \u0447\u0443\u0434\u043e: netgear ms 2000 \u2014 stora.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/pl\/blog\/administrirovanie\/ustanovka-debian-na-netgear-stora\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-06-06T17:42:11+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-06-06T17:42:11+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Instalacja Debiana na Netgear Stora | ProHoster","description":"Ostatnio mia\u0142em w r\u0119kach takie cudo: netgear ms 2000 \u2014 stora.","canonical_url":"https:\/\/prohoster.info\/pl\/blog\/administrirovanie\/ustanovka-debian-na-netgear-stora","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"pl_PL","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Debian \u043d\u0430 Netgear Stora | ProHoster","og:description":"\u041d\u0430 \u0434\u043d\u044f\u0445 \u0443 \u043c\u0435\u043d\u044f \u0432 \u0440\u0443\u043a\u0430\u0445 \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0432\u043e\u0442 \u0442\u0430\u043a\u043e\u0435 \u0447\u0443\u0434\u043e: netgear ms 2000 \u2014 stora.","og:url":"https:\/\/prohoster.info\/pl\/blog\/administrirovanie\/ustanovka-debian-na-netgear-stora","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2020-06-06T17:42:11+00:00","article:modified_time":"2020-06-06T17:42:11+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"84254","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 15:01:58","updated":"2022-09-30 16:27:33","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/pl\/wp-json\/wp\/v2\/posts\/84254","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/pl\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/pl\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/pl\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/pl\/wp-json\/wp\/v2\/comments?post=84254"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/pl\/wp-json\/wp\/v2\/posts\/84254\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/pl\/wp-json\/wp\/v2\/media\/84255"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/pl\/wp-json\/wp\/v2\/media?parent=84254"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/pl\/wp-json\/wp\/v2\/categories?post=84254"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/pl\/wp-json\/wp\/v2\/tags?post=84254"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}