http://wiki.dd-wrt.com/wiki/index.php?title=%D0%A3%D1%81%D1%82%D0%B0%D0%BD%D0%BE%D0%B2%D0%BA%D0%B0_%D1%84%D0%B0%D0%B9%D0%BB%D0%BE%D0%B2%D0%BE%D0%B3%D0%BE_%D0%BC%D0%B5%D0%BD%D0%B5%D0%B4%D0%B6%D0%B5%D1%80%D0%B0_Midnight_Commander&action=history&feed=atom Установка файлового менеджера Midnight Commander - Revision history 2024-03-29T02:02:15Z Revision history for this page on the wiki MediaWiki 1.10.1 http://wiki.dd-wrt.com/wiki/index.php?title=%D0%A3%D1%81%D1%82%D0%B0%D0%BD%D0%BE%D0%B2%D0%BA%D0%B0_%D1%84%D0%B0%D0%B9%D0%BB%D0%BE%D0%B2%D0%BE%D0%B3%D0%BE_%D0%BC%D0%B5%D0%BD%D0%B5%D0%B4%D0%B6%D0%B5%D1%80%D0%B0_Midnight_Commander&diff=28258&oldid=prev Anymore at 17:02, 8 December 2009 2009-12-08T17:02:58Z <p></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 17:02, 8 December 2009</td> </tr> <tr><td colspan="2" align="left"><strong>Line 52:</strong></td> <td colspan="2" align="left"><strong>Line 52:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"># http://www.dd-wrt.com/phpBB2/viewtopic.php?t=45430</td><td> </td><td style="background: #eee; font-size: smaller;"># http://www.dd-wrt.com/phpBB2/viewtopic.php?t=45430</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">[[Category:Русская документация]]</td></tr> </table> Anymore http://wiki.dd-wrt.com/wiki/index.php?title=%D0%A3%D1%81%D1%82%D0%B0%D0%BD%D0%BE%D0%B2%D0%BA%D0%B0_%D1%84%D0%B0%D0%B9%D0%BB%D0%BE%D0%B2%D0%BE%D0%B3%D0%BE_%D0%BC%D0%B5%D0%BD%D0%B5%D0%B4%D0%B6%D0%B5%D1%80%D0%B0_Midnight_Commander&diff=28019&oldid=prev Baltico at 01:31, 23 November 2009 2009-11-23T01:31:51Z <p></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 01:31, 23 November 2009</td> </tr> <tr><td colspan="2" align="left"><strong>Line 17:</strong></td> <td colspan="2" align="left"><strong>Line 17:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> /opt/bin/mc</td><td> </td><td style="background: #eee; font-size: smaller;"> /opt/bin/mc</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">Если пользуетесь PuTTY, тогда можно в настройках Terminal-&gt;Keyboard выбрать Xterm R6. Тогда команды export cтановятся не нужны.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">Рекомендуется также:</td><td> </td><td style="background: #eee; font-size: smaller;">Рекомендуется также:</td></tr> </table> Baltico http://wiki.dd-wrt.com/wiki/index.php?title=%D0%A3%D1%81%D1%82%D0%B0%D0%BD%D0%BE%D0%B2%D0%BA%D0%B0_%D1%84%D0%B0%D0%B9%D0%BB%D0%BE%D0%B2%D0%BE%D0%B3%D0%BE_%D0%BC%D0%B5%D0%BD%D0%B5%D0%B4%D0%B6%D0%B5%D1%80%D0%B0_Midnight_Commander&diff=24120&oldid=prev Kotovas at 11:59, 1 February 2009 2009-02-01T11:59:41Z <p></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 11:59, 1 February 2009</td> </tr> <tr><td colspan="2" align="left"><strong>Line 31:</strong></td> <td colspan="2" align="left"><strong>Line 31:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> </td><td> </td><td style="background: #eee; font-size: smaller;"> </td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> [ -e /opt/etc/profile ] &amp;&amp; mount -o bind /opt/etc/profile /etc/profile </td><td> </td><td style="background: #eee; font-size: smaller;"> [ -e /opt/etc/profile ] &amp;&amp; mount -o bind /opt/etc/profile /etc/profile </td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">и делаем его загрузочным:</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> chmod +x /jffs/etc/config/optware.startup </td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> </table> Kotovas http://wiki.dd-wrt.com/wiki/index.php?title=%D0%A3%D1%81%D1%82%D0%B0%D0%BD%D0%BE%D0%B2%D0%BA%D0%B0_%D1%84%D0%B0%D0%B9%D0%BB%D0%BE%D0%B2%D0%BE%D0%B3%D0%BE_%D0%BC%D0%B5%D0%BD%D0%B5%D0%B4%D0%B6%D0%B5%D1%80%D0%B0_Midnight_Commander&diff=24119&oldid=prev Kotovas at 11:58, 1 February 2009 2009-02-01T11:58:41Z <p></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 11:58, 1 February 2009</td> </tr> <tr><td colspan="2" align="left"><strong>Line 9:</strong></td> <td colspan="2" align="left"><strong>Line 9:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> ipkg-opt update </td><td> </td><td style="background: #eee; font-size: smaller;"> ipkg-opt update </td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> /opt/bin/ipkg-opt install mc</td><td> </td><td style="background: #eee; font-size: smaller;"> /opt/bin/ipkg-opt install mc</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> /opt/bin/ipkg-opt install bash</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">После этого можно пользоваться Midnight Commander для редактирования файлов - даем в телнет команды: </td><td> </td><td style="background: #eee; font-size: smaller;">После этого можно пользоваться Midnight Commander для редактирования файлов - даем в телнет команды: </td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">&#160;</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;"> export SHELL=&quot;/opt/bin/bash&quot;</ins></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> export TERMINFO=&quot;/opt/share/terminfo&quot; </td><td> </td><td style="background: #eee; font-size: smaller;"> export TERMINFO=&quot;/opt/share/terminfo&quot; </td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> export TERM=&quot;xterm&quot; </td><td> </td><td style="background: #eee; font-size: smaller;"> export TERM=&quot;xterm&quot; </td></tr> <tr><td colspan="2" align="left"><strong>Line 17:</strong></td> <td colspan="2" align="left"><strong>Line 18:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">Рекомендуется также <del style="color: red; font-weight: bold; text-decoration: none;">добавить </del>в файл /opt/etc/profile (если этого файла нет - его следует создать) строки</td><td>+</td><td style="background: #cfc; font-size: smaller;">Рекомендуется также<ins style="color: red; font-weight: bold; text-decoration: none;">:</ins></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;"> </ins></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">1. создаем скрипт optware.startup: (если вы устанавливали Samba, то этот пункт пропустите)</ins></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">&#160;</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;"> mkdir /jffs/etc </ins></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;"> mkdir /jffs/etc/config </ins></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;"> vi /jffs/etc/config/optware.startup </ins></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">&#160;</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">со следующим содержимым: </ins></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">&#160;</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;"> #!/bin/sh </ins></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;"> </ins></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;"> [ -e /opt/etc/profile ] &amp;&amp; mount -o bind /opt/etc/profile /etc/profile </ins></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">&#160;</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">&#160;</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">2.добавляем </ins>в файл /opt/etc/profile (если этого файла нет - его следует создать) строки</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;"> </ins></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;"> export PATH=/opt/bin:/opt/sbin:/bin:/sbin:/usr/bin:/usr/sbin</ins></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;"> export SHELL=&quot;/opt/bin/bash&quot;</ins></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> export TERMINFO=&quot;/opt/share/terminfo&quot; </td><td> </td><td style="background: #eee; font-size: smaller;"> export TERMINFO=&quot;/opt/share/terminfo&quot; </td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> export TERM=&quot;xterm&quot;</td><td> </td><td style="background: #eee; font-size: smaller;"> export TERM=&quot;xterm&quot;</td></tr> </table> Kotovas http://wiki.dd-wrt.com/wiki/index.php?title=%D0%A3%D1%81%D1%82%D0%B0%D0%BD%D0%BE%D0%B2%D0%BA%D0%B0_%D1%84%D0%B0%D0%B9%D0%BB%D0%BE%D0%B2%D0%BE%D0%B3%D0%BE_%D0%BC%D0%B5%D0%BD%D0%B5%D0%B4%D0%B6%D0%B5%D1%80%D0%B0_Midnight_Commander&diff=23778&oldid=prev YuriKr at 21:22, 12 January 2009 2009-01-12T21:22:28Z <p></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 21:22, 12 January 2009</td> </tr> <tr><td colspan="2" align="left"><strong>Line 20:</strong></td> <td colspan="2" align="left"><strong>Line 20:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> export TERMINFO=&quot;/opt/share/terminfo&quot; </td><td> </td><td style="background: #eee; font-size: smaller;"> export TERMINFO=&quot;/opt/share/terminfo&quot; </td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> export TERM=&quot;xterm&quot;</td><td> </td><td style="background: #eee; font-size: smaller;"> export TERM=&quot;xterm&quot;</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">Тогда после перезагрузки можно будет запускать Midnight Commander командой /opt/bin/mc , не вводя предварительно команды export.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">----------</td><td> </td><td style="background: #eee; font-size: smaller;">----------</td></tr> </table> YuriKr http://wiki.dd-wrt.com/wiki/index.php?title=%D0%A3%D1%81%D1%82%D0%B0%D0%BD%D0%BE%D0%B2%D0%BA%D0%B0_%D1%84%D0%B0%D0%B9%D0%BB%D0%BE%D0%B2%D0%BE%D0%B3%D0%BE_%D0%BC%D0%B5%D0%BD%D0%B5%D0%B4%D0%B6%D0%B5%D1%80%D0%B0_Midnight_Commander&diff=23776&oldid=prev YuriKr at 21:05, 12 January 2009 2009-01-12T21:05:13Z <p></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 21:05, 12 January 2009</td> </tr> <tr><td colspan="2" align="left"><strong>Line 15:</strong></td> <td colspan="2" align="left"><strong>Line 15:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> export TERM=&quot;xterm&quot; </td><td> </td><td style="background: #eee; font-size: smaller;"> export TERM=&quot;xterm&quot; </td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> /opt/bin/mc</td><td> </td><td style="background: #eee; font-size: smaller;"> /opt/bin/mc</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">Рекомендуется также добавить в файл /opt/etc/profile (если этого файла нет - его следует создать) строки</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> export TERMINFO=&quot;/opt/share/terminfo&quot; </td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> export TERM=&quot;xterm&quot;</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">----------</td><td> </td><td style="background: #eee; font-size: smaller;">----------</td></tr> </table> YuriKr http://wiki.dd-wrt.com/wiki/index.php?title=%D0%A3%D1%81%D1%82%D0%B0%D0%BD%D0%BE%D0%B2%D0%BA%D0%B0_%D1%84%D0%B0%D0%B9%D0%BB%D0%BE%D0%B2%D0%BE%D0%B3%D0%BE_%D0%BC%D0%B5%D0%BD%D0%B5%D0%B4%D0%B6%D0%B5%D1%80%D0%B0_Midnight_Commander&diff=23772&oldid=prev YuriKr: New page: Midnight Commander (mc) - файловый менеджер, очень похожий на Norton Commander в MS-DOS. Краткая инструкция по установке: ... 2009-01-12T05:03:56Z <p>New page: Midnight Commander (mc) - файловый менеджер, очень похожий на Norton Commander в MS-DOS. Краткая инструкция по установке: ...</p> <p><b>New page</b></p><div>Midnight Commander (mc) - файловый менеджер, очень похожий на Norton Commander в MS-DOS. <br /> <br /> Краткая инструкция по установке: <br /> <br /> Сначала нужно подключить к маршрутизатору флешку/HDD и подготовить его для установки optware-пакетов. Инструкция в вики: [[Установка Samba на маршрутизатор с DD-WRT]], нужно выполнить пункты с 1 по 8. <br /> <br /> Затем в телнете набираем <br /> <br /> ipkg-opt update <br /> /opt/bin/ipkg-opt install mc<br /> <br /> После этого можно пользоваться Midnight Commander для редактирования файлов - даем в телнет команды: <br /> <br /> export TERMINFO=&quot;/opt/share/terminfo&quot; <br /> export TERM=&quot;xterm&quot; <br /> /opt/bin/mc<br /> <br /> ----------<br /> <br /> '''Источник:'''<br /> <br /> # http://www.dd-wrt.com/phpBB2/viewtopic.php?t=45430</div> YuriKr