Point your browser to http://192.168.1.1:901 and configure swat. you want to create a new share and point it to /mnt/share. After that you should access the share from your windows machine.
You should not be able to "sh /jffs/begin-here.startup to commands in the webgui and save it as a startup script. So when you reboot the router, it runs everything for us automaticly.
If you get any errors or problems, let me know where you ran into them.
Point your browser to http://192.168.1.1:901 and configure swat. you want to create a new share and point it to /mnt/share. After that you should access the share from your windows machine.
You should not be able to "sh /jffs/begin-here.startup to commands in the webgui and save it as a startup script. So when you reboot the router, it runs everything for us automaticly.
If you get any errors or problems, let me know where you ran into them.
cd /mnt
ls (you want to make sure that your partition mounted here. So look for a folder called lost+found. If it not there then we need to find out why).
I think problem here
root@DD-WRT:/jffs# cd /mnt
root@DD-WRT:/mnt# ls
root@DD-WRT:/mnt#
Sometimes completely unplugging my router and let it set for a minute then power it back on will correct this
With the nothing at /mnt. try this...
reboot the router.
mount /dev/scsi/host0/bus0/target0/lun0/part3 /mnt
then run ls again. If nothing is still there. try to make a directory named share. Run ls again and see if it is there, if it is then reboot, mount it again wtih the command above, and run ls. If it is still there, that tells us that it is mounting and everything is working great and we can continue with getting your hard drive shared.
Directions for (normal) users: using Web-GUI Interface
The steps to enable JFFS through the router web page are very specific. To avoid having to reset and reprogram your router, it's smart to make a backup here of your settings. If you follow these steps exactly, it should not lock up.
1. On the router web page click on Administration.
2. Scroll down until you see JFFS2 Support section.
3. Click Enable JFFS.
4. Click Save.
5. Wait couple seconds, then click Apply.
6. Wait again. Go back to the Enable JFFS section, and enable Clean JFFS.
7. Do not click "Save". Click Apply instead.
The router formats the available space.
8. Wait till you get the web-GUI back, then disable "Clean JFFS" again.
9. Click "Save".
10. It may be wise to Reboot the router, just to make sure
I tried to follow all steps here and before reboot the router, i got access to SWAT ( 192.168.1.1:901 ) but I notice in STATUS page the service was stopped. I tried several times to start the service, but without success ( I also tried to start it manually from Putty ). Then I rebooted the router and can´t access the SWAT anymore.
In the log subdirectory there is no error and the only thing I did diferent is the partions size, order and type ( i changed the scripts to reflect my configuration ).
Any clue ? Should I restart from flashing the firmware again ( I´m using the DD-WRT v24-sp2 (11/30/0 mega(SVN revision 11028M NEWD Eko) and my router is a Linksys 600N v1.1
Joined: 31 Mar 2007 Posts: 181 Location: /Earth/USA/OH/Zville
Posted: Wed Dec 03, 2008 6:18 Post subject:
With my router, I was not able to use jffs with the mega version of dd-wrt. There was just no room for it.
telnet into the router again and see if the stuff that you put in /jffs is still there. If not, then there was just not enough room for it. If this is the case, use Ekos mini-usb build so you have room for jffs. and start from scratch.
Also look in the /tmp directory. Do you see a usb.log? If so, please post it...
I will start over with a smaller build but the stuff in /jffs still there. It seems N600 has enough room to hold the MEGA build. in the usb log there is one error :
root@Kamikaze:/tmp# vi usb.log
USB Device Detected, Attempting to mount and run script
Mounting Swap
/jffs/begin-here.startup: line 39: /jffs/sbin/swapon: not found
Checking and mounting /opt
tune2fs 1.38 (30-Jun-2005)
Setting maximal mount count to 20
Setting interval between checks to 0 seconds
Checking and mounting /mnt
Apparently my first post didn't take. So... long story short this time. I also have a wrt350n and followed the steps listed by emersonvier above. Most things worked but I swapon never seemed to install and I can't access SWAT thought Samba is running (I can see the tmp directory in my win xp network). Any thoughts ?
Joined: 31 Mar 2007 Posts: 181 Location: /Earth/USA/OH/Zville
Posted: Sun Dec 07, 2008 3:54 Post subject:
@bzzbr
Sorry, I did not see you post till now. Good info to know that you had enough space then.
@Draconis2941 & bzzbr
The reason swap is not working is because I made a typo in the script. I am going to upload the script again with the correction. (I also got the ad-block script working, still not sure if it will update automatically. If it does not update, still worth it IMO).
As far as not getting SWAT to load. Check to see if xinetd is running. You can see it running by running top and look for "/opt/sbin/xinetd" in the right hand side. If it is running, and Samba is running then I would think that it is a browser issue. Clear you history and all that stuff and try again.
Please tell me if you have any errors in /mnt/logs/scripts.log. If you do Post it please. _________________ WRT-350N v1.0; 128MB RAM, WPC600N, Dual USB, Mini+USB+FTP NEWD, CPU@330Mhz, Terk WF-R x3, Serial, external jtag, and working on SD Mod. Running Samba3, Lighttpd, and some Python apps.
WRT-300N v1.1; 128MB Ram, USB1.1, Bricked
Looks like it's not running. I tried starting it manually with "/opt/etc/init.d/S10xinetd start" and still no go. I've found the samba config file and have been playing with that trying to get the directory I want, but i'm having trouble getting it right.
Joined: 31 Mar 2007 Posts: 181 Location: /Earth/USA/OH/Zville
Posted: Sun Dec 07, 2008 4:42 Post subject:
Quote:
I'm guessing that means the install didn't take right.
Yea, I'm thinking it did not intsall possibly. Have you tried to installing it again? (/opt/bin/ipkg-opt install xinetd) Does it say nothing to do? Or does it download and install? _________________ WRT-350N v1.0; 128MB RAM, WPC600N, Dual USB, Mini+USB+FTP NEWD, CPU@330Mhz, Terk WF-R x3, Serial, external jtag, and working on SD Mod. Running Samba3, Lighttpd, and some Python apps.
WRT-300N v1.1; 128MB Ram, USB1.1, Bricked