Jest wiele sposobów na konfiguracje oraz ustawianie jak Twój komputer ma zachowywać się w sieci.
Jeśli zmienisz ustawienia twojego połączenia z siecią, albo podłączysz się do innej sieci, niż zwykle, możliwe, że będziesz musiał sam uruchomić połączenie.
Jeśli twoje połączenia sieciowe są zarządzane przez Menedżera Sieci(w większości są), połączenie powinno być uruchomione automatycznie.
Jeśli połączenie nie uruchamia się automatycznie:
Find the Network Manager icon in the notification area. It should look like a small signal strength indicator or a computer monitor and will probably be close to the clock
Right-click the icon and ensure that Enable Networking is ticked
If you have a wireless network connection, also ensure that Enable Wireless is ticked
Left-click once on the Network Manager icon and then click on the network you want to connect to
After a short period you should receive a message which says Connection Established
Obecnie powinieneś być podłączony do sieci.
If you are not connected to a network after following the procedure above:
Ponownie kliknij lewym przyciskiem myszy na ikonie Menedżera Sieci i wciśnij
Select the Connections tab
Tick the box next to your network connection to enable the connection
Proces łączenia się może potrwać chwilę
Naciśnij
ifup is a command-line tool for enabling network connections.
Aby włączyć połączenie sieciowe:
Wybierz
→ → aby otworzyć terminalType sudo ifdown eth1
in the Terminal and press Return, replacing eth1 with the name of your network interface if it is different
Enter your password if prompted
Type sudo ifup eth1
in the Terminal and press Return, again replacing eth1 with the name of your network interface
Po udanym połączeniu powinieneś zobaczyć komunikat podobny do poniższego (liczby mogą być inne):
DHCPACK from 192.168.2.1 bound to 192.168.2.4 -- renewal in 536349522 seconds.
Sometimes you may want to disable a network connection. There are several different ways of achieving this.
It is likely that Network Manager is running your network connections. If so, you must disconnect from the network by disabling your network connection in Network Manager:
Find the Network Manager icon in the notification area. It should look like a small signal strength indicator or a computer monitor and will probably be close to the clock
Right-click the icon and untick Enable Networking
Powinieneś zostać odłączony od sieci
If Network Manager is not running, use the Network Settings tool to disconnect your network connection:
Wciśnij
→ →Select the Connections tab
Untick your network connection to disconnect it
Naciśnij
ifdown is a command-line tool for disabling network connections.
Aby wyłączyć połączenie sieciowe przy użyciu ifdown:
Wybierz
→ → aby otworzyć terminalType sudo ifdown eth1
in the Terminal and press Return, replacing eth1 with the name of your network interface if it is different
Enter your password if prompted
Twoje połączenie sieciowe powinno zostać rozłączone
When connected to a network, your computer can be referred to by its host name. It is possible to change the host name of your computer.
Otwórz
→ → .Kliknij General, i wprowadź nazwę komputera w polu Host name.
Uruchom komputer ponownie, aby zastosować zmiany.
Możesz dzielić pliki i foldery z innymi ludźmi w twojej sieci.
Naciśnij
→ →You may receive a message which says Sharing services are not installed. If this is the case, ensure that the two checkboxes in the message box are checked and press
. Sharing service support will then be downloaded and installed; this may take a while.Select the Shared Folders tab and press
Select the location of the folder you wish to share by changing the Path option
Choose Windows networks (SMB) from the Share through option
Wprowadź nazwę i komentarz dla udostępnionego folderu
If you would like people accessing the shared folder to be able to add, change and remove files in the folder, uncheck Read only. If you leave Read only checked, people will only be able to view files in the folder
Press
to make the shared folder available. Other people on the same network (LAN) as you should now be able to access the folderJeżeli chcesz, aby był możliwy dostęp do folderów znajdujących się na komputerze z Xubuntu, przy użyciu systemu Windows, będziesz musiał wykonać kilka dodatkowych kroków:
Wybierz
→ → aby otworzyć terminalWpisz sudo smbpasswd -a username
, w miejsce „username”wstawiając swoją nazwę użytkownika. Następnie wciśnij klawisz Return, aby wykonać komendę.
![]() |
|
Możesz znaleźć, jaka jest twoja nazwa użytkownika, jeśli w wpiszesz w terminalu |
Kiedy wyświetli się „[sudo] password for username:”, wpisz swoje hasło i ponownie wciśnij klawisz Return.
Kiedy wyświetli się „New SMB password:”, wpisz hasło, którego chcesz używać do dostępu do udostępnionego folderu, a następnie wciśnij klawisz Return. Możesz pozostawić puste hasło, jeśli chcesz aby każdy miał dostęp do tego folderu.
Kiedy wyświetli się „Retype new SMB password:”, wpisz ponownie wybrane hasło i wciśnij klawisz Return
Powinieneś już móc połączyć się z udostępnionymi folderami na komputerze z Xubuntu.
Jeżeli nie możesz połączyć się z udostępnionymi folderami używając Microsoft Windows, to aby uzyskać dostęp, spróbuj użyć adresu IP komputera z Xubuntu zamiast jego nazwy hosta:
Press
→ → and select the Devices tabSelect the name of your network connection from the Network device option list (for example, „eth0”). If you have several network connections, you may have to try this several times.
Make a note of the number in the IP address column. It should consist of four numbers separated by dots (for example, „192.168.2.10”)
Na komputerze z systemem Microsoft Windows wybierz \\ipaddress
w pole tekstowe zamieniając „ipaddress” na adres IP komputera z Xubuntu
Wciśnij
aby połączyć się z udostępnionym folderemIf you are still unable to access the shared folder, check that the folder sharing service is running on the Xubuntu computer:
Press
→ →Find the Folder sharing service (samba) and ensure that the checkbox next to it is checked
Naciśnij
Więcej informacji można uzyskać na społecznościowych stronach pomocy Ubuntu.
A firewall protects a computer system from unauthorized access. It is not normally necessary to install a firewall on an Xubuntu system, because access to the system is closed by default. However, if you run any services that let other computers access yours (for example, the Apache web server), it is advisable to install a firewall. Firestarter is a program that lets you control a firewall through a graphical interface.
Install the Firestarter package from the „Universe” repository (see Rozdział 11, Dodawanie, usuwanie i uaktualnianie programów).
After it is installed, run
→ → to configure your firewall. The firewall will now start in the background when your computer starts.EtherApe pokazuje aktywność sieci pomiędzy różnymi komputerami używając okręgów o zmiennych rozmiarach.
Install the etherape package from the „Universe” repository (see Rozdział 11, Dodawanie, usuwanie i uaktualnianie programów).
Press
→ → .Wireshark is a network traffic analyzer/sniffer that captures packets off the network in real time and displays their contents.
Install the wireshark package from the „Universe” repository (see Rozdział 11, Dodawanie, usuwanie i uaktualnianie programów).
Press
→ →