Re: exim with 3 domains
On Jan 6, 2006, at 1:42 PM, Ceri Davies wrote: On 6 Jan 2006, at 14:02, Playnet wrote: Hello freebsd-questions, I have 3 domains, e.g. dom1.spb.ru, dom2.spb.ru, dom3.spb.ru and 1 external (inet) IP. How i can setup this? As database i use LDAP.. Read the exim specification available under the Documentation section at exim.org and the sample configurations provided with the exim installation. It's really very simple. There is also a mail list for exim users in case you get stuck. Look at exim.org for the mail list info. But what you need is very simple. Set them all to have the same MX host and set local_hosts in your config to your 3 domains. That is more or less what you need. Do what Ceri says with what I gave as a place to start in it. Chad Ceri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions- [EMAIL PROTECTED]" --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
pkg_add question
Hello All, I tried to install the Xorg server and xfce4 from the binary distribution, using pkg_add -r I could setup the Xorg server, but I cannot use xfce. When I run startxfce4 then I get the following message: /libexec/ld-elf.so.1: Shared object "libobject-2.0.so.0" not found, required by "xfce4-sesion". I read somewhere that I need to update glib. But I cannot do this with pkg_add. pkg_add -r glib tells me that glib (or an older version of it) is already installed. Now I'm trying to upgrade glib with portupgrade -r glib and probably it will work. But it will take a long time to recompile every package that I have in binary format. The big advantage of using pkg_add is that I do not need to recompile everything from the ports tree. I have a slow machine and limited disk space. But it looks like I have no choice. Upgrading glib from the ports will cause many packages to be downloaded and recompiled from source. I could not find any way to update my packages in binary form. If there is a way, please help me finding it. Thanks, Les ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: pls help network thoughput
On 1/7/06, ann kok <[EMAIL PROTECTED]> wrote: > Dear Andrew > > Thank you for your help in advance > > I keep checking the loading. it is running fine. the > load averages is not over to 1.0 > > > System info: > Intel(R) Pentium(R) 4 CPU 3.00GHz > 2G memory > > for the sysctl var: > > kern.polling.enable=1 > kern.polling.user_frac=10 > kern.ipc.somaxconn=2048 > kern.polling.poll_in_trap=1 > > I don't run iperf and my switch is not managable. > > could you provide any hints to check it? > > and tune the system also. > > Thank you again > > > > last pid: 47008; load averages: 0.00, 0.02, 0.02 > up > 80+11:09:17 22:42:18 > 31 processes: 1 running, 30 sleeping > CPU states: % user, % nice, % system, > % interrupt, % idle > Mem: 100M Active, 1639M Inact, 201M Wired, 60M Cache, > 199M Buf, 11M Free With such a high-spec box, you should probably be running FreeBSD 6. It has much more polling related sysctl tunable. We've got too FreeBSD 5 firewalls at our site (which are doing just fine), and I'm gonna upgrade them to 6.0 one of these days. Look at "netstat -s" to see how many packets are "broken". Maybe your switch/cabling can't cope with the load. Where are the figures from the top output. I only see percent signs. Try running iperf. It's really easy. Just install the port on two boxes, run iperf -s on one and iperf -c on the other. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
i915G and agp
All, I recently re-installed FreeBSD on my PC after checking out gentoo for a month or two. I am running 6-STABLE. My machine has a i915G graphics chip which does not appear to be recognized and doesn't load the agp driver at boot time. Before gentoo I had 5-STABLE on this machine and it worked fine. device agp is in my kernel configuration file. I have tried adding the load statements to loader.conf. and it still doesn't load agp. My dmesg output is pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 16 at device 1.0 on pci0 pci1: on pcib1 vgapci0: port 0xe898-0xe89f mem 0xdff0-0xdff7,0 xc000-0xcfff,0xdfec-0xdfef irq 16 at device 2.0 on pci0 vgapci1: mem 0xdff8-0xdfff at device 2.1 on pci 0 pcib2: irq 16 at device 28.0 on pci0 pci2: on pcib2 The output from pciconf -vl is [EMAIL PROTECTED]:0:0:class=0x06 card=0x01811028 chip=0x25808086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '82915G/GV/GL/P/PL/GL Grantsdale Host Bridge/DRAM Controller' class= bridge subclass = HOST-PCI [EMAIL PROTECTED]:1:0: class=0x060400 card=0x0088 chip=0x25818086 rev=0x04 hdr=0x01 vendor = 'Intel Corporation' device = '82915G/P/PL Grantsdale Host-PCI Express Graphics Bridge' class= bridge subclass = PCI-PCI [EMAIL PROTECTED]:2:0: class=0x03 card=0x01811028 chip=0x25828086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '82915G/GV/GL, 82910GL Integrated Graphics Device' class= display subclass = VGA [EMAIL PROTECTED]:2:1: class=0x038000 card=0x01811028 chip=0x27828086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '82915G/GV/GL, 82910GL Graphics Controller (??)' class= display [EMAIL PROTECTED]:28:0:class=0x060400 card=0x0040 chip=0x26608086 rev=0x03 hdr=0x01 vendor = 'Intel Corporation' device = '82801FB/FR/FW/FRW PCI Express Port 1' class= bridge subclass = PCI-PCI Any help would be appreciated. thanks, -jbw ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: pkg_add question
László Nagy <[EMAIL PROTECTED]> > > Hello All, > > I tried to install the Xorg server and xfce4 from the binary > distribution, using > > pkg_add -r > > I could setup the Xorg server, but I cannot use xfce. When I run > > startxfce4 > > then I get the following message: > > /libexec/ld-elf.so.1: Shared object "libobject-2.0.so.0" not found, > required by "xfce4-sesion". > > I read somewhere that I need to update glib. But I cannot do this with > pkg_add. > > pkg_add -r glib > > tells me that glib (or an older version of it) is already installed. Now > I'm trying to upgrade glib with > > portupgrade -r glib > > and probably it will work. But it will take a long time to recompile > every package that I have in binary format. The big advantage of using > pkg_add is that I do not need to recompile everything from the ports > tree. I have a slow machine and limited disk space. But it looks like I > have no choice. Upgrading glib from the ports will cause many packages > to be downloaded and recompiled from source. I could not find any way to > update my packages in binary form. If there is a way, please help me > finding it. > > Thanks, > >Les > Why don't you use portmanager (sysutils/portmanager) to install those files? It will bring in and update the required files. -- Gerard Seibert [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: pkg_add question
On 1/5/06, László Nagy <[EMAIL PROTECTED]> wrote: > > Hello All, > > I tried to install the Xorg server and xfce4 from the binary > distribution, using > > pkg_add -r > > I could setup the Xorg server, but I cannot use xfce. When I run > > startxfce4 > > then I get the following message: > > /libexec/ld-elf.so.1: Shared object "libobject-2.0.so.0" not found, > required by "xfce4-sesion". > > I read somewhere that I need to update glib. But I cannot do this with > pkg_add. > > pkg_add -r glib > > tells me that glib (or an older version of it) is already installed. Now > I'm trying to upgrade glib with > > portupgrade -r glib > > and probably it will work. But it will take a long time to recompile > every package that I have in binary format. The big advantage of using > pkg_add is that I do not need to recompile everything from the ports > tree. I have a slow machine and limited disk space. But it looks like I > have no choice. Upgrading glib from the ports will cause many packages > to be downloaded and recompiled from source. I could not find any way to > update my packages in binary form. If there is a way, please help me > finding it. > > Thanks, > >Les > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > "portupgrade -PP" will only use binary packages. Try portupagrade -aPP ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Signatures needed, petition for native Flash player.
Hello all, I need everyone on the lists to go sign the petition for Macromedia to make a FreeBSD native version of their Flash player. I also need everyone to help spread the word so we can get more sigs. http://www.petitiononline.com/flash4me/petition.html Discussion of this topic should take place on the freebsd-advocacy mailing list, please don't cross-post: http://lists.freebsd.org/mailman/listinfo/freebsd-advocacy Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Resolved: Need Assistance Upgrading Ethereal-0.10.13_3 to 0.10.14
Hi Bob, It seems you caught the port in a unstable moment where the patch could not be applied for some reason. This was probably only a very brief moment so the next cvsup/portsnap update fixed the problem. Kind regards, Robert H. Perry wrote: > Original Message > Subject: Need Assistance Upgrading Ethereal-0.10.13_3 to 0.10.14 > Date: Sat, 31 Dec 2005 00:52:21 -0500 > From: Robert H. Perry <[EMAIL PROTECTED]> > To: freebsd-questions@freebsd.org > > FreeBSD sphinx.my.domain 5.4-RELEASE FreeBSD 5.4-RELEASE #0: > > Ran into the following error while running portupgrade on ethereal: > > ==> applying extra patch > /usr/ports/net/ethereal/files/extra-patch-capture_loop.c > ***Error code 1 > > Stop in usr/ports/net/ethereal. > Command failed [exit code 1]: /usr/bin/script -qa > /tmp/portupgrade43330.26 make > ** Fix the problem and try again. > > The recommendation "Fix the problem and try again." > seems relatively straightforward, however... > Is this an error I should know how to easily fix? Please advise. > > Thnx > > Just want to report that the error noted above did not re-occur during > this week's upgrade. Have no idea how, or why. > > 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: Resolved: Need Assistance Upgrading Ethereal-0.10.13_3 to 0.10.14
Nagilum wrote: Hi Bob, It seems you caught the port in a unstable moment where the patch could not be applied for some reason. This was probably only a very brief moment so the next cvsup/portsnap update fixed the problem. Kind regards, Robert H. Perry wrote: Original Message Subject: Need Assistance Upgrading Ethereal-0.10.13_3 to 0.10.14 Date: Sat, 31 Dec 2005 00:52:21 -0500 From: Robert H. Perry <[EMAIL PROTECTED]> To: freebsd-questions@freebsd.org FreeBSD sphinx.my.domain 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Ran into the following error while running portupgrade on ethereal: ==> applying extra patch /usr/ports/net/ethereal/files/extra-patch-capture_loop.c ***Error code 1 Stop in usr/ports/net/ethereal. Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade43330.26 make ** Fix the problem and try again. The recommendation "Fix the problem and try again." seems relatively straightforward, however... Is this an error I should know how to easily fix? Please advise. Thnx Just want to report that the error noted above did not re-occur during this week's upgrade. Have no idea how, or why. Nagilum, Thanks for the explanation. If I come across another message like this, I'll know to use a little patience as my first step. Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
kernel debugging question
Reading through http://www.netbsd.org i've met this: Forcing code to enter DDB Ensure your kernel config file contains '|options DDB|', the file has '|#include "opt_ddb.h"|', then use '|Debugger()|'. ... Does this work on FreeBSD also ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
java on sparc64
Is there any way to get java on sparc64? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Enabling atapi-cam and other kernel features
Recently, I read in the FreeBSD handbook, that in order to use the atapi-cam support, it has to be compiled into the kernel. Why not include the atapi-cam support in a module that can simply be loaded by the user without rebooting the machine? It seems like it would be much eisier and less of a hassle that way. It seems like recompiling the kernel (I have done it before) is an awful lot of work just to be able to use some features of the DVD drive which most new computers have these days. The user should be able to add new hardware support to the kernel and reconfigure as much of it as possible without recompiling it, or even rebooting it. This is especially true in troubleshooting where quick changes may be needed and where recompiling each time a setting is changed becomes quite awkward. Allowing more run time configuration would both make FreeBSD more configurable and expert friendly as well as easier to use for everyone. I think in order to make software easy to use, it needs to be highly configurable, and not require a recompile just to add hardware support. Thank you. __ Yahoo! DSL Something to write home about. Just $16.99/mo. or less. dsl.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: java on sparc64
On Sat, Jan 07, 2006 at 09:34:57AM -0600, Gunter Wambaugh wrote: > Is there any way to get java on sparc64? Not at this time. Kris pgprmLvaZdqUC.pgp Description: PGP signature
Re: Enabling atapi-cam and other kernel features
Alistar Erlas schrieb: Recently, I read in the FreeBSD handbook, that in order to use the atapi-cam support, it has to be compiled into the kernel. Why not include the atapi-cam support in a module that can simply be loaded by the user without rebooting the machine? It is possible to load an atapicam module with 6.0-RELEASE and later. Regards Björn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Enabling atapi-cam and other kernel features
At 08:04 AM 1/7/2006, Alistar Erlas wrote: Recently, I read in the FreeBSD handbook, that in order to use the atapi-cam support, it has to be compiled into the kernel. Why not include the atapi-cam support in a module that can simply be loaded by the user without rebooting the machine? test60# ls -l /boot/kernel/atapicam.ko -r-xr-xr-x 1 root wheel 16892 Dec 31 00:21 /boot/kernel/atapicam.ko It seems like it would be much eisier and less of a hassle that way. It seems like recompiling the kernel (I have done it before) is an awful lot of work How is it a lot of work? All you have to do is edit your kernel config, cd to /usr/src and do make buildkernel installkernel just to be able to use some features of the DVD drive which most new computers have these days. The user should be able to add new hardware support to the kernel and reconfigure as much of it as possible without recompiling it, or even rebooting it. This is especially true in troubleshooting where quick changes may be needed and where recompiling each time a setting is changed becomes quite awkward. Allowing more run time configuration would both make FreeBSD more configurable and expert friendly as well as easier to use for everyone. I think in order to make software easy to use, it needs to be highly configurable, and not require a recompile just to add hardware support. Most things don't require a reboot. I count 440 available modules in /boot/kernel, which makes it very easy to add support for something that's not already compiled in. -Glenn Thank you. __ Yahoo! DSL Something to write home about. Just $16.99/mo. or less. dsl.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]"
Problem in install USB data cabel (based on prolific 2303 chip) for Siemens C72 mobile phone.
# This is loader.conf - a file full of useful variables that you can # set to change the default load behavior of your system. You should # not edit this file! Put any overrides into one of the # loader_conf_files instead and you will be able to update these # defaults later without spamming your local configuration information. # # All arguments must be in double quotes. # # $FreeBSD: src/sys/boot/forth/loader.conf,v 1.85 2004/08/06 15:06:06 jmg Exp $ ## ### Basic configuration options ## exec=".( Loading /boot/defaults/loader.conf ) cr" kernel="kernel" # /boot sub-directory containing kernel and modules bootfile="kernel" # Kernel name (possibly absolute path) kernel_options="" userconfig_script_load="NO" userconfig_script_name="/boot/kernel.conf" userconfig_script_type="userconfig_script" loader_conf_files="/boot/device.hints /boot/loader.conf /boot/loader.conf.local" nextboot_conf="/boot/nextboot.conf" nextboot_enable="NO" verbose_loading="NO"# Set to YES for verbose loader output ## ### Splash screen configuration ## splash_bmp_load="NO"# Set this to YES for bmp splash screen! splash_pcx_load="NO"# Set this to YES for pcx splash screen! vesa_load="NO" # Set this to YES to load the vesa module bitmap_load="NO"# Set this to YES if you want splash screen! bitmap_name="splash.bmp"# Set this to the name of the bmp or pcx file bitmap_type="splash_image_data" # and place it on the module_path ## ### Loader settings ## #autoboot_delay="10"# Delay in seconds before autobooting #beastie_disable="NO" # Turn the beastie boot menu on and off #console="vidconsole" # Set the current console #currdev="disk1s1a" # Set the current device module_path="/boot/modules" # Set the module search path #prompt="\\${interpret}"# Set the command prompt #root_disk_unit="0" # Force the root disk unit number #rootdev="disk1s1a" # Set the root filesystem ## ### Kernel settings ## # The following boot_ variables are enabled # by setting them to any value. #boot_askname=""# Prompt the user for the name of the root device #boot_ddb=""# Instructs the kernel to start in the DDB debugger #boot_gdb=""# Selects gdb-remote mode for the kernel debugger #boot_single="" # Start system in single-user mode #boot_userconfig="" # Run kernel's interactive device configuration program #boot_verbose=""# Causes extra debugging information to be printed #init_path="/sbin/init:/sbin/oinit:/sbin/init.bak:/stand/sysinstall" # Sets the list of init candidates #dumpdev="ad0s1b" # Set device for crash dumps ## ### Kernel tunables ## #hw.physmem="1G"# Limit physical memory. See loader(8) #kern.dfldsiz=""# Set the initial data size limit #kern.dflssiz=""# Set the initial stack size limit #kern.hz="100" # Set the kernel interval timer rate #kern.maxbcache="" # Set the max buffer cache KVA storage #kern.maxdsiz=""# Set the max data size #kern.maxfiles="" # Set the sys. wide open files limit #kern.maxproc=""# Set the maximum # of processes #kern.maxssiz=""# Set the max stack size #kern.maxswzone="" # Set the max swmeta KVA storage #kern.maxtsiz=""# Set the max text size #kern.maxusers="32" # Set size of various static tables #kern.nbuf="" # Set the number of buffer headers #kern.ncallout="" # Set the maximum # of timer events #kern.sgrowsiz="" # Set the amount to grow stack #kern.cam.scsi_delay="2000" # Delay (in ms) before probing SCSI #kern.ipc.maxsockets="" # Set the maximum number of sockets avaliable #kern.ipc.nmbclusters=""# Set the number of mbuf clusters #kern.ipc.nmbufs="" # Set the maximum number of mbufs #kern.ipc.nsfbufs=""# Set the number of sendfile(2) bufs #net.inet.tcp.tcbhashsize=""# Set t
Re: Problem in install USB data cabel (based on prolific 2303 chip) for Siemens C72 mobile phone.
On Sat, 2006-01-07 at 17:10, [EMAIL PROTECTED] wrote: > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" I would send your question in the message as I and I guess most of the recipients of this list don't accept attachments. Nor will the mail archives. Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
samba+slapd
Hello freebsd-questions, I need setup subj, it's need for my diplom. I need it to 20.01, but i read many docs and cat't understand some bugs I try to setup samba+ldap samba-3.0.20,1 A free SMB and CIFS client and server for UNIX openldap-sasl-server-2.2.28 Open source LDAP server implementation with SASL2 support 1) how create certificates? In docs use gencert.sh, but i cat't find this in my system I create it: # openssl genrsa -des3 -out ca.key 2048 # openssl req -new -x509 -days 1825 -utf8 -key ca.key -out ca.cert in Common Name (eg, YOUR name) []: ldap.domain.ru usercert: # openssl genrsa -out user.key 1024 # openssl req -new -key user.key -out user.csr -utf8 # openssl x509 -req -in user.csr -out user.cert \ -CA ca.cert -CAkey ca.key -CAcreateserial -days 1095 # vi /usr/local/etc/openldap/slapd.conf added: disallow tls_authc ;Why? And how generate certs (?) correctly? TLSCertificateFile/usr/local/etc/openldap/ssl/user.cert TLSCertificateKeyFile /usr/local/etc/openldap/ssl/user.key TLSCACertificateFile /usr/local/etc/openldap/ssl/ca.cert Is it correct? 2) on start samba in /var/log/messages: Jan 7 19:28:29 sstand slapd[53000]: OTP unavailable because can't read/write key database /etc/opiekeys: Permission denied What i need? 3) on ldapsearch in /var/log/messages: Jan 7 19:28:30 sstand ldapsearch: GSSAPI Error: Miscellaneous failure (see text) (open(/tmp/krb5cc_0): No such file or directory) Why ldap wants kerberos and how to fix it? 4) Need i use PAM? -- Best regards, Playnet 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]"
Re: Spamcop listed - need help to diagnose why
--- Robert Slade <[EMAIL PROTECTED]> wrote: > On Sat, 2006-01-07 at 05:45, David Banning > wrote: > > My server just was listed with Spamcop. > Before I exercise my -one time- > > option to de-list it I need to verify that > indeed my server is not sending > > spam. I have 3 win boxes routing through my > FreeBSD box. > > > > Also there are a few windows computers in the > outside world that send > > mail through my server via port 26 using > their login and password. > > > > I know it is possible for viruses to install > a stand-alone smtp server > > on win boxes. That is one suspicion I have. > > > > My question; > > What tool would I use to see if unauthorized > mail is being sent via > > my server? Note that I am running tmda, so > that I have around 80 emails per > > minute being sent out; to request > verification on my standard incoming > > mail, (therefore it is too complicated to > just watch -all- mail being > > sent out, and try and decode legitimate from > illegitimate). > > There is your problem TMDA is most likely the > cause. Such programmes are > in effect adding to the spam problem. Nearly > all spam has a forged from > address and all programmes such as TMDA do is > send a challenge to an > innocent 3rd party. Whist it looks like it > reduces your spam all you do > is in effect spam someone else. When your > e-mail address has been used > in a spam run by a spammer and you start > getting 10s of these challenge > an hour it is quite easy to report 1 my > accident. If you look at the > Spamcop reporting page you will see a warning > about just this situation. > > I suppose that the real answer is to stop > compounding the spam problem > and use a combination of spamassassin and block > lists. > > BTW I make it a point never to respond to > challenges. > > Rob Consider being "listed" a privilege; half the universities in the world are listed as spammers. Anyone who uses those stupid, anal-retentive services deserves to miss getting important mail. DT __ Yahoo! DSL Something to write home about. Just $16.99/mo. or less. dsl.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: Problem with cvs commit failed in cvs-freebsd setup
On 2006-01-07 12:57, Giorgos Keramidas <[EMAIL PROTECTED]> wrote: > > Who is the owner of the commitcheck script? Does it match the user or > the group of the cvsd setup? On 2006-01-07 14:09, Jose Liang <[EMAIL PROTECTED]> wrote: > The user and group of CVS repository, commitcheck script and other > scripts both are cvs, and my FreeBSD user account has add into cvs > group, too. > > Thanks! On 2006-01-07 14:14, Jose Liang <[EMAIL PROTECTED]> wrote: > Oh, by the way, my cvs user has added into cvs group, too. Yes, but you mentioned 'cvsd' and copied a snippet of cvsd's "config file". Does that mean that you run a cvs server process chrooted and/or under the devel/cvsd port? If that is true, then check that: - The cvsd chrooted process is also part of the 'cvs' group when running *within* the chroot. - That 'cvs' group matches the one outside the chroot, or at the very least the group of the chrooted copy of the CVS repository. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
good blogging port?
I need to start a blog. does anyone have any recommendations for a blogging tools from the ports collection? Preferrably one I can hook up to php and postgresql... thanks, Jeff. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Need to simplify a script that makes cool trees
Hello! This script produces a real sweet file and directory tree. I am trying to simplify this -- it is too big for its own good. I must remove all the bullshit but the -a switch. And I'm sure the same thing could be accomplished in just a few lines. Here is what it does: # fs-tree # /usr/home/vaaf/mp3/out +-benny_benassi-whos_your_daddy-promo-cdm-2005-nbd +-bugz_in_the_attic-booty_la_la-mystery_and_matt_early_remix-vinyl-2005-mtc +-chris_cox-live_from_park_pavilion_atlanta-sat-01-01-2006-hsalive # fs-tree -a # /usr/home/vaaf/mp3/out +-benny_benassi-whos_your_daddy-promo-cdm-2005-nbd | +-00-benny_benassi-whos_your_daddy-promo-cdm-2005-nbd.m3u | +-00-benny_benassi-whos_your_daddy-promo-cdm-2005-nbd.nfo | +-00-benny_benassi-whos_your_daddy-promo-cdm-2005-nbd.sfv And so forth. Here is the original script: #!/bin/sh # # Read a directory or file list,then write a tree. # $URBAN: fs-tree.sh,v 1.0 2005/10/24 15:05:09 vaaf Exp $ # # -a, --all Prints all files, not just directories. # -h, --help Prints usage information. # -l, --list Reads a list of files from stdin. # -v, --version Print the version and exit. # PATH=/bin:/usr/sbin:/usr/bin:/usr/local/bin export PATH umask 022 tag=`basename $0` # *** Functions # # die: prints an optional argument to stderr and exits. # warn: prints an optional argument to stderr. # # A common use for "die" is with a test: # # test -f /etc/passwd || die "No password file." # # This works in subshells and loops, # but may not exit with a code other than 0. # die () { echo "$tag: Error: $*" 1>&2 exit 1 } # *** Usage # # Prints an optional string plus part of the comment header # (if any) to stderr, and exits with code 1. # usage () { lines=`egrep -n '^# (NAME|AUTHOR)' $0 | sed -e 's/:.*//'` ( case "$#" in 0) ;; *) echo "Usage error: $*"; echo ;; esac case "$lines" in "") ;; *) set `echo $lines | sed -e 's/ /,/'` sed -n ${1}p $0 | sed -e 's/^#//g' | egrep -v AUTHOR: ;; esac ) 1>&2 exit 1 } # *** Version # # Prints the current version to stdout. # version () { lsedscr='s/RCSfile: // s/.Date: // s/,v . .Revision: / v/ s/\$//g' lrevno='$RCSfile: fs-tree.sh,v $ $Revision: 1.0 $' lrevdate='$Date: 2005/09/09 01:17:30 $' echo "$lrevno $lrevdate" | sed -e "$lsedscr" exit 0 } # *** mktree # # Sort the file information properly. # mktree () { scr=' s,^.$,, /^$/d s,[^/]*/\([^/]*\)$,+-\1, s,[^/]*/,| ,g' tr '/' '\001' | sort -f | tr '\001' '/' | sed -e "$scr" } # *** Main program defaults # ac_help= ac_prev= ac_invalid="Invalid option; use --help to show usage" argv= # *** Initialize some variables set by options. # all=no list=no fopt="-type d" for ac_option; do # *** If the previous option needs an argument, assign it. # case "$ac_prev" in "") ;; *) eval "$ac_prev=\$ac_option"; ac_prev=; continue ;; esac case "$ac_option" in -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; *) ac_optarg= ;; esac # *** Main switch # case "$ac_option" in -a | -all | --all | --al | --a) all=yes; fopt="" ;; -h | -help | --help | --hel | --he) usage ;; -l | -list | --list | --lis | --li | --l) list=yes ;; -v | -version | --version | --versio | --versi | --vers) version ;; -*) die "$ac_option: $ac_invalid" ;; *) argv="$argv $ac_option" ;; esac done case "$ac_prev" in "") ;; *) die "Missing argument to --`echo $ac_prev | sed 's/_/-/g'`" ;; esac # *** Real work starts here. # Test for specific features. # case "$argv" in "") case "$list" in "yes") top="" ;; # Sort reads stdin. *) top="." ;; esac ;; *) top=$argv ;; esac # *** Print the directory tree. # case "$list" in "no") test -d $top || die "$top: not a directory" cd $top; pwd; find . $fopt -print | mktree ;; "yes") mktree < $top ;; esac exit 0 -- And here is my attempt to simplify it. Now, mind you that this doesn't even work! #!/bin/sh # # Read a directory or file list, then write a tree. # $URBAN: fs-tree.sh,v 1.0 2005/10/24 15:05:09 vaaf Exp $ # #
Re: Problem with cvs commit failed in cvs-freebsd setup
> On 2006-01-08 1:37, Giorgos Keramidas <[EMAIL PROTECTED]> wrote: > > Yes, but you mentioned 'cvsd' and copied a snippet of cvsd's "config > file". Does that mean that you run a cvs server process chrooted and/or > under the devel/cvsd port? If that is true, then check that: > > - The cvsd chrooted process is also part of the 'cvs' group when > running *within* the chroot. > > - That 'cvs' group matches the one outside the chroot, or at the > very least the group of the chrooted copy of the CVS repository. > Sorry that I didn't tell clearly about my configuration. I modified the user and group of cvsd.conf into both 'cvs', and the user and group of /home/cvs both are 'cvs', too. The results of cvsd-buginfo are: Warning: be sure to review this information to make sure it does not contain any sensitive data! cvsd 1.0.10 built with: ./configure --with-libwrap --prefix=/usr/local --build=i386-portbld-freebsd5 .4 LDFLAGS= CFLAGS=-O -pipe CPPFLAGS= build_alias=i386-portbld-reebsd5.4 CC=cc /usr/local/etc/cvsd/cvsd.conf: RootJail /home/cvs/cvs Uid cvs Gid cvs Nice 1 Umask 027 Limit coredumpsize 0 PidFile /var/run/cvsd.pid MaxConnections 10 Log syslog info Repos /cvsroot /home/cvs/cvs: drwxrwxr-x cvs cvs 512 Jan 7 08:10 . drwxr-xr-x cvs cvs 512 Jan 7 08:10 bin -rwxr-xr-x cvs cvs479404 Jan 7 08:10 bin/cvs drwxrwxr-x cvs cvs 512 Jan 7 09:00 cvsroot drwxr-xr-x cvs cvs 512 Jan 7 08:10 dev crw-rw-rw- cvs cvs2, 2 Jan 7 08:10 dev/null crw-rw-rw- cvs cvs2, 12 Jan 7 08:10 dev/zero drwxr-xr-x cvs cvs 512 Jan 7 08:10 etc -rw--- cvs cvs 168 Jan 7 08:10 etc/master.passwd -rw-r--r-- cvs cvs 153 Jan 7 08:10 etc/passwd -rw-r--r-- cvs cvs 40960 Jan 7 08:10 etc/pwd.db -rw--- cvs cvs 40960 Jan 7 08:10 etc/spwd.db drwxr-xr-x cvs cvs 512 Jan 7 08:10 lib -rwxr-xr-x cvs cvs142236 Jan 7 08:10 lib/ld-elf.so.1 -rwxr-xr-x cvs cvs 69632 Jan 7 08:10 lib/ld.so -rwxr-xr-x cvs cvs132820 Jan 7 08:10 lib/libasn1.so.7 -rwxr-xr-x cvs cvs890376 Jan 7 08:10 lib/libc.so.5 -rwxr-xr-x cvs cvs 5544 Jan 7 08:10 lib/libcom_err.so.2 -rwxr-xr-x cvs cvs 28648 Jan 7 08:10 lib/libcrypt.so.2 -rwxr-xr-x cvs cvs 1017424 Jan 7 08:10 lib/libcrypto.so.3 -rwxr-xr-x cvs cvs 32708 Jan 7 08:10 lib/libgnuregex.so.2 -rwxr-xr-x cvs cvs 57452 Jan 7 08:10 lib/libgssapi.so.7 -rwxr-xr-x cvs cvs225860 Jan 7 08:10 lib/libkrb5.so.7 -rwxr-xr-x cvs cvs 50972 Jan 7 08:10 lib/libmd.so.2 -rwxr-xr-x cvs cvs 54004 Jan 7 08:10 lib/libroken.so.7 -rwxr-xr-x cvs cvs 61316 Jan 7 08:10 lib/libz.so.2 lrwxr-xr-x root cvs 3 Jan 7 08:10 libexec -> lib drwxrwxrwt cvs cvs 512 Jan 7 14:20 tmp drwxr-xr-x cvs cvs 512 Jan 7 08:10 usr lrwxr-xr-x root cvs 6 Jan 7 08:10 usr/bin -> ../bin lrwxr-xr-x root cvs 6 Jan 7 08:10 usr/lib -> ../lib lrwxr-xr-x root cvs 6 Jan 7 08:10 usr/libexec -> ../lib /usr/bin/cvs: -r-xr-xr-x root wheel 479404 Jan 7 05:14 /usr/bin/cvs /usr/bin/cvs --version: Concurrent Versions System (CVS) 1.11.17-FreeBSD (client/server) /home/cvs/cvs/bin/cvs --version: Concurrent Versions System (CVS) 1.11.17-FreeBSD (client/server) /home/cvs/cvs/etc/passwd: (passwds removed) root::0:0::/:/usr/local/bin/bash nobody::65534:65534::/:/usr/sbin/nologin cvs::1002:1001::/:/usr/sbin/nologin /home/cvs/cvs/cvsroot/CVSROOT/config: /home/cvs/cvs/cvsroot/CVSROOT/passwd: (passwds removed) jose::cvs Warning: neither a readers file nor a writers file was found inside /home/cvs/cvs/cvsroot/CVSROOT. This means that all users have write access! And the results of ls -l /home/cvs/cvs/cvsroot/CVSROOT are: total 232 drwxrwxr-x 4 root cvs 1536 Jan 7 14:20 ./ -r--r--r-- 1 root cvs495 Jan 7 09:00 .#checkoutlist -r--r--r-- 1 root cvs760 Jan 7 09:00 .#commitinfo -r--r--r-- 1 root cvs991 Jan 7 09:00 .#config -r--r--r-- 1 root cvs602 Jan 7 09:00 .#cvswrappers -r--r--r-- 1 root cvs 1025 Jan 7 09:00 .#editinfo -r--r--r-- 1 root cvs 1141 Jan 7 09:00 .#loginfo -r--r--r-- 1 root cvs 1151 Jan 7 09:00 .#modules -r--r--r-- 1 root cvs564 Jan 7 09:00 .#notify -r--r--r-- 1 root cvs649 Jan 7 09:00 .#rcsinfo -r--r--r-- 1 root cvs879 Jan 7 09:00 .#taginfo -r--r--r-- 1 root cvs 1026 Jan 7 09:00 .#verifymsg drwxrwxr-x 3 cvs cvs512 Jan 7 09:00 ../ drwxrwxr-x 2 cvs cvs512 Jan 7 09:00 Emptydir/ -r--r--r-- 1 cvs cvs447 Jan 7 09:06 avail -r--r--r-- 1 cvs cvs640 Jan 7 09:06 avail,v -r-xr-xr-x 1 cvs cvs 9097 Jan 7 09:06 cfg.pm* -r-xr-xr-x 1 cvs cvs 9306 Jan 7 09:06 cfg.pm,v* -r--r--r-- 1 cvs cvs 2096 Jan 7 09:06 cfg_local.pm -r--r--r-- 1 cvs cvs 2293 Jan 7 09:06 cfg_local.pm,v -r--r--r-- 1 cvs cvs941 Jan 7 09:06 checkoutlist -r--r--r-
Re: oracle on freeBSD
On 6 Jan 2006, at 20:40, Ceri Davies wrote: On 4 Jan 2006, at 18:59, eoghan wrote: Hello Im wondering if there is any info on getting oracle running on freeBSD (im using 6.0). I have found this: http://www.scc.nl/~marcel/howto-oracle.html But it seems a little dated. I read oracle doesnt officially support freeBSD and was pointed to a link here of people working with it: http://twister.pp.ru/ora-fbsd I dont speak russian, but is this no longer being continued? Also, by oracle, I mean the database. i realise they have many products... Any info would help... In my opinion, the best online how-to for this by far is the one at http://www.shadowcom.net/freebsd-oracle9i/ - I intend to produce something for the handbook once I get the time, but if you follow the instructions there you will not go far wrong. On metalink yesterday I noticed that "Intel FreeBSD" appears in the list of operating systems when you raise a TAR (whoops, I mean SR these days), so perhaps they will support it if you pay them enough, I don't know. Ceri HI Ceri Thanks for the link... Im having issues with the install of emulators/ linux_base... doesnt like linux-XFree86-libs-4.3.99.902_4 Not sure if this lib does the same in terms of linux gcc etc? I did read that the 10g install goes a whole lot smoother than the 9i... havent had a chance to really dive into the install yet though... Eoghan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: good blogging port?
On 1/7/06, Jeff D. Hamann <[EMAIL PROTECTED]> wrote: > I need to start a blog. does anyone have any recommendations for a > blogging tools from the ports collection? Preferrably one I can hook up to > php and postgresql... I use Wordpress. It's PHP and Mysql. Mike -- Michael P. Soulier <[EMAIL PROTECTED]> "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: good blogging port?
www.textpattern.com -- by far the best CMS. - Original Message - From: "Michael P. Soulier" <[EMAIL PROTECTED]> Date: Saturday, January 7, 2006 7:31 pm Subject: Re: good blogging port? > On 1/7/06, Jeff D. Hamann <[EMAIL PROTECTED]> wrote: > > I need to start a blog. does anyone have any recommendations for a > > blogging tools from the ports collection? Preferrably one I can > hook up to > > php and postgresql... > > I use Wordpress. It's PHP and Mysql. > > Mike > -- > Michael P. Soulier <[EMAIL PROTECTED]> > "Any intelligent fool can make things bigger and more complex... It > takes a > touch of genius - and a lot of courage to move in the opposite > direction."--Albert Einstein > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions- > [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: Need to simplify a script that makes cool trees
Here's the latest addition. Just to give you an idea of what simplicity I'm aiming towards. Still doesn't work though. #!/bin/sh # # Read a directory or file list, then write a tree. # $URBAN: fs-tree.sh,v 1.0 2005/10/24 15:05:09 vaaf Exp $ # # Print files in addition to directories: -a # tree=`sed -e 's,^.$,,' \ -e '/^$/d' \ -e 's,[^/]*/\([^/]*\)$,+-\1,' \ -e 's,[^/]*/,| ,g'` cd $1 all="-type d" while [ $# -gt 0 ]; do case $1 in -a) all="" ;; esac; shift; done find . $all -print | tr '/' '\001' | sort -f | tr '\001' '/' | "$tree" - Original Message - From: Kristian Vaaf <[EMAIL PROTECTED]> Date: Saturday, January 7, 2006 7:14 pm Subject: Need to simplify a script that makes cool trees > > Hello! > > This script produces a real sweet file and directory tree. > > I am trying to simplify this -- it is too big for its own good. > > I must remove all the bullshit but the -a switch. > > And I'm sure the same thing could be accomplished in just a few lines. > > Here is what it does: > > # fs-tree > # > /usr/home/vaaf/mp3/out > +-benny_benassi-whos_your_daddy-promo-cdm-2005-nbd > +-bugz_in_the_attic-booty_la_la-mystery_and_matt_early_remix- > vinyl-2005-mtc > +-chris_cox-live_from_park_pavilion_atlanta-sat-01-01-2006-hsalive > > # fs-tree -a > # > /usr/home/vaaf/mp3/out > +-benny_benassi-whos_your_daddy-promo-cdm-2005-nbd > | +-00-benny_benassi-whos_your_daddy-promo-cdm-2005-nbd.m3u > | +-00-benny_benassi-whos_your_daddy-promo-cdm-2005-nbd.nfo > | +-00-benny_benassi-whos_your_daddy-promo-cdm-2005-nbd.sfv > > And so forth. > > Here is the original script: > > #!/bin/sh > # > # Read a directory or file list,then write a tree. > # $URBAN: fs-tree.sh,v 1.0 2005/10/24 15:05:09 vaaf Exp $ > # > # -a, --all Prints all files, not just directories. > # -h, --help Prints usage information. > # -l, --list Reads a list of files from stdin. > # -v, --version Print the version and exit. > # > > PATH=/bin:/usr/sbin:/usr/bin:/usr/local/bin > > export PATH > umask 022 > > tag=`basename $0` > > # *** Functions > # > # die: prints an optional argument to stderr and exits. > # warn: prints an optional argument to stderr. > # > # A common use for "die" is with a test: > # > # test -f /etc/passwd || die "No password file." > # > # This works in subshells and loops, > # but may not exit with a code other than 0. > # > die () { > > echo "$tag: Error: $*" 1>&2 > exit 1 > > } > > # *** Usage > # > # Prints an optional string plus part of the comment header > # (if any) to stderr, and exits with code 1. > # > usage () { > > lines=`egrep -n '^# (NAME|AUTHOR)' $0 | sed -e 's/:.*//'` > > ( > > case "$#" > > in > 0) ;; > *) echo "Usage error: $*"; echo ;; > esac > > case "$lines" > > in > "") ;; > *) set `echo $lines | sed -e 's/ /,/'` > sed -n ${1}p $0 | sed -e 's/^#//g' | > egrep -v AUTHOR: > ;; > > esac ) 1>&2 > > exit 1 > > } > > # *** Version > # > # Prints the current version to stdout. > # > version () { > > lsedscr='s/RCSfile: // > s/.Date: // > s/,v . .Revision: / v/ > s/\$//g' > > lrevno='$RCSfile: fs-tree.sh,v $ $Revision: 1.0 $' > lrevdate='$Date: 2005/09/09 01:17:30 $' > echo "$lrevno $lrevdate" | sed -e "$lsedscr" > exit 0 > > } > > # *** mktree > # > # Sort the file information properly. > # > mktree () { > > scr=' > s,^.$,, > /^$/d > s,[^/]*/\([^/]*\)$,+-\1, > s,[^/]*/,| ,g' > > tr '/' '\001' | sort -f | tr '\001' '/' | sed -e "$scr" > > } > > # *** Main program defaults > # > ac_help= > ac_prev= > ac_invalid="Invalid option; use --help to show usage" > argv= > > # *** Initialize some variables set by options. > # > all=no > list=no > fopt="-type d" > > for ac_option; do > > # *** If the previous option needs an argument, assign it. > # > case "$ac_prev" in > > "") ;; > *) eval "$ac_prev=\$ac_option"; ac_prev=; continue ;; > > esac > > case "$ac_option" in > > -*=*) ac_optarg=`echo "$ac_option" | > sed 's/[-_a-zA-Z0-9]*=//'` ;; > *) ac_optarg= ;; > >esac > ># *** Main switch ># > case "$ac_option" in > > -a | -all | --all | --al | --a) > all=yes; fopt="" ;; > > -h | -help | --help | --hel | --he) > usage ;; > > -l | -list | --list | --lis | --li | --l) > list=yes ;; > > -v | -version | --versi
Re: good blogging port?
Michael P. Soulier wrote: On 1/7/06, Jeff D. Hamann <[EMAIL PROTECTED]> wrote: I need to start a blog. does anyone have any recommendations for a blogging tools from the ports collection? Preferrably one I can hook up to php and postgresql... I use Wordpress. It's PHP and Mysql. Seconded. But be careful of the security when setting up anything which uses PHP, running portaudit regularly (or check your daily mail) is recommended. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: good blogging port?
The best blogging software for php/pgsql in my opinion is Serendipity. It has a great plugin architecture and works very well. - Derek Musselmann http://www.disflux.com On Jan 7, 2006, at 12:01 PM, Jeff D. Hamann wrote: I need to start a blog. does anyone have any recommendations for a blogging tools from the ports collection? Preferrably one I can hook up to php and postgresql.. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Using pkg_add to satisfy port dependencies...
Hello all, Is there a way to tell the ports system to try to fetch port dependencies using the 'pkg_add' command rather than try to build the dependency first from source? Thanks! Luke ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Problem in install USB data cabel (based on prolific 2303 chip) for Siemens C72 mobile phone.
# This is loader.conf - a file full of useful variables that you can # set to change the default load behavior of your system. You should # not edit this file! Put any overrides into one of the # loader_conf_files instead and you will be able to update these # defaults later without spamming your local configuration information. # # All arguments must be in double quotes. # # $FreeBSD: src/sys/boot/forth/loader.conf,v 1.85 2004/08/06 15:06:06 jmg Exp $ ## ### Basic configuration options ## exec=".( Loading /boot/defaults/loader.conf ) cr" kernel="kernel" # /boot sub-directory containing kernel and modules bootfile="kernel" # Kernel name (possibly absolute path) kernel_options="" userconfig_script_load="NO" userconfig_script_name="/boot/kernel.conf" userconfig_script_type="userconfig_script" loader_conf_files="/boot/device.hints /boot/loader.conf /boot/loader.conf.local" nextboot_conf="/boot/nextboot.conf" nextboot_enable="NO" verbose_loading="NO"# Set to YES for verbose loader output ## ### Splash screen configuration ## splash_bmp_load="NO"# Set this to YES for bmp splash screen! splash_pcx_load="NO"# Set this to YES for pcx splash screen! vesa_load="NO" # Set this to YES to load the vesa module bitmap_load="NO"# Set this to YES if you want splash screen! bitmap_name="splash.bmp"# Set this to the name of the bmp or pcx file bitmap_type="splash_image_data" # and place it on the module_path ## ### Loader settings ## #autoboot_delay="10"# Delay in seconds before autobooting #beastie_disable="NO" # Turn the beastie boot menu on and off #console="vidconsole" # Set the current console #currdev="disk1s1a" # Set the current device module_path="/boot/modules" # Set the module search path #prompt="\\${interpret}"# Set the command prompt #root_disk_unit="0" # Force the root disk unit number #rootdev="disk1s1a" # Set the root filesystem ## ### Kernel settings ## # The following boot_ variables are enabled # by setting them to any value. #boot_askname=""# Prompt the user for the name of the root device #boot_ddb=""# Instructs the kernel to start in the DDB debugger #boot_gdb=""# Selects gdb-remote mode for the kernel debugger #boot_single="" # Start system in single-user mode #boot_userconfig="" # Run kernel's interactive device configuration program #boot_verbose=""# Causes extra debugging information to be printed #init_path="/sbin/init:/sbin/oinit:/sbin/init.bak:/stand/sysinstall" # Sets the list of init candidates #dumpdev="ad0s1b" # Set device for crash dumps ## ### Kernel tunables ## #hw.physmem="1G"# Limit physical memory. See loader(8) #kern.dfldsiz=""# Set the initial data size limit #kern.dflssiz=""# Set the initial stack size limit #kern.hz="100" # Set the kernel interval timer rate #kern.maxbcache="" # Set the max buffer cache KVA storage #kern.maxdsiz=""# Set the max data size #kern.maxfiles="" # Set the sys. wide open files limit #kern.maxproc=""# Set the maximum # of processes #kern.maxssiz=""# Set the max stack size #kern.maxswzone="" # Set the max swmeta KVA storage #kern.maxtsiz=""# Set the max text size #kern.maxusers="32" # Set size of various static tables #kern.nbuf="" # Set the number of buffer headers #kern.ncallout="" # Set the maximum # of timer events #kern.sgrowsiz="" # Set the amount to grow stack #kern.cam.scsi_delay="2000" # Delay (in ms) before probing SCSI #kern.ipc.maxsockets="" # Set the maximum number of sockets avaliable #kern.ipc.nmbclusters=""# Set the number of mbuf clusters #kern.ipc.nmbufs="" # Set the maximum number of mbufs #kern.ipc.nsfbufs=""# Set the number of sendfile(2) bufs #net.inet.tcp.tcbhashsize=""# Set t
Re: good blogging port?
> Date: Sat, 7 Jan 2006 10:01:01 -0800 (PST) > From: "Jeff D. Hamann" <[EMAIL PROTECTED]> > Subject: good blogging port? > To: freebsd-questions@freebsd.org > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain;charset=iso-8859-1 > > I need to start a blog. does anyone have any recommendations for a > blogging tools from the ports collection? Preferrably one I can hook up to > php and postgresql... > > thanks, > Jeff. cd /usr/ports && make search key="blogging" plog uses MySQL. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Using pkg_add to satisfy port dependencies...
Luke Bakken wrote: Is there a way to tell the ports system to try to fetch port dependencies using the 'pkg_add' command rather than try to build the dependency first from source? "pkg_add -r _port_" ought to fetch needed runtime dependencies, too? Or maybe you are looking for the "portupgrade -P" option: -P --use-packages Use packages instead of ports whenever available. portupgrade searches the local directories listed in PKG_PATH for each package to install or upgrade the current installation with, and if none is found, pkg_fetch(1) is invoked to fetch one from a remote site. If it doesn't work either, the port is used. -PP --use-packages-onlyNever use the port even if a package is not avail- able either locally or remotely, although you still have to keep your ports tree up-to-date so that portupgrade can check out what the latest version of each port is. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Problem in install USB data cabel (based on prolific 2303 chip) for Siemens C72 mobile phone.
# This is loader.conf - a file full of useful variables that you can # set to change the default load behavior of your system. You should # not edit this file! Put any overrides into one of the # loader_conf_files instead and you will be able to update these # defaults later without spamming your local configuration information. # # All arguments must be in double quotes. # # $FreeBSD: src/sys/boot/forth/loader.conf,v 1.85 2004/08/06 15:06:06 jmg Exp $ ## ### Basic configuration options ## exec=".( Loading /boot/defaults/loader.conf ) cr" kernel="kernel" # /boot sub-directory containing kernel and modules bootfile="kernel" # Kernel name (possibly absolute path) kernel_options="" userconfig_script_load="NO" userconfig_script_name="/boot/kernel.conf" userconfig_script_type="userconfig_script" loader_conf_files="/boot/device.hints /boot/loader.conf /boot/loader.conf.local" nextboot_conf="/boot/nextboot.conf" nextboot_enable="NO" verbose_loading="NO"# Set to YES for verbose loader output ## ### Splash screen configuration ## splash_bmp_load="NO"# Set this to YES for bmp splash screen! splash_pcx_load="NO"# Set this to YES for pcx splash screen! vesa_load="NO" # Set this to YES to load the vesa module bitmap_load="NO"# Set this to YES if you want splash screen! bitmap_name="splash.bmp"# Set this to the name of the bmp or pcx file bitmap_type="splash_image_data" # and place it on the module_path ## ### Loader settings ## #autoboot_delay="10"# Delay in seconds before autobooting #beastie_disable="NO" # Turn the beastie boot menu on and off #console="vidconsole" # Set the current console #currdev="disk1s1a" # Set the current device module_path="/boot/modules" # Set the module search path #prompt="\\${interpret}"# Set the command prompt #root_disk_unit="0" # Force the root disk unit number #rootdev="disk1s1a" # Set the root filesystem ## ### Kernel settings ## # The following boot_ variables are enabled # by setting them to any value. #boot_askname=""# Prompt the user for the name of the root device #boot_ddb=""# Instructs the kernel to start in the DDB debugger #boot_gdb=""# Selects gdb-remote mode for the kernel debugger #boot_single="" # Start system in single-user mode #boot_userconfig="" # Run kernel's interactive device configuration program #boot_verbose=""# Causes extra debugging information to be printed #init_path="/sbin/init:/sbin/oinit:/sbin/init.bak:/stand/sysinstall" # Sets the list of init candidates #dumpdev="ad0s1b" # Set device for crash dumps ## ### Kernel tunables ## #hw.physmem="1G"# Limit physical memory. See loader(8) #kern.dfldsiz=""# Set the initial data size limit #kern.dflssiz=""# Set the initial stack size limit #kern.hz="100" # Set the kernel interval timer rate #kern.maxbcache="" # Set the max buffer cache KVA storage #kern.maxdsiz=""# Set the max data size #kern.maxfiles="" # Set the sys. wide open files limit #kern.maxproc=""# Set the maximum # of processes #kern.maxssiz=""# Set the max stack size #kern.maxswzone="" # Set the max swmeta KVA storage #kern.maxtsiz=""# Set the max text size #kern.maxusers="32" # Set size of various static tables #kern.nbuf="" # Set the number of buffer headers #kern.ncallout="" # Set the maximum # of timer events #kern.sgrowsiz="" # Set the amount to grow stack #kern.cam.scsi_delay="2000" # Delay (in ms) before probing SCSI #kern.ipc.maxsockets="" # Set the maximum number of sockets avaliable #kern.ipc.nmbclusters=""# Set the number of mbuf clusters #kern.ipc.nmbufs="" # Set the maximum number of mbufs #kern.ipc.nsfbufs=""# Set the number of sendfile(2) bufs #net.inet.tcp.tcbhashsize=""# Set t
Problem in install USB data cabel (based on prolific 2303 chip) for Siemens C72 mobile phone.
# This is loader.conf - a file full of useful variables that you can # set to change the default load behavior of your system. You should # not edit this file! Put any overrides into one of the # loader_conf_files instead and you will be able to update these # defaults later without spamming your local configuration information. # # All arguments must be in double quotes. # # $FreeBSD: src/sys/boot/forth/loader.conf,v 1.85 2004/08/06 15:06:06 jmg Exp $ ## ### Basic configuration options ## exec=".( Loading /boot/defaults/loader.conf ) cr" kernel="kernel" # /boot sub-directory containing kernel and modules bootfile="kernel" # Kernel name (possibly absolute path) kernel_options="" userconfig_script_load="NO" userconfig_script_name="/boot/kernel.conf" userconfig_script_type="userconfig_script" loader_conf_files="/boot/device.hints /boot/loader.conf /boot/loader.conf.local" nextboot_conf="/boot/nextboot.conf" nextboot_enable="NO" verbose_loading="NO"# Set to YES for verbose loader output ## ### Splash screen configuration ## splash_bmp_load="NO"# Set this to YES for bmp splash screen! splash_pcx_load="NO"# Set this to YES for pcx splash screen! vesa_load="NO" # Set this to YES to load the vesa module bitmap_load="NO"# Set this to YES if you want splash screen! bitmap_name="splash.bmp"# Set this to the name of the bmp or pcx file bitmap_type="splash_image_data" # and place it on the module_path ## ### Loader settings ## #autoboot_delay="10"# Delay in seconds before autobooting #beastie_disable="NO" # Turn the beastie boot menu on and off #console="vidconsole" # Set the current console #currdev="disk1s1a" # Set the current device module_path="/boot/modules" # Set the module search path #prompt="\\${interpret}"# Set the command prompt #root_disk_unit="0" # Force the root disk unit number #rootdev="disk1s1a" # Set the root filesystem ## ### Kernel settings ## # The following boot_ variables are enabled # by setting them to any value. #boot_askname=""# Prompt the user for the name of the root device #boot_ddb=""# Instructs the kernel to start in the DDB debugger #boot_gdb=""# Selects gdb-remote mode for the kernel debugger #boot_single="" # Start system in single-user mode #boot_userconfig="" # Run kernel's interactive device configuration program #boot_verbose=""# Causes extra debugging information to be printed #init_path="/sbin/init:/sbin/oinit:/sbin/init.bak:/stand/sysinstall" # Sets the list of init candidates #dumpdev="ad0s1b" # Set device for crash dumps ## ### Kernel tunables ## #hw.physmem="1G"# Limit physical memory. See loader(8) #kern.dfldsiz=""# Set the initial data size limit #kern.dflssiz=""# Set the initial stack size limit #kern.hz="100" # Set the kernel interval timer rate #kern.maxbcache="" # Set the max buffer cache KVA storage #kern.maxdsiz=""# Set the max data size #kern.maxfiles="" # Set the sys. wide open files limit #kern.maxproc=""# Set the maximum # of processes #kern.maxssiz=""# Set the max stack size #kern.maxswzone="" # Set the max swmeta KVA storage #kern.maxtsiz=""# Set the max text size #kern.maxusers="32" # Set size of various static tables #kern.nbuf="" # Set the number of buffer headers #kern.ncallout="" # Set the maximum # of timer events #kern.sgrowsiz="" # Set the amount to grow stack #kern.cam.scsi_delay="2000" # Delay (in ms) before probing SCSI #kern.ipc.maxsockets="" # Set the maximum number of sockets avaliable #kern.ipc.nmbclusters=""# Set the number of mbuf clusters #kern.ipc.nmbufs="" # Set the maximum number of mbufs #kern.ipc.nsfbufs=""# Set the number of sendfile(2) bufs #net.inet.tcp.tcbhashsize=""# Set t
Re: oracle on freeBSD
On Sat, Jan 07, 2006 at 06:29:15PM +, eoghan wrote: > On 6 Jan 2006, at 20:40, Ceri Davies wrote: > >On 4 Jan 2006, at 18:59, eoghan wrote: > > > >>Hello > >>Im wondering if there is any info on getting oracle running on > >>freeBSD (im using 6.0). I have found this: > >>http://www.scc.nl/~marcel/howto-oracle.html > >>But it seems a little dated. I read oracle doesnt officially > >>support freeBSD and was pointed to a link here of people working > >>with it: > >>http://twister.pp.ru/ora-fbsd > >>I dont speak russian, but is this no longer being continued? > >>Also, by oracle, I mean the database. i realise they have many > >>products... > >>Any info would help... > > > >In my opinion, the best online how-to for this by far is the one at > >http://www.shadowcom.net/freebsd-oracle9i/ - I intend to produce > >something for the handbook once I get the time, but if you follow > >the instructions there you will not go far wrong. > > > >On metalink yesterday I noticed that "Intel FreeBSD" appears in the > >list of operating systems when you raise a TAR (whoops, I mean SR > >these days), so perhaps they will support it if you pay them > >enough, I don't know. > > HI Ceri > Thanks for the link... Im having issues with the install of emulators/ > linux_base... doesnt like linux-XFree86-libs-4.3.99.902_4 > Not sure if this lib does the same in terms of linux gcc etc? > I did read that the 10g install goes a whole lot smoother than the > 9i... havent had a chance to really dive into the install yet though... Hi Eoghan, Try linux_base-8 instead. I think that may be better for more recent FreeBSD's. I haven't tried the 10g install on FreeBSD, but I have done a few installations on Solaris and I can tell you that the major problem with the 10g installer is that it installs 10g, which I'm running into a few problems with. That may well be my fault due to some unfamiliarity with the new version, but since the 9i desupport date has been pushed back to 2010 I'm still using that where I can. Ceri -- Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.-- Einstein (attrib.) pgpW9LEP2vFcF.pgp Description: PGP signature
Java Virtual Machine
Which Java VM is the best for freebsd 5.4, running gnome2, and firefox? James Best ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ftp nologin problem
> On Wed, 28 Dec 2005 09:59:47 +, > Matthew Seaman <[EMAIL PROTECTED]> said: > Imran Imtiaz wrote: >> I am running ProFTPD 1.2.10 on my bsd server but the problem is that if a >> user don't have a shell and I've defined his shell as nologin then the ftp >> server does not logon and give the following error >> C:\Documents and Settings\Asif>ftp 192.168.0.3 >> Connected to 192.168.0.3. >> 220 ProFTPD 1.2.10 Server (ProFTPD Default Installation) [192.168.0.3] >> User (192.168.0.3:(none)): db.backup >> 331 Password required for db.backup. >> Password: >> 530 Login incorrect. >> Login failed. ftp> >> >> tell me how can I correct this problem cause I don't want to give user a >> shell. > Yes -- in order for a user to log in successfully via FTP they need: > ... > If you're trying to setup a highly secure mechanism for copying files over > the net for backup, then I'd counsel against using FTP at all -- it's one of > those archaic 'dawn of the internet' type protocols that does nasty things > like transmitting passwords over networks in plain text. Two much better > alternatives are: FTP is actually a very well designed protocol. Jon Postel was no idiot. It is highly reliable and the RFC 959 return codes make it ideal for unattended file transfers. You are right about its security problems. However, ProFTPD, the server that he is using, supports SSL/TLS, which does not transmit passwords in clear text. To talk to ProFTPD using SSL/TLS, you will need to use OpenBSD's ftp-tls client, which is in the ports. Sandy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Programming Book(s)
Danial Thom wrote: --- Nicolas Blais <[EMAIL PROTECTED]> wrote: On January 2, 2006 04:52 pm, Sean wrote: Sean wrote: Looking for recommendations on any Unix programming books. I have been out of things for a while so I would put my skill level back to the beginning. Thanks Sean ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" I forgot to mention that I wish to work with C/C++ Thanks again, Sean There's a free C++ book which is great : http://mindview.net/Books/TICPP/ThinkingInCPP2e.html You can also buy the hardcopy on Amazon. Nicolas I'd recommend learning C before C++. In order to be an effective unix programmer you must master the C language, as you'll have to examine and modify code in C to do anything substantial. Virtually all major programs and kernels are 'C' based. I think, in general, this is wrong. And I think many "professionals" also feel that learning C++ is the way to go. If you just learning, you might as well start with C++. For many good reasons, see Stroustrup's answer himself: http://public.research.att.com/~bs/learn.html -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Programming Book(s)
Just finished 'Accelerated C++' as a refresher and can highly recommend it (though it is a bit advanced for a novice). -- Kiffin Rex Gish Gouda, The Netherlands > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of JD Arnold > Sent: Saturday, January 07, 2006 21:25 > To: freebsd-questions@freebsd.org > Subject: Re: Programming Book(s) > > > Danial Thom wrote: > > > > --- Nicolas Blais <[EMAIL PROTECTED]> wrote: > > > >> On January 2, 2006 04:52 pm, Sean wrote: > >>> Sean wrote: > Looking for recommendations on any Unix > >> programming books. > I have been out of things for a while so I > >> would put my skill level back > to the beginning. > > Thanks > Sean > > >> ___ > freebsd-questions@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > >>> I forgot to mention that I wish to work with > >> C/C++ > >>> Thanks again, > >>> Sean > >> There's a free C++ book which is great : > >> > > http://mindview.net/Books/TICPP/ThinkingInCPP2e.html > >> You can also buy the hardcopy on Amazon. > >> > >> Nicolas > >> > > > > I'd recommend learning C before C++. In order to > > be an effective unix programmer you must master > > the C language, as you'll have to examine and > > modify code in C to do anything substantial. > > Virtually all major programs and kernels are 'C' > > based. > > I think, in general, this is wrong. And I think many > "professionals" also feel that learning C++ is the way to go. > If you just learning, > you might as well start with C++. For many good reasons, see > Stroustrup's answer himself: > > http://public.research.att.com/~bs/learn.html > > -- > Jonathan Arnold (mailto:[EMAIL PROTECTED]) > Daemon Dancing in the Dark, a FreeBSD weblog: > http://freebsd.amazingdev.com/blog/ > > UNIX is user-friendly. It's just a bit picky about who its > friends are. > > ___ > 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: Programming Book(s)
On January 7, 2006 03:25 pm, JD Arnold wrote: > Danial Thom wrote: > > --- Nicolas Blais <[EMAIL PROTECTED]> wrote: > >> On January 2, 2006 04:52 pm, Sean wrote: > >>> Sean wrote: > Looking for recommendations on any Unix > >> > >> programming books. > >> > I have been out of things for a while so I > >> > >> would put my skill level back > >> > to the beginning. > > Thanks > Sean > >> > >> ___ > >> > freebsd-questions@freebsd.org mailing list > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > >>> > >>> I forgot to mention that I wish to work with > >> > >> C/C++ > >> > >>> Thanks again, > >>> Sean > >> > >> There's a free C++ book which is great : > > > > http://mindview.net/Books/TICPP/ThinkingInCPP2e.html > > > >> You can also buy the hardcopy on Amazon. > >> > >> Nicolas > > > > I'd recommend learning C before C++. In order to > > be an effective unix programmer you must master > > the C language, as you'll have to examine and > > modify code in C to do anything substantial. > > Virtually all major programs and kernels are 'C' > > based. > > I think, in general, this is wrong. And I think many "professionals" > also feel that learning C++ is the way to go. If you just learning, > you might as well start with C++. For many good reasons, see > Stroustrup's answer himself: > > http://public.research.att.com/~bs/learn.html I agree, that's how I started anyhow. Having done my CS degree couple years ago, I remember my Professor saying: Loose the pointers and start referencing! :) Nicolas. -- FreeBSD 7.0-CURRENT #9: Sat Dec 31 14:24:32 EST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CLK01A PGP? (updated 16 Nov 05) : http://www.clkroot.net/security/nb_root.asc pgpBooDNB7zuy.pgp Description: PGP signature
Programs don't free memory
Hi everybody Sorry for my bad English but I have a question.I have 512Mb memory on my PC but as I realize at starting my system have about 100Mb active memory, but when the system have worked for a while there is no free memory on my system ( about 350Mb inactive) As I understand this means some programs ( like kdeinit) don't want to free memory after workes. Is this true? How can I fix thís problem out? Thank you -- === Nguyen Danh Hieu Physics Faculty Moscow State University ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ath0 driver
If I add mode 11g to my ifconfig the card loses connectivity momentarily and routed reports Ierr=xx connection turned off then some random time it reports connection restored. If I don't add the mode 11g or even mode 11b it works at 11 mbps reliably. It's a dlink g650 atheros 5212 chip. This is on a 5.4 box cvsupped yesterday. Anyone else having this issue? ifconfig_ath0="inet 192.168.0.1 netmask 255.255.255.0 ssid default channel 6 mediaopt hostap" ath0: flags=8843 mtu 1500 inet 192.168.0.1 netmask 0xff00 broadcast 192.168.0.255 inet6 fe80::20f:3dff:fea9:38a8%ath0 prefixlen 64 scopeid 0x1 ether 00:0f:3d:a9:38:a8 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect ) status: associated ssid default 1:default channel 6 authmode OPEN powersavemode OFF powersavesleep 100 rtsthreshold 2312 protmode CTS wepmode OFF weptxkey 1 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
New Users unable to SU
I seem to have developed a problem on my system. I can add new users either via the adduser script or using 'sysinstall'. The problem is that none of them can become root. They are all in the 'wheel' group, so it should be working. I am the only user that can access the root. They can use 'sudo' but that doesn't fix the problem. I have no idea where to begin to look for an answer. I hope someone can assist me. -- Gerard Seibert [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: New Users unable to SU
On Sat, Jan 07, 2006 at 04:07:32PM -0500, Gerard Seibert wrote: > I seem to have developed a problem on my system. I can add new users > either via the adduser script or using 'sysinstall'. The problem is that > none of them can become root. They are all in the 'wheel' group, so it > should be working. I am the only user that can access the root. They can > use 'sudo' but that doesn't fix the problem. The users need to be listed in /etc/group as belonging to `wheel'. The login group-id isn't consulted by su(1). -- Jonathan Chen <[EMAIL PROTECTED]> -- "Opportunity does not knock, it presents itself when you beat down the door" - W.E. Channing ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Problem with cvs commit failed in cvs-freebsd setup
On 2006-01-08 02:24, Jose Liang <[EMAIL PROTECTED]> wrote: > The results of cvsd-buginfo are: Very detailed information. Thanks for taking the time to gather it! > cvsd 1.0.10 built with: > > ./configure --with-libwrap --prefix=/usr/local --build=i386-portbld-freebsd5 > .4 LDFLAGS= CFLAGS=-O -pipe CPPFLAGS= build_alias=i386-portbld-reebsd5.4 > CC=cc > > /usr/local/etc/cvsd/cvsd.conf: > RootJail /home/cvs/cvs > Uid cvs > Gid cvs The group id which cvsd tries to set is 'cvs'. Nice so far. > /home/cvs/cvs: > [...] > drwxr-xr-x cvs cvs 512 Jan 7 08:10 etc > -rw--- cvs cvs 168 Jan 7 08:10 etc/master.passwd > -rw-r--r-- cvs cvs 153 Jan 7 08:10 etc/passwd > -rw-r--r-- cvs cvs 40960 Jan 7 08:10 etc/pwd.db > -rw--- cvs cvs 40960 Jan 7 08:10 etc/spwd.db You don't have an /etc/group file within the chroot environment. This may be a problem, since the Perl scripts of the CVSROOT/ directory will run "inside" the chroot, so they will not have access to user group information. > Is there a any incorrect one that needs changing? > Thanks a lot! Try creating a minimal /etc/group file inside the chroot environment, and see if this fixes the problem. If not, you may have to dig a bit deeper into Perl stuff and add debugging code around the execution of CVSROOT/commitcheck, i.e. by modifying CVSROOT/commitinfo to call a script of your own, which prints more information about the process that tries to invoke CVSROOT/commitcheck. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: New Users unable to SU
On Sun, 8 Jan 2006 10:24:29 +1300 Jonathan Chen <[EMAIL PROTECTED]> wrote: On Sat, Jan 07, 2006 at 04:07:32PM -0500, Gerard Seibert wrote: I seem to have developed a problem on my system. I can add new users either via the adduser script or using 'sysinstall'. The problem is that none of them can become root. They are all in the 'wheel' group, so it should be working. I am the only user that can access the root. They can use 'sudo' but that doesn't fix the problem. The users need to be listed in /etc/group as belonging to `wheel'. The login group-id isn't consulted by su(1). And, rather than just have then su and then run tons of commands you really should list them in sudoers so they ( and you ) can do ''sudo command ..." . You might find that that is safer than just su'ing and staying in a shell as root. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: kernel debugging question
On 2006-01-07 17:17, Tofik Suleymanov <[EMAIL PROTECTED]> wrote: > Reading through http://www.netbsd.org i've met this: > >Forcing code to enter DDB > > Ensure your kernel config file contains '|options DDB|', the file has > '|#include "opt_ddb.h"|', then use '|Debugger()|'. > > ... > > Does this work on FreeBSD also ? This is slightly different in FreeBSD. You have to call: #include kdb_enter(NULL);/* Enter without a message */ or #include kdb_enter("Forced into debugger by Giorgos"); ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Programming Book(s)
On 2006-01-07 15:25, JD Arnold <[EMAIL PROTECTED]> wrote: >Danial Thom wrote: >>--- Nicolas Blais <[EMAIL PROTECTED]> wrote: >>>On January 2, 2006 04:52 pm, Sean wrote: Sean wrote: > Looking for recommendations on any Unix programming books. I have > been out of things for a while so I would put my skill level back > to the beginning. I forgot to mention that I wish to work withC/C++ >>> >>> There's a free C++ book which is great: >>> http://mindview.net/Books/TICPP/ThinkingInCPP2e.html >>> You can also buy the hardcopy on Amazon. >> >> I'd recommend learning C before C++. In order to be an effective unix >> programmer you must master the C language, as you'll have to examine >> and modify code in C to do anything substantial. Virtually all major >> programs and kernels are 'C' based. > > I think, in general, this is wrong. I think, in general, this is right. > And I think many "professionals" also feel that learning C++ is the > way to go. If you just learning, you might as well start with > C++. For many good reasons, see Stroustrup's answer himself: > > http://public.research.att.com/~bs/learn.html Which essentially boils down to "learn C++ it's better and easier to learn". I very much disagree, but this is another flamewar, I guess. Danial is right that there are many large programs out there that are written in C, not C++. This means that just learning C++ and hoping to "cope with it" when an 11,000,000-line monster, written in plain C, comes along is just not going to cut it. Thus, "learn both" is a good answer, but I understand that this may be quite impossible some times. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Programs don't free memory
On 2006-01-07 20:51, Nguyen Danh Hieu <[EMAIL PROTECTED]> wrote: > Hi everybody > Sorry for my bad English but I have a question.I have 512Mb memory on my > PC but as I realize at starting my system have about 100Mb active memory, > but when the system have worked for a while there is no free memory on my > system ( about 350Mb inactive) As I understand this means some programs ( > like kdeinit) don't want to free memory after workes. Is this true? How can > I fix th??s problem out? "free memory is memory wasted". For a better, more lengthy and more detailed explanation of this, please see the excellent article of Matt Dillon that describes ``virtual memory'' and how it works in FreeBSD: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/vm-design/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Sparc vs i386 architecture
Hi group, I was just wondering if there's an advantage to running FreeBSD on a SPARC than compared with a regular PC. Obviously the architecture is different (CISC vs RISC). How ever you can purchase a higher powered PC box for less money than it would cost for a SPARC. The main advantage I'm seeing here is for security. It's going to be harder to break into a SPARC running FreeBSD than an Intel/Amd running FreeBSD b/c most machine code exploits will be for the i386 type architecture. Any insights are much appreciated. Michael - Original Message - From: "Robert Slade" <[EMAIL PROTECTED]> To: "jasonharback" <[EMAIL PROTECTED]> Cc: Sent: Saturday, January 07, 2006 2:43 AM Subject: Re: Sparc dual boot problems > On Sat, 2006-01-07 at 03:47, jasonharback wrote: > > Here's the situation > > > > > > > > The machine is a SUN ULTRA 5 and I have 4 IDE devices. I am new to SUN hardware I know much more about PC's. The first device primary master is the cdrom which Solaris 10 and FreeBSD were successfully installed from. Currently Solaris 10 which is the primary slave is the default boot device. FreeBSD is installed on the primary slave drive. I am used to the FreeBSD install on a PC and during that install it gave time for configuring the boot loader but I can't find it on the recent Sparc FreeBSD edition? During the partition process it says I will have the option to configure the boot loader latter. Right now I can't boot FreeBSD and I have no idea how to configure this machine to make it dual boot? I would like to have Solaris 10 as the primary O/S, FreeBSD as the secondary and Sparc Linux on the third hd. > > > > > > > > Can you please help? > > > > Jason Harback > > Jason, > > You don't need to use a boot loader with the U5, just boot to the promt > (Stop A). Then just type boot followed by the alias of the slice you > want to boot. > > Rob > > ___ > 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: Programs don't free memory
On Sat, 7 Jan 2006 23:51:09 +0200 Giorgos Keramidas <[EMAIL PROTECTED]> wrote: On 2006-01-07 20:51, Nguyen Danh Hieu <[EMAIL PROTECTED]> wrote: Hi everybody Sorry for my bad English but I have a question.I have 512Mb memory on my PC but as I realize at starting my system have about 100Mb active memory, but when the system have worked for a while there is no free memory on my system ( about 350Mb inactive) As I understand this means some programs ( like kdeinit) don't want to free memory after workes. Is this true? How can I fix th??s problem out? "free memory is memory wasted". For a better, more lengthy and more detailed explanation of this, please see the excellent article of Matt Dillon that describes ``virtual memory'' and how it works in FreeBSD: LOL I've we've always said ''virtual memory is free memory!'' ;-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Java Virtual Machine
Porpoise Power wrote: Which Java VM is the best for freebsd 5.4, running gnome2, and firefox? James Best Both the native jdk14 and jdk15 provide good Java VMs. jdk15 is newer and might be unstable (hasn't been for me). jdk14 is more tested and is the "default" java for FreeBSD on i386. HTH, Micah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
freebsd 6 - amount of total visible memory is decreasing constantly
Problem: Total amount of visible memory is decreasing constantly (total amount = sum of all memory fields in 'top' utility output' OS: FreeBSD 6 Server: 2xAmd64bit, 4GB memory, tyan motherboard hw.physmem: 3478589440 hw.realmem: 3488743424 These values don't change in time. Just after server reboot, the sum of memory fields in 'top' utility output is 3405M(this is correct). But this sum(i.e. total visible memory for OS) is decreasing in time, according to top's output. After all, server begins to swap and needs to be rebooted again. Here goes monitoring log. It was created by hand-written perl script, which is called every minute and which summarizes 'top' utility's 6 memory fields. Total memory is in the second column in the following log: Sat Jan 7 20:37:00 MSK 2006 3224 Sat Jan 7 20:38:00 MSK 2006 3224 Sat Jan 7 20:39:00 MSK 2006 3224 Sat Jan 7 20:40:00 MSK 2006 3225 Sat Jan 7 20:41:00 MSK 2006 3223 Sat Jan 7 20:42:00 MSK 2006 3224 Sat Jan 7 20:43:00 MSK 2006 3222 Sat Jan 7 20:44:00 MSK 2006 3223 Sat Jan 7 20:45:00 MSK 2006 3221 Sat Jan 7 20:46:00 MSK 2006 3218 Sat Jan 7 20:47:00 MSK 2006 3217 Sat Jan 7 20:48:00 MSK 2006 3218 Sat Jan 7 20:49:00 MSK 2006 3213 Sat Jan 7 20:50:00 MSK 2006 3212 Sat Jan 7 20:51:00 MSK 2006 3212 Sat Jan 7 20:52:00 MSK 2006 3212 Sat Jan 7 20:53:00 MSK 2006 3211 Sat Jan 7 20:54:00 MSK 2006 3211 Sat Jan 7 20:55:00 MSK 2006 3210 Sat Jan 7 20:56:00 MSK 2006 3211 Sat Jan 7 20:57:00 MSK 2006 3209 Sat Jan 7 20:58:00 MSK 2006 3211 Sat Jan 7 20:59:00 MSK 2006 3210 Sat Jan 7 21:00:00 MSK 2006 3209 Sat Jan 7 21:01:00 MSK 2006 3208 Sat Jan 7 21:02:00 MSK 2006 3207 Sat Jan 7 21:03:00 MSK 2006 3205 Sat Jan 7 21:04:00 MSK 2006 3206 Sat Jan 7 21:05:00 MSK 2006 3206 Sat Jan 7 21:06:00 MSK 2006 3204 Sat Jan 7 21:07:00 MSK 2006 3203 Sat Jan 7 21:08:00 MSK 2006 3204 Sat Jan 7 21:09:00 MSK 2006 3202 Sat Jan 7 21:10:00 MSK 2006 3202 Sat Jan 7 21:11:00 MSK 2006 3204 Sat Jan 7 21:12:00 MSK 2006 3203 Sat Jan 7 21:13:00 MSK 2006 3203 Sat Jan 7 21:14:00 MSK 2006 3203 Sat Jan 7 21:15:00 MSK 2006 3202 Sat Jan 7 21:16:00 MSK 2006 3202 Sat Jan 7 21:17:00 MSK 2006 3202 Sat Jan 7 21:18:00 MSK 2006 3201 Sat Jan 7 21:19:00 MSK 2006 3201 Sat Jan 7 21:20:00 MSK 2006 3201 Sat Jan 7 21:21:00 MSK 2006 3202 Sat Jan 7 21:22:00 MSK 2006 3201 Sat Jan 7 21:23:00 MSK 2006 3200 Sat Jan 7 21:24:00 MSK 2006 3203 Sat Jan 7 21:25:00 MSK 2006 3202 Sat Jan 7 21:26:00 MSK 2006 3201 Sat Jan 7 21:27:00 MSK 2006 3203 Sat Jan 7 21:28:00 MSK 2006 3203 Sat Jan 7 21:29:00 MSK 2006 3203 Sat Jan 7 21:30:00 MSK 2006 3202 Sat Jan 7 21:31:00 MSK 2006 3203 Sat Jan 7 21:32:00 MSK 2006 3203 Sat Jan 7 21:33:00 MSK 2006 3202 Sat Jan 7 21:34:00 MSK 2006 3202 Sat Jan 7 21:35:00 MSK 2006 3201 Sat Jan 7 21:36:00 MSK 2006 3201 Sat Jan 7 21:37:00 MSK 2006 3201 Sat Jan 7 21:38:00 MSK 2006 3200 Sat Jan 7 21:39:00 MSK 2006 3201 Sat Jan 7 21:40:00 MSK 2006 3199 Sat Jan 7 21:41:00 MSK 2006 3201 Sat Jan 7 21:42:01 MSK 2006 3201 Sat Jan 7 21:43:00 MSK 2006 3200 Sat Jan 7 21:44:00 MSK 2006 3200 Sat Jan 7 21:45:00 MSK 2006 3200 Sat Jan 7 21:46:00 MSK 2006 3200 Sat Jan 7 21:47:00 MSK 2006 3199 Sat Jan 7 21:48:00 MSK 2006 3199 Sat Jan 7 21:49:00 MSK 2006 3199 Sat Jan 7 21:50:00 MSK 2006 3198.544 Sat Jan 7 21:51:00 MSK 2006 3199 Sat Jan 7 21:52:00 MSK 2006 3199 Sat Jan 7 21:53:00 MSK 2006 3198 Sat Jan 7 21:54:00 MSK 2006 3197 Sat Jan 7 21:55:00 MSK 2006 3198 Sat Jan 7 21:56:00 MSK 2006 3197 Sat Jan 7 21:57:00 MSK 2006 3198 Sat Jan 7 21:58:00 MSK 2006 3197 Sat Jan 7 21:59:00 MSK 2006 3197 Sat Jan 7 22:00:00 MSK 2006 3198 Sat Jan 7 22:01:00 MSK 2006 3197 Sat Jan 7 22:02:00 MSK 2006 3197 Sat Jan 7 22:03:00 MSK 2006 3197 Sat Jan 7 22:04:00 MSK 2006 3196 Sat Jan 7 22:05:00 MSK 2006 3196 Sat Jan 7 22:06:00 MSK 2006 3195 Sat Jan 7 22:07:00 MSK 2006 3195.62 Sat Jan 7 22:08:00 MSK 2006 3196 Sat Jan 7 22:09:00 MSK 2006 3196 Sat Jan 7 22:10:00 MSK 2006 3196 Sat Jan 7 22:11:00 MSK 2006 3194 Sat Jan 7 22:12:00 MSK 2006 3195 Sat Jan 7 22:13:00 MSK 2006 3196 Sat Jan 7 22:14:00 MSK 2006 3195 Sat Jan 7 22:14:00 MSK 2006 3195 (+-2 megabyte fluctiations here is a result of rounding) As you can see, memory which was visible using top utility decreased from 3224 to 3195 Megabytes in less than 2 hours. And this process will continue to the point, where swapping begins. Server during this monitoring was running MySql4 + Apache1.3 under heavy load. How to get rid of such memory loss? And what is the reason of such memory loss? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FreeBSD ftpd & Windows compatibility
or to be exact - Windows incompatibility with standards & FreeBSD server. the problem: Windows clients (like total commander) can't fetch or delete files with spaces in name - while it can create such file. are there any solutions? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD ftpd & Windows compatibility
On Saturday 07 January 2006 02:58 pm, Wojciech Puchar wrote: > or to be exact - Windows incompatibility with standards & FreeBSD > server. > > the problem: > > Windows clients (like total commander) can't fetch or delete files > with spaces in name - while it can create such file. > > are there any solutions? > I have used WS Ftp-pro for years and never had any problems with blanks. I back up on to FreeBSD all of the music I convert into a lossy medium and the artist names, albums, and track names all have embedded blanks. I think there is a lite version that you can download for free. Kent -- Kent Stewart Richland, WA "Nunca te acostarás sin saber una cosa más" http://users.owt.com/kstewart/index.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD ftpd & Windows compatibility
it was said by Wojciech Puchar: >or to be exact - Windows incompatibility with standards & FreeBSD >server. > >the problem: > >Windows clients (like total commander) can't fetch or delete files >with >spaces in name - while it can create such file. > >are there any solutions? As this is a FreeBSD list, you may not get useful answers to questions about how to use various third-party Windows applications. Maybe asking the companies that sold you the broken software is a better idea. Of course, you could just not put spaces in the file names or use clients that do not have this problem HTH, stheg __ Yahoo! DSL Something to write home about. Just $16.99/mo. or less. dsl.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: Programming Book(s)
At 11:38 p.m. 07/01/2006 +0200, you wrote: On 2006-01-07 15:25, JD Arnold <[EMAIL PROTECTED]> wrote: >Danial Thom wrote: >>--- Nicolas Blais <[EMAIL PROTECTED]> wrote: >>>On January 2, 2006 04:52 pm, Sean wrote: Sean wrote: > Looking for recommendations on any Unix programming books. I have > been out of things for a while so I would put my skill level back > to the beginning. I forgot to mention that I wish to work withC/C++ >>> >>> There's a free C++ book which is great: >>> http://mindview.net/Books/TICPP/ThinkingInCPP2e.html >>> You can also buy the hardcopy on Amazon. >> >> I'd recommend learning C before C++. In order to be an effective unix >> programmer you must master the C language, as you'll have to examine >> and modify code in C to do anything substantial. Virtually all major >> programs and kernels are 'C' based. > > I think, in general, this is wrong. I think, in general, this is right. > And I think many "professionals" also feel that learning C++ is the > way to go. If you just learning, you might as well start with > C++. For many good reasons, see Stroustrup's answer himself: > > http://public.research.att.com/~bs/learn.html Which essentially boils down to "learn C++ it's better and easier to learn". I very much disagree, but this is another flamewar, I guess. Danial is right that there are many large programs out there that are written in C, not C++. This means that just learning C++ and hoping to "cope with it" when an 11,000,000-line monster, written in plain C, comes along is just not going to cut it. Thus, "learn both" is a good answer, but I understand that this may be quite impossible some times. Hello all. Very interesting comments and suggestions. I hope my question does not seems too off topic. Do you think the path to follow for developing applications for the new PDA, Smartphones, Ipaq and similar devices it is the same? C or C++? I have some friends that said it is the only way but I am not sure of that. Any experiences or comments.? Take care JB ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Need to simplify a script that makes cool trees
On Sat, 7 Jan 2006, Kristian Vaaf wrote: Here's the latest addition. Just to give you an idea of what simplicity I'm aiming towards. Have you seen this? (Not mine, found on Usenet long ago.) find ./ -type d -print | sed -e 's;[^/]*/;|;g;s;|;|;g' That's the whole thing. -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Problem in install USB data cabel (based on prolific 2303 chip) for Siemens C72 mobile phone.
On Saturday, 7 January 2006 at 19:10:33 +0200, [EMAIL PROTECTED] wrote: On Saturday, 7 January 2006 at 21:12:04 +0200, [EMAIL PROTECTED] wrote: On Saturday, 7 January 2006 at 21:12:04 +0200, [EMAIL PROTECTED] wrote: On Saturday, 7 January 2006 at 21:14:19 +0200, [EMAIL PROTECTED] wrote: > # This is loader.conf - a file full of useful variables that you can > # set to change the default load behavior of your system. Only yesterday I replied to another message of yours suggesting that you should read http://www.lemis.com/questions.html. You appear not to have done so. There you would have read: > When submitting a question to FreeBSD-questions, consider the > following points: > >1. Remember that nobody gets paid for answering a FreeBSD > question. They do it of their own free will. You can influence > this free will positively by submitting a well-formulated > question supplying as much relevant information as possible. You > can influence this free will negatively by submitting an > incomplete, illegible, or rude question. > ... > 6. Specify as much information as possible. > > * In nearly every case, it's important to know the version of > FreeBSD you're running. This is particularly the case for > FreeBSD-CURRENT, where you should also specify the date of the > sources, though of course you shouldn't be sending questions > about -CURRENT to FreeBSD-questions. > > * With any problem which could be hardware related, tell us about > your hardware. In case of doubt, assume it's possible that it's > hardware. What kind of CPU are you using? How fast? What > motherboard? How much memory? What peripherals? > > * If you get error messages, don't say "I get error messages", say > (for example) "I get the error message 'No route to host"'. You have driven this problem to extremes by not specifying any problem at all. > 7. If you do all this, and you still don't get an answer, there > could be other reasons. For example, the problem is so > complicated that nobody knows the answer, or the person who does > know the answer was offline. If you don't get an answer after, > say, a week, it might help to re-send the message. If you don't > get an answer to your second message, though, you're probably > not going to get one from this forum. Resending the same message > again and again will only make you unpopular. You sent the same message four times in two hours. You didn't state a problem, so you were lucky to get any kind of reply at all. You won't get a solution to your problem until you describe it. Please don't send any more messages until you have something to say. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html Finger [EMAIL PROTECTED] for PGP public key. See complete headers for address and phone numbers. pgpZ3wGlIwcD0.pgp Description: PGP signature
Re: Programming Book(s)
--- JD Arnold <[EMAIL PROTECTED]> wrote: > Danial Thom wrote: > > > > --- Nicolas Blais <[EMAIL PROTECTED]> > wrote: > > > >> On January 2, 2006 04:52 pm, Sean wrote: > >>> Sean wrote: > Looking for recommendations on any Unix > >> programming books. > I have been out of things for a while so I > >> would put my skill level back > to the beginning. > > Thanks > Sean > > >> > ___ > freebsd-questions@freebsd.org mailing list > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > > "[EMAIL PROTECTED]" > >>> I forgot to mention that I wish to work > with > >> C/C++ > >>> Thanks again, > >>> Sean > >> There's a free C++ book which is great : > >> > > > http://mindview.net/Books/TICPP/ThinkingInCPP2e.html > >> You can also buy the hardcopy on Amazon. > >> > >> Nicolas > >> > > > > I'd recommend learning C before C++. In order > to > > be an effective unix programmer you must > master > > the C language, as you'll have to examine and > > modify code in C to do anything substantial. > > Virtually all major programs and kernels are > 'C' > > based. > > I think, in general, this is wrong. And I > think many "professionals" > also feel that learning C++ is the way to go. > If you just learning, > you might as well start with C++. For many good > reasons, see > Stroustrup's answer himself: > > http://public.research.att.com/~bs/learn.html > The concept that skipping the education part of it because C is too difficult is brilliant. I'll bet you all the guys at Bell Labs know C though. The question is, do you want to just write programs or do you want to be a programmer? If you buy a coffee table at AKEA and put it together you're not a carpenter. Just as if you slap together some C++ library code you're not a programmer. There is a distinction. DT __ Yahoo! DSL Something to write home about. Just $16.99/mo. or less. dsl.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: Programming Book(s)
On 07/01/06 Jorge Biquez said: > Hello all. Very interesting comments and suggestions. > I hope my question does not seems too off topic. Do you think the path to > follow for developing applications for the new PDA, Smartphones, Ipaq and > similar devices it is the same? C or C++? I have some friends that said it > is the only way but I am not sure of that. Any experiences or comments.? With the kind of hardware that can be put into a device like that these days, it's hard to tell, but I tend to see C/C++. Occasionally I see Java, sometimes Python. There is no rule for this, you simply use the right tool for the job. Mike -- Michael P. Soulier <[EMAIL PROTECTED]> "Those who would give up esential liberty for temporary safety deserve neither liberty nor safety." --Benjamin Franklin pgp0kpe2PjZn1.pgp Description: PGP signature
Re: Programming Book(s)
--- "Michael P. Soulier" <[EMAIL PROTECTED]> wrote: > On 07/01/06 Jorge Biquez said: > > > Hello all. Very interesting comments and > suggestions. > > I hope my question does not seems too off > topic. Do you think the path to > > follow for developing applications for the > new PDA, Smartphones, Ipaq and > > similar devices it is the same? C or C++? I > have some friends that said it > > is the only way but I am not sure of that. > Any experiences or comments.? > > With the kind of hardware that can be put into > a device like that these days, > it's hard to tell, but I tend to see C/C++. > Occasionally I see Java, sometimes > Python. > > There is no rule for this, you simply use the > right tool for the job. > Am I the only one that has noticed that virtually everything written in Java sucks? I don't understand why its used. Is having a program that sucks on multiple platforms really an advantage over having a program that is good on 1 or 2 platforms? I really don't get it. DT __ Yahoo! DSL Something to write home about. Just $16.99/mo. or less. dsl.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: freebsd 6 - amount of total visible memory is decreasing constantly
Ilya E Veretenkin wrote: Problem: Total amount of visible memory is decreasing constantly [ ... ] As you can see, memory which was visible using top utility decreased from 3224 to 3195 Megabytes in less than 2 hours. And this process will continue to the point, where swapping begins. Server during this monitoring was running MySql4 + Apache1.3 under heavy load. How to get rid of such memory loss? And what is the reason of such memory loss? Pay attention to "sysctl kern.malloc" or "sysctl vm.zone" periodicly, and see whether some part of the kernel is leaking memory. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: /dev/eth0 question - prefer reply in next 20mins
On Sat, 7 Jan 2006, Robert Slade wrote: As the problem is with FC4 why not ask on their mailing list? Rob Good point, and I apologize for the transgression. (With my PC off, I took out the NIC, tapped it, blew dust off it, rebooted and DSL worked fine! Go figure.) :) -- Peter Leftwich, Owner Video2Video Services Box 13692, La Jolla, CA, 92039, USA http://Www.Video2Video.Com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: script to monitor internet connection
what is this, dsl, cable, dialup modem? Ted >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] Behalf Of Brian John >Sent: Friday, January 06, 2006 5:23 AM >To: freebsd-questions@freebsd.org >Subject: script to monitor internet connection > > >Hello, >I would like to write a script to monitor my internet >connection status. >My home connection goes down fairly often and I would like to >get an idea >for just how often it goes down and if possible how long it >goes down for. > Could someone help me write a script that will check my >connection to the >internet and log whenever it goes down and possibly how long it >goes down >for? I want to have some evidence to give to my ISP that my >connection is >going down. > >Thanks > >/Brian >___ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to >"[EMAIL PROTECTED]" > >-- >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.1.371 / Virus Database: 267.14.15/223 - Release >Date: 1/6/2006 > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: FreeBSD on DL145G2
Since these are new you need to return them to HP and exchange for a different server, or get your money back. Ted >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] Behalf Of Albert Shih >Sent: Friday, January 06, 2006 8:13 AM >To: freebsd-questions@freebsd.org >Subject: FreeBSD on DL145G2 > > >Hi all > >I've some big problem to install FreeBSD (actually 6.0) on my two new HP >DL145G2 with two AMD Opteron 248. > >When I boot the cd the system waiting very long time after >Waiting 5 sec to scsi settle (or something like that) >I have many message mpt0 time out (I've SCSI Disk) > >After that I can install (but I just see one disk and I've two >disk). But >when I reboot the system don't see the disk is bootable. > >Anyone have succefully install FreeBSD on DL145 G2 ? > >Lots of thanks. >-- >Albert SHIH >Universite de Paris 7 (Denis DIDEROT) >U.F.R. de Mathematiques. >Heure local/Local time: >Fri Jan 6 17:10:26 CET 2006 >___ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to >"[EMAIL PROTECTED]" > >-- >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.1.371 / Virus Database: 267.14.15/223 - Release >Date: 1/6/2006 > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: /dev/eth0 question - prefer reply in next 20mins
>-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] Behalf Of Robert Slade >Sent: Friday, January 06, 2006 11:39 PM >To: Peter Leftwich >Cc: [EMAIL PROTECTED] >Subject: Re: /dev/eth0 question - prefer reply in next 20mins > > >As the problem is with FC4 why not ask on their mailing list? > He probably thinks the competence level on this list is higher. Kind of makes you wonder why he's running their OS. ;-) Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Sparc vs i386 architecture
What machine code exploits currently exist for FreeBSD on the i386 other than the F00F bug, which has already been patched out? I wasn't aware of any. Ted >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] Behalf Of Michael >Bernstein >Sent: Saturday, January 07, 2006 1:53 PM >To: Robert Slade; jasonharback >Cc: freebsd-questions@freebsd.org >Subject: Sparc vs i386 architecture > > >Hi group, I was just wondering if there's an advantage to >running FreeBSD on >a SPARC than compared with a regular PC. Obviously the architecture is >different (CISC vs RISC). How ever you can purchase a higher >powered PC box >for less money than it would cost for a SPARC. > >The main advantage I'm seeing here is for security. It's going >to be harder >to break into a SPARC running FreeBSD than an Intel/Amd running >FreeBSD b/c >most machine code exploits will be for the i386 type architecture. > >Any insights are much appreciated. > >Michael > > >- Original Message - >From: "Robert Slade" <[EMAIL PROTECTED]> >To: "jasonharback" <[EMAIL PROTECTED]> >Cc: >Sent: Saturday, January 07, 2006 2:43 AM >Subject: Re: Sparc dual boot problems > > >> On Sat, 2006-01-07 at 03:47, jasonharback wrote: >> > Here's the situation >> > >> > >> > >> > The machine is a SUN ULTRA 5 and I have 4 IDE devices. I am >new to SUN >hardware I know much more about PC's. The first device primary >master is >the cdrom which Solaris 10 and FreeBSD were successfully installed from. >Currently Solaris 10 which is the primary slave is the default >boot device. >FreeBSD is installed on the primary slave drive. I am used to >the FreeBSD >install on a PC and during that install it gave time for configuring the >boot loader but I can't find it on the recent Sparc FreeBSD >edition? During >the partition process it says I will have the option to >configure the boot >loader latter. Right now I can't boot FreeBSD and I have no idea how to >configure this machine to make it dual boot? I would like to >have Solaris >10 as the primary O/S, FreeBSD as the secondary and Sparc Linux >on the third >hd. >> > >> > >> > >> > Can you please help? >> > >> > Jason Harback >> >> Jason, >> >> You don't need to use a boot loader with the U5, just boot to >the promt >> (Stop A). Then just type boot followed by the alias of the slice you >> want to boot. >> >> Rob >> >> ___ >> 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]" > >-- >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.1.371 / Virus Database: 267.14.15/223 - Release >Date: 1/6/2006 > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Spamcop listed - need help to diagnose why
>-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] Behalf Of Robert Slade >Sent: Friday, January 06, 2006 11:24 PM >To: David Banning >Cc: [EMAIL PROTECTED] >Subject: Re: Spamcop listed - need help to diagnose why > > > >There is your problem TMDA is most likely the cause. Such programmes are >in effect adding to the spam problem. Nearly all spam has a forged from >address and all programmes such as TMDA do is send a challenge to an >innocent 3rd party. Whist it looks like it reduces your spam all you do >is in effect spam someone else. When your e-mail address has been used >in a spam run by a spammer and you start getting 10s of these challenge >an hour it is quite easy to report 1 my accident. If you look at the >Spamcop reporting page you will see a warning about just this situation. > >I suppose that the real answer is to stop compounding the spam problem >and use a combination of spamassassin and block lists. > >BTW I make it a point never to respond to challenges. > Ditto, and for the same reasons. I've removed David from the cc list on this for that reason as well. Also we need to be aware of another trick that spammers have figured out, that applies to anyone running multiple MX records on a domain (I don't know if David is in that situation) Normally if a domain has a single mailserver processing incoming mail, there's a single MX record pointing to a single machine. But in many cases it's desirable to relay mail through a prefilter system before it gets to the actual mailserver. In those cases a common trick is to block the highest priority MX host off with an access list. Senders try the highest priority, it fails, they then go to the next highest priority host which is the relay host. That host gets it, does it's thing, then tries to send it to the highest priority server which should work since the access list permits that server. This technique has been mentioned in the sendmail book among others. The problem is what spammers are doing now is they find one of these hosts, and pump millions of messages to the secondary, with the VICTIM address as the senders address, and a bogus address as the recipient address. The secondary gets the mail, and tries relaying it to the primary, the primary rejects the mail as user-not-found and the secondary tries to return the message to the sender - which is the victim address. So the spam targets get messages from mailer-daemon that originate from a legitimate host, but are spam. It's a warzone out there, folks. Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: /dev/eth0 question - prefer reply in next 20mins
At Sat, 7 Jan 2006 it looks like Peter Leftwich composed: > On Sat, 7 Jan 2006, Robert Slade wrote: > > As the problem is with FC4 why not ask on their mailing list? > > Rob > > Good point, and I apologize for the transgression. > > (With my PC off, I took out the NIC, tapped it, blew dust off it, rebooted and > DSL worked fine! Go figure.) > I've had instances where if a machine is a dual boot that one has to clear the previous systems (residual) settings by powering off, then back on. Soft (re)booting from one OS to the other would not clear the nic of prior settings. Hope that helps. -- Bill Schoolcraft PO Box 210076 San Francisco, CA 94121 "UNIX, A Way of Life." http://billschoolcraft.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Server vendor specific mailing lists ...
Not sure who best to send this to, but figured I'd send it publicly to see also if others think this idea might have merit ... Basically, I'm just about to take possession of my first HP server ... my biggest 'fear' is that HP doesn't support FreeBSD, but from posts I've seen here, that shouldn't be a problem ... what I'd love to see is a 'vendor specific' mailing list where ppl can more easily tap others brains for their experiences ... a "FreeBSD user support group for {IBM,HP,Dell} servers", that a FreeBSD user can turn to knowing that others on that list are using "their vendor of choice" for their servers ... Its hard to post to -questions, with the amount of volume that is in there, and keep track of things ... I'd like to be able to post about experiences with IFO, for instance, and how others running FreeBSD are avoiding (if they are?) using Windows for server monitoring, stuff like that ... Its not a "-stable vs -current" sort of thing ... nor an "-amd vs -i386" one ... its experiences with a specific server vendor ... Might be a good way of getting together groups of FreeBSDers looking to 'pressure' their various vendors-of-choice into supporting FreeBSD better also ... Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: [EMAIL PROTECTED] Yahoo!: yscrappy ICQ: 7615664 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
freebsd.org email
Can I get an email address on @freebsd.org ? Regards, Imran Imtiaz ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
System segfaulting / panicking a lot after kernel upgrade
Hello again, I've reinstalled FreeBSD 6.0 on my celeron box recently, and after a kernel upgrade my system seems to be segfaulting a lot during compilations and has panicked quite a few times. First thing that pops into my mind is bad RAM, but I also changed the CPU arch to pentium3 (which I thought was valid for my Tualatin 1.2 GHz Celeron), and upped the optimization level to -O2. Could that possibly have anything to do with the issues I am seeing? I also added quite a few modules to WITHOUT_MODULES, which I didn't think would cause a problem, but I'm not a pro at maneuvering around the FreeBSD kernel yet... Thanks in advance, -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Sparc vs i386 architecture
On Sun, 2006-01-08 at 04:51, Ted Mittelstaedt wrote: > What machine code exploits currently exist for FreeBSD on the i386 > other than the F00F bug, which has already been patched out? > I wasn't aware of any. > > Ted > > >-Original Message- > >From: [EMAIL PROTECTED] > >[mailto:[EMAIL PROTECTED] Behalf Of Michael > >Bernstein > >Sent: Saturday, January 07, 2006 1:53 PM > >To: Robert Slade; jasonharback > >Cc: freebsd-questions@freebsd.org > >Subject: Sparc vs i386 architecture > > > > > >Hi group, I was just wondering if there's an advantage to > >running FreeBSD on > >a SPARC than compared with a regular PC. Obviously the architecture is > >different (CISC vs RISC). How ever you can purchase a higher > >powered PC box > >for less money than it would cost for a SPARC. > > > >The main advantage I'm seeing here is for security. It's going > >to be harder > >to break into a SPARC running FreeBSD than an Intel/Amd running > >FreeBSD b/c > >most machine code exploits will be for the i386 type architecture. > > > >Any insights are much appreciated. > > > >Michael > > > > > >- Original Message - > >From: "Robert Slade" <[EMAIL PROTECTED]> > >To: "jasonharback" <[EMAIL PROTECTED]> > >Cc: > >Sent: Saturday, January 07, 2006 2:43 AM > >Subject: Re: Sparc dual boot problems > > > > > >> On Sat, 2006-01-07 at 03:47, jasonharback wrote: > >> > Here's the situation > >> > > >> > > >> > > >> > The machine is a SUN ULTRA 5 and I have 4 IDE devices. I am > >new to SUN > >hardware I know much more about PC's. The first device primary > >master is > >the cdrom which Solaris 10 and FreeBSD were successfully installed from. > >Currently Solaris 10 which is the primary slave is the default > >boot device. > >FreeBSD is installed on the primary slave drive. I am used to > >the FreeBSD > >install on a PC and during that install it gave time for configuring the > >boot loader but I can't find it on the recent Sparc FreeBSD > >edition? During > >the partition process it says I will have the option to > >configure the boot > >loader latter. Right now I can't boot FreeBSD and I have no idea how to > >configure this machine to make it dual boot? I would like to > >have Solaris > >10 as the primary O/S, FreeBSD as the secondary and Sparc Linux > >on the third > >hd. > >> > > >> > > >> > > >> > Can you please help? > >> > > >> > Jason Harback > >> > >> Jason, > >> > >> You don't need to use a boot loader with the U5, just boot to > >the promt > >> (Stop A). Then just type boot followed by the alias of the slice you > >> want to boot. > >> > >> Rob > >> Ted, Good point. However, in my case I'm using the sparc (its a U10) because it there. I originally got it as I needed to find out about Solaris/Sparc. It was lying in the back of a cupboard so when I started to investigate replacements for a domain based on W2k using FBSD I dusted it off and I'm using it for the BDC. The only thing I really noticed is the disk(s) are slow compared (SUN's IDE) to the PDC which has a fast scsi setup. Given the choice I think I would still go for a good sparc from Ebay over a i386. Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"