:   Remember me     or  register yourself!
Advertisement
Home  arrow  Articles   arrow  Fun with La Fonera   arrow  3 Mounting network drives using standard firmware
Fun with La Fonera
Previous  1  2  3  4  5  6  A  Next 
3 Mounting network drives using standard firmware


Using the original fonera source code I compiled some packages that are normally not available for La Fonera. The packages should work if you have a 2.4.32 kernel. Check it with:
# cat /proc/version
Linux version 2.4.32 (iurgi@ropero) (gcc version 3.4.6 (OpenWrt-2.0)) #9 jue nov 23 12:11:45 UTC 2006


For this you have got to have console acces. Please see previous chapter to gain this acces on your Fonera.

Mounting a Windows network share using CIFS

1)Log on to La Fonera
2)Install kmod-fs-cifs:
# ipkg install http://www.circuitdb.com/fon/0.7.1-r5/packages/kmod-fs-cifs_2.4.32-ar531x-1_mips.ipk
Downloading http://www.circuitdb.com/fon/0.7.1-r5/packages/kmod-fs-cifs_2.4.32-ar531x-1_mips.ipk
Installing kmod-fs-cifs (2.4.32-ar531x-1) to root...
Configuring kmod-fs-cifs
Done.

3)Mount a share:
# mount -t cifs DataShare /mnt -o unc="\\\\192.168.1.200\\Data (E)",ip=192.168.1.200,user=<username>,pass=<password>
#

The name after -t cifs command can be anything you like to identify the share.
I found out that this also worked in my share as i have no restrictions on my share:
# mount -t cifs DataShare /mnt -o unc="\\\\192.168.1.200\\Data (E)",user=dummy
#

4)View the mount points:
# mount
/dev/root on /rom type squashfs (ro)
none on /dev type devfs (rw)
none on /proc type proc (rw)
none on /tmp type tmpfs (rw,nosuid,nodev)
none on /dev/pts type devpts (rw)
/dev/mtdblock/3 on /jffs type jffs2 (rw)
/ on / type mini_fo (rw)
DataShare on /mnt type cifs (rw,nodiratime,unc=\\192.168.1.200\Data)

5)Look at the data:
# ls /mnt
Audio System Volume Information Documents Video
Downloads Photos Mail RECYCLER
svn

6)Unmount:
# umount /mnt
#


Mounting NFS (Network File System)

1)Log on to La Fonera
2)Install kmod-fs-nfs:
# ipkg install http://www.circuitdb.com/fon/0.7.1-r5/packages/kmod-fs-nfs_2.4.32-ar531x-1_mips.ipk
Downloading http://www.circuitdb.com/fon/0.7.1-r5/packages/kmod-fs-nfs_2.4.32-ar531x-1_mips.ipk
Installing kmod-fs-nfs (2.4.32-ar531x-1) to root...
Configuring kmod-fs-nfs
Done.

3)Mount a share:
# mount -t nfs 192.168.1.254:/var/data /mnt
#

4)View the mount points:
# mount
/dev/root on /rom type squashfs (ro)
none on /dev type devfs (rw)
none on /proc type proc (rw)
none on /tmp type tmpfs (rw,nosuid,nodev)
none on /dev/pts type devpts (rw)
/dev/mtdblock/3 on /jffs type jffs2 (rw)
/ on / type mini_fo (rw)
192.168.1.254:/var/data on /mnt type nfs (rw,v3,rsize=32768,wsize=32768,hard,udp
,lock,addr=192.168.1.254)

5)Look at the data:
# ls /mnt
Audio System Volume Information Documents Video
Downloads Photos Mail RECYCLER
svn

6)Unmount:
# umount /mnt
#


Previous  1  2  3  4  5  6  A  Next