SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
It is my first post to LQ. I recently installed Slackware 14.0 and I like it. It runs on old Thinkpad R51.
TP has fxp and ipw network interface, automatically configured as eth0 and eth1. According to man, interface name can be changed by setiing IFNAME variable in rc.inet1.conf. I tried to add:
But it doesn't work. I don't see eth1 nor wlan0 anymore. It is not an issue at all, but I am just curious did I miss something else.
Welcome to LQ & Slackware! EDIT:I just noticed that the file shown was modified by me. You can still use it as an example by setting your local information.
Look at the original '/etc/rc.d/rc.inet1.conf' comment information at the top. Plus notice how each section provides configurable arguments for suggested interfaces;
If USE_DHCP[interface] is set to "yes", this overrides any other settings.
# If you don't have an interface, leave the settings null ("").
# You can configure network interfaces other than eth0,eth1... by setting
# IFNAME[interface] to the interface's name. If IFNAME[interface] is unset
# or empty, it is assumed you're configuring eth<interface>.
# Several other parameters are available, the end of this file contains a
# comprehensive set of examples.
# Config information for eth0:
# Config information for eth1:
# Config information for eth2:
# Config information for eth3:
# Default gateway IP address:
# Change this to "yes" for debugging output to stdout. Unfortunately,
# /sbin/hotplug seems to disable stdout so you'll only see debugging output
# when rc.inet1 is called directly.
# Example of how to configure a bridge:
# Note the added "BRNICS" variable which contains a space-separated list
# of the physical network interfaces you want to add to the bridge.
## Example config information for wlan0. Uncomment the lines you need and fill
## in your info. (You may not need all of these for your wireless network)
If you did not comment out 'IFNAME="wlan0"' you would be attempting to assign the same name & interface. I would use the original configuration. If you want both eth0 & wlan0 then use 'ifplugd' to control the wired interface when connected or not;
ifplugd <- 'ifplugd is a Linux daemon which will automatically configure your ethernet device when a cable is plugged in and automatically unconfigure it if the cable is pulled. This is useful on laptops with onboard network adapters, since it will only configure the interface when a cable is really connected. ifplugd interfaces with your distribution's native network configuration utilities.'
My interfaces are working. I just tried to change interface name.
I understood it should be possible. Here is part of rc.inet1.conf.
It will create eth0 and eth1. But if I uncomment line 22,
I loose eth1. And wlan0 didn't pop up, as expected.
What is the purpose of IFNAME variable?
1 # /etc/rc.d/rc.inet1.conf
3 # This file contains the configuration settings for network interfaces.
4 # If USE_DHCP[interface] is set to "yes", this overrides any other settings.
5 # If you don't have an interface, leave the settings null ("").
7 # You can configure network interfaces other than eth0,eth1... by setting
8 # IFNAME[interface] to the interface's name. If IFNAME[interface] is unset
9 # or empty, it is assumed you're configuring eth<interface>.
11 # Several other parameters are available, the end of this file contains a
12 # comprehensive set of examples.
13 # =============================================================================
15 # Config information for eth0:
21 # Config information for eth1:
26 DHCP_TIMEOUT=15 # The default timeout for the DHCP client is 10s
29 WLAN_WPAWAIT=10 # In case it takes long for the WPA association
31 # Config information for eth2: