Re: Query on kgdb output
On Thu, Jun 5, 2008 at 11:59 AM, [EMAIL PROTECTED] wrote: Hi, I'm seeing regular kernel panics on my new box with a fresh install of 7.0-RELEASE. I'm trying to get some information out of kgdb by following the instructions in the handbook - however, I'm getting a 'cannot access memory' message when I try it: odin2008# kgdb kernel.debug /var/crash/vmcore.1 [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol ps_pglobal_lookup] GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as i386-marcel-freebsd. Cannot access memory at address 0x2fd9 (kgdb) where #0 0x in ?? () (kgdb) quit Am I doing something wrong, or does this point to a hardware failure? (I'm also seeing missing characters in /var/log/messages, which I addressed in a separate mail; not sure if it's related). Sorry the first reply went to the wrong place. What info does a stack trace (commadn bt in kgdb) give? Riaan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Lead-Gen Help
Hi Wilko, Do you know who handles creative production for marketing documents at The FreeBSD Project? We help companies drive sales with lead-generation pieces like case studies, brochures and white papers. Our rates are reasonable and clients recover costs quickly with just a couple of initial sales. ? Low up-front costs ? High ROI ? Direct-response campaigns ? SEO and SEM services ? Flat fee, hourly or performance-based pricing Any help you can offer is much appreciated. A name, an email contact or a forward would be great. Thanks, Phil Clients include NetApp, D-Link, Toshiba Medical, Hewlett Packard, Computer Associates, Software AG, Global Crossing, and many others. When you find a reliable, experienced freelance writer like QualityWriter, it's often cheaper, quicker and less complicated than doing it in-house. Wona Chung Marketing Director DemandTec Phil Dunn - (949) 515-3510 QualityWriter Marketing, Writing, SEO, SEM http://www.qualitywriter.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Denyhost
Sahil Tandon wrote: Andrea Venturoli [EMAIL PROTECTED] wrote: Anyone using this? I've used it for a long time on a 6.x box and it worked fine. Recently I had to deactivate it since it seems to lock away every IP which is listed in the logs. Any hint? Give more information. Which logs? Give an example. Show relevant excerpts from your denyhosts configuration. Which version of denyhosts are you running? How and where in /etc/hosts.allow is the denyhosts list being referenced? If this is the security/denyhosts port being discussed, and all traffic is being blocked from listed IPs, that is a config possibility. IP addresses that show up in the deny list can either have ssh or all traffic denied from those specific hosts. Brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BSDstats: May Statistics - 23 998 Hosts Reported In
2008/6/6, Murray Stokely [EMAIL PROTECTED]: Hi Marc, can you please post these individually to different lists next time rather than one massive cross-post? On Thu, Jun 5, 2008 at 6:31 AM, Odhiambo Washington [EMAIL PROTECTED] wrote: Anyway, I am surprised at how fast PC-BSD is picking up. I know that during installation, it prompts the installer to enable the submission of stats. Could this explain why there are more PC-BSD that there are FreeBSD? Yes I should think that is pretty obvious. =) I would expect that Yahoo! alone has ~2 orders of magnitude more FreeBSD servers than what is represented there. These numbers have basically no correlation with the number of installed instances of these operating systems. Anyone interested in this effort should submit patches to optionally install/enable this functionality in the installer of the various operating systems - Murray Why is this info crossposted on so much lists ? That's really annoying, beside the fact that the data is useless. Cheers, Zafer. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Query on kgdb output
Thanks for the response! OK, I tried this again using a new vmcore and got something more useful: Unread portion of the kernel message buffer: sis0: discard frame w/o packet header Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0xbfc04000 fault code = supervisor read, page not present instruction pointer = 0x20:0xc0a31f3a stack pointer = 0x28:0xe3fbbbd4 frame pointer = 0x28:0xe3fbbc14 code segment= base 0x0, limit 0xf, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags= interrupt enabled, resume, IOPL = 0 current process = 34 (irq19: sis0) trap number = 12 panic: page fault cpuid = 0 Uptime: 2h37m48s Physical memory: 977 MB Dumping 164 MB: 149 133 117 101 85 69 53 37 21 5 #0 doadump () at pcpu.h:195 195 __asm __volatile(movl %%fs:0,%0 : =r (td)); The network card is being detected as an SiS 900: Jun 6 10:03:36 odin2008 kernel: sis0: SiS 900 10/100BaseTX port 0x2000-0x20ff mem 0x4a10-0x4a100fff irq 19 at device 4.0 on pci0 Jun 6 10:03:36 odin2008 kernel: miibus0: MII bus on sis0 Jun 6 10:03:36 odin2008 kernel: sis0: Ethernet address: 00:1c:c0:2e:ee:ad Jun 6 10:03:36 odin2008 kernel: sis0: [ITHREAD] Has anyone had any good experiences with this chipset? I can find a few people with similar problems dating back to 2002, but none recently. It's on the supported hardware list. Any ideas as to a fix or workaround? Thanks, Mark Backtrace: (kgdb) bt #0 doadump () at pcpu.h:195 #1 0xc0757727 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409 #2 0xc07579e9 in panic (fmt=Variable fmt is not available. ) at /usr/src/sys/kern/kern_shutdown.c:563 #3 0xc0a4c32c in trap_fatal (frame=0xe3fbbb94, eva=3217047552) at /usr/src/sys/i386/i386/trap.c:899 #4 0xc0a4c5b0 in trap_pfault (frame=0xe3fbbb94, usermode=0, eva=3217047552) at /usr/src/sys/i386/i386/trap.c:812 #5 0xc0a4cf5c in trap (frame=0xe3fbbb94) at /usr/src/sys/i386/i386/trap.c:490 #6 0xc0a32edb in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #7 0xc0a31f3a in bus_dmamap_load (dmat=0xc3fda280, map=0xc0bfe140, buf=0x100, buflen=2048, callback=0xc0909410 sis_dma_map_desc_ptr, callback_arg=0xc3f6c378, flags=0) at pmap.h:218 #8 0xc09098ff in sis_newbuf (sc=0xc3fdd300, c=0xc3f6c378, m=0xc427) at /usr/src/sys/pci/if_sis.c:1384 #9 0xc090b69d in sis_rxeof (sc=0xc3fdd300) at /usr/src/sys/pci/if_sis.c:1438 #10 0xc090b993 in sis_intr (arg=0xc3fdd300) at /usr/src/sys/pci/if_sis.c:1662 #11 0xc073a94b in ithread_loop (arg=0xc3fcd790) at /usr/src/sys/kern/kern_intr.c:1036 #12 0xc0737749 in fork_exit (callout=0xc073a7a0 ithread_loop, arg=0xc3fcd790, frame=0xe3fbbd38) at /usr/src/sys/kern/kern_fork.c:781 #13 0xc0a32f50 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:205 (kgdb) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
PXE booting 7.0-R
Hello, I'm trying to PXE boot 7.0-RELEASE, but it stops at a time. At boot I see the following on the screen: BIOS drive C: is disk0 BIOS drive D: is disk1 PXE version 2.1, real mode entry point @9188:0106 BIOS 517kB/3406144kB available memory FreeBSD/i386 bootstrap loader, Revision 1.1 ([EMAIL PROTECTED], date) pxe_open: server addr: 10.0.0.1 pxe_open: serve path: /wwwbladebsd/ pxe_open: gateway ip: 10.0.0.1 Consoles: internal video/keybaord BIOS drive C: is disk0 BIOS drive D: is diskl BIOS 517kB/3406144kB available memory FreeBSD/i386 bootstrap loader, Revision 1.1 ([EMAIL PROTECTED], date) Can't work out which disk we are booting from. Guessed BIOS device 0x not found by probes, defaulting to disk0 can't loader 'kernel' Type '?' for a list of commands, 'help' for more detailed help. OK lsdev cd devices: disk devices: disk0: BIOS drive C: disk1: BIOS drive D: pxe devices: on the server I see t serving pxeboot via tftp, and mounting the root via NFS: Jun 6 11:38:22 nfs dhcpd: DHCPDISCOVER from 00:30:48:8d:00:36 via eth1 Jun 6 11:38:22 nfs dhcpd: DHCPOFFER on 10.0.0.32 to 00:30:48:8d:00:36 via eth1 Jun 6 11:38:24 nfs dhcpd: DHCPREQUEST for 10.0.0.32 (10.0.0.1) from 00:30:48:8d:00:36 via eth1 Jun 6 11:38:24 nfs dhcpd: DHCPACK on 10.0.0.32 to 00:30:48:8d:00:36 via eth1 Jun 6 11:38:24 nfs atftpd[2221]: Serving /bsd/pxeboot to 10.0.0.32:2070 Jun 6 11:38:24 nfs atftpd[]: Serving /bsd/pxeboot to 10.0.0.32:2071 Jun 6 11:38:25 nfs dhcpd: DHCPDISCOVER from 00:30:48:8d:00:36 via eth1 Jun 6 11:38:25 nfs dhcpd: DHCPOFFER on 10.0.0.32 to 00:30:48:8d:00:36 via eth1 Jun 6 11:38:25 nfs dhcpd: DHCPREQUEST for 10.0.0.32 (10.0.0.1) from 00:30:48:8d:00:36 via eth1 Jun 6 11:38:25 nfs dhcpd: DHCPACK on 10.0.0.32 to 00:30:48:8d:00:36 via eth1 Jun 6 11:38:25 nfs mountd[2120]: authenticated mount request from 10.0.0.32:1023 for /wwwbladebsd (/wwwbladebsd) (around 30-40 from these NFS mount messages in the log). The NFS server is a linux box right now. The dhcpd.conf: host blade1 { hardware ethernet 00:30:48:8d:00:36; fixed-address 10.0.0.32; server-name 10.0.0.1; filename /bsd/pxeboot; next-server 10.0.0.1; option root-path /wwwbladebsd/; } i'm using atftpd with /tftpboot as root directory. /tftpboot/bsd/ is a symlink to the root system's /boot . I've NFS-exported /wwwbladebsd/, and that seems to work. The question is, why loader is unable to load the kernel? How could I force the loader to use tftp instead of NFS? Or using any other solutions, how can I make this box boot? If I've left out outsomething from here, please tell me, I will post it. Thanks in advance. -- Sincerely, Gergely CZUCZY Harmless Digital Bt mailto: [EMAIL PROTECTED] Tel: +36-30-9702963 signature.asc Description: PGP signature
Re: Poor read() performance, and I can't profile it
Kirk Strauser wrote: Kris Kennaway wrote: I don't understand what you meant by It's also doing a lot of lseek()s to what is likely the current position anyway (example: seek to 0x00, read 16 bytes, seek to 0x10, etc.). then. I just meant that 16 was a smaller number than 4096 to use in an example. :-) But anyway, it looks like I was wrong. Each record in this test file is 144 bytes long, but instead of reading 144 bytes, it's reading 4096 bytes then seeking backward 3952 (4096-144) bytes to the start of the next record. For instance: 99823 dumprecspg CALL lseek(0x3,0x1c8,SEEK_SET,0) 99823 dumprecspg CALL read(0x3,0x8106000,0x1000) 99823 dumprecspg CALL lseek(0x3,0x258,SEEK_SET,0) 99823 dumprecspg CALL read(0x3,0x8106000,0x1000) 99823 dumprecspg CALL lseek(0x3,0x2e8,SEEK_SET,0) 99823 dumprecspg CALL read(0x3,0x8106000,0x1000) 99823 dumprecspg CALL lseek(0x3,0x378,SEEK_SET,0) 99823 dumprecspg CALL read(0x3,0x8106000,0x1000) Now, I know this is suboptimal. My code is a patch on another, longer-established project that I wasn't a part of, and I probably can't do a lot about it without a pretty major rewrite. Still, I can't believe the same code is *so* much faster on Linux. I'd also swear that this is a regression and that it used to run much faster on the same FreeBSD machine back when it was running 6.x, but I never bothered to benchmark it then because it didn't seem to be an issue. Can you confirm or provide a code sample? What does strace show on Linux? Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Instant reboot with FreeBSD 6.3 and 2GB RAM
Hello, i can confirm that the bug fix submitted with PR 108215 solves the reboot problem when using mfsroot images in FreeBSD 6.3. I will test it also on FreeBSD 7.0, but i assume that it will fix it there too. Many users using FreeNAS reporting this reboot problem on their machines with RAM 2GB. Regards Volker Original-Nachricht Datum: Wed, 21 May 2008 21:08:25 +0200 Von: Volker [EMAIL PROTECTED] An: [EMAIL PROTECTED] CC: [EMAIL PROTECTED], freebsd-questions@freebsd.org Betreff: Re: Instant reboot with FreeBSD 6.3 and 2GB RAM On 12/23/-58 20:59, [EMAIL PROTECTED] wrote: Hello, some users of FreeNAS which is based on FreeBSD 6.3 reported instant reboots on systems with 2GB RAM (most of them use 4GB). The reboot occurs right after displaying the FreeBSD loader menu. Most of them told me that they can boot if they reduce RAM to = 2GB. We are using the following kernel configuration which is based on GENERIC: http://freenas.svn.sourceforge.net/viewvc/freenas/branches/0.69/build/kernel-config/FREENAS-i386?revision=3291view=markup I found out another problem that causes a reboot on my 2GB machine. We are using a image for the LiveCD which is 64MB great. If i change back mfs_root size to 63MB all works well, but all above 64MB causes a reboot. Is there any limitation? Could someone help me out of this problem? Regards Volker Hi Volker ;) I'm not quite sure about your 2nd problem and your report is not quite detailed but from your description it looks like loader is causing that. As there's no filesystem available at that time, the loader has to read itself through the filesystem structures. Knowing that, PR misc/108215 comes to mind. I've not been able to check if the issue and the patch to it is right but you may give it a try. Probably somebody with loader and filesystem (ufs) knowledge may answer that question quickly if the patch contained in the PR is right. The report is about 6.2-R but at least I've checked loader code and 7.x code is the same. I came across that report yesterday and was unable to check the calculation. If that is really the case, your problem may be related to that. http://www.freebsd.org/cgi/query-pr.cgi?pr=108215 Assuming the problem report is right, it's about reading huge files by loader reads in wrong sectors. HTH Volker -- Pt! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
outbound serial modem now times out or drops connection
We are using qpage to dial a remote TAP modem (Sprint and Verizon), so we can send pages about our hosting infrastructure without using the internet connection. Recently it started failing consistently with timeout to connect. I first suspected the remote modem (Sprint), but found I got the same result with other carriers. (And Sprint denied a problem on their end). I have since tried a whole battery of approaches including having the phone line checked by the local phone company, trying a different modem and trying a different phone cord. Trying a new modem (US Robotics external 56k serial modem) did help slightly. With it, we consistently connnect, but then after a short pause the connection is dropped. This is easily reproduced in minicom: (Using the Sprint TAP modem number here). ATDT18886561727 CONNECT 31200/ARQ/V34/LAPM/V42BIS NO CARRIER I'm out of ideas here. This phone line is only used for this outbound service, although our alarm system also uses it for outbound alerts. Any suggestions for possible causes or further troubleshooting approaches are appreciated. Thanks! Mark ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: outbound serial modem now times out or drops connection
Mark Stosberg: We are using qpage to dial a remote TAP modem (Sprint and Verizon), so we can send pages about our hosting infrastructure without using the internet connection. Recently it started failing consistently with timeout to connect. I first suspected the remote modem (Sprint), but found I got the same result with other carriers. (And Sprint denied a problem on their end). I have since tried a whole battery of approaches including having the phone line checked by the local phone company, trying a different modem and trying a different phone cord. Trying a new modem (US Robotics external 56k serial modem) did help slightly. With it, we consistently connnect, but then after a short pause the connection is dropped. This is easily reproduced in minicom: (Using the Sprint TAP modem number here). ATDT18886561727 CONNECT 31200/ARQ/V34/LAPM/V42BIS NO CARRIER I'm out of ideas here. This phone line is only used for this outbound service, although our alarm system also uses it for outbound alerts. Any suggestions for possible causes or further troubleshooting approaches are appreciated. Does that modem support Unimodem Diagnostics? What do you get from a '#UD' command right after the failed connection attempt? Bob McConnell ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Queuing and Prioritization with PF
On Thu, 5 Jun 2008 21:07:49 -0400 Schiz0 [EMAIL PROTECTED] wrote: Hey, I have pf running as the firewall on a web and IRC box. I'd like to setup a bit of prioritization. I want ssh to be a higher priority than any other traffic. I've read up on Class Based Queuing and Priority Queuing. If I understand it correctly, priority queuing will transfer ALL packets with higher priority before ANY of the lower-priority packets. So if I'm transferring a file via SCP, all other traffic will stop until the transfer is complete? I don't want other traffic to stop completely, I just want ssh to have a higher priority. Should I use class-based then? Possibly, but from what you have said I think you can get away with priority queueing using TOS. ALTQ allows you to specify two queues per rule. The first is for normal traffic, and the second is for empty acks and packets with a low-delay TOS. If you specify the same two queues for all TCP traffic then you should get prioritization for interactive SSH, but not SCP. Take a look at pf.conf(5) for examples. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: outbound serial modem now times out or drops connection
Trying a new modem (US Robotics external 56k serial modem) did help slightly. With it, we consistently connnect, but then after a short pause the connection is dropped. This is easily reproduced in minicom: (Using the Sprint TAP modem number here). ATDT18886561727 CONNECT 31200/ARQ/V34/LAPM/V42BIS NO CARRIER I'm out of ideas here. This phone line is only used for this outbound service, although our alarm system also uses it for outbound alerts. Any suggestions for possible causes or further troubleshooting approaches are appreciated. Does that modem support Unimodem Diagnostics? What do you get from a '#UD' command right after the failed connection attempt? Bob, Thanks for the response! I tried that with Minicom, and the prompt just goes back to the hover over the # sounds and sits there. From some quick Google searches, I didn't find any mentions of this modem supporting that. I'm also not familiar with the details of the TAP protocol. After the CONNECT, who should speak next? From looking at the qpage source code, it looks like we might be waiting for ID= to sent from the remote end, and it is not. That would make me suspect the remote end, except that multiple remote modems are responding the same way. Mark ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Lead-Gen Help
On Thu, Jun 05, 2008 at 10:45:59PM -0700, Phil Dunn wrote: Hi Wilko, Do you know who handles creative production for marketing documents at The FreeBSD Project? We help companies drive sales with lead-generation pieces like case studies, brochures and white papers. Our rates are reasonable and clients recover costs quickly with just a couple of initial sales. You should learn about FreeBSD a little before you try selling something to it. FreeBSD is as its name says - Free. There are no sales. There is no income and no marketing budget. Sending uninformed cold-letters will get you nowhere. At least look at the home page first. jerry ? Low up-front costs ? High ROI ? Direct-response campaigns ? SEO and SEM services ? Flat fee, hourly or performance-based pricing Any help you can offer is much appreciated. A name, an email contact or a forward would be great. Thanks, Phil Clients include NetApp, D-Link, Toshiba Medical, Hewlett Packard, Computer Associates, Software AG, Global Crossing, and many others. When you find a reliable, experienced freelance writer like QualityWriter, it's often cheaper, quicker and less complicated than doing it in-house. Wona Chung Marketing Director DemandTec Phil Dunn - (949) 515-3510 QualityWriter Marketing, Writing, SEO, SEM http://www.qualitywriter.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: outbound serial modem now times out or drops connection
From: Mark Stosberg: Trying a new modem (US Robotics external 56k serial modem) did help slightly. With it, we consistently connnect, but then after a short pause the connection is dropped. This is easily reproduced in minicom: (Using the Sprint TAP modem number here). ATDT18886561727 CONNECT 31200/ARQ/V34/LAPM/V42BIS NO CARRIER I'm out of ideas here. This phone line is only used for this outbound service, although our alarm system also uses it for outbound alerts. Any suggestions for possible causes or further troubleshooting approaches are appreciated. Does that modem support Unimodem Diagnostics? What do you get from a '#UD' command right after the failed connection attempt? Bob, Thanks for the response! I tried that with Minicom, and the prompt just goes back to the hover over the # sounds and sits there. From some quick Google searches, I didn't find any mentions of this modem supporting that. I'm also not familiar with the details of the TAP protocol. After the CONNECT, who should speak next? From looking at the qpage source code, it looks like we might be waiting for ID= to sent from the remote end, and it is not. That would make me suspect the remote end, except that multiple remote modems are responding the same way. Mark Mark, The only tap I am familiar with is /dev/tap virtual Ethernet device, as I am currently working on a project that makes use of this interface. Since you get the connect message from your modem, they were able to negotiate a reliable connection. So you have to assume that you do not have any phone line issues. Then it becomes a matter of seeing the correct handshake sequence between the two systems. I would expect the answering system to start that conversation. The NO CARRIER message suggests that the other end dropped the connection, or hung up on you instead of sending the opening message. That should be worth filing a trouble report. Is it possible that those serial ports have been disabled, or that process has been shut down? It is possible the process died without disabling the auto-answer status of the modem. Some of those modems are just too smart for their own good. Please do not CC me on this thread. I can read it just fine from the list. Bob McConnell ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HylaFAX in FreeBSD jail?
AFAIK all special hylafax needs is serial port acces for modem. you have to use #jail_example_devfs_ruleset=ruleset_name # devfs ruleset to apply to jail in rc.conf and make rule for devfs for your jail - like normal jail rule+needed serial port. On Thu, 5 Jun 2008, Nejc Škoberne wrote: Hello, anyone tried running HylaFAX in a FreeBSD jail? Does it work? Thanks, Nejc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Denyhost
At 10:56 PM 6/5/2008, Frank Shute wrote: On Thu, Jun 05, 2008 at 06:19:26PM -0500, Derek Ragona wrote: At 04:36 PM 6/5/2008, Andrea Venturoli wrote: Anyone using this? I've used it for a long time on a 6.x box and it worked fine. Recently I had to deactivate it since it seems to lock away every IP which is listed in the logs. Any hint? bye Thanks av. I believe denyhost has been deprecated. I use /etc/hosts.allow which works fine and combines both allow and deny functions in one configuration file. -Derek Derek, I think Andrea meant the port security/denyhosts which monitors your ssh port and adds dodgy IPs which attack 22 to hosts.allow (I think - I haven't used it yet). Are you thinking of hosts.deny? Yes I was, sorry for my mistake. -Derek I guess you can configure it as to how it blocks the IPs. Andrea, have a look at hosts.allow to see how it's blocking those IPs and you should be able to remove them or relax the rules. You have to give inetd a HUP to reread hosts.allow. HTH. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 6.3 to 7.0 STABLE upgrade buildworld failures
Can we no longer use make buildworld to upgrade from source builds? Everytime I've tried, I get build errors. I've gotten the impression from a few things I've read that freebsd-update is suppose to be used. I don't want a binary install/upgrade though. I've just sync from CVS with this in the config: well i exactly upgraded this way. no errors. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 6.3 to 7.0 STABLE upgrade buildworld failures
Wojciech Puchar wrote: Can we no longer use make buildworld to upgrade from source builds? Everytime I've tried, I get build errors. I've gotten the impression from a few things I've read that freebsd-update is suppose to be used. I don't want a binary install/upgrade though. I've just sync from CVS with this in the config: well i exactly upgraded this way. no errors. ___ same here. no errors on a few boxes. do you have extra stuff in your make.conf file? if so, comment them out and try again ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 6.3 to 7.0 STABLE upgrade buildworld failures
The problem was not building TOOLCHAIN. So I was not making the includes everything else needed. As of now, upgraded and running merrily. Although, I am having issues with the named rc control script. :-\ Casey - Eric Zimmerman [EMAIL PROTECTED] wrote: Wojciech Puchar wrote: Can we no longer use make buildworld to upgrade from source builds? Everytime I've tried, I get build errors. I've gotten the impression from a few things I've read that freebsd-update is suppose to be used. I don't want a binary install/upgrade though. I've just sync from CVS with this in the config: well i exactly upgraded this way. no errors. ___ same here. no errors on a few boxes. do you have extra stuff in your make.conf file? if so, comment them out and try again ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Hi
Hi, I have just purchased a new Dell Server, to run with Plesk. I have just moved from an Apple XServe and seeing that OS X derived from FreeBSD, I felt that it was the best choice to start with. My only dilemma is, I am wanting to run the system in 64-bit, with using the Intel Quad 2.5Ghz Xeon, but I am unsure as to which version I should be downloading. For plesk, I need to use version 6.1 and had read somewhere that I would use the AMD 64-bit version, can you confirm if this is correct for an Intel processor? Many Thanks Justin Archer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to get best results from FreeBSD-questions
How to get the best results from FreeBSD questions. === Last update $Date: 2005/08/10 02:21:44 $ This is a regular posting to the FreeBSD questions mailing list. If you got it in answer to a message you sent, it means that the sender thinks that at least one of the following things was wrong with your message: - You left out a subject line, or the subject line was not appropriate. - You formatted it in such a way that it was difficult to read. - You asked more than one unrelated question in one message. - You sent out a message with an incorrect date, time or time zone. - You sent out the same message more than once. - You sent an 'unsubscribe' message to FreeBSD-questions. If you have done any of these things, there is a good chance that you will get more than one copy of this message from different people. Read on, and your next message will be more successful. This document is also available on the web at http://www.lemis.com/questions.html. = Contents: I:Introduction II: How to unsubscribe from FreeBSD-questions III: Should I ask -questions or -hackers? IV: How to submit a question to FreeBSD-questions V:How to answer a question to FreeBSD-questions I: Introduction === This is a regular posting aimed to help both those seeking advice from FreeBSD-questions (the newcomers), and also those who answer the questions (the hackers). Note that the term hacker has nothing to do with breaking into other people's computers. The correct term for the latter activity is cracker, but the popular press hasn't found out yet. The FreeBSD hackers disapprove strongly of cracking security, and have nothing to do with it. In the past, there has been some friction which stems from the different viewpoints of the two groups. The newcomers accused the hackers of being arrogant, stuck-up, and unhelpful, while the hackers accused the newcomers of being stupid, unable to read plain English, and expecting everything to be handed to them on a silver platter. Of course, there's an element of truth in both these claims, but for the most part these viewpoints come from a sense of frustration. In this document, I'd like to do something to relieve this frustration and help everybody get better results from FreeBSD-questions. In the following section, I recommend how to submit a question; after that, we'll look at how to answer one. II: How to unsubscribe from FreeBSD-questions == When you subscribed to FreeBSD-questions, you got a welcome message from [EMAIL PROTECTED] In this message, amongst other things, it told you how to unsubscribe. Here's a typical message: Welcome to the freebsd-questions@freebsd.org mailing list! If you ever want to unsubscribe or change your options (eg, switch to or from digest mode, change your password, etc.), visit your subscription page at: http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED] (obviously, substitute your mail address for [EMAIL PROTECTED]). You can also make such adjustments via email by sending a message to: [EMAIL PROTECTED] with the word 'help' in the subject or body (don't include the quotes), and you will get back a message with instructions. You must know your password to change your options (including changing the password, itself) or to unsubscribe. Normally, Mailman will remind you of your freebsd.org mailing list passwords once every month, although you can disable this if you prefer. This reminder will also include instructions on how to unsubscribe or change your account options. There is also a button on your options page that will email your current password to you. Here's the general information for the list you've subscribed to, in case you don't already have it: FREEBSD-QUESTIONS User questions This is the mailing list for questions about FreeBSD. You should not send how to questions to the technical lists unless you consider the question to be pretty technical. Normally, unsubscribing is even simpler than the message suggests: you don't need to specify your mail ID unless it is different from the one which you specified when you subscribed. If Majordomo replies and tells you (incorrectly) that you're not on the list, this may mean one of two things: 1. You have changed your mail ID since you subscribed. That's where keeping the original message from majordomo comes in handy. For example, the sample message above shows my mail ID as [EMAIL PROTECTED] Since then, I have changed it to [EMAIL PROTECTED] If I were to try to remove [EMAIL PROTECTED] from the list, it would fail: I would have to specify the name with which I joined. 2. You're subscribed to a mailing list which is subscribed to
The Complete FreeBSD: errata and addenda
The trouble with books is that you can't update them the way you can a web page or any other online documentation. The result is that most leading edge computer books are out of date almost before they are printed. Unfortunately, The Complete FreeBSD, published by O'Reilly, is no exception. Inevitably, a number of bugs and changes have surfaced. The Complete FreeBSD has been through a total of five editions, including its predecessor Installing and Running FreeBSD. Two of these have been reprinted with corrections. I maintain a series of errata pages. Start at http://www.lemis.com/errata-4.html to find out how to get the errata information. Note also that the book has now been released for free download in PDF form. Instead of downloading the changed pages, you may prefer to download the entire book. See http://www.lemis.com/grog/Documentation/CFBSD/ for more information. Have you found a problem with the book, or maybe something confusing? Please let me know: I'm no longer constantly updating it, but I may be able to help Greg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: appropriate 64 bit version?
Justin Archer [EMAIL PROTECTED] wrote: Hi, I have just purchased a new Dell Server, to run with Plesk. I have just moved from an Apple XServe and seeing that OS X derived from FreeBSD, I felt that it was the best choice to start with. My only dilemma is, I am wanting to run the system in 64-bit, with using the Intel Quad 2.5Ghz Xeon, but I am unsure as to which version I should be downloading. For plesk, I need to use version 6.1 and had read somewhere that I would use the AMD 64-bit version, can you confirm if this is correct for an Intel processor? A descriptive subject line generally makes for more responses on mailing lists. The amd64 spec is the same as the EM64T spec that Intel uses. Thus the amd64 version of FreeBSD will work correctly on Intel Xeon CPUs. The version is called amd64 because AMD published their spec first. (FYI) -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
change the file date and time
Dear Sirs 1. How to mount Sony Ericsson k750i mobile phone with FreeBSD 7.0 ? 2. How to change automatically the file attributes (for example 'date') of large number of files? For example: I have taken many photos with my Sony Ericsson k750i mobile phone and the exact time end date is accessible (e.g. through F3 of the midnight commander), but very often when copying the jpg's the file attributes change. Best regards, G.Tyuliev ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Input method doesn't work with QT applications. Anyone able to type Chinese into QT apps?
When I am trying to type Chinese characters I can only do this from GTK applications. Input method doesn't work QT applications for me. I have the following in my .xinitrc: export XMODIFIERS='@im=gcin' export GTK_IM_MODULE=gcin export QT_IM_MODULE=gcin I have zh-gcin-1.4.0_1 installed and start it with 'gcin '. In GTK apps Alt-Space creates the prompt windows. And in any QT apps -- no such box is popping up. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
rc.d/named
I have quite a bit of trouble with the /etc/rc.d/named script. The source of the biggest issue was the rc_run_command was not issuing the run command with /usr/sbin/named. It was just running the arguments w/o the executable. e.g. -t /var/named vs. /usr/sbin/named -t /var/named I have the stock /etc/defaults/rc.conf, and the only thin in /etc/rc.conf related to named is a correction to the chroot directory... For the time being that issue has been resolve by hacking the rc.conf to issue the executable where the flags are specified. However, when issuing /etc/rc.d/named I get: named not running? (check /var/run/named/pid). /var/run/named/pid contains the correct PID, and has permissions: lrwxr-xr-x 1 root bind Anyone else having trouble with this? None of the other init scripts are having problems. TIA, Casey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dump and remote file fetching
Zbigniew Szalbot wrote: Hello, Need a word of advice. I use dump to backup my data. All fine. Dump saves compressed *.bz2 files. Nice. All I need now is a way to copy them from the server to a remote backup machine. The problem I am facing is that bz2 files are owned by root:wheel. So if I use scp [EMAIL PROTECTED]:/path/to/*.bz2, it does not have sufficient permissions to fetch the files. I can use sudo, but then I need to interactively type the password, which I would like to avoid. Add user user to a group xyz. Arrange for dump files to get group xyz and permissions g+w. You can probably do this by changing the group of the directory the dumps are written into and setting the sticky bit. Can you suggest simple ways of getting around this? I don't mind using special tools for the job, especially if they are not too complicated... :) Before firing this email off I took a look at rsync and it seems easy enough to do just what I need but still many thanks for suggestions! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
vmware timekeeping
I'm running FreeBSD 6.3-release as a guest on VMware ESX 3.0.2. My problem is that the clock keeps *gaining* time. I have the timesync option turned on in ESX's .vmx file, and I have hint.apic.0.disabled=1 in my FreeBSD guest's /boot/loader.conf. I used to have kern.hz=100 in loader.conf, but that caused the guest to gain time even faster. Does anyone have a good recipe for decent timekeeping in this config? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: change the file date and time
On Fri, Jun 06, 2008, Georgi Tyuliev wrote: Dear Sirs 1. How to mount Sony Ericsson k750i mobile phone with FreeBSD 7.0 ? 2. How to change automatically the file attributes (for example 'date') of large number of files? For example: I have taken many photos with my Sony Ericsson k750i mobile phone and the exact time end date is accessible (e.g. through F3 of the midnight commander), but very often when copying the jpg's the file attributes change. man utime man touch You can set the access and modification times of any file or directory directly with the utime(2) system call. This can be done from scripting languages such as python or perl, without having to write C programs. The ``touch'' command can change the modification times from any shell program, which may be all you need. Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax:(206) 232-9186 Intaxication: Euphoria at getting a refund from the IRS, which lasts until you realize it was your money to start with. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vmware timekeeping
At 03:23 p.m. 06/06/2008, you wrote: I'm running FreeBSD 6.3-release as a guest on VMware ESX 3.0.2. My problem is that the clock keeps *gaining* time. I have the timesync option turned on in ESX's .vmx file, and I have hint.apic.0.disabled=1 in my FreeBSD guest's /boot/loader.conf. I used to have kern.hz=100 in loader.conf, but that caused the guest to gain time even faster. Does anyone have a good recipe for decent timekeeping in this config? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Hello all. Here is something similar. Running 6.2 stable... but the clock lose around 6 hours each day JB ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: appropriate 64 bit version?
The version is called amd64 because AMD published their spec first. (FYI) the thing I have actually wondered is why i386 and amd64 are used as the naming convention instead of x86 and x86-64 or x64 -Sean ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mpd limited connections
Hi all. I have very strange problem as for me. FreeBSD 6.3. mpd5. it is configured to server standard pptp requests. Everybody listed in mpd.secret can connect with no problems. But... But only till ng13 is created. After connecting 14 users nobody can connect anymore... If somebody dissconects new user can login. But never more than 14 users ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: vmware timekeeping
Date: Fri, 6 Jun 2008 15:48:46 -0500 To: freebsd-questions@freebsd.org From: [EMAIL PROTECTED] Subject: Re: vmware timekeeping At 03:23 p.m. 06/06/2008, you wrote: I'm running FreeBSD 6.3-release as a guest on VMware ESX 3.0.2. My problem is that the clock keeps *gaining* time. I have the timesync option turned on in ESX's .vmx file, and I have hint.apic.0.disabled=1 in my FreeBSD guest's /boot/loader.conf. I used to have kern.hz=100 in loader.conf, but that caused the guest to gain time even faster. Does anyone have a good recipe for decent timekeeping in this config? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Hello all. Here is something similar. Running 6.2 stable... but the clock lose around 6 hours each day JB The only good way of keeping time pretty set is to set up an NTP sync on the image to go off at decently constant rate (once every 3 hours or so). the vmware-tools will not synchronize the system clock. I heard of someone trying to change the clock in BSD to only use the hardware clock as VMWare can reset that but never heard anything beyond that. -Sean___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
massive ports update
Why did ~5k ports change in the last 24 hours? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: appropriate 64 bit version?
On Fri, Jun 06, 2008 at 05:13:16PM -0400, Sean Cavanaugh wrote: The version is called amd64 because AMD published their spec first. (FYI) the thing I have actually wondered is why i386 and amd64 are used as the naming convention instead of x86 and x86-64 or x64 Just because someone thought of that at the time they were naming it. Actually, I think there was some thought that and64 and the Intel attempt would actually be different and so needed distinguishing. But, apparently the Intel differences didn't hold enough sway in the market place. jerry -Sean ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: massive ports update
Maybe it's because gettext got updated and it's required to rebuild all ports that depend on it? See /usr/ports/UPDATING. Really I'm just guessing here. On Fri, Jun 6, 2008 at 2:49 PM, Joachim Rosenfeld [EMAIL PROTECTED] wrote: Why did ~5k ports change in the last 24 hours? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
amule crash
Hi, my amule (freebsd 7.0/i386) crash regularly due to: pid 2032 (amule), uid 1001, was killed: out of swap space how does this happen? and how to fix this?? thanks!! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: massive ports update
In UPDATING it says : Given the scope and sheer number of dependent ports, it may be more advisable to simply blow away all existing install ports (after keeping any local configuration changes), and rebuilding from scratch. I'm wondering just how many ports the author of that statement has. I have a few to say the least. Actually a few hundred. Ok, well, 1102 to be a bit more specific Blow away and re-install 1102 ports? For real? Tuc Maybe it's because gettext got updated and it's required to rebuild all ports that depend on it? See /usr/ports/UPDATING. Really I'm just guessing here. On Fri, Jun 6, 2008 at 2:49 PM, Joachim Rosenfeld [EMAIL PROTECTED] wrote: Why did ~5k ports change in the last 24 hours? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: massive ports update
Looks like most of them are Bump portrevision due to upgrade of devel/gettext. Joachim Rosenfeld wrote: Why did ~5k ports change in the last 24 hours? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- -- [ Queldor ] (Warning: This message may cause you to understand something) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rc.d/named
At 02:19 PM 6/6/2008, Casey Scott wrote: I have quite a bit of trouble with the /etc/rc.d/named script. The source of the biggest issue was the rc_run_command was not issuing the run command with /usr/sbin/named. It was just running the arguments w/o the executable. e.g. -t /var/named vs. /usr/sbin/named -t /var/named I have the stock /etc/defaults/rc.conf, and the only thin in /etc/rc.conf related to named is a correction to the chroot directory... For the time being that issue has been resolve by hacking the rc.conf to issue the executable where the flags are specified. However, when issuing /etc/rc.d/named I get: named not running? (check /var/run/named/pid). /var/run/named/pid contains the correct PID, and has permissions: lrwxr-xr-x 1 root bind Anyone else having trouble with this? None of the other init scripts are having problems. You need to set: named_chroot_autoupdate named_chrootdir named_flags and possibly: named_uid in /etc/rc.conf I have all of these values set. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Best solution - mobile wifi hotspot
Jim Stapleton wrote: On Fri, May 30, 2008 at 1:52 PM, Chris Whitehouse [EMAIL PROTECTED] wrote: Jim Stapleton wrote: My dad makes instruments and goes to a lot of festivals. They are typically in the middle of nowhere, without internet. Many vendors still bring notebooks as they provide quick easy access to many things, but there is no internet. For credit cards, many use their cell phones to make the transaction. My dad wants to get a satellite connection (pure sattelite, no phone), and set up something to offer a wireless hotspot. - Some shows will just pay a flat fee, and have the hotspot open. - Some shows won't pay a fee, and so he'll want to charge to recover some of the cost. For the open hotspots, a simple wireless router will do. For the charge hotspots, we'd want something a little more flexible. My first thought was 'FreeBSD can do that!'. The trick is that we will be using battery power most of the time. Low power is the key. I'm thinknig sub-20W max power drain worst case, SUB 10-15W is ideal. With that background info, my questions are: 1) Is building a low power computer based on FreeBSD the right way to go? Or would you all recommend something else? What? 2) Does anyone have experience with the GeodeNX or VIA C7 boards available on NewEgg? Heads ups and pointers? 3) Does anyone have experiences with these and a given wireless adaptor, How good/bad is/was it? Thanks, -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] This particular wheel has already been invented several ways :) http://psand.net/ https://en.wiki.aktivix.org/SquatTelecoms Well, my dad wants to provide something for cheaper than hiring a third-party vendor to come out into the middle of nowhere and do this (amongst other things, since he's out there, he doesn't have to use hundreds of miles of gas + extra man hours). I think it is worth contacting psands to see if they will help with info, or you could go to a festival they are at and talk to them. As for the second, that seems to be 'how to get an ISP', which he already has researched, he is more looking to /be/ the ISP. plus a bunch more about technology... To keep power down you probably want to opt for a dedicated wireless router box not a computer (unless you are also saving bandwidth with squid etc). And to generate electricity use wind or solar. Do you know of a wireless router that can provide individual user authentication, without requiring a complex setup? Some places may not want to pay for the internet connection, so he'll need to 'rent out' connection bandwidth to other vendors. Sorry I don't know a specific model. I'm sure you already know it just means search engines and reading detailed specs. Out of curiosity what country are you in and what sort of festivals will you be providing the service at? I believe psands support events where they like what they are doing in addition to their commercial services. This is getting a bit OT so email me off list if you like. Chris Thanks, -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hi
On Fri, 6 Jun 2008, Justin Archer wrote: Hi, I have just purchased a new Dell Server, to run with Plesk. I have just moved from an Apple XServe and seeing that OS X derived from FreeBSD, I felt that it was the best choice to start with. My only dilemma is, I am wanting to run the system in 64-bit, with using the Intel Quad 2.5Ghz Xeon, but I am unsure as to which version I should be downloading. For plesk, I need to use version 6.1 and had read somewhere that I would use the AMD 64-bit version, can you confirm if this is correct for an Intel processor? Justin, Yes, you want amd64 if this is a modern 64-bit Intel CPU. As was pointed out recently when someone asked more or less the same question, the amd refers to the architecture, not the chip manufacturer. I know nothing about plesk, but are you sure you *must* have 6.1? The legacy production release is now at 6.3. I've never built a 64-bit machine, but given the present situation I'd absolutely go with 7.0 for a new install, at least for a 32-bit system. A note, if I may. I have been on this list for many years and can say without hesitation that you're unlikely to get an answer when your subject line reads Hi. You may want to repost with a subject line that more accurately describes your question. HTH. -- Chris Hill [EMAIL PROTECTED] ** [ Busy Expunging | ] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
stunnel not running? (check /var/run/stunnel/stunnel.pid)
Okay I am not understanding something with stunnel. it appears that stunnel cant start because it cant create a pid file. It happens every time I upgrade it. # /usr/local/etc/rc.d/stunnel restart stunnel not running? (check /var/run/stunnel/stunnel.pid). Starting stunnel. # /usr/local/etc/rc.d/stunnel restart stunnel not running? (check /var/run/stunnel/stunnel.pid). Starting stunnel. # Anybody help me understand things here. so here is the relevent output which I can provide some clues. # ls -ld /var/run/stunnel/ drwxrwxr-x 2 stunnel stunnel 512 Jun 5 14:28 /var/run/stunnel/ # cat /usr/local/etc/stunnel/stunnel.conf # Sample stunnel configuration file # Copyright by Michal Trojnara 2002 # Comment it out on Win32 cert = /usr/local/etc/stunnel/mail.pem chroot = /var/run/stunnel #chroot = /var/run # PID is created inside chroot jail pid = /stunnel.pid setuid = stunnel setgid = stunnel # grep stunnel /etc/rc.conf stunnel_enable=YES # cat /usr/local/etc/rc.d/stunnel #!/bin/sh # # $FreeBSD: ports/security/stunnel/files/stunnel.in,v 1.9 2008/01/26 14:18:12 roam Exp $ # # PROVIDE: stunnel # REQUIRE: NETWORKING SERVERS # BEFORE: DAEMON # KEYWORD: shutdown # # Add some of the following variables to /etc/rc.conf to configure stunnel: # stunnel_enable (bool):Set to NO by default. # Set it to YES to enable stunnel. # stunnel_config (str): Default /usr/local/etc/stunnel/stunnel.conf # Set it to the full path to the config file # that stunnel will use during the automated # start-up. # stunnel_pidfile (str):Default /usr/local/var/stunnel/stunnel.pid # Set it to the value of 'pid' in # the stunnel.conf file. # . /etc/rc.subr name=stunnel rcvar=`set_rcvar` load_rc_config $name : ${stunnel_enable=NO} : ${stunnel_config=/usr/local/etc/stunnel/${name}.conf} : ${stunnel_pidfile=/var/run/stunnel/${name}.pid} command=/usr/local/bin/stunnel command_args=${stunnel_config} pidfile=${stunnel_pidfile} required_files=${stunnel_config} run_rc_command $1 -- any ideas? Cheers, Noah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: change the file date and time
On Fri, Jun 06, 2008 at 08:25:41PM +0300, Georgi Tyuliev wrote: Dear Sirs 1. How to mount Sony Ericsson k750i mobile phone with FreeBSD 7.0 ? Plug it in and see what shows up in /var/log/messages. Then read the handbook: http://www3.uk.freebsd.org/doc/en_US.ISO8859-1/books/handbook/usb-disks.html 2. How to change automatically the file attributes (for example 'date') of large number of files? For example: I have taken many photos with my Sony Ericsson k750i mobile phone and the exact time end date is accessible (e.g. through F3 of the midnight commander), but very often when copying the jpg's the file attributes change. If you're lucky, the jpg's will contain exif info which if the phone's time date is set will tell you when the picture was taken amongst other things. This is more reliable than depending on file date. Here's a quick dirty perl script (called picinfo) that I used to get this data (modify at your will): #!/usr/bin/perl -w # # Print tab delimited exif data from an image file suitable for # insertion into a DB. # # Takes file as arg. # # Usage example: # # $ for file in $(ls | grep 'jpg');do # $ picinfo $file ~/data.txt # $ done use Image::Info qw(image_info); # Get exif data as a hash my $info = image_info($ARGV[0]); # Pic mangled or exif data doesn't exist if (my $error = $info-{error}) { die Can't parse image info: $error\n; } # Get data from hash my $my_date = $info-{DateTimeOriginal}; # iso format date/time. my $my_exptime = $info-{ExposureTime}; # reciprocal of speed in secs # as a rational no. my $my_fstop = $info-{FNumber}; # fstop as a rational no. my $my_asa = $info-{ISOSpeedRatings};# ASA # Grab date my $the_date = substr($my_date, 0, 10); # Grab time my $the_time = substr($my_date, -8); # Doh! Camera date/time not set. if ($the_date eq :00:00) { $the_date = N/K; } if ($the_time eq 00:00:00) { $the_time = N/K; } # Call sub-funcs $my_fstop = fstop(); $my_exptime = speed(); print $ARGV[0]\t$the_date\t$the_time\t$my_exptime\tF$my_fstop\t$my_asa\n; ###___SUBS___### sub fstop{ $my_fstop =~ s/\/10//; $my_fstop = $my_fstop/10; return $my_fstop; } sub speed{ my $divisor = $my_exptime; my $numerator = $my_exptime; $divisor =~ s/[0-9]+\/([0-9]+)/$1/; $numerator =~ s/([0-9]+)\/[0-9]+/$1/; #print divisor = $divisor\n; #print num = $numerator\n; $my_exptime = $numerator/$divisor; # Calc exposure in decimal my $exposure = 0; # Horrendous case statement. Is there a better way to do this? SWITCH: { if ($my_exptime = 0.00033) { $exposure = 1/3000; last SWITCH; } if ($my_exptime = 0.0005) { $exposure = 1/2000; last SWITCH; } if ($my_exptime = 0.001) { $exposure = 1/1000; last SWITCH; } if ($my_exptime = 0.00125) { $exposure = 1/800; last SWITCH; } if ($my_exptime = 0.00167) { $exposure = 1/600; last SWITCH; } if ($my_exptime = 0.002) { $exposure = 1/500; last SWITCH; } if ($my_exptime = 0.0025) { $exposure = 1/400; last SWITCH; } if ($my_exptime = 0.0033) { $exposure = 1/300; last SWITCH; } if ($my_exptime = 0.005) { $exposure = 1/200; last SWITCH; } if ($my_exptime = 0.01) { $exposure = 1/100; last SWITCH; } if ($my_exptime = 0.0167) { $exposure = 1/60; last SWITCH; } if ($my_exptime = 0.033) { $exposure = 1/30; last SWITCH; } if ($my_exptime = 0.05) { $exposure = 1/20; last SWITCH; } if ($my_exptime = 0.0625) { $exposure = 1/16; last SWITCH; } if ($my_exptime = 0.125) { $exposure = 1/8; last SWITCH; } if ($my_exptime = 0.25) { $exposure = 1/4; last SWITCH; } if ($my_exptime = 0.5) { $exposure = 1/2; last SWITCH; } if ($my_exptime = 1) { $exposure = 1; last SWITCH; } if ($my_exptime = 2) { $exposure = 2; last SWITCH; } $exposure = 2; } return $exposure; } Last time I used it, it worked. You'll have to
Re: amule crash
2008/6/7 Tsu-Fan Cheng [EMAIL PROTECTED]: Hi, my amule (freebsd 7.0/i386) crash regularly due to: pid 2032 (amule), uid 1001, was killed: out of swap space ^^ % df -h, watch and see, your swap is out of space bigger swap space or not down too much. Regards, jyuny1 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]