Mr-Protocol Posted December 13, 2009 Share Posted December 13, 2009 Just flashed fon with jasager firmware and when do ls in the telnet it works. i passwd and reboot, login to ssh and it will not let me ls. Does not show any files or directories. WinSCP see's all the files though. ifconfig show me my br-lan, eth0, lo cd doesn't work, ls doesnt work. any clue as to what i need to do to fix plz? Quote Link to comment Share on other sites More sharing options...
nmaas87 Posted December 13, 2009 Share Posted December 13, 2009 hu o.o thats quite interessting... mh... try reflashing again with the fonflash from gargoyle. i had some simliar issue that got resolved with that. Quote Link to comment Share on other sites More sharing options...
digininja Posted December 13, 2009 Share Posted December 13, 2009 What happens when you run ls or cd? Quote Link to comment Share on other sites More sharing options...
Mr-Protocol Posted December 14, 2009 Author Share Posted December 14, 2009 What happens when you run ls or cd? When I run ls it doesn't list any directories after I passwd in telnet. Just gives me a root@xxx prompt to give another command. When I run cd it said something like it could not change to the directory. This site briefly talks about an issue. I guess they think it's something with not mounting properly. http://www.myopenrouter.com/forum/thread/1...ing-in-OpenWRT/ I tried reflashing with openWrt 7.09 files, the firmware again. Same issue. Telnet works... SSH does not show anything for those 2 commands. But ifconfig shows the adaptors... very odd. According to that link's list of mounted items: rootfs on / type rootfs (rw) /dev/root on /rom type squashfs (ro) none on /dev type devfs (rw) proc on /proc type proc (rw) tmpfs on /tmp type tmpfs (rw,nosuid,nodev) devpts on /dev/pts type devpts (rw) /dev/mtdblock/4 on /jffs type jffs2 (rw) mini_fo:/jffs on / type mini_fo (rw) This is what i get when i type mount: rootfs on / type rootfs (rw) /dev/root on /rom type squashfs (ro) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) tmpfs on /tmp type tmpfs (rw,nosuid,nodev,size=6884k) tmpfs on /dev type tmpfs (rw,size=512k) devpts on /dev/pts type devpts (rw,mode=600) /dev/mtdblock2 on /jffs type jffs2 (rw) mini_fo:/jffs on / type mini_fo (rw) not sure it that helps at all. Going to try the gargoyle flash now. --Edit: Nope flashing with your firmwre with gargoyle didnt work either... same symptoms.. wtf :| WinSCP sees all the files, but there was an error it had saying pwd returned an error. I'm going to just delete all files i can, reflash, and hope for the best... --Edit: WinSCP cannot delete any files due to return code 1 and error message. Invalid Argument. Or file is Read Only. Also i see a lot of -ash: rm: not found Cannot change directories in WinSCP too. It's like it doesnt know what the commands are... Should i start making my serial cable? http://www.dd-wrt.com/wiki/index.php/LaFon...console_adapter Got all the parts already. Quote Link to comment Share on other sites More sharing options...
Mr-Protocol Posted December 14, 2009 Author Share Posted December 14, 2009 Ok, apparently I was tired and way over analyzing this. I was by default in the /root folder which doesn't have a var directory or tmp. I did a cd / and went to the root of the drive. What a shock my folders and files exist. Sorry for confusing the hell out of everyone. Sometimes basics get forgotten lol. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.