How to get my Trendnet usb 3 ethernet adapter working

Archived topics about LMDE 1 and LMDE 2
Locked
webtarget
Level 3
Level 3
Posts: 167
Joined: Sat Mar 24, 2012 10:20 am

How to get my Trendnet usb 3 ethernet adapter working

Post by webtarget »

I think my motherboard ethernet port got fried after a storm. So, I thought I'd buy a usb 3 ethernet adapter instead of the "standard" PCI(E) types.

I followed the instructions for installing the driver for my usb adapter, and everything seemed to run fine, but, the adapter doesn't seem to work. When I plug my ethernet cable into the usb adapter, my internet icon just keeps circling trying to obtain an IP address.

I checked that build-essential (suggested from another post) was installed. It was.
I installed the kernel sources via Synaptic Package Manager.
I installed in my /opt directory although documentation suggested Templates. Shouldn't matter, correct?
I re-ran everything again using sudo in front of each command. The first time I followed the instructions, I did have to re-run one instruction(I think) with sudo.


The only thing I didn't check for was the part in the instructions that says:
Note: Please make sure the kernel is built with one of the "Support for
Host-side, EHCI, OHCI, or UHCI" option support.
Does someone know if LMDE v2 is built with the above support?

Any suggestions on how to get the adapter working properly?

Thanks.


These are the instructions for installing the driver that came with my usb ethernet adapter:
================
Prerequisites
================

Prepare to build the driver, you need the Linux kernel sources installed on the
build machine, and make sure that the version of the running kernel must match
the installed kernel sources. If you don't have the kernel sources, you can get
it from http://www.kernel.org or contact to your Linux distributor. If you don't know
how to do, please refer to KERNEL-HOWTO.

Note: Please make sure the kernel is built with one of the "Support for
Host-side, EHCI, OHCI, or UHCI" option support.

================
File Description
================
README This file
ax88179_178a.c AX88179_178A Linux driver main file
axix.h AX88179_178A Linux driver header file
Makefile AX88179_178A driver make file
COPYING GNU GERNERAL LICENSE

===========================
Conditional Compilation Flag
===========================

================
Getting Start
================

1. Extract the compressed driver source file to your template directory by the
following command:

[root@localhost template]# tar -xf DRIVER_SOURCE_PACKAGE.tar.bz2

2. Now, the driver source files should be extracted under the current directory.
Executing the following command to compile the driver:

[root@localhost template]# make

3. If the compilation is well, the ax88179_178a.ko will be created under the current
directory.

4. If you want to use modprobe command to mount the driver, executing the
following command to install the driver into your Linux:

[root@localhost template]# make install


================
Usage
================

1. If you want to load the driver manually, go to the driver directory and
execute the following commands:

[root@localhost template]# modprobe usbnet
[root@localhost template]# insmod ax88179_178a.ko

If you want to unload the driver, just executing the following command:

[root@localhost anywhere]# rmmod axax88179_178a

===============
DRIVER PARAMETERS
===============
The following parameters can be set when using insmod.

msg_enable=0xNNNNNNN
specifies the msg_enable of usbnet.

example: insmod ax88179_178a.ko msg_enable=0x00000000


bszie=xx (0~24)
specifies the the Rx Bulk In Queue size(KB).
The maximum value for this parameters is 24.
The default value is 0 that will use the driver default setting.

ifg=xxx (0~255)
specifies the the Rx Bulk In Queue Inter-Frame-Gap timer. (The timer's unit is 0.25us)
The maximum value for this parameters is 255.
The default value is 0 that will use the driver default setting.

example: insmod ax88179_178a.ko bszie=12
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
webtarget
Level 3
Level 3
Posts: 167
Joined: Sat Mar 24, 2012 10:20 am

Re: Get my Trendnet usb 3 ethernet adapter working [closed]

Post by webtarget »

Gave up! Returning this. I'll just buy a PCI-E type.

Update: Installed it "in 5" and working perfectly. It's unfortunate the usb adapter didn't work. But, I'll leave this post in case someone else knows how to get it working.
Locked

Return to “LMDE Archive”