Help - Search - Members - Calendar
Full Version: Belkin Usb To Lan Adapter
OESF Forums > Distros, Development, and Model Specific Forums > Model Specific Forums > C1000/3x00 General discussions
darkloran
Hi all,

i've recently bought an USB to LAN adapter for use with my sl-c3000. I run sharp rom 1.11 and tetsu's kernel v17h. Unfortunately, module "pegasus.o" which is needed is not compiled with the kernel.

I'm wondering what's the simplest and fastest way to get it... i could :
- ask someone to compile it ?
- compile it on my zaurus ? but how ?
- cross-compile it on my linux box... well since i've not set up a cross-compiling environment yet, i don't feel it would be the fastest...

any idea ?

loran
darkloran
since i was happy to test this... i have installed the cross-compiling environment in less than 10 minutes. Then i've compiled the modules in another 10 minutes and installed my module on my zaurus.

did a
CODE
# cp pegasus.o /lib/modules/2.4.20/kernel/drivers/usb/
 # depmod -a


then created /etc/hotplug/usb/pegasus
CODE
 #!/bin/bash
 ./etc/hotplug/hotplug.functions
 
   ifconfig eth0 xxx.xxx.xxx.xxx netmask xxx.xxx.xxx.xxx up  
   if [ $? = 0]; then
       ln -s pegasus.off $REMOVER
   fi


and /etc/hotplug/usb/pegasus.off
CODE
 #!/bin/bash
 ./etc/hotplug/hotplug.functions
 
   ifconfig eth0 down

the module joined was compiled with Sharp ROM 1.01 kernel sources

the eth0 interface shows up correctly with the ip address i configured.
I currently have no way to test physical connection... i will tonight smile.gif

ok, i've had opportunity to test it and it's ok ! i just have to fix the above script to use DHCP smile.gif
loran
Boris
The above driver have version 0.4.26 and doesn't support some newer chips. I've compiled (see an attachment) more recent version 0.4.32 and tested it with ADM8513 based board on tetsu's v18a kernel. Installation procedure are the same. Below is the list of cards supported by this driver:
CODE
3Com USB Ethernet 3C460B
ADMtek ADM8511 "Pegasus II" USB Ethernet
ADMtek ADM8513 "Pegasus II" USB Ethernet
ADMtek AN986 "Pegasus" USB Ethernet (evaluation board)
ADMtek AN986A USB MAC
AEI USB Fast Ethernet Adapter
Accton USB 10/100 Ethernet Adapter
Allied Telesyn Int. AT-USB100
Belkin F5D5050 USB Ethernet
Billionton USB-100
Billionton USBE-100
Billionton USBEL-100
Billionton USBLP-100
Corega FEter USB-TX
Corega FEter USB-TXS
D-Link DSB-650
D-Link DSB-650TX
D-Link DSB-650TX(PNA)
EasiDock Ethernet
Elsa Micolink USB2Ethernet
GIGABYTE GN-BR402W Wireless Router
GOLDPFEIL USB Adapter
HP hn210c Ethernet USB
Hawking UF100 10/100 Ethernet
IO DATA USB ET/TX
IO DATA USB ET/TX-S
Kingston KNU101TX Ethernet
LANEED USB Ethernet LD-USB/T
LANEED USB Ethernet LD-USB/TX
Linksys USB USB10TX
Linksys USB100TX
Linksys USB10T Ethernet Adapter
Linksys USB10TX
MELCO/BUFFALO LUA-TX
MELCO/BUFFALO LUA2-TX
Microsoft MN-110
NETGEAR FA101
OCT USB TO Ethernet
SMC 202 USB Ethernet
SMC 2206 USB Ethernet
SOHOware NUB100 Ethernet
SOHOware NUB110 Ethernet
SpeedStream USB 10/100 Ethernet
USB 10/100 Fast Ethernet
USB HPNA/Ethernet
iPAQ Networking 10/100 USB
smartNIC 2 PnP Adapter
Boris
I've found that netswitch package works fairly well (the above hotplug code not needed), but sometimes USB card fails on resume (cacko rom 1.23b1). The following simple code placed in to /usr/bin/netresume allows manual restart:
CODE
#!/bin/sh

rmmod usb-monitor
insmod usb-monitor

In addition, symlink added to /etc/apm.d/resume.d do this automatically:
CODE
ln -s /usr/bin/netresume R50usbnet
Meanie
QUOTE(Boris @ Jun 23 2005, 02:30 PM)
I've found that netswitch package works fairly well (the above hotplug code not needed), but sometimes USB card fails on resume (cacko rom 1.23b1).  The following simple code placed in to /usr/bin/netresume allows manual restart:
CODE
#!/bin/sh

rmmod usb-monitor
insmod usb-monitor

In addition, symlink added to /etc/apm.d/resume.d do this automatically:
CODE
ln -s /usr/bin/netresume R50usbnet

*


I'll include this and the pegasus driver into the netswitch package to make it even simpler for other users.
Boris
QUOTE(Meanie @ Jun 23 2005, 01:08 PM)
I'll include this and the pegasus driver into the netswitch package to make it even simpler for other users.
*

That would be nice indeed.
tombraider
darkloran,
Just got a USB GPS and I guess I need this driver but I have no clue what to do with the pegasus.o file. I'm used to ipk files. How do I install this on my C1000 running Cacko 1.23???
Also, the pegasus text file is filled with strange symbols...what do I do with that?

Thanks in advance. ph34r.gif

QUOTE(darkloran @ Apr 8 2005, 09:16 AM)
since i was happy to test this... i have installed the cross-compiling environment in less than 10 minutes. Then i've compiled the modules in another 10 minutes and installed my module on my zaurus.

did a
CODE
# cp pegasus.o /lib/modules/2.4.20/kernel/drivers/usb/
 # depmod -a


then created /etc/hotplug/usb/pegasus
CODE
 #!/bin/bash
 ./etc/hotplug/hotplug.functions
 
   ifconfig eth0 xxx.xxx.xxx.xxx netmask xxx.xxx.xxx.xxx up  
   if [ $? = 0]; then
       ln -s pegasus.off $REMOVER
   fi


and /etc/hotplug/usb/pegasus.off
CODE
 #!/bin/bash
 ./etc/hotplug/hotplug.functions
 
   ifconfig eth0 down

the module joined was compiled with Sharp ROM 1.01 kernel sources

the eth0 interface shows up correctly with the ip address i configured.
I currently have no way to test physical connection... i will tonight smile.gif

ok, i've had opportunity to test it and it's ok ! i just have to fix the above script to use DHCP smile.gif
loran
*
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.