• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: USB to Ethernet Adaptor. Has anyone actually set up one of these?  (Read 3330 times)
badcam
Jr. Member
**

Karma: 1
Posts: 78


View Profile
« on: December 02, 2009, 12:06:44 PM »

Has anyone set their Sheeva up with one of these yet?

Does it work well?

Can you run a 2.5" USB Hard Drive off of the same USB Port without having to power either from other than the Sheeva USB port?

Edit:

How easy would it be to turn this into a Router?
« Last Edit: December 02, 2009, 04:38:25 PM by badcam » Logged

birdman
Sr. Member
****

Karma: 4
Posts: 443


View Profile WWW
« Reply #1 on: December 02, 2009, 06:22:51 PM »

Can you run a 2.5" USB Hard Drive off of the same USB Port without having to power either from other than the Sheeva USB port?
You certainly can't run a USB Wifi dongle and 2.5" USB hard drive without extra power - which can be done with a powered hub.
Logged

badcam
Jr. Member
**

Karma: 1
Posts: 78


View Profile
« Reply #2 on: December 02, 2009, 10:56:47 PM »

Can you run a 2.5" USB Hard Drive off of the same USB Port without having to power either from other than the Sheeva USB port?
You certainly can't run a USB Wifi dongle and 2.5" USB hard drive without extra power - which can be done with a powered hub.

Thanks. Just to clarify though; I won't be running a Wifi Adaptor, it will be an Ethernet Port. It's not a major I suppose, but it would great if it was possible.
Logged

plugfest
Newbie
*

Karma: 0
Posts: 4


View Profile
« Reply #3 on: January 02, 2010, 10:27:10 PM »

Setting USB ethernet adapter is fairly simple, as long as supported chipset is inside the adapter.

I am using ASIX AX88772 based Sabrent adapter (available at http://www.newegg.ca/Product/Product.aspx?Item=N82E16812203024).

Here is how to configure it.

1) You need updated kernel, I am at 2.6.32.2 prebuilt kernel from sheeva.with-linux.com (see wiki http://plugcomputer.org/plugwiki/index.php/Install_Prebuilt_Kernels_From_sheeva.with-linux.com)

2) Attach adapter and run dmesg, you should see something like this:

Code:
...
eth1: register 'asix' at usb-orion-ehci.0-1, ASIX AX88772 USB 2.0 Ethernet, 00:60:6e:6d:00:87
usbcore: registered new interface driver asix
...

3) edit "/etc/network/interfaces", add lines:

Code:
auto eth1
iface eth1 inet dhcp

4) ifconfig eth1 up

5) verify that adapter got IP address with "ifconfig -a", output should be similar to this:

Code:
eth0      Link encap:Ethernet  HWaddr 00:50:43:01:6c:d2
          inet addr:192.168.100.190  Bcast:192.168.100.255  Mask:255.255.255.0
          inet6 addr: fe80::250:43ff:fe01:6cd2/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:322 errors:0 dropped:0 overruns:0 frame:0
          TX packets:260 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:29609 (29.6 KB)  TX bytes:36783 (36.7 KB)
          Interrupt:11

eth1      Link encap:Ethernet  HWaddr 00:60:6e:6d:00:87
          inet addr:192.168.100.205  Bcast:192.168.100.255  Mask:255.255.255.0
          inet6 addr: fe80::260:6eff:fe6d:87/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:194 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:15228 (15.2 KB)  TX bytes:1184 (1.1 KB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:16 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:960 (960.0 B)  TX bytes:960 (960.0 B)


That's it Smiley

Logged

Doug Grove
Newbie
*

Karma: 1
Posts: 19


View Profile
« Reply #4 on: January 19, 2010, 08:51:20 AM »

I have also set up a USB ethernet adapter.  Just a cheapo Sabrent from Tiger Direct.  I currently use the Sheeva as my firewall, amongst many other services.  I run the 2.6.32.2 kernel.  It has support and the needed kernel modules:

asix                   12332  0
usbnet                 12481  1 asix


Logged

Pages: [1]
Print
Jump to: