Re: issues in XFCE 4.6
> Your problem is not xfce but xorg. It went through massive changes in > 7.1 and it's now mandatory to have a /etc/X11/xorg.conf. You have to add > Option "AllowEmptyInput" "Off" statement as last line in "ServerLayout" > section. Doing console command Xorg -config /etc/X11/xorg.conf will > build you one. By the way i used the package version of xfce4 on 7.1 > and it's working just fine after i added the above xorg fixes. That line was already in xorg.conf (it was necessary to get a mouse to work after the last xorg update in January). However, I did not have it as the last line in the ServerLayout section. I moved it to the last line, but that didn't make a difference. There's still no XFCE menu, and without the ability to update the settings in XFCE, it's pretty much unusable... Keith ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: best archiver? (for music)
lame -h -b 96 - i was able to tell the difference on every song, but it wasn't really huge deal. hm. oh, yeah, my new box has to have a superior soundcard. and i'll pony up for even better speakers too. (so when i'm ready, i'll ask what's best. maybe find something on ebay.) my hearing is exceptionally good and while call myself an audiophile, having all my tunes right here at fingertips is i don't call myself audiophile (rather opposite, but i have normal hearing), just wanted to point out how much is really enough. do use -h -V 3 when compressing. a major win. having said that, can you point me to a basic tutorial on lame? i've got 1581620 blocks of mp3 @ 128kbit. lectures. when i tried to cut the quality even by a bit it was evident immediately. rar compresses these file to 1482404 blocks very very slowly. it probably makes sense to just burn the mp3 files to a dvd and be safe. -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.23a release of Jottings: http://jottings.thought.org/index.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
error in php5 make install
Turn off all options accept Apache module ===> php5-5.2.9 depends on file: /usr/local/bin/autoconf-2.62 - found ===> php5-5.2.9 depends on executable: pkg-config - found ===> php5-5.2.9 depends on shared library: xml2.5 - found ===> Configuring for php5-5.2.9 cannot create /usr/ports/lang/php5/work/php-5.2.9/aclocal.m4: No such file or directory *** Error code 2 Script didn't even look for m4 dependent. m4 is installed already. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: issues in XFCE 4.6
Keith Seyffarth wrote: I went through pkg_rmleaves and deleted xfce and then everything it exposed, then re-installed using portinstall -R This installed 32 packages when I had only deleted 31, so something got installed that wasn't previously. Unfortunately, this still didn't fix the problems. The XFCE menu still isn't available, and the screen resolution is really horrible (did the developers assume everyone has a 30" monitor?) Anyway, what I really need is to know how to manually fix the configuration since access to "settings" isn't available through XFCE in 4.6 so I can make this usable until XFCE can be fixed. Unless someone else has another idea... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" Your problem is not xfce but xorg. It went through massive changes in 7.1 and it's now mandatory to have a /etc/X11/xorg.conf. You have to add Option "AllowEmptyInput" "Off" statement as last line in "ServerLayout" section. Doing console command Xorg -config /etc/X11/xorg.conf will build you one. By the way i used the package version of xfce4 on 7.1 and it's working just fine after i added the above xorg fixes. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: issues in XFCE 4.6
I went through pkg_rmleaves and deleted xfce and then everything it exposed, then re-installed using portinstall -R This installed 32 packages when I had only deleted 31, so something got installed that wasn't previously. Unfortunately, this still didn't fix the problems. The XFCE menu still isn't available, and the screen resolution is really horrible (did the developers assume everyone has a 30" monitor?) Anyway, what I really need is to know how to manually fix the configuration since access to "settings" isn't available through XFCE in 4.6 so I can make this usable until XFCE can be fixed. Unless someone else has another idea... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Keyboard adaptor PS/2 -> USB to use with FreeBSD
Hi, > I'm aware of the fact that there are adaptors (adapters?) do > plug a standard PS/2 keyboard (and mouse) into an USB port. > Do I have to pay attention to get a specific device or are > they that simple (wired) that any will do? I don't know about the others, but the adapter delivered by Dell work well. > Additionally, I'm aware that there are some "vice versa > adaptors" to plug an USB mouse into a PS/2 port. I already > know that this will only work if the PS/2 mouse does also I beleive you mean the USB mouse, as the adpater is to plug a USB mouse into a PS2/port :) > support USB protocoll (or something similar), or do I confuse > this with the older PS/2 to serial (9 pin) adaptors where > only few mice could be used? Bests, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Anonymizer tool like Tor?
On 3/12/09, Gilles wrote: > Hello > > I'd like to download information from our competitor's web site, > without their knowing it's from us. > > Do you know of an alternative for FreeBSD, ie. a solution that will > let me connect to a web server through at least one other host, and > have the IP address change automatically every few minutes? > It depends on how 'anonymous' it has to be. For simple corporate espionage script-type stuff, you could buy a small web-hosting service which provides an SSH account. You can get one of these for about $10.00 a month or less. Simply ssh to the remote server and do all of your bidding from there. It's inexpensive, convenient and somewhat anonomous. If your adversary has enough muscle to convince the web host to give out information about who owns the given IP, you'll need more protection. For actual anonymity from those with significant resources and the motivation to find you, the following should work. This goes beyond petty corporate espionage though, and requires significant motivation on your part as well: Buy a used laptop from a garage sale with cash. Make sure it has a wireless ethernet card or can accommodate one. Install BSD on it through a GELI encrypted GEOM. (No plain-text ever touches the disk.) Put the decryption key on a USB stick and leave it at a secure location NOT on your person. (Somewhere at home perhaps. You should covertly store the decryption key, itself encrypted and protected by a password, within an image or audio file on the USB stick via something like steghide. See: /usr/ports/security/steghide) This way, even if the USB stick is recovered, it contains no obvious information. In an audio or image file the decryption key will be indistinguishable from static or dark-current. Edit the rc.conf file to spoof the Ethernet (MAC) hardware address to be a new pseudo-random value at each boot. Configure the system to automatically receive an IP address via DHCP. Dissable the wireless card. (Most have a physical switch.) Boot the system with the USB stick at home. Leave the USB stick at home! Plug the laptop it into a cigarette lighter adapter in your car. Go perusing through urban areas during daylight hours looking for un-secured wireless networks. (There are many to be found.) Once you find a connection, do your business. When totally done, issue the shutdown command. You, nor anyone else, will be able to boot the laptop without the decryption key, which you do NOT carry with you! In this manner if your adversary should approach you while in the field, simply cutting the power to the system should protect you from physical incrementing evidence. All but the most significantly motivated attackers should not be capable of obtaining any of the information on the laptop. Unless you're jumped by people in black suits while in the field, nobody will be able to connect you to the business you've been doing. Just remember not to do anything stupid from the laptop which would connect you to it, like checking your email. -Modulok- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: best archiver? (for music)
On Fri, Mar 13, 2009 at 09:31:50PM +0100, Wojciech Puchar wrote: > >- The general archivers can compress the wav somewhat without loss, but > > none do as well as the dedicated lossless compression program flac. > >- Trying to compress mp3, ogg and flac files further is a waste of time. > >- If you want smaller files, use lossy compression like mp3 or ogg > > vorbis, and pick the lowest quality level that sounds acceptable to you. > > i did actual hearing blind-tests with 4 people that title themself > "audiophile", on their hardware THEY tell have excellent sound output > (actually it was really good for me). > > results > > lame -h -V 3 - nobody could tell the difference, it gives <200kbps bitrate > lame -h -b 192 - as above > lame -h -b 128 - they were able to tell difference, but not on all > music/songs > > lame -h -b 96 - i was able to tell the difference on every song, but it > wasn't really huge deal. hm. oh, yeah, my new box has to have a superior soundcard. and i'll pony up for even better speakers too. (so when i'm ready, i'll ask what's best. maybe find something on ebay.) my hearing is exceptionally good and while call myself an audiophile, having all my tunes right here at fingertips is a major win. having said that, can you point me to a basic tutorial on lame? i've got 1581620 blocks of mp3 @ 128kbit. lectures. when i tried to cut the quality even by a bit it was evident immediately. rar compresses these file to 1482404 blocks very very slowly. it probably makes sense to just burn the mp3 files to a dvd and be safe. -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.23a release of Jottings: http://jottings.thought.org/index.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Execute and lock a user into a program upon login
Jonathan Chen wrote: > On Sat, Mar 14, 2009 at 02:18:27AM +0100, Polytropon wrote: > > [..] >> If the user's shell is csh (FreeBSD's standard dialog shell), you >> could achieve the goal: >> >> ~/.login >> vtysh >> logout >> >> Only problem: I don't know how the shell will act when the user >> terminates the vtysh application (^C)... > > Change the contents of ~/.login to: > > exec vtysh > > This overlays the shell with "vtysh". When it exits, the session will > be closed. Thank you. This appears to be what I want. I was trying it with the previous setup, but I had to put the user in the wheel group. I haven't yet figured where permissions were going astray. Your procedure will allow me to put the user in the wheel group for now, knowing that logout will occur as soon as the program terminates. This way, I can safely know it works, and make myself a note for Monday to fix the permissions issues ;) Regards, Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Execute and lock a user into a program upon login
On Sat, Mar 14, 2009 at 02:18:27AM +0100, Polytropon wrote: [..] > If the user's shell is csh (FreeBSD's standard dialog shell), you > could achieve the goal: > > ~/.login > vtysh > logout > > Only problem: I don't know how the shell will act when the user > terminates the vtysh application (^C)... Change the contents of ~/.login to: exec vtysh This overlays the shell with "vtysh". When it exits, the session will be closed. -- Jonathan Chen "We laugh in the face of danger, we drop icecubes down the vest of fear" - Edmond Blackadder III ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Execute and lock a user into a program upon login
Polytropon wrote: > On Fri, 13 Mar 2009 21:12:07 -0400, Steve Bertrand wrote: >> Steve Bertrand wrote: >>> Hi everyone, >>> >>> Although the application of my question focuses on network operation, I >>> believe that the objective fits this list. >>> >>> Mostly irrelevant, I have been working on securing my network perimeter. >>> I have a FreeBSD box that acts as a host-based BGP peer to all edge >>> connected routers. >>> >>> I use this host-based Quagga FBSD router to distribute routes that are >>> to be blackholed by the edge devices. >>> >>> What I want is to set up an environment so that when a specific user >>> logs in to the box via SSH, a command is run, and they immediately get >>> dropped into the environment that the command produces. >>> >>> When they exit this 'command', the login session is dropped. >>> >>> Essentially, I want to 'lock' a user into a program upon SSH login, and >>> drop them from the SSH session when the program terminates. >>> >>> In essence: >>> >>> - user 'router' connects via SSH >>> - user is dropped into the application 'vtysh' >>> - user performs operations >>> - user exits from program >>> - shell drops (ie. user does not have to exit the csh shell to drop the >>> SSH connection) >> I probably should have explicitly stated that I'd like help as to how I >> would go about doing what I want to do, instead of simply stating my >> goals ;) > > If the user's shell is csh (FreeBSD's standard dialog shell), you > could achieve the goal: > > ~/.login > vtysh > logout > > Only problem: I don't know how the shell will act when the user > terminates the vtysh application (^C)... > > Idea: When the application vtysh is terminated, the next command > in the .login file will be executed, which is the logout command > that will cause the login shell to exit. This will close the SSH > connection as well. > > (I haven't checked this, sorry.) Thanks! No problem for lack of testing. To be honest, an extra 'exit' command via the shell is acceptable in this case, given that it will be only internal network ops working this anyway. I pretty much just wanted to provide a Cisco-like environment for adding a route upon login (as opposed to having to manually running the vtysh command). Manually logging out of a secure shell session is ok. I'll test the log out portion. If it works, that'd be most handy. Nonetheless, you've helped me out greatly. Cheers! Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Execute and lock a user into a program upon login
On Fri, 13 Mar 2009 21:12:07 -0400, Steve Bertrand wrote: > Steve Bertrand wrote: > > Hi everyone, > > > > Although the application of my question focuses on network operation, I > > believe that the objective fits this list. > > > > Mostly irrelevant, I have been working on securing my network perimeter. > > I have a FreeBSD box that acts as a host-based BGP peer to all edge > > connected routers. > > > > I use this host-based Quagga FBSD router to distribute routes that are > > to be blackholed by the edge devices. > > > > What I want is to set up an environment so that when a specific user > > logs in to the box via SSH, a command is run, and they immediately get > > dropped into the environment that the command produces. > > > > When they exit this 'command', the login session is dropped. > > > > Essentially, I want to 'lock' a user into a program upon SSH login, and > > drop them from the SSH session when the program terminates. > > > > In essence: > > > > - user 'router' connects via SSH > > - user is dropped into the application 'vtysh' > > - user performs operations > > - user exits from program > > - shell drops (ie. user does not have to exit the csh shell to drop the > > SSH connection) > > I probably should have explicitly stated that I'd like help as to how I > would go about doing what I want to do, instead of simply stating my > goals ;) If the user's shell is csh (FreeBSD's standard dialog shell), you could achieve the goal: ~/.login vtysh logout Only problem: I don't know how the shell will act when the user terminates the vtysh application (^C)... Idea: When the application vtysh is terminated, the next command in the .login file will be executed, which is the logout command that will cause the login shell to exit. This will close the SSH connection as well. (I haven't checked this, sorry.) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Execute and lock a user into a program upon login
Steve Bertrand wrote: > Hi everyone, > > Although the application of my question focuses on network operation, I > believe that the objective fits this list. > > Mostly irrelevant, I have been working on securing my network perimeter. > I have a FreeBSD box that acts as a host-based BGP peer to all edge > connected routers. > > I use this host-based Quagga FBSD router to distribute routes that are > to be blackholed by the edge devices. > > What I want is to set up an environment so that when a specific user > logs in to the box via SSH, a command is run, and they immediately get > dropped into the environment that the command produces. > > When they exit this 'command', the login session is dropped. > > Essentially, I want to 'lock' a user into a program upon SSH login, and > drop them from the SSH session when the program terminates. > > In essence: > > - user 'router' connects via SSH > - user is dropped into the application 'vtysh' > - user performs operations > - user exits from program > - shell drops (ie. user does not have to exit the csh shell to drop the > SSH connection) I probably should have explicitly stated that I'd like help as to how I would go about doing what I want to do, instead of simply stating my goals ;) Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Execute and lock a user into a program upon login
Hi everyone, Although the application of my question focuses on network operation, I believe that the objective fits this list. Mostly irrelevant, I have been working on securing my network perimeter. I have a FreeBSD box that acts as a host-based BGP peer to all edge connected routers. I use this host-based Quagga FBSD router to distribute routes that are to be blackholed by the edge devices. What I want is to set up an environment so that when a specific user logs in to the box via SSH, a command is run, and they immediately get dropped into the environment that the command produces. When they exit this 'command', the login session is dropped. Essentially, I want to 'lock' a user into a program upon SSH login, and drop them from the SSH session when the program terminates. In essence: - user 'router' connects via SSH - user is dropped into the application 'vtysh' - user performs operations - user exits from program - shell drops (ie. user does not have to exit the csh shell to drop the SSH connection) Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Keyboard adaptor PS/2 -> USB to use with FreeBSD
Dear list, in the future I'm going to use a device which doesn't have any PS/2 sockets anymore to attach keyboard and / or mouse. This device is equipped with USB ports only. (Yes, you guessed it, it will be some kind of "Netbook" that needs some ordinary physical user interface - CRT, keyboard, mouse - to be used properly when placed in the office.) I'm aware of the fact that there are adaptors (adapters?) do plug a standard PS/2 keyboard (and mouse) into an USB port. Do I have to pay attention to get a specific device or are they that simple (wired) that any will do? Additionally, I'm aware that there are some "vice versa adaptors" to plug an USB mouse into a PS/2 port. I already know that this will only work if the PS/2 mouse does also support USB protocoll (or something similar), or do I confuse this with the older PS/2 to serial (9 pin) adaptors where only few mice could be used? Reason: I *insist* on using my IBM model M keyboard on that device. =^_^= -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: bsd vs gpl
prad wrote: On Wed, 11 Mar 2009 01:20:18 -0700 prad wrote: do people here have any thoughts on the two different licenses? thank you everyone for your comments on this topic. the links some of you provided were very interesting and helpful. i had no idea there were so many licenses either!!! it is a curious situation that the 'freedom' which insists on propagating itself (gpl), can be argued to be not really free, while 'freedom' without such a restriction can permit its own termination. i like this summation the best: "The bottom line is, the GPL is not anti-commercial or anti- capitalistic; it is only anti-proprietary. The BSD license, on the other hand, is very unrestrictive, and allows proprietary knockoffs. Which you choose depends on what you need and what you value. There's nothing more to it than that." (http://slashdot.org/articles/99/06/23/1313224.shtml) now off to establish what we value ... Just curious, why is what a 5 year-old article having to say with regards to licensing at all relevant? These licenses aren't worth the paper they are printed on until tested in court. The Monsoon Multimedia/BusyBox lawsuit, which was started years after this article was written, is far more relevant. Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: / partition full
On Fri, Mar 13, 2009 at 1:42 PM, Mehul Ved wrote: > On Fri, Mar 13, 2009 at 5:03 PM, Warren Liddell wrote: >> I've looked as much as i can, but with only 5meg free on / .. its making >> things in terms of building world & kernel a lil difficult .. what's the >> command so i can see exactly what dir on / is using up all the space so i >> can free it up ? > > Are you looking for "du --max-depth=1 /" ? > > --max-depth is not an option of BSD's du, but of the one from Linux. -d is the option on BSD. > -- > > Heard that the next Space Shuttle is supposed to carry several > Guernsey cows? It's gonna be t... > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" > -- Kaspars Bankovskis ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: issues in XFCE 4.6
> Well, this leads me to believe you don't have an .xinitrc file in the > new user's home directory > > Create an ~/.xinitrc with > > exec startxfce4 OK, did that. > as the only content and try again. The panel is there (and displayed icons on the desktop, weird). However, the menu doesn't work for that user either. > Just completed the upgrade on the second one. This is running 7-STABLE I'm running 6. > amd64. I used the pkg_rmleaves method and removed xfce4.4 and its leaf I'll try installing that from the port and removing again. > ports. Compiling completed without problems. On first start some icons > were indeed missing, but where fixed as soon as I selected the tango > theme. I can send you a complete list of the ports that were built if > you wish, but I think there is probably something else that's wrong in > your installation. How did you install? I've tried portupgrade -R after deleting the specified packages), then deleting XFCE4 manually when that didn't work to install and left X crashing and then used make clean install then after manually deleting everything this morning I used portinstall -R making from the port directory and using portinstall seem to have gotten me to the same place... Keith ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: usb sound card
Wojciech Puchar wrote: Does anyone have experience with a usb sound card? Are any of them supported in FreeBSD? looks like it is - man snd_uaudio from manual it looks like it's standard of USB audio interfaces so all should work - unless some manufacturers don't comply to standards. thanks for the pointer, I didn't know about that one. simple get some laptop with freebsd to shop and try - it's quick just connect and check if it works good idea though cost of train fare to the shop is rather more than the cost of the device, so... Also [OT] what is the sound quality like? ... if anyone does have any experience of them I would still like to hear. thanks Chris depends of the hardware. I find it hard to believe that a device that is available for around ?1.50 can be as good as a PCI card costing quite a lot more. it MAY. cost often have no correlation with quality in PC hardware market. It may be crap-sound or super-hifi. In theory it's easier to get high quality because there are easier to protect it from electrical noises as it's outside your computer. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: gnash and ff3
Neal Hogan wrote: > Hi, > > I have 7-1 RELEASE running with up-to-date packages, including firefox3. I > also have gnash-0.8.3 and mozplugger-1.10.2. > > I'm confused as to why gnash and mozplugger are not automatically enabled > and/or used by ff3. That is, ff claims not to have any plug-ins. I have the > same set-up on an oBSD machine and didn't have to do anything special to get > them working together (that I can remember). Can someone help jog my memory > or point me to something useful? Thanks. > > Try creating symlinks of the files from /usr/local/lib/browser_plugins to /usr/local/lib/firefox3/plugins Normally this should not be necessary in recent firefox3 versions but YMMV Also try running firefox3 from the terminal and see if it complains about plugins that cannot be loaded because of errors (missing files or whatever) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Problem building ports : 1) abiword; 2) xine
--- On Fri, 3/13/09, Manish Jain wrote: > From: Manish Jain > Subject: Re: Problem building ports : 1) abiword; 2) xine > To: bf20...@yahoo.com > Cc: freebsd-questions@FreeBSD.org > Date: Friday, March 13, 2009, 8:14 AM > Hello BF/Everyone, > > Thanks for your advice. But the problems just don't > seem to go away. I ran 'make config' > inside /usr/ports/ftp/curl and was able to rectify the > problem. I was installing curl > as part of the xine build process. Once curl got built, > xine got built too. The install > went smoothly enough. But when I ran xine& from a > gnome-terminal, the ui loaded, > got stuck for hours and simply would not respond to any > mouse clicks. I finally had > to do a kill -9. (Which is why I dropped curl from the > subject of this message and > replaced it with xine). > > As for abiword, I downloaded the latest ports tarball a few > minutes back. Building > abiword stops with pretty much the same error : > > In file included from > /usr/local/include/gtk-2.0/gtk/gtkactiongroup.h:34, > from > /usr/local/include/gtk-2.0/gtk/gtk.h:38, > from goffice-gtk.c:27: > /usr/local/include/gtk-2.0/gtk/gtkitemfactory.h:50: > warning: function declaration isn't a prototype > goffice-gtk.c:1041: error: static declaration of > 'gdk_cairo_set_source_pixbuf' follows non-static > declaration > /usr/local/include/gtk-2.0/gdk/gdkcairo.h:36: error: > previous declaration of > 'gdk_cairo_set_source_pixbuf' was here > goffice-gtk.c:1152: error: static declaration of > 'gtk_dialog_get_response_for_widget' follows > non-static declaration > /usr/local/include/gtk-2.0/gtk/gtkdialog.h:149: error: > previous declaration of > 'gtk_dialog_get_response_for_widget' was here > gmake[3]: *** [goffice-gtk.lo] Error 1 > gmake[3]: Leaving directory > `/usr/ports/devel/goffice04/work/goffice-0.4.3/goffice/gtk' > gmake[2]: *** [all-recursive] Error 1 > gmake[2]: Leaving directory > `/usr/ports/devel/goffice04/work/goffice-0.4.3/goffice' > gmake[1]: *** [all] Error 2 > gmake[1]: Leaving directory > `/usr/ports/devel/goffice04/work/goffice-0.4.3/goffice' > gmake: *** [all-recursive] Error 1 > *** Error code 2 > > Stop in /usr/ports/devel/goffice04. > *** Error code 1 > > Stop in /usr/ports/editors/abiword. > > Any help with xine and/or abiword would be greatly > appreciated. > > Thank you and Regards > Manish Jain > invalid.poin...@gmail.com > I haven't (re-)built goffice for a few days, but I didn't have any problems. Furthermore, I haven't seen any other reports of problems. It is likely then that the problem is peculiar to your own system. So eliminate any potential problems methodically: First, make sure that your ports tree is intact, up-to-date, and in the right place -- portsnap or csup would probably be best for this. Also make sure that any environment variables or settings that you have changed in /etc/make.conf won't interfere with your builds. Then make sure your ports index is up-to-date, by running "make fetchindex" in the /usr/ports directory, or by rebuilding it via "make index" if you must (this second option is more time-consuming, and not needed unless you absolutely must have the latest index after a recent ports tree update, or have made some local changes to your ports tree.) If you have ports-mgmt/portupgrade or ports-mgmt/portupgrade-devel installed, you can run "portsdb -Fu" instead of the above. Now check to make sure that all of the ports that you have installed are up-to-date, especially the ones that are listed as prerequisites for the port you are trying to build. You can do this by running "pkg_version -vI -l '<'". Update any ports that are out of date, _in dependency order_. (This is obviously a pain to do by hand, so I recommend that you use ports-mgmt/portupgrade, ports-mgmt/portupgrade-devel, or ports-mgmt/portmaster to do this for you. Read the manpages for these ports for instructions on how to use them. Or you could just remove everything via "pkg_delete '*'", clean out /usr/local, and then start over. This is the safest, but it can be time-consuming if you have lots of software installed.) Now build and install the ports you want by running "make clean install" in each of the port directories. Don't forget the "clean", as you don't want to build old or corrupted versions of the ports. Again, if you have some version of portupgrade or portmaster installed, you could use those instead. If the build still fails, and your installed software seems to be otherwise intact -- there has been no filesystem corruption, etc. -- send the build transcript by email to the port maintainer or file a PR ("Problem Report"). b. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: issues in XFCE 4.6
Keith Seyffarth wrote: > > > New user gets a completely different interface. XFCE and components > don't seem to launch, nor do they seem to be available. Not only is > there no menu, there's no panel from which to launch the menu, and the > panel won't start from the command line. > > Well, this leads me to believe you don't have an .xinitrc file in the new user's home directory Create an ~/.xinitrc with exec startxfce4 as the only content and try again. >> I've got another system with XFCE that I will be upgrading tonight - >> I'll let you know if it works out differently. >> > > Let me know. It would be nice to have a usable computer again. > > It's rather frustrating that any time there is an update for something > X-related, it seems that if you're going to make the upgrade, you need > to be ready to have your computer unusable for 3-10 days... > Just completed the upgrade on the second one. This is running 7-STABLE amd64. I used the pkg_rmleaves method and removed xfce4.4 and its leaf ports. Compiling completed without problems. On first start some icons were indeed missing, but where fixed as soon as I selected the tango theme. I can send you a complete list of the ports that were built if you wish, but I think there is probably something else that's wrong in your installation. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: gnash and ff3
On Fri, Mar 13, 2009 at 04:02:11PM -0500, Neal Hogan wrote: > Hi, > > I have 7-1 RELEASE running with up-to-date packages, including firefox3. I > also have gnash-0.8.3 and mozplugger-1.10.2. > > I'm confused as to why gnash and mozplugger are not automatically enabled > and/or used by ff3. That is, ff claims not to have any plug-ins. I have the > same set-up on an oBSD machine and didn't have to do anything special to get > them working together (that I can remember). Can someone help jog my memory > or point me to something useful? Thanks. On 7.1-RELEASE amd64 I have gnash-0.8.5 running fine, but without mozplugger. Maybe there is an interaction between mozplugger and gnash? Building the firefox plugin is an option for the gnash port. Maybe you have it turned off. Try updating your ports tree to install the latest version of gnash, and make sure that the plugin is enabled. Try if it works without mozplugger. Gnash was compiled with the following options: WITH_PLUGIN=true WITHOUT_CYGNAL=true WITH_GTK=true WITHOUT_KDE=true WITHOUT_KDE4=true WITHOUT_AGG=true WITHOUT_OPENGL=true WITH_CAIRO=true WITH_FFMPEG=true WITHOUT_GSTREAMER=true WITHOUT_SPEEX=true I'm using the cairo renderer because I had cairo already installed, and I don't have agg installed. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgp5Vvx5W5Pz9.pgp Description: PGP signature
Re: SanDisk USB stick with FreeBSD 7
On Fri, 13 Mar 2009 15:35:10 +0100 (CET), Wojciech Puchar wrote: > > da0: Removable Direct Access SCSI-0 device > > da0: 1.000MB/s transfers > > da0: Attempt to query device size failed: UNIT ATTENTION, Medium not present > > > this suggest defective device or USB controller/driver problems. I think so, too. FreeBSD relies on correctly working devices, and it checks for this. The strange thing was that I could read the partition table via "fdisk da0". To be sure, I've tried the stick on the USB 1.0 controller (message above) and on the USB 2.0 controller of the mainboard, with similar result: umass0: on uhub2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: Attempt to query device size failed: UNIT ATTENTION, Medium not present > if you can - check it on another computer running other OS (linux, > windoze) On "Windows" PC, the stick has been accessible, but "Properties" showed a minimum disk space occupation (circa 300 kB) allthough there was nothing on the stick. Linux: Not invented here. :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: issues in XFCE 4.6
> Please make sure these ports are installed: > > x11-themes/gtk-xfce-engine installed as: gtk-xfce-engine-2.6.0 An XFCE engine for GTK 2.0 > x11-themes/icons-tango-extras installed as: icons-tango-extras-0.1.0_1 A extra set of icons from the Tango project > I am afraid I can do both in my install from the XFCE menu. (Settings > => Display and Settings => Appearance) > I don't know why you are not getting the menus. I would guess that, as per the instructions provided, these are available from the menu. ust can't get the menu working... > Could you try creating a new user account and see if it works? It could > be something wrong in your dot files. New user gets a completely different interface. XFCE and components don't seem to launch, nor do they seem to be available. Not only is there no menu, there's no panel from which to launch the menu, and the panel won't start from the command line. > I've got another system with XFCE that I will be upgrading tonight - > I'll let you know if it works out differently. Let me know. It would be nice to have a usable computer again. It's rather frustrating that any time there is an update for something X-related, it seems that if you're going to make the upgrade, you need to be ready to have your computer unusable for 3-10 days... Keith ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: issues in XFCE 4.6
Keith Seyffarth wrote: > > > >> longer present. I could use stg like pkg_delete, but in the end, I >> preferred using pkg_rmleaves and remove the entire xfce4.4 related ports >> > > I wasn't able to find pkg_rmleaves, so I tried pkg_delete on all the > related packages I could find. > > Well, pkg_rmleaves is a port itself. It's in ports-mgmt/pkg_rmleaves >> (including the libs, mousepad, Thunar and a few add-ons) and just >> installed 4.6 afterwards. It all works fine. >> > > after installing again, I'm still in the same boat. The screen > resolution is too fine to make it usable, the menus are missing, and > (as expected) many icons are missing. > Please make sure these ports are installed: x11-themes/gtk-xfce-engine x11-themes/icons-tango-extras > It looks like once you start down the (mislead?) path of upgrading to > 4.6, there is no going back to a working version, so I need to get > this one working. > > Since the XFCE menu is not supported in 4.6 yet, is there a file I can > edit to get the screen resolution and refresh rate set correctly > (important), and to switch the theme (much less important). > > Keith > > I am afraid I can do both in my install from the XFCE menu. (Settings => Display and Settings => Appearance) I don't know why you are not getting the menus. Could you try creating a new user account and see if it works? It could be something wrong in your dot files. I've got another system with XFCE that I will be upgrading tonight - I'll let you know if it works out differently. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
gnash and ff3
Hi, I have 7-1 RELEASE running with up-to-date packages, including firefox3. I also have gnash-0.8.3 and mozplugger-1.10.2. I'm confused as to why gnash and mozplugger are not automatically enabled and/or used by ff3. That is, ff claims not to have any plug-ins. I have the same set-up on an oBSD machine and didn't have to do anything special to get them working together (that I can remember). Can someone help jog my memory or point me to something useful? Thanks. -- www.nealhogan.net www.lambdaserver.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: issues in XFCE 4.6
> longer present. I could use stg like pkg_delete, but in the end, I > preferred using pkg_rmleaves and remove the entire xfce4.4 related ports I wasn't able to find pkg_rmleaves, so I tried pkg_delete on all the related packages I could find. > (including the libs, mousepad, Thunar and a few add-ons) and just > installed 4.6 afterwards. It all works fine. after installing again, I'm still in the same boat. The screen resolution is too fine to make it usable, the menus are missing, and (as expected) many icons are missing. It looks like once you start down the (mislead?) path of upgrading to 4.6, there is no going back to a working version, so I need to get this one working. Since the XFCE menu is not supported in 4.6 yet, is there a file I can edit to get the screen resolution and refresh rate set correctly (important), and to switch the theme (much less important). Keith ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Problem with Bash-4 and $(command) syntax
On Fri, 13 Mar 2009 13:16:07 -0600 Tim Judd wrote: >On Thu, Mar 12, 2009 at 11:35 PM, bf wrote: >I'm wondering if a fix can be accomplished due to a semicolon within >the ()s to complete a command line. Similar to how find(1) expression >works, you have to end the expression with a semicolon in order for >find to successfully (and willingly) work. >Can the OP try > if $( which gpg2; ); then No, that doesn't work either. The problem is with 'yacc'. The port maintainer has updated the bash port to use 'bison' instead. The new port is in the ports tree now. I will be installing it later today; however, it should work fine. -- Jerry ges...@yahoo.com The higher you climb, the more you show your ass. Alexander Pope, "The Dunciad" signature.asc Description: PGP signature
Re: best archiver? (for music)
- The general archivers can compress the wav somewhat without loss, but none do as well as the dedicated lossless compression program flac. - Trying to compress mp3, ogg and flac files further is a waste of time. - If you want smaller files, use lossy compression like mp3 or ogg vorbis, and pick the lowest quality level that sounds acceptable to you. i did actual hearing blind-tests with 4 people that title themself "audiophile", on their hardware THEY tell have excellent sound output (actually it was really good for me). results lame -h -V 3 - nobody could tell the difference, it gives <200kbps bitrate lame -h -b 192 - as above lame -h -b 128 - they were able to tell difference, but not on all music/songs lame -h -b 96 - i was able to tell the difference on every song, but it wasn't really huge deal. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Managing bsdpan -- some advice please
David Southwell wrote: Basically I do not know how to manage the bsdpan "ports". On portupgrade -a I get long lists like the one below. How are items "held" How do I decide whether ort not to hold them. Some advice would be appreciated. I have searched for some guidance on the freebsd web site but not found any. ---> Skipping 'bsdpan-B-Debug-1.10' because it is held by user (specify -f to force) ---> Skipping 'bsdpan-Exporter-5.62' because it is held by user (specify -f to force) ---> Skipping 'bsdpan-constant-1.15' because it is held by user (specify -f to force) [...] Well, for starters, you have no choice but to 'hold' a bsdpan package. The terminology comes from portupgrade, but the same thing applies to whatever FreeBSD package management system you care to use. In portupgrade, a 'held' package is one that is listed in the HOLD_PKGS array in /usr/local/etc/pkgtools.conf. This simply indicates packages that portupgrade should not attempt to upgrade for whatever reason. The default setting is: HOLD_PKGS = [ 'bsdpan-*', ] ie. any 'bsdpan' package installed via 'perl -MCPAN -e' or by manually compiling the module source. These bsdpan packages are just normal FreeBSD packages in every respect but one: they have no package origin -- that is, there is no directory in the ports tree for a bsdpan package. This means that the usual ports system for determining whether a package is out of date -- comparing either directly or indirectly against the version number from the port's Makefile -- is impossible to apply and so ports management software cannot upgrade bsdpan packages. As a general rule, if there is a ported version of a perl module then install that, rather than installing the same thing directly from CPAN. It makes ports management easier and keeping stuff up to date a lot more effective. Most of the packages you list are available in the ports tree. You also have about 15 ordinary p5 ports listed as 'held' -- I'm not sure why that should be unless you have deliberately chosen to do that. Maybe because they have dependencies on bsdpan packages? Anyhow, you can probably sort things out by replacing your bsdpan packages with the ports equivalents like so: portupgrade -o www/p5-libwww -f bsdpan-libwww-perl-5.813 (That's actually a slight oddity: usually a perl package Foo::Bar::Baz will appear in ports as mumble/p5-Foo-Bar-Baz) Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: best archiver? (for music)
On Fri, Mar 13, 2009 at 12:15:24PM -0700, Gary Kline wrote: > > guys, this is for any compression experts on-list. my main > desktop is nearly full. i'm looking for the best means of > compressing [mostly] audio files. mp3, ogg, and .flag. All of these are already compressed. Trying to compress them further is a waste of time. See below. You can make smaller mp3 or ogg vorbis files by encoding them at a lower bitrate or quality setting. I did a test on compression some time ago. I started with a track ripped from CD by cdrecord. I used 'lame -V 2' to convert to mp3, 'oggenc -q 5' to convert to ogg vorbis, and 'flac -6' to convert to flac. File sizes were (in kilobytes, using 'du -k'): 20256 track01.flac 4592track01.mp3 3792track01.ogg 37584 track01.wav The mp3 and ogg files are small because they employ 'lossy' compression. On the other hand, flac is lossless compression. I tried several (obviously lossless) archivers. First I compressed them all with 'gzip -9': 20240 track01.flac.gz 4560track01.mp3.gz 3760track01.ogg.gz 33840 track01.wav.gz As you can see these sound files don't compress well. The first three because they are already compressed, and the wav file probably because the gzip algorightm isn't a good match for sound data. Then I tried with 'bzip2 -9': 20336 track01.flac.bz2 4560track01.mp3.bz2 3776track01.ogg.bz2 32080 track01.wav.bz2 Next up is 'rzip -9': 20240 track01.flac.rz 4560track01.mp3.rz 3776track01.ogg.rz 32080 track01.wav.rz And finally 7zip '7z a -mx=9': 20448 track01.flac.7z 4576track01.mp3.7z 3760track01.ogg.7z 31424 track01.wav.7z My conclusions were: - The general archivers can compress the wav somewhat without loss, but none do as well as the dedicated lossless compression program flac. - Trying to compress mp3, ogg and flac files further is a waste of time. - If you want smaller files, use lossy compression like mp3 or ogg vorbis, and pick the lowest quality level that sounds acceptable to you. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpuFeqlLQMcc.pgp Description: PGP signature
Re: Anonymizer tool like Tor?
Gilles wrote: On Thu, 12 Mar 2009 13:47:07 -0400, "T." wrote: You want a transparent tor proxy, which you setup with freebsd and pf. Thanks much for the help. If my modest Python script used to download some web pages goes through Tor, is there a way for the remote web server to somehow trace this connection back to me? no Can you elaborate? After compiling the Ports, a "_tor" user is created. I could successfully launch Tor by "su - _tor". If you want it to work as I've described, as a transparent proxy, you'll need to follow all the steps I've detailed. Yes, of course you can su - _tor The given start stop method is # /usr/local/etc/rc.d/tor start # /usr/local/etc/rc.d/tor stop The way I've described, the machine becomes a transparent tor proxy for all machines that use it as their default gateway and dns servers. This has a huge advantage in that the client machines are un-trickable. You don't have to figure out how to "proxify" anything. You cannot misconfigure their network / proxy settings. Everything uses the network exactly as it always does. If they have no direct access to the internet, they cannot be forced to reveal your real IP. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: best archiver?
I would look into archivers/bunzip and archivers/p7zip. I recall reading that the 7z format produces better compression rates than RAR 7zip is comparable to grzip (sometimes sligtly better - difference in order of 1%), while much slower ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: best archiver?
already highly compressed and will not compress much further. As far as the best compressor, I vote for bzip2/bunzip2. in my tests i found NO case when grzip would not compress data better than bzip2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: best archiver?
guys, this is for any compression experts on-list. my main desktop is nearly full. i'm looking for the best means of compressing [mostly] audio files. mp3, ogg, and .flag. i cross backup among my servers and would like to have mp3 is already compressed as ogg flac is lossless compression, you may convert to mp3 with lame so it'll get few times smaller. lame -h -V 3 is actually higher quality than anyone could hear. the most reasoned approach to compressing my ~/Music/ files. is rar/unrar better that bzip -9? is there any new/forthcoming archiver on the horizon? for compressible non-media files, i use grzip (ports/archivers/grzip) grzip -b8m -m3 usually gives best compression, and always better than bzip2 -9, and packs faster ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Inetd and multiple IP addresses
Tim Judd wrote/napisał(a): > inetd.conf(5) > > see option -a > > put it in your rc.conf, as inetd_flags > I do this for all my hosts so I have a tighter reign on the problem Thanks. -- skx. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: best archiver?
On Fri 2009-03-13 12:15:24 UTC-0700, Gary Kline (kl...@thought.org) wrote: > guys, this is for any compression experts on-list. my main desktop is nearly > full. i'm looking for the best means of compressing [mostly] audio files. > mp3, ogg, and .flag. i cross backup among my servers and would like to have > the most reasoned approach to compressing my ~/Music/ files. is rar/unrar > better that bzip -9? is there any new/forthcoming archiver on the horizon? .mp3, .ogg and .flac files are already compressed. You won't get them much smaller. Maybe 1% with rar or bzip2, if you're lucky, eg. 2009-03-06 08:38 22,524,903 FLOSS-059.mp3 2009-03-14 06:37 22,135,433 FLOSS-059.rar If these sorts of files could be made significantly smaller than they already are, people would be regularly transmitting them over the Internet in that smaller format. Possibly the only thing you'll gain from using rar instead of something more primative like tar/bzip2 is marginally better error detection. Personally I just burn all my media files to DVD-Rs, using Nero Burning ROM under Windows. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: best archiver?
Gary Kline wrote: > guys, this is for any compression experts on-list. my main desktop is > nearly > full. i'm looking for the best means of compressing [mostly] audio > files. > mp3, ogg, and .flag. i cross backup among my servers and would like to > have > the most reasoned approach to compressing my ~/Music/ files. is > rar/unrar > better that bzip -9? is there any new/forthcoming archiver on the > horizon? man shar Just kidding! I would look into archivers/bunzip and archivers/p7zip. I recall reading that the 7z format produces better compression rates than RAR for already compressed audio files but I don't remember the source. The file formats you mentioned are already compressed and depending on the contents you probably won't get /much/ better than you have now. -- Eitan Adler "Security is increased by designing for the way humans actually behave." -Jakob Nielsen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: best archiver?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On March 13, 2009 03:15:24 pm Gary Kline wrote: > guys, this is for any compression experts on-list. my main desktop is > nearly full. i'm looking for the best means of compressing [mostly] audio > files. mp3, ogg, and .flag. i cross backup among my servers and would like > to have the most reasoned approach to compressing my ~/Music/ files. is > rar/unrar better that bzip -9? is there any new/forthcoming archiver on > the horizon? > > actually, i am looking to buy/build a dual or quad system with two 1.5TB > drives. but need help with that ... if anybody inn the seattle area can > come over and help me. for now, i just want to be as sure as possible that > my files are saved on at least two systems. > > thanks for any insights here. > > gary Try archivers/rzip, and when compressing pass -9 on command line. I have been using it for some time, very happily. Thomas - -- Thomas Abthorpe | FreeBSD Committer tabtho...@freebsd.org | http://people.freebsd.org/~tabthorpe -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAkm6tUkACgkQ5Gm/jNBp8qCBPACeNgxqBEpEszQaXXWCTFpsBdFQ ueEAn36v36CU0oGChwCNXNT++ZWGqlW6 =6PpU -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: best archiver?
>guys, this is for any compression experts on-list. my main desktop is > nearly >full. i'm looking for the best means of compressing [mostly] audio > files. >mp3, ogg, and .flag. i cross backup among my servers and would like > to have >the most reasoned approach to compressing my ~/Music/ files. is > rar/unrar >better that bzip -9? is there any new/forthcoming archiver on the > horizon? > >actually, i am looking to buy/build a dual or quad system with two > 1.5TB >drives. but need help with that ... if anybody inn the seattle area > can come >over and help me. for now, i just want to be as sure as possible that > my >files are saved on at least two systems. > >thanks for any insights here. > >gary > > > > -- > Gary Kline kl...@thought.org http://www.thought.org Public Service Unix >http://jottings.thought.org http://transfinite.thought.org >The 2.23a release of Jottings: http://jottings.thought.org/index.php > The audio files you mention will not compress well. While .wav (uncompressed waveform) audio compresses pretty well, MP3 files are already highly compressed and will not compress much further. As far as the best compressor, I vote for bzip2/bunzip2. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Perl5 with threads?
s0rk wrote: > Hello FreeBSD-Team, > > i got a question about the Perl version in 7.1 release. I needed > Perl 5.8.10 but this wasn't available, okay i only need the perl > threds but this isn't on in default. I set it in my ports dir in my > MAKEFILE on, but wasn't accepted. > > How can i use Perl5.8.9_2 in FreeBSD 7.1 with Thread-Support? > > $uname -a > FreeBSD 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC > 2009 r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 cd /usr/ports/lang/perl5.8 make config choose option Build threaded perl -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Bind to Localhost from Jail
On Fri, Mar 13, 2009 at 12:59 PM, Dave wrote: > Hi all, > > I'm trying to get cPanel installed on my host, and to run it from jail. > The > installer script that cPanel provides, however, seems to be confused by the > fact that it cannot test the daemons it has installed by checking if they > are listening on localhost. Is there any way to allow services running in > jail to bind on localhost? > > I noticed that there was a patch committed to the stable branch that > allowed > for jails to have multiple or no ip addresses. Is this perhaps a solution > to the problem I've outlined above? > > If anyone can provide any insight it would be much appreciated! > > Thanks, > Dave > How does any system to know if you're talking to the host localhost, or the jail's localhost? I see a logical flaw that would make that somewhat difficult. Since the point of IP addresses are supposed to be unique (let's not get into rfc1918 addresses, or my localhost has your localhost IP), how can that be safely determined? Now, if it was 127.0.0.10 on the host, and 127.0.0.1 on the jail, and 127.0.0.2 on a 2nd jail, etc -- that could work. can you trick cPanel by using /etc/hosts to say localhost (name of a machine) maps to your jail's IP? Can you provide any other workaround that will allow such scripts to dynamically and correctly find the information they're looking for? Couple ideas, HTH --Tim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Problem with Bash-4 and $(command) syntax
On Thu, Mar 12, 2009 at 11:35 PM, bf wrote: > > > > > {Problem with Bash-4 and $(command) ...}: > > [...] > > > I found the same problem, and have reverted to > > > bash3.2 until it's sorted out. > > > > See if the following helps. > > > > http://tiswww.case.edu/php/chet/bash/COMPAT > > > > Especially: > > > > 38. Since bash-4.0 now follows Posix rules for finding the > > closing > > delimiter of a $() command substitution, it will not behave as > previous > > versions did, but will catch more syntax and parsing errors > > before > > spawning a subshell to evaluate the command substitution. > > > > -- > >Eray > > Yes, the above is true. But many of the examples cited > by people noticing this problem are perfectly valid and > _should_ work. The problem is that the port's parser is > broken, owing in part to incompatibilities between the > system yacc currently used to build the parser and GNU > bison, which is used by the people who write bash. This > is true of both shells/bash and shells/bash3, but is more > noticeable in shells/bash. A fix has been proposed, and patches > are available, in the follow-up to: > > http://www.FreeBSD.org/cgi/query-pr.cgi?pr=ports/101230 > > The port's maintainer has been reluctant to switch to bison, > so this may not be the solution that is ultimately used to > fix the port, but you can use these in the meantime. > > Regards, > b. > > I'm wondering if a fix can be accomplished due to a semicolon within the ()s to complete a command line. Similar to how find(1) expression works, you have to end the expression with a semicolon in order for find to successfully (and willingly) work. Can the OP try if $( which gpg2; ); then And let us know. My $.02 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
best archiver?
guys, this is for any compression experts on-list. my main desktop is nearly full. i'm looking for the best means of compressing [mostly] audio files. mp3, ogg, and .flag. i cross backup among my servers and would like to have the most reasoned approach to compressing my ~/Music/ files. is rar/unrar better that bzip -9? is there any new/forthcoming archiver on the horizon? actually, i am looking to buy/build a dual or quad system with two 1.5TB drives. but need help with that ... if anybody inn the seattle area can come over and help me. for now, i just want to be as sure as possible that my files are saved on at least two systems. thanks for any insights here. gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.23a release of Jottings: http://jottings.thought.org/index.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Bind to Localhost from Jail
Hi all, I'm trying to get cPanel installed on my host, and to run it from jail. The installer script that cPanel provides, however, seems to be confused by the fact that it cannot test the daemons it has installed by checking if they are listening on localhost. Is there any way to allow services running in jail to bind on localhost? I noticed that there was a patch committed to the stable branch that allowed for jails to have multiple or no ip addresses. Is this perhaps a solution to the problem I've outlined above? If anyone can provide any insight it would be much appreciated! Thanks, Dave ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
sys/vimage.h and net/opt_inet6 not exist on 7.1 release?
Hi, Im trying to compile sys/netinet/ip_fw_pfil.c as example of KLD firewall module. This file include net/opt_inet6.h and sys/vimage.h but the compiler dont find it. This files seems that was deleted from the source tree. Anyone know something?. Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: issues in XFCE 4.6
> The install for 4.6.0 is too complicated (hence error-prone). > I'm sticking with my current version of xfce, which I like a lot. That may well have been a better choice at this point... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: issues in XFCE 4.6
The install for 4.6.0 is too complicated (hence error-prone). I'm sticking with my current version of xfce, which I like a lot. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Perl5 with threads?
Hello FreeBSD-Team, i got a question about the Perl version in 7.1 release. I needed Perl 5.8.10 but this wasn't available, okay i only need the perl threds but this isn't on in default. I set it in my ports dir in my MAKEFILE on, but wasn't accepted. How can i use Perl5.8.9_2 in FreeBSD 7.1 with Thread-Support? $uname -a FreeBSD 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 -- Gruß, s0rk signature.asc Description: OpenPGP digital signature
Re: issues in XFCE 4.6
Manolis, Thanks for the quick reply. > Did you follow the rest of the instructions for xfce 4.6 in UPDATING? > There are a few ports to deinstall, preferably before upgrading. A > little problem with that: after having the ports tree updated I could > not simply "make deinstall" them, as the old port directories were no > longer present. I could use stg like pkg_delete, but in the end, I > preferred using pkg_rmleaves and remove the entire xfce4.4 related ports > (including the libs, mousepad, Thunar and a few add-ons) and just > installed 4.6 afterwards. It all works fine. I'll try that and see if it helps. I did pkg_delete the specified packages (I've never experienced "make deinstall" working. It always errors that the packages/ports are already installed and can't be uninstalled, and that I should try make deinstall... > The following is a list of the xfce related ports (minus some extra > add-ons) in my system. Check whether you are missing something: That looks like the same list I have. thanks for passing it on. Keith ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: sed error "unescaped newline inside substitute pattern"
Don't you have control over this web form??? That's the place you should filter your input... The sooner you do the filtering the better. Anyway, you could also use an intermediate variable that replaces all newlines with spaces. # a="This > is > the > input > from the > web server" # b=`echo $a` # sed "s/foo/$b/" foo This is the input from the web server ^D# I hope you won't go that route though... Nikos Yes - I have control of that - so I could filter out the problem in php. The only problem is that I don't know what I am filtering. If I know exactly what the erroneous characters are I could filter them - I have looked at the file in vi but the problematic characters are invisible there. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: sed error "unescaped newline inside substitute pattern"
David Banning wrote: I have looked at the file in vi but the problematic characters are invisible there. The problematic character is the newline character, \n, ASCII 0xA. And, yes vi is old but it's a few months now that it supports newlines without problems;) Nikos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: issues in XFCE 4.6
Keith Seyffarth wrote: > On freebsd 6.0, I upgraded XFCE from 4.4 to 4.6 last night. > > When I started X this morning, and went to follow these instructions > from the UPDATING file: > > "Make sure to switch as well to the Tango theme. To do this just open > the Settings Manager and select Appearance. Inside the Appearance > dialog switch to the Icons tab and select the "Tango" entry in the > list on the left side of the Icons tab." > > I discovered that the menu from the panel does not work in 4.6. Is > there something else I have to install or update (or reconfigure) to > get this available? > > I also figure I may as well ask now, but in 4.4 there was not an > option for "Appearance" in the Settings Manager. Should this have been > installed in 4.6, or is there something else I need to install? > > I don't see anything that looks like an error in Xorg.0.log. > > Thanks, > Keith S. > > Did you follow the rest of the instructions for xfce 4.6 in UPDATING? There are a few ports to deinstall, preferably before upgrading. A little problem with that: after having the ports tree updated I could not simply "make deinstall" them, as the old port directories were no longer present. I could use stg like pkg_delete, but in the end, I preferred using pkg_rmleaves and remove the entire xfce4.4 related ports (including the libs, mousepad, Thunar and a few add-ons) and just installed 4.6 afterwards. It all works fine. The following is a list of the xfce related ports (minus some extra add-ons) in my system. Check whether you are missing something: Thunar-1.0.0XFce 4 file manager gtk-xfce-engine-2.4.3 An XFCE engine for GTK 2.0 libexo-0.3.100 Terminal library, extensions to Xfce by os-cillation libxfce4gui-4.6.0 XFce 4 widget library required by xfce4 and xfwm4 libxfce4menu-4.6.0 XFce 4 library for a freedesktop.org compliant menu impleme libxfce4util-4.6.0 XFce 4 library with non-graphical helper functions mousepad-0.2.16 Simple xfce editor orage-4.6.0 A calendar application to manage your time with XFce 4 xfce-4.6.0 The "meta-port" for the XFce 4 desktop environment xfce4-appfinder-4.6.0 Find application in the system supporting Desktop entry for xfce4-conf-4.6.0XFce 4 configuration mananger xfce4-desktop-4.6.0_1 XFce 4 desktop background manager and root menu xfce4-mixer-4.6.0 XFce 4 volume mixer module for xfce4-panel xfce4-panel-4.6.0 XFce 4 panel module xfce4-print-4.6.0 XFce 4 graphical frontend for printing xfce4-session-4.6.0 Session manager for the Xfce 4 desktop environment xfce4-settings-4.6.0 XFce 4 settings application xfce4-utils-4.6.0 XFce 4 essential utilities and scripts xfce4-wm-4.6.0 XFce 4 window manager xfce4-wm-themes-4.6.0 XFce 4 window decoration themes for xfwm4 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: sed error "unescaped newline inside substitute pattern"
David Banning wrote: Nikos Vassiliadis wrote: David Banning wrote: Here is the php line that gives the error; cat start_text | sed "s/--maintext--/$test/" > endtext give error; sed: 1: "s/--maintext--/ Comment ...": unescaped newline inside substitute pattern where $test contains customer input from a website form There is something about the content of the text within the variable $test that is causing the error. Any pointers would be helpful. You cannot use unescaped newlines in the replacement string: # sed 's/foo/foo<<>> > bar/' sed: 1: "s/foo/foo bar/": unescaped newline inside substitute pattern You have to precede each newline character with a backslash: # sed 's/foo/foo\<<>> > bar/' foo foo bar The examples above are made using the bourne shell. The above doesn't work in csh. It's the documented behavior: 2. The escape sequence \n matches a newline character embedded in the pattern space. You cannot, however, use a literal newline character in an address or in the substitute command. ... A line can be split by substituting a newline character into it. To specify a newline character in the replacement string, precede it with a backslash. I am sure there is some good reason behind this... OT, you should not pass parameters to shell scripts using double quotes, since the shell will evaluate possible variable values: # echo "$OSTYPE" FreeBSD # echo '$OSTYPE' $OSTYPE I really doubt you want the first behavior, that is, variable evaluation for strings coming from a web server. HTH, Nikos The problem that I am having is that the input is from a web form - so I have to deal with it - I have to somehow modify it so it can pass sed. Don't you have control over this web form??? That's the place you should filter your input... The sooner you do the filtering the better. Anyway, you could also use an intermediate variable that replaces all newlines with spaces. # a="This > is > the > input > from the > web server" # b=`echo $a` # sed "s/foo/$b/" foo This is the input from the web server ^D# I hope you won't go that route though... Nikos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
issues in XFCE 4.6
On freebsd 6.0, I upgraded XFCE from 4.4 to 4.6 last night. When I started X this morning, and went to follow these instructions from the UPDATING file: "Make sure to switch as well to the Tango theme. To do this just open the Settings Manager and select Appearance. Inside the Appearance dialog switch to the Icons tab and select the "Tango" entry in the list on the left side of the Icons tab." I discovered that the menu from the panel does not work in 4.6. Is there something else I have to install or update (or reconfigure) to get this available? I also figure I may as well ask now, but in 4.4 there was not an option for "Appearance" in the Settings Manager. Should this have been installed in 4.6, or is there something else I need to install? I don't see anything that looks like an error in Xorg.0.log. Thanks, Keith S. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Inetd and multiple IP addresses
that is KNOWN to be impatible with inetd.conf file. you'd have to recreate all your services. I topposted. Have a good day. On Fri, Mar 13, 2009 at 8:21 AM, Andrew wrote: > Tim Judd wrote: > >> On Fri, 2009-03-13 at 03:38 +0100, skx wrote: >> >>> I have inetd configured to open a listening port for leafnode nntp >>> stream tcp nowait news /usr/libexec/tcpd /usr/local/sbin/leafnode >>> but this opens the port on all IP addresses associated with this machine. >>> I would like to choose only one. >>> I tried 192.168.13.2:nntp stream tcp nowait news /usr/libexec/tcpd >>> /usr/local/sbin/leafnode >>> >>> but it doesn't work >>> >>> Mar 11 02:59:21 rewers inetd[89528]: 192.168.13.2:nntp/tcp: unknown >>> service >>> >>> What am I doing wrong? Isn't ip:service_name a correct entry? >>> FreeBSD 7.1-RELEASE-p1 with custom kernel if that matters. >>> >>> >> inetd.conf(5) >> >> see option -a >> >> put it in your rc.conf, as inetd_flags >> I do this for all my hosts so I have a tighter reign on the problem >> >> > True, but it limits inetd to that IP for all services. > > There is also have xinetd which allows control per service. > /usr/ports/security/xinetd > Info: Replacement for inetd with better control and logging > > > > >> ___ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscr...@freebsd.org" >> > > > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: / partition full
Warren Liddell wrote: with thanks to the added du command not looking into mounts, it seemd /boot was it, there was a kernel.old file in there rather large, removed it an an old loader file which has freed up quite a bit of space .. How much space did you get rid of? Jos Chrispijn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Replace console login prompt
Thanks for your help Ivan. Finally, I found here the solution: http://www.unix.com/unix-dummies-questions-answers/13126-freebsd-auto-login-user-boot-im-stuck.html I set up getty to autologin and then a .login runs my script. Thanks. Ivan Voras escribió: Matias Surdi wrote: Hi, Please, could somebody give me a pointer to some documentation or an idea of how to replace the default console login prompt with a custom script? man 5 ttys ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Replace console login prompt
In the last episode (Mar 13), Ivan Voras said: > Matias Surdi wrote: > > Please, could somebody give me a pointer to some documentation or an > > idea of how to replace the default console login prompt with a custom > > script? > > man 5 ttys or, man 5 gettytab. gettytab is the file that holds the login prompt text. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: sed error "unescaped newline inside substitute pattern"
Nikos Vassiliadis wrote: David Banning wrote: Here is the php line that gives the error; cat start_text | sed "s/--maintext--/$test/" > endtext give error; sed: 1: "s/--maintext--/ Comment ...": unescaped newline inside substitute pattern where $test contains customer input from a website form There is something about the content of the text within the variable $test that is causing the error. Any pointers would be helpful. You cannot use unescaped newlines in the replacement string: # sed 's/foo/foo<<>> > bar/' sed: 1: "s/foo/foo bar/": unescaped newline inside substitute pattern You have to precede each newline character with a backslash: # sed 's/foo/foo\<<>> > bar/' foo foo bar The examples above are made using the bourne shell. The above doesn't work in csh. It's the documented behavior: 2. The escape sequence \n matches a newline character embedded in the pattern space. You cannot, however, use a literal newline character in an address or in the substitute command. ... A line can be split by substituting a newline character into it. To specify a newline character in the replacement string, precede it with a backslash. I am sure there is some good reason behind this... OT, you should not pass parameters to shell scripts using double quotes, since the shell will evaluate possible variable values: # echo "$OSTYPE" FreeBSD # echo '$OSTYPE' $OSTYPE I really doubt you want the first behavior, that is, variable evaluation for strings coming from a web server. HTH, Nikos The problem that I am having is that the input is from a web form - so I have to deal with it - I have to somehow modify it so it can pass sed. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Xorg - Resolution issues
Francis Dubé wrote : Hi everyone, I got this TV : http://www.samsung.com/ca/consumer/detail/spec.do?group=tv&type=tv&subtype=lcd&model_cd=LN40A330J1DXZC&fullspec=F I'm trying to use it as my screen under FreeBSD 7.1-RELEASE with a resolution of 1366x768 which is suposed to be suported by the TV, acording with the TV's specs. I did the same with another very similar TV and it was working #1 without having to create any Xorg.conf, a plain startx and the display was perfect (1366x768). With my new TV, X only start in 1280x720. So I created a config file with Xorg -configure, then I tried to force Xorg to use 1366x768 but it keeps loading in 1280x720. In my Xorg.0.log it looks like there's no support for the resolution I want : [...] (==) Using config file: "/etc/X11/xorg.conf" [...] (II) RADEON(0): Panel infos found from DDC detailed: 1280x720 [...] (II) RADEON(0): Supported additional Video Mode: (II) RADEON(0): clock: 74.2 MHz Image Size: 160 x 90 mm (II) RADEON(0): h_active: 1280 h_sync: 1390 h_sync_end 1430 h_blank_end 1650 h_border: 0 (II) RADEON(0): v_active: 720 v_sync: 725 v_sync_end 730 v_blanking: 750 v_border: 0 (II) RADEON(0): Supported additional Video Mode: (II) RADEON(0): clock: 74.2 MHz Image Size: 160 x 90 mm (II) RADEON(0): h_active: 1920 h_sync: 2008 h_sync_end 2052 h_blank_end 2200 h_border: 0 (II) RADEON(0): v_active: 540 v_sync: 542 v_sync_end 547 v_blanking: 562 v_border: 0 (II) RADEON(0): Ranges: V min: 23 V max: 61 Hz, H min: 26 H max: 68 kHz, PixClock max 150 MHz (II) RADEON(0): Monitor name: SAMSUNG [...] (II) RADEON(0): Output DVI-0 using initial mode 1280x720 [...] This is how i configured my resolution in my /etc/X11/xorg.conf : [...] Section "Screen" Identifier "Screen0" Device "Card0" Monitor"Monitor0" DefaultDepth 24 SubSection "Display" Viewport 0 0 Depth 24 Modes "1366x768" EndSubSection EndSection [...] My video card is a Radeon HD 3450 and my Xorg version is xorg-7.3_2 Also, the only other resolution "supported" by the TV according to the log file would be 1920x540...but it's not supported by the TV ! Am I missing something ? Thanks for reading. Francis ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" I had this problem last month, I tought it was fixed using this little trick suggested by Polytropon : Polytropon wrote : If it doesn't work, there's always an option to use xrandr via ~/.xinitrc: xrandr --size 1366x768 & xrandr --fb 1366x768 & I have a similar issue with the "ati" driver, using an ATI Radeon 9200 (RV250) which I need to force to 1400x1050 (worked with old XFree86 and the setting in the config file, as you mentioned it). The autodetection of the screen (21" CRT) leads to stupid values that are completely unusable. The screen is located far from my office so I can't be in front of it to test, that's why I haven't spotted it wasn't working. I tought it was because when i take a screenshot with 'scrot' i get a full screenshot in 1366x768 and everything is clean, but the TV itself shows a 1280x720 display. I should've watched the Xorg's log instead of simply assuming it was working with a screenshot, but anyway now my problem is the same : The PC is configured in 1366x768, but the TV don't care and shows a 1280x720. Anyone got a similar issue and a way to fix it ? Thanks, Francis Dubé ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
xine-v0.99.5 hangs on FreeBSD-7.1; xmms-1.2.11 crashes on enabling option DoubleSize
Hi all, I just downloaded the latest ports tarball and successfully installed xine. When I started xine (not as root), I got the message I: caps.c: Dropping root privileges The ui loaded but hung. It simply did not respond to any number of mouse clicks. I finally had to kill xine. Xmms-1.2.11 works well in all other ways except that it crashes when I enable the option DoubleSize. I manually set doublesize to true in ~/.xmms/config. Running xmms& gave the following error message : Gtk-WARNING **: Failed to load module "libgnomebreakpad.so": Shared object "libgnomebreakpad.so" not found, required by "xmms" Set_LDT Gdk-ERROR **: BadMatch (invalid parameter attributes) serial 2468 error_code 8 request_code 72 minor_code 0 Gdk-ERROR **: BadMatch (invalid parameter attributes) serial 2469 error_code 8 request_code 72 minor_code 0 [1]+ Exit 1 xmms Changing doublesize back to false gets rid of the Gdk-ERROR's (although the Gtk-WARNING persists) and xmms starts up nicely enough. The more serious problem, of course, is the hanging of xine at startup. Any help would be greatly appreciated. Thank you Manish Jain invalid.poin...@gmail.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: SanDisk USB stick with FreeBSD 7
da0: Removable Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: Attempt to query device size failed: UNIT ATTENTION, Medium not present this suggest defective device or USB controller/driver problems. if you can - check it on another computer running other OS (linux, windoze) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Managing bsdpan -- some advice please
Basically I do not know how to manage the bsdpan "ports". On portupgrade -a I get long lists like the one below. How are items "held" How do I decide whether ort not to hold them. Some advice would be appreciated. I have searched for some guidance on the freebsd web site but not found any. ---> Skipping 'bsdpan-B-Debug-1.10' because it is held by user (specify -f to force) ---> Skipping 'bsdpan-Exporter-5.62' because it is held by user (specify -f to force) ---> Skipping 'bsdpan-constant-1.15' because it is held by user (specify -f to force) ---> Skipping 'bsdpan-Text-Soundex-3.03' because it is held by user (specify -f to force) ---> Skipping 'bsdpan-File-Path-2.04' because it is held by user (specify -f to force) ---> Skipping 'bsdpan-CPAN-1.9203' because it is held by user (specify -f to force) ---> Skipping 'bsdpan-SelfLoader-1.15' because it is held by user (specify -f to force) ---> Skipping 'bsdpan-MailTools-2.03' because it is held by user (specify -f to force) ---> Skipping 'bsdpan-libwww-perl-5.813' because it is held by user (specify -f to force) ---> Skipping 'bsdpan-Term-ReadLine-Perl-1.0302' because it is held by user (specify -f to force) ---> Skipping 'bsdpan-DB_File-1.817' because it is held by user (specify -f to force) ---> Skipping 'bsdpan-IPC-SysV-2.00' because it is held by user (specify -f to force) ---> Skipping 'bsdpan-ANSIColor-1.12' because it is held by user (specify -f to force) ---> Skipping 'bsdpan-Thread-Semaphore-2.09' because it is held by user (specify -f to force) ---> Skipping 'bsdpan-B-Lint-1.11' because it is held by user (specify -f to force) ---> Skipping 'bsdpan-CPAN-1.9205' because it is held by user (specify -f to force) ---> Skipping 'bsdpan-Safe-2.16' because it is held by user (specify -f to force) ---> Skipping 'bsdpan-CPAN-1.9102' because it is held by user (specify -f to force) ---> Skipping 'bsdpan-Thread-Queue-2.11' because it is held by user (specify -f to force) ---> Skipping 'bsdpan-libnet-1.21' because it is held by user (specify -f to force) ---> Skipping 'bsdpan-Shell-0.72' because it is held by user (specify -f to force) ---> Skipping 'textproc/p5-Text-Balanced' because it is held by user (specify -f to force) ---> Skipping 'bsdpan-Term-Cap-1.12' because it is held by user (specify -f to force) ---> Skipping 'databases/p5-DBD-mysql' because it is held by user (specify -f to force) ---> Skipping 'devel/p5-IO' because it is held by user (specify -f to force) ---> Skipping 'devel/p5-Devel-Symdump' because it is held by user (specify -f to force) ---> Skipping 'devel/p5-Pod-Coverage' because it is held by user (specify -f to force) ---> Skipping 'devel/p5-Filter' because it is held by user (specify -f to force) ---> Skipping 'lang/p5-Switch' because it is held by user (specify -f to force) ---> Skipping 'misc/p5-Array-Compare' because it is held by user (specify -f to force) ---> Skipping 'textproc/p5-Pod-Simple' because it is held by user (specify -f to force) ---> Skipping 'math/p5-Math-Complex' because it is held by user (specify -f to force) ---> Skipping 'converters/p5-Encode' because it is held by user (specify -f to force) ---> Skipping 'www/p5-CGI.pm' because it is held by user (specify -f to force) ---> Skipping 'devel/p5-AutoLoader' because it is held by user (specify -f to force) ---> Skipping 'devel/p5-Devel-PPPort' because it is held by user (specify -f to force) ---> Skipping 'textproc/p5-podlators' because it is held by user (specify -f to force) Thanks David ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Inetd and multiple IP addresses
Tim Judd wrote: On Fri, 2009-03-13 at 03:38 +0100, skx wrote: I have inetd configured to open a listening port for leafnode nntp stream tcp nowait news /usr/libexec/tcpd /usr/local/sbin/leafnode but this opens the port on all IP addresses associated with this machine. I would like to choose only one. I tried 192.168.13.2:nntp stream tcp nowait news /usr/libexec/tcpd /usr/local/sbin/leafnode but it doesn't work Mar 11 02:59:21 rewers inetd[89528]: 192.168.13.2:nntp/tcp: unknown service What am I doing wrong? Isn't ip:service_name a correct entry? FreeBSD 7.1-RELEASE-p1 with custom kernel if that matters. inetd.conf(5) see option -a put it in your rc.conf, as inetd_flags I do this for all my hosts so I have a tighter reign on the problem True, but it limits inetd to that IP for all services. There is also have xinetd which allows control per service. /usr/ports/security/xinetd Info: Replacement for inetd with better control and logging ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Bios chip update suggestions
G'Day, Fbsd1 wrote: Chris Whitehouse wrote: Fbsd1 wrote: I have an desktop manufactured in 2002 by a South Korean company Hyunju. The company is now out of business. It's bio's do not allow booting from a usb memory stick. I want to find an bio's update that adds booting from usb memory stick. I know the desktop uses AWARD bio's chip and the bio's id string is 01/08/2002-694T-686-P6VXM2TC-00 All the internet bio's chip update url's found by Google search are customized for MS windows. Suggestions on how or where to purchase the correct bio's chip update? --snip-- What i mean is all the bio update sites have a utility that runs from the website to fetch your bio id string info. This utility will not work on a non-windows operating system. If you have access to windows, you could create a bart-pe cd which is a portable windows booting system. http://nu2.nu/pebuilder/ Take heed of the legal notices :) HTH cya Andrew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: / partition full
Olivier Nicole wrote: 396M/boot I'd say this /boot is pretty big, you may have several versions of older kernel that you can remove. Olivier with thanks to the added du command not looking into mounts, it seemd /boot was it, there was a kernel.old file in there rather large, removed it an an old loader file which has freed up quite a bit of space .. Thanks to all for assistance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: / partition full
Mehul Ved wrote: On Fri, Mar 13, 2009 at 6:06 PM, Warren Liddell wrote: Thanks that gave me what i needed .. now i goto figure out what i can del an what not to .. never had a prob with / filling up before *g* enterprise# du -h -d 1 / 537G/usr 538G/ Pretty easy to figure out where the problem is. I guess I'd check /usr/home next. Filesystem SizeUsed Avail Capacity Mounted on /dev/ad0s1a496M416M 41M91%/ devfs 1.0K1.0K 0B 100%/dev /dev/ad0s1e496M 50K456M 0%/tmp /dev/ad0s1f281G126G133G49%/usr /dev/ad0s1d2.8G747M1.8G29%/var /dev/ad1s1 180G136G 30G82%/usr/home/shinjii/WINDOWS /dev/ad4s1 451G275G140G66%/usr/home/shinjii/downloads ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: SanDisk USB stick with FreeBSD 7
Oops, hit the wrong reply button... On Fri, 13 Mar 2009 16:49:53 +0300, "\"Remorque\"" wrote: > On Fri, Mar 13, 2009 at 4:42 PM, Polytropon wrote: > > > On Fri, 13 Mar 2009 16:33:23 +0300, "\"Remorque\"" > > wrote: > > > Sorry for top-posting! > > > > No problem. > > > > > > > > > I used to have one of these and it worked with Windows, FreeBSD 6.x and > > even > > > 7.x until one day I broke it with my carelessness. > > > > When I got you correctly, this means that it *should* work with > > FreeBSD 7 without any "magic" done to the system? Please get me > > right: If I need some modification on my 7.x system to make it > > work, I still can't use the stick on my 6.x and 5.x systems, so > > it would be useless. > > > It should (have) work(ed), yes, like this: > > mount_msdosfs /dev/da0s1 /mnt Exactly, this is what I expected, and which worked with other "Windows" formatted USB sticks in the past. But due to not having /dev/da0s1... allthough fdisk da0 showed the partition... no luck. > But as you can see, yours has problems.. as appears in dmesg. Okay, now I am sure to have something defective. I'll return it with a dmesg hardcopy. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: / partition full
On Mar 13, 2009, at 8:46 AM, Bill Moran wrote: In response to Wojciech Puchar : good lesson to NOT make multiple partitions :) And when a rogue app fills up /var and kills 4 other apps that could have kept going ... are we then learning conflicting lessons? Enterprise-class servers should have many partitions to separate different functions and protect apps from each other. This newbie admin agrees with this. Having a separate /var partition, in particular, has saved my bacon several times, at least until I figured out how to turn mysql-bin files off. The /var partition was at 100%, but the server kept going so I could diagnose and find the problem. Whew! -- John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: / partition full
Definitely take a look at the /usr/home directory like Mehul stated. Try something like this to get a list of large files in that file system: find /usr -type f -size +50M -exec ls -la {} \; or find /usr/home -type f -size +50M -exec ls -la {} \; The above commands will print out a list of files above 50 Megs. Also, you might have large log files lying around the file system taking up space. -- Jacques Manukyan Mehul Ved wrote: On Fri, Mar 13, 2009 at 6:06 PM, Warren Liddell wrote: Thanks that gave me what i needed .. now i goto figure out what i can del an what not to .. never had a prob with / filling up before *g* enterprise# du -h -d 1 / 537G/usr 538G/ Pretty easy to figure out where the problem is. I guess I'd check /usr/home next. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
SanDisk USB stick with FreeBSD 7
Hi, I've gotten an USB stick with 8 GB which doesn not work with FreeBSD 7-STABLE-20080811. I've googled and found that this particular product might be "defective by factory". Anyone has an idea how to make it accessible with FreeBSD? In order to have maximal abilities for data transfer, this stick is msdosfs formatted. But no proper device will occur if plugged in. Some data here: umass0: on uhub3 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: Attempt to query device size failed: UNIT ATTENTION, Medium not present umass0: at uhub3 port 1 (addr 2) disconnected (da0:umass-sim0:0:0:0): lost device (da0:umass-sim0:0:0:0): removing device entry umass0: detached There is only /dev/da0. % fdisk da0 *** Working on device /dev/da0 *** parameters extracted from in-core disklabel are: cylinders=977 heads=255 sectors/track=63 (16065 blks/cyl) parameters to be used for BIOS calculations are: cylinders=977 heads=255 sectors/track=63 (16065 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 11 (0x0b),(DOS or Windows 95 with 32 bit FAT) start 44, size 15679396 (7655 Meg), flag 0 beg: cyl 0/ head 0/ sector 45; end: cyl 975/ head 254/ sector 63 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: Sothe partition data can be read, why is there no device file to access the partition? because of the line "da0: Attempt to query device size failed: UNIT ATTENTION, Medium not present" I think it's not possible to get rid of this problem by reformatting the stick. I think about returning it to the vendor with a hardcopy of dmesg which reveals that the stick is defect. :-) Thanks for any recommendations. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: / partition full
On Fri, 13 Mar 2009 21:33:53 +1000 Warren Liddell wrote: > I've looked as much as i can, but with only 5meg free on / .. its making > things in terms of building world & kernel a lil difficult .. what's the > command so i can see exactly what dir on / is using up all the space so > i can free it up ? # du -xd1 / | sort -rn | head -7 167521 / 81728 /root 56918 /boot 7630/rescue 4354/sbin 3550/lib 3058/etc sola# du -xd1 /root | sort -rn | head -7 81728 /root 30526 /root/build 23400 /root/mail 7020/root/p45 4402/root/bin 842 /root/from_4_5 552 /root/.kde sola# du -xd1 /boot | sort -rn | head -7 56918 /boot 20048 /boot/kernel 17974 /boot/kernel.old 17968 /boot/kernel.55S_2 18 /boot/defaults 2 /boot/modules You want -x to not descend into mounts such as /usr or /var. Replace -d1 with --max-depth=1 if you like extra typing, or are using linux :) cheers, Ian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Anyone runs 7.1 with an IBM X3650 (64 bits ARCH) ?
Ivan Voras wrote: > Frank Bonnet wrote: >> Hello >> >> Everything is in the subject :-) > > I'm not running it now but I've tested it - worked fine. > OK Thanks a lot Ivan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: / partition full
In response to Wojciech Puchar : > > good lesson to NOT make multiple partitions :) And when a rogue app fills up /var and kills 4 other apps that could have kept going ... are we then learning conflicting lessons? Enterprise-class servers should have many partitions to separate different functions and protect apps from each other. If you're arguing differently, then your experience is insufficient to make an intelligent argument. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: / partition full
In response to Warren Liddell : > Neal Hogan wrote: > > man du > > > > > Thanks that gave me what i needed .. now i goto figure out what i can > del an what not to .. never had a prob with / filling up before *g* > > enterprise# du -h -d 1 / Try du -hxd1 / It'll save you from having to figure out when it's looking at different partitions. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Networking / Storage projects testing.
Hi All , I am interested in implementing some interesting Networking & storage virtualization related projects on FreeBSD . I have only one PC available with me at home. Does FreeBSD foundation provide some sort of public servers wherein the developers can test their code or something like this ? thanks, Onkar ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: / partition full
> 396M/boot I'd say this /boot is pretty big, you may have several versions of older kernel that you can remove. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: / partition full
On Fri, Mar 13, 2009 at 6:06 PM, Warren Liddell wrote: > Thanks that gave me what i needed .. now i goto figure out what i can del an > what not to .. never had a prob with / filling up before *g* > > enterprise# du -h -d 1 / > 537G /usr > 538G / Pretty easy to figure out where the problem is. I guess I'd check /usr/home next. -- Dirksen's Three Laws of Politics: (1) Get elected. (2) Get re-elected. (3) Don't get mad, get... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: / partition full
Neal Hogan wrote: man du Thanks that gave me what i needed .. now i goto figure out what i can del an what not to .. never had a prob with / filling up before *g* enterprise# du -h -d 1 / 2.0K/.snap 2.0K/dev 34K/tmp 537G/usr 740M/var 1.7M/etc 2.0K/cdrom 2.0K/cdrom1 2.0K/dist 1.1M/bin 396M/boot 6.6M/lib 786K/libexec 2.0K/media 2.0K/mnt 2.0K/proc 4.0M/rescue 80K/root 5.0M/sbin 538G/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: / partition full
I've looked as much as i can, but with only 5meg free on / .. its making things in terms of building world & kernel a lil difficult .. what's the command so i can see exactly what dir on / is using up all the space so i can free it up ? du -s directory good lesson to NOT make multiple partitions :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Problem building ports : 1) abiword; 2) xine
Hello BF/Everyone, Thanks for your advice. But the problems just don't seem to go away. I ran 'make config' inside /usr/ports/ftp/curl and was able to rectify the problem. I was installing curl as part of the xine build process. Once curl got built, xine got built too. The install went smoothly enough. But when I ran xine& from a gnome-terminal, the ui loaded, got stuck for hours and simply would not respond to any mouse clicks. I finally had to do a kill -9. (Which is why I dropped curl from the subject of this message and replaced it with xine). As for abiword, I downloaded the latest ports tarball a few minutes back. Building abiword stops with pretty much the same error : In file included from /usr/local/include/gtk-2.0/gtk/gtkactiongroup.h:34, from /usr/local/include/gtk-2.0/gtk/gtk.h:38, from goffice-gtk.c:27: /usr/local/include/gtk-2.0/gtk/gtkitemfactory.h:50: warning: function declaration isn't a prototype goffice-gtk.c:1041: error: static declaration of 'gdk_cairo_set_source_pixbuf' follows non-static declaration /usr/local/include/gtk-2.0/gdk/gdkcairo.h:36: error: previous declaration of 'gdk_cairo_set_source_pixbuf' was here goffice-gtk.c:1152: error: static declaration of 'gtk_dialog_get_response_for_widget' follows non-static declaration /usr/local/include/gtk-2.0/gtk/gtkdialog.h:149: error: previous declaration of 'gtk_dialog_get_response_for_widget' was here gmake[3]: *** [goffice-gtk.lo] Error 1 gmake[3]: Leaving directory `/usr/ports/devel/goffice04/work/goffice-0.4.3/goffice/gtk' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/devel/goffice04/work/goffice-0.4.3/goffice' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/usr/ports/devel/goffice04/work/goffice-0.4.3/goffice' gmake: *** [all-recursive] Error 1 *** Error code 2 Stop in /usr/ports/devel/goffice04. *** Error code 1 Stop in /usr/ports/editors/abiword. Any help with xine and/or abiword would be greatly appreciated. Thank you and Regards Manish Jain invalid.poin...@gmail.com bf wrote: Firstly, it looks like you are using an old ports tree. You should update it by downloading a newer tarball or using csup. Read the pertinent section of the handbook if you don't know how to do this. This may solve your goffice build problem. (It's actually goffice, and not abiword, that is the problem.) If it doesn't, send a transcript to the port maintainer via email, or file a PR. You should not be attempting to use curl 7.19.2, which has security problems, but rather the newer 7.19.4, which is in the latest ports tree. The curl problem, as the error message says, is that you have enabled two mutually incompatible options when configuring the port. I don't know what you mean by "replacing the Makefile": you shouldn't need to replace any Makefiles. Just rerun 'make config' in the port directory, and select either GNUTLS or OPENSSL, but not both. Then build the port. The options that you have selected for ports are not contained in any Makefile, but rather in /var/db/ports, and can be viewed by looking through that directory, or by running 'make showconfig' in the port directory. b. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: / partition full
On Fri, Mar 13, 2009 at 5:03 PM, Warren Liddell wrote: > I've looked as much as i can, but with only 5meg free on / .. its making > things in terms of building world & kernel a lil difficult .. what's the > command so i can see exactly what dir on / is using up all the space so i > can free it up ? Are you looking for "du --max-depth=1 /" ? -- Heard that the next Space Shuttle is supposed to carry several Guernsey cows? It's gonna be t... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: / partition full
just to clarify (it's early) man du(1) On Fri, Mar 13, 2009 at 6:33 AM, Warren Liddell wrote: > I've looked as much as i can, but with only 5meg free on / .. its making > things in terms of building world & kernel a lil difficult .. what's the > command so i can see exactly what dir on / is using up all the space so i > can free it up ? > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscr...@freebsd.org" > -- www.nealhogan.net www.lambdaserver.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
/ partition full
I've looked as much as i can, but with only 5meg free on / .. its making things in terms of building world & kernel a lil difficult .. what's the command so i can see exactly what dir on / is using up all the space so i can free it up ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: is there a laptop ?
Wojciech Puchar wrote: > > > > This machine uses wpi and bge. Both devices seem to work ok > > chucking files around a domestic network. > > at least for wired network i never had a problem with broadcom chips Neither do I... > > > > w...@pci0:8:0:0:class=0x028000 card=0x135c103c > > chip=0x42228086 rev=0x02 hdr=0x00 > >vendor = 'Intel Corporation' > >device = '10418086 Intel 3945ABG Wireless LAN controller' > >class = network > > b...@pci0:2:14:0: class=0x02 card=0x30aa103c > > chip=0x169c14e4 rev=0x03 hdr=0x00 > >vendor = 'Broadcom Corporation' > >device = 'BCM5788 Broadcom NetLink (TM) Gigabit Ethernet' > >class = network > > > > Chris -- regards, Maciej Suszko. signature.asc Description: PGP signature
Re: Anyone runs 7.1 with an IBM X3650 (64 bits ARCH) ?
Frank Bonnet wrote: > Hello > > Everything is in the subject :-) I'm not running it now but I've tested it - worked fine. signature.asc Description: OpenPGP digital signature
Re: Replace console login prompt
Matias Surdi wrote: > Hi, > > Please, could somebody give me a pointer to some documentation or an > idea of how to replace the default console login prompt with a custom > script? man 5 ttys signature.asc Description: OpenPGP digital signature
Replace console login prompt
Hi, Please, could somebody give me a pointer to some documentation or an idea of how to replace the default console login prompt with a custom script? Thank you very much. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Anyone runs 7.1 with an IBM X3650 (64 bits ARCH) ?
Hello Everything is in the subject :-) Thanks for any infos Purpose is migration of a mailhub ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
CFX Network invites you to Grants & Fundraising Ready Non-Profit Organizations Symposium (Mar 31, 2009)
Executive Director, We are hosting a series of webinars for non-profit organizations seeking public / private grant and fundraising solutions. Normal 0 false false false MicrosoftInternetExplorer4 The webinars provide a platform for your organization to engage multiple national grant writers and fundraisers. Normal 0 false false false MicrosoftInternetExplorer4 The added goal is to empower non-profits to pool their financial resources in order to contract a "shared" full time grant writer / fundraiser. -- Event Summary: -- Event: Grants & Fundraising Ready Non-Profit Organizations Symposium Date: Tuesday, March 31, 2009 from 1:00 PM - 2:30 PM (ET) Location: -- Event Details: -- Grants & Fundraising Ready Non-Profit Organizations Symposium " non-profit organizations pool financial resources to contract a shared full time grant writer / fundraiser." If grants dry up, a rare organization could effectively continue to carry out its mission. Clearly not all organizations are likely to have people on staff or have access to outside counsel that specializes in grant writing. The demand for skilled grant writers, coupled with the mystery that seems to surround successful grant writing, leads to troubled areas for development professionals and non-profit organizations. Executive directors who see the success or failure of grant-getting as residing in the hands of the grant writer are required to take into account the myriad of associated issues as well as the importance of the grant application and the purpose of the funding. The CFX Network has assembled a panel of key grant writers and fund raising experts to offer non-profits revenue generating resources. This 90 minute webcast is a must attend for anyone involved in making these critical decisions. Course Level: Intermediate - Advanced Prerequisite: None Method Of Presentation: Group-Based-Internet Developer: The CFX Network Course Fee: $49 - $59 Featured Speakers for Grants & Fundraising Ready Non-Profit Organizations Symposium live webcast: Robert Surber & Associates Robert Surber, Director In the past 30 years Robert has written well over 100 grant applications for funding from Federal, State, and local governments as well as from philanthropic foundations. A majority of these grant proposals have been funded in amounts that have ranged from $25,000 to over $2,000,000. Most of the proposals have been for behavioral health human services providers that serve high risk and/or multiple need populations Robert Surber is a Licensed Clinical Social Worker with 40 years professional experience in health and human service settings with children, youth, adults and seniors. This experience includes several years with human service agencies in Wisconsin, California, and London England. Stellar Grants Management Kimberly Fontenot, Director In the past ten years, through this specialized service, there have been over $275 million dollars invested, donated to our clients, or as part of our Grant and RFP sources. Kimberly is an Approved Government OHA/HRSA, FEMA, DOD and DOJ Grant Reviewer and on June 11, 2007 was approved to be listed in Madison Who's Who Among Executives and Professionals, for inclusion into the upcoming 2007-2008 "Honors Edition" of the registry. (Pending Confirmation) Abel for the Willing Cherise Abel Who Should Attend? CEOs CFOs CPAs Board Counsel and Directors Human Resources Staff Banking and Finance Officers Why Attend? - Be able to hire a dedicated grant writer as a shared resource. - New grant opportunities explained by the most qualified professionals & experts - Hear directly from key participants & thought leaders - Interact directly with the panel during Q&A -- Register Online: -- More information and online registration are available here: http://grantquery-emailinvite.eventbrite.com/?invite=MTIxNTEwL2ZyZWVic2QtcXVlc3Rpb25zQGZyZWVic2Qub3JnLzE%3D%0A -- Collect event fees online with Eventbrite http://www.eventbrite.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Anonymizer tool like Tor?
Thanks much for the help. If my modest Python script used to download some web pages goes through Tor, is there a way for the remote web server to somehow trace this connection back to me? if you won't help them with extra info in request headers - no. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: sed error "unescaped newline inside substitute pattern"
David Banning wrote: Here is the php line that gives the error; cat start_text | sed "s/--maintext--/$test/" > endtext give error; sed: 1: "s/--maintext--/ Comment ...": unescaped newline inside substitute pattern where $test contains customer input from a website form There is something about the content of the text within the variable $test that is causing the error. Any pointers would be helpful. You cannot use unescaped newlines in the replacement string: # sed 's/foo/foo<<>> > bar/' sed: 1: "s/foo/foo bar/": unescaped newline inside substitute pattern You have to precede each newline character with a backslash: # sed 's/foo/foo\<<>> > bar/' foo foo bar The examples above are made using the bourne shell. The above doesn't work in csh. It's the documented behavior: 2. The escape sequence \n matches a newline character embedded in the pattern space. You cannot, however, use a literal newline character in an address or in the substitute command. ... A line can be split by substituting a newline character into it. To specify a newline character in the replacement string, precede it with a backslash. I am sure there is some good reason behind this... OT, you should not pass parameters to shell scripts using double quotes, since the shell will evaluate possible variable values: # echo "$OSTYPE" FreeBSD # echo '$OSTYPE' $OSTYPE I really doubt you want the first behavior, that is, variable evaluation for strings coming from a web server. HTH, Nikos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
fd to fd passthrough in kernel
Folks, Does anybody know if the following is possible in FreeBSD? I would like to write a program that: 1. copies its standard input to standard output (verbatim, a la cat with no arguments) 2. exits with an error code of 0 if at least one byte was copied, or a non-zero error code otherwise (that is, if there was no data on standard input) This is easy enough to do, of course. However, the obvious implementation requires all data to be copied from stdin into the process's address space, then written back to the kernel via stdout. A more efficient alternative would be to read one byte in this way, and then issue some system call that arranges for any data on stdin to automatically be transfered to stdout within the kernel --- no extra copying. Effectively, the two file descriptors would be spliced together. I think this is probably possible in Linux; it appears to be what the splice system call there does. Is the same thing possible in FreeBSD? Thanks, Steve Background: I have a little utility called "catok" that does this in the obvious way with copying. I use it in a little server I wrote for playing audiobooks through squeezecenter and remembering the position within the books ... so next time you start you pick up where you left off. The server is just a shell script (sox, lame + some glue) that's called by tcpserver. The catok is needed to determine when there is no more audio from a file or directory, and therefore when it's necessary to move on to the next file or directory. It's a very small issue, but for each listener there are two catok processes running, and it's been gnawing at me for some time whether it's possible to avoid all the copying involved. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Binary upgrade 7.1 i386 -> amd64 ?
Erik Trulsson wrote: > On Fri, Mar 13, 2009 at 09:05:12AM +0100, Frederique Rijsdijk wrote: >> I'm planning to binary upgrade a machine that's now running i386 >> 7.1-RELEASE-p3 to AMD64. Mainly because the machine has 8GB of memory >> and I don't like the PAE limitations. >> >> I've done this a couple of times before with 4.x -> 6.x but all remained >> i386. >> >> Are there any pitfalls when doing an upgrade of i386 to amd64 or should >> it be the same as any binary upgrade? > > I don't know if a binary upgrade from i386 to amd64 is even possible, but I > am fairly certain it is not supported. Source upgrades from i386 to amd64 > are possible, but not trivial and not recommended. > > The recommended procedure for changing from i386 to amd64 is to make a > backup of all important data on the machine, and then do a fresh install of > amd64 after which any needed data is restored from the backup. > The machine has an extra 1TB disks for backups, so that part is already 'done'. Perhaps my only existing worry is that I will not be able to read the existing filesystems after the upgrade. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Binary upgrade 7.1 i386 -> amd64 ?
Btw, yes I know that it might (or will) brake currently existing apps, I have to save the /etc/fstab /etc/master.passwd files etc. I'm just wondering if I end up with a system that can boot the old filesystem and sshd will run so I can recompile all the ports on the machine in the new architecture. OT: I've been trying to search the bsd list archives, but it appears broken. I can view one page of search results, but if I click a page further, I always end up with this error: http://lists.freebsd.org/mailman/mmsearch?config=freebsd-amd64;method=and;format=short;sort=score;words=update;page=2 htdig Archives Access Failure Path info. No list -2- If you want to make another attempt to access a list archive then go via the list users information page. If this problem persists then please e-mail the following information to the mail...@freebsd.org: http://lists.freebsd.org/mailman/mmsearch/freebsd-amd64 /mailman/mmsearch?config=freebsd-amd64;method=and;format=short;sort=score;words=update;page=2 Frederique Rijsdijk wrote: > I'm planning to binary upgrade a machine that's now running i386 > 7.1-RELEASE-p3 to AMD64. Mainly because the machine has 8GB of memory > and I don't like the PAE limitations. > > I've done this a couple of times before with 4.x -> 6.x but all remained > i386. > > Are there any pitfalls when doing an upgrade of i386 to amd64 or should > it be the same as any binary upgrade? > > Thanks, > > -- F > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Binary upgrade 7.1 i386 -> amd64 ?
On Fri, Mar 13, 2009 at 09:05:12AM +0100, Frederique Rijsdijk wrote: > I'm planning to binary upgrade a machine that's now running i386 > 7.1-RELEASE-p3 to AMD64. Mainly because the machine has 8GB of memory > and I don't like the PAE limitations. > > I've done this a couple of times before with 4.x -> 6.x but all remained > i386. > > Are there any pitfalls when doing an upgrade of i386 to amd64 or should > it be the same as any binary upgrade? I don't know if a binary upgrade from i386 to amd64 is even possible, but I am fairly certain it is not supported. Source upgrades from i386 to amd64 are possible, but not trivial and not recommended. The recommended procedure for changing from i386 to amd64 is to make a backup of all important data on the machine, and then do a fresh install of amd64 after which any needed data is restored from the backup. -- Erik Trulsson ertr1...@student.uu.se ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Anonymizer tool like Tor?
On Thu, 12 Mar 2009 13:47:07 -0400, "T." wrote: >You want a transparent tor proxy, which you setup with freebsd and pf. Thanks much for the help. If my modest Python script used to download some web pages goes through Tor, is there a way for the remote web server to somehow trace this connection back to me? FWIW, the web server is run by people who do care for their data (they sell company listings for a living), but aren't l33t hackers either. >You do not want to run tor as root, which unfortunately takes some >tweeking to run properly as the default _tor user. Can you elaborate? After compiling the Ports, a "_tor" user is created. I could successfully launch Tor by "su - _tor". Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Binary upgrade 7.1 i386 -> amd64 ?
I'm planning to binary upgrade a machine that's now running i386 7.1-RELEASE-p3 to AMD64. Mainly because the machine has 8GB of memory and I don't like the PAE limitations. I've done this a couple of times before with 4.x -> 6.x but all remained i386. Are there any pitfalls when doing an upgrade of i386 to amd64 or should it be the same as any binary upgrade? Thanks, -- F ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"