Sponsored Content
Full Discussion: OpenBSD Questions
Top Forums UNIX for Dummies Questions & Answers OpenBSD Questions Post 15988 by Hamcha on Friday 22nd of February 2002 03:05:36 PM
Old 02-22-2002
OpenBSD Questions

Hello

Today I installed OpenBSD, and it went great (I hope)

But I'm a little confused.. I've run ŽLinux slackware before, and when I recompiled the kernel there, I did it in /usr/src/linux-xxx

But in OpenBSD the /usr/src dir is empty!

And how do I get X-windows to work? I tried to install nvidia kernel and nvidia-glx, but I couldnt..

Where are there HOWTO's and stuff for openbsd?

//Hamcha
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

please help with openbsd 2.9

Please help. I have downloaded the openbsd 2.9 snapshot from ftp.openbsd.org. the following files were downloaded from the snapshot dir. ( the whole dir. was downloaded ) base29,bsd,bsd.rd,cdrom29.fs,cksum,comp29,etc29,all three floppy images,game29,index,install.ata,install.chs... (11 Replies)
Discussion started by: Blunt_Killer
11 Replies

2. UNIX for Dummies Questions & Answers

OpenBSD: dircolors?

Hi, I'm wondering how I can get colors on the stuff that ls prints out in OpenBSD? //Maestin (4 Replies)
Discussion started by: Maestin
4 Replies

3. UNIX for Dummies Questions & Answers

OpenBSD as router?

Hi Right now, my computer is connected directly to the internet.. but I recently got another one, and now I want to use this to share my internet connection to the other one. The new one has openbsd installed.. How should I do? I also need to forward connections on some ports to my old... (4 Replies)
Discussion started by: Maestin
4 Replies

4. UNIX for Dummies Questions & Answers

FreeBSD or OpenBSD???

Greetings, Newbie to 'nix here. I ran slackware 7.0 for a few months, but am more interested in the BSD flavors. The two I've been considering for my new box are FreeBSD and OpenBSD. I'm in the process of researching the two, but wanted to know if anyone in the crowd could give some advice. Is... (4 Replies)
Discussion started by: networkz
4 Replies

5. Filesystems, Disks and Memory

Maxtor vs. OpenBSD

Can't setup OpenBSD 3.4 with Maxtor Diamond Plus 9 80Gb ATA/133 HDD... Install process stops at hardware initialize, before installing... :confused: Any Comments... Thanks (2 Replies)
Discussion started by: bsdave
2 Replies

6. BSD

Trying to get into OpenBSD

I am an eight year Linux user and after getting into an argument with someone about OpenBSD overiding my theory that OS security is 50% OS and 50% admin skill, I decided to try OpenBSD for myself. I've tried BSDs before and haven't been able to get into them for day to dy use, but I am going to... (7 Replies)
Discussion started by: deckard
7 Replies

7. BSD

openBSD 4.4 server stuff questions

Hi! i have installed openBSD 4.4 on i386 and i use it as simple web server. Apache 1.3 manages web server. The problem is that i want to make safe file transfer via SFTP. I know that it uses openSSH... 1) does i need to enable anything else than openSSH and SFTP? 2) where can i find openSSH... (2 Replies)
Discussion started by: wolf3d
2 Replies

8. BSD

openbsd-pf

hello , I wondered if anyone could assist me in writing a simple packet filter firewall on my OpenBSD v4.5. All I intend doing is to have two firewalling machine on a separate network : 192.168.1.1 ext_if = xl0 (dhcp) // Internet interface int_if=xl1 // Internatl interface ... (0 Replies)
Discussion started by: mattjam
0 Replies

9. Homework & Coursework Questions

Print questions from a questions folder in a sequential order

1.) I am to write scripts that will be phasetest folder in the home directory. 2.) The folder should have a set-up,phase and display files I have written a small script which i used to check for the existing users and their password. What I need help with: I have a set of questions in a... (19 Replies)
Discussion started by: moraks007
19 Replies

10. BSD

NFSD under OpenBSD

Hi all, I am having a following problem. Trying to run PXE boot server on my OpenBSD machine I have ended up on making NFSd daemon works. On all machines I get an error msg. nfsd : nfsd count is invalid: (null) no matter what computer I run it on. Everything works just well on FreeBSD and linux.... (1 Reply)
Discussion started by: smoofy
1 Replies
sane-scsi(5)							File Formats Manual						      sane-scsi(5)

