ttys file question

2013-09-11 Thread Jack Mc Lauren
I have added the following entry to /etc/gettytab file

test.std.115200:\
:ep:sp#4800:tc:Pc

And also I have changed /etc/ttys file

cuau3   /usr/libexec/getty test.std.115200cons25  on secure

I expect /dev/cuau3 device to use even parity and 4800 as speed, but when I 
check the device properties using stty -f /dev/cuau3, only speed changes to 
4800 and parity value does not change.

Here's the output of stty -f /dev/cuau3 after applying the changes using kill 
-HUP 1 command.


speed 4800 baud;
lflags: -icanon -isig -iexten -echo
iflags: -icrnl -ixon -ixany -imaxbel -brkint
oflags: -opost tab3
cflags: cs8 -parenb
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Fw: ttys file question

2013-09-11 Thread Jack Mc Lauren
I have added the following entry to /etc/gettytab file


test.std.115200:\
:ep:sp#4800:tc:Pc

And also I have changed /etc/ttys file

cuau3   /usr/libexec/getty test.std.115200    cons25  on secure

I expect /dev/cuau3 device to use even parity and 4800 as speed, but when I 
check the device properties using stty -f /dev/cuau3, only speed changes to 
4800 and parity value does not change.

Here's the output of stty -f /dev/cuau3 after applying the changes using kill 
-HUP 1 command.


speed 4800 baud;
lflags: -icanon -isig -iexten -echo
iflags: -icrnl -ixon -ixany -imaxbel -brkint
oflags: -opost tab3
cflags: cs8 -parenb
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ttys file question

2013-09-09 Thread Jack Mc Lauren
 But I can not connect to my server with this configuration. But if I
 change ttyu6 to cuau6, everything works fine! I don't understand the
 difference, would you please explain the reason for me?

In short the tty devices are for outgoing connections, the cua
devices are for incoming connections.

For more detail see sio(4), after all the detail about multi-port
serial cards and their master ports comes a couple of paragraphs describing
the devices associated with each serial port in detail.

-- 
Steve O'Hara-Smith st...@sohara.org



Thanks. Another question is how can I change the default values of e.g. 
databits, stopbits and ... for the device?
I can set the speed in /etc/ttys.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


ttys file question

2013-09-08 Thread Jack Mc Lauren
Hi list

I'm trying to connect to my server via a serial port which is named ttyu6 under 
FreeBSD. In order to do that, I've decided to change /etc/ttys file like this:

# Serial terminals
# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
ttyu6   /usr/libexec/getty std.115200 cons25  on secure


But I can not connect to my server with this configuration. But if I change 
ttyu6 to cuau6, everything works fine! I don't understand the difference, would 
you please explain the reason for me?

Thanks in advance 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


ttys file question

2013-09-08 Thread Jack Mc Lauren
Hi list


I'm trying to connect to my server via a serial port which is named ttyu6 under 
FreeBSD. In order to do that, I've decided to change /etc/ttys file like this:

# Serial terminals
# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
ttyu6   /usr/libexec/getty std.115200 cons25  on secure


But I can not connect to my server with this configuration. But if I change 
ttyu6 to cuau6, everything works fine! I don't understand the difference, would 
you please explain the reason for me?

Thanks in advance 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Fw: ttys file question

2013-09-08 Thread Jack Mc Lauren
Hi list

I'm trying to connect to my server via a serial port which is named ttyu6 under 
FreeBSD. In order to do that, I've decided to change /etc/ttys file like this:

#Serial terminlas
#The 'dialup' keyword identifies dialin lines to login, fingerd etc.
ttyu6  /usr/libexec/getty  std.115200 cons25 on secure


But I can not connect to my server with this configuration. But if I change 
ttyu6 to cuau6, everything works fine! I don't understand the difference, would 
you please explain the reason for me?

Thanks in advance 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


ttys file question

2013-09-08 Thread Jack Mc Lauren
Hi list

I'm trying to connect to my server via a serial port which is named ttyu6 under 
FreeBSD. In order to do that, I've decided to change /etc/ttys file like this:

ttyu6    std.115200 cons25  on secure

But I can not connect to my server with this configuration. But if I change 
ttyu6 to cuau6, everything works fine! I don't understand the difference, would 
you please explain the reason for me?

Thanks in advance 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Using snort in inline mode with IPFW

2013-06-27 Thread Jack Mc Lauren
Hi all
Have you guys ever tried this combination? Using snort in inline mode and IPFW 
as daq. 
I have added the following lines to the default /usr/local/etc/snort/snort.conf 
file :

config daq: ipfw
config daq_mode: inline
config policy_mode: inline

And I use the following script to run snort:

#!/bin/sh
ipfw -q delete set 10 /dev/null 1/dev/null 2/dev/null
ipfw -q delete 401 /dev/null 1/dev/null 2/dev/null
ipfw -q delete 402 /dev/null 1/dev/null 2/dev/null
ipfw -q delete 403 /dev/null 1/dev/null 2/dev/null
ipfw -q add 401 allow all from 224.0.0.0/24 to any /dev/null 1/dev/null 
2/dev/null
ipfw -q add 402 allow all from any to 224.0.0.0/24 /dev/null 1/dev/null 
2/dev/null
ipfw -q add 403 allow all from me to me /dev/null 1/dev/null 2/dev/null
/bin/snort --daq ipfw --daq-var port=1500 -N -A full -l /var/log/snort/ -c 
/usr/local/etc/snort/snort.conf /dev/null 1/dev/null 2/dev/null -q 
ipfw -q add 451 set 10 divert 1500 all from any to any /dev/null 1/dev/null 
2/dev/null

But it does not drop the packets.
Any suggestions or experiences ?

Thanks in advance 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


make release fails

2013-05-23 Thread Jack Mc Lauren
Hi
I'm trying to make my own release ...

# cd /usr/src
# make buildkernel KERNCONF=MYKERN
# make -j4 buildworld
# cd release/
# make release NODOC=YES NOPORTS=YES NOSRC=YES

and that's the error while making release:


find //usr/obj/usr/src/release/dist/doc -empty -delete
find: -delete: //usr/obj/usr/src/release/dist/doc: relative path potentially not
 safe
*** [distributeworld] Error code 1

Stop in /usr/src.
*** [distributeworld] Error code 1

Stop in /usr/src.
*** [base.txz] Error code 1

Stop in /usr/src/release.
*** [release] Error code 1

Stop in /usr/src/release

These are contents of /etc/src.conf file :

WITHOUT_BLUETOOTH=YES
WITHOUT_EXAMPLES=YES
WITHOUT_FLOPPY=YES
WITHOUT_GAMES=YES
WITHOUT_MAN=YES
WITHOUT_MAN_UTILS=YES
WITHOUT_SHAREDOCS=YES
WITHOUT_WIRELESS=YES
WITHOUT_WIRELESS_SUPPORT=YES
WITHOUT_AT=YES
WITHOUT_CALENDAR=YES
WITHOUT_INFO=YES
WITHOUT_LOCALES=YES
WITHOUT_ZFS=YES
WITHOUT_BSD_CPIO=YES
WITHOUT_CTM=YES
WITHOUT_DICT=YES
WITHOUT_GDB=YES
WITHOUT_GNU=YES
WITHOUT_GROFF=YES
WITHOUT_HTML=YES
WITHOU_INFO=YES
WITHOUT_LPR=YES
WITHOUT_MAIL=YES
WITHOUT_PORTSNAP=YES
WITHOUT_QUOTAS=YES
WITHOUT_RCS=YES
WITHOUT_SYSINSTALL=YES
WITHOUT_BIND=YES
WITHOUT_BIND_XML=YES
WITHOUT_BIND_IDN=YES
WITHOUT_BIND_SIGCHASE=YES
WITHOUT_BIND_LARGE_FILE=YES
WITHOUT_FREEBSD_UPDATE=YES
WITHOUT_RESCUE=YES

What's wrong with this?
Thanks in advance
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


assign IP address to ng interface without destination address

2013-02-18 Thread Jack Mc Lauren
Hi fellas

Is it possible to assign IP address to ng interfaces without destination 
address ?
Is it possible to assign the destination address later ?

Thanks in advance ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


installing a new device driver

2013-01-09 Thread Jack Mc Lauren
Hi all
Sorry I ask so much cause I'm a new user to freeBSD :)

Hear's the deal. How can I install a new device driver on my OS ? Please 
explain in details because of the reason I mentioned earlier :)

Thanks in advance ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: installing a new device driver

2013-01-09 Thread Jack Mc Lauren
This is the output of pciconf -lv :

    vendor     = 'FarSite Communications Limited'
    device     = 'G.SHDSL Intelligent Sync Comms Card (FarSync DSL-S1)'
    class      = simple comms

So what is the next step ?



 From: Ralf Mardorf ralf.mard...@rocketmail.com
To: freebsd-questions@freebsd.org 
Sent: Wednesday, January 9, 2013 1:55 PM
Subject: Re: installing a new device driver
 
On Wed, 2013-01-09 at 02:09 -0800, Jack Mc Lauren wrote:
 How can I install a new device driver on my OS ?

I'm new to FreeBSD myself :).

Manually as root run

        kldload driver_name
        
this is something I already used myself.


To load the module automagically at startup, edit /boot/loader.conf

        driver_name=YES
        
I never used this myself until now.


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-modules.html


Hth,
Ralf

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


keyboard and mouse problem

2013-01-08 Thread Jack Mc Lauren
Hi guys

I have a freeBSD 8.2 amd64 on my system and I'm using gnome environment. But 
after a few seconds my USB keyboard and  PS/2 mouse hang up !!!

What should I do ?

Thanks in advance ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


system restart after some seconds

2013-01-04 Thread Jack Mc Lauren
Hi

How can I restart my freeBSD after specific seconds ?

Thanks in advance ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


using iniparser.h

2012-12-26 Thread Jack Mc Lauren
Hi guys

Take a look to the code below :

#include iostream
#include string.h
#include iniparser.h
#include dictionary.h

using namespace std;

int main()
{
    dictionary *dict = new dictionary;
    dirent *dir = new dirent;
    char *c;
    dict = iniparser_load(/tmp/test.ini);
    c = iniparser_getstring(dict,s,w);
    cin.get();
    return 0;
}

I have this error :

***main.cpp:17: undefined reference to `iniparser_load'
***/main.cpp:18: undefined reference to `iniparser_getstring'

any suggestions ?

Thanks in advance ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


shell script problem

2012-12-23 Thread Jack Mc Lauren
Hi all
Please take a look at the script below wich I've wrote :
1- cat /foo/bar.txt | while read $LINE12- do3-    cat /foo/bar/foo/bar.txt | 
while read $LINE24-    do 5-         if [ $LINE1 = $LINE2 ]; then6-         
      sw=17-               echo Current value of sw is :  $sw8-             
  break9-         fi10-    done11-    echo Value of sw is :  $sw12-    if [ 
$sw = 0 ]; then13-         DO SOMETHING14-    fi15-    sw=016- done       
   
