Re: [nycbug-talk] Can I install FreeBSD 5.3 from a USB CD drive?

2005-08-12 Thread Kliment Andreev

Maude User wrote:

Thanks for this info.
 
The handbook chapter on BIOS (see below) doesn't mention USB but it 
says the machine
can boot from Removable Devices so it sounds like your first 
suggestion about booting from

removable drives would work.


Even if you boot from the USB CD, there is a chance that FreeBSD load 
won't recognize the USB chipset, so you won't be able to choose the 
source for the installation media.

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


Re: Find Command Syntax

2004-09-22 Thread Kliment Andreev
Drew Tomlinson wrote:
I've also tried a combination of adding ()'s around the expression but 
that hasn't worked either.  What am I missing?  Is this an appropriate 
choice for what I want to do?  Is there another command better suited 
for this task?
Use quotes 
# find . -name aaa -print  differs from
# find . -name aaa - print
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: anonymous ftp passwd

2004-01-08 Thread Kliment Andreev
i would like to identify the anonymous passwd of our clients for
statistical purposes.  I know that ftp transmits the username and passwd
in plain text.  Is there a way to decrypt them.

Look for kripp and sniff in ports/security
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Two unrelated questions

2004-01-06 Thread Kliment Andreev
 2)  I have installed freebsd 4.9  on my Dell Inspiron 8100 laptop, when I
 try to configure XFree86 I have to use the text based tool.  After doing
 that, when I run startx I get a grainy desktop that almost covers my
screen,
 but not quite, and has only a clock window, a login window, and an xterm
 window, and nothing else.  Where am I going wrong?

You didn't install some of the window managers. Log as root and

# cd /stand
# ./sysinstall

Choose Post-Configure XFree86 or something and install KDE, Gnome or
something similar.

# rehash
# startx

It should work...

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


Re: Super User

2003-12-31 Thread Kliment Andreev
 I wanting to know how I can add a user to the super use list so that I can
 log in remote and sudo commands. I have notice that unlike linux, root may
 not ssh in, which I think is cool, but unless I can create a super user,
or
 add to the list that let's me run root commands kinda hard to admin a
 freebsd server.

Add the user to the wheel group.


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


Re: Burning DVD-R's

2003-12-29 Thread Kliment Andreev
 drive I have at hand. Can anyone tell me (a) whether FreeBSD can burn
DVD-R's;
 (b) whether it wil work with this drive; and (c) what commands are
required to
 do the burning?  All info much appreciated.


Check this link. It might help you.

http://www.whiterose.net/~mrpink/freebsd/dvdr.php

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


snmpd problem

2003-12-15 Thread Kliment Andreev
I am having problem running snmpd (FreeBSD 5.1). After installing the port
with make all install clean, the startup script is not working with no
errors/warnings given. If I manually run the snmpd with
/usr/local/sbin/snmpd -s, I got this in /var/log/messages

snmpd[1206]: nlist err: neither nproc nor _nproc found


Googling with this words doesn't provide any help.

HELP! :)

Thanks...

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


Proftpd 1.28 + FreeBSD 5.1

2003-12-05 Thread Kliment Andreev
Hi,

I have a strange problem with proftpd 1.28. When I connect to the ftp server
with a client (same problem from the inside/outside the network) I got that
message connected to abc.xyz.com immediately, but after that, there is a
lag for about 5 seconds before login prompt comes. After that everything is
working normal. All other services (mail/www) are working fine. Is this an
issue with a proftpd?

Thanks...

/usr/local/etc/proftpd.conf

ServerName  ProFTPD
ServerType  standalone
DefaultServer   on
AuthPAM on

Port21
Umask   022
MaxInstances30

Usernobody
Group   nogroup
TimeoutStalled  300

Global
AllowOverwrite  On
/Global

Anonymous ~ftp
Userftp
Group   ftp
AnonRequirePassword on
DisplayLogin.welcome.msg
DisplayQuit .quit.msg
AllowStoreRestart   On
RequireValidShell   off

  Directory UL
Limit READ STOR CWD MKD
  AllowAll
/Limit
Limit RMD DEL
  DenyAll
/Limit
  /Directory

  Directory DL
Limit WRITE
  DenyAll
/Limit
  /Directory
/Anonymous

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


Re: Proftpd 1.28 + FreeBSD 5.1 - SOLVED

2003-12-05 Thread Kliment Andreev
  I have a strange problem with proftpd 1.28. When I connect to the ftp
  server with a client (same problem from the inside/outside the network)
  I got that message connected to abc.xyz.com immediately, but after
  that, there is a lag for about 5 seconds before login prompt comes.
  After that everything is working normal. All other services (mail/www)
  are working fine. Is this an issue with a proftpd?

IdentLookups off
UseReverseDNS off

in proftpd.conf solved the problem.


Thanks to Denis R.

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


Re: Which webmail

