. |  | Prev | Next

# Network Services

This screen and the one for Sharing are only visible if the drakwizard package is installed. You can choose between several tools to set up different servers. Click on a link below or on the section called “Sharing”to learn more.

Network Services

1. the section called “Configure DHCP”

2. the section called “Configure DNS”

3. the section called “Configure proxy”

4. the section called “Configure time”

5. the section called “OpenSSH daemon configuration”

### Configure DHCP

## drakwizard dhcp

### Note

This tool is broken in Mageia 4 because of new naming scheme for the Net interfaces

This tool[7] can help you to set up a DHCP server. It is a component of drakwizard which should be installed before you can access to it.

#### What is DHCP?

The Dynamic Host Configuration Protocol (DHCP) is a standardized networking protocol used on IP networks that dynamically configures IP addresses and other information that is needed for Internet communication. (From Wikipedia)

#### Setting up a DHCP server with drakwizard dhcp

Welcome to the DHCP server wizard.

1. Introduction

   The first page is just an introduction, click Next.

2. Selecting Adaptor

   Choose the network interface, which is connected to the subnet, and for which DHCP will assign IP addresses, and then click Next.

3. Select IP range

   Select the beginning and ending IP addresses of the range of IPs you want the server to offer, along with the IP of the gateway machine connecting to some place outside the local network, hopefully close to the Internet, then click Next.

4. Summary

   Take a second to check these options, then click Next.

5. Hold on...

   This can be fixed. Click Previous a few times and change things around.

6. Hours later...

#### What is done

- Installing the package dhcp-server if needed;

- Saving `/etc/dhcpd.conf` in `/etc/dhcpd.conf.orig;`

- Creating a new `dhcpd.conf` starting from `/usr/share/wizards/dhcp_wizard/scripts/dhcpd.conf.default` and adding the new parameters:

  - `hname`

  - `dns`

  - net

  - ip

  - `mask`

  - `rng1`

  - `rng2`

  - `dname`

  - `gateway`

  - `tftpserverip`

  - `dhcpd_interface`

- Also modifying Webmin configuration file `/etc/webmin/dhcpd/config`

- Restarting `dhcpd.`

### Configure DNS

## drakwizard bind

This page hasn't been written yet for lack of resources. If you think you can write this help, please contact the Doc team. Thanking you in advance.

You can start this tool from the command line, by typing drakwizard bind as root.

### Configure proxy

## drakwizard squid

This tool[8] can help you to set up a proxy server. It is a component of drakwizard which should be installed before you can access to it.

#### What is a proxy server?

A proxy server is a server (a computer system or an application) that acts as an intermediary for requests from clients seeking resources from other servers. A client connects to the proxy server, requesting some service, such as a file, connection, web page, or other resource available from a different server and the proxy server evaluates the request as a way to simplify and control its complexity. (From Wikipedia)

#### Setting up a proxy server with drakwizard squid

Welcome to the proxy server wizard.

1. Introduction

   The first page is just an introduction, click Next.

2. Selecting the proxy port

   Select the proxy port browsers will connect through, then click Next.

3. Set Memory and Disk Usage

   Set memory and disk cache limits, then click Next.

4. Select Network Access Control

   Set visibility to local network or world, then click Next.

5. Grant Network Access

   Grant access to local networks, then click Next.

6. Use Upper Level Proxy Server?

   Cascade through another proxy server? If no, skip next step.

7. Upper Level Proxy URL and Port

   Provide upper level proxy hostname and port, then click Next.

8. Summary

   Take a second to check these options, then click Next.

9. Start during boot?

   Choose if the proxy server should be started during the boot time, then click Next.

10. Finish

    You're done! Click Finish.

#### What is done

- Installing the package squid if needed;

- Saving `/etc/squid/squid.conf` in `/etc/squid/squid.conf.orig;`

- Creating a new `squid.conf` starting from `squid.conf.default` and adding the new parameters:

  - `cache_dir`

  - `localnet`

  - cache_mem

  - http_port

  - `level` 1, 2 or 3 and `http_access` according to level

  - `cache_peer`

  - `visible_hostname`

