Re: Mount NetBSD partition
Op zondag 3 augustus 2003 01:50, schreef Benjamin Walkenhorst: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Saturday, 2. August 2003 22:35, Daan Goedkoop wrote: Hello, On my IDE disk, I have two disk labels, one of FreeBSD and one from NetBSD. Now that I want to change to NetBSD, I would like to copy my data from the NetBSD /home partition to FreeBSD. However, only a device /dev/ad1s3 exists, with which I can only mount the / of NetBSD. Does anyone know what I am doing wrong? Hello, Shouldn't the NetBSD-partitions show up like ad1s3a, s3b, ... ? (...) Are they device nodes for each partition in your disklabel under FreeBSD? That's the problem: these do not show up in FreeBSD. And disklabel says No valid disklabel found. But I can still boot into NetBSD and from there everything works just fine. Hey, wait a moment, if you want to switch to NetBSD, why are you trying to move stuff from NetBSD's /home to your FreeBSD-disklabel (/home as well, I suppose)? Shouldn't it be the other way round? Or am I getting something wrong? It should be the other way around indeed: I want to switch to FreeBSD. In case you are really desperate, Linux reads disklabels from both Free- and NetBSD just fine; unless you use UFS2 with FreeBSD, that is (if you do, prepare for lots of funny read-errors...). It's just a little tricky to figure out what device-nodes to use for BSD's partitions, they typically show up like logical partitions in extended DOS partitions (/dev/hda5 and upwards) Yes, I use UFS2 indeed, but then I guess it is not recommended to write to these partitions using FreeBSD? Maybe I can format a zip-disk and copy things that way... Daan. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: buggy optimization levels...
On 01.08.2003 05:00, Erik Trulsson wrote: On Thu, Jul 31, 2003 at 10:30:57PM -0400, Chuck Swiger wrote: [...] problem of compiling the system with cc -O2 resulting in a buggy kernel. If you determine that compiling with cc -O -fgcse results in failures, [...] There is an open bug report in gcc belonging to gcse: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11741 You may create another report with your own research results or notify the gcc people to fix your problem when fixing optimization/11741, too. Jens ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mouse/X11 Documentation
Frank Jahnke wrote: I'm writing you this message for assistance in getting my mouse wheel to work with X11. Yes, another one of these requests. I have been through the documentation (and numerous articles on the web) and yet I still cannot get it to work. I am running BSD 4.8 with XFree86 v4.3.0 (downloaded last week, so it should be a very current version of the latest stable release). My window manager is currently Window Maker v0.80.1. The mouse is a Logitech MouseMan Wheel, which I understand is equivalent to the MouseMan+. With success I have installed support for the mouse using moused for the console drivers. I added line allscreens_flags to my rc.conf file for mouse support on the various virtual consoles. That works fine. I can also use the same three buttons for text selection and pasting in X11. What I cannot get to work is text scrolling using the wheel. From section 11.3 of the FAQ, first there is a description of /etc/XF86Config (which is now located in /etc/X11/XF86Config) that is for XFree86 v3 only. I currently have the 4.3 equivalent (see below) with SysMouse replaced by Auto. Changing from one to the other did not make a difference, as far as I could tell. Moving on to section 11.4 of the FAQ, I have tried without success to use either moused or the X server for wheel support. For the former, I added the moused_flags line and options to rc.conf, as suggested. Moving now to Example 11-2, first the caption is incorrect. It DOES describe use of XF86Config with moused Translations, does it not? I needed to use an Identifier of Mouse0 instead of Mouse1, or else X11 would crash (again, see below). Imwheel was downloaded and installed from the ports collection; the configuration file moved to ~/.imwheelrc (which was used without alteration). No success. Next I tried to use the X Server to translate wheel events. The suggested use of MouseManPlusPS/2 was not recognized by XFree; since BSD recognized the mouse type on boot-up, I reverted to Auto. Using the device /dev/psm0 was not successful -- the device was busy, and X11 would not load. I replaced psm0 with sysmouse. After imwheel was loaded, the wheel still did not scroll the screen. I admit that it is frustrating to find files in different directories, mislabeled headings in the documentation, and configurations that do not work as suggested. It feels to me that XFree86 is new, and has not been fully incorporated into the various texts. I am at loss on how best to proceed, and your suggestions would be most appreciated. Frank Jahnke, Ph.D. President, FMJ Associates Auburn, CA 95604 [EMAIL PROTECTED] Section InputDevice # Identifier and driver Identifier Mouse0 Driver mouse Option Protocol auto Option Device /dev/sysmouse Option Buttons 5 #Option ZAxisMapping 4 5 #Option Emulate3Buttons No # Mouse-speed setting for PS/2 mouse. Option Resolution100 # When using XQUEUE, comment out the above two lines, and uncomment # the following line. #Option Protocol Xqueue # Baudrate and SampleRate are only for some Logitech mice. In # almost every case these lines should be omitted. #Option BaudRate 9600 #Option SampleRate150 # Emulate3Buttons is an option for 2-button Microsoft mice # Emulate3Timeout is the timeout in milliseconds (default is 50ms) #Option Emulate3Buttons #Option Emulate3Timeout50 # ChordMiddle is an option for some 3-button Logitech mice #Option ChordMiddle EndSection ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Uncomment this line in your XF86Config #Option ZAxisMapping 4 5 The imwheel port is more or less intergrated into the X11 since 4.2. I dont have it installed and the wheel works great in X11. You must use the device /dev/sysmouse in X11 if you run moused on the console. If you disable moused on the console you can use the device /dev/psm0. I suggest you get rid of moused to simplify the troubleshooting. Do check (#dmesg | grep psm0) what your mouse is being seen as by the kernel. I get flakey issues with my KVM that made my mouse into a generic ps2. You might need to change a flag on atkbd and rebuild the kernel. -Ryan Merrick ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
I/O Flooding
Hi All, I'm trying to work out a good way of stopping one process flooding the I/O. Basically I have a multuple user machine and would like to try to stop one person taking it down... Thanks Rus -- w: http://www.jvds.com | Linux + FreeBSD VDS's from $15/mo e: [EMAIL PROTECTED]| Totally Customizable Technology t: 07919 373537 | General FreeBSD Forums: 10% donation to FreeBSD | http://forums.jvds.com/viewforum.php?f=7 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Can't build anything on FreeB 5.0 RELEASE
Hi Everyone, I tried to install portupgrade from the ports today and it failed with the below error. I tried some other ports and it would seem I can't build anything at all, they all failed with the `free' undeclared here (not in a function) error. Has anyone seen this error before? Thank you in advance for your help. Regards, Chris - %cd /usr/ports/sysutils/portupgrade %make snip === Building for ruby-1.6.8.2003.04.19 cc -O -pipe -mcpu=pentiumpro -fPIC -I. -I. -c main.c cc -O -pipe -mcpu=pentiumpro -fPIC -I. -I. -c dmyext.c cc -O -pipe -mcpu=pentiumpro -fPIC -I. -I. -c array.c cc -O -pipe -mcpu=pentiumpro -fPIC -I. -I. -c bignum.c cc -O -pipe -mcpu=pentiumpro -fPIC -I. -I. -c class.c cc -O -pipe -mcpu=pentiumpro -fPIC -I. -I. -c compar.c cc -O -pipe -mcpu=pentiumpro -fPIC -I. -I. -c dir.c cc -O -pipe -mcpu=pentiumpro -fPIC -I. -I. -c dln.c cc -O -pipe -mcpu=pentiumpro -fPIC -I. -I. -c enum.c dir.c: In function `dir_s_chdir': dir.c:419: warning: assignment makes pointer from integer without a cast dir.c:421: warning: assignment makes pointer from integer without a cast cc -O -pipe -mcpu=pentiumpro -fPIC -I. -I. -c error.c cc -O -pipe -mcpu=pentiumpro -fPIC -I. -I. -c eval.c cc -O -pipe -mcpu=pentiumpro -fPIC -I. -I. -c file.c file.c: In function `stat_new_0': file.c:124: `free' undeclared (first use in this function) file.c:124: (Each undeclared identifier is reported only once file.c:124: for each function it appears in.) file.c: In function `rb_file_s_expand_path': file.c:1240: warning: initialization makes pointer from integer without a cast cc -O -pipe -mcpu=pentiumpro -fPIC -I. -I. -c gc.c gc.c: In function `ruby_xmalloc': *** Error code 1 gc.c:96: warning: assignment makes pointer from integer without a cast gc.c:99: warning: assignment makes pointer from integer without a cast gc.c: In function `ruby_xrealloc': gc.c:136: warning: assignment makes pointer from integer without a cast gc.c:139: warning: assignment makes pointer from integer without a cast eval.c: In function `mnew': eval.c:6669: `free' undeclared (first use in this function) eval.c:6669: (Each undeclared identifier is reported only once eval.c:6669: for each function it appears in.) eval.c: In function `method_unbind': eval.c:6689: `free' undeclared (first use in this function) eval.c: In function `method_clone': eval.c:6732: `free' undeclared (first use in this function) eval.c: In function `umethod_bind': eval.c:6799: `free' undeclared (first use in this function) eval.c: In function `thread_free': eval.c:7374: `free' used prior to declaration eval.c: In function `rb_thread_start_0': eval.c:8535: `free' used prior to declaration eval.c: In function `thgroup_s_new': eval.c:9027: `free' undeclared (first use in this function) *** Error code 1 2 errors *** Error code 2 Stop in /usr/ports/lang/ruby. *** Error code 1 Stop in /usr/ports/sysutils/portupgrade. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
putting mount_smbfs -N into /etc/fstab
Hi, I have: //pref/pref /pref smbfs rw,noauto 0 0 in my /etc/fstab and it works, but I have to press the return key to submit the empty password when I mount /pref and thus I have to use the noauto option. I there a way to put the mount_smbfs option -N and also -E koi8-r:cp866 into the /etc/fstab so that no user interaction is required during the boot process? I couldn't find the answer in man mount_smbfs nor in /usr/src/contrib/smbfs/mount_smbfs/* yet. Thanks Alex ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Mounting OpenBSD partitions (can see only root)
Hi, I have a dual-boot PC and would like to mount the OpenBSD partition (with 3 slices: root, swap and /home) on the hard disk ad1 under FreeBSD 5.1. However there are only 2 ad1 devices visible: newhope:alex {264} ll /dev/ad1* crw-r- 1 root operator4, 12 Aug 3 09:50 /dev/ad1 crw-r- 1 root operator4, 20 Aug 3 09:50 /dev/ad1s4 The FreeBSD-disklabel complains about those: newhope:alex {262} sudo disklabel /dev/ad1s4 disklabel: /dev/ad1s4: no valid label found newhope:alex {263} sudo disklabel /dev/ad1 disklabel: /dev/ad1: no valid label found And the FreeBSD-fdisk shows the OpenBSD partition: newhope:alex {265} sudo fdisk /dev/ad1 *** Working on device /dev/ad1 *** parameters extracted from in-core disklabel are: cylinders=79408 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=79408 heads=16 sectors/track=63 (1008 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: UNUSED The data for partition 2 is: UNUSED The data for partition 3 is: UNUSED The data for partition 4 is: sysid 166 (0xa6),(OpenBSD) start 63, size 80035767 (39079 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 254/ sector 63 When I mount /dev/ad1s4 then it works, but I see only the root (/) slice there. The OpenBSD /home-slice isn't visible. I've searched archives and have found a suggestion to run the FreeBSD-disklabel on the OpenBSD disk and add the slices manually. But won't this corrupt my OpenBSD- disk and make it unusable under OpenBSD? Where does FreeBSD save the slice information? Also, is it safe to mount OpenBSD slices read-write under FreeBSD? Thank you Alex ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't build anything on FreeB 5.0 RELEASE
On Sun, Aug 03, 2003 at 09:01:54PM +1000, Chris Richards wrote: Hi Everyone, I tried to install portupgrade from the ports today and it failed with the below error. I tried some other ports and it would seem I can't build anything at all, they all failed with the `free' undeclared here (not in a function) error. Has anyone seen this error before? It looks like your 5.0 system is corrupted - perhaps your upgrade was only partial or otherwise incomplete. Did you upgrade from source? If so, make sure you are cvsupping the whole tree (src-all), cvsup again and then precisely follow the upgrade directions in /usr/src/UPDATING and the FreeBSD handbook. Kris pgp0.pgp Description: PGP signature
Re: Default ACL entries.
On Sat, Aug 02, 2003 at 06:37:24PM +0200, Grzegorz Czaplinski wrote: Date: Sat, 2 Aug 2003 18:37:24 +0200 From: Grzegorz Czaplinski [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Default ACL entries. Hi there! Does anyone know how to set default ACL entries? Any examples how to use -d, -k, -X switches with setfacl? # setfacl -dm u::rwx,u:nobody:rwx,m::rwx,g::rx,o::rx /foo There are three required ACL entries: u::,g::,o::, that unlike files acls doesn't exist when you set default acl for first time, so don't forget to set them. (BTW I have patch for setfacl somewhere that check default acl for missing entries) # setfacl -k /foo This will remove default acl for foo directory. # setfacl -dX acls /foo Where acls file contains entries like these: u:nobody:rwx g:somegroup:rx This is all different to Solaris... ;) Thanks, gregory -- Grzegorz Czaplinski gregory at prioris.mini.pw.edu.pl The Power to Serve, Right for the Power Users! - http://www.FreeBSD.org/ Fingerprint: EB77 E19D CFA2 5736 810F 847C A70F A275 2489 469F -- Dancho Penev ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: putting mount_smbfs -N into /etc/fstab
Alexander Farber said: Hi, I have: //pref/pref /pref smbfs rw,noauto 0 0 in my /etc/fstab and it works, but I have to press the return key to submit the empty password when I mount /pref and thus I have to use the noauto option. I there a way to put the mount_smbfs option -N and also -E koi8-r:cp866 into the /etc/fstab so that no user interaction is required during the boot process? I couldn't find the answer in man mount_smbfs nor in /usr/src/contrib/smbfs/mount_smbfs/* yet. This can be solved with the smbfs config file. Please see /usr/src/contrib/smbfs/examples/dot.nsmbrc Petersen ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hostname on LAN with WAN
Constantine, I believe you can just add an entry to /etc/hosts to specify the hostname for your box. Something like: 192.168.0.2 constantine constantine.domainname.com. Just make sure your sytstem is searching the hosts file before DNS (in /etc/host.conf, hosts is above bind). man hosts man host.conf Joey From: Constantine [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: hostname on LAN with WAN Date: Sat, 02 Aug 2003 21:09:24 -0400 MIME-Version: 1.0 Received: from mx2.freebsd.org ([216.136.204.119]) by mc2-f26.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Sat, 2 Aug 2003 18:11:20 -0700 Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18])by mx2.freebsd.org (Postfix) with ESMTPid 62A4A561F9; Sat, 2 Aug 2003 18:10:06 -0700 (PDT)(envelope-from [EMAIL PROTECTED]) Received: from hub.freebsd.org (localhost [127.0.0.1])by hub.freebsd.org (Postfix) with ESMTPid 4867D37B401; Sat, 2 Aug 2003 18:10:06 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])by hub.freebsd.org (Postfix) with ESMTP id 1E58237B401for [EMAIL PROTECTED];Sat, 2 Aug 2003 18:09:58 -0700 (PDT) Received: from swan.mail.pas.earthlink.net (swan.mail.pas.earthlink.net[207.217.120.123])by mx1.FreeBSD.org (Postfix) with ESMTP id B3AC443FD7for [EMAIL PROTECTED];Sat, 2 Aug 2003 18:09:57 -0700 (PDT) (envelope-from [EMAIL PROTECTED]) Received: from user14.net550.nc.sprint-hsd.net ([65.40.235.14]helo=rbcmail.ru)by swan.mail.pas.earthlink.net with esmtp (Exim 3.33 #1)id 19j7Nl-0003np-00; Sat, 02 Aug 2003 18:09:57 -0700 X-Message-Info: JGTYoYF78jEHjJx36Oi8+YDSEg8qKPPD Delivered-To: [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB;rv:1.4) Gecko/20030624 X-Accept-Language: en-gb, ru, en-us, en X-BeenThere: [EMAIL PROTECTED] X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions freebsd-questions.freebsd.org List-Unsubscribe: http://lists.freebsd.org/mailman/listinfo/freebsd-questions,mailto:[EMAIL PROTECTED] List-Archive: http://lists.freebsd.org/pipermail/freebsd-questions List-Post: mailto:[EMAIL PROTECTED] List-Help: mailto:[EMAIL PROTECTED] List-Subscribe: http://lists.freebsd.org/mailman/listinfo/freebsd-questions,mailto:[EMAIL PROTECTED] Sender: [EMAIL PROTECTED] Errors-To: [EMAIL PROTECTED] Return-Path: [EMAIL PROTECTED] X-OriginalArrivalTime: 03 Aug 2003 01:11:20.0366 (UTC) FILETIME=[25DDC4E0:01C3595C] Hello! I am using my FreeBSD 4.8 in a local network, I do not have any routable IPs assigned to the box, so what am I supposed to use as a hostname for that FreeBSD box? I have an internet connection (DSL modem with NAT), and I am using the sendmail on the box, and the problem I have, is that during the boot time I need to wait 2 minutes for the DNS-timeout. I wanted to ask, how the hostname is meant to be set in my case. Cheers, Constantine. maillog: Aug 1 14:52:57 cnst sm-msp-queue[101]: My unqualified host name (cnst) unknown; sleeping for retry Aug 1 14:53:57 cnst sm-msp-queue[101]: unable to qualify my own domain name (cnst) -- using short name Aug 1 14:53:57 cnst sm-msp-queue[103]: starting daemon (8.12.8p1): [EMAIL PROTECTED]:30:00 Aug 2 14:41:22 cnst sm-mta[99]: My unqualified host name (cnst) unknown; sleeping for retry Aug 2 14:42:22 cnst sm-mta[99]: unable to qualify my own domain name (cnst) -- using short name Aug 2 14:42:22 cnst sm-mta[100]: starting daemon (8.12.8p1): [EMAIL PROTECTED]:30:00 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] _ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: imake won't install-4.3.0
Richard Johannesson [EMAIL PROTECTED] writes: Using sysinstall, was going to install emacs and kde. Install failed on installing imake. The error I got Was Add of package imake-4.3.0 aborted, error code 1 - Please check the debug screen for more info. , then got Loading of dependent package imake-4.3.0 failed. Where is this debug screen I'm supposed to look at? alt-f2, I think? Tried doing a portinstall imake. This failed as well. How? This was after I did: 1) cvsup -g -L 2 cvsup.conf, 2) portsdb -Uu, 3) pkgdb -F, 4) portupgrade -ra Don't know how to fix this. Sorry, more information needed for anyone else to guess either. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freebsd 5.0 and supporting USB 2.0
[EMAIL PROTECTED] writes: I'm a newbie of freebsd (I used linux for a couple of years),I had just assembled my new computer (Gigabyte 7VAXP with athlon XP2500+ ), I installed a 5.0 release and is working fine and I'd like to know if I can set the kernel to support usb 2.0 or I have to install the freebsd 5.1 , I saw that is not so stable but I have this USB esternal modem ISDN (DrayTek Vigor 128) and I don't know how to fix it , the sound card(AC97 Realtek ALC650)as well is not reconized but I think I can fix it . Sorry for my English and thank you in advance for your answers :-) FreeBSD 5.1 is certainly more stable (and supportable) than 5.0. Neither one is recommended for newbies, but they're pretty solid in most ways. There is additional USB 2.0 support in 5.1, so that might work better for you, but you could check the hardware notes for reference to your particular devices. As for the problems you're having with those devices, we'd need more information on what goes wrong. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: creating a bootable floppy (not for the installation)
mess-mate [EMAIL PROTECTED] writes: some questions from a newbie : 1.How can I create a bootable floppy after the installation of rel 5.1 ? I'm not running 5.x yet, but in earlier versions I believe I've just used the install (kernel) floppy with a modified loader.rc. The FreeBSD slice is /dev/hdb4. Not to FreeBSD, it isn't. 2.After a lilo config, ( as described in the howto) other=/dev/hdb4 table=/dev/hdb loader=/boot/chain.b label=FreeBSD lilo won't install it to the mbr. Does it say why? You'll probably need LILO help at this point... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Opera 7.11 freezing in 4.8-STABLE?
Is anyone else seeing regular freezes with Opera 7.11 with 4.8-STABLE in ordinary browsing (i.e., not flash, not anything special)? I think I'm seeing more frequent freezes or core dumps than in the 6 series, including ones that lock the OS itself, and wonder whether this is a common or known problem and whether there's a fix. Archives are unavailable, and Google has only a reference to broken flash. Thanks. Don Tyson ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Opera 7.11 freezing in 4.8-STABLE?
On Sun, Aug 03, 2003 at 11:28:43AM -0400, Don Tyson wrote: Is anyone else seeing regular freezes with Opera 7.11 with 4.8-STABLE in ordinary browsing (i.e., not flash, not anything special)? I think I'm seeing more frequent freezes or core dumps than in the 6 series, including ones that lock the OS itself, and wonder whether this is a common or known problem and whether there's a fix. Hi! Yeah, I have exactly the same problem with opera7 on FreeBSD 5.1-RELEASE. It often hangs and core dumps, but it never locks neither my X-Session nor FreeBSD. Opera is a very nice browser, but the problem is very annoying. I am running linux_base-8. I am wondering how opera behaves on linux. Herbert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mouse/X11 Documentation
---BeginMessage--- On Sun, 2003-08-03 at 03:00, Ryan Merrick wrote: Frank Jahnke wrote: Uncomment this line in your XF86Config #Option ZAxisMapping 4 5 The imwheel port is more or less intergrated into the X11 since 4.2. I dont have it installed and the wheel works great in X11. You must use the device /dev/sysmouse in X11 if you run moused on the console. If you disable moused on the console you can use the device /dev/psm0. I suggest you get rid of moused to simplify the troubleshooting. Do check (#dmesg | grep psm0) what your mouse is being seen as by the kernel. I get flakey issues with my KVM that made my mouse into a generic ps2. You might need to change a flag on atkbd and rebuild the kernel. -Ryan Merrick Thanks for the note, Ryan. I have indeed tried to uncomment the line for AZxisMapping, though my note did not make this clear. Again, this did not work. It is my understanding that if I wish to use the mouse on the console, that I MUST use moused. Is it not possible to get a useful mouse on the console and in X11? Certainly it is true that the mouse is more useful in X11. Still, I do use it on the console, mainly for cutting and pasting. So I really would like to use both if possible. Here's the output from dmesg: % dmesg | grep psm0 psm0: PS/2 Mouse irq 12 on atkbdc0 psm0: model MouseMan+, device ID 0 So BSD is finding the mouse on psm0 as it is supposed to, and it is identifying the mouse model properly. I will try to troubleshoot by not using moused. Still, there ought to be a way to do this... Any other suggestions would be most appreciated. Frank ---End Message--- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Something is wrong here
HI I have previously emailed [EMAIL PROTECTED] over problems with regard to what gets classified as excessive bounces. As a result of which I repeatedly get removed from the list. On each occasion I receive an email that tells me I have been temoved due to excessive bounces. That email quotes a confirm reference which does not work. I have to log in to my account and change the preferences in order to continue to receive the list postings. This always seems to happen during a period of time when: (a) I have made no postings to the list (so that rules out anything posted by me having bounced!) (b) I have received multiple emails from many other sources and there are no records of bounces from other lists (including multiple freebsd lists!) (c) The emails to me from [EMAIL PROTECTED] are reaching me. So what is happening??? Perhaps the settings for the mail server do not deal gracefully with advice that mail is temporarily undeliverable for some reason or what -- anyway it is happening too often. As I cannot seem to get an empathetic reply free [EMAIL PROTECTED] I am posting this query to the list -- I would like to know if anyone else is having similar problems. David ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I/O Flooding
On Sun, 3 Aug 2003, Rus Foster wrote: Hi All, I'm trying to work out a good way of stopping one process flooding the I/O. Basically I have a multuple user machine and would like to try to stop one person taking it down... Hi! You will basically use login.conf to put user in user classes (set via chpass $USER) and then restrict the number of simultaneous processes as the simple way to do it. You can also limit the total CPU time a user is allowed to handle. But then you'd also have to look for processes that are allowed to run as root... HTH Olaf -- Olaf Hoyer[EMAIL PROTECTED] Fuerchterliche Erlebniss geben zu raten, ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist. (Nietzsche, Jenseits von Gut und Boese) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Fw: Your message to moderators awaits moderator approval
Now I get this from the moderators ! strange - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, August 03, 2003 10:00 AM Subject: Your message to moderators awaits moderator approval Your mail to 'moderators' with the subject Something is wrong here Is being held until the list moderator can review it for approval. The reason it is being held: Post by non-member to a members-only list Either the message will get posted to the list, or you will receive notification of the moderator's decision. If you would like to cancel this posting, please visit the following URL: http://lists.freebsd.org/mailman/confirm/moderators/db774172 8789bd99ed16b7e13a306a794a68a20a ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Vertical Sync on Nokia Monitor
Hi, I'm running XF86 on freebsd 5.1. I would like to get at least 85Hz in 1152x864 on my Nokia 447Xi Monitor. I've set HV values in xfconfig (30-92, 50-150) but it still working on just 75Hz (default?). I've been experimenting with xvidtune for a while but I supose there is some better way to change it. Thank you Martin ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mouse/X11 Documentation
OK, I commented out the moused references from /etc/rc.conf, and changed XF86Config to psm0 from sysmouse and enabled ZAxisMapping. It worked -- even without imwheel! That's a great improvement -- thank you! Still, is there any way to get the mouse to work in X11 with moused? I'd really like to keep the mouse working in the systems console, if that is possible. Frank ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mounting symlinked directory
Hi all, Running on the FreeBSD 4.8-STABLE i386 with a following setup: [EMAIL PROTECTED]:~$ ls -la /workspace/mus/ | grep big drwxr-xr-x 2 apog wheel 512 Jun 6 15:00 big [EMAIL PROTECTED]:~$ grep big /etc/fstab ls3610:/home/d038533/mus /workspace/mus/big nfs ro,noauto 0 0 [EMAIL PROTECTED]:~$ mount /workspace/mus/big [EMAIL PROTECTED]:~$ works as expected. Now, ~/mus is symlinked to /workspace/mus/ : [EMAIL PROTECTED]:~$ ls -la | grep mus lrwxr-xr-x 1 apog users15 Mar 1 21:37 mus - /workspace/mus/ [EMAIL PROTECTED]:~$ mount mus/big mount: mus/big: unknown special file or file system [EMAIL PROTECTED]:~$ I patched the mount utility, and it works for me. Patch is here: http://www.alexander-pohoyda.privat.t-online.de/patches/usr.src.sbin.mount.c.diff Why isn't it done this way by default? Am I doing it wrong? Thanks for any advice! -- Alexander Pohoyda [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Something is wrong here
The same thing happens to me occasionally. My diagnosis is this: * my MTA (exim) is set to reject junk mail. * freebsd list gets spammed with junk mail reasonably frequently * my MTA refuses the junk from the list * FreeBSD mailing system cuts me off because I have rejected the junk/spam which it is propogating. --- the list needs to be closed? Or at least it needs to have it's OWN junk mail filter.. my 2 cents vizion communication wrote: HI I have previously emailed [EMAIL PROTECTED] over problems with regard to what gets classified as excessive bounces. As a result of which I repeatedly get removed from the list. On each occasion I receive an email that tells me I have been temoved due to excessive bounces. That email quotes a confirm reference which does not work. I have to log in to my account and change the preferences in order to continue to receive the list postings. This always seems to happen during a period of time when: (a) I have made no postings to the list (so that rules out anything posted by me having bounced!) (b) I have received multiple emails from many other sources and there are no records of bounces from other lists (including multiple freebsd lists!) (c) The emails to me from [EMAIL PROTECTED] are reaching me. So what is happening??? Perhaps the settings for the mail server do not deal gracefully with advice that mail is temporarily undeliverable for some reason or what -- anyway it is happening too often. As I cannot seem to get an empathetic reply free [EMAIL PROTECTED] I am posting this query to the list -- I would like to know if anyone else is having similar problems. David ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Need some help =(
Hi! I am pretty new to FreeBSD, however, I do really enjoy useing it, its a GREAT server platform. Anyway, on to my question. I for the life of me can't figure out how to update my system. Everything I read REALLY confuses me. I was hopeing it would be something as simple as emerge world or system like in Gentoo Linux. Anyway, If you could give me a step by step newbie install guide, that would help VERY much! Thanks -Eric ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need some help =(
On Sun, 3 Aug 2003, Eric Murphy wrote: Hi! I am pretty new to FreeBSD, however, I do really enjoy useing it, its a GREAT server platform. Anyway, on to my question. I for the life of me can't figure out how to update my system. Everything I read REALLY confuses me. I was hopeing it would be something as simple as emerge world or system like in Gentoo Linux. Anyway, If you could give me a step by step newbie install guide, that would help VERY much! Thanks Hi Eric, Reading the FreeBSD handbook on the FreeBSD website should give you a fairly comprehensive walk-through of upgrading your system. The exact link is this: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html Hope this helps. -Eric -- -Jonas ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: buggy optimization levels...
Erik Trulsson wrote: On Sat, Aug 02, 2003 at 03:52:25PM -0400, Chuck Swiger wrote: [ ... ] That wasn't my real point anyway. I was trying to refute your statement that Even if the code contains a bug, cc -O and cc -O -fgcse should produce the same results. I claim that if the code has a bug that results in undefined behaviour then the compiler is allowed to produce different results when invoked with different optimization flags. If the code being compiled has a bug that results in undefined behavior, the compiler is allowed to produce different results when invoked with different optimization flags. While true, that doesn't refute my statement: what the compiler is allowed to do, and what the compiler should do, is required not to diverge for code which does not involve undefined behavior. [ ... ] Page 586 of _Compilers: Principles, Techniques, and Tools_ states: First, a transformation must preserve the meaning of programs. That is, an optimization must not change the output produced by a program for a given input, or cause an error, such as a division by zero, that was not present in the original program. The influence of this criterion prevades this chapter; at all times we take the safe approach of missing an opportunity to apply a transformation rather than risk changing what the program does. -- Like your divide-by-zero example above, or this paragraph about semantics vs meaning, I'm not going to disagree if you want to state that the running time of a program is part of the behavior. However, using the terms in such a fashion precludes you from understanding the intended meaning in this particular context. I understand the intended meaning. I just don't agree completely with your reasoning. I would say that the compiler is not allowed to *introduce* errors, or to change the meaning of *correct* programs. So far, so good. (Correct here essentially meaning programs that do not invoke undefined behaviour.) For programs that do not have a defined 'meaning' the compiler is free to do anyting. This is wrong. The fact that integer divide-by-zero by not defined by ANSI C (C89, et al), means the following program does not have well-defined behavior: int main() { return 120 / 0; } ...however, what happens if you remove the semicolon after the zero? That results in a syntax error, and the compiler is _not_ free to do anything it likes in such a case: it is required to identify the syntax error in code which fails to parse by issuing an error message: d.c: In function `main': d.c:3: syntax error before `}' There is more to the point just above than just identifying syntax errors. If you have 5 input source files (call them translation units), of which four are valid code, and the fifth contains an error resulting in undefined behavior, the compiler is required to compile four of the five source files in a well-defined fashion. One can repeat that analysis for code within the fifth input source file: if you moved only the function containing the bug/undefined code to a sixth file, one would discover that the compiler will handle the rest of the code in that file in a well-defined fashion. One could repeat the analysis yet again, using units known as basic blocks, which may either be a single intermediate code instruction (that's intermediate code within the AST, not the input source code), or a sequence of instructions terminated by a flow-of-control instruction like a branch, return from subroutine, memory protection/barrier commands, etc. If a compiler was not allowed to change the result of running a program having undefined behaviour when compiled with different optimization flags, then this would preclude doing just about any optimization. No, it would not. Code optimization consists of transformations to the AST based on algebraic invariants, liveness analysis used by CSE and dead-code removal, loop invariants, and other techniques which are universal (platform-independant), as well as register allocation, peephole analysis, and other transformations to the target code which are platform-specific. What happens to source code with undefined semantics isn't particularly useful to the person writing compiler: valid optimization techniques are required to not change the meaning of any possible well-defined input source code, so being able to behave differently in the case of undefined semantics doesn't help. I am fairly certain that for *all* the specific optimizations available in gcc it is possible to find *some* program that will give different results depending on if that optimization ws used or not. Are you claiming that every specific optimization available in gcc contains bugs? :-) If one were to accept your claims that the compiler should not perform any optimizations that could change the behaviour any program, then it would not be able to do any optimization at all, which is clearly not a desirable situation. It is entirely possible to
Re: Re: Multiple screens TV and Monitor??
Hi Frank, Thx for the advice and I trying to implement what you advice me to do. I also consulted the README.Linux, after I found it(Long day...). Now I think I got the basic idee of it down, but I seem not to be able to get both screens started. TV or Monitor. In the attachement you'll find my XF86config file maybe you can take a look? I've got the feeling that I'm missing a small detail or I'm completly of the target... When I place in the device section, Option ConnectedMonitor TV the TV jumps on. When I leave it as it is just the monitor works... Any Idee?? Thanks in advance Kristof Frank Knobbe [EMAIL PROTECTED] wrote: On Fri, 2003-08-01 at 13:24, kristof wrote: Does anybody know how you to configure your Xfreeconfig file so that it can lanch two X windows at the same time. I would like te be able to view my screen on my tv and monitor at the same time. I can do it separatly(TV or Monitor) but it has to be possible to have twinview. I have an NVIDIA Geforce 4 MX 440 SE and I'm pretty sure it supports this feature (Works in WINDHOOS). Any links with information or advice on how to adchieve this would be very welkom Kristof, this should be explained in the documentation or FAQ of the Nvidia Linux driver. There is a twinview keyword that enables TwinView in X. There are also a couple other options that specify the second display, it's screen size, and where (layout-wise) it is located in relation to the primary display. I have my Xconfig file for TwinView attached. It enables my TFT display (DFP) (Inspiron 8100 with GeForce2 Go) and the external monitor (CRT). The keyword for the TV output I believe is just TV. All those things are in the DEVICE section. Use the attached stuff as an example and modify it to fit your needs. Hope this helps, Frank PS: Anyone know a decent and not too expensive TFT flat screen capable of 1600x1200? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Load Modules at boot time (just checking)
Hi All, Just want a sanity check. I want to load the jailfsstat module at boot time so I've done vi /boot/loader.conf added jailfsstat_load=YES Is that right? Cheers RUs -- w: http://www.jvds.com | Linux + FreeBSD VDS's from $15/mo e: [EMAIL PROTECTED]| Totally Customizable Technology t: 07919 373537 | General FreeBSD Forums: 10% donation to FreeBSD | http://forums.jvds.com/viewforum.php?f=7 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Networking
How to i set my serial line interface to use SLIP protocol instead of CSLIP? I use the commands slattach -h -l -s 19200 /dev/cuaa0 and ifconfig sl0 192.168.2.2 192.168.2.3 netmask 255.255.255.0. When I run' netstat or ifconfig -a, i get the interface using pointtopoint, i dont see where the SLIP protocol can be addressed. Where can i set its values? Thanks in advance. Bryan Maxwell ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Multiple Operating Systems
I have the disks for freeBSD 5.0 and am quite anxious to use it. Is it possible to run Win98, SuSE and a third operating system freeBSD 5.0 on one drive? If so are there any particular techniques required? Will there be any printer and modem issues, perhaps there is a web site which discusses this. Many thanks. Stewart. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
still no sound
Hi all, After not being able to get sound to work under 4.8 with a Ensoniq sound card, I tried using a ESS Solo-1E card. Still no sound. (Though the keyboard beep still functions.) As I had said originally, this is all new to me so there may be something fundamental I'm doing wrong. I have already recompiled the kernel with PCM support, and made the SND0 devices. Zinf still does not give me music. Doing dmesg | grep pcm shows me ESS Solo-1E, (a bunch of port addresses) irq 10 at device 13.0 on pci0. I even double checked that the speakers give sound when connected to the output of another audio device. What else is there to look at? I'm not on the List presently so please CC me. Thanks. Walter ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: still no sound
On Sun, 2003-08-03 at 17:25, Walter wrote: Hi all, After not being able to get sound to work under 4.8 with a Ensoniq sound card, I tried using a ESS Solo-1E card. Still no sound. (Though the keyboard beep still functions.) As I had said originally, this is all new to me so there may be something fundamental I'm doing wrong. I have already recompiled the kernel with PCM support, and made the SND0 devices. Zinf still does not give me music. Doing dmesg | grep pcm shows me ESS Solo-1E, (a bunch of port addresses) irq 10 at device 13.0 on pci0. I even double checked that the speakers give sound when connected to the output of another audio device. What else is there to look at? Try running mixer, and see if vol or pcm is set to 0. Joe I'm not on the List presently so please CC me. Thanks. Walter ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- PGP Key : http://www.marcuscom.com/pgp.asc signature.asc Description: This is a digitally signed message part
Re: still no sound
Joe Marcus Clarke wrote: Try running mixer, and see if vol or pcm is set to 0. Sorry I neglected to mention that - I had already checked that at the previous advise from this List. It is set at 75:75 for each and when I set it to 100:100 it makes no difference. Walter ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ata0: resetting device - ASUS P4S8X
Hi, when i try to install Freebsd 5.0 on my new computer with ASUS P4S8X motherboard it hangs during booting at ad0: READ command timeout tag=0 serv=0 - resetting ata0: resetting device i know someone else had this problem before, but has this problem been fixed yet? thanks - ¨C¤Ñ³£ Yahoo!©_¼¯ ºâ©R - [EMAIL PROTECTED] À°§Aºâ¥X³Ì¦X¾Aªº¨D¾¤è¦V fate.yahoo.com.tw ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD compatability with an IBM Aptiva 2137-E30..
Hi! I have an IBM Aptiva 2137-E30, from which I would like run FreeBSD. To start with I wanted the 4.8 version, but now I think I'll pretty much take anything that works. The PC comes with a bootable CDROM drive, which will boot your Microsoft Windows installation CDs (have tried with w2k and XP). Also it has a 3½ floppy, which also will boot which ever (except FreeBSD) bootable floppy I feed to it. This is what I've tried so far, all of it has failed. 1. Bootable CD from the 4.8 MINI-ISO image. When attempting to read the kernel, it halts with this message: Invalid format FreeBSD/i386 BOOT Default: 0:fd(0:a)/kernel BOOT: And pretty much regardless of what I try, the last two lines is repeated. I haven't tried with another ISO (5.1 would probably be the next candidate), but I'm not going to either, because the, otherwise so fail proof, floppy installation disks also fails for both 4.8 and 5.1. 2. Floppy installation disks v. 4.8 The kernel disk boots up, seemingly fine, and prompts for the mfsroot disk. The mfsroot disk also reads fine, and ends up prompting me, if I want to boot kernel. I figure this must be what I'm supposed to do, so I hit the ENTER button, but after 2-5 seconds, an error occurs. There are two different which I have seen in this situation. To the best of my knowledge there is no logical pattern in which of the two I get at a specific time I try to boot. The first is like this. The following text is printed with white (not grey) text in the bottom of the screen: Fatal double fault: Eip 0xC030EE78 Esp 0xC05E3EB8 Ebp 0xC05E3EC0 Panic: double fault Uptime 0s At this time, all I can do is to reboot. The second error is like this. Almost every of the CPU's registers is dumped to the screen, in a continuous loop, scrolling down the screen. The values of the registers do NOT change. I'm sorry, but I'm too lazy to copy them onto this mail, but I suspect that the EIP, ESP, EBP registers all have the same value as in errortype 1. 3. Floppy installation disks v. 5.1 These disks behave EXACTLY like the 4.8 ones, except the second error the registers are only printed out once, and as a result there is also no scrolling down the screen. I have tried to find updates for the BIOS, as it dates all the way back to august 1997, but there isn't any available from IBM. I've tried putting the CDROM as master drive and the hd as slave, and the other way around. I've scanned my floppies rigorously with no signs of flaws what so ever. I know that there is some hardware on which FreeBSD will not run, and I'm starting to fear that this in one such piece of hardware. Anyone have any ideas? I really would like to avoid having to install linux in stead. //Steffen [at] Schumacher [dot] dk ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Finding your dynamic external IP
If your external IP number changes, as with DHCP, is there a way to find out what it currently is? I was thinking you could keep BitchX logged into a chat channel and script a /dns yournick and email yourself the results from time to time. How would you do it? -- David S. Jackson[EMAIL PROTECTED] =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Life is divided into the horrible and the miserable. -- Woody Allen, Annie Hall ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Finding your dynamic external IP
On Sun, Aug 03, 2003 at 06:13:18PM -0400, David S. Jackson wrote: If your external IP number changes, as with DHCP, is there a way to find out what it currently is? I was thinking you could keep BitchX logged into a chat channel and script a /dns yournick and email yourself the results from time to time. How would you do it? I set up an account on our Linux router/firewall that has a very simple C program as its shell. This program simply gets the SSHCLIENT environment variable and returns it on stdout. We have several customers on cable and dynamic DSL connections so I have an hourly cron job that uses this to see if their IP address has changed, then sends e-mail if it hss. ssh -l sshclient sshclient.celestial.com Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC UUCP: camco!bill PO Box 820; 6641 E. Mercer Way FAX:(206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 URL: http://www.celestial.com/ ``If the personal freedoms guaranteed by the Constitution inhibit the government's ability to govern the people, we should look to limit those guarantees.'' -President Bill Clinton, August 12, 1993 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Finding your dynamic external IP
Somewhere around the time of 08/03/2003 15:13, the world stopped and listened as David S. Jackson spoke these words of wisdom...: If your external IP number changes, as with DHCP, is there a way to find out what it currently is? I was thinking you could keep BitchX logged into a chat channel and script a /dns yournick and email yourself the results from time to time. How would you do it? If you know what interface you are running on, then you can do this to get the IP address: ifconfig interface | head -2 | tail -1 | awk '{print $2}' to get the IP address. Then if you want to mail it to yourself, then you can do the following: /usr/bin/printf Current IP address: `ifconfig interface | head -2 | tail -1 | awk '{print $2}'`\n | /usr/bin/mail -s IP Address Assignment root To update your Dynamic DNS, use the following: ddclient -use=if -if=interface This will run ddclient in daemon mode so that anytime the IP address changes on interface it will update the DDNS provider's servers. -- Daniel Rudy ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mouse/X11 Documentation and Moused
List, I'm sending this summary of my efforts to get the wheel mouse to work in FreeBSD 4.8 and XFree86 4.3. I sent along a couple of messages earlier, but they seemed to get muddled... There are two ways to get the wheel mouse to work. I have succeeded only if X11 does the translations, but not using moused. I would like to do this... Has anyone succeeded in getting a wheel mouse to scroll in X with moused translation? X11 Translations: First, remove or comment out the line moused_enabled=YES in /etc/rc.conf if it is present. This turns off moused, which was the root of my problems. Then in /etc/X11/XF86Config use the following: Section InputDevice # Identifier and driver Identifier Mouse0 Driver mouse Option Protocol auto Option Device /dev/psm0 Option Buttons 5 Option ZAxisMapping 4 5 EndSection I've left out various other options from InputDevice; these can be added back in if you like. Note that my Identifier is Mouse0, which corresponds to my CorePointer at the end of XF86Config. The line setting Buttons to 5 is probably superfluous, but I didn't check that. So the documentation in the FAQ is correct, AS LONG AS MOUSED IS DISABLED, and YOU USE A CONSISTENT IDENTIFIER FOR INPUTDEVICE. I had had moused running, which caused the above to fail. Moused Translations. Alas, this does not work yet. I'm still setting up FreeBSD, so I am spending a LOT of time editing configuration files, particularly for X. I do most of these in the console window; I'd really like to keep the mouse working here. So, I did the following: activate in moused in rc.conf as moused_enable=YES moused_port=/dev/psm0 moused_type=auto moused_flags=-z 4 allscreens_flags=-m on which also enables the mouse for the virtual consoles. Before enabling moused, moused -p /dev/psm0 -i all gives /dev/psm0 ps/2 sysmouse MouseMan+, so BSD is correct in detecting my hardware. The file /etc/X11/XF86Config contains: # Identifier and driver Identifier Mouse0 Driver mouse Option Protocol auto Option Device /dev/sysmouse Option Buttons 5 Option ZAxisMapping 4 5 EndSection It doesn't matter if ZAxisMapping is removed or not -- this does not work. So -- has anyone succeeded in getting a wheel mouse to scroll in X with moused translation? Frank ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Something is wrong here
The same thing happens to me occasionally. My diagnosis is this: * my MTA (exim) is set to reject junk mail. * freebsd list gets spammed with junk mail reasonably frequently * my MTA refuses the junk from the list * FreeBSD mailing system cuts me off because I have rejected the junk/spam which it is propogating. --- the list needs to be closed? Or at least it needs to have it's OWN junk mail filter.. My understanding is that they do employ a spam filter which catches the vast majority of junk. But, as with all such things, some still amkes it through. jerry my 2 cents vizion communication wrote: ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Something is wrong here
On Sun, Aug 03, 2003 at 09:54:39AM -0700, vizion communication wrote: HI I have previously emailed [EMAIL PROTECTED] over problems with regard to what gets classified as excessive bounces. As a Mail problems should be reported to [EMAIL PROTECTED] Kris pgp0.pgp Description: PGP signature
nvidia nforce sound
Does anyone know how to get nvidia's SoundStorm (nforce2 audio) to work under FreeBSD? ~Rik ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Disable Tips
How would I disable the tips that appear when you login. _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Disable Tips
On Sun, Aug 03, 2003 at 08:53:13PM -0400, Gregory Felter wrote: How would I disable the tips that appear when you login. Comment out: # [ -x /usr/games/fortune ] /usr/games/fortune -s in your .login or .profile. -- Jonathan Chen [EMAIL PROTECTED] -- Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mouse/X11 Documentation and Moused
In the last episode (Aug 03), Frank Jahnke said: Moused Translations. Alas, this does not work yet. I'm still setting up FreeBSD, so I am spending a LOT of time editing configuration files, particularly for X. I do most of these in the console window; I'd really like to keep the mouse working here. So, I did the following: activate in moused in rc.conf as moused_enable=YES moused_port=/dev/psm0 moused_type=auto moused_flags=-z 4 allscreens_flags=-m on which also enables the mouse for the virtual consoles. Before enabling moused, moused -p /dev/psm0 -i all gives /dev/psm0 ps/2 sysmouse MouseMan+, so BSD is correct in detecting my hardware. The file /etc/X11/XF86Config contains: # Identifier and driver Identifier Mouse0 Driver mouse Option Protocol auto Option Device /dev/sysmouse Option Buttons 5 Option ZAxisMapping 4 5 EndSection It doesn't matter if ZAxisMapping is removed or not -- this does not work. So -- has anyone succeeded in getting a wheel mouse to scroll in X with moused translation? The above setup works fine for me (I have ZAxisMapping commented out) on -current, with Xfree86 4.3.0. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Newbie question
Thanks, for all. And... i have another question! On 3rd subnet that must be used for internet connection(192.168.0.x) have a small Internet Server (DLink - 192.168.0.1) who listening for http connections (192.168.0.0/24 Dial on Demand) and have NAT, FreeBSD gateway is on 192.168.0.2. What I want to do is all Win boxes to have a connection to internet (from 192.168.1 and 192.168.2 subnets) Should I setup Internet server to listening for 192.168.0.0/16 or redirect adress from 192.168.1.1 and 192.168.2.1 to 192.168.0.1 with natd? Or may be have other answer? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Using a fast PC for builds for slow PC
I have two PC, a PIII 700 and a P100 (with only 24meg RAM). I would like to use the faster PC for doing make buildworld and make buildkernel KERNCONF=XYZ. Then somehow do the install onto the slower PC. The slower PC is running as a router and httpd server. The faster PC is running very a different set-up however they are both running 5.1-RELEASE. Is this possible? _ Hotmail is now available on Australian mobile phones. Go to http://ninemsn.com.au/mobilecentral/signup.asp ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Finding your dynamic external IP
David S. Jackson [EMAIL PROTECTED] writes: If your external IP number changes, as with DHCP, is there a way to find out what it currently is? I was thinking you could keep BitchX logged into a chat channel and script a /dns yournick and email yourself the results from time to time. How would you do it? For DHCP specifically, the best thing to do is to use the dhclient-exit-hooks script to do whatever you want. My particular example is attached... dhclient-exit-hooks Description: dhclient-exit-hooks for use with noip.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need some help =(
Hi! I am pretty new to FreeBSD, however, I do really enjoy useing it, its a GREAT server platform. It makes a pretty darn good desktop too. :-) Anyway, on to my question. I for the life of me can't figure out how to update my system. Everything I read REALLY confuses me. I was hopeing it would be something as simple as emerge world or system like in Gentoo Linux. Anyway, If you could give me a step by step newbie install guide, that would help VERY much! Thanks -Eric Have you read http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html ? It's pretty close to a step-by-step guide to updating your system. It's only a few pages long and quite well written. Joey _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
pw_mkdb() failed in rpc.yppasswdd
When using yppasswd to change a user password, rcp.yppasswdd failed in two ways: change passwd from root on NIS server: --- server syslog messages - passwd: in pam_sm_chauthtok(): yppasswd_local(): failed to connect to rpc.yppasswdd: nis.server.$DOMAIN: RPC: Program not registered change passwd from a user on either NIS server or a remote machine: --- server syslog messages - rpc.yppasswdd[349]: pw_mkdb() failed passwd: in pam_sm_chauthtok(): yppasswd_remote(): NIS password update failed = end of messages = This is on 5.1 release. What would be the problem? pw_mkdb() in lib/libutil/pw_util.c shows that this may be failed at execl(... , pwd_mkdb ...) pw_mkdb(const char *user) { switch (pid= fork()) { ... case 0 : execl(_PATH_PWD_MKDB, pwd_mkdb, -p, -d, passwd_dir, -u, user, tempname, NULL); _exit(1); ... } if (waitpid(pid, pstat, 0) == -1) return (-1); if (WIFEXITED(pstat) WEXITSTATUS(pstat) == 0) return (0); errno = 0; return (-1); } -- /-- Jin Guojun v -- Internet: [EMAIL PROTECTED] ---\ | Imaging Distributed Computing | Usenet: [EMAIL PROTECTED] | | Lawrence Berkeley Laboratory| Bitnet: -- | | 50B-2239, Berkeley, CA 94720- [EMAIL PROTECTED] | \--Ph#:(510) 486-7531 + Fax: 486-6363 --^--http://www-itg.lbl.gov/ITG.html-/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Finding your dynamic external IP
On Sun, Aug 03, 2003 at 11:02:19PM -0400, Lowell Gilbert wrote: David S. Jackson [EMAIL PROTECTED] writes: If your external IP number changes, as with DHCP, is there a way to find out what it currently is? I was thinking you could keep BitchX logged into a chat channel and script a /dns yournick and email yourself the results from time to time. How would you do it? For DHCP specifically, the best thing to do is to use the dhclient-exit-hooks script to do whatever you want. My particular example is attached... I use ifconfig rl0 | grep inet | awk '{print $2}' where rl0 is my external interface. Bob Hall ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pw_mkdb() failed in rpc.yppasswdd
In the last episode (Aug 03), Jin Guojun said: When using yppasswd to change a user password, rcp.yppasswdd failed in two ways: change passwd from root on NIS server: --- server syslog messages - passwd: in pam_sm_chauthtok(): yppasswd_local(): failed to connect to rpc.yppasswdd: nis.server.$DOMAIN: RPC: Program not registered change passwd from a user on either NIS server or a remote machine: --- server syslog messages - rpc.yppasswdd[349]: pw_mkdb() failed passwd: in pam_sm_chauthtok(): yppasswd_remote(): NIS password update failed = end of messages = This is on 5.1 release. What would be the problem? I believe both bugs have been fixed in -current. Updating the sources to rpc.yppasswd and rebuilding it should work, if you don't want to update the entire system. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need some help =(
On Sun, Aug 03, 2003 at 10:47:36PM -0500, Joey Mingrone wrote: Hi! I am pretty new to FreeBSD, however, I do really enjoy useing it, its a GREAT server platform. It makes a pretty darn good desktop too. :-) Anyway, on to my question. I for the life of me can't figure out how to update my system. Everything I read REALLY confuses me. I was hopeing it would be something as simple as emerge world or system like in Gentoo Linux. Anyway, If you could give me a step by step newbie install guide, that would help VERY much! Thanks -Eric Have you read http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html ? It's pretty close to a step-by-step guide to updating your system. It's only a few pages long and quite well written. In addition, FreeBSD Unleashed and Annalise Anderson's FBSD book both contain good step-by-step guides. I prefer Anderson's instructions to the other two, but only by a very small margin. I wouldn't hesitate to use either the handbook or FreeBSD Unleashed. Bob Hall ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Finding your dynamic external IP
Bob Hall [EMAIL PROTECTED] writes: On Sun, Aug 03, 2003 at 11:02:19PM -0400, Lowell Gilbert wrote: David S. Jackson [EMAIL PROTECTED] writes: If your external IP number changes, as with DHCP, is there a way to find out what it currently is? I was thinking you could keep BitchX logged into a chat channel and script a /dns yournick and email yourself the results from time to time. How would you do it? For DHCP specifically, the best thing to do is to use the dhclient-exit-hooks script to do whatever you want. My particular example is attached... I use ifconfig rl0 | grep inet | awk '{print $2}' where rl0 is my external interface. And how do you decide when to run that? Having dhclient do it for you makes sure it happens right away on every change, automatically... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
DNS Server Farm
Hi there Our company has inherited/bought an ISP outfit which has around 2 million subscribers. Among our first priority is to upgrade the DNS service which has been abysmal according to the users Can someone give me a head-start on a recommended configuration for such DNS outlay which serves 2M+ dial-up users? Are multiple Bind boxes with a hardware load-balancer sufficient and up to the job? If so, which hardware solution (load-balancer) should I be shortlisting? Most of the users' complains has been requests time-outs and bad uptimes, which suggest bad load management and redundancy. As I am most comfortable with FreeBSD, and I intend to deploy it across the boxes we inherited with the deal. Having said that, we do have some Solaris boxens which is lying around. Any ideas and guides is greatly appreciated Thanks -- En Sabah Nur [EMAIL PROTECTED] -- Living in LA is like not having a date on Saturday night. -- Candice Bergen ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Something is wrong here
Why then does the notification of bounces ask me to email [EMAIL PROTECTED] if there are any queries Instructions: Your membership in the mailing list freebsd-questions has been disabled due to excessive bounces The last bounce received from you was dated 03-Aug-2003. You will not get any more messages from this list until you re-enable your membership. You will receive 3 more reminders like this before your membership in the list is deleted. To re-enable your membership, you can simply respond to this message (leaving the Subject: line intact), or visit the confirmation page at snip: . . endsnip: If you have any questions or problems, you can contact the list owner at [EMAIL PROTECTED] On Sun, Aug 03, 2003 at 09:54:39AM -0700, vizion communication wrote: HI I have previously emailed [EMAIL PROTECTED] over problems with regard to what gets classified as excessive bounces. As a Mail problems should be reported to [EMAIL PROTECTED] Kris - Original Message - From: Kris Kennaway [EMAIL PROTECTED] To: vizion communication [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, August 03, 2003 5:29 PM Subject: Re: Something is wrong here ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Something is wrong here
On Sun, Aug 03, 2003 at 09:56:18PM -0700, vizion communication wrote: Why then does the notification of bounces ask me to email [EMAIL PROTECTED] if there are any queries Ask postmaster Kris pgp0.pgp Description: PGP signature
Re: Finding your dynamic external IP
On Mon, Aug 04, 2003 at 12:21:59AM -0400, Lowell Gilbert wrote: Bob Hall [EMAIL PROTECTED] writes: On Sun, Aug 03, 2003 at 11:02:19PM -0400, Lowell Gilbert wrote: David S. Jackson [EMAIL PROTECTED] writes: If your external IP number changes, as with DHCP, is there a way to find out what it currently is? I was thinking you could keep BitchX logged into a chat channel and script a /dns yournick and email yourself the results from time to time. How would you do it? For DHCP specifically, the best thing to do is to use the dhclient-exit-hooks script to do whatever you want. My particular example is attached... I use ifconfig rl0 | grep inet | awk '{print $2}' where rl0 is my external interface. And how do you decide when to run that? My ISP isn't going to change my IP address while I'm using it, so as long as my dhclient is doing its job and renewing the lease in a timely manner, the IP number won't change. For an always-on connection, I run it when I boot the gateway box. When I was using a dial-up connection regularly, I had a script that grepped the output from netstat to get IP addresses. Obviously, I ran that when I dialed up. Bob Hall ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Mplayer and RealAudio Sipro
Has any body managed to get mplayer to work with the realaudio sipro codec? So far I have tried... audiocodec rasipr info RealAudio Sipro status working format 0x72706973 ; sipr driver realaud dll sipr.so.6.0 ;dll sipr3260.dll and got the following message == Opening audio decoder: [realaud] RealAudio decoder opening shared obj '/usr/local/lib/RealPlayer8/Codecs/sipr.so.6.0' Error: Shared object libc.so.6 not found opening win32 dll '/usr/local/lib/RealPlayer8/Codecs/sipr.so.6.0' Win32 LoadLibrary failed to load: /usr/local/lib/RealPlayer8/Codecs/sipr.so.6.0, /usr/local/lib/win32//usr/local/lib/RealPlayer8/Codecs/sipr.so.6.0, /usr/lib/win32//usr/local/lib/RealPlayer8/Codecs/sipr.so.6.0 Error loading dll ERROR: Could not open required DirectShow codec sipr.so.6.0. Read the RealAudio section of the DOCS! ADecoder preinit failed :( ADecoder init failed :( *** Try to upgrade /root/.mplayer/codecs.conf from etc/codecs.conf *** If it still does not work, read DOCS/codecs.html! Cannot find codec for audio format 0x72706973. == and the other config I have tried is audiocodec rasipr info RealAudio Sipro status working format 0x72706973 ; sipr driver realaud ;dll sipr.so.6.0 dll sipr3260.dll and got the following message == Opening audio decoder: [realaud] RealAudio decoder opening shared obj '/usr/local/lib/RealPlayer8/Codecs/sipr3260.dll' Error: /usr/local/lib/RealPlayer8/Codecs/sipr3260.dll: invalid file format opening win32 dll '/usr/local/lib/RealPlayer8/Codecs/sipr3260.dll' Audio codec: [1] 8.5 kbps Voice (G2,RA8) Audio bitrate: 8.500 kbit/s (1063 bps) AUDIO: 8000 Hz, 1 ch, 16 bit (0x10), ratio: 1063-16000 (8.5 kbit) Selected audio codec: [rasipr] afm:realaud (RealAudio Sipro) == any suggestions on fixxing either of these? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]