Modprobe command didn't present Ubuntu Server 18.04

Hi Team,
Modprobe command didn’t present Ubuntu Server 18.04.
I checked with pc sever os this command is present but rock pi server os not available.
How to solve this issue ?
Why this command not present in ubuntu Server 18.04 os ?

Regards
Vasu

sudo modprobe perhaps?

Hi igorp,
We are trying to attach 4G LTE module to ROCK PI 4 using USB interface.
We need to give vendor id and product id using modprobe command.
When i try sudo modprobe error is coming
bash - command not found
I check with /sbin/modprobe/ but this command didn’t present.
Not only modprobe insmod,rmmod commands also not present.
What was the issue rock pi ubuntu server os not supports modprobe (other kernel modules) commands ?

Hey my guy, try Armbian’s images (I’m using stretch, not buster) and see if that’ll work out for you instead… https://www.armbian.com/rock-pi-4/

https://dl.armbian.com/rockpi-4b/Debian_stretch_default.7z (<- this is the one that I use)

I tested ‘sudo modprobe -h’ on my current home debian stretch server, looks to be working just fine.

hi Kopono,

I tried to run modprobe on my board and got the desired result:

rock@rockpi:~ $ cat /etc/issue
Ubuntu 18.04.3 LTS \n \l
rock@rockpi:~ $ sudo modprobe -V
kmod version 24
-XZ -ZLIB -EXPERIMENTAL
rock@rockpi:~ $

Maybe you need to execute

sudo unminimize

Hi setq,
We got this response.

   rock@linux:~$ cat /etc/issue
   Ubuntu 18.04.3 LTS \n \l

   rock@linux:~$ sudo modprobe -V
   sudo: modprobe: command not found
   rock@linux:~$ 

What was the issue ?

If i execute also there is no use.

Broken image.

Use Armbian as already proposed. It 100% works.

try

sudo apt-get install kmod
dpkg -L kmod
/.
/bin
/bin/kmod
/etc
/etc/init
/etc/init/kmod.conf
/etc/init.d
/etc/init.d/kmod
/etc/modprobe.d
/etc/modprobe.d/mlx4.conf
/etc/modprobe.d/iwlwifi.conf
/etc/modprobe.d/blacklist-framebuffer.conf
/etc/modprobe.d/blacklist-ath_pci.conf
/etc/modprobe.d/blacklist-watchdog.conf
/etc/modprobe.d/blacklist-firewire.conf
/etc/modprobe.d/blacklist-rare-network.conf
/etc/modprobe.d/blacklist.conf
/etc/depmod.d
/etc/depmod.d/ubuntu.conf
/sbin
/lib
/lib/modprobe.d
/lib/modprobe.d/aliases.conf
/usr
/usr/share
/usr/share/doc
/usr/share/doc/libkmod2
/usr/share/doc/libkmod2/TODO
/usr/share/doc/libkmod2/README
/usr/share/bash-completion
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/kmod
/usr/share/man
/usr/share/man/fr
/usr/share/man/fr/man5
/usr/share/man/fr/man5/modules.5.gz
/usr/share/man/man8
/usr/share/man/man8/lsmod.8.gz
/usr/share/man/man8/modprobe.8.gz
/usr/share/man/man8/insmod.8.gz
/usr/share/man/man8/depmod.8.gz
/usr/share/man/man8/kmod.8.gz
/usr/share/man/man8/modinfo.8.gz
/usr/share/man/man8/rmmod.8.gz
/usr/share/man/man5
/usr/share/man/man5/modules.dep.5.gz
/usr/share/man/man5/modules.5.gz
/usr/share/man/man5/modprobe.d.5.gz
/usr/share/man/man5/depmod.d.5.gz
/usr/share/initramfs-tools
/usr/share/initramfs-tools/hooks
/usr/share/initramfs-tools/hooks/kmod
/bin/lsmod
/sbin/lsmod
/sbin/rmmod
/sbin/modprobe
/sbin/modinfo
/sbin/depmod
/sbin/insmod
/usr/share/doc/kmod
/usr/share/man/man5/modules.dep.bin.5.gz

Hi jack,
Thank you for your reply,
Now modprobe command is working fine.

Regards,
Vasu