The FreeBSD Diary: 2004-03-14 - 2004-04-03
The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to [EMAIL PROTECTED] with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives http://www.freebsd.org/search/search.html#mailinglists and/or The FreeBSD Diary http://www.freebsddiary.org/. These are the articles posted during this period: 1-Apr : Building a new box from scratch I need a new high end box http://freebsddiary.org/antec.php?2 -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MASTER_SITE_OVERRIDE in make.conf
Robert Downes wrote: MASTER_SITE_OVERRIDE=ftp://ftp.uk.freebsd.org/pub/FreeBSD/ports/distfiles Someone gave me this line months ago when I asked how to instruct make to request files from local FTP servers (rather than dumping all requests on the master server). However, I can not find a description for this line in any official literature. I have checked man make.conf, and there seems to be no mention. Where should I be looking for the definitive description of this configuration setting, or has it been removed from recent versions of FreeBSD? /etc/defaults/make.conf -Kirill ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
java plugin for mozilla
Hello, I just install java from /usr/ports/java/jdk14, and now I wont use java applets on my mozilla(from /usr/ports/www/mozilla). And I'm interesting how can i install java-plugins for mozilla. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MASTER_SITE_OVERRIDE in make.conf
On Sun, Apr 04, 2004 at 08:33:33AM +0100, Robert Downes wrote: My make.conf file contains the line: MASTER_SITE_OVERRIDE=ftp://ftp.uk.freebsd.org/pub/FreeBSD/ports/distfiles Someone gave me this line months ago when I asked how to instruct make to request files from local FTP servers (rather than dumping all requests on the master server). However, I can not find a description for this line in any official literature. I have checked man make.conf, and there seems to be no mention. Where should I be looking for the definitive description of this configuration setting, or has it been removed from recent versions of FreeBSD? It's documented in /usr/ports/Mk/bsd.port.mk, together with most of the other port-related variables, and also in the default make.conf file (/etc/defaults/make.conf on 4.x, /usr/share/examples/etc/make.conf on 5.x) Kris pgp0.pgp Description: PGP signature
Re: ports hosed
On Sun, Apr 04, 2004 at 01:53:11AM -0600, Jay Moore wrote: FreeBSD 5.2 installed from the cd a couple of weeks ago: I guess I've stepped into it, somehow... the sequence was: # cvsup -g -L 2 /root/ports-supfile completed OK # pkgdb -F OK # portupgrade -afailed... The failure appeared to be the result of inability to find a distfile: docbook-xsl-1.65.1.tar.gz So I manually d/l this file from sourceforge, copied it into /usr/ports/ distfiles, and ran 'portupgrade -a' again. Got following error: /usr/local/sbin/portupgrade:35:in `require': No such file to load -- pkgtools (LoadError) from /usr/local/sbin/portupgrade:35 How do I get back to Kansas (there's no place like home)? Looks like you need to follow some of the steps in /usr/ports/UPDATING (specifically, related to ruby). Kris pgp0.pgp Description: PGP signature
Re: ports hosed
On Sun, 4 Apr 2004 01:53:11 -0600 Jay Moore [EMAIL PROTECTED] wrote: FreeBSD 5.2 installed from the cd a couple of weeks ago: I guess I've stepped into it, somehow... the sequence was: # cvsup -g -L 2 /root/ports-supfile completed OK # pkgdb -F OK # portupgrade -afailed... Post where it failed at... this does not provide much to go on... The failure appeared to be the result of inability to find a distfile: docbook-xsl-1.65.1.tar.gz So I manually d/l this file from sourceforge, copied it into /usr/ports/ distfiles, and ran 'portupgrade -a' again. Got following error: /usr/local/sbin/portupgrade:35:in `require': No such file to load -- pkgtools (LoadError) from /usr/local/sbin/portupgrade:35 May be a pkgdb, index problem, or something like that... delete portupgrade and reinstalling it using the port... no run pkgdb -fu... this will reinstall portupgrade and rebuild the pkg index or whatever... you may aslo want to try a make index first... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ports hosed
On Sunday 04 April 2004 03:26 am, Kris Kennaway wrote: Looks like you need to follow some of the steps in /usr/ports/UPDATING (specifically, related to ruby). OK, read UPDATING here's the drill: Steps 1) 2) went OK, but then: # portupgrade -f lang/ruby18 Stale dependency: ruby-1.8.1_2 -- openssl-0.9.7d -- manually run 'pkgdb -F' to fix, or specify -O to force. # pkgdb -F --- Checking the package registry database Stale dependency: openldap-client-2.1.29 - openssl-0.9.7d (security/openssl): openoffice-1.1.0_1 (score:23%) ? ([y]es/[n]o/[a]ll) [no] New dependency? (? to help): ? [Enter] to skip, [Ctrl]+[D] to delete, [.][Enter] to abort, [Tab] to complete New dependency? (? to help): What is this? I don't understand the question... Is this documented anywhere? Thanks, Jay ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: startssl at boot time
On Sat, Apr 03, 2004 at 02:53:15PM -0700, RYAN vAN GINNEKEN wrote: I use freebsd 4.9 stable and apache 2.0.0.49 with mod_ssl when i type startssl everything seems to work ie my non ssl sites and my ssl site. However on reboot my ssl site does not come up until i run apachectl stop and then apachectl startssl. How do i make apache start the ssl stuff at boot time THANK YOU in advance. Apply this patch to /usr/local/etc/rc.d/apache2.sh: % diff -u apache2.sh.orig apache2.sh --- apache2.sh.orig Sun Apr 4 12:20:39 2004 +++ apache2.sh Sun Apr 4 12:20:54 2004 @@ -3,7 +3,7 @@ case $1 in start) - [ ssl = ssl -a -f $PREFIX/etc/apache2/ssl.crt/server.crt ] SSL=ssl + SSL=ssl [ -x ${PREFIX}/sbin/apachectl ] ${PREFIX}/sbin/apachectl start${SSL} /dev/null echo -n ' apache2' ;; stop) which just stops the port trying to be clever about autodetecting if SSL support is needed, and starts apache up with startssl every time. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: java plugin for mozilla
On Sun, Apr 04, 2004 at 01:21:49PM +0400, Ruslan N. Gogunsci wrote: I just install java from /usr/ports/java/jdk14, and now I wont use java applets on my mozilla(from /usr/ports/www/mozilla). And I'm interesting how can i install java-plugins for mozilla. # cd /usr/X11R6/lib/browser_plugins # rm libjavaplugin_oji.so # ln -s /usr/local/jdk1.4.2/jre/plugin/i386/ns610/libjavaplugin_oji.so libjavaplugin_oji.so Then fire-up Mozilla and type in 'about:plugins' to the address bar, and you should see 'Java(TM) Plug-in 1.4.2-p6-root_05_mar_2004_23_25' listed. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
i386_get_ioperm syntax....
Hi, am not on the list, please reply to my e-mail for possible solutions. I have this problem compiling a code: terra# make make all-recursive Making all in m4 Making all in src if g++ -DREENTRANT -I. -I. -I.. -O6 -I/usr/include/bhpos -O6 -I/usr/ include/bhpos -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/ lib/gtkmm/include -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/ usr/X11R6/include -I/usr/local/include/sigc++-1.0 -I/usr/include/bhpos/hw -I/usr/include/bhpos/widget -g -O2 -MT callbacks.o -MD -MP -MF .deps/ callbacks.Tpo -c -o callbacks.o `test -f 'callbacks.cc' || echo './'`callbacks.cc; then mv .deps/callbacks.Tpo .deps/callbacks.Po; else rm -f .deps/callbacks.Tpo; exit 1; fi callbacks.cc: In member function `int CPost::DeviceControl(int, int)': callbacks.cc:160: error: invalid conversion from `int' to `unsigned int*' callbacks.cc:160: error: invalid conversion from `int' to `int*' callbacks.cc:163: error: invalid conversion from `int' to `unsigned int*' *** Error code 1 Stop in /home/eric/banana/post-1.2.1/src. *** Error code 1 Stop in /home/eric/banana/post-1.2.1. *** Error code 1 Stop in /home/eric/banana/post-1.2.1. terra# --- the relevant lines are : else if(flags==5){ return i386_get_ioperm(0x3F8, 6, 1); } else if(flags==6){ return i386_get_ioperm(0x3F8, 6, 0); } and: else if(flags==5){ i386_set_ioperm(0x2F8, 6, 1); } else if(flags==6){ i386_set_ioperm(0x2F8, 6, 0); } --- some knows how to solve something like this?, am not a c++ programmer, if someone can give me a hint about what the right values for the i386_get_ioperm() should be in FreeBSD 5.2.1, please reply to my e-mail. thanks in advance. Eric De La Cruz Lugo. Merida, Yucatan, Mexico --- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Question about port update
Hello. I installed freeBSD 5.0 on my computer, but packages in this OS is very old. How Can update one installed package, because command pkg_update don't work. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
NFS File Locking fcntl
Hello, First of all I a very happy using FreeBSD and I have a question regarding Locking of files over NFS. Here is my configuration: I have an apache server running with FreeBSD 4.8 Stable (server 1) I have a NFS server where I put all my website files running FreeBSD 4.8 Stable. (server 2) Both server are linked using Ethernet cards. rpc.lockd is not activated: neither on server 1 nor on server 2 On server 1, I have concurrent CGI processes accessing files on server 2 using the locking api: fcntl(m_hdlFile,F_SETLKW, objLock); to lock part of the accessed files. Question: Despite lockd is missing, does this invokation works well i.e do we have the expected locking behavior ? Thanks and best regards. Mr HERRIER. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ports hosed
On Saturday 03 April 2004 11:00 pm, Vulpes Velox wrote: On Sun, 4 Apr 2004 01:53:11 -0600 Jay Moore [EMAIL PROTECTED] wrote: FreeBSD 5.2 installed from the cd a couple of weeks ago: I guess I've stepped into it, somehow... the sequence was: # cvsup -g -L 2 /root/ports-supfile completed OK # pkgdb -F OK # portupgrade -afailed... Post where it failed at... this does not provide much to go on... The failure appeared to be the result of inability to find a distfile: docbook-xsl-1.65.1.tar.gz So I manually d/l this file from sourceforge, copied it into /usr/ports/ distfiles, and ran 'portupgrade -a' again. Got following error: /usr/local/sbin/portupgrade:35:in `require': No such file to load -- pkgtools (LoadError) from /usr/local/sbin/portupgrade:35 May be a pkgdb, index problem, or something like that... delete portupgrade and reinstalling it using the port... no run pkgdb -fu... this will reinstall portupgrade and rebuild the pkg index or whatever... you may aslo want to try a make index first... IIRC, this is the message that pops up when ruby has been upgraded from 1.6 to 1.8 and portupgrade hasn't been rebuilt. See /usr/ports/UPDATING for details on upgrading porupgrade and ruby. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
When I'm all done..
... Is it then possible to delete the following directories? /usr/src/ And /usr/obj/ And perhaps even, /usr/ports/ For a small 'emergency' disk, I'd like to remove those directories, after the 4.9R install has fully completed. Can it be safely done? Or is anything needed, at runtime, from those directories? Thanks, - Mark ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Question about port update
Petr wrote: Hello. I installed freeBSD 5.0 on my computer, but packages in this OS is very old. How Can update one installed package, because command pkg_update don't work. please wrap your lines a bit(this was a very long line) Install cvsup from the /usr/ports directory, then read: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html update your ports tree, install portupgrade, and use that.. (portupgrade package). HTH, -- Kind regards, Remko Lodder Elvandar.org/DSINet.org www.mostly-harmless.nl A Dutch community for helping newcomers on the hackerscene ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NFS File Locking fcntl
On Sun, Apr 04, 2004 at 02:53:24PM +0200, herrier wrote: Hello, First of all I a very happy using FreeBSD and I have a question regarding Locking of files over NFS. Here is my configuration: I have an apache server running with FreeBSD 4.8 Stable (server 1) I have a NFS server where I put all my website files running FreeBSD 4.8 Stable. (server 2) Both server are linked using Ethernet cards. rpc.lockd is not activated: neither on server 1 nor on server 2 Which means that there's no chance of file locking happening. On server 1, I have concurrent CGI processes accessing files on server 2 using the locking api: fcntl(m_hdlFile,F_SETLKW, objLock); to lock part of the accessed files. Question: Despite lockd is missing, does this invokation works well i.e do we have the expected locking behavior ? Afraid not. FreeBSD 4.9 doesn't provide the client side functionality for locking over NFS -- as the rpc.lockd(8) man page says: The current implementation provides only the server side of the protocol (ie. clients running other OS types can establish locks on a FreeBSD fileserver, but there is currently no means for a FreeBSD client to establish locks). In fact, what happens with FreeBSD clients is that the kernel lies to the process requesting the lock, and just anyswers yes, lock achieved to every request. You should take care that your CGI doesn't depend critically on being able to achieve an exclusive lock on a file shared over a network, especially if that file is going to be accessed from several machines. You can use the technique of 'dot locking' (as often used by mail delivery agents) where the process accessing the file creates a lock file to signal that it is accessing the shared resource, and removes the lock file when it's done. So long as everything that accesses the shared resource can be rewritten to abide by this protocol, then it should work pretty well. This is not a problem with 5.x -- the full functionality of rpc.lockd is supported. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: When I'm all done..
On Sun, Apr 04, 2004 at 01:17:54PM +, Mark wrote: ... Is it then possible to delete the following directories? /usr/src/ And /usr/obj/ And perhaps even, /usr/ports/ For a small 'emergency' disk, I'd like to remove those directories, after the 4.9R install has fully completed. Can it be safely done? Or is anything needed, at runtime, from those directories? No -- those directories are only needed when you're rebuilding the system or installing stuff from ports. You can zap /usr/sup as well, although it's probably empty unless you've used cvsup on that box. You can probably live without /usr/doc, and you only need /usr/include if you're going to be compiling stuff. There's also quite a lot of stuff under /usr/share that you can probably live without, although you need to be a little more discriminating there. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Can't get KDE
I have been doing my research, reading all pieces of information which can help me. My problem is that I installed the NVIDIA driver for my Leadtek WinFast GeForce3 with NVIDIA chipset. When I command the machine startx, I get the error message: NVIDIA: chipset GeForce3 in device section card0 isn't valid for this driver. Now, I cannot even revert to the old nv driver because I get another error. I have found the line start nvidia in an archive, God knows where else there are configured files in my system. I'll appreciate any help. Teilhard ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Can't get KDE
I have been doing my research, reading all pieces of information which can help me. My problem is that I installed the NVIDIA driver for my Leadtek WinFast GeForce3 with NVIDIA chipset. When I command the machine startx, I get the error message: NVIDIA: chipset GeForce3 in device section card0 isn't valid for this driver. Now, I cannot even revert to the old nv driver because I get another error. I have found the line start nvidia in an archive, God knows where else there are configured files in my system. I'll appreciate any help. Teilhard ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't get KDE
On Sunday 04 April 2004 06:49 am, Teilhard Knight wrote: I have been doing my research, reading all pieces of information which can help me. My problem is that I installed the NVIDIA driver for my Leadtek WinFast GeForce3 with NVIDIA chipset. When I command the machine startx, I get the error message: NVIDIA: chipset GeForce3 in device section card0 isn't valid for this driver. Now, I cannot even revert to the old nv driver because I get another error. I have found the line start nvidia in an archive, God knows where else there are configured files in my system. I'll appreciate any help. If you have locate turned on, do a locate XF86Config. There may be old versions lying around. X expects it in serveral places, I have mine in /usr/X11R6/lib/X11/XF86Config Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: remote X display
On Thu, Jan 22, 2004 at 04:12:17PM +0100, Cordula's Web wrote: : I have been looking all over for a concise howto for remote X on FreeBSD. I : see some that involve changing config files in the xdm directory, others use : xhost, and another uses xfig, which doesn't exist under FreeBSD AFAICT. : : Use ssh's -X flag: : : somehost ssh -X [EMAIL PROTECTED] : remotemachine echo $DISPLAY : somehost.example.com:10.0 : remotemachine xclock : : Don't forget to enable X forwarding in /etc/ssh/sshd_config: : X11Forwarding yes I had this working before, but I'm having problems. My main box is missing a monitor (on repair). Would that make a difference? Will X apps run on the main box without a monitor and forward X to the remote client? Right now, I get this: neptune:~ echo $DISPLAY neptune:~ : : All I want to do is use a laptop in a local network to be an X client : connected to a more powerful desktop machine. I'm not worried about : security. : : Is xhosts and the DISPLAY variable all I need? Or do I need to go through : all of the xdm configuration hoops? : : ssh X11 forwarding is much more secure than DISPLAY/xhosts/xdm etc..., : because: : 1. Your X11 server doesn't have to listen to port 6000 : (You don't have to add '-listen_tcp' to startx command) : 2. The communication between server and client is encrypted : : Of course, YMMV. : : NOTE: Please CC me, as I am not currently subscribed. Thanks. : : jm : -- : My other computer is your windows box. : : -- : Cordula's Web. http://www.cordula.ws/ jm -- My other computer is your Windows box. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: java plugin for mozilla
On Sun, Apr 04, 2004 at 12:36:29PM +0100, Matthew Seaman wrote: On Sun, Apr 04, 2004 at 01:21:49PM +0400, Ruslan N. Gogunsci wrote: I just install java from /usr/ports/java/jdk14, and now I wont use java applets on my mozilla(from /usr/ports/www/mozilla). And I'm interesting how can i install java-plugins for mozilla. # cd /usr/X11R6/lib/browser_plugins # rm libjavaplugin_oji.so # ln -s /usr/local/jdk1.4.2/jre/plugin/i386/ns610/libjavaplugin_oji.so libjavaplugin_oji.so Then fire-up Mozilla and type in 'about:plugins' to the address bar, and you should see 'Java(TM) Plug-in 1.4.2-p6-root_05_mar_2004_23_25' listed. Thanks,now mozilla can use java aplet. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK Scanned by evaluation version of Dr.Web antivirus Daemon http://drweb.ru/unix/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't get KDE
On Sunday 04 April 2004 06:49 am, Teilhard Knight wrote: I have been doing my research, reading all pieces of information which can help me. My problem is that I installed the NVIDIA driver for my Leadtek WinFast GeForce3 with NVIDIA chipset. When I command the machine startx, I get the error message: NVIDIA: chipset GeForce3 in device section card0 isn't valid for this driver. Now, I cannot even revert to the old nv driver because I get another error. I have found the line start nvidia in an archive, God knows where else there are configured files in my system. I'll appreciate any help. If you have locate turned on, do a locate XF86Config. There may be old versions lying around. X expects it in serveral places, I have mine in /usr/X11R6/lib/X11/XF86Config Thank you for your answer. I have XF86Config in /etc/X11. I have fiddled with the configuration file to no avail. First thing I did was to change the driver nvidia for the one loaded by default (nv). I also set up the modules as the file README. Linux (in the NVIDIA driver package) instructs, and I haven't been successful. FAQ in the package do not address the problem, let alone the Handbook. Teilhard. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't get KDE
On Sunday 04 April 2004 07:22 am, Teilhard Knight wrote: On Sunday 04 April 2004 06:49 am, Teilhard Knight wrote: I have been doing my research, reading all pieces of information which can help me. My problem is that I installed the NVIDIA driver for my Leadtek WinFast GeForce3 with NVIDIA chipset. When I command the machine startx, I get the error message: NVIDIA: chipset GeForce3 in device section card0 isn't valid for this driver. Now, I cannot even revert to the old nv driver because I get another error. I have found the line start nvidia in an archive, God knows where else there are configured files in my system. I'll appreciate any help. If you have locate turned on, do a locate XF86Config. There may be old versions lying around. X expects it in serveral places, I have mine in /usr/X11R6/lib/X11/XF86Config Thank you for your answer. I have XF86Config in /etc/X11. I have fiddled with the configuration file to no avail. First thing I did was to change the driver nvidia for the one loaded by default (nv). I also set up the modules as the file README. Linux (in the NVIDIA driver package) instructs, and I haven't been successful. FAQ in the package do not address the problem, let alone the Handbook. I would look at the XFree86 web page for your video card and add it to your config file. I ran xf86cfg and haven't had to go back to it in some time. There used to be a web page devoted to the video cards but I couldn't find it. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Symlinks chroot - Is it Possible?
On 4/3/2004 12:13 PM Mark wrote: Drew Tomlinson wrote: I have a few users that I wish to allow FTP access on my 4.9-RELEASE-p4 system. I've setup their accounts and added them to /etc/ftpchroot to lock them into their login directories. They are in the standard /home/user dirs. However, I want all of them to have access to another directory (/ftp/share) that is setup read-only. I tried adding a symlink to /ftp/share but I've found this doesn't work when the user is chrooted. True. A symlink cannot traverse 'up' the chroot; only a hardlink can (to a file). Personally, I would not use something as beta as mount_null. When the man pages say: (READ: IT DOESN'T WORK), I would stay clear of it. There are other ways, though. You say your chroot is at: /etc/ftpchroot Thank you for your reply. No, I created the file /etc/ftpchroot to chroot the user at /home/username. Sorry for the confusion. I'm not necessarily sure whether the root-partition is the best place for a chroot; Agreed. but working from that fact, you could reverse the condition. Instead of trying to link to /ftp/share, from within the chroot, you could do the opposite: first create the following directory: /etc/ftpchroot/ftp/share Then, in /ftp/, symlink to within the chrooted dir: share - /etc/ftpchroot/ftp/share Then /ftp/share is accessible from both the 'real' and the chrooted environment, pointing to the same directory. Short of another solution, I may move things around to implement your suggestion. Thanks, Drew ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Symlinks chroot - Is it Possible?
On 4/3/2004 11:21 AM den wrote: I use mount_null and have no problem with it. You need create dir in each user home and use mount_null for mount your chrooted dir with created directories as mount points . So you need add many lines in your /etc/fstab file . I understand. Thanks for your reply. I think that words in manual about beta concern writing in directory that uses mount_null. I don't use write and it seems that you don't need write too. So use this fs type ( set in fstab ro option for this mount point). And read man for mount_null. This seems reasonable. Can anyone else comment on their experience using mount_null read only? Thanks, Drew Drew Tomlinson wrote: I have a few users that I wish to allow FTP access on my 4.9-RELEASE-p4 system. I've setup their accounts and added them to /etc/ftpchroot to lock them into their login directories. They are in the standard /home/user dirs. However, I want all of them to have access to another directory (/ftp/share) that is setup read-only. I tried adding a symlink to /ftp/share but I've found this doesn't work when the user is chrooted. I've Googled on this issue. A FAQ for PureFTPd confirms this and suggests mount_null. But the man page for mount_null says that the code is beta and may wipe out a file system. What is the best way to achieve my objective? If mount_null is it, how do I use it? Do I include it in some sort of login script? I've set these users shells to nologin. How would that work? Thanks, Drew ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
KDE and continued sound issues.
Hello list, I upgraded to KDE 3.2.1 about 3 months ago or so. Ever since, sound occaisionally crashes with an error along the lines of: Sound Error: /dev/dsp busy. Using /dev/null I re-installed kde via portupgrade last week, and I don't get the error as often, but I do still get it. Yesterday I used my sound all day, and it never crashed. I rebooted into Windows, did what I had to do, came back to freebsd, and sound crashed right away. I've tried grepping dsp in the output of lsof, but I get nothing. I've looked through the entire output and didn't see anything that looked like it would have to do with locking my sound card. 1) How do I fix this so it stops crashing? -or- 2) How can I freeup my sound device (/dev/dsp) so I can utilize sound without a reboot? FYI, I'm using FreeBSD 4.9: FreeBSD nomad 4.9-STABLE FreeBSD 4.9-STABLE #10: Thu Feb 19 23:08:11 CST 2004 [EMAIL PROTECTED]:/usr/src/sys/compile/NOMAD i386 TIA -- Eric F Crist AdTech Integrated Systems, Inc (612) 998-3588 pgp0.pgp Description: signature
Re: MASTER_SITE_OVERRIDE in make.conf
Kris Kennaway wrote: On Sun, Apr 04, 2004 at 08:33:33AM +0100, Robert Downes wrote: My make.conf file contains the line: MASTER_SITE_OVERRIDE=ftp://ftp.uk.freebsd.org/pub/FreeBSD/ports/distfiles It's documented in /usr/ports/Mk/bsd.port.mk, together with most of the other port-related variables, and also in the default make.conf file (/etc/defaults/make.conf on 4.x, /usr/share/examples/etc/make.conf on 5.x) I found plenty in /usr/ports/Mk/bsd.port.mk, but neither I nor the ee search function could find anything about MASTER_SITE* in /usr/share/examples/etc/make.conf. Is my file damaged? -- Bob ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Multiple port installs of Berkeley
I just found that I have these packages installed. Is this normal? I don't remember doing any installs of Berkeley. I found out when I saw that my Cyrus-SASL package was using db3. Should I get things down to one version and maybe add 'WITH_BERKELEY_VER' to /etc/make.conf, or is there such a variable? esmtp# ls /var/db/pkg | grep db db3-3.3.11,1 db4-4.0.14_1,1 db41-4.1.25_1 -- Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: re: is that your document?
Hi, [EMAIL PROTECTED] is protected from spam by knowspam.net. For [EMAIL PROTECTED] to receive your email, you need to demonstrate you are human by answering the simple question at this link: http://knowspam.net/v/v?a=ZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmc=b=bG91QGxvdWlzcm9zZW5mZWxkLmNvbQ== Thanks! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't get KDE
On Sunday 04 April 2004 08:55 am, you wrote: On Sunday 04 April 2004 07:22 am, Teilhard Knight wrote: On Sunday 04 April 2004 06:49 am, Teilhard Knight wrote: I have been doing my research, reading all pieces of information which can help me. My problem is that I installed the NVIDIA driver for my Leadtek WinFast GeForce3 with NVIDIA chipset. When I command the machine startx, I get the error message: NVIDIA: chipset GeForce3 in device section card0 isn't valid for this driver. Now, I cannot even revert to the old nv driver because I get another error. I have found the line start nvidia in an archive, God knows where else there are configured files in my system. I'll appreciate any help. If you have locate turned on, do a locate XF86Config. There may be old versions lying around. X expects it in serveral places, I have mine in /usr/X11R6/lib/X11/XF86Config Thank you for your answer. I have XF86Config in /etc/X11. I have fiddled with the configuration file to no avail. First thing I did was to change the driver nvidia for the one loaded by default (nv). I also set up the modules as the file README. Linux (in the NVIDIA driver package) instructs, and I haven't been successful. FAQ in the package do not address the problem, let alone the Handbook. I would look at the XFree86 web page for your video card and add it to your config file. I ran xf86cfg and haven't had to go back to it in some time. There used to be a web page devoted to the video cards but I I had done it before posting. As for the page you mention, I can't find it either. I'll keep searching, though. Thanks. http://xfree86.org/4.3.0/nv.4.html You should be able to man nv. Thanks a lot. The README.Linux includes the GeForce3 among the cards supported by the nvidia driver. I cannot tell why my system doesn't like it for my card. Weird, huh? Teilhard. Teilhard ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: remote X display
: somehost ssh -X [EMAIL PROTECTED] : remotemachine echo $DISPLAY : somehost.example.com:10.0 : remotemachine xclock : : Don't forget to enable X forwarding in /etc/ssh/sshd_config: : X11Forwarding yes I had this working before, but I'm having problems. My main box is missing a monitor (on repair). Would that make a difference? Will X apps run on the main box without a monitor and forward X to the remote client? Right now, I get this: neptune:~ echo $DISPLAY neptune:~ If DISPLAY is not set, then ssh on your local machine and sshd on the remote box didn't establish an X11 forwarding channel. Are you sure that sshd_config is set up properly on the remote machine? Did you use -X (that's uppercase X) while invoking ssh locally? Perhaps your local ssh and remote sshd are not talking the same version of the SSH protocol? BTW, it is irrelevant if the remote box has a monitor or not. That box doesn't even need an X server (wether running or not). Only X clients and X libraries are needed on the remote machine. -- Cordula's Web. http://www.cordula.ws/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ports hosed
Jay Moore wrote: # portupgrade -f lang/ruby18 Stale dependency: ruby-1.8.1_2 -- openssl-0.9.7d -- manually run 'pkgdb -F' to fix, or specify -O to force. # pkgdb -F --- Checking the package registry database Stale dependency: openldap-client-2.1.29 - openssl-0.9.7d (security/openssl): openoffice-1.1.0_1 (score:23%) ? ([y]es/[n]o/[a]ll) [no] New dependency? (? to help): ? [Enter] to skip, [Ctrl]+[D] to delete, [.][Enter] to abort, [Tab] to complete New dependency? (? to help): What is this? I don't understand the question... Is this documented anywhere? I had the same thing happen earlier this week. I just installed openssl form the ports (security/openssl). I think this is due to a change in ruby's dependancies since the security advisory of a couple of weeks ago (FreeBSD-SA-04:05.openssl). -- Clint Gilders [EMAIL PROTECTED] Director of Technology Services OnlineHobbyist.com, Inc. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
I need help with Xfree86
Hi I installed FreeBSD and everything works fine but now I need to install Xfree86. Is that the only thing I need to install to be able to get into FreeBSD? Please help me out by telling me how to get Xfree86 and where to install it to so I can get it when Im trying to install it. I have FreeBSD on another partition but now when I go into My Computer, it doesnt show the partition with FreeBSD on it. How will I do it then? I have the I386 platform. PLEASE HELP ME OUT! - Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway - Enter today ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MASTER_SITE_OVERRIDE in make.conf
Robert Downes wrote: Where should I be looking for the definitive description of this configuration setting, or has it been removed from recent versions of FreeBSD? To some extend, ports(7) describes the available options for the ports collection. The ultimate reference, however, are the make files in ports/Mk themselves. Simon signature.asc Description: Digital signature
Re: ports hosed
On Sunday 04 April 2004 08:07 am, Kent Stewart wrote: # portupgrade -f lang/ruby18 Stale dependency: ruby-1.8.1_2 -- openssl-0.9.7d -- manually run 'pkgdb -F' to fix, or specify -O to force. # pkgdb -F --- Checking the package registry database Stale dependency: openldap-client-2.1.29 - openssl-0.9.7d (security/openssl): openoffice-1.1.0_1 (score:23%) ? snip What is this? I don't understand the question... Is this documented anywhere? You didn't do a portupgrade -rRa. The easy way is to upgrade or install openssl-0.9.7d. Thanks, Kent. I was following the procedure in /usr/ports/UPDATING, and the question seemed so out of context... I mean openoffice-1.1.0_1(score:23%) - what's with that? Anyway, as I read ports-using.html from the Handbook, portupgrade -a is a superset of portupgrade -rRa... is that correct? Bottom line here (in my case) is this: I'm afraid my ports tree may be BFU; this all started when I tried to install the K3b port which apparently has a bazillion dependencies. At least one of the tar.gz files couldn't be located, and things have kind of gone downhill from there :(For me, I'm afraid that salvation may require wiping the entire ports tree, and re-installing it from the 5.2 cd. Is there a safe clean way to do that? Thanks, Jay ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I need help with Xfree86
Steven Soria wrote: Is that the only thing I need to install to be able to get into FreeBSD? Well, no, actually. :-) You don't need to install XFree86 to get into FreeBSD. Please help me out by telling me how to get Xfree86 and where to install it to so I can get it when Im trying to install it. I have FreeBSD on another partition but now when I go into My Computer, it doesnt show the partition with FreeBSD on it. How will I do it then? I have the I386 platform. PLEASE HELP ME OUT! As you've noticed, Windows doesn't understand the filesystem FreeBSD uses. Don't boot into Windows, boot into the FreeBSD partition. It's probably easier to use /stand/sysinstall to install X11 via prebuilt packages (either via FTP or from the installation CD), but you can also do something like: cd /usr/ports/x11/XFree86-4 make install ...and build and install X yourself (but this will take quite a bit of time). -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ports hosed
On Sunday 04 April 2004 12:21 pm, Jay Moore wrote: On Sunday 04 April 2004 08:07 am, Kent Stewart wrote: # portupgrade -f lang/ruby18 Stale dependency: ruby-1.8.1_2 -- openssl-0.9.7d -- manually run 'pkgdb -F' to fix, or specify -O to force. # pkgdb -F --- Checking the package registry database Stale dependency: openldap-client-2.1.29 - openssl-0.9.7d (security/openssl): openoffice-1.1.0_1 (score:23%) ? snip What is this? I don't understand the question... Is this documented anywhere? You didn't do a portupgrade -rRa. The easy way is to upgrade or install openssl-0.9.7d. Thanks, Kent. I was following the procedure in /usr/ports/UPDATING, and the question seemed so out of context... I mean openoffice-1.1.0_1(score:23%) - what's with that? Anyway, as I read ports-using.html from the Handbook, portupgrade -a is a superset of portupgrade -rRa... is that correct? Bottom line here (in my case) is this: I'm afraid my ports tree may be BFU; this all started when I tried to install the K3b port which apparently has a bazillion dependencies. At least one of the tar.gz files couldn't be located, and things have kind of gone downhill from there :(For me, I'm afraid that salvation may require wiping the entire ports tree, and re-installing it from the 5.2 cd. Is there a safe clean way to do that? It was the closest thing to openssl. There is what I think is a problem with ports such as openssl. It is in the makefile to portupgrade but if you do a make search, it doesn't show up. When you see an obvious link problem like you saw, check if you have it installed. If you do/don't just upgrade/install what is missing. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ports hosed
On Sunday 04 April 2004 12:27 pm, Kent Stewart wrote: On Sunday 04 April 2004 12:21 pm, Jay Moore wrote: On Sunday 04 April 2004 08:07 am, Kent Stewart wrote: # portupgrade -f lang/ruby18 Stale dependency: ruby-1.8.1_2 -- openssl-0.9.7d -- manually run 'pkgdb -F' to fix, or specify -O to force. # pkgdb -F --- Checking the package registry database Stale dependency: openldap-client-2.1.29 - openssl-0.9.7d (security/openssl): openoffice-1.1.0_1 (score:23%) ? snip What is this? I don't understand the question... Is this documented anywhere? You didn't do a portupgrade -rRa. The easy way is to upgrade or install openssl-0.9.7d. Thanks, Kent. I was following the procedure in /usr/ports/UPDATING, and the question seemed so out of context... I mean openoffice-1.1.0_1(score:23%) - what's with that? Anyway, as I read ports-using.html from the Handbook, portupgrade -a is a superset of portupgrade -rRa... is that correct? Bottom line here (in my case) is this: I'm afraid my ports tree may be BFU; this all started when I tried to install the K3b port which apparently has a bazillion dependencies. At least one of the tar.gz files couldn't be located, and things have kind of gone downhill from there :(For me, I'm afraid that salvation may require wiping the entire ports tree, and re-installing it from the 5.2 cd. Is there a safe clean way to do that? It was the closest thing to openssl. There is what I think is a problem with ports such as openssl. It is in the makefile to portupgrade but if you do a make search, it doesn't show up. When you see an obvious link problem like you saw, check if you have it installed. If you do/don't just upgrade/install what is missing. It is a dependancy to ruby-1.8 but it wasn't installed/upgraded for some reason. The same logic for a solution applies. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ports hosed
On Sunday 04 April 2004 02:27 pm, Kent Stewart wrote: Bottom line here (in my case) is this: I'm afraid my ports tree may be BFU; this all started when I tried to install the K3b port which apparently has a bazillion dependencies. At least one of the tar.gz files couldn't be located, and things have kind of gone downhill from there :(For me, I'm afraid that salvation may require wiping the entire ports tree, and re-installing it from the 5.2 cd. Is there a safe clean way to do that? It was the closest thing to openssl. There is what I think is a problem with ports such as openssl. It is in the makefile to portupgrade but if you do a make search, it doesn't show up. When you see an obvious link problem like you saw, check if you have it installed. If you do/don't just upgrade/install what is missing. Well, done is done... no way I can back up, and re-visit questions that I've already answered incorrectly. And meanwhile my machine is still crunching forward with the last portupgrade -a that I did - this will likely continue for quite some time as it reports 211 ports (and this # keeps growing!) I believe I've lost control of the f**g thing... So - is there a way to go back to ground zero?... to just remove everything from the ports tree, and re-install from the 5.2 cd? Thanks, Jay ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I need help with Xfree86
Hi I installed FreeBSD and everything works fine but now I need to install Xfree86. Is that the only thing I need to install to be able to get into FreeBSD? Please help me out by telling me how to get Xfree86 and where to install it to so I can get it when Im trying to install it. I have FreeBSD on another partition but now when I go into My Computer, it doesnt show the partition with FreeBSD on it. How will I do it then? I have the I386 platform. PLEASE HELP ME OUT! First, please break your line at around 70 characters length. It makes it much easier for people using a text based Email reader to read your question and to respond to it. I normally select X as one of the things to install when I am select the things to install on the selection screen during the regular FreeBSD installation. (I also select ports and source, etc too, but that's another issue).Then it gets installed right when the other stuff gets installed. Then, there is a screen of post installation things to do and on that I have to select a couple of things: setting up the console, setting time zone, etc and one of those things is configuring X. I just do it from there. That is the easiest - in fact so much so that I suggest you go back and try it that way. When you choose configuring X, it offers a list of methods. I think the one I have the best luck with is the ncurses one. When it configures X, it also lets you choose one or more window managers. I normally choose AfterStep and KDE and don't bother with the others. But that is up to you. I think you can stick the CD back in and boot and work your way through menus to where it asks if there is anything else you want to install and get your X installed that way. But since I always have it already done, I have never had to experiment with that feature. jerry ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Samba Question
Darryl Hoar wrote: I have Samba installed on a Freebsd 5.1 server. I am trying to map a share from a windows machine so that I can copy the data. I can not change the windows share name. It has a space in it. How do I specify the share name in fstab. share name: PSR COMPLETE //[EMAIL PROTECTED]/PSR COMPLETE /psrcomplete smbfs ro,noauto 0 0 doesn't work. Can't use quote marks Hi, I once had the same problem, and I came up with the following patch: http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/55539 (I have attached version of the patch that applies to FreeBSD 5.2.1, otherwise please use the very last version of it (at the bottom of the problem report page). The following instructions assume that you have the system sources in /usr/src # cd /usr/src # patch /path/to/fstab-vis.patch Now either do a full buildworld cycle, or use the following commands (untested): # cd /usr/src/lib/libc # make depend make make install clean # cd /usr/src/share/man/man5 # make depend make make install clean Now you can encode the spaces with the vis(1) utility: vis -w your mount point goes hereENTER See also the updated fstab(5) man page. If you try this patch, please tell me, whether it works for you, perhaps someday I can get it committed. Regards, Simon --- lib/libc/gen/fstab.c.orig Mon Apr 7 14:55:00 2003 +++ lib/libc/gen/fstab.cSun Apr 4 21:45:30 2004 @@ -49,6 +49,7 @@ #include stdlib.h #include string.h #include unistd.h +#include vis.h #include un-namespace.h static FILE *_fs_fp; @@ -110,6 +111,41 @@ _fs_fstab.fs_spec = buf; } +/* + * Converts a string *str, that possibly contains vis(1|3) encoded + * characters (visual representation) into the original form. + * See also: unvis(1|3) + * + * Return values: 0 on success, 1 otherwise + */ +int unescape (char *str) { + int state = 0; + char out, *s = str, *t = str; + + if (str == NULL) + return 1; + + while (*s != '\0') { + again: + switch(unvis(out, *s, state, 0)) { + case 0: + case UNVIS_NOCHAR: + break; + case UNVIS_VALID: + *t++ = out; + break; + case UNVIS_VALIDPUSH: + *t++ = out; + goto again; + case UNVIS_SYNBAD: + return 1; + } + ++s; + } + *t = '\0'; + return 0; +} + static int fstabscan() { @@ -128,9 +164,19 @@ if (*line == '#' || *line == '\n') continue; if (!strpbrk(p, \t)) { - _fs_fstab.fs_spec = strsep(p, :\n); - _fs_fstab.fs_file = strsep(p, :\n); + cp = strsep(p, :\n); + if (!unescape (cp)) + _fs_fstab.fs_spec = cp; + else + goto bad; + + cp = strsep(p, :\n); + if (!unescape (cp)) + _fs_fstab.fs_file = cp; + else + goto bad; fixfsfile(); + _fs_fstab.fs_type = strsep(p, :\n); if (_fs_fstab.fs_type) { if (!strcmp(_fs_fstab.fs_type, FSTAB_XX)) @@ -152,13 +198,21 @@ /* OLD_STYLE_FSTAB */ while ((cp = strsep(p, \t\n)) != NULL *cp == '\0') ; - _fs_fstab.fs_spec = cp; + if (!unescape (cp)) + _fs_fstab.fs_spec = cp; + else + goto bad; if (!_fs_fstab.fs_spec || *_fs_fstab.fs_spec == '#') continue; + while ((cp = strsep(p, \t\n)) != NULL *cp == '\0') ; - _fs_fstab.fs_file = cp; + if (!unescape (cp)) + _fs_fstab.fs_file = cp; + else + goto bad; fixfsfile(); + while ((cp = strsep(p, \t\n)) != NULL *cp == '\0') ; _fs_fstab.fs_vfstype = cp; --- share/man/man5/fstab.5.orig Thu Dec 12 18:25:57 2002 +++ share/man/man5/fstab.5 Sun Apr 4 21:46:35 2004 @@ -10,7 +10,7 @@ .\notice, this list of conditions and the following disclaimer in the .\documentation and/or other materials provided with the distribution. .\ 3. All advertising materials mentioning features or use of this software -.\must display the following acknowledgement: +.\must display the following acknowledgment: .\This product includes software developed by the University of .\California, Berkeley and its contributors. .\
Re: ports hosed
On Sunday 04 April 2004 01:10 pm, Jay Moore wrote: On Sunday 04 April 2004 02:27 pm, Kent Stewart wrote: Bottom line here (in my case) is this: I'm afraid my ports tree may be BFU; this all started when I tried to install the K3b port which apparently has a bazillion dependencies. At least one of the tar.gz files couldn't be located, and things have kind of gone downhill from there :(For me, I'm afraid that salvation may require wiping the entire ports tree, and re-installing it from the 5.2 cd. Is there a safe clean way to do that? It was the closest thing to openssl. There is what I think is a problem with ports such as openssl. It is in the makefile to portupgrade but if you do a make search, it doesn't show up. When you see an obvious link problem like you saw, check if you have it installed. If you do/don't just upgrade/install what is missing. Well, done is done... no way I can back up, and re-visit questions that I've already answered incorrectly. And meanwhile my machine is still crunching forward with the last portupgrade -a that I did - this will likely continue for quite some time as it reports 211 ports (and this # keeps growing!) I believe I've lost control of the f**g thing... So - is there a way to go back to ground zero?... to just remove everything from the ports tree, and re-install from the 5.2 cd? Why would you want to go back. I think that is comparable to rejecting brain surgery and asking them to reinsert a tumor. There are problems that occur and you can't always blindly run portupgrade -a. Most of the time, the fix is really simple and you fix it and move on. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NIC question...
device pcn # AMD Am79C79x PCI 10/100 NICs In the new DNS server I'm building, is the following ifconfig line correct for the first AMD NIC: ifconfig_pcn0=inet 216.231.43.140 netmask 255.255.255.0 Yes, that looks good (if the ip address and the netmask are correct ;-) Be sure to either recompile your kernel with the following options device miibus device pcn or to load the module version of the driver: if_pcn.ko For more options of that NIC driver, you can have a look at its man page: pcn(4). Simon signature.asc Description: Digital signature
make search name/key broken with ports directory moved
Since I moved my ports directory, I *think*, make search name and make search key don't do anything. I stuck my ports directory under /home since /usr was getting a bit tight. I set PORTSDIR=/home/usr/ports in make.conf, which is where my ports tree is. Now, make search name and make search key don't do anything. No error messages, no output whatsoever, exit code of 0. Any help would be appreciated. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Gnome 2.6 upgrade
[EMAIL PROTECTED] wrote: I am running 5.2.1 Release with Gnome 2.4. I have cvsuped my ports collection today to the latest update. What is the procedure to upgrade to Gnome2.6? Hi, as far as I can see, Gnome 2.6 is not part of the ports collection yet. However, you can try Gnome 2.6-rc1 by following the instructions at http://www.FreeBSD.org/gnome/docs/develfaq.html (please report any oddities to [EMAIL PROTECTED] so they can be fixed before the official release of Gnome 2.6 on FreeBSD) Speaking of official release: If that is to close to the ``bleeding edge'' for you, just wait until Gnome 2.6 hits the ports tree. Simon signature.asc Description: Digital signature
Re: ports hosed
On Sunday 04 April 2004 03:29 pm, Kent Stewart wrote: Well, done is done... no way I can back up, and re-visit questions that I've already answered incorrectly. And meanwhile my machine is still crunching forward with the last portupgrade -a that I did - this will likely continue for quite some time as it reports 211 ports (and this # keeps growing!) I believe I've lost control of the f**g thing... So - is there a way to go back to ground zero?... to just remove everything from the ports tree, and re-install from the 5.2 cd? I got to thinking about this more. I think you should have taken care of all of the problems in /usr/ports/UPDATING before you fire off portupgrade -a. You would have probably still bumped into the openssl problem but it is a good idea for a start. Agreed... _if_ I had known to read /usr/ports/UPDATING I might have avoided the chaos I've created. For that matter if I'd known that the K3b port was going to suck down a bazillion dependencies, I would have foregone this whole quagmire :) But I didn't. I've learned a little bit, but I am where I am, and I have no confidence that this thing is going to conclude in a stable situation anytime soon - at least not without a lot more time and effort. So - again, is there any way to cleanly remove and re-install the entire ports tree from the 5.2 cd? Thanks, Jay ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make search name/key broken with ports directory moved
On Sunday 04 April 2004 01:27 pm, Adam Fabian wrote: Since I moved my ports directory, I *think*, make search name and make search key don't do anything. I stuck my ports directory under /home since /usr was getting a bit tight. I set PORTSDIR=/home/usr/ports in make.conf, which is where my ports tree is. Now, make search name and make search key don't do anything. No error messages, no output whatsoever, exit code of 0. Any help would be appreciated. I have /usr/ports on it own partition on several computers. I mount them but in the past a simple link worked just as well. It would be something like ln -s /home/ports /usr/ports A little bit of exploring should solve the problem. -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ports hosed
On Sunday 04 April 2004 01:44 pm, Jay Moore wrote: On Sunday 04 April 2004 03:29 pm, Kent Stewart wrote: Well, done is done... no way I can back up, and re-visit questions that I've already answered incorrectly. And meanwhile my machine is still crunching forward with the last portupgrade -a that I did - this will likely continue for quite some time as it reports 211 ports (and this # keeps growing!) I believe I've lost control of the f**g thing... So - is there a way to go back to ground zero?... to just remove everything from the ports tree, and re-install from the 5.2 cd? I got to thinking about this more. I think you should have taken care of all of the problems in /usr/ports/UPDATING before you fire off portupgrade -a. You would have probably still bumped into the openssl problem but it is a good idea for a start. Agreed... _if_ I had known to read /usr/ports/UPDATING I might have avoided the chaos I've created. For that matter if I'd known that the K3b port was going to suck down a bazillion dependencies, I would have foregone this whole quagmire :) But I didn't. I've learned a little bit, but I am where I am, and I have no confidence that this thing is going to conclude in a stable situation anytime soon - at least not without a lot more time and effort. So - again, is there any way to cleanly remove and re-install the entire ports tree from the 5.2 cd? You have the port structure on the CD. You can remove /usr/ports/* and then do the install. You should be aware that your are going back to a system with a security notice attached to openssl. You aren't saving problems but could be introducing a port security risk instead. If you haven't upgraded to 5.2.1, you already have a system with a security risk. FWIW, I have a clean port system on both 5-current and 4-stable. So, it is possible. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Odd cvsup behaviour
Hi all, Lately, when I cvsup my ports tree, using ports-all, I've noticed something rather odd. The editors/AbiWord2 port always gets completely deleted. Always. If I cvsup again immediately after completion, the editors/AbiWord2 port always gets completely checked out again. Any idea why this would be happening? I noticed the behaviour because when I would portsdb -Uu after the cvsup, the index would always break. So these days I cvsup -L2 ports-supfile (which uses ports-all) immediately followed by cvsup -L2 editors-supfile (which I've edited to only use ports-editors, for speed's sake.) After that, portsdb -Uu works like a charm. I've attached the output from cvsup in case anyone's interested. I'm using cvsup12, since I'm sure that'd be one of the first questions. :) Regrettably, I managed to lose the output from the second cvsup but trust me, it's always just the AbiWord2 port getting checked out again. Cheers, DMK -- I can't afford to make exceptions. I mean, once word leaks out that a pirate has gone soft, people begin to disobey you and then it's nothing but work, work, work all the time. -The Dread Pirate Roberts, from The Princess Bride -su-2.05b# cvsup -L2 ports-supfile; cvsup -L2 editors-supfile; portsdb -Uu Parsing supfile ports-supfile Connecting to cvsup12.FreeBSD.org Connected to cvsup12.FreeBSD.org Server software version: SNAP_16_1g Negotiating file attribute support Exchanging collection information Establishing multiplexed-mode data connection Running Updating collection ports-all/cvs Edit ports/CHANGES Add delta 1.12 2004.04.03.16.28.33 glewis Edit ports/INDEX Add delta 1.385 2004.04.03.12.26.40 kris Edit ports/LEGAL Add delta 1.344 2004.04.04.15.09.17 thierry Edit ports/Mk/bsd.java.mk Add delta 1.39 2004.04.03.03.37.05 glewis Edit ports/Mk/bsd.port.mk Add delta 1.486 2004.04.03.23.59.50 kris Edit ports/Mk/bsd.sites.mk Add delta 1.232 2004.04.04.06.11.04 dougb Edit ports/audio/libtremor/Makefile Add delta 1.2 2004.04.03.08.48.20 ade Edit ports/audio/mpio-driver/Makefile Add delta 1.2 2004.04.04.10.05.47 kris Edit ports/audio/xmms-kde/Makefile Add delta 1.13 2004.04.03.22.03.16 pav Add delta 1.14 2004.04.04.12.18.39 pav Edit ports/cad/xcircuit/Makefile Add delta 1.47 2004.04.02.19.00.08 krion Edit ports/cad/xcircuit/distinfo Add delta 1.35 2004.04.02.19.00.08 krion Edit ports/cad/xcircuit/files/patch-Makefile.in Add delta 1.3 2004.04.02.19.00.08 krion Edit ports/cad/xcircuit/pkg-plist Add delta 1.16 2004.04.02.19.00.08 krion Edit ports/databases/Makefile Add delta 1.326 2004.04.04.18.00.58 erwin Edit ports/databases/dbf/files/patch-dbf.c Add delta 1.2 2004.04.03.06.35.22 krion Edit ports/databases/memcached/Makefile Add delta 1.9 2004.04.03.08.27.07 ade Checkout ports/databases/p5-Class-DBI-Plugin-RetrieveAll/Makefile Checkout ports/databases/p5-Class-DBI-Plugin-RetrieveAll/distinfo Checkout ports/databases/p5-Class-DBI-Plugin-Re t (o c v s u p 1 2 . F ¼r :e e B úS D . (o úr g ( ú | 1 b f 1 / 0 8 p C o n n (e c t e (d t o ( c v s u p 1 2 . F r ¼e :e B S úD . o (r úg ( ú | 1 b f 1 / 0 8 p S e r v (e r s (o f t w (a r e v e r s i o n ¼: : S N úA P _ (1 ú6 _ 1 (g ú | 1 b f 1 / 0 8 p N e g o (t i a t (i n g (f i l e a t t r i b ¼u :t e ús u p (p úo r t ( ú | 1 b f 1 / 0 8 p E x c h (a n g i (n g c (o l l e c t i o n i ¼n :f o r úm a t (i úo n ( ú
Re: ports hosed
On 04 Apr, Jay Moore [EMAIL PROTECTED] wrote: So - again, is there any way to cleanly remove and re-install the entire ports tree from the 5.2 cd? Try rm -r /usr/ports then sysinstall Follow options: =Configure (do post install configuration of FreeBSD) - =Distributions (Install additional distribution sets) - =Ports (The FreeBSD Ports Collection) (Enter) * =CD/DVD (Install from a FreeBSD CD/DVD) * Should get the whole ports shebang back down to 5.2 CD Dist standards. You'll then need to reinstate the index as it was then... cd /usr/ports portsdb -Uu To get rid of every package you have installed currently, try pkg_delete * which should de-install every package you've got, and then rebuild everything you need, starting cd /usr/ports/net/cvsup/ make install clean to build cvsup. I assume you've already configured the example script from /usr/share/examples/cvsup/ports-supfile so we'll skip directly into cvsup -g /usr/share/examples/cvsup/ports-supfile cd /usr/ports/sysutils/portupgrade make install clean portinstall (any port you like) I'd recommend you try and fix whatever it is that's gone wrong with k3b though. It'll take far less time. John -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NIC question...
On Sun, Apr 04, 2004 at 10:17:36PM +0200, Simon Barner wrote: device pcn # AMD Am79C79x PCI 10/100 NICs In the new DNS server I'm building, is the following ifconfig line correct for the first AMD NIC: ifconfig_pcn0=inet 216.231.43.140 netmask 255.255.255.0 Yes, that looks good (if the ip address and the netmask are correct ;-) Be sure to either recompile your kernel with the following options device miibus device pcn or to load the module version of the driver: if_pcn.ko For more options of that NIC driver, you can have a look at its man page: pcn(4). Thanks very much. I just found the GENERIC kernel file; yup, both devices are in by default. (It makes sense to me at least to have just about every dev in by default. If somebody wanted less functionality, trimming back could be a fine-tune option. gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Which cyclic depdency to unlink?
I'm getting the following when running 'pkgdb -F', but how do I know which to unlink? I did a quick search of openldap-sasl in the INDEX, but nothing. esmtp# pkgdb -F --- Checking the package registry database Cyclic dependencies: openldap-sasl-server-2.1.29 - openldap-sasl-client-2.1.29 - (openldap-sasl-server-2.1.29) Unlink which dependency? (? to help): Interrupted. esmtp# grep ^openldap-sasl /usr/ports/INDEX esmtp# grep openldap-sasl /usr/ports/INDEX -- Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ssh no longer connecting automatically
On Fri, Apr 02, 2004 at 01:59:25PM -0500, Daren Desjardins wrote: : Ive been having the exact same issue, even started a thread on it with : no resolution yet. : : Some findings I have made recently included taking a working ssh from a : bsd4.9 release box, copying it to the one that wasnt working, including : the config. That ssh also had the problem after copying. This seems to : indicate either the config has issues(but I copied that as well) or a : runtime library conflict... : : The code where it dies can be found in the source ssh-dss.c, at ' : ret = DSA_do_verify(digest, dlen, sig, key-dsa);' I believe, line 172. I found one thing I forgot to mention, perhaps because I forgot I did it: The SSH I am using is the SSH-portable port. I was following a tuning guide and forgot this is the version I am using. jm -- My other computer is your Windows box. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
For all burncd users!
Hi, First of all sorry for this post on questions@, because this is not a questions, but an announce. I started a new project on sourceforge.net (http://xburncd.sourceforge.net), named XburnCD. My goal is create a powerful Tcl/Tk interface for mkisofs and burncd application for FreeBSD. The project is in startup phase, but I hope to produce a working release in few days or week. If someone of you want help me to develop it, feel free to contact me at [EMAIL PROTECTED] Bye! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
What is Xterm and what do i do with it?
I installed FreeBSD and everything but now this thing called Xterm comes up. What do i do in this wndow? - Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway - Enter today ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Internet gateway
Hello, I just installed a freebsd stable on an old pentium. I want to ask if you guys have additional reading materials in deploying FreeBSD as an internet gateway. I am currently working on a project for a non-profit organization. Thank you very much for your time. Jose Arnel Rimando Toronto, Canada [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ports hosed
On Sunday 04 April 2004 04:08 pm, John Duffey wrote: So - again, is there any way to cleanly remove and re-install the entire ports tree from the 5.2 cd? Try rm -r /usr/ports then snipped for brevity --- I'd recommend you try and fix whatever it is that's gone wrong with k3b though. It'll take far less time. Thanks for the detailed procedure! I think I get the point that you and Kent are trying to make. Some patches/ upgrades to the base 5.2 system will be required after I get there. But I guess I'm not completely convinced that it'll take far less time. I started the K3b port install Friday evening... I'm on about the third iteration of portupgrade, and each iteration is an _extremely_ long process on this old 350 MHz system with 211+ ports. Several of the port installs require input from the console to continue, so I've been friggin' chained to this desk all weekend long. Too much work, too much time! Reading /usr/ports/UPGRADING still worries me when I get to the part about KDE... at some point during the current portupgrade I expect my Konqueror windows will start dying off. And I still don't know what I did to (e.g.) my OpenOffice install when I responded to the prompts from pkgdb -F with Delete. On the + side, I have learned some things about FreeBSD which is why I'm here in the first place. I think I'm going to take your (and Kent's) advice, and let this thing run its course. I've got new info re SSL and the instructions in the UPDATING file - and of course the bulldozer procedure if that fails. But best of all, I've got this list :) I'll close this thread for now with my thanks to all. Future issues will be posted to the list with the words [5.2 portupgrade hairball] in the subject (forewarned is forearmed :) Thanks Again, Jay ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Odd cvsup behaviour
On Sunday 04 April 2004 02:06 pm, Dwayne MacKinnon wrote: Hi all, Lately, when I cvsup my ports tree, using ports-all, I've noticed something rather odd. The editors/AbiWord2 port always gets completely deleted. Always. If I cvsup again immediately after completion, the editors/AbiWord2 port always gets completely checked out again. Any idea why this would be happening? I noticed the behaviour because when I would portsdb -Uu after the cvsup, the index would always break. So these days I cvsup -L2 ports-supfile (which uses ports-all) immediately followed by cvsup -L2 editors-supfile (which I've edited to only use ports-editors, for speed's sake.) After that, portsdb -Uu works like a charm. I've attached the output from cvsup in case anyone's interested. I'm using cvsup12, since I'm sure that'd be one of the first questions. :) Regrettably, I managed to lose the output from the second cvsup but trust me, it's always just the AbiWord2 port getting checked out again. From your text, it was Checkout ports/databases/p5-Class-DBI-Plugin-RetrieveAll/pkg-descr where things died and it didn't recover until you got to java3d. I just did a cvsup of ports-all from my mirror and didn't see your problem. I think that I would try a different cvsup mirror and make sure you don't have -s on the cvsup command line. Nothing has changed in AbiWord2 for 3 weeks. You may have something messed up in your /usr/sup/ports-all/checkouts.cvs:. which is causing the recuring download of AbiWord2. I don't know if there is an easy fix to that. I know I have deleted the checkouts.cvs:. file before but that was a long time ago. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Internet gateway
On Sun, Apr 04, 2004 at 05:57:06PM -0400, Jose Arnel Rimando wrote: Hello, I just installed a freebsd stable on an old pentium. I want to ask if you guys have additional reading materials in deploying FreeBSD as an internet gateway. I am currently working on a project for a non-profit organization. Thank you very much for your time. This might help you out: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-routing.html -Andy Miller ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
secure cvs server, urgent
Hello, I'm wanting to offer cvs services to a select group of users from my internal server. I need this to be as secure as possible using ssh. I've tried cvsd, and although it starts when i try to log in, i'm using :pserver: at the moment, i get the message, premature end of file from server, consult above messages if any. There are none and nothing in the logs. When i tried to use the :ext method i got the error: login can only be used with the pserver method. If anyone has secure cvs services going behind a firewall to users on the net please let me know. Thanks. Dave. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which cyclic depdency to unlink?
On Sun, Apr 04, 2004 at 05:14:53PM -0400, Robert Fitzpatrick wrote: I'm getting the following when running 'pkgdb -F', but how do I know which to unlink? I did a quick search of openldap-sasl in the INDEX, but nothing. esmtp# pkgdb -F --- Checking the package registry database Cyclic dependencies: openldap-sasl-server-2.1.29 - openldap-sasl-client-2.1.29 - (openldap-sasl-server-2.1.29) Unlink which dependency? (? to help): Interrupted. esmtp# grep ^openldap-sasl /usr/ports/INDEX esmtp# grep openldap-sasl /usr/ports/INDEX The openldap-sasl-server depends on the openldap-sasl-client: % pkg_info -r openldap\* Information for openldap-sasl-client-2.1.29: Depends on: Dependency: cyrus-sasl-2.1.18 Information for openldap-sasl-server-2.1.29: Depends on: Dependency: rc_subr-1.16 Dependency: cyrus-sasl-2.1.18 Dependency: db41-4.1.25_1 Dependency: openldap-sasl-client-2.1.29 Makes sense if you think about it -- otherwise you'ld end up installing the server on a machine where you just wanted to install the client libraries. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: secure cvs server, urgent
dave wrote: I'm wanting to offer cvs services to a select group of users from my internal server. I need this to be as secure as possible using ssh. I've tried cvsd, and although it starts when i try to log in, i'm using :pserver: at the moment, i get the message, premature end of file from server, consult above messages if any. You can't use pserver or cvs in daemon mode in conjunction with SSH access. Simply set CVS_RSH=ssh in your environment and use a CVSROOT without the :pserver: bit and your users ought to be fine, at least if cvs is in their path on your internal server. -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What is Xterm and what do i do with it?
On Sun, Apr 04, 2004 at 02:38:36PM -0700, Steven Soria wrote: I installed FreeBSD and everything but now this thing called Xterm comes up. What do i do in this wndow? xterm(1) is the standard terminal emulator provided by X Windows. It gives you access to the Unix shell prompt. Sounds like you've managed to bring up the default xinit(1) setup which gives you just a bare xterm(1) -- which means you're starting X windows by using startx each time you log in, rather than running xdm(1) and using the graphical login. Try running some X Windows programs. xeyes(1) is vaguely amusing the first time you run it: % xeyes and it will probably help you to run a windowmanager: % twm (twm is not everybodies' idea of the greatest windowmanager ever, but it does the job, and it is useful in this situation as it comes by default with the basic X Windows installation.) Once you get bored, just type 'exit' in the original xterm window, and X will close down putting you back at the console prompt. Probably what you want to do after that is configure yourself a nicely customised ~/.xinitrc file: the first step should be to install and run some sort of decent window manager -- there's several in the x11-wm category in the ports. I like windowmaker myself. Or you can go the whole hog and install the Gnome desktop or the KDE desktop -- either of which will require you to download quite a lot of stuff, and spend hours watching it compile if that's the way you choose to do things. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
(Off Topic) Question
Why is it that some people here in the list send their posts as an attachment? Teilhard ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: (Off Topic) Question
On Sun, Apr 04, 2004 at 04:39:56PM -0600, Teilhard Knight wrote: Why is it that some people here in the list send their posts as an attachment? http://www.faqs.org/rfcs/rfc3156.html Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
RE: Internet gateway
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jose Arnel Rimando Sent: Sunday, April 04, 2004 4:57 PM To: [EMAIL PROTECTED] Subject: Internet gateway Hello, I just installed a freebsd stable on an old pentium. I want to ask if you guys have additional reading materials in deploying FreeBSD as an internet gateway. I am currently working on a project for a non-profit organization. Thank you very much for your time. Jose Arnel Rimando Toronto, Canada [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] http://www.freebsddiary.org/ipfw.php http://bsdguides.org/guides/freebsd/networking/ipfilter.php Andras Kende http://www.kende.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Question about port update
On Sun, Apr 04, 2004 at 03:47:51AM +0400, Petr wrote: Hello. I installed freeBSD 5.0 on my computer, but packages in this OS is very old. How Can update one installed package, because command pkg_update don't work. The first thing you need to do is update your OS to a newer version (i.e. 5.2.1) since the older version is unsupported and newer packages will not work on it. See http://www.freebsd.org/ports/ for details about OS versions supported by the ports collection. Kris pgp0.pgp Description: PGP signature
Known problem with qt3.3?
My portupgrade is failing to build qt33 with this /usr/libexec/elf/ld: libqt-mt.so.3.3.1: undefined versioned symbol name __dynamic_cast@@CXXABI_1.2 /usr/libexec/elf/ld: failed to set dynamic section sizes: Bad value *** Error code 1 --Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I need help with Xfree86
On Sunday 04 April 2004 02:12 pm, Steven Soria wrote: Hi I installed FreeBSD and everything works fine but now I need to install Xfree86. Is that the only thing I need to install to be able to get into FreeBSD? Please help me out by telling me how to get Xfree86 and where to install it to so I can get it when Im trying to install it. I have FreeBSD on another partition but now when I go into My Computer, it doesnt show the partition with FreeBSD on it. How will I do it then? I have the I386 platform. PLEASE HELP ME OUT! This is a recommendation only, but here's what I think you should do: Get on eBay, and buy yourself a used PC, 500 MHz - 1 GHz, 128 MB RAM, a 40 GB HDD, an Ethernet card and a cd-rom drive. Spend maybe $150. While you're online, order a copy of the FreeBSD 5.2 (or 4.9) CD set. Spend another $40. Once you get your PC and CD set, install FreeBSD - it's pretty simple, even if you don't know shit from butterbeans. This may cost a bit more, but avoids the risk of breaking your trusty Windows box, while giving you an opportunity to experiment make mistakes while you learn FreeBSD/Unix. And you will learn... -- Jay ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Known problem with qt3.3?
On Sun, Apr 04, 2004 at 04:52:50PM -0700, Chuck McManis wrote: My portupgrade is failing to build qt33 with this /usr/libexec/elf/ld: libqt-mt.so.3.3.1: undefined versioned symbol name __dynamic_cast@@CXXABI_1.2 /usr/libexec/elf/ld: failed to set dynamic section sizes: Bad value *** Error code 1 You forgot to give any details of your FreeBSD system. Kris pgp0.pgp Description: PGP signature
fsck quandry.
Well, it's happpened; the first time in nine years my FBSD acually crashed and auto-rebooted. (Prob'ly my fault, since I didn't do the reboot; make installworld... ) Anway, In doing 'fsck -y' by hand, I watched as dozens of ports' inodes were removed. Short of doing a 'portupgrade -af' is there a way of telling which ports need to be rebuilt and re-installed? tia, gents, gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Known problem with qt3.3?
Your right, 4.9 Release. Everything else is pretty generic At 05:10 PM 4/4/2004, Kris Kennaway wrote: On Sun, Apr 04, 2004 at 04:52:50PM -0700, Chuck McManis wrote: My portupgrade is failing to build qt33 with this /usr/libexec/elf/ld: libqt-mt.so.3.3.1: undefined versioned symbol name __dynamic_cast@@CXXABI_1.2 /usr/libexec/elf/ld: failed to set dynamic section sizes: Bad value *** Error code 1 You forgot to give any details of your FreeBSD system. Kris ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
tape drive not found (5.2.1)
I dont understand this... Here is what I see: I have an adaptec 29160 controller.. sa0 at ahc0 bus 0 target 3 lun 0 sa0: HP C1533A A907 Removable Sequential Access SCSI-2 device sa0: 10.000MB/s transfers (10.000MHz, offset 32) da0 at ahc0 bus 0 target 0 lun 0 da0: QUANTUM ATLAS10K3_18_WLS 020W Fixed Direct Access SCSI-3 device da0: 40.000MB/s transfers (20.000MHz, offset 127, 16bit), Tagged Queueing Enabled da0: 17537MB (35916548 512 byte sectors: 255H 63S/T 2235C) It 'sees' both the drive and the tape unit... However, doing 'mt status' gives me this: # mt status mt: /dev/nsa0: Device not configured yet the dev looks ok: lrwxr-xr-x 1 root wheel4 Apr 4 20:18 nsa0 - nsa0.0 crw-rw 1 root operator 14, 1 Apr 4 20:18 nsa0.0 crw-rw 1 root operator 14, 5 Apr 4 20:18 nsa0.1 crw-rw 1 root operator 14, 9 Apr 4 20:18 nsa0.2 crw-rw 1 root operator 14, 13 Apr 4 20:18 nsa0.3 What am I missing here? The tape drive works fine on my other *bsd machines...and FreeBSD does see this unit... Help? -- J.D. Bronson Aurora Health Care // Information Services // Milwaukee, WI USA Office: 414.978.8282 // Email: [EMAIL PROTECTED] // Pager: 414.314.8282 ** DISCLAIMER ** Per Anti-Virus Policy, this e-email has been scanned for viruses. Scanned clean by F-PROT ANTIVIRUS 4.4.1 - http://www.f-prot.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tape drive not found (5.2.1)
At 08:30 PM 4/4/2004, J.D. Bronson wrote: I dont understand this... Here is what I see: I have an adaptec 29160 controller.. sa0 at ahc0 bus 0 target 3 lun 0 sa0: HP C1533A A907 Removable Sequential Access SCSI-2 device sa0: 10.000MB/s transfers (10.000MHz, offset 32) da0 at ahc0 bus 0 target 0 lun 0 da0: QUANTUM ATLAS10K3_18_WLS 020W Fixed Direct Access SCSI-3 device da0: 40.000MB/s transfers (20.000MHz, offset 127, 16bit), Tagged Queueing Enabled da0: 17537MB (35916548 512 byte sectors: 255H 63S/T 2235C) It 'sees' both the drive and the tape unit... However, doing 'mt status' gives me this: # mt status mt: /dev/nsa0: Device not configured yet the dev looks ok: lrwxr-xr-x 1 root wheel4 Apr 4 20:18 nsa0 - nsa0.0 crw-rw 1 root operator 14, 1 Apr 4 20:18 nsa0.0 crw-rw 1 root operator 14, 5 Apr 4 20:18 nsa0.1 crw-rw 1 root operator 14, 9 Apr 4 20:18 nsa0.2 crw-rw 1 root operator 14, 13 Apr 4 20:18 nsa0.3 What am I missing here? The tape drive works fine on my other *bsd machines...and FreeBSD does see this unit... Help? Sorry - Someone (not me!) ejected the tape. (oops) ** DISCLAIMER ** Per Anti-Virus Policy, this e-email has been scanned for viruses. Scanned clean by F-PROT ANTIVIRUS 4.4.1 - http://www.f-prot.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Simplest way to block a single IP?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I've got a system that's sending a ton of referral spam to websites on my RELENG_4_9 system. I'd like to block them from accessing my system at the TCP level. What's the best and easiest way to do this? I assume I'll need to recompile the kernel with IPFIREWALL or IPFILTER support, then set up some rules. Does anyone have a recommendation for a simple ruleset to block one particular IP? Thanks, Wade -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (Darwin) iD8DBQFAcMGvo4DwsyRGDscRAvoIAJ4qSJcJ9Xsd4QxR+Z4rjENzGhGY1QCgtIX6 FkU9HaQ3VOhAvY4RAYHvj2c= =ZkOR -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Simplest way to block a single IP?
H.Wade Minter wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I've got a system that's sending a ton of referral spam to websites on my RELENG_4_9 system. I'd like to block them from accessing my system at the TCP level. What's the best and easiest way to do this? I assume I'll need to recompile the kernel with IPFIREWALL or IPFILTER support, then set up some rules. Does anyone have a recommendation for a simple ruleset to block one particular IP? Thanks, Wade I have a better recommendation than that. Since it's just one IP, have a look at /etc/hosts.allow. The syntax and comments there should enlighten you greatly as to what to do Then, sit back and smile enjoy a beverage as tcpwrappers sends this c*** to a virtual oblivion ... Kevin Kinsey DaleCo, S.P. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Simplest way to block a single IP?
On Sunday 04 April 2004 09:17 pm, H.Wade Minter wrote: I've got a system that's sending a ton of referral spam to websites on my RELENG_4_9 system. I'd like to block them from accessing my system at the TCP level. What's the best and easiest way to do this? I assume I'll need to recompile the kernel with IPFIREWALL or IPFILTER support, then set up some rules. Does anyone have a recommendation for a simple ruleset to block one particular IP? Thanks, Wade If that's *really* all you want to do, setup your kernel config to IPFIREWALL_DEFAULT_ACCEPT (or whatever it really is) and simply add a single rule to your firewall script. Add the following to your rc.conf file: firewall_enable=YES firewall_script=/etc/localhost.firewall create a file in /etc/ called localhost.firewall with the following text: ipfw -f flush ipfw add 100 deny all from your_bad_ip_here to me in -- via oif where oif is the device name for your outside ethernet adapter. all of that's on one line, btw. restart the system, and you should be good to go. Make SURE you have console access when playing with firewall rules. Otherwise, you could block your ssh access. HTH -- Eric F Crist AdTech Integrated Systems, Inc (612) 998-3588 pgp0.pgp Description: signature
FreeBSD 4.9 / Supermicro 7043P-8R / Crashes After 2-5 Minutes Of Uptime
Hello I have a brand spanking new Supermicro 7043P-8R server with dual Intel 3.2gHZ Xeon processors and 4GB of Kingston memory. I installed FreeBSD 4.9 on the box and it gives me the following message on the screen about 2-5 minutes after it finished booting: boot() called on CPU#0 I get this message no matter whether I leave the console alone or if I log in and try to work on the machine. I read a thread about a problem very similar to this from November of 2003, but the thread seems to have just died without any resolution. Is this a known issue with Supermicro Motherboards? Does anyone have any suggestions as to a potential patch or other fix? I'm going to start doing the hardware swapping thing in a bit and see if that fixes anything, but I'd really like to hear back from anyone who has any experience with this issue. Thanks a million! Tim Tim Gustafson MEI Technology Consulting, Inc [EMAIL PROTECTED] (516) 379-0001 Office (516) 480-1870 Mobile/Emergencies http://www.meitech.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Simplest way to block a single IP?
One IP can be null routed as a simple quick workaround: route add that.ip.add.ress 127.0.0.1 The syntax of the route command will differ from OS to OS, but basically you set your loopback as the gateway for that host. Not a permanent solution of course. Cheers, J ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
hardware IBM xseries 335
Hello all! Anyone use IBM xseries 335 server? What can you tell concerning compatibility of the following equipment with freebsd: Broadcom 5703; SCSI-LSI53C1020 Ultra320 SCSI controller. (We use Freebsd-4.7) stepan mailto:[EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
HEADS UP: GNOME 2.6 released!
The FreeBSD GNOME Team is delighted to announce the release of the GNOME 2.6 Desktop and Developer suites for FreeBSD. Accompanying this release are the usual meta-port bumps for the GNOME Fifth Toe, Power Tools, Hacker Tools, and Office. For the highlights of what's new in GNOME 2.6, please checkout our upgrade FAQ at: http://www.freebsd.org/gnome/docs/faq26.html This page will give GNOME users a script which they can use to assist with the upgrade. IF YOU ARE A GNOME DESKTOP USER, YOU MUST USE THIS SCRIPT TO UPGRADE. If you'd rather install from packages, go to http://www.marcuscom.com/tinderbox/ where you will find i386 packages for all supported FreeBSD versions. In addition to the GNOME-wide improvements in GNOME 2.6, there have been some FreeBSD-specific additions as well. First, certain types of media (e.g. CD-ROMs, floppies, etc.) are now mountable dynamically for Nautilus. This release also consolidates the KDE menus (if KDE is installed) so there isn't as much clutter under the Applications menu. Finally, we have a spiffy new splash screen created by Franz Klammer. As always, GNOME on FreeBSD would not be possible without the effort of this team (http://www.freebsd.org/gnome/contact.html), its alumni, and our users. We would especially like to thank the following users that helped by testing GNOME 2.5, and providing patches: Jeremy Messenger [EMAIL PROTECTED] Khairil Yusof [EMAIL PROTECTED] Koop Mast [EMAIL PROTECTED] Simon Barner [EMAIL PROTECTED] Tom McLaughlin [EMAIL PROTECTED] Scott Dodson [EMAIL PROTECTED] Vladimir Grebenschikov [EMAIL PROTECTED] Marcus on behalf of the FreeBSD GNOME Team -- Joe Marcus Clarke FreeBSD GNOME Team :: [EMAIL PROTECTED] FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome signature.asc Description: This is a digitally signed message part
dmesg bootup-info removed/overwritten by syslogd ?
Hi, I wanted to see my original bootup messages again. So I typed dmesg, but all I got were 'arplookup' lines. I'm puzzled, where the bootup messages have gone? I have two files in /var/log: dmesg.today and dmesg.yesterday Both files are completely filled with this line: arplookup 147.46.50.254 failed: host is not on local network Nothing else. How can I see the original bootup messages from the kernel? Do I have to reboot for that :( ? Regards, Rob. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Known problem with qt3.3?
The KDE folks nailed it, I had a private copy of gcc 3 compiled on the system (for eCos development) and while those tools were not in the path, ldconfig had /usr/local/gnu3/lib in the path so it was picking up libstdc++.so.5 from that directory rather than libstdc++.so.3 from the /usr/lib directory. (bogus in and of itself, since c++ should not have accepted the later version but that appears to have been the problem, my portupgrade since built qt33 and has moved on to kdelibe3. --Chuck At 05:40 PM 4/4/2004, Chuck McManis wrote: Your right, 4.9 Release. Everything else is pretty generic At 05:10 PM 4/4/2004, Kris Kennaway wrote: On Sun, Apr 04, 2004 at 04:52:50PM -0700, Chuck McManis wrote: My portupgrade is failing to build qt33 with this /usr/libexec/elf/ld: libqt-mt.so.3.3.1: undefined versioned symbol name __dynamic_cast@@CXXABI_1.2 /usr/libexec/elf/ld: failed to set dynamic section sizes: Bad value *** Error code 1 You forgot to give any details of your FreeBSD system. Kris ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make search name/key broken with ports directory moved
On Sun, Apr 04, 2004 at 03:27:14PM -0500, Adam Fabian wrote: Since I moved my ports directory, I *think*, make search name and make search key don't do anything. I stuck my ports directory under /home since /usr was getting a bit tight. I set PORTSDIR=/home/usr/ports in make.conf, which is where my ports tree is. Now, make search name and make search key don't do anything. No error messages, no output whatsoever, exit code of 0. As another poster noted, a symbolic link from /usr/ports to the new location should work fine. I shifted mine into my home directory after running out of space on /usr: mv /usr/ports /home/munk ln -s /home/munk/ports /usr/ports Aside from that though, check out the portsearch utility - it has a lot to offer over 'make search' - it's located here: /usr/ports/Tools/scripts/portsearch ^^ or whereever you've put your ports now :P Good luck. -- Jez Hancock - System Administrator / PHP Developer http://munk.nu/ http://jez.hancock-family.com/ - Another FreeBSD Diary http://ipfwstats.sf.net/- ipfw peruser traffic logging ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dmesg bootup-info removed/overwritten by syslogd ?
On Mon, Apr 05, 2004 at 01:15:29PM +0900, Rob wrote: I wanted to see my original bootup messages again. So I typed dmesg, but all I got were 'arplookup' lines. I'm puzzled, where the bootup messages have gone? Overwritten by kernel debug messages. There have been a number of similar questions for a while, the gist is that when the dmesg buffer gets filled up, it starts to overwrite itself. This affects the daily periodic output and makes it look munged. I don't think any solution has ever been offered up - I'd certainly be interested in it :P I have two files in /var/log: dmesg.today and dmesg.yesterday Both files are completely filled with this line: arplookup 147.46.50.254 failed: host is not on local network How can I see the original bootup messages from the kernel? One way is to cat the output from bootup dmesg into a file at boot time - in /etc/rc.local put this: dmesg /var/log/dmesg.boot if you wanted to get fancy you could use the date(1) command to timestamp the files ala: dmesg /var/log/dmesg.boot.`date +%Y%m%d` Do I have to reboot for that :( ? Yup. Good luck. -- Jez Hancock - System Administrator / PHP Developer http://munk.nu/ http://jez.hancock-family.com/ - Another FreeBSD Diary http://ipfwstats.sf.net/- ipfw peruser traffic logging ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dmesg bootup-info removed/overwritten by syslogd ?
Hello Rob! Rob wrote: How can I see the original bootup messages from the kernel? Do I have to reboot for that :( ? You can, but you can also have a look at /var/run/dmesg.boot Saves some time, and saves downtime :-) Cheers! Regards, Rob. -- Kind regards, Remko Lodder Elvandar.org/DSINet.org www.mostly-harmless.nl A Dutch community for helping newcomers on the hackerscene ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dmesg bootup-info removed/overwritten by syslogd ?
On Mon, Apr 05, 2004 at 07:14:28AM +0200, Remko Lodder wrote: Rob wrote: How can I see the original bootup messages from the kernel? Do I have to reboot for that :( ? You can, but you can also have a look at /var/run/dmesg.boot Saves some time, and saves downtime :-) Mmm getting deja vu here... ignore my method above :P -- Jez Hancock - System Administrator / PHP Developer http://munk.nu/ http://jez.hancock-family.com/ - Another FreeBSD Diary http://ipfwstats.sf.net/- ipfw peruser traffic logging ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]