Author Topic: Belkin Usb To Lan Adapter  (Read 11274 times)

darkloran

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
    • http://freeloran.free.fr/zaurus.html
Belkin Usb To Lan Adapter
« on: April 08, 2005, 03:20:11 am »
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
SL-C3000 -- Cacko1.23b1
CE-RH2 remote / Belkin usblan / Asus WL-110 / Sandisk SD UII 256MB / Sandisk CF UII 1GB
STOREX OTG Club 40GB / Belkin IR Keyboard / Logitech mouse

darkloran

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
    • http://freeloran.free.fr/zaurus.html
Belkin Usb To Lan Adapter
« Reply #1 on: April 08, 2005, 05:16:31 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: [Select]
# cp pegasus.o /lib/modules/2.4.20/kernel/drivers/usb/
  # depmod -a

then created /etc/hotplug/usb/pegasus
Code: [Select]
 #!/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: [Select]
 #!/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

ok, i've had opportunity to test it and it's ok ! i just have to fix the above script to use DHCP
loran
« Last Edit: April 08, 2005, 07:06:24 am by darkloran »
SL-C3000 -- Cacko1.23b1
CE-RH2 remote / Belkin usblan / Asus WL-110 / Sandisk SD UII 256MB / Sandisk CF UII 1GB
STOREX OTG Club 40GB / Belkin IR Keyboard / Logitech mouse

Boris

  • Newbie
  • *
  • Posts: 29
    • View Profile
    • http://
Belkin Usb To Lan Adapter
« Reply #2 on: June 07, 2005, 12:35:35 am »
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: [Select]
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

  • Newbie
  • *
  • Posts: 29
    • View Profile
    • http://
Belkin Usb To Lan Adapter
« Reply #3 on: June 23, 2005, 12:30:02 am »
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: [Select]
#!/bin/sh

rmmod usb-monitor
insmod usb-monitor
In addition, symlink added to /etc/apm.d/resume.d do this automatically:
Code: [Select]
ln -s /usr/bin/netresume R50usbnet

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Belkin Usb To Lan Adapter
« Reply #4 on: June 23, 2005, 03:08:40 am »
Quote
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: [Select]
#!/bin/sh

rmmod usb-monitor
insmod usb-monitor
In addition, symlink added to /etc/apm.d/resume.d do this automatically:
Code: [Select]
ln -s /usr/bin/netresume R50usbnet[div align=\"right\"][a href=\"index.php?act=findpost&pid=85429\"][{POST_SNAPBACK}][/a][/div]

I'll include this and the pegasus driver into the netswitch package to make it even simpler for other users.
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

Boris

  • Newbie
  • *
  • Posts: 29
    • View Profile
    • http://
Belkin Usb To Lan Adapter
« Reply #5 on: June 23, 2005, 11:27:19 am »
Quote
I'll include this and the pegasus driver into the netswitch package to make it even simpler for other users.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=85432\"][{POST_SNAPBACK}][/a][/div]
That would be nice indeed.

tombraider

  • Sr. Member
  • ****
  • Posts: 409
    • View Profile
    • http://atoah.com/zaurus/
Belkin Usb To Lan Adapter
« Reply #6 on: February 25, 2006, 06:07:36 pm »
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.    

Quote
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: [Select]
# cp pegasus.o /lib/modules/2.4.20/kernel/drivers/usb/
 Â # depmod -a

then created /etc/hotplug/usb/pegasus
Code: [Select]
 #!/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: [Select]
 #!/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

ok, i've had opportunity to test it and it's ok ! i just have to fix the above script to use DHCP
loran
[div align=\"right\"][a href=\"index.php?act=findpost&pid=74204\"][{POST_SNAPBACK}][/a][/div]
Learning Chinese?  Have a Mac?  Try Hanzi Master: Download for free

Tombraider's Zaurus C1000 Tips Web Site

SL-3200 from Conics.net: Sharp ROM| SL-C1000: Pdaxrom Beta 3