FreeBSD 9.2-RELEASE doesn't correctly detect USB mouse/keyboard
I am running vanilla 9.2-RELEASE on an HP Z230. Strangely, my USB keyboard and mouse don't work. When I attach, here is what shows: Oct 11 12:36:39 waridi kernel: usb_alloc_device: device init 2 failed (USB_ERR_IOERROR, ignored) Oct 11 12:36:39 waridi kernel: ugen0.2: Unknown at usbus0 (disconnected) Oct 11 12:36:39 waridi kernel: uhub_reattach_port: could not allocate new device Oct 11 12:36:48 waridi kernel: usb_alloc_device: device init 2 failed (USB_ERR_IOERROR, ignored) Oct 11 12:36:48 waridi kernel: ugen0.2: Unknown at usbus0 (disconnected) Oct 11 12:36:48 waridi kernel: uhub_reattach_port: could not allocate new device Oct 11 12:36:55 waridi kernel: usb_alloc_device: device init 2 failed (USB_ERR_IOERROR, ignored) Oct 11 12:36:55 waridi kernel: ugen0.2: Unknown at usbus0 (disconnected) Oct 11 12:36:55 waridi kernel: uhub_reattach_port: could not allocate new device $ uname -a FreeBSD waridi.kihingovillage.com 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013 r...@bake.isc.freebsd.org:/usr/obj /usr/src/sys/GENERIC amd64 I am wondering if there is something obvious I am missing? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 I can't hear you -- I'm using the scrambler. ___ 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: Since SquirrelMail Looks Like It Will Never Be Supported Again...
I have good experience with Group-office - http://sourceforge.net/projects/group-office/ and SOGo - http://www.sogo.nu/english.html Though you will need a MySQL backend for authentication. On 31 August 2013 00:20, Tim Daneliuk tun...@tundraware.com wrote: SquirrelMail seems to be forever on hold because of an incompatibility with PHP 5. So I am going to have to replace it as our Webmail interface. So, I'm looking for recommendation from the tribe here on what I should use instead: 1) Easy to use. Mostly this gets used by people when they are away from the office and then only occasionally. 2) It would be really nice if the program could import the Thunderbird Address Book. 3) Easy to install and maintain. TIA, --**--** Tim Daneliuk tun...@tundraware.com PGP Key: http://www.tundraware.com/PGP/ __**_ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-** unsubscr...@freebsd.org freebsd-questions-unsubscr...@freebsd.org -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 I can't hear you -- I'm using the scrambler. ___ 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: VPN where local private address collide
On 16 August 2013 20:17, Frank Leonhardt freebsd-...@fjl.co.uk wrote: Let's say we're using MPD on FreeBSD at both ends of a link here, using a VPN to connect two LANs. (The use of MPD is negotiable). One LAN uses the address range 192.168.1.0/24 and the other uses the address range, er, 192.168.1.0/24. However hard you try to avoid this, it's going to happen. Let's also assume there is no way either end can change its range. NO WAY. Just don't go there. Such a stupid statement. No private IP's are engraved in stone, esp a /24. How many days does it take you to reconfigure the hosts to connect to the shared resources - which is what I believe would make you say there is no way either end can change its range? It's a /24 and shared resources can be accessed by running an internal DNS server, for crying out loud! -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 I can't hear you -- I'm using the scrambler. ___ 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: Problems getting my Huawei 0x140b USB modem to speak to internet
In that case, try disabling the cdrom and see if you make headway. On 30 June 2013 13:29, Manish Jain bourne.ident...@hotmail.com wrote: Thanks for your help. But before I attempt disabling the cdrom, I would like to mention that I can already see the following devices (with corresponding .init and .lock files) : cuaU0.0 cuaU0.1 cuaU0.2 cuau0 I am almost certain that cuaU0.0 is the modem. I will try disabling the the cdrom and then switch mode. Thanks again Regards Manish Jain -- From: odhia...@gmail.com Date: Sun, 30 Jun 2013 11:45:11 +0300 Subject: Re: Problems getting my Huawei 0x140b USB modem to speak to internet To: bourne.ident...@hotmail.com Hi Manish, I seem to have missed the name - Huawei, sorry for that. Anyway, this should be easy to resolve - I suppose. With the virtual cd-rom (da0) presenting itself, FreeBSD will assume the modem is simply a mass storage device and leave it at that. You need to disable the virtual cd-rom in order to use the modem. Use Hyperterminal or putty or minicom (does it still exist?) to disable it. Here are the AT commands to do that: 1. To disable; AT^U2DIAG=0 2. To re-enable: AT^U2DIAG=1 After disabling, you should be able to see a device node for the modem - /dev/cuaU0.0 or something. They may be two devices or three. One of them is the modem And here is a ppp.conf which you can use - just change the APN (safaricom) to your provider's APN, change authname/authkey and also change the device to what you'll have gotten from /dev/ Hope that helps! u3g: set device /dev/cuaU0.0 set server /var/run/3g-internet 0177 set speed 921600 set timeout 0 set authname saf set authkey data set dial ABORT BUSY ABORT NO\\sTIMEOUT 2 \ \\ \ AT OK-AT-OK \ AT+CFUN=1 OK-AT-OK \ AT+CMEE=2 OK-AT-OK \ AT+CSQ OK \ AT+CGDCONT=1,\\\IP\\\,\\\*safaricom*\\\ OK \ ATD*99# CONNECT set crtscts on disable vjcomp disable acfcomp disable deflate disable deflate24 disable pred1 disable protocomp disable mppe disable ipv6cp disable lqr disable echo #nat enable yes enable dns resolv writable set dns 8.8.8.8 set ifaddr 10.1.0.2/0 10.1.0.1/0 255.255.255.255 0.0.0.0 add default HISADDR # See ppp.link* On 30 June 2013 01:00, Manish Jain bourne.ident...@hotmail.com wrote: Hi, I thought the manufacturer name was mentioned in the original message : Huawei (0x12d1). Underneath is an extract from /var/log/messages : Jun 29 23:03:57 bourne kernel: u3g0: Found 3 ports. Jun 29 23:03:57 bourne kernel: umass0: HUAWEI TECHNOLOGIES HUAWEI Mobile, class 0/0, rev 1.10/0.00, addr 2 on usbus1 Jun 29 23:03:57 bourne kernel: umass0: SCSI over Bulk-Only; quirks = 0x Jun 29 23:03:57 bourne kernel: umass0:0:0:-1: Attached to scbus0 Jun 29 23:03:57 bourne kernel: (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 Jun 29 23:03:57 bourne kernel: (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error Jun 29 23:03:57 bourne kernel: (probe0:umass-sim0:0:0:0): SCSI status: Check Condition Jun 29 23:03:57 bourne kernel: (probe0:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:28,0 (Not ready to ready change, medium may have changed) Jun 29 23:03:57 bourne kernel: cd0 at umass-sim0 bus 0 scbus0 target 0 lun 0 Jun 29 23:03:57 bourne kernel: cd0: HUAWEI Mass Storage 2.31 Removable CD-ROM SCSI-0 device Jun 29 23:03:57 bourne kernel: cd0: 1.000MB/s transfers Jun 29 23:03:57 bourne kernel: cd0: cd present [52352 x 2048 byte records] Jun 29 23:03:57 bourne kernel: da0 at umass-sim0 bus 0 scbus0 target 0 lun 1 Jun 29 23:03:57 bourne kernel: da0: HUAWEI SD Storage 2.31 Removable Direct Access SCSI-2 device Jun 29 23:03:57 bourne kernel: da0: 1.000MB/s transfers Jun 29 23:03:57 bourne kernel: da0: 7580MB (15523840 512 byte sectors: 255H 63S/T 966C) Regards, Manish Jain +91-88064-38388 On 30-Jun-13 00:41, Odhiambo Washington wrote: What is the manufacturer/model of the modem? Is it detected by FreeBSD? Please show the /var/log/message entry for it. I have never heard of usb_modeswitch.conf in FreeBSD! On 29 June 2013 20:53, Manish Jain bourne.ident...@hotmail.com mailto:bourne.identity@**hotmail.com bourne.ident...@hotmail.com wrote: Hello All, I have a a Huawei USB modem (product id 0x140b) which is connected to my PC. I downloaded and installed Draisberghof's usb_modeswitch. The following are the contents of my /etc/usb_modeswitch.conf : DisableSwitching=0 EnableLogging=1 DefaultVendor=0x12d1 DefaultProduct=0x140b TargetVendor=0x12d1 TargetProduct=0x1446 CheckSuccess=20 MessageEndpoint=0x0f MessageContent=__**555342431234567800**__** 1106200100**__00 When I run usb_modeswitch -c /etc/usb_modeswitch.conf, I get the following message : Looking for target devices
Re: Problems getting my Huawei 0x140b USB modem to speak to internet
Hi Manish, If you have a Windows PC, use putty.exe and point the config to the COM port on which the modem is detected to be attached to. That's how I do it, unfortunately. On 30 June 2013 16:51, Manish Jain bourne.ident...@hotmail.com wrote: Hello Odhiambo/All, I installed and ran minicom. There are 2 devices which are possible candidates as the modem : cuaU0.0 and cuaU0.2 I symlinked modem to each of the 2 devices and ran minicom. With both devices, the AT command returns OK, but AT^U2DIAG=0 returns COMMAND NOT SUPPORT Any tips on what to do next ? Thanks Regards, Manish Jain +91-88064-38388 On 30-Jun-13 17:30, freebsd-questions-request@**freebsd.orgfreebsd-questions-requ...@freebsd.orgwrote: Send freebsd-questions mailing list submissions to freebsd-questions@freebsd.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions or, via email, send a message with subject or body 'help' to freebsd-questions-request@**freebsd.orgfreebsd-questions-requ...@freebsd.org You can reach the person managing the list at freebsd-questions-owner@**freebsd.orgfreebsd-questions-ow...@freebsd.org When replying, please edit your Subject line so it is more specific than Re: Contents of freebsd-questions digest... Today's Topics: 1. question, following error Shared object libc.so.6 not found, required by fortune (Rev Herbert Miller) 2. Re: question, following error Shared object libc.so.6 not found, required by fortune (Polytropon) 3. ALT key problem with Virtual Box? (Scott Ballantyne) 4. Re: ALT key problem with Virtual Box? (Polytropon) 5. Problems getting my Huawei 0x140b USB modem to speak to internet (Manish Jain) 6. Re: ALT key problem with Virtual Box? (Scott Ballantyne) 7. Baker Invites freebsd-questions@freebsd.org to spend holiday in Goa (John Baker) 8. (Upali Kulasekara) 9. Re: your mail (Daniel Feenberg) 10. RE: Problems getting my Huawei 0x140b USB modem to speak to internet (Manish Jain) 11. Re: Problems getting my Huawei 0x140b USB modem to speak to internet (Odhiambo Washington) --**--** -- Message: 1 Date: Sat, 29 Jun 2013 10:48:38 -0400 From: Rev Herbert Miller herbertmil...@me.com To: questi...@freebsd.org Subject: question, following error Shared object libc.so.6 not found, required by fortune Message-ID: 650F01CA-F62F-49E7-957F-**9bfdc06d6...@me.com650f01ca-f62f-49e7-957f-9bfdc06d6...@me.com Content-Type: text/plain; charset=us-ascii I was trying to use the content management system for our website. I needed to restart on terminal but I keep coming up with the following error: I don't know programing at all, so don't know if this is something I can fix. Shared object libc.so.6 not found, required by fortune Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least one of these environment variable is needed to run this program root@psumc:/usr/local/tomcat5.**5 # bin/startup.sh Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least one of these environment variable is needed to run this program root@psumc:/usr/local/tomcat5.**5 # su -c 'killall -9 java' -- Message: 2 Date: Sat, 29 Jun 2013 17:58:31 +0200 From: Polytropon free...@edvax.de To: Rev Herbert Miller herbertmil...@me.com Cc: questi...@freebsd.org Subject: Re: question, following error Shared object libc.so.6 not found, required by fortune Message-ID: 20130629175831.b2bf7fcb.**free...@edvax.de20130629175831.b2bf7fcb.free...@edvax.de Content-Type: text/plain; charset=US-ASCII On Sat, 29 Jun 2013 10:48:38 -0400, Rev Herbert Miller wrote: I was trying to use the content management system for our website. I needed to restart on terminal but I keep coming up with the following error: I don't know programing at all, so don't know if this is something I can fix. In worst case, notify your system administrator. Shared object libc.so.6 not found, required by fortune This kind of error often indicates an incomplete system update were libraries are out of date or missing. What way of system update has been performed? root@psumc:/usr/local/tomcat5.**5 # bin/startup.sh Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least one of these environment variable is needed to run this program That can be a side effect, maybe some accidentally overwritten configuration file or a program that's unable to run due to a missing dependency? What happens if you manually define those variables to the proper valies and try again, e. g. # setenv JAVA_HOME=/usr/local/where your JAVA stuff
Re: Problems getting my Huawei 0x140b USB modem to speak to internet
What model of Huawei is the modem? E-what?? On 30 June 2013 19:23, Manish Jain bourne.ident...@hotmail.com wrote: Hello Odhiambo/All, I seem to have made some progress but final success still eludes me. With modem symlinked to cuaU0.0, this is what happens is minicom : AT^GETPORTMODE ^GETPORTMODE:TYPE:EV-DO:**Qualcomm,MDM:0,DIAG:1,PCUI:2,**CDROM:3 OK AT^SETPORT=A1;1,2,3 COMMAND NOT SUPPORT AT^GETPORTMODE succeeds, but with AT^U2DIAG/AT^SETPORT I get COMMAND NOT SUPPORT. So how to disable the CD mode and make FreeBSD treat it purely as a modem ? Some of the commands the modem supports (as reported by Windows' device manager) are as follows : ATQ0V1E0 - OK AT+GMM - EC156 AT+FCLASS=? - 0,2.0 AT#CLS=? - COMMAND NOT SUPPORT ^HRSSILVL:80 ^HDRRSSI: 31 ^HRSSILVL:60 ^HDRRSSI: 31 Thanks for any help. Regards, Manish Jain +91-88064-38388 On 30-Jun-13 19:41, Odhiambo Washington wrote: Hi Manish, If you have a Windows PC, use putty.exe and point the config to the COM port on which the modem is detected to be attached to. That's how I do it, unfortunately. On 30 June 2013 16:51, Manish Jain bourne.ident...@hotmail.com mailto:bourne.identity@**hotmail.com bourne.ident...@hotmail.com wrote: Hello Odhiambo/All, I installed and ran minicom. There are 2 devices which are possible candidates as the modem : cuaU0.0 and cuaU0.2 I symlinked modem to each of the 2 devices and ran minicom. With both devices, the AT command returns OK, but AT^U2DIAG=0 returns COMMAND NOT SUPPORT Any tips on what to do next ? Thanks Regards, Manish Jain +91-88064-38388 On 30-Jun-13 17:30, freebsd-questions-request@__fr**eebsd.orghttp://freebsd.org mailto:freebsd-questions-**requ...@freebsd.orgfreebsd-questions-requ...@freebsd.org wrote: Send freebsd-questions mailing list submissions to freebsd-questions@freebsd.org mailto:freebsd-questions@** freebsd.org freebsd-questions@freebsd.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.freebsd.org/__**mailman/listinfo/freebsd-__** questionshttp://lists.freebsd.org/__mailman/listinfo/freebsd-__questions http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions or, via email, send a message with subject or body 'help' to freebsd-questions-request@__fr**eebsd.org http://freebsd.org mailto:freebsd-questions-**requ...@freebsd.orgfreebsd-questions-requ...@freebsd.org You can reach the person managing the list at freebsd-questions-owner@__free**bsd.org http://freebsd.org mailto:freebsd-questions-**ow...@freebsd.orgfreebsd-questions-ow...@freebsd.org When replying, please edit your Subject line so it is more specific than Re: Contents of freebsd-questions digest... Today's Topics: 1. question, following error Shared object libc.so.6 not found, required by fortune (Rev Herbert Miller) 2. Re: question, following error Shared object libc.so.6 not found, required by fortune (Polytropon) 3. ALT key problem with Virtual Box? (Scott Ballantyne) 4. Re: ALT key problem with Virtual Box? (Polytropon) 5. Problems getting my Huawei 0x140b USB modem to speak to internet (Manish Jain) 6. Re: ALT key problem with Virtual Box? (Scott Ballantyne) 7. Baker Invites freebsd-questions@freebsd.org mailto:freebsd-questions@**freebsd.orgfreebsd-questions@freebsd.org to spend holiday in Goa (John Baker) 8. (Upali Kulasekara) 9. Re: your mail (Daniel Feenberg) 10. RE: Problems getting my Huawei 0x140b USB modem to speak to internet (Manish Jain) 11. Re: Problems getting my Huawei 0x140b USB modem to speak to internet (Odhiambo Washington) --**__** --__-- Message: 1 Date: Sat, 29 Jun 2013 10:48:38 -0400 From: Rev Herbert Miller herbertmil...@me.com mailto:herbertmil...@me.com To: questi...@freebsd.org Subject: question, following error Shared object libc.so.6 not found, required by fortune Message-ID: 650F01CA-F62F-49E7-957F-__**9bfdc06d6...@me.com650f01ca-f62f-49e7-957f-__9bfdc06d6...@me.com mailto:650F01CA-F62F-49E7-**957f-9bfdc06d6...@me.com650f01ca-f62f-49e7-957f-9bfdc06d6...@me.com Content-Type: text/plain; charset=us-ascii I was trying to use the content management system for our website. I needed to restart on terminal but I keep coming up with the following
Re: Problems getting my Huawei 0x140b USB modem to speak to internet
If the Huawei modem does not accept AT^U2DIAG=0, then I must say I have given up. That command has worked with all Huawei modems I have seen: E160, E1820, E1750, E173... On 30 June 2013 21:19, Manish Jain bourne.ident...@hotmail.com wrote: EC156 is what the label on the modem says, which is the response given by AT+GMM. 0x140b is the chipset. Regards, Manish Jain +91-88064-38388 On 30-Jun-13 22:02, Odhiambo Washington wrote: What model of Huawei is the modem? E-what?? On 30 June 2013 19:23, Manish Jain bourne.ident...@hotmail.com mailto:bourne.identity@**hotmail.com bourne.ident...@hotmail.com wrote: Hello Odhiambo/All, I seem to have made some progress but final success still eludes me. With modem symlinked to cuaU0.0, this is what happens is minicom : AT^GETPORTMODE ^GETPORTMODE:TYPE:EV-DO:__**Qualcomm,MDM:0,DIAG:1,PCUI:2,_**_CDROM:3 OK AT^SETPORT=A1;1,2,3 COMMAND NOT SUPPORT AT^GETPORTMODE succeeds, but with AT^U2DIAG/AT^SETPORT I get COMMAND NOT SUPPORT. So how to disable the CD mode and make FreeBSD treat it purely as a modem ? Some of the commands the modem supports (as reported by Windows' device manager) are as follows : ATQ0V1E0 - OK AT+GMM - EC156 AT+FCLASS=? - 0,2.0 AT#CLS=? - COMMAND NOT SUPPORT ^HRSSILVL:80 ^HDRRSSI: 31 ^HRSSILVL:60 ^HDRRSSI: 31 Thanks for any help. Regards, Manish Jain +91-88064-38388 On 30-Jun-13 19:41, Odhiambo Washington wrote: Hi Manish, If you have a Windows PC, use putty.exe and point the config to the COM port on which the modem is detected to be attached to. That's how I do it, unfortunately. On 30 June 2013 16:51, Manish Jain bourne.ident...@hotmail.com mailto:bourne.identity@**hotmail.combourne.ident...@hotmail.com mailto:bourne.identity@__hotm**ail.com http://hotmail.com mailto:bourne.identity@**hotmail.combourne.ident...@hotmail.com wrote: Hello Odhiambo/All, I installed and ran minicom. There are 2 devices which are possible candidates as the modem : cuaU0.0 and cuaU0.2 I symlinked modem to each of the 2 devices and ran minicom. With both devices, the AT command returns OK, but AT^U2DIAG=0 returns COMMAND NOT SUPPORT Any tips on what to do next ? Thanks Regards, Manish Jain +91-88064-38388 On 30-Jun-13 17:30, freebsd-questions-request@__fr**__eebsd.orghttp://fr__eebsd.org http://freebsd.org mailto:freebsd-questions-__**requ...@freebsd.orgfreebsd-questions-__requ...@freebsd.org mailto:freebsd-questions-**requ...@freebsd.orgfreebsd-questions-requ...@freebsd.org wrote: Send freebsd-questions mailing list submissions to freebsd-questions@freebsd.org mailto:freebsd-questions@**freebsd.orgfreebsd-questions@freebsd.org mailto:freebsd-questions@__fr**eebsd.org http://freebsd.org mailto:freebsd-questions@**freebsd.orgfreebsd-questions@freebsd.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.freebsd.org/**mailman/listinfo/freebsd-** questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions http://lists.freebsd.org/__**mailman/listinfo/freebsd-__** questionshttp://lists.freebsd.org/__mailman/listinfo/freebsd-__questions http://lists.freebsd.org/__**mailman/listinfo/freebsd-__** questionshttp://lists.freebsd.org/__mailman/listinfo/freebsd-__questions http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions or, via email, send a message with subject or body 'help' to freebsd-questions-request@__fr**__eebsd.orghttp://fr__eebsd.org http://freebsd.org mailto:freebsd-questions-__**requ...@freebsd.orgfreebsd-questions-__requ...@freebsd.org mailto:freebsd-questions-**requ...@freebsd.orgfreebsd-questions-requ...@freebsd.org You can reach the person managing the list at freebsd-questions-owner@__free**__bsd.orghttp://free__bsd.org http://freebsd.org mailto:freebsd-questions-__**ow...@freebsd.orgfreebsd-questions-__ow...@freebsd.org mailto:freebsd-questions-**ow...@freebsd.orgfreebsd-questions-ow...@freebsd.org When replying, please edit your Subject line so it is more specific than Re: Contents of freebsd-questions digest... Today's Topics: 1. question
Resolving conflict with libcrypto
I am stuck with the following and cannot figure out the resolution /usr/bin/ld: warning: libcrypto.so.6, needed by /usr/lib/libgssapi_krb5.so, may conflict with libcrypto.so.8 ../../lib/dns/libdns.a(gssapictx.o)(.text+0xabf): In function `dst_gssapi_initctx': : undefined reference to `__gss_spnego_mechanism_oid_desc' *** Error code 1 Stop in /usr/ports/dns/samba-nsupdate/work/bind-9.8.4-P1/bin/nsupdate. *** Error code 1 Stop in /usr/ports/dns/samba-nsupdate/work/bind-9.8.4-P1/bin. *** Error code 1 Stop in /usr/ports/dns/samba-nsupdate/work/bind-9.8.4-P1. *** Error code 1 Stop in /usr/ports/dns/samba-nsupdate. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 I can't hear you -- I'm using the scrambler. ___ 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: Release 9.1 and 3G usb Modem
On 27 March 2013 16:29, Leonardo Santagostini lsantagost...@gmail.comwrote: Hello all. I have a latitude e6400 with FreeBSD Release 9.1. And i can't get the USB modem working. I tried with umodem, u3g but no luck :( [snip] ugen7.2: HUAWEI at usbus7 ugen7.2: HUAWEI at usbus7 (disconnected) ugen7.2: HUAWEI at usbus7 umodem0: HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 2 on usbus7 umodem0: data interface 0, has no CM over data, has no break umodem1: HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 2 on usbus7 umodem1: data interface 1, has no CM over data, has no break umodem2: HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 2 on usbus7 umodem2: data interface 2, has no CM over data, has no break umass0: HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 2 on usbus7 umass0: SCSI over Bulk-Only; quirks = 0x umass0:9:0:-1: Attached to scbus9 cd1 at umass-sim0 bus 0 scbus9 target 0 lun 0 cd1: HUAWEI Mass Storage 2.31 Removable CD-ROM SCSI-2 device cd1: 40.000MB/s transfers cd1: Attempt to query device size failed: NOT READY, Medium not present umass1: HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 2 on usbus7 umass1: SCSI over Bulk-Only; quirks = 0x umass1:10:1:-1: Attached to scbus10 da0 at umass-sim1 bus 1 scbus10 target 0 lun 0 da0: HUAWEI SD Storage 2.31 Removable Direct Access SCSI-2 device da0: 40.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present [snip] Huawei modem, as I can see. That should be easy. Connect to the modem through HyperTerminal or Putty on a different machine Issue the command: AT^U2DIAG=0 That should disable the virtual CD-ROM and FreeBSD will see the modem. Here are some commands you'll need to know about: Do you have a Windows PC near you? If you plug the device into it and the virtualCD pops up, then it means command was not successful. The fact that fake CD still shows means command did not succeed! AT^u2diag=0 (all off) AT^u2diag=1 (CD on, SD off) AT^u2diag=256 (CD off, SD is on) AT^u2diag=255 (all on - including SD Card) AT^u2diag=276 (Factory Reset) A+CLAC - Display all available commands. However it does not tell you how to use them And here is a working ppp.conf - but you need to change the *bolded* values to match your end of the environment:) u3g: set device */dev/cuaU0.0* set server /var/run/3g-internet 0177 set speed 921600 set timeout 0 set authname *saf* set authkey *data* set dial ABORT BUSY ABORT NO\\sTIMEOUT 2 \ \\ \ AT OK-AT-OK \ AT+CFUN=1 OK-AT-OK \ AT+CMEE=2 OK-AT-OK \ AT+CSQ OK \ AT+CGDCONT=1,\\\IP\\\,\\\*APN*\\\ OK \ ATD**99#* CONNECT set crtscts on disable vjcomp disable acfcomp disable deflate disable deflate24 disable pred1 disable protocomp disable mppe disable ipv6cp disable lqr disable echo #nat enable yes enable dns resolv writable set dns 8.8.8.8 set ifaddr 10.1.0.2/0 10.1.0.1/0 255.255.255.255 0.0.0.0 add default HISADDR # See ppp.link* Lemme know if you get stuck. Also, always give details about modem - manufacturer, model... -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 I can't hear you -- I'm using the scrambler. ___ 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: Release 9.1 and 3G usb Modem
On Windows, install the modem drivers and make it usable. Then connect to the port on which it is installed using putty or HyperTerminal. I am hoping you know how to do that. Then type the commands: at^u2diag=0 ENTER atz ENTER Disconnect modem and connect to FreeBSD. You will see the modem correctly identified and connected to a port. On Windows, when you go to Hardware-Device Manager, look at the Serial ports available. One of them MUST be the one the modem is using! On 27 March 2013 23:09, Leonardo Santagostini lsantagost...@gmail.comwrote: Hello Odhiambo . The 3G model is Huawei E173 with Movistar Argentina. Ive tried but i cant see in windows de USB port to have a serial link :( Saludos / Regards Leonardo Santagostini 2013/3/27 Odhiambo Washington odhia...@gmail.com On 27 March 2013 16:29, Leonardo Santagostini lsantagost...@gmail.comwrote: Hello all. I have a latitude e6400 with FreeBSD Release 9.1. And i can't get the USB modem working. I tried with umodem, u3g but no luck :( [snip] ugen7.2: HUAWEI at usbus7 ugen7.2: HUAWEI at usbus7 (disconnected) ugen7.2: HUAWEI at usbus7 umodem0: HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 2 on usbus7 umodem0: data interface 0, has no CM over data, has no break umodem1: HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 2 on usbus7 umodem1: data interface 1, has no CM over data, has no break umodem2: HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 2 on usbus7 umodem2: data interface 2, has no CM over data, has no break umass0: HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 2 on usbus7 umass0: SCSI over Bulk-Only; quirks = 0x umass0:9:0:-1: Attached to scbus9 cd1 at umass-sim0 bus 0 scbus9 target 0 lun 0 cd1: HUAWEI Mass Storage 2.31 Removable CD-ROM SCSI-2 device cd1: 40.000MB/s transfers cd1: Attempt to query device size failed: NOT READY, Medium not present umass1: HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 2 on usbus7 umass1: SCSI over Bulk-Only; quirks = 0x umass1:10:1:-1: Attached to scbus10 da0 at umass-sim1 bus 1 scbus10 target 0 lun 0 da0: HUAWEI SD Storage 2.31 Removable Direct Access SCSI-2 device da0: 40.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present [snip] Huawei modem, as I can see. That should be easy. Connect to the modem through HyperTerminal or Putty on a different machine Issue the command: AT^U2DIAG=0 That should disable the virtual CD-ROM and FreeBSD will see the modem. Here are some commands you'll need to know about: Do you have a Windows PC near you? If you plug the device into it and the virtualCD pops up, then it means command was not successful. The fact that fake CD still shows means command did not succeed! AT^u2diag=0 (all off) AT^u2diag=1 (CD on, SD off) AT^u2diag=256 (CD off, SD is on) AT^u2diag=255 (all on - including SD Card) AT^u2diag=276 (Factory Reset) A+CLAC - Display all available commands. However it does not tell you how to use them And here is a working ppp.conf - but you need to change the *bolded* values to match your end of the environment:) u3g: set device */dev/cuaU0.0* set server /var/run/3g-internet 0177 set speed 921600 set timeout 0 set authname *saf* set authkey *data* set dial ABORT BUSY ABORT NO\\sTIMEOUT 2 \ \\ \ AT OK-AT-OK \ AT+CFUN=1 OK-AT-OK \ AT+CMEE=2 OK-AT-OK \ AT+CSQ OK \ AT+CGDCONT=1,\\\IP\\\,\\\*APN*\\\ OK \ ATD**99#* CONNECT set crtscts on disable vjcomp disable acfcomp disable deflate disable deflate24 disable pred1 disable protocomp disable mppe disable ipv6cp disable lqr disable echo #nat enable yes enable dns resolv writable set dns 8.8.8.8 set ifaddr 10.1.0.2/0 10.1.0.1/0 255.255.255.255 0.0.0.0 add default HISADDR # See ppp.link* Lemme know if you get stuck. Also, always give details about modem - manufacturer, model... -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 I can't hear you -- I'm using the scrambler. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 I can't hear you -- I'm using the scrambler. ___ 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
ofBiz on FreeBSD
Has anyone managed to install ofBiz on FreeBSD. Could you please share the steps followed to achieve this? I am also interested in using MySQL as the DB backend. This is just for fun. Thanks. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. ___ 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
Renaming files
I have several files in this format: rw-r--r-- 1 johndoe johndoe20085 Jan 9 19:30 1357744249.26989.mbox:2, -rw-r--r-- 1 johndoe johndoe24419 Jan 9 19:30 1357744250.26989.mbox:2, -rw-r--r-- 1 johndoe johndoe 418 Jan 9 19:30 1357744251.26989.mbox:2, -rw-r--r-- 1 johndoe johndoe 418 Jan 9 19:30 1357744252.26989.mbox:2, -rw-r--r-- 1 johndoe johndoe78426 Jan 9 19:30 1357744254.26989.mbox:2, -rw-r--r-- 1 johndoe johndoe 2561 Jan 9 19:30 1357744255.26989.mbox:2, -rw-r--r-- 1 johndoe johndoe 6971 Jan 9 19:30 1357744257.26989.mbox:2, -rw-r--r-- 1 johndoe johndoe11270 Jan 9 19:30 1357744259.26989.mbox:2, I'd like to rename them so that the filenames are in the format below: -rw--- 1 johndoe johndoe 197702 Jan 10 03:00 1357776052.V803I33939aM83469.mail.domain.me.net:2, -rw--- 1 johndoe johndoe 14579 Jan 10 03:31 135873.V803I33939bM614733.mail.domain.me.net:2, -rw--- 1 johndoe johndoe 29212 Jan 10 03:46 1357778798.V803I33939cM995892.mail.domain.me.net:2, -rw--- 1 johndoe johndoe2834 Jan 10 04:30 1357781421.V803I33939dM597872.mail.domain.me.net:2, -rw--- 1 johndoe johndoe 10593 Jan 10 06:18 1357787890.V803I33939eM865700.mail.domain.me.net:2, -rw--- 1 johndoe johndoe 43565 Jan 10 07:10 1357791044.V803I33939fM193189.mail.domain.me.net:2, -rw--- 1 johndoe johndoe 15492 Jan 10 07:42 1357792926.V803I3393a0M601349.mail.domain.me.net:2, The first part of the filename is unique, so I just need to substitute 26989.mbox:2, with V803I33939aM83469.mail.domain.me.net:2, hoping there will be no clash:( -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. ___ 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: Everything get slower with 8.3
On Tue, Nov 27, 2012 at 6:32 AM, Olivier Nicole olivier.nic...@cs.ait.ac.th wrote: Hi, Few weeks ago I upgraded many systems from 7.4 to 8.3 and since I feel that everyting has got much slower: - connecting a new shell takes 5 secnds between the password and the first promt; - imap got slower to the point imp/horde times out - amanda back-up will not complete - etc. I don;t know what to look for to correct this. TIA, Hello Olivier, I run several 8.3 boxes and nothing is slow on them. And I do all this remotely. Well, they don't run Amanda, but they run everything else - POP3/IMAP4, webmail, SMTP, spamfilter, virusfilter, DNS, gateway, firewall, proxy... etc. I'd like to think you've kinds messed up something with name resolution... could be DNS (/etc/resolv.conf) or even /etc/hosts changes of you don't run a local resolver. Also, I'd like to mention that My boxes were running 6.x before I upgraded them to 7.8, then to 8.x using instructions from http://people.freebsd.org/~rse/upgrade/. I have one box that I upgraded from 8.x-9.x as well, as a test to the instructions ~rse made, which led to the fixing of certain small bits in the instructions. I can tell you that the instructions are rock-solid. Anyway, I suggest start figuring out of name resolution works first... -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. ___ 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: When Is The Ports Tree Going To Be Updated?
On Mon, Nov 26, 2012 at 3:48 PM, Tim Daneliuk tun...@tundraware.com wrote: On 11/26/2012 01:30 AM, Matthew Seaman wrote: On 26/11/2012 00:59, Tim Daneliuk wrote: I use portsnap fetch update and it works... Ah, maybe that was the problem. That works for me as well. Ummm... how long have you been using portsnap? If you haven't been running 'portsnap fetch' or 'portsnap cron' then you won't have received any updates to your ports tree, ever. This is all explained quite clearly in the portsnap(8) man page. Cheers, Matthew I just switched from csup last week and am still learning the ropes. I am starting to switch, and after all the discussions in this thread, I replaced my csup cron entry with the following: portsnap fetch portsnap extract portsnap update Initially I just had `csup -z -L 2 /usr/share/examples/cvsup/9.x-ports` where 9.x-ports was an edited version of ports-supfile. Now I have an /etc/portsnap.con with the equivalent edits from my 9.x-ports Is this how best to do it? And now I need to find an alternative to handle the src updates using svn or something... -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. ___ 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: When Is The Ports Tree Going To Be Updated?
On Mon, Nov 26, 2012 at 5:14 PM, Mike Clarke jmc-freeb...@milibyte.co.ukwrote: On Monday 26 November 2012 13:49:05 Odhiambo Washington wrote: I am starting to switch, and after all the discussions in this thread, I replaced my csup cron entry with the following: portsnap fetch portsnap extract portsnap update portsnap fetch should only be used interactively; for non-interactive use, you should use portsnap cron portsnap extract is only needed for initialising your portsnap-maintained ports tree. So, after your initial portsnap run, what you need in your cron file is just portsnap fetch update So is portsnap cron update and portsnap fetch update doing the same thing? Whichever way, it sounds like I need an initial run of portsnap extract before putting this in crontab. @Matthew, I do not need all ports (astro, hungarian, etc...) but you appear to suggest I need everything, right? My portsnap.conf contains: *REFUSE all arabic astro benchmarks biology cad chinese finance french games german hebrew REFUSE hungarian japanese korean palm polish portuguese russian science ukranian vietnamese* Is that a misnomer? Then coming to freebsd-update (I never thought I'd have to use it one day!), I am a little confused with what to tinker. There are these two lines: *# Components of the base system which should be kept updated. Components src world kernel # Example for updating the userland and the kernel source code only: # Components src/base src/sys world* I always did csup to get my src then manually did the buildworld, make kernel, reboot, installworld, then mergemaster. From the above lines, I am not sure what I need, but think the Components src world is what I need. How it comes to build my custom kernel is still not clear to me. My mergemaster.rc contained: *IGNORE_FILES=/etc/crontab /etc/fstab /etc/group /etc/hosts /etc/inetd.conf /etc/make.conf /etc/master.passwd /etc/motd /etc/newsyslog.conf /etc/ntp.conf /etc/ntp.drift /etc/profile /etc/rc.conf /etc/resolv.conf /etc/services /etc/shells /etc/syslog.conf /etc/ssh/sshd_config /etc/ssh/ssh_host_key /etc/ssh/ssh_host_key.pub /etc/ssh/ssh_host_rsa_key /etc/ssh/ssh_host_rsa_key.pub /etc/passwd /etc/rc.conf.local /etc/zfs/exports /etc//namedb/named.conf /etc/periodic.conf /etc/hosts.allow /etc/hosts /etc/pf.conf /etc/sysctl.conf /etc/make.conf /etc/src.conf /etc/mail/aliases /etc/mail/mailer.conf /etc/remote* How now do I deal with this? Hopefully you can explain to someone who has been keeping off freebsd-update. I know there are many like me who are in this situation now that csup is getting deprecated. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. ___ 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: apache 2.2.22_8
On Sat, Sep 15, 2012 at 8:30 PM, Solmin Vladimir v...@celicom.ru wrote: Hi! Im using apache 2.2.22_6 with make options in /etc/make.conf # apache22 .if ${.CURDIR} == ${PORTSDIR}/www/apache22 WITH_SUEXEC=YES SUEXEC_DOCROOT= /www SUEXEC_USERDIR= /www/*/cgi-bin SUEXEC_LOGFILE= /var/log/suexec.log WITH_APACHE_PERF_TUNING=yes .endif But after svn co /usr/ports today i'm see next: $portupgrade -arR ** Port marked as IGNORE: www/apache22: is marked as broken: WITH/WITHOUT parameters are obsolete. The port use the new options NG framework. Please read http://wiki.freebsd.org/Ports/**Options/OptionsNGhttp://wiki.freebsd.org/Ports/Options/OptionsNG but a don't understand how i must set SUEXEC_DOCROOT, SUEXEC_USERDIR and SUEXEC_LOGFILE in NG framework format... Please help show me how I have read that instruction and I am also not clear with what the correct syntax is for /etc/make.conf. I have come up with this: # apache22 .if ${.CURDIR} == ${PORTSDIR}/www/apache22 ${APACHE22}_SET=SUEXEC ${APACHE22}_SET=SUEXEC_DOCROOT /www ${APACHE22}_SET=SUEXEC_USERDIR /www/*/cgi-bin ${APACHE22}_SET=SUEXEC_LOGFILE /var/log/suexec.log .endif I cant say if that's how it should be, but I think:-) Hopefully, Chris can help us understand the syntax better. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. ___ 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: apache 2.2.22_8
Hi Chris, Thanks for this. Hopefully, you can modify the Wiki to have this information and even examples:) Personally, I use `make config` and have never needed to do much with /etc/make.conf as regards the ports. On Sun, Sep 16, 2012 at 11:17 AM, Chris Rees cr...@freebsd.org wrote: On 16 September 2012 07:19, Odhiambo Washington odhia...@gmail.com wrote: On Sat, Sep 15, 2012 at 8:30 PM, Solmin Vladimir v...@celicom.ru wrote: Hi! Im using apache 2.2.22_6 with make options in /etc/make.conf # apache22 .if ${.CURDIR} == ${PORTSDIR}/www/apache22 WITH_SUEXEC=YES SUEXEC_DOCROOT= /www SUEXEC_USERDIR= /www/*/cgi-bin SUEXEC_LOGFILE= /var/log/suexec.log WITH_APACHE_PERF_TUNING=yes .endif But after svn co /usr/ports today i'm see next: $portupgrade -arR ** Port marked as IGNORE: www/apache22: is marked as broken: WITH/WITHOUT parameters are obsolete. The port use the new options NG framework. Please read http://wiki.freebsd.org/Ports/Options/OptionsNG but a don't understand how i must set SUEXEC_DOCROOT, SUEXEC_USERDIR and SUEXEC_LOGFILE in NG framework format... Please help show me how I have read that instruction and I am also not clear with what the correct syntax is for /etc/make.conf. I have come up with this: # apache22 .if ${.CURDIR} == ${PORTSDIR}/www/apache22 ${APACHE22}_SET=SUEXEC ${APACHE22}_SET=SUEXEC_DOCROOT /www ${APACHE22}_SET=SUEXEC_USERDIR /www/*/cgi-bin ${APACHE22}_SET=SUEXEC_LOGFILE /var/log/suexec.log .endif I cant say if that's how it should be, but I think:-) Hopefully, Chris can help us understand the syntax better. Thanks for copying me in, I'm not on this list. You're very close! You need to use ${UNIQUENAME}_SET, and to find the UNIQUENAME you need to; [crees@pegasus]~% cd /usr/ports/www/apache22 [crees@pegasus]/usr/ports/www/apache22% make -VUNIQUENAME apache22 Now we know it's apache22, we can use: # (No need to bother with .if ${.CURDIR} any more) apache22_SET+= SUEXEC SUEXEC_DOCROOT= /www SUEXEC_USERDIR= /www/*/cgi-bin SUEXEC_LOGFILE= /var/log/suexec.log I'm not sure what APACHE_PERF_TUNING is; you may find it's been deprecated. Check with apache@ about that. If I've somehow missed that, you can just add it to the apache22_SET list: apache22_SET+= SUEXEC APACHE_PERF_TUNING Hope that helps! Chris (corresponding to WITHOUT is ${UNIQUENAME}_UNSET) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. ___ 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: apache 2.2.22_8
On Sun, Sep 16, 2012 at 11:47 AM, Chris Rees cr...@freebsd.org wrote: On 16 September 2012 09:32, Odhiambo Washington odhia...@gmail.com wrote: Hi Chris, Thanks for this. Hopefully, you can modify the Wiki to have this information and even examples:) There are examples on the Wiki page already, but in a confusing order. I've put in a link, and a tip on how to find UNIQUENAME. Personally, I use `make config` and have never needed to do much with /etc/make.conf as regards the ports. True, but some people like to share their make.conf around machines :) Chris My machines are all identical too, except for parameters related to $hostname, DNS and passwords. I mostly used /usr/local/etc/pkgtools.conf before, then `make config` and now I believe I am gonna switch to /etc/make.conf but only where I must finely customize. One thing has crossed my mind now: What happens with make -DWITH_* in this new development of optionsNG?? I have manually built ports that way before. And what about those who want to use portinstall -m WITH_OPTx=1 WITH_OPTy=1, etc? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. ___ 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: apache 2.2.22_8
On Sun, Sep 16, 2012 at 12:25 PM, Chris Rees cr...@freebsd.org wrote: On 16 September 2012 10:20, Odhiambo Washington odhia...@gmail.com wrote: On Sun, Sep 16, 2012 at 11:47 AM, Chris Rees cr...@freebsd.org wrote: On 16 September 2012 09:32, Odhiambo Washington odhia...@gmail.com wrote: Hi Chris, Thanks for this. Hopefully, you can modify the Wiki to have this information and even examples:) There are examples on the Wiki page already, but in a confusing order. I've put in a link, and a tip on how to find UNIQUENAME. Personally, I use `make config` and have never needed to do much with /etc/make.conf as regards the ports. True, but some people like to share their make.conf around machines :) Chris My machines are all identical too, except for parameters related to $hostname, DNS and passwords. I mostly used /usr/local/etc/pkgtools.conf before, then `make config` and now I believe I am gonna switch to /etc/make.conf but only where I must finely customize. One thing has crossed my mind now: What happens with make -DWITH_* in this new development of optionsNG?? I have manually built ports that way before. And what about those who want to use portinstall -m WITH_OPTx=1 WITH_OPTy=1, etc? Still works fine for nearly all ports, but just for apache ports there appears to be subtle problems with the logic since it's so complicated. That's why Olli chose to disable the WITH_ option style for Apache, and I think it was the right decision. I would suggest you learn the new (just as simple) syntax and see how you get on with it :) Chris I was thinking this optionsNG has already been adopted for all ports. Thanks for the examples though. They are good enough for me to learn the ropes.. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. ___ 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: What are negative permissions?
On Sun, Sep 16, 2012 at 9:57 PM, Gary Aitken free...@dreamchaser.orgwrote: Can someone explainn to me what negative group permissions are? In what context, sir? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. ___ 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: Apache 2.2 and php 5.4.5 failing on freebsd 8.3
On Mon, Aug 20, 2012 at 11:42 PM, John R. Levine jo...@iecc.com wrote: Good thought, I just did that. Results: php5.3: works fine as far as I can tell php5.4: fails in random ways This suggests there is a bug in 5.4 which only is apparent on FreeBSD 8.x. I note that the packages for 8.x have gone away on the distribution server, so I expect they're not regression testing 8.x any more Packages?? It's better for you to use the ports tree! Ahem. If you will review the messages to which you were responding, you will note that yes, I did build everything from the ports tree. My point is that since they're not building 8.3 packages any more, they're not validating updated ports against 8.3 any more. Sorry, you confused me there a little, by talking about packages. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. ___ 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: Apache 2.2 and php 5.4.5 failing on freebsd 8.3
On Mon, Aug 20, 2012 at 7:46 PM, John Levine jo...@iecc.com wrote: I have a fully patche amd64 freebsd 8.3 server with apache 2.2 and PHP 5.4.5. In the past day, php scripts have started failing with a variety of random errors, they hang, errors claiming that builtins like require_once() are not found, and other stuff. I don't see any pattern. I also can't figure out what's changed. I update the ports fairly often, but none of the recent updates were for apache or PHP. I've done all the usual voodoo repair: I have rebuilt apache, php, and all the php modules from source, and rebooted, and it didn't help. Does this sound familiar? Any suggestions beyond what I've already done? Did you also rebuilt lang/php5-extensions for the modules you need? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. ___ 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: Apache 2.2 and php 5.4.5 failing on freebsd 8.3
On Mon, Aug 20, 2012 at 10:18 PM, John R. Levine jo...@iecc.com wrote: I've done all the usual voodoo repair: I have rebuilt apache, php, and all the php modules from source, and rebooted, and it didn't help. Did you also rebuilt lang/php5-extensions for the modules you need? Uh, yes, I said that I did. Then perhaps you should downgrade to lang/php53 and lang/php53-extensions and compare the results! -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. ___ 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: Apache 2.2 and php 5.4.5 failing on freebsd 8.3
On Mon, Aug 20, 2012 at 11:02 PM, John R. Levine jo...@iecc.com wrote: Then perhaps you should downgrade to lang/php53 and lang/php53-extensions and compare the results! Good thought, I just did that. Results: php5.3: works fine as far as I can tell php5.4: fails in random ways This suggests there is a bug in 5.4 which only is apparent on FreeBSD 8.x. I note that the packages for 8.x have gone away on the distribution server, so I expect they're not regression testing 8.x any more Packages?? It's better for you to use the ports tree! Anyway, good that you are back up again.I hope you do know that php54 breaks so much compatibility with code that was written for php53 and below. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. ___ 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 Stable production version.
On Wed, Jul 25, 2012 at 3:24 PM, Marwan Sultan dead_l...@hotmail.comwrote: Well, I also like your philosophy of waiting x.1 ! its a very good point. Maybe 8.3-R would be the best. I will wait to hear more comments. For cowards, yes! Whoever said that -RELEASE is bad is a joker, too. Now, what the hell do you think can go so wrong on a Mail server running Sendmail and Apache? Network stack?? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. ___ 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: 32 bit to 64 bit
On Wed, Jun 27, 2012 at 4:37 PM, Tim Kellers timot...@devel.njit.eduwrote: I'm upgrading a 7.3 -STABLE installation to 8.x, then 9- Stable over the next few days. The hardware is a Dell 2950 that is capable of running 64 bit FreeBSD. The original installation was i386 32 bit and that is what it is running now. Will the buildworld --- buildkernel KERNCONF=FOO64 allow a 32 bit installation to build a 64 bit kernel? I'd like to upgrade this machine to 64 bit AMD and I'd prefer not to do it from a DVD if I can do it from source. Has anyone tried this and succeeded (or failed spectacularly) on a remote install/upgrade? Please just don't do it. Backup, Install new, restore configs and data! -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. ___ 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
A bash scripting question
How Can I simplify/perfect the following script, so that I read _ALL_ the lines in the file and act on the content as shown below, so that I do not have to specifiy an action per line? This below is doing exactly what i need BUT reading one line at a time untill the 10th line, if i want more i add manually... This might help some1 someday! But if there is a way to perfect it please do so. #!/usr/local/bin/bash smsfile=email_to_sms `grep Subject /var/spool/mail/sms $smsfile` if [[ -s $smsfile ]] ; then cat /dev/null /var/spool/mail/sms sed -i 's/Subject: //g' $smsfile echo `sed -n '1p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==1 {print $1}' $smsfile` echo `sed -n '2p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==2 {print $1}' $smsfile` echo `sed -n '3p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==3 {print $1}' $smsfile` echo `sed -n '4p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==4 {print $1}' $smsfile` echo `sed -n '5p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==5 {print $1}' $smsfile` echo `sed -n '6p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==6 {print $1}' $smsfile` echo `sed -n '7p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==7 {print $1}' $smsfile` echo `sed -n '8p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==8 {print $1}' $smsfile` echo `sed -n '9p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==9 {print $1}' $smsfile` echo `sed -n '10p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==10 {print $1}' $smsfile` else echo ***Sorry the SMS FILE $smsfile is empty. fi gammu-smsd start cat email_to_sms email_to_sms2 cat /dev/null email_to_sms -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. ___ 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
Dirty System - openssl problem
Hi, Can someone please tell me how to resolve the following multiplicity of libraries, to ensure I only compile applications against a particular library. I believe this emanates from my installing of openssl from the ports. FreeBSD 8.3-STABLE i386: (15:58:10 ~) 0 $ ls -al /usr/lib/libcrypt* -r--r--r-- 1 root wheel94534 May 13 13:45 /usr/lib/libcrypt.a lrwxr-xr-x 1 root wheel 18 May 13 13:45 /usr/lib/libcrypt.so - /lib/libcrypt.so.5 -r--r--r-- 1 root wheel95088 May 13 13:45 /usr/lib/libcrypt_p.a -r--r--r-- 1 root wheel 2152154 May 13 13:46 /usr/lib/libcrypto.a lrwxr-xr-x 1 root wheel 19 May 13 13:46 /usr/lib/libcrypto.so - /lib/libcrypto.so.6 -r--r--r-- 1 root wheel 2216396 May 13 13:46 /usr/lib/libcrypto_p.a (15:58:20 ~) 0 $ (15:58:26 ~) 0 $ ls -al /usr/local/lib/libcrypt* -rw-r--r-- 1 root wheel 2874924 May 22 14:58 /usr/local/lib/libcrypto.a lrwxr-xr-x 1 root wheel 14 May 22 14:58 /usr/local/lib/libcrypto.so - libcrypto.so.8 -r--r--r-- 1 root wheel 1387063 Apr 9 2009 /usr/local/lib/libcrypto.so.5 -r--r--r-- 1 root wheel 1832156 May 22 14:58 /usr/local/lib/libcrypto.so.8 -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. Please consider the environment before printing this email. ___ 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: Dirty System - openssl problem
On Tue, May 22, 2012 at 6:31 PM, Chuck Swiger cswi...@mac.com wrote: On May 22, 2012, at 6:05 AM, Odhiambo Washington wrote: Can someone please tell me how to resolve the following multiplicity of libraries, to ensure I only compile applications against a particular library. I believe this emanates from my installing of openssl from the ports. You could run make deinstall from the openssl port directory, or similar equivalent with pkg_delete. You'd then also need to rebuild anything linked to the openssl port. Why bother, though? FreeBSD isn't Windows; having multiple versions of a shared library around is supported sanely on Unix platforms Hi Chuck, Thanks for that. Actually, I ended up figuring out how to address my source of worry. Something I planted in pkgtools.conf bit me so badly, but I nailed it. Thanks! -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. ___ 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: (no subject)
On Wed, May 16, 2012 at 1:56 PM, hasanhasanli Hasan hasanhasa...@mail.ruwrote: I bought server HP ProLiant BL460c G7. I couldn't find Ethernet driver for the FreeBSD. Does anyone know where can I get driver for my OpenBSD(or freeBSD) server ? Best regards Shahin Hasanov Which version of FreeBSD did you install? What is the output of the command `ifconfig` ? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. Please consider the environment before printing this email. ___ 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: 9.0 - Mount to root.. Sorted..
On Mon, Apr 9, 2012 at 18:51, Airosoβicz fb. airosov...@gmail.com wrote: Hi all, As Warren Block mentioned: If there are no ada devices in /dev at all, I'd guess too much has been removed from the custom kernel. So I've checked my custom kernel config (based on GENERIC) indeed made some changes to the [S]ATA disk section after which I rebuilt installed the kernel again.. The difference now with previous was that I *was* able to boot in single-user mode, mount, label my disk with tunefs, update my /etc/fstab accordingly managed to install the world as a final step to my upgrade.. Problem solved, many thanx for all the assistance.. Regards, E. Good to know, but next time you shouldn't go overboard with customizing the kernel configuration file:-) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. Please consider the environment before printing this email. ___ 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 is this Symbol in the front of your website. A humble request.
2012/2/23 Al Hadith allne...@gmail.com Hi, My name is Roy Mathew. I am new to FreeBSD. I had a look at the history of your operating system. I suggest to everyone of you that you recommend to change/replace the unnecessary picture right in front of your website. The reasons you all have done hard-work and has become successful (big companies use ur project). In that case, this is not the symbol that you should be keeping in front of your website neither anywhere in your website. Please visit http://www.freebsd.org/ to see the logo and the picture, both of which I strongly recommend that you remove. I am highly educated and qualified. Hi Al Hadith (alias Roy Mathew), What is it in particular that you don't like about the logo and the picture? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. Please consider the environment before printing this email. ___ 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
On Sun, Feb 19, 2012 at 22:23, Daniel Lewis innervisionnetw...@gmail.comwrote: I just install free bsd 8.2 and i can send mail out but cant recieve. From recipient end its combining the hostname and domain name. Hi Daniel, In order to be able to receive e-mails on your server, a lot more is involved than just installing the box. Your domain name (e.g. danlewis.name) must be published in the web. I mean, you must have a registered domain name. After it being registered, it must have some special records published (DNS) and these records are called MX (Mail eXchanger) records. They must point back to your server's *public *IP address if it is the one you want to receive mail from. That public IP address needs to be static/permanent or some other special DNS (dynamic DNS) records need to come into play. Once all that is done, you will need to setup a fully-fledged mail server that can receive mail and let people retrieve it. In that case, you will need to run two applications - one is an SMTP server (the one that receives and places the mail into a 'mailbox') and the other being a POP3/IMAP4 server (the one that allows a user with a valid username and password to retrieve their e-mail from the mailbox). I suggest you start looking at Exim http://www.exim.org, Postfixhttp://www.postfix.org(for SMTP) and Dovecot http://www.dovecot.org (for POP3/IMAP). There are several primers for setting these up, and so be prepared to start reading all those and making decisions on what you need to do - because now you are an aspiring Server Administrator (mail server for starters, and I know soon you'll be becoming a web server, database server, etc administrator, for that is the life you have chosen:)) May I start by pointing you to the following primers: 1. Exim+Dovecot - http://exim4u.org/ 2. Postfix+Dovecot - http://www.purplehat.org/?page_id=4 The above two include using MySQL database as backend and have a GUI to manage, which means you will soon be getting your hands dirty with MySQL and Apache, and PHP - I feel so sad for you because of this, but it's life:-) 3. http://rob0.nodns4.us/howto/ - This one was just posted to this list today. It's about Postfix+Dovecot using SQLite database as backend. I guess there is no GUI to manage this. Remember, when faced with difficulties, a good sysadmin reads log files for the different applications s/he runs and tries to figure it out using Google, then when stuck, can post a question to a general mailing list like this one, or to a specific mailing list dealing with the particular application. Welcome to FreeBSD, and to being a Systems Administrator. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. Please consider the environment before printing this email. ___ 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 9 and 3G Modems
On Wed, Jan 25, 2012 at 18:54, Mike Tancsa m...@sentex.net wrote: On 1/25/2012 5:43 AM, Odhiambo Washington wrote: I have a Huawei E1820 I will also try RTFM. Hi, kldload u3g kldload umodem Done, although kldload u3g tells me that file already exists! Perhaps because I booted up with my Huawei dongle plugged in. kldstat | grep u3g shows me nothing though. plug in the modem Show the output of usbconfig [wash@pcbsd9] /home/wash# usbconfig ugen0.1: UHCI root HUB Intel at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE ugen1.1: UHCI root HUB Intel at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE ugen2.1: EHCI root HUB Intel at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE ugen3.1: UHCI root HUB Intel at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE ugen4.1: UHCI root HUB Intel at usbus4, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE ugen5.1: UHCI root HUB Intel at usbus5, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE ugen6.1: EHCI root HUB Intel at usbus6, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE ugen6.2: HUAWEI Mobile Huawei Technologies at usbus6, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ugen0.2: BCM2045B Broadcom Corp at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen0.3: Biometric Coprocessor STMicroelectronics at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen3.2: Microsoft Nano Transceiver v1.0 Microsoft at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON then sysctl -a dev.u3g [wash@pcbsd9] /home/wash# sysctl -a dev.u3g dev.u3g.0.%desc: Huawei Technologies HUAWEI Mobile, class 0/0, rev 2.00/0.00, addr 2 dev.u3g.0.%driver: u3g dev.u3g.0.%location: bus=1 hubaddr=1 port=6 devaddr=2 interface=0 dev.u3g.0.%pnpinfo: vendor=0x12d1 product=0x1001 devclass=0x00 devsubclass=0x00 sernum= release=0x mode=host intclass=0xff intsubclass=0xff intprotocol=0xff ttyname=U0 ttyports=3 dev.u3g.0.%parent: uhub and ls -l /dev/cuaU* [wash@pcbsd9] /home/wash# ls -l /dev/cuaU* crw-rw 1 uucp dialer0, 117 Jan 26 18:23 /dev/cuaU0.0 crw-rw 1 uucp dialer0, 118 Jan 26 18:23 /dev/cuaU0.0.init crw-rw 1 uucp dialer0, 119 Jan 26 18:23 /dev/cuaU0.0.lock crw-rw 1 uucp dialer0, 123 Jan 26 18:23 /dev/cuaU0.1 crw-rw 1 uucp dialer0, 124 Jan 26 18:23 /dev/cuaU0.1.init crw-rw 1 uucp dialer0, 125 Jan 26 18:23 /dev/cuaU0.1.lock crw-rw 1 uucp dialer0, 129 Jan 26 18:23 /dev/cuaU0.2 crw-rw 1 uucp dialer0, 130 Jan 26 18:23 /dev/cuaU0.2.init crw-rw 1 uucp dialer0, 131 Jan 26 18:23 /dev/cuaU0.2.lock and dmesg [wash@pcbsd9] /home/wash# dmesg Copyright (c) 1992-2011 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 9.0-RELEASE #3: Tue Dec 27 14:14:29 PST 2011 r...@build9x64.pcbsd.org:/usr/obj/builds/amd64/pcbsd-build90/fbsd-source/9.0/sys/GENERIC amd64 CPU: Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz (1995.05-MHz K8-class CPU) Origin = GenuineIntel Id = 0x6fa Family = 6 Model = f Stepping = 10 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE Features2=0xe3bdSSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM AMD Features=0x20100800SYSCALL,NX,LM AMD Features2=0x1LAHF TSC: P-state invariant, performance statistics real memory = 4294967296 (4096 MB) avail memory = 4000251904 (3814 MB) Event timer LAPIC quality 400 ACPI APIC Table: LENOVO TP-7L FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ACPI Warning: 32/64X length mismatch in Gpe1Block: 0/32 (20110527/tbfadt-556) ACPI Warning: Optional field Gpe1Block has zero address or length: 0x102C/0x0 (20110527/tbfadt-586) ioapic0: Changing APIC ID to 1 ioapic0 Version 2.0 irqs 0-23 on motherboard kbd1 at kbdmux0 cryptosoft0: software crypto on motherboard acpi0: LENOVO TP-7L on motherboard CPU0: local APIC error 0x40 acpi_ec0: Embedded Controller: GPE 0x12, ECDT port 0x62,0x66 on acpi0 acpi0: Power Button (fixed) acpi0: reservation of 0, a (3) failed acpi0: reservation of 10, bff0 (3) failed Timecounter ACPI-fast frequency 3579545 Hz quality 900 acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0 cpu0: ACPI CPU on acpi0 cpu1: ACPI CPU on acpi0 acpi_lid0: Control Method Lid Switch on acpi0 acpi_button0: Sleep Button on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 pcib1: ACPI PCI-PCI bridge irq 16 at device 1.0 on pci0 pci1: ACPI PCI bus on pcib1 vgapci0: VGA-compatible display port 0x2000-0x207f mem 0xd600-0xd6ff,0xe000-0xefff,0xd400-0xd5ff irq 16 at device 0.0 o n pci1 nvidia0: Quadro NVS 140M on vgapci0 vgapci0: child nvidia0 requested pci_enable_io
Re: FreeBSD 9 and 3G Modems
On Thu, Jan 26, 2012 at 19:12, Mike Tancsa m...@sentex.net wrote: On 1/26/2012 10:58 AM, Odhiambo Washington wrote: Hi, kldload u3g kldload umodem Done, although kldload u3g tells me that file already exists! Perhaps because I booted up with my Huawei dongle plugged in. kldstat | grep u3g shows me nothing though. Looks like its already defined in the kernel! ugen6.2: HUAWEI Mobile Huawei Technologies at usbus6, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON It sees it. then sysctl -a dev.u3g [wash@pcbsd9] /home/wash# sysctl -a dev.u3g dev.u3g.0.%desc: Huawei Technologies HUAWEI Mobile, class 0/0, rev 2.00/0.00, addr 2 dev.u3g.0.%driver: u3g dev.u3g.0.%location: bus=1 hubaddr=1 port=6 devaddr=2 interface=0 dev.u3g.0.%pnpinfo: vendor=0x12d1 product=0x1001 devclass=0x00 devsubclass=0x00 sernum= release=0x mode=host intclass=0xff intsubclass=0xff intprotocol=0xff ttyname=U0 ttyports=3 dev.u3g.0.%parent: uhub More importantly, the driver sees it and has used cuaU0.* and ls -l /dev/cuaU* [wash@pcbsd9] /home/wash# ls -l /dev/cuaU* crw-rw 1 uucp dialer0, 117 Jan 26 18:23 /dev/cuaU0.0 crw-rw 1 uucp dialer0, 118 Jan 26 18:23 /dev/cuaU0.0.init crw-rw 1 uucp dialer0, 119 Jan 26 18:23 /dev/cuaU0.0.lock crw-rw 1 uucp dialer0, 123 Jan 26 18:23 /dev/cuaU0.1 crw-rw 1 uucp dialer0, 124 Jan 26 18:23 /dev/cuaU0.1.init crw-rw 1 uucp dialer0, 125 Jan 26 18:23 /dev/cuaU0.1.lock crw-rw 1 uucp dialer0, 129 Jan 26 18:23 /dev/cuaU0.2 crw-rw 1 uucp dialer0, 130 Jan 26 18:23 /dev/cuaU0.2.init crw-rw 1 uucp dialer0, 131 Jan 26 18:23 /dev/cuaU0.2.lock This is where you need to do a bit of experimenting. Some modems register these sub ports and others do not. Some are for out of band control and one will be the device you actually use in your ppp config. The init string sort of depends on your carrier. But a basic one to try in ppp.conf is below. For the set device line, you might need to change it to /dev/cuaU0.1 or /dev/cuaU0.2 invoke with ppp -ddial u3g You might need the authname and auth key, you might not. For the context you might need to change it from internet.com to something else. Again, ask your carrier for that info. Try first without the CGDCONT line as the default in the modem might do the trick. u3g: set device /dev/cuaU0.0 set server /var/run/gprs-internet 0177 set speed 921600 set timeout 0 set authname wapuser1 set authkey wap set dial ABORT BUSY TIMEOUT 2 \ \\ \ AT OK-AT-OK \ AT+CFUN=1 OK-AT-OK \ AT+CMEE=2 OK-AT-OK \ AT+CSQ OK \ AT+CGDCONT=1,\\\IP\\\,\\\internet.com\\\ OK \ ATv OK \ ATD*99# CONNECT set crtscts on disable vjcomp disable acfcomp disable deflate disable deflate24 disable pred1 disable protocomp disable mppe disable ipv6cp disable lqr disable echo #nat enable yes enable dns resolv writable set dns 8.8.8.8 set ifaddr 10.1.0.2/0 10.1.0.1/0 255.255.255.255 0.0.0.0 add default HISADDR # See ppp.link* Hi Mike, I guess the internet.com in AT+CGDCONT=1,\\\IP\\\,\\\internet.com\\\ OK \ refer to the APN? I know I need to read ppp.conf again soon :) ppp.log: Jan 26 19:58:39 pcbsd9 ppp[7367]: tun0: Command: default: set timeout 180 Jan 26 19:58:39 pcbsd9 ppp[7367]: tun0: Command: default: enable dns Jan 26 19:58:39 pcbsd9 ppp[7367]: tun0: Command: u3g: set device /dev/cuaU0.0 Jan 26 19:58:39 pcbsd9 ppp[7367]: tun0: Command: u3g: set server /var/run/gprs-internet 0177 Jan 26 19:58:39 pcbsd9 ppp[7367]: tun0: Warning: Local: bind: Address already in use Jan 26 19:58:39 pcbsd9 ppp[7367]: tun0: Warning: set server: Failed 2 Jan 26 19:58:39 pcbsd9 ppp[7367]: tun0: Command: u3g: set speed 921600 Jan 26 19:58:39 pcbsd9 ppp[7367]: tun0: Command: u3g: set timeout 0 Jan 26 19:58:39 pcbsd9 ppp[7367]: tun0: Command: u3g: set authname saf Jan 26 19:58:39 pcbsd9 ppp[7367]: tun0: Command: u3g: set authkey Jan 26 19:58:39 pcbsd9 ppp[7367]: tun0: Command: u3g: set dial ABORT BUSY TIMEOUT 2AT OK-AT-OKAT+CFUN=1 OK-AT-OK AT+CMEE=2 OK-AT-OKAT+CSQ OK AT+CGDCONT=1,\IP\,\safaricom\ OKATv OKATD*99# CONNECT Jan 26 19:58:39 pcbsd9 ppp[7367]: tun0: Command: u3g: set crtscts on Jan 26 19:58:39 pcbsd9 ppp[7367]: tun0: Command: u3g: disable vjcomp Jan 26 19:58:39 pcbsd9 ppp[7367]: tun0: Command: u3g: disable acfcomp Jan 26 19:58:39 pcbsd9 ppp[7367]: tun0: Command: u3g: disable deflate Jan 26 19:58:39 pcbsd9 ppp[7367]: tun0: Command: u3g: disable deflate24 Jan 26 19:58:39 pcbsd9 ppp[7367]: tun0: Command: u3g: disable pred1 Jan 26 19:58:39 pcbsd9 ppp[7367]: tun0: Command: u3g: disable protocomp Jan 26 19:58:39 pcbsd9 ppp[7367]: tun0: Command: u3g: disable mppe Jan 26 19:58:39 pcbsd9 ppp[7367]: tun0: Command: u3g
Re: FreeBSD 9 and 3G Modems
On Tue, Jan 24, 2012 at 19:37, Mike Tancsa m...@sentex.net wrote: On 1/24/2012 10:56 AM, Odhiambo Washington wrote: I am Google-ing for a recent definitive HOWTO use my 3G modem with FreeBSD/PC-BSD and what I get seem rather old. Someone can point me to a recent document detailing the steps. I have PC-BSD 9 on my laptop. Most of them just come up as cuaU* devices, but not all. The method to use them has not really changed, so chances are what you have found via google will still work. Take a look at the relevant man pages. man u3g What type of modem do you have ? Hi Mike, I have a Huawei E1820 I will also try RTFM. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. Please consider the environment before printing this email. ___ 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 9 and 3G Modems
On Tue, Jan 24, 2012 at 21:48, Alejandro Imass a...@p2ee.org wrote: On Tue, Jan 24, 2012 at 10:56 AM, Odhiambo Washington odhia...@gmail.com wrote: I am Google-ing for a recent definitive HOWTO use my 3G modem with FreeBSD/PC-BSD and what I get seem rather old. Which one? You need to specifiy modem brand/model and network provider to see if other have got that particular one working. Also check the Linux crowd (Ubuntu in particular) and then extrapolate to FBSD. I have a Huawei E1820 and I am in KE, using Safaricom. Someone can point me to a recent document detailing the steps. I have PC-BSD 9 on my laptop. Usually it's just a question of making the kernel mount the tty and the dial using something like wvdial. If it's popular and supported it's pretty easy, if not is still possible. Supporting the modem is usually a two layer problem first solving the multi-device problem on the USB bus, that is, selecting the correct device available (i.e. selecting the modem instead of the flash that contains the windows software), and then the actual kernel or userspace driver for that specific device (ZTE, Enfora, etc.). Luckily, I already disabled the flash/virtual CD-ROM that the modem contains. I got the AT string combo to do this. I also have one ZTE dongle that I don't want to talk about because I haven't managed to find a way to disable the virtual CD-ROM it contains. Ultimately, you get a serial modem and you just have to use AT command to dial, etc. and wvdial does a great job and it's quite easy to set-up and run. You know, sometimes all this process is what makes people shy off of *BSD. I am a diehard lover of FreeBSD, but the few times I have installed Linux on my laptop, this whole process was a breeze... well, not quite, but not as difficult as it is in FreeBSD. Luckily, I use WiFi more than I use 3G, so it's never quite bothered me. Even now, I just want to see how easy it can be on PC-BSD/FreeBSD, with a GUI to boot, if there is, but I do not feel it is such a big necessity for me, because I have D-Link DIR-825 which can use this modem on it's USB port and allow me to use 3G. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. Please consider the environment before printing this email. ___ 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 9 and 3G Modems
On Wed, Jan 25, 2012 at 09:23, Ivan Frosty ivanfro...@gmail.com wrote: The FreeBSD u3g driver ¶¶ Introduction ¶¶ This driver supports 3G (UMTS, HSDPA, HSUPA, HSPA) cards that provide access to one or more serial ports through a USB interface, providing PPP and AT command channels simultaneously. Some devices provide access to multiple pairs of channels for integrated GPS', or other access methods (Option HSO driver). Transfer speeds should be above 30k on a good UMTS connection and a fast server: % curl -o /dev/null ftp://ftp.nl.freebsd.org/pub/FreeBSD/ls-lR.gz % Total% Received % Xferd Average Speed TimeTime Time Current Dload Upload TotalSpent Left Speed 12 19.9M 12 2486k0 0 40203 0 0:08:39 0:01:03 0:07:36 43921 Some (older) devices (from Sierra for example) provide 1 serial port through a normal serial port or the normal serial USB drivers. They usually support the ETSI / 3GPP 27.010 3GPPMultiplexProtocol, making it possible to open a AT command channel and a PPP connection channel simultaneously. A basic implementation which works on an Option Globetrotter GPRS card is available. Contact me for details. Verified to work ¶¶ See the man page. Installation instructions ¶¶ The driver is available in both FreeBSD 7 and FreeBSD 8. The one in FreeBSD 8 and up was written by Hans Petter Selasky. Consult freebsd-usb@… for more information and bug reports. The driver from FreeBSD 7 should be usable on FreeBSD 6, without too many changes. You will need to patch ucom.c though with the attached patch (see below). Tricks ¶¶ To start your connection automatically use something like the following snippet in your devd.conf: attach 100 { device-name ucom[0-9]+; match vendor 0x12d1; match product 0x1003; action /usr/sbin/ppp -ddial kpn; }; Some people have been able to get their device to successfully switch from driver mode to modem mode using usb_modeswitch. You can compile it on !FreeBSD with cc -L /usr/local/lib -I/usr/local/include -lusb -o usb_modeswitch usb_modeswitch.c if you have libusb installed. The mass storage devices the devices present should be available through ugen. Note that umass must not be present in your kernel nor as a module (or it should be made to ignore these devices). To see signal strength for example while online: Start ppp (See also PPPFor3GModems). prolly that could help. I read this, but one thing I am sure about is that those details need to be changed to reflect what I have on my system. But I'm trying to see if there is an easier way out. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. Please consider the environment before printing this email. ___ 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 9 and 3G Modems
I am Google-ing for a recent definitive HOWTO use my 3G modem with FreeBSD/PC-BSD and what I get seem rather old. Someone can point me to a recent document detailing the steps. I have PC-BSD 9 on my laptop. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. Please consider the environment before printing this email. ___ 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: FreeBSD9 + PHP
On Mon, Jan 9, 2012 at 22:52, alexus ale...@gmail.com wrote: I created a jail and within a jail I did pkg_add -r apache22 pkg_add -r php5 now I have apache and php, but whenever I'm trying to hit phpinfo.php, I see source code... I dont think php5 added inside of apache22 `grep php /usr/local/etc/apache22/httpd.conf ` [wash@jaribu ~]$ grep php /usr/local/etc/apache22/httpd.conf LoadModule php5_modulelibexec/apache22/libphp5.so DirectoryIndex index.php index.php3 index.html index.htm index.shtml index.phtml index.inc index.pl index.cgi index.jsp index.txt AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps The last two lines are very important. However, I seriously doubt this documentation that you read, as it lied to you so badly. Which one is it?? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. Please consider the environment before printing this email. ___ 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: Upgrading from 6.2-RELEASE?
On Wed, Oct 19, 2011 at 21:55, Kurt Buff kurt.b...@gmail.com wrote: I have gotten custody of an old machine running the aforementioned, and it's in production. I can take it down for a couple of hours if necessary, but would prefer to have it down as little as possible. What are my options for getting it to a supported release - looking at the handbook it doesn't appear the the freebsd-update utility will work in this case, as it's not 6.3? Can I, for instance, boot from a CD of a supported version and do an upgrade, or am I stuck doing a download of sorce for 7.0-RELEASE, compiling that, and then an freebsd-update to 7.4? You can ignore everything you have been told so far and head to http://people.freebsd.org/~rse/upgrade/ and follow the procedures there, one at a time, and you will be able to update your box all the way to FreeBSD 9.x !! I have used them before to upgrade several boxes. I prompted RSE to write the 8.x-9.x procedure and I tested it step by step and I am currently running 9.0-BETA3 on one of my boxes: [wash@jaribu ~]$ uname -a FreeBSD jaribu.kictanet.or.ke 9.0-BETA3 FreeBSD 9.0-BETA3 #0: Fri Oct 7 14:11:20 EAT 2011 r...@jaribu.kictanet.or.ke:/usr/obj/usr/src/sys/GW i386 So what you need is to upgrade to RELENG_6 first, using csup/cvsup, then start the procedures of 6.x-7.x, 7.x-8.x and if you want, 8.x-9.x Good luck! -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. Please consider the environment before printing this email. ___ 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: Dennis Ritchie has died. A suggestion
On Fri, Oct 14, 2011 at 19:17, Kruppa, Peter Ulrich ulr...@pukruppa.dewrote: On 13.10.2011 23:43, mikel king wrote: On Oct 13, 2011, at 4:38 PM, Roland Smith wrote: With the recent death of Dennis Ritchie, we've lost one of the giants on whose shoulders we are standing. But rather that mourn his passing, I think it would be proper to remember and celebrate his achievements. His contributions to the C language and the UNIX operating system are a legacy that few can match. Therefore I would like to propose that the FreeBSD project dedicate the upcoming 9.0 release in his memory. I believe this would be an appropriate gesture. +1 FreeBSD-9 Codename Ritchie. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. Please consider the environment before printing this email. ___ 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
Upgrade/Change of ARCH
Hi, I have a 8.2-STABLE server which I am considering upgrading. I have a full backup on a disk so no worries about receovery. 1. I'd like to upgrade this server to 9.0-BETA3. What cvs tag should I use? Is *default release=cvs tag=. okay? 2. Is it possible/safe to change ARCH? Like I'd like to change from i386 tp amd64. What is the procedure? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. Please consider the environment before printing this email. ___ 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: apache 2.2.21 - back to 2.2.20 ?
On Tue, Sep 20, 2011 at 21:45, Sergio Tam tam.ser...@gmail.com wrote: 2011/9/20 n dhert ndhert...@gmail.com: Monday I did a portupgrade apache-2.2.20 needs updating (index has 2.2.21) There was no problem during the update (and nothing special mentionned in /usr/ports/UPDATING) Today Tuesday afternoon I did a # apachectl graceful Since them, several webpages give problems this error comes up: warning: preg_match() [function.preg-match]: Compilation failed: internal error: previously-checked referenced subpattern not found at offset 389 in /usr/local/www/apache22/data/drupal-6.22/includes/database.inc on line 347. Your drupal its old versión, i think work with php 4 and now you have php5 Try to upgrade drupal. Or, in worst case scenario, portdowngrade (it's in the ports) apache. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. Please consider the environment before printing this email. ___ 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: What dialup modem WILL work with 8.x and uart?
On Mon, Aug 22, 2011 at 13:18, Lars Eighner luvbea...@larseighner.comwrote: On Mon, 22 Aug 2011, Conrad J. Sabatier wrote: On Sun, 21 Aug 2011 11:34:22 -0500 (CDT) Lars Eighner luvbeas...@larseighner.com wrote: Since uart in 8.x will not support my PCI 3com hardware modem (as FreeBSD sio has since 4.x) and my PR is gathering dust, before I buy any more coaster sets from osdisc.com, it behooves to ask if there are any dialup modems that 8.x uart actually supports for ppp on demand? Do you have a serial port on your machine? If so, why not go with an external modem? Always worked for me, back in the day. :-) And my internal hardware modem worked for me when there was a serial driver, namely sio. It won't work with 8.x and uart, so there is no reason to think that things that used to work with sio will work with uart. That's my question: what dialup modem is KNOWN to work with uart on 8.x? This is a very legit question. Perhaps documentation for 8.x needs to be updated by those in the know. I live in some 3rd world country (BTW, how does one become 1st world?) and the use of modems of any kind seems to have died away with the advent of GSM networks and 3G/WCDMA. I was almost going out yelling that modems (internal/external/USB) are becoming obsolete. How wrong I was!! BTW, Lars, which country do you live in? Still no 3G there?? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. Please consider the environment before printing this email. ___ 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: A quality operating system
Windows 7 Ultimate or Windows Server (whichever version) that can do the same things you wanted. Perhaps you will find it easier with Windows? I must ask if you tried it with Windows - since there are free evaluations you could download and test. You should not waste time with FreeBSD in such a case. Even when you get big parts of the operating system correct, it's the thousand little details that have been forgotten, ignored or snootily written off that add up to many hours of frustration for the end user. This is not necessary frustration, and they get nothing out of it. It seems to exist because of the emotional and social attitudes of the FreeBSD team. Sadly, Ron is right. FreeBSD is not right for us, or any others who care about using an operating system as a means to an end. FreeBSD is a hobby and you have to use it because you like using it for the purpose of using it, and anything else will be incidental. That is the condition of FreeBSD now. If these criticisms were taken seriously, I believe the situation could change, and I hope it does. Just use MS Windows as it perhaps does everything for you. Better still, just use Linux if it does what you want. There is no need to cry out of this when you don't pay a dime! -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. Please consider the environment before printing this email. ___ 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: Partitioning with gpart or old style slices?
On Sun, Jun 5, 2011 at 08:03, Robert Simmons rsimmo...@gmail.com wrote: On Sunday, June 05, 2011 12:40:22 AM Matthias Apitz wrote: Since some time I'm as well using gpart(8) to setup new systems with the following sequence: # gpart create -s mbr ad4 # Init the disk with an MBR # gpart add -t freebsd ad4# Create a BSD container # gpart create -s bsd ad4s1 # Init with a BSD scheme # gpart add -t freebsd-ufs -s 1G ad4s1 # 1GB for / # gpart add -t freebsd-swap -s 2G ad4s1 # 2GB for swap # gpart add -t freebsd-ufs -s 2G ad4s1 # 2GB for /var # gpart add -t freebsd-ufs -s 1G ad4s1 # 1GB for /tmp # gpart add -t freebsd-ufs ad4s1 # all rest for /usr # gpart set -a active -i 1 ad4 But the result is not ready for boot after install the kernel and system; I allways have to go again with the sysinstall(8) tool to set the 'A' flag; don't know what I'm missing (and the man page is not very instructive on this); thanks You need to install the bootcode: This will install the interactive one: gpart bootcode -b /mnt2/boot/boot0 ad4 this will install the non-interactive one: gpart bootcode -b /mnt2/boot/mbr ad4 This is interesting and here is my question: Taking the above example from Matthias, assume that I have done everything including installing the bootcode, then I realize I am not happy with the scheme and I need to change. How do I wipe the whole thing in one go so that I can start afresh? gpart destroy ad4 ?? Why is there no sysinstall-style GUI for gpart? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. Please consider the environment before printing this email. ___ 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
Enable Sqlite3 module in python
Hello members, I am on FreeBSD 8.2-STABLE and I am running with python2.7. However I have a problem: mail# python2.7 -c 'import sqlite3' Traceback (most recent call last): File string, line 1, in module File /usr/local/lib/python2.7/ sqlite3/__init__.py, line 24, in module from dbapi2 import * File /usr/local/lib/python2.7/sqlite3/dbapi2.py, line 27, in module from _sqlite3 import * ImportError: No module named _sqlite3 How do I enable the sqlite3 module in python2.7 PS: Is anyone here testing out Mailman 3 with Exim, by any chance? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. Please consider the environment before printing this email. ___ 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: Enable Sqlite3 module in python
On Tue, May 24, 2011 at 13:41, Maxim Khitrov m...@mxcrypt.com wrote: On Tue, May 24, 2011 at 4:21 AM, Odhiambo Washington odhia...@gmail.com wrote: Hello members, I am on FreeBSD 8.2-STABLE and I am running with python2.7. However I have a problem: mail# python2.7 -c 'import sqlite3' Traceback (most recent call last): File string, line 1, in module File /usr/local/lib/python2.7/ sqlite3/__init__.py, line 24, in module from dbapi2 import * File /usr/local/lib/python2.7/sqlite3/dbapi2.py, line 27, in module from _sqlite3 import * ImportError: No module named _sqlite3 How do I enable the sqlite3 module in python2.7 Install databases/py-sqlite3. The python installation shows the following message when it is finished: Note that some of the standard modules are provided as separate ports since they require extra dependencies: bsddb databases/py-bsddb gdbmdatabases/py-gdbm sqlite3 databases/py-sqlite3 tkinter x11-toolkits/py-tkinter Install them as needed. - Max Thanks, Max! -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. Please consider the environment before printing this email. ___ 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: openvas
On Sun, May 15, 2011 at 16:38, pwnedomina pwnedom...@gmail.com wrote: anyone knows how to configure openvas properly on FreeBSD? If you read this [0], [1] and finally this [2] - then it doesn't seem so difficult. [0] http://hurricanelabs.com/lighthouse/newsletters/past/openvas-up-close-and-personal-part-1/ [1] http://hackertarget.com/2009/06/guide-to-openvas-on-ubuntu-904/ [2] http://blog.hazrulnz.net/1338/openvas-part-1.html -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. Please consider the environment before printing this email. ___ 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: Linksys-E4200 Wireless N-router
On Fri, Apr 8, 2011 at 13:55, Carmel carmel...@hotmail.com wrote: On Fri, 8 Apr 2011 07:56:00 +0300 Odhiambo Washington odhia...@gmail.com articulated: It may void the warranty yes, but dd-wrt has more features than stock firmware. That is like saying A is better than B without divulging any specific information. It is just a hollow statement. Either point me to the specific documentation explaining the differences in detail or explain them to me yourself. I did not know I needed a spoon to feed someone, but anyway, the main details are at http://dd-wrt.com/site/content/about The finer details are only visible once you look at what you can do with factory firmware, then flash your router with dd-wrt and compare. FYI, you can always revert to factory firmware if dd-wrt does not please you. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! ___ 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: Linksys-E4200 Wireless N-router
On Fri, Apr 8, 2011 at 18:05, Carmel carmel...@hotmail.com wrote: On Fri, 8 Apr 2011 14:03:57 +0300 Odhiambo Washington odhia...@gmail.com articulated: On Fri, Apr 8, 2011 at 13:55, Carmel carmel...@hotmail.com wrote: On Fri, 8 Apr 2011 07:56:00 +0300 Odhiambo Washington odhia...@gmail.com articulated: It may void the warranty yes, but dd-wrt has more features than stock firmware. That is like saying A is better than B without divulging any specific information. It is just a hollow statement. Either point me to the specific documentation explaining the differences in detail or explain them to me yourself. I did not know I needed a spoon to feed someone, but anyway, the main details are at http://dd-wrt.com/site/content/about The finer details are only visible once you look at what you can do with factory firmware, then flash your router with dd-wrt and compare. FYI, you can always revert to factory firmware if dd-wrt does not please you. That seems like a lot of work for a potential zero gain. I really don't see any purpose is taking the time and a perfectly good router out of commission to just experiment. Based on the simple concept of, If it ain't broke, don't fix it, I think I will leave it alone. One day, when you come to appreciate the power of Unix (open Source), you;ll wish you tried dd-wrt earlier (now!) :-) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! ___ 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: Linksys-E4200 Wireless N-router
On Thu, Apr 7, 2011 at 15:54, Carmel carmel...@hotmail.com wrote: I was wondering if anyone here has had any experience with a Linksys-E4200 Wireless N-router http://homestore.cisco.com/en-us/Routers/Linksys-E4200-MaximumPerformance-Wirelessn-router_stcVVproductId122703236VVcatId551966VVviewprod.htm?icid=meet-series-e4200-image-btnsrc2=meet-eseries-e4200-image-btn ? I know that FreeBSD probably does not support its wireless functions as it employs 802.11n wireless technology; however, other than that does anyone have any first hand knowledge of this unit? I have a rather old Linksys WRT150N Wireless that I am considering replacing with something more robust. I have a mixture of both Windows and FreeBSD machines. I can use the windows PCs to get the router configured, etcetera and use them and the printer via a wireless connection. The FreeBSD units will have to be connected directly unfortunately. Look at http://www.freebsd.org/releases/8.2R/hardware.html#WLAN If you identify a WiFi card on that list and install it on your FreeBSD box, then you can connect with wireless! -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! ___ 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: Linksys-E4200 Wireless N-router
On Thu, Apr 7, 2011 at 17:32, Carmel carmel...@hotmail.com wrote: On Thu, 7 Apr 2011 17:00:43 +0300 Odhiambo Washington odhia...@gmail.com articulated: On Thu, Apr 7, 2011 at 15:54, Carmel carmel...@hotmail.com wrote: I was wondering if anyone here has had any experience with a Linksys-E4200 Wireless N-router http://homestore.cisco.com/en-us/Routers/Linksys-E4200-MaximumPerformance-Wirelessn-router_stcVVproductId122703236VVcatId551966VVviewprod.htm?icid=meet-series-e4200-image-btnsrc2=meet-eseries-e4200-image-btn ? I know that FreeBSD probably does not support its wireless functions as it employs 802.11n wireless technology; however, other than that does anyone have any first hand knowledge of this unit? I have a rather old Linksys WRT150N Wireless that I am considering replacing with something more robust. I have a mixture of both Windows and FreeBSD machines. I can use the windows PCs to get the router configured, etcetera and use them and the printer via a wireless connection. The FreeBSD units will have to be connected directly unfortunately. Look at http://www.freebsd.org/releases/8.2R/hardware.html#WLAN If you identify a WiFi card on that list and install it on your FreeBSD box, then you can connect with wireless! Odhiambo, please don't CC me. I don't need multiple copies of the same post. Sorry. I hit reply-all and it CCed you. If you look carefully at that list, which by the way I have done previously, their are scant few 802.11n wireless cards listed. The few that might work appear to be lower end units. I have Linksys WMP300N units installed in my older PCs. The newer units will have the Linksys WMP600N installed. They are not listed on the URL listed above. If it is not listed, there is no guarantee. At least one of my Laptops has a Intel Centrino Wireless-N1030, 1x2 bgn (2.4GHz) + Bluetooth device installed. I am not even sure if that is supported, although at the present time I don't require it since it runs Windows-7. You can get the Live DVD and test that quite easily. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! ___ 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: Linksys-E4200 Wireless N-router
On Fri, Apr 8, 2011 at 02:03, Carmel carmel...@hotmail.com wrote: On Thu, 7 Apr 2011 17:19:16 -0500 Bryan H. li...@galador.org articulated: On Thu, Apr 7, 2011 at 9:41 AM, Odhiambo Washington odhia...@gmail.com wrote: On Thu, Apr 7, 2011 at 17:32, Carmel carmel...@hotmail.com wrote: On Thu, 7 Apr 2011 17:00:43 +0300 Odhiambo Washington odhia...@gmail.com articulated: On Thu, Apr 7, 2011 at 15:54, Carmel carmel...@hotmail.com wrote: I was wondering if anyone here has had any experience with a Linksys-E4200 Wireless N-router http://homestore.cisco.com/en-us/Routers/Linksys-E4200-MaximumPerformance-Wirelessn-router_stcVVproductId122703236VVcatId551966VVviewprod.htm?icid=meet-series-e4200-image-btnsrc2=meet-eseries-e4200-image-btn ? I know that FreeBSD probably does not support its wireless functions as it employs 802.11n wireless technology; however, other than that does anyone have any first hand knowledge of this unit? I have a rather old Linksys WRT150N Wireless that I am considering replacing with something more robust. I have a mixture of both Windows and FreeBSD machines. I can use the windows PCs to get the router configured, etcetera and use them and the printer via a wireless connection. The FreeBSD units will have to be connected directly unfortunately. Look at http://www.freebsd.org/releases/8.2R/hardware.html#WLAN If you identify a WiFi card on that list and install it on your FreeBSD box, then you can connect with wireless! Odhiambo, please don't CC me. I don't need multiple copies of the same post. Sorry. I hit reply-all and it CCed you. If you look carefully at that list, which by the way I have done previously, their are scant few 802.11n wireless cards listed. The few that might work appear to be lower end units. I have Linksys WMP300N units installed in my older PCs. The newer units will have the Linksys WMP600N installed. They are not listed on the URL listed above. If it is not listed, there is no guarantee. At least one of my Laptops has a Intel Centrino Wireless-N1030, 1x2 bgn (2.4GHz) + Bluetooth device installed. I am not even sure if that is supported, although at the present time I don't require it since it runs Windows-7. You can get the Live DVD and test that quite easily. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! ___ 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 If you're just looking for a new router, I would highly recommend the Linksys WRT160NL. I got mine refurbished from Cisco's store[1], and flashed it with dd-wrt[2] (which was incredibly easy, just search for the router in dd-wrt's router database, and follow the directions), and I'm very satisfied with the performance. Perhaps my only complaint is that the wired ports are not gigabit. Not a major problem for me at the moment, but it may be a deal-breaker for you. [1] http://homestore.cisco.com/en-us/outlet/Routers/linksys-WRT160NL-RM-Wirelessn_stcVVproductId89001910VVcatId543906VVviewprod.htm [2] http://www.dd-wrt.com/site/index What do you gain by flashing it? I did not see anything specific mentioned. This would also undoubtedly void any guarantee on the unit I presume. It may void the warranty yes, but dd-wrt has more features than stock firmware. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! ___ 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: DNS Administrator - Kenya
On Sun, Apr 3, 2011 at 18:57, Kenneth Parit kennethpa...@gmail.com wrote: Hello, I look forward to becoming the DNS Administrator for my country Kenya. It is impossible to download FreeBSD 8.2 from any of the mirror sites due to disconnections. Since I am contactable any day/time of the year and skilled in DNS setup, kindly email me the latest stable FreeBSD to be installed on Mac Pro (Model 1,1). The following specs: - Dual-Core Intel Xeon - Processor speed 2 GHz - 4 core (2 processors) - L2 Cache (per processor) - 4MB - Memory - 1GB - Bus Speed - 1.33 GHz - Boot ROM Version - MP11.005C.B04 - SMC Version - 1.7f6 - Serial Number - CK6350U0UPZ - Intel - ESB2 AHCI - Speed - 3.0 Gigabit - Capacity - 150 GB - DNS Server address 41.212.3.2, 212.165.130.9 Please keep in mind that FreeBSD is alittle overwhelming though my passion in learning is equally high. Include all installation and configuration information required. Many thanks. Kind regards Kenneth Parit +254 752 776675 Hello Parit, Please contact me on any of the two numbers appearing in my signature text. You will get FreeBSD 8.2 DVD from me. You can find me at Wilson Airport, If you find FreeBSD a little overwhelming, I am a phone call (or even an e-mail away) if you need help. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! ___ 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: Bandwith Management
On Wed, Mar 23, 2011 at 16:49, Eric Beukes ebeu...@cut.ac.za wrote: Could you please assist me. I have a freebsd box the previous person who handled it left the company. Now we increased the bandwidth with tenet now how do I increase it on my freebsd box? As well as how do I now what is actually used for the management of the bandwith like ipfw, ect? Please let me know For starters, could you please show what's in /etc/rc.conf? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! ___ 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 and SSD drives
On Sun, Feb 13, 2011 at 10:38 AM, Chad Perrin per...@apotheon.com wrote: On Sat, Feb 12, 2011 at 07:12:08PM +0300, Odhiambo Washington wrote: I fail to understand why manufacturers would let people install SSDs on machines when their life is so much in question. I fail to see why a manufacturer would *not* want your hardware to wear out faster, since that would mean you would have to buy replacement hardware sooner. Can someone please enlighten me on the dangers faced by those who opt to get their laptops installed with SSDs? In many cases, particularly where there is quite a lot of RAM installed in the system and where people use a netbook the way it was intended to be used when designed (typically involving a lot of Web browsing and not much else), SSDs might be the best option -- especially given the rapid obsolescence of low-performance, ultra-portable units. If you expect your hardware to last a long time, overrun physical RAM into swap space a lot, and (as you might with FreeBSD) compile code an awful lot, the heavier storage-write load might make more of a difference in the expected lifetime of the hardware. With FreeBSD, installing everything from binary packages can help mitigate the possible problems of shortening the life of your SSDs. Of course, if you care about having lots of storage, it's worth keeping in mind the fact that SSDs still cost a lot more per gigabyte of storage than rotating magnetic media (HDDs). I personally have one, with a Toshiba 128GB SSD (THNS128GG4BAAA-NonFDE). I am running Windows 7 on it. Should I stop and buy a SATA disk?:) Probably not. You already have the SSD storage, and its improved performance for many operations (as well as improved durability under stress in the short term) can still be of benefit. Just be sure you know when the usable lifespan of your SSD approaches, keep good backups (as you always should anyway), and be happy. You'd surely be happier with a better OS on it, though -- right? Hehee, Chad, on the Desktop, I'd rather run the ratware from Redmond than try FreeBSD! The second choice would be Linusware (not that I know much about it, but just because it seems to support certain aspects which would otherwise be painful to get to work with FreeBSD). Third option is PC-BSD (which is what you mean with better OS). All my servers run FreeBSD though. The better OS is not so better at the Desktop, hence the choice of ratware:-) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! ___ 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: Debian GNU/kFreeBSD
On Sun, Feb 13, 2011 at 11:01 AM, Mark Linimon lini...@lonesome.com wrote: On Sun, Feb 13, 2011 at 10:12:05AM +0300, Odhiambo Washington wrote: What is it that this Debian GNU/kFreeBSD ships in those 7 DVDs? Please ask that on one of their mailing lists; it's out of scope for the two mailing lists you posted to. mcl It was posted here so I must ask here. I am sorry thought that my reply-all went a little bit too far. I did not check that aspect. Why do some people post the way the OP did though? I blame the OP! -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! ___ 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 and SSD drives
On Sat, Feb 12, 2011 at 6:50 PM, Adam Vande More amvandem...@gmail.comwrote: On Sat, Feb 12, 2011 at 6:14 AM, Dave d...@g8kbv.demon.co.uk wrote: Define a *lot*. If you look up the spec's on the common (currently) available SSD systems, it's only in the 10's of 1000's writes. Pittiful compared to magnetic media. Chances are on many setups, by the time you've written enough data to significantly wear out the drive your magnetic media would died of mechanical failure long before. Purchase what you need MLC/SLC. The way they work too, if you write one sector you actualy re-write a much larger block of memory. Depends on full setup, the write amplification effect on the X-25's is about 1.1x. Recent SSD's all are much more efficient compared to when these were large, legitimate concerns. Wear leveling, not that common with SSD Hard Drives, but very common with USB (Flash) memory sticks, Completely wrong even the first gen modern SSD's had wear leveling built in. SSD's have a place, but not for things like swapfiles or working data that changes a lot.. I guess ZIL's wouldn't be a good use for such devices either. Perhaps you can inform FS designers that they are doing it wrong. While my tech mind cannot comprehend all these arguments, there are laptops which come with SSD as primary drives and are running Windows or even Apple's OS X. I fail to understand why manufacturers would let people install SSDs on machines when their life is so much in question. Can someone please enlighten me on the dangers faced by those who opt to get their laptops installed with SSDs? I personally have one, with a Toshiba 128GB SSD (THNS128GG4BAAA-NonFDE). I am running Windows 7 on it. Should I stop and buy a SATA disk?:) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! ___ 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 and SSD drives
On Sat, Feb 12, 2011 at 7:54 PM, Frank Shute fr...@shute.org.uk wrote: On Sat, Feb 12, 2011 at 07:12:08PM +0300, Odhiambo Washington wrote: On Sat, Feb 12, 2011 at 6:50 PM, Adam Vande More amvandem...@gmail.com wrote: On Sat, Feb 12, 2011 at 6:14 AM, Dave d...@g8kbv.demon.co.uk wrote: Define a *lot*. If you look up the spec's on the common (currently) available SSD systems, it's only in the 10's of 1000's writes. Pittiful compared to magnetic media. Chances are on many setups, by the time you've written enough data to significantly wear out the drive your magnetic media would died of mechanical failure long before. Purchase what you need MLC/SLC. The way they work too, if you write one sector you actualy re-write a much larger block of memory. Depends on full setup, the write amplification effect on the X-25's is about 1.1x. Recent SSD's all are much more efficient compared to when these were large, legitimate concerns. Wear leveling, not that common with SSD Hard Drives, but very common with USB (Flash) memory sticks, Completely wrong even the first gen modern SSD's had wear leveling built in. SSD's have a place, but not for things like swapfiles or working data that changes a lot.. I guess ZIL's wouldn't be a good use for such devices either. Perhaps you can inform FS designers that they are doing it wrong. While my tech mind cannot comprehend all these arguments, there are laptops which come with SSD as primary drives and are running Windows or even Apple's OS X. I fail to understand why manufacturers would let people install SSDs on machines when their life is so much in question. Can someone please enlighten me on the dangers faced by those who opt to get their laptops installed with SSDs? I personally have one, with a Toshiba 128GB SSD (THNS128GG4BAAA-NonFDE). I am running Windows 7 on it. Should I stop and buy a SATA disk?:) No you shouldn't but you should run FreeBSD on it ;) With all the debate about FreeBSD this, FreeBSD that as regards SSDs, I am not sure if I should so this:-) I'll continue to run my FreeBSD servers on SATA-N.. There's a lot of FUD talked about SSDs. All I know is that I've been using one in my workstation for coming up to a year with no problems so far. Take it from a mechanical engineer that SSDs are much more robust than HDDs, which is one reason they (HDDs) are going the way of the dodo. I recommend that people should use SSDs for their workstations. Makes a big difference in performance and makes the computer much more pleasant to work on. These people in the know always talk about the imminent failure of SSDs soon:-) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! ___ 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: Debian GNU/kFreeBSD
My question is: WHY need 7 DVDs??? DVDs?? Even M$ does not do such a crazy thing with its bloat-ware!! FreeBSD ships 1 DVD. What is it that this Debian GNU/kFreeBSD ships in those 7 DVDs? On Sat, Feb 12, 2011 at 11:03 PM, Bahman Kahinpour bahman.li...@gmail.comwrote: After a lot of searching over the Internet for finding the full 7 DVD set of Debian GNU/kFreeBSD system I found all of them in http://debian.nctu.edu.tw/debian-cd/6.0.0/kfreebsd-i386/iso-dvd/ http://debian.nctu.edu.tw/debian-cd/6.0.0/kfreebsd-amd64/iso-dvd/ And was able to try it a little bit. It is very interesting that you have a real FreeBSD Kernel. It may be very interesting to use DEB/APT system on FreeBSD too as it is extremely easy-to-use and reliable. What's your idea? Is there really a way to use DEB packages on the original FreeBSD system? Does anyone think that having an optional APT system somewhere like in the Ports Collection or ... can be advantageous? ___ 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 -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! ___ 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
8.2-RC Kernel build failure
cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -Werror /usr/src/sys/dev/jme/if_jme.c *** Error code 1 Stop in /usr/obj/usr/src/sys/GW. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! ___ 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: 8.2-RC Kernel build failure
On Sat, Jan 29, 2011 at 12:30 PM, Boris Samorodov b...@ipt.ru wrote: On Sat, 29 Jan 2011 12:19:00 +0300 Odhiambo Washington wrote: cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -Werror /usr/src/sys/dev/jme/if_jme.c *** Error code 1 Stop in /usr/obj/usr/src/sys/GW. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. It's always a good idea to show a command one used. And assuming you use -j X the log is useless since the actual error was way earlier. Please, remove the flag, add -DNO_CLEAN and show the command and a tail of the output. I always use `make kernel KERNCONF=MY_KERNEL`. No special flags. The whole output is here - http://62.8.64.102/~wash/kernel-20110129.log.txt http://62.8.64.102/~wash/kernel-20110129.log.txt -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! ___ 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: questions on bind9-3.6-P1
On Mon, Jan 24, 2011 at 10:33 PM, Gary Kline kl...@thought.org wrote: oKay, since my prev question caught no wixards, how about looking at the errors from bind-9.3.6? [I rebuilt this from the src tarball; it finally installed; I fixed some obvious errors, but several remain. Here is the log file where bind9 fails on em0, my NIC in my server. This is one failure that is simply over my head. +++ Jan 24 11:14:55 ethic named[59747]: starting BIND 9.3.6-P1 -c /var/named/etc/namedb/named.conf Jan 24 11:14:55 ethic named[59747]: could not listen on UDP socket: address in use Jan 24 11:14:55 ethic named[59747]: creating IPv4 interface em0 failed; interface ignored Jan 24 11:14:55 ethic named[59747]: could not listen on UDP socket: address in use Jan 24 11:14:55 ethic named[59747]: creating IPv4 interface lo0 failed; interface ignored Jan 24 11:14:55 ethic named[59747]: not listening on any interfaces Jan 24 11:14:55 ethic named[59747]: couldn't add command channel 127.0.0.1#953: address in use Jan 24 11:14:55 ethic named[59747]: couldn't add command channel ::1#953: address in use Jan 24 11:14:55 ethic named[59747]: could not listen on UDP socket: address in use Jan 24 11:14:55 ethic named[59747]: creating IPv4 interface em0 failed; interface ignored Jan 24 11:14:55 ethic named[59747]: could not listen on UDP socket: address in use Jan 24 11:14:55 ethic named[59747]: creating IPv4 interface lo0 failed; interface ignored Jan 24 11:14:55 ethic named[59747]: running +++ Can anybody explain why (eg) the lo0 failed or was ignored. And why bind9--now offically at its EOLife--has trouble creating an IPv4 interface with my NIC, em0? Do I have to do some very simple? like rebooting? You already have another instance of Bind running, so you cannot have TWO !!! -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! ___ 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: no apache22, php5 cores
On Fri, Jan 21, 2011 at 12:49 AM, Gary Kline kl...@thought.org wrote: Guys, As of about an hour ago things are back. I cannot get apache22 to launch of my server. I rebuilt php5 then did a # php -v and got an immediate core dump. Note that I was using portmanager -u -f but without the --resume switch and was 88% done upgrading when I accidently killed the xterm [[ctwm]. I've made a clean start, this time with the -u -f and --resume flags. Up to about 20%. Could the php5 troubles be why I can't get apache to launch? [I also rebuilt php5-extensions. Anything else I should consider? Gary, you have several problems-in-one. Not sure where to start, but you can do this: cd /usr/local/lib/php mv 2* _2* (decide what the * is) mv /usr/local/etc/php/extensions.ini /usr/local/etc/php/extensions.ini-troublesome cd /usr/ports/lang/php5 make deinstall make clean make install clean cd /usr/ports/lang/php5-extensions make deinstall make clean make install clean Apache22: apachectl configtest See what errors are generated and start posting those. We are watching. You may want to see why Apache is not starting. Look at /var/log/httpd-error.log -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! ___ 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: upgrading a dozen of servers from 7.0 to 8.1
On Fri, Jan 21, 2011 at 4:54 PM, Radomskiy Yuriy yuriu...@yandex.ua wrote: Hello! I have around 15 servers running FreeBSD 7.0 across the country. I would like to upgrade them to 7.3 or even 8.1 using binary updates. They are primary mail servers all running apache-2.0 + php5-5.2.10, mysql-server-5.1, exim-4.69, dovecot-1.1 They are almost identical - they were identical a couple of years ago, but now they have some minor differences (soft, settings, scripts) Hardware is all the same. All the servers are in production. The steps I have to do and the questions about them i have: 1. update all soft to current versions (including change of config files) apache - goto v2.2 php - goto v5.3 mysql - stick with 5.1 exim - goto 4.73 dovecot - goto 1.2.16 q's: how can upgrading to apache 2.2 + php5.3 be done with minimal downtime? portupgrade -o lang/php52 lang/php5 That will upgrade your php from 5.2.10 to 5.2.17. Please stick with php-5.2.x unless you are sure php-5.3 will not break some web apps you are running. upgrade php-extensions the same way. can i upgrade or is it better to rebuild it from the scratch (because of major version changes)? You can upgrade. Please follow the instructions from http://people.freebsd.org/~rse/upgrade/freebsd-upgrade-7x-8x.txthttp://people.freebsd.org/%7Erse/upgrade/freebsd-upgrade-7x-8x.txt Just note one thing I noticed while upgrading my servers: s/compat7x-`uname -m`-7.2.702000.200906.1.tbz/compat7x-`uname -m`-7.3.703000.201008.tbz/g 2. do a binary upgrade of OS according to handbook http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html You can do that, but I personally prefer http://people.freebsd.org/~rse/upgrade/freebsd-upgrade-7x-8x.txthttp://people.freebsd.org/%7Erse/upgrade/freebsd-upgrade-7x-8x.txt. I have never used freebsd-update on any system I run, but that is out of choice, not any other reason! 3. rebuil all the software again portupgrade -af If you follow http://people.freebsd.org/~rse/upgrade/freebsd-upgrade-7x-8x.txthttp://people.freebsd.org/%7Erse/upgrade/freebsd-upgrade-7x-8x.txt, there will not be any urgency in doing portupgrade -af. I have two scenarios for this: I. 1. restore a server from a backup on a dedicated machine. 2. do all the upgrade procedures on this dedicated server. 3. clone this upgraded server to the original server. 4. Repeat this procedure for each server. Advantages: - almost garanteed reliability. Disadvantages: - need to sync data from the last backup with current one. - takes very long time. Too tedious!! II. 1. restore one server from backup on a dedicated machine. 2. do all the upgrade procedures on this restored server. 3. write some sort of script that does the upgrate (or makes it easier). 4. upgrate all the servers (since they are almost identical) one at a time. Advantages: - should be faster Disadvantages: - something might go wrong on some particular server(s). Too tedious!! Which method would you sudgest? As I suggested above!! Is there any other method or maybe enhancements ones to do the upgrade? ?? How can it be used that all servers are almost identical? Using RSE's methods, your servers will remain as identical as they are now. Only you will end up running FreeBSD 8.x :-) How can the process be automated? Unattended? Never for a server!!! Scripted?? By RSE!! Should i be looking into building binary packages of required software and redistributing them to the servers instead of building them from the ports tree (as it is done now)? No. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! ___ 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: Continuing problems with Dovecot + MySQL 5.5.8_1
On Tue, Jan 11, 2011 at 7:25 PM, Jerry freebsd.u...@seibercom.net wrote: FreeBSD 8.2-PRERELEASE After updating to the latest version of MySQL (5.5.8_1), I am continuing to have problems with Dovecot failing to run correctly even though I completely removed and reinstalled it. I might add that I did a pkg_delete of the MySQL client and server also before updating the port. I was led to believe that this updated version corrected the problem; however, that does not appear to be correct. :-( Strangely enough, Postfix, after rebuilding it, works fine with the new version of MySQL. :-) What I need to do is get a gdb backtrace of dovecot. Since the program starts from the dovecot script in the /usr/local/etc/rc.d directory, I am unsure of how to accomplish this. I have tried several methods; however, they all fail. Exactly how would I start dovecot using the script via gdb to get a backtrace? Since you are on FreeBSD, you can do the following (as root of course): #ulimit -c unlimited #gdb -args /usr/local/sbin/dovecot -F -c /usr/local/etc/dovecot/dovecot.conf run bt full You would run 'bt full' only after Dovecot died (gdb will tell you when that happens) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! ___ 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: ImageMagick-6.6.6-10 Port
On Fri, Jan 7, 2011 at 6:45 PM, Steve Suhre st...@antero.com wrote: I wasn't sure who to send this to I just grabbed the ImageMagick-6.6.6-10 port from the FreeBSD.com ports collection and there's a problem with the source code. When I run 'make' it croaks looking for ImageMagick-6.6.6-10.tar.gz in the distinfo file, but the distinfo file references ImageMagick-6.6.6-10.tar.xz. I'll find it somewhere else, but I thought you'd want to know... You grabbed the unofficial port, so not entirely unexpected. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! ___ 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
sysinstall error on 8.2-PRE
Dear people, I have a strange problem. On one system that I am running, I cannot use sysinstall to do partition/label for a disk. This problem seems peculiar to this OS, somewhere. When I launch sysinstall, I get some funny message appear on the screen (see http://lix.in/-9b7e16 for an image). From there I choose custom - partition Select the disk then enter partition editor. The cursor simply refuses to move from there, though keyboard is active. What may be the cause? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! ___ 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: sysinstall error on 8.2-PRE
On Thu, Jan 6, 2011 at 8:02 PM, Bruce Cran br...@cran.org.uk wrote: On Thu, 6 Jan 2011 17:38:33 +0300 Odhiambo Washington odhia...@gmail.com wrote: I have a strange problem. On one system that I am running, I cannot use sysinstall to do partition/label for a disk. This problem seems peculiar to this OS, somewhere. When I launch sysinstall, I get some funny message appear on the screen (see http://lix.in/-9b7e16 for an image). From there I choose custom - partition Select the disk then enter partition editor. The cursor simply refuses to move from there, though keyboard is active. The problem is that geom has been extended with additional types (e.g. glabel, gsched) that libdisk doesn't know about - so it gets confused. So, how do I fix/manoeuvre around that problem? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! ___ 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: mysql-5.5.8 Postfix/Dovecot
On Wed, Jan 5, 2011 at 2:49 PM, Jerry freebsd.u...@seibercom.net wrote: I have seen it posted here and on the Dovecot forum that upgrading to mysql-5.5.8 on FreeBSD breaks both Postfix and Dovecot. Apparently reverting to the mysql-client-5.5.7 corrects this problem. Can any one else confirm this or is this simply an isolated incident? If this is correct, is there a PR filed against it? I was not able to locate one. Specifically, I am interested in the interaction on an FreeBSD-8.2 / amd64 system. I haven't filed a case though. My system is 8.2-STABLE/i386. I was running 5.5.7 with Request Tracker (Devel)http://bestpractical.com/rtand all played nice until I upgraded to 5.5.8. As this is a test platform, I wanted to install the next devel version of RT when I encountered a problem with initializing the database: I get this error: cut DBD::mysql::st execute failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ENGINE=InnoDB CHARACTER SET utf8' at line 15 at /usr/home/wash/Tools/RT/RT-4/rt-4.0.0rc1/sbin/../lib/RT/Handle.pm line 508. *** Error code 255 /cut My worry is so much about the character set error. I also found my dovecot broken: Jan 05 15:26:16 master: Error: service(auth): child 46112 returned error 1 Jan 05 15:26:16 master: Error: service(auth): command startup failed, throttling Jan 05 15:26:51 pop3-login: Error: Timeout waiting for handshake from auth server. my pid=46111, input bytes=0 Jan 05 15:27:16 auth: Error: /libexec/ld-elf.so.1: /usr/local/lib/libmysqlclient.so.16: version libmysqlclient_16 required by /usr/local/libexec/dovecot/auth not defined -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! ___ 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: mysql-5.5.8 Postfix/Dovecot
On Wed, Jan 5, 2011 at 10:09 PM, Jerry freebsd.u...@seibercom.net wrote: On Wed, 5 Jan 2011 15:37:38 +0300 Odhiambo Washington odhia...@gmail.com articulated: On Wed, Jan 5, 2011 at 2:49 PM, Jerry freebsd.u...@seibercom.net wrote: I have seen it posted here and on the Dovecot forum that upgrading to mysql-5.5.8 on FreeBSD breaks both Postfix and Dovecot. Apparently reverting to the mysql-client-5.5.7 corrects this problem. Can any one else confirm this or is this simply an isolated incident? If this is correct, is there a PR filed against it? I was not able to locate one. Specifically, I am interested in the interaction on an FreeBSD-8.2 / amd64 system. I haven't filed a case though. My system is 8.2-STABLE/i386. I was running 5.5.7 with Request Tracker (Devel)http://bestpractical.com/rtand all played nice until I upgraded to 5.5.8. As this is a test platform, I wanted to install the next devel version of RT when I encountered a problem with initializing the database: I get this error: cut DBD::mysql::st execute failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ENGINE=InnoDB CHARACTER SET utf8' at line 15 at /usr/home/wash/Tools/RT/RT-4/rt-4.0.0rc1/sbin/../lib/RT/Handle.pm line 508. *** Error code 255 /cut My worry is so much about the character set error. I also found my dovecot broken: Jan 05 15:26:16 master: Error: service(auth): child 46112 returned error 1 Jan 05 15:26:16 master: Error: service(auth): command startup failed, throttling Jan 05 15:26:51 pop3-login: Error: Timeout waiting for handshake from auth server. my pid=46111, input bytes=0 Jan 05 15:27:16 auth: Error: /libexec/ld-elf.so.1: /usr/local/lib/libmysqlclient.so.16: version libmysqlclient_16 required by /usr/local/libexec/dovecot/auth not defined I wonder if this is a Dovecot error or a problem with the MySQL upgrade. Did you try asking Timo regarding the Dovecot problem? In any case, it might be worth it to file a PR against both Dovecot and MySQL. Nothing will probably get done until one is filed. Such minor breakages (like Dovecot experienced) don't worry me much sometimes. I simply recompile and life continues. When I upgrade a port I always expect (as a matter of principle) that something might go wrong and I go looking for it. However, the breakage with RT is one that has left me so worried - that character set issue, since it manifests itself on the main system, and only with 5.5.8 and not 5.5.7! -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! ___ 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
MySQL 5.5.7-5.5.8 Gotcha!
I am seeing a problem I am unable to solve after upgrading from 5.5.7 - 5.5.8. I am installing Request Tracket and I get the following error (which is in no way related to RT, I think): cut Character set 'latin1' is not a compiled character set and is not specified in the '/usr/local/share/mysql/charsets/Index.xml' file Failed to connect to dbi:mysql:;host=localhost as user 'root': Can't initialize character set latin1 (path: /usr/local/share/mysql/charsets/)*** Error code 255 /cut The Index.xml lists latin1 character set and even the file containing the charsets is there. I still don't think I should downgrade, but google isn't helping me much! -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! ___ 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: MySQL 5.5.7-5.5.8 instructions seem scary
On Wed, Dec 29, 2010 at 1:57 PM, Nerius Landys nlan...@gmail.com wrote: I read this in /usr/ports/UPDATING today: = 20101227: AFFECTS: users of databases/mysql55-server AUTHOR: a...@freebsd.org MySQL 5.5 has been updated to 5.5.8 GA release. Since layout is changed you should remove mysql55-{client/server/scripts} ports before upgrading. The build system is changed too, so expect failures. = Now that seems pretty scary. Remove all mysql packages from my system?!?! Expect failures?!?!? I have important data in my current mysql install. If there is no reason for you to run it, then keep off. Otherwise backup your DB and follow the instructions:-) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! ___ 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 broke it! FreeBSD V8.1 release
On Wed, Dec 22, 2010 at 2:27 PM, Chris Rees utis...@gmail.com wrote: Your PATH isn't set. # fsck / # mount -uw / # /bin/sed -i.bak -e 's/^;//' /etc/rc.conf Or (can't remember where des is kept) # fsck /usr # mount /usr # /usr/bin/sed -i.bak -e 's/^;//' /etc/rc.conf For someone who asked a question like the OP, this is a too advanced to understand. mount -u / is almost enough unless he cold-booted the computer at some point. Yes, it's safe to do fsck I agree. Just tell the poster that it id necessary to edit /etc/rc.conf by doing xyz. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! ___ 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: SEBSD is dead?
2010/12/17 zY zhangyuan5...@gmail.com guys, I have a question. SEBSD is dead? Please tell me its latestprogress. Thanks. What is it? A FreeBSD port? Here we discuss FreeBSD, unless you are porting something from somewhere:) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! ___ 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: vsftpd + SSL not working
On Thu, Dec 9, 2010 at 3:10 PM, Redd Vinylene reddvinyl...@gmail.comwrote: I'm trying to set up a virtual vsftpd-ssl-2.3.2 server (FreeBSD 8.2-PRERELEASE) so my band can share new tracks, production material and what not, but my SSL certificate keeps messing it up: http://pastie.org/1358536 - anybody know why? It works just fine when I disable the SSL. I have no firewalls running. I hope this is not too off-topic. I just don't know where else to ask. Would it not be better if you posted your configuration and debug logs for those willing to help you out to see? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! ___ 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: Upgrade from 7.x to 8.x
Forget the manual process. Use tested procedures: http://people.freebsd.org/~rse/upgrade/freebsd-upgrade-7x-8x.txthttp://people.freebsd.org/%7Erse/upgrade/freebsd-upgrade-7x-8x.txt I even used those procedures http://people.freebsd.org/%7Erse/upgrade/ to upgrade one system from 6.4 to 7.x and finally to 8.1. One thing you should note: *s/*compat7x-`uname -m`-7.2.702000.200906.1.tbz*/*compat7x-`uname -m`-7.3.703000.201008.tbz*/g* On Tue, Nov 23, 2010 at 1:04 PM, Uroš Gruber uros.gru...@gmail.com wrote: Hi, I was looking for help about this on forum, but a the moment without and luck. I would like to upgrade one of my servers from 7.2 release to 8.1 stable. I've done this on other servers and all went well. But with this one I can't get through. I'm testing all this in virtual machine where I transfer all data from real server. Here is my procedure 1. cd /usr/src 2. make update (using RELENG_8) 3. make cleanworld make cleandir 4. make buildworld 5. make buildkernel Through here everything works, but from now on I tried manny different steps but unfortunately I can't make it work. If I run make installkernel and reboot the server with single user a new kernel loads ok the only problem I have is that some of the programs don't actually work. For example awk /libexec/ld-elf.so.1: /lib/libm.so.5: version FBSD_1.0 required by /usr/bin/awk same problem is with ps, more etc. If I continue to run mergemaster and make installworld nothing really works, because installworld throws me a bunch of errors because some of the utilities needed does not work at all. So I tried other method. After make installworld I put server in single user mode without restarting (shutdown now). From there I can continue with 7. mergemaster -p 8. make installworld 9. make delete-old 10. make delete-old-lib 11. mergemaster Btw I tried reversing order of step 10 and 11 but it make no difference. Then I reboot the machine and first it looks I'll done my job well but right after it started complaining about the same thing as with awk but now with ps etc. and then crash with kldload process. The only thing that it works is single user mode. Because of all the problems with buildworld stuff i tried to use freebsd-update utility but this one failed even more. So I abandon this idea completely. I would appreciate some help to successfully upgrade this server. Fresh install is at the moment no option. Server is running 7.2 release with amd64 kernel. Best regards Uros ___ 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 -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! ___ 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: adding/updationg a Port
On Wed, Nov 17, 2010 at 6:47 PM, Nicolas de Bari Embriz Garcia Rojas nb...@dalmp.com wrote: Hi, On November 6, I submitted a New port: http://www.FreeBSD.org/cgi/query-pr.cgi?pr=ports/151988 so far the submissions seems to be on standby. My question is, if for adding a port takes a 'couple of months' how much does it take for updating current existing ports ? November 6th to today is only 11 days, not even 1 month! :-) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! ___ 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: You complain about my exceeded question but got an outstanding volume of answers!!! Why?
2010/11/12 José Silveira jmlsilve...@gmail.com You guys complain cause I asked why do use a demon as a mascot of freeeBSD. Some says... oh no this crap again, others desrespected me but what is incredible is that even a simple question like I did caused so many rage and movement of answers!!! I think this theme still alived... I got thousands of answers! Just one with apropriate contents. The rest was a crap. You can drown in this crap that is freeBSD!!! If you believed the question you asked, then you should realize No ONE is forcing you to use FreeBSD. There are other *BSDs and hundred of Linux flavors out there which you can use. Wait, there is even the sloth from Redmond that you can use. Please do realize that you are NOT the spokesman for Christians or Muslims and so you can't say many of then shun FreeBSD because of whatever you think is the Devil. Give us a break. You even don't know what Jesus Christ looks like, or do you? Do you believe in those photos and idols you see in Church as true depiction of Jesus? Or Mary for that matter? What makes you think what FreeBSD uses is the Devil? Have you met the devil face to face? Just save us that crap and move on, regardless of the answers you got. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! ___ 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: You complain about my exceeded question but got an outstanding volume of answers!!! Why?
2010/11/12 José Silveira jmlsilve...@gmail.com What...was...that...crap So many words for saying nothing! I will never use freeBSD, one of the reasons is you. FreeBSD is FREE. How much do you suppose we lose if one person with a stupid attitude refuses to use it? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! ___ 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: You complain about my exceeded question but got an outstanding volume of answers!!! Why?
On Fri, Nov 12, 2010 at 5:03 PM, Svein Skogen (Listmail account) svein-listm...@stillbilde.net wrote: On 12.11.2010 13:24, José Silveira wrote: You guys complain cause I asked why do use a demon as a mascot of freeeBSD. Some says... oh no this crap again, others desrespected me but what is incredible is that even a simple question like I did caused so many rage and movement of answers!!! I think this theme still alived... I got thousands of answers! Just one with apropriate contents. The rest was a crap. You can drown in this crap that is freeBSD!!! I suggest using sunlight as detergent for this thread. They sell Sunlight in Sweden as well?? We love it in Kenya:-) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! ___ 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: apache13 to apache22
On Tue, Nov 9, 2010 at 11:07 PM, Fbsd8 fb...@a1poweruser.com wrote: Frank Shute wrote: On Mon, Nov 08, 2010 at 02:18:19PM -0500, Fbsd8 wrote: As I do a complete fresh install of 8.1 I saw that apache13 is no longer being supported, so thought this is the time I will move to apache22. Now everything went real easy until testing my websites. In apache13 the .css (style sheet) calls for a blue background. The .css file is in the same directory as the html files making up the website. In apache13 I got the blue background but in apache22 I get a white background. I checked the apache22 htppd.config file for any info on css but found none. Are .css (style sheet) handled differently in apache22? AFAIK they're not. It sounds like the stylesheet isn't being served up (white background is default). Examine the apache error log. By default it's in /var/log. Also look in the regular apache log and it could be the stylesheet is getting a 404. Is server root the same in httpd.conf for 2.2 as it is for 1.3? Could be the cause of the problem. 2.2 uses a different root by default IIRC. Regards, This is part of my config file. ServerRoot /usr/local Listen 6680 DocumentRoot /usr/local/www/apache22/data Directory / AllowOverride None Order deny,allow Deny from all /Directory Directory /usr/local/www/apache22/data Options FollowSymLinks MultiViews AllowOverride None Order allow,deny Allow from all /Directory IfModule alias_module Alias /FBSD_manuals/ /usr/local/share/doc/ Directory /usr/local/share/doc Options Indexes FollowSymlinks MultiViews AllowOverride None Order allow,deny Allow from all /Directory /IfModule Here are messages from the access-log. GET /index.php/00.00-web_style_sheet.css HTTP/1.1 200 6839 GET /index.php/powered_by_apache_bsd.gif HTTP/1.1 200 6839 GET /index.php/powered_by_FreeBSD.gif HTTP/1.1 200 6839 You can see that apache22 is saying the .css and the 2 .gif have been served up, but the browser has white background instead of blue and the 2 gif images are missing from the displayed web page. Now this is a working website that displays correctly on apache13 so i know there is nothing wrong with the directory content. The alias website has the .css file in the same directory and it displays correctly. What am I overlooking here? If the alias website is working correctly, which one else is not working? Where is its DocumentRoot? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! ___ 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 - POP3 timeouts
On Wed, Nov 3, 2010 at 11:36 PM, Grant Peel gp...@thenetnow.com wrote: Hello all, I have serveral servers setup with FreeBSD 8.0. Each of these servers are running vm-pop3d, which has worked well for many years now. Since installing FreeBSD 8.0, the number of timeouts on port 110 have skyrocketed on all the servers. What do es since installing FreeBSD 8.0 mean here? Why did you install FreeBSD 8.0?? What were you running before? Some clients connecting (checking thier email) 200 times a day, may be seeing as many as 50 timeouts. Is there any tuning somewhere I have missed? You must also show us the server logs showing the timeouts. Please enable debug logging on vm-pop3d if possible. I hope you do realize that in this forum, we mostly handle questions about FreeBSD and not those related to the daily running of apps (like vm-pop3d). so you'll bear with us since some of us run other pop3/imap4 servers different than vm-pop3d. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! ___ 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
Update gone wrong
A colleague of mine had his hands on a test server and ran something that I am unable to figure out how to rectify. When any user does a login into the system, the contents of of a file, containing src/etc/mtree/BIND.chroot are displayed on the screen. Another symptom of this is that I see a message like: Oct 26 22:27:00 gw su: _secure_path: cannot stat /some/path/to/.login_conf: Permission denied. What is the possible cause of these and how do I rectify? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! ___ 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: need help with php.
On Wed, Oct 20, 2010 at 5:34 AM, Alejandro Imass a...@p2ee.org wrote: On Mon, Oct 18, 2010 at 11:31 PM, Gary Kline kl...@thought.org wrote: Ok, I've done everything I can think of and still my php5 fails. Several pages use a php counter [[that I wrote years ago. That is the main thing that is busted. Anybody up to helping me with this one? Did you happen to upgrade to 5.3? It breaks a lot of code that used to run finr in 5.2. If you did upgrade, try downgrading to 5.2, it will we a pain though, use portmaster if possible IMO. Downgrading from 5.3 to 5.2 wasn't quite a pain, unless I missed something. 1. pkg_delete -f php5-\* 2. rm -rf /usr/local/lib/php/* 3. cp /dev/null /usr/local/etc/php/extensions.ini 4. cd /usr/ports/lang/php52 make config make install clean 5. cd /usr/ports/lang/php52-extensions 6. pkgdb -F 7. apachectl configtest 8. /usr/local/etc/rc.d/apache22 stop /usr/local/etc/rc.d/apache22 start 9. less /var/log/httpd-error.log - check for any clues that apache might be affected. 10. ps ax | grep httpd -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! ___ 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
Downgrading php5
Is there a way to downgrade from php-5.3.3 to 5.2.14 or any 5.2.x on FreeBSD 8.1? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! ___ 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: Downgrading php5
On Tue, Oct 19, 2010 at 10:02 PM, Maciej Milewski m...@dat.pl wrote: On Tuesday 19 October 2010 19:56:16, Odhiambo Washington wrote: Is there a way to downgrade from php-5.3.3 to 5.2.14 or any 5.2.x on FreeBSD 8.1? lang/php52 and lang/php52-extensions is in the tree. Have you tried that? :-) I need something to open my eyes;-) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! ___ 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: Upgrading to higher major version directly or via small steps?
On Mon, Oct 4, 2010 at 4:47 PM, c0re nr1c...@gmail.com wrote: Hello all! I'm interested in 2 updates: - from 6.2 to 7.3 and - from 6.2 to 8.1 Can I update directly from 6.2 to 7.3? like set RELENG_7_3 in supfile and make csup. Or I should update to 6.4, then to 7.0, and then to 7.3? And same question about upgrading from 6.2 to 8.1 - can i csup directly to 8.1? If not - why is it so? http://people.freebsd.org/~rse/upgrade/ -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ If you have nothing good to say about someone, just shut up!. -- Lucky Dube ___ 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: any one with acer 5740 running freebsd ?
On Mon, Oct 4, 2010 at 12:04 PM, Mbsd Basd new...@rocketmail.com wrote: Hi , This is my first mail to the list. I would like to install free bsd/pcbsd to my laptop. Primary use is to use it as a multimedia pc and also to use it to learn about operating systems I tried the pc bsd live cd and it worked fine. I would like to hear any comments or +experience with install on acer 5740. configuration is as below:. Intel i5 3gb ram INSYDE BIOS 1.15 320GB hard disk DVD+-RW b/g/n wireless thanks, If it worked with the LiveCD, it will work when installed! -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ If you have nothing good to say about someone, just shut up!. -- Lucky Dube ___ 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: Upgrading autoconf
On Thu, Sep 30, 2010 at 6:59 PM, Daniel Bye freebsd-questi...@slightlystrange.org wrote: On Thu, Sep 30, 2010 at 06:50:22PM +0300, Odhiambo Washington wrote: I am trying this out: #portupgrade -f 'autoconf*' 'automake*' Try upgrading the failing ports by hand. portupgrade tends to suppress full error output, making it difficult to ascertain exactly what's gone wrong. Alternatively, I would be tempted to just uninstall autoconf* and automake*, since they will get pulled in as dependencies whenever you come to build another port that requires them. Hi Dan, Turns out the culprit was m4. Once I did 'portupgrade m4' successfully, everything now compiled fine. The box is running FreeBSD 6.4-STABLE which I was ashamed to mention:-) Will migrate it to 8.x soon, by doing a new installation and migrating. Or should I wait for FreeBSD-9 ?? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ If you have nothing good to say about someone, just shut up!. -- Lucky Dube ___ 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: Upgrading autoconf
On Fri, Oct 1, 2010 at 12:36 PM, Daniel Bye freebsd-questi...@slightlystrange.org wrote: On Fri, Oct 01, 2010 at 12:13:28PM +0300, Odhiambo Washington wrote: On Thu, Sep 30, 2010 at 6:59 PM, Daniel Bye freebsd-questi...@slightlystrange.org wrote: On Thu, Sep 30, 2010 at 06:50:22PM +0300, Odhiambo Washington wrote: I am trying this out: #portupgrade -f 'autoconf*' 'automake*' Try upgrading the failing ports by hand. portupgrade tends to suppress full error output, making it difficult to ascertain exactly what's gone wrong. Alternatively, I would be tempted to just uninstall autoconf* and automake*, since they will get pulled in as dependencies whenever you come to build another port that requires them. Hi Dan, Turns out the culprit was m4. Once I did 'portupgrade m4' successfully, everything now compiled fine. The box is running FreeBSD 6.4-STABLE which I was ashamed to mention:-) Glad you fixed it! Will migrate it to 8.x soon, by doing a new installation and migrating. Or should I wait for FreeBSD-9 ?? I'd go for 8.x as soon as possible. It'll be a while before 9 is ready for production, and when it is released, it should be pretty straight forward to upgrade from 8.x using the standard buildworld cycle, provided your setup isn't too outlandish! Update 6.4 to 8.x?? Or you mean some upgrade path like install 8.x and then migrate services?:-) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ If you have nothing good to say about someone, just shut up!. -- Lucky Dube ___ 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: Upgrading autoconf
On Fri, Oct 1, 2010 at 5:11 PM, Daniel Bye freebsd-questi...@slightlystrange.org wrote: On Fri, Oct 01, 2010 at 03:02:10PM +0300, Odhiambo Washington wrote: Will migrate it to 8.x soon, by doing a new installation and migrating. Or should I wait for FreeBSD-9 ?? I'd go for 8.x as soon as possible. It'll be a while before 9 is ready for production, and when it is released, it should be pretty straight forward to upgrade from 8.x using the standard buildworld cycle, provided your setup isn't too outlandish! Update 6.4 to 8.x?? Or you mean some upgrade path like install 8.x and then migrate services?:-) Since you're crossing two major versions, I'd go for a clean install. You could conceivably go straight to 8 using buildworld, but I think the safest and simplest course of action is to take good backups and start from scratch. As for going from 8.x to 9.x, that should be pretty easy, if, as I said, your setup isn't too far from the default. But of course, only you can make that call. My servers are pretty easy to migrate. It's just a case of a fresh install, install the applications, migrate the configs and data/databases since I try and keep up to date with the application versions as much as possible. The only thing that changes significantly is the base system. I will go for a clean install. Sometimes back I saw some instructions to upgrade upwards (6.x -7.x -8.x) but I cannot find them anymore, although the only time to do those are when the system is in the room next:-) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ If you have nothing good to say about someone, just shut up!. -- Lucky Dube ___ 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
Upgrading autoconf
I am trying this out: #portupgrade -f 'autoconf*' 'automake*' and I end up with: === Building for autoconf-2.67 gmake all-recursive gmake[1]: Entering directory `/usr/ports/devel/autoconf267/work/autoconf-2.67' Making all in bin gmake[2]: Entering directory `/usr/ports/devel/autoconf267/work/autoconf-2.67/bin' rm -f autom4te autom4te.tmp srcdir=''; \ test -f ./autom4te.in || srcdir=./; \ sed -e 's|@she...@]|/bin/sh|g' -e 's|@pe...@]|/usr/bin/perl|g' -e 's|@perl_flo...@]|yes|g' -e 's|@bind...@]|/usr/local/bin|g' -e 's|@pk gdatad...@]|/usr/local/share/autoconf-2.67|g' -e 's|@pref...@]|/usr/local|g' -e 's|@autoconf-na...@]|'`echo autoconf | sed 's$-2.67'`'|g' -e ' s|@autoheader-na...@]|'`echo autoheader | sed 's$-2.67'`'|g' -e 's|@autom4te-na...@]|'`echo autom4te | sed 's$-2.67'`'|g' -e 's|@m...@]|/usr /local/bin/gm4|g' -e 's|@m4_debugfi...@]|--error-output|g' -e 's|@m4_g...@]||g' -e 's|@a...@]|/usr/bin/awk|g' -e 's|@release_ye...@]|'`sed 's/^\( [0-9][0-9][0-9][0-9]\).*/\1/;q' ../ChangeLog`'|g' -e 's|@versi...@]|2.67|g' -e 's|@package_na...@]|GNU Autoconf|g' -e 's|@configure_inp...@]|Gene rated from autom4te.in; do not edit by hand.|g' ${srcdir}autom4te.inautom4te.tmp chmod +x autom4te.tmp chmod a-w autom4te.tmp mv autom4te.tmp autom4te cd ../lib gmake autom4te.cfg gmake[3]: Entering directory `/usr/ports/devel/autoconf267/work/autoconf-2.67/lib' rm -f autom4te.cfg autom4te.tmp sed -e 's|@she...@]|/bin/sh|g' -e 's|@pe...@]|/usr/bin/perl|g' -e 's|@bind...@]|/usr/local/bin|g' -e 's|@pkgdatad...@]|/usr/local/share/autoconf- 2.67|g' -e 's|@pref...@]|/usr/local|g' -e 's|@autoconf-na...@]|'`echo autoconf | sed 's$-2.67'`'|g' -e 's|@autoheader-na...@]|'`echo autoheade r | sed 's$-2.67'`'|g' -e 's|@autom4te-na...@]|'`echo autom4te | sed 's$-2.67'`'|g' -e 's|@m...@]|/usr/local/bin/gm4|g' -e 's|@a...@]|/usr/b in/awk|g' -e 's|@versi...@]|2.67|g' -e 's|@package_na...@]|GNU Autoconf|g' ./autom4te.in autom4te.tmp chmod a-w autom4te.tmp mv autom4te.tmp autom4te.cfg gmake[3]: Leaving directory `/usr/ports/devel/autoconf267/work/autoconf-2.67/lib' cd ../lib/m4sugar gmake version.m4 gmake[3]: Entering directory `/usr/ports/devel/autoconf267/work/autoconf-2.67/lib/m4sugar' :;{ \ echo '# This file is part of -*- Autoconf -*-.' \ echo '# Version of Autoconf.' \ echo '# Copyright (C) 1999, 2000, 2001, 2002, 2006, 2007, 2009' \ echo '# Free Software Foundation, Inc.' \ echo \ echo 'm4_define([m4_PACKAGE_NAME], [GNU Autoconf])' \ echo 'm4_define([m4_PACKAGE_TARNAME], [autoconf])' \ echo 'm4_define([m4_PACKAGE_VERSION], [2.67])' \ echo 'm4_define([m4_PACKAGE_STRING],[GNU Autoconf 2.67])' \ echo 'm4_define([m4_PACKAGE_BUGREPORT], [bug-autoc...@gnu.org])' \ echo 'm4_define([m4_PACKAGE_URL], [ http://www.gnu.org/software/autoconf/])' \ echo 'm4_define([m4_PACKAGE_YEAR], ['`sed 's/^\([0-9][0-9][0-9][0-9]\).*/\1/;q' ../../ChangeLog`'])'; \ } version.m4-t mv version.m4-t version.m4 gmake[3]: Leaving directory `/usr/ports/devel/autoconf267/work/autoconf-2.67/lib/m4sugar' autom4te_perllibdir='..'/lib AUTOM4TE_CFG='../lib/autom4te.cfg' ../bin/autom4te -B '..'/lib -B '..'/lib --language M4sh --cache ' ' --melt ./autoconf.as -o autoconf.in autoconf.as:1: /usr/local/bin/gm4: Warning: Excess arguments to built-in `_m4_popdef' ignored autom4te: /usr/local/bin/gm4 failed with exit status: 1 gmake[2]: *** [autoconf.in] Error 1 gmake[2]: Leaving directory `/usr/ports/devel/autoconf267/work/autoconf-2.67/bin' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/devel/autoconf267/work/autoconf-2.67' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/devel/autoconf267. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.11621.2 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=autoconf-2.62 UPGRADE_POR T_VER=2.62 make ** Fix the problem and try again. --- Skipping 'devel/automake19' (automake-1.9.6_3) because a requisite package 'autoconf-2.62' (devel/autoconf267) failed (specify -k to force) ** Package 'automake' has been removed from ports tree. --- Skipping 'devel/automake19' (automake-1.9.6) because it has already been skipped ** Listing the failed packages (*:skipped / !:failed) ! devel/autoconf267 (autoconf-2.62) (unknown build error) * devel/automake19 (automake-1.9.6_3) * devel/automake19 (automake-1.9.6) --- Packages processed: 2 done, 1 ignored, 2 skipped and 1 failed -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ If you have nothing good to say about someone, just shut up!. -- Lucky Dube ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail
Re: Need to run a Command Once on Boot. FreeBSD8.1
On Fri, Sep 3, 2010 at 11:00 PM, Jason jhelf...@e-e.com wrote: On Fri, Sep 03, 2010 at 02:50:48PM -0500, Martin McCormick thus spake: Robert Bonomi writes: /etc/rc.local maybe? contrary to the 'rc.d' way of doing things, but 'simple'. :) Thanks so much to both people who answered. I thought there was more to it than that but I may be thinking of the rcx.d directories in Linux. If you don't watch out, you can be scratching your head all day trying to figure out why the job isn't getting done. I use and like both FreeBSD and Linux but some things are easier in one than the other. Again, many thanks. man 5 crontab has: @reboot Run once, at startup But this will always run every reboot, no? I think there used to be something along the lines of rc.early which could do what he wants. Then you can schedule a task to delete rc.early once it's served it's purpose:) Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Telecommunications Services Group ___ 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 -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ If you have nothing good to say about someone, just shut up!. -- Lucky Dube ___ 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: Firebird 2.1.3
On Tue, Aug 31, 2010 at 1:33 AM, Leonardo M. Ramé martinr...@yahoo.comwrote: This is my procedure to compile it: export CFLAGS=-DAMD64 ./configure --without-editline gmake ... and after a while I get this: ... /usr/bin/ld: /usr/lib/libsupc++.a(tinfo2.o): relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC /usr/lib/libsupc++.a: could not read symbols: Bad value gmake[2]: *** [../gen/firebird/lib/libfbclient.so.2.1.3] Error 1 gmake[2]: Leaving directory `/usr/home/martin/desarrollo/Firebird-2.1.3.18185-0/gen' gmake[1]: *** [libfbclient] Error 2 gmake[1]: Leaving directory `/usr/home/martin/desarrollo/Firebird-2.1.3.18185-0/gen' gmake: *** [firebird] Error 2 Any hint? Yes. If it is not in the ports, you are pretty much on your own with firebird! -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ If you have nothing good to say about someone, just shut up!. -- Lucky Dube ___ 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: wvstreaams + wvdial on FreeBSD 8.1 AMD 64
On Mon, Aug 30, 2010 at 5:58 AM, Antonio Olivares olivares14...@gmail.comwrote: Dear FreeBSD users, I have run out of ideas to troubleshoot a difficult task: get wvstreams and wvdial to work on FreeBSD 8.1. Why don't you just use the native ppp in FreeBSD? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ If you have nothing good to say about someone, just shut up!. -- Lucky Dube ___ 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: Help with setting up a mail server
On Thu, Jul 22, 2010 at 8:28 PM, Jerry freebsd.u...@seibercom.net wrote: On Thu, 22 Jul 2010 17:28:00 +0300 Odhiambo Washington odhia...@gmail.com articulated: On Thu, Jul 22, 2010 at 4:52 PM, Jerry freebsd.u...@seibercom.net wrote: On Thu, 22 Jul 2010 13:32:36 +0100 krad kra...@googlemail.com articulated: yep I know exim is sendmail cli compatible, but the output from sendmail is not the same on exim (interactive prompt). You can probably get similar output from sendmail, but with most things sendmail it is archaic and obfuscated. With Postfix installed, using sendmail -bv works quite well. With Postfix installed and configured or just installed? I just installed. [w...@mail ~]$ ls -al /usr/local/sbin/sendmail -rwxr-xr-x 1 root wheel 202361 Jul 22 17:23 /usr/local/sbin/sendmail [w...@mail ~]$ /usr/local/sbin/sendmail -bv odhia...@gmail.com postdrop: warning: unable to look up public/pickup: No such file or directory Mail Delivery Status Report will be mailed to wash. [w...@mail ~]$ /usr/local/sbin/sendmail -d -bv odhia...@gmail.com sendmail: illegal option -- d sendmail: illegal option -- d sendmail: fatal: usage: sendmail [options] [w...@mail ~]$ exim -bt odhia...@gmail.com odhia...@gmail.com router = dnslookup, transport = remote_smtp host gmail-smtp-in.l.google.com [209.85.227.27] MX=5 host alt1.gmail-smtp-in.l.google.com [74.125.39.27] MX=10 host alt2.gmail-smtp-in.l.google.com [74.125.53.27] MX=20 host alt3.gmail-smtp-in.l.google.com [74.125.95.27] MX=30 host alt4.gmail-smtp-in.l.google.com [74.125.65.27] MX=40 I cannot post the output that comes with -d here, it's so much that trying to feed the trawl will get it chocked:-) For starters, you are using the wrong sendmail. You need to use the Postfix 'sendmail' version. $ which sendmail /usr/sbin/sendmail I have Postfix installed and running. Sorry, I thought that was obvious. Typing: man sendmail should show this at the top of the page: NAME sendmail - Postfix to Sendmail compatibility interface If not, then something is configured incorrectly. By the way, in order to run Postfix, you have to completely shutdown the base system's 'sendmail' cat /etc/rc.conf # Shutdown sendmail sendmail_enable=NO sendmail_msp_queue_enable=NO sendmail_outbound_enable=NO sendmail_submit_enable=NO #Start Postfix postfix_enable=YES Looks like you are trying to coax me into running Postfix! I am an Exim-er by blood :-) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ If you have nothing good to say about someone, just shut up!. -- Lucky Dube ___ 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: Help with setting up a mail server
On Thu, Jul 22, 2010 at 4:52 PM, Jerry freebsd.u...@seibercom.net wrote: On Thu, 22 Jul 2010 13:32:36 +0100 krad kra...@googlemail.com articulated: yep I know exim is sendmail cli compatible, but the output from sendmail is not the same on exim (interactive prompt). You can probably get similar output from sendmail, but with most things sendmail it is archaic and obfuscated. With Postfix installed, using sendmail -bv works quite well. With Postfix installed and configured or just installed? I just installed. [w...@mail ~]$ ls -al /usr/local/sbin/sendmail -rwxr-xr-x 1 root wheel 202361 Jul 22 17:23 /usr/local/sbin/sendmail [w...@mail ~]$ /usr/local/sbin/sendmail -bv odhia...@gmail.com postdrop: warning: unable to look up public/pickup: No such file or directory Mail Delivery Status Report will be mailed to wash. [w...@mail ~]$ /usr/local/sbin/sendmail -d -bv odhia...@gmail.com sendmail: illegal option -- d sendmail: illegal option -- d sendmail: fatal: usage: sendmail [options] [w...@mail ~]$ exim -bt odhia...@gmail.com odhia...@gmail.com router = dnslookup, transport = remote_smtp host gmail-smtp-in.l.google.com [209.85.227.27] MX=5 host alt1.gmail-smtp-in.l.google.com [74.125.39.27] MX=10 host alt2.gmail-smtp-in.l.google.com [74.125.53.27] MX=20 host alt3.gmail-smtp-in.l.google.com [74.125.95.27] MX=30 host alt4.gmail-smtp-in.l.google.com [74.125.65.27] MX=40 I cannot post the output that comes with -d here, it's so much that trying to feed the trawl will get it chocked:-) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ If you have nothing good to say about someone, just shut up!. -- Lucky Dube ___ 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