Re: Solution for school lab
Sergio de Almeida Lenzi wrote: I use a solution that is: 1) a large Freebsd box (phenon X4,8Gb of memory, 1TB disk) 2) OS=Freebsd 8.2 with all gnome2.32 installed 3) Virtualbox 10.x installed in FreeBSD 4) NT 2003 server with unlimited number of users on rdp (the iso is in internet or torrent). 5) internet connection Here this would cost about US$400 Install the system using zfs, insert all users can hold about 1000 users Setup FreeBSD to boot diskless (and so will run on all the old machines in your place) using either pxe or custom CD. The users will use Gnome interface, and those who wants windows, can use via rdesktop, pointing on the NT server on the same machine. You will need a swith with ONE gigabit port, and the others is 100Mbits... This setup you have: about 1200 applictions (from the FreBSDports), some include: java, eclipse, python, c, c++, multimedia, web browing, office, printing, email, chat, calculator, vector drawing, dia (visio), raster image editor (gimp), monodevelop(.NET devel framework), sql (postgresql), sql administration (pgadmin3). Reliable, fast, rock solid, central administration... It just works [] Sergio You should look into the Freebsd port qjail. At our school lab all the pcs have ms/windows on the hard drive with the putty client installed. Students use putty to get logged into a jail on a single Freebsd system. Each student can practice installing ports, packages, or one of the desktop window environments in their private jail. The goal being to teach students to be system administrators. ___ 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: idletime in login.conf
On 30 Oct 2011, at 16:45, Modulok modu...@gmail.com wrote: List, Goal: Automatically logoff users that are idle after 'x' minutes. Attempt: I added this to /etc/login.conf to the default login class: :idletime=10m: I then rebuilt the database: cap_mkdb /etc/login.conf Problem: It doesn't work. The 'w' command shows users idle for 20 minutes or more. I'm missing something. Other than an autologout shell variables, how do I force idle users to logout? Are these users that logged in after or before your change ? Obviously the idle timeout only applies to users who logged in after you adjusted the value and rebuilt the db.___ 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
hard lockups with RC1
I've recently upgraded from 9.0 beta1 to RC1 and experiencing a few hard lockups, they seem to related to browsing - both chromium and firefox cause the lockups. (requiring a hard reset ) All I can think of is something related to Linux emulation and flash, but I could be wrong. Rolling back the kernel version with the same userland clears up the problem. I haven't been able to get any logs or cores to help diagnose this problem, so I'd appreciate a push in the right direction. ___ 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: The ports are really funcional?
I agree, the ports are *amazing*. Even when installing a major component like kde4. If you have your base system set up correctly this very complex task will generally complete flawlessly. For a first-time install you can accept most of the default options when configuring, but it's probably not a good idea to just blindly accept every default. Experiment with the different port management software until you find something which you like. Read the documentation about dealing with common issues, making backups, saving compiler/ installation errors, etc. If you are having many problems with ports which require few dependencies, you may have a non-ports related issue of some kind. My entire system is ports based and I belong more to the user than the hacker class. Good luck! On Mon, Oct 31, 2011 at 4:05 AM, Polytropon free...@edvax.de wrote: On Sun, 30 Oct 2011 22:36:44 -0400, Alejandro Imass wrote: For very large packages such as the graphics system, open or libre office etc. it's much better to use binary versions via pkg_add. It's a waste of time to compile these very large suites and most of the time you will get the config options wrong, and they take forever to compile. Exceptions: 1) You need language-specific settings. Example: OpenOffice in German. 2) You need others than the default options, e. g. if you want to include or exclude some stuff. Example: OpenOffice without KDE. 3) You need options to be set at compile time that do differ from the default options from which the binary packages are made, or because of artificially shit in your pants legal requirements and restrictions. Example: mplayer with mencoder and all (!) codecs 4) You need to speed up things to make them run on older hardware, and you fight for every optimization. Example: mplayer's RUNTIME_CPU_DETECTION. But this is, I think, a case for 1% of users only. You hardly need to do that. In most cases, the default options are fine, and the binary packages just work. For things you want to tailor and optimize to your needs then use the ports system. FBSD is so cool that it doesn't matter if you install one way or the other and you can use almost all methods interchangeably. A managament tool (such as portmaster or portupgrade) helps to keep an eye on dependencies when using the many possible ways. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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 -- joe gain jacob-burckhardt-str. 16 78464 konstanz germany +49 (0)7531 60389 (...otherwise in ???) ___ 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 9.0RC1: zpool fails to import an exported pool?
Hi all, I'm plugging this external USB drive of 250Gb on 9.0RC1 and doing this: LAB:~# zpool create MYPOOL /dev/da4 LAB:~# zpool list NAME SIZE ALLOC FREECAP DEDUP HEALTH ALTROOT MYPOOL 232G 89,5K 232G 0% 1.00x ONLINE - LAB:~# zpool status pool: MYPOOL state: ONLINE scan: none requested config: NAMESTATE READ WRITE CKSUM MYPOOL ONLINE 0 0 0 da4 ONLINE 0 0 0 errors: No known data errors LAB:~# zfs list NAME USED AVAIL REFER MOUNTPOINT MYPOOL 89,5K 228G31K /MYPOOL So far so good, now I'm trying to export and import this pool, like this: LAB:~# zpool export MYPOOL; echo $? 0 LAB:~# zpool list no pools available But importing it fails: LAB:~# zpool import; echo $? pool: MYPOOL id: 17521547345542608 state: UNAVAIL status: One or more devices contains corrupted data. action: The pool cannot be imported due to damaged devices or data. see: http://www.sun.com/msg/ZFS-8000-5E config: MYPOOL UNAVAIL insufficient replicas 8987296282819450665 UNAVAIL corrupted data 0 If I force import I get this: LAB:~# zpool import -f MYPOOL cannot import 'MYPOOL': invalid vdev configuration So how is it possible I have corrupted data from a just exported volume? Am I doing something wrong here? Thanks in advance, Antonio ___ 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: Fast personal printing _without_ CUPS
In freebsd-questions Digest, Vol 386, Issue 9, Message: 5 On Sat, 29 Oct 2011 07:28:24 -0400 Jerry je...@seibercom.net wrote: On Fri, 28 Oct 2011 17:27:03 -0500 (CDT) Robert Bonomi articulated: Your insistance on trying to impose -your- standards on the world, and denying them the 'freedom of choice' to make their own decisions on the matter -- e.g. anyone offering such products should be to some degree held legally responsible to their worth -- is a fascist mind-set. You 'know better' than anybody else, what is 'right' _for_ them. snort BTW, I'd _love_ to see Microsoft held legally respnsible for _their_ product shortcomings. They'd be out of business in a week at the outside. Once again your argument is pathetic. Microsoft has been held legally responsible by laws written to curtail the robber barons (railroad oil) of the 19 and early 20th century.) Of course the EC, or is that the USSREC, strongly backed (pushed) by Opera, a maker of a web browser so pathetic that in two years a new upstart, Chrome actually has a larger market share, led a fight to curtail Microsoft's market share. Actually, it was to curtail modern-day robber barons destroying their competition by the usual raft of monopolistic and anti-competitive techniques, but let's roll on through your gloriously OTT troll .. This is Fascism at its best. A totally free and open market is the best way to insure the survival of the fittest. Of course socialists cannot survive in that environment and rush off to find ways of getting governments involved in protecting their turf. Calling everyone who finds Microsoft's predatory behaviours 'socialist' (let alone 'fascist') and wrongly reducing to absurdity Darwin's theory to this primitive 'survival of the fittest' mantra is counterproductive to your usual function of participating in this list to sow bulk FUD on behalf of Microsoft. If I were Bill, you'd get no $points for this one. I have absolutely no problem with holding Microsoft legally responsible when they release a product with a bug or security flaw. However, this must be enforced across the board and against every entity that releases software irregardless of its price. It should probably even include port maintainers who release defective ports. Lets be honest, if that is even possible for a socialist like yourself, that if you want to go down that road then lets go -- all the way. Microsoft would love that. They can pay fines out of the coffee and biscuit jar without blinking, while non-behemoths would be bankrupt. You would no doubt find this fair enough; survival of the fattest. Microsoft's very existence depends on its ability to create an operating system that allows users to fully use programming and devices that they choose to deploy. If they cannot achieve that goal then they die, or else have a market share equivalent to FreeBSD, virtually undetectable. Microsoft has done a fairly good job of that. FreeBSD, an the other non-windows operating systems, have not achieved that goal although a few forward thinking developers like those associated with Ubuntu have made huge strides in that direction. You are mistaken if you think the raison d'etre of FreeBSD is, or ever has been, or ever will be, to achieve Microsoft's goals of a system so simple (albeit by obfuscation of complexity) that even a fool can use it, aimed at a mass consumer market. You are wrong if you see FreeBSD, or the other BSDs, or other unix-based or unix-inspired systems (apart from Apple and a few more reactionary Linux advocates) as 'competing' in the same 'market' as Microsoft. When it comes to technological advances, FreeBSD is at the bottom of the list. It is there primarily because of people who are simply willing to accept inferiority as the norm. Microsoft's list, for sure. So transparent, Jerry. I know I piss people off by my style of writing. I am just not the sort of person, a socialist primarily, who bends over and takes it up the ass everyday rather than say ENOUGH, lets fix this friggin mess. You cannot even get a decent N - protocol wireless device, or even a not so decent one for that matter, to work on FreeBSD while the rest of the world has had working solutions for 5 years. What the hell are they waiting for -- the second coming of the invisible man in the sky? Friggin PATHETIC. However, our esteemed leadership has managed to bump the version numbers from at least 6 to the soon to be 9 and we still have no working solution for an easy method of securing and installing printer drivers, or any drivers for that matter. Having to modify obscure system files and settings to get a simple sound card to work is always a PLUS. Pathetically enough, there are users who do actually feel that way. Apart from yourself, for obvious reasons, people who want a system that works the One Microsoft Way and
A small script to customize FreeBSD
I considered using the auto-detect driver, I probably should in a script used by many people. I did not know if there were any disadvantages to using it. I see the following code could do the job, but it might need some testing :( That is an interesting script - is there an advantage over loading the auto-detect driver? I have trouble knowing which driver to load, even when the system tells what it loaded using the auto-detect driver, lol. Kristen Eisenberg Billige Flüge Marketing GmbH Emanuelstr. 3, 10317 Berlin Deutschland Telefon: +49 (33) 5310967 Email: utebachmeier at gmail.com Site: http://flug.airego.de - Billige Flüge vergleichen ___ 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 on EC2
I've been experimenting with FreeBSD on EC2, in the hopes that I can move some systems there. I'm pleased with the possibilities, but have a two initial questions: First, the t1.micro instance, which I'm starting with, is supposed to have 10 GB of EBS storage--1GB for the kernel on the boot partition, and 9GB for the rest. But my instance only has 4.8GB on root: $ df -h FilesystemSizeUsed Avail Capacity Mounted on /dev/da1s14.8G4.1G332M93%/ devfs 1.0K1.0K 0B 100%/dev /dev/da0 1.0G 21M944M 2%/boot/grub Where's the rest? I asked about this in the EC2 forums, and someone said that it's probably unformatted space on a different partition; if so, I could use some advice about adding this to the existing root partition, and I'm also curious why this would be set up like this. 4.8GB isn't enough for me to compile everything I need, even if I put my data on another EBS volume Second, the FreeBSD on EC2 page at http://www.daemonology.net/freebsd-on-ec2/ says that the first instance of 8.2b-RELEASE is for t1.micro instances only, but when I start this instance, I'm given the option of starting it as t1.micro, m1.small, or c1.medium (the high-CPU medium option). In production I'd like to run this as the m1.small or the m1.large instance; I guess there's no large instance possible but is there any problem with using the small? Is there any time frame for the availability of a large instance? I think I'm going to need to use EC2 instead of buying a new physical server, and I'd really rather stick with FreeBSD instead of moving to Debian 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: FreeBSD on EC2
On 10/31/11 2:08 PM, Jesse Sheidlower wrote: I've been experimenting with FreeBSD on EC2, in the hopes that I can move some systems there. I'm pleased with the possibilities, but have a two initial questions: First, the t1.micro instance, which I'm starting with, is supposed to have 10 GB of EBS storage--1GB for the kernel on the boot partition, and 9GB for the rest. But my instance only has 4.8GB on root: $ df -h FilesystemSizeUsed Avail Capacity Mounted on /dev/da1s14.8G4.1G332M93%/ devfs 1.0K1.0K 0B 100%/dev /dev/da0 1.0G 21M944M 2%/boot/grub fdisk /dev/da1 ___ 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: Solution for school lab just a thought
You should look into the Freebsd port qjail. At our school lab all the pcs have ms/windows on the hard drive with the putty client installed. Students use putty to get logged into a jail on a single Freebsd system. Each student can practice installing ports, packages, or one of the desktop window environments in their private jail. The goal being to teach students to be system administrators. Humm Interesting... In my case the computers runs FreeBSD (diskless) and they need do access windows system. In a public school, where the $$$ is the main problem, I think this is the solution. Here the school has computers (a lot) that receives from donation, projects... from time to time the problem is the software... What to teach to children??? word, exel, powerpoint, msn??? is this teaching??? I think that children (and teenagers too), must face problems and resolve them. the world belongs tho those that work in group. those who can get answers, so an account in a desktop environment (in my case: gnome) with several program languages, internet access, text composing (libreoffice), postscript printing (cups), some IDE (anjuta, eclipse), multimedia (ffmpeg, avidemux2, openshot, dvdstyler) can make the difference. They can download small videos from their phones, and produce digital media, share it on DVDs... the home lesson is send via email (everyone has email).. One problem is hand-witten... no one wants to hand write now... Those who foresee the future, can learn how to code GUI interface, and so produce software for the community. They can learn how to install admin FreeBSD servers, share files in the network, use webdav to share files in internet... and so on... There is a need for people with this knowledge... The society will buy from the students as long as they produce good software.. What is the other alternative??? finish high school and than look for a job??? XXI century there is no jobs, there will be working people... Those who can succeed working for himself will rule.. That is what I teach to my boys... They worked hard (12 years)... and now they rule.. Do you really think that this world crisis will end in 10 years??? Just a thought... Sergio ___ 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: The ports are really funcional?
then, as the system must be configured?, I thought as I was was perfect. I have a laptop with intel core i5. PS: I think that occupying FreeBSD or OpenBSD, and you should consider ;) Zantgo El 31-10-2011, a las 6:12, Joe Gain joe.g...@gmail.com escribió: I agree, the ports are *amazing*. Even when installing a major component like kde4. If you have your base system set up correctly this very complex task will generally complete flawlessly. For a first-time install you can accept most of the default options when configuring, but it's probably not a good idea to just blindly accept every default. Experiment with the different port management software until you find something which you like. Read the documentation about dealing with common issues, making backups, saving compiler/ installation errors, etc. If you are having many problems with ports which require few dependencies, you may have a non-ports related issue of some kind. My entire system is ports based and I belong more to the user than the hacker class. Good luck! On Mon, Oct 31, 2011 at 4:05 AM, Polytropon free...@edvax.de wrote: On Sun, 30 Oct 2011 22:36:44 -0400, Alejandro Imass wrote: For very large packages such as the graphics system, open or libre office etc. it's much better to use binary versions via pkg_add. It's a waste of time to compile these very large suites and most of the time you will get the config options wrong, and they take forever to compile. Exceptions: 1) You need language-specific settings. Example: OpenOffice in German. 2) You need others than the default options, e. g. if you want to include or exclude some stuff. Example: OpenOffice without KDE. 3) You need options to be set at compile time that do differ from the default options from which the binary packages are made, or because of artificially shit in your pants legal requirements and restrictions. Example: mplayer with mencoder and all (!) codecs 4) You need to speed up things to make them run on older hardware, and you fight for every optimization. Example: mplayer's RUNTIME_CPU_DETECTION. But this is, I think, a case for 1% of users only. You hardly need to do that. In most cases, the default options are fine, and the binary packages just work. For things you want to tailor and optimize to your needs then use the ports system. FBSD is so cool that it doesn't matter if you install one way or the other and you can use almost all methods interchangeably. A managament tool (such as portmaster or portupgrade) helps to keep an eye on dependencies when using the many possible ways. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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 -- joe gain jacob-burckhardt-str. 16 78464 konstanz germany +49 (0)7531 60389 (...otherwise in ???) ___ 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-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: idletime in login.conf
In the last episode (Oct 31), Damien Fleuriot said: On 30 Oct 2011, at 16:45, Modulok modu...@gmail.com wrote: List, Goal: Automatically logoff users that are idle after 'x' minutes. Attempt: I added this to /etc/login.conf to the default login class: :idletime=10m: I then rebuilt the database: cap_mkdb /etc/login.conf Problem: It doesn't work. The 'w' command shows users idle for 20 minutes or more. I'm missing something. Other than an autologout shell variables, how do I force idle users to logout? Are these users that logged in after or before your change ? Obviously the idle timeout only applies to users who logged in after you adjusted the value and rebuilt the db. Actually, the idle timeout is not implemented in the base system. It's there in case someone writes a 3rd-party module that does idle detection. See the login.conf manpage: RESERVED CAPABILITIES The following capabilities are reserved for the purposes indicated and may be supported by third-party software. They are not implemented in the base system. [...] idletime timeMaximum idle time before logout. -- Dan Nelson dnel...@allantgroup.com ___ 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 on EC2
On 31 October 2011 13:08, Jesse Sheidlower jes...@panix.com wrote: I've been experimenting with FreeBSD on EC2, in the hopes that I can move some systems there. I'm pleased with the possibilities, but have a two initial questions: First, the t1.micro instance, which I'm starting with, is supposed to have 10 GB of EBS storage--1GB for the kernel on the boot partition, and 9GB for the rest. But my instance only has 4.8GB on root: $ df -h FilesystemSizeUsed Avail Capacity Mounted on /dev/da1s14.8G4.1G332M93%/ devfs 1.0K1.0K 0B 100%/dev /dev/da0 1.0G 21M944M 2%/boot/grub Where's the rest? I asked about this in the EC2 forums, and someone said that it's probably unformatted space on a different partition; if so, I could use some advice about adding this to the existing root partition, and I'm also curious why this would be set up like this. 4.8GB isn't enough for me to compile everything I need, even if I put my data on another EBS volume Second, the FreeBSD on EC2 page at http://www.daemonology.net/freebsd-on-ec2/ says that the first instance of 8.2b-RELEASE is for t1.micro instances only, but when I start this instance, I'm given the option of starting it as t1.micro, m1.small, or c1.medium (the high-CPU medium option). In production I'd like to run this as the m1.small or the m1.large instance; I guess there's no large instance possible but is there any problem with using the small? Is there any time frame for the availability of a large instance? I think I'm going to need to use EC2 instead of buying a new physical server, and I'd really rather stick with FreeBSD instead of moving to Debian 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 dont compile on the system build packages or tar up your /usr/local, and /var/db/pkg trees and deploy ___ 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
came error from nc
Hi. My name is Jamal. I am from Azerbaijan. When I tried open local port with nc and send to him /usr/local/bin/bash came error. nc -l 12345 -e /bin/bash , Error- nc: getaddrinfo: servname not supported for ai_socktype in /etc/resolv.conf and /etc/hosts files checked all of was right. Why is it so? ___ 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: came error from nc
In the last episode (Oct 31), Camal said: Hi. My name is Jamal. I am from Azerbaijan. When I tried open local port with nc and send to him /usr/local/bin/bash came error. nc -l 12345 -e /bin/bash , Error- nc: getaddrinfo: servname not supported for ai_socktype in /etc/resolv.conf and /etc/hosts files checked all of was right. Why is it so? I can't reproduce your error message, but your command won't do what you want anyway. The nc command that comes with FreeBSD doesn't support the listen on a socket and run a command option. Its -e is an ipsec option. If you install /usr/ports/net/netcat and use that command, it should work: netcat -l -p 12345 -e /usr/local/bin/bash -- Dan Nelson dnel...@allantgroup.com ___ 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: The ports are really funcional?
On Mon, 31 Oct 2011 11:45:44 -0300, Zantgo wrote: then, as the system must be configured?, I thought as I was was perfect. I have a laptop with intel core i5. The ports should work without any further configuration change, no matter if you've installed via Internet or from an installation media. If you encounter problems, please post informative text to this list, i. e. the command you've executed and the relevant error messages, and maybe specific things you've changed, e. g. global CFLAGS and other things one should not do. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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
Problems with EFI / partitioning with FreeBSD ONLY mac mini ... from USB drive ...
I booted the 8.2-RELEASE CD on my Intel mac mini, which has a thumb drive plugged into USB. I promptly entered FIXIT and used dd to zero out the ENTIRE internal hard drive. I may use it, I may not, but for now I want to reduce variables and I don't want remnants of OSX on that disk tripping me up. I exited FIXIT and proceeded with a plain old install of FreeBSD 8.2 onto the thumb drive, which was seen as da0. Upon rebooting, I see a folder icon with a question mark inside of it, blinking on the screen. The mac mini cannot see an OS to boot. I have tried to solve this by: - same as above, but plain old loader instead of FreeBSD boot manager. Both failed - During install, in FDISK, using the T option to change the type to 238 Still failing. Any idea what the missing part of this recipe is ? NOTE: I see something of an answer here: http://lists.freebsd.org/pipermail/freebsd-current/2011-September/027585.html But I do not know how to put a dummy MBR there even if using GPT layout ... so if that is the answer, some additional details, please :) Just trying to boot FreeBSD, and only FreeBSD, off of the thumb drive plugged into a mac mini with no other disks. Any help appreciated. ___ 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: idletime in login.conf
On Mon, Oct 31, 2011 at 10:09:34AM -0500, Dan Nelson thus spake: In the last episode (Oct 31), Damien Fleuriot said: On 30 Oct 2011, at 16:45, Modulok modu...@gmail.com wrote: List, Goal: Automatically logoff users that are idle after 'x' minutes. Attempt: I added this to /etc/login.conf to the default login class: :idletime=10m: I then rebuilt the database: cap_mkdb /etc/login.conf Problem: It doesn't work. The 'w' command shows users idle for 20 minutes or more. I'm missing something. Other than an autologout shell variables, how do I force idle users to logout? Are these users that logged in after or before your change ? Obviously the idle timeout only applies to users who logged in after you adjusted the value and rebuilt the db. Actually, the idle timeout is not implemented in the base system. It's there in case someone writes a 3rd-party module that does idle detection. See the login.conf manpage: RESERVED CAPABILITIES The following capabilities are reserved for the purposes indicated and may be supported by third-party software. They are not implemented in the base system. [...] idletime timeMaximum idle time before logout. You may want to look into /usr/ports/sysutils/doinkd for this. I use it on many systems, and it works remarkable well, and it is highly configurable. -jgh -- Jason Helfman System Administrator experts-exchange.com http://www.experts-exchange.com/M_4830110.html E4AD 7CF1 1396 27F6 79DD 4342 5E92 AD66 8C8C FBA5 ___ 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: idletime in login.conf
Hi, Reference: From: Jason Helfman jhelf...@e-e.com Date: Mon, 31 Oct 2011 11:25:32 -0700 Message-id: 20111031182532.gf82...@eggman.experts-exchange.com Jason Helfman wrote: On Mon, Oct 31, 2011 at 10:09:34AM -0500, Dan Nelson thus spake: In the last episode (Oct 31), Damien Fleuriot said: On 30 Oct 2011, at 16:45, Modulok modu...@gmail.com wrote: List, Goal: Automatically logoff users that are idle after 'x' minutes. Attempt: I added this to /etc/login.conf to the default login class: :idletime=10m: I then rebuilt the database: cap_mkdb /etc/login.conf Problem: It doesn't work. The 'w' command shows users idle for 20 minutes or more. I'm missing something. Other than an autologout shell variables, how do I force idle users to logout? Are these users that logged in after or before your change ? Obviously the idle timeout only applies to users who logged in after you adjusted the value and rebuilt the db. Actually, the idle timeout is not implemented in the base system. It's there in case someone writes a 3rd-party module that does idle detection. See the login.conf manpage: RESERVED CAPABILITIES The following capabilities are reserved for the purposes indicated and may be supported by third-party software. They are not implemented in the base system. [...] idletime timeMaximum idle time before logout. You may want to look into /usr/ports/sysutils/doinkd for this. I use it on many systems, and it works remarkable well, and it is highly configurable. -jgh -- Jason Helfman System Administrator That was a useful tip, but people (inc. self) will not remember. Suggestion: use send-pr to submit a diff to add SEE ALSO ports/sysutils/doinkd to man login.conf Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below, not above; Indent with ; Cumulative like a play script. Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. ___ 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: The ports are really funcional?
Polytropon wrote: On Mon, 31 Oct 2011 11:45:44 -0300, Zantgo wrote: then, as the system must be configured?, I thought as I was was perfect. I have a laptop with intel core i5. The ports should work without any further configuration change, no matter if you've installed via Internet or from an installation media. If you encounter problems, please post informative text to this list, i. e. the command you've executed and the relevant error messages, and maybe specific things you've changed, e. g. global CFLAGS and other things one should not do. :-) We should probably try and discover if he had learned how to update the ports tree as well. Many new users can easily get the ports tree installed by simply agreeing to the suggestion in sysinstall, but do not yet know it is best to update it first prior to installing software. I have always suspected that unknowingly utilizing the already out-of-date tree from the initial install is probably what causes most newcomers' problems with ports. My practice is to only do a basic install plus ports tree, with no third party application packages. Then update ports tree and begin installing apps. I learned this the hard way from experience over 11 years ago. When I first started with FreeBSD (circa 4.0.0) I would have some packages installed and then try using the ports system, and stuff would break. Learning to cvsup the ports tree is what took care of a lot of that. Then I learned portupgrade and things got even better again. But I recall the jumbled mish- mash of brokenness I had early on as a neophyte, and what the OP is describing sounds a lot like my early experience. Learning to properly admin the system made all of that a thing of the distant past. -Mike ___ 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: idletime in login.conf
On Mon, Oct 31, 2011 at 08:11:57PM +0100, Julian H. Stacey thus spake: Hi, Reference: From: Jason Helfman jhelf...@e-e.com Date: Mon, 31 Oct 2011 11:25:32 -0700 Message-id: 20111031182532.gf82...@eggman.experts-exchange.com Jason Helfman wrote: On Mon, Oct 31, 2011 at 10:09:34AM -0500, Dan Nelson thus spake: In the last episode (Oct 31), Damien Fleuriot said: On 30 Oct 2011, at 16:45, Modulok modu...@gmail.com wrote: List, Goal: Automatically logoff users that are idle after 'x' minutes. Attempt: I added this to /etc/login.conf to the default login class: :idletime=10m: I then rebuilt the database: cap_mkdb /etc/login.conf Problem: It doesn't work. The 'w' command shows users idle for 20 minutes or more. I'm missing something. Other than an autologout shell variables, how do I force idle users to logout? Are these users that logged in after or before your change ? Obviously the idle timeout only applies to users who logged in after you adjusted the value and rebuilt the db. Actually, the idle timeout is not implemented in the base system. It's there in case someone writes a 3rd-party module that does idle detection. See the login.conf manpage: RESERVED CAPABILITIES The following capabilities are reserved for the purposes indicated and may be supported by third-party software. They are not implemented in the base system. [...] idletime timeMaximum idle time before logout. You may want to look into /usr/ports/sysutils/doinkd for this. I use it on many systems, and it works remarkable well, and it is highly configurable. -jgh -- Jason Helfman System Administrator That was a useful tip, but people (inc. self) will not remember. Suggestion: use send-pr to submit a diff to add SEE ALSO ports/sysutils/doinkd to man login.conf Cheers, Julian I don't believe doinkd respects the values of login.conf, however you may use those values for what is configurable for doinkd. I don't believe it is the correct place in a base man page for mentioning a port in the FreeBSD tree, or in at least this case. If you feel it is, feel free to send in a problem report. I, myself, will not be filing a report for this item. -jgh -- Jason Helfman System Administrator experts-exchange.com http://www.experts-exchange.com/M_4830110.html E4AD 7CF1 1396 27F6 79DD 4342 5E92 AD66 8C8C FBA5 ___ 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
What are the technical differences between Linux and BSD?
I mean, like BSD is based on the original UNIX, and Linux on System V, Linux should include new technologies, or why not?, Is that Linux includes more new hardware, but I mean as is within management technologies, security, etc. .. PD: I know that BSD is more secure, stable and fast, although in relation to performance, ports are not very fast. Zantgo___ 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: What are the technical differences between Linux and BSD?
On Mon, 31 Oct 2011 16:50:11 -0300, Zantgo wrote: I mean, like BSD is based on the original UNIX, and Linux on System V, Linux should include new technologies, or why not?, Is that Linux includes more new hardware, but I mean as is within management technologies, security, etc. .. Compage to The UNIX system family tree: Research and BSD found in /usr/share/misc/bsd-family-tree on your local installation. Also keep in mind that while FreeBSD has a concept of the operating system and ported applications / 3rd party software, Linux does not have such a differentiation, so it's a bit complicated of comparing just the OSes to each other. Things like security and hardware support have their basics within the kernel, those are abstracted by libraries; some of them are part of the OS, others are provided by additional software. PD: I know that BSD is more secure, stable and fast, although in relation to performance, ports are not very fast. I don't think so. It's possible that ports, compiled for the architecture in use, as well with using optimizations that are not part of the default settings (with which the packages are made) can benefit _faster_ operations of ports vs. packages. An example is mplayer, when compiled for older systems: Here flags depending on the CPU actually in use can help. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: (8.2) share lib and ldconfig problem.
Le Fri, 28 Oct 2011 12:49:45 -0400, b. f. bf1...@googlemail.com a écrit : Portgrade did a copy of the lib into /usr/local/lib/compat/pkg and run ldconfig. But the lib does not appear in the listing of the ldconfig cache : You mean portupgrade, probably? Yes, it was in the sentence :) Since your broken binary seems to need *.so.46, you can try adding symlinks between the corresponding *.so.46 and *.so.46.1, or you can rebuild the dependent port. I've made a script to add the missing symlinks. Thanks for your explanations. Regards. ___ 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
RAID5 speed question.
Have an ancient 4.1R mail server to replace. It has about 3000 accounts. Usual /var/mail to store mail. /var/mail is RAID5 on an old Dell PERC3 card. Its worked pretty well and have lived through 3 drive failures over the years. New Dell box with a PERC5/i. Same drive setup, a 500GB RAID5 for /var/mail. I do an ls -l in /var/mail on the old 4.10 machine and I get a directory listing in about 2 seconds. This is about 3000 mailboxes. On the new machine running 7.3 with the PERC5/i I rsync'd /var/mail and do an ls -l and it takes a full 22 seconds to get a directory listing. A plain ls in /var/mail on both machines is instantaneous. I know RAID5 is not 'optimal' for this but I'm surprised at the difference in how long it takes to do a directory listing using ls -l on the new machine compared to the old one. The new array is 500GB compared to about 36GB on the older machine. Shouldn't a long directory listing be faster on the PERC5/i compared to the old PERC3? Other than that the new machine in all other aspects is faster, a lot faster. 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: Solution for school lab just a thought
On Monday 31 October 2011 10:56:44 Sergio de Almeida Lenzi wrote: You should look into the Freebsd port qjail. At our school lab all the pcs have ms/windows on the hard drive with the putty client installed. Students use putty to get logged into a jail on a single Freebsd system. Each student can practice installing ports, packages, or one of the desktop window environments in their private jail. The goal being to teach students to be system administrators. Humm Interesting... In my case the computers runs FreeBSD (diskless) and they need do access windows system. In a public school, where the $$$ is the main problem, I think this is the solution. Here the school has computers (a lot) that receives from donation, projects... from time to time the problem is the software... What to teach to children??? word, exel, powerpoint, msn??? is this teaching??? I think that children (and teenagers too), must face problems and resolve them. the world belongs tho those that work in group. those who can get answers, so an account in a desktop environment (in my case: gnome) with several program languages, internet access, text composing (libreoffice), postscript printing (cups), some IDE (anjuta, eclipse), multimedia (ffmpeg, avidemux2, openshot, dvdstyler) can make the difference. They can download small videos from their phones, and produce digital media, share it on DVDs... the home lesson is send via email (everyone has email).. One problem is hand-witten... no one wants to hand write now... Those who foresee the future, can learn how to code GUI interface, and so produce software for the community. They can learn how to install admin FreeBSD servers, share files in the network, use webdav to share files in internet... and so on... There is a need for people with this knowledge... The society will buy from the students as long as they produce good software.. What is the other alternative??? finish high school and than look for a job??? XXI century there is no jobs, there will be working people... Those who can succeed working for himself will rule.. That is what I teach to my boys... They worked hard (12 years)... and now they rule.. Do you really think that this world crisis will end in 10 years??? Just a thought... Sergio Picture an arrow whistling through the wind, undisturbed, and hitting the bullseye dead in its perfect center, That's what your thought is to me, Sergio. +10 ! Thank you. -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since 2.2.8 [not Pro-Audio YET!!] (99% winblows FREE) ___ 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: What are the technical differences between Linux and BSD?
On Mon, 31 Oct 2011 16:50:11 -0300, Zantgo zan...@gmail.com the village idiot, wrote I mean, like BSD is based on the original UNIX, and Linux on System V, FALSE TO FACT. Linux should include new technologies, or why not?, Is that Linux includes more new hardware, but I mean as is within management technologies, security, etc. .. PD: I know that BSD is more secure, stable and fast, although in relation to performance, ports are not very fast. You don't know what you don't know, and are in error about most of what you think you _do_ know. You would be well advised to read a number of the 'classical' reference books about Unix: The Design of the Unix Operating System The Design of the BSD 4.4 Operating System Unix System Administration Handbook are a good set to start with. ___ 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: Solution for school lab just a thought
Hello all. Sergio. Would you mind to contact me offline (maybe some people in the list won't be interested) I help communities and non profit (very poor) organizations here and would like to know more about your schema and results. Here also we get donattions of hardware. The old 386 and so, computers that big companies do not use anymore and with that we have to work. We are also trying to giving the kids a chance to learn something else so they can compete in a hard job market. Thanks in advance Jorge Biquez jbiq...@intranet.com.mx At 04:09 p.m. 31/10/2011, Mario Lobo wrote: On Monday 31 October 2011 10:56:44 Sergio de Almeida Lenzi wrote: You should look into the Freebsd port qjail. At our school lab all the pcs have ms/windows on the hard drive with the putty client installed. Students use putty to get logged into a jail on a single Freebsd system. Each student can practice installing ports, packages, or one of the desktop window environments in their private jail. The goal being to teach students to be system administrators. Humm Interesting... In my case the computers runs FreeBSD (diskless) and they need do access windows system. In a public school, where the $$$ is the main problem, I think this is the solution. Here the school has computers (a lot) that receives from donation, projects... from time to time the problem is the software... What to teach to children??? word, exel, powerpoint, msn??? is this teaching??? I think that children (and teenagers too), must face problems and resolve them. the world belongs tho those that work in group. those who can get answers, so an account in a desktop environment (in my case: gnome) with several program languages, internet access, text composing (libreoffice), postscript printing (cups), some IDE (anjuta, eclipse), multimedia (ffmpeg, avidemux2, openshot, dvdstyler) can make the difference. They can download small videos from their phones, and produce digital media, share it on DVDs... the home lesson is send via email (everyone has email).. One problem is hand-witten... no one wants to hand write now... Those who foresee the future, can learn how to code GUI interface, and so produce software for the community. They can learn how to install admin FreeBSD servers, share files in the network, use webdav to share files in internet... and so on... There is a need for people with this knowledge... The society will buy from the students as long as they produce good software.. What is the other alternative??? finish high school and than look for a job??? XXI century there is no jobs, there will be working people... Those who can succeed working for himself will rule.. That is what I teach to my boys... They worked hard (12 years)... and now they rule.. Do you really think that this world crisis will end in 10 years??? Just a thought... Sergio Picture an arrow whistling through the wind, undisturbed, and hitting the bullseye dead in its perfect center, That's what your thought is to me, Sergio. +10 ! Thank you. -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since 2.2.8 [not Pro-Audio YET!!] (99% winblows FREE) ___ 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-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Install gnome 3
How I can install Gnome3? ___ 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: Install gnome 3
On Mon, 31 Oct 2011 22:42:46 -0300, Zantgo wrote: How I can install Gnome3? Try this: http://forums.pcbsd.org/showthread.php?t=14811 When Gnome 3 is officially in the ports tree, I think it will be noted on the FreeBSD GNOME Project page: http://www.freebsd.org/gnome/ If you want a smartphone GUI on your desktop... :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: Install gnome 3
From owner-freebsd-questi...@freebsd.org Mon Oct 31 20:44:18 2011 From: Zantgo zan...@gmail.com Date: Mon, 31 Oct 2011 22:42:46 -0300 To: freebsd-questions@freebsd.org Subject: Install gnome 3 How I can install Gnome3? I'm torn between two facitous answers, based on the degree of ineptness in executing the clue mating dance, even under otherwise optimize conditions, so, I'll let _you_ choose: a) 'badly. b) instll Gnome2, then perform half the upgrade to Gnome 4. ___ 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