LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 08-28-2005, 09:57 AM   #1
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Linux Mint 17.1
Posts: 1,424

Rep: Reputation: 137Reputation: 137
/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
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

Has anyone any idea how to create /dev/usb0 ?

Samac
 
Old 08-28-2005, 10:16 AM   #2
Bonzodog
Member
 
Registered: Apr 2005
Location: UK
Distribution: Arch Linux 64
Posts: 76

Rep: Reputation: 16
um...
(as root)

$cd /dev
$mknod usb0

hope this helps

Simon
 
Old 08-28-2005, 10:36 AM   #3
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Linux Mint 17.1
Posts: 1,424

Original Poster
Rep: Reputation: 137Reputation: 137
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
 
Old 08-29-2005, 04:23 PM   #4
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Linux Mint 17.1
Posts: 1,424

Original Poster
Rep: Reputation: 137Reputation: 137
Anyone ?
 
Old 08-29-2005, 06:34 PM   #5
Bonzodog
Member
 
Registered: Apr 2005
Location: UK
Distribution: Arch Linux 64
Posts: 76

Rep: Reputation: 16
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
 
Old 08-30-2005, 05:33 AM   #6
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Linux Mint 17.1
Posts: 1,424

Original Poster
Rep: Reputation: 137Reputation: 137
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
 
Old 08-30-2005, 03:56 PM   #7
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Linux Mint 17.1
Posts: 1,424

Original Poster
Rep: Reputation: 137Reputation: 137
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
 
Old 09-03-2005, 08:26 AM   #8
jmill_1
Member
 
Registered: Jul 2004
Location: IN, USA
Distribution: Debian 3.1
Posts: 59

Rep: Reputation: 15
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!
 
Old 09-03-2005, 08:54 AM   #9
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Linux Mint 17.1
Posts: 1,424

Original Poster
Rep: Reputation: 137Reputation: 137
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
 
Old 11-11-2010, 09:20 PM   #10
milindlokde
Member
 
Registered: Apr 2007
Location: Mumbai, India
Distribution: Fedora, ubuntu
Posts: 120

Rep: Reputation: 21
Quote:
Originally Posted by samac View Post
Code:
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
Code:
usbnet                 13646  0 
mii                     3422  3 usbnet,8139too,8139cp
 
Old 11-12-2010, 12:58 AM   #11
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,297

Rep: Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722
Quote:
Originally Posted by milindlokde View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
/dev/cdrom is missing entropyv Slackware 13 10-11-2004 10:04 AM
/dev/cdrom & /dev/hdc missing! Lord_Devi Slackware 4 06-25-2004 10:17 AM
/dev/dsp/ is Missing! d_GeNeRiT Linux - Hardware 4 05-24-2004 05:02 PM
missing nodes in /dev with 2.6.5 d3c3it Debian 2 04-18-2004 03:27 PM
/dev/dsp is missing nexx_au Linux - Newbie 2 01-13-2004 12:02 PM


All times are GMT -5. The time now is 09:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration