TM - SD Mod.. Another one - problem

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next
Author Message
DHC_DarkShadow
DD-WRT Guru


Joined: 22 Jun 2008
Posts: 1444
Location: 3rd rock from the sun

PostPosted: Wed Nov 04, 2009 9:41 pm    Post subject: Reply with quote
barryware wrote:
fggs wrote:
Yes, can be telnet and even Commands tab. I just like ssh because is more secure than telnet and I can see the output real-time and type commands again without having to wait. FYI, telnet acts the same way, I just prefer ssh.


Do I have to actually enable jffs in the gui or can I just mount and bind the sd card? I have already created the directories on the card /jffs/opt

I want to install some of the optware I have been reading about.

mount --bind /mmc/jffs /jffs
mount -o bind /jffs/opt /opt

or do I need to:

mount --bind /mmc/jffs /jffs
mount -o bind /mmc/jffs/opt /opt

do I need to specify the /mmc in the second mount?


Yes enable JFFS in the GUI and put this

Code:
mount --bind /mmc/jffs /jffs
mount -o bind /jffs/opt /opt


in the commands tab and save startup.

_________________
Peacock Thread-FAQ
Firmware Recommendations
Testing Multiple Routers
Optware the right way on a SD Mod
Sponsor
barryware
DD-WRT Guru


Joined: 26 Jan 2008
Posts: 5862
Location: Out'a Here

PostPosted: Wed Nov 04, 2009 9:46 pm    Post subject: Reply with quote
DHC_DarkShadow wrote:

Yes enable JFFS in the GUI andpunt this

Code:
mount --bind /mmc/jffs /jffs
mount -o bind /jffs/opt /opt


in the commands tab and save startup.


What build are you running?

_________________
4 X Wrt54GL V1.1
2 X Wrt54g-TM
1 X Wrt300n V1.1
1 X wrt350n
1 X wrt600n
1 X wrt610n
1 x Wrt54g V3
1 x wrt54g V5
1 x wrt54gs V5
1 x wrt54g V8
1 x wrtgs2 V1
1 X Wap54g V2
1 X Asus RT-N16 OTW
2 X WSB24
6 X +7dbi Antenna's
DHC_DarkShadow
DD-WRT Guru


Joined: 22 Jun 2008
Posts: 1444
Location: 3rd rock from the sun

PostPosted: Wed Nov 04, 2009 9:49 pm    Post subject: Reply with quote
barryware wrote:
DHC_DarkShadow wrote:

Yes enable JFFS in the GUI andpunt this

Code:
mount --bind /mmc/jffs /jffs
mount -o bind /jffs/opt /opt


in the commands tab and save startup.


What build are you running?


13000 - std-nokiad

Was runnin 13000 - big

Switch to see if that was the problem, but no love.

but I am getting alot of problems with it. like it's too much for the cpu to do. I got a special request build i am gonna try. I'll let ya know.

_________________
Peacock Thread-FAQ
Firmware Recommendations
Testing Multiple Routers
Optware the right way on a SD Mod
barryware
DD-WRT Guru


Joined: 26 Jan 2008
Posts: 5862
Location: Out'a Here

PostPosted: Wed Nov 04, 2009 9:59 pm    Post subject: Reply with quote
DHC_DarkShadow wrote:

13000 - std-nokiad

Was runnin 13000 - big

Switch to see if that was the problem, but no love.

but I am getting alot of problems with it. like it's too much for the cpu to do. I got a special request build i am gonna try. I'll let ya know.


Does it see your sd card in that build? I want to run 12874 but as I posted, it doesn't work with the sd card.

I'll try insmod mmc to see if that fixes things. I got the G2 project tonight when I get home so I don't know if I am going to mess with the tm tonight.

_________________
4 X Wrt54GL V1.1
2 X Wrt54g-TM
1 X Wrt300n V1.1
1 X wrt350n
1 X wrt600n
1 X wrt610n
1 x Wrt54g V3
1 x wrt54g V5
1 x wrt54gs V5
1 x wrt54g V8
1 x wrtgs2 V1
1 X Wap54g V2
1 X Asus RT-N16 OTW
2 X WSB24
6 X +7dbi Antenna's
ad5mb
DD-WRT User


Joined: 12 Oct 2008
Posts: 328