2003-11-19 Thread Kliment Andreev

 I'd have to say Squirrel Mail
 
 http://www.squirrelmail.org/
 
 I'm partial to http://www.horde.org  AWESOME

http://www.openwebmail.org/ I am using this...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mount SMB share on bootup

2003-11-10 Thread Kliment Andreev
 point is password protected (on the XP side) so I am prompted for a
 password.  How can I automate that?  Or should I create the share without
a
 password?  I am not too worried about internal security so the share could
 have no password and that would be fine.

Create a script called whatever.sh, chmod +x 755 whatever.sh and put that
script in a /usr/local/etc/rc.d.

Put the following lines in that script

#!/bin/sh
smbmount username=user password=pass and the rest of the parametars that you
are normaly using when mounting smb partition.

Mind that if your startup script for samba is samba.sh your mounting script
must start with a letter after the letter s otherwise you would mounting a
samba share without smb daemon started.

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


Re: traceroute works - ping doesn't

2003-10-22 Thread Kliment Andreev
 so got a complete traceroute. Any idea why I can't ping but can 
 traceroute? I am
 unable to run make install to install ports because it doesn't connect.

They are using firewall (ICMP blocking).
Are you sure with the ports? Sometimes it takes a while.

What about ftp ftp.freebsd.org?
What is the output of this? ping a.root-servers.net

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


Re: perl serial port access

2003-10-17 Thread Kliment Andreev
 What is the name of the /dev for the serial port in FreeBSD. dmesg says
 there are sio0 and sio1 but there are no such file names in /dev.
Most devices in the kernel are accessed through ``device special files'',
which are located in the /dev directory. The sio devices are accessed
through the /dev/ttydN (dial-in) and /dev/cuaaN (call-out) devices. FreeBSD
also provides initialization devices (/dev/ttyidN and /dev/cuaiaN) and
locking devices (/dev/ttyldN and /dev/cualaN).and so on (handbook)

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


Re: freebsd testing bandwidth

2003-10-16 Thread Kliment Andreev
 Is there a way to test bandwidth with a free bsd box?

There a some utilities in the ports tree to test the network speed, but you
can also use your favorite browser  in your favorite X shell, to check the
DSL/Cable speed. www.dslreports.comm/tools



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


Re: ppp

2003-10-07 Thread Kliment Andreev
 I need to be able to tell the modem not to detect a
 dial tone when using ppp.
 After typing 'AT' I get 'OK'. After 'ATDT1234567' I
 get 'NO DIAL TONE'
 I'd like to use NAT to connect machines in my LAN to
 the net. Is there
 any command that I can give it in ppp.conf to tell it
 not to detect the
 dial tone?

You can do that with ATX3 (detect busy but do not detect dial tone)

Also, you can store this X3 in a profile so you won't need to type this in
future. Search for modem hayes AT commands for your modem.

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


Re: FreeBSD SPAM

2003-10-03 Thread Kliment Andreev
   I know this is an issue that comes up a lot, but I wanted to get
   an opinion from some people on the list. We, along with everyone
   else, have TONS of SPAM hit our server. Unfortunately, we
   haven't found any good way to reduce it. We're using ORDB and
   SpamCop, but neither are really doing the job. We're a small
   small company (7 employees) with about 100 mailboxes on the
   server. We don't mind paying for a service that works, but we
   are certainly on a tight budget. Any recommendations would be
   greatly appreciated. Currently, we're using Sendmail, although
   we're considering (and testing) a switch to PostFix. TIA for any

Check www.kaspersky.com for anti-virus and anti-spam tools for FreeBSD.
If you decide to use SpamAssassin and if you have a lot of spam-mail coming
and a slow server, mind that it will clog you CPU very, very soon.

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


Re: Onboard Sound Card

2003-10-03 Thread Kliment Andreev
 Hello,
 I have Intel P4I865G Chipset with AC'97 v.2.2 onboard audio
 and I would like to know if it is supported by the FreeBSD
 4.8-Stable kernel. If it is - how can I bring my sound card
 up ? What line should I add to my kernel configuration file

It might work with pcm driver.

http://www.freebsd.org/releases/4.8R/hardware-i386.html#AEN1685

Audio howto

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html




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


Re: trafshow

2003-10-03 Thread Kliment Andreev
 I have installed my first port!  But don't appear to know where to run
 it from...  Getting file not found all over but can read the man so
 believe it's there.

# cd /usr/ports/net/trafshow
# make all install clean
...
# trafshow
trafshow: Command not fount
# rehash
# trafshow

 :)))

This is most common error with csh shell. Use rehash or just log off and log
back on,

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


Re: help

2003-09-12 Thread Kliment Andreev
 We are having Server with FreeBSD 4.6.2 - Release. I would like to know
Some basic paths  Commands to start, stop the apache, sendmail , ftpd,
mysqld services.  How or Where Iwill find these services means what is the
path for those.
 Please help me in this issue.

