| Prev |   1     2   3   4     5   | Next | Last
maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   USB to Ethernet? (https://talk.maemo.org/showthread.php?t=11723)

rps 2007-12-11 17:22

Re: USB to Ethernet?
 
Quote:

Originally Posted by dblank (Post 105008)
No luck.. the only way I've managed to get apps like the browser to work over ethernet is by keeping a WIFI or BT association.

I'm gonna try messing with dbus again, I don't remember what I did last time, but I was probably half asleep :)

I use dummyiap when using usbnet (works like a charm with my linux box - no need for an ethernet-adaptor, simply connect the usb cable - but has issues with WinXP).

dblank 2007-12-11 19:29

Re: USB to Ethernet?
 
Quote:

Originally Posted by rps (Post 107220)
I use dummyiap when using usbnet (works like a charm with my linux box - no need for an ethernet-adaptor, simply connect the usb cable - but has issues with WinXP).

Wow, I can't believe I've never come across that :)

I'm guessing that will do the trick!

Big fat thank you.. will report back in a few if it works for me.

Edit: it's official, rps is my hero.. still can't believe I missed the dummy setting :D

pearl62 2007-12-13 05:34

Re: USB to Ethernet?
 
So I have the Trendnet TU-ET100C (one of the listed RT8150 adapters) plugged in, but it doesnt seem to work. When I do an ifconfig -a, I dont see any USB or Eth interface listed. only loopback and wlan0. lsmod also doesnt seem to show g_ether.ko which I guess I would have expected.

Is there some to check if the driver is loaded? Is there some step I am missing?

You guys mentioned running udhcpd, but maybe I dont have this installed, as it doesnt seem to be recognized? Where can I get udhcpd?

pearl62 2007-12-13 05:42

Re: USB to Ethernet?
 
Actually thereś no link light on the router, so I am pretty sure the driver is not being loaded on the N800 (OS2008). How can I start the driver?

dblank 2007-12-13 06:40

Re: USB to Ethernet?
 
Quote:

Originally Posted by pearl62 (Post 108058)
Actually thereś no link light on the router, so I am pretty sure the driver is not being loaded on the N800 (OS2008). How can I start the driver?

Have you enabled host mode?

pearl62 2007-12-13 07:04

Re: USB to Ethernet?
 
Yes, and I am using a powered hub. A usb flash dongle works fine...

dblank 2007-12-13 07:27

Re: USB to Ethernet?
 
Open up a terminal, type, as root: cat /proc/kmsg

plug in your adapter, any messages?

try connecting without the hub too.

pearl62 2007-12-13 07:49

Re: USB to Ethernet?
 
Thanks. I can see that the usb ethernet adapter is being reported as an ADMtek device...

I guess I still need to keep looking for a RT8150 device.

dblank 2007-12-13 08:30

Re: USB to Ethernet?
 
Don't give up yet! :)

Grab http://maemobox.org/dblank/usbnet.tgz

Extract and load pegasus driver
tar -xzf usbnet.tgz pegasus.ko
insmod pegasus.ko

then cat /proc/kmsg again and plug in your card.

pearl62 2007-12-13 17:22

Re: USB to Ethernet?
 
Awesome! It works!

I just had to run udhcpc in xterm after plugging the adapter in. Is there a way to automate this, or have a script executed from a button in the UI?


| Prev |   1     2   3   4     5   | Next | Last
All times are GMT. The time now is 06:25.

vBulletin® Version 3.8.8