Configuration d'une connexion réseau

From MorphOS Library

Revision as of 09:22, 18 February 2016 by Beworld (talk | contribs) (Created page with "In order to browse the internet, check e-mail or download software, a network connection must be configured. It is assumed in this guide that you have a standard setup with a...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

In order to browse the internet, check e-mail or download software, a network connection must be configured.

It is assumed in this guide that you have a standard setup with a router to which all computers are connected. If you have a different setup, and/or experience trouble configuring your connection, please ask for help if needed.


Setting up Hardware

Wired connections (ethernet)

Connect one end of a network cable to a spare port on your router, and the other end into the network port of your system. If your system has more than one network port (eg Pegasos 2 has two onboard network ports) make sure to note which port is used.


Wireless connections (WLan)

For PCMCIA or PCI cards, ensure the wireless networking hardware is connected prior to booting the computer.


Setting up Software

Boot your MorphOS system.

Ensure that the network interface you wish to use is enabled:

  • RMB on desktop>Settings>System..>Network
  • In the Network Interfaces tab, you should see one entry for each network interface available. (There is also an entry for loopback, but you can ignore this. It is enabled by default, leave it alone.)
    • Find the entry for the connection you wish to use, and ensure the radio button for that connection is checked (eg eth0, wl0).


Automatic configuration (DHCP)

MorphOS included network stack supports automatic configuration via DHCP. If your router is set to automatically configure attached devices (ie DHCP server is enabled) then your network connection should configure itself after booting with no user input.

If your router is not set up to automatically configure attached devices, or your system fails to obtain an IP address from the router, see the 'Manual configuration' section.


Manual configuration

MorphOS makes configuration of the network connection very simple.

You will need to know your router's IP address (eg 192.168.0.1), and an available IP address to use for your MorphOS system (eg 192.168.0.101).

RMB on desktop>Settings>System..>Network

In the Network Interfaces tab:

  • Expand the entry for your network connection (On mac-mini this is sungem_eth, Pegasos 2 rhinevia, blah, etc);
  • Enter an IP address for your MorphOS system (eg 192.168.0.101);
  • Enter Subnet Mask (eg 255.255.255.0);
  • Enter Gateway - your router's IP address (eg 192.168.0.1).


In the Host and DNS tab:

  • (Optional) Enter a hostname to identify your system on the network (This should be a unique name on your local network). Ideally this should be 8 characters or less.
  • Enter at least one, and up to 2 DNS server addresses (On a standard network, entering your router's IP address should be sufficient).
  • Hit 'Save' and close the System Preferences pane.


Wired connections

A wired ethernet connection should now successfully connect to the network, no further user action is needed.


Wireless network connections

You now need to tell MorphOS to connect to your network, and enter the password if necessary.

MorphOS networking allows settings for multiple wireless networks to be configured. These will be remembered, enabling simple roaming between multiple wireless networks.

WPA/WPA2 security is supported along with 54mbps (wireless g) transfer speeds, making MorphOS interoperable with most public and private wireless networks.

RMB on desktop>Settings>System..>Network Select the Network Interfaces tab:

  • Expand the entry for your network connection (eg wl0);
  • A box should appear listing the names (SSIDs) of the wireless networks currently within range of the interface;
  • Double-click on the network you wish to join;
  • Enter the Network Security Password at the prompt (if network is secured);

The indicator lamp next to your chosen network name (SSID) should now turn green to indicate connection status.

  • If you need to re-enter your Network Security Password (either through mis-spelling the password, or changing your network) right click on the SSID and select 'Forget' from the context menu. You can now re-enter a Network Security Password following the steps listed above.


Notes:

  • If roaming between networks, automatic configuration by DHCP is strongly recommended. If using manual configuration you will probably have to change your IP address to ensure a valid configuration for each network.
  • When last tested G+ speeds (128mbps) were not supported - if your router and WLan card support this mode, it should be disabled in your router settings to avoid any problems.)