If they were installed from the ports, look at /usr/local/etc/rc.d directory

You can start/stop services with sh /usr/local/etc/rc.d/apache.sh start
or sh /usr/local/etc/rc.d/apache.sh stop

Do this

# cd /usr/local/etc/rc.d
# ls
cupsd.sh.sampleimapd.sh   snmpd.sh.sample
samba.sh   zope.sh.no slapd.sh
000.mysql-client.sh020.jakarta-tomcat3.sh innd.sh.no
proftpd.sh stunnel.sh.no  shoutcast.sh.no
apache.sh  pgsql.sh   slapd.sh.sample
mysql-server.shsnmpd.sh
qmail.sh   squid.sh.no
# sh FILE_NAME start

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


Re: How to add a disk to a new system without losing the data on it?

2003-09-12 Thread Kliment Andreev
 Hello,
 How do I add a disk containing data to a new system without erasing
 that data.

Check dmesg output to see the device name. Then try to mount that hard disk.
If everything went fine, you might want to mount that HDD on every boot so
check
/etc/fstab.

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


OpenGroupWare build failed

2003-09-05 Thread Kliment Andreev
I am trying to build OpenGroupware from sources.

Using:
FreeBSD 4.7
GNU Make 3.79.1
gcc 2.95.4

Everything went fine until I've tried to build SKYRIX Core Libraires

# gmake -s nosasl=yes debug=yes install

NGActiveSocket.m: In function `-[NGActiveSocket _unixWriteBytes:count:]':
NGActiveSocket.m:860: warning: implicit declaration of function `sleep'
gmake[2]: *** [shared_debug_obj/ix86/freebsd/gnu-fd-nil/NGActiveSocket.o]
Error 1
gmake[1]: *** [libNGStreams.all.library.variables] Error 2
gmake: *** [internal-all] Error 2


I tried to find what this error means but there is no explanation on GNU
Make site. I assume that the problem is the linker.

Anyone?

Thanks...

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


Re: Qmail Help

2003-08-28 Thread Kliment Andreev
 Does anyone know any good tutorials sites for qmail and vpopmail? im
trying
 to set up a mail server for multiple domains.

http://www.tigertimes.net/vpopmail/Qmail-FreeBSD.txt

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


Re: Flood of infected emails

2003-08-19 Thread Kliment Andreev


 Has anyone besides me been receiving a flood of infected emails?


I am flooded too. From 8:00AM (EST) till now (11:40AM) I received almost 120
of these emails. I am using Norton Antivirus 2003. The attachments were
purged automatically. According to
http://www.symantec.com/avcenter/venc/data/[EMAIL PROTECTED]
this worm will stop 10-Sep. :)

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


Re: 'TOP' stats ?

2003-06-26 Thread Kliment Andreev

 What are the CPU stats actually measuring? How is idle computed?

 What's the difference between Inact and Free memory stats?

Check out this sample chapter. It is what you need. And the whole book is
also excellent.

http://www.nostarch.com/AbsoluteBSD18.pdf


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


Re: Wireless nic

2003-06-26 Thread Kliment Andreev

I am going to buy a wireless nic for my laptop.  Are there any models that
will automaticaly work when I put it in?  What are the best ones?

No. You need to configure them first but it's not a big deal. It's very easy
and everything is
well documented (freebsd.org/handbook). I am using Cisco Aironet (ancontrol
instead
of wicontrol)

I found that the dlink-650+ is just not going to work.

Yes, because they've changed the chipset in the card, but didn't change the
model. I have the
same problem and I sold the card on ebay recently.

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


Syslog question

2003-06-25 Thread Kliment Andreev
I have the following in /etc/syslog.conf. Notice lines (1) and (3).
I want to log news.notice ONLY in /var/log/news/news.notice but instead of
that I have the same output both in /var/log/news/news.notice and
/var/log/messages. If I remove *.notice from line (3) I am afraid that I
would not log any other *.notice messages.

(1) news.notice
/var/log/news/news.notice
*.err;kern.debug;auth.notice;mail.crit  /dev/console
(3) *.notice;kern.debug;lpr.info;mail.crit  /var/log/messages

What should I modify, before I kill -HUP `cat /var/run/syslog.pid`.


Thanks...

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


ftp mirroring program

2003-06-24 Thread Kliment Andreev
I need a good ftp mirroring program. I've checked the ports and there are
couple of them. I don't have time to try them all, so any recommendation is
highly appreciated.

Thanks...

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


Re: Login problem with Telnetd

2003-06-19 Thread Kliment Andreev
 i used the root/password in the server machine side
 i put loggin/password but
 a receive the message [ SRA login failed ]

You are not allowed to log as root using telnet or ssh. Log as normal user
then use su. And try not to use telnet. Use ssh instead.

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


Re: television cable internet service

2003-06-17 Thread Kliment Andreev
 computer saw the cable network, but the cable refused to accept a logon
 request from the computer.  The technician said that he believed that
 neither B.S.D. nor any other Unix, nor any Microsoft product that could be
 programmed to act as a server was acceptable.  Has any other person had
the

I don't know about Comcast, but they probably also run a DHCP server. So you
need to tell
to your NIC to act as a DHCP client. Put the following line in /etc/rc.conf

ifconfig_nic0=DHCP

where nic0 is the name of your NIC. (Check the name with # ifconfig -a)

You should get some dynamic IP.

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


Re: Compiling C code

2003-06-16 Thread Kliment Andreev
 I am trying to compile some C code and I get the
 following errors:
 windows.h: No such file or directory

Are you sure that the program is not Windows specific?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Compiling C code

2003-06-16 Thread Kliment Andreev
 It doesn't have to be a GUI application, just the requirement of sockets
 requires to include windows.h. If there're no more messages that missing
 include file, simply remove the include.

Huh? Why windows.h for sockets when ... /usr/include/sys/socket.h 

:))



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


ipfw + squid

2003-06-12 Thread Kliment Andreev
I have ipfw + squid (ext NIC: fxp0, int NIC: dc0). Squid is listening on
port 3128.

Using ipfilter I will do

rdr dc0 0/0 port 80 - 127.0.0.1 port 3128 tcp

How can I do this in ipfw

00050 36764 12234591 divert 8668 ip from any to any via fxp0
   00060 00 divert 80 tcp from any to any 3128
00100  4732 13839892 allow ip from any to any via lo0
00200 00 deny ip from any to 127.0.0.0/8
00300 00 deny ip from 127.0.0.0/8 to any
65000 53018 18345167 allow ip from any to any
65535 1  328 allow ip from any to any


Line 60 doesn't seem to work for me.

Thanks!

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


Re: measure energy

2003-06-07 Thread Kliment Andreev
 I am getting some weird crashes and i'd like to be able to rule out power
 loss.

How many HDDs do you have? How many cards are installed? How powerfull is
your power supply? If you have AMD and 250W power supply, probably that's
the reason. Also, check the memory modules but they usually throw sig 11.

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


Re: where to put tarball

2003-06-04 Thread Kliment Andreev
 I'm wondering where is the proper location to put a tarball (containing
source code) that I've downloaded and want to untar and compile. In Linux,
you generally would put it in /usr/src. I know all the FreeBSD documentation
says /usr/local is where all your personalized software

I put the tarballs in /tmp. Then I use make which actually compiles/installs
software. You can override default install directory. After that, I simply
rm -Rf /tmp/tarball.

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


Re: Using squirrelmail with qmail, relaying problem

2003-05-29 Thread Kliment Andreev
 Requested action not taken: mailbox name not allowed
 Server replied: 553 sorry, that domain isn't in my list of allowed
 rcpthosts (#5.7.1)

Try with this rc script. Just change the hostname.domain inside the script.#!/bin/sh

#
# This script starts and stops the qmail mail functions.
#

# Suck in the configuration variables.
if [ -r /etc/defaults/rc.conf ]; then
. /etc/defaults/rc.conf
source_rc_confs
elif [ -r /etc/rc.conf ]; then
. /etc/rc.conf
fi

case $1 in
start)
case ${qmail_smtp_enable} in
[Yy][Ee][Ss])
# Start the qmail smtp daemon
/usr/local/bin/tcpserver -H -R -c 255 -x /etc/tcp.smtp.cdb \
-u 82 -g 81 0 25 /var/qmail/bin/qmail-smtpd 
echo -n  qmail-smtp
;;
esac

case ${qmail_pop_enable} in
[Yy][Ee][Ss])
# Start the qmail pop daemon
/usr/local/bin/tcpserver -H -R -c 255 0 110 \
/var/qmail/bin/qmail-popup goatrance.chombe.org \
/usr/local/bin/checkpassword /var/qmail/bin/qmail-pop3d \
 Maildir 
echo -n  qmail-pop
;;
esac

case ${qmail_enable} in
[Yy][Ee][Ss])
# Start qmail
exec env - PATH=/var/qmail/bin:$PATH \
qmail-start ./Maildir splogger qmail 
echo -n  qmail
;;
esac
;;
stop)
# Stop the smtp daemon
smtppid=`ps -axw | grep tcpserver | grep smtp | grep -v grep | awk '{ print $1 
}'`
if [ $smtppid !=  ]; then
kill $smtppid
echo -n  qmail-smtp
fi

# Stop the pop daemon
poppid=`ps -axw | grep tcpserver | grep popup | grep -v grep | awk '{ print $1 
}'`
if [ $poppid !=  ]; then
kill $poppid
echo -n  qmail-pop
fi

# Stop qmail
qmailpid=`ps -axw | grep qmail-send | grep -v grep | awk '{ print $1 }'`
if [ $qmailpid !=  ]; then
kill $qmailpid
echo -n  qmail
fi
;;
*)
echo Usage: `basename $0` {start|stop} 2
;;
esac

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


Re: Cascading qmail servers

2003-05-28 Thread Kliment Andreev
 Thank you for your answer, but there is no manual entry for
 qmail-remote. Do you have any links or documents about that?

Here: 

http://www.qmail.org/man/man8/qmail-remote.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Boot up disturbing messages

2003-05-28 Thread Kliment Andreev
   domain name (machine1) -- using short name
   May 28 02:39:17 machine1 sendmail[220]: h4S9dHh00220: from=root,
   size=437, class=-60, nrcpts=1,
 
 sendmail_enable=NONE
 Put this in /etc/rc.conf to completly disable sendmail if you want. Do not
 use NO.
 
3. An error message is generated == /etc/ssh/sshd_config line 57: bad
   config option: AllowTcpForwarding , which I had inadvertently set
   previously but removed, in /etc/ssh/sshd_config file actual line is
   AllowTcpForwarding no,  but apparently the original option line
 
 Try to remove it from sshd_config and kill -HUP to restart sshd.
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cascading qmail servers

2003-05-28 Thread Kliment Andreev
  Thank you for your answer, but there is no manual entry for
  qmail-remote. Do you have any links or documents about that?
 
 Here: 
 
 http://www.qmail.org/man/man8/qmail-remote.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


login_conf problem

2003-03-12 Thread Kliment Andreev
I have the following in $HOME/.login_conf to use cyrillic characters on the
screen.

me:\
:charset=iso-8859-5:\
:lang=ru_RU.ISO8859-5:

Everything is fine, except that when I start midnigh commander or slrn, the
text is on russian. I only need cyrillic chars not russian text. I tried to
ommit :lang=ru_RU.ISO8859-5 but now I get the same russian text in some
programs but with non recognizable characters.

BTW, is there any tutorial how can I make my own .fnt, .kbd files. I was
planning to do support for Macedonian language.

Thanks!



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


Re: cat

2003-02-26 Thread Kliment Andreev
  I want to remove CRs from text files so what I did is this:
 
  cat filename | tr -d '\r'  filename
 

It's easier with 'tr' but you can also use vi.

# vi text.txt

:1,$s/^M//g

where ^M means that you need to hit Ctrl-V.




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


Re: bash

2003-02-12 Thread Kliment Andreev
 I just installed bash from the ports and changed my shell with the chsh
command.
 I created a .bashrc file with a few settings and put it in my home
directory.
 When i log out and log back in the .bashrc is not being executed. Is there
 something that i need to do before that will work?
 thanks,

# ls -la .bashrc

Check the permissions. Hope this helps.



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



Re: bsd logo

2003-02-11 Thread Kliment Andreev

 Im looking for the BSD daemon logo in large enough quality to use for a
 bumber sticker. If you know of bumper stickers available or where i could
 obtain the logo in that quality, Please let me know.

http://www.zazzle.com/shirts/gallery/product.asp?product%5Fid=10013405side=
back




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



Re: burning audio CD's from mp3's

2002-12-30 Thread Kliment Andreev
 I have a few mp3 files I'd like to burn an audio cd from. I use mpg321
 for playing mp3's, and burncd to burn cd's, so my first thought was:
 let's pipe them together. I read the man pages, and tried this:

You need to convert these tracks into WAV. I prefer lame
(/usr/ports/audio/lame).

# lame --decode input.mp3 output.wav   (Check lame --help for options)

After you have these tracks as WAV you can burn them using

# burncd -f /dev/acd0c audio track1.wav track2.wav ... fixate




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



Re: Need help installing FreeBSD

2002-12-27 Thread Kliment Andreev
 My question is If I want to load it from a CD. What
 should I write on the CD from the ftp site. I am too
 confused with the directories in the ftp site.


Download the ISO image.
ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/4.7

You will need only first ISO image. You will need a cd burning software
(Nero is my choice). :)



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



Re: problem with installing new ports

2002-12-20 Thread Kliment Andreev
 please let me know if i MUST hold a connection to the
 internet during the installations.if so, is there a
 way to avoid that connection?

Download the tarball into /usr/ports/distfiles. 

Then do

# cd /usr/ports/audio/mpeg123
# make all install clean 




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



Re: Questions

2002-12-16 Thread Kliment Andreev
 Hi fellows, I am using a freeBSD box with Gnome+Enligthment, I would like
to know
 which applications should I install to administer my users, network
connections and

You can use webmin (/usr/ports/sysutils/webmin), a Perl script that allows
you to administer your computer via browser. You can even remotely
administer your computer. If you don't want this remote feature put the
following line in /etc/hosts.allow

1: a.b.c.d/x.y.z.w : allow

where 1 is the default webmin port, a.b.c.d/x.y.z.w is your IP/Subnet
Mask.

http://www.webmin.com/





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



Re: VNC

2002-12-12 Thread Kliment Andreev
 Mais comment dmarrer vncserver automatiquement au boot sans taper la
 commande ??

Create the following file vnc.sh in /usr/local/etc/rc.d and put the
following lines

#!/bin/sh
/usr/X11R6/bin/vncserver 


It will automatique start vncserver when you reboot.




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



Re: Error: short read

2002-12-12 Thread Kliment Andreev
 I have downloaded the Helix Universal Server binary from RealNetworks.
 As I understand it, the binary is a self-extracting archive.  I have run
 the binary and get the following error:
 blacklamb# ./rs900-freebsd4-ia32.bin
 Extracting files for RealNetworks installation...
 Error: short read (0/86262 bytes) (File too large)

Probably the file is corrupted. I just downloaded the file from realnetworks

%ls -l aaa.bin
-rwxrwxrwx  1 ftp  ftp  14012106 Dec 12 15:18 aaa.bin
%md5 aaa.bin
MD5 (aaa.bin) = 502e15e3454227820794e6fbb4549397


Do the md5 to the file and compare the values.



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



Re: Next Problem with kernel

2002-12-12 Thread Kliment Andreev
 Panic: pmap_bootstamp: no local apic!
 mp_lock=0007; cpuid=0; lapic.id=
 Uptime: 0s
 
 I now it is kernel panic but why ?

Are you using standard GENERIC and LINT file?


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



Re: BIND9 port

2002-12-11 Thread Kliment Andreev
 Unfortuantely it didn't tell me where it expects the namedb dir to be, it
 didn't put a startup script in /usr/local/etc/rc.d like other ports do..
 Is this normal?
 
 Should I just create my own and wing it?

Put the following in /etc/rc.conf

# DNS server   
named_enable=YES
named_program=/usr/sbin/named
named_flags=-u bind -g bind

There is no need for startup script.


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



Re: Xwindow configuration

2002-12-06 Thread Kliment Andreev


 Hi fellows I've installed Xfree withouth problems , my mouse deamon works
fine ,
  but when the system loads Gnome my mouse goes crazy, I cant control it,
  but in text mode my mouse works fine.Any Ideas?

Put Auto instead of PS/2 in XFree86Config.



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



Re: crontab -e

2002-12-05 Thread Kliment Andreev

and insert this line:

*/15*   *   *   *   root  /usr/libexec/rs2 
/var/log/rs.log

Check to see if you have extra blank lines after the last line. Delete them.



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



Audio Copy

2002-12-05 Thread Kliment Andreev
Is there any easy way to do Audio-CD copy?

%dd if=/dev/acd1c of=six.iso bs=2048
dd: /dev/acd1c: Invalid argument

%mkisofs -o six.iso -J -R /dev/acd1c
Total translation table size: 0
Total rockridge attributes bytes: 266
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used e804
48 extents written (0 Mb)

I can use dagrab and then use burncd but sometimes there are gaps (of course
I can use -n switch) but I want an ISO image of an audio CD.



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



Re: Virtual Private Servers

2002-12-03 Thread Kliment Andreev
   Does anyone have any information on setting up virtual private
   servers with Freebsd? There are a lot of people doing it out there
   but I can't seem to find any documentation supporting it.

As far as I know virtual private server is a remote FreeBSD server with
root access.
What ACTUALLY do you want to know? mail, web, ftp, dns?

http://www.google.com/search?hl=enlr=ie=UTF-8oe=UTF-8q=freebsd+virtual+p
rivate+server




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



Re: File Counts

2002-12-02 Thread Kliment Andreev
 How do I get a count of the files in directories?  I need to be able to 
 get a listing of the number of files in a directory and counts for the 
 files in each sub-directory.

% ls -l | wc -l(In a directory)
% ls -lR | wc -l (Including sub-directories)




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



Re: changing directory listing type

2002-11-26 Thread Kliment Andreev
  Just has to log off and re login.
 
 Well, if you are using csh or tcsh, etc you can just
 do   'source .cshrc'  to get it to suck in the latest.

... or 

# rehash



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



Re: port forwarding

2002-11-22 Thread Kliment Andreev
  What is the easiest way of forwarding a port in FreeBSD. Suppose I want
  my server to listen on port 8280, but want all connection attempts to
port
  80  to be forwarded to this port ... can that be done?

Put this in /etc/ipnat.rules

rdr dc0 0/0 port 80 - 127.0.0.1 port 8280 tcp

And this in /etc/rc.conf

ipfilter_enable=YES
ipnat_enable=YES
ipmon_enable=YES
ipfs_enable=YES

I am using similar configuration for squid. But remember to check the
documentation first.
Here is a great article

