CIFS module not in Ubuntu Server kernel

Hi,

The kernel, including cifs, is updated.

For testing, Here we use system image, rockpi4_debian_stretch_lxde_armhf_20181105_2120-gpt.img.

And I do the steps shown in https://wiki.radxa.com/Rockpi4/radxa-apt, which includes updating packages like rockchip-fstab, rockchip-overlay, u-boot, kernel an so on.

Test 1, ROCK Pi 4 as Server, Ubuntu 16.04 PC as Client

  • ROCK Pi 4 Server
sudo apt-get install cifs-utils
sudo apt-get install samba

Add the contents at the end of file, /etc/samba/smb.conf

[rockpi4_share]
comment = Home Public Folder
browseable = yes
path = /home/linaro/share
create mask = 0777
guest ok = yes
read only = no
  • Ubuntu 16.04 PC Client
mkdir /data/rockpi4
sudo mount -t cifs //192.168.1.8/rockpi4_share /data/rockpi4 -o guest

ls /data/rockpi4

In directory /data/rockpi4, we can see files shared by ROCK Pi 4.

Test 2, Ubuntu 16.0 PC as Server, ROCK Pi 4 as Client

  • Ubuntu 16.0 PC Server
sudo apt-get install samba

Add the contents at the end of file, /etc/samba/smb.conf

[sandara_share]
comment = Home Public Folder
browseable = yes
path = /data/sandara_share
create mask = 0777
guest ok = yes
read only = no
  • ROCK Pi 4 Client
cd /home/linaro
mkdir sandara
sudo mount -t cifs //192.168.1.100/sandara_share /home/linaro/sandara -o guest

In directory /home/linaro/sandara, we can see files shared by Ubuntu 16.04 PC.

1 Like