Re: a few questions and concepts
> On Friday 07 April 2006 16:34, Giorgos Keramidas wrote: >> On 2006-04-07 15:54, Jonathan Horne <[EMAIL PROTECTED]> wrote: >> > im still pretty new to freebsd. ive been playing around with the >> cvsup >> > tools, and they are quite fascinating. >> > >> > i changed my production server from Fedora to FreeBSD 6.0, about 1 day >> > before the most recent sendmail exploit was published (well, published >> on >> > freebsd.org anyway). >> >> Murphy at work, again, eh? :) >> >> > i did download the patch and recompile it, but as some have also noted >> > on this list, that it still banners as 8.13.4 when you telnet to it. >> > >> > so, the past couple of days, i have learned to cvsup my /usr/src >> > directories. ive just been using the standard copy of the >> > stable-supfile. i have learned that if i perform the sendmail >> recompile >> > after the cvsup, that it sendmail seems to proclaim 8.13.6 in the >> banner. >> > on top of that, i have learned that if i recompile the kernel after >> > cvsup, that it no longer says FreeBSD 6.0-RELEASE, but FreeBSD >> > 6.1-PRERELEASE. >> >> You are running RELENG_6 now, which is much more recent than >> RELENG_6_0_RELEASE. >> >> The first one is the top of the 6.X branch, which changes moderately >> slow, but it *does* change. The 6.0-RELEASE source tree is "frozen in >> time" at the point the tag was placed on the source tree. >> >> > my questions: >> > 1) after cvsup, i think i can assume that sendmail is now compiling >> from >> > sourcecode that should definatly be free from the current exploit. i >> > would also assume that anything that i would need to recompile from >> > /usr/src should also see the benefit of 'latest source code'? >> >> Yes, both true. >> >> > 2) on a production server, should i avoid recompiling a kernel that >> will >> > be FreeBSD 6.1-PRERELEASE? on the whole, how reliable is the bulk of >> > these newer sources that were pulled down by cvsup? >> >> In general, if you a bit paranoid, you should avoid running RELENG_6 on >> a production system. At least until you have thoroughly tested it on a >> "test system" and found everything working as expected. >> >> > i can definatly see the benefits of using cvsup to take care of >> > problem with some things (like sendmail), but allowing it to update >> > everything under the /usr/src tree, im wondering if i could be setting >> > myself up for issues (by not editing the stable-supfile and taking >> > only what i need). >> >> This is why each FreeBSD release is associated with at least: >> >> * A "frozen" tag, like RELENG_6_0_RELEASE >> >> * A security branch, like RELENG_6_0 >> >> * A stable branch, like RELENG_6 >> >> Changes go very fast in the CURRENT FreeBSD branch. After they settle >> in for a while, soem of them are backported to the RELENG_X branch. The >> RELENG_X branch changes much slower than the experimental, CURRENT >> branch, but it does change every time a new feature is backported to >> RELENG_X. >> >> Then, when security fixes are made available, they are added both to the >> RELENG_X branch and the RELENG_X_Y security branches. >> >> If all you want is the "frozen" release sources plus changes that are >> really really necessary, because they fix a serious security bug, you >> probably want RELENG_X_Y (RELENG_6_0 in this case). >> >> Regards, >> Giorgos >> >> ___ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "[EMAIL PROTECTED]" > > thank you kindly for your reply, that was quite informative. ive actually > read the document on the differences between the stable, current, and > release > (or whatever), and find that system quite confusing for the moment. im > sure > ill grasp the method of the madness eventually. i guess what confuses me, > is > that i read about those, and then try to find them on the ftp sites. i > assume, that only release is made into a .iso file? and to move to a > higher > version (either the security RELENG_6_0 or stable RELENG_6), you do this > thru > the cvsup tool. Yes, as far as I can tell that is correct, it confused me at first. The iso image is the latest release for each branch. > > so, by your descriptions and reply to my previous comments, my system that > is > running what says 6.1-PRERELEASE is really RELENG_6 (stable) ? > Again correct. Don't forget 'stable' is not that stable it is a snapshot of 'current' that is stable enough to be released. > thanks, > Jonathan Horne The other confusing this is that the tags only realy refer to the 'userland' ie the core system. The ports get updated as and when. On the system I am currently working on which will be a production server, I don't whant too much change when in prodction so I am following the 6.0 branch at present (RELENG_6_0). I have portaudit installed which tells me what ports have been updated through security issues a
Re: [Solved] Official Nvidia Drivers, Toshiba Laptop, GeForce 4440 Cards: Always causes Freeze
On Fri, 07 Apr 2006 Sean Murphy wrote: > I have finally come up with a way to use the official drivers That's great news Sean, kudos! I would suggest that it's more appropriate to use the x11/nvidia-driver port, e.g.: cd /usr/ports/x11/nvidia-driver sudo make install clean Then set your tunables (i.e hw.nvidia.registry.SoftEDIDs and hw.nvidia.registry.Mobile) via '/etc/sysctl.conf'. Finally, you would apply the changes to xorg.conf as you recommend. The nvidia readme file for their freebsd driver mentions this in the section titled 'CONFIGURING LOW-LEVEL PARAMETERS'. Regardless, using ports to install things and sysctl.conf to control the low-level parameters is more traditional. Of course the beauty of FLOSS systems is you can solve problems in a way that works best for your particular situation ;-) Just a suggestion, Dino ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: OT - Scalable email server solution needed
Postfix + Cyrus IMAPd ... Cyrus IMAPd has built-in virtual domain support ... only solution I've used for almost 10 years now ... On Sat, 8 Apr 2006, Duane Whitty wrote: Hi, My appologies in advance for the OT post. This probably more appropriately belongs on ISP@ but there doesn't seem to be much traffic there. To the point: I'm about to provide hosting services, including but not limited to email, to a few local business. Right now I have Sendmail configured and I was about to install Courier-IMAP. My concern is future scalability. I'm not sure sendmail is the right back-end MTA. Right now Sendmail and Procmail will work fine I believe with the addition of an IMAP server. But what about later on? I was looking at DBmail but I'm not sure just how much activity that project has so I'm a little leary, but perhaps that's unjustified? So now I'm considering Exim or POSFIX. The Sun Java Communications Server looks appealing but unless I misunderstood I don't have anywhere near the bankroll for that yet and it doesn't look like a good fit for a start-up operation anyhow. I like that POPular port and the way it uses proxies etc., but it doesn't seem to support IMAP. Is there anyone on the list who might be serving many business customers each with many users who would be willing to share their insights or opinions on this? From my past experiences, transitioning from a low volume solution to a high volume solution, regardless of the application domain, is usually best solved by making the right choice in the beginning. It would seem like an important marketing tool as well. If I am way of base here or missing something really important I'd appreciate the heads-up. Thanks in advance for any help. Sincerely, Duane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: [EMAIL PROTECTED] Yahoo!: yscrappy ICQ: 7615664 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: OpenGL and Intel Graphics [WAS: Cake and Eat it Too: RTCW Port]
Jona Joachim wrote: > Michael Nottebrock wrote: >> Jeff Cross schrieb: >> >>> I did have "glx" and "dri" but I added the DRI section to my >>> configuration. Adding the section ans restarting X did not seem to work. >>> >>> I also did not have the i915.o kernel module on my system. How might I >>> go about getting/compiling that to see if ti may help? >> cd /usr/src/modules/drm >> make obj && make depend && make && make install >> >> One thing I forgot in my last mail: Also make sure you have the >> graphics/dri port installed. >> >>> Also, if I don't have GLX support, why does glxgears run? >> It runs using the fallback software renderer (which is slow and doesn't >> support many features). > > > To know whether hardware acceleration is available or not you can type > glxinfo | grep rendering > It should say "direct rendering: Yes" if everything works right. > You should check out http://people.freebsd.org/~anholt/dri/index.html > Perhaps you will need graphics/linux_dri as the game runs under the > Linux compatibility layer but I don't know. I have an NVidia graphics > card so I'm a bit spoiled :) RTCW as well as Enemy Territory run just > fine here. > > Jona > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > > > I ran the "make" commands you specified but still do not have a i915.o file on my system. Here is what I have related to i915: $ locate i915 /usr/X11R6/lib/modules/dri/i915_dri.so /usr/local/include/drm/i915_drm.h /usr/src/sys/dev/drm/i915_dma.c /usr/src/sys/dev/drm/i915_drm.h /usr/src/sys/dev/drm/i915_drv.c /usr/src/sys/dev/drm/i915_drv.h /usr/src/sys/dev/drm/i915_irq.c /usr/src/sys/dev/drm/i915_mem.c By the way, glxinfo | grep rendering returns no. I also loaded the graphics/dri port and graphics/linux_dri is already installed. Any other suggestions? Thanks in advance! Jeff Cross www.averageadmins.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Does FreeBSD support sparse kernel crash dumps?
On Friday 07 April 2006 04:01 pm, Paul Marciano wrote: > --- Peter Wemm <[EMAIL PROTECTED]> wrote: > > On Friday 07 April 2006 12:47 pm, Paul Marciano > > > > wrote: > > > Hello. I read a while back about someone working > > > > on > > > > > supporting sparse kernel crash dumps (dumping only > > > > the > > > > > active kernel pages to the dump device as opposed > > > > to > > > > > all physical memory - for machines where the phys > > > > mem > > > > > is greater than the dump dev space.) > > > > > > Does anyone know the status of that project? Was > > > > it > > > > > committed, or are there plans to commit it? > > > > I have a working prototype as of last night. There > > should be something > > committable in the next week or two. > > > > When I boot my 2GB machine and force a crash dump > > from single user mode, the > > fully debuggable vmcore file is in the 40-50MB > > range. A busy machine with > > 12GB ram took about 150MB to dump. > > > > There are still some things to work out. It was > > written for the amd64 kernel, > > but can be ported to i386. > > > > -Peter > > That's very timely news Peter. Do you think your code > is easily back-portable to 5.4? Are the changes > limited to dump_machdep.c or otherwise not dependent > on a great deal of -current updates? My WIP is relative to 6.x. It will port forwards to current fairly easily, and will port to i386 trivially. The code would be simpler on i386 because direct map data doesn't exist there. But on the other hand, i386 has to deal with PAE mode and the dump code would be significantly impacted by PAE mode Changes are mostly in sys/amd64/amd64/dump_machdep.c (a rewrite actually), an 8 line addition to sys/vm/vm_page.c and some trivial patches to some other MD pmap files. libkvm is affected as a complete rewrite of lib/libkvm/kvm_amd64.c. (Porting libkvm changes to i386 will be easy and relatively immune to PAE kernel effects). > Do you compress the data stream at all (e.g. gzip)? No, but it could be done in theory.. if you were willing to set aside some memory for the compression algorithm to use. Or just do some sort of simple compression (run length encoding?) The problem is that the dump code cannot allocate memory after the machine has crashed. It has to be able to run as isolated from the rest of the kernel as possible in order to give a true snapshot of the undisturbed state. > I have a specific need on a CompactFlash based system. > I have a 256MB IDE mode card on a machine with 512MB > physical memory. I can probably commit 128MB of the > card as a dumpdev but I can't go beyond that. I truely do not know what to expect. Without compression, check the difference between sysctl vm.kvm_free and vm.kvm_size to know how much an uncompressed minidump would take. I don't recall if those are on 5.4 or not (the code for those sysctl's would backport from pmap.c really easily). > Good luck with it. > > Regards, > Paul. -Peter ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
xfontsel would not start, xterm crashes
Hello! I upgraded X-server to xorg-6.9.0 a month ago. Since then, xfontsel would not start and xterm crashes when I try to bring up any of its three menus by pressing any of the mouse buttons while holding Ctrl. The messages are always the same: Warning: Unable to load any usable ISO8859 font Warning: Missing charsets in String to FontSet conversion Warning: Unable to load any usable fontset Error: Aborting: no font found What is it missing? Thanks! -mi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: a few questions and concepts
Kevin Kinsey writes: > It's somewhat interesting (to me) that the even numbered releases > seem to have had longer and perhaps more successful runs than the > odd numbered ones. 5.X, in particular, seemed short to me. Two comments: 1) Sample size = 2. 2) 4 has run long because it took forever to get 5 out the door. While appreciative of the advances made, way too many useful things got delayed "waiting for 5.0". Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: a few questions and concepts
Jonathan Horne wrote: On Friday 07 April 2006 16:34, Giorgos Keramidas wrote: i can definatly see the benefits of using cvsup to take care of problem with some things (like sendmail), but allowing it to update everything under the /usr/src tree, im wondering if i could be setting myself up for issues (by not editing the stable-supfile and taking only what i need). This is why each FreeBSD release is associated with at least: * A "frozen" tag, like RELENG_6_0_RELEASE * A security branch, like RELENG_6_0 * A stable branch, like RELENG_6 Changes go very fast in the CURRENT FreeBSD branch. After they settle in for a while, soem of them are backported to the RELENG_X branch. The RELENG_X branch changes much slower than the experimental, CURRENT branch, but it does change every time a new feature is backported to RELENG_X. Then, when security fixes are made available, they are added both to the RELENG_X branch and the RELENG_X_Y security branches. If all you want is the "frozen" release sources plus changes that are really really necessary, because they fix a serious security bug, you probably want RELENG_X_Y (RELENG_6_0 in this case). Regards, Giorgos thank you kindly for your reply, that was quite informative. ive actually read the document on the differences between the stable, current, and release (or whatever), and find that system quite confusing for the moment. im sure ill grasp the method of the madness eventually. i guess what confuses me, is that i read about those, and then try to find them on the ftp sites. i assume, that only release is made into a .iso file? and to move to a higher version (either the security RELENG_6_0 or stable RELENG_6), you do this thru the cvsup tool. so, by your descriptions and reply to my previous comments, my system that is running what says 6.1-PRERELEASE is really RELENG_6 (stable) ? thanks, Jonathan Horne Yes, and furthermore it's a RELENG_6 dated at the exact time of your last cvsup/build cycle. The CVS system allows you to check out source code from any time in the history of the Project's development (and it would do this for any project that had started out using CVS and continued to do so consistently, like FreeBSD has). Leading source code committers are typically always working on the Next Big Thing(tm), which is known as -HEAD in CVS, and often called (and officially, even, called) -CURRENT in FreeBSD. Most users, though, are using the Last Big Thing(tm), known as -STABLE. In -CURRENT, I assume, the committers are doing wacko stuff to try and make FreeBSD into a new version of the Six Million Dollar Man, so once in a while, -CURRENT won't compile, because someone was typing whilst they should be sleeping, and made a mistake, or, something else happens. In -STABLE, they don't try much "new" stuff, just fixing bugs, or, as Giorgos pointed out, taking things that have proven themselves in CURRENT, things that users are clamoring for (sometimes) and "back porting" them to the older branch. 1.X > 2.X --> 3.X -> 4.X ---> 5.X ---> 6.X -> 7.X -> So, back in 1993, users were using 1.0, and the developers were working furiously to prepare the "next version", which came to be 2.0. During this time, 1.1, 1.1.5, and 1.1.5.1 were released for general use, and, spurred on by daemons the likes of which New Jersey has ever known, the developers readied 2.0. Once 2.0 was released, these crazy developers moved immediately to the "ng", and 2.x became the "STABLE" branch, the maintenance branch, the code that users were using to build the WWW, as 'twere; somebody can remind me, I guess --- the world record FTP server was a 2.X machine, right? (Gee, am I too lazy to Google, now?) So, at that time, 3.X became -CURRENT, and 2.X became -STABLE, and 1.X began to go the way of the dinosaur. This cycle repeats itself each time a "really new" or "major release" occurs; ATM there are, actually, two elder STABLES hanging about, besides 6-STABLE (5-STABLE and 4-STABLE are still supported, to some extent). At the present time the HEAD or CURRENT stream is the "7" series; it's possible that some dreamer is envisioning what "8" might look like, but I kinda doubt it, since there's plenty of work to do on 7-CURRENT, and keeping 6-STABLE going, and patching any security issues in 5.X, 4.X, etc Incidentally, but perhaps of value: regarding the RELEASE tag, these are simply "cuts" from the -STABLE line that are polished up (by going into a "code freeze" during which only critical bug fixes are committed to -STABLE) and then running the relea
Re: NIS
On Fri, 7 Apr 2006 20:15:15 -0600 (MDT) [EMAIL PROTECTED] wrote: > I have nis setup and working great. I made a copy of master.passwd > in /var/yp and removed the system accounts. The manual says that > when I add a user to the primary server and issue make > nisdomainname(in /var/yp) the new user should be added to the nis > maps. Am I missing something, as I have to copy over master.passwd > and remove all system accounts everytime I add an account. I know > there has to be an easier way. > > I am running FreeBSD 6.1(Current Branch) pw can be pointed at where you are storing the files for NIS. Look at the man page for it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
OT - Scalable email server solution needed
Hi, My appologies in advance for the OT post. This probably more appropriately belongs on ISP@ but there doesn't seem to be much traffic there. To the point: I'm about to provide hosting services, including but not limited to email, to a few local business. Right now I have Sendmail configured and I was about to install Courier-IMAP. My concern is future scalability. I'm not sure sendmail is the right back-end MTA. Right now Sendmail and Procmail will work fine I believe with the addition of an IMAP server. But what about later on? I was looking at DBmail but I'm not sure just how much activity that project has so I'm a little leary, but perhaps that's unjustified? So now I'm considering Exim or POSFIX. The Sun Java Communications Server looks appealing but unless I misunderstood I don't have anywhere near the bankroll for that yet and it doesn't look like a good fit for a start-up operation anyhow. I like that POPular port and the way it uses proxies etc., but it doesn't seem to support IMAP. Is there anyone on the list who might be serving many business customers each with many users who would be willing to share their insights or opinions on this? From my past experiences, transitioning from a low volume solution to a high volume solution, regardless of the application domain, is usually best solved by making the right choice in the beginning. It would seem like an important marketing tool as well. If I am way of base here or missing something really important I'd appreciate the heads-up. Thanks in advance for any help. Sincerely, Duane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to install and configure CVSUP?
i guess you want to update your ports tree. it is very well explained in the handbook, or http://www.bsdguides.org/guides/freebsd/misc/update_ports_tree.php Mc Shch wrote: > > Hi there, Can anyone tell me the detial of how to install and > configure CVSup? > > -Exploit_it > _ > > 使用世界上最大的电子邮件 系统― [1]MSN Hotmail > References > > 1. http://g.msn.com/8HMACNCN/2755??PS=47575 > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 6.1-PRERELEASE & XFree86 4.5 or Xorg 6.8 - Unusable keyboard
in message <[EMAIL PROTECTED]>, wrote Parv thusly... > > having problem using keyboard under XFree86 4.5.0 (same thing > in Xorg 6.8.x), running FreeBSD 6.1-PRERELEASE on Dell Inspiron > 5000e laptop, ATI Rage 128 Mobility M3 card. (With FreeBSD 4.11 & > XFree86 4.3, i did not have any problem with the keyboard in X.) ... Here, i could not open my own above message in mutt. When tried, i got "Could not copy message" message from mutt. Did anybody else have the trouble opening the original post? Should i send it again (along w/ dmesg, kernel config, X log, X config)? - Parv -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How to install and configure CVSUP?
Hi there, Can anyone tell me the detial of how to install and configure CVSup? -Exploit_it _ 使用世界上最大的电子邮件 系统― [1]MSN Hotmail References 1. http://g.msn.com/8HMACNCN/2755??PS=47575 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
NIS
I have nis setup and working great. I made a copy of master.passwd in /var/yp and removed the system accounts. The manual says that when I add a user to the primary server and issue make nisdomainname(in /var/yp) the new user should be added to the nis maps. Am I missing something, as I have to copy over master.passwd and remove all system accounts everytime I add an account. I know there has to be an easier way. I am running FreeBSD 6.1(Current Branch) Thanks for your time, Freesbie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Promoting FreeBSD!
Hi! I am writing for different reasons. I am not sure which mail to send to so i use this one. Hope thats ok... First of all i would like to tell you about my project. I am currently working on a BSD oriented website in Swedish. It will not be a FreeBSD specific website. I will cover most of those free BSD distributions who are available. But since I am an FreeBSD user, that part will be covered more than the others. Exactly how all things will be, I really don't know yet. The project was born 2 weeks ago... So, a question. Is it ok if I use the handbook to create different articles? I might create a Swedish Handbook later on, but i want to begin with smaller articles to get all things on its way... I have been an ambassador for Fedora Core for a while now, but since I am not using Fedora anymore I am currently looking for other things to be involved in. I maybe should stick to my project but i want to offer my services to the FreeBSD project. If you have any need for a person like me, to work with promoting FreeBSD, and other stuff. Please let me know. Thats all for now... Best regards, Mikael Jacobsson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
[semi-SOLVED] Re: Login broken and rc.conf variables suddenly invalid after kernel/world upgrade (?!?!)
Garrett Cooper wrote: Lowell Gilbert wrote: Garrett Cooper <[EMAIL PROTECTED]> writes: By the way, I also ran mergemaster as shown above. I forgot to originally include that. Did you also forget to mention building and installing the new kernel before the reboot? If you actually left that step out, it would explain much of your trouble. Yes, I forgot to include that as well. I did that prior to building and installing world (and I don't think that would have interfered since the kernel is a standalone deal I thought). Well, I restored a backup of my /etc/ directory and now things appear to work again (not sure about bash, but the rest works like a charm). Going to stick to csh and try and make a smarter buildworld/system sync checking script because I think that the root of all the problems was the fact that the sources may have been cvsup'ed while I was building world originally, hence the makefile and quite a few things may have changed during the build. Thanks again for the help! -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Firefox with mplayer-plugin won't play
I can't seam to get mplayerplug-in to work with firefox. The plugin appears to load fine. The video box shows up in the browser, the media appears to download (buffering) and then the thing stops (stopped displayed). When I tell it to play it just goes back to stopped. Oddly, if I use mplayer at the command line with the url (copy from the plugin menu pasted to the command line) everything is fine. Does anyone have an idea what I might have missed: here are the ports, all installed from source. mplayer-gtk-0.99.7_11 mplayerplug-in-3.21 firefox-1.5.0.1,1 linux-flashplugin-6.0r79_3 linuxpluginwrapper-20051113 and a broken acroread7 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: a few questions and concepts
On Friday 07 April 2006 16:34, Giorgos Keramidas wrote: > On 2006-04-07 15:54, Jonathan Horne <[EMAIL PROTECTED]> wrote: > > im still pretty new to freebsd. ive been playing around with the cvsup > > tools, and they are quite fascinating. > > > > i changed my production server from Fedora to FreeBSD 6.0, about 1 day > > before the most recent sendmail exploit was published (well, published on > > freebsd.org anyway). > > Murphy at work, again, eh? :) > > > i did download the patch and recompile it, but as some have also noted > > on this list, that it still banners as 8.13.4 when you telnet to it. > > > > so, the past couple of days, i have learned to cvsup my /usr/src > > directories. ive just been using the standard copy of the > > stable-supfile. i have learned that if i perform the sendmail recompile > > after the cvsup, that it sendmail seems to proclaim 8.13.6 in the banner. > > on top of that, i have learned that if i recompile the kernel after > > cvsup, that it no longer says FreeBSD 6.0-RELEASE, but FreeBSD > > 6.1-PRERELEASE. > > You are running RELENG_6 now, which is much more recent than > RELENG_6_0_RELEASE. > > The first one is the top of the 6.X branch, which changes moderately > slow, but it *does* change. The 6.0-RELEASE source tree is "frozen in > time" at the point the tag was placed on the source tree. > > > my questions: > > 1) after cvsup, i think i can assume that sendmail is now compiling from > > sourcecode that should definatly be free from the current exploit. i > > would also assume that anything that i would need to recompile from > > /usr/src should also see the benefit of 'latest source code'? > > Yes, both true. > > > 2) on a production server, should i avoid recompiling a kernel that will > > be FreeBSD 6.1-PRERELEASE? on the whole, how reliable is the bulk of > > these newer sources that were pulled down by cvsup? > > In general, if you a bit paranoid, you should avoid running RELENG_6 on > a production system. At least until you have thoroughly tested it on a > "test system" and found everything working as expected. > > > i can definatly see the benefits of using cvsup to take care of > > problem with some things (like sendmail), but allowing it to update > > everything under the /usr/src tree, im wondering if i could be setting > > myself up for issues (by not editing the stable-supfile and taking > > only what i need). > > This is why each FreeBSD release is associated with at least: > > * A "frozen" tag, like RELENG_6_0_RELEASE > > * A security branch, like RELENG_6_0 > > * A stable branch, like RELENG_6 > > Changes go very fast in the CURRENT FreeBSD branch. After they settle > in for a while, soem of them are backported to the RELENG_X branch. The > RELENG_X branch changes much slower than the experimental, CURRENT > branch, but it does change every time a new feature is backported to > RELENG_X. > > Then, when security fixes are made available, they are added both to the > RELENG_X branch and the RELENG_X_Y security branches. > > If all you want is the "frozen" release sources plus changes that are > really really necessary, because they fix a serious security bug, you > probably want RELENG_X_Y (RELENG_6_0 in this case). > > Regards, > Giorgos > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" thank you kindly for your reply, that was quite informative. ive actually read the document on the differences between the stable, current, and release (or whatever), and find that system quite confusing for the moment. im sure ill grasp the method of the madness eventually. i guess what confuses me, is that i read about those, and then try to find them on the ftp sites. i assume, that only release is made into a .iso file? and to move to a higher version (either the security RELENG_6_0 or stable RELENG_6), you do this thru the cvsup tool. so, by your descriptions and reply to my previous comments, my system that is running what says 6.1-PRERELEASE is really RELENG_6 (stable) ? thanks, Jonathan Horne ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [Solved] Official Nvidia Drivers, Toshiba Laptop, GeForce 4 440 Cards: Always causes Freeze
On Apr 7, 2006, at 7:34 PM, Sean Murphy wrote: Sorry for the formatting of my solution...a few things got mangled up. For easier reading, check out my post on freebsdforums.org. - Murph I'm having a conversation with myself here...three posts to get this right :) You can find the post at http://www.bsdforums.org/forums/ showthread.php?t=40336. ("freebsd.org" was supposed to be a link last message, but didn't work right) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Can't fetch tiff-3.8.1.tar.gz
On Fri, Apr 07, 2006 at 11:05:32AM -0500, Nikolas Britton wrote: > I can't fetch tiff-3.8.1.tar.gz from any of the mirrors listed in the port. Only one of the two is working for me, so perhaps you caught it at a bad time. In any event, the first one should be updated or replaced since it's a hard failure. xor# make fetch => tiff-3.8.1.tar.gz doesn't seem to exist in /mnt/ftp/pub/FreeBSD/ports/distfiles/. => Attempting to fetch from ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/. fetch: ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/tiff-3.8.1.tar.gz: Not Found => Attempting to fetch from ftp://ftp.remotesensing.org/pub/libtiff/. fetch: ftp://ftp.remotesensing.org/pub/libtiff/tiff-3.8.1.tar.gz: Not Found => Attempting to fetch from http://dl1.maptools.org/dl/libtiff/. tiff-3.8.1.tar.gz 100% of 1303 kB 582 kBps Kris pgpC0b50BWjeZ.pgp Description: PGP signature
Re: [Solved] Official Nvidia Drivers, Toshiba Laptop, GeForce 4 440 Cards: Always causes Freeze
Sorry for the formatting of my solution...a few things got mangled up. For easier reading, check out my post on freebsdforums.org. - Murph ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Can't fetch tiff-3.8.1.tar.gz
I can't fetch tiff-3.8.1.tar.gz from any of the mirrors listed in the port. -- BSD Podcasts @ http://bsdtalk.blogspot.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
[Solved] Official Nvidia Drivers, Toshiba Laptop, GeForce 4 440 Cards: Always causes Freeze
I have finally come up with a way to use the official drivers from nvidia on Toshiba notebooks with a GeForce4 440 Go (and similar) video card. Normally, using either linux or freebsd and the drivers from nvidia (instead of the default nv driver) would result in a hard freeze as soon as X was started. I gave up trying to fix it, but then came across a solution for Linux last night, which I used as a basis for this FreeBSD solution... First of all, much credit goes to [1]this [2]information from the Ubuntu Document Storage Facility (check out "Problem 8" at the bottom). Here's how I applied the same modifications to a FreeBSD system: The first step under Linux was to change some options in the nvidia kernel, which was done in Linux under /etc/modprobe.conf (or /etc/modprobe.d). FreeBSD doesn't use modprobe, which I believe is used for the loading of a kernel module. Instead, we can modify the option in the source for nvidia's drivers, and then compile the nvidia kernel module with this already set the way we want: 1. First, download the [3]latest[4] nvidia source here. Extract (tar zxvf NVIDIA-FreeBSD-x86-1.0-8178.tar.gz) and move into the newly created directory. 2. Edit /src/nvidia_os_registry.c using your fav text editor: Change the values of the following variables: - NVreg_SoftEDIDs = 0 (was 1) - NVreg_Mobile = 1 (was ~0) Save nvidia_os_registry.c and exit. 3. I didn't want linux compatability built into my nvidia kernel module, so I changed the following: Comment out (or undefine) this line: #define NV_SUPPORT_LINUX_COMPAT 4. Under the NVIDIA-FreeBSD-x86-1.0-8178 directory, compile and install the drivers: make install 5. Finally, this part is identical to the linux instructions. We need to make some tweaks to xorg.conf (and tell X to use the nvidia drivers also): Your device directive should have something similar to: Section "Device" Identifier"NVIDIA Corporation NV17 [GeForce4 420 Go]" Driver"nvidia" BusID"PCI:1:0:0" Option "RenderAccel" "true" Option "AllowGLXWithComposite" "true" Option"IgnoreEDID""true" Option"IgnoreEdidFreqs""true" Option"GenerateRTList""0" Option"OverridePolarity""1" EndSection That's all! This time when you startx with the real nvidia drivers, it won't crash. This is tested to work on both of my Toshiba laptops. If there are any errors in this howto, feel free to correct it! Now, us toshiba users can have 3d acceleration along with support for OpenGL :). Hope this helps someone! - Murph References 1. http://doc.gwos.org/index.php/Latest_Nvidia_Dapper 2. http://doc.gwos.org/index.php/Latest_Nvidia_Dapper 3. http://www.nvidia.com/object/freebsd_1.0-8178.html 4. http://www.nvidia.com/object/freebsd_1.0-8178.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Does FreeBSD support sparse kernel crash dumps?
--- Peter Wemm <[EMAIL PROTECTED]> wrote: > On Friday 07 April 2006 12:47 pm, Paul Marciano > wrote: > > Hello. I read a while back about someone working > on > > supporting sparse kernel crash dumps (dumping only > the > > active kernel pages to the dump device as opposed > to > > all physical memory - for machines where the phys > mem > > is greater than the dump dev space.) > > > > Does anyone know the status of that project? Was > it > > committed, or are there plans to commit it? > > I have a working prototype as of last night. There > should be something > committable in the next week or two. > > When I boot my 2GB machine and force a crash dump > from single user mode, the > fully debuggable vmcore file is in the 40-50MB > range. A busy machine with > 12GB ram took about 150MB to dump. > > There are still some things to work out. It was > written for the amd64 kernel, > but can be ported to i386. > > -Peter > That's very timely news Peter. Do you think your code is easily back-portable to 5.4? Are the changes limited to dump_machdep.c or otherwise not dependent on a great deal of -current updates? Do you compress the data stream at all (e.g. gzip)? I have a specific need on a CompactFlash based system. I have a 256MB IDE mode card on a machine with 512MB physical memory. I can probably commit 128MB of the card as a dumpdev but I can't go beyond that. Good luck with it. Regards, Paul. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: web / php based collaboration
--- "M. Goodell" <[EMAIL PROTECTED]> wrote: > This might be a little off the exact topic of this > list, so I ask your patience in advance. > > I am looking for collaboration software that is > PHP based and has the following features: > > 1 - Ease of config & Maint. > 2 - E-Mail > 3 - Work Flow > 4 - Contact management > 5 - Task List > > I downloaded Horde and lost patience with its over > complex installation and setup. I wonder if Horde > sets a record in FreeBSD for the most dependencies? > Anyway, Horde is not a choice for me. If it's that > difficult to install I can only imagine what it's > like to admin. Grr! Does anyone know of > packages *like* Horde but without the mess of > installation? > > Any information is welcomed. > > Thanks in advance. Hey there, Check with Sourceforge (Under Enterprise), I was doing a bit of research some time ago and there were some really easy ones to work with. One of them even sent out nightly reminders. Hope that helps. ~Mr. Anderson __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: OpenGL and Intel Graphics [WAS: Cake and Eat it Too: RTCW Port]
Eric Anholt schrieb: > At least my libGL doesn't have a fallback software renderer, and relies > on the server providing GLX. I lose for bad terminology. It runs using indirect rendering. -- ,_, | Michael Nottebrock | [EMAIL PROTECTED] (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org signature.asc Description: OpenPGP digital signature
web / php based collaboration
This might be a little off the exact topic of this list, so I ask your patience in advance. I am looking for collaboration software that is PHP based and has the following features: 1 - Ease of config & Maint. 2 - E-Mail 3 - Work Flow 4 - Contact management 5 - Task List I downloaded Horde and lost patience with its over complex installation and setup. I wonder if Horde sets a record in FreeBSD for the most dependencies? Anyway, Horde is not a choice for me. If it's that difficult to install I can only imagine what it's like to admin. Grr! Does anyone know of packages *like* Horde but without the mess of installation? Any information is welcomed. Thanks in advance. - Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: OpenGL and Intel Graphics [WAS: Cake and Eat it Too: RTCW Port]
On Sat, 2006-04-08 at 00:12 +0200, Michael Nottebrock wrote: > Jeff Cross schrieb: > > > I did have "glx" and "dri" but I added the DRI section to my > > configuration. Adding the section ans restarting X did not seem to work. > > > > I also did not have the i915.o kernel module on my system. How might I > > go about getting/compiling that to see if ti may help? > > cd /usr/src/modules/drm > make obj && make depend && make && make install > > One thing I forgot in my last mail: Also make sure you have the > graphics/dri port installed. Since he's trying to run RTCW, linux_dri. > > Also, if I don't have GLX support, why does glxgears run? > > It runs using the fallback software renderer (which is slow and doesn't > support many features). At least my libGL doesn't have a fallback software renderer, and relies on the server providing GLX. -- Eric Anholt [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part
Re: Does FreeBSD support sparse kernel crash dumps?
On Friday 07 April 2006 12:47 pm, Paul Marciano wrote: > Hello. I read a while back about someone working on > supporting sparse kernel crash dumps (dumping only the > active kernel pages to the dump device as opposed to > all physical memory - for machines where the phys mem > is greater than the dump dev space.) > > Does anyone know the status of that project? Was it > committed, or are there plans to commit it? I have a working prototype as of last night. There should be something committable in the next week or two. When I boot my 2GB machine and force a crash dump from single user mode, the fully debuggable vmcore file is in the 40-50MB range. A busy machine with 12GB ram took about 150MB to dump. There are still some things to work out. It was written for the amd64 kernel, but can be ported to i386. -Peter ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: OpenGL and Intel Graphics [WAS: Cake and Eat it Too: RTCW Port]
Jeff Cross schrieb: > I did have "glx" and "dri" but I added the DRI section to my > configuration. Adding the section ans restarting X did not seem to work. > > I also did not have the i915.o kernel module on my system. How might I > go about getting/compiling that to see if ti may help? cd /usr/src/modules/drm make obj && make depend && make && make install One thing I forgot in my last mail: Also make sure you have the graphics/dri port installed. > Also, if I don't have GLX support, why does glxgears run? It runs using the fallback software renderer (which is slow and doesn't support many features). Cheers, -- ,_, | Michael Nottebrock | [EMAIL PROTECTED] (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org signature.asc Description: OpenPGP digital signature
Re: OpenGL and Intel Graphics [WAS: Cake and Eat it Too: RTCW Port]
Michael Nottebrock wrote: > Jeff Cross schrieb: > >>> GL_RENDERER: Mesa GLX Indirect >>> >>> >>> *** >>> You are using software Mesa (no hardware acceleration)! >>> Driver DLL used: libGL.so.1 >>> If this is intentional, add >>>"+set r_allowSoftwareGL 1" >>> to the command line when starting the game. >>> *** > >> [...] > >> Does anyone know if it is possible to run OpenGL game graphics on an >> Intel based chipset? When I run glxgears it runs like a champ, >> returning anywhere from 450-500 fps. > > You seem to not have direct rendering / GLX enabled. I'm not sure if > that is supported on your particular chipset, but it's nevertheless > worth a try, since pretty much all games assume/require > hardware-accelerated 3d graphics to be working in order to run properly. > > Make sure you have > > Load "glx" > Load "dri" > > in Section "Module" in your xorg.conf as well as > > Section "DRI" > Mode0666 > EndSection > > Also make sure you have the i915 drm kernel module available (is > available in FreeBSD 6.0 and newer, should be in /boot/kernel/i915.o) > and loaded (check with kldstat, try manually loading it before starting > X if it doesn't get autoloaded). > > > Cheers, I did have "glx" and "dri" but I added the DRI section to my configuration. Adding the section ans restarting X did not seem to work. I also did not have the i915.o kernel module on my system. How might I go about getting/compiling that to see if ti may help? Also, if I don't have GLX support, why does glxgears run? Jeff Cross www.averageadmins.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: freebsd-questions Digest, Vol 130, Issue 18
On Fri, Apr 07, 2006 at 05:02:17PM +, > [EMAIL PROTECTED] wrote: > 29. Wine installation/configuration question (John Hoover) > > -- > > Message: 29 > Date: Fri, 7 Apr 2006 11:12:25 -0500 > From: "John Hoover" <[EMAIL PROTECTED]> > Subject: Wine installation/configuration question > To: "FreeBSD Mailing List" > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1 > > I've having trouble with Wine. I'm getting the same error regardless > if I compile from the ports tree, install a package, or compile from > source. > > on FreeBSD 6.1-PRERELEASE > > %wine program.exe > fixme:msvcrt:_spawnve :not translating name /usr/local/lib/../bin/wine > to locate program Does something like this also fail? wine "c:\UnrealTournament\System\UnrealTournament.exe" -- My eyes want to sleep; but the skull is no pillow. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: a few questions and concepts
On 2006-04-07 15:54, Jonathan Horne <[EMAIL PROTECTED]> wrote: > im still pretty new to freebsd. ive been playing around with the cvsup > tools, and they are quite fascinating. > > i changed my production server from Fedora to FreeBSD 6.0, about 1 day > before the most recent sendmail exploit was published (well, published on > freebsd.org anyway). Murphy at work, again, eh? :) > i did download the patch and recompile it, but as some have also noted > on this list, that it still banners as 8.13.4 when you telnet to it. > > so, the past couple of days, i have learned to cvsup my /usr/src > directories. ive just been using the standard copy of the stable-supfile. > i have learned that if i perform the sendmail recompile after the cvsup, > that it sendmail seems to proclaim 8.13.6 in the banner. on top of that, > i have learned that if i recompile the kernel after cvsup, that it no > longer says FreeBSD 6.0-RELEASE, but FreeBSD 6.1-PRERELEASE. You are running RELENG_6 now, which is much more recent than RELENG_6_0_RELEASE. The first one is the top of the 6.X branch, which changes moderately slow, but it *does* change. The 6.0-RELEASE source tree is "frozen in time" at the point the tag was placed on the source tree. > my questions: > 1) after cvsup, i think i can assume that sendmail is now compiling from > sourcecode that should definatly be free from the current exploit. i > would also assume that anything that i would need to recompile from > /usr/src should also see the benefit of 'latest source code'? Yes, both true. > 2) on a production server, should i avoid recompiling a kernel that will > be FreeBSD 6.1-PRERELEASE? on the whole, how reliable is the bulk of > these newer sources that were pulled down by cvsup? In general, if you a bit paranoid, you should avoid running RELENG_6 on a production system. At least until you have thoroughly tested it on a "test system" and found everything working as expected. > i can definatly see the benefits of using cvsup to take care of > problem with some things (like sendmail), but allowing it to update > everything under the /usr/src tree, im wondering if i could be setting > myself up for issues (by not editing the stable-supfile and taking > only what i need). This is why each FreeBSD release is associated with at least: * A "frozen" tag, like RELENG_6_0_RELEASE * A security branch, like RELENG_6_0 * A stable branch, like RELENG_6 Changes go very fast in the CURRENT FreeBSD branch. After they settle in for a while, soem of them are backported to the RELENG_X branch. The RELENG_X branch changes much slower than the experimental, CURRENT branch, but it does change every time a new feature is backported to RELENG_X. Then, when security fixes are made available, they are added both to the RELENG_X branch and the RELENG_X_Y security branches. If all you want is the "frozen" release sources plus changes that are really really necessary, because they fix a serious security bug, you probably want RELENG_X_Y (RELENG_6_0 in this case). Regards, Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: OpenGL and Intel Graphics [WAS: Cake and Eat it Too: RTCW Port]
Jeff Cross schrieb: >> GL_RENDERER: Mesa GLX Indirect >> >> >> *** >> You are using software Mesa (no hardware acceleration)! >> Driver DLL used: libGL.so.1 >> If this is intentional, add >>"+set r_allowSoftwareGL 1" >> to the command line when starting the game. >> *** > [...] > Does anyone know if it is possible to run OpenGL game graphics on an > Intel based chipset? When I run glxgears it runs like a champ, > returning anywhere from 450-500 fps. You seem to not have direct rendering / GLX enabled. I'm not sure if that is supported on your particular chipset, but it's nevertheless worth a try, since pretty much all games assume/require hardware-accelerated 3d graphics to be working in order to run properly. Make sure you have Load "glx" Load "dri" in Section "Module" in your xorg.conf as well as Section "DRI" Mode0666 EndSection Also make sure you have the i915 drm kernel module available (is available in FreeBSD 6.0 and newer, should be in /boot/kernel/i915.o) and loaded (check with kldstat, try manually loading it before starting X if it doesn't get autoloaded). Cheers, -- ,_, | Michael Nottebrock | [EMAIL PROTECTED] (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org signature.asc Description: OpenPGP digital signature
a few questions and concepts
im still pretty new to freebsd. ive been playing around with the cvsup tools, and they are quite fascinating. i changed my production server from Fedora to FreeBSD 6.0, about 1 day before the most recent sendmail exploit was published (well, published on freebsd.org anyway). i did download the patch and recompile it, but as some have also noted on this list, that it still banners as 8.13.4 when you telnet to it. so, the past couple of days, i have learned to cvsup my /usr/src directories. ive just been using the standard copy of the stable-supfile. i have learned that if i perform the sendmail recompile after the cvsup, that it sendmail seems to proclaim 8.13.6 in the banner. on top of that, i have learned that if i recompile the kernel after cvsup, that it no longer says FreeBSD 6.0-RELEASE, but FreeBSD 6.1-PRERELEASE. my questions: 1) after cvsup, i think i can assume that sendmail is now compiling from sourcecode that should definatly be free from the current exploit. i would also assume that anything that i would need to recompile from /usr/src should also see the benefit of 'latest source code'? 2) on a production server, should i avoid recompiling a kernel that will be FreeBSD 6.1-PRERELEASE? on the whole, how reliable is the bulk of these newer sources that were pulled down by cvsup? i can definatly see the benefits of using cvsup to take care of problem with some things (like sendmail), but allowing it to update everything under the /usr/src tree, im wondering if i could be setting myself up for issues (by not editing the stable-supfile and taking only what i need). last, im also as well interested in hearing how some of my peers here apply the cvsup concepts to your production servers. thanks for reading, Jonathan Horne ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
OpenGL and Intel Graphics [WAS: Cake and Eat it Too: RTCW Port]
Jeff Cross wrote: > I got brave today and attempted to install RTCW on my laptop. I was > weary at first due to the fact that my laptop uses an Intel graphics > chip (agp0: port > 0xeff0-0xeff7 mem 0xd800-0xdfff,0xe038-0xe03f irq 16 at > device 2.0 on pci0). > > I installed the port this evening and when attempting to run RTCW, I am > returned the following output: > > $ wolfsp > Wolf 1.41 linux-i386 Dec 4 2002 > - FS_Startup - > Current search path: > /home/cross/.wolf/main > /usr/local/share/rtcw/main/sp_pak2.pk3 (232 files) > /usr/local/share/rtcw/main/sp_pak1.pk3 (1342 files) > /usr/local/share/rtcw/main/pak0.pk3 (4775 files) > /usr/local/share/rtcw/main > > -- > 6349 files in pk3 files > execing default.cfg > couldn't exec language.cfg > couldn't exec wolfconfig.cfg > couldn't exec autoexec.cfg > Hunk_Clear: reset the hunk ok > Bypassing CD checks > - Client Initialization - > Cmd_AddCommand: map_restart already defined > - Initializing Renderer > --- > - Client Initialization Complete - > - R_Init - > ...loading libGL.so.1: Initializing OpenGL display > ...setting mode 3: 640 480 > Using XFree86-VidModeExtension Version 2.2 > XF86DGA Mouse (Version 2.0) initialized > XFree86-VidModeExtension Activated at 1024x768 > Using 4/4/4 Color bits, 16 depth, 0 stencil display. > GL_RENDERER: Mesa GLX Indirect > > > *** > You are using software Mesa (no hardware acceleration)! > Driver DLL used: libGL.so.1 > If this is intentional, add >"+set r_allowSoftwareGL 1" > to the command line when starting the game. > *** > ...WARNING: could not set the given mode (3) > - CL_Shutdown - > RE_Shutdown( 1 ) > --- > - CL_Shutdown - > --- > Sys_Error: GLimp_Init() - could not load OpenGL subsystem > > I then tried the "+set r_allowSoftwareGL 1" option: > > $ wolfsp "+set r_allowSoftwareGL 1" > Wolf 1.41 linux-i386 Dec 4 2002 > - FS_Startup - > Current search path: > /home/cross/.wolf/main > /usr/local/share/rtcw/main/sp_pak2.pk3 (232 files) > /usr/local/share/rtcw/main/sp_pak1.pk3 (1342 files) > /usr/local/share/rtcw/main/pak0.pk3 (4775 files) > /usr/local/share/rtcw/main > > -- > 6349 files in pk3 files > execing default.cfg > couldn't exec language.cfg > couldn't exec wolfconfig.cfg > couldn't exec autoexec.cfg > Hunk_Clear: reset the hunk ok > Bypassing CD checks > - Client Initialization - > Cmd_AddCommand: map_restart already defined > - Initializing Renderer > --- > - Client Initialization Complete - > - R_Init - > ...loading libGL.so.1: Initializing OpenGL display > ...setting mode 3: 640 480 > Using XFree86-VidModeExtension Version 2.2 > XF86DGA Mouse (Version 2.0) initialized > XFree86-VidModeExtension Activated at 1024x768 > Using 4/4/4 Color bits, 16 depth, 0 stencil display. > GL_RENDERER: Mesa GLX Indirect > > > *** > You are using software Mesa (no hardware acceleration)! > Driver DLL used: libGL.so.1 > If this is intentional, add >"+set r_allowSoftwareGL 1" > to the command line when starting the game. > *** > ...WARNING: could not set the given mode (3) > - CL_Shutdown - > RE_Shutdown( 1 ) > --- > - CL_Shutdown - > --- > Sys_Error: GLimp_Init() - could not load OpenGL subsystem > > [EMAIL PROTECTED] /usr/home/cross]$ wolfsp "+set r_allowSoftwareGL 1" > Wolf 1.41 linux-i386 Dec 4 2002 > - FS_Startup - > Current search path: > /home/cross/.wolf/main > /usr/local/share/rtcw/main/sp_pak2.pk3 (232 files) > /usr/local/share/rtcw/main/sp_pak1.pk3 (1342 files) > /usr/local/share/rtcw/main/pak0.pk3 (4775 files) > /usr/local/share/rtcw/main > > -- > 6349 files in pk3 files > execing default.cfg > couldn't exec language.cfg > couldn't exec wolfconfig.cfg > couldn't exec autoexec.cfg > Hunk_Clear: reset the hunk ok > Bypassing CD checks > - Client Initialization - > Cmd_AddCommand: map_restart already defined > - Initializing Renderer > --- > - Client Initialization Complete - > - R_Init - > ...loading libGL.so.1: Initializing OpenGL display > ...setting mode 3: 640 480 > Using XFree86-VidModeExtension Version 2.2 > XF86DGA Mouse (Version 2.0) initialized > XFree86-VidModeExtension Activated at 1024x768 > Using 4/4/4 Color bits, 16 depth, 0 stencil display. > GL_RENDERER: Mesa GLX Indirect > > > *** > You are using software Mesa (no hardware acceleration)! > Driver DLL used: libGL.so.1 > If this is intentional, a
printing on firefox results in irq storm on printer port
I was printing with native Firefox 1.5.0.1 (FreeBSD 6.0) with CUPS, which Firefox sees and recognizes. The printer (Xerox N17, local, parallel port) started cycling through waiting-processing-waiting messages. Rebooting, I saw a message about an IRQ storm on the printer port being "throttled". Killing the job took care of this. Has anyone else had an issue like this? Firefox printing isn't critical but it's always nice to know what's going on. Oliver Incidentally, killing the job required a crash course in lppasswd and the cupsd.conf file, which I'll describe briefly here for the record... lppasswd stores encrypted passwords for cups administrative functions. The format is lppasswd -g group -a user. Permissions to various parts of the cupsd administrative functions (interface at http://localhost:631/admin) are set in the various location sections of /usr/local/etc/cupsd.conf. The various parameters than can be set are at http://www.cups.org/doc-1.1/sam.html. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Why do I get this message by the server ?
Ok How can I increase value of mbufs ? I think I will need to increase value of kern.ipc.nmbclusters. value of kern.ipc.nmbclusters of the server is 51200. What is the limit for kern.ipc.nmbclusters ? What size can I increase it ? The server has 2 gbyte ram, p4 2.4 Ghz 2 cpus. Thanks - Original Message - From: "Lowell Gilbert" <[EMAIL PROTECTED]> To: "Halid Faith" <[EMAIL PROTECTED]> Cc: Sent: Friday, April 07, 2006 9:10 PM Subject: Re: Why do I get this message by the server ? > "Halid Faith" <[EMAIL PROTECTED]> writes: > > > I have a freebsd5.4 server. I sometimes get a message on the screen as below; > > > > kernel: ipfw: pullup failed > > > > What cause this problem cause ? > > There weren't enough mbufs available for ipfw to properly inspect a > packet. So one packet was dropped by the firewall that perhaps would > not have been if an extra mbuf were available. It's not a problem in > itself, but if happening extremely often, you should allocate more > mbufs. > > > I see the below lines when I type netstat -ni > > > > 1# netstat -ni > > NameMtu Network Address Ipkts IerrsOpkts Oerrs Coll > > bge0 1500 00:13:d4:51:5d:e9 1618711264 0 426941 0 0 > > bge0 1500 212.175.51.68 212.175.51.70 3389522 - 8161 - - > > bge0 1500 fe80:1::213:d fe80:1::213:d4ff:0 - 3 - - > > bge1 1500 00:13:d4:51:5d:ea 307271458 0 808964464 0 0 > > bge1 1500 192.168.12.1 192.168.12.632276942 - 82504 - - > > bge1 1500 fe80:2::213:d fe80:2::213:d4ff:0 - 4 - - > > lo0 16384 1465002 0 1465002 0 0 > > lo0 16384 127 127.0.0.1 1463512 - 3566 - - > > lo0 16384 ::1/128 ::1 0 - 0 - - > > lo0 16384 fe80:3::1/64 fe80:3::10 - 0 - - > > > > sysctl net.inet.ip | grep queue > > net.inet.ip.intr_queue_maxlen: 50 > > net.inet.ip.intr_queue_drops: 19512403 > > > > What shall I do ? > > You don't have to do anything. You could turn off the "verbose" flag > for ipfw, and then you wouldn't see these messages. Or you could > increase the number of mbufs available in the kernel. > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: src upgrade from 4.11-p16 to 5.4 possible? (some success)
I have had trouble in the past with point releases caused by two different sources: Once source is an out of date /etc/make.conf, so compare yours with the new one with the new source tree in: /usr/src/share/examples/etc/make.conf The other problem I have had is with some cvsup mirrors. You may want to try a different mirror to pull the 5.4 source from. -Derek At 12:00 PM 4/7/2006, B. Cook wrote: [EMAIL PROTECTED] /usr/src]# echo $? 0 [EMAIL PROTECTED] /usr/src]# make -j6 buildworld The CPUTYPE is not defined in /etc/make.conf, trying to make a clean build.. and this is RELENG_5_2_1 so make buildworld on this box completes. I am going to try RELENG_5_3 and then if so then good ;) RELENG_5_3 builds world as well.. so 5_4 is the stumbling block.. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: exim does not compile on amd64
Lowell Gilbert wrote: Heinrich Rebehn <[EMAIL PROTECTED]> writes: Hi list, i installed 6.1-BETA4-amd64 on an AMD64 and it works fine so far. However i cannot compile exim[-ldap2] from ports: [EMAIL PROTECTED] [~] # portupgrade exim-ldap2 ---> Upgrading 'exim-ldap2-4.60' to 'exim-ldap2-4.61_1' (mail/exim-ldap2) ---> Building '/usr/ports/mail/exim-ldap2' ===> Cleaning for perl-5.8.8 ===> Cleaning for openldap-client-2.2.30 ===> Cleaning for libiconv-1.9.2_2 ===> Cleaning for exim-ldap2-4.61_1 ===> Vulnerability check disabled, database not found ===> Extracting for exim-ldap2-4.61_1 => MD5 Checksum OK for exim/exim-4.61.tar.bz2. => SHA256 Checksum OK for exim/exim-4.61.tar.bz2. ===> exim-ldap2-4.61_1 depends on file: /usr/local/bin/perl5.8.8 - found ===> Patching for exim-ldap2-4.61_1 ===> exim-ldap2-4.61_1 depends on file: /usr/local/bin/perl5.8.8 - found ===> Applying FreeBSD patches for exim-ldap2-4.61_1 Ignoring previously applied (or reversed) patch. 1 out of 1 hunks ignored--saving rejects to OS/Makefile-FreeBSD.rej => Patch patch-OS::Makefile-FreeBSD failed to apply cleanly. *** Error code 1 Stop in /usr/ports/mail/exim-ldap2. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade3499.0 make DEPENDS_TARGET=package ** Fix the problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! mail/exim-ldap2 (exim-ldap2-4.60) (patch error) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed [EMAIL PROTECTED] [~] # Is this a known problem? No, it's strictly on your end. You have a stale patch in the port skeleton. The easy approach is to delete the whole port and re-cvsup. Thanks, that did the trick. I was using the ports from the install cd and had forgotten to update them first. --Heinrich ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Does FreeBSD support sparse kernel crash dumps?
Hello. I read a while back about someone working on supporting sparse kernel crash dumps (dumping only the active kernel pages to the dump device as opposed to all physical memory - for machines where the phys mem is greater than the dump dev space.) Does anyone know the status of that project? Was it committed, or are there plans to commit it? Thanks, Paul. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Login broken and rc.conf variables suddenly invalid after kernel/world upgrade (?!?!)
Lowell Gilbert wrote: Garrett Cooper <[EMAIL PROTECTED]> writes: By the way, I also ran mergemaster as shown above. I forgot to originally include that. Did you also forget to mention building and installing the new kernel before the reboot? If you actually left that step out, it would explain much of your trouble. Yes, I forgot to include that as well. I did that prior to building and installing world (and I don't think that would have interfered since the kernel is a standalone deal I thought). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: web server attack
mod_security is in the ports collection -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Robert Huff Sent: Friday, April 07, 2006 3:11 PM To: [EMAIL PROTECTED] ORG Subject: Re: web server attack Frank Laszlo writes: > >> Does anyone know what this is and what I can do to stop it > >> besides adding the ip address to my firewall block rules? > > > > I suppose that someone is trying to exploit mod_proxy to connect to an > > SMTP server (that's the "CONNECT 4.79.181.15:25" part), or at least > > get HTTP replies back. > > Setup mod_security to block that type of request. Any chance you > can capture some packets and send a link? I'd like to take a look > at it. Running apache-2.2, I don't seem to have _security among the modules. Do I need to change my config (and rebuild), or does it perhaps go by another name in this version? Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: web server attack
Frank Laszlo writes: > >> Does anyone know what this is and what I can do to stop it > >> besides adding the ip address to my firewall block rules? > > > > I suppose that someone is trying to exploit mod_proxy to connect to an > > SMTP server (that's the "CONNECT 4.79.181.15:25" part), or at least > > get HTTP replies back. > > Setup mod_security to block that type of request. Any chance you > can capture some packets and send a link? I'd like to take a look > at it. Running apache-2.2, I don't seem to have _security among the modules. Do I need to change my config (and rebuild), or does it perhaps go by another name in this version? Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Keypad no longer works under X
Kevin Kinsey wrote: Vayu wrote: On Thursday 06 April 2006 19:47, Donald T Hayford wrote: My numeric keypad no longer works under X Since when? And, I have to ask, since you didn't mention it ... you've replaced the keyboard to rule out hardware issues? except as a way to move the mouse cursor (i.e., no 1-9, etc). The LED changes states when pushed. I've searched through the X.org site but haven't found anything of use. Does anybody know how to fix this? My xorg.conf looks like this: /Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice"Mouse0" "CorePointer" InputDevice"Keyboard0" "CoreKeyboard" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection / I'm running FreeBSD 6.1-PRERELEASE, with X version 6.9.0. I use KDE as the X desktop. Thanks for your help, Don Hayford I sure don't see anything there that gives a clue. Have you tried and duplicated the problem with a different WM? Kevin Kinsey I built and installed gnome2-lite and the keypad works correctly. It also works correctly under Fedora Core 4 (dual-boot machine. Sorry I didn't mention that earlier). So, I suppose I should apologize to X.org and change the title to "Keypad no longer works under KDE 3.5". I presumed the problem was with X and not KDE since I had such trouble with my mouse when I upgraded X to R6 and then saw that X had recently changed the keyboard driver. I don't know exactly when it stopped working, but I'm guessing when I upgraded from KDE 3.4 to 3.5 in early February, 2006. I googled "kde keypad problem" and found a reference that suggested hiding (renaming) the .kde subdirectory and the ,kderc file, both in the user's home directory. When I restarted X, I had to go through the kde setup again, but the keypad works now. You guys are geniuses. Thanks for your time, Don Hayford ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Why do I get this message by the server ?
"Halid Faith" <[EMAIL PROTECTED]> writes: > I have a freebsd5.4 server. I sometimes get a message on the screen as below; > > kernel: ipfw: pullup failed > > What cause this problem cause ? There weren't enough mbufs available for ipfw to properly inspect a packet. So one packet was dropped by the firewall that perhaps would not have been if an extra mbuf were available. It's not a problem in itself, but if happening extremely often, you should allocate more mbufs. > I see the below lines when I type netstat -ni > > 1# netstat -ni > NameMtu Network Address Ipkts IerrsOpkts Oerrs > Coll > bge0 1500 00:13:d4:51:5d:e9 1618711264 0 426941 0 > 0 > bge0 1500 212.175.51.68 212.175.51.70 3389522 - 11038161 - > - > bge0 1500 fe80:1::213:d fe80:1::213:d4ff:0 -3 - > - > bge1 1500 00:13:d4:51:5d:ea 307271458 0 808964464 0 > 0 > bge1 1500 192.168.12.1 192.168.12.632276942 - 193982504 - - > bge1 1500 fe80:2::213:d fe80:2::213:d4ff:0 -4 - > - > lo0 16384 1465002 0 1465002 0 > 0 > lo0 16384 127 127.0.0.1 1463512 - 1463566 - > - > lo0 16384 ::1/128 ::1 0 -0 - > - > lo0 16384 fe80:3::1/64 fe80:3::10 -0 - > - > > sysctl net.inet.ip | grep queue > net.inet.ip.intr_queue_maxlen: 50 > net.inet.ip.intr_queue_drops: 19512403 > > What shall I do ? You don't have to do anything. You could turn off the "verbose" flag for ipfw, and then you wouldn't see these messages. Or you could increase the number of mbufs available in the kernel. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Wine installation/configuration question
On Friday 07 April 2006 12:12, John Hoover wrote: > I've having trouble with Wine. I'm getting the same error regardless > if I compile from the ports tree, install a package, or compile from > source. > > on FreeBSD 6.1-PRERELEASE > > %wine program.exe > fixme:msvcrt:_spawnve :not translating name /usr/local/lib/../bin/wine > to locate program > > Then it just seems to sit there with Wine in a "piperd" state. I don't know > what while would be waiting for and I've not had any luck with searching > Google or WineHQ. Hopefully someone has seen this before or has an idea > what it might be. > > Oh, the preinstalled apps, notepad.exe, sol.exe, produce the same result. I started seeing the same thing after upgrading the port installed on my system, but only sometimes. I haven't determined what's different between the times it works and the times it doesn't, but stubborn repetition (with slight variations such as running from a "wineconsole wcmd" prompt) seems to be a key ingredient. Interestingly, a program I installed prior to upgrading the port (irfanview) has always worked fine, although I've seen the problem on most other programs I've tried to run. I'm interested in tracking this down as well. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: exim does not compile on amd64
Heinrich Rebehn <[EMAIL PROTECTED]> writes: > Hi list, > > i installed 6.1-BETA4-amd64 on an AMD64 and it works fine so far. > However i cannot compile exim[-ldap2] from ports: > > [EMAIL PROTECTED] [~] # portupgrade exim-ldap2 > ---> Upgrading 'exim-ldap2-4.60' to 'exim-ldap2-4.61_1' (mail/exim-ldap2) > ---> Building '/usr/ports/mail/exim-ldap2' > ===> Cleaning for perl-5.8.8 > ===> Cleaning for openldap-client-2.2.30 > ===> Cleaning for libiconv-1.9.2_2 > ===> Cleaning for exim-ldap2-4.61_1 > ===> Vulnerability check disabled, database not found > ===> Extracting for exim-ldap2-4.61_1 > => MD5 Checksum OK for exim/exim-4.61.tar.bz2. > => SHA256 Checksum OK for exim/exim-4.61.tar.bz2. > ===> exim-ldap2-4.61_1 depends on file: /usr/local/bin/perl5.8.8 - found > ===> Patching for exim-ldap2-4.61_1 > ===> exim-ldap2-4.61_1 depends on file: /usr/local/bin/perl5.8.8 - found > ===> Applying FreeBSD patches for exim-ldap2-4.61_1 > Ignoring previously applied (or reversed) patch. > 1 out of 1 hunks ignored--saving rejects to OS/Makefile-FreeBSD.rej > => Patch patch-OS::Makefile-FreeBSD failed to apply cleanly. > *** Error code 1 > > Stop in /usr/ports/mail/exim-ldap2. > ** Command failed [exit code 1]: /usr/bin/script -qa > /tmp/portupgrade3499.0 make DEPENDS_TARGET=package > ** Fix the problem and try again. > ** Listing the failed packages (*:skipped / !:failed) > ! mail/exim-ldap2 (exim-ldap2-4.60) (patch error) > ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed > [EMAIL PROTECTED] [~] # > > > Is this a known problem? No, it's strictly on your end. You have a stale patch in the port skeleton. The easy approach is to delete the whole port and re-cvsup. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Login broken and rc.conf variables suddenly invalid after kernel/world upgrade (?!?!)
Garrett Cooper <[EMAIL PROTECTED]> writes: > By the way, I also ran mergemaster as shown above. I forgot to > originally include that. Did you also forget to mention building and installing the new kernel before the reboot? If you actually left that step out, it would explain much of your trouble. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Login broken and rc.conf variables suddenly invalid after kernel/world upgrade (?!?!)
Garrett Cooper wrote: On Fri, 7 Apr 2006, Bill Moran wrote: On Thu, 6 Apr 2006 21:14:33 -0700 Garrett Cooper <[EMAIL PROTECTED]> wrote: So, I basically upgraded my source again and did installworld. Had to run make quite a few times because it appeared that the makefile for /usr/src was broken (or at least the targets were incorrect since it kept on complaining about stuff not being compiled in buildworld). So I ran mergemaster, and things appeared to be running smoothly, but now it appears that my system is screwed up, due to bash. Granted, I used bash as my login shell for both root and my local account, and to solve this problem I tried recompiling the program from ports in single user mode, but every single time I login it complains about not being able to find libintl.so.6 (I believe), which is a part of gettext. I eventually gave up on trying to reinstall and fix bash and gettext, but when I try and login, the stupid machine still claims to be missing the library, regardless of the fact that it's no longer my login shell and I sed'ed both /etc/shells and /etc/passwd and /etc/ master.passwd so that they no longer have bash in them. I'm just basically stumped and I need a lot of help here, because the machine's inaccessible (the rc 'daemon' complains all the variables setup in rc.conf aren't valid--although they are), and I would greatly appreciate any help anyone can give me. It doesn't sound like you correctly followed the upgrade procedure, since there is no "make" in that procedure. I did though (which is the confusing part). What I did when trying to upgrade from 6.0 to 6.1-PR2: make buildworld; reboot; # booted into single user mode. mergemaster -p make installworld; # failed here partway through claiming that dependencies hadn't been compiled. make buildworld; # still failed #many makes later and make all's later make installworld # success mergemaster exit #login attempt /libexec/ld-elf.so.1: Shared object "libintl.so.6" not found, required by "-bash" #rebooted into single user mode. #sed'ed /etc/passwd and /etc/master.passwd to change shell from /bin/csh exit #repeat from login attempt. I've chased down the library to gcc, and I did later clean and remake libiconv, gettext, and bash, but still no dice (get the same error message as before). Additionally, you can't just change /etc/master.passwd without running cap_mkdb to have the changes take effect. Did that just a while ago; thanks for the tip. Didn't change the overall behavior though... :( As a hint for future work: If you think a Makefile provided by the FreeBSD team is "broken", the wisest course of action would be to post here _before_ you commit to an upgrade that is unlikey to work. I know that if I didn't follow through with the makes my system would have been completely crippled since some libs had been recompiled and installed, whereas others had not been because 6.0 features a different version of gcc and libc than 6.1 does. If you could provide a command which corrects the spwd.db and pwd.db files, I think that will allow me to permanently set my shell to /bin/csh, which will allow me to login and start fixing my machine from something other than single-user mode. TIA again, -Garrett By the way, I also ran mergemaster as shown above. I forgot to originally include that. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Which BSD - Flash Drive
Gayn Winters wrote: [mailto:[EMAIL PROTECTED] On Behalf Of Malcolm Fitzgerald [ ... ] http://www.crucial.com/kb/answer.asp?qid=4088 Where they rate their own flash at 1,000,000 read/write cycles. The typical flash drive used to be rated for about 10,000 writes, but the better vendors do better. :-) They've also started doing things like "wear leveling" by rotating the sectors being written to, which help avoid hotspots forming which wear out earlier (ie, the directory entry for / or /tmp). But you need to look for that feature in your flash drives as the low-cost ones typically won't have it! You can help things out a lot by disabling file access time updating ("noatime" flag to mount), and by using RAMdisks and a no-swap config, as someone else had mentioned. But I'll repeat my caveat: if you want to run a general-purpose FreeBSD system, you're better off using a hard drive than flash. Save using flash for dedicated appliances where you've taken steps to control writes. -- -Chuck PS: I'm seeing a relatively significant number of 5-8 year old Cisco boxes starting to wear out their flash chips and fail (ie, 3 out of about a dozen or so I've had contact with over the years). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
"The Complete FreeBSD": errata and addenda
The trouble with books is that you can't update them the way you can a web page or any other online documentation. The result is that most leading edge computer books are out of date almost before they are printed. Unfortunately, The Complete FreeBSD, published by O'Reilly, is no exception. Inevitably, a number of bugs and changes have surfaced. "The Complete FreeBSD" has been through a total of five editions, including its predecessor "Installing and Running FreeBSD". Two of these have been reprinted with corrections. I maintain a series of errata pages. Start at http://www.lemis.com/errata-4.html to find out how to get the errata information. Note also that the book has now been released for free download in PDF form. Instead of downloading the changed pages, you may prefer to download the entire book. See http://www.lemis.com/grog/Documentation/CFBSD/ for more information. Have you found a problem with the book, or maybe something confusing? Please let me know: I'm no longer constantly updating it, but I may be able to help Greg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How to get best results from FreeBSD-questions
How to get the best results from FreeBSD questions. === Last update $Date: 2005/08/10 02:21:44 $ This is a regular posting to the FreeBSD questions mailing list. If you got it in answer to a message you sent, it means that the sender thinks that at least one of the following things was wrong with your message: - You left out a subject line, or the subject line was not appropriate. - You formatted it in such a way that it was difficult to read. - You asked more than one unrelated question in one message. - You sent out a message with an incorrect date, time or time zone. - You sent out the same message more than once. - You sent an 'unsubscribe' message to FreeBSD-questions. If you have done any of these things, there is a good chance that you will get more than one copy of this message from different people. Read on, and your next message will be more successful. This document is also available on the web at http://www.lemis.com/questions.html. = Contents: I:Introduction II: How to unsubscribe from FreeBSD-questions III: Should I ask -questions or -hackers? IV: How to submit a question to FreeBSD-questions V:How to answer a question to FreeBSD-questions I: Introduction === This is a regular posting aimed to help both those seeking advice from FreeBSD-questions (the "newcomers"), and also those who answer the questions (the "hackers"). Note that the term "hacker" has nothing to do with breaking into other people's computers. The correct term for the latter activity is "cracker", but the popular press hasn't found out yet. The FreeBSD hackers disapprove strongly of cracking security, and have nothing to do with it. In the past, there has been some friction which stems from the different viewpoints of the two groups. The newcomers accused the hackers of being arrogant, stuck-up, and unhelpful, while the hackers accused the newcomers of being stupid, unable to read plain English, and expecting everything to be handed to them on a silver platter. Of course, there's an element of truth in both these claims, but for the most part these viewpoints come from a sense of frustration. In this document, I'd like to do something to relieve this frustration and help everybody get better results from FreeBSD-questions. In the following section, I recommend how to submit a question; after that, we'll look at how to answer one. II: How to unsubscribe from FreeBSD-questions == When you subscribed to FreeBSD-questions, you got a welcome message from [EMAIL PROTECTED] In this message, amongst other things, it told you how to unsubscribe. Here's a typical message: Welcome to the freebsd-questions@freebsd.org mailing list! If you ever want to unsubscribe or change your options (eg, switch to or from digest mode, change your password, etc.), visit your subscription page at: http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED] (obviously, substitute your mail address for "[EMAIL PROTECTED]"). You can also make such adjustments via email by sending a message to: [EMAIL PROTECTED] with the word 'help' in the subject or body (don't include the quotes), and you will get back a message with instructions. You must know your password to change your options (including changing the password, itself) or to unsubscribe. Normally, Mailman will remind you of your freebsd.org mailing list passwords once every month, although you can disable this if you prefer. This reminder will also include instructions on how to unsubscribe or change your account options. There is also a button on your options page that will email your current password to you. Here's the general information for the list you've subscribed to, in case you don't already have it: FREEBSD-QUESTIONS User questions This is the mailing list for questions about FreeBSD. You should not send "how to" questions to the technical lists unless you consider the question to be pretty technical. Normally, unsubscribing is even simpler than the message suggests: you don't need to specify your mail ID unless it is different from the one which you specified when you subscribed. If Majordomo replies and tells you (incorrectly) that you're not on the list, this may mean one of two things: 1. You have changed your mail ID since you subscribed. That's where keeping the original message from majordomo comes in handy. For example, the sample message above shows my mail ID as [EMAIL PROTECTED] Since then, I have changed it to [EMAIL PROTECTED] If I were to try to remove [EMAIL PROTECTED] from the list, it would fail: I would have to specify the name with which I joined. 2. You're subscribed to a mailing list which is subscribed to Fr
Re: Login broken and rc.conf variables suddenly invalid after kernel/world upgrade (?!?!)
On Fri, 7 Apr 2006, Bill Moran wrote: On Thu, 6 Apr 2006 21:14:33 -0700 Garrett Cooper <[EMAIL PROTECTED]> wrote: So, I basically upgraded my source again and did installworld. Had to run make quite a few times because it appeared that the makefile for /usr/src was broken (or at least the targets were incorrect since it kept on complaining about stuff not being compiled in buildworld). So I ran mergemaster, and things appeared to be running smoothly, but now it appears that my system is screwed up, due to bash. Granted, I used bash as my login shell for both root and my local account, and to solve this problem I tried recompiling the program from ports in single user mode, but every single time I login it complains about not being able to find libintl.so.6 (I believe), which is a part of gettext. I eventually gave up on trying to reinstall and fix bash and gettext, but when I try and login, the stupid machine still claims to be missing the library, regardless of the fact that it's no longer my login shell and I sed'ed both /etc/shells and /etc/passwd and /etc/ master.passwd so that they no longer have bash in them. I'm just basically stumped and I need a lot of help here, because the machine's inaccessible (the rc 'daemon' complains all the variables setup in rc.conf aren't valid--although they are), and I would greatly appreciate any help anyone can give me. It doesn't sound like you correctly followed the upgrade procedure, since there is no "make" in that procedure. I did though (which is the confusing part). What I did when trying to upgrade from 6.0 to 6.1-PR2: make buildworld; reboot; # booted into single user mode. make installworld; # failed here partway through claiming that dependencies hadn't been compiled. make buildworld; # still failed #many makes later and make all's later make installworld # success exit #login attempt /libexec/ld-elf.so.1: Shared object "libintl.so.6" not found, required by "-bash" #rebooted into single user mode. #sed'ed /etc/passwd and /etc/master.passwd to change shell from /bin/csh exit #repeat from login attempt. I've chased down the library to gcc, and I did later clean and remake libiconv, gettext, and bash, but still no dice (get the same error message as before). Additionally, you can't just change /etc/master.passwd without running cap_mkdb to have the changes take effect. Did that just a while ago; thanks for the tip. Didn't change the overall behavior though... :( As a hint for future work: If you think a Makefile provided by the FreeBSD team is "broken", the wisest course of action would be to post here _before_ you commit to an upgrade that is unlikey to work. I know that if I didn't follow through with the makes my system would have been completely crippled since some libs had been recompiled and installed, whereas others had not been because 6.0 features a different version of gcc and libc than 6.1 does. If you could provide a command which corrects the spwd.db and pwd.db files, I think that will allow me to permanently set my shell to /bin/csh, which will allow me to login and start fixing my machine from something other than single-user mode. TIA again, -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: src upgrade from 4.11-p16 to 5.4 possible? (some success)
[EMAIL PROTECTED] /usr/src]# echo $? 0 [EMAIL PROTECTED] /usr/src]# make -j6 buildworld The CPUTYPE is not defined in /etc/make.conf, trying to make a clean build.. and this is RELENG_5_2_1 so make buildworld on this box completes. I am going to try RELENG_5_3 and then if so then good ;) RELENG_5_3 builds world as well.. so 5_4 is the stumbling block.. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: NAT, VPN and other SOHO router advice
Nick Stenning wrote: Given what you've said, you should set up the FreeBSD machine as a bridge rather than a router. Having now read the manpage for bridge(4) and if_bridge(4), I am not certain that this is going to achieve what I want to achieve. I'm told by the FreeBSD HB that "The consensus is that assigning both cards an address is a bad idea." Since I want rl1 to have a public IP block and rl0 to have a private IP, I assume this isn't going to work. So, router it is. In which case, your Vigor 2600's internal interface and your FreeBSD box would need to be using public IPs, which means you can't use the Vigor to do the NAT and VPN, which was also something you wanted. Now, for this VPN. I reckon my best bet is to run the PPTP client from the BSD box, no? Yes. Have your ISP set up the Vigor's internal interface with a /30 subnet, or however many public IP's you've got, and then set up OpenVPN on the FreeBSD box, or whatever other VPN/PPTP software you'd like... -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: /proc/loadavg?
Andy Greenwood wrote: Does FreeBSD have a location that stores the load average information, similarly to /proc/loadavg in Linux? I've got a php site that displays this info, but I'm not sure where to point it to. While you can mount /proc under FreeBSD, too, /proc has a bad security record and is disabled for a reason. Consider looking at the output of sysctl, instead, specificly: "sysctl vm.loadavg"... -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
opening both tty & cua for uplcom(4)
Hello, i'm trying to implement a callback scheme for COM modem via uplcom(4) connector (should be any ucom(4)). I do the same i did for direct COM and Lucent winmodem: 1) calling out (ppp communicates via /dev/cuaX) 2) starting getty on /dev/ttyX 3) it accepts incoming call and starts a script which itself starts ppp -direct on /dev/cuaX That worked fine with cuaa? and cual? (Lucent winmodem devices), but it seems that cuaU?/ttyU? can't be opened the same time, e.g. I've got a kernel message from ucom(4) about "IN_USE" error on step 3). So is that a bug or am i doing something wrong? -- Regards, Mirya ICQ #313898202 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Wine installation/configuration question
I've having trouble with Wine. I'm getting the same error regardless if I compile from the ports tree, install a package, or compile from source. on FreeBSD 6.1-PRERELEASE %wine program.exe fixme:msvcrt:_spawnve :not translating name /usr/local/lib/../bin/wine to locate program Then it just seems to sit there with Wine in a "piperd" state. I don't know what while would be waiting for and I've not had any luck with searching Google or WineHQ. Hopefully someone has seen this before or has an idea what it might be. Oh, the preinstalled apps, notepad.exe, sol.exe, produce the same result. thanks, John. -- - John F Hoover [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: /proc/loadavg?
On Fri, 7 Apr 2006, Andy Greenwood wrote: > Does FreeBSD have a location that stores the load average information, > similarly to /proc/loadavg in Linux? I've got a php site that displays this > info, but I'm not sure where to point it to. There's a "linuxprocfs" which you might want to mount on /compat/linux/proc, that should have waht you're after. -- jan grant, ISYS, University of Bristol. http://www.bris.ac.uk/ Tel +44 (0)117 3317661 http://ioctl.org/jan/ "No generalised law is without exception." A self-demonstrating axiom. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: src upgrade from 4.11-p16 to 5.4 possible? (some success)
Derek Ragona wrote: I recently did this exact operation. It went fine for me on my second try. The first one I determined didn't go well as I didn't have the system up to date first. So on my second attempt I made sure my 4.11 system was up to date, and did a complete buildworld, buildkernel, etc. Once I was sure it was completely up to date on 4.11, I: Saved my kernel config file to: /usr/oldkernels/ rm -rf /usr/src rm -rf /usr/ports I changed my cvsup tag and pulled new source. Then I meticulously followed the instructions in /etc/src/UPDATING. Read those instructions, be sure to update your /etc/make.conf file for the right CPU. I did need to create a new kernel configuration file starting with GENERIC and boot.hints from my old 4.11 kernel configuration file. All went well except one library didn't get put in place when I did the installworld. It was built but just not in place, so I saw an error when I booted the system, and moved it manually. The library that didn't get moved was: libc.so.4 I did add: COMPAT4X= yes to my make.conf file and options COMPAT_FREEBSD4 # Compatible with FreeBSD4 to my kernel config file, but still had to make sasl2 and sendmail for sasl2. Otherwise the ports I had seemed to mostly work. But you might want to do a: portupgrade -a -Derek [EMAIL PROTECTED] /usr/src]# echo $? 0 [EMAIL PROTECTED] /usr/src]# make -j6 buildworld The CPUTYPE is not defined in /etc/make.conf, trying to make a clean build.. and this is RELENG_5_2_1 so make buildworld on this box completes. I am going to try RELENG_5_3 and then if so then good ;) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: src upgrade from 4.11-p16 to 5.4 possible?
I recently did this exact operation. It went fine for me on my second try. The first one I determined didn't go well as I didn't have the system up to date first. So on my second attempt I made sure my 4.11 system was up to date, and did a complete buildworld, buildkernel, etc. Once I was sure it was completely up to date on 4.11, I: Saved my kernel config file to: /usr/oldkernels/ rm -rf /usr/src rm -rf /usr/ports I changed my cvsup tag and pulled new source. Then I meticulously followed the instructions in /etc/src/UPDATING. Read those instructions, be sure to update your /etc/make.conf file for the right CPU. I did need to create a new kernel configuration file starting with GENERIC and boot.hints from my old 4.11 kernel configuration file. All went well except one library didn't get put in place when I did the installworld. It was built but just not in place, so I saw an error when I booted the system, and moved it manually. The library that didn't get moved was: libc.so.4 I did add: COMPAT4X= yes to my make.conf file and options COMPAT_FREEBSD4 # Compatible with FreeBSD4 to my kernel config file, but still had to make sasl2 and sendmail for sasl2. Otherwise the ports I had seemed to mostly work. But you might want to do a: portupgrade -a -Derek At 08:27 AM 4/7/2006, B. Cook wrote: Hello all, I am running a set of 5 FreeBSD 4.11 p16 servers here at the library. For various reasons we are unable to 'get new drives' and install FreeBSD 5/6 and then migrate userland data to a new drive. I have been able to get my hands on a test box from someone to test src upgrading from 4.11 to something more current like 5.x and then updating from there. My standard running machines are Dual 933 Intel machines, 1G ram, scsi drives.. etc This test box is an AMD Mobile Sempron 2600+ w/ 512M ram, 80G ide drives. http://www.freebsd.org/releases/5.4R/migration-guide.html is the guide that I am following.. and I have done what I think are the right steps.. and I am getting a crash/failure in a most unusual place. Stop in /usr/src/usr.sbin/pcvt/vgaio. *** Error code 1 ===> usr.sbin/pcvt/ispcvt cc -O -pipe -c /usr/src/usr.sbin/pcvt/ispcvt/ispcvt.c cc -O -pipe-o ispcvt ispcvt.o gzip -cn /usr/src/usr.sbin/pcvt/ispcvt/ispcvt.8 > ispcvt.8.gz ===> usr.sbin/pcvt/vgaio cc -O -pipe -I/usr/obj/usr/src/usr.sbin/pcvt/vgaio -I/usr/src/usr.sbin/pcvt/vgaio -c vgaio.c In file included from /usr/src/usr.sbin/pcvt/vgaio/vgaio.y:56: /usr/obj/usr/src/i386/usr/include/machine/cpufunc.h:60: error: syntax error before "bsfl" /usr/obj/usr/src/i386/usr/include/machine/cpufunc.h:60: error: syntax error before "mask" /usr/obj/usr/src/i386/usr/include/machine/cpufunc.h: In function `bsfl': ... etc The strange thing is this: CPU: Mobile AMD Sempron(tm) Processor 2600+ (799.92-MHz 686-class CPU) this is what dmesg tells me about this cpu.. again this is under 4.11 So I am wondering if these things are related, and if I try this on an Intel cpu will I still have this issue? As my cvsup to RELENG_5_4 and then make buildworld fails at this point. I have script'd the make buildworld which is a 9M text file, and it compresses down to a ~500k bz/gz file if anyone is interested in it. I have tried in single user mode as well again no difference. I have tried make -j4 buildworld (only gets there faster.. ) Thanks in advance any help is greatly appreciated. (I'm going to try 5.3 and then if that doesn't work then I'll try 5.2.1) - Brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to read a damaged tape
Olivier Nicole <[EMAIL PROTECTED]> writes: > I have a SLR 100 tape drive (SCSI interface) and a tape cartridge with > 4 files. > > The first file is damaged so I cannot mt fsf over that file to read > the others. > > Is there a secret way to to advance the tape by a certain number of > meters, or by a certain number of seconds or something. I know I would > end up at a random position in the middle of a file, but at least I > could fast forward over the damaged file. dd would be the first thing I would try... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Choosing which interface to use
El día Friday, April 07, 2006 a las 08:29:03AM -0600, hal escribió: > I am setting up a VPN client on a 6.0 box of mine. > As a result of the VPN client (openvpn) running I > have two interfaces active, xl0 needed by the dhcp > client and tun0 used by the vpn client. > > The question. How do I tell an application perhaps telnet, > ssh, or ftp to use tun0 and not xl0? This is not a question of telling the application to use certain interface, xl0 or tun0. You will direct this application to some remote IP addr and the routing table defines the interface to be used. Have a look at 'netstat -rn' and add more routings if necesary. matthias -- Matthias Apitz / Sisis Informationssysteme GmbH ein Tochterunternehmen der OCLC PICA B.V. Leiden (NL) D-82041 Oberhaching, Gruenwalder Weg 28g Fon: +49 89 / 61308-351, Fax: -399, Mobile +49 170 4527211 http://www.sisis.de/~guru/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Choosing which interface to use
hal <[EMAIL PROTECTED]> wrote: > I am setting up a VPN client on a 6.0 box of mine. > As a result of the VPN client (openvpn) running I > have two interfaces active, xl0 needed by the dhcp > client and tun0 used by the vpn client. > > The question. How do I tell an application perhaps telnet, > ssh, or ftp to use tun0 and not xl0? Ideally you would set up appropriate routes when you establish the VPN tunnel, and the kernel would know the correct direction based on the destination IP address. Since this isn't the case, I strongly suggest that you look into cleaning up your IP ranges so it can be. Never allow half-baked routing to exist, it just causes more and more headaches the longer you let it go. However, many programs have an option to control where the source port originates from. If the application you want to use supports this, you can specifiy the IP of your end of the VPN tunnel and it should force the traffic to go through the tunnel. ssh, for example uses -b to set the originating IP. I'll reiterate, however, that the _best_ way is to properly organize your routing so it happes automagically. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Choosing which interface to use
I am setting up a VPN client on a 6.0 box of mine. As a result of the VPN client (openvpn) running I have two interfaces active, xl0 needed by the dhcp client and tun0 used by the vpn client. The question. How do I tell an application perhaps telnet, ssh, or ftp to use tun0 and not xl0? hal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: help for portdowngrade
On Friday 07 April 2006 22:23, you wrote: > On 07/04/2006 15:49, Yuan Jue wrote: > > Could anyone please give me a hand ? :) > > > > On Thursday 06 April 2006 21:37, Yuan Jue wrote: > >> Hi all. > >> > >> Could anyone please get me an outdated port called 'zh-CJK-4.6.0' > >> through using "portdowngrade zh-CJK-4.6.0" ? > >> > >> I am in a subnet and cannot connect the anonCVS directly. Any help > >> would be very appreciate. Thanks in advance > > Hi Yuan, > > I can offer you http download. Which one do you need? > > 1 2006/03/19 05:40:51 4.6.0_1 Add links to these sfd files to > the pkg-plist. They are generated by > 2 2006/03/16 06:22:01 4.6.0_1 Several improvements over > chinese/CJK port, to make it possible to > 3 2006/01/22 01:27:04 4.6.0_0 Replace ugly "@unexec rmdir > %D... 2>/dev/null || true" with @dirrmtry > 4 2006/01/20 10:14:30 4.6.0_0 - As the original cjk master > sites timeouts often on package building > 5 2005/12/03 21:04:49 4.6.0_0 [MAINTAINER] chinese/CJK: > update to 4.6.0 3 2006/01/22 01:27:04 4.6.0_0 Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry would be great thanks very much for your help ! -- Best Regards Yuan Jue @ www.yuanjue.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Why do I get this message by the server ?
I have a freebsd5.4 server. I sometimes get a message on the screen as below; kernel: ipfw: pullup failed What cause this problem cause ? I see the below lines when I type netstat -ni 1# netstat -ni NameMtu Network Address Ipkts IerrsOpkts Oerrs Coll bge0 1500 00:13:d4:51:5d:e9 1618711264 0 426941 0 0 bge0 1500 212.175.51.68 212.175.51.70 3389522 - 11038161 - - bge0 1500 fe80:1::213:d fe80:1::213:d4ff:0 -3 - - bge1 1500 00:13:d4:51:5d:ea 307271458 0 808964464 0 0 bge1 1500 192.168.12.1 192.168.12.632276942 - 193982504 - - bge1 1500 fe80:2::213:d fe80:2::213:d4ff:0 -4 - - lo0 16384 1465002 0 1465002 0 0 lo0 16384 127 127.0.0.1 1463512 - 1463566 - - lo0 16384 ::1/128 ::1 0 -0 - - lo0 16384 fe80:3::1/64 fe80:3::10 -0 - - sysctl net.inet.ip | grep queue net.inet.ip.intr_queue_maxlen: 50 net.inet.ip.intr_queue_drops: 19512403 What shall I do ? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: help for portdowngrade
On 07/04/2006 15:49, Yuan Jue wrote: > Could anyone please give me a hand ? :) > > On Thursday 06 April 2006 21:37, Yuan Jue wrote: >> Hi all. >> >> Could anyone please get me an outdated port called 'zh-CJK-4.6.0' >> through using "portdowngrade zh-CJK-4.6.0" ? >> >> I am in a subnet and cannot connect the anonCVS directly. Any help >> would be very appreciate. Thanks in advance Hi Yuan, I can offer you http download. Which one do you need? 1 2006/03/19 05:40:51 4.6.0_1 Add links to these sfd files to the pkg-plist. They are generated by 2 2006/03/16 06:22:01 4.6.0_1 Several improvements over chinese/CJK port, to make it possible to 3 2006/01/22 01:27:04 4.6.0_0 Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry 4 2006/01/20 10:14:30 4.6.0_0 - As the original cjk master sites timeouts often on package building 5 2005/12/03 21:04:49 4.6.0_0 [MAINTAINER] chinese/CJK: update to 4.6.0 Cheers, Karol -- Karol Kwiatkowski OpenPGP: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc signature.asc Description: OpenPGP digital signature
/proc/loadavg?
Does FreeBSD have a location that stores the load average information, similarly to /proc/loadavg in Linux? I've got a php site that displays this info, but I'm not sure where to point it to. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Keypad no longer works under X
Vayu wrote: On Thursday 06 April 2006 19:47, Donald T Hayford wrote: My numeric keypad no longer works under X Since when? And, I have to ask, since you didn't mention it ... you've replaced the keyboard to rule out hardware issues? except as a way to move the mouse cursor (i.e., no 1-9, etc). The LED changes states when pushed. I've searched through the X.org site but haven't found anything of use. Does anybody know how to fix this? My xorg.conf looks like this: /Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice"Mouse0" "CorePointer" InputDevice"Keyboard0" "CoreKeyboard" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection / I'm running FreeBSD 6.1-PRERELEASE, with X version 6.9.0. I use KDE as the X desktop. Thanks for your help, Don Hayford I sure don't see anything there that gives a clue. Have you tried and duplicated the problem with a different WM? Kevin Kinsey -- The party adjourned to a hot tub, yes. Fully clothed, I might add. -- IBM employee, testifying in California State Supreme Court ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: src upgrade from 4.11-p16 to 5.4 possible?
So would going from 4.x to 5.2.1 be an easier and then from 5.2.1 to 5.4 and then to 6? Is there a binary OS upgrade that could be done? and then a manual mergemaster? This sempron box is not ours to keep.. :( ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: src upgrade from 4.11-p16 to 5.4 possible?
B. Cook wrote: [snip] Stop in /usr/src/usr.sbin/pcvt/vgaio. *** Error code 1 ===> usr.sbin/pcvt/ispcvt cc -O -pipe -c /usr/src/usr.sbin/pcvt/ispcvt/ispcvt.c cc -O -pipe-o ispcvt ispcvt.o gzip -cn /usr/src/usr.sbin/pcvt/ispcvt/ispcvt.8 > ispcvt.8.gz ===> usr.sbin/pcvt/vgaio cc -O -pipe -I/usr/obj/usr/src/usr.sbin/pcvt/vgaio -I/usr/src/usr.sbin/pcvt/vgaio -c vgaio.c In file included from /usr/src/usr.sbin/pcvt/vgaio/vgaio.y:56: /usr/obj/usr/src/i386/usr/include/machine/cpufunc.h:60: error: syntax error before "bsfl" /usr/obj/usr/src/i386/usr/include/machine/cpufunc.h:60: error: syntax error before "mask" /usr/obj/usr/src/i386/usr/include/machine/cpufunc.h: In function `bsfl': [snip] I don't have the expertise to get deep into fixing any CPU code bugs, but I've seen a roughly similar error in the past and fixed it with just basic procedures. Have you tried doing rm -rf /usr/obj/* before your buildworld? This step doesn't seem to be in the upgrade guide you cited, but it is in the Handbook under general buildworld procedures. Section 21.4.6 of: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html -- Greg Barniskis, Computer Systems Integrator South Central Library System (SCLS) Library Interchange Network (LINK) , (608) 266-6348 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to use shell commands to work for my requests?
__ From: [EMAIL PROTECTED] To: "Mc Shch" <[EMAIL PROTECTED]> CC: freebsd-questions@freebsd.org Subject: Re: How to use shell commands to work for my requests? Date: Fri, 7 Apr 2006 15:17:46 +0200 >Hi Exploit_it > > >For example: > >i want to search some files which contain "getopt" string... > >what's in a name... > >brute force: grep -R getopt * > >smarter: find . -name "*.cpp" -exec grep getopt {}\; -print > >regards, > >usleep > > >PS this is a resend to fix etiquette Thx,usleep,,,I get the right answer from you! regards. -Exploit_it _ 免费下载 [1]MSN Explorer References 1. http://g.msn.com/8HMBCNCN/2740??PS=47575 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: src upgrade from 4.11-p16 to 5.4 possible?
> > Hello all, > > I am running a set of 5 FreeBSD 4.11 p16 servers here at the library. > > For various reasons we are unable to 'get new drives' and install > FreeBSD 5/6 and then migrate userland data to a new drive. > > I have been able to get my hands on a test box from someone to test src > upgrading from 4.11 to something more current like 5.x and then updating > from there. Trying to do an upgrade over major versions can uncover unexpected problems. I don't notice anything in your specs that would make it not work with the latest FreeBSD (though I am not up on the latest CPU quirks). Since you have an "extra" machine to work with, why don't you just do a fresh install of FreeBSD 6.xxx on it and then build on that. Install the latest versions of the ports you are using on your servers and check it all out and then move your userland from one of the 5 in-service systems on to it. Then, replace that machine in-service with the test machine and use the replaced machine to build the next one, etc. You would get the newer UFS2 file system improvements which you would miss with just an upgrade and it would probably result in an over-all cleaner system. Everything should work just hunkie dorie. If the test box is of too little capacity for normal service, just continue the ripple install all the way around until the test box is the one pulled back out of service. If you have done a careful job of doing the first install and build on the test box you will have the necessary steps down and can probably do all 5, one at a time in a day. jerry > > My standard running machines are Dual 933 Intel machines, 1G ram, scsi > drives.. etc > > This test box is an AMD Mobile Sempron 2600+ w/ 512M ram, 80G ide drives. > > http://www.freebsd.org/releases/5.4R/migration-guide.html is the guide > that I am following.. and I have done what I think are the right steps.. > and I am getting a crash/failure in a most unusual place. > > Stop in /usr/src/usr.sbin/pcvt/vgaio. > *** Error code 1 > > > ===> usr.sbin/pcvt/ispcvt > cc -O -pipe -c /usr/src/usr.sbin/pcvt/ispcvt/ispcvt.c > cc -O -pipe-o ispcvt ispcvt.o > gzip -cn /usr/src/usr.sbin/pcvt/ispcvt/ispcvt.8 > ispcvt.8.gz > ===> usr.sbin/pcvt/vgaio > cc -O -pipe -I/usr/obj/usr/src/usr.sbin/pcvt/vgaio > -I/usr/src/usr.sbin/pcvt/vgaio -c vgaio.c > In file included from /usr/src/usr.sbin/pcvt/vgaio/vgaio.y:56: > /usr/obj/usr/src/i386/usr/include/machine/cpufunc.h:60: error: syntax > error before "bsfl" > /usr/obj/usr/src/i386/usr/include/machine/cpufunc.h:60: error: syntax > error before "mask" > /usr/obj/usr/src/i386/usr/include/machine/cpufunc.h: In function `bsfl': > ... etc > > The strange thing is this: > CPU: Mobile AMD Sempron(tm) Processor 2600+ (799.92-MHz 686-class CPU) > > this is what dmesg tells me about this cpu.. again this is under 4.11 > > So I am wondering if these things are related, and if I try this on an > Intel cpu will I still have this issue? > > As my cvsup to RELENG_5_4 and then make buildworld fails at this point. > > I have script'd the make buildworld which is a 9M text file, and it > compresses down to a ~500k bz/gz file if anyone is interested in it. > > I have tried in single user mode as well again no difference. I have > tried make -j4 buildworld (only gets there faster.. ) > > Thanks in advance any help is greatly appreciated. > > (I'm going to try 5.3 and then if that doesn't work then I'll try 5.2.1) > > - Brian > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: help for portdowngrade
Could anyone please give me a hand ? :) On Thursday 06 April 2006 21:37, Yuan Jue wrote: > Hi all. > > Could anyone please get me an outdated port called 'zh-CJK-4.6.0' > through using "portdowngrade zh-CJK-4.6.0" ? > > I am in a subnet and cannot connect the anonCVS directly. Any help > would be very appreciate. Thanks in advance -- Best Regards Yuan Jue @ www.yuanjue.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
src upgrade from 4.11-p16 to 5.4 possible?
Hello all, I am running a set of 5 FreeBSD 4.11 p16 servers here at the library. For various reasons we are unable to 'get new drives' and install FreeBSD 5/6 and then migrate userland data to a new drive. I have been able to get my hands on a test box from someone to test src upgrading from 4.11 to something more current like 5.x and then updating from there. My standard running machines are Dual 933 Intel machines, 1G ram, scsi drives.. etc This test box is an AMD Mobile Sempron 2600+ w/ 512M ram, 80G ide drives. http://www.freebsd.org/releases/5.4R/migration-guide.html is the guide that I am following.. and I have done what I think are the right steps.. and I am getting a crash/failure in a most unusual place. Stop in /usr/src/usr.sbin/pcvt/vgaio. *** Error code 1 ===> usr.sbin/pcvt/ispcvt cc -O -pipe -c /usr/src/usr.sbin/pcvt/ispcvt/ispcvt.c cc -O -pipe-o ispcvt ispcvt.o gzip -cn /usr/src/usr.sbin/pcvt/ispcvt/ispcvt.8 > ispcvt.8.gz ===> usr.sbin/pcvt/vgaio cc -O -pipe -I/usr/obj/usr/src/usr.sbin/pcvt/vgaio -I/usr/src/usr.sbin/pcvt/vgaio -c vgaio.c In file included from /usr/src/usr.sbin/pcvt/vgaio/vgaio.y:56: /usr/obj/usr/src/i386/usr/include/machine/cpufunc.h:60: error: syntax error before "bsfl" /usr/obj/usr/src/i386/usr/include/machine/cpufunc.h:60: error: syntax error before "mask" /usr/obj/usr/src/i386/usr/include/machine/cpufunc.h: In function `bsfl': ... etc The strange thing is this: CPU: Mobile AMD Sempron(tm) Processor 2600+ (799.92-MHz 686-class CPU) this is what dmesg tells me about this cpu.. again this is under 4.11 So I am wondering if these things are related, and if I try this on an Intel cpu will I still have this issue? As my cvsup to RELENG_5_4 and then make buildworld fails at this point. I have script'd the make buildworld which is a 9M text file, and it compresses down to a ~500k bz/gz file if anyone is interested in it. I have tried in single user mode as well again no difference. I have tried make -j4 buildworld (only gets there faster.. ) Thanks in advance any help is greatly appreciated. (I'm going to try 5.3 and then if that doesn't work then I'll try 5.2.1) - Brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to use shell commands to work for my requests?
Hi Exploit_it >For example: >i want to search some files which contain "getopt" string... what's in a name... brute force: grep -R getopt * smarter: find . -name "*.cpp" -exec grep getopt {}\; -print regards, usleep PS this is a resend to fix etiquette ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to use shell commands to work for my requests?
Hi Exploit_it what's in a name... brute force: grep -R getopt * smarter: find . -name "*.cpp" -exec grep getopt {}\; -print regards, usleep On 4/7/06, Mc Shch <[EMAIL PROTECTED]> wrote: > >Hi all, > >I wanna know how to use shell commands to search some files which >contain a specail strings i want... >For example: >i want to search some files which contain "getopt" string... > >any ideas? > >-Exploit_it > _ > >使用世界上最大的电子邮件 系统― [1]MSN Hotmail Get 2 months FREE*. > > References > >1. http://g.msn.com/8HMBCNCN/2749??PS=47575 > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How to use shell commands to work for my requests?
Hi all, I wanna know how to use shell commands to search some files which contain a specail strings i want... For example: i want to search some files which contain "getopt" string... any ideas? -Exploit_it _ 使用世界上最大的电子邮件 系统― [1]MSN Hotmail Get 2 months FREE*. References 1. http://g.msn.com/8HMBCNCN/2749??PS=47575 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: firewall
ilyana ramlan wrote: hello, i have another question, Do i have to install IPTable before configuring hosts.allow file? thanks No; TCP wrappers are independent of your firewall. Also, and I'm ready to stand corrected, but iptable isn't a part of FreeBSD, and aren't even ported AFAIK. FreeBSD has ipfw, ipfilter, and ipf+altq, I believe. See the FreeBSD handbook, chapter 24. HTH, Kevin Kinsey -- Absence makes the heart grow frantic. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
exim does not compile on amd64
Hi list, i installed 6.1-BETA4-amd64 on an AMD64 and it works fine so far. However i cannot compile exim[-ldap2] from ports: [EMAIL PROTECTED] [~] # portupgrade exim-ldap2 ---> Upgrading 'exim-ldap2-4.60' to 'exim-ldap2-4.61_1' (mail/exim-ldap2) ---> Building '/usr/ports/mail/exim-ldap2' ===> Cleaning for perl-5.8.8 ===> Cleaning for openldap-client-2.2.30 ===> Cleaning for libiconv-1.9.2_2 ===> Cleaning for exim-ldap2-4.61_1 ===> Vulnerability check disabled, database not found ===> Extracting for exim-ldap2-4.61_1 => MD5 Checksum OK for exim/exim-4.61.tar.bz2. => SHA256 Checksum OK for exim/exim-4.61.tar.bz2. ===> exim-ldap2-4.61_1 depends on file: /usr/local/bin/perl5.8.8 - found ===> Patching for exim-ldap2-4.61_1 ===> exim-ldap2-4.61_1 depends on file: /usr/local/bin/perl5.8.8 - found ===> Applying FreeBSD patches for exim-ldap2-4.61_1 Ignoring previously applied (or reversed) patch. 1 out of 1 hunks ignored--saving rejects to OS/Makefile-FreeBSD.rej => Patch patch-OS::Makefile-FreeBSD failed to apply cleanly. *** Error code 1 Stop in /usr/ports/mail/exim-ldap2. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade3499.0 make DEPENDS_TARGET=package ** Fix the problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! mail/exim-ldap2 (exim-ldap2-4.60) (patch error) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed [EMAIL PROTECTED] [~] # Is this a known problem? -- Heinrich Rebehn University of Bremen Physics / Electrical and Electronics Engineering - Department of Telecommunications - Phone : +49/421/218-4664 Fax :-3341 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: pxeboot to -Install- FreeBSD...
--On 07 April 2006 11:40 +0100 Karl Pielorz <[EMAIL PROTECTED]> wrote: What do I need to do, to turn this 'booting FreeBSD from pxeboot' into something that will dump me into sysinstall, like booting from the CD rom? I've searched the net - but the only stuff I've found is either for much earlier FreeBSD versions, or incomplete - or both :) Replying to my own post :( - I fixed this in the end, I overlooked a line in 'loader.conf': vfs.root.mountfrom="ufs:/dev/md0c" Kind of important that one :) -Kp ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: OT: tcp redictor with dump-(in|out)put-to-stdout capability
On Friday 07 April 2006 15:10, Karl Pielorz wrote: > >> Why dont you wish use tcpdump? > > > > Cause I want to debug http, which is ASCII. Having every > > tcp segment in hex and/or ASCII won't help much. > > 'GET / HTTP/1.1' is much easier to read than the hexdump. > > 0x4174206c6561737420666f72206d653a29 > > Have you tried tcpflow? That can either dump the actual flows to files - or > you can dump them to the console... > I have already found what I was looking for. net/balance:) > If you're sending it to the console, and it might be gifs / other binary, > piping it through 'strings' is usually a good idea :) > > -Kp > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Login broken and rc.conf variables suddenly invalid after kernel/world upgrade (?!?!)
On Thu, 6 Apr 2006 21:14:33 -0700 Garrett Cooper <[EMAIL PROTECTED]> wrote: > So, I basically upgraded my source again and did installworld. Had > to run make quite a few times because it appeared that the makefile > for /usr/src was broken (or at least the targets were incorrect since > it kept on complaining about stuff not being compiled in buildworld). > So I ran mergemaster, and things appeared to be running smoothly, but > now it appears that my system is screwed up, due to bash. Granted, I > used bash as my login shell for both root and my local account, and > to solve this problem I tried recompiling the program from ports in > single user mode, but every single time I login it complains about > not being able to find libintl.so.6 (I believe), which is a part of > gettext. I eventually gave up on trying to reinstall and fix bash and > gettext, but when I try and login, the stupid machine still claims to > be missing the library, regardless of the fact that it's no longer my > login shell and I sed'ed both /etc/shells and /etc/passwd and /etc/ > master.passwd so that they no longer have bash in them. > I'm just basically stumped and I need a lot of help here, because > the machine's inaccessible (the rc 'daemon' complains all the > variables setup in rc.conf aren't valid--although they are), and I > would greatly appreciate any help anyone can give me. It doesn't sound like you correctly followed the upgrade procedure, since there is no "make" in that procedure. Additionally, you can't just change /etc/master.passwd without running cap_mkdb to have the changes take effect. But, most important, this email isn't detailed enough for us to give you much help. Please provide details, such as *) what version did you upgrade from and to *) What, exact, commands did you run, in what order *) What, exact, errors did you get As a hint for future work: If you think a Makefile provided by the FreeBSD team is "broken", the wisest course of action would be to post here _before_ you commit to an upgrade that is unlikey to work. -- Bill Moran ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: OT: tcp redictor with dump-(in|out)put-to-stdout capability
Why dont you wish use tcpdump? Cause I want to debug http, which is ASCII. Having every tcp segment in hex and/or ASCII won't help much. 'GET / HTTP/1.1' is much easier to read than the hexdump. 0x4174206c6561737420666f72206d653a29 Have you tried tcpflow? That can either dump the actual flows to files - or you can dump them to the console... If you're sending it to the console, and it might be gifs / other binary, piping it through 'strings' is usually a good idea :) -Kp ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: OT: tcp redictor with dump-(in|out)put-to-stdout capability
On Friday 07 April 2006 14:27, Igor Robul wrote: > On Fri, Apr 07, 2006 at 11:32:04AM +0300, Nikos Vassiliadis wrote: > > Hi, > > > > I am searching for program similar to net/redir. It's > > a simple program that listens to a tcp port and redirects > > all input to another address:port. I want to debug http > > and I need something that does what redir does plus > > dumping all input & output to my terminal. Is there some- > > thing like that in ports? Or somewhere else? > > Why dont you wish use tcpdump? Cause I want to debug http, which is ASCII. Having every tcp segment in hex and/or ASCII won't help much. 'GET / HTTP/1.1' is much easier to read than the hexdump. 0x4174206c6561737420666f72206d653a29 > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: firewall
You need to read the firewall section of the freebsd handbook. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls. html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of ilyana ramlan Sent: Friday, April 07, 2006 12:04 AM To: freebsd-questions@FreeBSD.org Subject: firewall hello, i have another question, Do i have to install IPTable before configuring hosts.allow file? thanks __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: freebsd 6.0 personal firewall
You need to read the firewall section of the freebsd handbook. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls. html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of ilyana ramlan Sent: Thursday, April 06, 2006 11:58 PM To: freebsd-questions@FreeBSD.org Subject: freebsd 6.0 personal firewall Hello, I have few questions: 1) How do i block websites by typing their url name (eg. www.yahoo.com) using built in freebsd 6.0 firewall? 2) Do i have to configure the hosts.allow file to block websites and must i know their IP address to block websites? Can i block them by their URL names? Thank you. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: OT: tcp redictor with dump-(in|out)put-to-stdout capability
On Fri, Apr 07, 2006 at 11:32:04AM +0300, Nikos Vassiliadis wrote: > Hi, > > I am searching for program similar to net/redir. It's > a simple program that listens to a tcp port and redirects > all input to another address:port. I want to debug http > and I need something that does what redir does plus > dumping all input & output to my terminal. Is there some- > thing like that in ports? Or somewhere else? Why dont you wish use tcpdump? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Drivers Needed for dell dimension 8300 Multimedia Audio Controller
Hi there: I will really appreciate if you can help me to obtain the drivers needed for the sound card of my Dell Dimension 8300. One million of thanks in advance. Sincerely, Carlos Azurdia [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: firewall
On 2006-04-06 21:04, ilyana ramlan <[EMAIL PROTECTED]> wrote: > hello, > i have another question, > > Do i have to install IPTable before configuring > hosts.allow file? There is no such thing as "IPTable" on FreeBSD. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: OT: tcp redictor with dump-(in|out)put-to-stdout capability
On Friday 07 April 2006 12:53, [EMAIL PROTECTED] wrote: > El día Friday, April 07, 2006 a las 12:43:09PM +0300, Nikos Vassiliadis escribió: > > > There is one of the oldest firewall toolkits, the TIS' FWTK, > > > > > > http://www.fwtk.org/main.html > > > > > > it has some so called 'plug-gw', writte in C, which does exactly what > > > you want, excepting TCP on one address:port and directing it > > > transparently to some other address:port (like the woman in the old > > > POTS did with the cable); you can (and I did it for testing purposes > > > as well) easy expand it to collect the data to some file, for example. > > > > It doesn't build on >=5.x :( > > The fwtk2.1 stops building in 'auth' on 6.0-REL with: > > $ make > ... > cc -g -o authsrv authsrv.o proto.o db.o pass.o srvio.o ../libauth.a > ../libfwall.a pass.o(.text+0x64): In function `passverify': > /usr/home/guru/sysSrc/fwtk/fwtk/auth/pass.c:39: undefined reference to > `crypt' pass.o(.text+0x129): In function `passset': > /usr/home/guru/sysSrc/fwtk/fwtk/auth/pass.c:70: undefined reference to > `crypt' *** Error code 1 > > but you don't need the 'authsrv'; just go over to > > $ cd plug-gw > $ make > cc -I.. -g -c plug-gw.c > cc -g -o plug-gw plug-gw.o ../libfwall.a > chmod 755 plug-gw > $ > > or fix the problem with 'crypt' :-) I installed 15 ports or so and finally I have found net/balance. It does the job nicely. I guess doing it in Perl (without knowing Perl) would be much faster... Thanks matthias Nikos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
pxeboot to -Install- FreeBSD...
Hi All, I've been messing about with FreeBSD 6.1-Beta#4 recently, and I'm trying to get a server setup, so that I can pxeboot and install FreeBSD on some other servers... I've gotten dhcpd, tftp, pxeboot et'al to work - and, indeed the client machine dhcp's, pxeboots - and dumps itself into an 'Amnesic' FreeBSD system, with df showing: " Filesystem 1k-blocks Used Avail Capacity Mounted On 10.0.0.1:/export/pxe 26353244 4071180 20173806 17% / devfs 1 1 1100% /dev /dev/md131470 134 28820 0% /var /dev/md21956612 17990 0% /tmp " Obviously, this would be great if I wanted to run FreeBSD off of nfs/pxeboot - but not so good for installing it... On the off chance - I tried logging in, and firing up 'sysinstall' - which didn't do too well, probably obviously :) What do I need to do, to turn this 'booting FreeBSD from pxeboot' into something that will dump me into sysinstall, like booting from the CD rom? I've searched the net - but the only stuff I've found is either for much earlier FreeBSD versions, or incomplete - or both :) Thanks, -Karl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: NAT, VPN and other SOHO router advice
> Given what you've said, you should set up the FreeBSD machine as a bridge > rather than a router. Having now read the manpage for bridge(4) and if_bridge(4), I am not certain that this is going to achieve what I want to achieve. I'm told by the FreeBSD HB that "The consensus is that assigning both cards an address is a bad idea." Since I want rl1 to have a public IP block and rl0 to have a private IP, I assume this isn't going to work. So, router it is. Now, for this VPN. I reckon my best bet is to run the PPTP client from the BSD box, no? Regards, Nick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: OT: tcp redictor with dump-(in|out)put-to-stdout capability
El día Friday, April 07, 2006 a las 12:43:09PM +0300, Nikos Vassiliadis escribió: > > There is one of the oldest firewall toolkits, the TIS' FWTK, > > > > http://www.fwtk.org/main.html > > > > it has some so called 'plug-gw', writte in C, which does exactly what > > you want, excepting TCP on one address:port and directing it > > transparently to some other address:port (like the woman in the old > > POTS did with the cable); you can (and I did it for testing purposes > > as well) easy expand it to collect the data to some file, for example. > > It doesn't build on >=5.x :( The fwtk2.1 stops building in 'auth' on 6.0-REL with: $ make ... cc -g -o authsrv authsrv.o proto.o db.o pass.o srvio.o ../libauth.a ../libfwall.a pass.o(.text+0x64): In function `passverify': /usr/home/guru/sysSrc/fwtk/fwtk/auth/pass.c:39: undefined reference to `crypt' pass.o(.text+0x129): In function `passset': /usr/home/guru/sysSrc/fwtk/fwtk/auth/pass.c:70: undefined reference to `crypt' *** Error code 1 but you don't need the 'authsrv'; just go over to $ cd plug-gw $ make cc -I.. -g -c plug-gw.c cc -g -o plug-gw plug-gw.o ../libfwall.a chmod 755 plug-gw $ or fix the problem with 'crypt' :-) matthias -- Matthias Apitz / Sisis Informationssysteme GmbH ein Tochterunternehmen der OCLC PICA B.V. Leiden (NL) D-82041 Oberhaching, Gruenwalder Weg 28g Fon: +49 89 / 61308-351, Fax: -399, Mobile +49 170 4527211 http://www.sisis.de/~guru/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: OT: tcp redictor with dump-(in|out)put-to-stdout capability
On Friday 07 April 2006 11:44, [EMAIL PROTECTED] wrote: > El día Friday, April 07, 2006 a las 11:32:04AM +0300, Nikos Vassiliadis escribió: > > Hi, > > > > I am searching for program similar to net/redir. It's > > a simple program that listens to a tcp port and redirects > > all input to another address:port. I want to debug http > > and I need something that does what redir does plus > > dumping all input & output to my terminal. Is there some- > > thing like that in ports? Or somewhere else? > > There is one of the oldest firewall toolkits, the TIS' FWTK, > > http://www.fwtk.org/main.html > > it has some so called 'plug-gw', writte in C, which does exactly what > you want, excepting TCP on one address:port and directing it > transparently to some other address:port (like the woman in the old > POTS did with the cable); you can (and I did it for testing purposes > as well) easy expand it to collect the data to some file, for example. It doesn't build on >=5.x :( Thanks > > matthias ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: BST instead of GMT
I am looking for a way to get my FreeBSD 5.3 box to show my local time as BST (British Summer Time) as apposed to GMT. su cd /etc rm -f localtime ln -s /usr/share/zoneinfo/Europe/London localtime ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: OT: tcp redictor with dump-(in|out)put-to-stdout capability
El día Friday, April 07, 2006 a las 11:32:04AM +0300, Nikos Vassiliadis escribió: > Hi, > > I am searching for program similar to net/redir. It's > a simple program that listens to a tcp port and redirects > all input to another address:port. I want to debug http > and I need something that does what redir does plus > dumping all input & output to my terminal. Is there some- > thing like that in ports? Or somewhere else? There is one of the oldest firewall toolkits, the TIS' FWTK, http://www.fwtk.org/main.html it has some so called 'plug-gw', writte in C, which does exactly what you want, excepting TCP on one address:port and directing it transparently to some other address:port (like the woman in the old POTS did with the cable); you can (and I did it for testing purposes as well) easy expand it to collect the data to some file, for example. matthias -- Matthias Apitz / Sisis Informationssysteme GmbH ein Tochterunternehmen der OCLC PICA B.V. Leiden (NL) D-82041 Oberhaching, Gruenwalder Weg 28g Fon: +49 89 / 61308-351, Fax: -399, Mobile +49 170 4527211 http://www.sisis.de/~guru/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
OT: tcp redictor with dump-(in|out)put-to-stdout capability
Hi, I am searching for program similar to net/redir. It's a simple program that listens to a tcp port and redirects all input to another address:port. I want to debug http and I need something that does what redir does plus dumping all input & output to my terminal. Is there some- thing like that in ports? Or somewhere else? Thanks, Nikos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"