http://www.defcon1.org/~ghostrdr/FreeBSD-STABLE_and_IPFILTER.html




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



Re: Directory

2002-11-22 Thread Kliment Andreev
 milneweb# ls
 My Pictures
 milneweb# cd My Pictures
 cd: Too many arguments.
 
 Is it because of the space between the words?  How do I get around this?

# cd My*


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



Re: jumpy optic mouse

2002-11-21 Thread Kliment Andreev
 Works fine in Win2k. Generic PS/2 worked fine before 
 I switched.
 Option  Protocol Auto
 Option  Device /dev/psm0

There are two XFree86Config files. Maybe you are modifying the wrong one.
Just a guess...




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



Re: jumpy optic mouse

2002-11-21 Thread Kliment Andreev
 With one modification to /etc/X11/XF86Config I had
 created a bigger problem(X died completely) so I
 presumed that was the place.
 Where is the other file?

/usr/X11R6/lib/X11/XF86Config 


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



Re: jumpy optic mouse

2002-11-21 Thread Kliment Andreev

 In the /usr/X11R6/lib/X11/ directory, I only have
 example config files. One is XF86Config.98 and the
 other is XF86Config.eg.

So you have one XF86Config file. Check this also, it might help.

http://www.xfree86.org/4.0.1/XF86Config.5.html



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



Re: Tripwire replacement

2002-11-21 Thread Kliment Andreev

I remember reading something about a new program that makes tripwire
obsolute, but I can't remember the name. Maybe someone in here can tell
me what programs it is and if it is true, that it is better than tripwire?

Aide or Trisentry?

http://www.onlamp.com/lpt/a/2837 for Trisentry.



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



Re: Low profile PCI NIC

2002-11-20 Thread Kliment Andreev


 Hi
 Is anyone using a low profile PCI 10/100 NIC that is happy with it?

I am using dual NIC with Intel 21143 (no name card) and D-Link 530TX+.
Because, my FreeBSD serves as a gateway I have over 3Gb daily transfer
(SoulSeek, Kazaa etc...). Except some increasing TX threshold messages in
/var/log/messages everything works without hickups.



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



Re: help!!!

2002-11-20 Thread Kliment Andreev
 I tried to rebuild kernel even, but without result.
 The network card is not detected.
 What to do? Help, please.

Are you sure that your NIC is working fine? Try another PCI slot and remove
all PCI cards except video card. Reboot and check dmesg to see if your card
is there.



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



Re: How Do i Turn Off Networking?

2002-11-18 Thread Kliment Andreev
 to boot it for the firat time, and every time since, It 
 freezes when it gets to the networking area.
 
 Can i disable ep0?


Try 

# ifconfig ep0 down

but I doubt that is the problem.


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



Re: burncd on 4.7 + YAMAHA CRW2200E

2002-11-14 Thread Kliment Andreev
 I'm very disappointed, no burncd working, no more a hard disk...
 The hardware was Asus + Athlon.

Unplug the cable from CDRW and try to boot. Double check jumpers and pin
1. Re-detect HDD from BIOS. It should work. If so, put CDRW on the second
controller as master, but make sure the jumper is correctly set. Use master
not C/S.



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



Re: cc1 error

2002-11-14 Thread Kliment Andreev
   $ cat test.c
   int main(void) { return (0); }
 
   $ cc test.c
   cc: Internal compiler error: program cc1 got fatal signal 11


Boot with old kernel and use the same above. What are the results? 


On my system

% uname -a
FreeBSD goatrance.futurebit.com 4.7-RELEASE FreeBSD 4.7-RELEASE #

% ls -l /usr/bin/cc
-r-xr-xr-x  2 root  wheel  130600 Oct  9 08:44 /usr/bin/cc  

% md5 /usr/bin/cc
MD5 (/usr/bin/cc) = 46b5c497010f86ab90f66d1f0796f541

% cc --version
2.95.4




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



Re: Linux better for desktop computing in heterogenous environments?

2002-11-13 Thread Kliment Andreev
 If I do:
 
 ncplogin -A host -U userid -T domain

Use -S server instead of -A host.


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



Re: Linux better for desktop computing in heterogenous environments?

2002-11-13 Thread Kliment Andreev
   ncplogin -A host -U userid -T domain
 
  Use -S server instead of -A host.

 ncplogin: can't find server : syserr = Network is down

Check these QA I've found on google groups, they might be useful.

http://groups.google.com/groups?hl=enlr=ie=ISO-8859-1q=ncplogin+syserr+ne
twork+is+downbtnG=Google+Search



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



Re: Network Card question

2002-11-13 Thread Kliment Andreev
 I did not see an unkown device message on boot.
 dmesg did not show it either.
 
 What is the next step in the diagnostic process?

% dmesg | grep Ethernet


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



Re: DSL, verizon, FreeBSD