You probebly guessed what I want to do. But the problem is that when the value 
of sw sets to 1 (in the first if statement) and the loop breaks , the value of 
sw is not '1' anymore in  echo Value of sw is :  $sw  !!!
Thanks in advance ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


exclude directories from find command

2012-12-22 Thread Jack Mc Lauren
Hi fellas
How can I exclude specific directories from my find command ? I want to look 
for all files in the whole system except for those in e.g /extra directory. 
I use this command to find all files, but how can I exclude /extra directory ?

find / -type f

Thanks in advance ... 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Installing chromium port

2012-12-19 Thread Jack Mc Lauren
Hi guys
When I attempt to install chromium port I face this error :
===  chromium-6.0.472.63 is forbidden: several security vulnerabilities.*** 
Error code 1
What should I do with this ??
Thanks in advance
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


using AWK

2012-12-17 Thread Jack Mc Lauren
Hi guys

How can I read a file which contains a number and assign that number to a 
variable via awk programming? By the way, I want to use this awk program in a 
shell script.

Thanks in advance
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: using AWK

2012-12-17 Thread Jack Mc Lauren
Hi Jack,



HI

 How can I read a file which contains a number and assign that number to
 a variable via awk programming? By the way, I want to use this awk program
 in a shell script.

I'm actually not sure what you're asking, exactly -- you want the number
to go into an awk variable? Or a shell variable?

Yes, I want the number to go into an awk variable.

Assuming you want it to go into an awk variable, I would try something
like this:

    getline my_number  filename;
    close filename;

That assumes the filename is stored in the variable named filename.
It puts the number in the awk variable named my_number.

To put that in context, let's say you're getting the filename from $0,
and you want to multiply the number by 2 and print it. You might do:

    filename = $0;
    getline my_number  filename;
    close filename;
    print my_number * 2;

Or if I completely misinterpreted your question, let me know :-)

    ~Ben


This is what i wrote:


#! /bin/sh

filename=$0
awk 'getline no  filename; print no'

But when I run this script

sh /awk_no.sh /var/no.txt

I have this error :

awk: syntax error at source line 1
 context is
        getline no  filename;   print   no
awk: bailing out at source line 1

Thank you :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


using AWK - Thanks :)

2012-12-17 Thread Jack Mc Lauren
Hi all

Thank you so much my friends, 
Ben
Frank
Polytropon
Devin
you helped me so much :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Listen to file changes

2012-12-14 Thread Jack Mc Lauren
Hi all
I want to monitor files access and change time. How can I listen to specific 
file or directory to monitor ? I'm coding with c.

Thanks In advance ...   
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ugh. dump / restore problem(s) Cannot find file dump list

2012-11-14 Thread Jack Mc Lauren





 From: Polytropon free...@edvax.de
To: free...@dreamchaser.org 
Cc: FreeBSD Mailing List freebsd-questions@freebsd.org 
Sent: Wednesday, November 14, 2012 12:27 PM
Subject: Re: ugh.  dump / restore problem(s) Cannot find file dump list
 
On Wed, 14 Nov 2012 01:20:14 -0700, Gary Aitken wrote:
   mount /dev/ada0p4 /mnt/ssd/var
   cd /mnt/ssd/var
   restore -r /usr/backup/dump_var_0_20121113_1920
   Cannot find file dump list

The last command looks wrong. The restore program requires
the dump file to be provided via -f, so

    # restore -rf /usr/backup/dump_var_0_20121113_1920

should work. You can find an example in man restore.


Hi
There is no - . This is the correct format : restore rf /path/to/dump/files

good luck :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


nanobsd boot problem

2012-11-07 Thread Jack Mc Lauren
Hi all
I have some problems in the second phase of running a
device from a nanobsd image. 
After copying the image on a flash memory, and after I set
the system to boot up from flash memory, I just see a black screen and a
blinking cursor ! looks like the boot device ( flash memory ) is not recognized
by the system.
Here are my debugging information , if they are not enough,
tell me please to send you necessary informations :
dmesg output :
da0 at umass-sim0 bus 0 scbus0
target 0 lun 0
da0: UFD 2.0 Silicon-Power8G
PMAP Removable Direct Access SCSI-4 device
da0: 40.000MB/s transfers
da0: 7388MB (15130624 512 byte
sectors: 255H 63S/T 941C)   
according to the last line, I change the NANO_SECTS to 63
and NANO_HEADS to 255. (in nanobsd.sh).
ls /dev output :
   da0s1   da0s1a ad6s1b  da0s3   
ad6s1d  da0s4
according to the first column , I set NANO_DRIVE to da0. (in
nanobsd.sh)
and here are the contents of the flash memory :
    ls /mnt
.cshrc  boot    lib rescue  usr
.profile    cfg libexec root    var
.snap   conf    media   sbin
COPYRIGHT   dev mnt sys
bin etc proc    tmp
Am I missing something ?? could you please me please ? 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Access packets directly from NIC

2012-10-31 Thread Jack Mc Lauren
Hello FreeBSD users !

How can i access and check packets directly from NIC ?

Regards,
Jack
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Access packets directly from NIC

2012-10-31 Thread Jack Mc Lauren
I believe that easiest way is using tcpdump.
Also you should specify what you mean by 'accessing packets': is it
the need to view raw packet data, or what? :)

Yes, i need to view raw packets and check their protocol, e.g. whether they are 
ICMP packets or something else ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Access packets directly from NIC

2012-10-31 Thread Jack Mc Lauren


I believe that easiest way is using tcpdump.
Also you should specify what you mean by 'accessing packets': is it
the need to view raw packet data, or what? :)

Yes, i need to view raw packets and check their protocol, e.g. whether they are 
ICMP packets or something else ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


nanobsd configuration

2012-10-23 Thread Jack Mc Lauren
hi 

i have a problem with nanobsd. there are somethings which don't have WITHOUT 
knobs, how can i control these directories manually ? how can i add a costume 
function to nanobsd.sh to do this ??

thanks ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: nanobsd configuration

2012-10-23 Thread Jack Mc Lauren





 From: Arthur Chance free...@qeng-ho.org
To: Jack Mc Lauren jack.mclau...@yahoo.com 
Cc: freebsd-questions@freebsd.org freebsd-questions@freebsd.org 
Sent: Tuesday, October 23, 2012 2:54 PM
Subject: Re: nanobsd configuration
 
On 10/23/12 09:28, Jack Mc Lauren wrote:
 hi
 
 i have a problem with nanobsd. there are somethings which don't have WITHOUT 
 knobs,
 how can i control these directories manually ? how can i add a costume 
 function to
 nanobsd.sh to do this ??

How about something along the lines of

cust_clean () {
    rm -rf ${NANO_WORLDIR}/path/to/unwanted
}

customize_cmd cust_clean

in your nanobsd config file?


