Re: anyone have a favorite laptop?
On Wed, Sep 26, 2007 at 11:12:44AM -0400, Jerry McAllister wrote: > On Tue, Sep 25, 2007 at 09:24:55PM -0400, Bob Johnson wrote: > > I have installed FreeBSd on IBM/Lenova and Dell with little problem. > > But, I wonder if anyone here has had any dealings with a nice little > notebook from a Japanese company called 'Kojinsha'. I saw them the > last time I was in Japan, of course, running MS-something. They > are very compact, but still with a typable keyboard unlike some other > compact notebooks and a very sharp looking display. I am hoping I > can find them sold with an English Language setup in the USA. (I > have seen an European (British?) English Language version. > > So, has anyone seen these or better yet, tried one? I was quite tempted to order one of those from conics.net a while ago, but getting it across the border into Russia is a real PITA. When I googled to check for possible compatibility issues I saw people running Linux on it, there's a working Xorg driver, too. Most likely FreeBSD will run fine on it as well. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Stress testing/burning in HDD's
On Wed, Sep 26, 2007 at 01:59:25PM -0700, Don O'Neil wrote: > I have an array that has a drive that keeps timing out/failing... So I need > to replace it. However, I want to stress test/burn in a replacement disk > first. > > What is the best way to do this? Use smartmontools to run long self-tests. You can also try tools like mhdd (free) and spinrite (commercial) for in-depth analysis of a hard drive. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: D-Link G122 C1 (USB WiFi)
On Fri, Sep 28, 2007 at 03:06:03PM +0200, Dominique Goncalves wrote: > Hi, > > On 9/28/07, James Jeffery <[EMAIL PROTECTED]> wrote: > > Ive tryed for ages to get this USB Wifi card to work with FreeBSD6.2. > > > > Many forums are saying its impossible, ive tryed ndis, project evil ect. > > > > Has anyone had any success with it? > > There is rum(4) in 7.0-CURRENT according to the manpage it seems to be > supported. I have DWL-G122 C1 FW 3.00 working happily on recent current. Sometimes it hangs due to some USB stack problems, but not often enough for me to look deeper. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: linux-flashplugin9 (usable?)
On Wed, Oct 03, 2007 at 11:46:24PM +0200, Mel wrote: [..] > Cool, didn't know MPlayer could play .flv. In that case, videodownloader > firefox extension is even more useful: > https://addons.mozilla.org/en-US/firefox/addon/2390 /usr/ports/www/xpi-videodownloader :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: help with text-append over SSH ? - dd: unknown operand >>
On Fri, Oct 12, 2007 at 04:43:38PM -0700, Juri Mianovich wrote: > > --- Giorgos Keramidas <[EMAIL PROTECTED]> > wrote: > > > On 2007-10-11 16:49, Juri Mianovich > > <[EMAIL PROTECTED]> wrote: > > > > > > I have an account on a system where I cannot log > > in over SSH, but I > > > _can_ run a limited set of commands remotely, over > > SSH. (I am in a > > > jail of some sorts). > > > > > > I want to append the contents of a local text file > > to the contents of > > > a remote text file, over SSH. > > > > > > Normally, I would do this locally with: > > > > > > cat file1 >> file2 > > > > > > But again, file2 is remote, and I can't log in > > there... I have access > > > to the 'echo' command and the 'dd' command (among > > others) on the > > > remote host ... so for instance, I can do things > > like this: > > > > > > ssh [EMAIL PROTECTED] rm -rf filename > > > > > > So, with all that in mind, how do I append the > > contents of a local > > > file to a remote file, over SSH, using either > > 'echo' or 'dd' ? > > > > Try running: > > > > cat file1 | ssh [EMAIL PROTECTED] "dd >> file2" > > Thank you - I do indeed need to use 'dd' because I > don't have access to 'cat' in the chroot. > > However, when I use your example, I get this error: > > dd: unknown operand >> > > So I have something off a bit ... help ? cat file1 | ssh [EMAIL PROTECTED] "dd -of file2" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Xmodmap (or .xinitrc?) broken after xorg upgrade
On Sun, Oct 21, 2007 at 08:38:33PM -0400, Chris Hill wrote: > About a week ago, I updated my ports, including xorg. Now xmodmap isn't > running from ~/.xinitrc like it used to. > > My .xinitrc is the same as it's been for years, so it includes the lines > if [ -f $usermodmap ]; then > xmodmap $usermodmap > fi > > After some experimenting, I find that if I run > $ xmodmap .Xmodmap > $ xmodmap .Xmodmap > ...twice, as shown, in an xterm after X gets going - then my .Xmodmap takes > effect. > > If I comment out that section of ~/.xinitrc, then I only have to run > $ xmodmap .Xmodmap > once in an xterm. I would like not to have to run xmodmap manually at all, > but have .xinitrc take care of it, just as it used to be before the > upgrade. > > Any ideas? Many thanks in advance. No ideas, but a "same here". It's a good thing that I don't have to reboot all that often. Doesn't bother me enough to look deeper. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: defend from -> :() { :&:; } ;:
On Sun, Oct 21, 2007 at 12:10:02PM -0700, Danielisz Laszlo wrote: > Please do not try to execute this: :() { :&:; } ;: on your BSD machine. > I ask all who already tried it how to defend from this? rm /bin/sh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Dangers of using a non-base shell
On Tue, Oct 30, 2007 at 01:39:12PM +0200, Giorgos Keramidas wrote: > On 2007-10-29 20:50, Stephen Allen <[EMAIL PROTECTED]> wrote: > > It's been drawn to my attention not to use bash from the ports > > collection, because if one of it's dependencies (gettext or libiconv) > > fails or is updated significantly, it could break, and prevent > > login. The suggested solution was to use a base shell (such as sh) and > > append 'bash -l' to .shrc to automatically enter bash. > > > > The quite annoying side-effect is having to type 'exit' twice to get > > out of a su shell or screen. > > > > Would it be a better idea to use the pre-compiled binary for bash? > > And if I did so, could I be alerted to updates as easy as using > > 'pkg_version -v' when checking if any ports need updating? > > I've been using the following for some time: > > keramida> su - > Password: > root# exec env SHELL=/usr/local/bin/bash bash -l I know it doesn't work on slolaris^W some Unix flavors, but I've been quite happy with "su -m". It changes workflow in many ways, but once you get a handle of it, it can really be useful. E.g. my zsh history is shared between root and the user who su'd into him. And if anything goes wrong, I just drop the -m key. It's another story when it comes to remote login (non-root)... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: linux firefox
On Sun, Nov 11, 2007 at 01:38:22AM +, Tino Engel wrote: > Dear FreeBSD folks, > > I have a weird problem: > > linux-firefox and linux-firefox-devel behave the same way. > When I quit them, and try to restart them, they complain about beeing > already running. > > I have to manually delete > > /usr/compat/linux/root/.mozilla/firefox/*.prpfile/lock > /usr/compat/linux/root/.mozilla/firefox/*.profile/.parentlock > > to be able to start them again. > > Normal firefox and firefox-devel do not behave this way, but I want to be > able to use the linux-flashplugin. > > Any hints? (Apart from writing a wrapper removing the lockfiles... How > ugly) - Never run Firefox under root. Please tell if it doesn't help you. - CC maintainer of the port when its not working (run "make maintainer" to get his address). - Don't start new threads on mailing-lists by hitting the "reply" button. Users of sane user agents will see your new question as part of some old discussion and have a good chance to miss it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Neither linux-firefox nor linux-opera uses java plugin
On Sun, Nov 11, 2007 at 05:45:42PM +, Tino Engel wrote: > Dear all, > > Any help concerning the topic as follws would be very appreciated. > > freebsdangel# uname -a > FreeBSD freebsdangel.de 7.0-BETA2 FreeBSD 7.0-BETA2 #0: Sat Nov 10 20:15:45 > UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 > freebsdangel# > > It seems that this browser-plugin stuff is neverending. > All native freebsd browsers refuse to use plugins at all. > The linux versions of opera and and firefox correctly recognize the > linux-flashplugin7. > But the java-plugin is not recognized although having been linked correctly > from diablo portsinstall. You can't use native diablo jdk/jre with linux browsers. Try java/linux-sun-* > Another related issue: linux-flashplugin9 always segfaults the browser when > used. I dunno what to do, I would relly like to be able to watch latest > flash movies. This dead body is beaten every other day. Personally, I download flash movies and watch them with mplayer. Other solutions include dedicating your life to petitioning Adobe to stop making money and start porting their software to FreeBSD; and switching to Windows. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Neither linux-firefox nor linux-opera uses java plugin
On Tue, Nov 13, 2007 at 01:06:29PM -0500, Robert Huff wrote: > Andrew Pantyukhin writes: > > > This dead body is beaten every other day. Personally, I download > > flash movies and watch them with mplayer. > > I know about youtube-dl; is there a generic method for doing > this with other Flash content? www/xpi-unplug www/xpi-videodownloader ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: linux firefox
On Tue, Nov 13, 2007 at 11:17:11PM +0100, Tino Engel wrote: > Andrew Pantyukhin schrieb: >> On Sun, Nov 11, 2007 at 01:38:22AM +, Tino Engel wrote: >> >>> Dear FreeBSD folks, >>> >>> I have a weird problem: >>> >>> linux-firefox and linux-firefox-devel behave the same way. >>> When I quit them, and try to restart them, they complain about beeing >>> already running. >>> >>> I have to manually delete >>> >>> /usr/compat/linux/root/.mozilla/firefox/*.prpfile/lock >>> /usr/compat/linux/root/.mozilla/firefox/*.profile/.parentlock >>> >>> to be able to start them again. >>> >>> Normal firefox and firefox-devel do not behave this way, but I want to be >>> able to use the linux-flashplugin. >>> >>> Any hints? (Apart from writing a wrapper removing the lockfiles... How >>> ugly) >>> >> >> - Never run Firefox under root. Please tell if it doesn't help >> > I do not have another account Using your computer under root account is the Windows way of doing things. But even in that world it is now strongly recommended to create a non-privileged account and use it for most tasks. In the Unix world, root is most commonly reserved for system administration tasks. Run adduser (without any arguments) to enter a simple interactive process of adding a new user - and don't use root when you don't need it. See the FreeBSD Handbook for more info on this and other topics. ___ 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 see UNICODE character number?
On Thu, Nov 15, 2007 at 01:27:21PM +0100, Nikola Lečić wrote: > On Wed, 14 Nov 2007 11:51:06 -0800 > Yuri <[EMAIL PROTECTED]> wrote: > > > But it's still strange that there's no GUI utility in KDE or just X > > that would do it. > > There are at least two very convenient GUI ways do to this: > > (1) (g)ViM: assuming that you use UTF-8 to interptet Unicode and that > (2) deskutils/gucharmap: GTK2 application, doesn't pull many Gnome (3) x11/rxvt-unicode - you just press and hold Ctrl+Shift+LClick and move cursor around. Urxvt will show info on any char you point at. (4) In a UTF-8 console: iconv -l|grep UTF echo |iconv -t UTF-32|hexdump ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD router and WCCP
On Fri, Nov 16, 2007 at 12:48:52PM -0500, Steve Bertrand wrote: > Does anyone know of a way to configure WCCP redirect support into a > FreeBSD based router without having to install squid? I've only used FreeBSD as a WCCPv1/v2 sink (receiver), but you can try sending out packets out of gre(4). That should probably work. If you're trying to redirect traffic to another machine running squid, consider avoiding WCCP, it's not a very bright protocol. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ACLs and tar(1) (bsdtar)
Is there a reliable way to store ACLs in tar archives? I've tried to create with "tar cpf" and extract with "tar xpf" with no luck. Only flags are extracted correctly. Should I use another format (I've tried pax as per default and ustar)? Is it possible at all? I'll be glad to hear about any solution which allows for selective archival of a file system. I.e. anything except for dump/restore. So far I haven't had any luck with pax and cpio. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD router and WCCP
On Mon, Nov 19, 2007 at 08:58:34AM -0500, Steve Bertrand wrote: > Andrew Pantyukhin wrote: > > On Fri, Nov 16, 2007 at 12:48:52PM -0500, Steve Bertrand wrote: > >> Does anyone know of a way to configure WCCP redirect support into a > >> FreeBSD based router without having to install squid? > > > > I've only used FreeBSD as a WCCPv1/v2 sink (receiver), but you > > can try sending out packets out of gre(4). That should probably > > work. > > > > If you're trying to redirect traffic to another machine running > > squid, consider avoiding WCCP, it's not a very bright protocol.j > > Thanks for the response. > > We are deploying a commercial appliance as a content filter, so I can > only assume that it is running a customized version of Squid but I don't > know. > > Do you have any recommendation on what I should use if WCCP is not > recommended? ipfw forwarding is a very easy way to redirect traffic without changing it. PF has similar functionality. It all depends on what the appliance supports. If wccp is the only way it can eat packets, try playing with gre(4). But maybe it'll consume just plain packets with "wrong" IP destinations arriving on its MAC address, just the way squid on FreeBSD does. BTW, if the appliance supports ICAP, you'll be much better off running squid on a FreeBSD box and filtering content through ICAP. > The filter will not be inline, and it will be an opt-in type service, so > only certain traffic will need to be redirected. You'll be able to use ipfw or pf to tune the policies to a very fine degree. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD router and WCCP
On Mon, Nov 19, 2007 at 10:10:43AM -0500, Steve Bertrand wrote: > > > ipfw forwarding is a very easy way to redirect traffic without > > changing it. PF has similar functionality. It all depends on what > > the appliance supports. If wccp is the only way it can eat > > packets, try playing with gre(4). But maybe it'll consume just > > plain packets with "wrong" IP destinations arriving on its MAC > > address, just the way squid on FreeBSD does. > > > > BTW, if the appliance supports ICAP, you'll be much better off > > running squid on a FreeBSD box and filtering content through > > ICAP. > > The appliance does indeed have ICAP capabilities, but I have never > dabbled with it before. > > I am familiar with IPFW, but I'd like to know all options in order to > choose the best one. > > I would very much prefer to do this in a way without having to have > Squid running on the box, but will if I have to. If filtering is all you want, you don't have to set up squid as a caching proxy. I.e. it won't need much RAM and disk space. I have yet to set up ICAP (with c-icap) in our workshop, but from discussions on squid mailing lists it seems ICAP is in a pretty usable state, both in squid 2.x and 3.x. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Networker
On Mon, Nov 19, 2007 at 10:04:53AM -0500, Paul Urdanivia wrote: > The EMC Networker is supported in freebsd ? Not officially, but there are success reports from people using either old FreeBSD-native versions or newer Linux versions of the networker client. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
efficient terminal/console screencasting
A while ago I needed to screencast a terminal to a class of students in real-time. It turned out to be quite straightforward with screen(1) in multiuser mode. Now I want to record screencasts and allow people to watch them later. I'm looking at recordmydesktop, but the innefficiency strikes me: I'm operating in text-only environment, there's no need to record every frame as a flat bitmap. Whatever codec I choose, the files will be huge and of low quality. What I need is something like script(1) on steroids: - accurately record the complete state of my terminal window at any given moment - store it as a succession of updates, each represented in a text-based format (as opposed to pixel-based) - record timings correctly - allow for a method to record speech in the background - allow for a method to play it all back in sync Has anyone heard about any tool which would help me achieve at least some of my requirements? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: efficient terminal/console screencasting
On Wed, Nov 21, 2007 at 03:29:55PM -0800, Kevin Downey wrote: > On 11/21/07, Andrew Pantyukhin <[EMAIL PROTECTED]> wrote: > > A while ago I needed to screencast a terminal to a class of > > students in real-time. It turned out to be quite straightforward > > with screen(1) in multiuser mode. > > > > Now I want to record screencasts and allow people to watch them > > later. I'm looking at recordmydesktop, but the innefficiency > > strikes me: I'm operating in text-only environment, there's no > > need to record every frame as a flat bitmap. Whatever codec I > > choose, the files will be huge and of low quality. > > > > What I need is something like script(1) on steroids: > > - accurately record the complete state of my terminal window at > > any given moment > > - store it as a succession of updates, each represented in a > > text-based format (as opposed to pixel-based) > > - record timings correctly > > - allow for a method to record speech in the background > > - allow for a method to play it all back in sync > > > > Has anyone heard about any tool which would help me achieve at > > least some of my requirements? > > Oh man, do I have an idea for you: > subtitles! > > use mjpeg for video with just a black frame > use whatever audio you want > a modern container format and a modern subtitle method will let you > put whatever characters you want where ever you want on the video. > Boom a video that plays and the "textual" information is kept intact > and can even be demuxed from the multimedia stuff. There are basically two ways the subtitles are encoded: bitmap and text. Both will require a full screen dump on every update. Neither allow for colors (there are html hacks though). AFAIK, there's no way to store activity in form of updates in subtitles. Moreover, even in case of bitmaps, subtitles are still utterly unstandardized. Their look is very player-dependent. But the idea is cool, thanks! I might perform a few benchmarks with mplayer when I have time. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
lightly loaded php+mysql - high syscall/csw rates
We have a php+mysql web server. It serves 15-20 http requests per second, resulting in 100-200 sql qps. But according to vmstat(1), it all peaks at over 500k syscall/s and 100k cswitch/s. The peaks are quite frequent, even at this load. During the peaks top(1) shows 30-40k VCSW for mysql and around 1k vcsw for two php-cgi worker processes. IVCSW is relatively very low for all processes. This is a 4-core Opteron HP DL145 G2 server running 6.2/amd64 generic+quota. I'm considering a switch to 7.0. During peaks user/system/idle in top(1) is 20/30/50. The question is - is the syscall and csw rates normal or should I be trying to tune mysql and php more agressively? I'm not hungry for performance (haven't hit the limit yet), but a couple of days ago the server stopped responding until a cold reboot (which is another story) - and now I'm paying closer attention to its vitals. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: lightly loaded php+mysql - high syscall/csw rates
On Thu, Nov 22, 2007 at 02:52:06PM +, Vince wrote: > Andrew Pantyukhin wrote: > > We have a php+mysql web server. It serves 15-20 http requests per > > second, resulting in 100-200 sql qps. But according to vmstat(1), > > it all peaks at over 500k syscall/s and 100k cswitch/s. The peaks > > are quite frequent, even at this load. During the peaks top(1) > > shows 30-40k VCSW for mysql and around 1k vcsw for two php-cgi > > worker processes. IVCSW is relatively very low for all processes. > > > > This is a 4-core Opteron HP DL145 G2 server running 6.2/amd64 > > generic+quota. I'm considering a switch to 7.0. > > > > During peaks user/system/idle in top(1) is 20/30/50. > > > > The question is - is the syscall and csw rates normal or should I > > be trying to tune mysql and php more agressively? I'm not hungry > > for performance (haven't hit the limit yet), but a couple of days > > ago the server stopped responding until a cold reboot (which is > > another story) - and now I'm paying closer attention to its > > vitals. > This sounds like it could be related to the issues being discussed on a > thread on freebsd-stable titled "2 x quad-core system is slower that 2 x > dual core on FreeBSD" > [http://docs.freebsd.org/cgi/mailindex.cgi?sort=subject&file=current/freebsd-stable] Yeah, I'm following that thread, I just wanted to know if anyone else gets 500k+ syscalls per second on an php+mysql web server at 20 pages per second. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: efficient terminal/console screencasting
On Thu, Nov 22, 2007 at 10:00:48AM +0530, Girish Venkatachalam wrote: > On 21:26:41 Nov 21, Andrew Pantyukhin wrote: > > A while ago I needed to screencast a terminal to a class of > > students in real-time. It turned out to be quite straightforward > > with screen(1) in multiuser mode. > > screen(1) is really cool. :) > > > Now I want to record screencasts and allow people to watch them > > later. I'm looking at recordmydesktop, but the innefficiency > > strikes me: I'm operating in text-only environment, there's no > > need to record every frame as a flat bitmap. Whatever codec I > > choose, the files will be huge and of low quality. > > How about ttyrec(1) and ttyplay(1) ? Oh, yes. I've tried ttyrec a few years ago but have completely forgotten about it since. Thanks, it helps a lot! > > What I need is something like script(1) on steroids: > > - accurately record the complete state of my terminal window at > > any given moment > > - store it as a succession of updates, each represented in a > > text-based format (as opposed to pixel-based) > > If you want pixel based output then there are quite a few options but > none to my taste. As you mention they all are bloated. > > > - record timings correctly > > - allow for a method to record speech in the background > > This you have to do manually with sox(1). Not a big deal. A simple shell > script can do what you want. > > > - allow for a method to play it all back in sync > > This is no big deal either. If you want to create a video, then you have > to go in for pixel based stuff. You can however do efficient compression > and use a good codec like x264 or something. > > > Has anyone heard about any tool which would help me achieve at > > least some of my requirements? > > Your idea seems good enough to create an open source tool that does > exactly what you want. I'm still hoping to get by with some hacks, but you might be right. It's a pity and almost a surprise there's no widely available text-based video codec. Maybe I just need to try my luck on mplayer-related mailing lists. P.S. Please don't post to questions@ and freebsd-questions@ at the same time. It's the same list and you're just sending double mails. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: efficient terminal/console screencasting
On Fri, Nov 23, 2007 at 02:09:10AM +0300, Andrew Pantyukhin wrote: > I'm still hoping to get by with some hacks, but you might be > right. It's a pity and almost a surprise there's no widely > available text-based video codec. Maybe I just need to try my > luck on mplayer-related mailing lists. I see there are at least Ogg Writ [1] which is in early development stages and Camtasia TechSmith Screen Capture Codec [2] which is a closed-source Windows-only thing. I hope there are more I don't know about yet. [1] http://wiki.xiph.org/OggWrit [2] http://www.techsmith.com/codecs/tscc/default.asp ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: creation of tap interface
On Fri, Nov 23, 2007 at 06:33:48PM +0100, Alain G. Fabry wrote: > On Fri, Nov 23, 2007 at 01:59:55PM +0300, Andrew Pantyukhin wrote: > > On Thu, Nov 22, 2007 at 10:41:58PM +0100, Alain G. Fabry wrote: > > > I get the following error however when trying to create the tap > > > interfaces > > > > > > FreeBSD# ifconfig tap create ifconfig: SIOCIFCREATE: Invalid > > > argument What version of FreeBSD are you running? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: creation of tap interface
On Thu, Nov 22, 2007 at 10:41:58PM +0100, Alain G. Fabry wrote: > > Hi, > > I'm setting up Qemu, have installed Ubuntu and Gentoo guests on > FreeBSD host but I would like to get the network interfaces to > work also. > > I get the following error however when trying to create the tap > interfaces > > FreeBSD# ifconfig tap create ifconfig: SIOCIFCREATE: Invalid > argument > > What is the problem here? The command should work as you typed it, but try this: # kldload if_tap # ifconfig tap0 create ^^^ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mysql ports
On Thu, Nov 22, 2007 at 10:23:01AM -0800, jekillen wrote: > Hello; > I have installed mysql51-client, mysql51-server, and mysql51-scripts. > I looked for pkg_message in mysql51-scripts but there is none. > Where do I get info on what this port has and what it does? > Thank you for info pkg_info -Lx mysql-scripts|less -S >From there you can use man(1) or Google. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: eyeOS
On Mon, Nov 26, 2007 at 08:04:48PM -0800, Tony Kivits wrote: > I have just installed eyeOS from the ports but have noticed > that the port is a little out of date. > > Has anyone had any success in updating to eyeOS 1.2 and if so, > what did you have to do to make it work? The developers have changed the format of the distribution in a radical way. I took a look but didn't have time to handle the update. It's on my extended todo list, which doesn't promise much. Next time, please address your inquiries to the port maintainer and cc ports@, not [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: BSDs support for NTFS read-write (using ntfs-3g)
On Tue, Nov 27, 2007 at 05:33:24PM +0800, [EMAIL PROTECTED] wrote: > Could you please advise me whether the ntfs-3g command can be > (ported) used in BSDs for read-write access to NTFS. http://www.freshports.org/sysutils/fusefs-ntfs/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Where is the next uid from adduser pulled from?
On Wed, Dec 12, 2007 at 12:00:06PM -0500, Francisco Reyes wrote: > I have scripts to add new users. However, after that any port that installs > a user creates it with a UID after the ones I made. > > For example I want all employees to have uids starting at 5000, but I would > like too port installed uids to be 2000 and up. After I add some users (ie > say last user is 5008), the next port that installs a user and doesn't > specify uid.. then will get 5009. > > Tried looking for the adduser program, but could not find adduser.c It's pw(8) that selects default uids and it just takes the last one (numerically) and uses the next one. Create a placeholder user with uid 5000 and let ports use uids 5000+, but when creating new users, specify uids manually (both pw and adduser allow that). Good luck! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: MOXA serial multi-port PCIe boards and FreeBSD 7.0R
On Tue, Mar 25, 2008 at 11:51:41AM +0300, Leonid Satanovsky wrote: > Hello, people! > Does anybody know whether any of the MOXAs' serial multi-port PCIe boards > are supported under FreeBSD 7.0R? // > ( non of them was found in "sys/dev/puc/pucdata.c" )// They seem to, ask Moxa for details. All we had to do is to add the pci id. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD Traffic Shaping
On Wed, Apr 02, 2008 at 12:55:58AM -0800, Ted Mittelstaedt wrote: > It is that it's impossible to limit INCOMING bandwidth from the > Internet. The fact is you can limit incoming TCP with little to no packet loss and almost any other traffic stream (including P2P) with 1-10% loss. > In short, the bandwidth limiting code really has little > practical value when implemented in FreeBSD that is why few do > it. :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Pkg_info corrupt for some packages
On Fri, Apr 11, 2008 at 04:32:32PM +0200, Aijaz Baig wrote: > I was trying to find a way to list all the packages on my > system and I came across this little article and accordingly > issued the command *pkg_info | grep 'package name' *and I saw > the following on the screen instead: > > pkg_info: the package info for package 'Terminal-0.2.8' is corrupt > ... > pkg_info: the package info for package 'xorg-server-1.4_4,1' is corrupt > > How did the pkg_info information for the above mentioned > packages became corrupt?.. Possibly the usual portupgrade fckup^Wglitch. > Is there to fix this problem? Reinstall all packages. > Furthermore, how do see the list of all the > available(installed) packages on my system? ls /var/db/pkg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Pkg_info corrupt for some packages
On Sun, Apr 13, 2008 at 11:41:19AM +0200, Aijaz Baig wrote: > Hi, > > Well...I tried to cut and paste the command as is by mel (though It would > have been better if you explained what that cryptic looking command actually > meant) and I got the followinfg output: > > 'grep: /var/db/pkg/xorg-server-1.4_4,1/+CONTENTS: No such file or directory > egrep: Unmatched ( or \(' Find out how many packages lost their contents: ls /var/db/pkg/*/?COMMENT|wc -l ls /var/db/pkg/*/?CONTENTS|wc -l Last time portupgrade removed all contents on my box, I had to extract port origins from pkgdb.db, then mkdir /var/db/pkg-old/ mv /var/db/pkg/* /var/db/pkg-old/ for i in origins; do cd /usr/ports/$i && make install done ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Pkg_info corrupt for some packages
On Mon, Apr 14, 2008 at 10:47:01PM +0200, Aijaz Baig wrote: > Hello, > > I tried running the script suggested by mel and after that I was able to see > that some of those packages got registered as installed. > > However some of the packages were not being found and as an example I saw > the following: > > Restoring doodle-0.6.6_1 > Failed: cannot find doodle-0.6.6_1 in /usr/ports/INDEX-7* > > *Then as suggested by andrew I tried to see just how many packages have been > messed and to my shock the figure for the first command was 336 and for the > second command was 326. > > Well...how do I 'extract the port origins' from pkgdb.db?I am sorry if I > sound naive but im a bit new to freebsd. Ten lost ports is easy enough to do by hand - look what packages miss their contents and find them in the ports tree. Then just cd to each /usr/ports/whatever/whenever and run make install -DFORCE_PKG_REGISTER That should do it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Japanese dictionary-software for FreeBSD?
On Mon, Apr 21, 2008 at 07:53:48PM +0200, Niels Kobschaetzki wrote: > Hi! > > Anyone on the list that can tell me which software is usable under > FreeBSD as an edict-client? I just do not get gjiten compiled and I > don't know other useful ones… textproc/dict dict -h nihongobenkyo.org 水 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Search for files in not installed ports
On Wed, Apr 23, 2008 at 10:10:31PM +0200, Anselm Strauss wrote: > Hi, > > is there an easy way to find the port that will install me a specific file? > So far, I only found the following: > > # find /usr/ports -name pkg-plist | xargs -I {} grep -H 'bin/wish' {} That's the right way to do it, but have a look at portsearch from ports. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Install port without man page
On Tue, Apr 15, 2008 at 07:34:35PM +0200, Mel wrote: > On Tuesday 15 April 2008 18:07:42 Ashant Chalasani wrote: > > > Is there a way to install a port without the man-pages. I'm trying to > > install a dhcp server onto a Tinybsd image and end up buying myself a > > bunch of files in /man, as seen at > > http://code.google.com/p/tinybsdap/wiki/InstallingPorts (hope the > > linking is not minded). > > If the port controls installing the manpages, then you can set > NO_INSTALL_MANPAGES in /etc/make.conf. NO_INSTALL_MANPAGES is traditionally just an imake-related hack, which is hardly respected, but rather used. At the moment there is no policy or knob to control manpage installation. However, many ports respect MANPREFIX/MANxPREFIX. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [CRON] Recommended FTP client to download and upload files?
On Sat, May 03, 2008 at 04:46:27PM +0200, Gilles wrote: > Hello > > I need to run a CRON job to download files from one FTP server if > they're more recent, and upload them to another FTP server. The files > all live in one directory, so there's no need for recursion. > > What command-line FTP client would you recommend for this? ftp(1) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: logger blocking
On Sat, May 03, 2008 at 11:21:16AM +0200, Wojciech Puchar wrote: > how to prevent logger working for non-root? > it allows any user log anything it likes. > > i can change permission for /var/run/syslogd.socket but many different > programs running as different users logs through this. Let's see what options we have... a) rm -rf /usr/bin/logger b) echo 'echo I am a bad boy;rm -rf $HOME' > /usr/bin/logger c) create group 'syslog' add good users to it chown :syslog /var/run/syslogd.socket chmod 660 /var/run/syslogd.socket ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Installing PERL modules from CPAN (instead of ports)
On Sat, May 03, 2008 at 07:21:57PM -0400, Sahil Tandon wrote: > In order to setup postfwd (http://postfwd.org), of which there is no FreeBSD > port, several PERL modules are required; one of them, Net::DNS::Async, also > does not exist as a FreeBSD port. If I install this via CPAN, postfwd works, > but then this breaks portupgrade and portmanager when trying to update perl > or keep track of new versions of the bsdpan-* "packages". Is there another > way to go about this outside of trying to create my own postfwd and > Net::DNS::Async ports? Try to request help on [EMAIL PROTECTED] (cc'ed). Perl ports are usually very easy to create and maintain, so if you don't want to spend 30 minutes learning, someone with enough experience can probably do it in a couple of minutes if you ask nicely :) Yes, making a new port is the easiest way to install something from CPAN. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: sshd on FreeBSD default allows blank passwords?
On Tue, May 06, 2008 at 02:26:43PM -0400, T. wrote: > I didn't realize this before, but it came to my attention when > debugging PAM problems. Actually, sshd default does not allow > it, but another default is in enabling PAM. It's passing power > over to PAM which is allowing it. > > I didn't see another way immediately available to fix it, so I > disabled PAM in sshd. Works as expected now. > > Is there a PAM solution for this? > > Is this intended to be the default behavior? Now that you mention it, I also was under impression that the reverse should be default. I'm no pam expert, but I thought "nullok" was required in /etc/pam.d/sshd next to pam_unix in order for empty passwords to work. But there's no "nullok" there by default and empty passwords still work. Disturbing. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Ports/Packages Philosophy
On Tue, May 06, 2008 at 10:21:33AM -0700, Dsiuh Djsids wrote: > I am interested to know what some of your software > installing/updating philosophies are regarding ports/packages > on either a server or a home desktop. For example, how often do > you update your software and when you do, do you run something > like 'portupgrade -a' or individually take care of each piece > of software? Daily "portupgrade -a" with 1500+ packages installed on my laptop is more refreshing than reading slashdot with a cup of coffee. For real opinions look through the recent archives of this list, your question has come up surprisingly often in the last few weeks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: gnash leave a blank page when visit youtube
On Mon, Jun 02, 2008 at 03:58:41PM -0500, Derek Graham wrote: > I heard a rumor Microsoft was planning to create a linux > version of silverlight FWIW, the Linux version of Moonlight kinda works on FreeBSD. Not functional or stable yet, but it does work with at least a few sites I tried. http://www.go-mono.com/moonlight/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Buffer space and socket syscall tracing
I've stumbled upon the infamous "No buffer space available" problem (with thousands of netgraph nodes). I'm wondering if there's a really comprehensive way to debug it. I know that it's probably a matter of some sysctl, but I've googled and tuned for days - and I now feel that there must be another way. Truss and ktrace both say that the error is generated when a socket syscall is made. Is there a way to trace inside the syscall and find the very particular reason for this? I know that it might not be of any use to me as I'm not any kind of kernel hacker, but I want to give it a shot. Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Encrypted syslog over network
On 1/27/06, Erik Norgaard <[EMAIL PROTECTED]> wrote: > Hi: > > I was thinking, is there any way of secure syslogging to a different > server? > > AFAIK syslog uses udp/514 and I would like to monitor a number of remote > hosts. > > Now, for privacy and security reasons, I would like that the syslog > messages are sent encrypted. This may require pre-shared keys as the udp > protocol does not include a handshake and key exchange. > > Any solution for this? syslog-ng doesn't seem to include such feature. > > Thanks, Erik > > -- > Ph: +34.666334818 web: www.locolomo.org > S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt > Subject ID: 9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72 > Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9 > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > It's 2006. IPSec is the answer. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Encrypted syslog over network
On 1/27/06, Erik Norgaard <[EMAIL PROTECTED]> wrote: > Andrew Pantyukhin wrote: > > On 1/27/06, Erik Norgaard <[EMAIL PROTECTED]> wrote: > >> Hi: > >> > >> I was thinking, is there any way of secure syslogging to a different > >> server? > >> > >> AFAIK syslog uses udp/514 and I would like to monitor a number of remote > >> hosts. > >> > >> Now, for privacy and security reasons, I would like that the syslog > >> messages are sent encrypted. This may require pre-shared keys as the udp > >> protocol does not include a handshake and key exchange. > >> > >> Any solution for this? syslog-ng doesn't seem to include such feature. > >> > > It's 2006. IPSec is the answer. > > Yeah, I considered that, but then you have the problem with NAT, > something lighter would be neat. > > Cheers, Erik > Well, I would say "It's 2006. IPv6 is the answer", but you'll probably find another reason not to do it :-) Ssh port forwarding is the second solution on my list. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Is there a how-to super-page for FreeBSD?
On 1/28/06, Xn Nooby <[EMAIL PROTECTED]> wrote: > There are several websites people have put together for Ubuntu that show > every little step for configuring Ubuntu, is there such a page for FreeBSD? > > For example, tonight I installed Firefox, and wanted to install Acrobat, > Flash, Realplayer, and Java. I was able to find Acrobat and Flash by using > Google (the solution was at bsdforums.org). Realplayer and Java I still > need to find. > > Here is an example of a really useful Ubuntu page: http://ubuntuguide.org > > The "Add-On Applications" is especially useful for people who have just done > an install, and want their machine to be a "desktop" machine. > > It just seems like the only way to find out things for FreeBSD is to ask on > the lists, or Google a list archive. It would be really great if there was > a "super-page" that had all the common add-ons. I use Fluxbox instead of > GNOME or KDE, so I prefer generic solutions. > > I've been keeping notes as I play with FreeBSD, and will eventually put up > such a page if no one beats me to it. I'm still a FreeBSD nooby though, so > it might take me a while. There are some people here that bascially know > how to do everything with FreeBSD, I guess I'm hoping they will put > something together (or maybe help me). > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > This will not answer your question, but it's what one should clearly understand when he goes on to FreeBSD. The spirit of this OS makes howtos seem like a not very good thing. A howto takes you by your hand and leads you through a difficult process. You get some glimpses of how to do some small things, you can even gain experience through following a howto, but you'll never get a solid understanding of how things work. Now a true FreeBSDer is avid for profound comprehension of technology. He usually prefers reading some 500 pages of documentation when he only needs a paragraph to finish a job. And he often appreciates a reference to a good manual more than a direct answer or explanation. When he's doing something he knows what he's doing and how to do it. [I really hope I speak for most of us] The "howto way" often makes me feel unpleasant about some linux-related activities. People there often act like "Oh look, it works. Don't touch it! Leave well alone!" my $.02 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: pptp server
Please cc mpd-users@lists.sourceforge.net or use the forum at the project page. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Which linux_base port to use?
On 1/30/06, Joel Hatton <[EMAIL PROTECTED]> wrote: > Hi, > > I'd like to try a linux binary application (Arkeia backup server) under > FreeBSD R6, so naturally this means linux compatibility, but I'm a little > confused - until today I presumed that only one 'linux_base' port existed. > A brief inspection of the Makefile for linux_base shows it to be Redhat > 7.3 level, but as 8 and 9 are available I don't know if I should choose > one of these later releases or another flavor entirely. I'm able to obtain > the software package for quite a few different linux distributions and > releases, and I don't need X11, so I guess I can narrow it down a little > that way as some linux_base* are more minimal than others, but I'd like > to pick the one that is most regularly maintained and least likely to cause > me issues down the track. > > Any suggestions? > > thanks, > -- Joel Hatton -- > Security Analyst| Hotline: +61 7 3365 4417 > AusCERT - Australia's national CERT | Fax: +61 7 3365 7031 > The University of Queensland| WWW: www.auscert.org.au > Qld 4072 Australia | Email: [EMAIL PROTECTED] > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > There's a good article on linux compatibility: http://www.onlamp.com/pub/a/bsd/2006/01/12/Big_Scary_Daemons.html Try to stick with the default (linux_base-8), then try rh-9. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [Mpd-users] routing issue of mpd
On 1/31/06, gahn <[EMAIL PROTECTED]> wrote: > Hi: > > I got mpd working and logined into pptp server through > internet. From my pc, I can ping internal interface of > the pptp server, 192.168.128.1 (my pc address is > 192.168.128.10). the problem is that I can't ping > anything beyond that, such as 192.168.128.2 (it > actually is an interface of a router, on the same > subnet). > > From cmd of windows, with command "ipconfig": > > Ethernet adapter Local Area Connection: > > Connection-specific DNS Suffix . : > IP Address. . . . . . . . . . . . : > 254.254.254.100 > Subnet Mask . . . . . . . . . . . : > 255.255.255.0 > Default Gateway . . . . . . . . . : > 254.254.254.1 > > PPP adapter test: > > Connection-specific DNS Suffix . : > IP Address. . . . . . . . . . . . : > 192.168.128.10 > Subnet Mask . . . . . . . . . . . : > 255.255.255.255 > Default Gateway . . . . . . . . . : > > So how could I change the length of the masking of the > ppp adapter? > > once I can change the length of the masking bits, then > I can route my traffic into the rfc1918 networks that > behind of the vpn server. > > the manual page of: > > http://www.bretterklieber.com/mpd/doc3/mpd22.html > > don't seem to be matter though. > > here is the mpd.conf: > > default: > load pptp0 > > pptp0: > new -i ng0 pptp0 pptp0 > set ipcp ranges 192.168.128.1/21 > 192.168.128.10/21 > load common > > common: > set iface disable on-demand > set iface enable proxy-arp > set iface idle 1800 > set iface enable tcpmssfix > set bundle disable multilink > set bundle enable compression > set bundle yes crypt-reqd > set link no pap chap > set link enable chap-msv2 > set link keep-alive 10 60 > set link enable acfcomp protocomp > set ipcp yes vjcomp > set ipcp dns 192.168.64.96 > set ccp yes mppc > set ccp yes mpp-e128 > > BTW, mpd4 seems to be not very stable; I switched back > to 3.18 and it works fine. > > TIA > > __ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > > --- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > ___ > Mpd-users mailing list > Mpd-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mpd-users > It would be strange if a ppp connection had a different subnet mask. You really should get into some reading on basic TCP/IP. What you need is to setup a route, something like this: route add 192.168.128/21 192.168.128.1 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: portupgrade xorg-* -> mouse-wheel stops working under X
You can always tell xmodmap that you've got 11 buttons (or whatever xorg tells you in its log). Just add ... 8 9 10 11 to the map and it will work fine once again. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: changelog from 6.0-RC1 to 6.0-RELEASE
On 2/2/06, Nathan Vidican <[EMAIL PROTECTED]> wrote: > Where may I find a changelog from 6.0-RC1, to 6.0-RELEASE; what has/was > changed? > > Reason being, I still have a box running 6.0-RC1... and as much as I would > like > to update to 6.0-RELEASE, if it ain't broke - don't fix it. > > -- > Nathan Vidican > [EMAIL PROTECTED] > Windsor Match Plate & Tool Ltd. > http://www.wmptl.com/ > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-amd64 > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > You are certainly advised to upgrade to RELENG_6_0, because there are several security advisories which affect RC1 and RELEASE. The upgrade process is as seamless as it gets. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Any idea when Xorg 7.0's coming to FBSD?
On 2/3/06, Igor Robul <[EMAIL PROTECTED]> wrote: > On Thu, Feb 02, 2006 at 10:12:11PM -0800, Garrett Cooper wrote: > > Erm, unless 6.9 is modular (which I didn't think was the case), there > > should be a noticeable difference. > AFAIK there is only one difference - 6.9 is traditianaly packaged (6 or > 7 big source tgz), while 7.0 is broken smaller source code modules. But > of course you need to check this on Xorg WWW site. > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > What's wrong with reading introductory paragraphs? [quote=http://wiki.x.org/wiki/X11R69Release] The 7.0 version is built from the same source code as the 6.9 so it contains the same additional hardware support, functional enhancements and bug fixes; however, it has been split into logical modules that can be developed, built and maintained separately. [/quote] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cannot download FreeBSD 6 !!!
On 2/4/06, Mihai Mateescu <[EMAIL PROTECTED]> wrote: > Hi there! > I'm from Romania and I have tried to download FreeBSD > 6 release. I tried from your ftp server, then from a > romanian ftp server, but there is the same problem: > when DAP reaches 80%, it stucks in an indefinite point > - it seems to continue downloading while it actually > doesn't download anything! > Could you help me, please ? > Thank's in advance, > Mihai Mateescu > > __ > 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]" > Can you try these? ftp://ftp.freebsd.org/pub/FreeBSD/torrents/6.0-RELEASE/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Trouble with resources under network load
I've got P4 box with 256Mb RAM. I want it to be able to forward 5Mbit/s between 500 PPTP clients (no crypto/ compression) and our ISP. I understand we should probably get Cisco for this, or at least a higher-spec box, but I just want this setup to be kinda proof of concept. Complicated things can be done using cheap hardware and a good OS. Can't they? It happens that I run named, smbd/nmbd and dhcpd (serving only 50 clients) until we setup additional boxes. The load is pretty mild (I cut getty out): last pid: 33780; load averages: 0.01, 0.01, 0.00 up 3+20:30:42 22:38:17 28 processes: 1 running, 27 sleeping CPU states: 0.4% user, 0.0% nice, 0.4% system, 0.7% interrupt, 98.5% idle Mem: 33M Active, 119M Inact, 65M Wired, 8304K Cache, 33M Buf, 1456K Free Swap: 453M Total, 8K Used, 453M Free PID USERNAME THR PRI NICE SIZERES STATETIME WCPU COMMAND 265 root1 960 2048K 1472K select 23:45 0.00% natd 24733 root1 960 7196K 5332K select 3:06 0.00% mpd 585 root1 960 3640K 1464K select 1:03 0.00% nmbd 400 bind1 960 10764K 9392K select 0:53 0.00% named 806 root1 960 2944K 2568K select 0:34 0.00% bsnmpd 391 root1 960 1352K 800K select 0:12 0.00% syslogd 501 root1 960 3052K 1436K select 0:10 0.00% ntpd 563 dhcpd 1 960 2960K 2328K select 0:03 0.00% dhcpd 531 root1 80 1360K 948K nanslp 0:01 0.00% cron 589 root1 960 5800K 2448K select 0:00 0.00% smbd 518 root1 960 3552K 2048K select 0:00 0.00% sshd 33750 root1 40 6300K 2576K sbwait 0:00 0.00% sshd 33757 root1 200 3996K 2500K pause0:00 0.00% csh 33752 sat 1 960 6296K 2892K select 0:00 0.00% sshd 33753 sat 1 200 3736K 2444K pause0:00 0.00% tcsh 33756 sat 1 80 1656K 1184K wait 0:00 0.00% su 33780 root1 960 2280K 1344K RUN 0:00 0.00% top 358 root1 970 508K 264K select 0:00 0.00% devd 604 root1 200 5800K 2448K pause0:00 0.00% smbd 163 root1 200 1216K 576K pause0:00 0.00% adjkerntz I'm constantly stumbling upon some out-of-resources problems. Just to name a couple: named[400]: client 10.32.23.92#1714: error sending response: not enough free resources snmpd[806]: sysctl get: Cannot allocate memory I have these in loader.conf and sysctl.conf: kern.maxfiles=65536 kern.maxfilesperproc=65536 net.graph.maxdgram=65536 net.graph.recvspace=65536 kern.maxusers=512 kern.ipc.maxpipekva=268435456 net.graph.maxalloc=65536 I get these when trying to diagnose: gw# uname -a FreeBSD gw.campus.gubkin.ru 6.0-RELEASE-p4 FreeBSD 6.0-RELEASE-p4 #4: Wed Feb 1 01:13:45 MSK 2006 [EMAIL PROTECTED]: /usr/obj/usr/src/sys/CAMPUS-GW i386 gw# netstat -m 67/1178/1245 mbufs in use (current/cache/total) 64/134/198/33792 mbuf clusters in use (current/cache/total/max) 0/4/8704 sfbufs in use (current/peak/max) 144K/562K/707K bytes allocated to network (current/cache/total) 0 requests for sfbufs denied 0 requests for sfbufs delayed 0 requests for I/O initiated by sendfile 82 calls to protocol drain routines gw# netstat -s 0 output packets dropped due to no bufs, etc. gw# sysctl -a | grep socket kern.ipc.numopensockets: 691 kern.ipc.maxsockets: 33792 What's wrong? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Possibility to submit requests for new ports?
On 2/7/06, FreeBSD Prospect <[EMAIL PROTECTED]> wrote: > Hi! > > I was wondering, if there is any communication channel to request new ports. > > I mean, isn't it likely, that a FreeBSD user (not a codergeek able to create > ports himself) is looking for some software, which is available open-source > for Linux, but hasn't been ported yet? > > Wouldn't it be useful, to have an own mailing list for that? > > Or is freebsd-ports thought to be suiteable for that matter (I am subscribed > to that mailing-list, but didn't see much traffic until now, and no port > requests at all)? It's in the nature of the OSS that the bulk of development happens in the areas interesting to the developers themselves. Unless you're willing to pay, you'll have to explain that this program is really great - then someone might get interested in making a port. But don't get frustrated if you're the only one, who needs a port and nobody is willing to help you. Usually it only takes a few minutes to port a small utility - and it's far easier to learn basic make syntax than a fully fledged programming language. Many FreeBSD users start making ports within the first year of using this wonderful OS. ___ 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 2 if's act like a switch?
I'm sorry for not looking it up myself. Can I get 2 interfaces on a router switch ethernet frames (between themselves and the box itself) and the other interfaces act like normal ones? I need services like dhcpd to not see any difference between the 2 switched if's, just like it's a single ethernet segment. ___ 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 get 2 if's act like a switch?
On 2/8/06, Chuck Swiger <[EMAIL PROTECTED]> wrote: > Andrew Pantyukhin wrote: > > Can I get 2 interfaces on a router switch ethernet frames > > (between themselves and the box itself) and the other > > interfaces act like normal ones? I need services like dhcpd > > to not see any difference between the 2 switched if's, just > > like it's a single ethernet segment. > > See: "man bridge". Thanks. First I thought that bridge is not what I want. Apparently, if_bridge does not switch packets, and with 100 hosts on each if that would create unnecessary overhead. But then, networks on both sides are switches, so the overhead should be minimal if not none. I still wonder if there's some way to get switch functionality. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: intel high definition audio
On 2/9/06, RYAN vAN GINNEKEN <[EMAIL PROTECTED]> wrote: > Hello i am having trouble getting my sound to work in gnome I have an > intel D925XECV2 mainboard has intel high definition audio built in. Try this: http://www.opensound.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: i386 or amd64 ?
On 2/15/06, Panter V. <[EMAIL PROTECTED]> wrote: > I want to use this computer as a development server and firewall. I will > run Apache 2, PHP 5, MySQL, Samba, an FTP server ... You'll have no problems with these programs on amd64. Printer drivers are probably platform-independent > At a later time I would like to use this computer as a workstation as > well and I will need KDE, OpenOffice 2, Thunderbird, Firefox, Eclipse ... You'll probably want to use i386 on a workstation for various compatibility issues. Difference in speed is close to unmeasurable. Give amd64 a shot, but you might find a show-stopper and will have to switch to i386. So if you have some time to experiment, try amd64 anyway. If you need to set up a box that you don't want to mess with once again, you'll have to stick to i386. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
natd with several alias IPs
I wonder, what tricks do you use to use more than one alias IP? I mean, if you have hundreds of hosts behind your firewall, what can you do to alias some of them to one ip, others to another and so on. I know pf can probably do it in a better fashion, I just wonder how we can do it with natd. Several natd processes? Some other tricks? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: natd with several alias IPs
On 2/16/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I am not sure just what you are asking about. > > Are you saying that you have 4 static public ip address assigned to > you by your ISP and you want to round robin those 4 in the NATing > process to your hundreds of LAN users? > > If that's what you are after then any of FreeBSD's 3 built in > firewall can do that by how you code the NAT statements. Read the > handbook firewall ipfilter section for details. There is no special > tricks or need for several NATed process. I'm quite aware of the fact that both pf and ipf have mature nat frameworks. The question is, how to do that with natd (and ipfw). Could you be so kind and throw an example of a round-robin setup without several natd processes, 'cuz I can hardly imagine that? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: natd with several alias IPs
On 2/16/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I am not a ipfw expert. The truth of it is I was a ipfw user before > I added a LAN behind my gateway box. Ipfw does it's nating from > within ipfw and that it what makes ipfw nating so hard to get right. > It's even harder if you use keep state processing. Ipfilter and PF > do the nating separate from the firewall so the firewall always sees > the true LAN packets. For that reason I now use ipfilter. Your ipfw > question may get better answers from the ipfw questions list. In > reading your original post it was not clear to me that you had to do > this using ipfw. I read it as you were asking if it could be done at > all. Using alias ip's is not the correct term I believe. > Good luck finding a ipfw solution. I'm afraid you've got it all a little bit wrong. It's pf and ipf that have built-in nat facilites. ipfw uses divert sockets and an external natd process (so when one says natd, it's clear that he's dealing with ipfw). Alias ip is a natd term. Thanks anyway ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: natd with several alias IPs
On 2/16/06, Chuck Swiger <[EMAIL PROTECTED]> wrote: > Andrew Pantyukhin wrote: > > I wonder, what tricks do you use to use more than > > one alias IP? I mean, if you have hundreds of > > hosts behind your firewall, what can you do to alias > > some of them to one ip, others to another and so on. > > See "man natd" about the following options for 1-to-1 NAT translation, which > can > be put into /etc/natd.conf and processed automagicly when the machine boots: > > -redirect_address localIP publicIP That's one trick. Do you use it in production? How many hosts do you have mapped this way? How do you get incoming traffic translated to the address it is meant for, not the last address? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Removing BOM from UTF-8
I use this to add BOM: http://search.cpan.org/~lyokato/UTF8BOM-1.01/lib/UTF8BOM.pm You shouldn't be so fixed on eliminating BOMs, it's quite a nice concept. It causes less trouble than you think. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Ruby crashes with portupgrade
On 2/19/06, Kövesdán Gábor <[EMAIL PROTECTED]> wrote: > Hello, > > Ruby always crashes and makes a coredump when I try to use portupgrade: > > [EMAIL PROTECTED] portupgrade -ai > ---> Session started at: Sun, 19 Feb 2006 15:32:51 +0100 > [Updating the pkgdb in /var/db/pkg ... - 313 packages > found (-5 +4) (...)/usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:466: [BUG] > Segmentation fault > ruby 1.8.4 (2005-12-24) [amd64-freebsd5] > > Abort trap (core dumped) > > I tried to reinstall both of them but no use. Have somebody experiencd > and fixed such issue? 1. Try removing /var/db/pkg/pkgdb.db 2. Try rebuilding ruby WITHOUT_PTHREADS ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Duplicate INDEX entry
On 2/19/06, Gerard Seibert <[EMAIL PROTECTED]> wrote: > When running this command: portsdb -Uu, I am frequently presented with a > message similar to this one: > > portsdb -Uu > Updating the ports index ... Generating INDEX.tmp - please wait.. > Warning: Duplicate INDEX entry: apr-gdbm-db4-1.2.2_2 > Warning: Duplicate INDEX entry: freeciv-gtk2-2.0.7 > Warning: Duplicate INDEX entry: mod_jk2-apache2-2.0.4 > Warning: Duplicate INDEX entry: mod_rpaf-ap2-0.5 > Done. > done > [Updating the portsdb in /usr/ports ... - 14143 port > entries > > found > .1000.2000.3000.4000.5000 > .6000.7000.8000.9000.1.11000 > .12000.13000.14000. . done] > > I have checked the archives and found that this is not suppose to be a > serious problem. I was wondering that while this might not be a serious > problem, just why is it happening at all. Is there some method or > procedure to correct this phenomena, or can I just safely ignore it? Well, for one thing, it's the way master/slave ports work. Many slave ports just set a flag (like WITH_GTK2). If you already have this flag enabled in make.conf the two ports are effectively identical. In general, such slave ports only appear because of the inflexibilities of the ports system. Their presence is not really a Bad Thing in the absence of a better solution. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Multiple DNS
On 2/19/06, Robert Slade <[EMAIL PROTECTED]> wrote: > Hi, > > I am looking for some advice. I have a network which is based on a > number of servers running FreeBsd 6.0 serving Win XP work stations. (yes > I know but..) The network is large enough to use DHCP and DNS for the > internal network, I have setup a DHCP server with a Dynamic DNS (Bind 9) > on one of the servers. That server is handling the LDAP side of the > domain. > > There appears to be a fair bit of DNS Traffic which leads to a secondary > DNS being required to take some of the load as DNS lookup are slow. The > question I have is should I just setup a cashing DNS on another server > using the primary as a forwarder or even several servers eg the mail > server and the secondary LDAP server, or should I setup a proper > secondary DNS using my ISP as a forwarder with dynamic updates from the > primary. > > Sorry if this is a bit vague, but I have no experience in this area. > > Rob > > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > A secondary server using the primary as a forwarder is generally a better idea if the primary is stable enough. The secondary will share some load without taking up extra bandwidth. In case the primary is not stable enough, or if you really need to scale by 2 (i.e. share the load evenly between the servers), you'll have to use the ISP's dns servers as forwarders instead. This will cut the efficiency of your DNS cache by two. At our place (3000+ hosts) we have our primary on a rock-solid box and secondaries using it as forwarder. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: WinSCP mega-slowness
On 2/20/06, Xn Nooby <[EMAIL PROTECTED]> wrote: > For about a year I have noticed that whenever my Windows boxes talk to my > Unix boxes, they communicate at about 1/10 normal speed. I copy lots (300GB) > of large files back and forth between machines as I try different OS's, and > I always see this. > > Specifically, if I copy from FreeBSD to FreeBSD, files transfer at 11 megs > per second. Between FreeBSD and Linux, at about 8 megs per second. Between > FreeBSD and Windows, about 1 megabyte per second. This is on identical > hardware. I've told other people about this, and they usually say I must be > doing something wrong, but recently a friend of mine upgraded a Windows box > to SP2, and now they are getting this same slowness. When I copy from > Windows to WIndows (XP or W2k), I get 11 megs per second. > > My machines are two P4's with gigabit NICs, and I'm using WinSCP and > (somtimes) pscp.exe on WIndows to talk to sshd on FreeBSD. It's always a > shock when I have to copy my data to WIndows, and it takes 30 hours instead > of 3. > > Does anyone else ever see this slowness when copying files between FreeBSD > and Windows? > > Is Windows maybe capping the transfer speed when it talks to Unix? > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > It is very certainly a known issue. Not that its specifics and origins are clearly known, but most of us stumble upon it sooner or later. You can usually achieve wire speed only between two OSes of a kind. TCP/IP optimizations are very important here: if they differ, performance plummets. Depends on a multitude of things from quality of NICs to weather in your area. I've never been able to get more than 70Mbit/s between FreeBSD and Windows XP. I always get 90-100Mbit/s between two BSDs or two Win's. As for your case, 1MB/s is a serious limit. What can you tell us about CPU load? Interrupts? Can you try this: http://www.psc.edu/networking/projects/hpn-ssh/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: how do I
On 2/20/06, Wayne <[EMAIL PROTECTED]> wrote: > How Do I get the terminal on the screen. I am having problems with the GUI > part of Either the KDE or the Gnome it was installed. > Wayne > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > Try Ctrl+Alt+Backspace ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Resolution Problem
On 2/20/06, Kyle Addis <[EMAIL PROTECTED]> wrote: > Dear FreeBSD, > I installed freebsd with kde as my environment, but when I start > kde, through the kdm command, my resolution is stuck at 640x320 > or something like that, when I go into the desktop configure menu, > in kde. My laptop can do up to 1600x1400. Is there anything I can > do to make my resolution go higher. Dear Userland :-) I don't use KDE, but resolutions can be changed by editing /etc/X11/xorg.conf. Please, read its manpage or find a good guide. I have this in my screen section: Section "Screen" Identifier "Screen0" Device "Card0" Monitor"Monitor0" DefaultDepth 24 SubSection "Display" Viewport 0 0 Depth24 Modes"1280x1024" EndSubSection EndSection If anything goes wrong (or have already) you can look at error messages in /var/log/Xorg.0.log ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 6.0 stable: linuxpluginwrapper port build failure
On 2/20/06, Chandan Haldar <[EMAIL PROTECTED]> wrote: > Trying to build port linuxpluginwrapper on FreeBSD 6.0-Stable > (final goal is to get linux flash player work with firefox 1.0.7 > on FreeBSD 6.0-Stable) fails at fetch of atk-1.2.0-2.i386.rpm. > Fetching manually results in checksum mismatch error. Any known > workaround? Transcript of session below. # mv /usr/ports/distfiles /usr/ # rm -rf /usr/ports # mkdir /usr/ports # man portsnap... # portsnap fetch # portsnap extract # mv /usr/distfiles /usr/ports/ # echo '0 7 * * * root portsnap cron && portsnap update' >> /etc/crontab # cd /usr/ports/sysutils/portupgrade/ # make install clean # rehash # portupgrade -ak... # cd /usr/ports/www/linuxpluginwrapper/ # make install clean # cp /usr/local/share/examples/linuxpluginwrapper/libmap.conf-FreeBSD6 /etc/ # cd /usr/ports/www/linux-flashplugin6/ # make install clean # firefox & ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: SATA RAID0
On 2/18/06, ph rhole oper <[EMAIL PROTECTED]> wrote: > What should i use to setup a RAID-0 array using 2 SATA drives and a VIA > software-raid controller (pseudo)? vinum ? ccd? or atacontrol? > PS: suppose the metadata format of my "raid" controller is recognized by > the ata driver > > -- > http://www.fastmail.fm - And now for something completely different > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > gstripe(8) - works like a charm. We have two 10K rpm SCSI disks in gstripe. I tell you, it's charged. Like "wow". $0 for RAID and about 5 minutes of configuration. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 6.0 stable: linuxpluginwrapper port build failure
On 2/20/06, Chandan Haldar <[EMAIL PROTECTED]> wrote: > Thanks a lot for the direction. All goes well until portupgrade asks me > to run 'pkgdb -F', > which asks me to resolve stale dependencies. I have a large number of > ports installed and > the dependencies seem somewhat intractable for manual resolution. Is > this the only way > to resolve the stale dependencies or am I as usual missing something :-( > ? From the pkgdb > manpage I could not understand the implication of the score and how that > helps me > select a new dependency... If you have some spare time, consider reinstalling all the ports. # pkg_delete -a # cd /usr/ports/sysutils/portupgrade # make install clean # portinstall firefox mplayer whatever (You only need to portinstall the leaf ports, everything else will be installed by dependencies, naturally) pkgdb -F is not a complicated process, but you'll have to learn things like 'fam and gamin do the same thing' or 'I don't have something, but I have something-core'. Pkgdb tries to guess, but it does a poor job at that. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: BBB reset failed (Was: no subject)
On 2/20/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi all, > > When attaching (hotplugging) my mp3 player (its a BeQube) to my fbsd > 6.1-PreRelease, the whole pc freezes and a reset/reboot is all that is left. > > In /var/log/messages this is what I get : > > Feb 16 20:41:25 www kernel: umass1: vendor 0x10d6 USB 2.0(FS) FLASH DISK, rev > 1.10/1.00, addr 2 > Feb 16 20:41:26 www kernel: da5 at umass-sim1 bus 1 target 0 lun 0 > Feb 16 20:41:26 www kernel: da5: Removable > Direct Access SCSI-0 device > Feb 16 20:41:26 www kernel: da5: 1.000MB/s transfers > Feb 16 20:41:26 www kernel: da5: 245MB (503521 512 byte sectors: 64H 32S/T > 245C) > Feb 16 20:41:27 www kernel: umass1: BBB reset failed, STALLED > Feb 16 20:41:27 www kernel: umass1: BBB bulk-in clear stall failed, STALLED > Feb 16 20:41:27 www kernel: umass1: BBB bulk-out clear stall failed, STALLED > Feb 16 20:41:27 www kernel: (da5:umass-sim1:1:0:0): Synchronize cache failed, > status == 0x4, scsi status == 0x0 > Feb 16 20:41:27 www kernel: umass1: at uhub2 port 1 (addr 2) disconnected > Feb 16 20:41:27 www kernel: (da5:umass-sim1:1:0:0): lost device > Feb 16 20:41:27 www kernel: (da5:umass-sim1:1:0:0): removing device entry > Feb 16 20:41:27 www kernel: umass1: detached > > What goes wrong and more importend, how do I get my mp3 player attached > without freezing the whole pc ? > > Thanks for any hints. > > Beni. > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > Please, do not post with empty subject line. Google on this: "BBB reset failed", see the solutions, try them, report here in case of trouble. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: WinSCP mega-slowness
On 2/21/06, Xn Nooby <[EMAIL PROTECTED]> wrote: > would doing a 'make install clean' inside /usr/ports/security/hpn-ssh fix > the default scp program? You should install hpn-ssh on both hosts. There's a windows binary available on the website. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
clipping netstat -w error counts
I have a very lossy wi-fi link. Is there a bug in netstat? gw# netstat -w1 -I ext0 input (ext0) output packets errs bytespackets errs bytes colls 13 1492 33 0 2563 0 10 0140 31 0 2780 0 17 4294967295934 32 0 2396 0 13 4754 28 0 1824 0 22 4294967295 1575 40 0 2952 0 29 4294967294 1731 50 0 4315 0 46 0 4202 77 0 5967 0 17 0 1065 41 0 3309 0 55 1 4502 93 0 7398 0 40 1 3227 80 0 6633 2 40 5 1786 44 0 3314 0 17 4294967291995 20 0 1320 0 21 2737 22 0 1534 0 9 4294967292384 14 0 1090 0 14 0723 13 0 1714 0 23 2 1382 16 0 1048 0 9 4294967292334 19 0 1235 0 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Why did this work? (Flashplugin)
On 2/23/06, Vayu <[EMAIL PROTECTED]> wrote: > I installed linuxpluginwrapper, linux-flashplugin-6 and linux_base-8 through > ports. No errors. Created a libmap.conf with values appropriate for 6.0REL. > > I followed the same procedure that I did 3 weeks ago that successfully got > flash playing in Konqueror on another FreeBSD 6.0REL machine. > > Neither Konqueror nor Firefox would acknowledge flash (wouldn't play it, > didn't show it in about:plugins, nor give any errors when called from the > command line).I deinstalled, reinstalled, I looked up each lib referenced > in the libmap. > > Finally I made a link from the libflashplayer.so > in /usr/X11R6/lib/linux-flashplugin6 directory > to /usr/X11R6/lib/browser_plugins. That worked for Firefox (1.5) but not > for Konqueror. > > Why did that work (what went wrong in my installation) and now what do I do to > get Flash playing in Konqueror? > > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > Try making a link in a konqueror-specific plugins dir. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: PPPoE Connection Bug!
This may not be very helpful but many of us use net/mpd to provide PPPoE/PPTP services. It's quite robust. Please, don't cross-post, it looks very impolite. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Solved, thanks! And a hot software tip (was: How to remove Boot Menu)
On 2/23/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi thanks to everyone who responded, Esp Tim D. on my question > about removing the FBSD boot manager. A plain old DOS FDISK /MBR > zapped it, and left my BSD installation untouched. > > Problem is yet again, I needed a dang DOS boot disk. I've been > thinking for years it would be cool to have a boot CD-Rom instead, > that could load up into a ram disk, yada, yada > > Well someone already did it, and did a damn thorough job: The > Ultimate Boot CD http://www.ultimatebootcd.com/ is a must-have > piece of free-ware for anyone maintaining "win-tel" PCs, regardless > of the operating system in use. See the site for a complete > list. But basically the guy has pulled together dozens of > manufacturer specific diagnostics, firmware flashers, etc onto one CD > that can run them directly, or get you a shell in dos or linux, and > be able to mount pretty much any file system out there. Good > Stuff! Check it out. And [maybe] finally trash those floppies for good. > > -Wayne > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > "wintel" stands for windows+intel :-) how about Freeon - FreeBSD+{Athlon|Sempron|Opteron}? Thanks for the tip. I've been wondering how one can do that, but never got to googling. I'm still afraid to mess with production servers, though zapping the boot manager would save a few seconds each reboot (hmm, once every few years :). UBCD is great, especially when you get hold of mkisofs and start customizing it. I had to learn it when I needed to reflash a server without FDD. It only took an hour to find a guide, experiment and have a new ubcd containing all the firmwares I need. Hiren is also very good, but it contains warez mostly, so beware. There are many other alternatives out there. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Trouble with resources under network load
On 2/5/06, Chuck Swiger <[EMAIL PROTECTED]> wrote: > Andrew Pantyukhin wrote: > > I'm constantly stumbling upon some out-of-resources > > problems. Just to name a couple: > > > > named[400]: client 10.32.23.92#1714: > > error sending response: not enough free resources > > > > snmpd[806]: sysctl get: Cannot allocate memory > > > > > > > > I have these in loader.conf and sysctl.conf: > > > > kern.maxfiles=65536 > > kern.maxfilesperproc=65536 > > net.graph.maxdgram=65536 > > net.graph.recvspace=65536 > > kern.maxusers=512 > > kern.ipc.maxpipekva=268435456 > > net.graph.maxalloc=65536 > [ ... ] > > What's wrong? > > For one thing, if you've got a machine with 256MB of RAM, you cannot possibly > be > able to dedicate 256MB just to kern.ipc.maxpipekva. Likewise, a machine with > 256MB of users would auto-tune kern.maxusers to ~100 or so, and kern.maxfiles > ought to be under 1, if not half that. > > You should revert to the defaults and make gradual tuning changes, if needed, > from there. A couple of days ago I've added 512MB RAM, bringing the total up to 768MB. I followed your advice and eased the sysctl settings: kern.maxfiles=7500 kern.maxfilesperproc=7000 net.graph.maxdgram=65536 net.graph.recvspace=65536 net.inet.tcp.blackhole=2 net.inet.udp.blackhole=1 net.link.ether.inet.maxtries=2 net.link.ether.inet.max_age=7200 net.link.ether.inet.prune_intvl=1200 net.inet.tcp.minmssoverload=50 net.inet.tcp.msl=7500 net.inet.icmp.icmplim=50 kern.ipc.somaxconn=16384 kern.ipc.maxpipekva=50331648 net.graph.maxalloc=65536 gw# netstat -m 872/4123/4995 mbufs in use (current/cache/total) 870/3872/4742/24768 mbuf clusters in use (current/cache/total/max) 0/5/6448 sfbufs in use (current/peak/max) 1982K/8774K/10757K bytes allocated to network (current/cache/total) 0 requests for sfbufs denied 0 requests for sfbufs delayed 0 requests for I/O initiated by sendfile 0 calls to protocol drain routines gw# netstat -s | grep drop 2776 connections closed (including 435 drops) 11 embryonic connections dropped 198 connections dropped by rexmit timeout 0 connections dropped by persist timeout 9 connections dropped by keepalive 1 dropped 53405 dropped due to no socket 460821 broadcast/multicast datagrams dropped due to no socket 0 dropped due to full socket buffers 0 fragments dropped (dup or out of space) 685 fragments dropped after timeout 193 output packets dropped due to no bufs, etc. Feb 24 19:47:21 gw named[482]: client 10.32.7.32#1027: error sending response: not enough free resources Feb 24 19:46:57 gw snmpd[714]: sysctl get: Cannot allocate memory Feb 24 19:56:00 gw last message repeated 50 times last pid: 86717; load averages: 0.00, 0.00, 0.00 up 3+02:57:27 19:59:39 29 processes: 1 running, 28 sleeping CPU states: 0.4% user, 0.0% nice, 0.0% system, 1.5% interrupt, 98.1% idle Mem: 39M Active, 311M Inact, 132M Wired, 20K Cache, 84M Buf, 246M Free Swap: 453M Total, 453M Free PID USERNAME THR PRI NICE SIZERES STATETIME WCPU COMMAND 714 root1 960 3036K 2744K select 14:22 2.78% bsnmpd 17259 root1 960 7268K 5664K select 7:54 0.00% mpd 287 root1 960 3044K 2584K select 4:31 0.00% natd 482 bind1 960 20224K 19280K select 2:36 0.00% named 55185 root1 960 3772K 2456K select 0:36 0.00% nmbd 473 root1 960 1352K 880K select 0:24 0.00% syslogd 574 root1 960 3052K 1764K select 0:08 0.00% ntpd 636 dhcpd 1 960 3028K 2656K select 0:06 0.00% dhcpd Is there a change to trace the problem to its source? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: A question on console and UTF-8
On 2/26/06, Igor Robul <[EMAIL PROTECTED]> wrote: > On Wed, Feb 22, 2006 at 09:35:51PM +0200, a wrote: > > How to force a console to use a multibyte character set (UTF-8)? > > I use FreeBSD 6.0-STABLE. > AFAIK, FreeBSD does not support UTF-8 locales on text console. > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > Most modern PCs do not support it by design without ugly framebuffer hacks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: advice on upgrading production FreeBSD 5.4
On 2/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I inherited a production FreeBSD 5.4 used as a web/mail server (Apache, > PostgreSQL, php, qmail, vpopmail, Courier). Could anybody help me with > information about a web resource on upgrading such system (all, OS only > or component by component) with minimum downtime. I looked into cvsup > and portupgrade - is this the right way for production systems or is > there another one? For example is it possible to have the older version > running until the new one downloads/compiles and then to replace it > within seconds? Also - what if the new version does not work correctly - > is it possible to keep the old and revert to it. > > Thank you, > Iv > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > First, you'd better upgrade to 6.1. Read /usr/src/UPDATING and handbook for that. Then use portupgrade to upgrade critical services one by one. Most of the time it happens just as you describe it. Sometimes a service is stopped automatically when new binaries are installed, so you have to /usr/local/etc/rc.d/ /whatever start when you upgrade things like mysql. Then use portupgrade -ak to upgrade the rest of your software and ensure they look good afterwards. ___ 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 install: Cannot dump. No dump device found...
On 2/27/06, Jordan Mendler <[EMAIL PROTECTED]> wrote: > I am trying to install FreeBSD for the first time on an athlon xp 1700 > w/ 1 gb of ram and get the following error message at the beginning > right after it loads all the drivers: > Uptime: 1s > Cannot dump. No dump device defined. > Automatic reboot in 15 seconds. Press any key on the console to abort. > > I tried slowing the memory timing, using boot and full install discs, > as well as trying 5.4 and 6.1-BETA2, and get the same problem every > time. Does anyone know what is causing this and how I can get past it > to install FreeBSD? > > Thanks, Jordan > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > 1. Upgrade your BIOS firmware 2. Google for known issues for your motherboard and your other hardware 3. Try tweaking most of the options in BIOS setup like PNP, ACPI... 4. If nothing helps, post comprehensive description of your hardware here. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD and VIA K8M800 chipset
On 3/1/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I just got a new computer with a ECS KDM800-M2 motherboard. Does anyone > know of any problem with this chipset/motherboard? > > I've tried installing 6.0/i386 and 5.4/i386 on it with no luck. 6.0 failed > installing from the CD with sh segfaulting in pkg_add, and then panics on > startup when trying to mount /. > > 5.4 installed fine, but various things (dmesg, more, reboot) either segfault > or > bus error. > > I suspect that it's got a bad stick of RAM, but I'd just like to make sure > there's > no known problems with this MB. > > Thanks, > Matt > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > There are some known problems with ACPI/APIC, but none close to what you describe. Try tweaking the bios options - and if it doesn't help RAM is your main suspect. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: SpreadBSD
On 3/2/06, Sergey Olontsev <[EMAIL PROTECTED]> wrote: > Hi, Guys !!! > My name is Sergey Olontsev. I am 22 year old network administrator in > Arkhangelsk, Russia. I really appreciate your work for FreeBSD. It's > without any doubt an excellent work. > > So, let me say the thing why I am writing this letter to you. I want > to support FreeBSD by creating and supporting the following website: > SpreadBSD.com. Why ? I think we all know about success of Mozilla > Firefox through SpreadFirefox.com. People know about Linux because of > PR, but not all know that there is something better than Linux - it's > BSD. So, the question is that I can open such a website to help people > get aquainted with FreeBSD, but I first decided to ask you, cause you > are the chief developers. > > I have resources to register domain and place to host website. I have > friends who are ready to create a good resource. And we have good > ideas and will to work. :-) > > So, I have not registered domain yet. If you want to do all that I > wrote before by yourself - rememder, that my idea is BSD licensed. > :-))) > > So guys, keep working. :-)) > Sergey. > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > Wonderful idea, but it requires much work to be done, while many developers traditionally prefer investing their time in making FreeBSD a better OS (rather than making it look better). Anyway, you should take this issue to the FreeBSD Foundation, they are in charge of such activities. http://www.freebsdfoundation.org/ Удачи! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: X.org 7.0 port?
On 3/2/06, Yuan Jue <[EMAIL PROTECTED]> wrote: > hey, all > > anybody knows that when will X.org 7.0 be ported to FreeBSD? > I have heard that X.org 7.0 support ATI cards inclued some exciting > features, say tv-out & 3D acceleration and so on. > > Since my video card is ATI Mobility Radeon 9600, I really wanna these > new fetures on my FreeBSD :) > > thanks in advance > > -- > Best Regards. > Yuan Jue > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > 7.0 feature-set is identical to 6.9. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: question on leaf ports
On 3/2/06, Peter <[EMAIL PROTECTED]> wrote: > Hi gang. Does a leaf port have no build dependants or > no run dependants? I want to be assured that I can > remove a leaf port but not have to put it back in > order to upgrade another port. Utilities such as > portmaster show leaf ports and I'm not sure what it's > really telling me. I think the traditional sense of a leaf means no run dependants, as this seems to be the only kind of dependency registered in pkgdb. Consult the docs of your particular port management app. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: anyone using portsman?
On 3/2/06, Peter <[EMAIL PROTECTED]> wrote: > I'm investigating the ports management utility > "portsman" but the thing seems broken. I just updated > my 5.4 tree via cvsup, fetched the INDEX file (make > fetchindex), and built the INDEX database INDEX.db > (portsdb -u). > > Running portsman I get: > > Checking state of /usr/ports/INDEX-5... > Please stand by while portsman is coming up... > error: INDEX file seems to be corrupted or is of an > unknown format.n? Why would the INDEX.db format be the same for portupgrade and portsman? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Problem installing mod_perl
On 3/5/06, Joachim Dagerot <[EMAIL PROTECTED]> wrote: > When I'm trying to install p5-apache-DBI I'm getting problems with the > mod_perl extension. > > I have now de-installed apache and installed apache22. Now when trying > to install mod_perl I get these error messages in the beginning. I > have cvsuped and are really stucked here. Any help is much > appreciated. > > > bash-2.05b# cd www/mod_perl > bash-2.05b# make install > ===> Building for mod_perl-1.29_1 > (cd ./apaci && PERL5LIB=/usr/ports/www/mod_perl/work/mod_perl-1.29/lib: make) > cc -DPIC -fPIC -O -pipe -I/usr/local/lib/perl5/5.8.5/mach/CORE > -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.5/BSDPAN" -DHAS_FPSETMASK > -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include > -DMOD_PERL_VERSION=\"1.29\" > -DMOD_PERL_STRING_VERSION=\"mod_perl/1.29\" > -DMOD_PERL_PREFIX=\"/usr/local/lib/perl5/site_perl/5.8.5/i386-freebsd-64int\" > -I/usr/local/include/apache22 -DMOD_PERL -O -pipe -O -pipe -c > mod_perl.c && mv mod_perl.o mod_perl.lo > In file included from mod_perl.c:58: > mod_perl.h:79:20: EXTERN.h: No such file or directory > mod_perl.h:80:18: perl.h: No such file or directory > mod_perl.h:84:18: XSUB.h: No such file or directory > mod_perl.h:103:24: patchlevel.h: No such file or directory > In file included from mod_perl.h:162, > from mod_perl.c:58: > apache_inc.h:120:20: httpd.h: No such file or directory > apache_inc.h:121:26: http_config.h: No such file or directory > apache_inc.h:122:28: http_protocol.h: No such file or directory > apache_inc.h:123:23: http_log.h: No such file or directory > apache_inc.h:124:24: http_main.h: No such file or directory > apache_inc.h:125:24: http_core.h: No such file or directory > apache_inc.h:126:27: http_request.h: No such file or directory > apache_inc.h:127:26: util_script.h: No such file or directory > apache_inc.h:128:31: http_conf_globals.h: No such file or directory > apache_inc.h:129:24: http_vhost.h: No such file or directory > In file included from mod_perl.c:58: > mod_perl.h:248: error: syntax error before "table" > mod_perl.h:254: error: syntax error before '*' token > mod_perl.h:254: warning: data definition has no type or storage class > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > Try mod_perl2 :-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Portupgrade Operation
On 3/8/06, Chris Maness <[EMAIL PROTECTED]> wrote: > If I manually rm -rf a port, manually untar (ie glib.tar.gz), and do a > portupgrade -rR glib, will packages that have a specific dependency on > the old glib version get rebuilt? Or if not will they break (I am just > using glib as an example and looking for a very general answer)? I > would like to figure out how portupgrade works without CVSUPing the > whole port tree. Like in the case of a security problem on a > production server. I don't necessarily want to rebuild every port that > has been installed on the box. Doing this has worked so-far, but I want > to make sure that this is the best approach, so that I don't end up > having the mess I had a while back with dependencies. > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > Keeping your apps up-to-date is kinda proactively secure. Anyway, we always have the latest ports tree (it's actually mounted read-only via NFS on every FreeBSD machine at our site) and if you don't want to update all at once - just don't use portupgrade -a. And yes, in case your whole ports tree is fresh, portupgrade -rR glib will upgrade all dependencies and dependants (recursively). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Configuring for IP ports
On 3/8/06, Rem P Roberti <[EMAIL PROTECTED]> wrote: > Hi Everyone, > > A BSD friend of mine set up my firewall, and he is out of town for a > while. I am attempting to use a program that uses UDP packets on ports > 5198 and 5199. So my firewall must be configured to allow my machine to > accept UDP packets on either of those ports, and to send packets out to > those ports on remote machines. I have no idea how to accomplish that, > and would appreciate it if someone can steer me a course toward the > solution. > > Thanks in advance. > > Rem > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > Hmm, don't you also need outgoing to tcp 5200? http://www.echolink.org/firewall_solutions.htm Anyway, try this as root for fast and insecure setup: ipfw add 1 pass dst-port 5198-5200 If you need a more secure setup and port forwarding, you'll have to give us a comprehensive description of your network or wait for your friend to come back. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Portupgrade Operation
On 3/8/06, Chris Maness <[EMAIL PROTECTED]> wrote: > I have been told that tracking the whole port tree on a production server > is a bad idea. I kind of agree thinking about the old addage "if it aint > broke don't fix it." Arguably the best strategy for the base system. Arguably a bad idea in case of 3d party software. In most cases untested updates do not enter the ports tree. Just use the -b flag when portupgrading and go back if you meet a show-stopper. Lately we've been experiencing trouble with something as critical as quagga. That only caused a half an hour late night outage on a single server. We haven't had any trouble apart from that in a year. With hundreds of ports in production, we find it delicious to have them all so easily and seamlessly updated. > But, if a security issue becomes known with a port > that I have installed, I definately want to fix the issue. Your answere > definately confirmed for me how port upgrade works. > > It seems that other dependant ports would not have to be current on the tree > if > they were re-compiled allowing autoconf to establish the location of depended > files. However, it seems that portupgrade does not uninstall and re-compile > if > the dependant ports have not changed (ie the folder containing the ports > make file and patches), it only recompiles parts of the tree > that have been upgraded, and are linked via portupgrade -rR. > > It would be nice if portupgrade had a flag to do that (that is if my logic > is correct). -f > It would be nice if ports forked the way src does. Then I could just > track bugfixes and security issues. I'd say that you can hardly find an update which is neither. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mpd and sessions
On 3/10/06, gahn <[EMAIL PROTECTED]> wrote: > Hi: > > I am using mpd for my vpn service. It works fine and I > have no compalints. But is anyway I can monitor that > how many sessions are being used? Something like: "ifconfig -u | grep ng" or "netstat -anf inet | grep 1723" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Let's make a FreeBSD ports blog! CCCCOOOL =)
I developed a useful habit of reading a full commits log on freshports every morning. This way you always taste the cream of the collection. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: unable to install horde
On 3/9/06, Imran Imtiaz <[EMAIL PROTECTED]> wrote: > I am trying to install horde but it is giving me the following error > > [EMAIL PROTECTED] www]# cd horde > [EMAIL PROTECTED] horde]# make > Unknown extension domxml for PHP 5. > *** Error code 1 > > Stop in /usr/ports/www/horde. > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > Come on, man. There's horde-php5. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ipfw2+divert; why divert rule is ignored?
On 3/10/06, Vladimir <[EMAIL PROTECTED]> wrote: > FreeBSD 5.4 > > Specifically, I can't figure out why rule 3800 is ignored... :confused: ipfw не такой злобный, чтобы брать и игнорить правила :) Попробуй добавить правило count сразу до или после "игнорируемого" правила. Скорей всего таких пакетов просто нет (например, глюк маршрутизации). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: repeated mac address
On 3/11/06, gahn <[EMAIL PROTECTED]> wrote: > Hi: > > I have some Intel pro cards and all show up mac > addresses as either "00:a4:c0:91:d2:9c" or > 00:b4:c0:91:d2:9c" under freebsd 5.x. why is that? These do not seem to even belong to Intel. Either the cards have been hacked or you have some startup script changing the MACs somehow. You might want to try the NICs on a different machine. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Disappointed with version 6.0
On 3/11/06, Peter <[EMAIL PROTECTED]> wrote: > I set it up ok with sysinstall during the installation but the system > will not boot properly if it has an entry in /etc/fstab. I get many > errors like: > > "ad3: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=63" Next time you might want to think of an intelligible subject line This seems like a hardware failure. If you have some spare time and bandwidth, download one of the thousand BSD, Linux or Windows live cd's and try to access all of your drives. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"