ssh and resolv.conf question
Hey, I'm running a server with freebsd 4.8-release with OpenSSH_3.5p1 and named 8.3.4-REL. The server has the ip 192.168.0.18. Case1: My resolv.conf contains these (similar) entries: domain mydomain.com search mydomain.com nameserver 10.0.0.1 nameserver 10.0.0.2 Case2: No I put my own dns in the file, and the file looks like this: domain mydomain.com search mydomain.com nameserver 192.168.0.18 nameserver 10.0.0.1 nameserver 10.0.0.2 Now the problem: when I use the Case2 resolv.conf file and I try to log on with my ssh client to 192.168.0.2 Login as: appears quite instantly but the password prompts takes about 50 seconds to appear! When I change back resolv.conf to Case1 there is no problem, password: appears rapidely after having entered the username! What it is the problem? I'm using a 192.168.0.16/255.255.255.248 Network and I have not setup a reverse lookup zone for the moment! Could that be the problem Thanks a lot! Didier ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mount_ntfs fails
On Fri, 21 Feb 2003 13:15:03 + Daniel Bye [EMAIL PROTECTED] wrote: On Fri, Feb 21, 2003 at 01:54:57PM +0100, Didier Wiroth wrote: Hey, I have two harddisks: 1) ad0 with 1 slice containing Windows XP pro 2) ad2 with two slices s1 is ntfs and s2 is freebsd 4.7-release I can mount_ntfs without problems ad2s1 from freebsd! BUT I can't mount_ntfs ad0s! When I try to mount it with the following command: mount_ntfs /dev/ad0s1 /mnt I get the following error: mount_ntfs: /dev/ad0s1: Invalid argument And in /var/log/messages I see this: Feb 21 13:46:39 lucifer /kernel: ad0s1: slice extends beyond end of disk: truncating from 78140097 to 4408785 sectors Feb 21 13:46:39 lucifer /kernel: ntfs_loadntnode: BREAD FAILED Feb 21 13:46:39 lucifer /kernel: ntfs_vget: CAN'T LOAD ATTRIBUTES FOR INO: 0 1) What is the problem with ad0? 2) What can I do to resolve the problem so that I'm able to mount_ntfs ad0s1? Does mount_ntfs /dev/ad0s1c /mnt work? I have had similar moments of darkness, and seem to recall that was one way out. I'm not sure of the reason for this - it is something to do with the way Windows installs itself on the disk, and with the BSD disk name convention, the c partition represents the whole slice. That's my theory, anyway ;-) Nope, does not work :-( Any other ideas are welcome! :-)) Thanks anyway! Didier To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
evolution with truetype fonts?!
Hey, I'm running freebsd 4.7 with gnome2.2 and evolution 1.2.1 from the ports! Evolution does not use truetype fonts! why? has someone be able to run evolution with truetype/anti-aliased fonts?? if so, how? thanks a lot didier To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
freebsd vidcontrol vs linux console
Hey, I know that there have been a lot of post about changing the console resolution in freebsd using: vidcontrol adding options VESA ord VGA_WIDTH90 etc and recompiling the Kernel etc.. I've tried linux a few times but I personaly didn't like it, except for example the console resolutions you could achieve by adding for example: vga=775 to the lilo.conf file which gave you a console of 1280x1024 with 256 colours which was really nice on a 21 Monitor! The fonts were also very nice in the linux console! I still have problems to understand why this can't be done that nice and softly on FreeBSD. What is the problem/or barrier in freebsd why you can't get such a nice resolution? I saw that in FreeBSD 5 there was an addition saying this: A VESA S3 linear framebuffer driver has been added Has this something to do with what I'm asking? If someone could clarrify me about the problem, it would be very nice. Thanks a lot Didier To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: XFree86 configuration
On Fri, 31 Jan 2003 17:35:14 + David Larkin [EMAIL PROTECTED] wrote: I just installed 4.7 on a new machine and all seems well except the XFree86 is only working on the default VGA mode. What previous step did you make, or what have you done here? Did you type: startx Configuring X is a complete nightmare, am I missing something ? I haven't a clue what sync rates my monitor has and have no manual for it., Have a look here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11.html also I intend moving the server to a new office where it will be attached to a different monitor. I've tried selecting various options from the various menus but all that happens is my screen blinks and I have to reboot and try again with the same result. BE AWARE THAT A BAD CONFIGURED XF86Config CAN KILL YOUR MONITOR!! Apart from the fact it doesn't work, does it generate an error log somewhere so I can try and work out the problem ? Yes, /var/log/XFree86.0.log Is there no standard config which would allow something better than VGA. I don't need to squeeze the last drop of performance out of the monitor/graphics card, just get something useable up and running. 1) You will need to know what Montior Model it is! Find out the exact modell and look at google for the specifications of your monitor, you will need the Horizontal and Vertical refresh rates! 2) You will also need information about your graphic adapter (or if your are lucky XFfree86 -configure) will auto-detect the chip I've been installing using FreeBSD for about 6 years now and have never gained any confidence in installing X, it either works or it doesn't. This must put off loads of potential users , particularly those such as myself who don't know (or much care) about what chipsets stuff they have. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
kde meta port, how to make a package
Hey, I've have installed kde 3.1 on my networked PC! Is it possible to make a package of kde3.1 from /usr/ports/kde to install kde3.1 with pkg_add. My goal is to burn a cd with already compiled kde3.1 packages and install them on a non-networked pc without the need to recompile the kde3.1 sources! Is that possible? Is there something like: make package in the /usr/ports/kde meta-port, I could execute on my networked PC? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
make fetch, recursive-fetch, package ... etc HOWTO?
Hey, I've noticed that there are a lot of options with make for example in the /usr/ports/ collections, is there a man, howto or tutorial somewhere about this options? How do you find out about this options, the are not mentionned in the man make pages. So where can I find all the available options? There are also special make options for sendmail configuration files in /etc/mail?! I found options like: make fetch or make recursive-fetch (and I assume there are many others) from the mailing lists, are the written down somewhere? Thanks a lot Didier To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
LD_LIBRARY_PATH question
Hey, When you add a path to the LD_LIBRARY_PATH variable will it recursevely check all subdirectories? For example: setenv LD_LIBRARY_PATH /usr/home/lib Will /usr7home/me/lib/sub_lib/ also be checked for libraries? Do I have to set the variable this way to check the sub_lib directory: setenv LD_LIBRARY_PATH /usr/home/lib:/usr/home/me/lib/sub_lib Thanks Didier To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
is someone running bind in a jail?
Hey, I have considerably problem setting up bind 8.3.3 in a jail! I'm sure a lot of person have setup bind in a jail. May be these persons could sent me the files mentionned below from their jail: If you don't want me to know your real ip's may be you could simple replace them with 192.168 ip addresses but please leave me some ip address hints in those files! 1) named.conf (the options and logging sections etc.. remove your sensitive data (the zones you're managing)) from the jail 2) resolv.conf from the jail 3) host.conf from the jail 4) hosts from the jail Thanks a lot Didier To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
jail startup problems
Hey, I have setup a jail with a dns (running in a sandox) like written here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/dns.html When I startup the jail I have a few error messages and syslogd crashes! Here is the jails /var/log/messages after a boot: 9 16:16:30 dns named[376]: starting (/etc/named.conf). named 8.3.3-REL Fri Jan 3 17:19:30 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/usr.sbin/named Jan 9 16:16:30 dns named[376]: limit files set to fdlimit (1024) Jan 9 16:16:30 dns named[376]: ctl_server: bind: /var/run/ndc: Address already in use Jan 9 16:16:30 dns named[376]: bind(dfd=20, [192.168.0.2].53): Address already in use Jan 9 16:16:30 dns named[376]: deleting interface [192.168.0.2].53 Jan 9 16:16:30 dns named[376]: not listening on any interfaces Jan 9 16:16:30 dns named[377]: Ready to answer queries. Jan 9 16:16:30 dns sshd[389]: error: Bind to port 22 on 192.168.0.2 failed: Address already in use. Jan 9 16:16:30 dns sshd[389]: fatal: Cannot bind any address. Jan 9 16:16:30 dns syslogd: exiting on signal 15 Jan 9 16:17:27 dns named[183]: starting (/etc/named.conf). named 8.3.3-REL Fri Jan 3 17:19:30 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/usr.sbin/named Jan 9 16:17:27 dns named[183]: limit files set to fdlimit (1024) Jan 9 16:17:27 dns named[184]: Ready to answer queries. In the jails rc.conf I have added the following line: syslogd_flags=-ss -l /etc/namedb/dev/log When I start syslogd manually after the jail boot it works. So, what is the problem! How can I prevent the other error messages! like the bind to port error of the sshd? Thanks Didier To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
how to make bind listen only to 127.0.0.1
Hey, I would like to run bind as a caching only server (v 8.3.3 from 4.7-release). I would also like that it only listens on port 127.0.0.1, but how? I tried this entry in named.conf, but it didn't work: query-source address 127.0.0.1 port 53; It still listens on the real ip address? sockstat -4 shows: root named 296 20 udp4 192.168.0.2:53 root named 296 21 tcp4 192.168.0.2:53 root named 296 22 udp4 127.0.0.1:53 What do I have to change so it named only listens to 127.0.0.1? Thanks a lot Didier To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message