Learn how to share files and directories with other users in your network.
From your desktop, you can access files and directories or certain services on remote hosts or make your own files and directories available to other users in your network. openSUSE® Leap offers the following ways of accessing and creating network shared resources.
Your file manager, GNOME Files, lets you browse your network for shared resources and services. Learn more about this in Section 5.3, “Accessing network shares”.
Using GNOME Files, configure your files and directories to share with other members of your network. Make your data readable or writable for users from any Windows or Linux workstation. Learn more about this in Section 5.4, “Sharing directories”.
openSUSE Leap can be configured to integrate into an existing Windows network. Your Linux machine then behaves like a Windows client. It takes all account information from the Active Directory domain controller, just as the Windows clients do. Learn more about this in Section 5.5, “Managing Windows files”.
You can configure a Windows network printer through the GNOME control center. Learn how to do this in Section 5.6, “Configuring and accessing a Windows network printer”.
You can connect to a network with wired and wireless connections. To view your network connection, click the network icon from the right side of the top bar. Then click
, click the name of the network you want and click . Click the connection name to see more details and access the settings.To learn more about connecting to a network, see Book “Reference”, Chapter 28 “Using NetworkManager”.
Network browsing, be it SMB browsing for Windows shares or SLP browsing for remote services, relies heavily on the machine's ability to send broadcast messages to all clients in the network. These messages and the clients' replies to them enable your machine to detect any available shares or services.
For broadcasts to work effectively, your machine must be part of the same subnet as all other machines it is querying. If network browsing does not work on your machine or the detected shares and services do not meet your expectations, ensure that you are connected to the appropriate subnet.
To allow network browsing, your machine needs to keep several network ports open to send and receive network messages that provide details on the network and the availability of shares and services.
If you try to browse a network while a restrictive firewall is running on your machine, GNOME Files warns you that your security restrictions are not allowing it to query the network.
With your openSUSE Leap machine being an Active Directory client, you can browse, view and manipulate data located on Windows servers. The following examples are the most prominent ones:
Use GNOME Files's network browsing features to browse your Windows data.
Use GNOME Files to display the contents of your Windows user directory as you would for displaying a Linux directory. Create new files and directories on the Windows server.
Many GNOME applications allow you to open files on the Windows server, manipulate them and save them back to the Windows server.
GNOME applications, including GNOME Files, support Single Sign-On. This means that you do not need to re-authenticate when you access other Windows resources. These can be Web servers, proxy servers or groupware servers like Microsoft Exchange*. Authentication against all these is handled silently in the background using the user name and password you provided when you logged in.
To access your Windows data using GNOME Files, proceed as follows:
Open GNOME Files and click
in the navigation pane.Double-click
.Double-click the icon of the workgroup containing the computer you want to access.
Click the computer’s icon (and authenticate if prompted to do so) and navigate to the shared directory on that computer.
To create directories in your Windows user directory using GNOME Files, proceed as you would when creating a Linux directory.
Being part of a corporate network and authenticating against a Windows Active Directory server, you can access corporate resources such as printers. GNOME allows you to configure printing from your Linux client to a Windows network printer.
To configure a Windows network printer for use through your Linux workstation, proceed as follows:
Make sure the CUPS printing service is available and automatically started at boot time:
>
sudo
systemctl enable cups.service>
sudo
systemctl start cups.service
Start the printer configuration by right-clicking the desktop and choosing
and then .
Click root
password.
Click the
button.Select a Windows printer connected via Samba.
To print to the Windows network printer configured above, select it from the list of available printers.