Mount a network path on openwrt running on raspberry pi 4

Hello,

I have openwrt running on Raspberry Pi 4.
I have a network path I would like to mount on openwrt.
On my other normal linux computers I run below and it works.

sudo mount -t cifs -o username=USERNAME //192.168.0.215/Downloads /mnt/windows

However on openwrt when I run it, I get error,

mount: mounting //192.168.0.215/Downloads on /mnt/windows failed: No such device

Any thoughts?

opkg update; opkg install kmod-fs-cifs cifsmount

Thank you that worked!.
If I may bring up another issue related to this.
I am running belew command, to make an image of the entire openwrt.
Same command works on my other Linux systems

dd if=/dev/mmcblk0 of=/mnt/windows/linux_sdcard_image/openwrt.img bs=4M status=progress

But on openwrt I get error.

root@OpenWrt:~# dd if=/dev/mmcblk0 of=/mnt/windows/linux_sdcard_image/openwrt.img bs=4M status=progress
BusyBox v1.36.1 (2024-12-23 00:55:35 UTC) multi-call binary.

Usage: dd [if=FILE] [of=FILE] [ibs=N obs=N/bs=N] [count=N] [skip=N] [seek=N]
        [conv=notrunc|noerror|sync|fsync]
        [iflag=skip_bytes|count_bytes|fullblock|direct] [oflag=seek_bytes|append|direct]

Copy a file with converting and formatting

        if=FILE         Read from FILE instead of stdin
        of=FILE         Write to FILE instead of stdout
        bs=N            Read and write N bytes at a time
        ibs=N           Read N bytes at a time
        obs=N           Write N bytes at a time
        count=N         Copy only N input blocks
        skip=N          Skip N input blocks
        seek=N          Skip N output blocks
        conv=notrunc    Don't truncate output file
        conv=noerror    Continue after read errors
        conv=sync       Pad blocks with zeros
        conv=fsync      Physically write data out before finishing
        conv=swab       Swap every pair of bytes
        iflag=skip_bytes        skip=N is in bytes
        iflag=count_bytes       count=N is in bytes
        oflag=seek_bytes        seek=N is in bytes
        iflag=direct    O_DIRECT input
        oflag=direct    O_DIRECT output
        iflag=fullblock Read full blocks
        oflag=append    Open output in append mode

N may be suffixed by c (1), w (2), b (512), kB (1000), k (1024), MB, M, GB, G

any thoughts?

This option is not supported by the busybox dd version. Remove it or install coreutils-dd.

Thank you. That worked.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.