Re: have desktop on freebsd
Pcbsd is always an option. On Sep 20, 2012 2:50 AM, saeedeh motlagh saeedeh.motl...@gmail.com wrote: thank you every body for your answers. i understand that my garphic card is NVIDIA not intel therefore i installed nvidia driver from port. now it seems that everything is ok. there is no error in Xorg.log file and when i run startx command, no errors occurred. but when i restart my system,i don't have desktop yet. i don't know what to do and search for what, because there is no error. please tell me if you have any idea about it. thanks On 9/19/12, Bernt Hansson b...@bananmonarki.se wrote: 2012-09-19 07:23, saeedeh motlagh skrev: thanks Bernt, i deinstall it and then try startx. startx works and displays graphical page. but when i restart me system i do not have desktop yet. you know, startx displays graphical page when fbdev is installed too. please let me know if you have any idea or hint that can solved my problem becuase i don't have any idea anymore. thanks Try this; cd /usr/ports/x11-drivers/xorg-drivers make rmconfig Then when you run make double check you do not have fbdev marked. ___ 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: Building a FreeBSD desktop.
The pcbsd project which uses FreeBSD is another option. On Aug 20, 2012 11:31 PM, d...@safeport.com wrote: On Mon, 20 Aug 2012, James D. Parra wrote: I was looking to build a desktop to learn FreeBSD and was wondering if there is a list of parts to build one or to just look at the hardware comparability list? I just don't want to order wrong parts. If don't want to make the full commitment to building a desktop, a good way to learn about FreeBSD is to install within a virtual machine. Either VMWare or VirtualBox will serve you well. If you have a system you want to try you can also check out http://laptop.bsdgroup.de/**freebsd/index.htmlhttp://laptop.bsdgroup.de/freebsd/index.html . __**_ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-** unsubscr...@freebsd.org 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: how to speed up port make??
You could use pkg_add -r xorg to get it and all of its dependencies installed. I usually use that, in combination with ccache to speed up compiles called by portupgrade. Brian On Jul 25, 2012 8:38 AM, Mr U mru...@yahoo.com wrote: hi is it possible to speed up port make ?? i want to install openbox and xorg on a Pentium 4 and 2gb ram, compiling xorg takes about 2 hours thank you all mru Sent from Yahoo! Mail on Android ___ 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: Sendmail and Postfix
During subsequent system upgrades, of you build from source, you should watch out for thus during the mergemaster piece. Brian On Jun 22, 2012 11:44 AM, Matthew Seaman matt...@freebsd.org wrote: On 22/06/2012 19:19, Walter Hurry wrote: It seems that Sendmail is embedded somehow in the base system. What is the 'approved' way to get rid of /usr/bin/mailq? Or better, remove Sendmail? You don't need to remove the base system sendmail. All you need to do is set up /etc/mail/mailer.conf properly -- and installing the postfix port should do that for you -- and then any reference to /usr/sbin/sendmail, /usr/bin/mailq, usr/bin/hoststat etc. will run postfix instead. It's really very nicely done. See mailer.conf(5) Cheers, Matthew PS. Alright, yes. You can prevent sendmail from being built as part of the base system by defining 'WITHOUT_SENDMAIL=yes' in /etc/src.conf, but this supposes that you want to build the system yourself, rather than using, say, freebsd-update(8). See src.conf(5) and read in /usr/src/UPDATING and the Handbook about the procedure for building the system from source. -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey ___ 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: (Free 7.2) su -l didnt prompt password.Is it possbile?
I have only seen thuis after a source upgrade where mergemaster wants to remove the passwd. Has a source upgrade been done recently? Brian On Jun 18, 2012 7:26 AM, Budnev Vladimir vladimir.bud...@gmail.com wrote: 18.06.2012 18:02, Mike Tancsa написал: On 6/18/2012 9:31 AM, Budnev Vladimir wrote: And It looked such way: %su -l Before you enter this command, post the output of id Unfortunately, we can not flashback or reproduce that step now, cause we'v hurried and changed root password to avoid such strange free logins. And changing it back didnt change a thing. It was...and't went. We had only buffered console output :( But mb you can point in what case there is possibility to make su -l without any prompt. I suppose you mean that user has gid=0 or smthng like that but it hasn't. And as i mentioned changin root password to another and backwards doesn't allow to reproduce discribed behaviour. ---Mike __**_ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-** unsubscr...@freebsd.org 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
P5-FuzzyOcr port
Pkg_add -r can't find a package for this; I presume this is deliberate because of the unmaintained status of fuzzyocr? Brian ___ 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: P5-FuzzyOcr port
I was migrating from v7 to v8 when I saw this a few nights ago. The upgrade was going speedily well till I hit that. Like I said I was able to get through it by building the port. On Jun 13, 2012 12:25 AM, Matthew Seaman m.sea...@infracaninophile.co.uk wrote: On 13/06/2012 07:17, Brian W. wrote: Pkg_add -r can't find a package for this; I presume this is deliberate because of the unmaintained status of fuzzyocr? Not directly. As many pkgs as possible are built from ports, irrespective of who the maintainers are. An unmaintained port is however less likely to have any issues attended to promptly. If you want to see exactly why no pkg exists, use portsmon: http://portsmon.freebsd.org/portoverview.py?category=mailportname=p5-FuzzyOcr and the reason is that the graphics/giflib port -- one of the dependencies -- failed to work properly. On 9.0-RELEASE it shows the problem is to do with XML validation, and there's an open PR about that which is assigned to the graphics/giflib maintainer. There should be a fix fairly soon. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW ___ 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: Version Selection
There are two advantages that come to mind quickly. With amd64 you could install more than 4 gigs of ram and have it recognized. With i386 if you need to do this pae would need to be installed, which FreeBSD doc pages say is if beta quality. I bet that amd64 will get more dev attention. On Jun 10, 2012 11:21 PM, Doug Hardie bc...@lafn.org wrote: I have a number of servers that I am about to upgrade to FreeBSD 9.0. The processors all have the ability to run i386 or amd64. The machines all have 2 GB memory which is more than adequate for their intended use. Some of these are replacing very old equipment that is being retired and did not have the ability to run amd64 so everything has been i386 till now. The question is what are the advantages or disadvantages of switching to amd64? I have tested all the various applications on amd64 and they work fine. Is there going to be any benefit down the road in a few years to being on amd64? If so, now would be the time to switch. ___ 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: how to allow by MAC
I would ask what problem do you want to solve here; is it preventing a userjust from getting out unless they are using their assigned address, or something else? On Jun 10, 2012 8:16 PM, Bill Yuan byc...@gmail.com wrote: Hi Lan, Thanks for your reply, I am reading some old emails which you sent in 2008 while other place asked a same question as mine, On Mon, Jun 11, 2012 at 1:53 AM, Ian Smith smi...@nimnet.asn.au wrote: In freebsd-questions Digest, Vol 418, Issue 18, Message: 1 On Sun, 10 Jun 2012 17:43:39 +0800 Bill Yuan byc...@gmail.com wrote: how to allow by MAC in ipfw currently i set the rule like below 1 allow ip from any to any MAC any to MAC Address 1 1 allow ip from any to any MAC MAC Address 1 any 2 deny all from any to any i want to only allow the mac address to go through the freebsd firewall, but I found it is not working on my freebsd but it works on pfsense! so maybe that means the environment is not the same ? and how to setup the ipfw properly to support this ? Bill, you did get some good clues in the earlier thread, but it's not clear if you took note of them. There's also been some confusion .. Firstly, read up on layer2 (ethernet, MAC-level) filtering options in ipfw(8). Thoroughly, several times, until you've got it. Seriously. After enabling sysctl net.link.ether.ipfw=1 (add it to /etc/sysctl.conf) ipfw will be invoked 4 times instead of the normal 2, on every packet. Read carefully ipfw(8) section 'PACKET FLOW', and see that only on the inbound pass invoked from ether_demux() and the outbound pass invoked from ether_output_frame() can you test for MAC addresses (or mac-types); the 'normal' layer3 passes examine packets that have no layer2 headers. You could just add 'layer2' to any rules filtering on MAC addresses, and omit MAC addresses from all layer 3 (IP) rules, but I'd recommend using a method like shown there to separate layer2 and layer3 flows early on: # packets from ether_demux ipfw add 10 skipto 1000 all from any to any layer2 in # packets from ip_input ipfw add 10 skipto 2000 all from any to any not layer2 in # packets from ip_output ipfw add 10 skipto 3000 all from any to any not layer2 out # packets from ether_output_frame ipfw add 10 skipto 4000 all from any to any layer2 out So at (eg) 1000 and 4000 place your incoming and outgoing MAC filtering rules (remembering the reversed order of MAC addresses vs IP addresses, and to allow broadcasts as well), pass good guys and/or block bad guys, then deal with your normal IPv4|v6 traffic in a separate section(s). Or you could just split the flows into two streams, one for layer2 for your MAC filtering, the other for layer3, ie the rest of your ruleset. HTH, Ian [please cc me on any reply] ___ 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
upgrade from 7-stable to 8-stable
It is time to do the above for me. I have done several upgrades within the same major version but have not done a version hop yet. Aside from extra paranoia about backups and the need to rebuild all ports, are there other gotchas to watch out for? I am going to try it on a test VM system first. Brian ___ 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: kde4 on 8.3 and laptop
On May 29, 2012 10:28 PM, Gary Aitken free...@dreamchaser.org wrote: On 05/29/12 22:15, Jim Pazarena wrote: I had kde3 running just fine on 8.2 on my laptop. I have now installed 8.3 -and- kde4 on my laptop, and the kde system will not work as expected. when I type kdm (which is at /usr/local/kde4/bin/kdm) I get the expected login screen (however the mouse dies), and after I login, all I get is a small cli window in the top left corner. The mouse has gone dead, and the keyboard doesn't respond, altho there is a prompt in the cli window. All I can do at this point is hold the power button in to reboot. If I do not try running kdm, the normal cli works 100%, the ethernet works, and the mouse always seems alive (altho in the cli the mouse is of no value). Suggestions would be very appreciated. I don't know about the mouse dieing. I'm running 9.0 and I've seen that once or twice when first setting up X. You don't need to reboot. Do altFn to switch to a different vty. Log in on that vty, do a ps to find the process you used to start kdm, (ps -ax | grep kdm) and kill -TERM that process. That should get you back to a regular prompt on the original vty. Do altF1 to go back to that screen. Gary Ctr-alt-shift-backspace has also killed many a stuck x session. ___ 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: procmail in v4 vs v5
On Fri, 26 Aug 2005, Giorgos Keramidas wrote: On 2005-08-26 10:02, Brian [EMAIL PROTECTED] wrote: Giorgos Keramidas wrote: On 2005-08-26 08:34, Brian [EMAIL PROTECTED] wrote: All my recipes that used to work in 4-stable seem to fail in 5-stable. When I invoke procmail with what looks like the same files, I get unknown mailer error 1 messages in maillog. It would be nice if we could see some of these rules and the exact log messages. more .forward |IFS=' ' exec /usr/local/bin/procmail -f- || exit 75 #bri Try without all this fanciness: % echo '|/usr/local/bin/procmail' ~/.forward % chmod 0600 .forward Error snapshot- Aug 26 08:20:37 entwistle sm-mta[658]: j7QFKbVD000654: to=|exec /usr/local/bin/procmail, ctladdr=[EMAIL PROTECTED] (1005/1005), delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=31237, dsn=5.3.0, stat=unknown mailer error 1 This doesn't look very right. It seems that Sendmail is trying to locate a binary called: exec /usr/local/bin/procmail Additional googling suggests adding a local mc file to enable procmail as a delivery agent. Not necessarily, but that's a different thing. heres an error update. Aug 26 11:47:40 entwistle sm-mta[1347]: j7QIlegN001345: to=|/usr/local/bin/procmail, ctladdr=[EMAIL PROTECTED] (1005/1005), delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=31250, dsn=5.3.0, stat=unknown mailer error 1 Aug 26 11:47:40 entwistle sm-mta[1347]: j7QIlegN001345: j7QIlegN001347: DSN: unknown mailer error 1 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: procmail in v4 vs v5
I have in no way modofied it, I have what mergemaster gave me. Brian On Fri, 26 Aug 2005, Giorgos Keramidas wrote: On 2005-08-26 11:50, Brian W. [EMAIL PROTECTED] wrote: Giorgos Keramidas wrote: Brian W. wrote: Error snapshot- Aug 26 08:20:37 entwistle sm-mta[658]: j7QFKbVD000654: to=|exec /usr/local/bin/procmail, ctladdr=[EMAIL PROTECTED] (1005/1005), delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=31237, dsn=5.3.0, stat=unknown mailer error 1 This doesn't look very right. It seems that Sendmail is trying to locate a binary called: exec /usr/local/bin/procmail Additional googling suggests adding a local mc file to enable procmail as a delivery agent. Not necessarily, but that's a different thing. heres an error update. Aug 26 11:47:40 entwistle sm-mta[1347]: j7QIlegN001345: to=|/usr/local/bin/procmail, ctladdr=[EMAIL PROTECTED] (1005/1005), delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=31250, dsn=5.3.0, stat=unknown mailer error 1 Aug 26 11:47:40 entwistle sm-mta[1347]: j7QIlegN001345: j7QIlegN001347: DSN: unknown mailer error 1 Hmmm, that's a bit odd. What changes does your sendmail.mc file have from the stock version? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: procmail in v4 vs v5
On Fri, 26 Aug 2005, Giorgos Keramidas wrote: On 2005-08-26 12:36, Brian W. [EMAIL PROTECTED] wrote: Right. Now, if it's not too much trouble to ask, please run the following commands and show me the output. You don't have to be root when these are run: # cd /etc/mail # diff -u sendmail.mc `hostname`.mc # cat sendmail.mc # ls -ld /usr/local/bin/procmail ok, my listing shiows different filenames. Yes, yes. Pardon the mindslip. I was sitting on a Solaris machine and forgot we call our template sendmail.mc file ``freebsd.mc''. pwd /etc/mail ls Makefilefreebsd.mc mailertable.sample README freebsd.submit.cf relay-domains access.sample freebsd.submit.mc sendmail.cf aliases helpfilesubmit.cf aliases.db local-host-namesvirtusertable.sample freebsd.cf mailer.conf I don't see a `hostname`.mc file here :-/ ls -ld /usr/local/bin/procmail -rwsr-sr-x 1 root mail 76828 Aug 1 04:22 /usr/local/bin/procmail This is a box that went right from 5.3 release to 5-stable. It seems you have no local `hostname`.mc file, so you probably lost some changes in the mergemaster run of the update. Can you check out the differences of your ``/etc/mail/freebsd.mc'' file and the one that is part of the source tree, at ``/usr/src/etc/sendmail/freebsd.mc'' ? No difference sir.. diff /etc/mail/freebsd.mc /usr/src/etc/sendmail/freebsd.mc Brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: procmail in v4 vs v5
On Fri, 26 Aug 2005, Giorgos Keramidas wrote: On 2005-08-26 12:16, Brian W. [EMAIL PROTECTED] wrote: On Fri, 26 Aug 2005, Giorgos Keramidas wrote: On 2005-08-26 11:50, Brian W. [EMAIL PROTECTED] wrote: Aug 26 11:47:40 entwistle sm-mta[1347]: j7QIlegN001345: to=|/usr/local/bin/procmail, ctladdr=[EMAIL PROTECTED] (1005/1005), delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=31250, dsn=5.3.0, stat=unknown mailer error 1 Aug 26 11:47:40 entwistle sm-mta[1347]: j7QIlegN001345: j7QIlegN001347: DSN: unknown mailer error 1 Hmmm, that's a bit odd. What changes does your sendmail.mc file have from the stock version? I have in no way modofied it, I have what mergemaster gave me. Right. Now, if it's not too much trouble to ask, please run the following commands and show me the output. You don't have to be root when these are run: # cd /etc/mail # diff -u sendmail.mc `hostname`.mc # cat sendmail.mc # ls -ld /usr/local/bin/procmail ok, my listing shiows different filenames. pwd /etc/mail ls Makefilefreebsd.mc mailertable.sample README freebsd.submit.cf relay-domains access.sample freebsd.submit.mc sendmail.cf aliases helpfilesubmit.cf aliases.db local-host-namesvirtusertable.sample freebsd.cf mailer.conf ls -ld /usr/local/bin/procmail -rwsr-sr-x 1 root mail 76828 Aug 1 04:22 /usr/local/bin/procmail This is a box that went right from 5.3 release to 5-stable. brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
portupgrade problem
I've been having this problem for about a week now. I've already deinstalled and reinstalled the ruby, rubybdb and portupgrade ports, what else can I look at? The below process takes at least an hour, its a k62-450. The no such user problem doesn't occur until a lot of time has gone by. # portupgrade -aP Updating the ports index ... Generating INDEX.tmp - please wait..id: www: no such user Makefile, line 21: warning: /usr/bin/id -u www returned non-zero status Done. done [Updating the portsdb format:bdb1_btree in /usr/ports ... - 11959 port entries found .1000.2000.3000.4000.5000/usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:587: [BUG] Segmentation fault ruby 1.8.2 (2004-07-29) [i386-freebsd4] Abort (core dumped) Brian The path to a desireable destination is often more difficult than the path to stay where you are. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]