Page 1 of 9 123 ... LastLast
Results 1 to 15 of 128

Thread: Сборка пакетов под WL-500g Premium

  1. #1

    Post Сборка пакетов под WL-500g Premium

    Хотелось бы получить пару советов о том с чего начать.
    Т.е. что нужно поставить, какой компилятор, какое ядро и т.п. может кто то поделится своим опытом.
    Ну вот как нибудь так:
    1) ставим такую то VM
    2) сливаем и ставим образ VM от туда то.
    3) берем gcc такой то версии.
    4) компилируем и собираем в таком то формате (tgz? что то свое?)

    PS: С линукс и в частность со сборкой пакетов под слакварь я вобщем то не плохо знаком. (с 2001г.)

    Заранее благодарен за помошь.
    Last edited by angel_il; 17-05-2007 at 06:49.

  2. #2
    Смотрим вот сюда: Тынц

  3. #3
    Спасибо большое, кажется то что нужно.
    Это сборка самой прошивки, а как компилить софт под тот процессор?
    Нужды ли какие то опции компиляции особые?

    там же нашел ссылку на http://wl500g.dyndns.org/#toolchain
    Last edited by angel_il; 17-05-2007 at 08:13.

  4. #4
    Join Date
    Feb 2007
    Location
    Moscow, Russia
    Posts
    3,805
    ответ не совсем верный, т.к. там описано что надо для компиляции фирмваре. Кроме того, этот тулчейн используется для компиляции пакетов unslung

    Однако, рекомендуемый feed для пакетов --- optware и для него описание здесь:

    http://www.nslu2-linux.org/wiki/FAQ/Optware-uClibcBuild
    http://www.nslu2-linux.org/wiki/Optw...ckageToOptware

    можно компилировать как на роутере, так и на внешней линуксовой машине. Я поставил opensuse 10.2 в vmware, хотя второй раз предпочел бы что-нибудь полегковеснее. С debian 3.1 у меня были проблемы, debian 4 --- ОК. Далее по инструкции.

  5. Не запускается установленный пакет

    [admin@gw bin]$ ls -la /opt/bin/ | grep mc
    -rwxr-xr-x 1 admin root 741480 Jul 18 05:57 mc

    [admin@gw bin]$ /opt/bin/mc
    -sh: /opt/bin/mc: not found

    Куда копать?

  6. #6
    Join Date
    Aug 2006
    Location
    Moscow, Russia
    Posts
    788

  7. Сам отвечаю на свой вопрос - обновить uclibc-opt после перехода на новый репозитарий...

  8. #8

    как удалить пакет?

    Хочу удалить некоторые пакеты.
    Пакет можно удалить с помощью команды ipkg
    А как?
    Пароль у него на компьютере - "пароль".

  9. #9
    Join Date
    Aug 2006
    Location
    Moscow, Russia
    Posts
    788
    Если запустить ipkg без параметров, то можно узнать много интересного:
    Code:
    [root@router:~]# ipkg
    ipkg: ipkg must have one sub-command argument
    ipkg version 0.99.163
    usage: ipkg [options...] sub-command [arguments...]
    where sub-command is one of:
    
    Package Manipulation:
            update                  Update list of available packages
            upgrade                 Upgrade all installed packages to latest version
            install <pkg>           Download and install <pkg> (and dependencies)
            install <file.ipk>      Install package <file.ipk>
            configure [<pkg>]       Configure unpacked packages
            remove <pkg|regexp>     Remove package <pkg|packages following regexp>
            flag <flag> <pkg> ...   Flag package(s) <pkg>
             <flag>=hold|noprune|user|ok|installed|unpacked (one per invocation)    
    
    Informational Commands:
            list                    List available packages and descriptions
            list_installed          List all and only the installed packages and description 
            files <pkg>             List all files belonging to <pkg>
            search <file|regexp>            Search for a package providing <file>
            info [pkg|regexp]               Display all info for <pkg>
            status [pkg|regexp]             Display all status for <pkg>
            download <pkg>          Download <pkg> to current directory.
            compare_versions <v1> <op> <v2>
                                      compare versions using <= < > >= = << >>
            print_architecture      prints the architecture.
            print_installation_architecture
            whatdepends [-A] [pkgname|pat]+
            whatdependsrec [-A] [pkgname|pat]+
            whatprovides [-A] [pkgname|pat]+
            whatconflicts [-A] [pkgname|pat]+
            whatreplaces [-A] [pkgname|pat]+
                                    prints the installation architecture.
    
    Options:
            -A                      Query all packages with whatdepends, whatprovides, whatreplaces, whatconflicts
            -V <level>               Set verbosity level to <level>. If no value is
            --verbosity <level>      provided increase verbosity by one. Verbosity levels:
                                     0 errors only
                                     1 normal messages (default)
                                     2 informative messages
                                     3 debug output
            -f <conf_file>          Use <conf_file> as the ipkg configuration file
            -conf <conf_file>       Default configuration file location
                                    is /opt/etc/ipkg.conf
            -d <dest_name>          Use <dest_name> as the the root directory for
            -dest <dest_name>       package installation, removal, upgrading.
                                    <dest_name> should be a defined dest name from
                                    the configuration file, (but can also be a
                                    directory name in a pinch).
            -o <offline_root>       Use <offline_root> as the root directory for
            -offline <offline_root> offline installation of packages.
            -verbose_wget           more wget messages
            Force Options (use when ipkg is too smart for its own good):
            -force-depends          Make dependency checks warnings instead of errors
                                            Install/remove package in spite of failed dependences
            -force-defaults         Use default options for questions asked by ipkg.
                                    (no prompts). Note that this will not prevent
                                    package installation scripts from prompting.
            -force-reinstall        Allow ipkg to reinstall a package.
            -force-overwrite        Allow ipkg to overwrite files from another package during an install.
            -force-downgrade        Allow ipkg to downgrade packages.
            -force_space            Install even if there does not seem to be enough space.
            -noaction               No action -- test only
            -nodeps                 Do not follow dependences
            -force-removal-of-dependent-packages
            -recursive              Allow ipkg to remove package and all that depend on it.
            -test                   No action -- test only
            -t                      Specify tmp-dir.
            --tmp-dir               Specify tmp-dir.
    
            regexp could be something like 'pkgname*' '*file*' or similar
            eg: ipkg info 'libstd*'  or ipkg search '*libop*' or ipkg remove 'libncur*'

  10. #10

    Сборка rtorrent с xmlrpc

    Вопрос поднялся в http://wl500g.info/showthread.php?p=66678#poststop

    В репозитории rtorrent, собранный без поддержки xmlrpc. Был бы с ней - клиент можно было наваять на коленке.
    Соответственно просьба к Олегу или гуру линукса - кто может это дело осуществить?
    Hardware: WL-500gp 1.9.2.7-7g + powered USB hub (WD Passport 120GB) + USB HP LazerJet 1010
    Software: transmission (BT-client) by wengie's manual + russian names fixing script | http/ftp download with web-interface ADOS by DINI (uninstalled) | rsnapshot - incremental backup utility using rsync (english, русский) (uninstalled) | lighttpd (uninstalled) |samba2

  11. #11
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    Quote Originally Posted by Aramaki View Post
    Вопрос поднялся в http://wl500g.info/showthread.php?p=66678#poststop



    Соответственно просьба к Олегу или гуру линукса - кто может это дело осуществить?
    Ребят, ну если Вы можете слабать на коленках клиента, думаю справитесь и с правильной сборкой rtorrent. Сделайте пакет собираемый, обновим репозиторий.

    А то у нас все всё могут, но мало кто делает. Надо как-то это менять...

  12. #12
    Quote Originally Posted by Oleg View Post
    Ребят, ну если Вы можете слабать на коленках клиента, думаю справитесь и с правильной сборкой rtorrent. Сделайте пакет собираемый, обновим репозиторий.

    А то у нас все всё могут, но мало кто делает. Надо как-то это менять...
    Не осилил пока - много зависимостей, которых в репозитории нет.
    Позже может попробую пособирать прямо на рутере.

  13. #13
    Quote Originally Posted by Oleg View Post
    Ребят, ну если Вы можете слабать на коленках клиента, думаю справитесь и с правильной сборкой rtorrent. Сделайте пакет собираемый, обновим репозиторий.

    А то у нас все всё могут, но мало кто делает. Надо как-то это менять...
    Если вышла новая версия программы, когд она появится в репозитории? Это делается автоматически или вручную?

    Transmission 0.90 Released!
    Posted by John Clay on 24/10/07
    Hardware: WL-500gp 1.9.2.7-7g + powered USB hub (WD Passport 120GB) + USB HP LazerJet 1010
    Software: transmission (BT-client) by wengie's manual + russian names fixing script | http/ftp download with web-interface ADOS by DINI (uninstalled) | rsnapshot - incremental backup utility using rsync (english, русский) (uninstalled) | lighttpd (uninstalled) |samba2

  14. #14
    Join Date
    Feb 2007
    Location
    Moscow, Russia
    Posts
    3,805
    вручную.

    Новый transmission появится когда у oleo будет время и желание его откомпилировать и туда положить.

  15. #15
    Quote Originally Posted by al37919 View Post
    вручную.

    Новый transmission появится когда у oleo будет время и желание его откомпилировать и туда положить.
    понятно. он вроде уже собирается его тестить
    Hardware: WL-500gp 1.9.2.7-7g + powered USB hub (WD Passport 120GB) + USB HP LazerJet 1010
    Software: transmission (BT-client) by wengie's manual + russian names fixing script | http/ftp download with web-interface ADOS by DINI (uninstalled) | rsnapshot - incremental backup utility using rsync (english, русский) (uninstalled) | lighttpd (uninstalled) |samba2

Page 1 of 9 123 ... LastLast

Similar Threads

  1. Домовые сети, DHCP + PPPoE/PPTP/L2TP
    By Oleg in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 1256
    Last Post: 20-02-2012, 13:44
  2. Настройка FTP сервера на Asus WL-500gP
    By RonS in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 259
    Last Post: 27-11-2011, 15:57
  3. Установка и настройка DC++ клиента Shakespeer
    By angel_il in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 154
    Last Post: 14-08-2011, 09:57
  4. Block Torrents on asus wl 500g premium
    By jolace in forum WL-500gP Q&A
    Replies: 1
    Last Post: 11-07-2009, 07:13
  5. WL 500g Premium
    By airbrush999 in forum German Discussion - Deutsch (DE)
    Replies: 1
    Last Post: 27-11-2007, 23:17

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •