You are not logged in.

#1 2023-09-02 23:46

Dracven
Member
Registered: 2023-09-02
Posts: 4

Connecting to a windows server

Hi,

I'm rather new at linux, I've gone into network places and am trying to connect to my windows server to play media etc. I have no idea how to do this.  Everything else I have just used local smb and find it. Can anyone help at all?

Thanks in advance.

Offline

#2 2023-09-03 02:33

nightflier
Member
Registered: 2023-07-11
Posts: 23

Re: Connecting to a windows server

Hi. A little more information would be helpful.
Please read this: https://www.q4os.org/forum/viewtopic.php?id=3502

Offline

#3 2023-09-03 10:12

Dracven
Member
Registered: 2023-09-02
Posts: 4

Re: Connecting to a windows server

I'm using Q4os trinity latest version downloaded yesterday, installed via usb on a 2013 imac. I used full install. Once done I've gone into my network places and cant see my windows server. I am connected to it via ethernet.

Thanks in advance

Offline

#4 2023-09-03 10:32

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,291
Website

Re: Connecting to a windows server

Perform the Debian way, see for example https://www.server-world.info/en/note?o … =samba&f=3

Offline

#5 2023-09-03 12:01

Dracven
Member
Registered: 2023-09-02
Posts: 4

Re: Connecting to a windows server

That looks exceptionally complicated.

Thanks anyway, I thought linux would've been easier than that to see things on the same network.

Offline

#6 2023-09-03 12:07

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,291
Website

Re: Connecting to a windows server

It's not too complicated, just run two commands in terminal:
$ sudo apt -y install smbclient cifs-utils
$ sudo mount -t cifs -o vers=3.0,username=debian '\\smb.srv.world\Share01' /mnt/
Substitute values like username and mountpoint. The share is now mounted in /mnt/ mountpoint.

if share does not require authentication, specify [none] for username
$ mount -t cifs -o vers=3,username=none,password=none '\\smb.srv.world\Share' /mnt

Offline

#7 2023-09-03 12:10

Dracven
Member
Registered: 2023-09-02
Posts: 4

Re: Connecting to a windows server

Will that make my linux machine see my whole server or do I need to do it for each drive on my server?

Offline

#8 2023-09-03 12:13

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,291
Website

Re: Connecting to a windows server

You need to mount each of the shared drives the same way.

Offline

#9 2023-09-03 16:01

nightflier
Member
Registered: 2023-07-11
Posts: 23

Re: Connecting to a windows server

I have found Windows networking to be a moving target. After WXP they have progressively closed more and more security holes and as a result made connecting to a server harder.

On my Q4OS computer with KDE Plasma, all the needed pieces are in place. I can open Dolphin, go to "Network" on the left panel, then select "Shared Folders (SMB)" on the right. There I see my Linux desktop computer and my Raspberry Pi running Kodi. However, my Windows 10 computer does not show up.

To connect to my W10 box, I first get its IP address (on it, run command ipconfig in a cmd window).
Let's say that IP address is "192.168.1.11" (example only, edit as needed).
Next, in the Dolphin address bar type "smb://192.168.1.11".
It presents a user/password dialog.
Once connected, drag the shared folder to "Places" in the left panel and you can just use that in the future. See attached image.

---------------------------------------------
Optional info if you are interested:

I know you said you are using Trinity, not Plasma, but the steps would be similar. Plasma may be a tad heavier, but I think the added features make it worth it, especially for a new Linux user.

To get to Dolphin address bar you can use key combo "Ctrl-l" (lower case L)

To find servers on your network you can use nmap as root user. Install with "apt install nmap".
Let's say your Linux computer has an IP address of 192.168.1.10 (find it with command "ip -a"),
now run command "nmap 192.168.1.0/24"

You will see a list of computers with information about their IP address and open ports. Look for:
139/tcp  open   netbios-ssn.
that indicates that Windows networking is available

Last edited by nightflier (2023-09-03 16:41)


Attachments:
jpg addressbar.jpg, Size: 47.92 KiB, Downloads: 87

Offline

Board footer

Powered by FluxBB