Results 1 to 7 of 7

Thread: usbdnet kernel module

  1. #1
    Member registered user
    Join Date
    Feb 2003
    Posts
    55

    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

  2. #2
    Member registered user
    Join Date
    Feb 2003
    Posts
    55

    usbdnet

    Does anyone else have this need, or am I on my own?

  3. #3
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    872
    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.

  4. #4
    Member registered user
    Join Date
    Feb 2003
    Posts
    55
    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

  5. #5
    Junior Member
    Join Date
    Jun 2003
    Posts
    5
    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

  6. #6
    Member registered user
    Join Date
    Feb 2003
    Posts
    55
    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

  7. #7
    Junior Member
    Join Date
    Jun 2003
    Posts
    5
    Hi BR,

    that's what i want to discribe, just compile the modules, not the Kernel that's enought.

    Good Luck

    Roli

Similar Threads

  1. Knoppix 3.4 with kernel 2.6.5 doesn't have lvm module?
    By littleKoala in forum General Support
    Replies: 3
    Last Post: 06-29-2004, 11:56 AM
  2. 2.6 kernel woes, module problems?
    By wex in forum General Support
    Replies: 2
    Last Post: 04-16-2004, 01:51 AM
  3. Load Cisco VPN client kernel module?
    By probono in forum Networking
    Replies: 5
    Last Post: 10-20-2003, 02:16 PM
  4. How to add a modem module to kernel ?
    By MrAhmad in forum Customising & Remastering
    Replies: 1
    Last Post: 09-06-2003, 11:45 AM
  5. LUFS network filesystems kernel module
    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
  •  


128GB (4x32GB) SK hynix DDR4 PC4-2666V RDIMM ECC Server Ram HMA84GR7CJR4N-VK picture

128GB (4x32GB) SK hynix DDR4 PC4-2666V RDIMM ECC Server Ram HMA84GR7CJR4N-VK

$799.00



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

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

$275.00



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

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

$245.00



Microsoft Windows Server 2022 Standard 64Bit 16 Core-50 CALs DVD With Key& picture

Microsoft Windows Server 2022 Standard 64Bit 16 Core-50 CALs DVD With Key&

$69.90



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

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

$1499.00



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

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

$409.99



Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO picture

Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO

$308.00



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W

$524.99



Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD picture

Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD

$99.99



Asrock Rack ROMED8-2T Server Motherboard AMD EPYC 7003 (with AMD 3D V-Cache Tech picture

Asrock Rack ROMED8-2T Server Motherboard AMD EPYC 7003 (with AMD 3D V-Cache Tech

$747.99