NAME
sane-usb - USB configuration tips for SANE DESCRIPTION
This manual page contains information on how to access scanners with a USB interface. GENERAL INFO
This manual page describes the access of USB scanners over the sanei_usb interface. Most SANE USB backends use the sanei_usb interface, only sm3600 accesses the USB directly by libusb. Have a look at sane-sm3600 and section "LIBUSB ACCESS TIPS" of this manual page for that backend. Two methods for accessing USB devices are used by sanei_usb: direct access using the kernel scanner driver and access over libusb. sanei_usb tries both methods, if they are available. Currently USB access is tested for Linux (kernel, libusb), FreeBSD (kernel, libsub), NetBSD (libusb), and OpenBSD (kernel, libusb). Libusb access should also work on Mac OS X (Darwin) and any other operating system supported by libusb but hasn't been tested yet. For installation issues, also check the /usr/share/doc/sane-backends-1.0.9/README.platform files. Most backends will detect USB scanners automatically using "usb" configuration file lines. This method allows to identify scanners by the USB vendor and product numbers. The syntax for specifying a scanner this way is: usb VENDOR PRODUCT where VENDOR is the USB vendor id, and PRODUCT is the USB product id of the scanner. Both ids are non-negative integer numbers in decimal or hexadecimal format. The correct values for these fields can be found by looking into the syslog (e.g., /var/log/messages) or under Linux by issuing the command "cat /proc/bus/usb/devices/". This is an example of a config file line: usb 0x055f 0x0006 would have the effect that all USB devices in the system with a vendor id of 0x55f and a product id of 0x0006 would be probed and recog- nized by the backend. The same config line in decimal format looks like this: usb 1375 6 If your scanner is not detected automatically, it may be necessary to edit the appropriate backend configuration file before using SANE for the first time. For most systems, the configuration file should list the name of the USB device file that the scanner is connected to (e.g., under Linux, /dev/usb/scanner0 or /dev/usbscanner0 is such a USB device, the device file for FreeBSD is e.g. /dev/uscanner0). If libusb is used, the device name looks like the following example: libusb:001:002 Do not create a symlink from /dev/scanner to the USB device because this link is used by the SCSI backends. The scanner may be confused if it receives SCSI commands. For a detailed description of each backend's configuration file, please refer to the relevant backend manual page (e.g. sane-mustek_usb for Mustek USB scanners). WHEN TO USE WHICH ACCESS METHOD
Generally speaking, if your scanner works with one method, there is no need to switch to the other one. Libusb is the more general approach and will be able to access any scanner. Also, it supports more platforms. However, the library must be available and installed on the system and setting permissions isn't easy at least on Linux. Autodetecting scanners and using USB control messages with the kernel access method only works with recent (>=v2.4.12) Linux kernels. If you need one of these two features on a different platform, use libusb instead. KERNEL SCANNER DRIVER TIPS
Ensure that the access permissions for the USB device are set appropriately. We recommend to add a group "scanner" to /etc/group which contains all users that should have access to the scanner. The permission of the device should then be set to allow group read and write access. For example, if the scanner is at USB device /dev/usb/scanner0, then the following two commands would set the permission cor- rectly: $ chgrp scanner /dev/usb/scanner0 $ chmod 660 /dev/usb/scanner0 If your scanner isn't detected automatically by your operating system's scanner driver, you need to tell the kernel the vendor and product ids of your scanner. For Linux, this can be done with modprobe parameters: First, remove the scanner module (rmmod scanner), then load it again: modprobe scanner vendor=0x0001 product=0x0002. Use the appropriate vendor and product ids (e.g. from syslog or cat /proc/bus/usb/devices). For OpenBSD the kernel must be recompiled. For details look at /usr/share/doc/sane-backends-1.0.9/README.openbsd. Similar approaches should be used for the other BSDs. Linux kernel messages in syslog like "kernel: scanner.c: open_scanner(1): Unable to access minor data" can be ignored. They are generated when SANE scans all available USB devices for scanners. LIBUSB ACCESS TIPS
Libusb can only access your scanner if it's not claimed by the kernel scanner driver. If you want to use libusb, unload the kernel driver (e.g. rmmod scanner under Linux) or disable the driver when compiling a new kernel. For Linux, your kernel needs support for the USB filesystem (usbfs) and that filesystem must be mounted. That's done automatically, if /etc/fstab contains a line like this: none /proc/bus/usb usbfs defaults 0 0 The permissions for the device files used by libusb must be adjusted for user access. Otherwise only root can use SANE devices. For Linux, the devices are located in /proc/bus/usb/. There are directories named e.g. "001" (the bus name) containing files "001", "002" etc. (the device files). The right device files can be found out by running scanimage -L as root. Setting permissions with "chmod" is not permanent, however. They will be resetted after reboot or replugging the scanner. It's also possible to mount the usbfs with the option "dev- mode=0666", e.g. by using the following line in /etc/fstab: none /proc/bus/usb usbfs defaults,devmode=0666 0 0 However, this way everyone has access to all USB devices. Another way to set permissions is to use the hotplug utilities (http://linux-hot- plug.sourceforge.net/), which support dynamic setting of access permissions. Last, the frontends can be run as root. However, that's not recommended for security reasons. For the BSDs, the device files are named /dev/ugen*. Use chmod to apply appropriate permissions. ENVIRONMENT
SANE_DEBUG_SANEI_USB If the library was compiled with debug support enabled, this environment variable controls the debug level for the USB I/O subsys- tem. E.g., a value of 128 requests all debug output to be printed. Smaller levels reduce verbosity. Values greater than 4 enable libusb debugging (if available). SEE ALSO
sane(7), sane-find-scanner(1), sane-"backendname"(5), sane-scsi(5) AUTHOR
Henning Meier-Geinitz. Some parts were copied from the sane-scsi manual page. 15 Sep 2002 sane-scsi(5)
All times are GMT -4. The time now is 05:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy