LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   how do i install a new USB Ethernet adapter (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/how-do-i-install-a-new-usb-ethernet-adapter-726062/)

singlespeeds 05-14-2009 04:45 PM

how do i install a new USB Ethernet adapter
 
i'm new and just getting into Linux, - Went out and bought a Linksys "Wired" USB Ethernet adpater, model USB300M to get me on the network. I think the main problem is that I don't know how to install the driver on CD the that came with it or if it's even the right driver. Do i need to find a Linux comperable driver with instructions on how to load the driver or configure a few files in the /etc/network dirs?

I've already tried plugging it in and setting DHCP in NetSetup and rebooting. Another potential problem I noticed is when I choose "dhcp" in netcardconfig, it defaults back to manual entry of ip, gateway, mask, etc. as if the dhcp setting wasn't saved.

Any suggestions are greatly appreciated -

singlespeeds

ad0k 05-14-2009 07:41 PM

i think it would help a little more info about your distro and kernel version.

if its an old distribution of linux u should check if you have the proper modules compiled/installed

singlespeeds 05-15-2009 11:42 AM

ad0k,

It's definetely an older distro, i got it on a training cd, I'll look into pulling down a newer iso image.


cheers

ad0k 05-17-2009 09:04 AM

im also looking for info about this subject. i manage to install red Hat 9 in my old laptop, compaq armada 1700.

im trying to get my usb ethernet device to work, its a usb dlink dub e-100

so far i had to update the kernel to 2.40.20 to get a better usb suport but i cant get any drivers/modules to the mke the device work.

any info would be welcome

michaelk 05-17-2009 09:41 AM

ad0k,
The Dlink dub e-100 device uses the usbnet module but depends on the version. usbnet should be available with 2.4.20 but might require you to recompile the kernel.

What have you tried? It might be easier to use a more modern distribution. What are the specs of the laptop.

http://www.qbik.ch/usb/devices/showdev.php?id=3855
http://www.linux-usb.org/usbnet/

amani 05-17-2009 09:48 AM

red hat 9 is too old.

Get something like latest vector linux for the laptop

billairds 05-20-2009 05:33 PM

Do a lsusb. The id no. below in in brackets is the product id. once you have that you can search for a driver. The link below is good read for your needs. looks lie you need the ASIX driver.

http://www.linux-usb.org/usbnet/#t-enet

this site says the link sysusb200m is supported. the above post are correct about a newer version of linux. the 29.24 or newer kernel will do.



darkstar:~$ lsusb
Bus 002 Device 003: ID 0bda:8187 Realtek Semiconductor Corp.
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 002: (ID 04fc:504a) Sunplus Technology Co., Ltd SPCA504a Digital Camera
Bus 001 Device 001: ID 0000:0000



hopes this helps


billairds

singlespeeds 05-21-2009 07:59 AM

billairds -

I took someones' advise last week and ordered a different card, this time i went with a pcmcia (wired)eth card instead of the usb adapter. I did a little research and found a linksys card spec that said "will work on linux". I took a chance and ordered it - around $30 bucks -it's a 10/100 integrated cardbus - model PCM200. It came this morning, I plugged it in - set dhcp and it worked right out of the box.

FYI - my architecture and distro are:

DSL - damn small linux, arch: linux box 2.4.3.1 #6 SMP i686 unknown.

Thanks for the help in getting me up and running - also thanks for the link to the linux-usb.org

Cheers

ad0k 05-25-2009 07:28 AM

amani:

yes indeed red hat 9 was really old, and so, i installed slckware 11 (yes i know latest is 12.2) and this way im done with using RH (after maybe...2 or 3 years)

michaelk

from what i remember yes, the old kernel 2.4.20 needed to be recompiled in order to work with usbnet, but in that time it didnt recognize the device.

now using sw11 results are alot diferent

Code:

linux:~$ lsusb
Bus 001 Device 001: ID 0000:0000
Bus 001 Device 003: ID 2001:1a00 D-Link Corp. [hex]

since the system is completly new for me im goin to spend some days doing some tweaking and ill get back to the usbnet after everything is done. still have to look for more info about this and how to do it.

UPDATE:

well i got all excited with the fact the system recognized the device, so i went dig a litle more on the links of michaelk. so, not happy with the lack of info that lsusb returned, i did cat /var/log/messages

Code:

May 25 13:28:18 linux kernel: hub.c: new USB device 00:07.2-1, assigned address 4
May 25 13:28:18 linux kernel: eth1: register usbnet usb-00:07.2-1, DLink DUB-E100 USB Ethernet

checking if device is working properly

Code:

linux:/var/log# ifconfig eth1
eth1      Link encap:Ethernet  HWaddr 00:80:C8:37:38:25
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

linux:/var/log# ip addr show eth1
4: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
    link/ether 00:80:c8:37:38:25 brd ff:ff:ff:ff:ff:ff

now, my problem here is that i CAN assign an ip to this device, but its not what i want. it should get my ISP IP and not a static IP. next step would be bridge the usb with my pcmcia card


All times are GMT -5. The time now is 03:25 PM.