PostPosted: Wed Nov 04, 2009 10:01 pm    Post subject: Reply with quote
barryware, consider running packetprotector on that router. Freeradius server for routers. made for WRTSL54GS and other routers with a USB port. IMHO, SD/MMC would be better because SD/MMC is physically more secure than USB.
_________________
Conventional wisdom among radio guys - even if they have less than 5000 posts - is that $1 spent on antennas is worth $10 spent on amplifiers. Solve RF problems with antennas to the greatest extent possible before increasing power.
barryware
DD-WRT Guru


Joined: 26 Jan 2008
Posts: 5862
Location: Out'a Here

PostPosted: Wed Nov 04, 2009 10:05 pm    Post subject: Reply with quote
ad5mb wrote:
barryware, consider running packetprotector on that router. Freeradius server for routers. made for WRTSL54GS and other routers with a USB port. IMHO, SD/MMC would be better because SD/MMC is physically more secure than USB.


Thanks.. I appreciate all the help & tips I can get this part of it being so new to me. I need to crawl before I can walk.. It took hours just to get the card seen by the router.

I'll goggle packetprotector to see what it is all about.. I have never heard of it. I certainly don't know what it does Confused

_________________
4 X Wrt54GL V1.1
2 X Wrt54g-TM
1 X Wrt300n V1.1
1 X wrt350n
1 X wrt600n
1 X wrt610n
1 x Wrt54g V3
1 x wrt54g V5
1 x wrt54gs V5
1 x wrt54g V8
1 x wrtgs2 V1
1 X Wap54g V2
1 X Asus RT-N16 OTW
2 X WSB24
6 X +7dbi Antenna's
DHC_DarkShadow
DD-WRT Guru


Joined: 22 Jun 2008
Posts: 1444
Location: 3rd rock from the sun

PostPosted: Wed Nov 04, 2009 11:26 pm    Post subject: Reply with quote
barryware wrote:
Does it see your sd card in that build? I want to run 12874 but as I posted, it doesn't work with the sd card.


Yes it see's a preformated card, but has problem formatting a fresh card.

_________________
Peacock Thread-FAQ
Firmware Recommendations
Testing Multiple Routers
Optware the right way on a SD Mod
fggs
DD-WRT User


Joined: 28 Jan 2008
Posts: 444

PostPosted: Thu Nov 05, 2009 12:51 am    Post subject: Reply with quote
This should help: http://linux.die.net/man/8/mount

At least to know what bind means and -o option. I've never used bind, but sometimes I use -o. What I really use most of the time is -t to specify the filesystem. Like I said before, the linux in dd-wrt is a little different and I don't know if some options is really available. Did insmod mmc showed something?
barryware
DD-WRT Guru


Joined: 26 Jan 2008
Posts: 5862
Location: Out'a Here

PostPosted: Thu Nov 05, 2009 12:54 am    Post subject: Reply with quote
fggs wrote:
This should help: http://linux.die.net/man/8/mount

At least to know what bind means and -o option. I've never used bind, but sometimes I use -o. What I really use most of the time is -t to specify the filesystem. Like I said before, the linux in dd-wrt is a little different and I don't know if some options is really available. Did insmod mmc showed something?


Dunno... Can't get to it tonight.. Been testing the non-jtag port for a couple of routers for eko. I'll get at it tomorrow evening..

Thanks for all the help & support from everyone.. It means a lot.

_________________
4 X Wrt54GL V1.1
2 X Wrt54g-TM
1 X Wrt300n V1.1
1 X wrt350n
1 X wrt600n
1 X wrt610n
1 x Wrt54g V3
1 x wrt54g V5
1 x wrt54gs V5
1 x wrt54g V8
1 x wrtgs2 V1
1 X Wap54g V2
1 X Asus RT-N16 OTW
2 X WSB24
6 X +7dbi Antenna's
fggs
DD-WRT User


Joined: 28 Jan 2008
Posts: 444

PostPosted: Thu Nov 05, 2009 12:57 am    Post subject: Reply with quote
I really need a spare router to play around with mod and testing..

Good luck with your mod! Wink
barryware
DD-WRT Guru


Joined: 26 Jan 2008
Posts: 5862
Location: Out'a Here

PostPosted: Sat Nov 07, 2009 3:01 pm    Post subject: Reply with quote
I need a little hand holding..

I can't get the sd card to mount /opt. I modified the startup script to reflect an sd card as opposed to a hd.

startup script:

sleep 10 && mount -t ext3 /dev/mmc/disk0/part1 /opt &
n=1
while [ ! -d /opt/etc/init.d ] ; do
sleep 3
[ $n -gt 30 ] && break
let n+=1
done
/opt/etc/init.d/optS

