Re: LDAP/nss_ldap adduser script

2005-08-02 Thread Andrey Simonenko
On Tue, Aug 02, 2005 at 02:24:26PM +0200, Joerg Pulz wrote: > >user_base=`awk '/nss_base_passwd/ {print $2}' /etc/ldap.conf | cut -f1 -d?` > >get_next_uid() { > > > > lastuid=`ldapsearch -LLL -b "$user_base" > >"objectclass=posixAccount" |\ > >awk '/uidNumber/ {print $2}' | so

Re: PAM debug

2005-07-26 Thread Andrey Simonenko
On Tue, 26 Jul 2005 09:19:42 +0200 in lucky.freebsd.questions, Valerio daelli wrote: > Hello > we are having problems with PAM authenticating users on LDAP. > We have FreeBSD 5.3. > We would like to switch debugging. > If we put this line in /etc/pam.d/login > > authsufficient pa

Re: Electrical circuits simulator

2005-07-11 Thread Andrey Simonenko
On Thu, Jul 07, 2005 at 09:04:20PM +0530, ??? (Shantanoo) wrote: > On 7/7/05, Andrey Simonenko <[EMAIL PROTECTED]> wrote: > > Hello all, > > > > What do you recommend to use for electrical circuits simulating? > > I need such software for educatio

Electrical circuits simulator

2005-07-07 Thread Andrey Simonenko
Hello all, What do you recommend to use for electrical circuits simulating? I need such software for educational purposes. I found Oregano in ports/cad, but may be I missed something and there is alternative with the same or better level of features as Oregano. Thanks. __

Re: Compiling PF and IPFW in the same kernel

2004-10-27 Thread Andrey Simonenko
On Tue, 26 Oct 2004 22:46:53 +0100 in lucky.freebsd.questions, Alexandre Vieira wrote: > Anyone knows if there is any problem in compiling ipfw and pf in the > same kernel? > Which one will be turned of by default? Or will they both be turned on? > Will the default rule for PF be allow all ? > T

Re: Linux emulators

2004-09-03 Thread Andrey Simonenko
On Thu, 2 Sep 2004 23:57:26 -0300 (ART) in lucky.freebsd.questions, E. J. Cerejo wrote: > Hello I'm running fbsd 4.10 and i would like to run > linux emulator but I see 3 versions in ports, does it > matter which one I install and do I have to add > anything to make.conf if I choose to use one othe

sys/i386/i386/exception.s RELENG_4 help to understand several lines

2003-10-07 Thread Andrey Simonenko
Hi, Help me to understand several lines from RELENG_4 src/sys/i386/i386/exception.s,v 1.65.2.3 file: 214 calltrap: 215 FAKE_MCOUNT(_btrap) /* init "from" _btrap -> calltrap */ 216 MPLOCKED incl _cnt+V_TRAP 217 MP_LOCK 218 movl_cp

Re: decompressing source

2003-09-19 Thread Andrey Simonenko
On Fri, 19 Sep 2003 04:37:46 + (UTC) in lucky.freebsd.questions, Alain Dazzi wrote: > Just a basic question, what unix command should I use to decompress > (expand) the various > data files after downloading the sources via ftp. For instance ssys.aa > -> ssys.ak should get expanded > into sys.

Re: make.conf question

2003-08-26 Thread Andrey Simonenko
On Tue, 26 Aug 2003 10:41:34 + (UTC) in lucky.freebsd.questions, "Peter Ulrich Kruppa <[EMAIL PROTECTED]>" wrote: > Hi! > > 1) Can I put any make option into make.conf that can be applied > to ports (like inmake WITH_CALENDAR=yes install clean) > or is this restricted to system re

Re: How an arbitrary user can install ports in own home dir?

2003-07-21 Thread Andrey Simonenko
On Wed, 16 Jul 2003 13:46:34 + (UTC) in lucky.freebsd.questions, Daniel Bye wrote: First of all thank you for your help, all what you said is correct. Next see below. > > On Wed, Jul 16, 2003 at 03:03:04PM +0300, Andrey Simonenko wrote: >> Hello all, >> >> How an

How an arbitrary user can install ports in own home dir?

2003-07-16 Thread Andrey Simonenko
Hello all, How an arbitrary user (without root credentials) can install ports in own home dir? How I tried to do this: I created ~/local/ports, place Mk, Tools, Templates there. I defined in .cshrc: setenv PORTSDIR~/local/ports setenv PREFIX ~/local setenv PKG_DBDIR ~

Re: Bandwidth Monitoring

2003-07-16 Thread Andrey Simonenko
On Tue, 15 Jul 2003 13:32:26 + (UTC) in lucky.freebsd.questions, David Loszewski wrote: > Say I have a 20GB Data Transfer limit per month, is there a way to > monitor how much of that limit I've used up? MRTG doesn't seem to do the > job. > sysutils/ipa from the Ports Collection can do it.

Re: parameters to a kld

2003-07-14 Thread Andrey Simonenko
On Mon, 14 Jul 2003 10:49:29 + (UTC) in lucky.freebsd.questions, Anurag Chaudhary wrote: > > thanx for that procfs stuff. I have mounted procfs now. > I dont think you can create your own sysctl variable. If its possible, > please tell me how. > It allows you to only set or get values of exi

Re: parameters to a kld

2003-07-14 Thread Andrey Simonenko
On Mon, 14 Jul 2003 09:01:46 + (UTC) in lucky.freebsd.questions, Anurag Chaudhary wrote: > > How can I pass load time parameters to a kld. Not sure that it is possible, at least kldload(2) doesn't accept any arguments, except kld file path. Probably sysctl variables can help. > Also my /pr

Re: ipfw troubles

2003-07-04 Thread Andrey Simonenko
On Thu, 3 Jul 2003 00:02:17 + (UTC) in lucky.freebsd.questions, Dan Phiffer wrote: > I guess this means I'm not serving DHCP - what kind of rule would fix > that? I read somewhere that simply using natd adds statefulness to an > otherwise stateless ipfw configuration. Would an unstateful ipfw s

Re: Trafic Counter

2003-06-14 Thread Andrey Simonenko
On Fri, 13 Jun 2003 12:24:35 + (UTC) in lucky.freebsd.questions, Ian Barnes wrote: > Hi, > > I am running FreeBSD 4.8 with squid v 2.5_2. It is only active for one > ethernet card (I have 3). I am using IPF, with IPNAT to do the NAT > > What i would like to know, is how could i count the traf

Re: make buildworld failed

2003-06-11 Thread Andrey Simonenko
On Wed, 11 Jun 2003 08:32:59 + (UTC) in lucky.freebsd.questions, çÎÉÔÉ£× ÷ÉËÔÏÒ wrote: > [-- text/plain, encoding 7bit, charset: koi8-r, 28 lines --] > > Hi, All. > > I have a problem with "make buildworld" on various FreeBSD systems (4.1, > 4.4, 4.7). > On all systems I used CVSUP with next

Re: making expect without X11

2003-04-01 Thread Andrey Simonenko
On Sun, 30 Mar 2003 16:34:44 + (UTC) in lucky.freebsd.questions, Jim Arnold wrote: > How do I compile expect without having X windows installed? > > If I use: make WITHOUT_X11=yes if bombs out with the message below: > I'm sorry, I made mistake in previous my answer, your command is correct

Re: problem

2003-03-31 Thread Andrey Simonenko
On Fri, 28 Mar 2003 18:27:31 + (UTC) in lucky.freebsd.questions, Aleksey V. Dolya wrote: > Hello. > > I have problem in configuring XFree86 in FreeBSD 4.7 > > I try to configure it after installation. I used graphical > tool and textmode utility too. > Do you use XFree86-4? Try to run x

Re: making expect without X11

2003-03-31 Thread Andrey Simonenko
On Sun, 30 Mar 2003 16:34:44 + (UTC) in lucky.freebsd.questions, Jim Arnold wrote: > How do I compile expect without having X windows installed? > > If I use: make WITHOUT_X11=yes if bombs out with the message below: > # make -DWITHOUT_X11 > > Please CC any responses to me as I cannot sub

Re: System abused by spammer?

2003-03-28 Thread Andrey Simonenko
On Fri, 28 Mar 2003 09:06:21 + (UTC) in lucky.freebsd.questions, Martin Moeller wrote: > I thought, sendmail rejects relaying per default. What can I do? > (HELP!!! (!!!) ) > There is relay_based_on_MX feature in Sendmail. Check if your Sendmail has this feature off, also check if that spa

Re: problem whith command chsh !!!

2003-03-27 Thread Andrey Simonenko
On Thu, 27 Mar 2003 08:22:29 + (UTC) in lucky.freebsd.questions, Taras Panchyshyn wrote: [skip] > > In the user's database appear two records about this user :old record and record > whitch changes that i made by chsh: > [skip] > In the older version of FreeBSD (4.3 - 4.7) command chsh

Re: Problem with apache

2003-03-19 Thread Andrey Simonenko
On Wed, 19 Mar 2003 06:35:12 + (UTC) in lucky.freebsd.questions, Ian Larsen wrote: > I've got two FreeBSD boxes on my home network. They are both assigned local > IP addresses through DHCP. > > I've just installed Apache on both of them tonight, and I can access one > machine just fine usin

Re: How to set aplication web in FreeBSD

2003-03-19 Thread Andrey Simonenko
On Wed, 19 Mar 2003 08:10:41 + (UTC) in lucky.freebsd.questions, Andhy wrote: > Heloo sir.. > > My name andhy > my office use aplication FreeBSD > and use NT4 to LAN in all PC > Please help for asked to u about freeBSD and make my aplication web working > in FreeBSD > My application web serv

Re: boot0cfg?

2003-03-18 Thread Andrey Simonenko
On Tue, 18 Mar 2003 08:55:24 + (UTC) in lucky.freebsd.questions, Henrik Hudson wrote: > > I read the man page for boot0cfg and although that seems to be able to install > boot0 into various places, it doesn't seem to let one modify what boot0 > displays??? > You should modify source file

Re: searching for documentation in english for mysql on freebsd 4.4

2003-03-17 Thread Andrey Simonenko
On Mon, 17 Mar 2003 08:49:41 + (UTC) in lucky.freebsd.questions, frank amo wrote: > > > > Hello, I am looking for some documentation in english that can help me get > mysql working on my freeBSD box. > > I am using FreeBSD 4.4 and I downloaded this file for FreeBSD, I am aware > that it i

Re: Intelligent Bandwidth Limiter?

2003-03-17 Thread Andrey Simonenko
On Sun, 16 Mar 2003 18:38:59 + (UTC) in lucky.freebsd.questions, Tino Didriksen wrote: > (trying this again, since it didn't appear last time I sent it...) > > I have a dedicated server with 500GB monthly transfer limit, and I > don't want to cross that limit. So, I want to impose an artifici

Re: Network adapter

2003-03-13 Thread Andrey Simonenko
On Thu, 13 Mar 2003 02:05:37 + (UTC) in lucky.freebsd.questions, R S wrote: > Does it matter that my network adapter is ed1? Should > it be ed0? > > During boot, I keep getting the "ed0 device not > configured".why? It looks like that ed0 is specified in your kernel configuration file

Using Assembler files in a kernel module. What to write to module's Makefile?

2003-03-12 Thread Andrey Simonenko
Hello, If I have Assembler source files in a kernel module. Where should I place names of Assembler source files in a port's Makefile? If I place them to Makefile's SRCS variable, then they are compiled with "as", but that Assembler source files "#include " and "as" can't compile such Assembler

Re: ipfw count Q

2002-12-25 Thread Andrey Simonenko
On Sun, 22 Dec 2002 11:10:01 + (UTC) in lucky.freebsd.questions, Alexander Yeremenko wrote: >I have a box, running as router. >Network A.B.C/Z is connected via ppp0 > router:/rc.firewall : > ipfw add 10 connt all from any to any via ppp0 > ipfw add 15 connt all from any to A.B.

Re: Arp and Route Commands

2002-11-21 Thread Andrey Simonenko
On Sun, 17 Nov 2002 20:56:55 + (UTC) in lucky.freebsd.questions, Karl Timmermann wrote: > Hello, > > I'm new to the list and was hoping maybe someone could help me. These > commands work in Linux (and in this order), but not in FreeBSD/Mac OS X > as the arp and route commands are different:

Re: ipv6 conf

2002-11-06 Thread Andrey Simonenko
On Wed, 6 Nov 2002 13:32:51 + (UTC) in lucky.freebsd.questions, Tiago Andre wrote: > Hello there... > iam trying to configure my little net ipv6, by > > ifconfig xl0 inet6 ::::1 > > and it work fine (using ping6), but the problem is when i restar my machine, > i have to do all ag

Re: No route to host

2002-10-28 Thread Andrey Simonenko
On Mon, 28 Oct 2002 12:33:31 + (UTC) in lucky.freebsd.questions, Christian M?nk wrote: > Hello FreeBSD Team. > My name is Christian and I have a problem. > I looked through the FAQ and the docs about the prob. when you get the No route to >host reply when trying to ping. But my nic is intact

Re: What's this mean

2002-10-25 Thread Andrey Simonenko
On Fri, 25 Oct 2002 09:18:32 + (UTC) in lucky.freebsd.questions, budsz wrote: > > I got same kernel messages like this: > > Oct 24 10:30 kumprang /kernel: arp: unknown hardware address format > (0xa8aa) > Oct 24 10:30 kumprang /kernel: ed0: NIC memoru corrupt - invalid packet length 2094 > >

Re: help with socket programming

2002-10-24 Thread Andrey Simonenko
On Wed, 23 Oct 2002 22:45:06 + (UTC) in lucky.freebsd.questions, Vinod wrote: > i need a socket descriptor handle to process all my > clients which fork out.but the handle i was using > new_fd(see below) turned out to be the same for all. > > listen(..,..) > for(;;) > { > int new_fd=accept(soc

Re: Help me with building JDK1.3.1 (strange error with BOOTDIRvariable)

2002-10-16 Thread Andrey Simonenko
for jdk13 port if I want to build Java plugin for Mizlla? On Wed, 16 Oct 2002, Matthew Seaman wrote: > On Wed, Oct 16, 2002 at 05:16:25PM +0300, Andrey Simonenko wrote: > > Hello all, > > > > Can somebody explaine me what I do wrong when building jdk1.3.1 port on > >

Help me with building JDK1.3.1 (strange error with BOOTDIR variable)

2002-10-16 Thread Andrey Simonenko
Hello all, Can somebody explaine me what I do wrong when building jdk1.3.1 port on FreeBSD 4.6-STABLE? [root@lion jdk13]# make -DNATIVE_BOOTSTRAP -DNODEBUG build ===> Building for jdk-nodebug-1.3.1p7 i386 Build started: 1.3.1-p7-root-021016-17:10 ERROR: BOOTDIR does not point to a valid Java