Page 17 of 19 FirstFirst ... 71516171819 LastLast
Results 241 to 255 of 273

Thread: New 1.0.4.6 based custom firmware

  1. #241
    /var is actually part of the readonly cramfs. /var/run is permanently symlinked into /tmp so any pid files are definitely not being saved across reboots.

    - K.C.

  2. #242

    user rpc not found

    I have just noticed the following error in the system log, not sure if it has been doing it all the time or not. Neither do I know what it means.
    Please can any one tell me if I need to do anything.

    May 23 09:29:44 portmap[802]: user rpc not found, reverting to user bin
    May 23 09:29:44 rpc.statd[808]: Version 1.0.5 Starting
    May 23 09:29:44 rpc.statd[808]: statd running as root. chown /var/lib/nfs/sm to choose different user.


    TIA Chris

  3. #243
    I'd say if NFS is working OK then these warnings can be ignored.

    - K.C.

  4. #244

    how do i upgrade to this firmware?

    the instruktions is gone and asus has no description on how to do it.?

  5. #245
    Quote Originally Posted by isak_l View Post
    the instruktions is gone and asus has no description on how to do it.?
    Instructions are still there. Have you read this thread?

    LK

  6. #246

    Im going mad!

    Hi there,
    Bought a WL-700 eG Yesterday and it looks quite nice to me. Ive bought it becaus of its BT feature. Ive looked in many fora last night about my wl, because i have the feeling bt isnt working like i want it. In this forum ive seen many solution for upgrading firmware. But loads of posts is abacadabra for me! Still i see lots of people upgrading the firmware to Kfurge its version, but i dont have too many experience with linux and telnet. Could somebody make a walktrough or post a link how to upgrade to Kfurge's version. Ive read his website also, but it is still to hard for me. I think this walktrough will help a lot of people like me, who want to share data whit the WL700.
    Hope to hear from someone soon.
    Woffels

    woffels@hotmail.com
    Last edited by Woffels; 02-08-2007 at 10:07.

  7. #247
    Join Date
    Aug 2007
    Location
    Austria
    Posts
    52

    Arrow update your instructions, and commentary

    @ kfurge

    many thanks for your excellent work and investigations !

    as many others i finally worked it out to get a much better WL700g router than ASUS sold me !


    there are a few issues, where i got into trouble and after reading completely this monster-thread, i found all relevant informations how to solve these issues. it seems that most people get into the same troubles if any.
    1. forget to chmod the rc.local
    2. problems when editing /opt/etc/sudoers
    3. continous reboot of the router after editing /etc/passwd while there exists another /shares/MYVOLUME1/__pdc/passwd file with different content.

    this led me to the idea, to update your instructions, and commentary at:
    http://home.comcast.net/~kfurge/wl700ge.html
    in order to prevent others to get in troubles.

    there are only a few steps to watch, my proposal for the updated instructions in Step #5:
    Code:
    Step #5, Making a better system
    1.	Install the bash package for a better shell
    2.	Install the sudo package so you don't have to login as root to perform administrative functions (you can't login as root via ssh anyway)
    3.	Add a non-root <username> account via the web interface
    4.	Give yourself <username> supreme permissions in /opt/etc/sudoers, e.g.
    	# User privilege specification
    	root ALL=(ALL) ALL
    	<username> ALL=(ALL) ALL
    5.	Add /opt/bin/bash to /etc/shells (echo "/opt/bin/bash" >> /etc/shells)
    6.	Give yourself <username> a home directory (mkdir -p /opt/home/<username>; chown <username> /opt/home/<username>)
    7.	Modify /etc/passwd to make /opt/bin/bash your login shell and /opt/home/<username> your home directory (vi /etc/passwd).  See here for a non-functional sample.
    8.	Optionally symlink yourself <username> directory into /shares/MYVOLUME1/MYSHARE1 if you want it accessable via cifs (Samba).  This trick won't work for ftp, nfs or the web interface.  You'll have to make your home directory in /shares/MYVOLUME1/MYSHARE1 if you want full access from all methods. (cd /shares/MYVOLUME1/MYSHARE1; ln -s /opt/home/<username>)
    9.	Within your .profile, add /opt/bin and /opt/lib to your PATH and LD_LIBRARY_PATH environment variables
    10.	Install dropbear and start it manually at first (/opt/etc/init.d/S51dropbear), then via rc.local, see the last rc.local file below.
    11.	Test your configuration if everything works fine and that you can login using ssh too.
    12.	WARNING: Before you test a reboot of your router, change the share management to use PBSA (Password Based Share Access) , then check if there exists the file /shares/MYVOLUME1/__pdc/passwd and remove it (rm /shares/MYVOLUME1/__pdc/passwd), then switch back to UBSA (User Based Share Access) and reboot your router. If everything works well you should be able to login by telnet and ssh.
    13.	Disable telnet from rc.local to completely eliminate any chance of root logins, 
    	WARNING: test ssh login before commenting out utelnetd, otherwise you can lock out yourself of your router!
    14.	Install ncurses, ncursesw, and termcap packages for better terminal support. You may need to use the -force-overwrite option when installing ncurses.
    15.	Install man and man-pages packages, install hdparm package too, if you plan to use the APM features of your HDD


    thanks again,
    best regards,

    --
    tiwag
    Last edited by tiwag; 09-08-2007 at 21:55.

  8. #248
    Thanks for the feedback. The section you referred to was more of a "stream of consciousness" than a step-by-step. I figured that if you'd gotten that far then the rest would be easy. ;-)

    I've cut out your text and will put it on the website soon.

    - K.C.

  9. #249
    7. Modify /etc/passwd to make /opt/bin/bash your login shell and /opt/home/<username> your home directory (vi /etc/passwd). See here for a non-functional sample.

    ** what do i add here? i have no clue Thank you. My username is Bhavdip that i made in the web interface. i can login via telnet. and i am on the "making a better system" and i been stuck on that. Sorry i don't understand unix systems very much. But i have made enhanced-ctorrent work on my router and it is operating great.

  10. #250
    @fullback

    you have to modify it as like this if this is your username (Bhavdip):

    Bhavdip

    root:PASSWORDXXXXX:0:42000:root:/:/bin/sh
    user1:PASSWDORYYYYY:1001:42000:Bhavdip:/opt/home/Bhavdip:/opt/bin/bash
    don't modify all before 1001:42000!!!! thats your password!

    grat182

  11. #251
    Join Date
    Aug 2007
    Location
    Austria
    Posts
    52
    Quote Originally Posted by gratitude182 View Post
    @fullback
    don't modify all before 1001:42000!!!! thats your password!
    the <username> is already set from the system since you've created the user
    e.g. <username>=bhavdip (only lowercase letters !)

    Code:
    root:PASSWORDXXXXX:0:42000:root:/:/bin/sh
    bhavdip:PASSWDORYYYYY:1001:42000:bhavdip:/opt/home/bhavdip:/opt/bin/bash
    let the password unchanged of course !

    brgds

    --
    tiwag
    Last edited by tiwag; 10-08-2007 at 10:19.

  12. #252

    Install man-pages

    [Bhavdip@(none) ~]$ipkg install man-pages
    Installing man-pages (2.33-3) to root...
    Downloading http://ipkg.nslu2-linux.org/feeds/op...3-3_mipsel.ipk
    wget: missing URL
    Usage: wget [OPTION]... [URL]...

    Try `wget --help' for more options.
    Nothing to be done
    An error ocurred, return value: 22.
    Collected errors:
    ipkg_download: ERROR: Command failed with return value 1: `wget -q -P http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/man-pages_2.33-3_mipsel.ipk'
    Failed to download man-pages. Perhaps you need to run 'ipkg update'?
    WARNING: Unable to remove temporary directory: : No such file or directory
    [Bhavdip@(none) ~]$

    _____________________________
    [Bhavdip@(none) ~]$ipkg update
    Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/Packages
    wget: missing URL
    Usage: wget [OPTION]... [URL]...

    Try `wget --help' for more options.
    An error ocurred, return value: 1.
    Collected errors:
    ipkg_download: ERROR: Command failed with return value 1: `wget -q -P http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/Packages'
    WARNING: Unable to remove temporary directory: : No such file or directory

    *** Thank you for your last response i got to log in via shell now! but i can't seem to install man-pages i get this problem can you please help me? thank you guys aging!! I also ran ipkg update and i get message. thank you.

  13. #253
    Tiwag:

    Step 12 in the list you posted would imply erasing the user list afaik. Why is this necessary? I have followed kfurge's step by step list which didn't specify doing anything to delete the user list.

    The problem I have now is that my smb shares have stopped working. Is that what step 12 above is intended to help avoid?

    /LO

  14. #254
    Join Date
    Aug 2007
    Location
    Austria
    Posts
    52
    Quote Originally Posted by AverySimonsen View Post
    Tiwag:

    Step 12 in the list you posted would imply erasing the user list afaik. Why is this necessary? I have followed kfurge's step by step list which didn't specify doing anything to delete the user list.

    The problem I have now is that my smb shares have stopped working. Is that what step 12 above is intended to help avoid?

    /LO
    without following the advice in step 12 my router got crazy after a reboot, it rebooted continously and i could only stop that behaviour with a long (10sec) reset.
    but you can make a backup copy of your previously edited /etc/passwd file and copy it to /shares/MYVOLUME1/__pdc/passwd after switching back to UBSA mode and successful rebooting.
    in the meanwhile, i keep my own passwd.original file (with permissions set to read only, user root, group root) and copy it to /tmp/passwd
    on each reboot by some commands in my rc.local

    this works fine and i don't get a crazy router after switching from and to UBSA mode.

    brgds
    Last edited by tiwag; 26-08-2007 at 22:31.
    tiwag

  15. #255

    I made a mistake....

    Hey i tired to add my own function in the rc.local file
    fi [-x /opt/etc/init.d/S8appWeb]; then
    /opt/etc/init.d/S8appWeb
    if
    if
    ____
    And now i can't telnet into the router....
    i get
    ""telnet> open
    (to) 192.168.1.1
    Trying 192.168.1.1...
    telnet: Unable to connect to remote host: Connection refused
    """ Thank you!!!

Page 17 of 19 FirstFirst ... 71516171819 LastLast

Similar Threads

  1. ksoftirqd_CPU0 eating CPU in firmware 1.0.4.6?
    By Hobi in forum WL-700g Firmware Discussion
    Replies: 10
    Last Post: 12-05-2007, 16:04
  2. Custom firmware image: v1.9.4.6 with telnetd re-enabled
    By db90h in forum WL-530g Firmware Releases
    Replies: 2
    Last Post: 29-01-2007, 13:32
  3. custom firmware based on 1.9.5.0 beta?
    By Teddy in forum WL-500g Custom Development
    Replies: 5
    Last Post: 14-05-2006, 20:08
  4. Custom firmware
    By menno in forum Dutch Discussion - Nederlands
    Replies: 0
    Last Post: 02-04-2006, 14:32
  5. Custom Firmware v1.1.2.7
    By JOCKYW2001 in forum WL-HDD Firmware Releases
    Replies: 59
    Last Post: 11-12-2004, 12:26

Posting Permissions

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