cifs module for the fonera

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Atheros WiSOC based Hardware
Goto page 1, 2  Next
Author Message
paf.goncalves
DD-WRT Novice


Joined: 06 Apr 2007
Posts: 23
Location: Portugal

PostPosted: Fri Apr 13, 2007 9:36 am    Post subject: cifs module for the fonera Reply with quote
where can i get the cifs module for the fonera ?
i downloaded kmod-fs-cifs_2.6.19.2-atheros-1_mips.ipk from the openwrt site, but it's not for the current version of the fonera kernel
Code:
cifs: version magic '2.6.19.2 mod_unload MIPS32_R1 32BIT ' should be '2.6.20.4 mod_unload MIPS32_R1 32BIT '


Paulo
Sponsor
gregorykay
DD-WRT User


Joined: 28 Mar 2007
Posts: 57

PostPosted: Fri Apr 13, 2007 10:37 am    Post subject: Reply with quote
Just wondering, what does the CIFS module do?
_________________
Im looking for a usb power adapter 4 the fonera & an already built serial adapter for the fonera including the wires to connect it to the fonera. I will trade a fonera for either If any one is intrested pm me
buggs187
DD-WRT User


Joined: 06 Nov 2006
Posts: 89
Location: Germany

PostPosted: Fri Apr 13, 2007 10:56 am    Post subject: Reply with quote
CIFS replaces Samba. You can mount a shared folder on another computer to allow you more storage.You can use aircrack-ng and store the capture files on the shared folder not on the fonera itself. thats just one use or add a sd card to the fonera and have local storage once they have the driver ported for the fonera.
gregorykay
DD-WRT User


Joined: 28 Mar 2007
Posts: 57

PostPosted: Fri Apr 13, 2007 8:50 pm    Post subject: Reply with quote
Wow that sounds awesome!
maybe the cifs module at http://www.yomolo.com/wifi/archivos/fonera/mirror/ works try it out.

Once jffs2 and ipkgs fully work, id love to see a tut on how to;
1)enable jffs
2) install ipkgs
3)set up cifs or samba to store captures packets with aircrack and to install ipkgs to mounted cifs

Thanx so much

_________________
Im looking for a usb power adapter 4 the fonera & an already built serial adapter for the fonera including the wires to connect it to the fonera. I will trade a fonera for either If any one is intrested pm me
buggs187
DD-WRT User


Joined: 06 Nov 2006
Posts: 89
Location: Germany

PostPosted: Fri Apr 13, 2007 9:28 pm    Post subject: Reply with quote
i am with you on that. I have openwrt installed on one of my foneras just so i can use aircrack and cifs to store the files on a shared folder.... Which by the way works awsome... As far as router software goes there is nothing better then dd-wrt. just didn't want to sound like a trader since i use openwrt... LOL
BrainSlayer
Site Admin


Joined: 06 Jun 2006
Posts: 4924
Location: Dresden, Germany

PostPosted: Sat Apr 14, 2007 8:48 pm    Post subject: Reply with quote
i removed cifs to get space for jffs
_________________
one cigarette costs 2 minutes of your life.
one bottle of beer costs 4 minutes of your life.
one working day costs 8 hours of your life.
paf.goncalves
DD-WRT Novice


Joined: 06 Apr 2007
Posts: 23
Location: Portugal

PostPosted: Sat Apr 14, 2007 9:05 pm    Post subject: Reply with quote
BrainSlayer, can you put the binaries to download ?
We can load the module from the jffs partition, can't we ?
gregorykay
DD-WRT User


Joined: 28 Mar 2007
Posts: 57

PostPosted: Sun Apr 15, 2007 3:20 am    Post subject: Reply with quote
Cifs should be able to work if you loaded the cifs package from the jffs partition though rite? And Samba should work though right?
_________________
Im looking for a usb power adapter 4 the fonera & an already built serial adapter for the fonera including the wires to connect it to the fonera. I will trade a fonera for either If any one is intrested pm me
goldserve
DD-WRT User


Joined: 07 Jun 2006
Posts: 115

PostPosted: Sun Apr 15, 2007 4:43 am    Post subject: Reply with quote
CIFS definitely works using openwrt so it should work too. Install the following two packages from:

http://ipkg.k1k2.de/index.php?dir=.%2Fpackages%2F
kmod-nls-base_2.6.19.2-atheros-1_mips.ipk
kmod-fs-cifs_2.6.19.2-atheros-1_mips.ipk
paf.goncalves
DD-WRT Novice


Joined: 06 Apr 2007
Posts: 23
Location: Portugal

PostPosted: Sun Apr 15, 2007 7:58 pm    Post subject: Reply with quote
goldserve wrote:
CIFS definitely works using openwrt so it should work too. Install the following two packages from:

http://ipkg.k1k2.de/index.php?dir=.%2Fpackages%2F
kmod-nls-base_2.6.19.2-atheros-1_mips.ipk
kmod-fs-cifs_2.6.19.2-atheros-1_mips.ipk


that's what i have tried, but it doesn't work Sad
the current kernel version of dd-wrt is 2.6.20.4, and it gives an error when trying to load the module (see first post of this thread)
goldserve
DD-WRT User


Joined: 07 Jun 2006
Posts: 115

PostPosted: Sun Apr 15, 2007 8:08 pm    Post subject: Reply with quote
Sorry missed that...you should have a newer module for the new kernel...
paf.goncalves
DD-WRT Novice


Joined: 06 Apr 2007
Posts: 23
Location: Portugal

PostPosted: Mon Apr 16, 2007 8:11 pm    Post subject: Reply with quote
I get it working
Code:
/jffs/bin # mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro)
none on /dev type devfs (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
ramfs on /tmp type ramfs (rw)
devpts on /dev/pts type devpts (rw)
/dev/mtdblock/4 on /jffs type jffs2 (rw)
//192.168.0.4/share on /mnt type cifs (rw,mand,unc=\\192.168.0.4\share,username=paulo,rsize=16384,wsize=57344)

the files are attached. good mounts Laughing
redsector
DD-WRT Novice


Joined: 09 Apr 2007
Posts: 22

PostPosted: Tue Apr 17, 2007 7:14 am    Post subject: Reply with quote
i canoot seek the attached files Smile
could you also post the command line you used?
thanks!
buggs187
DD-WRT User


Joined: 06 Nov 2006
Posts: 89
Location: Germany

PostPosted: Tue Apr 17, 2007 8:00 am    Post subject: Reply with quote
redsector wrote:
i canoot seek the attached files Smile
could you also post the command line you used?
thanks!


You have to be logged in to see the files..
paf.goncalves
DD-WRT Novice


Joined: 06 Apr 2007
Posts: 23
Location: Portugal

PostPosted: Tue Apr 17, 2007 11:39 am    Post subject: Reply with quote
you download the files and put the mount.cifs in the /jffs/bin/ directory and cifs.ko in the /jffs/lib/modules/2.6.20.4/kernel/fs/cifs/ directory


then you do "insmod cifs"
and "mount.cifs //pc/share /mnt -o user=username,pass=password"

that's it
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Atheros WiSOC 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 cannot attach files in this forum
You cannot download files in this forum