how to create device files in FreeBSD 6
hai, i have an external modem connected to serial port, i cant find any deivce /dev/cuaa0 for serial port to connect, and i cant able to create using mknod in /dev/ directory but i it is possible in other directory, i did this as root. how can i create the device uing devfs, ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how to create device files in FreeBSD 6
c.s.prakash wrote: i have an external modem connected to serial port, i cant find any deivce /dev/cuaa0 for serial port to connect, and i cant able to create using mknod in /dev/ directory but i it is possible in other directory, i did this as root. how can i create the device uing devfs, You shouldn't need to, devfs automatically updates /dev when new hardware is attached. It is likely that the correct driver isn't loaded. If the device driver is not compiled into the kernel then you can load a kernel module with kldload - assuming the device is supported. Cheers, Erik -- Ph: +34.666334818 web: www.locolomo.org S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt Subject ID: 9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72 Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how to create device files in FreeBSD 6
On 12/20/05, Erik Norgaard [EMAIL PROTECTED] wrote: c.s.prakash wrote: i have an external modem connected to serial port, i cant find any deivce /dev/cuaa0 for serial port to connect, and i cant able to create using mknod in /dev/ directory but i it is possible in other directory, i did this as root. how can i create the device uing devfs, You shouldn't need to, devfs automatically updates /dev when new hardware is attached. It is likely that the correct driver isn't loaded. If the device driver is not compiled into the kernel then you can load a kernel module with kldload - assuming the device is supported. I believe the serial driver is still enabled in the generic kernel. Perhaps, if you haven't built a custom kernel, you have the serial port disabled in the BIOS settings? If your serial port is actually a USB to serial converter, you will need to load its driver. - Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Create device
On Sun, Dec 26, 2004 at 07:56:39PM -0500, Leon wrote: Hi, I'm trying to create device by using command MAKEDEV But it does not work. What command can I use? You forgot to mention important details like: * The version of FreeBSD you're running * The exact command you're trying to run * The exact errors you receive. Kris pgpLejAU8JQ0w.pgp Description: PGP signature
Create device
Hi, I'm trying to create device by using command MAKEDEV But it does not work. What command can I use? Thanks, Leon. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Create device
On Sun, 26 Dec 2004, Leon wrote: I'm trying to create device by using command MAKEDEV But it does not work. What command can I use? On 4.x MAKEDEV is a shell script, so you should type sh MAKEDEV ...followed by your arguments. For example, 'sh MAKEDEV acd0t99'. And I think you have to be in the /dev directory for this to work, since that's where the MAKEDEV script is located. You also need to be root, or equivalent (su or sudo). MAKEDEV doesn't exist on 5.x, so if you're running 5.x that might also explain it not working. Those who are qualified to offer further suggestions (i.e. who know more than I do) would certainly ask two questions: a) what version of FreeBSD are you running (uname -a will tell you), and b) in what way does it not work? That is, exactly what do you type, and what is the system's response? -- Chris Hill [EMAIL PROTECTED] ** [ Busy Expunging | ] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Create device
On Sun, 26 Dec 2004, Chris Hill wrote: MAKEDEV doesn't exist on 5.x, so if you're running 5.x that might also explain it not working. That's because on 5.x you don't need it; devices live in their own special filesystem, and are created on the fly: stinky% df /dev Filesystem 1K-blocks Used Avail Capacity Mounted on devfs 11 0 100%/dev -- Dave ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
create device
Hi, I have 5.3 BSD. I'm trying to create device with command MAKEDEV But this command is not recognizable. Which command can I use to create device? Thanks, Leon. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: create device
-Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd- [EMAIL PROTECTED] On Behalf Of Leon Sent: Sunday, December 26, 2004 4:18 To: freebsd-questions@FreeBSD.org Subject: create device Hi, I have 5.3 BSD. I'm trying to create device with command MAKEDEV But this command is not recognizable. Which command can I use to create device? Thanks, Leon. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] The MAKEDV script is only present on a 4.* system and is not there on a 5.3system. A 5.3 system automatically creates all required device nodes. Regards S. Indian Institute of Information Technology Subhro Sankha Kar Block AQ-13/1, Sector V Salt Lake City PIN 700091 India smime.p7s Description: S/MIME cryptographic signature