OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Help - Usb-ethernet On C1000, Can't get it to work
rohanoberoi
post May 20 2005, 04:20 AM
Post #1





Group: Members
Posts: 22
Joined: 30-December 04
Member No.: 6,065



Hi,

I have a C1000 running stock Sharp ROM in English mode. Connected an iRiver USB mini-A cable and a Hawking HUF11 10/100 Ethernet-USB1.1 adaptor. I'm flying a little blind here, most of the information I've found talks about connecting a Zaurus to a Linux desktop, not directly to a network over a USB-Ethernet adaptor.

CODE
% su -
# lsusb
Bus 001 Device 001:ID 0000:0000
Bus 001 Device 002: ID 0bda:8150 Realtek Semiconductor Corp. RTL8150 Fast Ethernet Adapter
# modprobe usbnet
modprobe: Can't locate module usbnet
# modprobe usbdnet
modprobe: Can't locate module usbdnet
# lsmod
Module                  Size  Used by
pxa_bi                 24912   0  (unused)
net_fd                 25216   0  (unused)
usbdcore               35504   0  [pxa_bi net_fd]
usb_ohci_pxa27x        21696   0  (unused)
usbcore                63264   1  [usb_ohci_pxa27x]
usbdmonitor             5488   0
usb-monitor             6496   0
sharp_mmcsd_m          41008   2
# ifconfig -a
lo        Link encap:Local Loopback  
         inet addr:127.0.0.1  Mask:255.0.0.0
         UP LOOPBACK RUNNING  MTU:16436  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:0
         RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
# modprobe -l
/lib/modules.rom/2.4.20/kernel/arch/arm/mach-pxa/registers.o
/lib/modules.rom/2.4.20/kernel/drivers/block/aloha/aloha.o
/lib/modules.rom/2.4.20/kernel/drivers/block/aloha/aloha_serial.o
/lib/modules.rom/2.4.20/kernel/drivers/block/sharp_mmcsd_m.o
/lib/modules.rom/2.4.20/kernel/drivers/input/evdev.o
/lib/modules.rom/2.4.20/kernel/drivers/input/joydev.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/acm.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/canoncam.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/device/bi/pxa_bi.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/device/net_fd/net_fd.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/device/storage_fd/storage_fd.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/device/usbdcore.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/device/usbdmonitor.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/device/usbdserial.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/hid.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/prism2_usb.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/storage/usb-storage.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/usb-monitor.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/usb_ohci_pxa27x.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/usbcore.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/usbkbd.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/usbmouse.o
/lib/modules.rom/2.4.20/net/p80211.o
/lib/modules.rom/2.4.20/pcmcia/memory_cs.o
/lib/modules.rom/2.4.20/pcmcia/prism2_cs.o
/lib/modules.rom/2.4.20/pcmcia/sharpzdc_cs.o
# modprobe prism2_usb
/lib/modules.rom/2.4.20/kernel/drivers/usb/prism2_usb.o: kernel-module version mismatch
       /lib/modules.rom/2.4.20/kernel/drivers/usb/prism2_usb.o was compiled for kernel version 2.4.18-rmk7-pxa3-embedix
       while this kernel is version 2.4.20.
/lib/modules.rom/2.4.20/kernel/drivers/usb/prism2_usb.o: insmod /lib/modules.rom/2.4.20/kernel/drivers/usb/prism2_usb.o failed
/lib/modules.rom/2.4.20/kernel/drivers/usb/prism2_usb.o: insmod prism2_usb failed
#


Any suggestions, anyone? It seems strange that the modules that came with the stock ROM are incompatible with the stock kernel. I can't tell if one of these modules ought to work with my USB-Ethernet card either.

Thanks!

Rohan
Go to the top of the page
 
+Quote Post
lardman
post May 20 2005, 05:04 AM
Post #2





Group: Members
Posts: 4,515
Joined: 25-October 03
From: Bath, UK
Member No.: 464



QUOTE
Any suggestions, anyone? It seems strange that the modules that came with the stock ROM are incompatible with the stock kernel. I can't tell if one of these modules ought to work with my USB-Ethernet card either.


Yes it is strange, but these drivers appear to be for a wifi card so have nothing to do with your usb adaptor.

QUOTE
# modprobe usbnet
modprobe: Can't locate module usbnet
# modprobe usbdnet
modprobe: Can't locate module usbdnet


These modules (or one of them, can't remember which) are specifically used to make the zaurus appear as a usb ether net device itself, therefore they are not what you want to drive your usb device.

You need a driver called 'rue' from my quick google search. I've no idea whether this is available in 2.4.20, you'll have to do some googling and find out.


Si
Go to the top of the page
 
+Quote Post
Meanie
post May 20 2005, 05:25 AM
Post #3





Group: Members
Posts: 2,808
Joined: 21-March 05
From: Sydney, Australia
Member No.: 6,686



QUOTE(rohanoberoi @ May 20 2005, 10:20 PM)
Hi,

I have a C1000 running stock Sharp ROM in English mode. Connected an iRiver USB mini-A cable and a Hawking HUF11 10/100 Ethernet-USB1.1 adaptor. I'm flying a little blind here, most of the information I've found talks about connecting a Zaurus to a Linux desktop, not directly to a network over a USB-Ethernet adaptor.

CODE
% su -
# lsusb
Bus 001 Device 001:ID 0000:0000
Bus 001 Device 002: ID 0bda:8150 Realtek Semiconductor Corp. RTL8150 Fast Ethernet Adapter
# modprobe usbnet
modprobe: Can't locate module usbnet
# modprobe usbdnet
modprobe: Can't locate module usbdnet
# lsmod
Module                  Size  Used by
pxa_bi                 24912   0  (unused)
net_fd                 25216   0  (unused)
usbdcore               35504   0  [pxa_bi net_fd]
usb_ohci_pxa27x        21696   0  (unused)
usbcore                63264   1  [usb_ohci_pxa27x]
usbdmonitor             5488   0
usb-monitor             6496   0
sharp_mmcsd_m          41008   2
# ifconfig -a
lo        Link encap:Local Loopback  
         inet addr:127.0.0.1  Mask:255.0.0.0
         UP LOOPBACK RUNNING  MTU:16436  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:0
         RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
# modprobe -l
/lib/modules.rom/2.4.20/kernel/arch/arm/mach-pxa/registers.o
/lib/modules.rom/2.4.20/kernel/drivers/block/aloha/aloha.o
/lib/modules.rom/2.4.20/kernel/drivers/block/aloha/aloha_serial.o
/lib/modules.rom/2.4.20/kernel/drivers/block/sharp_mmcsd_m.o
/lib/modules.rom/2.4.20/kernel/drivers/input/evdev.o
/lib/modules.rom/2.4.20/kernel/drivers/input/joydev.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/acm.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/canoncam.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/device/bi/pxa_bi.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/device/net_fd/net_fd.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/device/storage_fd/storage_fd.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/device/usbdcore.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/device/usbdmonitor.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/device/usbdserial.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/hid.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/prism2_usb.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/storage/usb-storage.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/usb-monitor.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/usb_ohci_pxa27x.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/usbcore.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/usbkbd.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/usbmouse.o
/lib/modules.rom/2.4.20/net/p80211.o
/lib/modules.rom/2.4.20/pcmcia/memory_cs.o
/lib/modules.rom/2.4.20/pcmcia/prism2_cs.o
/lib/modules.rom/2.4.20/pcmcia/sharpzdc_cs.o
# modprobe prism2_usb
/lib/modules.rom/2.4.20/kernel/drivers/usb/prism2_usb.o: kernel-module version mismatch
       /lib/modules.rom/2.4.20/kernel/drivers/usb/prism2_usb.o was compiled for kernel version 2.4.18-rmk7-pxa3-embedix
       while this kernel is version 2.4.20.
/lib/modules.rom/2.4.20/kernel/drivers/usb/prism2_usb.o: insmod /lib/modules.rom/2.4.20/kernel/drivers/usb/prism2_usb.o failed
/lib/modules.rom/2.4.20/kernel/drivers/usb/prism2_usb.o: insmod prism2_usb failed
#


Any suggestions, anyone?  It seems strange that the modules that came with the stock ROM are incompatible with the stock kernel.  I can't tell if one of these modules ought to work with my USB-Ethernet card either.

Thanks!

Rohan
*



usbdnet is for connecting your Z to a PC via the usb link cable.

since your usb device seems to be a rtl8150, you're in luck!

have a look at my website which describes how you can get your usb lan device working.
Go to the top of the page
 
+Quote Post
rohanoberoi
post May 20 2005, 06:47 AM
Post #4





Group: Members
Posts: 22
Joined: 30-December 04
Member No.: 6,065



Thanks, that looks promising. Searching for rtl8150-1.o on Google only points to your site, which doesn't seem to have a download link. I've found various variants of the rtl8150.c, but I can't seem to get them to compile.

I did find one "rtl8150.o" but it does nothing and does not create eth0 when I drop it in the directory you specified. I'm still looking for a way to either compile the driver or find a working copy of the binary. You couldn't put up a link to your binary, could you?

Rohan


QUOTE(Meanie @ May 20 2005, 01:25 PM)
since your usb device seems to be a rtl8150, you're in luck!

have a look at my website which describes how you can get your usb lan device working.
*
Go to the top of the page
 
+Quote Post
rohanoberoi
post May 20 2005, 07:44 AM
Post #5





Group: Members
Posts: 22
Joined: 30-December 04
Member No.: 6,065



In case it helps anyone else, I found the module to use. It's at:

http://www.sky.sannet.ne.jp/morostar/download/download.html

Careful, you have to use the second link, the file that is under the SL-C3000 directory; there are two.

I now have eth0. Still trying to get the network configuration working.

Rohan
Go to the top of the page
 
+Quote Post
Meanie
post May 20 2005, 08:52 AM
Post #6





Group: Members
Posts: 2,808
Joined: 21-March 05
From: Sydney, Australia
Member No.: 6,686



QUOTE(rohanoberoi @ May 21 2005, 01:44 AM)
In case it helps anyone else, I found the module to use.  It's at:

http://www.sky.sannet.ne.jp/morostar/download/download.html

Careful, you have to use the second link, the file that is under the SL-C3000 directory; there are two.

I now have eth0.  Still trying to get the network configuration working.

Rohan
*


actually this package contains the driver plus setup scripts for eth0

http://www.users.on.net/~hluc/myZaurus/cus...tch_0.3_arm.ipk

or you can just download the driver from http://www.users.on.net/~hluc/myZaurus/cus..._2.4.20_arm.ipk
Go to the top of the page
 
+Quote Post
bam
post Jul 28 2005, 12:18 PM
Post #7





Group: Members
Posts: 1,213
Joined: 9-June 05
From: Gobi Desert, Mongolia
Member No.: 7,306



tried it doesnt work.....any suggestions where to start?

zilch on the got it, had to do a restore...7 days old...ewwww.
Now getting cant find eth0, any ideas? i have uninstalled and reinstalled it. Keeps asking if the cable is plugged in(it is).
Go to the top of the page
 
+Quote Post
Mac
post Feb 21 2006, 12:24 PM
Post #8





Group: Members
Posts: 36
Joined: 1-October 05
Member No.: 8,228



anyone found a solutions for this?

I'm actually in the same situation with a C3000 and a Belkin USB to lan, installed the rtl driver from meanie's site and tried the netswitch application and have the same experience; the application keeps asking if the cable is plugged in... I'm getting desperate on this and am looking for a CF ethernet card that works out of the box, I realy need the have ethernet on my C3000
Go to the top of the page
 
+Quote Post
bam
post Feb 21 2006, 12:46 PM
Post #9





Group: Members
Posts: 1,213
Joined: 9-June 05
From: Gobi Desert, Mongolia
Member No.: 7,306



QUOTE(Mac @ Feb 21 2006, 12:24 PM)
anyone found a solutions for this?

I'm actually in the same situation with a C3000 and a Belkin USB to lan, installed the rtl driver from meanie's site and tried the netswitch application and have the same experience;  the application keeps asking if the cable is plugged in... I'm getting desperate on this and am looking for a CF ethernet card that works out of the box, I realy need the have ethernet on my C3000
*



see if its loaded, lsmod. Whats the output. BTW Mine is working just fine, stock package from Meanies site..
Go to the top of the page
 
+Quote Post
Meanie
post Feb 21 2006, 05:00 PM
Post #10





Group: Members
Posts: 2,808
Joined: 21-March 05
From: Sydney, Australia
Member No.: 6,686



QUOTE(Mac @ Feb 22 2006, 06:24 AM)
anyone found a solutions for this?

I'm actually in the same situation with a C3000 and a Belkin USB to lan, installed the rtl driver from meanie's site and tried the netswitch application and have the same experience;  the application keeps asking if the cable is plugged in... I'm getting desperate on this and am looking for a CF ethernet card that works out of the box, I realy need the have ethernet on my C3000
*


use the latest version and if you get the message about the cable just run
net reload as root or pull out the cable and stick it back in
Go to the top of the page
 
+Quote Post
Mac
post Feb 24 2006, 05:26 AM
Post #11





Group: Members
Posts: 36
Joined: 1-October 05
Member No.: 8,228



@bam; the line you want to read from lsmod:

pegasus used 1


I installed the latest version and the other things (sudo,...) and now it works
(yay! Thanks meanie for the scripts), however it only works using net dhcp

(I have to give my password and then I can nog get the CLI prompt back, I have to close terminal)

When I click on Netswitch in the gui nothing happens and net gui complaints about
/etc/sysconfig/netconf/gui.conf not being found, any suggestions?

only thing I don not understand is the "make sure zaurus has NOPASSWD for ifconfig and dhcpd" , I know how to use visudo, but do not know the correct syntax...

any help is appreciated...
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 28th July 2014 - 10:41 PM