Why network doesn't get initialized on system startup?
I have two similar machines, on one rc.conf has: wlans_ath0=wlan0 ifconfig_wlan0=ssid wifi-net-id weptxkey 1 deftxkey 1 wepmode on wepkey 0x1234567890 DHCP and it gets initialized at startup. On another rc.conf has: wlans_ndis0=wlan0 ifconfig_wlan0=ssid wifi-net-id weptxkey 1 deftxkey 1 wepmode on wepkey 0x1234567890 DHCP and this one doesn't get initialized at startup. The only difference is that the second one uses ndis0 with some preloaded ndis driver. It shouldn't matter. How can I make an interface to get initialized at startup and why it doesn't do this by itself? Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Hibernation
In freebsd-questions Digest, Vol 324, Issue 6, Message: 29 On Wed, 18 Aug 2010 18:07:13 -0500 Depo Catcher depocatc...@gmail.com wrote: On 8/18/2010 5:26 AM, Bruce Cran wrote: On Wed, 18 Aug 2010 03:55:12 -0500 Depo Catcherdepocatc...@gmail.com wrote: I can't find any good docs or guides to this. I checked the handbook, but had a bunch of references to 5.x. Can anyone point me to the right direction? I'd like to go with FreeBSD 8.1 amd64 for my next system. Hibernation and Wake on Lan would both be useful. The only support for hibernation is via the BIOS with a special partition. Unfortunately as far as I know it rarely, if ever, works. Windows (I don't know about Linux) bypasses the BIOS/ACPI and just dumps the contents of memory to disk before powering off. My current system (6.4, really old hardware) shows this: sysctl -a | grep -i hw.acpi hw.acpi.supported_sleep_state: S1 S4 S5 No S3 (suspend to RAM) support. This is a desktop box, right? hw.acpi.power_button_state: S5 S5 is power-off. hw.acpi.sleep_button_state: S1 S1 probably does nothing that you'll notice, if you have a sleep button. hw.acpi.lid_switch_state: NONE hw.acpi.standby_state: S1 hw.acpi.suspend_state: S3 N/A since S3 isn't supported. Few desktops support suspend-to-RAM. hw.acpi.sleep_delay: 1 hw.acpi.s4bios: 0 No BIOS support for S4 (hibernate) state, so no hibernation support. hw.acpi.verbose: 0 This can be informative, if set to 1, about what ACPI is doing. hw.acpi.disable_on_reboot: 0 hw.acpi.handle_reboot: 0 hw.acpi.reset_video: 0 hw.acpi.cpu.cx_lowest: C1 ampd is the command I'm looking for ? apmd is only useful if you disable ACPI and enable APM instead. This can be useful on some older hardware, eg this old ('99) Compaq laptop runs APM very well, but ACPI poorly. Setup for this (at freebsd 5.5): /boot/loader.conf: apm_load=YES # or build it into kernel hint.apm.0.disabled=0 hint.apm.0.flags=0# hint.apm.0.flags=0x20 # (broken statclock?) /etc/rc.conf: apm_enable=YES blanktime=120 apmd_enable=YES apmd_flags=-v saver=apm #% 11/11/7 Turn off ad0 APM spindowns (Load_Cycle_Count) (see also rc.resume) ataidle_enable=YES ataidle_device=ad0 ataidle_ad0=-P 0 0 0 But this is a laptop .. apmd is not likely of much use for a desktop, unless it would support S3 (suspend-to-RAM) under ACPI also. Also what is the differences between Sleep, Stand By, Hibernation and Suspend? Language depends on manufacturer to some extent. M$ (and so most BIOS) refer to suspend-to-RAM (S3 sleep state) as StandBy, FreeBSD calls this suspend, and standby (S1) is likely just a stop-clock state. Hibernate (S4) means writing all system state to disk and powering off, and so far requires BIOS support (it actually works on my old laptop using APM, but not ACPI, and requires a pre-allocated hibernation file in an MSDOS disk slice). Someone was working on S4(OS) for FreeBSD a couple of years ago for a Google SoC project, but I don't think it was ever completed. cheers, Ian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Xorg Problems
My guess: the windows are not locked, they just don't receive any input, because X does not see your mouse and keyboard. Make sure that hal and dbus are started before you start X! toma ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: fixed: can't find .so, but it's right there.
Dear Sir/Madam, Your email was unable reach the intended person that you were sending it to. For more information on our business please click on the following link: [1]Click here for our website We look forward to your continued business in the future. Regards, Webmaster References 1. http://www.downwind.com.au/avdir/rd.php?id=7564 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
freebsd.org maillist mx discard policy
Hello list, My question is regarding official maillist smtp servers. I'm trying to subscribe on security-notifications, but (for some reasons) our outgoing MX has no PTR record and mx1.freebsd.org rejects my message: Reporting-MTA: dns; xxx Arrival-Date: Mon, 16 Aug 2010 17:18:39 +0400 (MSD) Final-Recipient: RFC822; freebsd-security-notifications-requ...@freebsd.org Action: delayed Status: 4.7.1 Remote-MTA: DNS; mx1.freebsd.org Diagnostic-Code: SMTP; 450 4.7.1 Client host rejected: cannot find your hostname, [x.x.x.x] Last-Attempt-Date: Mon, 16 Aug 2010 21:24:36 +0400 (MSD) I have the SPF record set up for our domain which designates our external IP as a valid sender address for the domain, but I still get rejected. So, the question is: do the freebsd.org maillist servers follow SPF records or PTR record is mandatory? TIA. -- Best regards, Jeff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Xorg Problems
On 8/19/2010 6:20 AM, Rem Roberti wrote: I'm having trouble with xorg on a new 8.1 installation. I haven't installed a wm yet, but when I try to call up the generic x windows by typing startx they do indeed appear, but all three of the x windows are locked up. By that I mean that there is no mouse, and no possibility of entering data in the windows via the keyboard. Totally frozen. And you can't get out of x in the usual manner i.e. ctrl-alt-backspace. The only thing that works is ctrl-alt-del which, of course, reboots the computer. Any ideas are appreciated. Rem Look in /var/log/Xorg.0.log and go from there. If something's not working, it's probably in there, or verbosity can be added to make it show up. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: [off-topic] Server-side IRC channel logging? (not statistics)
On 8/18/2010 8:51 PM, Glen Barber wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I recently set up an IRC server (irc/ircd-hybrid), which I don't see obvious settings for finely tuned channel logging. What I would like to do is log individual channels without depending on a connected client. In all my searching I found software that either: 1.) depends on a 100% connected client, but provides concise logging of channel activity; 2.) logs statistics, rather than the useful information I am trying to obtain such as, who pastes the most links, who 'smiley's the most, etc. My interest is in the useful information in the channel, not statistics; ultimately, I want to have the channel conversations archived. I'd like to do this on the server itself. For example, in the event I have to reboot my machine or the disk dies, or whatever bad event, I don't want to concern myself with missed data, corrupt logs, or a disconnected client, so I would like this to run unprivileged and without an interactive shell. If anyone has any suggestions, I'd be happy to hear them before I go reinventing the wheel. Thanks, best regards, and sorry for the off-topic post. - -- Glen Barber So you can set up the server but you can't install a client on the server machine? If you put a client on the server, then if the server goes down, the client goes down anyway, but if the server goes up and you make a file in /etc/rc.d/ then the client also goes up. You can have near continual monitoring, assuming you have a stable client and you're not concerned about those seconds when the server comes up. If you want it done on the irc server you'll have to find a irc server that can handle it. But there's plenty of irc bots out there that can probably do everything you want it too and if it's installed on the server hardware you'll have as good a reliability as the server itself, as long as the logging is good. If the disk dies, data dies, that's just the way of life. You could mitigate that, but it's always a possibility. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: freebsd.org maillist mx discard policy
On 19/08/2010 07:54, Jeff Laine wrote: So, the question is: do the freebsd.org maillist servers follow SPF records or PTR record is mandatory? The PTR is mandatory. The vast majority of SMTP senders without proper PTR records are zombie machines spreading spam. Anyone running a real mail system should be capable of arranging for a correct PTR in the DNS -- if they aren't then they have no business at the controls of a MTA. As far as I know, the FreeBSD.org mailers don't pay much attention to SPF -- generally the accepted practice seems to be to use SPF as part of computing Spam scores, but not to make accept/reject decisions solely based on SPF. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Strange network issue (packet loss?)
Server has 1000 Mbit network interface connected to 1000 Mbit Cisco switch. Let's say this things works OK. Actually, provider gives 10 Mbit channel. Here we go: # uname -a FreeBSD server.net 7.3-RELEASE FreeBSD 7.3-RELEASE #0: Mon Jul 26 02:33:48 MSD 2010 u...@server.net:/usr/obj/usr/src/sys/ALTERKERN amd64 # ifconfig igb0 igb0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=19bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4 ether 00:30:48:de:9a:4e inet 1.2.3.4 netmask 0xff00 broadcast 1.2.3.255 media: Ethernet autoselect (1000baseTX full-duplex) status: active # scp -C u...@remote-server.net:/usr/bak/* /usr/bak Password: dump.2010.08.19_07-46-58.sql 13% 172MB 3.0MB/s 06:08 ETA Disconnecting: Corrupted MAC on input. lost connection I repeat that about 20 times. Error goes in random moment and point (percentage) of downloading. # ifconfig igb0 media 100BaseTX # ifconfig igb0 igb0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=19bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4 ether 00:30:48:de:9a:4e inet 1.2.3.4 netmask 0xff00 broadcast 1.2.3.255 media: Ethernet 100baseTX (100baseTX half-duplex) status: active # scp -C u...@remote-server.net:/usr/bak/* /usr/bak Password: dump.2010.08.19_07-46-58.sql 100% 1291MB 3.1MB/s 07:00 That's works! But why half-duplex? Go next: # ifconfig igb0 media 100BaseTX mediaopt full-duplex # ifconfig igb0 igb0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=19bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4 ether 00:30:48:de:9a:4e inet 1.2.3.4 netmask 0xff00 broadcast 1.2.3.255 media: Ethernet 100baseTX full-duplex status: active # scp -C u...@remote-server.net:/usr/bak/* /usr/bak Password: dump.2010.08.19_07-46-58.sql 82% 1069MB 453.2KB/s 08:20 ETA ^C Killed by signal 2. OMG! Where has the speed get lost? What could be the reason, any ideas? -- Best regards, Antonio Kless, http://kless.spb.ru/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: clamav issues
On 18/08/2010 22:38, Paul Macdonald wrote: Paul Macdonald wrote: Jerry wrote: On Wed, 18 Aug 2010 12:25:21 +0100 Paul Macdonald p...@ifdnrg.com articulated: I'm having some problems with a clamav install and wondered if anyone had any suggestions. As of a few days ago i noticed mail was getting rejected with 451 retry codes. Checking the milters this appeared to be clamav, and removing this milter fixed the problem. Afterwards, on tryign to fix the issue, i noticed that whilst clamd started ok, it no longer stopped and just endlessly waited for the pid. I suspect this is related, as freshclam also was unable to notifuy clamd of updates. I've rebuilt clamav several times, mainly thinking that the first issue of why it wouldn;t stop was indictaive of it not responding to other requests ( milter , freshclam etc). I've moved the mail scanning onto another box, but would dearly like it to be working on this particular box. Where to start? Suggestions welcomed! Perhaps you could try the following - basically nuking clamav 1) Stop Clamav/Freshclam and the milter if it is running. 2) Run: pkg_delete -dfv clamav-0.96.2_1 3) Remove or rename any config files of Clamav and it children. Also, be sure to delete all of Clamav's definition files. 4) Remove old Clamav log files 5) Insure that any stale 'pid' files are deleted. 6) cd to the clamav port and run make config 7) Install the port and modify the Clamav/Freshclam/Clamilter config files are needed. 8 Either reboot or start manually all of the Clamav programs you require. (I would recommend the reboot) Good luck! thanks jerry, i'd pretty much done this, but followed these instructions with those specific flasg and am still not able to use the startup scripts to stop clamd after its started, The pid in /var/run/clamav/ is correct, but it never manages to stop the daemon. I'm working from the assumption that i need to get it responding to normal signals before trying any scanning ( i have tried adding it back in to my sendmail config as get the same result as originally) I've got all the debugging on, and see nothing in logs when its told to restart or sent any signals. Paul. clamav now works fine when installing as a package over ftp, so thats a working although an unsatisying result.. thanks in case it helps anyone, i finally got this workjing from ports by disabling the JIT bytecode compiler. -- - Paul Macdonald IFDNRG Ltd Web and video hosting - t: 0131 5548070 m: 07534206249 e: p...@ifdnrg.com w: http://www.ifdnrg.com - IFDNRG 40 Maritime Street Edinburgh EH6 6SA - ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Xorg Problems
I'm having trouble with xorg on a new 8.1 installation. I haven't installed a wm yet, but when I try to call up the generic x windows by typing startx they do indeed appear, but all three of the x windows are locked up. By that I mean that there is no mouse, and no possibility of entering data in the windows via the keyboard. Totally frozen. And you can't get out of x in the usual manner i.e. ctrl-alt-backspace. The only thing that works is ctrl-alt-del which, of course, reboots the computer. Any ideas are appreciated. Rem I had that problem too, looked extensively for possible answers, and one that worked was Option AllowEmptyInput false Now I can't remember if it was AllowEmptyInput (no spaces) or Allow Empty Input but would think the former; am in Linux as I type this and didn't need that line in that xorg.conf . Synonyms for false are 0 off no Antonyms are true 1 on yes I got Xfce 4.6.1, built from the FreeBSD meta port, to work. I think initially startx is set to start twm, a spartan window manager that is included with xorg. Tom ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: watch(8) does not work in jails
Dear Sir/Madam, Your email was unable reach the intended person that you were sending it to. For more information on our business please click on the following link: [1]Click here for our website We look forward to your continued business in the future. Regards, Webmaster References 1. http://www.downwind.com.au/avdir/rd.php?id=7564 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: [off-topic] Server-side IRC channel logging? (not statistics)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/19/10 4:18 AM, Joshua Isom wrote: So you can set up the server but you can't install a client on the server machine? I can - I would prefer not to. - -- Glen Barber -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Darwin) iQEcBAEBAgAGBQJMbQIFAAoJEFJPDDeguUajK48H/jGNG5pkXGKuPsnEczDzv/PR G00tZHqWPgRWCRN2zt4SOMvrhAenvfDMPDSCFiVgQ5ZrV2ziQgwkfB0Yntn12B6R OlOvlWyzzjLLDClOV98Cal284re+7bB9wt3V+zpr0JZaoNsDVgkANCMHA7/oXnhE Ul+/2AwQG9U1vhyeDdtvCUgLUIa8xGABJi9sv5BHCON80qfzOgN1W80i7Srf53mM k4vaIKaxOtZMum8O5AUzHKzO/wctXQMx0zDes71PYSS4oIWDpCt8d/1tQVDIjEXv D0DNqQy8TzL9uVF4UMSEodcvQQvs4Z/Bm4Exr8CO468V+Lzbt1QupZyf5UZmbVk= =1SuB -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why network doesn't get initialized on system startup?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/19/10 2:00 AM, Yuri wrote: On another rc.conf has: wlans_ndis0=wlan0 ifconfig_wlan0=ssid wifi-net-id weptxkey 1 deftxkey 1 wepmode on wepkey 0x1234567890 DHCP and this one doesn't get initialized at startup. Are you loading the ndis(4) kernel module at boot via loader.conf? - -- Glen Barber -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Darwin) iQEcBAEBAgAGBQJMbQL5AAoJEFJPDDeguUajLbMH/Atp8JcOOsKcwGGs2rujobIC xjZuOQGAtAr7pisuFiDvqiax4zyDLg8xiiSFQxYKjGNJIxdp2ltl96/rvBakrhfp gKegUBO6RG+QQIHLE8IDkcxzx+xLxOYBkVIzhlofDlPtgZqc9EzKq7ipbnG5mW4H TtkpuZtX+AWWyBYf3DxNgndfHYETTKXDYDvt1ELyFnAZta0e7mYH4FkUb0/j/4sp hpk408HwUR5VCFNL6OP9NW9aAemxLy5KHWJ8NSl/HgNktEcyIYCHAwUno1/QPHFi EHXaaqGOBr+EPyBIRyDM533t1HH9ztDoDnLrblBYre4LMs+lO4X7zPThAgAs4iM= =oL1E -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: clamav issues
On Thu, 19 Aug 2010 09:43:14 +0100 Paul Macdonald p...@ifdnrg.com articulated: in case it helps anyone, i finally got this workjing from ports by disabling the JIT bytecode compiler. You might want to file a bug on this, both with FreeBSD and Clamav. I have everything checked except: 1) LDAP 2) STDERR 3) EXPERIMENTAL The port builds without errors and runs fine. It might be interesting to see why yours is failing. -- Jerry ✌ freebsd.u...@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ The great nations have always acted like gangsters and the small nations like prostitutes. Stanley Kubrick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: fix bad directory on FAT32 usb disk
On Thu, 19 Aug 2010 08:27:30 +0800 Fbsd8 fb...@a1poweruser.com articulated: Glen Barber wrote: On 8/18/10 9:55 AM, Fbsd8 wrote: I have a fat32 usb disk that gives this error when mounting with mount_msdosfs /dev/da0s1bad fat32 file system Is there some way to clean or auto fix this fat32 file system so it will mount? Hi, You can try fsck_msdosfs(8). Does it mount in other OSes? Regards, - -- Glen Barber In XP I can access the usb hard drive and read/write all directories except one which gives a error. fsck_msdosfs /dev/da0 gives error Invalid sector size 48764 You could try this: Go to a command prompt, i.e. WIN_KEY+R and type cmd RETURN Enter: chkdsk [volume] /F /V /R /X It might require you to reboot the system before it will run. That is normal. You will almost certainly have to reboot after it completes it operation. -- Jerry ✌ freebsd.u...@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ Boling's postulate: If you're feeling good, don't worry. You will get over it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: watch(8) does not work in jails
On Thu, 19 Aug 2010 19:57:28 +1000 Roland Smith rsm...@xs4all.nl articulated: Dear Sir/Madam, Your email was unable reach the intended person that you were sending it to. For more information on our business please click on the following link: [1]Click here for our website We look forward to your continued business in the future. Regards, Webmaster References 1. http://www.downwind.com.au/avdir/rd.php?id=7564 Why is this crap polluting this list? I have been receiving multiple copies of this junk for awhile now. The link simple redirects to: http://www.searchmagna.com/?domain=xpbargains.netfolder=404648785ts=pl Isn't there any way to stop this garbage? -- Jerry ✌ freebsd.u...@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ Nihilism should commence with oneself. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
change the password e-mail account
В Thu, 19 Aug 2010 07:04:10 -0400 Jerry freebsd.u...@seibercom.net пишет: On Thu, 19 Aug 2010 19:57:28 +1000 Roland Smith rsm...@xs4all.nl articulated: Dear Sir/Madam, Your email was unable reach the intended person that you were sending it to. For more information on our business please click on the following link: [1]Click here for our website We look forward to your continued business in the future. Regards, Webmaster References 1. http://www.downwind.com.au/avdir/rd.php?id=7564 Why is this crap polluting this list? I have been receiving multiple copies of this junk for awhile now. The link simple redirects to: http://www.searchmagna.com/?domain=xpbargains.netfolder=404648785ts=pl Isn't there any way to stop this garbage? All senders, with this the contents of letter, an urgent need to change the password e-mail account! I think that broke password mailboxes... From my email too, came a letter to the mailing list, but I did not send it :( ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Forged messages being posted to freebsd-questions
Re: freebsd-questions Digest, Vol 324, Issue 7, Message: 7 On Wed, 18 Aug 2010 23:46:21 -0400 jhell jh...@dataix.net wrote: Subject: Re: enabling the fn-f7 switch monitor functionality To: FreeBSD Questions freebsd-questions@freebsd.org Cc: owner-freebsd-questi...@freebsd.org Yes, that likely gets to postmaster@ indirectly. Message-ID: 4c6ca90d.4000...@dataix.net Content-Type: text/plain; charset=ISO-8859-1 Dear Sir/Madam, Your email was unable reach the intended person that you were sending it to. For more information on our business please click on the following link: [1]Click here for our website We look forward to your continued business in the future. Regards, Webmaster References 1. http://www.downwind.com.au/avdir/rd.php?id=7564 Can someone please take care of this. Its getting to be quite annoying. Indeed. That's because noone had forwarded copies with complete headers to postmas...@freebsd.org, who I bet hasn't the spare time to browse a fraction of the freebsd lists (let alone -questions :) Sorry, I (need to) get the digest, only seeing short headers as quoted. cheers, Ian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Xorg Problems
On Thu, 19 Aug 2010, Ondrej Majerech wrote: On 19-Aug-10 13:20, Rem Roberti wrote: I'm having trouble with xorg on a new 8.1 installation. I haven't installed a wm yet, but when I try to call up the generic x windows by typing startx they do indeed appear, but all three of the x windows are locked up. By that I mean that there is no mouse, and no possibility of entering data in the windows via the keyboard. Totally frozen. And you can't get out of x in the usual manner i.e. ctrl-alt-backspace. The only thing that works is ctrl-alt-del which, of course, reboots the computer. Any ideas are appreciated. The Handbook chapter describes what to do: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html New Xorg requires HAL and Dbus to recognize input devices by default. Do you have these enabled? Alternatively, you revert to the old, no-HAL method by adding Option AutoAddDevices False Yes. Option AllowEmptyInput False No. Please don't use that, it's not necessary and sometimes causes problems. AutoAddDevices Off by itself disables hal input device detection. into your ServerFlags in xorg.conf. Or just put them in ServerLayout. You might also want to add Option DontZap false into the same section as well to have Ctrl-Alt-Backspace working again. I think that DontZap is back to the default, but it's now the key combination that is unset, so setxkbmap -option terminate:ctrl_alt_bksp is the way to fix it. But it's been a while since I've needed to kill X manually, so haven't tried it lately. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Forged messages being posted to freebsd-questions
I did a full header copy earlier. Perhaps someone could/should have forwarded that out? Just a thought. On Aug 19, 2010, at 7:31 AM, Ian Smith wrote: Re: freebsd-questions Digest, Vol 324, Issue 7, Message: 7 On Wed, 18 Aug 2010 23:46:21 -0400 jhell jh...@dataix.net wrote: Subject: Re: enabling the fn-f7 switch monitor functionality To: FreeBSD Questions freebsd-questions@freebsd.org Cc: owner-freebsd-questi...@freebsd.org Yes, that likely gets to postmaster@ indirectly. Message-ID: 4c6ca90d.4000...@dataix.net Content-Type: text/plain; charset=ISO-8859-1 Dear Sir/Madam, Your email was unable reach the intended person that you were sending it to. For more information on our business please click on the following link: [1]Click here for our website We look forward to your continued business in the future. Regards, Webmaster References 1. http://www.downwind.com.au/avdir/rd.php?id=7564 Can someone please take care of this. Its getting to be quite annoying. Indeed. That's because noone had forwarded copies with complete headers to postmas...@freebsd.org, who I bet hasn't the spare time to browse a fraction of the freebsd lists (let alone -questions :) Sorry, I (need to) get the digest, only seeing short headers as quoted. cheers, Ian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Xorg Problems
On Thu, 19 Aug 2010, Thomas Mueller wrote: I'm having trouble with xorg on a new 8.1 installation. I haven't installed a wm yet, but when I try to call up the generic x windows by typing startx they do indeed appear, but all three of the x windows are locked up. By that I mean that there is no mouse, and no possibility of entering data in the windows via the keyboard. Totally frozen. And you can't get out of x in the usual manner i.e. ctrl-alt-backspace. The only thing that works is ctrl-alt-del which, of course, reboots the computer. Any ideas are appreciated. Rem I had that problem too, looked extensively for possible answers, and one that worked was Option AllowEmptyInput false Now I can't remember if it was AllowEmptyInput (no spaces) or Allow Empty Input but would think the former; am in Linux as I type this and didn't need that line in that xorg.conf . Don't need it in FreeBSD, either. In fact, using it in FreeBSD often causes hesitant input characters that only show up when you move the mouse. Or a draggy mouse. Or both. If you want to disable hal input device detection in X, use Option AutoAddDevices Off AllowEmptyInput will borrow your stuff and never return it. AllowEmptyInput will cause trouble and say it was your idea. AllowEmptyInput cheats at cards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Forged messages being posted to freebsd-questions
At 08:31 AM 08/19/2010, Ian Smith wrote: Can someone please take care of this. Its getting to be quite annoying. Indeed. That's because noone had forwarded copies with complete headers to postmas...@freebsd.org, who I bet hasn't the spare time to browse a fraction of the freebsd lists (let alone -questions :) Can some explain to me or know what criteria is used to determine when a posting to the lists need moderation? I have read post in the past that say the list is not moderated or comments such as above. But, then I try to post something and I get a you posting is awaiting moderator approval. Then I get a email that my posting was rejected with comments that state I don't see what this has to do with FreeBSD. But, then we have these junk mail and forged mail issues, not to mention I see replies that go way off topic of FreeBSD. Just wondering. Rod From delusion lead me to Truth. From darkness lead me to Light. From death lead me to Immortality. -Upanishads prayer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Xorg Problems
On 08/19/2010 15:02, Warren Block wrote: Now I can't remember if it was AllowEmptyInput (no spaces) or Allow Empty Input but would think the former; am in Linux as I type this and didn't need that line in that xorg.conf . Don't need it in FreeBSD, either. In fact, using it in FreeBSD often causes hesitant input characters that only show up when you move the mouse. Or a draggy mouse. Or both. And all these years I've been using AllowEmptyInput with no problems whatsoever. Still good to know it may cause trouble. AllowEmptyInput will borrow your stuff and never return it. AllowEmptyInput will cause trouble and say it was your idea. AllowEmptyInput cheats at cards. On a second thought, it might explain a few things that have been going on in my life lately... ~ Ondra ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Forged messages being posted to freebsd-questions
On Thu, 19 Aug 2010, Rod Person wrote: At 08:31 AM 08/19/2010, Ian Smith wrote: Can someone please take care of this. Its getting to be quite annoying. Indeed. That's because noone had forwarded copies with complete headers to postmas...@freebsd.org, who I bet hasn't the spare time to browse a fraction of the freebsd lists (let alone -questions :) Can some explain to me or know what criteria is used to determine when a posting to the lists need moderation? I have read post in the past that say the list is not moderated or comments such as above. I was really hoping not to start a bikeshed discussion :( This is a spam / mail abuse issue, not one about content, and yes it's off-topic but needs dealing with. This list is not moderated and is open to posting by non-subscribers; it's been that way for a very long time, and arguing for moderation won't change anything - who would have the time, anyway? Some other freebsd lists are only open to posting by subscribers. But, then I try to post something and I get a you posting is awaiting moderator approval. There are some automatic checks; you can get that by cross-posting to too many lists (more than two or three IIRC); sending to too many recipients; posting to a list requiring subscription, maybe others. Then I get a email that my posting was rejected with comments that state I don't see what this has to do with FreeBSD. But, then we have these junk mail and forged mail issues, not to mention I see replies that go way off topic of FreeBSD. Some list subscribers sometimes (try to) help by mailing people off-list about perceived off-topicness etc. There's nobody here but us chickens. The postmaster (and assistants), on the other hand, is/are the only ones who can do anything about blocking spammers and other abusers posting to freebsd lists, and that's generally best all dealt with off-list. postmaster@ removed from ccs; this won't help him locate the problem. cheers, Ian (over and out on this topic) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Realtek 8139/8201L Ethernet PHY driver
Dear Sir/Madam, Your email was unable reach the intended person that you were sending it to. For more information on our business please click on the following link: [1]Click here for our website We look forward to your continued business in the future. Regards, Webmaster References 1. http://www.downwind.com.au/avdir/rd.php?id=7564 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
can't ping localhost
I first noticed the problem when the machine stopped sending local mail; a typical entry: Aug 19 10:08:30 online sm-msp-queue[68533]: o7IKAhth008649: to=timot...@xxx.njit.edu, ctladdr=timothyk (1001/1001), delay=17:57:47, xdelay=00:00:00, mailer=relay, pri=3360050, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Can't assign requested address Non-local mail still works: Aug 19 10:14:11 online sm-mta[68582]: o7JEEB8I068582: from=kell...@njit.edu, size=593, class=0, nrcpts=1, msgid=4c6d3c2e.1060...@njit.edu, proto=ESMTP, daemon=IPv4, relay=mail-xxx.njit.edu [128.235.251.157] Aug 19 10:14:11 online sm-mta[68584]: o7JEEB8I068582: to=timot...@xxx.njit.edu, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30840, relay=local, dsn=2.0.0, stat=Sent When I ping localhost: # ping localhost PING localhost (127.0.0.1): 56 data bytes ping: sendto: Can't assign requested address ping: sendto: Can't assign requested address ping: sendto: Can't assign requested address # uname -a FreeBSD xxx.njit.edu 7.3-STABLE FreeBSD 7.3-STABLE #0: Tue Mar 30 14:35:56 EDT 2010 timot...@xxx.njit.edu:/usr/obj/usr/src/sys/MARCH31 i386 /etc/hosts, /etc/hosts.conf, /etc/resolv.conf all look fine. I diffed them with another working 7.3-STABLE machine I have. I have built world and kernel to yesterday's 7.3-STABLE, but I haven't rebooted the machine. I'm thinking that if this is a hardware problem, once it goes down for a reboot, it may not come back up. I'm eagerly open to suggestions. Tim Kellers NJIT ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: can't ping localhost
On 8/19/10 10:21 AM, Tim Kellers wrote: When I ping localhost: # ping localhost PING localhost (127.0.0.1): 56 data bytes ping: sendto: Can't assign requested address Hi, Is the loopback interface (lo0) up? Regards, -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: can't ping localhost
On 19/08/2010 15:21, Tim Kellers wrote: I'm eagerly open to suggestions. What does 'ifconfig lo0' say? What does 'sockstat | grep :25' say? What does 'ls -la /usr/libexec/sendmail/' say? What does 'mount | grep /usr' say? It sounds as if either: * Your loopback interface has lost address 127.0.0.1 or: * Some process other than a live sendmail instance has bound to port 25 on the loopback. or: * sendmail has somehow lost its setgid-ness Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: Forged messages being posted to freebsd-questions
On 08/19/10 14:33, Rod Person wrote: At 08:31 AM 08/19/2010, Ian Smith wrote: Can someone please take care of this. Its getting to be quite annoying. Indeed. That's because noone had forwarded copies with complete headers to postmas...@freebsd.org, who I bet hasn't the spare time to browse a fraction of the freebsd lists (let alone -questions :) I've simply been deleting most of these up to now but took a look at some today and many (I can't say all) have a second (lowest but one) Received: header starting Received: from dusk.parklogic.com (allmail.0b2.net [64.38.11.26]) and first (lowest) Received: header like Received: (qmail 9237 invoked by uid 511); 19 Aug 2010 14:48:30 - Don't know if that's any help to anyone. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: can't ping localhost
On 08/19/10 10:55, Glen Barber wrote: On 8/19/10 10:21 AM, Tim Kellers wrote: When I ping localhost: # ping localhost PING localhost (127.0.0.1): 56 data bytes ping: sendto: Can't assign requested address Hi, Is the loopback interface (lo0) up? Regards, lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet6 ::1 prefixlen 128 Nope, it is not. And I don't know how that can happen. Thanks Tim Kellers ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: enabling the fn-f7 switch monitor functionality
On 08/19/2010 03:30, Ivan Klymenko wrote: В Wed, 18 Aug 2010 23:46:21 -0400 jhell jh...@dataix.net пишет: Dear Sir/Madam, Your email was unable reach the intended person that you were sending it to. For more information on our business please click on the following link: [1]Click here for our website We look forward to your continued business in the future. Regards, Webmaster References 1. http://www.downwind.com.au/avdir/rd.php?id=7564 Can someone please take care of this. Its getting to be quite annoying. If this letter is sent from your name mailbox - you need to urgently change the password in your email account!!! It appears that your boxes hacked ... From my email too, came a letter to the mailing list: ( This is a case of squatter solicitation forged mail. ``Not Hacking'' Thanks, -- jhell,v ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: can't ping localhost
On 08/19/10 11:02, Matthew Seaman wrote: On 19/08/2010 15:21, Tim Kellers wrote: I'm eagerly open to suggestions. What does 'ifconfig lo0' say? What does 'sockstat | grep :25' say? What does 'ls -la /usr/libexec/sendmail/' say? What does 'mount | grep /usr' say? It sounds as if either: * Your loopback interface has lost address 127.0.0.1 or: * Some process other than a live sendmail instance has bound to port 25 on the loopback. or: * sendmail has somehow lost its setgid-ness Cheers, Matthew # ifconfig lo0 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet6 ::1 prefixlen 128 (lo0 looks unconfigured to me) # sockstat | grep :25 root sendmail 7371 3 tcp4 *:25 *:* root sendmail 7371 5 tcp6 *:25 *:* (that looks fine to me) # ls -la /usr/libexec/sendmail/ total 676 drwxr-xr-x 2 root wheel 512 Mar 30 21:03 . drwxr-xr-x 5 root wheel1536 Mar 30 21:03 .. -r-xr-sr-x 1 root smmsp 669788 Mar 30 21:03 sendmail (looks OK to me, too) # mount | grep /usr /dev/aacd0s1f on /usr (ufs, local, soft-updates) (Looks normal to me, too) Thanks Tim Kellers ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why network doesn't get initialized on system startup?
On 08/19/2010 03:10, Glen Barber wrote: Are you loading the ndis(4) kernel module at boot via loader.conf? Yes, all ndis-related drivers (ndis.ko, if_ndis.ko and actual ndis driver converted from windows one) are loaded from loader.conf. When system comes up ndis0 is fully functional and I can initialize it by hand fine. It just doesn't happen on startup. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: can't ping localhost
On 08/19/10 11:51, mikel king wrote: Your lo0 only has inet6 addresses, perhaps try binding a v4 address? Cheers, m! On Aug 19, 2010, at 11:12, Tim Kellerskell...@njit.edu wrote: On 08/19/10 11:02, Matthew Seaman wrote: On 19/08/2010 15:21, Tim Kellers wrote: I'm eagerly open to suggestions. What does 'ifconfig lo0' say? What does 'sockstat | grep :25' say? What does 'ls -la /usr/libexec/sendmail/' say? What does 'mount | grep /usr' say? It sounds as if either: * Your loopback interface has lost address 127.0.0.1 or: * Some process other than a live sendmail instance has bound to port 25 on the loopback. or: * sendmail has somehow lost its setgid-ness Cheers, Matthew # ifconfig lo0 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet6 ::1 prefixlen 128 (lo0 looks unconfigured to me) # sockstat | grep :25 root sendmail 7371 3 tcp4 *:25 *:* root sendmail 7371 5 tcp6 *:25 *:* (that looks fine to me) # ls -la /usr/libexec/sendmail/ total 676 drwxr-xr-x 2 root wheel 512 Mar 30 21:03 . drwxr-xr-x 5 root wheel1536 Mar 30 21:03 .. -r-xr-sr-x 1 root smmsp 669788 Mar 30 21:03 sendmail (looks OK to me, too) # mount | grep /usr /dev/aacd0s1f on /usr (ufs, local, soft-updates) (Looks normal to me, too) Thanks Tim Kellers ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Thanks, Once I saw that lo0 was not configured for ipv4, I did a: #ifconfig lo0 inet 127.0.0.1 netmask 255.0.0.0 and local mail resolved and was delivered and I can now ping localhost. I just have to wonder how in heck it got that way. Thanks all Tim Kellers ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: can't ping localhost
Your lo0 only has inet6 addresses, perhaps try binding a v4 address? Cheers, m! On Aug 19, 2010, at 11:12, Tim Kellers kell...@njit.edu wrote: On 08/19/10 11:02, Matthew Seaman wrote: On 19/08/2010 15:21, Tim Kellers wrote: I'm eagerly open to suggestions. What does 'ifconfig lo0' say? What does 'sockstat | grep :25' say? What does 'ls -la /usr/libexec/sendmail/' say? What does 'mount | grep /usr' say? It sounds as if either: * Your loopback interface has lost address 127.0.0.1 or: * Some process other than a live sendmail instance has bound to port 25 on the loopback. or: * sendmail has somehow lost its setgid-ness Cheers, Matthew # ifconfig lo0 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet6 ::1 prefixlen 128 (lo0 looks unconfigured to me) # sockstat | grep :25 root sendmail 7371 3 tcp4 *:25 *:* root sendmail 7371 5 tcp6 *:25 *:* (that looks fine to me) # ls -la /usr/libexec/sendmail/ total 676 drwxr-xr-x 2 root wheel 512 Mar 30 21:03 . drwxr-xr-x 5 root wheel1536 Mar 30 21:03 .. -r-xr-sr-x 1 root smmsp 669788 Mar 30 21:03 sendmail (looks OK to me, too) # mount | grep /usr /dev/aacd0s1f on /usr (ufs, local, soft-updates) (Looks normal to me, too) Thanks Tim Kellers ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Installation problem
On Thu, Aug 19, 2010 at 01:01:08AM -0400, Derek Schwartz wrote: Hey, I'm trying to install the latest release of FreeBSD on my Dell Desktop, the computer originally had windows XP, but then the hard drive was wiped clean. I tried reconfiguring the geometry of the hard drive by using my Linux Ubuntu Disk Utility, I changed it to {0-a5} which I heard was for FreeBSD, but still no luck. Well, 165 or 0xA5 is indeed the system partition ID for FreeBSD. But that has nothing to do with the disk geometry (which is cilinders/heads/sectors and which you should _not_ mess with). Read and follow Chapter 2 of the freeBSD handbook; http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.html Pay attention to §2.6, Allocating Disk Space. Since you are installing a desktop, I would recommend to create a separate partition (in the FreeBSD Disklabel Editor, _not_ FDISK!) for your /home. That makes it easier to separately back up the OS and your own data. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpbLXOK2Ay8E.pgp Description: PGP signature
Re: Xorg Problems
On Thu, 19 Aug 2010, Ondrej Majerech wrote: On 08/19/2010 15:02, Warren Block wrote: Don't need it in FreeBSD, either. In fact, using it in FreeBSD often causes hesitant input characters that only show up when you move the mouse. Or a draggy mouse. Or both. Finally got motivated to put together a little writeup on this: http://www.wonkity.com/~wblock/docs/html/aei.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
How to restore a text file from UFS??
I edited my 50Kb /etc/rc.conf, loaded a driver and got a kernel panic!! After reboot my /etc/rc.conf is 0 bytes (after automatic background fsck). Which tool should I try now to restore any version of my rc.conf?.. I think data should still be somewhere on the disk ;-( ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
[OT] AllowEmptyInput is bad (was: Re: Xorg Problems)
On 8/19/10 1:59 PM, Warren Block wrote: On Thu, 19 Aug 2010, Ondrej Majerech wrote: On 08/19/2010 15:02, Warren Block wrote: Don't need it in FreeBSD, either. In fact, using it in FreeBSD often causes hesitant input characters that only show up when you move the mouse. Or a draggy mouse. Or both. Finally got motivated to put together a little writeup on this: http://www.wonkity.com/~wblock/docs/html/aei.html Can we have an RSS feed for that last section? :) -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to restore a text file from UFS??
On Thu, Aug 19, 2010 at 1:07 PM, EforeZZ efor...@gmail.com wrote: I edited my 50Kb /etc/rc.conf, loaded a driver and got a kernel panic!! After reboot my /etc/rc.conf is 0 bytes (after automatic background fsck). Which tool should I try now to restore any version of my rc.conf?.. I think data should still be somewhere on the disk You should restore from backup, not an option if you use the Do Nothing strategy. http://www.freebsd.org/doc/en/books/handbook/backup-basics.html -- Adam Vande More ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
devd enabling the fn-f7 switch monitor functionality
Any further input on this issue? On Mon, Aug 16, 2010 at 11:12 AM, Eitan Adler li...@eitanadler.com wrote: # kldstat|grep acpi_ibm 12 1 0xc121d000 5244 acpi_ibm.ko # tail -6 /etc/devd.conf notify 0 { match system ACPI; match subsystem IBM; match notify 0x07; action /home/eitan/xbin/do-switch-screen.sh; }; # ls -laod /home/eitan/xbin/do-switch-screen.sh -rwxr-xr-x 1 eitan eitan - 88 Aug 16 10:57:05 2010 /home/eitan/xbin/do-switch-screen.sh* % dmesg|tail acpi_ec0: EcRead: failed waiting to get data ACPI Exception: AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] (20100331/evregion-588) ACPI Error (psparse-0633): Method parse/execution failed [\\_SB_.PCI0.LPCB.BAT1._BST] (Node 0xc6ad8d40), AE_NO_HARDWARE_RESPONSE acpi_ec0: EcRead: failed waiting to get data ACPI Exception: AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] (20100331/evregion-588) ACPI Error (psparse-0633): Method parse/execution failed [\\_SB_.PCI0.LPCB.BAT1._BST] (Node 0xc6ad8d40), AE_NO_HARDWARE_RESPONSE drm0: [ITHREAD] acpi_ec0: EcRead: failed waiting to get data ACPI Exception: AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] (20100331/evregion-588) ACPI Error (psparse-0633): Method parse/execution failed [\\_SB_.PCI0.LPCB.BAT1._BST] (Node 0xc6ad8d40), AE_NO_HARDWARE_RESPONSE In the script I have touch $0.ran but the file does not get created. Is there some program that would allow me to watch ACPI events? Is there some way I could known that the key is 0x07? Add notify 0 { match system ACPI; match subsystem IBM; match notify 0x07; action /full/path/to/script; }; to /etc/devd.conf -- Eitan Adler -- Eitan Adler ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: well, i guess it's time to ask.....
On Thu, Aug 19, 2010 at 08:26:11AM +0700, C. Bergstr?m wrote: Gary Kline wrote: ok guys, i have been waiting for [a] a better/faster/more generally useful computer as well as =mostly= cheaper unit. i figured i would wait until fall to ask, but it's close enough. can i watch a streamed movie on am atom [[[1.6ghz intel]]] chip. (Disclaimer I work for a commercial compiler company) If you experience problems with performance of Atom I would generally not blame the processor. There are *zero* very well tuned compilers for Atom that I'm aware of. Most are content that the compiler works good enough(tm) and it's difficult (impossible) to get the low level timing data details out of Intel. Unless you're hand writing inline asm (*cough* ffmpeg) then it's certainly possible the code isn't optimized well enough. Depending on what else the processor is busy with, codec type and video size it should certainly possible to stream an average sized movie with no problem. Now can it handle Blu-ray I doubt it... i am not planning on watching a movie that is on a DVD-RW but via [say] kmplayer via video stream. and rather than the std 'movie-length' of 120 minutes, an hour or less streamed by PBS. with my 2.4ghz Dell loaded at its usual 0.25 - 0.4, and using kmplayer or vlc, the video is jerky or hangs for several seconds. i probably should get-real and use whatever notebook i buy for what i originally intended it for: as a small and usable computer than can produce understandable speech. -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Xorg Problems
Warren Block wrote: On Thu, 19 Aug 2010, Ondrej Majerech wrote: On 08/19/2010 15:02, Warren Block wrote: Don't need it in FreeBSD, either. In fact, using it in FreeBSD often causes hesitant input characters that only show up when you move the mouse. Or a draggy mouse. Or both. Finally got motivated to put together a little writeup on this: http://www.wonkity.com/~wblock/docs/html/aei.html Isn't your summary (and your last section, despite it being tongue-in-cheek) misleading, because it says that AllowEmptyInput is bad, when you actually mean that it is _good_, and that _disabling_ it in Xorg.conf is bad? Or am I missing something? b. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to restore a text file from UFS??
On Thu, Aug 19, 2010 at 8:07 PM, EforeZZ efor...@gmail.com wrote: I edited my 50Kb /etc/rc.conf, loaded a driver and got a kernel panic!! After reboot my /etc/rc.conf is 0 bytes (after automatic background fsck). Which tool should I try now to restore any version of my rc.conf?.. I think data should still be somewhere on the disk 1. Have you looked into /lost+found ? 2. You could try to grep the raw device of the root partition, searching for known fragments of the old /etc/rc.conf, and then manually recreate it. But do this fast, before the now freed blocks are reused and thus overwritten again. You do have a small separate / partition, right? Better run the system with / mounted read-only, until you can find the deleted fragments. ;-( -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: well, i guess it's time to ask.....
On Wed, Aug 18, 2010 at 10:38:20PM -0300, Gonzalo Nemmi wrote: On Wed, Aug 18, 2010 at 10:10 PM, Gary Kline kl...@thought.org wrote: ok guys, i have been waiting for [a] a better/faster/more generally useful computer as well as =mostly= cheaper unit. i figured i would wait until fall to ask, but it's close enough. can i watch a streamed movie on am atom [[[1.6ghz intel]]] chip. i have trouble on my 2003 dell that has a 2.4ghz cpu. it has plenty of ram, disk, etc. so i've hesitated. on my 3.0gh thinkpad, streams fly flawlessly. So if i buy one of the notebooks with a 7 - 10 screen, can i use it for things other than a text-to-speech computer? how thrifty | cheap should i be? i'd like to buy the optical device rather than install via one of those stick memory devices. i have never used anything but the disc. i think it is at least two hundred bux more, but if it is a must, then so be it. i've looked for am atom notebook fo r 200 bux. pretty hard to find, so are there any places i can trust? i saw an A9 tablet with some kind of keyboard that might work as a speech computer. this is my real goal, leaving shit and shinola behind. but i'm not sure that a tablet would be as useful as a notebook. RESt of the story: i'm using the kde ktt* along with the festival speech toolkit. i also have vi/nvi or vim set up with around 125 abbrv so that people who type slowly can be more efficient. Way OT .. but it just hit me that some folks could benefit from that vim set up with around 125 abbrv if you posted somewhere ;) sure thing! i can put it up onmy bsd.thought.org page---if i still have that site. the backstory is pretty short. years before i tore up my shoulder, typing wasn't exactly =easy= so i used the 'abbrev' functionality of the original vi and added ~130 or so of the most freq english words [ plus computer-geek jargon ]. the stats showed that the average person could save about 31% of his time if he memorized this list. 130-150 words was the drop-off point. i.e., memorizing 160 abbreviations might save 31.9% or whatever it was. i gave up on this project after an almost-new SCSI drive crashed (nov, '99). my tape backup overwrote itself. my BAD. And so it goes... gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Xorg Problems
On Thu, 19 Aug 2010, b. f. wrote: Warren Block wrote: On Thu, 19 Aug 2010, Ondrej Majerech wrote: On 08/19/2010 15:02, Warren Block wrote: Don't need it in FreeBSD, either. In fact, using it in FreeBSD often causes hesitant input characters that only show up when you move the mouse. Or a draggy mouse. Or both. Finally got motivated to put together a little writeup on this: http://www.wonkity.com/~wblock/docs/html/aei.html Isn't your summary (and your last section, despite it being tongue-in-cheek) misleading, because it says that AllowEmptyInput is bad, when you actually mean that it is _good_, and that _disabling_ it in Xorg.conf is bad? Or am I missing something? Think of it as having an invisible To disable hald, using prefix. But point taken, I'll look at elaborating. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: well, i guess it's time to ask.....
On Wed, Aug 18, 2010 at 10:16:51PM -0500, Depo Catcher wrote: On 8/18/2010 8:10 PM, Gary Kline wrote: 've hesitated. on my 3.0gh thinkpad, streams fly flawlessly. So if i buy one of the notebooks with a Stream what kind of movies? Some video players (like VLC) have hardware acceleration that will help a lot if your video card/driver supports it. Things like Flash based movies might be kind of iffy though since they can't take advantage of the video hardware [?]. Once you start moving up to high def video you might have some problems, but know a lot of Home Theater guys that use Atoms for media centers: http://hardforum.com/forumdisplay.php?f=103 hm and hm. do you have any idea if linux/ubuntu may have done this? i've got ubuntu 8.04 on my 'G41 Thinkpad' and it handles whatever i stream pretty well. even if i click fr 'full screen' size. My gfs Atom 330 plays videos in VLC fine and flash fine, but full screen flash drops frames. This is under WinXP. The new D510 CPU are faster in benchmarks; it has dual cores with hyperthreading. If you wait a few months, the new D525 CPUs should be out in consumer computers - these are 1.8Ghz (instead of 1.6Ghz) and support DDR3 (instead of DDR2). That might help a bit. Both are limited to 4 gigs. you are going way over my head in talking brand name terminology, :) now i'm back to my original quandry of: do i want to hide in my room and watch streaming video or built a tts device. it's like: Well, if i =wait= [just a bit longer] ... :-D So, I would bet that 90% of the time it'll be enough if you have a good video card with good drivers. I'm not an expert on them though, I think they are neat though. i had no clue that there were flash movies until your note; but it points u p the value of having a good driver. Another options would be to go with an i3/i5 or get a used 775 (core 2) system. My Core2Duo 2.2Ghz runs more than fast enough and can probably get them for cheap if you buy them used. need to have a small screen and low weight, pref. but yeah, it's an option. thanks much for the datapoints. -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: well, i guess it's time to ask.....
On Thu, Aug 19, 2010 at 11:54:53AM -0700, Gary Kline wrote: i am not planning on watching a movie that is on a DVD-RW but via [say] kmplayer via video stream. and rather than the std 'movie-length' of 120 minutes, an hour or less streamed by PBS. with my 2.4ghz Dell loaded at its usual 0.25 - 0.4, and using kmplayer or vlc, the video is jerky or hangs for several seconds. A 2.4 GHz machine with a decent grahics card should have no problem with displaying full screen video, if you are using the XVideo extension. For mplayer try '-vo xv' on the mplayer command line, or put 'vo=xv' in ~/.mplayer/config. For VLC choose tools-preferences, and in the dialog window check Accelerated video output in the Video tab. It sounds more like a network issue. (you can confirm that if you can play files from a local disk without hiccups) Maybe increasing the buffering might help. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpnjV89yAmAF.pgp Description: PGP signature
Re: How to restore a text file from UFS??
On Thu, Aug 19, 2010 at 09:07:51PM +0300, EforeZZ wrote: I edited my 50Kb /etc/rc.conf, loaded a driver and got a kernel panic!! After reboot my /etc/rc.conf is 0 bytes (after automatic background fsck). Which tool should I try now to restore any version of my rc.conf?.. The programs from sysutils/sleuthkit might help. I think data should still be somewhere on the disk That depends on if the partition where /etc/rc.conf is located is read/write or read-only. In the latter case you are correct. In the former case part or all of the sectors could have been re-used for other files. For the best chance at recovery, make your root partition read-only _now_. For future reference; you should never edit files in /etc/ directly. If you want ot edit files in /etc or /usr/local/etc, first copy them to a directory in your $HOME, put them under revision control and then edit them and copy the edited files to /etc. That way you always have a backup and you can even restore previous versions. I've documented the procedure I use on my webpage; http://www.xs4all.nl/~rsmith/unix/configfiles.html Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgplleqOlNAub.pgp Description: PGP signature
Re: How to restore a text file from UFS??
On Thu Aug 19 10, EforeZZ wrote: I edited my 50Kb /etc/rc.conf, loaded a driver and got a kernel panic!! After reboot my /etc/rc.conf is 0 bytes (after automatic background fsck). Which tool should I try now to restore any version of my rc.conf?.. I think data should still be somewhere on the disk ;-( i had a similar problem and this howto helped me very much [1]. cheers. alex [1] http://bluesmoon.livejournal.com/109782.html -- a13x ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: well, i guess it's time to ask.....
On Wed, Aug 18, 2010 at 09:01:56PM -0700, Charlie Kester wrote: On Wed 18 Aug 2010 at 20:16:51 PDT Depo Catcher wrote: On 8/18/2010 8:10 PM, Gary Kline wrote: 've hesitated. on my 3.0gh thinkpad, streams fly flawlessly. So if i buy one of the notebooks with a Stream what kind of movies? Some video players (like VLC) have hardware acceleration that will help a lot if your video card/driver supports it. Things like Flash based movies might be kind of iffy though since they can't take advantage of the video hardware [?]. Once you start moving up to high def video you might have some problems, but know a lot of Home Theater guys that use Atoms for media centers: http://hardforum.com/forumdisplay.php?f=103 My gfs Atom 330 plays videos in VLC fine and flash fine, but full screen flash drops frames. This is under WinXP. The new D510 CPU are faster in benchmarks; it has dual cores with hyperthreading. But be aware that the Xorg intel driver in the current portstree does NOT support the graphics controller built into the D510 and other Pineview Atoms. The vesa driver works, but doesn't take advantage of AGP or other graphics niftiness. I have one of these myself, and can confirm that downloaded videos play acceptably well, despite using vesa. I can't speak to streaming video performance, however, since I don't use Flash and usually don't watch online videos. I've seen reviews of the D510 that say HD video performance is sub-par even on operating systems with drivers that fully support the graphics controller. If you wait a few months, the new D525 CPUs should be out in consumer computers - these are 1.8Ghz (instead of 1.6Ghz) and support DDR3 (instead of DDR2). That might help a bit. Both are limited to 4 gigs. So, I would bet that 90% of the time it'll be enough if you have a good video card with good drivers. I'm not an expert on them though, I think they are neat though. There are Atom-based systems available with Nvidia graphics. Gary might want to consider one of those, although it probably won't be as dirt cheap or as low-wattage as a Pineview system. (I have no experience with them myself.) jeez, and to think i was a =hardware= major. hm. is there a website than can explain the pros/cons? a friend is helping me move from 5 tower cases to two. money is always a concern, but saving watts is more important. gary ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why network doesn't get initialized on system startup?
Thursday, 19 August 2010 at 9:08:21 -0700, Yuri said: On 08/19/2010 03:10, Glen Barber wrote: Are you loading the ndis(4) kernel module at boot via loader.conf? Yes, all ndis-related drivers (ndis.ko, if_ndis.ko and actual ndis driver converted from windows one) are loaded from loader.conf. When system comes up ndis0 is fully functional and I can initialize it by hand fine. It just doesn't happen on startup. I can't remember where I saw this, but when you're using ndis you need to use SYNCDHCP instead of DHCP in ifconfig/rc.conf. Works for me no problem with a broadcom chip using ndis. Regards, Peter Harrison. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: well, i guess it's time to ask.....
On Thu, Aug 19, 2010 at 10:05:47PM +0200, Roland Smith wrote: On Thu, Aug 19, 2010 at 11:54:53AM -0700, Gary Kline wrote: i am not planning on watching a movie that is on a DVD-RW but via [say] kmplayer via video stream. and rather than the std 'movie-length' of 120 minutes, an hour or less streamed by PBS. with my 2.4ghz Dell loaded at its usual 0.25 - 0.4, and using kmplayer or vlc, the video is jerky or hangs for several seconds. A 2.4 GHz machine with a decent grahics card should have no problem with displaying full screen video, if you are using the XVideo extension. For mplayer try '-vo xv' on the mplayer command line, or put 'vo=xv' in ~/.mplayer/config. For VLC choose tools-preferences, and in the dialog window check Accelerated video output in the Video tab. It sounds more like a network issue. (you can confirm that if you can play files from a local disk without hiccups) Maybe increasing the buffering might help. i actually do have some discs that i BOUGHT. they are by the late scholar, Joseph Campbell who taught literature at Sarah Lawrence or wehatever and became a mythologist. I think I have every one of his books, most of his lectures, and the four dvd's of his 13-hour broadcast. they play flawlessly, so it it may be hanging on the network side. how can i increase the buffering? say using kmplayer or vlc? i've poked around here and there but do not see anyplace to tune the buffering. meanwhile, i will try the 'accelerated video output' with vlc. thanks! gary Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: well, i guess it's time to ask.....
There are Atom-based systems available with Nvidia graphics. Gary might want to consider one of those, although it probably won't be as dirt cheap or as low-wattage as a Pineview system. (I have no experience with them myself.) jeez, and to think i was a =hardware= major. hm. is there a website than can explain the pros/cons? a friend is helping me move from 5 tower cases to two. money is always a concern, but saving watts is more important. gary Money wise for Motherboard, memory and CPU the Atom or 775 (Core 2 Duo) will probably be cheapest. Then i3 and most expensive is i5. AMD also have options that would probably be cheaper, but I'm not familiar with their product line. I would set your budget of $X and then compare the best system in each class you can get for that price. Power wise; if it's idle, the Atom and i3/i5 should be about the same. With 775 (core 2 duo) probably drawing the most. In fact, in some cases the i3/i5 might draw less power at idle: http://www.servethehome.com/intel-core-i5-650-v-atom-n330-nvida-ion-review/ The other thing to concern is when it's under load, the Atom will be the clear winner here. The i3/i5/c2d can and will draw a good amount under load. Atom doesn't go up much under heavy load, the other systems can skyrocket in power usage when hit hard. The other thing you have to concern is how many devices you'll have hooked up to this. If you need an external video card it's going to be drawing more power... as with external NICs, sata, sound, etc In general I would suggest picking up a board that has most of what you need and nothing of what you don't. For example, I don't use sound on my home server, so I always buy a board without integrated sound. Also the Atom, i3 and i5 all have integrated video in their CPUs. That might save some power if you find one that supports that (and not an embedded integrated video) Performance wise, i3/i5 is winner then 775 and last atom. This thread has some links to some reviews: http://hardforum.com/showthread.php?t=1538918 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Mail and DNS setup
I have a local box that downloads all my mail (~8 accounts) via fetchmail. It's processed by sendmail/procmail and sorted into Maildir folder. From there I retrieved via courier-imap (ssl) in Thunderbird. This has worked well, but since it's been running there have been quite a few security advisories in fetchmail, sendmail and procmail. I'm not fond of any of their configs or syntax either, so won't mind trying some alternatives on my new server. What other setup would work for my needs? I really like courier-imap, so would like to stay with that or another imap ssl server. For fetchmail, getmail looks like a good alternative. What would be a good procmail replacement? I've searched around, but couldn't find anything that provides the same functionality. I have a lot of email so like to sort it into specific folders. For sendmail, qmail looks like a good contender. Any others that I might consider? Generally it seems like a qmail is pretty solid? getmail + qmail + procmail replacement + courier-imap = win? Also anything special I need to do to uninstall or get rid of sendmail on my system? While we're at it, any alternatives to bind? We have a slow internet so like to cache things locally. Other than local lookup and caching, nothing else is needed. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Mail and DNS setup
On 8/19/2010 3:44 PM, Depo Catcher wrote: While we're at it, any alternatives to bind? We have a slow internet so like to cache things locally. Other than local lookup and caching, nothing else is needed. Unbound ( http://www.unbound.net/ ) just does validating, recursive, and caching DNS. If you ever end up needing an authoritative server you can pair it with NSD ( http://www.nlnetlabs.nl/projects/nsd/ ). They are both from the same company. There is also MaraDNS, it promotes itself as being very secure, small, and easy to configure ( http://www.maradns.org/ ). I personally like MaraDNS, you can read the advocacy document which compares various DNS servers. http://www.maradns.org/advocacy.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Mail and DNS setup
On Thu, Aug 19, 2010 at 05:44:46PM -0500, Depo Catcher wrote: I have a local box that downloads all my mail (~8 accounts) via fetchmail. It's processed by sendmail/procmail and sorted into Maildir folder. From there I retrieved via courier-imap (ssl) in Thunderbird. This has worked well, but since it's been running there have been quite a few security advisories in fetchmail, sendmail and procmail. I'm not fond of any of their configs or syntax either, so won't mind trying some alternatives on my new server. If it ain't broken... What would be a good procmail replacement? I've searched around, but couldn't find anything that provides the same functionality. I have a lot of email so like to sort it into specific folders. IMO the best replacement for procmail is procmail. :-) For sendmail, qmail looks like a good contender. Any others that I might consider? Generally it seems like a qmail is pretty solid? Postfix works well and is easy to configure. Also anything special I need to do to uninstall or get rid of sendmail on my system? Put the following in /etc/rc.conf; sendmail_enable=NONE To disable the building of sendmail next time you do a 'make buildworld', add the following to /etc/src.conf; WITHOUT_SENDMAIL=true While we're at it, any alternatives to bind? We have a slow internet so like to cache things locally. Other than local lookup and caching, nothing else is needed. Here you go; http://en.wikipedia.org/wiki/Comparison_of_DNS_server_software Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpT7SqRtxoiA.pgp Description: PGP signature
Re: Mail and DNS setup
On Thu, 19 Aug 2010 17:44:46 -0500 Depo Catcher depocatc...@gmail.com articulated: I have a local box that downloads all my mail (~8 accounts) via fetchmail. It's processed by sendmail/procmail and sorted into Maildir folder. From there I retrieved via courier-imap (ssl) in Thunderbird. This has worked well, but since it's been running there have been quite a few security advisories in fetchmail, sendmail and procmail. I'm not fond of any of their configs or syntax either, so won't mind trying some alternatives on my new server. What other setup would work for my needs? I really like courier-imap, so would like to stay with that or another imap ssl server. For fetchmail, getmail looks like a good alternative. What would be a good procmail replacement? I've searched around, but couldn't find anything that provides the same functionality. I have a lot of email so like to sort it into specific folders. For sendmail, qmail looks like a good contender. Any others that I might consider? Generally it seems like a qmail is pretty solid? getmail + qmail + procmail replacement + courier-imap = win? Also anything special I need to do to uninstall or get rid of sendmail on my system? While we're at it, any alternatives to bind? We have a slow internet so like to cache things locally. Other than local lookup and caching, nothing else is needed. Personally, I like Postfix + Dovecot. I have always thought that Fetchmail was a fairly easy application to configure. Stay away from qmail. It is no longer supported. Postfix is far superior and works nearly seamlessly with dovecot. You need to place the following in your /etc/rc.conf file to shut down sendmail: sendmail_enable=NO sendmail_msp_queue_enable=NO sendmail_outbound_enable=NO sendmail_submit_enable=NO -- Jerry ✌ freebsd.u...@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ With a rubber duck, one's never alone. Douglas Adams, The Hitchhiker's Guide to the Galaxy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Mail and DNS setup
On Fri, 20 Aug 2010 01:08:41 +0200 Roland Smith rsm...@xs4all.nl articulated: Also anything special I need to do to uninstall or get rid of sendmail on my system? Put the following in /etc/rc.conf; sendmail_enable=NONE Are you sure about that? From: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail-changingmta.html quote 28.4.2 Disable sendmail Warning: If you disable sendmail's outgoing mail service, it is important that you replace it with an alternative mail delivery system. If you choose not to, system functions such as periodic(8) will be unable to deliver their results by e-mail as they would normally expect to. Many parts of your system may expect to have a functional sendmail-compatible system. If applications continue to use sendmail's binaries to try to send e-mail after you have disabled them, mail could go into an inactive sendmail queue, and never be delivered. In order to completely disable sendmail, including the outgoing mail service, you must use sendmail_enable=NO sendmail_submit_enable=NO sendmail_outbound_enable=NO sendmail_msp_queue_enable=NO in /etc/rc.conf. /quote -- Jerry ✌ freebsd.u...@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ Real programmers don't write in BASIC. Actually, no programmers write in BASIC after reaching puberty. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Mail and DNS setup
On Thu, Aug 19, 2010 at 07:32:38PM -0400, Jerry wrote: On Fri, 20 Aug 2010 01:08:41 +0200 Roland Smith rsm...@xs4all.nl articulated: Also anything special I need to do to uninstall or get rid of sendmail on my system? Put the following in /etc/rc.conf; sendmail_enable=NONE Are you sure about that? Yes. :-) From: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail-changingmta.html In order to completely disable sendmail, including the outgoing mail service, you must use sendmail_enable=NO sendmail_submit_enable=NO sendmail_outbound_enable=NO sendmail_msp_queue_enable=NO in /etc/rc.conf. /quote From /etc/rc.d/sendmail: case ${sendmail_enable} in [Nn][Oo][Nn][Ee]) sendmail_enable=NO sendmail_submit_enable=NO sendmail_outbound_enable=NO sendmail_msp_queue_enable=NO ;; esac I guess the handbook needs updating. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpvv0vFKe7Pu.pgp Description: PGP signature
Re: Mail and DNS setup
On Thu, 19 Aug 2010 17:44:46 -0500 Depo Catcher depocatc...@gmail.com wrote: getmail + qmail + procmail replacement + courier-imap = win? Why use an mta at all? getmail was specifically designed to avoid that. You can just do something like: getmail - procmail - whatever getmail - dovecot-deliver+sieve plugin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Mail and DNS setup
On 8/19/2010 8:06 PM, RW wrote: On Thu, 19 Aug 2010 17:44:46 -0500 Depo Catcherdepocatc...@gmail.com wrote: getmail + qmail + procmail replacement + courier-imap = win? Why use an mta at all? getmail was specifically designed to avoid that. You can just do something like: getmail - procmail - whatever getmail - dovecot-deliver+sieve plugin Yea, I think your right. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Mail and DNS setup
On Aug 19, 2010, at 3:44 PM, Depo Catcher wrote: While we're at it, any alternatives to bind? We have a slow internet so like to cache things locally. Other than local lookup and caching, nothing else is needed. I like dnsmasq. It's easy to set up and is specifically designed for doing caching and local lookup for NATed LANs. It can optionally serve as a DHCP server as well, but doesn't have to. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Installation problem
//* I've re-included the list, hope that's okay. On Thu, 19 Aug 2010 12:15:13 -0400, Derek Schwartz derekschwart...@gmail.com wrote: I re-formated the drive and it still gives me the same error error {0-01} You don't need to format anything. Just make sure all kinds of partitions are removed. If they are not, you should be able to use FreeBSD's sysinstall program (stage fdisk) to remove all existing partitions (key d), then add one for FreeBSD (key a); this will automatically set the correct ID. What stage of installation, or what program, does issue this error message? Does it come from the BIOS, the FreeBSD loader, or the kernel, or sysinstall? anyway I can force it to install? Install with an empty disk. FreeBSD does not require any kind of preparation for its installation by 3rd party means. Please have a look at the handbook: http://www.freebsd.org/doc/handbook/install-start.html http://www.freebsd.org/doc/handbook/using-sysinstall.html http://www.freebsd.org/doc/handbook/install-steps.html Can you be specific about in WHAT STAGE of the process you are getting the mentioned error message? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: well, i guess it's time to ask.....
On Thu, Aug 19, 2010 at 05:24:39PM -0500, Depo Catcher wrote: Money wise for Motherboard, memory and CPU the Atom or 775 (Core 2 Duo) will probably be cheapest. Then i3 and most expensive is i5. AMD also have options that would probably be cheaper, but I'm not familiar with their product line. I would set your budget of $X and then compare the best system in each class you can get for that price. Power wise; if it's idle, the Atom and i3/i5 should be about the same. With 775 (core 2 duo) probably drawing the most. In fact, in some cases the i3/i5 might draw less power at idle: http://www.servethehome.com/intel-core-i5-650-v-atom-n330-nvida-ion-review/ thanks for the url; i'll check it out when i'm using a GUI MUA. it looks like i wanted too much out of my next laptop. looks like i'll need to wait a few more years to get what i really want: 1st) as a small-footprint computer to use for the speech impaired, and 2nd) to let me hide [wherever] and stream NOVA or *whatever* far from the noise and distraction. i have had the first goal in mind for five years or so. my hearing is fine but my speech is impaired, so with kmouth, ksayit or ktts* and vi, then using the festival suite, i can type what i want to say and have the computer speak my words clearly. ---yes, it takes some messing-with to have the voices sound good. in recent months i ran my ideas past a second speech pathologist. she trotted out an off-the-shelf Windows device that has pre-programmed sentences -or- use the touch-screen keyboard to spell out whatever. touching a last square lets the computer speak. the cost of this dos/win device is $9,000 to $12,000. the box is heavy, the screen is brightly lit. my bias was against the touch touch screen. there was a beep you could turn on if you needed to, and giving my crummy typing, i did. the feedback for my free idea was that most people are not computer savvy and would need support. so i gave up on going the medical route and got in touch with the laptop for children. i learned that the number of people that my hodge-podge could help is well into the millions. that's the only reason i'm still at it. my thinking is that people who can type even with one finger can make use of the festival+kde software. either exactly as-is or with some trivial script(s). The other thing to concern is when it's under load, the Atom will be the clear winner here. The i3/i5/c2d can and will draw a good amount under load. Atom doesn't go up much under heavy load, the other systems can skyrocket in power usage when hit hard. sounds like the atom processor is the way to go. --at least when i'm out i would prefer to not have to hunt for a wall socket:) The other thing you have to concern is how many devices you'll have hooked up to this. If you need an external video card it's going to be drawing more power... as with external NICs, sata, sound, etc In general I would suggest picking up a board that has most of what you need and nothing of what you don't. For example, I don't use sound on my home server, so I always buy a board without integrated sound. Also the Atom, i3 and i5 all have integrated video in their CPUs. That might save some power if you find one that supports that (and not an embedded integrated video) i never thought about hooking anything to the kind of computer i'm thinking of. this is where less is more. they had one of these 10 notebooks at costco last spring but it was locked down by cable and i had to get up from my wheelchair to check it out. the keys had a nice feel--maybe 2 to 4mm before the key hit bottom. the sound was off so i couldn't get an idea if the speakers would be loud enough to be heard if i went shopping and had a question for someone. volume was =not= an issue for the windows speech device! i think that could have been upped to hear from 50 meters. --i may have to just shut up and pony up the $Whatever before going much further. meanwhile, thanks again for your insights and url's. before school starts and the day swings back into starting during the middle of the night. ---can you spell GAK---, in other words, while i still have time and energy, maybe the best plan is just Do-It. Performance wise, i3/i5 is winner then 775 and last atom. This thread has some links to some reviews: http://hardforum.com/showthread.php?t=1538918 -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php
Re: Installation problem
//* I've re-included the list, hope that's okay. On Thu, 19 Aug 2010 22:02:25 -0400, Derek Schwartz derekschwart...@gmail.com wrote: as soon as a I put the cd in the computer for the first time. Please try to avoid top-posting, as it counts as bad style on this maining list; thank you. If the message error {0-01} is displayed as soon as the PC tries to boot from the FreeBSD CD, this may indicate two reasons: The first reason is a problem of the PC itself (e. g. BIOS, defective drive) which I will keep in background for now, as I assume that your PC and CD drive are okay. Second reson is a defective CD, either by media, or by logic. Have you made sure that the CD is bootable, e. g. checked with a second PC or laptop (just booting)? Did you correctly record the ISO file to the CD? Again, make sure you did as explained in the handbook: http://www.freebsd.org/doc/en/books/handbook/install-diff-media.html For example, can you mount the CD on a different system, and does it show the obvious files and structures? Does a different system boot from this CD? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Installation problem
Hi , not sure.This sounds like my issue as well ? After install of bsd on a laptop with ubuntu ;it does not boot and gets stuck in bios splash . I had emailed on this earlier. thanks, Mubeesh On Fri, Aug 20, 2010 at 8:42 AM, Polytropon free...@edvax.de wrote: //* I've re-included the list, hope that's okay. On Thu, 19 Aug 2010 22:02:25 -0400, Derek Schwartz derekschwart...@gmail.com wrote: as soon as a I put the cd in the computer for the first time. Please try to avoid top-posting, as it counts as bad style on this maining list; thank you. If the message error {0-01} is displayed as soon as the PC tries to boot from the FreeBSD CD, this may indicate two reasons: The first reason is a problem of the PC itself (e. g. BIOS, defective drive) which I will keep in background for now, as I assume that your PC and CD drive are okay. Second reson is a defective CD, either by media, or by logic. Have you made sure that the CD is bootable, e. g. checked with a second PC or laptop (just booting)? Did you correctly record the ISO file to the CD? Again, make sure you did as explained in the handbook: http://www.freebsd.org/doc/en/books/handbook/install-diff-media.html For example, can you mount the CD on a different system, and does it show the obvious files and structures? Does a different system boot from this CD? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Installation problem
On Thu, 19 Aug 2010 23:58:44 -0400, Derek Schwartz derekschwart...@gmail.com wrote: hmmm... I've tried the full install... maybe I'll try the boot only CD... Basically, that shouldn't make any difference. I usually use the full install (1 CD) when building a system from scratch intendedly. Everything that is not on this CD, I install per FTP right from the beginning. But the error message seems to indicate a generic booting problem. You can also try to use the memstick installation variant if your system can boot from USB. In this case, you can eliminate CD or DVD booting problems. (hate to sound like an idiot) but how do I connect to the FTP site? That's quite easy, as soon as you're in the sysinstall program: Choose FTP as source, select a mirror near you, and if not done yet, your network connection will automatically be initialized, usually by DHCP, which is a common setting. The sysinstall program does all that for you. http://www.freebsd.org/doc/en/books/handbook/install-diff-media.html See 2.13.6 here And of course: http://www.freebsd.org/doc/en/books/handbook/install-media.html See box FTP Installation Modes -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Installation problem
On Fri, 20 Aug 2010 09:35:42 +0530, Mubeesh ali mubeeshal...@gmail.com wrote: Hi , not sure.This sounds like my issue as well ? After install of bsd on a laptop with ubuntu ;it does not boot and gets stuck in bios splash . I had emailed on this earlier. Yes, the verbosity of the error message error {0-01} makes me believe that this is already in a very early stage. Maybe some forgotten remains of a Linux boot loader? In this case, trying to boot from USB (or maybe floppy?) could help hard-wiping at least the beginning of the disk, using dd. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to restore a text file from UFS??
On Thu, 19 Aug 2010 21:07:51 +0300, EforeZZ efor...@gmail.com wrote: I edited my 50Kb /etc/rc.conf, loaded a driver and got a kernel panic!! After reboot my /etc/rc.conf is 0 bytes (after automatic background fsck). I don't trust background fsck. Better wait 30 minutes for system to come up cleanly, instead of racing at full spead into data loss... You have already gotten good advices in how to recover data: /lost+found in best case, TSK in worst case. In my recovery career, I made good experiences with The Sleuth Kit. If you have installed it, have a look at /usr/local/share/doc/sleuthkit/ref_fs.txt which gives some insight on how to recover lost files; it is very interesting and helpful. Which tool should I try now to restore any version of my rc.conf?.. Personally, I use cvs (comes with base system) to keep track of changes in my config files. In case I accidentally delete a file, I can simply check it out of the repository, in its current version as well as in previous versions. CVS is similar to RCS. I also make a copy of current files of /etc in root's home directory, which is /root (usually on /). I think data should still be somewhere on the disk As long as it hasn't been overwritten, it will be there, and usually will be accessible by simple or complicated means. If everything fails, maybe you can use a rc.conf of another system of yours to re-create the original file's contents? Or use the defaults at /etc/defaults/rc.conf as a template. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to restore a text file from UFS??
Dear Sir/Madam, Your email was unable reach the intended person that you were sending it to. For more information on our business please click on the following link: [1]Click here for our website We look forward to your continued business in the future. Regards, Webmaster References 1. http://www.downwind.com.au/avdir/rd.php?id=7564 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org