Result from mount:

rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro)
none on /dev type devfs (rw)
proc on /proc type proc (rw)
ramfs on /tmp type ramfs (rw)
/dev/mmc/disc0/part1 on /mmc type ext2 (rw)

I set up the required partitions on the sd card using gparted following the partition info in the wiki..

I must have the syntax wrong in the startup script but it look right to me. Unless I should have formattted the part? with ext3. I used ext2..

_________________
4 X Wrt54GL V1.1
2 X Wrt54g-TM
1 X Wrt300n V1.1
1 X wrt350n
1 X wrt600n
1 X wrt610n
1 x Wrt54g V3
1 x wrt54g V5
1 x wrt54gs V5
1 x wrt54g V8
1 x wrtgs2 V1
1 X Wap54g V2
1 X Asus RT-N16 OTW
2 X WSB24
6 X +7dbi Antenna's
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 893

PostPosted: Sat Nov 07, 2009 5:19 pm    Post subject: Reply with quote
barryware wrote:


startup script:

sleep 10 && mount -t ext3 /dev/mmc/disk0/part1 /opt &
n=1

Result from mount:

rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro)
none on /dev type devfs (rw)
proc on /proc type proc (rw)
ramfs on /tmp type ramfs (rw)
/dev/mmc/disc0/part1 on /mmc type ext2 (rw)


_________________
WHR-G125 x1 Eko 12307M std
WRT54GL x2 Eko 12307M std
WRT610N x1 Eko 13230M big
barryware
DD-WRT Guru


Joined: 26 Jan 2008
Posts: 5862
Location: Out'a Here

PostPosted: Sat Nov 07, 2009 7:57 pm    Post subject: Reply with quote
Thanks LOM.. Fixing the typo's (copy & paste'o's), did not help..

Somehow I think that when the sd card gets mounted on it's own is screwing things up.

The sd card is 2gb.. The status page shows 256mb which is the size of the 1st partition (opt).

I have tried it different ways in regards to ext2, ext3, labeling the partitions, leaving them blank, etc.

So for now.. status quo..

_________________
4 X Wrt54GL V1.1
2 X Wrt54g-TM
1 X Wrt300n V1.1
1 X wrt350n
1 X wrt600n
1 X wrt610n
1 x Wrt54g V3
1 x wrt54g V5
1 x wrt54gs V5
1 x wrt54g V8
1 x wrtgs2 V1
1 X Wap54g V2
1 X Asus RT-N16 OTW
2 X WSB24
6 X +7dbi Antenna's
crashfly
DD-WRT Guru


Joined: 24 Feb 2009
Posts: 653
Location: Sol System > Earth > USA > Arkansas

PostPosted: Sat Nov 07, 2009 9:06 pm    Post subject: Reply with quote
I do know that you cannot have anything else trying to mount the partition if you are going to let the script do it. You may have to check and verify that the "Automatic Drive Mount" under the USB tab is not trying to do something with that partition. If it is, remove it and let the script do its thing.

Edit: Something else you might try is performing those mount commands in the console window. It might give you a clue as to what the error is.

_________________
WRT600n v1.1-mega 13064 BS NEWD2

How to Ask Questions the Smart Way

Read! Peacock thread
*PLEASE* upgrade PAST v24SP1
barryware
DD-WRT Guru


Joined: 26 Jan 2008
Posts: 5862
Location: Out'a Here

PostPosted: Sat Nov 07, 2009 9:10 pm    Post subject: Reply with quote
crashfly wrote:
I do know that you cannot have anything else trying to mount the partition if you are going to let the script do it. You may have to check and verify that the "Automatic Drive Mount" under the USB tab is not trying to do something with that partition. If it is, remove it and let the script do its thing.

Edit: Something else you might try is performing those mount commands in the console window. It might give you a clue as to what the error is.


Thanks Crash... I am not using a USB drive.. I have nothing enabled but MMC in the admin tab.

_________________
4 X Wrt54GL V1.1
2 X Wrt54g-TM
1 X Wrt300n V1.1
1 X wrt350n
1 X wrt600n
1 X wrt610n
1 x Wrt54g V3
1 x wrt54g V5
1 x wrt54gs V5
1 x wrt54g V8
1 x wrtgs2 V1
1 X Wap54g V2
1 X Asus RT-N16 OTW
2 X WSB24
6 X +7dbi Antenna's
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next Display posts from previous:    Page 3 of 8
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum