RE: [OT] NTP related question
[EMAIL PROTECTED] wrote: Subject: [OT] NTP related question Hi all! I have my NTP server running on BSD - great! My Question: Any suggestions for a simple, light, free NTP client that will run on Win2k Workstations? Try this: http://home.att.net/~Tom.Horsley/ntptime.html I've been using it for several years now without any problem. But don't forget to disable WindowsTimeService in Services on w2k and XP. On XPpro you could also use the bultin TimeDaemon after creating a special GroupPolicy to force it to use NTP. -Harry Since this is somewhat Off-Topic, you may prefer to reply directly to me than adding more OT traffic to the list... Regards, Patrick O'Reilly. www.perimeter.co.za To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
subscribe
subscribe To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
BSD libc
Hello, i want use BSD libc on my linux system. i want to know from where i can download the source and if any documentation on this is available,like the features it supports etc?? thanx in advance Atifa __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Multiple network cards with IP addresses in the same network
I realise that this question has gone on further than the point at which I am replying, but I believe it is around here that everything seems to go astray. From my fairly primitive understanding of the TCP stack in FreeBSD, it would seem that in the case of two network cards being on the same subnet, one is designated as the 'primary' card (if you like) -- in this case, 192.168.0.1, and the other the 'secondary' card -- 192.168.0.2. The primary card is assigned the address 192.168.0.1/24, and will be used to send data to that designated subnet, and receive packets as per normal to its assigned ip address. The secondary card (with the address 192.168.0.2/32) will only be used for receiving data, because the subnet mask does not allow packets to be sent to any address other than that card itself. Linux must therefore use another means by which to determine which interface is used to send packets: my guess would be (in the given example, the eth0 interface, whilst the eth0:0 'alias' is only used to receive data?) As for the gateways, AFAIK, since two devices can only communicate within their own subnets, an interface must be assigned a valid IP address in the same subnet as the router, so that interface can communicate WITH the router itself, which can then route the packets to another wan/lan/whatever. Regards, Michael -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dax Eckenberg Sent: Tuesday, 14 January 2003 12:44 AM To: Anand Buddhdev Cc: [EMAIL PROTECTED] Subject: Re: Multiple network cards with IP addresses in the same network I have addresses 192.168.0.1 and 192.168.0.2. I want to run different services on the 2 different IP addresses. In a linux system, I do: ifconfig eth0 192.168.0.1 netmask 255.255.255.0 ifconfig eth0:0 192.168.0.2 netmask 255.255.255.0 So that I have 2 different addresses bound to the same interface. On FreeBSD, if I do: ifconfig fxp0 192.168.0.1 netmask 255.255.255.0 ifconfig fxp0 192.168.0.2 netmask 255.255.255.0 alias That fails. It should fail, you should enter: # ifconfig fxp0 192.168.0.2 netmask 255.255.255.255 alias In this situation you can ignore the /32 netmask, it will act as /24. The ifconfig manpage states that a nonconflicting netmaks must be used for the alias, and suggests to use 0x. I don't understand why, because I don't see why one network interface cannot have more than one address bound to it within the same network. If I use a /32 netmask for the alias address, how will the kernel respond to arp requests for that alias address? arp requests for .2 will be handled properly by the kernel as if it were /24. 2. Adding a second IP to a *different* network card in the same server does not work if the second IP is within the network of the first one. Because it breaks routing and the basic concept of IP addys and netmasks. If you have two NICs on the same network, how is the kernel supposed to route packets? I still don't understand. In a linux system I can do: route add -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.0.254 dev eth0 route add -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.0.254 dev eth1 To my knowledge, this is a Linux feature. Solaris, *BSD, and others don't let you specify the network interface when you add a route. I know for a fact under Solaris that when you have 2 interfaces which live in the same subnet, the interface with the lowest numbered IP will be the interface used for outbound traffic. All I want to do is to have 2 different IP addresses on each of the different interfaces in the server, where the addresses are in the same network. I can do it in linux. Why can't I do it in FreeBSD? Good question. I'd defer this anwser to someone a bit more intimate with FreeBSD's IP stack and routing. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Problems with XFree86 and GeForce (was: help)
He's going to need to set up customized modelines for this to work. LCD panels only support specific refresh rates rather than the range of refresh rates supported by a CRT. This would be his problem. Adam - Original Message - From: DoubleF [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, January 15, 2003 2:31 AM Subject: Re: Problems with XFree86 and GeForce (was: help) Hello, Recently, Sergey wrote: âÕÄÕ ÷ÁÍ ÏÞÅÎØ ÐÒÉÚÎÁÔÅÌÅÎ ÅÓÌÉ ×Ù ÍÎÅ ÐÏÍÏÖÅÔÅ ÒÁÈÏÂÒÁÔØÓÑ × ÓÌÅÄÕÀÝÅÍ ×ÏÐÒÏÓÅ. ñ ÎÉËÁË ÎÅ ÍÏÇÕ ÎÁÓÔÒÏÉÔØ XFree, Õ ÍÅÎÑ ×ÉÄÅÏËÁÒÔÁ GeForce 2 GTS É ÍÏÎÉÔÏÒ CTX PV520 ÖÉÄËÏËÒÉÓÔÁÌÌÉÞÅÓËÉÊ. ðÒÏÂÌÅÍÁ × ÔÏÍ ÞÔÏ ÐÒÉ ÚÁÇÒÕÚËÅ ÄÌÑ ÕÓÔÁÎÏ×ËÉ ÐÁÒÁÍÅÔÒÏ× ×ÉÄÅÏËÁÒÔÙ É ÍÏÎÉÔÏÒÁ, ÒÁÚÒÅÛÅÎÉÑ, ÍÏÎÉÔÏÒ ÇÁÓÎÅÔ É ÐÏËÁÚÙ×ÁÅÔ ÞÔÏ ÏÎ ÎÅ ÐÏÄÄÅÒÖÉ×ÁÅÔ ÄÁÎÎÕÀ ÞÁÓÔÏÔÕ. ëÁË ÍÎÅ ÐÏÓÔÕÐÉÔØ × ÄÁÎÎÏÊ ÓÉÔÕÁÃÉÉ. This message translates like this: I would be pleased if you could help me with this issue. I am experiencing problems installing XFree86. I have a GeForce 2 GTS, my monitor is an LCD called CTX PV520. Whenever I try to change the videocard and monitor properties, e.g. resolution, my screen blanks and it shows it doesn't support the frequency. Any help would be appreciated. Which version of X are you running? Do you use a specialized server (which?) or the generic (VGA16) one? Try falling back to VGA if your server doesn't work. Then, if it works, try SVGA. I hope someone else will respond to this message as I am no expert. ëÁËÁÑ Õ ×ÁÓ ×ÅÒÓÉÑ X? ÷Ù ÉÓÐÏÌØÚÕÅÔÅ ÏÐÔÉÍÉÚÉÒÏ×ÁÎÎÙÊ ÓÅÒ×ÅÒ(Á ËÁËÏÊ?) ÉÌÉ ÐÒÏÓÔÅÊÛÉÊ (VGA16)? ðÏÐÒÏÂÕÊÔÅ ÉÓÐÏÌØÚÏ×ÁÔØ VGA16, ÅÓÌÉ ÷ÁÍ ÎÅ ÕÄÁÓÔÓÑ ÓÐÒÁ×ÉÔØÓÑ Ó ×ÁÛÉÍ ÓÅÒ×ÅÒÏÍ. úÁÔÅÍ ÐÏÐÒÏÂÕÊÔÅ ÓÅÒ×ÅÒ SVGA. ñ ÎÅ ÜËÓÐÅÒÔ, ÎÏ ÎÁÄÅÀÓØ, ÞÔÏ ÎÁ ÁÎÇÌÉÊÓËÏÍ ÷ÁÓ ÐÏÊÍÕÔ ÂÏÌØÛÅÅ ËÏÌÉÞÅÓÔ×Ï ÌÀÄÅÊ. Good luck, DoubleF To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Linux downloads
Hi, what is the best way to download packages in the Linux compat realm? I'm looking for something like the ports system, that would search and download the file with the appropriate dependencies too. Alternately, where could I find lists of ftp servers for Linux and for FreeBSD? Thank you in advance for your tips. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Linux compat downloads
Hi, what is the best way to download packages in the Linux compat realm? I'm looking for something like the ports system, that would search and download the file with the appropriate dependencies too. Alternately, where could I find lists of ftp servers for Linux and for FreeBSD? Thank you in advance for your tips. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
identify app on a screenshot
Hey, Could someone have a look at this screenshot (link below): http://freebsd.kde.org/img/screenshots/en-us_bailey.png Which app is running on the right upper side, showing which FreeBSD version the user is running and the cpu +proc +disk +mem + swap usage! Is it available from the ports collection? Thanks a lot! Didier To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: identify app on a screenshot
On Wed, 15 Jan 2003 10:31:22 +0100 Didier Wiroth [EMAIL PROTECTED] wrote: Hi, app is running on the right upper side, showing which FreeBSD version the user is running and the cpu +proc +disk +mem + swap usage! That's gkrellm. Is it available from the ports collection? Yes, sysutils/gkrellm Cheers, -- Miguel Mendez - [EMAIL PROTECTED] GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt EnergyHQ :: http://www.energyhq.tk Of course it runs NetBSD! msg15543/pgp0.pgp Description: PGP signature
Re: Linux downloads
On Wed, 15 Jan 2003, E. Rens wrote: Hi, what is the best way to download packages in the Linux compat realm? I'm looking for something like the ports system, that would search and download the file with the appropriate dependencies too. You won't believe ist: You will find them in the ports system. Some of them are called linux-mozilla or linux-jdk - in case there is a bsd-port available, too. Regards, Uli. Alternately, where could I find lists of ftp servers for Linux and for FreeBSD? Thank you in advance for your tips. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message *---* *Peter Ulrich Kruppa* * - Wuppertal - * * Germany * *---* To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Updating Procedure
I was wondering can anyone tell me the correct procedure for updating my sources to the current 4.7 source. If you haven't already I can recommend reading the following chapter in the Handbook http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html I'd never attempted building the source on FreeBSD or used CVSUP before reading this chapter. It contained everything that was required. There is a specific section on using make buildworld and the correct procedure for rebuilding a FreeBSD machine. Phil. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: named messages in /var/log/messages
On Wed, Jan 15, 2003 at 12:00:34AM +, Stacey Roberts wrote: Okay, I've managed to track this down. VPN testing is was being done at the time from that Win2K box to a remote site running RRAS VPN Server on Win2K Server. Seems that RRAS dynamically assigns IP's from a static table of addresses to incoming connections over the VPN. And as the VPN emanates from the same subnet locally, my DNS server was seeing that traffic. At least that's what it would appear to be happening, given your suggestions. That sounds like a plausible candidate for what's the ultimate cause of this. However, as I'm sure you really meant, the log messages you're seeing are the result of some software deliberately trying to update the DNS, not that your DNS server was somehow arbitrarily picking up on other traffic on your network. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
MPD PPTP without default gateway
Hi, When a client connect on my server PPTP running MPD, it get a default gateway for my server. I need that the cliente get only route of my network, and not default gateway! My mpd.conf: default: load pptp0 pptp0: new -i ng0 pptp0 pptp0 set bundle disable multilink set ipcp ranges 192.168.1.2/32 192.168.1.128/25 set iface enable proxy-arp set iface route 192.168.1.2/24 set ipcp dns 200.X.X.X set link deny pap chap set link enable chap set ipcp enable vjcomp set bundle enable compression set ccp yes mppc set ccp yes mpp-e40 set ccp yes mpp-e128 set ccp yes mpp-stateless My mpd.links: pptp0: set link type pptp set pptp self 192.168.1.2 set pptp enable incoming set pptp disable originate Somebody have an idea ? Thanks -- [ Diego Linke - GAMK ] System/Network/Security Administrator E-Mail/Site: [EMAIL PROTECTED] - http://www.gamk.com.br Public Key: http://www.gamk.com.br/gamk.asc Phone Number: (+5541) 9967-3464 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Linux downloads
Many thanks but see, I need to install a linux package called cooledit and I have Python installed. If I use rpm alone I get: #: rpm -i /compat/linux/usr/arch/cooledit-3.9.0-1.i386.rpm error: failed dependencies: python is needed by cooledit-3.9.0-1 pythonlib is needed by cooledit-3.9.0-1 /bin/sh is needed by cooledit-3.9.0-1 ld-linux.so.2 is needed by cooledit-3.9.0-1 libX11.so.6 is needed by cooledit-3.9.0-1 libXext.so.6 is needed by cooledit-3.9.0-1 libXpm.so.4 is needed by cooledit-3.9.0-1 libc.so.6 is needed by cooledit-3.9.0-1 libdl.so.2 is needed by cooledit-3.9.0-1 libm.so.6 is needed by cooledit-3.9.0-1 libpthread.so.0 is needed by cooledit-3.9.0-1 /bin/sh is needed by cooledit-3.9.0-1 If I use /compat/linux/bin/rpm the list is shorter but still Python is not seen: # : /compat/linux/bin/rpm -i /compat/linux/usr/arch/cooledit-3.9.0-1.i386.rpm error: failed dependencies: python is needed by cooledit-3.9.0-1 pythonlib is needed by cooledit-3.9.0-1 What should I do ? P. U. Kruppa wrote: On Wed, 15 Jan 2003, E. Rens wrote: Hi, what is the best way to download packages in the Linux compat realm? I'm looking for something like the ports system, that would search and download the file with the appropriate dependencies too. You won't believe ist: You will find them in the ports system. Some of them are called linux-mozilla or linux-jdk - in case there is a bsd-port available, too. Regards, Uli. Alternately, where could I find lists of ftp servers for Linux and for FreeBSD? Thank you in advance for your tips. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message *---* *Peter Ulrich Kruppa* * - Wuppertal - * * Germany * *---* To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: identify app on a screenshot
dont forget the multitudes of plugins! cd /usr/ports make search key=gkrellm |less There are stacks of cool plugins for it for doing things from controlling xmms to monitoring stuff via snmp! --Shaun Miguel Mendez wrote: On Wed, 15 Jan 2003 10:31:22 +0100 Didier Wiroth [EMAIL PROTECTED] wrote: Hi, app is running on the right upper side, showing which FreeBSD version the user is running and the cpu +proc +disk +mem + swap usage! That's gkrellm. Is it available from the ports collection? Yes, sysutils/gkrellm Cheers, To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
How do I monitor the serial CTS line via C programmatically?
Hi, I have been trying to monitor the serial CTS line. I would like to log the fact that the CTS has changed state (active/non-active). I have been trying to adapt some Linux programs, but am having problems with adapting the POSIX TIOCMGET function. Is there a FreeBSD way? Cheers, Paul Hamilton To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: entropy
On Wed, Jan 15, 2003 at 08:51:35AM +, P. U. Kruppa wrote: On Tue, 14 Jan 2003, Kevin Stevens wrote: On Tuesday, Jan 14, 2003, at 22:46 US/Pacific, Wilkinson,Alex wrote: Can someone recommend to me where I can read up on entropy. ie what it is ? Why we have it ? etc etc - aW Entropy is a tendency towards disorder in the universe, exemplified by things LIKE SOME FREAKIN' CLUELESS GIT POSTING A TOTALLY OFF-TOPIC SCIENCE MESSAGE TO A COMPUTER OS LIST!!! No need to be rude. Entropy also evaluates information and is measured in so called bits . Indeed. See random(4) for information on what FreeBSD uses entropy for. (Short version: Generating random numbers.) (So, no, this is not totally off-topic.) The original work about this was written (I think in the sixties) by two authors: Shannon/Weaver Sorry, I don't know the title: it was something with information theory. You are thing of a reprint of the original article which was A mathematical theory of communication by Claude Shannon, 1948. It is fairly easy to find a copy of this paper on the 'Net. The paper is actually quite readable, and strongly recommended for anybody interested in information theory or cryptology. Regards, Uli. Did you actually have to MOVE your browser from in front of the mail program to AVOID searching for this on the web?!? You DO know that it is quite possible to be able to send and receive e-mail while not being directly connected to the Internet and therefore not being able to check the WWW? (Granted, this is quite unusual today, but still a possibility.) KeS OB-FreeBSD: /usr/ports/math/entropy Entropy is a program that will calculate the entropy of a given set of data. This program is mainly used to benchmark the efficiency of existing or developing compression algorithms. -- Insert your favourite quote here. Erik Trulsson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Please confirm your request to join id-freebsd
Hello [EMAIL PROTECTED], We have received your request to join the id-freebsd group hosted by Yahoo! Groups, a free, easy-to-use community service. This request will expire in 21 days. TO BECOME A MEMBER OF THE GROUP: 1) Go to the Yahoo! Groups site by clicking on this link: http://groups.yahoo.com/i?i=3ci_bVK7GRv-AhrXOHNc4xkVGooe=freebsd-questions%40FreeBSD%2Eorg (If clicking doesn't work, Cut and Paste the line above into your Web browser's address bar.) -OR- 2) REPLY to this email by clicking Reply and then Send in your email program If you did not request, or do not want, a membership in the id-freebsd group, please accept our apologies and ignore this message. Regards, Yahoo! Groups Customer Care Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: entropy
On Wed, 15 Jan 2003, Erik Trulsson wrote: On Wed, Jan 15, 2003 at 08:51:35AM +, P. U. Kruppa wrote: On Tue, 14 Jan 2003, Kevin Stevens wrote: On Tuesday, Jan 14, 2003, at 22:46 US/Pacific, Wilkinson,Alex wrote: [big snip] Did you actually have to MOVE your browser from in front of the mail program to AVOID searching for this on the web?!? You DO know that it is quite possible to be able to send and receive e-mail while not being directly connected to the Internet and therefore not being able to check the WWW? (Granted, this is quite unusual today, but still a possibility.) Maybe even more usual and a possibility today than before, as mobile phones are able to send/recieve e-mails (if I only could get my own phone to work as it should :-). All the good things are not available by WAP though, and hence it could be hard to search for the documents describing entropy. Best regards, Paul To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: NTP related question - Answered
[EMAIL PROTECTED] writes: Hi all! I have my NTP server running on BSD - great! My Question: Any suggestions for a simple, light, free NTP client that will run on Win2k Workstations? As usual, thanks for the quick responses :) I've decided to use automachron (it was real nice 'n easy) Regards, Patrick. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Linux downloads
On Wed, 15 Jan 2003 [EMAIL PROTECTED] wrote: Many thanks but see, I need to install a linux package called cooledit and I have Python installed. If I use rpm alone I get: ... pythonlib is needed by cooledit-3.9.0-1 What should I do ? # cd /usr/ports/editors/cooledit # make install clean Probably someone (the port-maintainer) has solved this problem for you. If you don't know if an application has been ported, type # locate cooledit Uli. P. U. Kruppa wrote: On Wed, 15 Jan 2003, E. Rens wrote: Hi, what is the best way to download packages in the Linux compat realm? I'm looking for something like the ports system, that would search and download the file with the appropriate dependencies too. You won't believe ist: You will find them in the ports system. Some of them are called linux-mozilla or linux-jdk - in case there is a bsd-port available, too. Regards, Uli. Alternately, where could I find lists of ftp servers for Linux and for FreeBSD? Thank you in advance for your tips. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message *---* *Peter Ulrich Kruppa* * - Wuppertal - * * Germany * *---* To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message *---* *Peter Ulrich Kruppa* * - Wuppertal - * * Germany * *---* To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Linux downloads
Oops, sorry for the waste of time! P. U. Kruppa wrote: # cd /usr/ports/editors/cooledit # make install clean Probably someone (the port-maintainer) has solved this problem for you. If you don't know if an application has been ported, type # locate cooledit To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: How do I monitor the serial CTS line via C programmatically?
On 2003-01-15 18:26, [EMAIL PROTECTED] (Paul Hamilton) wrote: I have been trying to monitor the serial CTS line. I would like to log the fact that the CTS has changed state (active/non-active). I have been trying to adapt some Linux programs, but am having problems with adapting the POSIX TIOCMGET function. Is there a FreeBSD way? You'd have to poll using ioctl(fd, TIOCMGET, int) and detect CTS changes by checking the TIOCM_CTS bit in the returned value. The following (untested) sample program should be easy to adapt to your needs. When TIOCM_CTS changes from on to off or vice versa, the program should print the change. #include sys/ioctl.h #include stdio.h #include unistd.h int main(void) { int bits; int last; if (ioctl(0, TIOCMGET, bits) == -1) err(1, ioctl); last = bits TIOCM_CTS; printf(CTS %s.\n, last ? on : off); while (1) { if (ioctl(0, TIOCMGET, bits) == -1) err(1, ioctl); if ((last ^ (bits TIOCM_CTS)) != 0) { last = bits TIOCM_CTS; printf(CTS %s.\n, last ? on : off); } usleep(10); } return (0); } To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Vinum over (2xSCSI, 1xIDE) ?
Thank's for all your answers. At 09:46 AM 1/15/2003 +1030, Greg 'groggy' Lehey wrote: Note that there's no a priori reason to believe that the ATA drive is going to be slower than the SCSI drives. My own take on this: it should work, and performance shouldn't be markedly different from a 3 SCSI disk config. How you actually use it depends very much on your intended use, though. Well, the plans have changed, the SCSI drives will be some IMB's at 10K rpm but of 36G. As i don't think the database will grow more that 2G in the next year I'm thinking in doing mirroring and striping on them (as some other poster suggested), and use the IDE as a back-up boot solution in case of something goes wrong with them and sync it manually at the end of the day. If I'll have the time to test I'll try to use all 3 with vinum. IOnut To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: named messages in /var/log/messages
On Tue, Jan 14, 2003 at 11:50:15PM +, Matthew Seaman wrote: On Tue, Jan 14, 2003 at 11:23:51PM +, Stacey Roberts wrote: Hello, I'm running bind in a sandbox as per the handbook. I've had this set up and (presumably) working okay since FreeBSD 4.6 Stable, and have today noticed these named entries in /var/log/messages: named[143]: denied update from [host_IP].1268 for 1.168.192.in-addr.arpa IN Are you running a DHCP server? On Windows 2K? This is a host trying to insert a dynamic PTR record into your DNS. That is usually a function of a DHCP server, and can be configured if desired. If you haven't configured dynamic DNS, then it's harmless apart from taking up space in your log files. Windows 2000 will, by default, try this everytime it's assigned an IP. W2K is notable for shipping with the dynamic DNS stuff turned on. It's not just you: seems a lot of W2K machines try to update records in the root servers too... Search for 'Syslog Errors' in http://www.caida.org/outreach/presentations/ietf0112/dns.damage.html for the depressing statistics. At my last job, we used to get (and they probably still do) about 2000 of these messages an hour: http://marc.theaimsgroup.com/?t=10222467383r=1w=2 Ceri -- Zoom! To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: MPD PPTP without default gateway
When a client connect on my server PPTP running MPD, it get a default gateway for my server. I need that the cliente get only route of my network, and not default gateway! Configure your clients to not do this. oc To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
how do i log another device to syslog?
i finally was able to get configuration on my Cisco 806 to allow for a hole though my reflexive access lists. anwyays, that's not really important now. what i need to know is how i enable syslog to log messages from my sonicwall security appliance? the sonicawall is set to communicate with a syslog server. i've told it to contact the FreeBSD box, but i don't know how to enable to FreeBSD box to record the requests. can anyone help me out? __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
solved : Re: newbie questions about pppoe and netgraph
2 problems 1 cable modem needed 10baset connection. changed rc.conf= ifconfig_dc0=inet xxx.xxx.xxx.xxx mask 255.255.255.0 media 10baseT/UTP fixed that problem 2 didn't need pppoe after all! after changing media, was able to ping external router btw, this is charter pipeline (vermont) service (768) using 3com 3cr29223 home connect external usb/ether (NOT adsl dual connect). tech support was friendly but basically clueless (i don't know anything about free-bee-ess-dee ppp over ethernet? what's that?). anyway, thanks for all of your helpi learned more about pppoe than i ever wanted. all you guys are terrific! stephen On Sat, 11 Jan 2003, Stephen D. Kingrea wrote: this is the latest, unchanged from this am. i should say that using different parameters from the several different tutorial sources has resulted in pretty much the same result: flaking out at lpc (if that is what is really happening) additionally, the set ifaddr line seems superfluous, since i have an assigned ip address and established route default: set device PPPoE:fxp0 set speed mru 1492 set speed mtu 1492 set ctsrts off enable lqr set lqrperiod 5 set cd 5 set log All set log local phase chat lcp ccp tun command add default HISADDR enable dns set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255 0.0.0.0 set authname * set authkey * set login set dial set timeout 0 open stephen On Sat, 11 Jan 2003, Matthew Emmerton wrote: What does your ppp.conf look like? For PPPoE, it you should have a line like this: [ dang email client ] set device PPPoE:ed1 where ed1 is the network card that is hooked up to your DSL modem. -- Matt www# /usr/sbin/ppp Working in interactive mode Using interface: tun0 tun0: Command: default: add default HISADDR tun0: Command: default: enable DNS tun0: Command: default: set ifaddr 10.0.0.1/0 10.0.0.0/2 255.255.255 0.0.0.0 tun0: Command: default: set authname ** tun0: Command: default: set authkey ** tun0: Command: default: set login tun0: Command: default: set dial tun0: Command: default: set timeout 0 tun0: Command: default: open tun0: Phase: bundle: Establish tun0: Phase: closed - opening tun0: Phase: PPP started (interactive) tun0: Phase: deflink: Connected! tun0: Phase: deflink: opening - dial tun0: Chat: deflink: Dial attempt 1 of 1 tun0: Phase: deflink: dial - carrier ppp ON www tun0: Phase: deflink: Disconnected! tun0: Phase: deflink: carrier - hangup tun0: Phase: deflink: Connect time: 5 secs: 0 octets in, 0 octets out tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Sat Jan 11 tun0: Phase: deflink hangup - closed tun0: Phase: bundle: Dead i imagine that some of this is unnecessary, but it appears that i am not even getting to authentication before disconnecting. thank you stephen On Sat, 11 Jan 2003, Matthew Emmerton wrote: attempting to run pppoe on freebsd 4.7 over cable/dsl connection. manual says kernel recompilation unnecessary for this release in order to run pppoe. however, netgraph does not seem to be loading at boot time. additionally, pppoe seems unable to get past lcp when connecting. how can i tell if netgraph is active after boot? if not, can netgraph modules be loaded at boot by adding necessary lines into loader.conf? or is recompiling kernel a preferred method? If netgraph and pppoe support are not present in your kernel (or not loaded from modules automatically), the ppp program will complain loudly. Can you post part of your ppp log file so that we can determine if the lack of pppoe is your problem or if it's something else? -- Matt Emmerton To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: how do i log another device to syslog?
On Wed, Jan 15, 2003 at 05:01:50AM -0800, Bsd Neophyte wrote: i finally was able to get configuration on my Cisco 806 to allow for a hole though my reflexive access lists. anwyays, that's not really important now. what i need to know is how i enable syslog to log messages from my sonicwall security appliance? the sonicawall is set to communicate with a syslog server. i've told it to contact the FreeBSD box, but i don't know how to enable to FreeBSD box to record the requests. can anyone help me out? syslogd_flags=-a 1.2.3.4/32 in /etc/rc.conf should work according to the manpage. Maybe even syslogd_flags= is enough, but by default syslogd_flags is -s which doesn't allow peer logging. See /etc/defaults/rc.conf and man syslogd. HTH, --Stijn -- What would this sentence be like if it weren't self-referential? msg15563/pgp0.pgp Description: PGP signature
Re: CVS INIT
Jack - CVS needs to know where the root of its repository of files is. On Tue, 14 Jan 2003, Jack B. Thompson wrote: I could use a little help on this one, Trying to run cvs for first time and all I get is the following , !ThompsonToys# cvs (what I entered at command prompt) (RESPONSE) Usage: cvs [cvs-options] command [command-options-and-arguments] where cvs-options are -q, -n, etc. (specify --help-options for a list of options) where command is add, admin, etc. (specify --help-commands for a list of commands or --help-synonyms for a list of command synonyms) where command-options-and-arguments depend on the specific command (specify -H followed by a command name for command-specific help) Specify --help to receive this message ThompsonToys# cvs login cvs login: No CVSROOT specified! Please use the `-d' option cvs [login aborted]: or set the CVSROOT environment variable. You can define the environmental 'CVSROOT' for your login shell, and/or override that definion when you invoke CVS. For 'ordinary' user access to a local repository: $ cvs -d repository_path command command_options If you're working to a remote server the syntax is a bit different - check with the CVS manager and read the 'Cederqvist' document at 'www.cvshome.org' for the full story. If you're setting up the server, you will become _very_ familiar with this comprehensive, but not very tutorial, document. Note one of the oddities of CVS is that commands are parsed in order, and in particular there is another use of the '-d' operator if it comes after the command entry. That's not what's biting you here, however. I can usually get most things up and running after a bit of dappling,,This one has me most flustered,and could use a nudge in the right direction,,Any insights apprecited Thanks ,jbt HTH. - John Mills To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Questions
Hi fellows . Is it posible to have a box with 2 default gateways?, if thew answer is yes, is it posible to route the packages based on the IP source address of the clients? .For example: bsd BOX with 2 nics ( actin as router) nic1 10.10.1.10 default gw 10.10.1.1 nic2 200.37.53.5 default gw 200.37.53.1 client1 10.10.1. 5 default gw 10.10.1.1 client2 10.10.1.22 default gw 10.10.1.1 If client1 connects to 10.10.1.1 the packets sould be routed trough nic2 of the multihomed BSD BOX If client2 connects to 10.10.1.1 the packets sould be routed trough nic1 of the multihomed BSD BOX. Thanks in advance for your help To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
FreeBSD 4.7-RELEASE and X11R6 build on 5.0-CURRENT in one set
Excuse me for, perhaps, plaqued question. FreeBSD 4.7-RELEASE (I obtained it from www.linuxcenter.ru) contains the XFree86 server built on 5.0-CURRENT snapshot(anyway it so reported by XFree86 server). Is it normal? FAQ says it's not. I would pleased for every answer :) Pavel. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Questions
On Wednesday 15 January 2003 15:15, Alvaro Rosales R. wrote: We can suppose it is possible with different settings of metrics... Hi fellows . Is it posible to have a box with 2 default gateways?, if thew answer is yes, is it posible to route the packages based on the IP source address of the clients? .For example: bsd BOX with 2 nics ( actin as router) nic1 10.10.1.10 default gw 10.10.1.1 nic2 200.37.53.5 default gw 200.37.53.1 client1 10.10.1. 5 default gw 10.10.1.1 client2 10.10.1.22 default gw 10.10.1.1 If client1 connects to 10.10.1.1 the packets sould be routed trough nic2 of the multihomed BSD BOX If client2 connects to 10.10.1.1 the packets sould be routed trough nic1 of the multihomed BSD BOX. Thanks in advance for your help To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: FreeBSD 4.7-RELEASE and X11R6 build on 5.0-CURRENT in one set
Pavel Burovsky wrote: FreeBSD 4.7-RELEASE (I obtained it from www.linuxcenter.ru) contains the XFree86 server built on 5.0-CURRENT snapshot(anyway it so reported by XFree86 server). Is it normal? FAQ says it's not. I've noticed this as well, but I don't know why. I haven't had any problems, though. Note that the date on your email program is wrong, causing your message to appear out of order with regards to its arrival. Many people may assume that it is spam without reading it. -- Bill Moran Potential Technologies http://www.potentialtech.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Problem with RC3
On Wed, Jan 15, 2003 at 03:10:25PM +0100, Patryck Winkelmolen wrote: This reminds me of the following hint: http://www.unixguide.net/freebsd/faq/03.16.shtml My problem is complete opposite. If I setup CD-ROM as master on secondary controller with no slave , than it does not work with FreeBSD. If I setup same CD-ROM as slave without master, then it works with FreeBSD-CURRENT. In master mode it works with Linux, Windows 2000 and FreeBSD 4.5-RELEASE. This CD-ROM was initially set to slave mode, but I have reset it to master myself. Now, it is in slave mode again. -- Igor Roboul, System administrator at Speech Technology Center http://www.speechpro.com http://www.speechpro.ru To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
learning to compile and installing sources without using the ports collection
Hey, Hi, I'm using xfce 3.8.18 (from ports collection). I download the sources of xfce4 from cvs and wanted to compile the stuff! Like they mentionned it: ./configure than make (but I get an error message)! I'm using FreeBSD 4.7-release Well honestly I'm a *NIX newbie (coming from Windows) and I'm not a programmer! I would really like to learn how to download sources and compile and install stuff by myself (without using the ports collections)! I do understand that I might leave my Freebsd system unstable or even unusable after installing Software! I would like to be able not to be only dependant of the ports-collection, to do that, you need to be able to compile stuff correctly but I need some help or doc? Where can I start? I had a quick look at the porters-handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/index.html Is that ports-handbook the place to start? Isn't it meant for a programmer? May be someone has some tips about how to compile and install the xfce4 modules on freebsd 4.7-RELEASE, what do I have to take care? What should you watch or pay attention when compiling etc... What are the concret difficulties? Do you have recommendations about a good doc for non-programmers about how to learn how to do that? Any good link where I could start? Do you really have to be a programmer to be able to do that? Is it mission impossible for someone without programmer knowledge? Many many thanks for any kind of hints/help link etc...! Didier To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: entropy
On Wed, Jan 15, 2003 at 11:51:23AM +0100, Paul Everlund wrote: Maybe even more usual and a possibility today than before, as mobile phones are able to send/recieve e-mails (if I only could get my own phone to work as it should :-). All the good things are not available by WAP though, and hence it could be hard to search for the documents describing entropy. Try http://wap.google.com/ It's not perfect, but it doesn't a reasonable job of converting web pages to WML for display on a WAP device. It shouldn't be too hard to figure out the URL format it uses so you can go directly to the page you want, without all that tedious searching :-) Scott -- === Scott Mitchell | PGP Key ID | Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines [EMAIL PROTECTED] | 0xAA775B8B | -- Anon To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
WAP-server [Was Re: entropy]
On Wed, 15 Jan 2003, Scott Mitchell wrote: On Wed, Jan 15, 2003 at 11:51:23AM +0100, Paul Everlund wrote: Maybe even more usual and a possibility today than before, as mobile phones are able to send/recieve e-mails (if I only could get my own phone to work as it should :-). All the good things are not available by WAP though, and hence it could be hard to search for the documents describing entropy. Try http://wap.google.com/ It's not perfect, but it doesn't a reasonable job of converting web pages to WML for display on a WAP device. It shouldn't be too hard to figure out the URL format it uses so you can go directly to the page you want, without all that tedious searching :-) Scott Will take a look at it! Anyway I would guess a page describing entropy is not something one would want to view on a phone. :-) Do anyone by the way know if a special web-server is required for serving wap-pages, i.e. can one use Apache? If not, what's out there? Will take a look in the ports tree to see if I find anything. Best regards, Paul To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
query logging
I must be misunderstanding something. In the man for ndc, I read: querylog Causes named to toggle the ``query logging'' fea- ture, which while on will result in a syslog(3) of each incoming query (uses the WINCH signal.) Note that query logging consumes quite a lot of log file space. This directive may also be given as qrylog Odd, I used this, then did a ndc status, and it says: query logging is ON. Except that I do not see my queries appear in /var/log/messages. Where are they supposed to go? Thanks. - Mark To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: ipfilter/ipmon log msgs
On Mon, 13 Jan 2003 17:23:52 -0500 JoeB [EMAIL PROTECTED] wrote: Is there a ipfilter web site that I can check man info page on ipmon to see if it has newer information that what FBSD has in it's man ipmon which would mean that the new man info was not updated into the new FBSD release of ipfilter which happened in FBSD 4.7 http://coombs.anu.edu.au/~avalon/ Regards, Stephen Hilton [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: /usr/src/UPDATING - Solution
Matthew Thank you for the last bit of info. Yes what I wanted is available at http://www.freebsd.org/cgi/cvsweb.cgi/src/UPDATING but the missing key was that one has to scroll to the bottom of the UPDATING file to find the selection options. This must be an programming error by who ever coded that web page. The selections options should be at the top of the screen display not at the bottom where most people will never find it. Thanks again to all that replied to my question Joe -Original Message- From: Scott Mitchell [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 4:31 PM To: JoeB Cc: [EMAIL PROTECTED]; Matthew Seaman Subject: Re: /usr/src/UPDATING On Mon, Jan 13, 2003 at 08:22:41PM +, Matthew Seaman wrote: On Mon, Jan 13, 2003 at 01:00:20PM -0500, JoeB wrote: Thanks this is what I was looking for, But after viewing the URL you posted I see info for all the releases of FBSD. I thought the /usr/src/UPDATING file that was on the install CD for FBSD 4.7 only contained the detail info on the updates to create FBSD 4.7 since the FBSD 4.6 release was frozen? The UPDATING file dates back to before 4.0-RELEASE, and contains notes of various modifications to the source that may cause problems to people updating their systems, as well as various other notes useful in that situation. Did you perhaps mean the release notes: http://www.freebsd.org/releases/4.7R/relnotes-i386.html which list the changes made to the system since the previous release? Cheers, Matthew Or, if you just wanted the version of UPDATING that was on the 4.7 CDs, scroll to the bottom of http://www.freebsd.org/cgi/cvsweb.cgi/src/UPDATING, select 'RELENG_4_7' in the 'View only Branch' box and hit the 'Set' button. I assume that the CDs would have been cut using the RELENG_4_7_0_RELEASE tag, so the version you want is probably the last one on the page, 1.73.2.74. I suspect Matthew is right and you were really looking for the release notes, though. Scott -- === Scott Mitchell | PGP Key ID | Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines [EMAIL PROTECTED] | 0xAA775B8B | -- Anon To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
SSH Reverse DNS Lookup
Hi All, Basically a two fold question. 1) How do I force sshd to do a reverse DNS lookup and deny the connection if it fails? 2) I run a public shell account server. Do you think I'm asking for trouble by turning the option on? Cheers Rus -- http://www.65535.net | MSN: [EMAIL PROTECTED] Lifetime UNIX logins - Web Hosting Offsite Backups - Remote System Monitoring To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: BSD libc
In [EMAIL PROTECTED], Atifa Kheel [EMAIL PROTECTED] typed: Hello, i want use BSD libc on my linux system. i want to know from where i can download the source and if any documentation on this is available,like the features it supports etc?? FreeBSD is a complete system, not a collection of projects that are put together by people building distributions. I don't believe you can easily download *just* libc. The documentation is included as man pages in the source tree. It's not clear what the best way to get the soruces is. You can go somewhere like: URL: ftp://ftp2.freebsd.org/pub/FreeBSD/releases/i386/4.7-RELEASE/src/ and get slib.*. Those files can be cat'ed togeter, ungzip'ed and the untarred. You can also try fetching the sources from the CVS server. Be aware that you WILL NOT be able to use standard Linux utilities with the FreeBSD libc. There was a project to tweak the FreeBSD user code - libraries and commands - to run on a Linux kernel. I'm not sure what happened to it. If you google through the FreeBSD mail archives, you can probably find a URL for more information. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Dangerously dedicated vs. fully dedicated, etc.
In [EMAIL PROTECTED], Gary W. Swearingen [EMAIL PROTECTED] typed: Mike, I'll pay back your effort in replying to this long thing by working up a patch for the disklabel manpage (at least) and, if you want, I'll CC you so you can veto things you don't like. I do worry about how so few people comment on manpage changes before they go in, but they need improvement so badly it's worth the risk of a few errors. If you can't reply or even read it, that's OK too; I think I learned something in the writing of it. I'd be more than happy to review any changes you make. And I'm happy to see you turning things into something more substantial than an archived message. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: WAP-server [Was Re: entropy]
On Wed, Jan 15, 2003 at 04:53:25PM +0100, Paul Everlund wrote: Do anyone by the way know if a special web-server is required for serving wap-pages, i.e. can one use Apache? If not, what's out there? Will take a look in the ports tree to see if I find anything. A wap page is nothing more than content that has been marked up with WML, the wireless mark-up language. You can serve WML content with any webserver, including apache. Just add a line like this to the httpd.conf file: AddType text/vnd.wap.wml .wml Where .wml is the file extension you use for your WML pages. -- Anand Buddhdev http://anand.org To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Dangerously dedicated vs. fully dedicated, etc.
In [EMAIL PROTECTED], Gary W. Swearingen [EMAIL PROTECTED] typed: Ian Dowse [EMAIL PROTECTED] writes: You've cleared up several things, thanks. (I still don't see why any BIOS would have trouble with a DD disk, leading to DD's deprecation, but I can just take people's word for it, for the task at hand.) BTW, I've seen both of your options referred to as DD, if I understood it right. There are BIOSes out there that check sector 0, and fail to recognize the disk if it if the MBR doesn't conform to their idea of valid. Some of them will overwite sector 0 with a valid MBR in that case. I've had this happen to me, meaning my disk was fried every time I rebooted the system - until I turned off the Virus protection feature of the BIOS. (C) Dedicated format using dummy slice ... One such as would be created by disklabel -B. (/boot/boot1 seems to have the fourth slice pre-defined.) This differs from B only in the slice table, right? The disklabel manpage implies that this is a DD. Yes, the slice table is the only difference. This is what you get if you install a dangerously dedicated disk with the i386 installer. In fact, I've got one here: Information from DOS bootblock is: The data for partition 1 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 0, size 17942584 (8761 Meg), flag 80 (active) beg: cyl 0/ head 0/ sector 1; end: cyl 1023/ head 17/ sector 4 The data for partition 2 is: UNUSED The data for partition 3 is: UNUSED The data for partition 4 is: UNUSED It seems that a DD disk is one which is similar to a single slice starting at sector 0, regardless of what the slice table part of sector 0 contains. With FreeBSD-standard boot code and some BIOSes, one disk layout (ie, DD or sliced) will work better than the other. (And for DD disks, some slice table contents might work better than others. I've not read anything comparing your B and C or either with a slice table full of zeros or random bits.) As you can see, it's sector 1, not sector 0. Everything else seems to be correct. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: WAP-server [Was Re: entropy]
On Wed, 15 Jan 2003, Anand Buddhdev wrote: On Wed, Jan 15, 2003 at 04:53:25PM +0100, Paul Everlund wrote: Do anyone by the way know if a special web-server is required for serving wap-pages, i.e. can one use Apache? If not, what's out there? Will take a look in the ports tree to see if I find anything. A wap page is nothing more than content that has been marked up with WML, the wireless mark-up language. You can serve WML content with any webserver, including apache. Just add a line like this to the httpd.conf file: AddType text/vnd.wap.wml .wml Where .wml is the file extension you use for your WML pages. Thank you Anand! Best regards, Paul To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Dangerously dedicated vs. fully dedicated, etc.
Mike Meyer [EMAIL PROTECTED] writes: As you can see, it's sector 1, not sector 0. Everything else seems to be correct. More terminology problems. 1 means 0. Says fdisk: Warning: BIOS sector numbering starts with sector 1 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: SSH Reverse DNS Lookup
I personaly would be in trouble. I use the UK ISP Plus.net and for atleast 18months now my IP hasn't had a reverse DNS. Plus.net put this down to a problem with RIPE which they have yet to be able to resolve. Its strange because its only a certain block of Plus.net's IPs, since my friends have a fully functional reverse DNS. Andrew - Original Message - From: Rus Foster [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 15, 2003 3:59 PM Subject: SSH Reverse DNS Lookup Hi All, Basically a two fold question. 1) How do I force sshd to do a reverse DNS lookup and deny the connection if it fails? 2) I run a public shell account server. Do you think I'm asking for trouble by turning the option on? Cheers Rus -- http://www.65535.net | MSN: [EMAIL PROTECTED] Lifetime UNIX logins - Web Hosting Offsite Backups - Remote System Monitoring To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: query logging
- Original Message - From: Ceri Davies [EMAIL PROTECTED] To: Mark [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, January 15, 2003 5:25 PM Subject: Re: query logging On Wed, Jan 15, 2003 at 05:11:24PM +0100, Mark wrote: I must be misunderstanding something. In the man for ndc, I read: querylog Causes named to toggle the ``query logging'' fea- ture, which while on will result in a syslog(3) of each incoming query (uses the WINCH signal.) Note that query logging consumes quite a lot of log file space. This directive may also be given as qrylog Odd, I used this, then did a ndc status, and it says: query logging is ON. Except that I do not see my queries appear in /var/log/messages. Where are they supposed to go? They go to your queries channel. Ceri Thanks! I got it working now. :) - Mark To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: learning to compile and installing sources without using the ports collection
Didier Wiroth [EMAIL PROTECTED] writes: Hey, Hi, 'Lo, there. You're the first .lu I've seen. :) I'm using xfce 3.8.18 (from ports collection). I download the sources of xfce4 from cvs and wanted to compile the stuff! Like they mentionned it: ./configure than make (but I get an error message)! I'm using FreeBSD 4.7-release You probably need to use gmake instead of make for that software. I would like to be able not to be only dependant of the ports-collection, to do that, you need to be able to compile stuff correctly but I need some help or doc? Where can I start? I haven't seen much on the subject in the FreeBSD world. Maybe because so many people get everything they need from the ports system. But the WWW has plenty of articles on the subject of building from tar files (tarballs). They're mostly Linux-related, but should tell you most of what you need to know for FreeBSD (except the gmake thing). Some creative searching should hunt them up. (make, configure, autoconf, automake, build, BSD, Linux, Unix, etc.) I had a quick look at the porters-handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/index.html Is that ports-handbook the place to start? Isn't it meant for a programmer? It's not where I'd start, but it should eventually be interesting for you. Yes, it's for programmmers (at least of script programmers). May be someone has some tips about how to compile and install the xfce4 modules on freebsd 4.7-RELEASE, what do I have to take care? What should you watch or pay attention when compiling etc... Just guessing, but maybe: ./configure; gmake, test, and gmake install. What are the concret difficulties? English speling is difficult. :) And answering questions like that. :( Do you have recommendations about a good doc for non-programmers about how to learn how to do that? Any good link where I could start? Do you really have to be a programmer to be able to do that? Is it mission impossible for someone without programmer knowledge? No. No. No. No. But you have to have an attitude that allows you to spend time solving nasty little problems that frequently occur. As soon as you've learned the basics of using the tools (tar, configure, make) from the command line, then find a site or book that teaches make and spend a few hours learning that at least enough to read Makefiles; one frequently needs to debug them to run on your system. My favorite links: http://groups.google.com/advanced_group_search http://www.google.com/advanced_search Good luck. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Questions
On Wed, Jan 15, 2003 at 09:15:05AM -0500, Alvaro Rosales R. wrote: From: Alvaro Rosales R. [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Wed, 15 Jan 2003 09:15:05 -0500 Subject: Questions Hi fellows . Is it posible to have a box with 2 default gateways?, if thew answer is No. FreeBSD box can have only one default gateway. yes, is it posible to route the packages based on the IP source address Take a look to ipfw manual page for fwd rule action. of the clients? .For example: bsd BOX with 2 nics ( actin as router) nic1 10.10.1.10 default gw 10.10.1.1 nic2 200.37.53.5 default gw 200.37.53.1 client1 10.10.1. 5 default gw 10.10.1.1 client2 10.10.1.22 default gw 10.10.1.1 If client1 connects to 10.10.1.1 the packets sould be routed trough nic2 of the multihomed BSD BOX If client2 connects to 10.10.1.1 the packets sould be routed trough nic1 of the multihomed BSD BOX. Thanks in advance for your help To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message -- Regards, Dancho Penev To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: learning to compile and installing sources without using theports collection
Hi Didier, I think there are too many questions in this email. On Wed, 15 Jan 2003, Didier Wiroth wrote: 1) I'm using xfce 3.8.18 (from ports collection). I download the sources of xfce4 from cvs and wanted to compile the stuff! Like they mentionned it: ./configure than make (but I get an error message)! I'm using FreeBSD 4.7-release You should post the end of make's output to this list and put up a meaningful subject line like xfce: make fails with 2) Well honestly I'm a *NIX newbie (coming from Windows) and I'm not a programmer! I would really like to learn how to download sources and compile and install stuff by myself (without using the ports collections)! Start with something simple like the console browser lynx, or the console mail client pine. Most graphical applications are pretty difficult to compile. 3) I do understand that I might leave my Freebsd system unstable or even unusable after installing Software! Normally you won't. You always have backdoors like logging in from a differrent terminal and killing processes. 4) I would like to be able not to be only dependant of the ports-collection, to do that, you need to be able to compile stuff correctly but I need some help or doc? Where can I start? On the applicaton's homepage. Regards, Uli. *---* *Peter Ulrich Kruppa* * - Wuppertal - * * Germany * *---* To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Squid comm_udp_sendto error
Hi I keep getting the following error and surfing goes dog slow. Does any one have any ideas? 2003/01/15 18:11:34| comm_udp_sendto: FD 13, 62.31.64.2, port 3130: (55) No buffer space available 2003/01/15 18:11:34| comm_udp_sendto: FD 13, 194.117.133.118, port 3130: (55) No buffer space available 2003/01/15 18:11:34| comm_udp_sendto: FD 13, 193.38.111.5, port 3130: (55) No buffer space available 2003/01/15 18:11:34| comm_udp_sendto: FD 13, 194.117.133.36, port 3130: (55) No buffer space available 2003/01/15 18:11:34| comm_udp_sendto: FD 13, 194.117.133.84, port 3130: (55) No buffer space available Many thanks Gordon To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
SSH -X and Copyright
When I login to the computer with ssh -X the following message appears. Warning: No xauth data; using fake authentication data for X11 forwarding. How can I set this? How can I remove the copyright thing at startup : Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. I deleted the line copyright in the rc.conf file and then cap_mkdb, but the text is still there. Do you have any guess why? And I don't have a /etc/COPYRIGHT file as well. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Squid comm_udp_sendto error
Hi Not set the NMBClusters yet - I take it that is a kernel re-compile? Here is netstat -mb kursk# netstat -mb 231/640/10112 mbufs in use (current/peak/max): 231 mbufs allocated to data 229/612/2528 mbuf clusters in use (current/peak/max) 1384 Kbytes allocated to network (18% of mb_map in use) 0 requests for memory denied 0 requests for memory delayed 0 calls to protocol drain routines Many thanks Gordon - Original Message - From: Andreev, Kliment [EMAIL PROTECTED] To: G D McKee [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, January 15, 2003 6:40 PM Subject: RE: Squid comm_udp_sendto error 2003/01/15 18:11:34| comm_udp_sendto: FD 13, 62.31.64.2, port 3130: (55) No buffer space available 2003/01/15 18:11:34| comm_udp_sendto: FD 13, 194.117.133.36, port 3130: (55) No buffer space available 2003/01/15 18:11:34| comm_udp_sendto: FD 13, 194.117.133.84, port 3130: (55) No buffer space available # netstat -mb Check (current/peak/max) values. Also put sysctl NMBCLUSTER=8192. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: freebsd ports index (perl) searcher browser
last time i sent URLs for a perl program to search/browse ports index. a quite annoying bug was present in version 0.01; when -find=build-dep option was given, program would have produced use of uninitialized value error messages. it is fixed in version 0.02. i would like it much if people having difficulty using the program (besides the absence of standard perl modules which can be installed from ports collection) tell me so. please send your comments such directly to me, saving the list from much off topic messages. (it seems that, since nobody has complained, people are using at least perl 5.6. otherwise complaints related 3-argument open in perl 5.005 would be coming in my mailbox. i can/will easily change the open() statement to work in perl 5.005 IFF i get complaints about it.) URLs are the same... main program... http://www103.pair.com/parv/comp/src/perl/parse-index.perl module required (needs to be more thoroughly documented)... http://www103.pair.com/parv/comp/src/perl/modules/Util.pm a version w/o my own Util.pm (which will be abandoned as soon as i figure out how to automagically edit @INC)... http://www103.pair.com/parv/comp/src/perl/parse-index-u.perl thank you for your interest. - parv -- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: query logging
On Wed, Jan 15, 2003 at 05:11:24PM +0100, Mark wrote: I must be misunderstanding something. In the man for ndc, I read: querylog Causes named to toggle the ``query logging'' fea- ture, which while on will result in a syslog(3) of each incoming query (uses the WINCH signal.) Note that query logging consumes quite a lot of log file space. This directive may also be given as qrylog Odd, I used this, then did a ndc status, and it says: query logging is ON. Except that I do not see my queries appear in /var/log/messages. Where are they supposed to go? They go to your queries channel. Ceri -- For the All-Father, the stone, and the heroic! To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
dvmrp
Helo, I am Fernando and I am working with Nokia IPSO base on FreeBSD, My Question is about how to change any parameters of the dvmrp protocolo or which is the file of this paramaters. The deamon is ipsrd in Nokia and I am working with the DVMRP protocol in my project, and I would like to replace some DVMRP paramaters , but I do not know how to do. Thanks in advance Greetings To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Your FREE Cell Phone is Ready to Ship!
Contests4Us.com Newsletter - FREE Phone! FREE Phone from FreeCellular.com! Click Here: http://r1.opt4email.com/?u=9l=22id=968016 a href=http://r1.opt4email.com/?u=9l=22id=968016; AOL Users Click Here /a Thanks, Contests4Us.com http://www.Contests4Us.com You have received this email because you visited our partner or site and commenced registration to receive our newsletter. If you have received this email in error or would like to unsubscribe, please follow the instructions below. * To be removed from this mailing list, click here: http://www.opt4email.com/u/?l=c4us[EMAIL PROTECTED] a href=http://www.opt4email.com/u/?l=c4us[EMAIL PROTECTED]; AOL users click here to unsubscribe /a OR... * Reply to this email with the word remove as the subject. This message was sent to: [EMAIL PROTECTED] X-Opt4email-Recipient: [EMAIL PROTECTED] X-Opt4email-Userid: c4us To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: named messages in /var/log/messages
On Tue, 14 Jan 2003, at 18:10 [=GMT-0600], Dan Nelson wrote: In the last episode (Jan 14), Stacey Roberts said: named[143]: denied update from [host_IP].1268 for 1.168.192.in-addr.arpa IN Is that host running Windows 2000 or XP? Does it also have Register this connection's addresses in DNS checked in (deep Yes, its a Win2K Pro machine. You'll get the messages on whatever machine is the primary DNS for your domain. The checkbox tells W2K to directly update the DNS record for its IP (usually handed to it by the DHCP server). I prefer the Netware way, where the DHCP server notifies the DNS server itself, instead of hoping the client does it right. You can safely ignore the message if you want. And what about similar messages, where the update is tried, not on private IP reverse DNS, but on . (the root zone), or some fancy domain I happen(ed) to have running on the server (I remember eightball.net and kickingback.com)? And what if it comes from machines 15 hops away? Examples: Nov 12 12:02:27 [hostname] named[82]: denied update from [12.234.42.233].32776 for . IN Nov 12 12:18:56 [hostname] named[82]: denied update from [12.234.42.233].32776 for . IN Nov 12 12:02:27 [hostname] named[82]: denied update from [12.234.42.233].32776 for . IN Nov 12 12:18:56 [hostname] named[82]: denied update from [12.234.42.233].32776 for . IN Jan 14 11:23:08 [hostname] named[22121]: client 64.30.161.135#32777: update forwarding denied Jan 14 14:02:15 [hostname] named[22121]: client 194.237.39.97#35558: update forwarding denied Jan 14 14:20:57 [hostname] named[22121]: client 194.237.39.97#35559: update forwarding denied Jan 14 14:23:10 [hostname] named[22121]: client 64.30.161.135#32777: update forwarding denied I changed to Bind 9 somewhere in Autumn, which may explain why I don't get the exact domains anymore in the console messages. I haven't researched that. I am guessing. I do not run reverse DNS for private address space on the box, so the update of these addresses cannot be what it is about, or can it? -- [04] We value you like our close relations. http://logoff.org/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
/dev/ums0 busy, moused disabled
Hello All I'm using a USB mouse on my 4.7-RELEASE box and I'm seeing strange behavior. In short, when I boot the system, I need to immediately 'shutdown now' to single-user mode and then 'exit' back to multiuser mode to get the mouse to work. When the machine first boots, X will not load as /dev/ums0 is busy. lsof and cat return: # cat /dev/ums0 cat: /dev/ums0: Device busy # lsof | grep ums moused 97root3u VCHR 111,00t0 40 /dev/ums0 Now, the only moused line I have in /etc/rc.conf is: moused_enable=NO and yet it's still running after system boot. Somehow bouncing to singleuser mode and then back clears it up. How can I debug this? Where is moused getting started? Note that once I come back to multi-user lsof shows no processes using /dev/ums0 and X starts just fine. Thanks - JB PS: The 'cat /dev/ums0' trick I got from the Internet. When it's working, if you cat the device and move the mouse around you get a lot of gibberish in the terminal, it's a quick device test. # John Bleichert # http://vonbek.dhs.org/latest.jpg To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Question about the BSD License
On Wed, 15 Jan 2003, Michael Fischer wrote: Dear BSD Group, I am searching for a license model for my software. And I got some information from other people that I should use the BSD lisense. In this model it should be allowed to give away the product without the source files. It should be easier for the Embedded Systems. But I could not found some of this information about the license. I only found a template: Do you have more information where I can found more? Sure: go to http://www.freebsd.org/copyright/index.html and read 'the BSD copyright' Fer Best regards, Michael Fischer Copyright (c) YEAR, OWNER All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the ORGANIZATION nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS AS IS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: port/ftp/mirror-2.9 Out of memory! message--some progress
Tom Parquette [EMAIL PROTECTED] writes: Lowell Gilbert wrote: Tom Parquette [EMAIL PROTECTED] writes: I'm getting an Out of memory! message from the mirror (/usr/ports/ftp/mirror-2.9) port trying to update a large archive. I've tried a number of things but I can't resolve this. Any suggestions? hitting a limits(1) limit? Lowell, I've been playing with this on and off for a few days. Your question, I think, put me onto something. I've been rerunning the mirror command with top running. mirror fails with the memory size around 520m consistantly. Limits gives me a datasize limit of 524288kb. (Close enough for me!) I've come to the conclusion that the man page would benefit from some examples. I've been trying to raise the datasize limit but it does not seem to take. Example: limits -B -d 4g mirror.sh... still blows up with memory values, from top, around 520m (give or take a little.) You've gotten me looking in the right area. All I have to do now is get the override to work. Can anybody provide any insights on how to actually do this? You need to change the maximum limit; this is best done by modifying login.conf(5) (and rebuilding the database). One of the uses of these limits is as a security issue, so the user can't raise the limits above the given maximum level themselves. At .5GB, though, you may be hitting a kernel limit; I know that MAXDSIZ defaults to something like 128MB. Getting to 4GB on a 32-bit machine is probably not practical anyway. I'd recommend using something more efficient than mirror, or at least figuring a way to break the replication up into smaller pieces. A half-gigabyte is a ludicrous amount of memory space to be using for any such task. [I kind of suspect a memory leak in the application, based on those numbers.] Good luck. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Question about the BSD License
[EMAIL PROTECTED] (Michael Fischer) writes: But I could not found some of this information about the license. I only found a template: You should study your template better. It's quite clear about the issues you raised. Your best bet on the more tricky issues is to find past discussions in mailing lists and Usenet, using groups.google.com, starting in the *bsd* lists/groups. Do you have more information where I can found more? Not specifically about BSDish licences, but you should read about the general subject (and probably from some .de sites too). http://www4.law.cornell.edu/uscode/17/ http://lcweb.loc.gov/copyright/ http://www.fplc.edu/TFIELD/CopySof.htm http://lcweb.loc.gov/copyright/circs/index.html http://www.duq.edu/Technology/copy/copylaw1.html http://www.x.org/xlicense.htm http://bs.mit.edu/pgp/mitlicen.html /usr/src/ has examples of 4-term, 3-term, and 2-term BSDish licenses. Consider that you're probably going to provide a license over only one or two things: non-exclusive rights to create copies and derivatives and to publish them. Everything else is conditions and terms. If you want to be generous, waive your copyrights, or use a BSDish license. If you want to punish closed-source developers or require their payment in money or cross-licensing, use a copyleft/GPLish license. If you want to be selfish, use a closed-souce license. These are gross simplifications, of course. A lawyer would probably want you to have a much longer license than BSDish licenses, even to achieve the same general effect. Consult one. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: entropy
Wilkinson,Alex [EMAIL PROTECTED] writes: Can someone recommend to me where I can read up on entropy. ie what it is ? Why we have it ? etc etc The term entropy is often used (in rough analogy to its technical meaning in thermodynamics) in computer systems to describe the amount of randomness available to random-number functionality. What to read depends on why you need to know about it, but you could always refer to some manual pages, particularly rndcontrol(8). To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: mail
On Tuesday, January 14, 2003, at 07:21 PM, Dax Eckenberg wrote: Changed to MAILSERVER=-YES- % /System/Library/StartupItems/Sendmail/Sendmail start Starting mail services 451 4.0.0 /etc/mail/sendmail.cf: line 93: fileclass: cannot open '/etc/mail/local-host-names': Group writable directory Above is the message before and after reboot line 96 is as follows (ignore --) : Cwlocalhost # file containing names of hosts for which we receive email Fw/etc/mail/local-host-names-- 96 try turning off group write for the /etc/mail directory # chmod g-w /etc/mail That won't fix it. On OS X systems, / is group writable for various reasons. The easiest workaround is to add this to the .mc file you use to generate sendmail.cf: define(`confDONT_BLAME_SENDMAIL', `GroupWritableDirPathSafe') There are a *ton* of web sites that cover getting sendmail on OS X to work properly. Search google. Also, there's a decent article on O'Reilly's Mac Dev Center about it. - jim -- jim mock mij@{soupnazi|opendarwin}.org [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: named messages in /var/log/messages
--- Marc Schneiders [EMAIL PROTECTED] wrote: On Tue, 14 Jan 2003, at 18:10 [=GMT-0600], Dan Nelson wrote: In the last episode (Jan 14), Stacey Roberts said: named[143]: denied update from [host_IP].1268 for 1.168.192.in-addr.arpa IN Is that host running Windows 2000 or XP? Does it also have Register this connection's addresses in DNS checked in (deep Yes, its a Win2K Pro machine. You'll get the messages on whatever machine is the primary DNS for your domain. The checkbox tells W2K to directly update the DNS record for its IP (usually handed to it by the DHCP server). I prefer the Netware way, where the DHCP server notifies the DNS server itself, instead of hoping the client does it right. You can safely ignore the message if you want. I've been seeing these message for the last year or so. You can get rid of these messages as previously suggested by going to the W2K machine and adjusting the DNS properties(the best way). Or you can try the suggestion at this link. http://www.acmebw.com/askmrdns/archive.php?category=90question=619 __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Epson LQ 550
Has anyone managed to print anything but plain text on Epson LQ 550? All I could find is the IBM Omni driver, and that seems to be Linux-only. I've replaced my mother's w98 installation with FreeBSD-4.7/KDE-3.0.3 and this is one of three last things she keeps bitching about. TIA HAND, Roman Neuhauser To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Epson LQ 550
I've not used one in a long time; but remember treating it as an FX-80/RX-80 and it worked fine for me. The ghostscript did require a tweak to ensure that all 24 pins are used. Just run through the printing section in the manual to set it up. Dw. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Info request
Hi there, I found error messages while trying to install openssl-0.9.6g-1 and p5-XML-Sablotron. I'm running FreeBSD 4.7 on a Pentium processor @ 133 MHz, and I tried to install from the ports. I'm sending the logs containing the error messages: -- === Extracting for p5-Apache-ASP-2.39 Checksum OK for Apache-ASP-2.39.tar.gz. === p5-Apache-ASP-2.39 depends on file: /usr/local/lib/perl5/site_perl/5.005/Apache/Filter.pm - found === p5-Apache-ASP-2.39 depends on file: /usr/local/lib/perl5/site_perl/5.005/Apache/SSI.pm - found === p5-Apache-ASP-2.39 depends on file: /usr/local/lib/perl5/site_perl/5.005/Devel/Symdump.pm - found === p5-Apache-ASP-2.39 depends on file: /usr/local/lib/perl5/site_perl/5.005/HTML/Clean.pm - found === p5-Apache-ASP-2.39 depends on file: /usr/local/lib/perl5/site_perl/5.005/HTML/FillInForm.pm - found === p5-Apache-ASP-2.39 depends on file: /usr/local/lib/perl5/site_perl/5.005/HTTP/Date.pm - found === p5-Apache-ASP-2.39 depends on file: /usr/local/lib/perl5/site_perl/5.005/MLDBM/Sync.pm - found === p5-Apache-ASP-2.39 depends on file: /usr/local/lib/perl5/site_perl/5.005/Tie/Cache.pm - found === p5-Apache-ASP-2.39 depends on file: /usr/local/lib/perl5/site_perl/5.005/XML/XSLT.pm - found === p5-Apache-ASP-2.39 depends on file: /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/mod_perl.pm - found === p5-Apache-ASP-2.39 depends on file: /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/Compress/Zlib.pm - found === p5-Apache-ASP-2.39 depends on file: /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/Digest/MD5.pm - found === p5-Apache-ASP-2.39 depends on file: /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/Time/HiRes.pm - found === p5-Apache-ASP-2.39 depends on file: /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/XML/Sablotron.pm - not found ===Verifying install for /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/XML/Sablotron.pm in /usr/ports/textproc/p5-XML-Sablotron === Configuring for p5-XML-Sablotron-0.96 Global symbol $libs requires explicit package name at ./Makefile.PL line 185. Bareword our not allowed while strict subs in use at ./Makefile.PL line 208. Array found where operator expected at ./Makefile.PL line 208, at end of line (Do you need to predeclare our?) syntax error at ./Makefile.PL line 208, near our @extras Global symbol @extras requires explicit package name at ./Makefile.PL line 208. Execution of ./Makefile.PL aborted due to compilation errors. *** Error code 255 Stop in /usr/ports/textproc/p5-XML-Sablotron. *** Error code 1 Stop in /usr/ports/perl5/p5-Apache-ASP. -- === Installing for openssl-0.9.6g_1 + rm -f libcrypto + rm -f libssl making all in crypto... making all in crypto/md2... making all in crypto/md4... making all in crypto/md5... making all in crypto/sha... making all in crypto/mdc2... making all in crypto/hmac... making all in crypto/ripemd... making all in crypto/des... making all in crypto/rc2... making all in crypto/rc4... making all in crypto/rc5... making all in crypto/idea... making all in crypto/bf... making all in crypto/cast... making all in crypto/bn... making all in crypto/rsa... making all in crypto/dsa... making all in crypto/dh... making all in crypto/dso... making all in crypto/buffer... making all in crypto/bio... making all in crypto/stack... making all in crypto/lhash... making all in crypto/rand... making all in crypto/err... making all in crypto/objects... making all in crypto/evp... making all in crypto/asn1... making all in crypto/pem... making all in crypto/x509... making all in crypto/x509v3... making all in crypto/conf... making all in crypto/txt_db... making all in crypto/pkcs7... making all in crypto/pkcs12... making all in crypto/comp... making all in ssl... making all in rsaref... making all in apps... making all in test... making all in tools... /usr/bin/pod2man does not work properly ('MultilineTest' failed). Looking for another pod2man ... installing man1/CA.pl.1 Can't locate Pod/Man.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 . /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503) at /usr/local/bin/pod2man line 16. BEGIN failed--compilation aborted at /usr/local/bin/pod2man line 16. *** Error code 2 Stop in /usr/ports/security/openssl/work/openssl-0.9.6g. *** Error code 1 Stop in /usr/ports/security/openssl. -- Any help will be great because I don't have a clue. Thanx 4 your time. Regards Morris
Re: Problems w NIC
I was very sad to see this thread die, just as (for me) it was getting interesting. My setup and experience is almost identical to Nicola's. bra@BAPhD ~ ifconfig -au rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 192.168.1.100 netmask 0xff00 broadcast 192.168.1.255 inet6 fe80::200:21ff:fed5:c670%rl0 prefixlen 64 scopeid 0x1 ether 00:00:21:d5:c6:70 media: Ethernet autoselect (100baseTX full-duplex) status: active lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7 inet 127.0.0.1 netmask 0xff00 Where is the second NIC? bra@BAPhD ~ ifconfig -a rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 192.168.1.100 netmask 0xff00 broadcast 192.168.1.255 inet6 fe80::200:21ff:fed5:c670%rl0 prefixlen 64 scopeid 0x1 ether 00:00:21:d5:c6:70 media: Ethernet autoselect (100baseTX full-duplex) status: active rl1: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500 ether 00:05:1c:01:96:22 media: Ethernet autoselect (10baseT/UTP) status: active lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7 inet 127.0.0.1 netmask 0xff00 (I have removed extraneous data) SO ... the problem is that the second NIC which is connected to my hub - (in my case rl1) is not UP. WHY isn't it UP? Presumably something missing in rc.conf? Hope someone can help. -- Brian To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Problems w NIC
Hi Brian, On Wed, 2003-01-15 at 23:43, Brian Astill wrote: I was very sad to see this thread die, just as (for me) it was getting interesting. My setup and experience is almost identical to Nicola's. bra@BAPhD ~ ifconfig -au rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 192.168.1.100 netmask 0xff00 broadcast 192.168.1.255 inet6 fe80::200:21ff:fed5:c670%rl0 prefixlen 64 scopeid 0x1 ether 00:00:21:d5:c6:70 media: Ethernet autoselect (100baseTX full-duplex) status: active lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7 inet 127.0.0.1 netmask 0xff00 rl0 seem okay., Where is the second NIC? bra@BAPhD ~ ifconfig -a rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 192.168.1.100 netmask 0xff00 broadcast 192.168.1.255 inet6 fe80::200:21ff:fed5:c670%rl0 prefixlen 64 scopeid 0x1 ether 00:00:21:d5:c6:70 media: Ethernet autoselect (100baseTX full-duplex) status: active rl1: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500 ether 00:05:1c:01:96:22 media: Ethernet autoselect (10baseT/UTP) status: active lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7 inet 127.0.0.1 netmask 0xff00 (I have removed extraneous data) SO ... the problem is that the second NIC which is connected to my hub - (in my case rl1) is not UP. WHY isn't it UP? Presumably something missing in rc.conf? Hope someone can help. It appears that rl1 is not configured here. Two things of note: 1] Have you actually configured rl1? 2] If so, what IP addr configurations is supposed to have? The reasoning behind my questions is the fact that you mentioned that *both* rl0 rl1 are connected to the same hub. Hubs are devices that provide for sharing collision domains on a subnet - hosts / nodes that on the same subnet all see the same traffic. FreeBSD (under normal circumstances) would not allow you to have multiple nics configured with IP addrs within the same subnet. E.G: rl0 = 10.0.0.1 rl1 = 10.0.0.2 FreeBSD wouldn't normally allow you to do this. Do you have rl1 defined in /etc/rc.conf? Post that for us, please. Regards, Stacey -- Brian To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message -- Stacey Roberts B.Sc (HONS) Computer Science Web: www.vickiandstacey.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Problems w NIC
Brian Astill wrote: snip bra@BAPhD ~ ifconfig -a rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 192.168.1.100 netmask 0xff00 broadcast 192.168.1.255 inet6 fe80::200:21ff:fed5:c670%rl0 prefixlen 64 scopeid 0x1 ether 00:00:21:d5:c6:70 media: Ethernet autoselect (100baseTX full-duplex) status: active rl1: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500 ether 00:05:1c:01:96:22 media: Ethernet autoselect (10baseT/UTP) status: active lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7 inet 127.0.0.1 netmask 0xff00 (I have removed extraneous data) SO ... the problem is that the second NIC which is connected to my hub - (in my case rl1) is not UP. WHY isn't it UP? Presumably something missing in rc.conf? Hope someone can help. Looks like the second NIC isn't properly configured (or configured at all). Not only is it not up, but it has no IP information. Can you manually start it ala: ifconfig rl0 inet 172.16.5.20 netmask 255.255.0.0 (pick your own IP range if you like) If manually starting it works, review your rc.conf settings. If you can't find anything wrong, post your rc.conf to the list and we'll take a gander at it. -- Bill Moran Potential Technologies http://www.potentialtech.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: how do i log another device to syslog?
--- Stijn Hoop [EMAIL PROTECTED] wrote: syslogd_flags=-a 1.2.3.4/32 in /etc/rc.conf should work according to the manpage. Maybe even syslogd_flags= is enough, but by default syslogd_flags is -s which doesn't allow peer logging. See /etc/defaults/rc.conf and man syslogd. i've done this, now what file would the webramp messages log to? also, how can i have the webramp logs in their own file? __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
How to simulate a mouse click from the keyboard?
It seems to me I vaguely recall that one or another of the window managers make it possible to simulate mouse clicks from the keyboard. Can someone refresh my memory? -- Lars Eighner [EMAIL PROTECTED] -finger for geek code- http://www.io.com/~eighner/index.html 600 E 53RD ST APT 119 AUSTIN TX 78751 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: sh sourcing bug? test bug?
Chad Kline wrote: fbsd 4.7 SCRIPT --- echo 1:$1 echo 2:$2 --- COMMAND LINE --- . ./script x y --- OUTPUT --- 1: 2: --- shouldn't the output be: 1:x 2:y Being able to specify command line arguments to the script being sourced is a Korn shell extension that has been adopted by many other shells (bash etc.). FreeBSD's /bin/sh doesn't support this feature, it just ignores the extra arguments. If the script is intended to be portable you'll have to avoid using this feature; otherwise run the script with pdksh, ksh93 or bash. Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Increase memory limit ?
The situation is as follows: Physical memory is 128M, OS is FreeBSD 4.4. My C++ simulation code mallocs large amount of memory. When running, I found top shows SIZE is 514M, RES is 176M. Then the code dumpped a core. The code itself should have no problem. It's not complicated and it runs very well when running shorter. Top shows: Mem: 180M Active, 21M Inact, 32M Wired, 13M Cache, 35M Buf, 656K Free Abort trap - core dumped . PID USERNAME PRI NICE SIZERES STATETIME WCPUCPU COMMAND 66351 dxu -22 0 514M 127M swread 0:11 36.96% 27.39% simulation limit shows: cputime unlimited filesizeunlimited datasize524288 kbytes stacksize 65536 kbytes coredumpsizeunlimited memoryuse unlimited descriptors 1064 memorylockedunlimited maxproc 531 I tried to increase the above limits but failed. They seem to be already the maximum. Should I add more physical memory (if so should I reinstll OS)? Can I just set some parameters(what?) and recompile kernel and increase these limits ? Thanks a lot! Frank _ The new MSN 8 is here: Try it free* for 2 months http://join.msn.com/?page=dept/dialup To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
ipfw/natd questions
now i'm trying to set up a gateway box using ipfw/natd. i have 2 test machines - machine 1 has two nics, one's an integrated intel 1000 pro, the other is an old pci 3com 3c905b. machine 1 has a static ip and hostname. machine 2 is virtually identical except it has only one nic - the intel 1000 pro integrated. machine 2 also has a static ip and hostname. i'd like machine 1 to act as a gateway/packet filtering firewall/natd box. i'd like to hook up machine 2 to the internal network interface card of machine 1 and be able to filter/log/divert packets bound for machine 2 through ipfw/natd on machine 1. i've been basically following the instructions at http://www.mostgraveconcern.com/freebsd/ for 'setting up a dual-homed host' - on machine 1, ifconfig returns xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=3rxcsum,txcsum inet 129.x.x.35 netmask 0xff00 broadcast 129.x.x.255 inet6 fe80::210:5aff:fec6:8bcb%xl0 prefixlen 64 scopeid 0x1 ether 00:10:5a:c6:8b:cb media: Ethernet autoselect (100baseTX full-duplex ) status: active xl1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=3rxcsum,txcsum inet 10.20.155.1 netmask 0xff00 broadcast 10.20.155.255 inet6 fe80::206:5bff:fe80:985b%xl1 prefixlen 64 scopeid 0x2 ether 00:06:5b:80:98:5b media: Ethernet autoselect (none) status: no carrier i'd like xl0 to be my external nic, and xl1 to be my internal nic -on machine 1, my /etc/rc.conf reads ifconfig_xl0=inet 129.x.x.35 netmask 255.255.255.0 ifconfig_xl1=inet 10.20.155.1 netmask 255.255.255.0 gateway_enable=YES #required for ipfw support firewall_enable=YES firewall_script=/etc/rc.ipfw firewall_type=open firewall_quiet=NO #change to yes once happy with rules firewall_logging_enable=YES #extra firewalling options log_in_vain=YES tcp_drop_synfin=YES icmp_drop_redirect=YES natd_program=/sbin/natd natd_enable=YES natd_interface=xl0 natd_flags=-f /etc/natd.conf - machine 1's kernel has been recompiled with the following options #to enable ipfirewall with default to deny all packets options IPFIREWALL options IPFIREWALL_FORWARD options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=10 #to hide the firewall from traceroute options IPSTEALTH options IPDIVERT #to hide from nmap options TCP_DROP_SYNFIN - machine's firewall_script, /etc/rc.ipfw, is taken from the tutorial mostly verbatim, the only part of it i changed was # 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 if [ -n ${1} ]; then firewall_type=${1} fi # Firewall program fwcmd=/sbin/ipfw # Outside interface network and netmask and ip oif=xl0 onet=129.x.x.1 omask=255.255.255.0 oip=129.x.x.35 # Inside interface network and netmask and ip iif=xl1 inet=10.20.155.0 imask=255.255.255.0 iip=10.20.155.1 # My ISP's DNS servers dns1=129.x.x.1 dns2=165.x.x.21 # Flush previous rules ${fwcmd} -f flush # Allow loopbacks, deny imposters ${fwcmd} add 100 pass all from any to any via lo0 ${fwcmd} add 200 deny all from any to 127.0.0.0/8 # If you're using 'options BRIDGE', uncomment the following line to pass ARP #${fwcmd} add 300 pass udp from 0.0.0.0 2054 to 0.0.0.0 # Stop spoofing ${fwcmd} add deny all from ${inet}:${imask} to any in via ${oif} ${fwcmd} add deny all from ${onet}:${omask} to any in via ${iif} # Stop RFC1918 nets on the outside interface ${fwcmd} add deny all from any to 10.0.0.0/8 via ${oif} ${fwcmd} add deny all from any to 172.16.0.0/12 via ${oif} ${fwcmd} add deny all from any to 192.168.0.0/16 via ${oif} # Stop draft-manning-dsua-03.txt (1 May 2000) nets (includes RESERVED-1, # DHCP auto-configuration, NET-TEST, MULTICAST (class D), and class E) # on the outside interface ${fwcmd} add deny all from any to 0.0.0.0/8 via ${oif} ${fwcmd} add deny all from any to 169.254.0.0/16 via ${oif} ${fwcmd} add deny all from any to 192.0.2.0/24 via ${oif} ${fwcmd} add deny all from any to 224.0.0.0/4 via ${oif} ${fwcmd} add deny all from any to 240.0.0.0/4 via ${oif} # Network Address Translation. This rule is placed here deliberately # so that it does not interfere with the surrounding address-checking # rules. If for example one of your internal LAN machines had its IP # address set to 192.0.2.1 then an incoming packet for it after being # translated by natd(8) would match the `deny' rule above. Similarly # an outgoing packet originated from it before being translated would # match the `deny' rule below. ${fwcmd} add divert natd all from any to any via ${natd_interface} # Stop RFC1918 nets on the outside interface ${fwcmd} add deny all from 10.0.0.0/8 to any via ${oif} ${fwcmd} add deny all from 172.16.0.0/12 to any via ${oif} ${fwcmd} add deny all from 192.168.0.0/16 to any via ${oif} # Stop draft-manning-dsua-03.txt (1 May 2000) nets (includes RESERVED-1, # DHCP auto-configuration, NET-TEST, MULTICAST (class D), and class E) # on the outside interface ${fwcmd} add deny all from
GNOME 2.0 on FreeBSD 4.6 new installation
I'm sure this is a simply question that most people can answer, but I could use a little help. I'm trying to make a transfer from Microsoft systems to Unix systems, and am now trying to learn FreeBSD. To this end, I have used the MINI-ISO installation CD and FTP server to get my BSD box up and running. I have select only the package that I plan on using for the installation. X is up and running using twm, but I can't seem to get GNOME to run. I used the make clean followed by make clean install method to install GNOME, and it seemed to work. My basic question is how do I start GNOME? I've tried used gnome-session, but that doesn't seem to work correctly. I've used the 'startx' script to access X, then tried 'gnome-session' from a xterm windows, but that didn't work quite right either. Any ideas you can give me would be greatly helpful. Thanks! MtnDog Need a new email address that people can remember Check out the new EudoraMail at http://www.eudoramail.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Increase memory limit ?
On Wednesday, 15 January 2003 at 18:36:31 -0600, Frank Li wrote: The situation is as follows: Physical memory is 128M, OS is FreeBSD 4.4. My C++ simulation code mallocs large amount of memory. When running, I found top shows SIZE is 514M, RES is 176M. That's rather difficult on a machine with only 128 MB. Then the code dumpped a core. The code itself should have no problem. It's not complicated and it runs very well when running shorter. Top shows: Mem: 180M Active, 21M Inact, 32M Wired, 13M Cache, 35M Buf, 656K Free This shows that you have much more than 128 MB of memory in the machine. And how much swap? Abort trap - core dumped . PID USERNAME PRI NICE SIZERES STATETIME WCPUCPU COMMAND 66351 dxu -22 0 514M 127M swread 0:11 36.96% 27.39% simulation limit shows: cputime unlimited filesizeunlimited datasize524288 kbytes stacksize 65536 kbytes coredumpsizeunlimited memoryuse unlimited descriptors 1064 memorylockedunlimited maxproc 531 I tried to increase the above limits but failed. They seem to be already the maximum. No, you need to set them in /etc/login.conf. Should I add more physical memory That might speed things up, but it shouldn't make any other difference. (if so should I reinstll OS)? NO! You don't reinstall the system, ever. Well, almost never. Just reboot. Can I just set some parameters(what?) and recompile kernel and increase these limits ? No. Just reboot. The real issue is why your simulation is dying. Do you have any messages in /var/log/messages indicating that you're out of swap? Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: GNOME 2.0 on FreeBSD 4.6 new installation
On Wed, 2003-01-15 at 20:24, Dan Hanson wrote: I'm sure this is a simply question that most people can answer, but I could use a little help. I'm trying to make a transfer from Microsoft systems to Unix systems, and am now trying to learn FreeBSD. To this end, I have used the MINI-ISO installation CD and FTP server to get my BSD box up and running. I have select only the package that I plan on using for the installation. X is up and running using twm, but I can't seem to get GNOME to run. I used the make clean followed by make clean install method to install GNOME, and it seemed to work. My basic question is how do I start GNOME? I've tried used gnome-session, but that doesn't seem to work correctly. I've used the 'startx' script to access X, then tried 'gnome-session' from a xterm windows, but that didn't work quite right either. Any ideas you can give me would be greatly helpful. Thanks! What do you mean by, it didn't work? This is rather vague. gnome-session is the proper way to start GNOME from either startx or *dm. If you want more help, checkout the FreeBSD GNOME project website at http://www.freebsd.org/gnome/. Joe MtnDog Need a new email address that people can remember Check out the new EudoraMail at http://www.eudoramail.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message -- PGP Key : http://www.marcuscom.com/pgp.asc signature.asc Description: This is a digitally signed message part
Re: Problems w NIC
Stacey Roberts wrote: It appears that rl1 is not configured here. Two things of note: 1] Have you actually configured rl1? 2] If so, what IP addr configurations is supposed to have? The reasoning behind my questions is the fact that you mentioned that *both* rl0 rl1 are connected to the same hub. I have started well - caused confusion already! :-( No. rl0 is connected to the ADSL modem. I suppose you could call that outside data exchange rl1 is connected to the hub. I guess you could call that internal communication. -- Brian To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Download problems with 4.7 ISO image disk 2
At 07:39 PM 1.15.2003 -0600, Griffith B. Randel wrote: I am unable to download the ISO image for disk 2 of the version 4.7 freebsd. I have tried almost every mirror site I can find and several different ftp clients. Download always aborts after approximately 22MB completed. I have successfully downloaded all of the other ISO images without any problems. How can I get the disk 2 ISO image? Please advise. Thanks you, Griffith B. Randel Have you tried another download source...??? Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: entropy
You are an absolute cockhead shell man 4 random What kind of crack are you smoking wanker ? - aW Entropy is a tendency towards disorder in the universe, exemplified by things LIKE SOME FREAKIN' CLUELESS GIT POSTING A TOTALLY OFF-TOPIC SCIENCE MESSAGE TO A COMPUTER OS LIST!!! Did you actually have to MOVE your browser from in front of the mail program to AVOID searching for this on the web?!? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Increase memory limit ?
Thanks, Greg, From: Greg 'groggy' Lehey [EMAIL PROTECTED] Top shows: Mem: 180M Active, 21M Inact, 32M Wired, 13M Cache, 35M Buf, 656K Free This shows that you have much more than 128 MB of memory in the machine. I checked it again (by rebooting it and seeing its booting messages, stupid method, any good method ? uname -a did not give me the physical memory size). The physical memory is actually 256MB. And how much swap? I forgot. Any command to check that ? Here is the partition info though: Filesystem 1K-blocks UsedAvail Capacity Mounted on /dev/ad0s1a19839980463 10206544%/ /dev/ad0s1f19839930485 15204317%/tmp /dev/ad0s1g 42032558 7019929 3165002518%/usr /dev/ad0s1e19839928338 15419016%/var procfs 440 100%/proc I vaguely remember it's about 2 times of physical memory as recommended by BSD. So it should be about 512MB. How much should I set it, in this case now ? I need a lot of memory. I tried to increase the above limits but failed. They seem to be already the maximum. No, you need to set them in /etc/login.conf. Here is what I see in this file. It seems already maximum. :cputime=unlimited:\ :datasize=unlimited:\ :stacksize=unlimited:\ :memorylocked=unlimited:\ :memoryuse=unlimited:\ :filesize=unlimited:\ :coredumpsize=unlimited:\ :openfiles=unlimited:\ :maxproc=unlimited:\ :sbsize=unlimited:\ :priority=0:\ The real issue is why your simulation is dying. Do you have any messages in /var/log/messages indicating that you're out of swap? Yes. Here is what I found in the log: Dec 30 01:05:05 machi /kernel: pid 28666 (simulation), uid 1000, was killed: out of swap space Dec 30 01:05:05 machi /kernel: swap_pager_getswapspace: failed So, how can I increase swap space? Thanks very much! Frank _ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Increase memory limit ?
Thanks, Chuck, Which file should I put in the following ? Frank 32-bit systems implementing VM typically could increase user-mode address space up to 2 GB, although variants on that and other things (ie, where devices get mapped into memory) make that only an approximation. For FreeBSD: # Certain applications can grow to be larger than the 128M limit # that FreeBSD initially imposes. Below are some options to # allow that limit to grow to 256MB, and can be increased further # with changing the parameters. MAXDSIZ is the maximum that the # limit can be set to, and the DFLDSIZ is the default value for # the limit. MAXSSIZ is the maximum that the stack limit can be # set to. You might want to set the default lower than the max, # and explicitly set the maximum with a shell command for processes # that regularly exceed the limit like INND. # options MAXDSIZ=(256*1024*1024) options MAXSSIZ=(256*1024*1024) options DFLDSIZ=(256*1024*1024) Depending on what you're doing, you might well find using a 64-bit platform (Alpha hardware? Solaris on SPARC?) to be more appropriate... -Chuck _ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE* http://join.msn.com/?page=features/virus To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Increase memory limit ?
On Wednesday, 15 January 2003 at 21:54:54 -0600, Frank Li wrote: Thanks, Greg, From: Greg 'groggy' Lehey [EMAIL PROTECTED] Top shows: Mem: 180M Active, 21M Inact, 32M Wired, 13M Cache, 35M Buf, 656K Free This shows that you have much more than 128 MB of memory in the machine. I checked it again (by rebooting it and seeing its booting messages, stupid method, any good method ? uname -a did not give me the physical memory size). No, you need dmesg for that. For example: CPU: AMD Athlon(tm) XP processor 1700+ (1462.51-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x662 Stepping = 2 Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE AMD Features=0xc048MP,AMIE,DSP,3DNow! real memory = 536870912 (524288K bytes) avail memory = 513773568 (501732K bytes) The physical memory is actually 256MB. And how much swap? I forgot. Any command to check that ? pstat -s. But it was the line below the one you quoted from top. I vaguely remember it's about 2 times of physical memory as recommended by BSD. So it should be about 512MB. How much should I set it, in this case now ? It depends on what you need. I need a lot of memory. In your case, I'd create more swap. But first you should see how much you're using. I tried to increase the above limits but failed. They seem to be already the maximum. No, you need to set them in /etc/login.conf. Here is what I see in this file. It seems already maximum. :cputime=unlimited:\ :datasize=unlimited:\ :stacksize=unlimited:\ :memorylocked=unlimited:\ :memoryuse=unlimited:\ :filesize=unlimited:\ :coredumpsize=unlimited:\ :openfiles=unlimited:\ :maxproc=unlimited:\ :sbsize=unlimited:\ :priority=0:\ That's not the entire file. There are multiple classes. But this doesn't seem to be your issue. The real issue is why your simulation is dying. Do you have any messages in /var/log/messages indicating that you're out of swap? Yes. Here is what I found in the log: Dec 30 01:05:05 machi /kernel: pid 28666 (simulation), uid 1000, was killed: out of swap space Dec 30 01:05:05 machi /kernel: swap_pager_getswapspace: failed So, how can I increase swap space? Create another swap partition. If you really can't do that, you'll have to create a vnode device with vnconfig(8), but I don't recommend that. In this case, yes, adding more memory might solve the problem. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: entropy
From: http://people.freebsd.org/~bmah/relnotes/5.0-RELEASE/relnotes-i386.html The random(4) device has been rewritten to use the Yarrow algorithm. It harvests entropy from a variety of interrupt sources, including the console devices, Ethernet and point-to-point network interfaces, and mass-storage devices. Entropy from the random(4) device is now periodically saved to files in /var/db/entropy, as well as at shutdown time. The semantics of /dev/random have changed; it never blocks waiting for entropy bits but generates a stream of pseudo-random data and now behaves exactly as /dev/urandom. - aW Entropy is a tendency towards disorder in the universe, exemplified by things LIKE SOME FREAKIN' CLUELESS GIT POSTING A TOTALLY OFF-TOPIC SCIENCE MESSAGE TO A COMPUTER OS LIST!!! Did you actually have to MOVE your browser from in front of the mail program to AVOID searching for this on the web?!? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Problems w NIC
Hi Brian, On Thu, 2003-01-16 at 02:48, Brian Astill wrote: Stacey Roberts wrote: It appears that rl1 is not configured here. Two things of note: 1] Have you actually configured rl1? 2] If so, what IP addr configurations is supposed to have? The reasoning behind my questions is the fact that you mentioned that *both* rl0 rl1 are connected to the same hub. I have started well - caused confusion already! :-( No. rl0 is connected to the ADSL modem. I suppose you could call that outside data exchange rl1 is connected to the hub. I guess you could call that internal communication. So what are the IP addr for each nic? Post /etc/rc.conf. Regards, Stacey -- Brian To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message -- Stacey Roberts B.Sc (HONS) Computer Science Web: www.vickiandstacey.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
FreeBSD 4.7 cannot fit to 200MB disk!!
Hello! I tried to install FreBSD 4.7 on i486@133 with 16MB of Ram and 200MB disk. W95 worked nice on that machine. I failed to install a minimal configuration of FreeBSD on such hardware!! Is it ok? I wanted only basic console... I noticed that many source files (*.h) were instaled to my disk. Is it ok?? From my point of view, instalation could be more scalable, minimal could be more minimal. This is not a big problem for me, I will run W95 on my old pc as I did. I was only suprised how big modern FreeBSD is. Is it necessary? I like new programs, more options, but I would like to have an option to add them only when I need them. Thanks for FreeBSD! Petr - Petr Slansky, [EMAIL PROTECTED] - To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Problems w NIC
Hi, On Thu, 2003-01-16 at 07:00, Brian Astill wrote: Stacey Roberts and Bill Moran wrote stuff: Wot I dun: root@BAPhD ~ #ifconfig rl1 inet 192.168.1.100 netmask 255.255.255.0 ifconfig: ioctl (SIOCAIFADDR): File exists This is a problem. ifconfig is complaining about duplicate entries for IP information. Despite the error though, the command would appear to go through. root@BAPhD ~ #ifconfig -a rl1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet6 fe80::205:1cff:fe01:9622%rl1 prefixlen 64 scopeid 0x2 ether 00:05:1c:01:96:22 media: Ethernet autoselect (100baseTX full-duplex) status: active At that point the two amber lights for that system light up on the hub - Yeah! No., this is not right here. There is no IP address returned for rl1 Altered rc.conf as follows # -- sysinstall generated deltas -- # Sun Dec 1 22:00:04 2002 ifconfig_rl0=inet 192.168.1.100 netmask 255.255.255.0 # added this line after manual invoking of rl1 using ifconfig ifconfig_rl1=inet 192.168.1.100 netmask 255.255.255.0 defaultrouter=192.168.1.1 Here you go.., You have given the same IP Addr / netmasks information to both rl0 rl1 - this is not right. I have given both NICs the same address because they are both on the same machine - is this right or wrong? In your earlier message, you mentioned that rl0 is connected to a cable modem and rl1 is connected to a lan. rl0 should have a different IP address.., indeed a different network altogether as against rl1. To make life easier, you should configure rl1 with another completely different RFC1918 IP address. So if you're using 192.168.x.x for rl0, use an IP addr from the 172.16.x.x or 10.x.x.x ranges for rl1. Your set up appears to be that of a gateway. If so, google for dual homed hosts and have a read of what is required to set it all up. Hope this helps. Regards, Stacey -- Brian To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message -- Stacey Roberts B.Sc (HONS) Computer Science Web: www.vickiandstacey.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: How do I monitor the serial CTS line via C programmatically?
Thanks Giorgos! I needed to know the function used to access the Serial ports under FreeBSD. Your program compiles, but generates the following error msg when run: test_prog: ioctl: Inappropriate ioctl for device Thanks to the ioctl 'tip', I researched around, and found that the serial port needed opening, so this is the finished code (just in case someone else needs it): #include sys/ioctl.h #include errno.h #include fcntl.h #include termios.h /*Originally it was termio.h*/ #include stdio.h #include unistd.h int main(void) { int bits; int last; int dcf_dev; if((dcf_dev = open(/dev/cuaa1, O_RDWR|O_NOCTTY)) 0) { perror(open /dev/cuaa0); return (-1); } if (ioctl(dcf_dev, TIOCMGET, bits) == -1) err(1, ioctl); last = bits TIOCM_CTS; printf(CTS %s.\n, last ? on : off); while (1) { if (ioctl(dcf_dev, TIOCMGET, bits) == -1) err(1, ioctl); if ((last ^ (bits TIOCM_CTS)) != 0) { last = bits TIOCM_CTS; printf(CTS %s.\n, last ? on : off); } usleep(10); } return (0); } Brilliant!! :-) Thanks for that! Cheers, Paul Hamilton -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Giorgos Keramidas Sent: Wednesday, 15 January 2003 7:21 PM To: Paul Hamilton Cc: [EMAIL PROTECTED] Subject: Re: How do I monitor the serial CTS line via C programmatically? On 2003-01-15 18:26, [EMAIL PROTECTED] (Paul Hamilton) wrote: I have been trying to monitor the serial CTS line. I would like to log the fact that the CTS has changed state (active/non-active). I have been trying to adapt some Linux programs, but am having problems with adapting the POSIX TIOCMGET function. Is there a FreeBSD way? You'd have to poll using ioctl(fd, TIOCMGET, int) and detect CTS changes by checking the TIOCM_CTS bit in the returned value. The following (untested) sample program should be easy to adapt to your needs. When TIOCM_CTS changes from on to off or vice versa, the program should print the change. #include sys/ioctl.h #include stdio.h #include unistd.h int main(void) { int bits; int last; if (ioctl(0, TIOCMGET, bits) == -1) err(1, ioctl); last = bits TIOCM_CTS; printf(CTS %s.\n, last ? on : off); while (1) { if (ioctl(0, TIOCMGET, bits) == -1) err(1, ioctl); if ((last ^ (bits TIOCM_CTS)) != 0) { last = bits TIOCM_CTS; printf(CTS %s.\n, last ? on : off); } usleep(10); } return (0); } To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
make installworld failed
HI there, After cvsup i ran make buildkernel and installkernel but when i ran make installworld for the binaries I ran into some error like below :- -- Installing everything.. -- cd /usr/src; make -f Makefile.inc1 install === share/info === include creating osreldate.h from newvers.sh setvar PARAMFILE /usr/src/include/../sys/sys/param.h; . /usr/src/include/../sys/conf/newvers.sh; echo $COPYRIGHT osreldate.h; echo #ifdef _KERNEL osreldate.h; echo '#error osreldate.h must not be used in the kernel, use sys/param.h' osreldate.h; echo #else osreldate.h; echo \#'undef __FreeBSD_version' osreldate.h;echo \#'define __FreeBSD_version' $RELDATE osreldate.h; echo #endif osreldate.h touch: not found *** Error code 127 Stop in /usr/src/include. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. What can be the problem? I remember reseting the date earlier; but I ran make installworld after setting to new date. Would this be athe problem? In that case what should I do? Thanks in advance.. Selvam To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
How can data be inserted into a MySQL DB using C code?
Hi All, Step one was collecting the data, Step two is to somehow get the info into a MySQL DB. I am monitoring a serial port's CTS line, and need to get the fact that it's changed state logged into the DB. I can use C and/or PHP. Perl is beyond me :-( (I have trouble enough just trying to add Perl modules). The C program runs continuously, monitoring the CTS bit, so I thought it would be nice to dump the info straight into the MySQL DB. As a backup, I suppose, I could dump the 'date/time' and 'CTS-Open-Closed' into a text file, then once a day, run a PHP script to import the files contents into the MySQL DB. However, that means I wouldn't get any live data. I know there is the MySQL++ project, but I had problems trying to get that to function, and my C++ knowledge is negligible. Any help, or tips would be grateful. Cheers, Paul Hamilton To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: FreeBSD 4.7 cannot fit to 200MB disk!!
I wouldve bet the minimal install would fit in 200 megs.. i have a minimal install (the 'minimal' distribution option from the insaller), along with these packages: autoconf213-2.13.000227_5, lcdproc-0.4.3, libgnugetopt-1.2, libtool-1.3.4_4, lsof-4.65, m4-1.4_1, netcat-1.10_1, poptop-1.1.3_1, rsync-2.5.5_1, trafshow-3.1_1, tripwire-1.2, ucd-snmp-4.2.5_2 still only takes up 142 megs. FilesystemSize Used Avail Capacity Mounted on /dev/ad1s1a 302M 142M 136M51%/ uname -a: FreeBSD fw-1.isber.ucsb.edu 4.7-STABLE FreeBSD 4.7-STABLE #0: Sat Dec 21 16:13:47 -- :// randall s. ehren :// voice 805.893.5632 :// systems administrator:// isber|survey|avss.ucsb.edu :// institute for social, behavioral, and economic research To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message