Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The install locations listed above are the default locations. They might
not be correct for certain Linux distributions. For more information,
see the ldistrib.txt file included in the driver tar.
5. Install the module:
insmod arl1e <parameter>=<value>
6. Assign an IP address to the interface by entering the following, where
x is the interface number:
ifconfig ethx <IP_address>
7. Verify that the interface works. Enter the following, where <IP_address>
is the IP address for another machine on the same subnet as the interface
that is being tested:
ping <IP_address>
Command Line Parameters
=======================
If the driver is built as a module, the following optional parameters are
used by entering them on the command line with the modprobe or insmod command
using this syntax:
modprobe arl1e [<option>=<VAL1>,<VAL2>,...]
insmod arl1e [<option>=<VAL1>,<VAL2>,...]
For example, with two L001 PCIE adapters, entering:
insmod arl1e TxMemSize=80,128
loads the arl1e driver with 8KB TX memory for the first adapter and 10KB TX memory
for the second adapter.
The default value for each parameter is generally the recommended setting,
unless otherwise noted.
NOTES: A descriptor describes a data buffer and attributes related to the
data buffer. This information is accessed by the hardware.
MediaType
Valid Range: 0-4
0 - auto-negotiate at all supported speeds
1 - only link at 100Mbps Full Duplex
2 - only link at 100Mbps Half Duplex
3 - only link at 10Mbps Full Duplex
4 - only link at 10Mbps Half Duplex
Default Value: 0
MediaType forces the line speed/duplex to the specified value in
megabits per second(Mbps). If this parameter is not specified or is set
to 0 and the link partner is set to auto-negotiate, the board will
auto-detect the correct speed.
IntModTimer
Valid Range: 50-65000
Default Value: 100
This value represents the minmum interval between interrupts controller
generated.
RxMemBlock
Valid Range: 16-512
Default Value: 64
This value is the number of receice memory block allocated by the driver.
Increasing this value allows the driver to buffer more incoming packets.
Each memory block is 1536 bytes.
NOTE: Depending on the available system resources, the request for a
higher number of receive descriptors may be denied. In this case,
use a lower number.
TxMemSize
Valid Range: 4-64
Default Value: 8
This value is the number KB of transmit memory allocated by the driver.
Increasing this value allows the driver to queue more transmits.
NOTE: Depending on the available system resources, the request for a
higher number of transmit descriptors may be denied. In this case,
use a lower number.
FlashVendor
Valid Range: 0-2
Default Value: 0
This value standards on vendor of spi flash used by the adapter.
0 for Atmel, 1 for SST, 2 for ST
Additional Configurations
=========================
Configuring the Driver on Different Distributions
-------------------------------------------------
Configuring a network driver to load properly when the system is started is
distribution dependent. Typically, the configuration process involves adding
an alias line to /etc/modules.conf as well as editing other system startup
scripts and/or configuration files. Many popular Linux distributions ship
with tools to make these changes for you. To learn the proper way to
configure a network device for your system, refer to your distribution
documentation. If during this process you are asked for the driver or module
name, the name for the Linux Base Driver for the Atheros AR8121/AR8113 is arl1e
As an example, if you install the arl1e driver for two AR8121/AR8113 adapters
(eth0 and eth1) and set the speed and duplex to 10full and 100half, add the
following to modules.conf:
alias eth0 arl1e
alias eth1 arl1e
options arl1e Speed=10,100 Duplex=2,1
Viewing Link Messages
---------------------
Link messages will not be displayed to the console if the distribution is
restricting system messages. In order to see network driver link messages
on your console, set dmesg to eight by entering the following:
dmesg -n 8
NOTE: This setting is not saved across reboots.
PHP Code:
[root@pc-2 ~]# lspci -v 00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 03) Subsystem: ASUSTeK Computer Inc. Unknown device 82d3 Flags: bus master, fast devsel, latency 0 Capabilities: [e0] Vendor Specific Information
00:01.0 PCI bridge: Intel Corporation 4 Series Chipset PCI Express Root Port (rev 03) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 I/O behind bridge: 0000b000-0000bfff Memory behind bridge: fe800000-fe8fffff Prefetchable memory behind bridge: 00000000d0000000-00000000dff00000 Capabilities: [88] #0d [0000] Capabilities: [80] Power Management version 3 Capabilities: [90] Message Signalled Interrupts: 64bit- Queue=0/0 Enable+ Capabilities: [a0] Express Root Port (Slot+) IRQ 0
00:1a.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4 (prog-if 00 [UHCI]) Subsystem: ASUSTeK Computer Inc. Unknown device 82d4 Flags: bus master, medium devsel, latency 0, IRQ 169 I/O ports at a800 [size=32] Capabilities: [50] Vendor Specific Information
00:1a.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5 (prog-if 00 [UHCI]) Subsystem: ASUSTeK Computer Inc. Unknown device 82d4 Flags: bus master, medium devsel, latency 0, IRQ 50 I/O ports at a880 [size=32] Capabilities: [50] Vendor Specific Information
00:1a.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6 (prog-if 00 [UHCI]) Subsystem: ASUSTeK Computer Inc. Unknown device 82d4 Flags: bus master, medium devsel, latency 0, IRQ 225 I/O ports at ac00 [size=32] Capabilities: [50] Vendor Specific Information
00:1a.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2 (prog-if 20 [EHCI]) Subsystem: ASUSTeK Computer Inc. Unknown device 82d4 Flags: bus master, medium devsel, latency 0, IRQ 225 Memory at fe7ffc00 (32-bit, non-prefetchable) [size=1K] Capabilities: [50] Power Management version 2 Capabilities: [58] Debug port Capabilities: [98] Vendor Specific Information
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller Subsystem: ASUSTeK Computer Inc. Unknown device 82fe Flags: bus master, fast devsel, latency 0, IRQ 66 Memory at fe7f8000 (64-bit, non-prefetchable) [size=16K] Capabilities: [50] Power Management version 2 Capabilities: [60] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable- Capabilities: [70] Express Unknown type IRQ 0
00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 1 (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=04, subordinate=04, sec-latency=0 Prefetchable memory behind bridge: 00000000fdf00000-00000000fdf00000 Capabilities: [40] Express Root Port (Slot+) IRQ 0 Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable+ Capabilities: [90] #0d [0000] Capabilities: [a0] Power Management version 2
00:1f.0 ISA bridge: Intel Corporation 82801JIR (ICH10R) LPC Interface Controller Subsystem: ASUSTeK Computer Inc. Unknown device 82d4 Flags: bus master, medium devsel, latency 0 Capabilities: [e0] Vendor Specific Information
00:1f.2 IDE interface: Intel Corporation 82801JI (ICH10 Family) 4 port SATA IDE Controller (prog-if 8f [Master SecP SecO PriP PriO]) Subsystem: ASUSTeK Computer Inc. Unknown device 82d4 Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 58 I/O ports at 9000 [size=8] I/O ports at 8c00 [size=4] I/O ports at 8880 [size=8] I/O ports at 8800 [size=4] I/O ports at 8480 [size=16] I/O ports at 8400 [size=16] Capabilities: [70] Power Management version 3 Capabilities: [b0] Vendor Specific Information
00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller Subsystem: ASUSTeK Computer Inc. Unknown device 82d4 Flags: medium devsel, IRQ 225 Memory at fe7ff400 (64-bit, non-prefetchable) [size=256] I/O ports at 0400 [size=32]
00:1f.5 IDE interface: Intel Corporation 82801JI (ICH10 Family) 2 port SATA IDE Controller (prog-if 85 [Master SecO PriO]) Subsystem: ASUSTeK Computer Inc. Unknown device 82d4 Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 58 I/O ports at a000 [size=8] I/O ports at 9c00 [size=4] I/O ports at 9880 [size=8] I/O ports at 9800 [size=4] I/O ports at 9480 [size=16] I/O ports at 9400 [size=16] Capabilities: [70] Power Management version 3 Capabilities: [b0] Vendor Specific Information
01:00.0 VGA compatible controller: ATI Technologies Inc RV710 [Radeon HD 4350] (prog-if 00 [VGA controller]) Subsystem: XFX Pine Group Inc. Unknown device 2462 Flags: bus master, fast devsel, latency 0, IRQ 10 Memory at d0000000 (64-bit, prefetchable) [size=256M] Memory at fe8e0000 (64-bit, non-prefetchable) [size=64K] I/O ports at b000 [size=256] Expansion ROM at fe8c0000 [disabled] [size=128K] Capabilities: [50] Power Management version 3 Capabilities: [58] Express Legacy Endpoint IRQ 0 Capabilities: [a0] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
01:00.1 Audio device: ATI Technologies Inc R700 Audio Device [Radeon HD 4000 Series] Subsystem: XFX Pine Group Inc. Unknown device aa38 Flags: bus master, fast devsel, latency 0, IRQ 177 Memory at fe8fc000 (64-bit, non-prefetchable) [size=16K] Capabilities: [50] Power Management version 3 Capabilities: [58] Express Legacy Endpoint IRQ 0 Capabilities: [a0] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
02:00.0 Ethernet controller: Attansic Technology Corp. Atheros AR8121/AR8113/AR8114 PCI-E Ethernet Controller (rev b0) Subsystem: ASUSTeK Computer Inc. Unknown device 8226 Flags: bus master, fast devsel, latency 0, IRQ 11 Memory at fe9c0000 (64-bit, non-prefetchable) [size=256K] I/O ports at cc00 [size=128] Capabilities: [40] Power Management version 2 Capabilities: [48] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable- Capabilities: [58] Express Endpoint IRQ 0
03:00.0 IDE interface: Marvell Technology Group Ltd. 88SE6121 SATA II Controller (rev b2) (prog-if 8f [Master SecP SecO PriP PriO]) Subsystem: ASUSTeK Computer Inc. Unknown device 82e0 Flags: bus master, fast devsel, latency 0, IRQ 169 I/O ports at dc00 [size=8] I/O ports at d880 [size=4] I/O ports at d800 [size=8] I/O ports at d480 [size=4] I/O ports at d400 [size=16] Memory at feaffc00 (32-bit, non-prefetchable) [size=1K] Capabilities: [48] Power Management version 2 Capabilities: [50] Message Signalled Interrupts: 64bit- Queue=0/0 Enable- Capabilities: [e0] Express Legacy Endpoint IRQ 0
05:01.0 Ethernet controller: ADMtek NC100 Network Everywhere Fast Ethernet 10/100 (rev 11) Subsystem: Accton Technology Corporation Unknown device 1216 Flags: bus master, medium devsel, latency 64, IRQ 177 I/O ports at e800 [size=256] Memory at febffc00 (32-bit, non-prefetchable) [size=1K] Expansion ROM at 50000000 [disabled] [size=128K] Capabilities: [c0] Power Management version 2
05:03.0 FireWire (IEEE 1394): Agere Systems FW322/323 (rev 70) (prog-if 10 [OHCI]) Subsystem: ASUSTeK Computer Inc. IEEE 1394a Firewire Controller Flags: bus master, medium devsel, latency 64, IRQ 5 Memory at febfe000 (32-bit, non-prefetchable) [size=4K] Capabilities: [44] Power Management version 2
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.