Results 1 to 12 of 12

Thread: Hello all, Kfurge C'firmware problem

  1. #1

    Hello all, Kfurge C'firmware problem

    Hi all,
    nice site.
    i followed the guide on kfurge's site up to...

    ---Step #3, Installing optware packages
    -----For completeness, re-run "ipkg install" for uclibc, busybox, ipkg, and wget to fully install them. You may have to use the -force-overwrite flag.

    there seems to be no problem while installing the pakages using ipkg

    i stopped here i decided to quit telnet by typing 'exit'

    but when i enter back into telnet i get the the busy box console (as expected)
    but none of the previous pakages i installed do not work,
    eg VI (new busybox),ipkg .

    is this suppose to happen? if not what im i doing wrong?

    i eventually hoped to install ushare (to stream mp4 file to my ps3)
    and Php,apache,mySQl (for my brother)

    Thanks -BLUE

  2. #2
    i even if i browse opt/bin the new executables are there, what have i done wrong?

  3. #3
    you have to run

    export PATH=/opt/bin:/opt/sbin:${PATH}
    export LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}

    and/or put it in your rc.local.

    grat182

  4. #4
    thanks that fixed it!

  5. #5
    i have the same problem, after i enter this to line everything is back. i checked my rc.local file and this

    export PATH=/opt/bin:/opt/sbin:${PATH}
    export LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}

    strings are in it, why its not working after reboot? do i have all the time enter this strings after reboot??

  6. #6
    Both PATH and LD_LIBRARY_PATH become invalid with a true login shell. You'll have to add the lines to the users .profile in order to make them active with each login.

    - K.C.

  7. #7
    Im sorry for a dummy question but how can i do that?

  8. #8
    Join Date
    Jan 2007
    Location
    Netherlands
    Posts
    190
    Quote Originally Posted by ValoYossa View Post
    Im sorry for a dummy question but how can i do that?
    http://wl700g.homelinux.net/drupal/?q=node/84

    Openwrt or Custom Firmware on asus? - http://wl700ge.hezik.nl/ - Http://wl700g.homelinux.net

    My ASUS collection: WL500gp(80GB usb-hdd - Running OpenWrt Kamikaze 7.09) | WL700gE(250GB - Running OpenWrt Kamikaze 8.09rc1)

  9. #9
    Quote Originally Posted by back2basic View Post
    thank you for link

    i followed this guide but i think i made a mistake somewhere

    after all i have this:

    telnet 192.168.1.1
    Trying 192.168.1.1...
    Connected to 192.168.1.1.
    Escape character is '^]'.
    (none) login: MyUser
    Password:
    warning: cannot change to home directory
    Connection closed by foreign host.

    whats could be wrong? what i did wrong?

    im not sure if i did this right:

    vi /opt/etc/sudoers
    -.-.-.-.-.-.-.-.-.-.-.
    # Runas alias specification

    # User privilege specification
    root ALL=(ALL) SETENV: ALL
    MyUser ALL=(ALL)SETEVN: ALL

    # Uncomment to allow people in group wheel to run all commands
    # and set environment variables.
    %wheel ALL=(ALL) SETENV: ALL

    # Same thing without a password
    # %wheel ALL=(ALL) NOPASSWD: SETENV: ALL

    # Samples
    # %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
    # %users localhost=/sbin/shutdown -h now


    and my .profile was totally empty file so i just added two strings and saved it:

    export PATH=/opt/bin:/opt/sbin:${PATH}
    export LD_LIBRARY_PATH=/opt/lib:$/{LD_LIBRARY_PATH}
    ~
    ~
    ~

    im sorry im trying learn linux but its difficul and to much information in same time. Im sorry for bothering you with my dummy question

  10. #10
    Join Date
    Jan 2007
    Location
    Netherlands
    Posts
    190
    Quote Originally Posted by ValoYossa View Post
    thank you for link

    i followed this guide but i think i made a mistake somewhere
    this also has to be in youre .profile

    Code:
    #
    # Bash initialization script
    #
    
    PS1="[\u@\h \W]$ "
    PATH=/opt/sbin:/opt/bin:/sbin:/bin:/usr/sbin:/usr/bin
    LD_LIBRARY_PATH=/opt/lib:/shares/lib
    
    export PS1 PATH LD_LIBRARY_PATH
    and youre /etc/passwd should look like someting like this

    Code:
    root::0:42000:root:/:/bin/sh
    ron:****encrypted passwd DON'T change***:35001:42000:ron:/opt/home/ron:/opt/bin/bash
    use putty to log in to youre box
    Download here

    Openwrt or Custom Firmware on asus? - http://wl700ge.hezik.nl/ - Http://wl700g.homelinux.net

    My ASUS collection: WL500gp(80GB usb-hdd - Running OpenWrt Kamikaze 7.09) | WL700gE(250GB - Running OpenWrt Kamikaze 8.09rc1)

  11. #11
    Quote Originally Posted by back2basic View Post
    this also has to be in youre .profile

    Code:
    #
    # Bash initialization script
    #
    
    PS1="[\u@\h \W]$ "
    PATH=/opt/sbin:/opt/bin:/sbin:/bin:/usr/sbin:/usr/bin
    LD_LIBRARY_PATH=/opt/lib:/shares/lib
    
    export PS1 PATH LD_LIBRARY_PATH
    and youre /etc/passwd should look like someting like this

    Code:
    root::0:42000:root:/:/bin/sh
    ron:****encrypted passwd DON'T change***:35001:42000:ron:/opt/home/ron:/opt/bin/bash
    use putty to log in to youre box
    Download here
    THANK YOU THANK YOU THANK YOU its finally working!!!!

    i use mac os terminal but i have this putty too. Mac os also unix based system so i think its ok to use it, cause i did mostly everything in my box trough mac os terminal and its working.

  12. Quote Originally Posted by back2basic View Post
    this also has to be in youre .profile

    Code:
    #
    # Bash initialization script
    #
    
    PS1="[\u@\h \W]$ "
    PATH=/opt/sbin:/opt/bin:/sbin:/bin:/usr/sbin:/usr/bin
    LD_LIBRARY_PATH=/opt/lib:/shares/lib
    
    export PS1 PATH LD_LIBRARY_PATH
    and youre /etc/passwd should look like someting like this

    Code:
    root::0:42000:root:/:/bin/sh
    ron:****encrypted passwd DON'T change***:35001:42000:ron:/opt/home/ron:/opt/bin/bash
    use putty to log in to youre box
    Download here

    Hi,

    I just don't understand one thing: I followed kfurge's instructons regarding rc.local, shells, passwd and profile files. Despite if I reboot the router and connect via telnet, I could just receive an empty line or string, if I release this command echo $LD_LIBRARY_PATH or if I release this, result of echo $PATH is /usr/sbin:/bin:/usr/bin:/sbin
    Situation is almost the same, if I try it in bash, unless value of $PATH is correct (/bin:/sbin:/usr/bin:/usr/sbin::/opt/bin:/opt/sbin), but $LD_LIBRARY_PATH is even empty.

    Why? What did I do wrong?
    Last edited by metamorphose; 29-10-2007 at 18:53.

Similar Threads

  1. Problem with Berkeley db utilities at execution
    By Rodion in forum WL-500g Q&A
    Replies: 0
    Last Post: 22-12-2006, 17:23
  2. WL-500gP and Asus support experience
    By Blezi in forum WL-500gP Q&A
    Replies: 6
    Last Post: 03-12-2006, 13:59
  3. Problem with dieing AIR-connection
    By BòóN in forum WL-500g Q&A
    Replies: 7
    Last Post: 26-10-2004, 13:04

Posting Permissions

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