2002-11-06 Thread Kliment Andreev
 this way), but the DSL modem doesn't say anything (no happy 'OK', but I
 am not sure if it is supposed to).

 Anyhow, does anyone out there have this setup?  Suggestions on changes to
 my rc.conf or ppp.conf or anything?

http://renaud.waldura.com/doc/freebsd/pppoe/

Step by step explanation. BTW, what is your FreeBSD version? I've had
problems with pppoe in 4.6.
4.5 works fine and now 4.7 works fine. My configuration is the same as yours
(2 NIC, Westel modem, Verizon NJ connection).



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



routed, dynamic update

2002-10-31 Thread Kliment Andreev
Hi,

how can I prevent automatic updating of routing tables where one of the
flags has D (Dynamic). I tried to put

routed: ALL: deny in /etc/hosts.allow, but somehow I still got entries in
routing table.

Thank you!






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



Re: question: sending to stdout AND file

2002-10-18 Thread Kliment Andreev
 One way is to use the tee command, e.g.:
 
 [johnnyb@zappa johnnyb]$ ls | tee listing.txt
 
 will send the results of the ls command to STDOUT and also to the file 
 listing.txt.


# man script




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



Re: Your remove request has been successfully processed!

2002-10-16 Thread Kliment Andreev

 Why doesn't postmaster put a procmail filter infront of the
 list software to prevent this abuse?


traceroute...

19  g2-1.bas2-m.sc5.yahoo.com (64.56.207.150)  91.545 ms  94.781 ms  92.792
ms
20  vl44.bas2-m.sc5.yahoo.com (66.163.160.222)  92.311 ms  91.559 ms  90.283
ms
21  mx2.freebsd.org (216.136.204.119)  89.862 ms  93.566 ms  93.261 ms

What does this mean? The computer is in yahoo's network?



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



routed daemon

2002-10-16 Thread Kliment Andreev

Hi,

I have a production PC (4.5-stable)

-- -
|172.16.1.3|---|172.16.4.10|---|172.16.4.11| - (Internet)
-- -
4.5 STABLECisco RouterPIX Firewall

--
(Internet) |172.19.4.10|---|172.19.1.x|(Clients)
--
Cisco Router

Everything is fine, but from time to time when I type

# netstat -r

I have

172.19gateway 172.16.4.10
172.19.1.10 gateway 172.16.4.11   --- This should not be here
(dynamic flag)

I don't have routed daemon running. Who is updating my routing table?

Thanks!



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



Re: kernel panic after updating to 4.7-stable

2002-10-14 Thread Kliment Andreev

 same file and the kernel did not build. I'm now cvsupping
 again and will rebuild world. If anything again goes wrong,
 I will go and cvsup for RELENG_4_7_0_RELEASE, as
 Keramidas suggested to another user.


I had the same problem yesterday and I had a luck with that small patch.



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



Re: Random panic and reboot

2002-10-14 Thread Kliment Andreev

 and use cheap memory, but this box has great memory
 (can't remember which brand) and has been running 4.4
 release for a year, then 4.6 release for the last 3
 Oct 14 03:07:20 mas01 /kernel: Fatal trap 12: page
 fault while in kernel mode

Fatal trap 12 is a hardware error, conflict but usually it means something
is wrong with the RAM even if it is a brand name. I have a box running very
smoothly for several months and when I was trying to cvsup/compile patches
I've got this errors. After buying another memory module, everything was OK.



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



Re: fxp, xl, rl device timeouts

2002-10-11 Thread Kliment Andreev

 I am receiving several:
 fxp0: device timeout
 xl0: watchdog timeout
 rl0: watchdog timeout

man fxp, man rl...Problem with the network connection, cable. Do you have
any other machines on the same network having similar problems?



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



Re: PCMCIA NETWORK CARD

2002-10-11 Thread Kliment Andreev

 I have installed FREEBSD 4.5 on toshiba satellite 4100 and would like to
 know what type PCMCIA network will work with it

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




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



VPN / gateway

2002-10-03 Thread Kliment Andreev

Hi,

my friend (Win9X machine IP: 10.10.1.10) is behind some gateway (10.10.1.1)
+ WebSense. I have FreeBSD 4.5 at home (2 NIC 24/7 DSL Internet, ext. IP
138.x.y.z, internal 192.168.0.1) and I am using it as a NAT.

What do I need to install (VPN as far as I know) on my FreeBSD and what
policy/credentials/program should I pass to my friend so he can browse work
related sites using my FreeBSD as a gateway? :))

Thanks in advance,
Kliment



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



Re: A cool IPF firewall trick

2002-09-25 Thread Kliment Andreev

 rule and the power LED (green) light up when traffic is passed with an
 ipf pass rule.


It's easier to use CAPS/SCROLL leds...;)


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



(no subject)

2002-07-22 Thread Kliment Andreev





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