SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I am having to fix my USB network connection to my Zaurus.
I trimmed my Slackware 10.1 installation to the bone, and trimmed a bit to hard. I have everything working apart from my USB network.
Upon starting my network script I get the following message:
Code:
SIOCSIFADDR: no such device
usb0: unknown interface: no such device
SIOCSIFNETMASK: no such device
usb0: unknown interface: no such device
SIOCADDRT: no such device
ls -al /dev/usb0 gives no response
The USB connection is detected when I unplug and replug the zaurus as "tail /var/log/messages" reads:
kernel: usb 1-1.3: new full speed USB device using ohci-hcd and address 11
ifconfig -a does not show network device usb0 even though it is specified in /etc/rc.d/rc.init1.conf and enabled in /etc/rc.d/rc.init1
I thought that mknod required the use of major and minor numbers and is the device a FIFO or unbuffered device, I ask because these details are not listed in /usr/src/linux/Documentation/devices.txt and there are no details that I can find when googling
from what I can determine, /dev/usb0 would be a character special device. There is an interesting script in the /dev directory called 'makedev'. The apparent aim of this is to help you create a device node of the correct type with out any hassle.
You would still use mknod to create it though, unless you decided to give the makedev script a try. see man mknod
MAKEDEV unfortunately doesn't create the device, however it is good to know that it is a character device (I was thinking that, but wasn't sure).
That leads to the second problem, what are the major and minor numbers, because they are not listed in /usr/src/linux/Documentation/devices.txt .
I am at a loss to explain why I had it before and I don't have it now. What does Slackware use to create the /dev directory on start-up. I thought it was the package devs-2.3.1-noarch-21.tgz, but reinstalling that package does not create the device.
Maybe a symlink to something in the /dev/usb/ directory?
Did some more playing, didn't seem to accomplish anything, then suddenly it started working, still no sign of /dev/usb0 but it works, now that is strange because my script is set to work specifically with /dev/usb0
ok samac could you please tell us what you did to get it to work? I am having the toughest time getting my new Z to sync with my Mandrake box. It is detected because I can see it in usb view but cannot get online with it because it isn't syncing. I too have no usb0 so please tell me what you did to get it to sync!
SIOCSIFADDR: no such device
usb0: unknown interface: no such device
Even I am getting the same message. I am trying to connect my Imate Pdal windows mobile to Fedora 13. There is no USB0. You have got it working but how.
I read the link provided for zaurus. There is no "/etc/hotplug/blacklist" file in Fedora 13. "lsmod|grep usbnet" gives
Even I am getting the same message. I am trying to connect my Imate Pdal windows mobile to Fedora 13. There is no USB0. You have got it working but how.
I read the link provided for zaurus. There is no "/etc/hotplug/blacklist" file in Fedora 13. "lsmod|grep usbnet" gives
Code:
usbnet 13646 0
mii 3422 3 usbnet,8139too,8139cp
This thread is pretty old and hotplug hasn't been used for some time (and you are using another distribution). Your device would almost certainly require some device-specific knowledge, since it uses Windows Mobile. My Z is gathering dust with a dead battery, and it's been a while since I've done this, so my memory is foggy...I have scripts that control setting up the network with the usb0 device, but as long as the proper modules were loaded (both on the Z and the host), and as long as the networking settings were setup correctly on the Z, it worked perfectly. If a /dev/usb0 device is not created for you despite the usbnet module being loaded, then you should check your Windows Mobile settings to ensure that this is possible. The Zaurus runs real Linux and is a very different beast compared to Windows Mobile.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.