LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-20-2012, 12:01 PM   #1
odjb
Member
 
Registered: Jan 2006
Location: France
Distribution: Ubuntu/Debian
Posts: 69

Rep: Reputation: 1
Trendnet TU2-ETG Linux compatibility


Hi,

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)

Thanks in advance,
olivier
 
Old 04-21-2012, 04:54 AM   #2
joker20
Member
 
Registered: Sep 2004
Location: 127.0.0.1
Distribution: Slackware/Ubuntu/CentOS
Posts: 286

Rep: Reputation: 31
post the output of 'lsusb'
 
Old 04-21-2012, 04:59 AM   #3
joker20
Member
 
Registered: Sep 2004
Location: 127.0.0.1
Distribution: Slackware/Ubuntu/CentOS
Posts: 286

Rep: Reputation: 31
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

http://www.asix.com.tw/products.php?...emID=84;71;100
 
Old 04-21-2012, 07:32 AM   #4
odjb
Member
 
Registered: Jan 2006
Location: France
Distribution: Ubuntu/Debian
Posts: 69

Original Poster
Rep: Reputation: 1
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 ?

Last edited by odjb; 04-21-2012 at 07:38 AM.
 
Old 04-21-2012, 12:26 PM   #5
joker20
Member
 
Registered: Sep 2004
Location: 127.0.0.1
Distribution: Slackware/Ubuntu/CentOS
Posts: 286

Rep: Reputation: 31
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
 
Old 04-22-2012, 02:50 PM   #6
odjb
Member
 
Registered: Jan 2006
Location: France
Distribution: Ubuntu/Debian
Posts: 69

Original Poster
Rep: Reputation: 1
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
 
Old 04-22-2012, 04:21 PM   #7
odjb
Member
 
Registered: Jan 2006
Location: France
Distribution: Ubuntu/Debian
Posts: 69

Original Poster
Rep: Reputation: 1
more info :
led indicators :
1000Mbps : on
Link : off
I can capture broadcast traffic :
Code:
odjb@RHCP:~$ cat tcpdump 
23:15:08.702276 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 181)
    192.168.0.3.17500 > 255.255.255.255.17500: [udp sum ok] UDP, length 153
23:15:08.702741 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 181)
    192.168.0.3.17500 > 192.168.0.255.17500: [udp sum ok] UDP, length 153
23:15:38.730551 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 181)
    192.168.0.3.17500 > 255.255.255.255.17500: [udp sum ok] UDP, length 153
23:15:38.731122 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 181)
    192.168.0.3.17500 > 192.168.0.255.17500: [udp sum ok] UDP, length 153

Last edited by odjb; 04-22-2012 at 04:22 PM.
 
Old 04-24-2012, 03:03 PM   #8
heinblöd
Member
 
Registered: May 2004
Location: France
Distribution: Slackware Gentoo
Posts: 186

Rep: Reputation: 31
This guy says it will work :
http://seriss.com/people/erco/ubuntu/
 
Old 04-24-2012, 03:18 PM   #9
joker20
Member
 
Registered: Sep 2004
Location: 127.0.0.1
Distribution: Slackware/Ubuntu/CentOS
Posts: 286

Rep: Reputation: 31
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
 
Old 04-25-2012, 03:04 AM   #10
odjb
Member
 
Registered: Jan 2006
Location: France
Distribution: Ubuntu/Debian
Posts: 69

Original Poster
Rep: Reputation: 1
more info :
Code:
root@RATM:~# uname -a 
Linux RATM 2.6.32-5-686 #1 SMP Mon Mar 26 05:20:33 UTC 2012 i686 GNU/Linux
root@RATM:~# cat /etc/issue
Debian GNU/Linux 6.0 \n \l
I have no GUI installed on this machine
If you need anything else, please tell me
btw, I tried it on Ubuntu ant got the same results ...

Quote:
This guy says it will work :
http://seriss.com/people/erco/ubuntu/
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 ... (?)

Last edited by odjb; 04-25-2012 at 07:35 AM.
 
Old 05-03-2012, 02:15 AM   #11
odjb
Member
 
Registered: Jan 2006
Location: France
Distribution: Ubuntu/Debian
Posts: 69

Original Poster
Rep: Reputation: 1
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 ...

thanks in advance,
olivier
 
Old 05-03-2012, 10:13 AM   #12
joker20
Member
 
Registered: Sep 2004
Location: 127.0.0.1
Distribution: Slackware/Ubuntu/CentOS
Posts: 286

Rep: Reputation: 31
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
 
Old 05-03-2012, 10:55 AM   #13
heinblöd
Member
 
Registered: May 2004
Location: France
Distribution: Slackware Gentoo
Posts: 186

Rep: Reputation: 31
No need to return the card as if it's recognised as eth2, IT WORKS !

Quote:
Originally Posted by odjb View Post
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

Last edited by heinblöd; 05-03-2012 at 10:57 AM.
 
Old 05-04-2012, 03:27 AM   #14
odjb
Member
 
Registered: Jan 2006
Location: France
Distribution: Ubuntu/Debian
Posts: 69

Original Poster
Rep: Reputation: 1
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
 
Old 05-04-2012, 04:22 AM   #15
odjb
Member
 
Registered: Jan 2006
Location: France
Distribution: Ubuntu/Debian
Posts: 69

Original Poster
Rep: Reputation: 1
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Installing Linux on TRENDnet TS-I300 madsovenielsen Linux - Server 2 04-15-2010 03:25 AM
Trendnet TEW423I chip rtl8185 Linux driver FOUND trivial2k Linux - Wireless Networking 1 03-23-2008 02:24 AM
Trendnet TEW-423PI wireless in Linux / Gentoo? leemoreau Linux - Distributions 4 09-19-2007 08:56 PM
trendnet and linux slackware 9.1 Invisible Linux - Wireless Networking 7 12-29-2003 05:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration