simple locate question
How to creata a second locate database for private use? (mp3 database or so). I have tried $ locate -U dir_with_mp3s -o database.dtb Searching in this database doent work $ locate -d database.dtb somesong.mp3 gives no result. The database exists and it looks ok, seems to be a simple ascii format. What am I doing wrong? I guess its simple, isn't it! Thanks Florian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: tetex, latex, dvips
A tex live-cd? I wonder why this should be preferable to a port. Anyway what's wrong with the latex port. Is this port still maintained, I've read that tetex will be the standard tex port in future. But how to go the standard latex, xdvi, dvips way without dvips? Finally what about latex3e if the've finished their work?? Thanks Florian Roland Smith <[EMAIL PROTECTED]> schrieb: > On Mon, May 16, 2005 at 11:11:22PM +0200, Florian Hengstberger wrote: > > Hi! > > > > Why do latex and tetex conflict? > > Firstly I installed latex but couldnt find the koma package > > but all tools (dvips, xdvi ...). > > So I removed latex and installed tetex-base and tetex-texmf. > > Koma works fine, but I can only produce pdf with pdflatex. > > dvips is not present and xdvi tells me that there are a lot of > > fonts missing! When I try to install dvips I get the following > > message: > > Try to get a hold of a TeXLive CD. It does not install via a port, but > it is the most complete TeX distribution out there. Most TUGs hand them > out to members for free, but I think you can also buy them, e.g. at the > Lehmanns bookstore. > > Roland ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
tetex, latex, dvips
Hi! Why do latex and tetex conflict? Firstly I installed latex but couldnt find the koma package but all tools (dvips, xdvi ...). So I removed latex and installed tetex-base and tetex-texmf. Koma works fine, but I can only produce pdf with pdflatex. dvips is not present and xdvi tells me that there are a lot of fonts missing! When I try to install dvips I get the following message: ===> Installing for dvips-5.76 ===> dvips-5.76 conflicts with installed package(s): teTeX-base-2.0.2_2 teTeX-texmf-2.0.2 They install files into the same place. Please remove them first with pkg_delete(1). *** Error code 1 Stop in /usr/ports/print/dvips. How can a tex distribution conflict with and dvi to ps converter??? Am I doing something completly wrong? Thanks a lot, Florian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
which interface: mountd,rpcbind
Hi! I really worry about that it seems (man mountd, man rpcbind) impossible to specifiy the interface these daemons bind to. Specifing this in rc.conf rpcbind_enable="YES" rpcbind_flags="-h 192.168.0.1" nfs_server_enable="YES" nfs_server_flags="-t -n 4 -h 192.168.0.1" mountd_flags="-r" the output of sockstat -l is this: root nfsd 398 3 tcp4 192.168.0.1:2049 *:* root mountd 396 4 udp4 *:812 *:* root mountd 396 5 tcp4 *:912 *:* root mountd 396 6 udp6 *:811 *:* root mountd 396 7 tcp6 *:911 *:* root rpcbind329 4 udp6 *:* *:* root rpcbind329 5 stream /var/run/rpcbind.sock root rpcbind329 6 udp6 ::1:111 *:* root rpcbind329 7 udp6 *:* *:* root rpcbind329 8 udp6 *:1023*:* root rpcbind329 9 tcp6 *:111 *:* root rpcbind329 10 udp4 127.0.0.1:111 *:* root rpcbind329 11 udp4 192.168.0.1:111 *:* root rpcbind329 12 udp4 *:808 *:* root rpcbind329 13 tcp4 *:111 *:* bind named 314 20 udp4 192.168.0.1:53*:* bind named 314 21 tcp4 192.168.0.1:53*:* bind named 314 22 udp4 127.0.0.1:53 *:* bind named 314 23 tcp4 127.0.0.1:53 *:* bind named 314 24 udp4 *:53 *:* ... The man page of sockstat does not give information about * int the last column, but I assume this means 'listens on all interfaces'. How can I avoid this? Many thanks, Florian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
intel fortran compiler
Hi! As a physician I want to code my programs in fortran. I have read in the groups that the Intel fortran compiler (supporting fortran 95) is avaiable in the ports collection. As far as I know Intels compiler was only designed for Linux. Will the Intel compiler produce FreeBSD binaries or Linux binaries which will run in the emulation? Thanks a lot, Florian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
short pkg_add -r question
Hi! Just a short question: When I download compiled packages with pkg_add -r, where are the binary packages stored? I want to share them over the net for other hosts. Thanks, Florian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
solution: ipfw, natd
Hi! With this order (rules 201,501,502), everything works well. Other orders, although intuitivly correct, don't behave as expected. I tried divert, allow all from internal, check-state and nothing happened. # enable the natd add 00201 divert natd all from any to any via sis0 ### TCP ### # per default only outgoing tcp connections, established from my host are allowed # check against the dynamic rulesets, then allow traffic from internal network add 00501 check-state add 00502 allow all from any to any via vr0 keep-state add 00503 deny tcp from any to any in established via sis0 add 00504 deny all from any to any frag in via sis0 # allow all tcp setup connection add 00505 allow tcp from any to any out via sis0 setup keep-state Was hard to find, not well documented. The handbook suggests firewalltype OPEN, which is in fact not very sensible! A few more words on this would be fine or a reference to the Ipfw-Advanced-Supplement-HOWTO, which covers this case. Florian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
natd, ipfw problem
Hi! Tell me if I should post this otherwhere. Given two network cards sis0 (external) and vr0 (internal) I'm trying to give my girlfriend access to the web. Her ip is 192.168.0.2, I've installed natd, a proper kernel and configured my firewall, but so far only pings from her computer to the web works. I guess there's something wrong with my firewall, because only with the two standard entries (divert and allow all) everything is fine. But now after hours of googling I can't find anything which is wrong in my firewall. the /etc/natd.conf: interface sis0 use_sockets yes same_ports yes redirect_port udp 192.168.0.2:53 53 redirect_port tcp 192.168.0.2:53 53 redirect_port tcp 192.168.0.2:80 80 redirect_port tcp 192.168.0.2:443 443 redirect_port udp 192.168.0.2:123 123 redirect_port tcp 192.168.0.2:123 123 my firewall: add 00401 divert natd all from any to any via sis0 add 00402 allow ip from any to any via vr0 ### TCP ### add 00501 check-state add 00502 deny tcp from any to any in established add 00503 allow tcp from any to any out setup keep-state # allow dns queries, dns-port=53 add 00601 allow udp from any to any 53 keep-state via sis0 # allow ntp queries, ntp-port=123 add 00603 allow udp from any to any 123 keep-state via sis0 # allow all outgoing udp traffic add 00621 allow udp from any to any out via sis0 ### ICMP ### # allow outgoing pings and the reply add 00701 allow icmp from any to any out icmptypes 8 add 00702 allow icmp from any to any in icmptypes 0 # deny and log incoming pings from the outside add 00703 deny log icmp from any to any in icmptypes 8 via sis0 ### SAMBA ### # allow netbios services to local net, but log everything for debugging purposes add 00801 allow log tcp from any to any 137-139 via vr0 add 00802 allow log udp from any to any 137-139 via vr0 Thanks a lot Florian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Weird mouse error
After a kernel compile to add nat support my mouse is moving very,very slowly on both the X-Server and the console. Everything was fine before I decided to reduce my kernels size by commenting out a number of options supporting hardware I don't own. I commented out another options, which seemed to be of no importance to be. Anyway, something is going wrong! The fine kernelconf (KERNEL-04032005) and the bad one (KERNEL-05032005) are attached. Additional my /etc/rc.conf: hostname="lazarus.home" ifconfig_sis0="inet 62.116.56.107 netmask 255.255.255.128" ifconfig_vr0="inet 192.168.0.1 netmask 255.255.255.0" defaultrouter="62.116.56.1" firewall_enable="YES" firewall_script="/etc/rc.firewall" firewall_type="/etc/myfirewall.conf" firewall_quiet="NO" firewall_logging="YES" tcp_drop_synfin="YES" imcp_drop_redirect="YES" sshd_enable="YES" ntpdate_enable="YES" ntpdate_flags="-b" Thanks for any hints! Florian KERNEL-05042005 Description: Binary data KERNEL-04032005 Description: Binary data ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
c standard
Following is possible with gcc and g++: #include double sin(double) { return 1; } int main() { sin(1); return 1; } Why I don't get any warnings like: sin prevously defined in math.h ... when I compile with -Wall -pedantic -ansi. Why is it possible to overwrite the definition of sin, is this part of the standard? Secondly the definition (not declaration) of double sin(double) misses a variable! Is this ok, when the variable is not referenced in the code? Thanks in advance, Florian -- Linux/BSD: The daemons are not longer just in my head! -- Florian Hengstberger [EMAIL PROTECTED] http://stud3.tuwien.ac.at/~e0025265 -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: samba ldap
Disabled by default? Sorry, but I've never specified any ldap options in my smb.conf but the server always tries to authentificate the users with an ldap server. Florian Joerg Pulz <[EMAIL PROTECTED]> schrieb: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Sun, 27 Feb 2005, Florian Hengstberger wrote: > > > Hi list! > > I'm still using 5.2.1 and samba from /usr/ports/net/samba. > > Is there a way to disable ldap, it seems that it is compiled > > into the binary. Do i have to recompile (which switch?) or > > is there a simpler way. > > Hi, > > after a quick look in the Makefile for net/samba it seems that LDAP > support is disabled by default. it can be enabled at compile time by > specifying WITH_LDAP=yes. so, if you recompile net/samba without > specifying WITH_LDAP on the command line or in /etc/make.conf, you should > get a binary without LDAP support. > > regards > Joerg > > - -- > The beginning is the most important part of the work. > -Plato > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.0 (FreeBSD) > > iD8DBQFCIsUfSPOsGF+KA+MRAmRBAJwNK6kyKtniLe8ctZyvYvXBQB7knwCeOTn1 > 9XR2th3Qf7eqWoSZ4mIFexs= > =NMF3 > -END PGP SIGNATURE- > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
samba ldap
Hi list! I'm still using 5.2.1 and samba from /usr/ports/net/samba. Is there a way to disable ldap, it seems that it is compiled into the binary. Do i have to recompile (which switch?) or is there a simpler way. Thanks Florian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: samba as wins-server
I'm not the admin, I own a normal workstation. I just wanted to know if setting up samba as an wins-server improves the speed of netbios resolution. It seems to me that I'll get in trouble when other XP boxes are around, because I've heard that the first win XP box on the net rules the workgroup an manages all netbios stuff. By the way: If samba conflicts with XP, how do XP machines manage not to get in trouble if there is more than one XP box? Thanks, Florian David Landgren <[EMAIL PROTECTED]> schrieb: > Florian Hengstberger wrote: > > Hi! > > I'm working in an office with several win hosts of all flavours > > (98,2000,eXPerience). Unfortunatly the resolution of computers takes > > sometimes up to half an hour (approx.) until they are accessible after > > booting up. > > In near future I'll have the chance to switch to FreeBSD with > > my box (at least, I hope so). I'll install samba for win access to my > > machine. Reading some documentation I've found out that samba > > can also act as a wins-server. Will this enhance the latency of netbios > > resolution or will it corrupt it? > > Are you the admin of this network or just a user? Is the network > switched or hubbed? It probably won't get worse, but half an hour seems > pretty excessive, there is something wrong. > > > Is there a way to speed up this process with samba, > > am I writing complete nonsense? > > You will have to configure all the clients to direct their queries to > the WINS server. If you're delivering addresses via DHCP, this can be > communicated during address allocation, so that's not a problem. More of > a hassle to update fixed-address machines, but even then modern Windows > boxes no longer need to be rebooted for the changes to take effect. > > If this is just your machine and you don't admin the others it will have > zero effect. > > > Tell me if this is true. > > You might have other problems, I don't know. Have you run traces on your > network to see what the traffic is? > > David > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
samba as wins-server
Hi! I'm working in an office with several win hosts of all flavours (98,2000,eXPerience). Unfortunatly the resolution of computers takes sometimes up to half an hour (approx.) until they are accessible after booting up. In near future I'll have the chance to switch to FreeBSD with my box (at least, I hope so). I'll install samba for win access to my machine. Reading some documentation I've found out that samba can also act as a wins-server. Will this enhance the latency of netbios resolution or will it corrupt it? Is there a way to speed up this process with samba, am I writing complete nonsense? Tell me if this is true. Yours, Florian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Traffic upgrade 5.2.1 to 5.3
Hi! I want to upgrade my box from 5.2.1 to 5.3 stable. I have limited download, so, if I update the sources using cvsup in order to make buildworld ..., is there a way to roughly estimated the traffic. Case it's impossible, what's the typical order? A few MB, a few dozen MB or more? Another thing is that there seem to be problems with the avr-tools my current work depends on. Is it somehow possible to keep this package as it is while upgrading. What about upgrading the kernel only? Thanks a lot, Florian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
simple serial loopback
Hi list! I'm currently trying to setup my box for simple data transfer to a microcontroller via the serial interface. Therefore I've wired a nullmodem cable and as a first test I was trying to connect from cuaa0 to cuaa1 simply by xterm1: cat /dev/cuaa0 xterm2: echo "Something" > /dev/cuaa1 Unfortunatly cat exits with 0 after the first echo although it displays the message correct, so I have to "cat /dev/cuaa0" everytime I send something. Why is this? Is there a better way to keep track of the ascii-chars sent over a serial connection? Kermit and minicom seem to be some sort of monster for real serial connection (initialisation ...) which is a bit to much for me. In the end I just wan't to see the chars sent over the cabel and wan't to reply to them by typing on the keyboard, that's it! Thanks in advance Florian PS: Maybe a simple shell/perl script can help, should I focus on that? -- Linux/BSD: The daemons are not longer just in my head! ---------- Florian Hengstberger [EMAIL PROTECTED] http://stud3.tuwien.ac.at/~e0025265 -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Serial communication, terminal
Hi! I have a microcontroller with an uart interface. I want to communicate with my computer through the serial port of my FreeBSD box. Is it somehow possible to connect the serial io to a xterm? Case it is not: I don't want to write a program myself - is there an existing program handling the io? Thank in advance Florian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ftp://ftp.freebsd.org/ empty directory
The directory: ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2.1-release is empty! Why is this? Thanks Florian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
avr-libc 5.2.1
Hi! Has anybody an idea where I can fetch: avr-libc-2003.09.09.tar.bz2 or a package for 5.2.1? I have installed avrdude, avr-gcc via pkg_add but I'm not successfull with the libc. make install says: >> Attempting to fetch from http://people.freebsd.org/~joerg/. fetch: http://people.freebsd.org/~joerg/avr-libc-2003.09.09.tar.bz2: Not Found >> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/. fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/avr-libc-2003.09.09.tar.bz2: File unavailable (e.g., file not found, no access) Where can I download it? Thanks Florian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
TCP_RESTRICT_RST in 5.2.1
Following the istructions of Mrs. Lavigne on ONLamp.com I was trying to build a kernel with the options TCP_RESTRICT_RST. config ignores this option. How can I include this in 5.2.1, I can't find a similar option in my LINT file. Thanks Florian -- Linux/BSD: The daemons are not longer just in my head! -- Florian Hengstberger [EMAIL PROTECTED] http://stud3.tuwien.ac.at/~e0025265 -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Hostname lookups? (tcpdump output)
Hi! I'm currently keeping track off all packets comming from my ISP using tcpdump. I have a limited transfer rate and I'm wondering why there's still (around 100KB per min) traffic although I have no network connections open to the outside world. So netstat gives me: Active Internet connections Proto Recv-Q Send-Q Local Address Foreign Address(state) tcp4 0 0 lazarus.49201 hpat989.external.http TIME_WAIT tcp4 0 0 lazarus.49199 66.102.9.104.http ESTABLISHED tcp4 0 0 localhost.smtp *.*LISTEN udp4 0 0 localhost.49158localhost.ntp udp4 0 0 localhost.ntp *.* udp4 0 0 lazarus.ntp*.* When I run tcpdump I get the following: 18:15:20.016995 arp who-has 62.116.56.99 tell 62.116.56.1 18:15:20.298713 lazarus.home.49562 > ns1.wwpa.com.domain: 46387+ PTR? 99.56.116.62.in-addr.arpa. (43) 18:15:20.347945 ns1.wwpa.com.domain > lazarus.home.49562: 46387 NXDomain* 0/0/0 (43) 18:15:20.348224 lazarus.home.49563 > ns1.wwpa.com.domain: 46388+ PTR? 1.56.116.62.in-addr.arpa. (42) 18:15:20.388817 ns1.wwpa.com.domain > lazarus.home.49563: 46388 NXDomain* 0/0/0 (42) 18:15:21.388378 lazarus.home.49564 > ns1.wwpa.com.domain: 46389+ PTR? 193.33.116.62.in-addr.arpa. (44) 18:15:21.400068 ns1.wwpa.com.domain > lazarus.home.49564: 46389 1/0/0 (70) 18:15:22.432207 arp who-has 62.116.56.98 tell 62.116.56.1 18:15:23.398410 lazarus.home.49565 > ns1.wwpa.com.domain: 46390+ PTR? 98.56.116.62.in-addr.arpa. (43) 18:15:23.456830 ns1.wwpa.com.domain > lazarus.home.49565: 46390 NXDomain* 0/0/0 (43) 18:15:25.191614 arp who-has 62.116.56.19 tell 62.116.56.1 18:15:25.386242 arp who-has 62.116.56.98 tell 62.116.56.1 18:15:25.448443 lazarus.home.49566 > ns1.wwpa.com.domain: 46391+ PTR? 19.56.116.62.in-addr.arpa. (43) 18:15:25.494756 ns1.wwpa.com.domain > lazarus.home.49566: 46391 NXDomain* 0/0/0 (43) 18:15:28.109842 arp who-has 62.116.56.19 tell 62.116.56.1 First question: The arp-query seems to be ok and unavoidable, but what about the connections to ns1.wwpa.com.domain? Look like a reverese dns lookup to me or something? Why is this, is this dangerous, how can I avoid this? Why does the this connection not appear in netstat?? I use the standard client firewall, that's my /etc/rc.conf: #setup the network hostname="lazarus.home" ifconfig_sis0="inet 62.116.56.107 netmask 255.255.255.128" defaultrouter="62.116.56.1" #ipv6_enable="YES" #enable the standard firewall firewall_enable="YES" firewall_type="client" firewall_quiet="NO" firewall_logging="YES" #enable services sshd_enable="YES" ntpd_enable="YES" ntpd_flags="-c /etc/ntp.conf" #system settings keymap="german.iso" #linux_enable="YES" moused_enable="YES" Secondly: I'm only running ntp and ssh (and mozilla), why is a socket listening on the smtp port? Thanks in advance Florian PS: Sorry for the output of netstat and tcpdump ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ipfw - a detailed howto
hi! Can anybody recommend an in deep guide to ipfw? I googled now for a longer time and found nothing really apropriate. The FreeBSD security howto is a little short, other guides don't cover security topics. Is there something like OpenBSDs pf-docu for ipfw? Thanks a lot Florian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Simple routing, netork basics
Hi! In a few days I'll get fast access to the internet via WLAN. I have a wireless accesspoint connected to my (single) network card. I have one single public static IP address from my ISP and I'll assign it to this card. Of course I want to give other people in my LAN also access to the net, so I'll by a second network card, setting it up with a local ip-address/netmask. A few questions arise: 1) I'll have to do some routing with my computer, is there a good online tutorial you can recommend covering this rather simple case? 2) What's the easiest way to log the traffic to my ISP? I don't want to exceed a certain download/upload limit. How can I gain controll over this? 3) I have to network cards: you can I be sure that the right IP is assigned to the right (physical) network card using rc.conf? I has to depend somehow on the position on the PCI-bus: which one is detected first and assigned first or due to which fact are the network-cards numbered? Thanks a lot Florian ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
bsd book
Hi! I need help concerning free-bsd literature: Two books seem to be interesting ("the complete freebsd", "absolute bsd") but although I had a look at both I'm not quite sure which one to buy. What I want is a deep bsd-specific guide covering mostly freebsd related topic such as the kernel, system administration and of course as much networking as possible. I want to avoid paying for a 100-pages introduction to c-shell or bash (with wich I'm now familiar with) or a man-page like overview of the basic unix commands (ls and cd are under control now!). So which one of the two books would you recommend. If both are ok: what's the difference? Thanks a lot Florian -- Linux/BSD: The daemons are not longer just in my head! ------ Florian Hengstberger [EMAIL PROTECTED] http://stud3.tuwien.ac.at/~e0025265 -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Floating Point Arithmetic
Hi! I tried to figure out the capability of double: so I calculated d=2**n (with a for-loop) increasing n step by step. Of course I get a floating point exception when d is bigger than 10**308. But what makes me wondering is the fact that printing printf("%lf",d) gives me the full range of numbers! Calculating 2**1000 and I got the correct number with all (!!) digits. (I cross-checked the digits with python.) This is unexpected because sizeof(double) on my machine is 8, and so I thought that the limit for the correct representation is 2**(8*8). (Actually the limit should be - meeting the IEEE standard - 2**52, the space reserved for representing the fraction of a floating point number.) Anyway I can calculate 2**n, with n up to 1023 exact. Why is this??? Thanks Florian PS: I even had a look at the assembly code, for printf the %lf and than twice 32bit a pushed on the stack before calling printf. Still not enough memory to represent 2**1000! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
proc filesystem
Hi! I mounted the proc-filesystem under /proc but in contrary to Linux no additional information concerning the bus, the cpu etc. is there? Why is this? I like to cat /proc/bus/usb/devices to see if the system took notice of my usb-stick. Thanks a lot Florian ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
cups dies frequently
Hi! I've installed cups and cups-lpr and I'm working with a ppd file for a HP1300 although my printer is a HP1320, because it works perfectly under linux. Anyway cups dies frequently, to be exact: I turned the loglevel of cups and found out that the ripping of the pages failes; the process dies after receiving signal 2. No paper is spit out and lpq tells me that the printer is ready. The printer itself is working perfectly: cut something.ps > /dev/ulpt0 spits out the pages. If theres a quick solution of this problem, please tell me. Its not possible for me to post the whole errorlog of cups now, but I'll do this if necessary. Thanks Florian PS: I want to apologize for this inexact description, but I'm recovering all this from memory now, my internet access is far away from my computer. ------ Florian Hengstberger [EMAIL PROTECTED] http://stud3.tuwien.ac.at/~e0025265 -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FreeBSD 5.3 = FreeBSD stable
Hi! The subject is the question: Is the 5.3 release the stable release? When will become 5.* stable? Florian ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
cups
Hi! How do I start the cupsd a system startup? I had a look at /etc/rc.d but there is no start/stop skript! When I start the cupsd manually /usr/local/sbin/cupsd the daemon seems to stop after a time, no matter if the -F switch is enabled or not. A second question: Why is the topology of the directories of /usr/local/share/cups/model splitted up in languages (de, en ...), quite different to my Linux distro? I want to copy a .ppd file into one of these directories, but I cant figure out in which! Im using FreeBSD 5.2.1 Thanks in advance Florian -- Linux/BSD: The daemons are not longer just in my head! -- Florian Hengstberger [EMAIL PROTECTED] http://stud3.tuwien.ac.at/~e0025265 -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Labview and FreeBSD
Hi! I bought the latest LabView Version (7) under a restricted student license. To be exact: without linux support. The thing I'm interested in is that my LabView Version runs under MacOS X. Is there a way to get it running under FreeBSD too? Thanks a lot, Florian ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Firewall and nmap
Hi! I'm compiled a Kernel using the GENERIC config-file that comes with the default 5.2.1 installation adding support for ipfw. I tried to scan my computer with a linux machine running nmap, but nmap tells me that the host seems to be down altough I was able to ping the freebsd-host. So I flushed all rools for the firewall with ipfw flush (the still existing default rule enables all trafic because I compiled this in my kernel, ipfw -c list told me that this is true.) Anyway, nothing changes, all ports seem to be closed running nmap, pings are successfull again! 1) What's wrong with my configuration? 2) I've tried to add all kernel options to this mail using the online handbook from www.freeebsd.org. I realized that the firewall section covers now the OpenBSD filter pf. What´s the state of the art? How do I enable pf under 5.2.1 - package or port? 3) Is there something similar like nmap or is there a BSD-network scanner, which usage is recommended? Thanks in advance, Florian ------ Florian Hengstberger [EMAIL PROTECTED] http://stud3.tuwien.ac.at/~e0025265 -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Kernel size 5.2.1
Hi! I have compiled my own kernel now, editing the GENERIC configfile that comes with the distrubtion and commenting out a huge number of options. The kernel size is still much larger than a linux kernel (3.7 MB - 1.2 MB). Why is this? Is there anything similar to lspci in FreeBSD? What about lsmod, is there a tool which lists the loaded kernel modules? How can I find out which driver modules are used for my network card? Thanks a lot, Florian -- Linux/BSD: The daemons are not longer just in my head! -- Florian Hengstberger [EMAIL PROTECTED] http://stud3.tuwien.ac.at/~e0025265 -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
XF86(mis)Config Keyboard
Hi! I?m new to FreeBSD, so I tried a fully graphical X setup but as the keyboard settings were not okay, I copied the keyboard section from an existing Linux XF86Config file (same system). Neither the pipe sign nor the delete button work! Instead of the deleting a tilde is pasted, pressing the pipe sign takes no effect, the same is true with all other signs (greater than, less than) of this button. What?s wrong? Section "Input Device" Driver "Keyboard" Option "Protocol" "Standard" Option "XkbLayout" "de" Option "XkbModell" "pc105" Option "XkbRules" "xfree86" Option "XkbVariant" "nodeadkeys" EndSection My keyboard is a standard device (Vendor: Trust), I?m working with the 5.2 release. The funny thing about this is, that everything works fine in the text console! Thanks in addvance Florian -- Florian Hengstberger [EMAIL PROTECTED] http://stud3.tuwien.ac.at/~e0025265 -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
acpi shutdown
Hi! I have a standard pc-style computer, how do I enable acpi?s automatic shutdown (adding something to /boot/loader.conf ?) so that I don?t have to press the power button in then end? Thanx Florian ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Linux vs FreeBSD: wlan-cards
Hi! I know I posted a similar question two days ago, sorry - I?m still in trouble with finding a proper wlan-card. The hardware "database" on the freebsd-site did not help me: most cards are either not avaiable in Austria or simply to expensive. So my question is: Has anybody found a cheap wlan-card running under freebsd? I bet that most experienced users have a wlan card working. What about the cheap d-link and netgear cards, is the prism-chipset supported? (Sorry, but that?s a very important to me: I think of changing to FreeBSD from Linux and both OS are now competing! I want to give both a fair chance in hardware-questions.) Thanks in advance Florian ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
which wlan card?
Hi! I?m searching for a cheap wlan pci card (below 40 euros), supported by both freebsd and linux. What is the best choice, which cards does freebsd support out of the box (without nasty workarounds)? Is there a hardware database for freebsd or something similar? Thanks in advance Florian ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
pdflatex port?
Hi! I´m unseccussfully searching for a pdflatex port! dvips and ps2pdf or something does not meet my needs. Case there is no port: is there something equivalent? Best regards Florian -- Linux/BSD: The daemons are not longer just in my head! -- Florian Hengstberger [EMAIL PROTECTED] http://stud3.tuwien.ac.at/~e0025265 -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Installing ports
Hi! I'm using FreeBSD 5.2.1 and I'm in trouble with installing software using the ports collection. After typing "make install" everything seems to be okay, but in most cases I get a message like this after a few minutes: fetch time out It seemed to me that the mirror servers are not uptodate or that some filenames have changed in the meantime, because fetching data from ftp-servers worked a few times. But in nearly all cases I had to copy the files manually in /usr/ports/distfiles as "make install" finally suggested. So I installed a new ports-collection with sysinstall over ftp but things haven't changed. I'm a little confused, because fetching data from FreeSD ftp-servers doesn't work too (remember that some fetches were successful!). Please help me, Florian ------ Florian Hengstberger [EMAIL PROTECTED] http://stud3.tuwien.ac.at/~e0025265 -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"