Problems setting up an USB Network
Hello List, I researched a little more on the subject but couldn't get far.
Following this howto this time:
http://www.ruault.com/Zaurus/ethernet-over-usb-howto.html
I patched my kernel 2.4.18 and made al necesary changes to it so it would
allow me to set this special network.
Configuring the system to use hotplug here is what drops every time the
zaurus is plugged in:
hub.c: USB new device connect on bus 1/2 assigned device number 2
usb.c: USB device 8 (vend/prod 0x4dd/0x8004) is not claimed by any active
driver
(finally i got somewhere, its better an error message than no message at
all...)
Also if i try to do the connection "manually" i get:
ifconfig usb0 192.168.129.1 netmask 255.255.255.255 up
SIOCSIFADDR: No existe tal dispositivo (Driver does not exist)
usb0: ERROR while getting interface flags: No existe tal dispositivo (Driver
does not exist)
SIOCSIFNETMASK: No existe tal dispositivo (Driver does not exist)
usb0: ERROR while getting interface flags: No existe tal dispositivo (Driver
does not exist)
Testing here and there it seems the module usbdnet isn't active and therefore
there is no driver to catch the i/o interruption served by hotplug.
Ok, so I tried to load usbdnet directly using modprobe but couldnt find the
file usbdnet.o.
Next thing I did was compiling the module usbdnet directly into the kernel in
make menuconfig but:
Results: Error
[...]
gcc -D__KERNEL__ -I/usr/src/kernel-source-2.4.18/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=i686 -malign-functions=4 -DKBUILD_BASENAME=usbdnet -c -o usbdnet.o
usbdnet.c
usbdnet.c:24: #error MODULE not defined
usbdnet.c:59: parse error before string constant
usbdnet.c:59: warning: type defaults to `int' in declaration of
`MODULE_AUTHOR'
usbdnet.c:59: warning: function declaration isn't a prototype
usbdnet.c:59: warning: data definition has no type or storage class
usbdnet.c:60: parse error before string constant
usbdnet.c:60: warning: type defaults to `int' in declaration of
`MODULE_DESCRIPTION'
usbdnet.c:60: warning: function declaration isn't a prototype
[etc...]
Any Ideas? Is it the Patch (http://www.ruault.com/Zaurus/patches/)?
Is it a consecuence of my Ignorance?
Thanks a lot for any help, tips, consoling messages...
Chainy.
------------
When I talk to people about Linux they allways end up asking me:
Then why people are still using Window$?
Reply to: