/dev/usb0 missing
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 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 Has anyone any idea how to create /dev/usb0 ? Samac |
um...
(as root) $cd /dev $mknod usb0 hope this helps Simon |
um ...
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 Any further insight would be appreciated. Samac |
Anyone ?
|
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 Simon |
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? Maybe udev? (but I don't understand that one yet) Samac |
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
The world is wierd! Samac |
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!
Thanks! |
I suspect the problem was on the Z side as it disappeared after I had to reboot the Z.
There are full details on how to do it on here Samac |
Quote:
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 |
Quote:
|
All times are GMT -5. The time now is 05:54 PM. |