- Restarting `squid.`

### Configure time

## drakwizard ntp

This tool[9] purpose is to set the time of your server synchronised with an external server. It isn't installed by default and you have to also install the drakwizard and drakwizard-base packages.

#### Setup a NTP server with drakwizard ntp

1. After a welcome screen (see above), the second one ask you to choose three time servers in the drop down lists and suggests to use pool.ntp.org twice because this server always points to available time servers.

2. The following screens allows to choose the region and the city and then, you arrive on a summary. If something is wrong, you can obviously change it using the Previousbutton. If everything is right, click on the Next button to proceed to the test. It may take a while and you finally get this screen below:

3. Click on the Finish button to close the tool

#### What is done

This tool executes the following steps:

- Installing the package `ntp` if needed

- Saving the files `/etc/sysconfig/clock` to `/etc/sysconfig/clock.orig` and `/etc/ntp/step-tickers` to `/etc/ntp/step-tickers.orig`;

- Writing a new file `/etc/ntp/step-tickers` with the list of servers;

- Modifying the file `/etc/ntp.conf` by inserting the first server name;

- Stopping and starting `crond`, `atd` and `ntpd` services;

- Setting the hardware clock to the current system time with UTC reference.

### OpenSSH daemon configuration

## drakwizard sshd

This tool[10] can help you to set up an SSH daemon.

#### What is SSH?

Secure Shell (SSH) is a cryptographic network protocol for secure data communication, remote command-line login, remote command execution, and other secure network services between two networked computers that connects, via a secure channel over an insecure network, a server and a client (running SSH server and SSH client programs, respectively). (From Wikipedia)

#### Setting up an SSH daemon with drakwizard sshd

Welcome to the Open SSH wizard.

1. Select Type of Configure Options

   Choose Expert for all options or Newbie to skip steps 3-7, click Next.

2. General Options

   Sets visibility and root access options. Port 22 is the standard SSH port.

3. Authentication Methods

   Allow a variety of authentication methods users can use while connecting, then click Next.

4. Logging

   Choose logging facility and level of output, then click Next.

5. Login Options

   Configure per-login settings, then click Next.

6. User Login Options

   Configure the user access settings, then click Next.

7. Compression and Forwarding

   Configure X11 forwarding and compression during transfer, then click Next.

8. Summary

   Take a second to check these options, then click Next.

9. Finish

   You're done! Click Finish.

[7] You can start this tool from the command line, by typing drakwizard dhcp as root.

[8] You can start this tool from the command line, by typing drakwizard squid as root.

[9] You can start this tool from the command line, by typing drakwizard ntp as root.

[10] You can start this tool from the command line, by typing drakwizard sshd as root.

© Mageia
CC BY-SA 3.0

Prev |  | Next
| Home |

- Contents
- Search

- About the Manual for the Mageia Control Center
- Software Management
  - Software Management (Install and Remove Software)
    - Introduction to rpmdrake
    - The main parts of the screen
    - The status column
    - The dependencies
  - Software Packages Update
  - Configure updates frequency
  - Configure Media
    - The columns
    - The buttons on the right
    - The menu
- Sharing
  - Configure FTP
    - What is FTP?
    - Setting up an FTP server with drakwizard proftpd
  - Configure webserver
    - What is a web server?
    - Setting up a web server with drakwizard apache2
- Network Services
  - Configure DHCP
    - What is DHCP?
    - Setting up a DHCP server with drakwizard dhcp
    - What is done
  - Configure DNS
  - Configure proxy
    - What is a proxy server?
    - Setting up a proxy server with drakwizard squid
    - What is done
  - Configure time
    - Setup a NTP server with drakwizard ntp
    - What is done
  - OpenSSH daemon configuration
    - What is SSH?
    - Setting up an SSH daemon with drakwizard sshd
