Too Many Message Boards
Network Access from Linux - Printable Version

+- Too Many Message Boards (https://tmmb.co.nz/forums)
+-- Forum: PC World Forums (https://tmmb.co.nz/forums/forumdisplay.php?fid=86)
+--- Forum: PressF1 (https://tmmb.co.nz/forums/forumdisplay.php?fid=87)
+--- Thread: Network Access from Linux (/showthread.php?tid=3290)



Network Access from Linux - driftwood - 29-07-2024

I have a usb drive located in my wifi modem.
I can access this via my home network from any windows pc & android device in my house.
However, I have been unable to access it from a Linux pc.
Can anyone explain how to achieve this?

Thanks


RE: Network Access from Linux - Wainuitech - 29-07-2024

Yeah its not as easy in linux, have you got samba installed in Linux ( by default its not) on Saying that, What flavor of linux are you using ?

Generally with linux you have to also know the Network IP Address of the device you are trying to get to,  and map a drive.

Have a read, might pay 1st to see if Linux can actually see the Drive ( no idea if any use or not -1st Answer)

https://serverfault.com/questions/160396/listing-available-smb-shares-on-a-network-through-the-command-line-in-linux


Found this Video, no idea if it works or not ???  https://www.youtube.com/watch?v=n7S0EzmN6EI

Edited 2:  in the comments theres a newer video.


RE: Network Access from Linux - driftwood - 29-07-2024

I have installed samba via terminal.
Using Linux Mint 22
I struggle to decipher info in your first link. (Linux is not my 1st language)
The youtube video shows what I want to achieve.
Not sure what version of Linux he is using, but some of his commands are not accepted in my terminal.
Using the terminal always takes me back to trying to get a device driver to work in Windows 3.1


RE: Network Access from Linux - king1 - 29-07-2024

This guide is how I remember doing one a while back

using cifs-utils
How to mount SMB share on Linux Mint - starts about half way down...
https://www.fosslinux.com/92914/how-to-mount-smb-shares-on-linux-mint.htm

The hardest part iirc was getting the mountpoint to start automatically with the PC - this was in Ubuntu, but should be the same process

*update*
This was on Ubuntu
This is the line from my fstab file 
the .local in //server.local/seafiledata was required, without it didn't work
The credentials were in a file that I cant access atm, permissions were messed with to hide from users, but I think it was a simple username and password on lines 1 and 2 - you may not need this if it is an open share

Code:
//nas.local/seafiledata /mnt/SFData cifs credentials=/etc/credentials,rw,uid=1000,gid=1000,nounix,vers=3.0,iocharset=utf8,file_mode=0777,dir_mode=0777,user,auto 0 0

It was not fun getting this up and running, but I got there eventually...

HTH


RE: Network Access from Linux - driftwood - 29-07-2024

Thanks for the help guys, I have made some progress but are not quite there yet.

To make things harder, we lost power for a couple of hours this evening and had to cook tea by candlelight.

I have another issue bugging me with this system.
I use a Logitech Trackball Mouse because of a disability.
It is recognized ok but is way too sensitive.
I can slow it down in the settings, but it reverts back on reboot.
Have to reset after every startup.


RE: Network Access from Linux - Agent_24 - 31-07-2024

IIRC Linux stopped supporting older versions of SMB by default due to security issues but some versions of Windows or some embedded OS (like a router) still use the old protocols to maintain compatibility with old versions of Windows that don't support the newer ones.

So you may need to enable access of the old version. I think. It's been a while.