Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Software] Network HDD access

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
KevinE
Posts: 2
Joined: 2022-11-14 22:38
Location: Meridian, Idaho

[Software] Network HDD access

#1 Post by KevinE »

I'm running Linux Mint 21 Cinnamon on my desktop computer and Debian GNU/Linux 11 bullseye on my server. Aside from a video driver issue, everything is working great. The one issue that has me stumped is getting access to the data drives on the Debian server. This is my home network. Cisco/Linksys router and switch. I'm retired from IT, networking with Win server, RHEL server and Ubuntu server. This is my first use of Debian server. Any help, suggestions, advice will be greatly appreciated.

User avatar
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 462 times

Re: [Software] Network HDD access

#2 Post by sunrat »

What have you tried? Are there any error messages?
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

User avatar
donald
Debian Developer, Site Admin
Debian Developer, Site Admin
Posts: 1046
Joined: 2021-03-30 20:08
Has thanked: 186 times
Been thanked: 240 times

Re: [Software] Network HDD access

#3 Post by donald »

How is the Debian server set up as a fileserver? NFS, Samba, CIFS?

Do you have the appropriate client tools installed on the desktop to connect to the server?

Can you ping the Debian fileserver from the desktop?
Typo perfectionish.


"The advice given above is all good, and just because a new message has appeared it does not mean that a problem has arisen, just that a new gremlin hiding in the hardware has been exposed." - FreewheelinFrank

KevinE
Posts: 2
Joined: 2022-11-14 22:38
Location: Meridian, Idaho

Re: [Software] Network HDD access

#4 Post by KevinE »

I can ping both NIC's in the server from my desktop and laptops. I am using Samba as that is what I am most familiar with.
As for the appropriate client tools installed on the desktop...not sure.
There have been zero error messages.
As a side note...I have disabled the firewall on the router and the computer's thinking that I may have been a little over security minded.

User avatar
donald
Debian Developer, Site Admin
Debian Developer, Site Admin
Posts: 1046
Joined: 2021-03-30 20:08
Has thanked: 186 times
Been thanked: 240 times

Re: [Software] Network HDD access

#5 Post by donald »

On the desktop:

Start at step 4 of this guide for Mint 21: https://techviewleo.com/configure-samba ... inux-mint/

Install the samba client:

sudo apt-get install samba-client cifs-utils

Test connectivity to the server:

smbclient //sambaserver-ip/share-dir -U sambauser

Mount the share:

sudo mkdir -p /mounts/shares
sudo mount -t cifs -o username=user1 //192.168.100.77/user1 ~/mounts/shares

---- ---- ----

On the Debian Samba Server:

Be sure on the Debian Side that you have set up the user account to connect TO the server:

# smbpasswd -a kevine

# vi /etc/samba/smb.conf
[share]
comment = My shared directory
path = /path_to_shared_directory
valid users = kevine
public = no
writeable =yes

That basic configuration should get you connected, read up on samba for additional security and access configurations.
Typo perfectionish.


"The advice given above is all good, and just because a new message has appeared it does not mean that a problem has arisen, just that a new gremlin hiding in the hardware has been exposed." - FreewheelinFrank

Post Reply