Re: Recursive ACLs commands
On Sat, Dec 17, 2005 at 10:08:01AM -0500, bazzoola wrote: > Greetings, > > I was just wondering if I can set or lists acls recursively on specific > directories ? > > I couldn't find the usual '-R' option for setfacl > Is there another way to do this? find . -type f -exec setfacl -m xxx {} \; or find . -type d -exec setfacl -d -m u::,g::,o::,g:rrr:rwx {} \; I hope you have got idea ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Courier and postfix
On Sat, Dec 17, 2005 at 01:28:43AM +0300, Playnet wrote: > Hello freebsd-questions, > > How i can install subj? > Or i need use Exim? > I have LDAP server and userlist within. What better for auth via LDAP > and good work? Postfix + ... (cyrus?) or Exim + ... (courier?) ? Personaly I use Exim+Courier-IMAP, but you of course can use Postfix, or even sendmail :-) Because of Courier-IMAP you need to setup your mail delivery agent to deliver mail in Maildir format. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Palm (Zire) and /dev/ucom0 on 6.0
On Tue, Dec 27, 2005 at 11:58:00AM -0500, DW wrote: > I then type: > # pilot-xfer -p /dev/cuaU0 -b backup > > and I get: > >Listening to port: /dev/cuaU0 > >Please press teh HotSync button now Works fine for me with Palm TE2. You need press HotSync button and wait a little. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 6.0 AMD64 Dont Detect My PCIExpress Card...? Radeon X300.
On Tue, Jan 03, 2006 at 10:19:15AM +0100, Bj?rn K?nig wrote: > Buy an Nvidia card if you need 3D support necessarily, because Nvidia > offers drivers for FreeBSD. ATI does not; they support Linux only. Nvidia does not provide drivers for FreeBSD on AMD64. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: What User Runs Startup Scripts?
On Thu, Jan 05, 2006 at 08:02:19PM -0800, Drew Tomlinson wrote: > 1514, header 14 > Jan 5 19:51:31 blacksheep ntop[611]: **ERROR** pcap_open_live(): > 'BIOCSETIF: tun0: Device not configured' > Jan 5 19:51:31 blacksheep ntop[611]: Please correct the problem or > select a different interface using the -i flag > Jan 5 19:51:31 blacksheep ntop[611]: **FATAL_ERROR** Not root, ntop > shutting down... Do you have tun0 interface on boot time? Are you activating ppp manually? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Virtual CD drive for FreeBSD?
On Tue, Jan 10, 2006 at 03:43:35PM +, Mark Ovens wrote: > Is there such a thing as a virtual CD drive in the Ports. Something that > allows you to treat an ISO image file - data or audio - as though it > were a real CD in a real drive? Like Nero ImageDrive in Windows. md(4) mdconfig -a -t vnode -f your_iso.iso then it prints name of device (in my case md1) then mount_cd9660 /dev/md1 /mnt and after you have finished umount /mnt mdconfig -d -u 1 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: HP NetRAID 1Si trouble
On Wed, Jan 11, 2006 at 09:06:11PM -0800, Jon Falconer wrote: > I've run out of ideas of what to try next. Does anyone else have any > suggestions? Hi, check memory and/or power supply, in ideal world you need replace both. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Pooomooocyyyy ;(
On Thu, Jan 12, 2006 at 07:57:04AM +0100, Sasa Stupar wrote: > > Please write in english if you want any help. There are enought Polish users of FreeBSD who can give more helpful answer than you. If you cant give meaningful answer, why asnwer at all? To original poster, unfortunately I cannot understand most of your message, but you can ignore warning about disk geometry, at least I see this message every time I install FreeBSD on current hardware. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: defaultroute not loading
On Thu, Jan 12, 2006 at 11:37:27PM +, Michael Zimmer wrote: > rc.subr Why? > > hostname="#.com" > defaultrouter=1.2.3.4 # previously "1.2.3.4"; removed You need "1.2.3.4", because in manual page for rc.conf it is marked as (str). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: compile with HFS+ support?
On Tue, Jan 17, 2006 at 07:17:50AM -0500, Lowell Gilbert wrote: > david <[EMAIL PROTECTED]> writes: > > > how can i compile freebsd GENERIC kernel with HFS+ support?sorry for > > stupid question.i am newbie in freebsd > > I don't think there is kernel support, but there are some ports (e.g., > /usr/ports/emulators/hfsutils) that help you read HFS. There IS kernel support http://people.freebsd.org/~yar/hfs/ To original poster: try search on main FreeBSD.org before asking questions. There are great chance that you find something useful :-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Can FreeBSD play DVD movies?
On Mon, Jan 23, 2006 at 12:47:27AM -0500, Peter wrote: > Building audio filter chain for 48000Hz/2ch/ac3 -> 48000Hz/2ch/s16le... > [format] Sample format big-endian AC3 not yet supported > [libaf] Reinitialization did not work, audio filter 'format' returned > error code -2 This is a cause. Try xine, it works. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Port forwarding.
On Tue, Jan 24, 2006 at 06:41:27AM +0100, Daniel A. wrote: > sis0: flags=8843 mtu 1500 > options=8 > inet6 fe80::20a:e6ff:fe53:fc1e%sis0 prefixlen 64 scopeid 0x2 > inet 192.168.0.1 netmask 0xff00 broadcast 192.168.0.255 > ether 00:0a:e6:53:fc:1e > media: Ethernet autoselect (100baseTX ) > status: active > rl0: flags=8843 mtu 1500 > options=8 > inet6 fe80::2b0:2ff:fe00:27f3%rl0 prefixlen 64 scopeid 0x3 > inet 87.50.69.60 netmask 0xff80 broadcast 87.50.69.127 > ether 00:b0:02:00:27:f3 > media: Ethernet autoselect (100baseTX ) > status: active > > I have been googling and reading ifconfig papers all day yesterday, in > the search for how to do simple port-forwarding, but nothing have > worked. > So, this is my final resort: How would I forward the ports 9541 (TCP) > and 9542 (UDP) to 192.168.0.2 on my LAN? /etc/ipnat.conf: rdr rl0 0/0 port 9541 -> 192.168.0.2 port 9541 tcp rdr rl0 0/0 port 9542 -> 192.168.0.2 port 9542 udp somewhere on top of file (before "map"). Also you need something like this in your /etc/ipf.rules: pass in quick on rl0 proto tcp from any to 192.168.0.2/32 port = 9541 keep state pass in quick on rl0 proto udp from any to 192.168.0.2/32 port = 9542 keep state ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: what with privileges
On Mon, Jan 30, 2006 at 12:35:37AM +0300, Playnet wrote: > How subscribe to samba mainling list? Maybe go to http://www.samba.org ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: errors in schemas?
On Sat, Jan 28, 2006 at 04:50:34PM +0300, Playnet wrote: > Hello freebsd-questions, > > adding new entry "sambaDomainName=sstand.spb.ru,dc=sstand,dc=spb,dc=ru" > modify complete > ldap_add: Naming violation (64) > additional info: naming attribute 'sambaDomainName' is not present in > entry You need ask Samba/LDAP related questions on Samba lists. Also there is good book Samba3-HOWTO.pdf in /usr/local/share/doc/samba in which you can find many tips on configuring Samba + LDAP. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: uninstall httpd + others to get a base system only
On Tue, Jan 31, 2006 at 07:57:59PM -0600, luke wrote: > all packages installed _should_ be in /var/db/pkg(i think) i'm in windows > now. so if you pkg_delete /var/db/pkg/* that should clean it all up. :-) It will only delete information about packages, not packages self. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: uninstall httpd + others to get a base system only
On Wed, Feb 01, 2006 at 04:29:45PM -0500, Tom Grove wrote: > Igor Robul wrote: > > >On Tue, Jan 31, 2006 at 07:57:59PM -0600, luke wrote: > > > > > >>all packages installed _should_ be in /var/db/pkg(i think) i'm in windows > >>now. so if you pkg_delete /var/db/pkg/* that should clean it all up. > >> > >> > >:-) > >It will only delete information about packages, not packages self. > >___ > > > No, that will delete the packages. To delete a package you would run > "pkg_delete " so, to delete all of your package the above > command would work correctly. Of course you are correct, I have just "seen" rm instead of pkg_delete :-) Hard day ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Any idea when Xorg 7.0's coming to FBSD?
On Thu, Feb 02, 2006 at 10:12:11PM -0800, Garrett Cooper wrote: > Erm, unless 6.9 is modular (which I didn't think was the case), there > should be a noticeable difference. AFAIK there is only one difference - 6.9 is traditianaly packaged (6 or 7 big source tgz), while 7.0 is broken smaller source code modules. But of course you need to check this on Xorg WWW site. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: LDAP authentication problems
On Sun, Feb 12, 2006 at 03:44:54PM +0100, Pavel Duda wrote: > Now I have tried to do > 'id testuser' You need nss_ldap too. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Help Installing FreeBSD 6.0 with GUI
On Sat, Feb 11, 2006 at 07:36:08AM +, Robert Slade wrote: > There are some minor issues with nvida video 3d cards but there are > nvida drivers for BSD. ATI cards are a bit more of a problem. In both > cases search the mailing list archives the info is there. I dont see any problems with ATI Radeon 9200 on my home PC, except I cant play linux-enemyterritory with it :-). X.org driver "just work", also you can have good 3D performance (at least with glxgears :-) ) if you'll install graphics/dri port. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: randomized source IP for userland app?!
On Fri, Feb 10, 2006 at 11:46:42PM +0100, Wojciech Puchar wrote: > is it possible for userland application (or many of then) for TCP > connections to select it's source IP address from a list random or > round-robin way? (say 2-4 different IP's) socket() with SOCK_RAW as 3rd parameter. you need to be root to run this app. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Help Installing FreeBSD 6.0 with GUI
On Thu, Feb 16, 2006 at 05:04:01PM +1100, Norberto Meijome wrote: > 1) once you installed the graphics/dri , how do you enable them in > xorg.conf? Unfortunately I cannot tell you about configuration you need for 855G, but at least you need load kernel module for 855G, and place Load "dri" Load "glx" to "Module" section of xorg.cfg > > 2) can you define what is 'good performance with glxgears'? I get about > 200 fps... but GL-based xscreensaver modules push very low fps. I have about 750 fps on Radeon 9200 at home with installed graphics/dri, and I have same fps with native nVidia drivers at work on GeForce MX440. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: automount external usb hard drive?
On Wed, Feb 15, 2006 at 01:59:21AM +, Daniel Bye wrote: > On Tue, Feb 14, 2006 at 08:01:44PM -0500, Peter wrote: > > Hi, is it possible to have an external USB hard drive automounted once > > connected? Also you'll need to umount it manually if you dont wish lose data. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: devfs ruleset appropriate for jail'd environment ...
On Wed, Feb 15, 2006 at 08:26:36PM -0400, Marc G. Fournier wrote: > > I had thought there used to be a sample one in /etc/devfs.conf, but its > either no longer there, or my memory is failing me ... > > Does anyone have one that is appropriate for mounting devfs into a jail > where ppl have shell access? put jail_YOUR-JAIL-NAME_devfs_ruleset="devfsrules_jail" to /etc/rc.conf You can look at rules in /etc/defaults/devfs.rules ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ftp problem
On Mon, Feb 20, 2006 at 09:37:41AM -0500, Sean wrote: > I have my bsd system setup to allow ftp. > > However when I try to ftp a directory and the contents from another > system it basically uses the directory as a file name and all contents > in that directory are ignored. Do you use Internet Explorer as FTP client? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: VPN & Jail(s) ...
On Wed, Feb 22, 2006 at 09:03:26PM -0400, Marc G. Fournier wrote: > > I asked this a little while ago, and had alot of good answers ... but, > after doing some thinking, I'm wondering if there might be a better way of > doing it, that removed the requirement for 'hitting' the base operating > system ... > > If I ran something like FreeBSD in VMWare, would that work? Are there any > OSS VMWare-like solutions available out there? emulators/qemu ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: A question on console and UTF-8
On Wed, Feb 22, 2006 at 09:35:51PM +0200, a wrote: > How to force a console to use a multibyte character set (UTF-8)? > I use FreeBSD 6.0-STABLE. AFAIK, FreeBSD does not support UTF-8 locales on text console. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: rl0 discard oversize
On Tue, Feb 28, 2006 at 01:55:56AM -0500, David Scheidt wrote: > The RealTek cards supported by the rl(4) driver are trash. If you want to > write a better driver, knock yourself out. I'm sure Bill Paul won't > mind. Keep in mind that there are other, better performing NICs > available for the about same price. Most RL8139 cards work fine in our company. Most Windows PCs have these cards (slowly replaced by integrated NICs on new motherboards), also some FreeBSD-based routers have these NICs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: capturing a desktop demonstration as a movie
On Tue, Feb 28, 2006 at 12:42:19PM +0100, [EMAIL PROTECTED] wrote: > > Hi, > > Is there somehow a tool (in the ports) to capture a (KDE-) desktop of > FreeBSD while doing a presentation of some kind of software to create > a movie of this, for example as a *.avi file? > > I've looked through /usr/ports/multimedia but did not see any tool > which could do this. For example this: net/vnc2swf Vnc2swf is a recording tool for VNC. It records VNC sessions and generates a Flash movie file (SWF). It can be used as an X11 recorder or a Windows desktop recorder. I remember, that I have seen other applications in ports, when I "surfed" ports tree. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: unicode?
On Wed, Mar 01, 2006 at 03:29:45AM -0800, Andrew Spott wrote: > is it possible to enable unicode filename support in freebsd? Yes. But there is one problem: you'll be unable to see these names in text console. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Card for basic 3D acceleration in FreeBSD
On Fri, Mar 03, 2006 at 12:51:54AM -0500, Peter wrote: > Nvidia GeForce FX 5500 is working well for me. This > card is a couple of years old now. I see many on But pay attention, that nVidia drivers dont support amd64 version of FreeBSD. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to print in duplex mode?
On Thu, Mar 02, 2006 at 05:59:21PM -0500, Mikhail Teterin wrote: > My question was, how to can I manipulate an existing Postscript file, to make > sure, it is printed in duplex mode... `pstops' is supposed to be able to do > it... If you have Windows machine near you, then you can setup this printer to print duplex from Windows, and save generated Postscript file. Then look into file. For example you may try print same document with duplex and not duplex. Then compare resulting files. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: encrypted drives
On Wed, Mar 22, 2006 at 10:14:32AM +0100, Erik Norgaard wrote: > home partition which is fine for single user laptops, but on multiuser > systems, each home directory should be distinct encrypted partitions in > order not to disclose data to other users. Maybe I'm wrong, but what happened with file system permissions? :-) You can encrypt /home and then set 0700 permissions on user home directories. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: encrypted drives
On Fri, Mar 24, 2006 at 09:45:07AM +0100, Erik Norgaard wrote: > It is not that file permissions doesn't work but having data that is not > yours unencrypted lowers the barrier for trespassing. Evil admins - even > if only temporarily evil - can access data they shouldn't. If you setup some automounting of encrypted user home directories, then there are two cases: 1) user must enter some additional password/key for encrypted device 2) user does not need additional password. In (2) case all user private keys are accessible by evil admin, so he can mount user's home directory. In (1) case "evil" admin can setup keylogger etc., to log all user input including passwords and still have access to user's files. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: convert cyrus mail to courier mail
On Mon, Apr 03, 2006 at 11:39:12AM +0200, Reinhold Platzoeder wrote: > Hi > > I have changed my mail server to use courier-IMAP > > I would like to import all the old mail that was using cyrus > I have tried cyrus2courier and mb2md but with no luck > > my old mail is under > /var/imap/spool/user/reinhold ---> cyrus-IMAP > > and I would like to import it to > /usr/local/virtual/[EMAIL PROTECTED]/ ---> courier-IMAP > > any idea as how I will do this? If you have little email users, then you can use any IMAP client (for example Thunderbird). Or you can use mail/imapsync ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: memory slot info
On Wed, Mar 29, 2006 at 11:40:27AM +0100, Simon Gray wrote: > I don't have physical access to the box either - otherwise I could > reboot and run memtestx86 or something similar sysutils/dmidecode ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cdrom not found after booting was ok-ver 6.0
On Wed, Mar 29, 2006 at 08:02:24PM +0800, uid0 wrote: > > IBM Netfinity 5000 with 2 SCSI HDs, SCSI Tape Drive and ATAPI CDrom. If your CD-ROM is ATA slave, then try changing it to ATA master. If it is master, then try slave. I had same looking problem with much cheaper hardware (MSI motherboard with i815LE chipset and Sony CD-ROM), all worked fine with ASUS CD-ROM, but had not worked until I changed Sony CD-ROM from master to slave. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FAX software ?
On Wed, Apr 05, 2006 at 04:41:14PM +0200, simon butsana wrote: > Hi, > > Try hylafax. mgetty+sendfax is much easier to tune. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Award BIOS Upgrade Fees - Slightly Offtopic
On Wed, Apr 05, 2006 at 05:50:47PM -0500, Derek Ragona wrote: > For a 3rd party BIOS, 39.95 is cheap. They can be much higher, close to > $100. But for $50 it is possible to buy new "not so bad" motherboard. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Switch from SATA-RAID to gmirror?
Hello, On Thu, Apr 06, 2006 at 11:52:55AM +0100, Ashley Moran wrote: > I've just installed a new server with gmirror and I like it. I've got an > identical server running on-board RAID currently. Can I split the array in > the BIOS, install gmirror on disk 1, reboot, and add the second disk in? Or > will there be any complications with FreeBSD being initially installed on an > array? I recommend you to follow this rule: If it is not broken, then dont fix it. In your case I think you better leave all as is. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Switch from SATA-RAID to gmirror?
On Thu, Apr 06, 2006 at 01:13:02PM +0200, Wojciech Puchar wrote: > >>the BIOS, install gmirror on disk 1, reboot, and add the second disk in? > >>Or > > i think - just YES. no problem There is always chnace, that UFS will overwrite last sector on the disk, and gmirror metadata will be destroyed. But probability is not dangerously high :-). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Switch from SATA-RAID to gmirror?
On Thu, Apr 06, 2006 at 01:13:02PM +0200, Wojciech Puchar wrote: > >On Thu, Apr 06, 2006 at 11:52:55AM +0100, Ashley Moran wrote: > >>I've just installed a new server with gmirror and I like it. I've got an > >>identical server running on-board RAID currently. Can I split the array > >>in > >>the BIOS, install gmirror on disk 1, reboot, and add the second disk in? > >>Or > > i think - just YES. no problem Also, he need to tweak /etc/fstab before and after he goes to gmirror ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 2 nets
On Thu, Apr 06, 2006 at 01:51:08PM +0200, Wojciech Puchar wrote: > > > > I have two nets: wireless and ethernet and i need make something for > >combine these into 1 net. > >How do this in freebsd? > > > > man 4 bridge or better "man 4 if_bridge" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: PCL interprefer for unix
On Thu, Apr 06, 2006 at 01:50:33PM +0200, Wojciech Puchar wrote: > anybody knows about program able to convert PCL printer code to > postscript/PDF/bitmap/whatever - so it will be possible to view PCL prints > on monitor and print it on non-PCL printers? Maybe http://www.t2-project.org/packages/afpl-ghostpcl.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: freebsd 6.0 personal firewall
On Thu, Apr 06, 2006 at 08:58:08PM -0700, ilyana ramlan wrote: > Hello, > 1) How do i block websites by typing their url name Do you wish block access _TO_ sites, or _FROM_ sites. If you wish block access _FROM_ sites, than tell us more about what type of access do you wish to block (Spam email, other). > (eg. www.yahoo.com) using built in freebsd 6.0 > firewall? You can block websites with packet filtering firewall, but better install some proxy server (/usr/ports/www/oops, /usr/ports/www/squid). Then you'll be able not only block access by IP address, but also block access by URL (or part of it). > > 2) Do i have to configure the hosts.allow file to > block websites and must i know their IP address to > block websites? Can i block them by their URL names? hosts.allow is used to control access to services, which are running on your system. So you cannot block access to other hosts with hosts.allow You can read more about FreeBSD firewalls at: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls.html You can find some information about restricting access to websites if you go to google.com and search something like "filtering proxy" You can read how to install additional software on FreeBSD at: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html You can read about Spam-filtering at: http://dspam.nuclearelephant.com/ http://spamassassin.apache.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: OT: tcp redictor with dump-(in|out)put-to-stdout capability
On Fri, Apr 07, 2006 at 11:32:04AM +0300, Nikos Vassiliadis wrote: > Hi, > > I am searching for program similar to net/redir. It's > a simple program that listens to a tcp port and redirects > all input to another address:port. I want to debug http > and I need something that does what redir does plus > dumping all input & output to my terminal. Is there some- > thing like that in ports? Or somewhere else? Why dont you wish use tcpdump? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Wanted: Flash player for ....
On Tue, Apr 11, 2006 at 08:37:03PM -0500, Eric Schuele wrote: > > Legally? I'm no lawyer... but the EULA seems rather explicit. I'd say no. If he already have it, this meat he agreed to previous versuin of EULA, and nobody can enforce him to agree with new version, if he dont download new version of software. I'm not lawyer too :-). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: round() problem
On Wed, Apr 12, 2006 at 09:37:01AM -0400, Bill Moran wrote: > On Wed, 12 Apr 2006 12:09:17 +0200 > Krzysztof Nakielski <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > I am having problem with round() function in php, python, mysql. I am > > not sure if thats FreeBSD issue. I receive the same results on 4.11, 5.4 > > and 6.0. > > > > php (4.4.1, 5.1.2): > > %php -r 'print round(8.075, 2) ."\n";' > > 8.07 At least this gives php -r 'print round(8.075, 2) ."\n";' 8.08 under Mandriva Linux 2006. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: upgrading from 5-Stable to 6-Stable via source
On Thu, Apr 13, 2006 at 11:20:43AM +0800, FreeBSD MailingLists wrote: > I have a bunch of production servers running 5-Stable branch and I was > considering upgrading to 6-Stable. > I have never upgraded across major version changes via source. > Is this a bad idea? > what pitfalls should i be aware of before starting? 1) For example custom modules like nvidia.ko. I recommend you just move all modules out of /boot/modules 2) Also there may be some problems with ports (shared libraries etc.) I had upgraded my workstation from 5-STABLE to 6-STABLE, and it worked. But later I got another disk, and I had decided to do clean install. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: NVIDIA TNT2 woes
If you cvsup your ports, then you'll get support for legacy cards in nvidia-driver port. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: new convert
Hello. Eddie Colon wrote: Hello I will be a new FreeBSD user as soon as I receive my DVD. I am a Linux user for a few yrs now. I have a few concerns, I hope you can answer me, I don't belong to any mailing lists. I don't think there are any user groups down here in Puerto Rico. FreeBSD in general supports "consumer hardware" worse than various Linux distributives, so you will have problems. 1- Can you tell me if it has trouble detecting built-in modems? I have a notebook, an HP nx9020 and it's built-in modem uses the conexant chipset, My SuSE 9.3 had trouble with that until I got a 3rd party driver from www.linuxant.com. So, will run into the same thing with freebsd? I dont think that you'll be able use this modem :-( with FreeBSD 2- I have a HP scanjet 4600 scanner (usb) that doesn't have a linux driver... either from HP themselves or from the linux community. I can use it with my old windows desktop , but not with linux. Can you suggest any possible FreeBSD solution? usanner(4) suppors 4300C, so maybe it will support 4600, but in general you must expect problems. 3- Will FreeBSD detect my Palm cradle (usb)?I use my PDA alot. I really like Jpilot as my pda gui app. Do you know of other Jpilot users that use FreeBSD ? Maybe it will work. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Why does a system suddenly start hanging ... ?
Marc G. Fournier wrote: A couple of months ago, I decided to take a chance and went SATA for one of our servers ... all others in the past have always been SCSI ... now, all of a sudden, the SATA server is *hanging* ... using tw_cli to look at the controller, and the drives and controller all appear to be well ... fsck finds the file systems to be good ... but after a period of time (an hour, maybe two) of running, the server grinds to a halt, and I have to get it rebooted and start all over again ... Check your power supply. Also check motherboard for visual defects like blowed capacitiors etc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Kernel compiling error on FreeBSD 5.4
Piotr Baranowski wrote: KK> Show us the exact error and exactly what you did, we can't help if KK> you're vague about it. what i did was: 1) cd /usr/src/sys/i386/conf 2) cp GENERIC OWIEC 3) editing OWIEC 4) config OWIEC 5) cd ../compile/OWIEC 6) make depend 7) had errors 8) make -a D depend 9) seen errors ;-) 1) check that you have sources. reinstall sources from CD or recvsup. 2) check that you have correct version of C compiler. Try compile simple C program. 3) do "rm -fr /usr/obj/usr/src/sys/OWIEC" 4) then try second, and correct method then i used second method 1) cd /usr/src 2) make buildkernel KERNCONF=OWIEC ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Copying data onto a NTFS partitioned hdd
datora tehnika wrote: ''too small.'' Then I went with ''default,'' but then the volume size was ''too large.'' (for a 40 GB drive, the identical twin of which This is known problem for Windows 2000 DiskManager. You can create FAT32 with Win98, Partition Magic, Linux, FreeBSD. Windows 2000 will be able to access disk. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: dual boot
Ultimate wrote: Obviously, I am a newbi ... so further illustration with the solution would be appreciated 1) Do as root "sysctl kern.geom.debugflag=16" 2) Start sysinstall 3) Go Configure->FDISK-> "OK" -> Q 4) It will ask if you wish boot manager 5) Select BootMgr ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Igor dual boot
Ultimate wrote: Disk partition write returned an error status! -100%-- [OK] [Press enter or space] kern.geom.debugflags=16 of course (missing 's' at end of kern.geom.debugflags) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Logging into FreeBSD
Daniel Auman wrote: #!/bin/sh mysql -u "username" -p"password" User just can do "\! /bin/sh" at mysql prompt and get shell access. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Logging into FreeBSD
Daniel Auman wrote: Thank you!!! I would have not known about that key combination! You just need know, that most Unix interractive tools have such command. If you wish give user very restricted environment, then you can write simple C program which will chroot user into restricted directory, change user id and exec mysql command line client. Then you can make this program setuid root (tripple check your program) and make it user shell (man chsh). But better, dont give shell to this untrusted user, and just use some WWW frontend for mysql. #!/bin/sh mysql -u "username" -p"password" User just can do "\! /bin/sh" at mysql prompt and get shell access. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: adding unused disk space for FreeBSD
Ean Kingston wrote: On July 9, 2005 11:07 am, you wrote: Thanks, Ean, for your reply. I tried it as you proposed. The problem is that when it comes to saving the changes the following message pops up: 'ERROR: Unable to write data to disk ad4!' GEOM(4) prevent direct write to disk which has mounted filesystems. sysctl kern.geom.debugflags=16 temporary turn off this check, and help you rewrite your disk's partition table. Dont use this sysctl permanently. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 6.0-SNAP005: pptpclient; mpd/ng; pf; tcpdrop; vidcontrol/saver; gbde/md
Ab Normal wrote: I've installed FreeBSD 6.0-CURRENT-SNAP005 (i386) on my stand-alone home computer, which connects to the internet via adsl. -CURRENT is development branch of FreeBSD and may be not very stable. Also it has many debuging options turned on (read /usr/src/UPDATING) so you may get performance reduction. Personaly, I use -CURRENT on my home PC, and it is faster than 5-STABLE on same hardware, but your experience may be other. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Per disk quota
Alexandre D. wrote: Hi guys, I'm searching for a way to set a limit per directory. for example: directory limit /web/dir1 1Go /web/dir2 10Mo /web/dir3 100Mo /web/dir4 175Mo This system would be used by only one program (image grabber) Do you have any idea? use file backed md(4) devices. And then mount these devices. Example (newfs is nessesary only first time): # dd if=/dev/zero of=dir2md bs=1m count=10 10+0 records in 10+0 records out # mdconfig -a -t vnode -f dir2md md0 #newfs /dev/md0 /dev/md0: 10.0MB (20480 sectors) block size 16384, fragment size 2048 using 4 cylinder groups of 2.52MB, 161 blks, 384 inodes. super-block backups (for fsck -b #) at: 160, 5312, 10464, 15616 #mount /dev/md0 /web/dir2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Create and remove symbolic link in system start up and shutdown
yoke an wrote: Hi , Does anyone know how to create & remove a symbolic link in the system start up and system shutdown? ie: (i'm using 3rd party sendmail that store in "/opt/test/sendmail" folder and create a symbolic link to start this sendmail in the system start up) # ln -s /opt/test/sendmail/etc/init.d/sendmail /etc/rc.d/ man mailer.conf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Per disk quota
[EMAIL PROTECTED] wrote: Nice idea! I didn't think about it! I have a wonder about that. Does this procedure include a delay in file access time? I cant give you exact numbers, but I think that for _one_ application you'll not get big performance reduction. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Whats up with KCalc?
Parv wrote: in message <[EMAIL PROTECTED]>, Well, did you try any other calculating software? grpn, perl, and dc gave me 46(.0...) even after asking for a result upto 20 digits. Here is a naive guess: kcalc stores the number in such a way that it causes the abnormality as above(?). I have checked KCalc on Mandrake Linux 10.1 (different version of KDE) and it gives correct result. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Whats up with KCalc?
Ean Kingston wrote: I just checked it on FreeBSD 5.4 and it gives the correct answer. KCalc 1.8 compiled from port. 5.4-RELEASE? or 5-STABLE? on 5-STABLE with KCalc 1.8.1 (KDE 3.4.1) it gives correct results up to 44+1 than it gives wrong results with 45+1, 46+1, 47+1 etc. Even if I restart KCalc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: (no subject)
Mohd Radzi wrote: Access denied for user: '[EMAIL PROTECTED]' (Using password: NO) how to do? Read MySQL manual. Also set Subject of your mail. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Cannot use cvsup
Brian John wrote: Hello, I can't use cvsup for some reason. I just tried upgrading from 5.3 to 5.4. When I try to use cvsup, it says this: su-2.05b# cvsup /libexec/ld-elf.so.1: Shared object "libXaw.so.8" not found, required by "cvsup" If you dont have X11 on this machine, then you need "cvsup-without-gui" package ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: reducing shutdown time
Marc Santhoff wrote: So those vars are only applicant for softupdates. No, no softupdates involved. I was searching for a way to shorten the stopping time in general. If all filesystems are read only, then you can try halt -q (or even halt -q -n) see halt(8) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: problem with devfs
[EMAIL PROTECTED] wrote: Hello everyone, I'm a CS student, and this previous semester I took a unix class where our teacher gave us some code for an assignment, with the goal being to compile and install it. The jist of it was the program created a device in /dev called voice, which would "speak" whatever was written to it using festival. I thought this was kinda spiffy, and tried to install it on my system at home, freebsd 5.3. The program tries to write to /dev, and because 5.3 uses devfs, /dev is read only, so it obviously fails. I thought that maybe using mknod would allow me to create a device, but the man page for mknod states that it can "be used to recreate deleted device nodes under a devfs(5) mount point by invoking it using dummy arguments", but that doesn't really help me here as the device node never existed in the first place. You can make device node or fifo not in /dev but in any other directory (for example in /tmp) and change path in your file. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [OT Re: SPAM Problem]
Greg Maruszeczka wrote: It's probably "blowback" resulting from the activities of worm-infected windows hosts. Someone you correspond with got infected and the worm subsequently propagated itself by picking your name from their address book and inserting it into the from: header of the message carrying the worm. Then, badly configured MTAs send "helpful" NDRs to the "sender" informing them that they're messages couldn't be delivered Pretty routine, really. In 2005.01 we have got 48605 bounce messages (instead of 4-10, our clients prefer to call phone) to our help desk email and I was _forced_ to close this address with semi-helpful message after "RCPT TO:" command about new address. Now I reopened address and we get "normal" number of spam messages at it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: xorg keyboard layout
Dikshie wrote: Dear All, because my laptop is Japanese laptop so I define keymap="jp.106" on /etc/rc.conf BUT when I do startx (using XORG 6.8.2) the keyboard layout back to default (generic english keyboard) ! How to keep keymap="jp.106" still valid on XORG ? Console keyboard and X11 keyboard are configured in different places. To configure Xorg keyboard look at manual page for xorg.cfg, or use xorgcfg utility, but make backup of your existing xorg.cfg. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: freebsd for RS/6000 43p
Ömer TELLİ wrote: Dear sir, We have IBM server that included RS/6000 43P model. At same time, this system have AIX 4.3.2.. We want to set up FREE BSD, is it possible. İf it's possible, which one should we set up? (for example: ppc; Alpha ?) I think, that FreeBSD does not work on this computer. You can try NetBSD. Maybe this: http://www.netbsd.org/Ports/prep/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ad10: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=11441599
Joel Rees wrote: I have two which reliably fail if you put TWO disks on them in a gmirror config within minutes of starting a "make buildworld". Pardon the interruption, but is this two drives on one channel? Two drives can not be on one channel on SATA controller. Also try "Sii3112 Windows trouble" on any search site and you'll find many links to problem reports. SII3112 IS NOT Server (even small-server) chipset. It does not work well with semi-heavy load. Of course, you can install and use FreeBSD, Linux, Windows on it, just dont put load on it with 2 disks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: MiniDV over firewire howto
Erik Norgaard wrote: Hi, I have just discovered that Canon MiniDV series have different names in US which may explain why I haven't got much response on my previous posts on this. I want to buy a camcorder and like the specs of Canon MiniDV's, I failed when trying MVX200 which is equivalent to the Elura 60 (well Elura some number). Some cameras have both DV in and out, the one I tried only had DV out - can this explain why communication failed? I can't tell you about Canon camcoders, but I have Panasonic NV-GS25 and I can transfer video with fwcontrol ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Nagios Client on FreeBSD 5.4
Deepak Naidu wrote: Right Mike, this is what exactly I want. More details are I have LVS server in Linux, installed with Nagios. I have 5 spam servers and 5 IMAP and POP servers, from which 2 spam servers are 5 spam servers? Now we know at least one spammer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Nagios Client on FreeBSD 5.4
Deepak Naidu wrote: Hey Igor Robul, what made u seem my mail as spam Because you have writen : > I have LVS server in Linux, installed with Nagios. I have 5 spam servers and 5 IMAP and POP servers, from >which 2 spam servers are in your mail. Unfortunately I forgot place ":-)" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: OpenOffice + movie/sound requires "Java JRE".....which port is this?
Rob wrote: Hi, I'm running OpenOffice.Org-2.0-RC1 (from package), on a FreeBSD 5-Stable system. With this new release, I can include movie/sound in a presentation. But when I insert an mpeg file, a popup window appears with: OpenOffice.org requires a Java runtime environment (JRE) to perform this task. Please install a JRE and restart OpenOffice.org. There is a port: /usr/ports/java/jre, but this does not install, because it fails on compat3x-i386-5.0.20020925: use /usr/ports/java/jdk15 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: samba question
spen wrote: smbd Abort trap nmbd The story is that the first time I installed samba I enabled it in my /etc/rc.conf writting "echo " smbd" && /usr/local/sbin/smbd -D echo " nmbd" && /usr/local/sbin/nmbd -D " This is incorrect way to start daemons. You need read manual page for rc.conf. What is last mail with abort trap you got? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: samba question
Owen Jeremiah wrote: If I remember correctly, you have to start inetd to run smbd and nmbd. Check FreeBSD handbook for further details about configuring samba. You _dont need_ inetd for Samba, moreover, inetd will degrade Samba performance, and AFAIK is not recommeded by Samba team . ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: tun/tap and qemu
dick hoogendijk wrote: Qemu uses user-net network stack if NO tun/tap network init script is found. The example on their website is about linux. Can someone shine some light on this matter? If tun/tap is difficult or not adviced, how can I make my 10.0.0.x machines show themselves on my mail 192.168.11.xx network? On FreeBSD qemu uses "tap" device. Just patch /usr/src/sys/net/if_tap.c for non-root access, then recompile it and load if_tap module. Make sure /dev/tap* have correct permissions ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: pppd
Alexander Pyhalov wrote: I use the last port collection, but there is only 2.3.11 version of pppd there. Are there any plans for updating it? ___ AFAIK pppd is in base system, not in ports. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: telnetting/netcatting into a DNS server?
Mohan Singh wrote: Whenever I need to test a mail/ssh/web server, I usually just telnet or nc into the appropriate port, i.e.: $ echo "GET / " |nc -v yahoo.com 80 $ nc -v localhost 22 Connection to localhost 22 port [tcp/ssh] succeeded! SSH-1.99-OpenSSH_4.2 How would I connect to a nameserver and talk to it so I can know it is working? I get as far as connecting to the port, but I don't know how to make it send back anything meaningful. if you wish "know" your nameserver works, then nslookup - your.server.ip then try resolve some hostname/ip or host _name_to_resolve_ your.server.ip ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: math/grace port: "libXcursor.so.1.0" not found ??
Hi, Rob wrote: Yes, indeed. Thank you. You said: "Sounds like the application is broken for requesting it, since as you found there is no such library on FreeBSD." Here "the application" refers to what? Grace? Or dlopen()? If you mean grace, then I have a problem: the grace mailinglist blames FreeBSD, and here grace is blamed. Argh! What are you trying to do with xmgrace? I' asking because I have just installed math/grace and it at least can be launched on my system without trouble. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Samba3 and win9x
Aguiar Magalhaes wrote: List, I´ve installed Samba3 on a FreeBSD 5.4 server. The shared directories are see in winXP machines and they´ve worked correctly using the local users (created by adduser script with nologin) In the same network, when I use the same users in win9x machines, I´ve received a error message: "Invalid password" My smb.conf has: security = user encrypt password = no domain logons = yes The win9x machines has in the register: EnablePlainTextPassword = 1 What´s wrong ? Why do you wish plain text passwords? Win98 can work with encrypted passwords. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: math/grace port: "libXcursor.so.1.0" not found ??
Peter Jeremy wrote: It doesn't make sense for an attempt to dlopen libm to complain about an X library. fresh port works for me. By "works" I mean I can launch it and use menu :-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to terminate TCP connection?
Artem Kuchin wrote: So, the question, Is there a way to kill off stuck tcp connection (or actually ANY connection which are shown by netstat) or maybe there is a way to force jail termination without waiting until all connection are gone. tcpdrop(8) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: math/grace port: "libXcursor.so.1.0" not found ??
Rob wrote: Indeed, grace will start normally, but it will not parse the "USE..." line from the gracerc.user, because the dlopen() call has the error: Shared object "libXcursor.so.1.0" not found, required by "xmgrace" Do you see this too? yes. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: math/grace port: "libXcursor.so.1.0" not found ??
Rob wrote: The reason why the grace developper blames FreeBSD is because of this: The executable 'xmgrace' is linked to /usr/X11R6/lib/libX11.so.6 and 'strings /usr/X11R6/lib/libX11.so.6 | grep libXcursor' gives: libXcursor.so.1.0.2 So according to the grace developper, the reason for my problem is a problem with libX11.so.6. I have rebuilt xmgrace/grace from sources without port Makefile, and all works fine. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: math/grace port: "libXcursor.so.1.0" not found ??
Rob wrote: The executable 'xmgrace' is linked to /usr/X11R6/lib/libX11.so.6 and 'strings /usr/X11R6/lib/libX11.so.6 | grep libXcursor' gives: libXcursor.so.1.0.2 I have made symbolic link libXcursor.so.1 -> libXcursor.so.1.0.2 in /usr/X11R6/lib and now xmgrace starts withour errors. So really, there is some minor problem with x11/xorg-libraries port triggered by xmgrace ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: math/grace port: "libXcursor.so.1.0" not found ??
Rob wrote: --- Igor Do you mean the other-way-around link: libXcursor.so.1.0.2 -> libXcursor.so.1 ?? of course. I mean ln -sf libXcursor.so.1 libXcursor.so.1.0.2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: math/grace port: "libXcursor.so.1.0" not found ??
Rob wrote: Indeed, but with this link, I get: $ xmgrace Shared object "nss_dns.so.1" not found, required by "xmgrace" DL module load failed: USE "pow" TYPE F_OF_DD FROM "/usr/lib/libm.so" Error at line 1 All works fine for me. I think this is your local problem. Check /etc/nsswitch.conf Mine is bellow: group: compat group_compat: nis hosts: files dns networks: files passwd: compat passwd_compat: nis shells: files ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Disc space
zielik wrote: I have too small /tmp partition, and i would like to make it bigger without reinstalling system, how to do it ? 1) you can buy another disk 2) you can buy more memory and use memory backed md (4) /tmp 3) you can make symbolic link from /tmp to some other place 4) you can check your application, which request big /tmp and tell this app about other location for temporary space 4a) You may consider changing your application. For example uw-imap needs big /tmp for big imap folders, but courier or cyrus does not. 5) if you have spare disk and time you can boot from CD and manually repartition your primary disk, using spare disk as backup and temporary space. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: math/grace port: "libXcursor.so.1.0" not found ??
Rob wrote: Aargh, seems I'm back where I was a few hours ago... ...me having a problem that nobody understands. Check /etc/nsswitch.conf Mine is bellow: group: compat group_compat: nis hosts: files dns networks: files passwd: compat passwd_compat: nis shells: files I have exactly same; I have never touched that file! But, eh, what does this have to do with the library stuff? Anyway, are you sure there's no gracerc.user file in the directory from where you start xmgrace, since that would prevent reading the other one in $HOME/.grace/ , and hence you wouldn't see the library problem !! %mkdir %cd / %cat ~/.grace/gracerc.user USE "pow" TYPE f_of_dd FROM "/usr/lib/libm.so" %ls %xmgrace % ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: math/grace port: "libXcursor.so.1.0" not found ?? [SOLVED]
Rob wrote: --- XtAppContext app_con; Display *disp = NULL; char *display_name = NULL; XtSetLanguageProc(NULL, NULL, NULL); XtToolkitInitialize(); app_con = XtCreateApplicationContext(); disp = XOpenDisplay(display_name); --- (I have simplified this code snippet a bit, for this example; also, grace uses Motif for its GUI). Before the XOpenDisplay() call, dlerror() does not have the error-indicator set, but after that call, it has. Is this where Linux and FreeBSD are out-of-sync? Or does Grace something wrong here, or is this a problem cause by FreeBSD or Xorg? I think, that when XOpenDisplay called, ld.so tries load some libraries from preconfigured paths, and last unsuccessful attempt is recorded for dlerror(). dlopen() _does not_ reset dlerror() state on sucess, it just returns non NULL. So you must not check dlerror() for error condition, you need check return result of dlopen(), and if it is NULL, then you need use dlerror(). So, code in grace: dlopen("library name", MODE); if (dlerror() != NULL) { report_error(); exit(1); } need to be: handle = dlopen("library name", MODE); if (handle == NULL) { report_error(dlerror()); exit(1); } just because dlerror() != NULL is not indicator of error. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: math/grace port: "libXcursor.so.1.0" not found ?? [SOLVED]
Igor Robul wrote: dlopen() _does not_ reset dlerror() state on sucess, it just returns non NULL. So you must not check dlerror() for error condition, you need check return result of dlopen(), and if it is NULL, then you need use dlerror(). So, code in grace: dlopen("library name", MODE); if (dlerror() != NULL) { report_error(); exit(1); Actual code in grace is: newkey.data = dlsym(handle, dl_function); if ((error = (char *) dlerror()) != NULL) { errmsg(error); dlclose(handle); return RETURN_FAILURE; } But I think it is needed to be something like (I dont know if they need "error" variable later): newkey.data = dlsym(handle, dl_function); if ( newkey.data == NULL) { errmsg(error=dlerror()); dlclose(handle); return RETURN_FAILURE; } ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: math/grace port: "libXcursor.so.1.0" not found ?? [SOLVED]
Sorry, I have reread manual page for dlerror() and found that it need clear error state after call, but dlerror() in src/libc/gen/dlfcn.c does not do this: #pragma weak dlerror const char * dlerror(void) { return sorry; } So error is in FreeBSD libc, if I understand this correctly. I'll do PR. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: math/grace port: "libXcursor.so.1.0" not found ?? [SOLVED]
Igor Robul wrote: Sorry, I have reread manual page for dlerror() and found that it need clear error state after call, but dlerror() in src/libc/gen/dlfcn.c does not do this: #pragma weak dlerror const char * dlerror(void) { return sorry; } So error is in FreeBSD libc, if I understand this correctly. I'll do PR. Bad day for me :-(. Above code is from src/libc/gen/dlfcn.c, but real dlerror for dynamicaly linked executables is in rtdl.c, and it works as described in manual page (clears error status). So problem is somewhere else. Sorry for false info. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: packet forwarding
Yance Kowara wrote: Hi all, What's the difference between gateway_enable="YES" in /etc/rc.conf and net.inet.ip.forwarding=1 in /etc/sysctl.conf Regards, There are no differences, you can check this by greping gateway_enable in /etc/rc.d/*. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: dial-up with modem
Mohsen Pahlevanzadeh wrote: Dears, I wanna install package.But it is in the web,I need to dial up modem.So,Am i do compile kernel for supppurting ppp ? No, if I remember correctly PPP is in generic kernel (both "tun" for user-level, and "ppp" for pppd"). If I'm wrong, then you can load module. Do this as "root" user: # For kernel ppp (pppd): kldload if_ppp # For user level ppp: kldload if_tun Then read pppd(8) or ppp(8), if you dont know how to read manual pages, then run following command: man man ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Dial-up with RS-232 cable modem
Mohsen Pahlevanzadeh wrote: Dears,If you can connect to the Internet via ppp,Please mail me /etc/ppp directory. Yours,Mohsen You can read about PPP configuration: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ppp-and-slip.html My /etc/ppp is meaningless from you becuase we use different providers, have differnet modems etc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
dlopen()/dlsym()/dlerror() was: Re: libXcursor.so.1.0.2 reference in libX11.so.6 ??
Rob wrote: So you can see, from where we got 1.0.2 Yes, indeed, very true. It's Xorg that has this library version hardcoded. Meanwhile, I also found out following: On FreeBSD, the dl* functions do not reset a previous error indicator. In this specific case, in xc/lib/X11/CrGlCur.c Xorg will first try to "dlopen" the library libXcursor.so.1.0.2 without success (this will set the dlerror indicator), next Xorg will try to dlopen libXcursor.so.1.0 without success (again sets dlerror indicator), but eventually successfully dlopens libXcursor.so.1. However, the last successful dlopen call does NOT clear the earlier dlerror indicator. dlerror() resets error indicator. From /usr/src/libexec/rtld-elf/rtld.c: const char * dlerror(void) { char *msg = error_message; error_message = NULL; return msg; } Error indicator is not reseted by successful call to dlopen(), but I'm not sure that dlopen() need reset error indicator. At least I could not find information about this in manual page. Conclusively: The whole library problem boils down to the behaviour of the dl* functions, with respect to the clearing/setting the dlerror indicator. In general, one should always call dlerror() prior to the use of the dl* functions, to clear any previous dlerror indicator: dlerror(); /* clear previous error*/ handle = dlopen("blabla.lib", RTLD_LAZY) if ( !handle ) { error_print(dlerror()); return FAILURE; } data = dlsym(); error = dlerror(); if ( !data && error != NULL ) { error_print(error); return FAILURE; } etc. etc. Note that a dlerror() call always will clear any previous dlerror indicator. Does all that make sense to you? Yes. Is there any standart which describes dl*() functions? Because from _my_ point of view dlopen()/dlsym() need not clear error indicator on success, dlopen()/dlsym() need to return NULL on error. dlerror() is one who can/have to clear error indicator. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"