===
thanks 
you mean after building image, this function remove unwanted from WORLDDIR ?
i suppose this will not effect the image, because the image had been built 
before removing unwanted directories ...
did i get your point correctly ? 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: corrupted tar.gz archive - I lost my backups :)/:(

2012-02-13 Thread Pegasus Mc Cleaft
Hi, 

It would depend, I think, on how the file is corrupted.  Is it the
compressed data that is corrupted or the uncompressed tar stream?  You might
want to try the pax(1) utility to see if it is able to push through the
errors (if its in the tar stream). 

I was able to recover data from a corrupted cpio file that I created
(I was using huge file lengths and didn't realize that cpio had a file size
limit). 

Peg

 -Original Message-
 From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
 questi...@freebsd.org] On Behalf Of _
 Sent: 14 February 2012 01:57
 To: freebsd-questions@freebsd.org
 Subject: corrupted tar.gz archive - I lost my backups :)/:(
 
 Hi,
 
 Before making the move from 7.0 to 8.2, I ran a little script that did a
 backup of selected files and folders.
 
 Trying to recover these files on 8.2, I found that some of the archives
 - unfortunately those with the files that are dear to me - are
 corrupted.
 
 In other words, I just wanted to ask if there's anyone on here, who
 knows of a good repair utility for corrupted tar.gz archives?
 
 Thanks
 
 pancakeking79
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-
 unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: corrupted tar.gz archive - I lost my backups :)/:(

2012-02-13 Thread Pegasus Mc Cleaft


 -Original Message-

SNIP

 tar: Damaged tar archive
 tar: Retrying...
 tar: gzip decompression failed
 tar: Error exit delayed from previous errors.
 # gzip --test sr12292011.tar.gz
 gzip: data stream error
 gzip: sr12292011.tar.gz: uncompress failed # gunzip  sr12292011.tar.gz
  archive.partial.tar
 gunzip: data stream error
 
 It recreates something, but the most important files, which reside in
 subfolders of the given tar.gz archives are gone, i.e. the subfolders
 are empty.
 The gunzip strategy you mentioned yields the same as a regular tar -xvf
 file.tar.gz.
 
 Pegasus, I have yet to try the pax(1) approach. I will let you know
 about how that went.

Hum.. I'm not sure if pax will be able to help in this case. From the
looks of it, somehow the compressed data got corrupted - I don't think pax
will be able to deal with this any better than tar did. 

I wonder if there was a change in gzip (like maybe libarchive) between the
two versions of BSD that might be causing the problem. If I were attacking
the problem, I might try booting up off a 7.x bootcd and see if I can gzip
--test the archive from the usb stick. 

Peg


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: ATA trouble again

2011-11-16 Thread Pegasus Mc Cleaft
Hello.

This is a follow-up of a previous thread, which can be found here:

 http://lists.freebsd.org/pipermail/freebsd-questions/2011-July/232257.
 html



I finally have two working WD Green drives: they have run severel times
for more than a few days continuosly and I've run their full diags
a few times over a span of some weeks, so I think I can be sure of that.
Still I experience lot of troubles; however, trying different boxes, 
I found out that these depend heavily on the controller I use.

Hi Andrea, 
I don’t know if this will help you or not, but it may lead you to
another possibility. 

I had a similar problem on my box (I was running 9.0-Current and 
Now 10.0-Current). I was also running under ZFS and would get TONS of 
Errors across my SATA drives. The errors would be anything from time-outs
to physical locking of the drive (I would have to pull the drive to let
the PHY on the controller reset and then plug the drive back in before
it would communicate with the machine again). In particular this would
happen when I was doing large writes to the drives. Read performance 
also suffered. I then created a single drive pool and did a large
transfer to the drive (about 800Gb) and the controller timed out again.
I moved the drive to various ports on the machine and also various
controllers in the machine. Some seemed to exabate the problem quicker
but no port or drive was safe from this. 

I later found out that the drives I was using were using 4096
Bytes per sector. When I recreated the zpool using 4096 byte sectors
All the timeout errors disappeared and my data-rate has climbed
Dramatically. 


Are you using ZFS or do you know if the drives are using 4096 bytes
Per sector?

Ta
Peg


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Dennis Ritchie has died. A suggestion

2011-10-14 Thread Pegasus Mc Cleaft
On Friday 14 October 2011 00:46:43 Chip Camden wrote:
   Alternatively, an tribute on the FreeBSD website would be fitting,
   wouldn't it?
   
   Roland
  
  I think this would be a fitting tribute...
 
 Hear, hear!

A good friend of mine posted to me, I think, one of the best tributes:

printf(goodbye, dad.\n);

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Blacklisting DOS IPs

2011-09-21 Thread Pegasus Mc Cleaft
On Wednesday 21 September 2011 14:06:08 Mauricio López wrote:

 I'm thinking about making an script using awk and pftop output to watch
 for states that have more than 1Mb of traffic (regular DNS queries
 aren't that big) and put those hosts in a table for blocking. My
 question is if it is there some other more efficient solution for this
 problem.
 
 Thanks in advance

Hi Mauricio, 

I dont know if this will help you, but this is a script I made years 
ago 
that I use on my machines. I call the script using cron once a day and let 
IPFW do the filtering for me

HTH
Peg


#!/bin/sh

#automatically fetch the spamhaus zone ban list

 cd /root
 /usr/bin/fetch http://www.spamhaus.org/drop/drop.lasso

#Let drop all of set 11 from the firewall
/sbin/ipfw delete set 11

#Starting Rule Number
Counter=1000

#lets parse the file and cut out the piece we want
for i in `cut -d   -f 1 drop.lasso | grep -v ;`
do
echo Adding rule for: $i 
Counter=`expr $Counter + 1`
##Lets add the rule into set 11
/sbin/ipfw add $Counter set 11 deny ip from $i to any
Counter=`expr $Counter + 1`
/sbin/ipfw add $Counter set 11 deny ip from any to $i
done

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FBSD 8.2 and USB Floppies

2011-07-18 Thread Pegasus Mc Cleaft
On Monday 18 July 2011 19:45:27 James Colannino wrote:
 
 newfs /dev/da0
 
 It was successful.  I then tried to mount the new filesystem (mount
 /dev/da0 /mnt), and got the same error: invalid argument.  Does FBSD
 have a problem mounting USB floppy disks?  It's not a big deal, as my
 other USB storage devices seem to work, and as I have an ordinary floppy
 drive I can try, but that curious part of me wants to know why this
 isn't working.
 

 Have you tried: 

mount_msdosfs /dev/da0 /mnt

Peg
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


openldap 2.4.23 exited on signal 6

2011-03-13 Thread lyd mc
Hi all,

I am experiencing the same problem below. Do you have a solution for this? 

I am running on FreeBSD 8.1.

-
Hi list,
  I'm experiencing some problems with and LDAP box which used to run
  2.4.21 and has been upgraded to 2.4.22

The box act as a pam_ldap/nsswitch login server for a bunch of boxes,
let's say 20, and serve the mail server and web proxy server as a
user base.

The box has 2G of RAM and has an average load very low, let's say
top/systat shows 0.40.

The issue is that it happens from time to time every 2/4 days that the
slapd daemon exits
 on signal 6:

May 12 01:00:00 polido kernel: pid 27153 (slapd), uid 389: exited on
signal 6

Then i restart the process everything looks fine and no corruption
seems to happen in the DB. The box is a FreeBSD 8

Any clue is really appreciated.



Regards,

Alyd


  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


IBM ServeRAID M5015 and ServeRAID-MR10i

2011-03-09 Thread lyd mc
Hi guys,

We are planning to buy new servers. I would like to ask if this RAID 
controllers already supported by FreeBSD.

Does anyone here already use it in their production servers?

Thanks guys,

Alydiomc



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


IBM ServeRAID M5015 and ServeRAID-MR10i

2011-03-09 Thread lyd mc
Hi guys,

We are planning to buy new servers. I would like to ask if this RAID 
controllers already supported by FreeBSD.

Does anyone here already use it in their production servers?

Thanks guys,

Alydiomc




  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: httpd-modsec2_debug.log: Operation not permitted

2011-01-14 Thread Pegasus Mc Cleaft
 ... I believe rm (-f) still requires *SOME* free space on a device
 to delete something. That being said, do you have more then 50G
 free elsewhere on the system? Say /home (/usr/home)? If you do, mv
 the file from /var/log to /usr/home. This would effectively delete
 it from /var/log and free up it's space ...

Er, had you considered that mv, when the target and source are on
different filesystems, does a cp followed by an rm?  If rm requires
free space -- which I very much doubt on UFS unless a snapshot
exists -- the rm step of the mv is going to run into exactly the
same problem that the standalone rm runs into.

If this is the case, what about just using truncate to set the file size to
zero?
truncate -s 0K httpd-modsec2_debug.log

Or

cat /dev/null  httpd-modsec2_debug.log


Best regards, 
Peg

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: cpio misunderstanding?

2010-12-24 Thread Pegasus Mc Cleaft
 If I try to run it manually on one of the files that fails, I get this:
 
 slug# echo /usr/local/freesbie-fs/libexec/ld-elf.so.1 | cpio -dump -l -v
 /usr/local/freesbie-clone
 
 /usr/local/freesbie-clone/usr/local/freesbie-fs/libexec/ld-elf.so.1
 
 cpio: Can't create '/usr/local/freesbie-clone/usr/local/freesbie-
 fs/libexec/ld-elf.so.1': Operation not permitted
 0 blocks
 
 
 I can use cp to copy the file, so I don't understand what's going on here.
 Does anyone have any ideas?

I don't know if this is your problem, but whenever I see that 
Operation 
not permitted error I start to suspect file flags. You might want to check 
for extra flags put on the source file or destination directory and see if 
anything weird had been set on it. 

You can look at the flags with the command ls -lao. You may also want 
to do a man chflags and read the manual page there. 

~Peg
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: removing files

2010-11-07 Thread Pegasus Mc Cleaft
On Monday 08 November 2010 06:10:20 yoganjaneyulu kasetti wrote:
 hi,
 
 I have a problem for deleting files using scriptplease some one can
 guide me for the same.
 
 I have some files with the extension of .chk extension along with the
 extension of .log and .gjf extension in the folder called different
 *input folders. *I wanted to delete the .chk file extension having
 files. If i go to individual input folder manually i can delete the file
 with *rm* command line by but i would like to delete all the .chk files
 extension files at a time through scripting rather than manual. So please
 some one help me for the same.
 /student/sweety/gaussiandata/*1249624064640*/input
 

Could you, in your script do something like: 

cd /Path_to_Data_Root
find . -name *.chk -print -prune -exec rm -rf {} \;

Peg
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: BSD logo

2010-07-26 Thread Pegasus Mc Cleaft

  By the way . . . while I think a BelssedBSD fork is a ridiculous idea,
  the name BlessedBSD is *brilliant*.  Pronouncing it aloud makes the
  high-quality pun buried in the name more obvious, for those who didn't
  quite catch it on the first read-through.
 
 i agree. lovely name. the pagan connection is delectable.
 http://is.gd/dJRn3
 
After the install, does it say SoMoteItBSD?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: reliable rs-232

2010-04-11 Thread Pegasus Mc Cleaft
On Saturday 10 April 2010 13:41:33 Grzegorz Daniluk wrote:
 Hi everybody,
 I have a question regarding rs-232 under FreeBSD.
 I need to write an application for FreeBSD to operate an industrial
 controller via rs-232. The trick is that it should have very good long
 term stability (reliably operation over years). It should be able to
 detect and correct (e.g by reconfiguration of rs-232 port parameters)
 when rs-232 hangs or changes its transmission parameters as a result of
 electrical interference/disturbances etc. First thought is to simply
 close and reopen rs-232 port every given time interval, so even if
 something 'strange' happens the failure would be fixed after finite time
 period. But maybe there is smarter way of doing that. Maybe some special
 fault-tolerant rs-232 kernel drivers ?
 Any help appreciated, maybe someone has other helpful advieces regarding
 reliable rs-232 programming ini general ?

Hi Grzegorz, 

I dont think you are going to find anything that is classified as 
fault 
tolerant RS-232.  My experience with 232 in industrial environments has been 
met with various levels of success. In small controlled conditions it works 
OK, but you are limited to speed and distance. Further, the single ended 
nature of 232 and the high input impedance of the receivers make it not the 
best choice for electrical interference rejection. If you have control of the 
electrical specifications, you might be better off using RS-422 as it is 
designed differentially and with a low impedance, so it works well in 
electrically nasty environments. All the better if you can opto-isolate the 
line drivers/receivers on the transmission line side of the interface. 

In one application, I designed a RS-232 to fibre-optic interface using 
S/Pdif transceivers and a 555 as a PWM generator/detector. This worked 
wonderfully for electrical isolation between the PC and the CNC motion 
controller I was interfacing to. I have seen similar things sold as a ready 
made brick that you could just plug in and use. 

Making the machine and PC Fail to a safe condition is not something 
you 
should design into the rs-232 interface directly, in my opinion. You should 
have a upper layer protocol bouncing between the two points and if this 
protocol times-out, then you should assume the interface of the remote device 
has failed and take action in your software (on both sides). In the case of 
the fibre connection, I added in addition to the protocol checks, a carrier 
detect circuit where if the link failed between the two machines, it dropped 
out a relay that was wired to the E-Stop circuit. 

I hope some of this is helpfull... 

Peg
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


SSL / SSH choosing hardware accelerator first

2010-04-09 Thread Pegasus Mc Cleaft
Hello group, 

 

I am currently running FreeBSD 9-Current AMD64. I have a
Hifn crypto accelerator installed in the machine. I have noticed that when I
connect to the machine using SSH, it does not use the crypto hardware. There
was a patch that someone made that forced SSL to use the hardware by
default, but I was wondering if there was a way to do this in
userland/configuration?  It would be nice to have the hardware accelerated
cryptography used as first priority before deciding to use the software
emulated modes. Does anyone know how this can be done?

 

Peg

 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Compiling kernel with gcc43 [SOLVED]

2010-04-01 Thread Pegasus Mc Cleaft
On Thursday 01 April 2010 15:27:41 Oliver Fromme wrote:
 Mario Lobo l...@bsd.com.br wrote:
   [...]
   It's compiling right now.
  
   I'll post my findings and impressions on results and performance right
   after the next reboot.
 
 So, how is it going?  Any benchmarks yet?  I'm curious
 if the new gcc version will really make a significant
 difference.

I would love to see the /etc/make.conf,  /etc/src.conf and 
/etc/libmap.conf files that were used for the build. I have tried compiling in 
VBox a current kernel and world, but it usually just bombs out for me. I would 
like to give this a go as well. 

Peg
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Freebsd Built-in vacation program does not auto reply

2009-09-08 Thread lyd mc

Hi Andre,

I use CFLAGS=-O2. 

Best regards,

Alyd


--- On Tue, 9/8/09, Andre Albsmeier andre.albsme...@siemens.com wrote:

From: Andre Albsmeier andre.albsme...@siemens.com
Subject: Re: Freebsd Built-in vacation program does not auto reply
To: lyd mc alydi...@yahoo.com
Cc: Andre Albsmeier andre.albsme...@siemens.com
Date: Tuesday, September 8, 2009, 4:54 PM

On Tue, 08-Sep-2009 at 01:49:18 -0700, lyd mc wrote:
 Hi Andre,

Hi,

 
 WOW! Its working now!

Great. What CFLAGS line have you got now? -O2 or nothing?
Would you mind posting a short note to freebsd-questions
regarding this? My intention is to make a bug report but
people will probably laugh at me if I haven't at least
another person to confirm this.

    -Andre

 
 Here is my logs...
 
 Sep  8 16:35:07 MAIL postfix/pickup[60602]: C6147BDC6D: uid=2003 
 from=tabor.nok
 Sep  8 16:35:07 MAIL postfix/cleanup[60710]: C6147BDC6D: 
 message-id=20090908083507.c6147bd...@mail..com
 Sep  8 16:35:07 MAIL postfix/qmgr[60603]: C6147BDC6D: 
 from=tabor@mail..com, size=347, nrcpt=1 (queue active)
 Sep  8 16:35:07 MAIL postfix/local[60712]: C6147BDC6D: 
 to=alyd...@mail..com, orig_to=alyd.mc, relay=local, delay=0.03, 
 delays=0.02/0.01/0/0, dsn=2.0.0, status=sent (delivered to maildir)
 Sep  8 16:35:07 MAIL postfix/pickup[60602]: D02A5BDC70: uid=1001 
 from=alyd.mc
 Sep  8 16:35:07 MAIL postfix/cleanup[60710]: D02A5BDC70: 
 message-id=20090908083507.d02a5bd...@mail..com
 
 Postfix deliver to vacation
 
 Sep  8 16:35:07 MAIL postfix/local[60712]: C6147BDC6D: 
 to=alyd...@mail..com, orig_to=alyd.mc, relay=local, delay=0.05, 
 delays=0.02/0.01/0/0.02, dsn=2.0.0, status=sent (delivered to command: 
 /usr/bin/vacation alyd.mc)
 Sep  8 16:35:07 MAIL postfix/qmgr[60603]: C6147BDC6D: removed
 
 vacation send back notification
 
 Sep  8 16:35:07 MAIL postfix/qmgr[60603]: D02A5BDC70: 
 from=alyd...@mail..com, size=475, nrcpt=1 (queue active)
 Sep  8 16:35:07 MAIL postfix/local[60712]: D02A5BDC70: 
 to=tabor@mail..com, relay=local, delay=0.01, delays=0/0/0/0, 
 dsn=2.0.0, status=sent (delivered to maildir)
 Sep  8 16:35:07 MAIL postfix/qmgr[60603]: D02A5BDC70: removed
 
 Thank you very much!
 
 Alyd
 
 
 
 
       




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Freebsd Built-in vacation program does not auto reply

2009-09-07 Thread lyd mc
Hi Andre,

I haven't solve it yet. I use the one in the ports tree 
(/usr/ports/mail/vacation) as my work around.

Now I use sieve script for vacation notice.

Do you have a patch? May be I can use it in the future... Thanks.

Best Regards,

alyd

--- On Sat, 9/5/09, Andre Albsmeier andre.albsme...@siemens.com wrote:

From: Andre Albsmeier andre.albsme...@siemens.com
Subject: Re: Freebsd Built-in vacation program does not auto reply
To: lyd mc alydi...@yahoo.com
Cc: freebsd-questions@freebsd.org
Date: Saturday, September 5, 2009, 2:43 AM

On Thu, 16-Apr-2009 at 18:00:26 +, lyd mc wrote:
 Hi guys,
 
 Why Freebsd built-in vacation program (/usr/bin/vacation) does not auto reply?
 
 I am using fresh installed Freebsd7.0 and 7.1. here is my configs.

Did you solve the problem already? I had a similar issue and
tracked it down to a really strange compiler bug...

    -Andre

 
 Under the home directory of the user (alydio.mc)
 
 .forward
 ??? \alydio.mc, |/usr/bin/vacation alydio.mc
 
 .vacation.msg
 ?? Subject: On vacation message
 ?? From: alydio...@mydomain.com
 ?? I'm on vacation and will not be reading my mail for a while.
 ? Your mail will be dealt with when I return.
 .
 from postfix/sendmail logs:
 
 ...sniff
 ?(delivered to command: /usr/bin/vacation alydio.mc)
 
 after this nothing will happened... no errors no warnings...? 
 
 However the one I installed from ports (/usr/local/bin/vacation) works fine.
 
 
 I want to use the freebsd base vacation program.? 
 
 Please help.
 
 Thank you,
 alydiomc
 
 
       

-- 
Micro$oft: When will your system crash today?




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Spamassasin no DCC header

2009-06-09 Thread lyd mc
Hi guys,

I just installed spamassassin and dcc form ports. It seems to be working, no 
errors from spamassassin --lint. Later I found out there are no any DCC header 
in a mail.

local.cf

bayes_file_mode 0770
dns_available yes
razor_config /var/spool/spamd/.razor/razor-agent.conf
add_header all DCC _DCCB_ _DCCR_
add_header ham SCL 1
add_header spam SCL 9

v310.pre
loadplugin Mail:SpamAssassin:Plugin::DCC

I am using FBSD7.2, postfix with spam-milter (latest from ports).

I notice this from maillog:

spamass-milter: Could not retrive sendmail macro i!. Please add it to 
conFMilter_MACROS_ENVFROM for better spamassassin results

But I am using postfix...

Any ideas?

Regards,

alydiomc




  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Freebsd Built-in vacation program does not auto reply

2009-04-23 Thread lyd mc
hi derek,

It is by the way mydomain.com, sorry.

I also tried no period on user account...

kly...@mydomain.com


...still it does not auto reply.


thanks,

alydiomc


--- On Tue, 4/21/09, Derek Ragona de...@computinginnovations.com wrote:
From: Derek Ragona de...@computinginnovations.com
Subject: Re: Freebsd Built-in vacation program does not auto reply
To: alydi...@yahoo.com
Cc: freebsd-questions@freebsd.org
Date: Tuesday, April 21, 2009, 7:40 PM


 
At 08:16 PM 4/19/2009, lyd mc wrote:


Hi derek,


Correction on step 4, it should be:


\alydio.mc, |/usr/bin/vacation alydio.mc


thanks,


alyd




--- On Mon, 4/20/09, lyd mc alydi...@yahoo.com wrote:

From: lyd mc alydi...@yahoo.com

Subject: Re: Freebsd Built-in vacation program does not auto reply

To: Derek Ragona de...@computinginnovations.com

Cc: freebsd-questions@freebsd.org

Date: Monday, April 20, 2009, 9:07 AM


hi derek,


It is not also working on my sendmail.


May be I overlooked some steps?


step 1. login to user 

# su alydio.mc


step 2. initialize vacation db 

$ vacation -i


step 3. create .vacation.msg 


 From: alydio...@mydomain.com

 Subject: I am on vacation

 Delivered-By-The-Graces-Of: The Vacation program

 Precedence: bulk


 I am on vacation until...


step 4. create .forward


\klyren, |/usr/bin/vacation klyren




sendmail log


Apr 20 08:21:08 MAIL sm-mta[18102]: n3K0L2Jl018092:
to=|/usr/bin/vacation alydio.mc,
ctladdr=alydio...@mydomain (1001/0), delay=00:00:05,
xdelay=00:00:00, mailer=prog, pri=62458, dsn=2.0.0, stat=Sent


...nothing follows...


thanks

alydiomc

In the log entry above, I see:

ctladdr=alydio...@mydomain  

I suspect this is NOT a deliverable address but that depends on how you
have mydomain resolving.


Also you might want to try using a user account without a period
in the name.  The period may be causing a silent parsing problem for
sendmail and vacation.


  -Derek





--- On Fri, 4/17/09,
Derek Ragona

 de...@computinginnovations.com wrote:

From: Derek Ragona de...@computinginnovations.com

Subject: Re: Freebsd Built-in vacation program does not auto reply

To: alydi...@yahoo.com, Odhiambo Washington
odhia...@gmail.com

Cc: Steve Bertrand st...@ibctech.ca,
freebsd-questions@freebsd.org

Date: Friday, April 17, 2009, 9:51 PM




 

At 07:27 AM 4/17/2009, lyd mc wrote:


Thanks Odhiambo for your

time.




Actually i have a working vacation program  from freebsd ports

(/usr/ports/mail/vacation).




I only wondering why the freebsd base vacation behave
differently





I still want freebsd base vacation... the one from ports is obsolete
(as

per its maintainer website) and sometime i need to edit its makefile
for

it to compile




Thanks again.










I think the base system vacation is the one that is part of

sendmail.  So using it with postfix as the MTA may be the

issue.  I have use the base vacation version flawlessly with

sendmail.




  -Derek
















--- On Fri, 4/17/09,

Odhiambo Washington odhia...@gmail.com wrote:


From: Odhiambo Washington odhia...@gmail.com


Subject: Re: Freebsd Built-in vacation program does not auto
reply


To: alydi...@yahoo.com


Cc: Steve Bertrand st...@ibctech.ca,

freebsd-questions@freebsd.org


Date: Friday, April 17, 2009, 8:10 PM








On Fri, Apr 17, 2009 at 2:47 PM, lyd mc alydi...@yahoo.com

wrote:







hi,




I don't know how to run it in debug mode




I already try this one.




#/usr/bin/vacation -d alydio.mc




but nothing happened... no logs in /var/log/message and
/var/log/maillog

pertaining to vacation.







Okay. I think you need to look again at your MTA logs. Not being an

expert with Postfix, I am not sure I can help with it anyway.







-- 


Best regards,




Odhiambo WASHINGTON,


Nairobi,KE


+254733744121/+254722743223


_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 


Clothes make the man.  Naked people have little or no

influence on society.


 


-- Mark Twain
















___


freebsd-questions@freebsd.org mailing list


http://lists.freebsd.org/mailman/listinfo/freebsd-questions


To unsubscribe, send any mail to

freebsd-questions-unsubscr...@freebsd.org




-- 


This message has been scanned for viruses and


dangerous content by MailScanner, and is


believed to be clean. 


-- 


This message has been scanned for viruses and


dangerous content by

MailScanner, and is


believed to be clean.





  





___

freebsd-questions@freebsd.org mailing list

http://lists.freebsd.org/mailman/listinfo/freebsd-questions

To unsubscribe, send any mail to
freebsd-questions-unsubscr...@freebsd.org


-- 

This message has been scanned for viruses and

dangerous content by MailScanner, and is

believed to be clean. 

-- 

This message has been scanned for viruses and

dangerous content by
MailScanner, and is

believed to be clean

Re: Freebsd Built-in vacation program does not auto reply

2009-04-19 Thread lyd mc
hi derek,

It is not also working on my sendmail.

May be I overlooked some steps?

step 1. login to user 
# su alydio.mc

step 2. initialize vacation db 
$ vacation -i

step 3. create .vacation.msg 

 From: alydio...@mydomain.com
 Subject: I am on vacation
 Delivered-By-The-Graces-Of: The Vacation program
 Precedence: bulk

 I am on vacation until...

step 4. create .forward

\klyren, |/usr/bin/vacation klyren


sendmail log

Apr 20 08:21:08 MAIL sm-mta[18102]: n3K0L2Jl018092: to=|/usr/bin/vacation 
alydio.mc, ctladdr=alydio...@mydomain (1001/0), delay=00:00:05, 
xdelay=00:00:00, mailer=prog, pri=62458, dsn=2.0.0, stat=Sent

...nothing follows...

thanks
alydiomc

--- On Fri, 4/17/09, Derek Ragona de...@computinginnovations.com wrote:
From: Derek Ragona de...@computinginnovations.com
Subject: Re: Freebsd Built-in vacation program does not auto reply
To: alydi...@yahoo.com, Odhiambo Washington odhia...@gmail.com
Cc: Steve Bertrand st...@ibctech.ca, freebsd-questions@freebsd.org
Date: Friday, April 17, 2009, 9:51 PM


 
At 07:27 AM 4/17/2009, lyd mc wrote:

Thanks Odhiambo for your
time.


Actually i have a working vacation program  from freebsd ports
(/usr/ports/mail/vacation).


I only wondering why the freebsd base vacation behave differently



I still want freebsd base vacation... the one from ports is obsolete (as
per its maintainer website) and sometime i need to edit its makefile for
it to compile


Thanks again.






I think the base system vacation is the one that is part of
sendmail.  So using it with postfix as the MTA may be the
issue.  I have use the base vacation version flawlessly with
sendmail.


  -Derek










--- On Fri, 4/17/09,
Odhiambo Washington odhia...@gmail.com wrote:

From: Odhiambo Washington odhia...@gmail.com

Subject: Re: Freebsd Built-in vacation program does not auto reply

To: alydi...@yahoo.com

Cc: Steve Bertrand st...@ibctech.ca,
freebsd-questions@freebsd.org

Date: Friday, April 17, 2009, 8:10 PM





On Fri, Apr 17, 2009 at 2:47 PM, lyd mc alydi...@yahoo.com
wrote:




hi,


I don't know how to run it in debug mode


I already try this one.


#/usr/bin/vacation -d alydio.mc


but nothing happened... no logs in /var/log/message and /var/log/maillog
pertaining to vacation.




Okay. I think you need to look again at your MTA logs. Not being an
expert with Postfix, I am not sure I can help with it anyway.




-- 

Best regards,


Odhiambo WASHINGTON,

Nairobi,KE

+254733744121/+254722743223

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

Clothes make the man.  Naked people have little or no
influence on society.

  
-- Mark Twain










___

freebsd-questions@freebsd.org mailing list

http://lists.freebsd.org/mailman/listinfo/freebsd-questions

To unsubscribe, send any mail to
freebsd-questions-unsubscr...@freebsd.org


-- 

This message has been scanned for viruses and

dangerous content by MailScanner, and is

believed to be clean. 

-- 

This message has been scanned for viruses and

dangerous content by
MailScanner, and is

believed to be clean.




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Freebsd Built-in vacation program does not auto reply

2009-04-19 Thread lyd mc

Hi derek,

Correction on step 4, it should be:

\alydio.mc, |/usr/bin/vacation alydio.mc

thanks,

alyd


--- On Mon, 4/20/09, lyd mc alydi...@yahoo.com wrote:
From: lyd mc alydi...@yahoo.com
Subject: Re: Freebsd Built-in vacation program does not auto reply
To: Derek Ragona de...@computinginnovations.com
Cc: freebsd-questions@freebsd.org
Date: Monday, April 20, 2009, 9:07 AM

hi derek,

It is not also working on my sendmail.

May be I overlooked some steps?

step 1. login to user 
# su alydio.mc

step 2. initialize vacation db 
$ vacation -i

step 3. create .vacation.msg 

 From: alydio...@mydomain.com
 Subject: I am on vacation
 Delivered-By-The-Graces-Of: The Vacation program
 Precedence: bulk

 I am on vacation until...

step 4. create .forward

\klyren, |/usr/bin/vacation klyren


sendmail log

Apr 20 08:21:08 MAIL sm-mta[18102]: n3K0L2Jl018092: to=|/usr/bin/vacation 
alydio.mc, ctladdr=alydio...@mydomain (1001/0), delay=00:00:05, 
xdelay=00:00:00, mailer=prog, pri=62458, dsn=2.0.0, stat=Sent

...nothing follows...

thanks
alydiomc

--- On Fri, 4/17/09, Derek Ragona
 de...@computinginnovations.com wrote:
From: Derek Ragona de...@computinginnovations.com
Subject: Re: Freebsd Built-in vacation program does not auto reply
To: alydi...@yahoo.com, Odhiambo Washington odhia...@gmail.com
Cc: Steve Bertrand st...@ibctech.ca, freebsd-questions@freebsd.org
Date: Friday, April 17, 2009, 9:51 PM


 
At 07:27 AM 4/17/2009, lyd mc wrote:

Thanks Odhiambo for your
time.


Actually i have a working vacation program  from freebsd ports
(/usr/ports/mail/vacation).


I only wondering why the freebsd base vacation behave differently



I still want freebsd base vacation... the one from ports is obsolete (as
per its maintainer website) and sometime i need to edit its makefile for
it to compile


Thanks again.






I think the base system vacation is the one that is part of
sendmail.  So using it with postfix as the MTA may be the
issue.  I have use the base vacation version flawlessly with
sendmail.


  -Derek










--- On Fri, 4/17/09,
Odhiambo Washington odhia...@gmail.com wrote:

From: Odhiambo Washington odhia...@gmail.com

Subject: Re: Freebsd Built-in vacation program does not auto reply

To: alydi...@yahoo.com

Cc: Steve Bertrand st...@ibctech.ca,
freebsd-questions@freebsd.org

Date: Friday, April 17, 2009, 8:10 PM





On Fri, Apr 17, 2009 at 2:47 PM, lyd mc alydi...@yahoo.com
wrote:




hi,


I don't know how to run it in debug mode


I already try this one.


#/usr/bin/vacation -d alydio.mc


but nothing happened... no logs in /var/log/message and /var/log/maillog
pertaining to vacation.




Okay. I think you need to look again at your MTA logs. Not being an
expert with Postfix, I am not sure I can help with it anyway.




-- 

Best regards,


Odhiambo WASHINGTON,

Nairobi,KE

+254733744121/+254722743223

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

Clothes make the man.  Naked people have little or no
influence on society.

  
-- Mark Twain










___

freebsd-questions@freebsd.org mailing list

http://lists.freebsd.org/mailman/listinfo/freebsd-questions

To unsubscribe, send any mail to
freebsd-questions-unsubscr...@freebsd.org


-- 

This message has been scanned for viruses and

dangerous content by MailScanner, and is

believed to be clean. 

-- 

This message has been scanned for viruses and

dangerous content by
MailScanner, and is

believed to be clean.



  



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Freebsd Built-in vacation program does not auto reply

2009-04-17 Thread lyd mc
Hi,


I already did vacation -i as per the manual say but it still does not auto 
reply.


--- On Fri, 4/17/09, Odhiambo Washington odhia...@gmail.com wrote:
From: Odhiambo Washington odhia...@gmail.com
Subject: Re: Freebsd Built-in vacation program does not auto reply
To: Steve Bertrand st...@ibctech.ca
Cc: alydi...@yahoo.com, freebsd-questions@freebsd.org
Date: Friday, April 17, 2009, 4:05 PM

On Fri, Apr 17, 2009 at 10:33 AM, Steve Bertrand st...@ibctech.ca wrote:

Odhiambo Washington wrote:

 On Fri, Apr 17, 2009 at 6:00 AM, lyd mc alydi...@yahoo.com wrote:



 Hi guys,



 Why Freebsd built-in vacation program (/usr/bin/vacation) does not auto

 reply?



 I am using fresh installed Freebsd7.0 and 7.1. here is my configs.



 Under the home directory of the user (alydio.mc)



 .forward

     \alydio.mc, |/usr/bin/vacation alydio.mc



 .vacation.msg

    Subject: On vacation message

    From: alydio...@mydomain.com

    I'm on vacation and will not be reading my mail for a while.

   Your mail will be dealt with when I return.

 .

 from postfix/sendmail logs:



 ...sniff

  (delivered to command: /usr/bin/vacation alydio.mc)



 after this nothing will happened... no errors no warnings...



 However the one I installed from ports (/usr/local/bin/vacation) works

 fine.





 I want to use the freebsd base vacation program.





 Did you read the man page fully and understand it?

 Did you initialize the vacation database?

 Have you tried to run it in debug mode?

 Try RTFM again and see if you could figure out the problem yourself.



Wow... wait a sec...



I recall years ago having to deal with 'vacation' messages along with

sendmail, and with thousands of users, I hated doing it manually.

Perhaps a ``how I do it'' is warranted here.



It is quite apparent that the OP has RTFM, _and_ tried to work it out

for himself...
I was waiting for the OP to say that he actually did run `vacation -i` first, 
as that is a requirement.
Of course he can also run with -d and watch the logs for clues.





-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
Clothes make the man.  Naked people have little or no influence on society.

               -- Mark Twain





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Freebsd Built-in vacation program does not auto reply

2009-04-17 Thread lyd mc
hi,

I don't know how to run it in debug mode

I already try this one.

#/usr/bin/vacation -d alydio.mc

but nothing happened... no logs in /var/log/message and /var/log/maillog 
pertaining to vacation.

thnx



--- On Fri, 4/17/09, Odhiambo Washington odhia...@gmail.com wrote:
From: Odhiambo Washington odhia...@gmail.com
Subject: Re: Freebsd Built-in vacation program does not auto reply
To: alydi...@yahoo.com
Cc: Steve Bertrand st...@ibctech.ca, freebsd-questions@freebsd.org
Date: Friday, April 17, 2009, 7:41 PM



On Fri, Apr 17, 2009 at 2:35 PM, lyd mc alydi...@yahoo.com wrote:


Hi,


I already did vacation -i as per the manual say but it still does not auto 
reply.
You can run it in debug mode and see what it says in the logs, perhaps?




-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
Clothes make the man.  Naked people have little or no influence on society.

               -- Mark Twain





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Freebsd Built-in vacation program does not auto reply

2009-04-17 Thread lyd mc
Thanks Odhiambo for your time.

Actually i have a working vacation program  from freebsd ports 
(/usr/ports/mail/vacation).

I only wondering why the freebsd base vacation behave differently 

I still want freebsd base vacation... the one from ports is obsolete (as per 
its maintainer website) and sometime i need to edit its makefile for it to 
compile

Thanks again.








--- On Fri, 4/17/09, Odhiambo Washington odhia...@gmail.com wrote:
From: Odhiambo Washington odhia...@gmail.com
Subject: Re: Freebsd Built-in vacation program does not auto reply
To: alydi...@yahoo.com
Cc: Steve Bertrand st...@ibctech.ca, freebsd-questions@freebsd.org
Date: Friday, April 17, 2009, 8:10 PM



On Fri, Apr 17, 2009 at 2:47 PM, lyd mc alydi...@yahoo.com wrote:


hi,

I don't know how to run it in debug mode

I already try this one.

#/usr/bin/vacation -d alydio.mc

but nothing happened... no logs in /var/log/message and /var/log/maillog 
pertaining to vacation.


Okay. I think you need to look again at your MTA logs. Not being an expert with 
Postfix, I am not sure I can help with it anyway.


-- 
Best regards,

Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
Clothes make the man.  Naked people have little or no influence on society.
               -- Mark Twain






___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Freebsd Built-in vacation program does not auto reply

2009-04-17 Thread lyd mc
No output either




--- On Fri, 4/17/09, Mel Flynn mel.flynn+fbsd.questi...@mailing.thruhere.net 
wrote:
From: Mel Flynn mel.flynn+fbsd.questi...@mailing.thruhere.net
Subject: Re: Freebsd Built-in vacation program does not auto reply
To: freebsd-questions@freebsd.org, alydi...@yahoo.com
Cc: Odhiambo Washington odhia...@gmail.com, Steve Bertrand 
st...@ibctech.ca
Date: Friday, April 17, 2009, 8:21 PM

On Friday 17 April 2009 13:47:45 lyd mc wrote:
 hi,

 I don't know how to run it in debug mode

 I already try this one.

 #/usr/bin/vacation -d alydio.mc

 but nothing happened... no logs in /var/log/message and /var/log/maillog
 pertaining to vacation.

And /var/log/debug.log?
-- 
Mel



  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Freebsd Built-in vacation program does not auto reply

2009-04-16 Thread lyd mc
Hi guys,

Why Freebsd built-in vacation program (/usr/bin/vacation) does not auto reply?

I am using fresh installed Freebsd7.0 and 7.1. here is my configs.

Under the home directory of the user (alydio.mc)

.forward
    \alydio.mc, |/usr/bin/vacation alydio.mc

.vacation.msg
   Subject: On vacation message
   From: alydio...@mydomain.com
   I'm on vacation and will not be reading my mail for a while.
  Your mail will be dealt with when I return.
.
from postfix/sendmail logs:

...sniff
 (delivered to command: /usr/bin/vacation alydio.mc)

after this nothing will happened... no errors no warnings...  

However the one I installed from ports (/usr/local/bin/vacation) works fine.


I want to use the freebsd base vacation program.  

Please help.

Thank you,
alydiomc



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


FreeBSD7.1 limewire5.0 Does not connect

2009-04-01 Thread lyd mc
Hi guys,

I just installed limewire5.0 from ports (including diablo-jdk) but when I run 
it, it won't connect to gnutella network. I don't have a firewall, I am 
connected directly from internet...

I already try this settings from BSD forum:

it  by modifying the file  /etc/libmap.conf as follows: 

 [/usr/local/diablo-jre1.5.0/] 

libpthread.so libc_r.so 

libpthread.so.2 libc_r.so.6

...And found out that  the above fix  is only for  FreeBSD6.X

Any idea?

Thanx
alydiomc

 






___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Sendmail check FROM: header

2008-09-09 Thread lyd mc
Hi guys,

How do i check valid sender before sending mail?

example: 
    FROM: [EMAIL PROTECTED]

if this 'anonymous' user is not on localhost the mail should be rejected even 
if the user has valid login (user and password).

my sendmail uses login/plain before relaying. however they can still send mail 
even the FROM: header is not their name. I don't want this to happen.

Need your help guys.

Thnx.

alydio






___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Sendmail become open relay

2008-09-08 Thread lyd mc
Hi guys need help..

My mailserver become an open relay.

Unknown user can now send mail.

snippet from mailq

m88C8iWq042874  689 Mon Sep  8 20:08 [EMAIL PROTECTED]
 (Deferred: Name server: mx1.mail.tw.yahoo.com.: host name loo)
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]

I don't  have user 'osxch' and there others can also send..


best regars thnx

alydio





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: question -updating package + ignore depend

2008-08-13 Thread mc
On Wednesday 13 August 2008 09:25:19 Mike Clarke wrote:
 On Wednesday 13 August 2008, m cassar wrote:
  just wanted to mention that firefox3 does not handle addons/plugins
  correctly yet according to ports/UPDATING, so this is still probably
  right for now and i will probably end up installing ff2 anyway.

 It handles most of them OK for me with just a little bit of tweaking,
 but some addonss haven't been updated yet to work with Firefox 3 and
 will be automatically disabled until new versions become available.

 I had a minor problem with firebug, Firefox disabled it but didn't
 detect that a new version was available and I had to go to the addons
 site and re-install firebug.

 I had to create a link
 to /usr/local/diablo-jdk1.5.0/jre/plugin/i386/ns7/libjavaplugin_oji.so
 in /usr/local/lib/firefox3/plugins.

 Apart from that everything seems fine.

it does look like its working better than last time i used it - guess things 
will iron out eventually. as long as flash works it's fine by me for now ( too 
many nagging about missing plugin)

still i had to install ff2 also for now so that i can update other software 
that have ff2 as a depend.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


question -updating package + ignore depend

2008-08-12 Thread mc
hi,

can anyone briefly explain what is the general procedure here?

i am trying to update a few packages which inevitably provoke a firefox2 
install, which i don't want (have ff3).

checked google and porter's handbook, then tried marking ff2 as IGNORE -- 
which i didn't really understand how but added IGNORE= reason etc etc to the 
makefile at the very top after the comments. seems like it worked, but what i 
want to update fails because of that.

i am installing portupgrade now to try with k or K (whichever means comtinue 
anyway) but is this a good idea or an easier way?

also, i am not sure if questions like this go here or still go in ports 
mailing list ?

thanks in advance 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: question -updating package + ignore depend

2008-08-12 Thread mc
On Tuesday 12 August 2008 13:07:21 Greg Larkin wrote:
 mc wrote:
 | hi,
 |
 | can anyone briefly explain what is the general procedure here?
 |
 | i am trying to update a few packages which inevitably provoke a firefox2
 | install, which i don't want (have ff3).
 |
 | checked google and porter's handbook, then tried marking ff2 as IGNORE --
 | which i didn't really understand how but added IGNORE= reason etc etc

 to the

 | makefile at the very top after the comments. seems like it worked, but

 what i

 | want to update fails because of that.
 |
 | i am installing portupgrade now to try with k or K (whichever means

 comtinue

 | anyway) but is this a good idea or an easier way?
 |
 | also, i am not sure if questions like this go here or still go in ports
 | mailing list ?
 |
 | thanks in advance

 Hi mc,

 Which ports are you trying to update?  It may be that they need their
 dependencies (BUILD_DEPENDS, RUN_DEPENDS, etc.) changed to reflect 
