Re: using ports or gems (easy_install)
On Tue, 28 May 2013 15:06:15 +0200 Albert Shih albert.s...@obspm.fr wrote: Le 28/05/2013 ? 14:50:25+0700, Olivier Nicole a écrit Hi, I would like to known how you manage your gem (ruby) or easyinstall (python). Do you use ports ? or directly gems or easyinstall ? or both ? As far as I can, I use ports, for consistency. Me too. But what you do when you cannot ? (Like the ports don't exist) ? I see three possibility : 1/ write the ports (unfortunately not for me) 2/ wait until someone does (many time it's impossible) 3/ use easy_install or gem It is easy to learn. I would strongly suggest learning it, even if you just maintain the ports yourself and don't contribute them to the ports tree. Doing so will drastically improve the manageability of your system. http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 9 and Windows XP
On Sat, 9 Mar 2013 12:07:41 -0800 (PST) leeoliveshackelf...@surewest.net wrote: Good afternoon, FreeBSD enthusiasts. Can FreeBSD 9.1 be installed on a computer on which Windows XP currently resides? If so, how can this installation be done? In particular, is there a way to install 9.1 so that it can be booted from the traditional master boot record? It is important that, when I am done, I can still boot to Windows XP, as I must run some applications not available on FreeBSD. If the idea I am proposing is not feasible with version 9.1, will it work with 8.3? Any comments are appreciated. If this question has already been asked many times before, please just let me know where to look to find the answer. Thanks. Newbie502 When I did it, I shrunk the Windows partition and installed FreeBSD to the a new partition created on the free space of the drive. The multiboot version of the MBR stuff for FreeBSD should be able to handle it for you with out issue. I've not done it with 9.1, but when I did it with 6 way back when, it worked nicely. signature.asc Description: PGP signature
Re: What is your favorite board for a micro system?
On Sat, 09 Mar 2013 00:53:27 +0100 Erik Nørgaard norga...@locolomo.org wrote: Hi! What is your favorite mini/micro/nano/pico-itx platform for home projects? I currently run a home server on an Intel mini-itx board but was looking around for something fun to play with with the following specs: - mini-itx or smaller, low profile - fanless - low power 12V external PSU - 1 LAN, preferably 2 - 2 USB2/3 - Flash bootable, but with option for hdd boot - GPIO would be fun - hdmi out would be nice I have tried VIA boards but found they were flacky... Any suggestion regarding ARM vs Intel based? Can't think of any off hand in that small of form factor, but I strongly suggest looking to see what you can find running an Intel Atom. I've been very happy with those and their related chipsets so far for microATX boards. signature.asc Description: PGP signature
Re: question about my new Dell 3010
On Sun, 9 Dec 2012 15:47:06 -0800 Gary Kline kl...@thought.org wrote: Rats:: xvidtune gave me Video modes are not settable on this chip. how cheap can you get? no, the question is: what chip/video card do I need that will get me [at least] 1920x1280? Unless you wish to get the the KMS stuff working like Warren Block suggested, I strongly advise getting a Nvidia card as of currently that is the easiest and most reliable way to get good 3D under FreeBSD. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
freebsd-update from recent 8-STABLE to 9.0-RELEASE issues
Howdy! Any one have any idea what is going on below? [root@shiela]/root# uname -a FreeBSD shiela.vulpes.vvelox.net 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Sat Feb 25 04:55:35 CST 2012 kits...@shiela.vulpes.vvelox.net:/usr/obj/usr/src/sys/sheila amd64 [root@shiela]/root# freebsd-update -r 9.0-RELEASE upgrade Looking up update.FreeBSD.org mirrors... 3 mirrors found. Fetching public key from update5.FreeBSD.org... failed. Fetching public key from update4.FreeBSD.org... failed. Fetching public key from update3.FreeBSD.org... failed. No mirrors remaining, giving up. Exit 1 [root@shiela]/root# ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Understanding XDM
On Sun, 24 Jun 2012 22:19:54 +0200 Christian Graulund cutu...@gmail.com wrote: snip The others have answered your questions concerning DM v. WM, but if you are finding XDM annoying to configure, you may possible wish to take a look at slim, x11/slim. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: printing jpeg slides to a Postscript printer
On Mon, 25 Jun 2012 11:15:36 +0200 Matthias Apitz g...@unixarea.de wrote: Hello, I have 10 jpeg slides (screen shoots) and I want to print them to a Postscript printer (CUPS controlled), on each page 2 slides. I know I could make some presentation from them or wrap them into a HTML file, but I was thinking there must be some easy way with some tool from our ports. Any idea? Thanks in advance I would just load them up in print them in Libreoffice and print them once I was happy with how the page layout looked. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: freebsd-update from recent 8-STABLE to 9.0-RELEASE issues
On Mon, 25 Jun 2012 12:26:12 +0100 RW rwmailli...@googlemail.com wrote: On Mon, 25 Jun 2012 04:21:18 -0500 Zane C. B-H. wrote: Howdy! Any one have any idea what is going on below? [root@shiela]/root# uname -a FreeBSD shiela.vulpes.vvelox.net 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Sat Feb 25 04:55:35 CST 2012 kits...@shiela.vulpes.vvelox.net:/usr/obj/usr/src/sys/sheila amd64 [root@shiela]/root# freebsd-update -r 9.0-RELEASE upgrade Looking up update.FreeBSD.org mirrors... 3 mirrors found. Fetching public key from update5.FreeBSD.org... failed. Fetching public key from update4.FreeBSD.org... failed. Fetching public key from update3.FreeBSD.org... failed. No mirrors remaining, giving up. Exit 1 [root@shiela]/root# freebsd-update doesn't support development branches, you have to go from security branch to security branch. I know it can't be used to update to stable, but I've not encountered any thing in the documentation saying it can't be used to update from stable it to a release. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: freebsd-update from recent 8-STABLE to 9.0-RELEASE issues
On Mon, 25 Jun 2012 14:12:36 +0100 RW rwmailli...@googlemail.com wrote: On Mon, 25 Jun 2012 06:53:45 -0500 Zane C. B-H. wrote: On Mon, 25 Jun 2012 12:26:12 +0100 RW rwmailli...@googlemail.com wrote: freebsd-update doesn't support development branches, you have to go from security branch to security branch. I know it can't be used to update to stable, but I've not encountered any thing in the documentation saying it can't be used to update from stable it to a release. From the man page: ... the FreeBSD Security Team only builds updates for releases shipped in binary form by the FreeBSD Release Engineering Team Right, that is exactly what I was referring to. 9.0-RELEASE is one of those as far as I know. It is ambiguous as to if that means being upgraded from or to and the error message given does not indicate what is being upgraded from is not supported, so I am a bit confused on if this is to be expected or not. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Strange case of vanishing disk
On Mon, 04 Jun 2012 12:20:13 +0100 Kaya Saman kayasa...@gmail.com wrote: On 06/04/2012 04:42 AM, Zane C. B-H. wrote: On Mon, 04 Jun 2012 02:06:57 +0100 Kaya Samankayasa...@gmail.com wrote: snip I've just tried this and lost my whole system. My boot disk is not labeled to work with ahci as it just has standard formatting on there. Need to remove the ahci_load=YES from /boot/loader.conf file now. Ack, my apologies. Forgot about that. Yeah, you will need to do it from the loader prompt if you want to test it. Unless you are booting off of gmirror or have /etc/fstab configured with something else that will automatically be found, you will have a problem. But from the loader prompt it should be... load /boot/kernel/ahci.kp show rootdev If rootdev shows any thing other than shows boot device as ad, rewrite it as ada, using the set command. See loader(8). This will get it to boot, although it will error and drop to single user mode as /etc/fstab contains the old stuff. Just manually mount everything and continue. At this point it should be up and running and able to test it out. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: vpn speed loss
On Fri, 1 Jun 2012 11:48:45 +0200 Beni Brinckman beni.brinck...@gmail.com wrote: Hi, I'm running FreeBSD 9.0-RELEASE (pc-bsd 9.0 actuallly) on amd64 and I'm using a vpn connexion. My problem is the enormous speed loss i'm having when I'm using the vpn connexion. I have tried Openvpn and mpd5 (with a pptp and l2pt connexion) and the max speed (according to various speedtests) is 5 to 6MB. Without the vpn I'm having 45-50 MB... My vpn service has servers in several European countries and US, Canada, etc. The speed stays the same. So I don't think it is a specific bsd problem but the lines/connexion between ISP's. Is this the normal speed when using a vpn (independently of the used program to connect) ? Because from 45-50 back to 5-6 is a big step backward... Thanks for any insights here. With OpenVPN, you should not be seeing that big of a drop, with the real limiting factor being the CPU time available for it. You can easily check top and see if that is the case. If you get 45-50MBps between the two locations with out VPN, baring any firewall issues at either end, it is likely a configuration issue in regards to the networking of the machines in question or the VPN software or a CPU resource issue. One of the first areas I would check is the MTU being used on the network interfaces, figure out what the max MTU for the path is, and make sure the VPN software is not sending packets larger than that. You may also want to take a look at tuning(7). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Strange case of vanishing disk
On Mon, 04 Jun 2012 02:06:57 +0100 Kaya Saman kayasa...@gmail.com wrote: Hi, this is a very strange issue but I guess will either be related to 2 things, PSU not being powerful enough or disk controller simply being crap. Here's what's going on. I have a little Chenbro 4 disk mini-ITX NAS server with 2x 2TB disks and 2x4TB disks as storage - all spread out over 2 ZFS storage pools. Additionally I am running the root file system on a 40GB SSD. The strange thing with this is that I recently installed the 4TB disks and they're brand new. One disk connected to the system board works fine and shows up as online and on one of the channels using atacontrol list. The other disk is connected to a Startech.com Jmicron based 2x SATA RAID controller card. The disk connected to the controller card is having issues. At first the drive wouldn't be seen by the system then after a while all of a sudden it was there. No reboots, no io scans nothing it just appeared. After blasting it with IO for a few days the disk has now vanished again. I had this error in dmesg for a while: ad4: TIMEOUT - READ_DMA retrying (1 retry left) LBA=113337535 I have tried to use pciconf -lbvv to show the connected interfaces and the JMICRON comes up fine: atapci0@pci0:2:0:0:class=0x010400 card=0x2366197b chip=0x2366197b rev=0x02 hdr=0x00 vendor = 'JMicron Technology Corp.' device = 'JMicron JMB366 AHCI/IDE Controller (JMB36X)' class = mass storage subclass = RAID bar [10] = type I/O Port, range 32, base 0xd040, size 8, enabled bar [14] = type I/O Port, range 32, base 0xd030, size 4, enabled bar [18] = type I/O Port, range 32, base 0xd020, size 8, enabled bar [1c] = type I/O Port, range 32, base 0xd010, size 4, enabled bar [20] = type I/O Port, range 32, base 0xd000, size 16, enabled bar [24] = type Memory, range 32, base 0xd051, size 8192, enabled So why isn't the disk? I reckon as stated at the beginning that either the 180Watt PSU inside the system isn't enough or the controller is just really poor?? Could anyone suggest anything to look into, I'm sure I've covered all the bases but just incase there is something else I can do with this one?? Greetings, It looks like you are using the default ATA drive with that. I would suggest trying the AHCI driver and see if that works better. kldload ahci ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: email hosting - How do you do it?
On Thu, 26 Jan 2012 15:51:05 -0700 Peter fb...@peterk.org wrote: Hello, I've been on qmail/vpopmail combo forever and am looking to build a new, mail server. As some one who has was once a unix admin for a ISP that ran Qmail for a SMTP server, I can safely say you should avoid it like the plague. Managing it is a bloody PITA given how incomplete it is in so many ways. First choice so far is postfix, but almost all the virtual hosting 'howtos' require an SQL database, or editing files by hand. The SQL part seems like an overkill for ~20-50 email accounts, the editing files by hand seems like a pain and requires me doing everything but I'd rather let people manage their own domains. Postfix is a great choice. A lot more manageable than Qmail and it is pleasantly fast, easy to configure, and integrates nicely with Dovecot. If you are just dealing with a single domain, I would strongly suggest looking into just using system users. This works fairly nicely and you can lock down access via PAM. In regards to authentication, you will need to look into something other than the master.passwd stuff authentication as that is only usable as root. I would strongly suggest LDAP. In regards to managing users/groups in LDAP I would suggest sysutils/p5-Plugtools . It is something I wrong awhile back and maintain, so if you have any requests for add on to, please just let me know. Just curious on how everyone else does small/medium/large email hosting so that the users have an easy option to change passwords, manage their domains, quotas, vacation auto responders, etc. ? My setup involves... backend - The backend server runs LDAP and has a nice bit of disk space shared via NFs. frontend - The frontend servver runs all the external facing stuff, webmail(horde), more web stuff, Dovecot(POP3/IMAP/Sieve), and Postfix(SMTP). NFS - Used for sharing home directories. LDAP - Used for authentication, addressbooks, and user/groups. Dovecot - Use for POP3/IMAP/Sieve. Postfix - Used for SMTP. syslogd - Used for centralized logging for logging from the frontend to the backend. Horde - It makes a truely kick ass webmail system. It is nice as allows easy integration of Sieve and LDAP addressooks. ZFS/gmirror - Gmirror backed ZFS pools work really nicely for if you need large amounts of storage. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Smartcam (or can you use linux dev driver + program)
On Sun, 15 Jan 2012 01:49:06 -0800 Lyubomir Grigorov lyubo...@grigorovl.eu wrote: snip QUESTION Is it even possible to use the Linux dev driver under FreeBSD? Since Smartcam is a 2-part suite: driver and application. The Linux compatibility layer for FreeBSD does not include the ability to use Linux kernel modules. It concerns it's self with providing support for the non-kernel stuff. If it's not possible to use linuxator, will it be possible to use the source to create a FreeBSD version of the dev driver? I assume the program will be easier to port than the actual driver. With out any changes, no. The Linux kernel and FreeBSD kernel are two very different items. If you are looking to port it, below are some links that would be a good place to start off with reading. http://www.freebsd.org/doc/en_US.ISO8859-1/books/arch-handbook/index.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/index.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/index.html http://www.freebsd.org/docs/books.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Probable Hardware Failure
On Sat, 14 Jan 2012 16:12:24 -0800 Doug Hardie bc...@lafn.org wrote: I have a pretty old desktop that has been around quite awhile. It has started periodic crashes. No log messages. However, the core status files all show double fault. I am confident this is a hardware issue, but is there any easy way to determine if its power or memory related? Those are the primary candidates although memory is also possible. We really need to replace the entire unit, but that might be a bit more salable if I can present convincing evidence of the cause of the problem. In regards to the RAM, I would strongly suggest memtest86/memtest86+. When you begin seeing odd issues like that, it can be a handy tool to use for a quick RAM check. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: umass to /dev/da* mapping
On Mon, 5 Dec 2011 17:08:15 + Mike Clarke jmc-freeb...@milibyte.co.uk wrote: I have a fairly simple perl script which is run by devd when I plug in a USB memory stick. The script sets up some permissions and a link to make life easy for a user to mount the memory stick. This normally works fine but there are problems if the memory stick is already inserted before booting. Normally my internal 4 slot memory card reader is detected as umass0 with devices da[0-3] and when the USB memory stick is inserted it comes up as umass1 with device da4 and my script works on that assumption. If the USB stick is present on booting then it appears as da0 on umass0 and the card reader is da[1-4] on umass1 so the script fails. Is there any convenient way for my script to determine which da* devices correspond to the umass device name? Why are you using a custom Perl script for this instead of the built in tools for this? Below is how I have it setup on my system... In /etc/devfs.rules... [localrules=10] add path 'da*s*' mode 0660 group 5001 In /etc/rc.conf... devfs_system_ruleset=localrules In /etc/sysctl.conf... vfs.usermount=1 And what group 5001 is... [kitsune@vixen42]/etc getent group 5001 devDAaccess:*:5001:kitsune [kitsune@vixen42]/etc Allows the group devDAaccess to access /dev/da*s* and mount it. For more reading on this, I suggest the following man files... devfs.rules(5) rc.conf(5) devfs(8) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: X11 - keyboard driver unloaded, how to load it again
On Wed, 7 Dec 2011 08:48:20 +0100 Sebastian Chmielewski chmi...@o2.pl wrote: Hi, I've an USB Mouse - Microsoft Wireless Mouse 1000, which is recognized also as a keyboard: ugen1.3: vendor 0x192f at usbus1 (disconnected) ums0: at uhub2, port 2, addr 3 (disconnected) ugen0.5: Microsoft at usbus0 ukbd0: Microsoft Microsoft 2.4GHz Transceiver v8.0, class 0/0, rev 2.00/6.56, addr 5 on usbus0 kbd2 at ukbd0 ums0: Microsoft Microsoft 2.4GHz Transceiver v8.0, class 0/0, rev 2.00/6.56, addr 5 on usbus0 ums0: 5 buttons and [XYZT] coordinates ID=26 ums0: 0 buttons and [T] coordinates ID=0 uhid0: Microsoft Microsoft 2.4GHz Transceiver v8.0, class 0/0, rev 2.00/6.56, addr 5 on usbus0 After disconnecting this mouse kbd module was unloaded by X: [ 40002.703] (**) Microsoft 2.4GHz Transceiver v8.0: always reports core events [ 40002.703] (**) Microsoft 2.4GHz Transceiver v8.0: always reports core events [ 40002.704] (**) Option Protocol standard [ 40002.704] (**) Option XkbRules base [ 40002.704] (**) Option XkbModel pc105 [ 40002.704] (**) Option XkbLayout pl [ 40002.704] (**) Option XkbOptions terminate:ctrl_alt_bksp [ 40002.709] (**) Option config_info hal:/org/freedesktop/Hal/devices/usb_device_45e_745_noserial_if0 [ 40002.709] (II) XINPUT: Adding extended input device Microsoft 2.4GHz Transceiver v8.0 (type: KEYBOARD) [ 47161.229] (II) 3rd Button detected: disabling emulate3Button [ 49888.691] (II) config/hal: removing device Microsoft 2.4GHz Transceiver v8.0 [ 49888.696] (II) UnloadModule: kbd [ 49888.696] (II) Unloading kbd Question is: how to prevent this behavior in X and how to reload module 'kbd' under working X session (I can connect through ssh to this machine). I would suggest just disabling HAL support for x11-server/xorg-server and just statically configuring the file. The only thing you may possibly want to do after that is make sure moused is started if you are have any non-USB mice on that system as well. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: umass to /dev/da* mapping
On Wed, 7 Dec 2011 12:51:47 + Mike Clarke jmc-freeb...@milibyte.co.uk wrote: On Wednesday 07 December 2011, Zane C. B-H. wrote: Why are you using a custom Perl script for this instead of the built in tools for this? Below is how I have it setup on my system... In /etc/devfs.rules... [localrules=10] add path 'da*s*' mode 0660 group 5001 Because devfs only relates to boot time and I want to deal with usb sticks inserted while the system is running. The allocation of device numbers is dynamic and depends on what other umass devices are already connected. Normally my internal memory card reader is allocated da[0-3] at boot time and the memory stick will appear as da4 when subsequently inserted but if it's already plugged in when the system boots then it appears as da0 and the card reader is da[1-4]. If I insert an extra memory stick it will be allocated the next available device number. I don't want the user to have to hunt around to determine which device to mount so my script takes the umass device number supplied by devd and determines the relevant da* device then it sets the permission to 660 for that device and creates a link, /dev/usbstick, pointing to it. All the user then has to do is mount /dev/usbstick on his mount point. Following the earlier tip from Polytropon I now have a working script which does exactly what I need. Still you will want to investigate what I've mentioned. It will drastically simplify permission stuff as well as make automatic. The devfs stuff is just not boottime only, but will be applied to any new device added etc post boot. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: umass to /dev/da* mapping
On Wed, 7 Dec 2011 08:39:30 -0700 (MST) Warren Block wbl...@wonkity.com wrote: On Wed, 7 Dec 2011, Zane C. B-H. wrote: Still you will want to investigate what I've mentioned. It will drastically simplify permission stuff as well as make automatic. The devfs stuff is just not boottime only, but will be applied to any new device added etc post boot. Are you sure of that? Seems like devfs permissions are only applied when devfs(8) apply/applyset commands are run, directly or through /etc/rc.d/devfs. Yeah, I am sure of that. It is what I have setup here. /etc/devfs.conf - This one only affects boot time stuff. /dec/devfs.rules - This one contains the rules will be applied during and post boot. It will also require you to specify which to use in /etc/rc.conf as this file can contain multiple rule sets. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: A quality operating system
On Fri, 19 Aug 2011 23:47:04 -0500 Evan Busch antiequal...@gmail.com wrote: Hi, I make decisions about hardware and software for those who work with me. Talking with my second in command this morning, we reached a quandary. Ron is completely pro-Linux and pro-Windows, and against FreeBSD. What is odd about this is that he's the biggest UNIX fanatic I know, not only all types of UNIX (dating back quite some time) but also all Unix-like OSen. I told him I was considering FreeBSD because of greater stability and security. He asked me a question that stopped me dead: What is a quality operating system? In his view, and now mine, a quality operating system is reliable, streamlined and clearly organized. Over the past few years, FreeBSD has drifted off-course in this department, in his view. Let me share the points he made that I consider valid (I have deleted two as trivial, and added one of my own): (1) Lack of direction. FreeBSD is still not sure whether it is a desktop OS, or a server OS. It is easy for the developers to say well, it's whatever you want, but this makes the configuration process more involved. This works against people who have to use these operating systems to get anything done. There is no difference between the two, only what one uses it as. In his view, a crucial metric here is the ability to estimate time required for any task. It may be a wide window, but it should not be as wide as anywhere from 30 minutes to 96 hours. In his experience, FreeBSD varies widely on this front because in the name of keeping options open, standardization of interface and process has been deprecated. This makes zero sense with out any further information. (2) Geek culture. Geek culture is the oldest clique on the internet. Their goal is to make friends with no one who is not like them. As a result, they specialize in the arcane, disorganized and ambiguous. This forces people to go through the same hoops they went through. This makes them happy, and drives away people who need to use operating systems to achieve real-world results. They reduce a community to hobbyists only. (3) Horrible documentation. This is my specialty and has been since the early 1980s. The FreeBSD documentation is wordy, disorganized, inconsistent and highly selective in what it mentions. It is not the product of professionals but it also not the product of volunteers with a focus on communication. It seems pro-forma, as in, it's in the documentation, so don't bother me. The web site compounds this error by pointing us in multiple directions instead of to a singular resource. It is bad enough that man pages are separate from your main documentation tree, but now you have doubled or trebled the workload required of you without any benefit to the end user. I find it questionable if the person saying this has ever dealt with either Windows or Linux in any notable manner. Windows has documentation and lots of it. Every single bit of it extremely disorganized. In general with Linux I've found it is generally missing lots of information when it is present at all. (4) Elitism. To a developer, looking at some inconsistent or buggy interface and thinking, If they can't do this, they don't belong using FreeBSD anyway is too easy of a thought. Yet it looks to me like this happens quite a bit, and this is for the elite has become the default orientation. This is problematic in that there are people out there who are every bit as smart as you, or smarter, but are not specialized in computers. They want to use computers to achieve results; you may want to play around with your computer as an activity, but that is not so for everyone. Inconsistent and/or buggy? With out context this is pointless. (5) Hostile community. For the last several weeks, I have been observing the FreeBSD community. Two things stand out: many legitimate questions go ignored, and for others, response is hostile resulting in either incorrect answers, haughty snubs, and in many cases, a refusal to admit when the problem is FreeBSD and not the user. In particular, the community is oblivious to interfaces and chunks of code that have illogical or inconsistent interfaces, are buggy, or whose function does not correspond to what is documented (even in the manpages). And this person likes Linux? (6) Selective fixes. I am guilty of this too, sometimes, but when you hope to build an operating system, it is a poor idea. Programmers work on what they want to work on. This leaves much of the unexciting stuff in a literal non-working state, and the entire community oblivious to it or uncaring. As Ron detailed, huge parts of FreeBSD are like buried land mines just waiting to detonate. They are details that can invoke that 30 minute to 96 hour time period instantly, usually right before you need to get something done. No context... (7) Disorganized website. The
wpa_cli issues
Is there any way to undefine a variable once it has been set? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: wpa_cli issues
On Fri, 19 Aug 2011 09:14:54 -0500 (CDT) Robert Bonomi bon...@mail.r-bonomi.com wrote: From owner-freebsd-questi...@freebsd.org Fri Aug 19 07:41:44 2011 Date: Fri, 19 Aug 2011 07:22:34 -0500 From: Zane C. B-H. v.ve...@vvelox.net To: FreeBSD Questions freebsd-questions@freebsd.org Subject: wpa_cli issues Is there any way to undefine a variable once it has been set? *As(stated*, the answer involves the offspring of the mating of a rhinoceros and an elephand. =GUESSING= that you mean a shell 'envionment variable', the answer is 'yes'. _How_ one can do it depends on the shell (*unspecified*!) being used. 'unsetenv' _may_ do the trick. Alternatively a variable assignment with no value (.e.g VARIABLE=) may work. Blarg? None of these is even vaguely related to my question about wpa_cli, as stated in the subject. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: wpa_cli issues
On Fri, 19 Aug 2011 13:05:01 -0400 Chris Brennan xa...@xaerolimit.net wrote: On 8/19/2011 10:26 AM, Zane C. B-H. wrote: Blarg? None of these is even vaguely related to my question about wpa_cli, as stated in the subject. WTF is 'Blarg'? How about you give us a little more context and offer to converse with us instead of treating us like machines who blindly spit out answers (right or wrong, doesn't matter, you've equated us to machines!) Robert did the best he could with the little bit of information you gave us. Even after reading your e-mail, I was left wondering what variables (with in or without wpa_cli) you were talking about and also jumped to the conclusion of shell environment variables. A rather blunt note for you (and I've learned this first hand). If you are rude on an Open Source mailing-list, the chances of you getting help drop, dramatically. The chances of you getting flamed for your rudeness become guaranteed. Nothing I said was intended as rude and was phrased in a neutral manner. Personally this knee jerk reaction to assume I was being hostile etc is a lot more annoying and insulting than any thing. As to any confusion as to what I was talking about I am still lost as to how some one would come any thing shell related given wpa_cli was very specifically stated in the subject. I actually though there was a a Robert was trying to be an ass with his reply about shell related stuff given that. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: wpa_cli issues
On Fri, 19 Aug 2011 12:51:16 -0500 Dan Nelson dnel...@allantgroup.com wrote: In the last episode (Aug 19), Zane C. B-H. said: On Fri, 19 Aug 2011 09:14:54 -0500 (CDT) Robert Bonomi bon...@mail.r-bonomi.com wrote: From: Zane C. B-H. v.ve...@vvelox.net Is there any way to undefine a variable once it has been set? *As(stated*, the answer involves the offspring of the mating of a rhinoceros and an elephand. =GUESSING= that you mean a shell 'envionment variable', the answer is 'yes'. _How_ one can do it depends on the shell (*unspecified*!) being used. 'unsetenv' _may_ do the trick. Alternatively a variable assignment with no value (.e.g VARIABLE=) may work. Blarg? None of these is even vaguely related to my question about wpa_cli, as stated in the subject. wpa_cli only understands a fixed list of variables to set, and it doesn't make sense to undefine them. You can set them back to their default values, but they must have a value. Defaults from looking at the source: EAPOL::heldPeriod = 60 EAPOL::startPeriod = 30 EAPOL::maxStart = 3 EAPOL::authPeriod = 30 dot11RSNAConfigPMKLifetime = 43200 dot11RSNAConfigPMKReauthThreshold = 70 dot11RSNAConfigSATimeout = 60 Running set from within wpa_cli should print these values, too, according to the manpage. That is for stuff set via set, but when it comes to the individual network variables, not all of these have a default value other than not defined, AFAIK, and setting them back to the defaults as far as I can tell is impossible for some. A example of this is the bssid variable. Once this has been set, I've been unable to find any way to remove it via wpa_cli. Any suggestions would be much appreciated. Thanks. :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: USB WLAN Atheros and USB Ethernet FBSD 7.2
On Fri, 15 May 2009 17:15:37 +0200 Mel Flynn mel.flynn+fbsd.questi...@mailing.thruhere.net wrote: On Friday 15 May 2009 13:04:50 Saša Stupar wrote: I suggest you to buy a good AP (Lynksys, Asus, etc.) and it will work much better than building it from FreeBSD. And this is based on which assumption with what criteria for working better? On my FreeBSD AP I can: - view my logs in realtime - shape traffic - deny/grant access at will without requiring rule reloads (pf tables ftw) - send custom DHCP info, like: option wpad code 252 = text; option wpad http://10.0.0.1/proxy.pac;; - configure over ssh - add memory - control internal and external DNS Aye. Lets note for get all the fun when can have with netgraph and misc VPN stuff. signature.asc Description: PGP signature
Re: write_dma error
On Sat, 18 Apr 2009 17:33:45 +0200 mac.tc raszo...@gmail.com wrote: hi, can anyone tell me what this message is related to? WRITE_DMA UDMA ICRC error (retrying request) LBA=62939519 drive/hardware failing? i am seeing a lot of it lately on a particular disk where i have tried a few different installs and don't always get this problem. i have seen it disappear after some painstaking before a reinstall this disk, like wiping the whole disk clean before install, checking geometry is right, but maybe coincidence? it is a sata300, 7.2 beta1 amd64 and i am thinking there is problem with the disk, but the error varied a bit with different installs (i.e. whether i see the error or not) I suggest installing 'sysutils/smartmontools', checking the health, -H, and if it shows up healthy, run a long self test. If the long self test completes with out issue, it is most likely a bad cable, some what odd for SATA, but I've had it happen several times back in the days of PATA. signature.asc Description: PGP signature
Re: write_dma error
On Sun, 19 Apr 2009 14:36:40 +0100 Bruce Cran br...@cran.org.uk wrote: On Sun, 19 Apr 2009 08:49:10 -0400 Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org wrote: Hmm. ICRC errors are about the controller talking to the disk electronics. They don't generally have anything to do with the magnetic medium itself. Try replacing the cable. The only time I've seen ICRC errors was when FreeBSD was programming UDMA100 mode when I only had a UDMA33 cable installed. Overridding the mode using atacontrol solved it, as did installing a UDMA66 cable. I've seen the issue quit often in cheap, or long, UDMA100 cables as well. signature.asc Description: PGP signature
Re: odd issue with 6.4-PRERELEASE #2 and udf/cd9660
On Mon, 24 Nov 2008 14:47:34 +0100 (CET) Wojciech Puchar [EMAIL PROTECTED] wrote: really odd. check if your /dev/cd0 actually works by dd if=/dev/cd0 bs=64k of=test.image and if dd won't fail. try then mounting image with mdconfig/mount_cd9660 It DDs fine, but I get the same error when I try to mount it. The odd thing is is if I point tar at it, 'tar -vtf test.image', it shows me the the files contained in the image. I can also mount this disk on other FreeBSD machines. Below is some additional info one my system, if any one is curious. # kldstat Id Refs AddressSize Name 1 17 0xc040 67cf00 kernel 21 0xc0a7d000 15c64geom_mirror.ko 32 0xc0a93000 23018linux.ko 41 0xc0ab7000 14e20snd_hda.ko 52 0xc0acc000 258e8sound.ko 61 0xc0af2000 711b34 nvidia.ko 71 0xc1204000 8884 aio.ko 81 0xc120d000 b6e0 cpufreq.ko 91 0xc1219000 66318acpi.ko 101 0xc7424000 e000 ipfw.ko 111 0xc9083000 6000 udf.ko machine i386 cpu I686_CPU ident vixen42 options SMP # Symmetric MultiProcessor Kernel # To statically compile in device wiring instead of /boot/device.hints #hints GENERIC.hints # Default places to look for devices. makeoptions DEBUG=-g# Build kernel with gdb(1) debug symbols options SCHED_4BSD # 4BSD scheduler options PREEMPTION # Enable kernel thread preemption options INET# InterNETworking options INET6 # IPv6 communications protocols optionsFFS # Berkeley Fast Filesystem optionsSOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options MD_ROOT # MD is a potential root device options NFSCLIENT # Network Filesystem Client options NFSSERVER # Network Filesystem Server options NFSLOCKD# Network Lock Manager optionsNFS_ROOT# NFS usable as /, requires NFSCLIENT options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS# Pseudo-filesystem framework options GEOM_GPT# GUID Partition Tables. options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] optionsCOMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_FREEBSD5 # Compatible with FreeBSD5 options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI optionsKTRACE # ktrace(1) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options KBD_INSTALL_CDEV# install a CDEV entry in /dev options ADAPTIVE_GIANT # Giant mutex is adaptive. device apic# I/O APIC # Bus support. device eisa device pci # Floppy drives device fdc # ATA and ATAPI devices device ata device atadisk # ATA disk drives device ataraid # ATA RAID drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives device atapist # ATAPI tape drives options ATA_STATIC_ID # Static device numbering # SCSI peripherals device scbus # SCSI bus (required for SCSI) devicech # SCSI media changers device da # Direct Access (disks) device sa # Sequential Access (tape etc) device cd # CD device pass# Passthrough device (direct SCSI access) device ses # SCSI Environmental Services (and SAF-TE) # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device kbdmux # keyboard multiplexer device vga # VGA video card driver device splash # Splash screen and screen saver support # syscons is the default console driver, resembling an SCO console device sc # Enable this for the pcvt (VT220 compatible) console driver #device vt #optionsXSERVER # support for X server on a vt console #options FAT_CURSOR # start with block cursor #device agp # support
Re: IAX2 (or SIP) softphone for FreeBSD
On Mon, 13 Oct 2008 12:28:15 +0200 (CEST) Wojciech Puchar [EMAIL PROTECTED] wrote: anyone know something good. good=simply, works well, preferably no or minimal GUI. The most reliable is 'net/ekiga'. I've run into problems with 'net/kiax' and crossing NAT. That was nearly two years ago so it may for now kiax works for me (but no NAT), just they automatic gain control and noise reduction should be disabled, as it works funny at least :) thanks Sweet! I am currently in the process of drinking a large amount of Jagermiester so this may not make to sense. The problem I originally ran into is that behind goat fraging NAT I would run into issues receiving calls. The problem I ran into is that even though it is suppose to tranvese NAT with out issue,I would never receive incoming calls. In more recent tests I ran into issues with it and seg faulting like it just fraged a goat. The situation I was running into problems with was with asteresik behind NAT as well as the IAX using client. It is a known issue, or was then. Search the Asterisk archives for this email address if you interested in it some more. That goatse.cx issue was why I originally switched to that fraged solution that uses that POS of using the goatseing Gnome stuff. One I get a bit of spare time I am going to wring something that uses ZConf. Any ways, have a great night! May your nights be as bathed in the mercury vapor glow as mine are. signature.asc Description: PGP signature
Re: IAX2 (or SIP) softphone for FreeBSD
On Sun, 12 Oct 2008 16:23:54 +0200 (CEST) Wojciech Puchar [EMAIL PROTECTED] wrote: anyone know something good. good=simply, works well, preferably no or minimal GUI. The most reliable is 'net/ekiga'. I've run into problems with 'net/kiax' and crossing NAT. That was nearly two years ago so it may have been fixed. 'net/twinkle' works for some people, but for me it has always core dumped. If you feel like rolling your own, their is 'net/p5-Net-SIP'. signature.asc Description: PGP signature
Re: Two xorg-server packages?
On Sat, 14 Jun 2008 00:06:47 -0600 Chad Perrin [EMAIL PROTECTED] wrote: I seem to have two xorg-server packages on a FreeBSD system of mine, and I'm not sure why. With one of them, there's no problem: xorg-server-1.4_10,1= up-to-date with port One of them won't upgrade: xorg-server-1.2.99.903_1,1needs updating (port has 1.2.99.903_2,1) ** Port marked as IGNORE: x11-servers/xorg-server-snap: is outdated ** Listing the failed packages (-:ignored / *:skipped / !:failed) - x11-servers/xorg-server-snap (marked as IGNORE) . . . and portaudit says it's vulnerable: Affected package: xorg-server-1.2.99.903_1,1 Type of problem: xorg -- multiple vulnerabilities. Reference: http://www.FreeBSD.org/ports/portaudit/fe2b6597-c9a4-11dc-8da8-0008a18a9961.html Why do I have this xorg-server-1.2.99.903_1,1 package? It appears to be nothing but an older version. Should I remove it, or figure out how to upgrade it? Is it actually just an older version of the same package, or is it a different/separate package entirely? Any help figuring this out would be appreciated. I would just compile x11-server/xorg-server and once it is done do a pkg_delete on xorg-server-snap. Then install xorg-server/xorg-server. What it is complaining about is x11-servers/xorg-server-snap being marked as to be ignored, which it should be now as it is a out of date snap shot of xorg-server from some time back. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Testing RAM
On Sat, 14 Jun 2008 09:45:20 -0500 Ryan Coleman [EMAIL PROTECTED] wrote: How would I go about slamming the RAM in testing? I was figuring I'd drop from 4GB to 1GB and just push the board with the same cp -rvn commands I've been running in an attempt to populate my 7TB RAID5. Also, am I using the wrong FS for the RAID? I partitioned it with gpt (1 large slice) and formatted it with newfs but is there another way? A better way? I read about ZFS recently but I am sure the speed of reading from a RAID5 is lost with it's redundancies. For something that large, ZFS would be my choice. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD and User Security
On Wed, 11 Jun 2008 22:25:32 +0200 David Naylor [EMAIL PROTECTED] wrote: Hi All, Today I read an article describing how my government had lost ZAR200 000 000 from fraud. This is just under $25 000 000. The article credited this loss largely due to the use of spyware. My question is how secure is FreeBSD (including KDE, GNOME and XFCE) to attacks, including cracking and spyware. In addition, is there anyway to prevent a user from executing a program that is not owned by root (i.e. any program installed by the user), this would prevent spyware being installed (assuming root has been properly locked down) and subsequently run. Ugidfw(8) can be used to help with the executable stuff. The same is true for using a restricted shell. The important thing is making sure to make sure the user can't execute any thing other than the few commands they are suppose to. If allowed access to execute any thing in a system bin/sbin path, you begin to run into issues with interpreters, which are as good as being able to execute something owned by them. You can remove permissions to access them, but that strikes me as beginning to get a bit hairy in the long run. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Testing RAM
On Sat, 14 Jun 2008 17:11:32 -0500 Ryan Coleman [EMAIL PROTECTED] wrote: Zane C.B. wrote: On Sat, 14 Jun 2008 09:45:20 -0500 Ryan Coleman [EMAIL PROTECTED] wrote: How would I go about slamming the RAM in testing? I was figuring I'd drop from 4GB to 1GB and just push the board with the same cp -rvn commands I've been running in an attempt to populate my 7TB RAID5. Also, am I using the wrong FS for the RAID? I partitioned it with gpt (1 large slice) and formatted it with newfs but is there another way? A better way? I read about ZFS recently but I am sure the speed of reading from a RAID5 is lost with it's redundancies. For something that large, ZFS would be my choice I take it that's not something I can do after the fact, right? I am not looking forward to redoing 1.6TB in file copying a second time Not that I am aware of. My big reason I would go with ZFS is it would make future updates easier as you can do it on the fly if the disks are just being added to a system. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firewalls
On Tue, 29 Apr 2008 09:51:29 -0700 perikillo [EMAIL PROTECTED] wrote: On Mon, Apr 28, 2008 at 12:50 PM, Bruce Cran [EMAIL PROTECTED] wrote: Doug Hardie wrote: FreeBSD supports 3 firewalls: IPF, IPFW, and PF. Some time ago (perhaps years) I seem to recall some discussion that one or more of those was better maintained and higher quality than the others. I don't see any indications of this in the handbook. Several years ago I needed to do traffic shaping and used IPFW with dummynet. It worked but the need eventually went away. More recently I needed to incorporate spamd which defaults to PF so I used that. However, now I am back to needing traffic shaping again. I suspect trying to use both PF and IPFW simultaneously will not be a good approach. In addition, there now are instructions for using spamd with IPFW so it appears that either PF or IPFW will do what I need. Is there any additional information available to assist in selecting between those? Thanks. As I understand it pf is often found to be easiest to use and has lots of features like altq and os fingerprinting but is quite a bit slower than ipfw. -- Bruce ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Reading this post, i have some doubt, how is IPFW support for VoIP packets, can do traffic shaping?, i read that PF can do that, I'm right? What exactly are you looking to do in this area? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firewalls
On Mon, 28 Apr 2008 20:50:06 +0100 Bruce Cran [EMAIL PROTECTED] wrote: Doug Hardie wrote: FreeBSD supports 3 firewalls: IPF, IPFW, and PF. Some time ago (perhaps years) I seem to recall some discussion that one or more of those was better maintained and higher quality than the others. I don't see any indications of this in the handbook. Several years ago I needed to do traffic shaping and used IPFW with dummynet. It worked but the need eventually went away. More recently I needed to incorporate spamd which defaults to PF so I used that. However, now I am back to needing traffic shaping again. I suspect trying to use both PF and IPFW simultaneously will not be a good approach. In addition, there now are instructions for using spamd with IPFW so it appears that either PF or IPFW will do what I need. Is there any additional information available to assist in selecting between those? Thanks. As I understand it pf is often found to be easiest to use and has lots of features like altq and os fingerprinting but is quite a bit slower than ipfw. There is one thing that IPFW has that PF does not that I have found to be very handy at times. It can be used to setup firewall rules that only affect a specific group or user. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: linux emulation
On Thu, 20 Mar 2008 19:52:14 +1000 Da Rock [EMAIL PROTECTED] wrote: On 20/03/2008, Da Rock [EMAIL PROTECTED] wrote: On Thu, 2008-03-20 at 08:50 +0100, Wojciech Puchar wrote: I've read the handbook and just about anything on linux compat under freebsd. I am particularly interested in drivers under linux compat. emulation allows execution of normal linux programs, not drivers Ok. So input devices won't work either? I refer to this page here: http://people.freebsd.org/~3d/apps/games/unreal_tournament/ What is the driver mentioned here? Incidentally, what is the difference between linux and bsd drivers? The drivers in question are manufacturers binaries for linux in an RPM; hence the question. Plus I came across several notations regarding building or using drivers from linux in bsd (linux-kmod-compat port, the above link, and more). For reference I'm merely very curious, not argumentative on this. Cheers for any answers offered. On Thu, 2008-03-20 at 02:14 -0700, Patrick C wrote: A binary is compiled assembly/code. The binary still needs to interact with low-level hardware using system calls, handling interrupts, etc. in a way that the operating system understands. Applications are more portable and less operating- and hardware-specific than drivers, which require a good understanding of the operating system and the hardware. Please read the current status of linux-kmod-compat, it specifically indicates it is for USB drivers. USB is a simplified bus where the low-level access is handled in the same manner for every device so it's simpler to port the driver. Glide in your case is an API/Library, not an actual driver. Libraries are very similar to applications in how they act with the operating system/environment, and are a must-have on running Linux binaries. This is supported and works well. -Patrick Ok, got that. I read that about the linux-kmod-compat, but I thought that it might have been the beginning of something beautiful (pardon poetics...). I was unaware of the glide situation though. I though glide has been long since past usefulness given the cards it was for no longer are effectively around outside ebay and peoples hardware drawers. I regards to running UT on FreeBSD it runs nicely, other than it requires a hackish manner to install 2007 if you have it on CD. Does anyone know what the differences are between linux and bsd at the system calls, interrupts, etc? I understand that there are some software which accesses hardware at this sort of level which has been adapted as well (raid controllers mainly), so surely there must be some information on what can enable this to work. What this discussion has got me thinking on is a wrapper (ie NDIS), since the drivers are not from the linux oss community but from the actual manufacturer I'm assuming (forgive me, please... :) ) that this may be a feasible solution. In which case, then, I'm going to have to map calls and create device nodes. Should be simple then, no? ;P! I'd love to hear any more suggestions or links to info on any of this, thanks guys. Also, on the linux compat- am I correct in my observation that you have to actually chroot to enable the running of a linux binary? Enter the file structure of the linux compat? Or can you just run it? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: A general purpose LDAP solution?
On Sun, 23 Mar 2008 23:26:51 +0100 Jon Theil Nielsen [EMAIL PROTECTED] wrote: 2008/3/23, Jon Theil Nielsen [EMAIL PROTECTED]: Hi list! I have speculated a lot about implementation of (Open)LDAP on my sever. By I haven't yet found the right (and logical) way to do it. I'm running FreeBSD 7.0-Release with some different server applications - Samba PDC - Virtual mail server (Postfix, MySQL, Courier-IMAP) - VPN (currently with mpd4) - Apache-2.2.8 web server (with PHP and MySQL) I would like to implement LDAP for: - authentication of UNIX/login users - authentication of Samba users - authentication/authorization of virtual mail users For the first part, I got useful information from a previsous thread (http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2008-02/msg01047.html) and for the second part, i guess there is sufficient howtos to make it work. My biggest question right now is if is possible to combine all three things in one data structure. And which in which order I should make the different implimentions. Excuse my total lack of understanding, but is it possible to have a structure with a superior unit such as OU=some organization which could contain several virtual domains and the organization actual doamin for my PDC? -- Jon Theil Nielsen Oh, i forgot one more thing: I would also like to be able to authenticate VPN users the same way. For foo.bar and monkies.foo.bar, I would do it as below. And remember, PAM is your friend. And on a similar note, I am goat fragging surprised Postfix does not have a native PAM auth backend yet. ou=users,dc=foo,dc=bar ou=users,dc=monkies,dc=foo,bar In regards to VPN, you may wish to look into OpenVPN. It has a scriptable password checking mechanism. http://openvpn.net/index.php/documentation/howto.html#auth Enjoy playing with the nastiness that is Samba and LDAP. =^.^= On another note, I changed this from the net list to the questions list as I don't think this really falls under FreeBSD net related stuff. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: unix domain socket security and PID retrieval
On Mon, 4 Feb 2008 15:36:30 +0100 Heiko Wundram (Beenic) [EMAIL PROTECTED] wrote: Am Montag, 4. Februar 2008 15:21:52 schrieb Zane C.B.: I've come across that mentioned in unix(4). There is no support for it in regards to Perl. Another problem is it requires support for that on both ends. More and more it looks like getting either PID and/or user info about the other process connecting up to it is impossible, with out writing some sort of authentication system for the two to use or both ends have to support the LOCAL_CREDS stuff. I cannot believe that this doesn't exist for Perl (everything exists for Perl in one way or another...), and anyway, a quick search on CPAN found this, which looks as though it's (at least part of) what you're looking for: http://search.cpan.org/~mjp/Socket-MsgHdr-0.01/MsgHdr.pm Finally, thinking back to the last time I used SCM_CREDS on Linux (which is a lng time ago), I'm not even sure that the sender has to send an SCM_CREDS message (which would invalidate my former reply); I think it's enough if the receiver requests to get one (which will be filled in by the kernel), see the description in the referenced page above which shows you how to set up the corresponding recvmsg call. Sending one is only required in case the sender is root and wants to spoof it's credentials to the remote process (IIRC). Been spending a bit of time messing around with it and it appears to be broken. I've tried various things, but it does not seem to fetch any thing. #!/usr/bin/perl use Socket::MsgHdr; use Socket; use IO::Socket::UNIX; unlink(/tmp/testsocket); my $listen_socket = new IO::Socket::UNIX( Local = /tmp/testsocket, Listen=1); while(my $conn = $listen_socket-accept){ my $inHdr = Socket::MsgHdr-new(buflen=8192, namelen=256); recvmsg($conn, $inHdr, LOCAL_CREDS); my $creds=$conn-sockopt(LOCAL_CREDS); print $creds; my @cmsg = $inHdr-cmsghdr(); $conn-send($#cmsg.\n); while (my ($level, $type, $data) = splice(@cmsg, 0, 3)) { $conn-send($level.\n. $type.\n. $data.\n\n); } $conn-close; }; ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
unix domain socket security and PID retrieval
Been starting to look into writing some stuff that uses unix domain sockets, but I've been running into the problem of figuring out what the calling PID is on the other end. Any suggestions on where I should begin to look? As it currently stands, I am looking at doing this with perl. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: unix domain socket security and PID retrieval
On Mon, 4 Feb 2008 05:33:22 -0600 (CST) Scott Bennett [EMAIL PROTECTED] wrote: On Mon, 4 Feb 2008 04:30:21 -0600 Zane C.B. [EMAIL PROTECTED] wrote: Been starting to look into writing some stuff that uses unix domain sockets, but I've been running into the problem of figuring out what the calling PID is on the other end. Any suggestions on where I should begin to look? Sure. Take a look at the man pages for fork(2), vfork(2), and fork(3f). As it currently stands, I am looking at doing this with perl. In that case, take a look at perlfork(1), too. I am a bit lost on what fork has to do with the question. Currently have found there is no method for figuring what PID it is. I've found there is support for figuring out what user it is, according to unix(4), but there appears to way to get to using any of the existing perl modules for unix domain sockets. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: unix domain socket security and PID retrieval
On Mon, 4 Feb 2008 12:54:44 +0100 Heiko Wundram (Beenic) [EMAIL PROTECTED] wrote: Am Montag, 4. Februar 2008 11:30:21 schrieb Zane C.B.: Been starting to look into writing some stuff that uses unix domain sockets, but I've been running into the problem of figuring out what the calling PID is on the other end. Any suggestions on where I should begin to look? As it currently stands, I am looking at doing this with perl. Check out man 3 sendmsg and man 3 recvmsg (which should be wrapped in Perl in some way or another), and passing SCM_CREDS messages between the two processes. The SCM_CREDS message is filled in my the kernel, so there's no way (unless the other side is root) to spoof the credentials information. This requires that the sending end willingly sends SCM_CREDS (and the receiver uses recvmsg to query for it), and sends at least one byte of data along with the ancilliary message. I've come across that mentioned in unix(4). There is no support for it in regards to Perl. Another problem is it requires support for that on both ends. More and more it looks like getting either PID and/or user info about the other process connecting up to it is impossible, with out writing some sort of authentication system for the two to use or both ends have to support the LOCAL_CREDS stuff. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: unix domain socket security and PID retrieval
On Mon, 4 Feb 2008 15:36:30 +0100 Heiko Wundram (Beenic) [EMAIL PROTECTED] wrote: Am Montag, 4. Februar 2008 15:21:52 schrieb Zane C.B.: I've come across that mentioned in unix(4). There is no support for it in regards to Perl. Another problem is it requires support for that on both ends. More and more it looks like getting either PID and/or user info about the other process connecting up to it is impossible, with out writing some sort of authentication system for the two to use or both ends have to support the LOCAL_CREDS stuff. I cannot believe that this doesn't exist for Perl (everything exists for Perl in one way or another...), and anyway, a quick search on CPAN found this, which looks as though it's (at least part of) what you're looking for: http://search.cpan.org/~mjp/Socket-MsgHdr-0.01/MsgHdr.pm Finally, thinking back to the last time I used SCM_CREDS on Linux (which is a lng time ago), I'm not even sure that the sender has to send an SCM_CREDS message (which would invalidate my former reply); I think it's enough if the receiver requests to get one (which will be filled in by the kernel), see the description in the referenced page above which shows you how to set up the corresponding recvmsg call. Sending one is only required in case the sender is root and wants to spoof it's credentials to the remote process (IIRC). Thanks. I did not think to try a search for that. I was trying various combinations involving the word unix and socket. I've gotten it installed now and will post with how it works out. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: unix domain socket security and PID retrieval
On Mon, 4 Feb 2008 13:38:37 -0600 Zane C.B. [EMAIL PROTECTED] wrote: On Mon, 4 Feb 2008 15:36:30 +0100 Heiko Wundram (Beenic) [EMAIL PROTECTED] wrote: Am Montag, 4. Februar 2008 15:21:52 schrieb Zane C.B.: I've come across that mentioned in unix(4). There is no support for it in regards to Perl. Another problem is it requires support for that on both ends. More and more it looks like getting either PID and/or user info about the other process connecting up to it is impossible, with out writing some sort of authentication system for the two to use or both ends have to support the LOCAL_CREDS stuff. I cannot believe that this doesn't exist for Perl (everything exists for Perl in one way or another...), and anyway, a quick search on CPAN found this, which looks as though it's (at least part of) what you're looking for: http://search.cpan.org/~mjp/Socket-MsgHdr-0.01/MsgHdr.pm Finally, thinking back to the last time I used SCM_CREDS on Linux (which is a lng time ago), I'm not even sure that the sender has to send an SCM_CREDS message (which would invalidate my former reply); I think it's enough if the receiver requests to get one (which will be filled in by the kernel), see the description in the referenced page above which shows you how to set up the corresponding recvmsg call. Sending one is only required in case the sender is root and wants to spoof it's credentials to the remote process (IIRC). Thanks. I did not think to try a search for that. I was trying various combinations involving the word unix and socket. I've gotten it installed now and will post with how it works out. I can say it installs mostly fine. A few tests do not pass. I am still working on getting a working test script with it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: trying to locate a specific port that I forget the name of
On Sun, 20 Jan 2008 04:33:34 + Matthew Seaman [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Zane C.B. wrote: I originally saw it in the ports tree, IIRC, about a year ago or around there. What it was was a massive piece of software for connecting multiple services allowing them all to be queried. It was capable of connecting to IMAP, LDAP, several SQL servers, and a few other things. The manual of the software was several hundred pages long. Any one remember what it is? perl ? Nah. From what I remember it was written in Java. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Opera, Flash and the stench of failure...
On Fri, 4 Jan 2008 06:16:59 -0700 Modulok [EMAIL PROTECTED] wrote: Seeing the thread about flash with mozilla, I thought, a flash plugin with opera would be cool. Last night I tried to get flash working with opera. I failed. With native opera, I cannot get any plugins to work. Here is what I know: 1. What opera bitches about: Could not start operapluginwrapper. Plugins will not work correctly. 2. Why opera bitches: ldd operapluginwrapper; ... libXThrStub.so.6 = not found (0x0) ... 3. Why it is missing: On OpenBSD, and on old FreeBSD, libc lacks pthread stubs. This is a problem because libX11 needs to support threading, but shouldn't cause all X programs to be linked against the threading library. The solution is libXThrStub (UIThrStubs.c), which provides weak symbols to stub threading functions, which are ignored if the application links against the thread library. I had moved libXThrStub into libX11, because it seemed unnecessary. 4. What I have installed: linux-flashplugin-9.0r115 Adobe Flash Player NPAPI Plugin opera-9.25.20071214 A blazingly fast, full-featured, standards-compliant browse opera-linuxplugins-9.21.20070510_1 Linux plugin support for the native Opera browser Does anyone have flash working with opera? If so, how? Where can I get libXThrStub.so.6? My suggestion is to check out 'graphics/gnash'. That port works surprisingly well for part these days. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
trying to locate a specific port that I forget the name of
I originally saw it in the ports tree, IIRC, about a year ago or around there. What it was was a massive piece of software for connecting multiple services allowing them all to be queried. It was capable of connecting to IMAP, LDAP, several SQL servers, and a few other things. The manual of the software was several hundred pages long. Any one remember what it is? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gnupg annoyances (fixed)
For any one who was wondering, no-grab needed set in ~/.gnupg/gpg-agent.conf On Tue, 8 Jan 2008 04:43:00 -0600 Zane C.B. [EMAIL PROTECTED] wrote: Any one know what it takes to get security/gnupg to work? I have pinentry-gtk2, but having that installed does not help. Any suggestions? cat randomfile | gpg2 -s You need a passphrase to unlock the secret key for user: Zane C. Bowers [EMAIL PROTECTED] 1024-bit DSA key, ID C18989DE, created 2006-06-16 Warning: using insecure memory! ** ERROR **: could not grab keyboard aborting... gpg-agent[96284]: command get_passphrase failed: End of file gpg: problem with the agent: IPC write error gpg: Invalid passphrase; please try again ... You need a passphrase to unlock the secret key for user: Zane C. Bowers [EMAIL PROTECTED] 1024-bit DSA key, ID C18989DE, created 2006-06-16 gpg: problem with the agent: IPC write error gpg: no default secret key: General error gpg: signing failed: General error Exit 2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
gnupg annoyances
Any one know what it takes to get security/gnupg to work? I have pinentry-gtk2, but having that installed does not help. Any suggestions? cat randomfile | gpg2 -s You need a passphrase to unlock the secret key for user: Zane C. Bowers [EMAIL PROTECTED] 1024-bit DSA key, ID C18989DE, created 2006-06-16 Warning: using insecure memory! ** ERROR **: could not grab keyboard aborting... gpg-agent[96284]: command get_passphrase failed: End of file gpg: problem with the agent: IPC write error gpg: Invalid passphrase; please try again ... You need a passphrase to unlock the secret key for user: Zane C. Bowers [EMAIL PROTECTED] 1024-bit DSA key, ID C18989DE, created 2006-06-16 gpg: problem with the agent: IPC write error gpg: no default secret key: General error gpg: signing failed: General error Exit 2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ZFS in 6.3
On Thu, 07 Jun 2007 09:57:06 -0400 Tom Grove [EMAIL PROTECTED] wrote: Any chance that ZFS will make it into 6.3 or is this a 7.0 only feature? From my understanding, this is very unlikely to happen due to the large number of changes to the VFS including API changes. That is aimed at being kept stable as possible for the stable major version. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: samba and automounting upon login (update)
On Fri, 18 May 2007 21:46:33 -0400 Zane C.B. [EMAIL PROTECTED] wrote: Any one know where I can find info on setting up FreeBSD so it tries to automounting their home from a Samba server? Came across pam_exec, which after a bit of tweaking sort of takes care of this. Here is a patch to pam_exec.c to make it export PAM_AUTHTOK. Now the current issues is making mount_smbfs handle pulling the password from a environmental variable or STDIN.--- pam_exec.c.orig Sat May 19 12:51:42 2007 +++ pam_exec.c Sat May 19 12:56:50 2007 @@ -57,6 +57,7 @@ ENV_ITEM(PAM_TTY), ENV_ITEM(PAM_RHOST), ENV_ITEM(PAM_RUSER), + ENV_ITEM(PAM_AUTHTOK), }; static int ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: samba and automounting upon login (update)
On Sat, 19 May 2007 13:01:51 -0400 Zane C.B. [EMAIL PROTECTED] wrote: On Fri, 18 May 2007 21:46:33 -0400 Zane C.B. [EMAIL PROTECTED] wrote: Any one know where I can find info on setting up FreeBSD so it tries to automounting their home from a Samba server? Came across pam_exec, which after a bit of tweaking sort of takes care of this. Here is a patch to pam_exec.c to make it export PAM_AUTHTOK. Now the current issues is making mount_smbfs handle pulling the password from a environmental variable or STDIN. http://www.freebsd.org/cgi/query-pr.cgi?pr=112794 Just submitted as a PR. :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
samba and automounting upon login
Any one know where I can find info on setting up FreeBSD so it tries to automounting their home from a Samba server? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sharing resources on LAN without NFS
On Wed, 15 Dec 2004 22:52:21 +1300 Ben Washington-Yule [EMAIL PROTECTED] wrote: The handbook section on NFS was great but having only 3 computers I don't feel the need to set up a client/server system. Nevertheless I would like to be able to share one printer and one cd-writer between these 3 machines. I'll be grateful even for just a shove towards the correct handbook chapter where this is explained. /me uses NFS for only two machines on his lan Well sharing a device can be done using geomgate. The problem with this making it play nicely... not more than one device can connect to it with write privileges. For this I would just use NFS and then ssh into that one machine and burn it from there. I would say NFS would be the simpleist solution... samba is workable, but authentication with it is a total PITA as it does not play nicely for using NIS or local authentication... only really supports LDAP and a newer and older samba passwd storage... So if you are running NIS on your lan, NFS is easy the way to go. For LDAP on the lan, I would say it is your personal choice between Samba and NFS. The handbook has a nice chapter on NIS and NFS. For printing, I would suggest reading the chapter in the handbook. It has some nice info on it. I would also suggest apsfilter, since it makes drivers nice to work with. There is also CUPS if you don't want to use the base lpd. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mounting usb camera - no /dev/da* !!!
On Mon, 17 May 2004 20:50:45 +0100 Ben Paley [EMAIL PROTECTED] wrote: Hello, In the past I've always been able to mount USB devices (a card reader and a webcam) as msdosfs at /dev/da0 or some such... my new camera's not playing that game. It's a Kodak EasyShare DX4530. I've unplugged all my other usb devices to test things, and booted up with it plugged in. usbdevs -dv shows: Controller /dev/usb0: addr 1: full speed, self powered, config 1, UHCI root hub(0x), Intel(0x), rev 1.00 uhub0 port 1 addr 2: full speed, self powered, config 1, KODAK EasyShare DX4530 Zoom Digital Camera(0x0576), Eastman Kodak Company(0x040a), rev 1.00 ugen0 port 2 addr 3: full speed, self powered, config 1, USB HUB(0x0e01), vendor 0x(0x), rev 0.04 uhub1 port 1 powered port 2 powered port 3 powered port 4 powered Only three new entries are created in /dev when I plug it in: /dev/ugen0, dev/ugen0.1 and /dev/ugen0.2, none of which are mountable in the normal way as msdosfs (I get Block device needed) Digikam detects it fine and correctly, but when I try to look at it says Failed to initialize camera. Please ensure camera is connected properly and turned on In the meantime Windows has no problem with it at all. This state of affairs must not be allowed to continue, by mine honour. plugging it in gives -bash-2.05b$ ugen0: Eastman Kodak Company KODAK EasyShare DX4530 Zoom Digital Camera, rev 2.00/1.00, addr 2 and unplugging it -bash-2.05b$ ugen0: at uhub0 port 1 (addr 2) disconnected ugen0: detached Sounds like umass is not in the kernel. I would check their first. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mounting usb camera - no /dev/da* !!!
On Mon, 17 May 2004 23:40:41 +0100 Ben Paley [EMAIL PROTECTED] wrote: On Monday 17 May 2004 20:18, Zane wrote: On Mon, 17 May 2004 20:50:45 +0100 In the past I've always been able to mount USB devices (a card reader and a webcam) as msdosfs at /dev/da0 or some such... my new camera's not playing that game. Sounds like umass is not in the kernel. I would check their first. No, it's there ok, and so are scbus and da, and my cardreader works fine using umass. But for some reason the camera doesn't: dmesg | grep umass comes up blank. Ohh, your trying to mount a camera? No clue then... some are umass some are not. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Maya
On Tue, 11 May 2004 13:57:59 + Daniela [EMAIL PROTECTED] wrote: On Tuesday 11 May 2004 03:09, [EMAIL PROTECTED] wrote: I am thinking of downloading a learning adition of MAYA and atempting to run it on my BSD box I am running X with a GNOME desktop I think this is an attempt at porting can anyone give me some advice. I really want to play with the way MAYA handles autocad files and vice versa, both of wich are not supported by BSD what am I getting into and is it possible. I tried it too, but without success. The rpm command complained that /bin/sh is missing. Maybe the emulator is already fixed, I haven't tried for a long time. What format do you have it in? Is it an rpm too? Try rpm2cpio. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]