Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
I bought a Trendnet TU2-ETG USB to Gigabit ethernet adapter but I didn't check OS compatibility.
Does anyone know if I can make it work under Ubuntu or Debian ?
(linux not supported by Trendnet for this product)
some quick googling told me what kind of chipset that device uses, below is the link to the drivers, but before you got off and try installing the driver do a 'lsmod | grep asix'...if you get nothing then do a 'modprobe asix' to load the driver and see if you can get any further
Well, I didn't open the package and, if possible, I would like to know before I do it because, if I can't use it, I will return it and have a refund ...
I had a look at the link you posted. As my kernel is 2.6.32-40, it seems that the suggested driver should work ...
Do you think it's worth trying to install the adapter ?
then what was the point of making this thread if you havent tried it? even if you opened the package you can return it regardless of if it worked or not, retailers just send it back to the MFG
just open it up and pop it in and we'll be here to assist if you run into complications
ok. so I plugged it.
It's seen as eth2. I can assign an IPV4 address. It can ping itself but I have no link with the lan (Destination Host Unreachable) ... Of course, when I configure it with DHCP, it can't get an address.
Code:
odjb@RHCP:~$ lsusb
Bus 007 Device 005: ID 10d5:000d Uni Class Technology Co., Ltd
Bus 007 Device 004: ID 09da:032b A4 Tech Co., Ltd
Bus 007 Device 003: ID 046a:0021 Cherry GmbH
Bus 007 Device 002: ID 058f:9254 Alcor Micro Corp. Hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 18a5:022e
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 14cd:125b Super Top
Bus 001 Device 003: ID 058f:6387 Alcor Micro Corp. Transcend JetFlash Flash Drive
Bus 001 Device 002: ID 0409:0058 NEC Corp. HighSpeed Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
odjb@RHCP:~$ lsmod | grep asix
asix 14996 0
usbnet 18052 1 asix
mii 5237 3 asix,usbnet,r8169
not sure how deep your networking experience goes but if you assign a static address you'll also need to assign the default gateway and any DNS servers
DHCP issues could point to a few things like firewall blocking return packets to network scripts being misconfigured
post more info about distro and window manager so we can help
he uses "network-admin" which is a Gnome tool but as said above, I have no GUI ...
but it's fine to know that someone could make it work.
Quote:
not sure how deep your networking experience goes but if you assign a static address you'll also need to assign the default gateway and any DNS servers
DHCP issues could point to a few things like firewall blocking return packets to network scripts being misconfigured
I'm pretty sure I don't need nor gateway neither DNS server as I'm only trying to make it work on the LAN (works fine with onboard adapter).
About DHCP, again, it works fine with the onboard network adapter ...
I'd also add that I don't use any firewall at home and it doesn't work.
I also tried the following test :
connecting the adapter, on machine A, straight to a Ubuntu machine B. pinging from A. tcpdump on B -> I can't catch anything
As I catch some broadcast traffic from A, it seems it can receive but can't transmit ... (?)
Hi,
Anyone has an idea ? I finally open the package. I'm not at all sure I can have a refund if I return it. So, I'm stuck and I would be very if I could make it work ...
you say its seen as eth2 which means its working at a hardware level - you also said you can assign a static address
so with that being said post the output of 'ifconfig' and 'route' or 'netstat -r'
the Destination Host Unreachable message means you have no route to whatever you're trying to ping - so you'll either need a gateway or a static route in place
but again, i need to see the output of the above commands before i can give a solid answer
No need to return the card as if it's recognised as eth2, IT WORKS !
Quote:
Originally Posted by odjb
I'm pretty sure I don't need nor gateway neither DNS server as I'm only trying to make it work on the LAN (works fine with onboard adapter).
About DHCP, again, it works fine with the onboard network adapter ...
I'd also add that I don't use any firewall at home and it doesn't work.
Well this depends on your network, but usually you always have to have this .
If you connect your local LAN to a router,
this is the DNS server and the Gateway.
Without a gateway, your card won't have a hop to forward the packets to.
Also you might need to disable your onboard card as the onboard one will be eth0 and used as the "main" nic.
What is the output of "ifconfig" with the onboard nic disabled and only the usb-card connected ?
**edit : didn't see joker20 posted already, but at last seems we think the same
So, here are the results of the requested commands. Although I disabled the onboard ethernet adapter in the BIOS, it sees the Trendnet USB adapter as eth1 (eth0 not found - there was a typo in my previous posts as it always appeared as eth1 and not eth2 as I mentionned before).
Of course, eth1 is configured as static as i can't get an IP address through DHCP.
Code:
root@RATM:~# ifconfig
eth1 Link encap:Ethernet HWaddr 00:50:b6:08:40:13
inet adr:192.168.18.150 Bcast:192.168.18.255 Masque:255.255.255.0
adr inet6: fe80::250:b6ff:fe08:4013/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1681 errors:0 dropped:0 overruns:0 frame:0
TX packets:83 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:170141 (166.1 KiB) TX bytes:5706 (5.5 KiB)
lo Link encap:Boucle locale
inet adr:127.0.0.1 Masque:255.0.0.0
adr inet6: ::1/128 Scope:Hôte
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:145 errors:0 dropped:0 overruns:0 frame:0
TX packets:145 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:13088 (12.7 KiB) TX bytes:13088 (12.7 KiB)
root@RATM:~# netstat -r
Table de routage IP du noyau
Destination Passerelle Genmask Indic MSS Fenętre irtt Iface
192.168.18.0 * 255.255.255.0 U 0 0 0 eth1
default 192.168.18.254 0.0.0.0 UG 0 0 0 eth1
root@RATM:~# ping 192.168.18.254 -c 10
PING 192.168.18.254 (192.168.18.254) 56(84) bytes of data.
From 192.168.18.150 icmp_seq=1 Destination Host Unreachable
From 192.168.18.150 icmp_seq=2 Destination Host Unreachable
From 192.168.18.150 icmp_seq=3 Destination Host Unreachable
From 192.168.18.150 icmp_seq=4 Destination Host Unreachable
From 192.168.18.150 icmp_seq=5 Destination Host Unreachable
From 192.168.18.150 icmp_seq=6 Destination Host Unreachable
From 192.168.18.150 icmp_seq=7 Destination Host Unreachable
From 192.168.18.150 icmp_seq=8 Destination Host Unreachable
From 192.168.18.150 icmp_seq=9 Destination Host Unreachable
From 192.168.18.150 icmp_seq=10 Destination Host Unreachable
--- 192.168.18.254 ping statistics ---
10 packets transmitted, 0 received, +10 errors, 100% packet loss, time 9046ms
pipe 3
Ok guys, I tried something I should have done before :
First, I tested the adapter with Windows 7 -> it worked fine. At least, I knew there was no hardware problem with it.
As I have a virtual Ubuntu on this machine, I decided try the adapter with it. I added the Trendnet adapter in Virtualbox and booted -> IT WORKS WITHOUT ANY PROBLEM.
The difference seems to be the kernel version as you can see below (it's Ubuntu 12.04). I'll check the kernel version of my other machine at home (Ubuntu 10.04) because it didn't work either
Code:
odjb@Linux-net-test:~$ uname -a
Linux Linux-net-test 3.2.0-20-generic-pae #33-Ubuntu SMP Tue Mar 27 17:05:18 UTC 2012 i686 i686 i386 GNU/Linux
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.