Re: mount 2nd HD containing running Freebsd system
Ricardo Jesus wrote: Fbsd1 wrote: I have run out of space on my running 7.1 system. I have a 2nd HD containing 6.1 that I want to mount and use the 80gb /usr slice. What is the mount command to use? Thinking mount /dev/ad1 /mnt but un-sure how this handles the 6.1 slices on that HD. Read up http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html, namely entries 9.1 and 9.2. Very detailed and helpful stuff. None of that was helpfull. Found post in questions archives from 1992 that gave me pointer to correct direction. Here is the solution I used. ls /dev/ad* listed all the slices on both HDs. mount /dev/ad1s1f /mntmounted the /usr dir from the second HD just like i wanted. ___ 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
WINE installation problem
Hi, My WINE was running fine, but while performing a portupgrade I got an error message. So I decided to remove WINE and reinstall. Now I can't install it either. I get the following message === wine-1.1.17,1 builds, but fails upon startup. *** Error code 1 Stop in /usr/ports/emulators/wine. What to do to get this solved? Thanks, Alain ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how to configure xbiff
On Wed, 25 Mar 2009, Polytropon wrote: On Wed, 25 Mar 2009 16:21:48 +0100 (CET), Pieter Donche pieter.don...@ua.ac.be wrote: What precise command do I have to write in what startup file, so that this does the same thing on FreeBSD/KDE3.5 ? I have the following line in my ~/.xinitrc: xbiff -geometry 50x50+0+998 This is for the lower left corner of a 1400x1050 21 CRT. If you think you need further options, consult man xbiff. :-) From a terminal window command line xbiff -geometry 50x50-5+5 puts it in my upper right corner, but if I put that in my .xinitrc (and chmod 755 ~/.xinitrc) nothing happens. Are you using kdm window manager or xdm ? (I have in my /etc/ttys: ttyv8 /usr/local/bin/kdm -nodeamon xterm on secure) Would .xinitrc not be processed by kdm window manager? ___ 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
Marvell Sheeva
http://www.semihalf.com/portfolio.html does it mean FreeBSD will work on sheevaplug? ___ 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 Mounting /dev/acd0 on /dist: input/output error (5)
hi all,i was trying to install the freebsd7.0 to my USB HDD from my sony cd/dvd.during the installation process i get error Error Mounting /dev/acd0 on /dist: input/output error (5)can you please help me in solving this,Dear freebsdquestions! Get Yourself a cool, short @in.com Email ID now! ___ 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: Atom 330 testing
I have this exact same board, also updated the bios after some bootup trouble, and found that the onboard nic isn't supported until 7.1. Indeed it can cause trouble on older kernels because I couldn't get 7.0-release up and running properly. Luckily 7.1-RC2 was released the day after I got the board and that went up just fine. Ever since then I've had it running my home fileserver with 2x1.5TB seagate disks with gmirror and 2GB ram without problems. Warren Block schreef: Testing a mini-ITX Intel D945GCLF2 motherboard with Atom 330 processor. The 330 is the dual-core HTT version of the Atom 270 found in all the netbooks. Shows up as four processors on FreeBSD. The board has SATA, IDE, PCI, onboard video, and Realtek 8111C Ethernet. This board was shaky until I updated the BIOS from version 99 to version 150. Yay Intel for providing a bootable ISO ROM update image! It still has two major issues: 1. Get to the FreeBSD loader prompt and type a few commands. Just ? once or twice, for example. It locks up in the middle of output or the screen goes black. A hardware reset works. 2. It shuts itself off while the kernel is starting, usually just after Starting network. Disabling the onboard Realtek 8111C seems to fix this. Note that it does sometimes manage to boot with re0 enabled. Works fine after that, including network. An xubuntu 8.10 liveCD also shuts off during boot. I haven't tried other OSes. After it has turned itself off, keyboard numlock LED remains on, power and reset buttons do nothing. AC power has to be turned off or disconnected to clear it and let it start up again. Right now it has -current, although the problems seem the same as with 7-stable. I can try debugging or tests if problem #1 permits. This board would make a very nice low-power server if it could boot reliably. -Warren Block * Rapid City, South Dakota USA ___ 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: mount 2nd HD containing running Freebsd system
I have run out of space on my running 7.1 system. I have a 2nd HD containing 6.1 that I want to mount and use the 80gb /usr slice. What is the mount command to use? In order to give you the right answer, we would need to know how that disk was organised: - slice (of fdisk type); use the command fdisk -s /dev/da1 - partitions (or disklabel); use the command disklabel /dev/da1s1 (if the slice with FreeBSD is the slice 1) - Now you may have used your disk witout slice, I cannot help, or without partition (like Linux), I cannot help either. You can also run /sur/sbin/sysinstall. In Configure choice, you will have two menus, Fdisk and Label, that does the same thing as the command fdisk and disklabel. Only when you know what you want to mount, we can tell you how to mount it. Best regards, olviier ___ 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: mount 2nd HD containing running Freebsd system
Fbsd1 wrote: Ricardo Jesus wrote: Fbsd1 wrote: I have run out of space on my running 7.1 system. I have a 2nd HD containing 6.1 that I want to mount and use the 80gb /usr slice. What is the mount command to use? Thinking mount /dev/ad1 /mnt but un-sure how this handles the 6.1 slices on that HD. Read up http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html, namely entries 9.1 and 9.2. Very detailed and helpful stuff. None of that was helpfull. Found post in questions archives from 1992 that gave me pointer to correct direction. Here is the solution I used. ls /dev/ad* listed all the slices on both HDs. mount /dev/ad1s1f /mntmounted the /usr dir from the second HD just like i wanted. ___ 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 My interpretation of your original post was that you wanted to move /usr to the 2nd HD ;) So I pointed to 2 FAQs that addressed the matter. Anyways glad that you worked it out. Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Duplicate Installation of FreeBSD
Hello list, I have installed and configured a FreeBSD system based on 7.1-RELEASE (not that it matters so much) and I want a way in which I can duplicate this on several other machines. What is the easiest and the simplest way? Please consider the K.I.S.S principle. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ The only time a woman really succeeds in changing a man is when he is a baby. - Natalie Wood ___ 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: Duplicate Installation of FreeBSD
Hello list, I have installed and configured a FreeBSD system based on 7.1-RELEASE (not that it matters so much) and I want a way in which I can duplicate this on several other machines. What is the easiest and the simplest way? Please consider the K.I.S.S principle. boot liveCD, allow rsh on one machine (.rhosts etc) and do on each new. 1) clean beginning of disk: dd if=/dev/zero of=/dev/ad0 bs=64k count=1 make labels as you wish bsdlabel -w ad0 bsdlabel -e ad0 (replace ad0 with something different if it is, or maybe more drives) if you use gmirror/gstripe whatever do it here. 2) bsdlabel -B ad0 (install bootrecord) perform newfs on each partition with options you like mount target root partition on /mnt, make subdirs for other partitions (if any), mount others under /mnt/subdir 3) rsh -l installedmachine tar --one-file-system -cf - / /otherpartition /anotherpartition|tar -C /mnt -xpvf - this will copy all files. be sure to specify all mountpoint in tar -cf - ... 4) edit all needed files like /mnt/etc/rc.conf 5) /sbin/reboot -q ___ 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: WINE installation problem
On Thu, 26 Mar 2009 07:20:38 +0100 Alain G. Fabry alainfa...@belgacom.net wrote: Hi, My WINE was running fine, but while performing a portupgrade I got an error message. So I decided to remove WINE and reinstall. Now I can't install it either. If you ever do that again, make a package first. I get the following message === wine-1.1.17,1 builds, but fails upon startup. *** Error code 1 Stop in /usr/ports/emulators/wine. I'd suggest you either get an old package of wine, or install portdowngrade and use it to take the wine port back to a previous version. wine-1.1.16,1 works for me. ___ 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: first firewall with pf
Hi everyone, Thanks for all your input so far. I have tried to implement all you suggestions but have gotten stuck. I set up a test machine in the office with the ip 10.0.0.110 and encountered the following problems: when I enables antispoofing the firewall didn't work when I tried allowing the 10.0.0.0 subnet it worked ok but when i tried connecting from machines on the 172.16 subnet I was unable to connect. Can you please let me know what I'm doing wrong? # #interfaces # # ext_if=le0 #ext_if2=bce1 # #ports to be opened # # #tcp ports good_port_tcp={ 80, 110, 143, 161, 443, 873 } #udp ports good_port_udp={ 161, 873 } ## #block all other traffic # ## # should be the first rule block in on $ext_if all #anti-spoofing # #traffic can't come in on your IP's #antispoof quick for { lo0 $ext_if $ext_if2 } inet # #allow all connections from and to loopback # # pass in quick on lo0 all keep state pass out quick on lo0 all keep state #allow all connections out through external interfaces # pass out quick on $ext_if all keep state ## #Blocked ips # ## #put ips or ip blocks as below badguys={ 192.168.1.100, 192.160.1.2, 192.168.200.0/24 } block in quick on $ext_if from $badguys #smtp connections allowed # #European servers pass in quick on $ext_if proto tcp from x.x.x.0/26 to 10.0.0.110 port 25 keep state #American pass in quick on $ext_if proto tcp from x.x.x.0/26 to 10.0.0.110 port 25 keep state #from the old iptables??? pass in quick on $ext_if proto tcp from x.x.x.0/27 to 10.0.0.110 port 25 keep state ### # pass traffic from allowed ports # ### #pass traffic from allowed tcp ports pass in on $ext_if inet proto tcp from any to 10.0.0.110 port $good_port_tcp keep state #pass traffic from allowed udp ports pass in on $ext_if inet proto tcp from any to 10.0.0.110 port $good_port_tcp keep state ## # allow connections from NMC and servers # ## #my ip pass in quick on $ext_if inet proto { tcp, udp, icmp } from 10.0.0.58 to 10.0.0.110 keep state #172.16.0.0/12 are the ips NMC access with pass in on $ext_if inet proto { tcp, udp, icmp } from 172.16.0.0/8 to 10.0.0.110 keep state ## # enable logging # ## block in log on $ext_if # to view log run command below #tcpdump -n -e -ttt -i pflog0 ## #for any questions contact me# ## On Tue, Mar 24, 2009 at 8:00 PM, Michael K. Smith - Adhost mksm...@adhost.com wrote: I also forgot to mention: You should probably log your block rule so that you can see what's going on if things don't work as expected. So: block in log on $ext_if Note the lack of quick as well, as previously mentioned. With logging enabled, provided you have pflog running (which you should), you can use the following to see what's being blocked. tcpdump -n -e -ttt -i pflog0 (provided pflog0 is your pflog interface). Regards, Mike -- Regards, Eric Magutu ___ 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
Wine without X
I'm sorry if I'm asking in the wrong place, but I have tried elsewhere and go no response. I want to install wine, but without X on the system. Obviously trying to do this from ports drags in loads of X-related stuff. There doesn't seem to be a WITHOUT_X11 knob available for the wine port (presuambly because hardly anyone would want it). I guess that leaves me installing it the 'old-fashioned' way, but unfortunately my inexperience leaves me floundering here! Because FreeBSD has such a wonderful ports system, all documentation I can find for installing from source refers to ports, and I have not found a single one showing a layman how to install from source manually, and what problems I have to look out for. As you can probably tell, I lack a lot experience, so keep it fairly monosyllabic please! (In case you wonder what on earth I want this for, it is to run a 'render slave' which is Windows only, and simply runs in the background - it would not even count as a 'console application'. I have three very underused FreeBSD servers and they could do with some rendering work to keep them from getting bored, but I don't want X cluttering them up.) Any help gratefully received Thanks Barnaby Scott ___ 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: Duplicate Installation of FreeBSD
Hi, On Thu, Mar 26, 2009 at 11:24 AM, Odhiambo Washington odhia...@gmail.com wrote: Hello list, I have installed and configured a FreeBSD system based on 7.1-RELEASE (not that it matters so much) and I want a way in which I can duplicate this on several other machines. What is the easiest and the simplest way? Please consider the K.I.S.S principle. maybe using Clonezilla: http://clonezilla.org/ (it does not support UFS, but il will create a dd copy of your hdd/partition). But you have a user interface, so maybe it is easier to work with. If not, you can boot a livecd and you can use standard tools, like: dd, dump/restore, tar, .. In handbook you will find some useful start tips. Cheers, -- === Ioan Vancea http://www.vioan.ro ___ 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: Wine without X
In response to Barnaby Scott b...@waywood.co.uk: I'm sorry if I'm asking in the wrong place, but I have tried elsewhere and go no response. I want to install wine, but without X on the system. Why would you expect this to be possible? The GUI is an integral part of MS Windows ... I can't imagine how wine would work at all without X installed -- which is probably why you're not getting any answers. Perhaps you should back up and consider what you're trying to accomplish. If you don't need a GUI, then what programs do you expect to run under wine, and is there some better way to get them? -- 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: how to configure xbiff
On Thu, Mar 26, 2009 at 08:39:38AM +0100, Pieter Donche wrote: On Wed, 25 Mar 2009, Polytropon wrote: On Wed, 25 Mar 2009 16:21:48 +0100 (CET), Pieter Donche pieter.don...@ua.ac.be wrote: What precise command do I have to write in what startup file, so that this does the same thing on FreeBSD/KDE3.5 ? I have the following line in my ~/.xinitrc: xbiff -geometry 50x50+0+998 This is for the lower left corner of a 1400x1050 21 CRT. If you think you need further options, consult man xbiff. :-) From a terminal window command line xbiff -geometry 50x50-5+5 puts it in my upper right corner, but if I put that in my .xinitrc (and chmod 755 ~/.xinitrc) nothing happens. Are you using kdm window manager or xdm ? (I have in my /etc/ttys: ttyv8 /usr/local/bin/kdm -nodeamon xterm on secure) Would .xinitrc not be processed by kdm window manager? Probably not. ~/.xinitrc is only run when you use startx and ~/.xsession is used when you run the display manager xdm(1). I believe kdm also uses xsession. This is all IIRC. I haven't used a display manager for sometime and I've never used kdm. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ 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: Wine without X
Bill Moran writes: I want to install wine, but without X on the system. Why would you expect this to be possible? The GUI is an integral part of MS Windows ... I can't imagine how wine would work at all without X installed -- which is probably why you're not getting any answers. I'm not that familiar with Wine - does it support use of the Windows command prompt? I can conceive of a program which requires Windows libraries or the kernel, but does not use the gui. (Though I agree that at that point finding a non-Windows solution becomes increasingly attractive.) Robert Huff ___ 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: Wine without X
2009/3/26 Robert Huff roberth...@rcn.com: Bill Moran writes: I want to install wine, but without X on the system. Why would you expect this to be possible? The GUI is an integral part of MS Windows ... I can't imagine how wine would work at all without X installed -- which is probably why you're not getting any answers. I'm not that familiar with Wine - does it support use of the Windows command prompt? I can conceive of a program which requires Windows libraries or the kernel, but does not use the gui. (Though I agree that at that point finding a non-Windows solution becomes increasingly attractive.) Robert Huff ___ 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 If you're most worried about 'cluttering' up your base system, a jail (8) could be the answer for you. X chomps a little hard drive space for sure, but if it's in a jail, there're no package crossovers. Chris -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how to configure xbiff
On Thu, 26 Mar 2009, Frank Shute wrote: On Thu, Mar 26, 2009 at 08:39:38AM +0100, Pieter Donche wrote: On Wed, 25 Mar 2009, Polytropon wrote: On Wed, 25 Mar 2009 16:21:48 +0100 (CET), Pieter Donche pieter.don...@ua.ac.be wrote: What precise command do I have to write in what startup file, so that this does the same thing on FreeBSD/KDE3.5 ? I have the following line in my ~/.xinitrc: xbiff -geometry 50x50+0+998 This is for the lower left corner of a 1400x1050 21 CRT. If you think you need further options, consult man xbiff. :-) From a terminal window command line xbiff -geometry 50x50-5+5 puts it in my upper right corner, but if I put that in my .xinitrc (and chmod 755 ~/.xinitrc) nothing happens. Are you using kdm window manager or xdm ? (I have in my /etc/ttys: ttyv8 /usr/local/bin/kdm -nodeamon xterm on secure) Would .xinitrc not be processed by kdm window manager? Probably not. ~/.xinitrc is only run when you use startx and ~/.xsession is used when you run the display manager xdm(1). I believe kdm also uses xsession. no xbiff icon neither when put in an .xsession file Also nothing to see about this xbiff in the file .session-errors-MYDISPLAYNAME:0 ?? ___ 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
problem with postfix
I installed postfix on frebsd 7 i can send mail through command line but i cant receive any mail to it. and also there is no Maildir on any users home directory. can you help me? ___ 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: first firewall with pf
Hello Eric: Hi everyone, Can you provide a little more information about your topology? Right now, you only have one interface defined in your rules, but you are attempting to pass traffic between two subnets. That would suggest you have two interfaces and, if so, both need to be accounted for in your rules below. You'll have to have pass/block rules for both. It looks like this: 172.16.0.0/16 - le0 firewall - (some other interface) - 10.0.0.0 Could you tell me if that is correct? Thanks, Mike - Original Message Snipped - Thanks for all your input so far. I have tried to implement all you suggestions but have gotten stuck. I set up a test machine in the office with the ip 10.0.0.110 and encountered the following problems: when I enables antispoofing the firewall didn't work when I tried allowing the 10.0.0.0 subnet it worked ok but when i tried connecting from machines on the 172.16 subnet I was unable to connect. Can you please let me know what I'm doing wrong? PGP.sig Description: PGP signature
Re: Wine without X
no response. I want to install wine, but without X on the system. Obviously trying to do what you want to do with wine not having X? ___ 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: Duplicate Installation of FreeBSD
principle. maybe using Clonezilla: http://clonezilla.org/ (it does not support unix is good enough to not need extra tools to do this. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how to configure xbiff
On Thu, Mar 26, 2009 at 05:25:24PM +0100, Pieter Donche wrote: On Thu, 26 Mar 2009, Frank Shute wrote: On Thu, Mar 26, 2009 at 08:39:38AM +0100, Pieter Donche wrote: On Wed, 25 Mar 2009, Polytropon wrote: On Wed, 25 Mar 2009 16:21:48 +0100 (CET), Pieter Donche pieter.don...@ua.ac.be wrote: What precise command do I have to write in what startup file, so that this does the same thing on FreeBSD/KDE3.5 ? I have the following line in my ~/.xinitrc: xbiff -geometry 50x50+0+998 This is for the lower left corner of a 1400x1050 21 CRT. If you think you need further options, consult man xbiff. :-) From a terminal window command line xbiff -geometry 50x50-5+5 puts it in my upper right corner, but if I put that in my .xinitrc (and chmod 755 ~/.xinitrc) nothing happens. Are you using kdm window manager or xdm ? (I have in my /etc/ttys: ttyv8 /usr/local/bin/kdm -nodeamon xterm on secure) Would .xinitrc not be processed by kdm window manager? Probably not. ~/.xinitrc is only run when you use startx and ~/.xsession is used when you run the display manager xdm(1). I believe kdm also uses xsession. no xbiff icon neither when put in an .xsession file Also nothing to see about this xbiff in the file .session-errors-MYDISPLAYNAME:0 ?? My memory sucks :( Since you haven't got an answer here, I guess you will have to post to a KDE list. Or alternatively use a KDE biff. Or launch xbiff from an xterm or similar in KDE. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ 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: first firewall with pf
Hi Micheal, I was trying to simulate the conditions of the server on a test machine. I'm pretty sure now I didn't take into account all the network aspects, silly mistake :-) Its probably my routing. I will check on my routes tomorrow and get back to you. I think there is only one active interface though. On Thu, Mar 26, 2009 at 7:33 PM, Michael K. Smith - Adhost mksm...@adhost.com wrote: Hello Eric: Hi everyone, Can you provide a little more information about your topology? Right now, you only have one interface defined in your rules, but you are attempting to pass traffic between two subnets. That would suggest you have two interfaces and, if so, both need to be accounted for in your rules below. You'll have to have pass/block rules for both. It looks like this: 172.16.0.0/16 - le0 firewall - (some other interface) - 10.0.0.0 Could you tell me if that is correct? Thanks, Mike - Original Message Snipped - Thanks for all your input so far. I have tried to implement all you suggestions but have gotten stuck. I set up a test machine in the office with the ip 10.0.0.110 and encountered the following problems: when I enables antispoofing the firewall didn't work when I tried allowing the 10.0.0.0 subnet it worked ok but when i tried connecting from machines on the 172.16 subnet I was unable to connect. Can you please let me know what I'm doing wrong? -- Regards, Eric Magutu ___ 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: Wine without X
Bill Moran wrote: In response to Barnaby Scott b...@waywood.co.uk: I'm sorry if I'm asking in the wrong place, but I have tried elsewhere and go no response. I want to install wine, but without X on the system. Why would you expect this to be possible? The GUI is an integral part of MS Windows ... I can't imagine how wine would work at all without X installed -- which is probably why you're not getting any answers. Perhaps you should back up and consider what you're trying to accomplish. If you don't need a GUI, then what programs do you expect to run under wine, and is there some better way to get them? Thanks for your reply I know this is possible because I have seen discussion of it in Linux and wine forums. I'm just too inexperienced to know which bits of the instructions are OS-specific, and what other nightmares I might face. I might be able to figure it all out by weeks of trial and error, but that seems crazy if someone has been there before me! As for why I want it to run, that is because the application I want to run is a bolt-on to a specific bit of rendering software that we use, and there really is no viable non-Windows replacement in our situation - believe me, if there was, I'd be using it. (In case you care, we are talking about Vray for Rhino, which we use because we use Rhino, and because we use Rhino we chose RhinoCAM, and because we chose RhinoCAM I spent weeks writing software to make it talk to our CNC equipment, whose controller is inextricably Windows-based... you get the picture!) In answer to the other replies (thanks to you guys too): Yes, wine is fine with just the command prompt. It is somewhat confusing in that it offers a thing called wineconsole, but ironically that *does* appear to require X. Just using wine without X is fine, so long as the app does not attempt to open any sort of window, system tray etc. As for the 'cluttering' - I'm not so worried about disk space, that's cheap these days. It's more a question of updating ports. When I once made the mistake of installing X and various other things I turned out not to need, the process of updating everything became a nightmare - stuff breaking because I hadn't read the updating info for a bunch of fonts or something stupid like that. Multiply that by 3 servers, and, well, no 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: Duplicate Installation of FreeBSD
On Thu, Mar 26, 2009 at 6:24 AM, Odhiambo Washington odhia...@gmail.comwrote: Hello list, I have installed and configured a FreeBSD system based on 7.1-RELEASE (not that it matters so much) and I want a way in which I can duplicate this on several other machines. What is the easiest and the simplest way? Please consider the K.I.S.S principle. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ The only time a woman really succeeds in changing a man is when he is a baby. - Natalie Wood If the hard drives are the same size, you might consider cloning the installation using g4u (ghost for unix): http://www.feyrer.de/g4u/ - 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
Re: Wine without X
--On Thursday, March 26, 2009 09:47:27 -0500 Barnaby Scott b...@waywood.co.uk wrote: I'm sorry if I'm asking in the wrong place, but I have tried elsewhere and go no response. I want to install wine, but without X on the system. Obviously trying to do this from ports drags in loads of X-related stuff. There doesn't seem to be a WITHOUT_X11 knob available for the wine port (presuambly because hardly anyone would want it). I guess that leaves me installing it the 'old-fashioned' way, but unfortunately my inexperience leaves me floundering here! Because FreeBSD has such a wonderful ports system, all documentation I can find for installing from source refers to ports, and I have not found a single one showing a layman how to install from source manually, and what problems I have to look out for. As you can probably tell, I lack a lot experience, so keep it fairly monosyllabic please! (In case you wonder what on earth I want this for, it is to run a 'render slave' which is Windows only, and simply runs in the background - it would not even count as a 'console application'. I have three very underused FreeBSD servers and they could do with some rendering work to keep them from getting bored, but I don't want X cluttering them up.) Any help gratefully received Number 1, you should always google first. There's a wealth of posts on the web about running wine without X. Note that, at present, the wine port will not work. (There is an IGNORE line in the Makefile that explains why.) Whether wine will work at all or work but not do what you want, I can't say. Here's a post where someone compiled wine without X: http://www.winehq.org/pipermail/wine-users/2001-October/004709.html The wine configure file has an option --with-x, and it's been buildable without X since 2003, so you could try building from source. ./configure --without-x builds fine on my machine, and make depends, make and make install work fine as well. Whether it will do what you want it to do, only you can say. So, you *could* do this: su - to root Download the wine tarball and untar it Go in to the wine directory and type the following, in order: ./configure --without-x make depends make make install That will install wine on your system without X. Figuring out how to get your rendering binary to run is an exercise for you. :-) I left wine without x installed on my system. If you have questions, I *may* be able to help. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. *** Check the headers before clicking on Reply. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: problem with postfix
Upali Rajapakse wrote: I installed postfix on frebsd 7 i can send mail through command line but i cant receive any mail to it. and also there is no Maildir on any users home directory. can you help me? ___ 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 No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.0.238 / Virus Database: 270.11.29/2023 - Release Date: 03/25/09 18:54:00 Best thing to do is go google/ yahoo http://uk.search.yahoo.com/search;_ylt=A1f4cfyX0stJgmUAiHJLBQx.?p=freebsd+postfix+setup+y=Searchfr=moz2rd=r1 ___ 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 postfix
You need an imap/pop server. I recommend dovecot. -- Justice derailed is worse than justice denied. -- K. Muthukumar Be the change you want to see in the world. -- Mahatma Gandhi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how to configure xbiff
On Thu, 26 Mar 2009 08:39:38 +0100 (CET), Pieter Donche pieter.don...@ua.ac.be wrote: From a terminal window command line xbiff -geometry 50x50-5+5 puts it in my upper right corner, [...] Do you use -5 to get rid of a window border added by KDE's window manager? but if I put that in my .xinitrc (and chmod 755 ~/.xinitrc) nothing happens. It needs to be loaded before the startkde exec (I think it was called this way). And your .xinitrc is +x, then it should look a bit like this: #!/bin/sh [ -f ~/.xmodmaprc ] xmodmap ~/.xmodmaprc xrandr --size 1400x1050 xrandr --fb 1400x1050 xclock -geometry 50x50+50+998 xbiff -geometry 50x50+0+998 xlogo -geometry 50x50+100+998 -render exec startkde All the initial stuff has to end with , and the window manager is the last command, prefixed by exec (so it replaces the shell). Are you using kdm window manager or xdm ? (I have in my /etc/ttys: ttyv8 /usr/local/bin/kdm -nodeamon xterm on secure) Neither. In the past, I've used xdm (as your example above, just with xdm instead of kdm), and this worked fine. A note towards your shell: If you're using the standard dialog shell (i. e. the C Shell), it might be neccessary to have a ~/.xsession which is +x and does contain: #!/bin/csh source ~/.cshrc exec ~/.xinitrc Would .xinitrc not be processed by kdm window manager? This is completely possible. Maybe kdm defaults to a builtin xinitrc that launches KDE after successful login. I'm no KDE user so I can't tell. Just as a side question, doesn't KDE offer something with the same functionality like xbiff, so you can use KDE's builtin tool? -- 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: Wine without X
part of MS Windows ... I can't imagine how wine would work at all without X installed -- which is probably why you're not getting any answers. I'm not that familiar with Wine - does it support use of the Windows command prompt? I can conceive of a program which requires Windows libraries or the kernel, but does not use the gui. that's possible. anyway - if you can't build wine without X, built it with X, it will only install X libraries nothing else and it will work when command line utils will be used. ___ 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
most signals not being delivered to processes
Hello, I'm new to this list so if this question is better directed elsewhere please point me in the right direction. My research group has a server running 7.2-PRERELEASE and an odd problem has cropped up: most signals are not being delivered to processes. For example, if I run 'sleep 10' from the shell, ctrl-c won't interrupt it. kill -KILL pid still works, but this sort of makes sense since it involves only the OS and doesn't require delivery to the process itself. I have performed a fairly extensive series of tests: using bash: * ctrl-c does nothing * ctrl-z does nothing * kill -XXX pid works for SIGKILL and SIGSTOP only * kill -XXX pid does nothing for all other signals * a C program does not receive a SIGHUP, SIGINT, SIGABRT or SIGTERM that it has sent to itself via 'kill(getpid(), SIGxxx)' * a C program will react appropriately when it sends itself a SIGKILL or SIGSTOP * a C program will react appropriately when you call abort(3) * a C program will die with the error Floating point exception: 8 (core dumped) if it divides by zero, but not if it sends itself a SIGFPE. using csh (or skip this list and see below for just the diffs with bash): * ctrl-c does interrupt processes (and a C program that traps for SIGINT will catch the signal appropriately from a ctrl-c) * ctrl-z does nothing * kill -XXX pid works for SIGHUP, SIGINT, SIGKILL, SIGALRM, SIGSTOP, SIGXCPU, SIGXFSZ only * kill -XXX pid does nothing for all other signals * a C program does not receive a SIGHUP, SIGABRT or SIGTERM that it has sent to itself via 'kill(getpid(), SIGxxx)' * a C program will quit when it sends itself a SIGINT * a C program will react appropriately when it sends itself a SIGKILL or SIGSTOP * a C program will react appropriately when you call abort(3) * a C program will die with the error Floating point exception: 8 (core dumped) if it divides by zero, but not if it sends itself a SIGFPE. or, for brevity, here are just the differences when using csh as opposed to bash: * ctrl-c does interrupt processes (and a C program that traps for SIGINT will catch the signal appropriately from a ctrl-c) * kill -XXX pid works for SIGHUP, SIGINT, SIGALRM, SIGXCPU, SIGXFSZ * a C program will quit when it sends itself a SIGINT This system has been in use for well over a year so I don't know why this would have cropped up all of a sudden. Unfortunately I am not the only one with superuser access on this machine, but nobody else in the group has any idea of what they could have done to mess things up. Some other important details: 1) The problem is not user-specific (other people are seeing the same thing) 2) The problem first appeared Friday (Mar 20) afternoon but it went away after another user re-installed the kernel. But now it returned today. 3) I checked stty -a and my key mapping look fine (e.g. susp = ^Z) Any hints or ideas? thanks very much, 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: problem with postfix
On Thu, 26 Mar 2009 19:09:34 + Terry te...@bluelight.org.uk wrote: Upali Rajapakse wrote: I installed postfix on frebsd 7 i can send mail through command line but i cant receive any mail to it. and also there is no Maildir on any users home directory. can you help me? Best thing to do is go google/ yahoo http://uk.search.yahoo.com/search;_ylt=A1f4cfyX0stJgmUAiHJLBQx.?p=freebsd+postfix+setup+y=Searchfr=moz2rd=r1 I would recommend that you post your question on the Postfix forum. postfix-us...@postfix.com Visit: http://postfix.com/lists.html if not a member, or just sent a message to: mojord...@postfix.org with subscribe postfix-users sans quotation marks in the body of the message. Be sure to include the output of 'postconf -n' in its entirety. Also, any pertinent log entries. -- Jerry ges...@yahoo.com Parkinson's Fourth Law: The number of people in any working group tends to increase regardless of the amount of work to be done. signature.asc Description: PGP signature
[pkg_add] PACKAGESITE weirdness - URL not correct for dependencies?
I'm running a bunch of jails and running the same set of ports between them. To save myself some CPU time, I've got one jail building packages for everything I need, then serving those packages out over HTTP to the rest of the jails. The package serving jail is at 10.0.0.4, and is serving packages out from it's HTTP root, such that requesting the following URLs properly fetch the desired packages: http://10.0.0.4/lighttpd-1.4.22.tbz http://10.0.0.4/pcre-7.8.tbz I set PACKAGESITE to 'http://10.0.0.4/'; when I attempt to install Lighttpd with pkg_add -rv, I get the following output (snipped to relevant portions): $ pkg_add -rv lighttpd-1.4.22 (..snip..) scheme: [http] user: [] password: [] host: [10.0.0.4] port: [0] document: [/lighttpd-1.4.22.tbz] (..fetches and installs lighttpd-1.4.22 properly..) Package 'lighttpd-1.4.22' depends on 'pcre-7.8' with 'devel/pcre' origin. scheme: [http] user: [] password: [] host: [All] port: [0] document: [/pcre-7.8.tbz] --- All:80 looking up All Error: FTP Unable to get http://All/pcre-7.8.tbz: No address record Somewhere along the process, something breaks and 'host' doesn't get set properly. I'm currently poking through the pkg_install code to figure out wtf is going on, but I figured I'd prod the lists to see if anyone else hit a similar problem (or knows what I'm doing wrong) since I'm not familiar with it. $ uname -a FreeBSD blah 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 Thanks :3 ___ 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: [pkg_add] PACKAGESITE weirdness - URL not correct for dependencies?
On Thu, Mar 26, 2009 at 3:37 PM, L Campbell ll...@virginia.edu wrote: blah Oh, and please CC me on any replies since I don't follow this list. ___ 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: nmap as user works, root doesn't
-Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Jimmie James Sent: Thursday, March 26, 2009 4:39 AM To: freebsd-questions@freebsd.org Subject: nmap as user works, root doesn't Can anyone make sense of this? Straight DSL connection, no router. using -e [any interface] results in the same errors nmap-4.76 As root: #nmap -v -v google.ca Starting Nmap 4.76 ( http://nmap.org ) at 2009-03-25 22:35 EDT Warning: Hostname google.ca resolves to 3 IPs. Using 64.233.161.104. WARNING: Unable to find appropriate interface for system route to 64.230.197.58 nexthost: failed to determine route to 64.233.161.104 QUITTING! I had the same issue when run nmap inside the screen session. -- Sergei ___ 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: Duplicate Installation of FreeBSD
On Thu, Mar 26, 2009 at 8:41 PM, Andrew Gould andrewlylego...@gmail.comwrote: On Thu, Mar 26, 2009 at 6:24 AM, Odhiambo Washington odhia...@gmail.comwrote: Hello list, I have installed and configured a FreeBSD system based on 7.1-RELEASE (not that it matters so much) and I want a way in which I can duplicate this on several other machines. What is the easiest and the simplest way? Please consider the K.I.S.S principle. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ The only time a woman really succeeds in changing a man is when he is a baby. - Natalie Wood If the hard drives are the same size, you might consider cloning the installation using g4u (ghost for unix): http://www.feyrer.de/g4u/ I know about it, but I have also used WinPE (with imagex) and compared, I fell in love with the Microsloth tool - creates a smaller image and applies it much faster. Sorry guys, I just had to mention it. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ The only time a woman really succeeds in changing a man is when he is a baby. - Natalie Wood ___ 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: most signals not being delivered to processes
Hi, Ian-- On Mar 26, 2009, at 12:40 PM, Ian Rose wrote: I'm new to this list so if this question is better directed elsewhere please point me in the right direction. Welcome; this list is a good place. My research group has a server running 7.2-PRERELEASE and an odd problem has cropped up: most signals are not being delivered to processes. For example, if I run 'sleep 10' from the shell, ctrl-c won't interrupt it. kill -KILL pid still works, but this sort of makes sense since it involves only the OS and doesn't require delivery to the process itself. Both your shells and /bin/kill should be using kill(2) system call; see /usr/src/bin/kill/kill.c, /usr/src/contrib/tcsh/sh.proc.c, etc for the details. For a signal to work, the OS does deliver it to the process, which must be in a runnable state or else delivery will block until the process has returned from a system call or whatever is blocking it. I have performed a fairly extensive series of tests: using bash: * ctrl-c does nothing * ctrl-z does nothing * kill -XXX pid works for SIGKILL and SIGSTOP only * kill -XXX pid does nothing for all other signals * a C program does not receive a SIGHUP, SIGINT, SIGABRT or SIGTERM that it has sent to itself via 'kill(getpid(), SIGxxx)' * a C program will react appropriately when it sends itself a SIGKILL or SIGSTOP * a C program will react appropriately when you call abort(3) * a C program will die with the error Floating point exception: 8 (core dumped) if it divides by zero, but not if it sends itself a SIGFPE. That's significantly odd. What does stty -a say about your control character settings? You should see something like: % stty -a speed 9600 baud; 58 rows; 90 columns; [ ... ] cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = undef; eol2 = undef; erase = ^?; erase2 = ^H; intr = ^C; kill = ^U; lnext = ^V; min = 1; quit = ^\; reprint = ^R; start = ^Q; status = ^T; stop = ^S; susp = ^Z; time = 0; werase = ^W; ...which has the mappings for ^C = SIGINT, ^Z = SIGTSTP, etc. Regards, -- -Chuck ___ 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: [pkg_add] PACKAGESITE weirdness - URL not correct for dependencies?
Okay, so apparently there's some serious weirdness in the logic in src/usr.sbin/pkg_install/lib/url.c, in fileGetURL. This function takes two parameters, base and spec, and has the following behavior -- * if spec is a valid URL, it's used unchanged as the path to the remote package. * if base is non-NULL, the last two '/'s are chopped off and All/ + package name + .tbz is used as the result. * if PKG_ADD_BASE is set in the environment, it's concatenated with the package name and .tbz When fileGetURL is called on the dependencies by pkg_do in add/perform.c, it always gets passed the remote URL of the parent package as the base and the package name as the spec, so the second branch is always taken. Unfortunately, this doesn't work with the PACKAGESITE code in add/main.c, because fileGetURL is expecting the base argument to be of the form http://host/directory/package.tbz;, as in www/lighttpd-1.4.22.tbz. The problem is, when using PACKAGESITE, the actual URL (in my case) is just http://host/lighttpd-1.4.22.tbz;, so that gets incorrectly chopped down to http:/ + Add/ + lighttpd-1.4.22.tbz. It works fine if your PACKAGESITE puts all the packages in the All/ subdirectory (as I think the official ones do), but at the very least, that's an undocumented constraint. My solution was to add another case into fileGetURL which gets overrides the three currently in there and is invoked if and only if PACKAGESITE is set in the environment. The following patch makes it work for me -- --- usr.sbin/pkg_install/lib/url.c.orig 2009-03-26 19:56:12.0 + +++ usr.sbin/pkg_install/lib/url.c 2009-03-26 20:41:44.0 + @@ -57,7 +57,21 @@ * to construct a composite one out of that and the basename we were * handed as a dependency. */ - if (base) { + if (getenv(PACKAGESITE)) { + if (strlcpy(fname, getenv(PACKAGESITE), sizeof(fname)) + = sizeof(fname)) { + return NULL; + } + if (strlcat(fname, spec, sizeof(fname)) + = sizeof(fname)) { + return NULL; + } + if (strlcat(fname, .tbz, sizeof(fname)) + = sizeof(fname)) { + return NULL; + } + } + else if (base) { strcpy(fname, base); /* * Advance back two slashes to get to the root of the package Though I think, in the long-run I'm just going to put all my packages in http://10.0.0.4/All/ and call it a day -- I hate maintaining a bunch of patches for stuff. :( ___ 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 postfix
--On Thursday, March 26, 2009 10:54:41 -0500 Upali Rajapakse upal...@gmail.com wrote: I installed postfix on frebsd 7 i can send mail through command line but i cant receive any mail to it. Did you follow the instructions during the install and disable sendmail? Did you say yes to activate Postfix in /etc/mail/mailer.conf? and also there is no Maildir on any users home directory. can you help me? You're confusing MTAs (Mail Transfer Agents) with mail receipt programs such as imap and/or pop. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. *** Check the headers before clicking on Reply. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: most signals not being delivered to processes
Hi Chuck, Thanks for the response. My stty -a looks good: cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = undef; eol2 = undef; erase = ^?; erase2 = ^H; intr = ^C; kill = ^U; lnext = ^V; min = 1; quit = ^\; reprint = ^R; start = ^Q; status = ^T; stop = ^S; susp = ^Z; time = 0; werase = ^W; However, hopefully the problem has gone away. Another member of our team thinks that somehow the issue is related to some system services (sshd and dhcpd) failing to completely detach from their controlling terminal due to a setuid wrapper he set up, and thus they are left holding on to some old bad controlling terminal even though they daemonize themselves. I have to admit I don't completely understand it all (in part because anything involving 'controlling terminals' is usually a bit mystifying for me), but hopefully he's right... cheers, Ian Chuck Swiger wrote: Hi, Ian-- On Mar 26, 2009, at 12:40 PM, Ian Rose wrote: I'm new to this list so if this question is better directed elsewhere please point me in the right direction. Welcome; this list is a good place. My research group has a server running 7.2-PRERELEASE and an odd problem has cropped up: most signals are not being delivered to processes. For example, if I run 'sleep 10' from the shell, ctrl-c won't interrupt it. kill -KILL pid still works, but this sort of makes sense since it involves only the OS and doesn't require delivery to the process itself. Both your shells and /bin/kill should be using kill(2) system call; see /usr/src/bin/kill/kill.c, /usr/src/contrib/tcsh/sh.proc.c, etc for the details. For a signal to work, the OS does deliver it to the process, which must be in a runnable state or else delivery will block until the process has returned from a system call or whatever is blocking it. I have performed a fairly extensive series of tests: using bash: * ctrl-c does nothing * ctrl-z does nothing * kill -XXX pid works for SIGKILL and SIGSTOP only * kill -XXX pid does nothing for all other signals * a C program does not receive a SIGHUP, SIGINT, SIGABRT or SIGTERM that it has sent to itself via 'kill(getpid(), SIGxxx)' * a C program will react appropriately when it sends itself a SIGKILL or SIGSTOP * a C program will react appropriately when you call abort(3) * a C program will die with the error Floating point exception: 8 (core dumped) if it divides by zero, but not if it sends itself a SIGFPE. That's significantly odd. What does stty -a say about your control character settings? You should see something like: % stty -a speed 9600 baud; 58 rows; 90 columns; [ ... ] cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = undef; eol2 = undef; erase = ^?; erase2 = ^H; intr = ^C; kill = ^U; lnext = ^V; min = 1; quit = ^\; reprint = ^R; start = ^Q; status = ^T; stop = ^S; susp = ^Z; time = 0; werase = ^W; ...which has the mappings for ^C = SIGINT, ^Z = SIGTSTP, etc. Regards, ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Q: FreeBSD 7.1 stable boot failure
Greetings, I just re-installed an old file server from stable 6.1 to 7.1 stable, and I'm having a problem with my 3ware 7000-2 card. After sysinstall completes, and I try to boot from the SCSI HDD (not connected to the 3ware) for the first time, the system hangs immediatly after the POST completes. The keyboard goes dead (numlock and caps lock stop working) and it never starts to load. I can't get the system to a point where I can get an error to work with. When I remove the 3ware card, the system boot fine. FreeBSD is installed on my system's internal SCSI drives (the 3ware card manages data disks, not OS disks). I've checked the media md5, and the media checks out OK. I've tried manually setting the boot partition to the root partition on the SCSI drives. This problem is 100% repeatable on my system using 7.1 stable (and I did not experiance this with 6.1 stable). I've reinstalled several times with different options trying to get around this problem. The system is a Dell poweredge 2200 (dual PIII 333Mhz procs) SCSI drives (set to 4 and 5, controller set to 7), 128MB memory, and a 3ware 7000-2 card which should be supported by the twe0 driver. The drives connected to the 3ware card are 200GB maxtor drives. Google mentions rebuilding your RAID array (having to wipe and rebuild the filesystem every time I patch is not really a long-term viable option), which I did, and this did not change the hang. Would someone point me in the correct direction for resolving this? Thanks, John H. Nyhuis IT Manager Dept. of Pediatrics HS RR541C, Box 356320 University of Washington Desk: (206)-685-3884 jnyh...@u.washington.edu ___ freebsd-sta...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-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
[perl] sysopen(CD, /dev/cd0, O_RDONLY | O_NONBLOCK) fails
Hi all. I have a perl script which seems to work fine under Linux but fails on FreeBSD. The Problem is the line: sysopen(CD, /dev/cd0, O_RDONLY | O_NONBLOCK) After this line the following evaluates to true: $! eq No such file or directory. /dev/cd0 is readable and writable for me. I rebooted multiple times and tried with and without atapicam. sysopen(CD, /dev/acd0, O_RDONLY | O_NONBLOCK) fails either. So what's up here? Is sysopen a linuxism? Any help is greatly appreciated. Regards Tobias -- Tobias Rehbein PGP key: 4F2AE314 server: keys.gnupg.net fingerprint: ECDA F300 1B6E 9B87 8524 8663 E8B6 3138 4F2A E314 pgpDHSp2oVA8o.pgp Description: PGP signature
Re: [perl] sysopen(CD, /dev/cd0, O_RDONLY | O_NONBLOCK) fails
On Thu, Mar 26, 2009 at 5:20 PM, Tobias Rehbein tobias.rehb...@web.de wrote: Hi all. I have a perl script which seems to work fine under Linux but fails on FreeBSD. The Problem is the line: sysopen(CD, /dev/cd0, O_RDONLY | O_NONBLOCK) After this line the following evaluates to true: $! eq No such file or directory. I may be wrong, but shouldn't that be '/dev/acd0' ? /dev/cd0 is readable and writable for me. I rebooted multiple times and tried with and without atapicam. sysopen(CD, /dev/acd0, O_RDONLY | O_NONBLOCK) fails either. So what's up here? Is sysopen a linuxism? Any help is greatly appreciated. Regards Tobias -- Glen Barber ___ 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: [perl] sysopen(CD, /dev/cd0, O_RDONLY | O_NONBLOCK) fails
Glen Barber writes: I have a perl script which seems to work fine under Linux but fails on FreeBSD. The Problem is the line: sysopen(CD, /dev/cd0, O_RDONLY | O_NONBLOCK) After this line the following evaluates to true: $! eq No such file or directory. I may be wrong, but shouldn't that be '/dev/acd0' ? /dev/cd0 = SCSI CD-ROM (and maybe other stuff). I don't know if that's what the OP has, but it is a possible value. Robert Huff ___ 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: [perl] sysopen(CD, /dev/cd0, O_RDONLY | O_NONBLOCK) fails
On Thu, 26 Mar 2009 22:20:45 +0100 Tobias Rehbein tobias.rehb...@web.de wrote: Hi all. I have a perl script which seems to work fine under Linux but fails on FreeBSD. The Problem is the line: sysopen(CD, /dev/cd0, O_RDONLY | O_NONBLOCK) After this line the following evaluates to true: $! eq No such file or directory. /dev/cd0 is readable and writable for me. I rebooted multiple times and tried with and without atapicam. sysopen(CD, /dev/acd0, O_RDONLY | O_NONBLOCK) fails either. So what's up here? Is sysopen a linuxism? sysopen certainly works on FreeBSD: perl use POSIX; sysopen(CD,/dev/acd0, O_RDONLY|O_NONBLOCK) || perror(sysopen) and before I fixed the permissions: perl use POSIX; sysopen(CD,/dev/acd0, O_RDONLY|O_NONBLOCK) || perror(sysopen) sysopen: Permission denied -- Bruce Cran ___ 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: [perl] sysopen(CD, /dev/cd0, O_RDONLY | O_NONBLOCK) fails
On Thu, 26 Mar 2009 18:17:46 -0400 Robert Huff roberth...@rcn.com wrote: Glen Barber writes: I have a perl script which seems to work fine under Linux but fails on FreeBSD. The Problem is the line: sysopen(CD, /dev/cd0, O_RDONLY | O_NONBLOCK) After this line the following evaluates to true: $! eq No such file or directory. I may be wrong, but shouldn't that be '/dev/acd0' ? /dev/cd0 = SCSI CD-ROM (and maybe other stuff). I don't know if that's what the OP has, but it is a possible value. cd0 is also what you get if you use atapicam (ATAPI is SCSI over ATA from what I remember) - for example cdrecord has traditionally used it when writing CDs. Apparently the OP has the issue both when using atapicam (/dev/cd0) and the normal ata node /dev/acd0. -- Bruce Cran ___ 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: Q: FreeBSD 7.1 stable boot failure
John H. Nyhuis wrote: Greetings, I just re-installed an old file server from stable 6.1 to 7.1 stable, and I'm having a problem with my 3ware 7000-2 card. After sysinstall completes, and I try to boot from the SCSI HDD (not connected to the 3ware) for the first time, the system hangs immediatly after the POST completes. The keyboard goes dead (numlock and caps lock stop working) and it never starts to load. I can't get the system to a point where I can get an error to work with. When I remove the 3ware card, the system boot fine. FreeBSD is installed on my system's internal SCSI drives (the 3ware card manages data disks, not OS disks). I've checked the media md5, and the media checks out OK. I've tried manually setting the boot partition to the root partition on the SCSI drives. This problem is 100% repeatable on my system using 7.1 stable (and I did not experiance this with 6.1 stable). I've reinstalled several times with different options trying to get around this problem. The system is a Dell poweredge 2200 (dual PIII 333Mhz procs) SCSI drives (set to 4 and 5, controller set to 7), 128MB memory, and a 3ware 7000-2 card which should be supported by the twe0 driver. The drives connected to the 3ware card are 200GB maxtor drives. Google mentions rebuilding your RAID array (having to wipe and rebuild the filesystem every time I patch is not really a long-term viable option), which I did, and this did not change the hang. Would someone point me in the correct direction for resolving this? Only a few things immediately jump out at me. Some older equipment really like the bootable SCSI disk to be on ID 0, with the second disk on ID 1. It's not really supposed to matter, but I recall some older stuff being flaky about this. Back then there was usually an option in the BIOS to tell which controller to attempt boot from first. It was called something like boot from external adapter, or something like that. What it did was to initialize the ROM in the add-in card first. This machine is probably from the pre ACPI days. You probably want to boot with ACPI disabled, and this can be done from the boot menu for testing and if it works can be hard coded to be permanent. -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: Desktop environments
Hello Jesse, This message is an elaboration of Polytron's comment about starting different desktop environments/window managers using ~/.xinitrc. I like this particular approach as DE/WM can have its own customized setup which will not interfere with the other environments. Also it is very easy to add or delete DE/WM as needed. The default environment is the last DE/WM used. I've succesfully used this simple hack for the last three years: #!/bin/sh # Name: ~/bin/stx # Created: 2006-02-09 cd ~ while true do clear echo -n ' Choice of Desktops: G)nome K)DE T)WM '$error_message' Select above letter (or q to quit): ' read choice case $choice in g|G) cp .xinitrc.gnome .xinitrc break ;; k|K) cp .xinitrc.kde .xinitrc break ;; t|T) cp .xinitrc.twm .xinitrc break ;; q|Q) exit 2 ;; *) error_message=Invalid Selection! echo ^G ;; esac done startx exit 0 #EoF Hope this may help. Cheers... Marek On Wed, 25 March 2009 23:17:51 Jesse Feinman wrote: I am planning on using FreeBSD on a new computer i am building but i would like to know if there is a way that i can install multiple desktop environments and easily switch between them, preferably without restarting. The primary purpose for this is to gain complete functionality over the system utilizing all possible tools and also to evaluate the different environments to determine which one works best for me. Lastly, i am wondering how Compiz-fusion would interact in this case because to my knowledge Compiz is essentially an add on to the KDE and Gnome environments and i am wondering as to how it would function if i were to switch desktops constantly. Thank you for your time, Jesse Feinman ___ 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: Wine without X
Jeff Laine wrote: On Thu, Mar 26, 2009 at 05:12:17PM +, Barnaby Scott wrote: Bill Moran wrote: In response to Barnaby Scott b...@waywood.co.uk: I'm sorry if I'm asking in the wrong place, but I have tried elsewhere and go no response. I want to install wine, but without X on the system. Why would you expect this to be possible? The GUI is an integral part of MS Windows ... I can't imagine how wine would work at all without X installed -- which is probably why you're not getting any answers. Perhaps you should back up and consider what you're trying to accomplish. If you don't need a GUI, then what programs do you expect to run under wine, and is there some better way to get them? Thanks for your reply I know this is possible because I have seen discussion of it in Linux and wine forums. I'm just too inexperienced to know which bits of the instructions are OS-specific, and what other nightmares I might face. I might be able to figure it all out by weeks of trial and error, but that seems crazy if someone has been there before me! As for why I want it to run, that is because the application I want to run is a bolt-on to a specific bit of rendering software that we use, and there really is no viable non-Windows replacement in our situation - believe me, if there was, I'd be using it. (In case you care, we are talking about Vray for Rhino, which we use because we use Rhino, and because we use Rhino we chose RhinoCAM, and because we chose RhinoCAM I spent weeks writing software to make it talk to our CNC equipment, whose controller is inextricably Windows-based... you get the picture!) In answer to the other replies (thanks to you guys too): Yes, wine is fine with just the command prompt. It is somewhat confusing in that it offers a thing called wineconsole, but ironically that *does* appear to require X. Just using wine without X is fine, so long as the app does not attempt to open any sort of window, system tray etc. As for the 'cluttering' - I'm not so worried about disk space, that's cheap these days. It's more a question of updating ports. When I once made the mistake of installing X and various other things I turned out not to need, the process of updating everything became a nightmare - stuff breaking because I hadn't read the updating info for a bunch of fonts or something stupid like that. Multiply that by 3 servers, and, well, no thanks! wineconsole app seems working fine in terminal with no X at all. I ran it like this: ./wineconsole --backend=curses cmd OK thanks, I stand corrected (just shows how unreliable GOOGLING sometimes is!) If/when I can get this working I will check out wineconsole, though as I said, the app I want to run has no visible output at all, console or otherwise - it just talks to the main renderer over the network, but (dammit) is a Windows binary. Barnaby ___ 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: Wine without X
On Thu, Mar 26, 2009 at 05:12:17PM +, Barnaby Scott wrote: Bill Moran wrote: In response to Barnaby Scott b...@waywood.co.uk: I'm sorry if I'm asking in the wrong place, but I have tried elsewhere and go no response. I want to install wine, but without X on the system. Why would you expect this to be possible? The GUI is an integral part of MS Windows ... I can't imagine how wine would work at all without X installed -- which is probably why you're not getting any answers. Perhaps you should back up and consider what you're trying to accomplish. If you don't need a GUI, then what programs do you expect to run under wine, and is there some better way to get them? Thanks for your reply I know this is possible because I have seen discussion of it in Linux and wine forums. I'm just too inexperienced to know which bits of the instructions are OS-specific, and what other nightmares I might face. I might be able to figure it all out by weeks of trial and error, but that seems crazy if someone has been there before me! As for why I want it to run, that is because the application I want to run is a bolt-on to a specific bit of rendering software that we use, and there really is no viable non-Windows replacement in our situation - believe me, if there was, I'd be using it. (In case you care, we are talking about Vray for Rhino, which we use because we use Rhino, and because we use Rhino we chose RhinoCAM, and because we chose RhinoCAM I spent weeks writing software to make it talk to our CNC equipment, whose controller is inextricably Windows-based... you get the picture!) In answer to the other replies (thanks to you guys too): Yes, wine is fine with just the command prompt. It is somewhat confusing in that it offers a thing called wineconsole, but ironically that *does* appear to require X. Just using wine without X is fine, so long as the app does not attempt to open any sort of window, system tray etc. As for the 'cluttering' - I'm not so worried about disk space, that's cheap these days. It's more a question of updating ports. When I once made the mistake of installing X and various other things I turned out not to need, the process of updating everything became a nightmare - stuff breaking because I hadn't read the updating info for a bunch of fonts or something stupid like that. Multiply that by 3 servers, and, well, no thanks! wineconsole app seems working fine in terminal with no X at all. I ran it like this: ./wineconsole --backend=curses cmd -- Best regards, Jeff | Nobody wants to say how this works. | | Maybe nobody knows ... | | Xorg.conf(5)| ___ 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: installing freebsd on windows
Wojciech Puchar wrote: PC-BSD===http://www.pcbsd.org/ DesktopBSD===http://www.desktopbsd.net/ And PC-BSD even provides an installer (PBI) that makes Windows users feel at home: Download something from the web manually, then click next, next, next, finish and have an application installed. :-) even more - it's even as slow and messy as windows. no idea about stability - possibly it's better. personally - i've tried once PC-BSD, removed it one hour after installing. ___ 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 It's certainly not slow and messy here. I installed PCBSD a couple of months ago after a few years of rolling my own desktop and I love it. On reasonable spec hardware it runs very well, the developers have done an excellent job and it's really come of age recently. I now spend almost zero time maintaining and tweaking my computer (apart from from some laptop acpi teething troubles). I used to keep Windows XP handy for a diminishing number of things, now it is truly redundant. It's personal choice not a hard and fast rule. Everyone has different circumstances. If I was using old hardware, as I think you do, I would probably think differently but on this 2GHz 1GB ram machine it's great, and I still have FreeBSD underneath to play with if I want. Chris ___ 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: installing freebsd on windows
It's certainly not slow and messy here. I installed PCBSD a couple of months ago after a few years of rolling my own desktop and I love it. On reasonable spec hardware it runs very well, the developers have done an excellent job of course. windows vista runs well too on overmuscled hardware. Just i don't understand the idea of wasting the power of good hardware just to waste. ___ 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
How to list all the installed packages...
Hi, Is there a way to show a list of all installed packages that are not required by any other package? Some thing like pkg_info -aR where the Required by: field is empty. Ultimately, that would give a list of software versus libraries. The question arise because, while installing a new machine, I found out that I have help2man installed, that is not required by any other package, that I did not install myself, that looks unneeded to me (until I may need it one day). So I would remove it; and would like to make a list of what is removable (that I did not install, and that is not required). TIA, 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: How to list all the installed packages...
On Thu, Mar 26, 2009 at 10:05 PM, Olivier Nicole o...@cs.ait.ac.th wrote: Hi, Is there a way to show a list of all installed packages that are not required by any other package? Some thing like pkg_info -aR where the Required by: field is empty. Ultimately, that would give a list of software versus libraries. The question arise because, while installing a new machine, I found out that I have help2man installed, that is not required by any other package, that I did not install myself, that looks unneeded to me (until I may need it one day). So I would remove it; and would like to make a list of what is removable (that I did not install, and that is not required). Have a look at the ports-mgmt/pkg_cutleaves port. -- Glen Barber ___ 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: Desktop environments
You also have selectwm. $cat /usr/ports/x11-wm/selectwm/pkg-descr This is a small application (using GTK+) which lets you select your window manager. It looks for a file named .selectwmrc in the user's directory which contains a list of window managers. When you start X it should show a list which lets you choose your window manager (by double clicking on it with the mouse or with the arrow keys and the return or space key). WWW: http://ordiluc.net/selectwm/ ___ 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: Desktop environments
XDM can also do this, although to be honest I've never used XDM, only KDM and GDM. There's info in the handbook here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-xdm.html I prefer KDM or GDM to handle this task - it launches a GUI (based on QT or GTK depending on which tool you use) and lets you launch your DE of choice. There's handbook details for both here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html ___ 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: renaming many Chinese files
that worked fine. Thanks. Just a very quick thought (the first that pops into my mind): you could see which are the western characters that appear in the names, and then use sed to substitute all non-matching characters with nothing, something like: for i in *.jpg; do b=`echo $i | sed 's/[^CHAR_SET]//g'`; mv $i $b; done (without forgetting, obviously, to add . to the CHAR_SET, something like: [^a-zA-Z0-9.]; if you figure out a less clumsy way, please, share!!) I'm guessing that the initial 'P123' is just an example, or this will horribly backfire. But I'm really, REALLY, taking a shot in the dark here... (if you already thought of this, and it just doesn't work, sorry for the useless pitch) Date: Tue, 24 Mar 2009 15:57:51 -0400 To: questi...@freebsd.org From: david+dated+1238356671.fa5...@skytracker.ca CC: Subject: renaming many Chinese files I have hundreds of jpg images where each image is named P123.jpg where the are chinese characters. I can't open the file - it has to be renamed before I can open it. Evening if I could open it I don't want the Chinese part as the name. Each file starts with 3 or four western characters and then has 3 or four chinese characters, before the western .jpg extension. I want to to test each filename character by character to see if it is western, and then when the first Chinese Character is found, have it simply rename the file to the 3 or four western-character name + .jpg I can write most of the script but I don't know how to test for western and/or Chinese characters. I could run a script that would simply rename all the files to a number in sequential order but I would rather use the existing starting name of the file if possible. ___ 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 _ Encontrá el auto de tus sueños en MSN http://xml.mercadolibre.com.ar/org-img/msn/autos.html___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how to configure xbiff
Polytropon edvax.de!free...@agora.rdrop.com wrote: On Thu, 26 Mar 2009 08:39:38 +0100 (CET), Pieter Donche pieter.don...@ua.ac.be wrote: From a terminal window command line xbiff -geometry 50x50-5+5 puts it in my upper right corner, [...] Do you use -5 to get rid of a window border added by KDE's window manager? IIRC that construct would place xbiff in the upper right corner of the screen. (Negative X coordinate = distance from right edge.) ___ 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