the
 new version of Firefox.

 Of course, that assumes that FF3 provides the same requirements that FF2
 did for each specific port.  Please post the port names back here, and
 I'll take a look at the various Makefiles.

 Best regards,
 Greg

hello again
the packages are :

ports/graphics/librsvg2
ports/x11-fm/nautilus
ports/x11-wm/ccsm
ports/x11-wm/compizconfig-python.

at least those are what i have left after portupgrade -k.

btw, after posting earlier, i tried portupgrade and caught a glimpse of a 
message from librsvg2 saying it uses/relies on said firefox2 for gecko.

thanks for yr reply, excuse me for panicking 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: email disclaimer insert; remove and instert

2008-07-29 Thread lyd mc
Hi guys,

I think I should stick to currently available  feature offered by  mimedefang  
or altermime for  the disclaimer  thing. 

Thank you darko, odhiambo and jeffrey for your time. 

Best regards,

alydiomc





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


email disclaimer insert; remove and instert

2008-07-28 Thread lyd mc
hi guys,

Is there any program that insert or remove disclaimer? 

For example, if a reply message  containing my disclaimer i want it to be 
removed at the end of the mail body and put somewhere before the QUOTE line.

    From:[EMAIL PROTECTED]
    To:[EMAIL PROTECTED]
    Subject: Re: disclaimer blah blah blah


    New messages
   
    My Disclaimer -- ( new location of disclaimer)

  
 ---Old message (Quoting)

 Old messages
  
 MY Disclaimer - (I want this to be remove and put above)

   