- Hardware
  - Hardware configuration
    - The window
    - The menu
  - Sound Configuration
  - 3D Desktop Effects
    - Introduction
    - Getting Started
    - Troubleshooting
      - Can't See Desktop after Logging in
  - Set up the graphical server
  - Set up the Keyboard Layout
    - Introduction
    - Keyboard Layout
    - Keyboard Type
  - Set up the pointer device (mouse, touchpad)
  - Install and configure a printer
    - Introduction
    - Automatically detected printer
    - No automatically detected printer
    - Complete the installation process
    - Network printer
    - Network printing protocols
    - Device Properties
    - Troubleshoot
    - Specifics
  - Set up scanner
    - Installation
    - Scannersharing
    - Specifics
    - Extra installation steps
  - Set up a UPS for power monitoring
- Network and Internet
  - Network Center
    - Introduction
    - The Monitor button
    - The Configure button
    - The Advanced Settings button
  - Set up a new network interface (LAN, ISDN, ADSL, ...)
    - Introduction
    - A new Wired connection (Ethernet)
    - A new Satellite connection (DVB)
    - A new Cable modem connection
    - A new DSL connection
    - A new ISDN connection
    - A new Wireless connection (WiFi)
    - A new GPRS/Edge/3G connection
    - A new Bluetooth Dial-Up Networking connection
    - A new Analog telephone modem connection (POTS)
    - Ending the configuration
  - Remove a connection
  - Proxy
  - Share the Internet connection with other local machines
    - Principles
    - Gateway wizard
    - Configure the client
    - Stop connection sharing
  - Manage different network profiles
    - Introduction
      - Profiles
      - Draknetprofile
    - Running Draknetprofile
      - Defining profiles, profile switching
      - Using a system that has more than one profile
    - Appendix: Files relevant to Draknetprofile
  - Configure VPN Connection to secure network access
    - Introduction
    - Configuration
  - Hosts definitions
- System
  - Authentication
  - Manage system services by enabling or disabling them
  - Manage, add and remove fonts. Import Windows(TM) fonts
  - Manage date and time
  - Manage localization for your system
    - Input method
  - View and search system logs
    - To do a search in the logs
    - To configure a mail alert
  - Open a console as administrator
  - Users and Groups
  - Import Windows(TM) documents and settings
  - Snapshots
- Network Sharing
  - Access Windows (SMB) shared drives and directories
    - Introduction
    - Procedure
  - Share directories and drives with Samba
    - Introduction
    - Preparation
    - Wizard - Standalone server
    - Wizard - Primary domain controller
    - Declare a directory to share
    - Menu entries
    - Printers share
    - Samba users
  - Access NFS shared drives and directories
    - Introduction
    - Procedure
  - Share drives and directories using NFS
    - Prerequisites
    - Main window
    - Modify entry
      - NFS Directory
      - Host access
      - User ID Mapping
      - Advanced options
    - Menu entries
      - File|Write conf
      - NFS Server|Restart
      - NFS Server|Reload
  - Access WebDAV shared drives and directories
    - Introduction
    - Creating a new entry
- Local disks
  - Manage disk partitions
  - CD/DVD burner
    - Mount point
    - Options
      - user/nouser
  - Share your hard disk partitions
- Security
  - MSEC: System Security and Audit
    - Presentation
    - Overview tab
    - Security settings tab
      - Basic security tab
      - System security tab
      - Network security
      - Periodic checks tab
      - Exceptions tab
      - Permissions
  - Set up your personal firewall
  - Configure authentication for Mageia tools
  - Advanced setup for network interfaces and firewall
  - Parental Controls
    - Presentation
    - Configuring Parental controls
      - Blacklist/Whitelist tab
      - Block Programs Tab
- Boot
  - Set up autologin to automatically log in
  - Set up boot system
  - Set up display manager
- Other Mageia Tools
  - Mageia Bug Report Tool
  - Collect Logs and System Information for Bug Reports
  - Display Available NFS And SMB Shares
  - Display Your PCI, USB and PCMCIA Information

Search