How to Mount smb share to jffs?

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
Gomo
DD-WRT Novice


Joined: 07 Jun 2006
Posts: 17
Location: Australia Brisbane

PostPosted: Thu Sep 21, 2006 14:22    Post subject: How to Mount smb share to jffs? Reply with quote
Hey all ! Before i start thanks for making such great firmware Very Happy

Anyway,
Ive been spending the last few hours playing around with my Buffalo WHR-HP-G54.

I've managed to get it to link to a windows share on my network, however it's mounting it under /tmp/smbshare/

I'm trying to get this working http://www.dd-wrt.com/wiki/index.php/SNMP
so that I can graph RSSI using CACTI,

I've tried using the script but rarther then pointing to /jffs I simply pointed to /tmp/smbshare/wlrate

for the snmp config, however after looking for the OID it would of created, It reports file not found,

All I can guess is that it will only work when the smb share is mounted under /jffs

Can anyone help me here any help would be greatly appreciated,

I am also on msn messenger. gomo@xpuser.net

And yes ive tried using some of these methods on this wiki
http://www.dd-wrt.com/wiki/index.php/Jffs

Like the startup script via smb but it doesnt seem to work same goes for the startup command

Thanks! Cool
Sponsor
darven
DD-WRT Novice


Joined: 26 Nov 2006
Posts: 6

PostPosted: Fri Dec 01, 2006 13:16    Post subject: Reply with quote
I have had similar problems with getting jffs mounted under a samba share...I did get it at one point to link correctly but still had errors when I ran ipkg update. On the positive side some of the file structure was created for the ipkg update on the share. After several small changes and reboots my router stopped accepting the changes I had made..the web interface would tell me that samba was enabled but putty would error out. Jffs also seemed to no longer listen to the gui and I started using the nvram commands to try to get that up and running again. I ended up defaulting the router and have not attempted to get jffs working yet. Figured I'd look around first and see if others had similar problems. Have you managed to get it working under the share?
dicksons
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 980
Location: Coal Creek Canyon, Colorado

PostPosted: Sat Dec 02, 2006 0:48    Post subject: Reply with quote
I remember seeing a post explaining how to do those scripts using NVRAM variables rather than /jffs based scripts

I actually used that method for a time and it worked great

It may have been on the old forum -- I'll try to search it up for you since it's something I'm interested in myself.


PS.

You could try using SP3 beta if you're really brave cause it has RSSI and Noise OIDs built in. (SP3 should be getting much stabler in the next few weeks so not so much courage will be required soon )

_________________
linksys GSv2, Gv4, Gv2, GLv1, G-TM, Buffalo wbr2, whr, whr-hp, whr-g125, wli-tx4-g54hp, Moto wr850gp, Alix.3C2
dicksons
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 980
Location: Coal Creek Canyon, Colorado

PostPosted: Sat Dec 02, 2006 0:53    Post subject: Reply with quote
Found it -- you'll need to twiddle some of the variables below and be mindful of the syntax in the rc_startup variable (punctuation counts...)


Code:

nvram set snmpd_conf="syslocation NE44
syscontact root
sysname WL500G DeLuxe
rocommunity public
rwcommunity private
exec Rate /tmp/snmp.wlrate
exec Noise /tmp/snmp.wlnoise
exec RSSI-CLIENT1 /tmp/snmp.wlrssi1
exec RSSI-CLIENT2 /tmp/snmp.wlrssi2
"

nvram set rc_startup="
/bin/echo \"#!/bin/sh
/usr/sbin/wl rate | /usr/bin/cut -b 9-11
\" > /tmp/snmp.wlrate ; /bin/chmod 755 /tmp/snmp.wlrate
/bin/echo \"#!/bin/sh
/usr/sbin/wl noise | /usr/bin/cut -b 11-12
\" > /tmp/snmp.wlnoise ; /bin/chmod 755 /tmp/snmp.wlnoise
/bin/echo \"#!/bin/sh
/usr/sbin/wl rssi 00:08:0D:42:28:04 | /usr/bin/cut -b 10-11
\" > /tmp/snmp.wlrssi1 ; /bin/chmod 755 /tmp/snmp.wlrssi1
/bin/echo \"#!/bin/sh
/usr/sbin/wl rssi 00:0C:41:BC:5C:A9 | /usr/bin/cut -b 10-11
\" > /tmp/snmp.wlrssi2 ; /bin/chmod 755 /tmp/snmp.wlrssi2
"


nvram commit
reboot


You'll find the OIDs in the same place that the wikki says IIRC...

_________________
linksys GSv2, Gv4, Gv2, GLv1, G-TM, Buffalo wbr2, whr, whr-hp, whr-g125, wli-tx4-g54hp, Moto wr850gp, Alix.3C2
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT 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