Ethernet

From MEPIS Documentation Wiki

Jump to: navigation, search

MEPIS comes preconfigured for a standard LAN that uses DHCP to assign IP addresses and DNS resolution. This will work in most cases as-is. If your network does not work, you can change the configuration with the MEPIS Network assistant.

Contents

Fundamentals

Ethernet cards in MEPIS are configured in the file /etc/network/interfaces. Most people probably won't want to manipulate this file directly, but it's important to understand that no matter what tool you use to configure your network card(s), all they are doing is writing information to this file. The file is actually very simple in format and syntax, and not hard to edit in the event that other tools fail. For more information, open Konqueror and type in the address bar:

man:/interfaces

or enter "man interfaces" in a terminal.

When you boot MEPIS, your network adapters are assigned a short name by udev (hotplug, on older versions). For normal wired adapters this is usually eth0 (with subsequent adapters eth1, eth2, eth3, etc). Wireless adapters may be named eth0 or similar, but often get named depending on the chipset used. For instance, atheros cards often show up as ath0, or wireless cards that use NDISwrapper as wlan0.

To find out what cards have been detected and named in your system, type at the command line:

ifconfig -a

If you have a single network card, you can be nearly certain it will be eth0.

Particular chipsets

Configuring your Network settings in older versions

MEPIS 6

  1. Open your Mepis Utilities. You can find it under "settings:/system/", or run the command "mutilities".
  2. Click on "Network Interfaces"
  3. Several network interfaces are shown. Not all of these are present on your system; most likely you only have one or two (if you have a wired and wireless adapters, for instance).
  4. You can start and stop individual adapters here. If you change a setting on an adapter, you will need to stop and start it to take effect. This tab also shows you the address of active adapters, very useful if you're on DHCP.
  5. The DNS tab allows you to manually set DNS information, or choose to get it automatically from your DHCP server.
  6. The WIFI tab allows you to set the settings for your wireless connection, if you have one.
  7. The tabs for individual adapters allow you to specify network settings for each adapter; you can specify a static IP, for instance.
  8. Make sure that "start at boot" is checked for the adapter you have, and unchecked for ones you don't have. This will speed up booting and make sure you stay connected.

MEPIS 3.x or earlier

Deprecated Info

Instructions are the same, but the command is "oscenter" rather than mutilities, and it is not located under "settings:/".

Personal tools
In other languages