-
usbdnet kernel module
I recently purchased a Sharp Zaurus SL-5500 and would like to get it communicating with my HD-installed knoppix. In order to do this, I either need to buy a CF ethernet card for it, or, preferrably, install the usbdnet module on my knoppix PC. I tried doing it myself... downloaded the 2.4.20 kernel source, downloaded the usbdnet module patch, compiled everything according to the directions, and resulted in a kernel panic. 
I have Win98 communicating with the Zaurus, so I don't really have an urgent need. However, the less I have to use Win98, the better off I am. If, at the next iteration of Knoppix, some kind soul could include the usbdnet module (as a loadable module), I'd be extremely appreciative. Or, if some kind soul with remastering skills wants to provide an ISO of Version 3.2-2003-04-15 with the usbdnet modules included, that'd be even cooler.
Thanks,
BamaRob
-
usbdnet
Does anyone else have this need, or am I on my own?
-
Senior Member
registered user
you didn't give detail of what caused the kernel panic so not much others can offer to help. A HD installed KNOPPIX is just a plain linux(debian based) and recompiling a new kernel should be relatively safe so long you know how to install it including lilo/grub etc.
I have already tried a number of different kernel build myself(one is to fix a USB device issue) and didn't encounter any problem and I am not even using a HD installed version which makes it more tricky.
The only impression I got from KNOPPIX as a developing environment is that it is not suitable as it use a lot of cutting edge stuffs including libc6 and gcc which results in something not very compatible with debian woody(this may not be your cause of panic). I ended up have a seperate chrooted woody environment for building applications which is pretty stable so far.
-
Thanks for the reply, garyng.
I've recompiled kernels before without problems. I have not successfully recompiled a kernel under Knoppix (though I've only tried once). I was attempting to take the lazy way out in hoping that someone else may have had the same need (usbdnet) and already had a kernel with the modules included. When I get some time, I may give it another go.
I'm awefully tempted to purchase a wireless network CF card for my Zaurus. I don't currently have a wireless network set up at home, but have been considering it for some time. If I can get wireless networking functional between my desktop Knoppix box and my Zaurus, I wouldn't need usbdnet.
Thanks again for the reply. I was beginning to wonder if anyone had even read my request.
BR
-
Hi,
if you have the kernel source patched with the usbdnet patch , it's quite easy.
If you don't, just do:
Code:
1) Patch the linux kernel
The patch has been tested against kernel 2.4.17 and up.
I've received patches for some specific kernel version shipped with common distributions, see in the download area listed below if there is one for yours !
Download the patch corresponding to your kernel version from here
Assuming your Linux sources are in /usr/src/linux do the following :
cp usbdnet-2.4.x.patch.gz /usr/src
cd /usr/src
zcat usbdnet-2.4.x.patch.gz | patch -p0
Now reconfigure the kernel to support :
cd /usr/src/linux
make menuconfig
in "Code maturity level options", select "Prompt for development and/or incomplete code/drivers"
in "USB support", section "USB Network adaptors", select (as a module) "USBD Network (Encapsulated) Host-to-Host Link (EXPERIMENTAL)"
Then enter 04dd in USBD Network idVendor and 8004 in USBD Network idProduct
This comes from http://www.ruault.com/Zaurus/etherne...usb-howto.html
Now do
Code:
cd /usr/src/linux
make clean dep modules
cp drivers/usb/usbdnet.o /lib/modules/2.4.x/kernel/drivers/usb/
depmod -a
It's enough to copy the module, it don't have to be istalled.
Add the following lines to /etc/network/interfaces
Code:
iface usb0 inet static
address 192.168.129.XYZ # XYZ = IP-Adress of your usb network interface
pointopoint 192.168.129.201
netmask 255.255.255.255
The next step is to conncet the Zaurus, have a look at /var/log/messages.
Code:
insmod usbdnet
ifup usb0
Insmod will show an error message, ignore it.
That's all, i did so yesterday and everything worked fine
Roland
-
Thanks roli.
So, if I understand correctly, you didn't replace the kernel at all. You just compiled the usbdnet module against your existing kernel and copied it to the appropriate place.
I'll give that a try when I get a few minutes.
Thanks,
BR
-
Hi BR,
that's what i want to discribe, just compile the modules, not the Kernel that's enought.
Good Luck
Roli
Similar Threads
-
By littleKoala in forum General Support
Replies: 3
Last Post: 06-29-2004, 11:56 AM
-
By wex in forum General Support
Replies: 2
Last Post: 04-16-2004, 01:51 AM
-
By probono in forum Networking
Replies: 5
Last Post: 10-20-2003, 02:16 PM
-
By MrAhmad in forum Customising & Remastering
Replies: 1
Last Post: 09-06-2003, 11:45 AM
-
By bhsx in forum Customising & Remastering
Replies: 1
Last Post: 03-06-2003, 01:21 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM
$1625.00

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00

Microsoft Windows Server 2025 Standard 64Bit 16 Core-50 CALs DVD With Key Sealed
$49.99

867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001
$245.00

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W
$409.99

Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p
$499.88

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD
$378.93

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb
$374.99

Dell EMC VxRail E560F 10-SFF 2*Gold 6230R 2.1GHz No RAM HBA330 iDrac Ent Server
$349.99

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD
$149.99