Thank you.

alydmc





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: email disclaimer insert; remove and instert

2008-07-28 Thread lyd mc
Hi darko,

What I mean is adding a disclaimer/boilerplate for any outgoing message just 
like mimedefang feature. However, I don't want it to be redundant. For example 
if a mail already contains my disclaimer (usually mail from a reply message), 
it should be relocated next to the new message not at the bottom of the reply 
message.

  new message body here
  new message body here

  Disclaimer   new location of disclaimer

 ---old messages here--

  old message here
  old message here
 
  Disclaimer  --- to be relocated

Regards,

alydmc
--- On Tue, 7/29/08, darko gavrilovic [EMAIL PROTECTED] wrote:
From: darko gavrilovic [EMAIL PROTECTED]
Subject: Re: email disclaimer insert; remove and instert
To: [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Date: Tuesday, July 29, 2008, 11:17 AM

are you using X11? do you use thunderbird/mozilla mail client? i believe 
thunderbird has a fancy signature add-on that does something like that.



On Mon, Jul 28, 2008 at 10:07 PM, lyd mc [EMAIL PROTECTED] wrote:

hi guys,



Is there any program that insert or remove disclaimer?



For example, if a reply message  containing my disclaimer i want it to be 
removed at the end of the mail body and put somewhere before the QUOTE line.



    From:[EMAIL PROTECTED]

    To:[EMAIL PROTECTED]

    Subject: Re: disclaimer blah blah blah





    New messages

  

    My Disclaimer -- ( new location of disclaimer)



 

 ---Old message (Quoting)



 Old messages

 

 MY Disclaimer - (I want this to be remove and put above)



  





Thank you.



alydmc











___

freebsd-questions@freebsd.org mailing list

http://lists.freebsd.org/mailman/listinfo/freebsd-questions

To unsubscribe, send any mail to [EMAIL PROTECTED]




-- 
regards,
dg

..but the more you use clever tricks, the less support you'll get ... -- 
M.W.Lucas






___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Spamassasin running as root!

2008-07-24 Thread lyd mc
Hi guys,

My maillog complain like this:

Jul 25 09:40:06 MAIL spamd[67623]: spamd: still running as root: user not 
specified with -u, not found, or set to root, falling back to nobody

Jul 25 09:40:13 MAIL spamd[67623]: auto-whitelist: open of auto-whitelist file 
failed: locker: safe_lock: cannot create tmp lockfile 
/nonexistent/.spamassassin/auto-whitelist.lock.MAIL.67623 for 
/nonexistent/.spamassassin/auto-whitelist.lock: No such file or directory

I google it and found out that i need to run spamd with '-u user' flag.

From BSD guide website spamd has a flag of  '-u qscand'. However, there is no 
detail on how the qscand user has been created.

How to create a user for spamd correctly or securely?   







___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Spamassasin running as root!

2008-07-24 Thread lyd mc
Thanks guy!

Regards,

alydmc

From: [EMAIL PROTECTED]

man (8) pw
pw useradd qscand -s /sbin/nologin

From: [EMAIL PROTECTED]

What do you have in /etc/rc.conf, I have
spamd_enable=YES
spamd_flags=-u spamd -H /var/spool/spamd

In my case, the spamd user got created automagically.





  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Spamassasin running as root!

2008-07-24 Thread lyd mc
Thnx chuck.
 
I use ports to install p5-Mail-SpamAssassin, and I have also spamd user. I will 
try Brian config.  

Regards,

alydmc


From [EMAIL PROTECTED]: 

What do you have in /etc/rc.conf, I have
spamd_enable=YES
spamd_flags=-u spamd -H /var/spool/spamd

In my case, the spamd user got created automagically.


--- On Fri, 7/25/08, Chuck Swiger [EMAIL PROTECTED] wrote:
From: Chuck Swiger [EMAIL PROTECTED]
Subject: Re: Spamassasin running as root!
To: [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Date: Friday, July 25, 2008, 10:37 AM

On Jul 24, 2008, at 7:26 PM, lyd mc wrote:
 How to create a user for spamd correctly or securely?

You should have had a spamd user  group created automatically from / 
usr/ports/mail/p5-Mail-SpamAssassin/pkg-install.  If you aren't using  
ports, well, you should start doing so.

Regards,
-- 
-Chuck



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


spamassasin root file permission

2008-07-24 Thread lyd mc
Hi guys,

I still have this kind of error:

Jul 25 11:08:25 MAIL spamd[78027]: spamd: connection from localhost [127.0.0.1] 
at port 63402
Jul 25 11:08:25 MAIL spamd[78027]: spamd: processing message [EMAIL 
PROTECTED] for root:58
Jul 25 11:08:31 MAIL spamd[78027]: auto-whitelist: open of auto-whitelist file 
failed: locker: safe_lock: cannot create tmp lockfile 
/root/.spamassassin/auto-whitelist.lock.MAIL.78027 for 
/root/.spamassassin/auto-whitelist.lock: Permission denied
Jul 25 11:08:31 MAIL spamd[78027]: spamd: identified spam (11.4/5.0) for 
root:58 in 6.0 seconds, 4966 bytes.
Jul 25 11:08:31 MAIL spamd[78027]: spamd: result: Y 11 - 
HTML_MESSAGE,RAZOR2_CF_RANGE_51_100,RAZOR2_CF_RANGE_E4_51_100,RAZOR2_CHECK,RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_PBL,RCVD_IN_SORBS_DUL,RCVD_IN_XBL,RDNS_NONE,URIBL_AB_SURBL,URIBL_RED
 
scantime=6.0,size=4966,user=root,uid=58,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=63402,mid=[EMAIL
 PROTECTED],autolearn=no


my spamd ran like this:

 /usr/local/bin/spamd -u spamd -H /var/spool/spamd -d -r -m 20 --round-robin\ 
/var/run/spamd/spamd.pid

/usr/local/sbin/spamass-milter -f -p /var/run/spamass-milter.sock

Should I also run spamass-milter as '-u spamd -H /var/spool/smapd'?

Thanks,

alydmc




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Spamassassin very slow

2008-07-23 Thread lyd mc
thnx Philip, your config will help in my current setup.



--- On Wed, 7/23/08, Philip M. Gollucci [EMAIL PROTECTED] wrote:
From: Philip M. Gollucci [EMAIL PROTECTED]
Subject: Re: Spamassassin very slow
To: James Tanis [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED], freebsd-questions@freebsd.org
Date: Wednesday, July 23, 2008, 11:53 AM

James Tanis wrote:
 lyd mc [EMAIL PROTECTED] wrote:
 What causes spamassassin to slow?

 Here is my config:

 snippet from sendmail.mc
 .. cut ..

 I have .procmailrc in every home directory of my mail users and it
goes
 like
 this:
The following setup by the front line mx's (2 of them) for apache.org 
can handle ~1million messages/day for a total of 2million without 
breaking a sweat.

No .procailrc involved.

/etc/rc.conf:
postfix_enable=YES
sendmail_enable=NO
sendmail_submit_enable=NO
sendmail_outbound_enable=NO
sendmail_msp_queue_enable=NO

rbldnsd_enable=YES
rbldnsd_flags=MASKED OUT

svscan_enable=YES

clamav_clamd_enable=YES
clamav_freshclam_enable=YES

spamd_enable=YES
spamd_pidfile=/var/run/spamd/spamd.pid
spamd_flags=--min-children=4 --max-children=40 --min-spare=2 
--max-spare=8 --max-conn-per-child=100 -c -d 
--socketpath=/var/run/spamd/socket --socketmode=0777 -r ${spamd_pidfile}

Thats FreeBSD 6.x (soon to be 7.x when I update it)
httpd 2.2.9+worker mpm with qpsmtp using mod_perl

in my consulting buss, for sendmail I use the following sendmail.mc snippet:

INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock, F=, 
T=S:4m;R:4m')
INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass-milter.sock, 
F=, T=C:15m;S:4m;R:4m;E:10m')
define(`confMILTER_MACROS_ENVRCPT',`r, v, Z')
define(`confMILTER_MACROS_CONNECT',`b, j, _, {daemon_name}, {if_name}, 
{if_addr}')


That said, all individual users do you ~/.procmailrc, with the following 
rule:
:0
* ^X-Spam-Status: Yes
spam




-- 

Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Spamassassin very slow

2008-07-23 Thread lyd mc
Hi James,

I remove spamc on .procmailrc and I can see lots of improvements!

Thanx,

alyd

--- On Wed, 7/23/08, James Tanis [EMAIL PROTECTED] wrote:
From: James Tanis [EMAIL PROTECTED]
Subject: Re: Spamassassin very slow
To: [EMAIL PROTECTED]
Date: Wednesday, July 23, 2008, 11:07 AM

lyd mc [EMAIL PROTECTED] wrote:
 
 What causes spamassassin to slow?
 
 Here is my config:
 
 snippet from sendmail.mc
 .. cut ..
 
 I have .procmailrc in every home directory of my mail users and it goes
like
 this:

So if I'm understanding you correctly.. your calling spamc from a sendmail
milter *and* .procmailrc. That's pretty redundant and would definately slow
you down. Choose one based on your needs.

 
 I also have RulesDuJour installed and spammassassin --lint does complain
about
 it.
 

Extra rules can slow you down regardless of syntax, but most computers
created this decade can handle RulesDuJour fine. Personally I think your
main problem is that your effectively spam checking every message twice. The
spamassassin queues most likely get filled followed by sendmail having to
wait and queue up the slack.

--
James Tanis
Technical Coordinator
Monsignor Donovan Catholic High School
e: [EMAIL PROTECTED]


  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Spamassassin very slow

2008-07-22 Thread lyd mc
Hi guys,

Last day my mail server became very slow. I haven't found any mysterious 
errors/warnings in /var/log/message and maillog. When I disable spammilter in 
sendmail it became fast.

What causes spamassassin to slow?

Here is my config:

snippet from sendmail.mc

    FEATURE(`local_procmail_lmtp')
    . . .
    FEATURE(dnsbl,`all.rbl.jp')dnl 
    dnl MAILER(local) 
    MAILER(procmail)dnl
    MAILER(smtp)
    INPUT_MAIL_FILTER(`spamassassin',`S=local:/var/run/spamass-milter.sock, 
F=,   T=C:15m;S:4m;R:4m;E:10m')dnl
    INPUT_MAIL_FILTER(`clmilter', `S=local:/var/run/clamav/clmilter.sock, 
F=, T=S:4m;R:4m')dnl
    define(`confINPUT_MAIL_FILTERS', `clmilter,spamassassin')dnl
 

I have .procmailrc in every home directory of my mail users and it goes like 
this:

 :0fw: spamassassin.lock
 | /usr/local/bin/spamc

 :0:
 * ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
 /dev/null

    :0:
    * ^X-Spam-Status: Yes
    Probably-Spam

I also have RulesDuJour installed and spammassassin --lint does complain about 
it.

spamassassin process:

11894  ??  Ss 0:30.74 /usr/local/bin/spamd -c -d -r -m 20 --round-robin 
/var/run/spamd/spamd.pid (perl5.8.8)
11903  ??  Ss 0:06.55 /usr/local/sbin/spamass-milter -f -p 
/var/run/spamass-milter.sock

When my mail server became slow, my mqueue grows rapidly and there are lots of 
spamc processes.

Please help, thnx.

alyd












___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Spamassassin very slow

2008-07-22 Thread lyd mc
Thanks edwin. I better watch those dns rbl feature..

Regards,

alyd

--- On Wed, 7/23/08, Edwin Groothuis [EMAIL PROTECTED] wrote:
From: Edwin Groothuis [EMAIL PROTECTED]
Subject: Spamassassin very slow
To: freebsd-questions@FreeBSD.org
Cc: lyd mc [EMAIL PROTECTED]
Date: Wednesday, July 23, 2008, 10:38 AM

 iLast day my mail server became very slow. I haven't found any
 mysterious errors/warnings in /var/log/message and maillog. When I
 disable spammilter in sendmail it became fast.

Normally this happens to me when I a DNS based RBL suddenly goes
out of action.

I know it won't solve your problem, but have a look on the wire if
all DNS queries are answered in time.

Edwin

-- 
Edwin Groothuis  |Personal website: http://www.mavetju.org
[EMAIL PROTECTED]|  Weblog: http://www.mavetju.org/weblog/


  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Spamassassin very slow

2008-07-22 Thread lyd mc
Thanks james. I thought before that spamc on .procmailrc handle checking mail 
for outgoing (mail from local user) and milter in sendmail handle incoming mail 
checking.

Best  regards,

alyd 

--- On Wed, 7/23/08, James Tanis [EMAIL PROTECTED] wrote:
From: James Tanis [EMAIL PROTECTED]
Subject: Re: Spamassassin very slow
To: [EMAIL PROTECTED], freebsd-questions@freebsd.org
Date: Wednesday, July 23, 2008, 11:08 AM

lyd mc [EMAIL PROTECTED] wrote:

 What causes spamassassin to slow?

 Here is my config:

 snippet from sendmail.mc
 .. cut ..

 I have .procmailrc in every home directory of my mail users and it goes
like
 this:

So if I'm understanding you correctly.. your calling spamc from a sendmail
milter *and* .procmailrc. That's pretty redundant and would definately slow
you down. Choose one based on your needs.


 I also have RulesDuJour installed and spammassassin --lint does complain
about
 it.


Extra rules can slow you down regardless of syntax, but most computers
created this decade can handle RulesDuJour fine. Personally I think your
main problem is that your effectively spam checking every message twice. The
spamassassin queues most likely get filled followed by sendmail having to
wait and queue up the slack.
--
James Tanis
Technical Coordinator
Monsignor Donovan Catholic High School
e: [EMAIL PROTECTED]



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Repeating Mail

2008-07-15 Thread lyd mc
Hi guys,

Some of my mail users receive repeating mail. I am using sendmail and my user 
uses MS Outlook to send/receive. 

Is there any way to solve this problem?

Thank you.

Best regards,

alyd




  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: quota and sendmail accepts 10k mail size

2008-07-10 Thread lyd mc
Hi Mikhail,

Thank you for the great suggestion. I will try it in our new server.

Regards,
alyd

--- On Thu, 7/10/08, Mikhail Goriachev [EMAIL PROTECTED] wrote:
From: Mikhail Goriachev [EMAIL PROTECTED]
Subject: Re: quota and sendmail accepts 10k mail size
To: [EMAIL PROTECTED], [EMAIL PROTECTED], freebsd-questions@freebsd.org
Date: Thursday, July 10, 2008, 10:19 PM

Quoting lyd mc [EMAIL PROTECTED]:


 However, my company wants to have 20meg mbox space per user. If the  
 User exceeds, he/she should not recieved any mail.

 So, I use system quota to prevent sendmail from writing to mbox of a


Let me suggest slightly different approaches:

1.- You could have /usr/ports/mail/mimedefang making the decisions  
instead of sendmail or system quota. There you can set your own rules  
and sendmail will abide them. This gives you far better control and  
you're limited by your own imagination.

2.- Implement a mail server with quota capabilities. For instance  
cyrus-imap. There you can set quota limits, warning messages to users,  
percentages and so on. This is the easiest approach.



Regards,
Mikhail.

-- 
Mikhail Goriachev
Webanoide


  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: quota and sendmail accepts 10k mail size

2008-07-09 Thread lyd mc
Hi Derek,

It is good to hear from you.

You are right about sendmail has only global option to limit mail size. 

However, my company wants to have 20meg mbox space per user. If the User 
exceeds, he/she should not recieved any mail.

So, I use system quota to prevent sendmail from writing to mbox of a user which 
is under quota.Sendmail should bounce the mail and reply to sender with this 
kind of error:

- The following addresses had permanent fatal errors - [EMAIL 
PROTECTED]

(reason: 550 5.0.0 output error)

Here is my configs:

I enable quota to /var and /home filesystem

/dev/ipsd0s1f   /home   ufs rw,userquota    2   2
/dev/ipsd0s1d   /var    ufs rw,userquota    2   2

# qouta -v user.underquota
Disk quotas for user user.underquota (uid 1333):
 Filesystem   usage   quota   limit   grace   files   quota   limit   grace
  /home 210   20480   20480  11   0   0
   /var   62960*   20480   20480    none 1   0   0

As you can see here, user.underquota already exceeded the limit (soft and 
hard). If I try to send a mail to this user more than 13k mail size, sendmail 
cannot write to this mbox (since mbox of a user is located in /var/mail) and 
will reply with an error message. At first I thought it was working, however, 
when i try to send 10k, 7k, 5k or less mail size, sendmail can write to 
user.underquota mbox.

User file permition:

#ls -l
-rw-rw    1 user.underquota    mail 64413589 Jul  8 09:54 
user.underquota 

So, what do you think? Do i missed some config? or this is a bug?

Thank you.

Best regards,

Alyd




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


quota and sendmail accepts 10k mail size

2008-07-07 Thread lyd mc
Greetings,

I setup my mail server on freebsd7.0R and it is working great!

However, I have a problem on quota. It suppose to block any incoming message to 
specific user which is under quota. But sendmail can still send to the user 
under quota if the mail size is ~ less than 10k. Quota only works when the mail 
size is  greater than 13k.

Is there any way to correct this problem? Please help.


By the way, i disable the grace period via quota.h.

   #define MAX_IQ_TIME (0) /* seconds in 1 week */
   #define MAX_DQ_TIME (0) /* seconds in 1 week */


And my mail users authenticate via ldap.

Thank you and more power.









___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to install and configure CVSUP?

2006-04-08 Thread Mc Shch


  __

From:  David Schulz [EMAIL PROTECTED]
Reply-To:  [EMAIL PROTECTED]
To:  Mc Shch [EMAIL PROTECTED]
CC:  freebsd-questions@freebsd.org
Subject:  Re: How to install and configure CVSUP?
Date:  Sat, 08 Apr 2006 19:32:55 +0800
i guess you want to update your ports tree. it is very well
explained in
the handbook, or
http://www.bsdguides.org/guides/freebsd/misc/update_ports_tree.php

Mc Shch wrote:
 
  Hi there, Can anyone tell me the detial of how to install and
  configure CVSup?
 
  -Exploit_it

Thx,i will try it...

-Exploit_it
_

  免费下载 [1]MSN Explorer 


References

  1. http://g.msn.com/8HMACNCN/2740??PS=47575
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to use shell commands to work for my requests?

2006-04-07 Thread Mc Shch


  Hi all,

  I wanna know how to use shell commands to search some files which
  contain a specail strings i want...
  For example:
  i want to search some files which contain getopt string...

  any ideas?

  -Exploit_it
_

  使用世界上最大的电子邮件 系统― [1]MSN Hotmail Get 2 months FREE*.

References

  1. http://g.msn.com/8HMBCNCN/2749??PS=47575
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to use shell commands to work for my requests?

2006-04-07 Thread Mc Shch


  __

From:  [EMAIL PROTECTED]
To:  Mc Shch [EMAIL PROTECTED]
CC:  freebsd-questions@freebsd.org
Subject:  Re: How to use shell commands to work for my requests?
Date:  Fri, 7 Apr 2006 15:17:46 +0200
Hi Exploit_it

 For example:
 i want to search some files which contain getopt string...

what's in a name...

brute force: grep -R getopt *

smarter: find . -name *.cpp -exec grep getopt {}\; -print

regards,

usleep


PS this is a resend to fix etiquette
Thx,usleep,,,I get the right answer from you!

regards.

-Exploit_it
_

  免费下载 [1]MSN Explorer 


References

  1. http://g.msn.com/8HMBCNCN/2740??PS=47575
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to install and configure CVSUP?

2006-04-07 Thread Mc Shch


  Hi there,

  Can anyone tell me the detial of how to install and configure CVSup?

  -Exploit_it
_

  使用世界上最大的电子邮件 系统― [1]MSN Hotmail 


References

  1. http://g.msn.com/8HMACNCN/2755??PS=47575
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ADSL Prob is ok now

2006-04-05 Thread Mc Shch

HI,sir:
 My adsl prob in FreeBSD5.3 is ok,now
 I add two lines to the resolv.conf as below:

search domain
nameserver 202.96.128.68

so,thanks for your reply,i will  contact wiht you when i have probs..

thanks again!

_
免费下载 MSN Explorer:   http://explorer.msn.com/lccn/  


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


fcitx problem

2006-04-05 Thread Mc Shch

Hi,sir:
I am using FreeBSD5.3 operating system.
And I have a prob about fcitx installation
I run the command below to install fcitx:

#cd /usr/ports/chinese/fcitx
#make install clean

I am sure that fcitx is installed corectly,
and I also configure the root/.xinitrc as below:

export LANG=zh_CN.eucCN
exec gnome-session
export LC_CTYPE=zh_CN.GBK
export XMODIFIERS='@im=fcitx'
exec fcitx

but I can not run the fcitx when I logout and login again,so I need your 
help

Tell me how to configure the system!

_
享用世界上最大的电子邮件系统― MSN Hotmail。  http://www.hotmail.com  


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


about Acrobat Reader

2006-04-05 Thread Mc Shch


  Greeting,
  I need help,i am on the FreeBSD5.3 release.when i open a *.pdf which
  is chinesefile with Acrobat Reader,there is a error,said that:
  you must clear this error by installing a chinese pagekage...
  any idea?
  how to install the pagekage...
  thx,
  -
  Exploit_it
_

  使用 [1]MSN Messenger 与联机的朋友进行交流

References

  1. http://g.msn.com/8HMBCNCN/2737??PS=47575
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ADSL prob!

2006-03-27 Thread Mc Shch


  Hi sir:
I need your help.
I am using FreeBSD5.3 operating system,and I have configure
  etc/ppp/ppp.conf rightly.
  when I use ppp by typing this:

  #ppp -ddial papchap

  to connect to the internet with a ADSL modem.
  I recive this infomation:

  Working in ddial mode
  Using interface:tun0

  and i try to ping [1]www.baidu.com
  #ping [2]www.baidu.com
  ping:cannot resolve [3]www.baidu.com:Host name lookup failure

  and my webbrowser didnt work...
  I wonder how can i connect to internet and how to configure the
  system!!!
_

  使用世界上最大的电子邮件 系统― [4]MSN Hotmail Get 2 months FREE*.

References

  1. http://www.baidu.com/
  2. http://www.baidu.com/
  3. http://www.baidu.com/
  4. http://g.msn.com/8HMBCNCN/2749??PS=47575
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Sound problems..

2004-04-12 Thread J Mc.
i have no sound, and i think its du to my sound card, which is on board my mobo. im 
not sure what type card it is, and not sure how to fix this problem. this is the mobo 
tho

http://www.ecsusa.com/products/k7som.html

any help would be great, but if you can STEP-BY-STEP would be GREAT. im a 
bsd/unix/linux newb, but i want to learn and this will help i think :)

thanks!
   Josey McCormick


-
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


OpenOffice 1.0.1 core?

2002-10-25 Thread Joel Mc Graw
I downloaded OO 1.0.1 for Linux from OpenOffice.org and ran the setup as
a normal (non-root) user, which installed it off my home directory.
Everything appeared to work fine, but when I try to start any of the
components (soffice, etc), it dumps core.  Yes I have the linuxlator
working.  Is there anything else I should try?

uname -a
FreeBSD caffeinated.digitalshamrock.com 4.5-RELEASE FreeBSD 4.5-RELEASE

TIA,

Joel


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message