Re: FTP Automate Shell Script
why not try scp instead of ftp ? Hello. I am using FreeBSD 6.0 and Bash as my shell. I am following a tutorial to create a shell script to copy some files. It works perectly exept for 2 points. Here is the article - http://www.quepublishing.com/articles/printerfriendly.asp?p=170517 Here is the script - #!/bin/sh temp=/tmp/$(basename $0).$$ ; trap /bin/rm -f $temp 0 targetdir=remote-dir remote=laptop.intuitive.com echo taylor $temp echo cd $targetdir $temp for file in * do if [ -f $file ] ; then echo put $file $file $temp else echo skipping $file: not a file. 2 fi done echo quit $temp ftp $remote $temp exit 0 One problem is that the password must be entered manually, I have spent a good part of the day experimenting but can't seem to automate this. Can the password be entered using the script? The other problem is that it copies the actual file. What command would I look at to copy only images (.jpg) for example? Thanks in advance. Ang. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.0: Microsoft Wireless Optical Desktop - mouse not working???
Am Sonntag, 29. Januar 2006 18:57 schrieb FreeBSD Prospect: Using the GENERIC kernel, USB is enabled (ohci ehci on an Asus A7N8X deluxe motherboard), the mouse is found during boot as follows: - cut - # cat /var/run/dmesg.boot | grep ums ums0: Microsoft Microsoft Wireless Optical Desktop\M-. 1.00, rev 2.00/17.17, addr 3, iclass 3/1 ums0: 3 buttons and Z dir. - cut - Some more digging led me to this bug: http://www.freebsd.org/cgi/query-pr.cgi?pr=90162 It is about a similar mouse, but the identification is different (0x0063), and keyboard + mouse show up only as one entry due to the wireless receiver). I applied the first set of patches mentioned in that bugreport, and recompiled the kernel, but it did not work (I assume those patches apply especially for the MS Wireless Optical Mouse, although I changed the necessary identification parts in those patches). The only difference I could observe was, that the mouse LED was flickering when moved (instead of beeing steady before applying the patch). In the meantime I found another idea, to try to use the wireless receiver with a USB-PS/2 mouse adapter, and that approach indeed worked! So using the PS/2 connectors for keyboard + mouse for that MS Wireless Optical Desktop seems to be the solution. Nevertheless there is no doubt, that there is a bug in /usr/src/sys/dev/ums.c, so I will send a message to the freebsd-usb mailinglist (or should I submit a bug-report by myself?). Sincerely, Michael -- A FreeBSD Prospect, who is actually using Gentoo Linux ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: what with privileges
On Mon, Jan 30, 2006 at 12:35:37AM +0300, Playnet wrote: How subscribe to samba mainling list? Maybe go to http://www.samba.org ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pptp server
Please cc mpd-users@lists.sourceforge.net or use the forum at the project page. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: errors in schemas?
On Sat, Jan 28, 2006 at 04:50:34PM +0300, Playnet wrote: Hello freebsd-questions, adding new entry sambaDomainName=sstand.spb.ru,dc=sstand,dc=spb,dc=ru modify complete ldap_add: Naming violation (64) additional info: naming attribute 'sambaDomainName' is not present in entry You need ask Samba/LDAP related questions on Samba lists. Also there is good book Samba3-HOWTO.pdf in /usr/local/share/doc/samba in which you can find many tips on configuring Samba + LDAP. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVS Import Permissions
On 2006-01-30 15:52, david bryce [EMAIL PROTECTED] wrote: Hi All, I am having some confusion regarding the way CVS works with permissions under unix when importing a new project. Currently, when I import a project, I get this sort of permissions on the project directory: drwxr-x--- 2 jim cvs 512 Jan 27 12:31 test_proj Notice that the group (cvs) is not granted write access. Is this the way it's supposed to work? That depends on what your `umask' currently is. Do I have to use chmod to grant write access to the group every time I do an import? No. The correct way to fix this is to set CVSUMASK in your shell environment, and then import the files :) Of course, now that the import is done, you can still use a bit of ``repository hackery'' to set the g+w bit for the checked in sources. Or is my CVS not configured correctly? Your cvs is fine. The default umask is 022, which strips off g+w permissions from all newly created files; including the ones CVS creates in the repository. If I don't grant write access to the group on that directory, every check in fails with a could not open lock file `/usr/local/cvs/test_proj/,test.txt,': Permission denied. I tried setting the LockDir in the config file to a world-writable directory, but this doesn't seem to solve the problem when trying to check-in. The RCS files inside `/usr/local/cvs/test_proj' have no group-write permission. You can fix this by something like this: $ cd $CVSROOT $ find . -print0 | xargs -0 chmod g+w This is the sort of ``repository hackery'' I mentioned above. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Re[2]: what with privileges
On Sun, 2006-01-29 at 21:35, Playnet wrote: Hello Robert, Sunday, January 29, 2006, 11:26:05 PM, you wrote: RS Hmm I think the 1st line says it all. You are not using the correct RS admin user ie one with sufficient privileges. to add the user to ldap. RS This is really a question for the samba mailing list. How subscribe to samba mainling list? Try the samba web site: http://us4.samba.org/samba/ and chose a mirror near you. The link to the mailing lists are under talk samba on the left hand side. You can also search the archives. Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Answering machine / voicemail -- email?
On 1/29/06, Nick Triantos [EMAIL PROTECTED] wrote: Hi all, I'm running a decently fast server with FreeBSD 5.4. I'd like to set up a way that the box can act as a voicemail server, and turn the messages into emails. I see Asterisk as a possible solution, but it seems awfully heavyweight for what I want. Are there any lighter-weight ways to achieve this? If Asterisk is the way to go, what's the cheapest modem card I can buy (for a PCI Express-based Dell SC 420) that can answer the phone, and let the machine receive these calls? It's for use in my home, so it's only 1 analog phone line running into the house right now. You want the Sipura SPA-3000 ($100) http://www.voipsupply.com/product_info.php?products_id=203 With this device and Asterisk you can convert your whole house to VoIP, without needing SIP phones or analog adapters for each device. Phone line coming into the house -- SPA-3000 (FXO port) -- SPA-3000 (Ethernet port) -- Asterisk Server -- SPA-3000 (Ethernet port) -- SPA-3000 (FXS Port) -- Phones. Download (513MB) and watch this video, everything will then make sense: http://downloads.revision3.com/torrents/systm/0005/systm--0005--asterisk--large.xvid.avi.torrent Go here too: http://revision3.com/systm/asterisk/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ctrl+Alt+number terminal switching stopped working
On Monday 30 January 2006 13:16, Parv wrote: in message [EMAIL PROTECTED], wrote Ian Moore thusly... I've just noticed I can't switch from my X session back to the other vtty screens using Ctrl+Alt+1, Ctrl+Alt+2 etc. I can't seem to find any info on this - is it a known issue or is it just my system? I can't say if XkbDisable would help in your case ... Section ServerFlags Option DontZapfalse Option AllowMouseOpenFail true # XFree86 4.[34].x - Add DontVTSwitch to be false (for console # switching). Option DontVTSwitch false Option HandleSpecialKeys Always # Xorg 6.8.(2|99.903) - Add XkbDisable to be true (for console # switching). Option XkbDisable true EndSection ... but try it. - Parv I've never had to specify any of those before - they always defaulted to those values, but I guess the default has changed in 6.9 - VT Switching works again now. Cheers, Ian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Which linux_base port to use?
Hi, I'd like to try a linux binary application (Arkeia backup server) under FreeBSD R6, so naturally this means linux compatibility, but I'm a little confused - until today I presumed that only one 'linux_base' port existed. A brief inspection of the Makefile for linux_base shows it to be Redhat 7.3 level, but as 8 and 9 are available I don't know if I should choose one of these later releases or another flavor entirely. I'm able to obtain the software package for quite a few different linux distributions and releases, and I don't need X11, so I guess I can narrow it down a little that way as some linux_base* are more minimal than others, but I'd like to pick the one that is most regularly maintained and least likely to cause me issues down the track. Any suggestions? thanks, -- Joel Hatton -- Security Analyst| Hotline: +61 7 3365 4417 AusCERT - Australia's national CERT | Fax: +61 7 3365 7031 The University of Queensland| WWW: www.auscert.org.au Qld 4072 Australia | Email: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Freebsd + samba + ssh+cvs
David Richards wrote: Please can u cc me as I am not on the list Good morning... Gmane.org offers a number of alternatives if you do not like reading the posts as mail messages or digests (personally I like the news/nntp interface). Check-out http://dir.gmane.org/gmane.os.freebsd.questions or just http://dir.gmane.org/index.php?prefix=gmane.os.freebsd for a complete list of FreeBSD lists. -- Headed for the second star to the right and straight on 'til morning... Eric Schultz (aka Storkman) Photos: http://community.webshots.com/user/schultznet Homepage: http://www.schultznet.ca Blog: http://schultznet.blogspot.com/ Using Mozilla's revolutionary e-mail client: http://www.mozilla.org/products/thunderbird/ Using SquirrelMail's revolutionary e-mail client: http://www.squirrelmail.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RAM check - Followup question
There doesn't appear to be any bulging caps. In fact, I tested the DIMMs on a different PC and memtest confirmed their faultiness. Garrett Cooper wrote: On Fri, 27 Jan 2006, Philip Juels wrote: Curious...the system is a Dell Optiplex GX270...RAM system is PC3200 2x512MB DIMMs in a the dual-channel arrangment. If I run memtest against this setup, I get numerous errors. However, if run memtest with only one DIMM installed (either one), I get no reported errors. Would this still be an issue with the DIMMs or something wrong with the mobo? PJ PS...pardon me for asking a hardware question on a FreeBSD list :-) Philip Juels wrote: Thanks...I downloaded the iso and memtest confirmed that the system has memory problems. PJ Noel Jones wrote: On 1/26/06, Philip Juels [EMAIL PROTECTED] wrote: I'm running into random seg faults during KDE and Gnome compilation, and I and others on the list suspect faulty RAM. Are there any utils out there that can test/diagnose RAM (aside from the laughable BIOS POST). http://www.memtest86.com/ http://www.memtest.org/ -- Noel Jones I'm not sure if my last reply made it onto the list, but consider checking the motherboard to see if any capacitors are bulging (ie tops aren't flat, see this article: http://forums.us.dell.com/supportforums/board/message?board.id=oplex_othermessage.id=16841), or see if putting the RAM into a different slot doesn't cure the issue. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SCSI negotiation problems, please help!
I have a tape drive that seems to have lost its ability to negotiate optimal settings. FreeBSD 5.4-Stable (compiled 13 Sep 2005) Dell PowerEdge 1750 # uname -a FreeBSD hr-stc-file2.smartrafficenter.net 5.4-STABLE FreeBSD 5.4-STABLE #0: Tue Sep 13 22:44:46 EDT 2005 root@:/usr/obj/usr/src/sys/HR-STC-FILE2 i386 (from /var/run/dmesg.boot) ch0 at ahc0 bus 0 target 0 lun 0 ch0: EXABYTE VXA 1x10 1U A10A Removable Changer SCSI-4 device ch0: 80.000MB/s transfers (40.000MHz, offset 32, 16bit) ch0: 10 slots, 1 drive, 1 picker, 0 portals ... sa0 at ahc0 bus 0 target 1 lun 0 sa0: EXABYTE VXA-2 2109 Removable Sequential Access SCSI-2 device sa0: 80.000MB/s transfers (40.000MHz, offset 32, 16bit) # camcontrol negotiate ch0 Current Parameters: (pass1:ahc0:0:0:0): sync parameter: 0 (pass1:ahc0:0:0:0): offset: 0 (pass1:ahc0:0:0:0): bus width: 8 bits (pass1:ahc0:0:0:0): disconnection is enabled (pass1:ahc0:0:0:0): tagged queueing is disabled # camcontrol negotiate sa0 Current Parameters: (pass2:ahc0:0:1:0): sync parameter: 0 (pass2:ahc0:0:1:0): offset: 0 (pass2:ahc0:0:1:0): bus width: 8 bits (pass2:ahc0:0:1:0): disconnection is enabled (pass2:ahc0:0:1:0): tagged queueing is disabled No matter what I do with camcontrol, I can't get it to change these parameters--only the user parameters (-U): # camcontrol negotiate ch0 -a -c -D enable -O 32 -R 40.000 -T disable -W 16 Current Parameters: (pass1:ahc0:0:0:0): sync parameter: 0 (pass1:ahc0:0:0:0): offset: 0 (pass1:ahc0:0:0:0): bus width: 8 bits (pass1:ahc0:0:0:0): disconnection is enabled (pass1:ahc0:0:0:0): tagged queueing is disabled New Parameters: (pass1:ahc0:0:0:0): sync parameter: 0 (pass1:ahc0:0:0:0): offset: 0 (pass1:ahc0:0:0:0): bus width: 8 bits (pass1:ahc0:0:0:0): disconnection is enabled (pass1:ahc0:0:0:0): tagged queueing is disabled # camcontrol negotiate sa0 -a -c -D enable -O 32 -R 40.000 -T disable -W 16 Current Parameters: (pass2:ahc0:0:1:0): sync parameter: 0 (pass2:ahc0:0:1:0): offset: 0 (pass2:ahc0:0:1:0): bus width: 8 bits (pass2:ahc0:0:1:0): disconnection is enabled (pass2:ahc0:0:1:0): tagged queueing is disabled New Parameters: (pass2:ahc0:0:1:0): sync parameter: 0 (pass2:ahc0:0:1:0): offset: 0 (pass2:ahc0:0:1:0): bus width: 8 bits (pass2:ahc0:0:1:0): disconnection is enabled (pass2:ahc0:0:1:0): tagged queueing is disabled # camcontrol negotiate sa0 -U Current Parameters: (pass2:ahc0:0:1:0): sync parameter: 10 (pass2:ahc0:0:1:0): frequency: 40.000MHz (pass2:ahc0:0:1:0): offset: 32 (pass2:ahc0:0:1:0): bus width: 16 bits (pass2:ahc0:0:1:0): disconnection is enabled (pass2:ahc0:0:1:0): tagged queueing is disabled I've tried everything I can except a reboot, but that can't happen right now as this is on a production server. I've tried rescanning the bus; I've tried resetting the bus; I've tried powering the library/drive off, rescanning the bus to remove the devices, powering the library/drive back on, and rescanning again to find the devices again; and no matter what I do, I keep getting these 3.3 MB/s transfer rates, 8-bit bus widths, and very degraded tape performance. Short of a reboot, how do I restore the initial negotiation settings from when the server was initially powered up? And because I feel like the question is going to be asked... I think this happened when a coworker cycled power on the tape library. Is there any way to reinitialize the SCSI card and renegotiate with the attached devices? dmesg.boot and kernel config attached. Thanks! Kevin dmesg.boot Description: Binary data HR-STC-FILE2 Description: Binary data ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Unable to Startx Following Upgrade--Error in Locking Authority File
Bob Perry [EMAIL PROTECTED] writes: Hi everyone, I'm running FreeBSD 5.4-RELEASE #0 and just completed weekly upgrade. Now when I run startx, I can not connect to the graphical display window. I simply see the gray screen with the small x in the middle. I went back to the command line to review the text immediately following the startx command and the first line reads: xauth: creating new authority file /home/rperry/.serverauth.8414; then, repeated four (4) times is the following: /usr/X11R6/bin/xauth: error in locking authority file /home/rperry/.Xauthority (skip) error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy AUDIT: Sat Jan 28...8433 X: client 1 rejected from local host Xlib: connection to :0.0 refused by server Xlib: No protocol specified I have no problem running startx as root. cd /home/rperry ls -l .Xauthority -rw---1 root rperry 112 Jan 28 22:13 .Xauthority FWIW, also had trouble running portupgrade due to repeated timeouts and/or loss of connections. Is there a location that lists the error messages like the one I encountered? Tried Google and the mailing list archives but wasn't able to resolve the issue. Any assistance would be appreciated. Sounds like you have a stale authority file. Try just deleting it before the next time you start up... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
apache+ httpd
Hi. Help to adjust please apache-1.3.33 or apache-2 and a file httpd.conf. I change some parameters in this file but I can not start apache. Look please, that I do not so. What it is necessary to make changes in files srm.conf аnd access.conf ? # apachectl start # /usr/local/sbin/apachectl:httpd could not be started. --httpd.conf- ## httpd.conf -- Apache HTTP server configuration file ## # # Based upon the NCSA server configuration files originally by Rob McCool. # # This is the main Apache server configuration file. It contains the # configuration directives that give the server its instructions. # See URL:http://httpd.apache.org/docs/ for detailed information about # the directives. # # Do NOT simply read the instructions in here without understanding # what they do. They're here only as hints or reminders. If you are unsure # consult the online docs. You have been warned. # # After this file is processed, the server will look for and process # /usr/local/etc/apache/srm.conf and then /usr/local/etc/apache/access.conf # unless you have overridden these with ResourceConfig and/or # AccessConfig directives here. # # The configuration directives are grouped into three basic sections: # 1. Directives that control the operation of the Apache server process as a # whole (the 'global environment'). # 2. Directives that define the parameters of the 'main' or 'default' server, # which responds to requests that aren't handled by a virtual host. # These directives also provide default values for the settings # of all virtual hosts. # 3. Settings for virtual hosts, which allow Web requests to be sent to # different IP addresses or hostnames and have them handled by the # same Apache server process. # # Configuration and logfile names: If the filenames you specify for many # of the server's control files begin with / (or drive:/ for Win32), the # server will use that explicit path. If the filenames do *not* begin # with /, the value of ServerRoot is prepended -- so logs/foo.log # with ServerRoot set to /usr/local/apache will be interpreted by the # server as /usr/local/apache/logs/foo.log. # ### Section 1: Global Environment # # The directives in this section affect the overall operation of Apache, # such as the number of concurrent requests it can handle or where it # can find its configuration files. # # # ServerType is either inetd, or standalone. Inetd mode is only supported on # Unix platforms. # ServerType standalone # # ServerRoot: The top of the directory tree under which the server's # configuration, error, and log files are kept. # # NOTE! If you intend to place this on an NFS (or otherwise network) # mounted filesystem then please read the LockFile documentation # (available at URL:http://www.apache.org/docs/mod/core.html#lockfile); # you will save yourself a lot of trouble. # ServerRoot /usr/local # # The LockFile directive sets the path to the lockfile used when Apache # is compiled with either USE_FCNTL_SERIALIZED_ACCEPT or # USE_FLOCK_SERIALIZED_ACCEPT. This directive should normally be left at # its default value. The main reason for changing it is if the logs # directory is NFS mounted, since the lockfile MUST BE STORED ON A LOCAL # DISK. The PID of the main server process is automatically appended to # the filename. # #LockFile /var/run/httpd.lock # # PidFile: The file in which the server should record its process # identification number when it starts. # PidFile /var/run/httpd.pid # # ScoreBoardFile: File used to store internal server process information. # Not all architectures require this. But if yours does (you'll know because # this file will be created when you run Apache) then you *must* ensure that # no two invocations of Apache share the same scoreboard file. # ScoreBoardFile /var/run/httpd.scoreboard # # In the standard configuration, the server will process httpd.conf (this # file, specified by the -f command line option), srm.conf, and access.conf # in that order. The latter two files are now distributed empty, as it is # recommended that all directives be kept in a single file for simplicity. # The commented-out values below are the built-in defaults. You can have the # server ignore these files altogether by using /dev/null (for Unix) or # nul (for Win32) for the arguments to the directives. # ResourceConfig /dev/null AccessConfig /dev/null # # Timeout: The number of seconds before receives and sends time out. # Timeout 300 # # KeepAlive: Whether or not to allow persistent connections (more than # one request per connection). Set to Off to deactivate. # KeepAlive On # # MaxKeepAliveRequests: The maximum number of requests to allow # during a persistent connection. Set to 0 to allow an unlimited amount. # We recommend you leave this number high, for maximum performance. # MaxKeepAliveRequests 100 # # KeepAliveTimeout: Number of seconds to wait for
Re: apache+ httpd
serge wrote: Hi. Help to adjust please apache-1.3.33 or apache-2 and a file httpd.conf. I change some parameters in this file but I can not start apache. Look please, that I do not so. What it is necessary to make changes in files srm.conf ?nd access.conf ? # apachectl start # /usr/local/sbin/apachectl:httpd could not be started. Have a look in /var/log/httpd-error.log Frank ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVS Import Permissions
Giorgos Keramidas wrote: On 2006-01-30 15:52, david bryce [EMAIL PROTECTED] wrote: Hi All, I am having some confusion regarding the way CVS works with permissions under unix when importing a new project. Currently, when I import a project, I get this sort of permissions on the project directory: drwxr-x--- 2 jim cvs 512 Jan 27 12:31 test_proj Notice that the group (cvs) is not granted write access. Is this the way it's supposed to work? That depends on what your `umask' currently is. Do I have to use chmod to grant write access to the group every time I do an import? No. The correct way to fix this is to set CVSUMASK in your shell environment, and then import the files :) Of course, now that the import is done, you can still use a bit of ``repository hackery'' to set the g+w bit for the checked in sources. Or is my CVS not configured correctly? Your cvs is fine. The default umask is 022, which strips off g+w permissions from all newly created files; including the ones CVS creates in the repository. If I don't grant write access to the group on that directory, every check in fails with a could not open lock file `/usr/local/cvs/test_proj/,test.txt,': Permission denied. I tried setting the LockDir in the config file to a world-writable directory, but this doesn't seem to solve the problem when trying to check-in. The RCS files inside `/usr/local/cvs/test_proj' have no group-write permission. You can fix this by something like this: $ cd $CVSROOT $ find . -print0 | xargs -0 chmod g+w This is the sort of ``repository hackery'' I mentioned above. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Hi everyone, I'm new to taking into consideration the wider security issues of system administration. I apologize for this long post but maybe the answer can save me and others from future pain. What I'm not sure I understand is why would we not want to grant write access to the cvs group? According to the instructions I've read that is CVS's basic requirement, i.e. having write access to the repository. When I set up a repository without this write access the import failed for me as well. One assumption I am making is that it is better to have one group with write permission than explicit write permission given to many different users. So here is how I set up my repository, starting as root #cd /usr/local #mkdir cvsrep #chgrp cvs cvsrep #chmod g+w cvsrep #cvs -d /usr/local/cvsrep init #ll drwxrwxr_x 2 root cvs 512Jan 30 10:25 cvsrep #ll cvsrep drwxrwxr-x 3 root cvs 1024 Jan 30 10:26 CVSROOT duane$ cvs -d /usr/local/cvsrep import -m blah blah blah testproj duane start duane$ ll /usr/local/cvsrep drwxrwxr-x 3 root cvs 1024 Jan 30 10:26 CVSROOT drwxrwxr-x 5duane cvs 512 Jan 30 10:32 testproj john$cvs -d /usr/local/cvsrep co testproj {typical checkout stuff: alls good} john$ll -rw-rw-r-- 1 john john 62 Jan 30 10:40 proj.c john: /usr/home/john/testproj$ cvs -d /usr/local/cvsrep update {typical update stuff, no conflicts, all's good} john$ ll /usr/local/cvsrep drwxrwxr_x 5 duane cvs 512 Jan 30 10:26 testproj john$ ll /usr/local/cvsrep/testproj ... ... . . . -r--r--r-- 1 duane cvs 482 Jan 30 10:55 proj.c,v Now I don't want to make any assumptions about whether this infrastructure is safe or not. That's why I'm asking the question. Everything seems to work but am I leaving myself open to any known security problems? Sorry for the length of this long post. If I should have posted this differently please let me know. Sincere Thanks --Duane Whitty [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Unable to Startx Following Upgrade--Error in Locking Authority File
Lowell Gilbert wrote: Bob Perry [EMAIL PROTECTED] writes: Hi everyone, I'm running FreeBSD 5.4-RELEASE #0 and just completed weekly upgrade. Now when I run startx, I can not connect to the graphical display window. I simply see the gray screen with the small x in the middle. I went back to the command line to review the text immediately following the startx command and the first line reads: xauth: creating new authority file /home/rperry/.serverauth.8414; then, repeated four (4) times is the following: /usr/X11R6/bin/xauth: error in locking authority file /home/rperry/.Xauthority (skip) error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy AUDIT: Sat Jan 28...8433 X: client 1 rejected from local host Xlib: connection to :0.0 refused by server Xlib: No protocol specified I have no problem running startx as root. cd /home/rperry ls -l .Xauthority -rw---1 root rperry 112 Jan 28 22:13 .Xauthority FWIW, also had trouble running portupgrade due to repeated timeouts and/or loss of connections. Is there a location that lists the error messages like the one I encountered? Tried Google and the mailing list archives but wasn't able to resolve the issue. Any assistance would be appreciated. Sounds like you have a stale authority file. Try just deleting it before the next time you start up... Bingo! It works...but what is a stale authority file and how do you avoid them? Thnx, Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Activity?
During my subscription period on this list, I've recieved seven emails. Is this the correct activity level or have I misconfigured something? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Proper mail headers
Hi everyone, I wanted to check to see if I am using the proper etiquette when filling in my headers, especially when responding to someone's post. Should I just let let my reply go to the person named in Reply-To or should I reply to the list and CC the poster, or is it the other way around? Thanks, --Duane Whitty duane @greenmeadow.ca ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Activity?
On Mon, 2006-01-30 at 17:12, Daniel A. wrote: During my subscription period on this list, I've recieved seven emails. Is this the correct activity level or have I misconfigured something? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Daniel, Not sure what [EMAIL PROTECTED] is nor how long the period you refer to is, but the mailing list freebsd-questions above has between 1000 to 200 messages a day. Hope this helps. Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Proper mail headers
On Monday 30 January 2006 08:13, Duane Whitty wrote: Hi everyone, I wanted to check to see if I am using the proper etiquette when filling in my headers, especially when responding to someone's post. Should I just let let my reply go to the person named in Reply-To or should I reply to the list and CC the poster, or is it the other way around? Unless your response is personal or not related to the thread you should always reply to the list as well as the poster. That way others who have interest in the issue can benefit from the post. And please, never top post, it makes it difficult to follow the conversation. Beech -- --- Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED] /\ ASCII Ribbon Campaign | Alaska Paradise Travel \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://www.alaskaparadise.com --- pgpVwLKM475iL.pgp Description: PGP signature
Re: Proper mail headers
On Mon, 2006-01-30 at 17:13, Duane Whitty wrote: Hi everyone, I wanted to check to see if I am using the proper etiquette when filling in my headers, especially when responding to someone's post. Should I just let let my reply go to the person named in Reply-To or should I reply to the list and CC the poster, or is it the other way around? Thanks, --Duane Whitty duane @greenmeadow.ca ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Duane, I don't think that there is a right way to do it. I normally just hit reply to all which normally does to: the original poster and cc's the list. In this case it didn't as you have reply to: set as the mailing list. Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Activity?
On Monday 30 January 2006 08:12, Daniel A. wrote: During my subscription period on this list, I've recieved seven emails. Is this the correct activity level or have I misconfigured something? You seem to have something misconfigured. This list frequently exceeds 100 posts a day. Beech -- --- Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED] /\ ASCII Ribbon Campaign | Alaska Paradise Travel \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://www.alaskaparadise.com --- pgpUZSzz0Sl3R.pgp Description: PGP signature
Re: A strategic question
Xn Nooby wrote: If you want the freedom that FreeBSD offers, you have to make the journey to where it is at. IMHO, this sentence should be on the front page of http://www.freebsd.org/, right next to The Power To Serve :) -- ... (A)bort, (R)etry, (I)nfluence with large hammer? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Activity?
On Mon, 2006-01-30 at 17:29, Robert Slade wrote: On Mon, 2006-01-30 at 17:12, Daniel A. wrote: During my subscription period on this list, I've recieved seven emails. Is this the correct activity level or have I misconfigured something? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Daniel, Not sure what [EMAIL PROTECTED] is nor how long the period you refer to is, but the mailing list freebsd-questions above has between 1000 to 200 messages a day. Hope this helps. Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] opps that should have been 100 to 200 Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: did something change in SMP scheduling from 5.4 to 6.0?
Tnx for the response. On Fri, 27 Jan 2006, Lowell Gilbert spaketh thusly: -} -}What was the actual workload at that point? It looks like there's Not much actually. ~.3 or .4. -}only one runnable process, and it's running, so there is no reason to -}care which processor it's on. Yeah that's what I was thinking as well but I have been pushing it a fair bit and still see everything on the first proc. Here is 1 example: last pid: 82302; load averages: 2.20, 0.82, 0.41 up 6+23:37:10 11:24:50 127 processes: 6 running, 121 sleeping CPU states: 16.1% user, 0.0% nice, 2.1% system, 0.0% interrupt, 81.9% idle Mem: 295M Active, 1050M Inact, 294M Wired, 72K Cache, 112M Buf, 364M Free Swap: 4096M Total, 4096M Free PID USERNAME THR PRI NICE SIZERES STATE C TIME WCPU COMMAND 655 schultz 1 760 30024K 29276K RUN0 50:32 2.25% Xorg 82301 root1 1390 10784K 10200K RUN0 0:00 2.25% cc1 12185 schultz 1 760 76532K 75704K select 0 22:37 0.00% opera 14583 schultz 1 760 5512K 4548K select 0 5:49 0.00% xterm-static 3013 schultz 8 200 91760K 77840K kserel 0 4:57 0.00% evolution-2.2 10846 schultz 1 760 5452K 4460K select 0 3:24 0.00% xterm-static 41670 schultz 1 760 10236K 8572K select 0 2:23 0.00% pine 667 schultz 1 760 20844K 10208K select 0 1:20 0.00% xchat Now when running the compile it seemed to make no difference whether or not I was running 1 or 3 compiles, the system still hugged cpu0. I did see occasional hops to the second cpu but they were rare. -} -}I'm not sure there's an issue here. Spreading the work among two Me either but I thought I'ld ask those who know more. -}processors might make slightly better use of cache space, but would -}make power-saving modes less useful. Now if you run two completely -}independent CPU-intensive processes, you'll see both CPUs in use. Well, I have and have seen them running all on cpu0 and have seen some spread out. What I cannot be sure of is when multiple compiles are running on the same cpu what exactly each was doing. For example I've kicked off several portupgrades and they all run mostly on cpu0 however with a portupgrade there is so much more going. shrug If I can get more data I'll post back here. Tnx again for the help. -- Randy([EMAIL PROTECTED]) 715-726-2832 email bodhisattva * There is no fire like passion, there is no shark like hatred, there is no snare like folly, there is no torrent like greed. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
GENERIC freebsd 5.4
Hi. I have compiled a kernel but it is not loaded. In a manual it is written that after installation is formed two catalogues /boot/kernel and /boot/kernel.old. But it has not taken place. My actions: # cd /usr/src/sys/i386/conf # mkdir /root/kernels/MYKERNEL # cp GENERIC /root/kernels/MYKERNEL # ln -s /root/kernels/MYKERNEL # cd /usr/src # make buildkernel KERNCONF=MYKERNEL # make installkernel KERNCONF=MYKERNEL *** Error code 2 Best regards serge ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
What functionality is provided by minimal install
Good afternoon... I did a minimal install from a 4.7 mini disc (yes 4.7, but this question could be quite generic) and I was wondering what I got. I know from the sysintall help that a Minimal install is just the base system. But what _functionality_ is provided by a *base system*??? I did an ls -lR from the root of my machine after the installation to see what files I got. I also added the man pages distribution, did another ls -lR, then added the ports collection and did a third ls -lR (this one was over 4 MBs, time to see if gzip is included with Minimal!!!). So I can lookup what files I got each time; and I figure I can /man/ every file /bin, /sbin, /whatever/bin but I was hoping that might already be documented somewhere. So far Googling and searching gmane.org have not shown-up anything like what I'm looking for (The Handbook's section 2.6 does not provide any detail either). Can anyone point me to a source? Or let me know what I should do with that info if I end-up compiling it myself? Thanks. -- Headed for the second star to the right and straight on 'til morning... Eric Schultz (aka Storkman) Photos: http://community.webshots.com/user/schultznet Homepage: http://www.schultznet.ca Blog: http://schultznet.blogspot.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
apache2
Hi. Frank Bonnet wrote: serge wrote: Hi. Help to adjust please apache-1.3.33 or apache-2 and a file httpd.conf. I change some parameters in this file but I can not start apache. Look please, that I do not so. What it is necessary to make changes in files srm.conf аnd access.conf ? # apachectl start # /usr/local/sbin/apachectl:httpd could not be started. check in /etc/rc.conf if apache_enable is set to YES Now to me it is clear. But when it is started apache2, I set a command to a browser (Konqueror) http://localhost/ that there is a following: *** An error occured while loading http://loaclhost/ Could not connect to host localhost Please prompt something. __ -- Best regards, serge mailto:[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Screen Capture
I can't seem to figure out how to make a screen capture. Is there an ability hidden in X11 or do I need to install a port? I'm running 6.0 and also fluxbox as my window manager. -- What time is it? Dodgeball Time! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: apache2
On Mon, 2006-01-30 at 20:46, serge wrote: Hi. Frank Bonnet wrote: serge wrote: Hi. Help to adjust please apache-1.3.33 or apache-2 and a file httpd.conf. I change some parameters in this file but I can not start apache. Look please, that I do not so. What it is necessary to make changes in files srm.conf аnd access.conf ? # apachectl start # /usr/local/sbin/apachectl:httpd could not be started. check in /etc/rc.conf if apache_enable is set to YES Now to me it is clear. But when it is started apache2, I set a command to a browser (Konqueror) http://localhost/ that there is a following: *** An error occured while loading http://loaclhost/ Could not connect to host localhost Please prompt something. Serge, Are you sure that httpd is running, does the error log say anything? Try connecting by using the ip rather than the name ie 127.0.0.1. Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
troubleshooting help
Hi: I am trying to figure out why my mpd server won't respond and I using tcpdump to do so. Could any gurus here help me on this results: listening on el0, link-type EN10MB (Ethernet), capture size 96 bytes 18:37:48.931521 arp who-has customer-254-254-254-3.home.com tell customer-254-254-254-3.home.com 18:37:49.724410 arp who-has customer-254-254-254-3.home.com tell customer-254-254-254-3.home.com 18:37:50.725799 arp who-has customer-254-254-254-3.home.com tell customer-254-254-254-3.home.com 18:37:51.530177 arp who-has customer-200-38-156-193.home.com tell customer-254-254-254-3.home.com 18:37:51.745421 IP customer-254-254-254-3.home.com.netbios-ns customer-254-254-254-255.home.com.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST 18:37:51.816378 IP customer-254-254-254-3.home.com.netbios-ns customer-254-254-254-255.home.com.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST 18:37:52.488590 IP customer-254-254-254-3.home.com.netbios-ns customer-254-254-254-255.home.com.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST 18:37:52.496334 IP customer-254-254-254-3.home.com.netbios-ns customer-254-254-254-255.home.com.netbios-ns: NBT UDP PACKET(137): QUERY; REQUEST; BROADCAST 18:37:52.558421 IP customer-254-254-254-3.home.com.netbios-ns customer-254-254-254-255.home.com.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST 18:37:53.239378 IP customer-254-254-254-3.home.com.netbios-ns customer-254-254-254-255.home.com.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST 18:37:53.239753 IP customer-254-254-254-3.home.com.netbios-ns customer-254-254-254-255.home.com.netbios-ns: NBT UDP PACKET(137): QUERY; REQUEST; BROADCAST 18:37:53.309210 IP customer-254-254-254-3.home.com.netbios-ns customer-254-254-254-255.home.com.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST 18:37:53.990420 IP customer-254-254-254-3.home.com.netbios-ns customer-254-254-254-255.home.com.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST 18:37:53.990792 IP customer-254-254-254-3.home.com.netbios-ns customer-254-254-254-255.home.com.netbios-ns: NBT UDP PACKET(137): QUERY; REQUEST; BROADCAST 18:37:54.060500 IP customer-254-254-254-3.home.com.netbios-ns customer-254-254-254-255.home.com.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST 18:37:54.754574 IP customer-254-254-254-3.home.com.netbios-ns customer-254-254-254-255.home.com.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST 18:37:54.835026 IP customer-254-254-254-3.home.com.netbios-ns customer-254-254-254-255.home.com.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST 18:37:55.502490 IP customer-254-254-254-3.home.com.netbios-ns customer-254-254-254-255.home.com.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST 18:37:55.582316 IP customer-254-254-254-3.home.com.netbios-ns customer-254-254-254-255.home.com.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST 18:37:55.673011 IP customer-254-254-254-3.home.com.netbios-ns customer-254-254-254-255.home.com.netbios-ns: NBT UDP PACKET(137): QUERY; REQUEST; BROADCAST 18:37:56.253906 IP customer-254-254-254-3.home.com.netbios-ns customer-254-254-254-255.home.com.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST 18:37:56.333480 IP customer-254-254-254-3.home.com.netbios-ns customer-254-254-254-255.home.com.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST 18:37:56.423550 IP customer-254-254-254-3.home.com.netbios-ns customer-254-254-254-255.home.com.netbios-ns: NBT UDP PACKET(137): QUERY; REQUEST; BROADCAST 18:37:57.00 IP customer-254-254-254-3.home.com.netbios-ns customer-254-254-254-255.home.com.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST 18:37:57.084395 IP customer-254-254-254-3.home.com.netbios-ns customer-254-254-254-255.home.com.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST 18:37:57.174589 IP customer-254-254-254-3.home.com.netbios-ns customer-254-254-254-255.home.com.netbios-ns: NBT UDP PACKET(137): QUERY; REQUEST; BROADCAST 18:37:57.757483 IP customer-254-254-254-3.home.com.netbios-ns customer-254-254-254-255.home.com.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST 18:37:57.759980 IP customer-254-254-254-3.home.com.netbios-ns customer-254-254-254-255.home.com.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST 18:37:58.506524 IP customer-254-254-254-3.home.com.netbios-ns customer-254-254-254-255.home.com.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST 18:37:58.506772 IP customer-254-254-254-3.home.com.netbios-ns customer-254-254-254-255.home.com.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST 18:37:59.257312 IP customer-254-254-254-3.home.com.netbios-ns customer-254-254-254-255.home.com.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST 18:37:59.257687 IP
Re: Activity?
Oops, sorry. This was directed at freebsd-chat. Nothing to see here, please move along. On 1/30/06, Daniel A. [EMAIL PROTECTED] wrote: During my subscription period on this list, I've recieved seven emails. Is this the correct activity level or have I misconfigured something? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What functionality is provided by minimal install
On 2006-01-30 13:42, Eric Schultz [EMAIL PROTECTED] wrote: Good afternoon... I did a minimal install from a 4.7 mini disc (yes 4.7, but this question could be quite generic) and I was wondering what I got. I know from the sysintall help that a Minimal install is just the base system. But what _functionality_ is provided by a *base system*??? A short `overview' of a sort can be seen with: # man 5 rc.conf For every daemon, service, or option that you see in that manpage, there is also a feature of the base system. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Screen Capture
On Mon, 30 Jan 2006 10:51:00 -0800 ross [EMAIL PROTECTED] wrote: I can't seem to figure out how to make a screen capture. Is there an ability hidden in X11 or do I need to install a port? I'm running 6.0 and also fluxbox as my window manager. I do frequent screenshots and use ImageMagick and xbindkeys for this. With ImageMagick comes the 'import' command, you can just bind something like 'import /tmp/screenshot.png' to a keystroke of you liking. See man (1) import for details. -- This mail is digitally signed with GnuPG! Check out http://www.gnupg.org to learn more. My public key: http://www.buebo.de/pub_key.asc Fingerprint: B615 F83E D46F 8C56 AE8E AC25 8772 8994 FFB4 FCFB pgppqHLXXIXwD.pgp Description: PGP signature
Re: Screen Capture
On Mon, 2006-01-30 at 10:51 -0800, ross wrote: I can't seem to figure out how to make a screen capture. Is there an ability hidden in X11 or do I need to install a port? I'm running 6.0 and also fluxbox as my window manager. Try this: /usr/ports/graphics/scrot Andreas -- GnuPG key : 0x2A573565 | http://cyb.websimplex.de/pubkey.asc Fingerprint: 925D 2089 0BF9 8DE5 9166 33BB F0FD CD37 2A57 3565 signature.asc Description: This is a digitally signed message part
Re: apache2
Now to me it is clear. But when it is started apache2, I set a command to a browser (Konqueror) http://localhost/ that there is a following: *** An error occured while loading http://loaclhost/ Could not connect to host localhost Please prompt something. 1. Is there a localhost line in /etc/hosts? 2. Try http://127.0.0.1 3. What does /var/log/httpd-error.log say? 4. What does apachectl configtest say? ~Dan -- FreeBSD Cheat Sheets http://www.mostgraveconcern.com/freebsd/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pptp server
I configured pptp server on 5.4 and it seems to be working (kinda): snip What did I do wrong? The firewall rule is to allow from any to any. Any help would be greatly appreciated. By the way, I am using mpd4. tried mpd3.18 and the same problem. Here's how I set mine up: http://www.mostgraveconcern.com/freebsd/sheet.cgi?vpn Perhaps it will help... ~Dan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Source upgrade in FreeBSD 5.4
When performing an upgrade after doing a minimal install of FreeBSD 5.4, I would like to upgrade the source using the stable-supfile. In the supfile I have the option to do a src-all update or to specify from the following: What are the minimum options that I need to select in order to do an upgrade of only userland and kernel sources? Also when performing a make installworld can you specify any options for installworld using any switches? #src-base #src-bin #src-contrib #src-etc #src-games #src-gnu #src-include #src-kerberos5 #src-kerberosIV #src-lib #src-libexec #src-release #src-sbin #src-share #src-sys #src-tools #src-usrbin #src-usrsbin # These are the individual collections that make up FreeBSD's crypto # collection. They are no longer export-restricted and are a part of # src-all #src-crypto #src-eBones #src-secure #src-sys-crypto Thanks in advance, Jose ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Screen Capture
I can't seem to figure out how to make a screen capture. xwd screen_dump_file Then move the mouse curser to the window you want to dump and click the left button. man xwd for more details If you then need to convert the file to gif/jpeg/PostScript/whatever the xv program can do that. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Screen Capture
ross wrote: I can't seem to figure out how to make a screen capture. Is there an ability hidden in X11 or do I need to install a port? I'm running 6.0 and also fluxbox as my window manager. From my fluxbox keys file (Mind the above wrap): Control Shift S :ExecCommand import -window root `date +screenshot-%Y%m%d%H%m%S.png` Requires ImageMagick HTH --What time is it? Dodgeball Time! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Regards, Eric ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: serial console for dummies?
actually instructs you to remove the keyboard. I think this is for some systems with buggy firmware? For other systems with different buggy firmware you should leave the video keyboard connected, at least if you need to get into the firmware's setup mode. So is there someone who can give me a hand-held walk-through of just what I need to do to make this work? What you need to do will vary with your system and what capabilities/bugs it has. For my system, firmware: advanced cmos setup page: turn on serial console turn on keep running after boot option set baud rate FreeBSD 6.0: rcsdiff -r1.1 /etc/ttys === RCS file: /etc/RCS/ttys,v retrieving revision 1.1 diff -r1.1 /etc/ttys 32a33,34 # # console is actually ttyd0 below 47c49,50 ttyd0 /usr/libexec/getty std.9600 dialup off secure --- # ttyd0 is actually console ttyd0 /usr/libexec/getty std.19200 vt100 on secure cat /boot/loader.conf # -- sysinstall generated deltas -- # console=comconsole # 0 = disk write cache off safe # 1 = disk write cache on fast hw.ata.wc=0 Bugs: I think some of the bootloader stuff is hard coded to 9600 baud? The FreeBSD boot loader has a menu thingy that doesn't listen to either keyboard. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
WLAN not detected on Acer TM 292ECLi
Hi, anyone having WLAN working on an Acer Travelmate 290E? It doesn't seem to be detected at all on my laptop, which is a model 292ECli. As a Centrino laptop, it should have a Intel PRO Wireless 2200BG built in. I installed iwi-firmware from ports, built a custom kernel (world and kernel from -STABLE today) and checked that I have options pci and options wlan in it, just as man iwi says. I tried to load iwi as module with kldload, at boot time by setting if_iwi_load=YES to loader.conf, and also tried to build it statically into the kernel. At no time, I get iwi mentioned in dmesg. kldstat says it is loaded when I load it dynamically. Also, the firmware is not found in /usr/local/libdata as mentioned on the iwi-firmware webpage at http://damien.bergamini.free.fr/ipw/iwi-freebsd.html I'm not by my laptop right now so I can't check, but somewhere I read that it is installed in /boot/firmware instead? But the mystery is, why doesn't the adapter get detected at all? Something I've missed? Anyone have ideas? Otherwise FBSD 6.0 is a great release - the first one I have successfully installed on the laptop. I've seen others having problems with Acer 2XX laptops also, so I recommend installing 6.0, and enabling ACPI when booting. Without, at least my panics, but acpi_load=YES in loader.conf to the resque! --Ville ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Unable to Startx Following Upgrade--Error in Locking Authority File
Bob Perry [EMAIL PROTECTED] writes: Bingo! It works...but what is a stale authority file and how do you avoid them? Stale is a technical term that means pretty much the same thing it does in your kitchen: something that should've been thrown out before now. I haven't seen one in a long time, so I'm not sure where yours came from, but a system crash might leave one behind. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: A strategic question
Jozef Baum wrote: ... to install FreeBSD, one needs already a lot of knowledge about the system. To acquire that knowledge, one needs experience on an installed system. But to have an installed system, one needs already a lot of knowledge about the system. That's the problem. The handbook doesn't tell you that, at the last chance message, you have to take out the boot CD and to insert CD 1. But if you don't do so, nothing gets installed. 1st: I don't think I have ever installed an unknown system and got it right the first time: OS/2, RedHat Linux, OpenBSD and FreeBSD. I have always installed the system, used it about a month and then reinstalled. So you install the system the best you can, then start learning your way around it and figure out what went wrong. First time, don't worry about things getting messed up, just don't throw it directly into production. You might find yourself reinstalling a few times, but that's just part of the game. 2nd: It's true that the FreeBSD developers have not gone out of their way to make a sleek installer, but unlike other OS's, the installer is something you'll hardly ever use. I installed my laptop with 5.2.1 two years ago, since then I have continuously upgraded everything and run 6.0 now, but I haven't used the installer at all. So, there is a catch, those who use the installer has yet to get the experience to make it better and those who know how just don't have that itch scratching. 3rd: If there is an error or something missing then you can file a problem report for the documentation and explain what you find missing. I configured a German ISO keyboard, but many keys don't work correctly. One has to look with Google to find additional information about configuring a German keyboard. Getting keyboards right is a science and one of the most frequently asked questions. The thing is that you have to deal with both keyboard and character sets, and further some programs let the user change the keyboard for that program only: emacs, pine, thunderbird. While not particularly for german keyboard, there is an article about setting things up and you should be able to figure out the needed changes - heck the examples are for german! http://www.freebsd.org/doc/en_US.ISO8859-1/articles/euro/index.html The locate command did not work, as the locate database seemed to be corrupted. I had to figure out how to rebuild this database. An all system you need to build/rebuild the locate database regularly. The root user had a csh, while ordinary users had a sh shell. I had to figure out how to provide the same shell to the root user and the other users, as all those virtual users are all one and the same person, me. There is one principle you should adhere to on any system: Let root keep default settings. This is challenging at first, but in critical situations an advantage. I tried to setup an X Window environment (nVidia Geforce video adapter), but the horizontal and vertical refresh rates of the manufacturer didn't work, I had to experiment to find out the one X likes. Then I could startup X, only to not having configured at all my German keyboard. see the above article, it also have the part covering X11. I tried to install emacs during installation, but it didn't succeed. Returning to the post-installation tasks after having installed the system resulted in a successfull installation of emacs (working only after a system reboot). Well, this is where sometimes you install, gain some experience and reinstall. Anyway, there is no reason you have to get everything installed at install time. I have learned to prefer a lean system at install and then add stuff as needed. Otherwise I allways end up with lots of crap that I don't need. Why is it that FreeBSD people, who seem to be perfectly able to formulate correct algorithms for implementing UNIX concepts, and translating them into code, don't care at all about a novice user, providing him with an installation program that doesn't work as it should, even without a GUI? As another stated this: It seems you want the system to think your way - which more or less requires the developers to think your way. This is obviously unrealistic and unreasonable to require - but your luck is that unlike other operating systems, you can make FreeBSD behave as you like it. I know UNIX is all about solving problems, but is it really interesting to make it apparently deliberatly so difficult for a newcomer? Is it really the policy of those guys to make the entry level to UNIX difficult, only to avoid a breakthrough of UNIX (FreeBSD) to the desktop users? I don't think anyone makes things difficult on purpose. but as above statement, their brain might just not work like yours. Not better, nor worse, just different. And there is no avoding breakthrough to desktop - I have used FreeBSD on my desktop, laptop actually, for three years. Before that I used RedHat for 4
Connection refused when trying do download ports
I've been having a lot of trouble getting ports to work for me. I'm wondering if this is the fault of something I have set up on my end. I've updated the ports tree with portsnap and then I try and install a new port such as ImageMagick and it can't find the source anywhere. For almost all the locations, I get the message that my connection is refused. Does anybody have any idea what's going on? -- What time is it? Dodgeball Time! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
pkg_add Broken Pipe
pkg_add -r nessus Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.0-release/Latest/nessus.tbz... Done. Broken pipe what does this mean? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Unable to Startx Following Upgrade--Error in Locking Authority File
Lowell Gilbert wrote: Bob Perry [EMAIL PROTECTED] writes: Bingo! It works...but what is a stale authority file and how do you avoid them? Stale is a technical term that means pretty much the same thing it does in your kitchen: something that should've been thrown out before now. I haven't seen one in a long time, so I'm not sure where yours came from, but a system crash might leave one behind. This is getting curiouser and curiouser. As mentioned, I was able to access my GNOME display but noticed that the screen resolution was 640x480. As a matter of fact, it was the only option available when I tried to change it in the GNOME screen resolution dialogue box. While troubleshooting the issue, I was surprised when I ran startx again and encountered the very same error which prevented me from gaining access to the GNOME desktop originally. Any ideas for next steps? Thnx, Bob Perry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which linux_base port to use?
On 1/30/06, Joel Hatton [EMAIL PROTECTED] wrote: Hi, I'd like to try a linux binary application (Arkeia backup server) under FreeBSD R6, so naturally this means linux compatibility, but I'm a little confused - until today I presumed that only one 'linux_base' port existed. A brief inspection of the Makefile for linux_base shows it to be Redhat 7.3 level, but as 8 and 9 are available I don't know if I should choose one of these later releases or another flavor entirely. I'm able to obtain the software package for quite a few different linux distributions and releases, and I don't need X11, so I guess I can narrow it down a little that way as some linux_base* are more minimal than others, but I'd like to pick the one that is most regularly maintained and least likely to cause me issues down the track. Any suggestions? thanks, -- Joel Hatton -- Security Analyst| Hotline: +61 7 3365 4417 AusCERT - Australia's national CERT | Fax: +61 7 3365 7031 The University of Queensland| WWW: www.auscert.org.au Qld 4072 Australia | Email: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] There's a good article on linux compatibility: http://www.onlamp.com/pub/a/bsd/2006/01/12/Big_Scary_Daemons.html Try to stick with the default (linux_base-8), then try rh-9. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Proper mail headers
Duane Whitty wrote: Hi everyone, I wanted to check to see if I am using the proper etiquette when filling in my headers, especially when responding to someone's post. Should I just let let my reply go to the person named in Reply-To or should I reply to the list and CC the poster, or is it the other way around? Thanks, --Duane Whitty duane @greenmeadow.ca You did not mention what MUA you are employing. I am using KMail at the present time, but that does vary. In any case, see if your MUA has support for mailing lists. If it does, you can configure it to deliver incoming mail sorted into folders based on the list name, or some other criterion if you so desire. It is then possible to configure the MUA to use a set address, or addresses when you reply to mail from that folder. It is usually considered incorrect to directly mail or CC a response to a poster unless they specifically requested it. I presently employ that method, and it works fine for me. Remember, 'Top Posting is a negative factor. -- Gerard Seibert [EMAIL PROTECTED] A: Because it reverses the natural flow of a dialog. Q: Why is top posting undesirable when replying? TOPIC: Posting Etiquette pgpGo2Foo8Y8R.pgp Description: PGP signature ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to get latest and greatest FAMP
Hi All, I wanted to do a quick test of Apache21, MySQL5 and PHP5 I tried a minimal install of FreeBSD 6.0 then pkg_add -r which worked fine up until PHP5 where I was told that Apache21 conflicted with Apache13 that was to be installed as aPHP5 dependancy. I pkg_delete and went ahead with installing PHP5 then Apache13 but when I tried to pkg_delete Apache13 so I could install Apache21 was told that I coudl not remove it ? What the best way to do this ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
DNS nslint error messages
I am running freebsd 5.4-STABLE on an IBM e-series 330 server. I have recently started playing with DNS and have been largely successful. However, nslint reports the following errors: nslint: missing a: localhost. - 127.0.0.1 nslint: missing a: localhost.org. - 0.0.0.1 If I add the line: localhost. IN A 127.0.0.1 to my zone file, the first nslint error message goes away, but I then see the following message in my /var/log/messages file upon named startup: Jan 30 18:58:55 gilmer named[15485]: master/gilmer.org:16: ignoring out-of-zone data (localhost) So which is correct? Should I insert the A record in the zone file and ignore the nslint message, or should I leave it out and ignore the named message? Is there something else improperly configured on my system? What about the second nslint message above? Why am I getting a complaint about 0.0.0.1? My /etc/namedb/master/gilmer.org file looks like this: $TTL3600 gilmer.org. IN SOA ns1.gilmer.org. admin.gilmer.org. ( 20060126; Serial 3600; Refresh 900 ; Retry 360 ; Expire 3600 ) ; Minimum ;DNS Servers @ IN NS @ ; Machine Names localhost. IN A127.0.0.1 ns1 IN A69.46.128.60 @ IN A69.46.128.60 ;Aliases mailIN CNAME@ www IN CNAME@ ; MX Record @ IN MX 10@ (Yes, I know this configuration is a little strange, but right now, I am using one server to do everything until I get the hang of DNS.) My /etc/namedb/master/localhost.rev file looks like this: ; From: @(#)localhost.rev 5.1 (Berkeley) 6/30/90 ; $FreeBSD: src/etc/namedb/PROTO.localhost.rev,v 1.6 2000/01/10 15:31:40 peter Exp $ ; ; This file is automatically edited by the `make-localhost' script in ; the /etc/namedb directory. ; $TTL3600 @ IN SOA ns1.gilmer.org. admin.gilmer.org. ( 20060126; Serial 3600; Refresh 900 ; Retry 360 ; Expire 3600 ) ; Minimum IN NS ns1.gilmer.org. 1 IN PTR localhost. Thanks for the help. Brad ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to get latest and greatest FAMP
--- Graham Bentley [EMAIL PROTECTED] wrote: Hi All, I wanted to do a quick test of Apache21, MySQL5 and PHP5 I tried a minimal install of FreeBSD 6.0 then pkg_add -r which worked fine up until PHP5 where I was told that Apache21 conflicted with Apache13 that was to be installed as aPHP5 dependancy. I pkg_delete and went ahead with installing PHP5 then Apache13 but when I tried to pkg_delete Apache13 so I could install Apache21 was told that I coudl not remove it ? What the best way to do this ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Hello, If you were to start again from scratch - I use the information on this page regularly to install apache+ssl+php, it has very detailed instructions for both apache13 and apache2: http://www.bsdguides.org/guides/freebsd/webserver/apache_ssl_php_mysql.php To try and clean up what is currently there - it sounds like a dependency on Apache 13 has been created, so you need to find out what is depending on it now, the following commands should tell you: First of all, you need to know the exact name/version of apache that is currently installed, type the following: pkg_info Near the top you will see an item for apache. Now type this - the apache... part should be exactly the same as what you got from the previous command: pkg_info -R apache Now you will see all the packages currently depending on apache - you need to remove them first before you can remove apache. Or maybe just start again using the info in the first link at the top. Regards, Tim. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Proper mail headers
From: Robert Slade [EMAIL PROTECTED] Subject: Re: Proper mail headers To: freebsd-questions@freebsd.org freebsd-questions@freebsd.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain On Mon, 2006-01-30 at 17:13, Duane Whitty wrote: Hi everyone, I wanted to check to see if I am using the proper etiquette when filling in my headers, especially when responding to someone's post. Should I just let let my reply go to the person named in Reply-To or should I reply to the list and CC the poster, or is it the other way around? Thanks, --Duane Whitty duane @greenmeadow.ca ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Duane, I don't think that there is a right way to do it. I normally just hit reply to all which normally does to: the original poster and cc's the list. In this case it didn't as you have reply to: set as the mailing list. Rob And please, ** LOOK ** at the recipients when you Reply to all... A lot of mor^H^H^Hfolks seem to think that if they cc the list twice, they'll get twice the response. There's no need to post two copies of the same message to the list. Case in point: To: freebsd-questions@freebsd.org Cc: Daniel A. [EMAIL PROTECTED], [EMAIL PROTECTED] You seem to have something misconfigured. This list frequently exceeds 100 posts a day. Partially because folks such as this poster don't realize what they're doing. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freebsd hosting
On Thu, 26 Jan 2006, Robin Becker wrote: I need recommendations for good reliable freeBSD hosting. The brief calls for two geographically separated machines. Probably we require modern python cgi, but perhaps not root access. pair networks (www.pair.com). 100% FreeBSD - it's the only thing they deal with. Their dedicated servers are actually full servers and not virtual servers. Outstanding connectivity. Almost always in the netcraft top 5. Very supportive of FreeBSD and open source projects. Not sure how well they can meet the geographical element at this point. -Darren ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Screen Capture
On Mon, 2006-01-30 at 10:51 -0800, ross wrote: I can't seem to figure out how to make a screen capture. Is there an =20 ability hidden in X11 or do I need to install a port? I'm running 6.0 and= =20 also fluxbox as my window manager. I am using xwd that is (I beleive) part of standard X distribution To capture to a file: /usr/X11R6/bin/xwd -frame -out ~/.wdump To send to a printer: /usr/X11R6/bin/xwd | /usr/X11R6/bin/xpr -device ps|/usr/bin/lpr Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Screen Capture
On Mon, 30 Jan 2006 10:51:00 -0800 ross [EMAIL PROTECTED] wrote: I can't seem to figure out how to make a screen capture. Is there an ability hidden in X11 or do I need to install a port? I'm running 6.0 and also fluxbox as my window manager. If you have gimp installed, just goto file and then aquire and it will be right there. -- What time is it? Dodgeball Time! hehe, nice sig ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Connection refused when trying do download ports
I've updated the ports tree with portsnap and then I try and install a new port such as ImageMagick and it can't find the source anywhere. For almost all the locations, I get the message that my connection is refused. Does anybody have any idea what's going on? Did you try to download the ports by hand? That would help to make sure you are allowed to connect. When you are trying to make a port you should see something like: banyanon: make = atk-1.10.3.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/gnome2. = Attempting to fetch from ftp://ftp.belnet.be/mirror/ftp.gnome.org/sources/atk/1.10/. Just try to fetch that URL: fetch ftp://ftp.belnet.be/mirror/ftp.gnome.org/sources/atk/1.10/ What is the error message? Maybe you have forgotten to configure a proxy or something? Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: question of kernel options
On 29-Jan-2006 gahn wrote: Hi: Where can I find the list of all options of kernel file for freebsd 5.4? Thanks /usr/src/sys/conf/NOTES for cross-platform options /usr/src/sys/${ARCH}/conf/NOTES for architecture-specific options -- Conrad J. Sabatier [EMAIL PROTECTED] -- In Unix veritas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Ports collection via portupgrade
Hi everyone, I just wanted to pass on how I've had so much success using portupgrade to install new software under FreeBSD 6.0 I build my previous installations into packages and backup them up to the location specified by PKG_TMPDIR=/usr/local/temp/ports_pkgs.bak (which I never remember but have it set in root's shell env. anyway) I just installed the native Flash plugin for Mozilla which works great. #portupgrade -bNr flashplugin-mozilla I love portupgrade's globbing. Can't use it blindly but almost. I'd love to hear what other users are having good success with for this or other tasks. Best Regards, --Duane Whitty [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What functionality is provided by minimal install
You can also try searching Nabble which allows a search across all FreeBSD lists. The archives aren't as old as gmane, but offer some different funtionality. http://www.nabble.com/FreeBSD-f6549.html Regards, Rod Morris Nabble.com -- View this message in context: http://www.nabble.com/What-functionality-is-provided-by-minimal-install-t1027848.html#a2672966 Sent from the freebsd-questions forum at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
A strategic question (continued)
Many thanks to everyone who answered my previous e-mail about this subject on this list or by private e-mail. As some of you suggested, I have installed PC-BSD (http://www.pcbsd.com/). I am sure a Unix guru would not like to install FreeBSD in this way, as it doesn't offer many choices. But it is just wonderful for a Unix newbie like me. At the end of the installation, the GUI, the cable Internet connection, and even the sound system worked fine. Some configuration still needs to be done (printing and German keyboard). But now at least I have a system I can use right away to do some usefull work with, and to further explore. I will try to configure the printing myself before perhaps eventually asking some specific questions about it here. I found an interesting explanation about the configuration of the German keyboard, so if some other German speaking newbie asks about it: http://user.cs.tu-berlin.de/~eserte/FreeBSD/doc/umlaute/umlaute.html Giorgos Keramidas asked me: Can you explain *how* you configured your X11 desktop? Like explained in the handbook. First I created an xorg.conf.new configuration skeleton file with # Xorg -configure Then I tested this configuration with # Xorg -config xorg.conf.new The result was a Mode not supported message on the display screen until I found out the HorizSync and VertRefresh values to write in the Section Monitor which were supported, and which were much narrower than the hardware manufacturers specifications. The display adapter is an nVidia GeForce4 MX with integrated GPU (which uses 64 MB of the system's 512 MB physical working memory). The LCD monitor is a Proview 780. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Attention: Giorgos Keramidas (Was: CVS Import Permissions)
n 2006-01-30 15:52, david bryce davidbryce at fastmail.fm wrote: Hi All, I am having some confusion regarding the way CVS works with permissions under unix when importing a new project. Currently, when I import a project, I get this sort of permissions on the project directory: drwxr-x--- 2 jim cvs 512 Jan 27 12:31 test_proj Notice that the group (cvs) is not granted write access. Is this the way it's supposed to work? That depends on what your `umask' currently is. Do I have to use chmod to grant write access to the group every time I do an import? No. The correct way to fix this is to set CVSUMASK in your shell environment, and then import the files :) Giorgos, Thanks very much for replying! I wasn't aware of this environment variable (even though I spent quite a while on this problem). Using CVSUMASK certainly works when working on the server machine! However, I'm not sure what to do in client/server situations. The CVS manual states: Note that using the client/server CVS (see section Remote repositories), there is no good way to set CVSUMASK; the setting on the client machine has no effect. We are currently using a pserver installation, with developers using windows machines. We need a way to achieve the same effect with a user on a windows machine doing an import. Do you have any idea how this can be done? Thank you! Regards, DB -- david bryce [EMAIL PROTECTED] -- http://www.fastmail.fm - Choose from over 50 domains or use your own ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: A strategic question (continued)
On Jan 30, 2006, at 6:41 PM, Jozef Baum wrote: Many thanks to everyone who answered my previous e-mail about this subject on this list or by private e-mail. As some of you suggested, I have installed PC-BSD (http:// www.pcbsd.com/). I am sure a Unix guru would not like to install FreeBSD in this way, as it doesn't offer many choices. But it is just wonderful for a Unix newbie like me. At the end of the installation, the GUI, the cable Internet connection, and even the sound system worked fine. Some configuration still needs to be done (printing and German keyboard). But now at least I have a system I can use right away to do some usefull work with, and to further explore. I will try to configure the printing myself before perhaps eventually asking some specific questions about it here. I found an interesting explanation about the configuration of the German keyboard, so if some other German speaking newbie asks about it: http://user.cs.tu-berlin.de/~eserte/FreeBSD/doc/umlaute/umlaute.html Giorgos Keramidas asked me: Can you explain *how* you configured your X11 desktop? Like explained in the handbook. First I created an xorg.conf.new configuration skeleton file with # Xorg -configure Then I tested this configuration with # Xorg -config xorg.conf.new The result was a Mode not supported message on the display screen until I found out the HorizSync and VertRefresh values to write in the Section Monitor which were supported, and which were much narrower than the hardware manufacturers specifications. The display adapter is an nVidia GeForce4 MX with integrated GPU (which uses 64 MB of the system's 512 MB physical working memory). The LCD monitor is a Proview 780. You may have actually been limited by your video card in this respect. Given that it is a GeForce4, the options for resolution and scanlines and stuff may have been lower. I know that when I went from a GF4 to a GF6 my system's available resolution increased quite a bit. Too bad though that my monitor doesn't though... :(. Take care and hopefully this time around things will be better for you. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Share desktop with XOrg
On Thu, 19 Jan 2006 13:04:59 -0800 Garrett Cooper [EMAIL PROTECTED] wrote: Erik Osterholm wrote: On Wed, Jan 18, 2006 at 06:15:55PM +0100, User Gandalf wrote: Kilian Hagemann wrote: On Wednesday 18 January 2006 18:08, User Gandalf pondered: Is it possible to share a desktop under the XOrg server? Is there a port for this? I'm aware of the -display option of X based programs. What I need is not a remote desktop connection. I would like to share my desktop to another user so he can see what I see. Yes, the stock Xorg server doesn't though. You could use VNC, but in my experience that just opens up another X display where you login separately using kdm/gdm/xdm or whatever. See below. I suggest you use KDE's desktop sharing (krfb, in the menu under System, part of the kdenetwork package, tested on 3.4.1). Does what you want. I hoped there is a more native solution. I prefer gtk over kde but what can I do? Thanks, The x11vnc port may do what you want. Give that a look. Erik It is a wonderful port. It provides access to your display that you specify (if you are the owner of the display), and emulates it via VNC. It will take up less memory than straight VNC since it uses the existing X server (if it is running), and attaches to it and allows VNC connections to that specific instance of the X server. -Garrett Hello, I just want to add that I have been told that it is possible to use VNC to connect to an active display. RealVNC will allow you to open a connection on an already open display. All that is needed is to add a vnc module to X and some other very simple modifications to the xorg.conf. The directions to do this are located at: http://www.realvnc.com/products/free/4.1/x0.html. RealVNC is located in 'net/vnc'. There is also 'net/vino' for Gnome. Best Regards, Ale ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SCSI on v6.0
Hello; I have installed FreeBSD v6.0 and all is fine so far. I had the intention to install two SCSI drives in this system after initial install to get it together step by step. I have several Books on FreeBSD including the hard copy manuals that are obtained from FreeBSD Mall, I.E. user and admin manuals. Reading up on the use of SCSI on FreeBSD i am instructed by one of the books, I don't remember which right now that I have to add a kernel option and rebuild the kernel with SCSI support. But tonight I went ahead and installed the adapter card, and the two drives and booted to see if the hardware setup had any complaints. All seems to be well with it but I can't even hear the SCSI drives. I would expect 15k drives to make some whining noise, maybe not. I am using LSI Logic adapter card (haven't checked for specific FreeBSD support). On boot there was a line to the effect 'waiting for SCSI device to settle'. This leads me to believe that there may already be SCSI support in v6.0. Q: Is this in fact true (v6.0 has SCSI support by default)? None of the books are really current enough for v6.0 specific info as such. On the same subject, Q: What is the best way to proceed with formating and partitioning the drives? Redo installation process, or is there away to set them up without reinstallation? I will want to assign one of the SCSI drives to the /usr file system and the other to the /var file system when the one ATA drive that is being used has it all now. Anyhow, I'm being lazy with this query and I do intend to RTFM. Thank you in advance; Jeff k ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
CPU Frequency on FreeBSD 5.4 and MSVS 2005 R2
Hi, I've been able to run couple of successful tests installing FreeBSD 4.x and 5.x on Microsoft Virtual Server 2005 , however, I've noticed for some reason FreeBSD is not detecting the actual CPU speed: --- FreeBSD 5.4-STABLE #0: Mon Jan 30 22:32:31 EST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/INTERNDC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel Pentium III Xeon (593.19-MHz 686-class CPU) Origin = GenuineIntel Id = 0x6a4 Stepping = 4 Features=0x380a97bFPU,VME,PSE,TSC,MSR,PAE,CX8,SEP,PGE,CMOV,MMX,FXSR,SSE real memory = 824115200 (785 MB) avail memory = 796700672 (759 MB) npx0: math processor on motherboard npx0: INT 16 interface acpi0: A M I OEMRSDT on motherboard acpi0: Power Button (fixed) Timecounter ACPI-safe frequency 3579545 Hz quality 1000 The frequency should be 900MHz. The BIOS does not state CPU frequency, nor the boot sequence. In fact, if I reboot the FreeBSD virtual machine, the frequency would be different (sometimes 460MHz , others 550MHz...etc). I think this is causing a considerable degradation in the FreeBSD speed. Any suggestions in this regard ? MSFT doesn't officially support FreeBSD, but I'm aware they support Linux on their virtual server. Thanks, Tamouh Hakmi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
I'm stubborn or stupid (and that's not xor) (Was: CVS Import Permissions)
david bryce wrote: n 2006-01-30 15:52, david bryce davidbryce at fastmail.fm wrote: Hi All, I am having some confusion regarding the way CVS works with permissions under unix when importing a new project. Currently, when I import a project, I get this sort of permissions on the project directory: drwxr-x--- 2 jim cvs 512 Jan 27 12:31 test_proj Notice that the group (cvs) is not granted write access. Is this the way it's supposed to work? That depends on what your `umask' currently is. Do I have to use chmod to grant write access to the group every time I do an import? No. The correct way to fix this is to set CVSUMASK in your shell environment, and then import the files :) Giorgos, Thanks very much for replying! I wasn't aware of this environment variable (even though I spent quite a while on this problem). Using CVSUMASK certainly works when working on the server machine! However, I'm not sure what to do in client/server situations. The CVS manual states: Note that using the client/server CVS (see section Remote repositories), there is no good way to set CVSUMASK; the setting on the client machine has no effect. We are currently using a pserver installation, with developers using windows machines. We need a way to achieve the same effect with a user on a windows machine doing an import. Do you have any idea how this can be done? Thank you! Regards, DB Hi everyone, On the CVS server machine should our CVS repository directory belong to the cvs group, i.e. user==root, group==cvs? And as for the umask, as it appears to be 027, if we give the cvs group write permission on /usr/local/cvsrep then when we import our projects they will be writeable by members of group cvs and the owner of the project, in this case jim. CVS gives all the source files under test_proj permissions -r--r--r-- regardless of the umask. So since this is an existing repository maybe there is extra work. What is the biggest factor, the number of distinct projects in the repository? But as a start why not do a chgrp cvs cvsrep; chmod g+w cvsrep. In a new repository this would make sure all permissions started off correctly. Unfortunately real life is never that simple. Is this not how CVS would like it? I apologize if I am being all the things suggested in my subject heading. I've posted these opinions a couple of times without response. Perhaps they are inappropriate to the list or irrelevant to David's situation, or maybe just wrong? I'll let it drop after this. I certainly don't mean to muddy the waters but to me this is what this list is all about and I believe this issue goes to the heart of UN*X administration. Sincerely, --Duane Whitty ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Connection refused when trying do download ports
On Mon, 30 Jan 2006 17:43:53 -0800, Olivier Nicole [EMAIL PROTECTED] wrote: I've updated the ports tree with portsnap and then I try and install a new port such as ImageMagick and it can't find the source anywhere. For almost all the locations, I get the message that my connection is refused. Does anybody have any idea what's going on? Did you try to download the ports by hand? That would help to make sure you are allowed to connect. When you are trying to make a port you should see something like: banyanon: make = atk-1.10.3.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/gnome2. = Attempting to fetch from ftp://ftp.belnet.be/mirror/ftp.gnome.org/sources/atk/1.10/. Just try to fetch that URL: fetch ftp://ftp.belnet.be/mirror/ftp.gnome.org/sources/atk/1.10/ What is the error message? Maybe you have forgotten to configure a proxy or something? Olivier The output I get is this. = ImageMagick-6.2.5-5.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/. = Attempting to fetch from ftp://ftp.nluug.nl/pub/ImageMagick/. fetch: ftp://ftp.nluug.nl/pub/ImageMagick/ImageMagick-6.2.5-5.tar.bz2: Connection refused It then repeats for other various locations with the same error. I then tried to do it manually. ross# fetch -v ftp://ftp.tw.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/pav/ImageMagick-6.2.5-5.tar.bz2 looking up ftp.tw.FreeBSD.org connecting to ftp.tw.FreeBSD.org:2100 fetch: ftp://ftp.tw.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/pav/ImageMagick-6.2.5-5.tar.bz2: Connection refused I get the same error for every location I try and connect to. I'm connecting directly to my ISP from this computer. -- What time is it? Dodgeball Time! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Connection refused when trying do download ports
connecting to ftp.tw.FreeBSD.org:2100 I'd say, why 2100? The port for ftp is 21, not 2100, check your personnal settoings, including the environment variable FTP_PROXY Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
option mpp-compress
Hi all: What is the command set ccp yes mpp-compress for? I noticed that it affects the configuration of the client (encryption). with that command in mpd.conf, the client must use Optional encryption. Without that command, the client could use settings like Maximum strength encryption. But in the manual: http://www.bretterklieber.com/mpd/doc3/mpd24.html#24 it seems to be saying that this command must be a part of configuration. TIA __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Is there a way to take all defaults on a make install clean
I'd like to automate the 40+ ports I always make install clean on, and always take the defaults. Is there a way to make it not prompt, and just take the defaults? thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SCSI on v6.0
On 1/30/06, je killen [EMAIL PROTECTED] wrote: I am using LSI Logic adapter card (haven't checked for specific FreeBSD support). From /usr/src/sys/i386/conf/GENERIC: device mpt # LSI-Logic MPT-Fusion so typing dmesg -a | grep mpt should give you an indication if these are probing and probing correctly. Q: Is this in fact true (v6.0 has SCSI support by default)? For as long as I've been using (sic) FreeBSD, at least some common SCSI has been in the GENERIC kernel. On the same subject, Q: What is the best way to proceed with formating and partitioning the drives? Redo installation process, or is there away to set them up without reinstallation? sysnstall is easier for a newbie, bsdlabel and newfs are much more flexible and much simpler once you understand the syntax. I will want to assign one of the SCSI drives to the /usr file system and the other to the /var file system when the one ATA drive that is being used has it all now. I would label and newfs the partitions, then: mount /dev/da0a /mnt/usr mount /dev/da1a /mnt/var (you can't just type these in and expect them to work as shown) pax -r -w -p e -X /usr/ /mnt/usr (same thing for var) ee /etc/fstab (you might also want to boot into single user mode to clear the old /usr and /var mount points, since they'll be redundant) shutdown -r now and pray a lot. Notes: man pax, man bsdlabel, man newfs. All very important. -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SCSI on v6.0
On the same subject, Q: What is the best way to proceed with formating and partitioning the drives? Redo installation process, or is there away to set them up without reinstallation? I will want to assign one of the SCSI drives to the /usr file system and the other to the /var file system when the one ATA drive that is being used has it all now. Anyhow, I'm being lazy with this query and I do intend to RTFM. You can check to see if your drive was detected via dmesg. It should appear as daN (N being a number). You can run sysinstall and set up new disks at any time. -- ``Were you arrested under false circumcisions?'' ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Is there a way to take all defaults on a make install clean
On 1/31/06, Xn Nooby [EMAIL PROTECTED] wrote: I'd like to automate the 40+ ports I always make install clean on, and always take the defaults. Is there a way to make it not prompt, and just take the defaults? http://tinyurl.com/a2xfx -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]