Re: Suggestions for PII 400 boot failure
Chris Pratt wrote: On Nov 20, 2008, at 4:31 PM, Vinny wrote: Hi, A friend of mine is trying out FreeBSD and ran into a booting problem. Here is his message: Well, that's discouraging. I have put together an old PII 400 with three 20GB drives and a CDROM that I'd like to run BSD on. Half a GB of RAM I figured would be respectable. Downloaded the ISO files, burned CDs of them and when I try to run them it starts to boot and then freezes tighter than a muskrat's arse. Three lines coming on the screen and it ends with Starting the_ and just hangs. He might want to try downloading the floppy set and booting from there. I think that is what I did on an old Dell 200 I'm using as a bridging firewall at home. This is a pathetically old machine and won't boot the ISO (I found it when cleaning out my rental, left to throw away by the renter), but it works great once you finally get the system on it. It's on 6.2 but I imagine 7.0 will be fine. Thanks everyone for your help, Here is a message from my friend: Well, it's been a long day but I've had some success on the BSD front. I went to a couple of used/recycling/salvage places today looking for a PIII or low-end P4 motherboard and processor. I didn't see anything that was very interesting so toodled on home and had a cup of tea. I decided since the system was essentially running fine (without an OS) that I'd give the floppy disk install a bit of a run. So I downloaded all the floppy disk image files and fdimage.exe (the utility to convert them) and created all the necessary floppy disks. I did a simple install, paritioned the drives and created a user and administrator account along with some basic network settings. It seemed to connect to the internet just fine during boot up and when I ran ping against google.ca I was receiving back valid addressing information so it appears that that is all working fine. So I ran /usr/sbin/sysinstall from the root directory to try to customize the installation a bit better. I adjusted the media type to an ftp server as opposed to CDROM and POOF... Bob Shurunkel... BSD is now downloading an X-Windows interface from the internet as we (or I in this case) speak. I suspect there's going to be a bit of a learning curve here but I'm looking forward to it. It could have been much simpler if I would have been able to install from CD to being with but there definitely is a workaround which, in itself, pleases me. Will keep you posted. Vinny ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem about ppp -nat
Hi Pongthep, Pongthep Kulkrisada wrote: Hi All, Firstly, I'm sorry for late reply. For simplicity to your responses, I shall ask question by question... * Manolis Kiagias ([EMAIL PROTECTED]) wrote: There are at least two ways that I know of to achieve this. One uses the ipfw firewall, the other the pf firewall. For the ipfw solution, look at the FreeBSD Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-natd.html 1. I heard that ppp itself has capability of NAT. It can work with the command ppp -nat and without running natd. Please tell me whether it is right or wrong. That is correct, it doesn't require natd for 'ppp -nat' Just setup your fw of choice as if the tun0 device is the external device and leave all the nat stuff completely out of it. Put any port forwarding rules you need in the ppp.conf file. ipfw is the same. If natd is not used, I can't add the rule ... Correct, you need natd if you will be using ipfw for your NAT rules. add divert natd ip from any to any via tun0 to /etc/ipfw.rules. I'm confused. 2. And if natd is still required, what -nat argument (ppp -nat) is for? natd isn't required for ppp -nat. HTH the confusion. cya Andrew This worked fine for me, although I prefer to use pf. Here is how I setup pf (Adjust for your interfaces as necessary) My Internet interface is rl0, setup in rc.conf as: ifconfig_rl0=inet 192.168.0.100 netmask 255.255.255.0 My local interface is rl1, setup in rc.conf as: ifconfig_rl1=inet 192.168.1.100 netmask 255.255.255.0 3. I haven't mentioned that I can't use this configuration. I have 2 interfaces i.e. public and private LAN. But I have only one NIC card for private LAN. I don't have NIC card for public. I'm using 56k modem to connect the outside world. I think I can't add ifconfig_tun0=inet 192.168.0.100 netmask 0xff00 to /etc/rc.conf. If I'm wrong, please tell me. I did much googling. All sites always refer 2 NIC cards being used like your example. I do have only one NIC card + 56k serial modem (/dev/cuad0). (I also have a defaultrouter setting which probably does not apply to you) I have nameserver entries in /etc/resolv.conf (or setup your own DNS server if you wish) 4. I also have nameserver entries. I tried setting DNS server on my WinXP host to both gateway (FBSD host) and DNS servers of ISP. Both don't work. Use this settings in rc.conf for pf: pf_enable=YES pflog_logfile=/var/log/pflog pflog_flags= pf_rules=/etc/pf.conf pf_flags= gateway_enable=YES 5. I think I have equivalent setting of ipfw in /etc/rc.conf but don't work. gateway_enable=YES firewall_enable=YES firewall_type=OPEN firewall_quite=YES firewall_script=/etc/ipfw.rules firewall_logging=YES Run: # sysctl net.inet.ip.forwarding=1 # /etc/rc.d/routing restart Add net.inet.ip.forwarding=1 to /etc/sysctl.conf so it persists reboots 6. I recompiled my kernel. options IPFIREWALL options IPFIREWALL_FORWARD options IPFIREWALL_DEFAULT_TO_ACCEPT options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=120 options IPDIVERT I think it should be equivalent to sysctl setting. Add the following rule to /etc/pf.conf nat pass on rl0 from rl1:network to any - rl0 AFAIR, if rl0 has a dynamic address, you will have to write it with parentheses, like: nat pass on rl0 from rl1:network to any - (rl0) (Note that in /etc/pf.conf translation rules like the above, are placed above filtering rules like pass or block etc) You may have to adjust /etc/pf.conf filtering rules, assuming you have any. Restart some services # /etc/rc.d/netif restart # /etc/rc.d/routing restart # /etc/rc.d/pf restart or simply reboot, and you should be set. 7. I don't know about PF. * Fbsd1 ([EMAIL PROTECTED]) wrote: You need to run dhcp so you can assign ip address on the LAN so the down stream xp box can gain access to the public internet through your gateway freebsd box. There is a detailed step by step instructions in the install guide at www.a1poweruser.com 8. I read doc from the mentioned site. The doc does not mention anything about sharing ppp dial-up to the other host. And I'm sorry dhcp is not the point of my concern now. I only want to share internet access whether IP is static or dynamic. BTW the doc is very good anyway. I shall keep it. :-) * Polytropon ([EMAIL PROTECTED]) wrote: First of all, I made my kernel capable; significant parts: # Firewall, NAT ...blah 9. I compiled the kernel following your advice excepted NETGRAPH. I think PPPoE is not the point of concern Configuration in /etc/rc.conf goes this way: ifconfig_xl0=inet 192.168.0.1 netmask 0xff00 ifconfig_rl0=inet 192.168.1.1 netmask 0xff00 media 10baseT/UTP 10. As said earlier, my interface connecting to outside are 56k serial modem (/dev/cuad0). I think I can't set /dev/cuad0 (or even tun0) in this way. 11. CONCLUSION: I did read much document. More I read, more I get confused. I tried many possible things but still don't work. My RECENT configurations
Re: cvsup: local
On Thu, Nov 6, 2008 at 9:59 PM, Lowell Gilbert [EMAIL PROTECTED] wrote: fire jotawski [EMAIL PROTECTED] writes: i have my small box, 10.3.1.25 ip, that cvsup-ed files from repository into it. it use cvs-supfile in /usr/share/examples/cvsup/ to collect files. now that i want my other machine to cvsup 6.2-release source files from the one mentioned above. my trial was cvsupd -b /var/db -c sup for box, 10.3.1.25 ip, and for other machine cvsup -g -L 2 -h 10.3.1.25 sup-file what i got was 'Server message: Unknown collection src-all ' message. and later on Running Skipping collection src-all/cvs Skipping collection doc-all/cvs Shutting down connection to server Finished successfully very strange indeed. any helps and hints in setting cvsup server would highly be appreciated. To run cvsupd, you need the whole cvs tree for the collections you're handling, not just the checked-out files. Assuming these machines are attached by a protected network, a better approach (easier, anyway) would probably be to cvsup the changes to just one machine, then NFS-mount that machine's ports tree from the other machine. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/http://be-well.ilk.org/%7Elowell/ thanks indeed and apologized me for postponing answer to all of postings. what about cvs then. i did this cvs -d /home/ncvs checkout ports and i got some thing quite similar to ports tree indeed. thanks in advance for any informations rgds, psr -- ?? ? ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Segmentation fault (core dumped)
On Sat, 22 Nov 2008 22:52:07 + Marwan Sultan [EMAIL PROTECTED] wrote: I think I know what you are talking about.. What is the output of the command php -v ? any errors? I have been have a similar problem lately. ~ $ php -v PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/sqlite.so' - /usr/local/lib/php/20060613/sqlite.so: Undefined symbol spl_ce_Countable in Unknown on line 0 PHP 5.2.6 with Suhosin-Patch 0.9.6.2 (cli) (built: Nov 21 2008 20:45:19) Copyright (c) 1997-2008 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies Segmentation fault: 11 (core dumped) I have been trying to correct it without results. -- Jerry [EMAIL PROTECTED] Your lover will never wish to leave you. signature.asc Description: PGP signature
Re: Segmentation fault (core dumped)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 tethys ocean wrote: Hi to all The server is give this error whenever i want to start apache22. why? Most expected reason - PHP modules. Try to comment modules in /usr/local/etc/php/extensions.ini with ; and check results by php -v or php -i in shell. - -- Regards, Bogdan Potishuk - --- KeyID: 0x84B8D5142569D30B Fingerprint: 78FC 5C40 07CC D331 148E CC79 84B8 D514 2569 D30B Keyserver: keyserver.pgp.com - --- -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREKAAYFAkkpV6EACgkQhLjVFCVp0wuBTgCffJxoUELOPuBzszCHOZ4r0nu6 CqwAoLvQB2pRvqqkqAhjJDVJYijdNk6S =QF0q -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD on Cisco IDS 4235
Hello, I am trying to install FreeBSD 7.0 on Cisco IDS 4235(pentium III 1.2 Ghz, 1 GB ram, the device seems quite simialr to Dell PowerEdge 1750 Server). However BTX loader dies with this message(see screenshot here: http://www.aboutsupport.com/freebsd/btx.jpg) I tried with both ACPI and Safe mode but still no luck. Other operating systems I tried: Debian - installs just fine FreeBSD 6.3 - installs just fine NetBSD 4 - installs just fine FreeBSD 7.1 FAILS, even at earlier stage than 7.0, on loader stage. Thanks in advance for your help. Peter ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
files before ldap in nsswitch.conf
Hi, I'm setting up a new FreeBSD Server for out local Computer club. Most of the users are stored in LDAP and I've installed nss_ldap and pam_ldap and set up both. Everything works so far with nsswitch.conf entry passwd: ldap files. When I try passwd: files ldap the login doesn't work anymore because the LDAP_Server is never asked. I tried this to optimize the LDAP requests as the service users are in the local files. This would speed up the boot process and takes some load off the LDAP-Server. Is there a way to configure FreeBSD to look first in the local files and if a user isn't found in the LDAP-Server. And another question. Is there a way to use two different LDAP-Servers e.g. by calling nss_ldap with different config files. Greetings Estartu -- - Gerhard Schmidt | E-Mail: [EMAIL PROTECTED] TU-München| WWW Online Services | Tel: 089/289-25270| Fax: 089/289-25257| PGP-Publickey auf Anfrage ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD on a Mac Mini Intel?
On Nov 21, 2008, at 11:42 PM, Ian Jefferson wrote: Is anyone running FreeBSD on a Mac Mini Intel? I don't know the answer to your question, but don't think it's a crazy one. One of the most interesting things I've seen, lately, is a hosting company that uses stacks of Mac Minis running OS X Server. They may not be the thing for mission-critical services, but for day- to-day web hosting, they are far better (IMHO) than the typical WinTel or Linux white box systems that fill colo facilities. Need redundancy? Plunk down another $500 bucks! One of Apple's coolest products, I think. -- John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Localized menus in firefox3 ?
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 On Sun, 23 Nov 2008 15:46:19 +0100 Peter Ulrich Kruppa [EMAIL PROTECTED] wrote: Hi, I would like my firefox3 menus in german. With firefox2 I could install the firefox-i18n port and select german in the Quick Locale Switcher. What would I have to do with firefox3? - I tried firefox3-i18n but menus will always stay english. Hi Peter, You can install language packs directly from http://releases.mozilla.org/pub/mozilla.org/firefox/releases/3.0.4/linux-i686/xpi/ (change the version number in the URL if needed). The additional languages should be accessible through Tools - Languages. HTH - -- Nikola Lečić = Никола Лечић fingerprint : FEF3 66AF C90E EDC3 D878 7CDC 956D F4AB A377 1C9B -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) iJwEAQEDAAYFAkkpd6AACgkQ/MM/0rYIoZju8AQArnUB3FtGIlqDedQVPopc4VDF mryCX0ZwYq8DObJuU+UOT5kyI0FRTYgSXNadjUerzsnfdLrfodtkhkuIfmzc4RBx 32sp4jlUjqLf+POfVfBtsYFW/0u6qYdY8g4VPxzJlYWoPE6aAwBVILcxvdWWdL/i dMoP0ojYls4tqLWhvWQ= =DR/0 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem about ppp -nat
On Sun, 23 Nov 2008 14:14:44 +0700 Pongthep Kulkrisada [EMAIL PROTECTED] wrote: Hi All, Firstly, I'm sorry for late reply. For simplicity to your responses, I shall ask question by question... * Manolis Kiagias ([EMAIL PROTECTED]) wrote: There are at least two ways that I know of to achieve this. One uses the ipfw firewall, the other the pf firewall. For the ipfw solution, look at the FreeBSD Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-natd.html Since you're running FreeBSD 7 with ipfw, there's actually a third way: in-kernel NAT. See ipfw(8) searching for NAT (in caps) for the section. 1. I heard that ppp itself has capability of NAT. It can work with the command ppp -nat and without running natd. Please tell me whether it is right or wrong. ipfw is the same. If natd is not used, I can't add the rule ... add divert natd ip from any to any via tun0 to /etc/ipfw.rules. I'm confused. You're right in that if you use ppp -nat, NAT's already done by the time ipfw (or pf, ipf etc) see the packets. ppp has some simple and limited rules you might apply, but I'd have to recommend using either natd(8) or ipfw nat, and running ppp without -nat. This leaves open for you the possibility of using mpd rather than ppp, either dialup or pppoe etc. All use the same libalias(3) libraries, but both ppp -nat and natd run in userland, while ipfw nat runs in-kernel, which may not matter at dialup speeds, but will migrate easily if/when you get a faster link. 2. And if natd is still required, what -nat argument (ppp -nat) is for? For some very simple nat setups, mostly in ye olden days :) This worked fine for me, although I prefer to use pf. Here is how I setup pf (Adjust for your interfaces as necessary) My Internet interface is rl0, setup in rc.conf as: ifconfig_rl0=inet 192.168.0.100 netmask 255.255.255.0 My local interface is rl1, setup in rc.conf as: ifconfig_rl1=inet 192.168.1.100 netmask 255.255.255.0 3. I haven't mentioned that I can't use this configuration. I have 2 interfaces i.e. public and private LAN. But I have only one NIC card for private LAN. I don't have NIC card for public. I'm using 56k modem to connect the outside world. I think I can't add ifconfig_tun0=inet 192.168.0.100 netmask 0xff00 to /etc/rc.conf. If I'm wrong, please tell me. No, and you don't need to; ppp (or mpd) assigns the 'outside' IP and sets up the default route through it on connection or renegotiation, assuming your ppp.conf is setup right. I gather from your previous success with ppp that this is most likely not a problem. I did much googling. All sites always refer 2 NIC cards being used like your example. I do have only one NIC card + 56k serial modem (/dev/cuad0). That's fine. tun0 for ppp (or ng0 for mpd) will be configured as your outside interface, and ipfw only needs that, not its (varying) address. (I also have a defaultrouter setting which probably does not apply to you) I have nameserver entries in /etc/resolv.conf (or setup your own DNS server if you wish) 4. I also have nameserver entries. I tried setting DNS server on my WinXP host to both gateway (FBSD host) and DNS servers of ISP. Both don't work. Once you get the NAT right, that should work out. I think ppp will fetch nameserver addresses for you if so configured, mpd sure will, or if they're constant just use resolv.conf and have ppp leave it alone. Use this settings in rc.conf for pf: pf_enable=YES pflog_logfile=/var/log/pflog pflog_flags= pf_rules=/etc/pf.conf pf_flags= gateway_enable=YES 5. I think I have equivalent setting of ipfw in /etc/rc.conf but don't work. gateway_enable=YES firewall_enable=YES firewall_type=OPEN firewall_quite=YES That's 'firewall_quiet' - I think it only gets used by the default rules in rc.firewall, unless you add a check for it in your own, to add a '-q' flag to each ipfw command, so it's not noisy on boot or reloading ipfw. firewall_script=/etc/ipfw.rules firewall_logging=YES If you've used the IPFW section in the Handbook as a guide, I suggest reconsidering that after half a dozen browses of ipfw(8), and instead try using the 'simple' ruleset in rc.firewall at least to get going; of particular concern is the placement of divert rule/s in that scenario, where those anti-spoofing rules protect you from NAT misconfiguration. Run: # sysctl net.inet.ip.forwarding=1 # /etc/rc.d/routing restart Add net.inet.ip.forwarding=1 to /etc/sysctl.conf so it persists reboots gateway_enable=YES in rc.conf is an easier way to accomplish the same. 6. I recompiled my kernel. options IPFIREWALL options IPFIREWALL_FORWARD options IPFIREWALL_DEFAULT_TO_ACCEPT options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=120 options IPDIVERT I think it should be equivalent to sysctl setting. Ok.
kein Betreff
hey again ... ive asked, if somebody could help me with making the bootmanager, the kernel.-booting and shutdown-process green/black colored (like netbsd) ive get no answer yet, i hope, you can still help me ... yours Pt! Schon vom neuen WEB.DE MultiMessenger gehört? Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3123 question_in_txt Description: Binary data ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Creating a CUPS printer instance from web interface?
Your issues seem generic to CUPS, so you'll probably reach more relevant experts in CUPS' user-support forum rather than FreeBSD's. Laszlo Nagy [EMAIL PROTECTED] writes: I have two problems. First, I do not see any way on the CUPS web admin interface to add printer instances. I only have 'set printer options' but it does not allow me to create instances. The base page for CUPS has a button labeled Add Printer. On *my* setup, anyway. What it really does is add a queue, so you can do it any number of times for the same physical printer. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: auto-addm new tap device to existing bridge ...
On Sunday 23 November 2008 02:22:02 Marc G. Fournier wrote: Is this possible? I'm using qemu, and when I start it up, it auto-create a tap device if one isn't available ... but, having that tap device not attached to the bridge that does exist doesn't help much ... if there some flag I can set, or sysctl value, that will have the new tap device attach itself to an existing bridge device? thanks ... in /etc/rc.conf, add: autobridge_interfaces=bridge0 -- whatever you called your bridge autobridge_bridge0=tap0 tap1 [tapn..] cloned_interfaces=bridge0 -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winedows FREE) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: auto-addm new tap device to existing bridge ...
On Sunday 23 November 2008 02:22:02 Marc G. Fournier wrote: Is this possible? I'm using qemu, and when I start it up, it auto-create a tap device if one isn't available ... but, having that tap device not attached to the bridge that does exist doesn't help much ... if there some flag I can set, or sysctl value, that will have the new tap device attach itself to an existing bridge device? thanks ... in /etc/rc.conf, add: autobridge_interfaces=bridge0 -- whatever you called your bridge autobridge_bridge0=tap0 tap1 [tapn..] cloned_interfaces=bridge0 forgot to add this: Create a qemu-ifup script like this: #!/usr/local/bin/bash # qemu-ifup /sbin/ifconfig $1 up TEST=`ifconfig -a | grep member | grep $1` if [ $TEST == ]; then /sbin/ifconfig bridge0 addm $1 fi -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winedows FREE) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Segmentation fault (core dumped)
Hi again İ found out what problem is. users had changed some libs of python and apache. After reinstall apache phyton and mod_python it works. so so thanks. regards. On Sat, Nov 22, 2008 at 9:23 PM, tethys ocean [EMAIL PROTECTED]wrote: Hi to all The server is give this error whenever i want to start apache22. why? regards -- Share now a pigeon's flight Bluebound along the ancient skies, Its women forever hair and mammal, A Mediterranean town may arise If you rip apart a pigeon's heart. -- Share now a pigeon's flight Bluebound along the ancient skies, Its women forever hair and mammal, A Mediterranean town may arise If you rip apart a pigeon's heart. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: kein Betreff
[EMAIL PROTECTED] schrieb: hey again ... ive asked, if somebody could help me with making the bootmanager, the kernel.-booting and shutdown-process green/black colored (like netbsd) ive get no answer yet, i hope, you can still help me ... Perhaps you should repost this mail with a significant subject line. Most people will delete messages without. Greetings, Uli. yours Pt! Schon vom neuen WEB.DE MultiMessenger gehört? Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3123 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Changing default colors of syscons / kernel messages
On Sun, 23 Nov 2008 17:42:03 +0100, [EMAIL PROTECTED] wrote: hey again ... ive asked, if somebody could help me with making the bootmanager, the kernel.-booting and shutdown-process green/black colored (like netbsd) ive get no answer yet, i hope, you can still help me ... It isn't the answer to your question, but: 1. Try do use a subject that is in relationship to your question. 2. Try to wrap your lines at approx. column 70, this makes correct quoting easier. I was free to correct them both. :-) Now regarding your question: It is possible to change the color attributes for the kernel messages which FreeBSD usually displays white on black, and OpenBSD grey on blue. As far as I remember - I tried it once -, there are makeoptions in the kernel configuration file to be set. See the handbook section about how to build a custom kernel for the correct procedures. The correct settings are mentioned in /usr/src/sys/conf/NOTES, lines 1339 cont. (1343 cont): # The following options will let you change the default colors of syscons. options SC_NORM_ATTR=(FG_GREEN|BG_BLACK) options SC_NORM_REV_ATTR=(FG_YELLOW|BG_GREEN) options SC_KERNEL_CONS_ATTR=(FG_RED|BG_BLACK) options SC_KERNEL_CONS_REV_ATTR=(FG_BLACK|BG_RED) But I'm not sure you can change the settings for the boot manager itself in an easy way. Maybe a modification of the boot loader's source code makes it possible... -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Changing default colors of syscons / kernel messages
On Sun, 23 Nov 2008 17:42:03 +0100, [EMAIL PROTECTED] wrote: hey again ... ive asked, if somebody could help me with making the bootmanager, the kernel.-booting and shutdown-process green/black colored (like netbsd) ive get no answer yet, i hope, you can still help me ... It isn't the answer to your question, but: 1. Try do use a subject that is in relationship to your question. 2. Try to wrap your lines at approx. column 70, this makes correct quoting easier. I was free to correct them both. :-) Now regarding your question: It is possible to change the color attributes for the kernel messages which FreeBSD usually displays white on black, and OpenBSD grey on blue. As far as I remember - I tried it once -, there are makeoptions in the kernel configuration file to be set. See the handbook section about how to build a custom kernel for the correct procedures. The correct settings are mentioned in /usr/src/sys/conf/NOTES, lines 1339 cont. (1343 cont): # The following options will let you change the default colors of syscons. options SC_NORM_ATTR=(FG_GREEN|BG_BLACK) options SC_NORM_REV_ATTR=(FG_YELLOW|BG_GREEN) options SC_KERNEL_CONS_ATTR=(FG_RED|BG_BLACK) options SC_KERNEL_CONS_REV_ATTR=(FG_BLACK|BG_RED) But I'm not sure you can change the settings for the boot manager itself in an easy way. Maybe a modification of the boot loader's source code makes it possible... yours Pt! Schon vom neuen WEB.DE MultiMessenger gehört? Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3123 -- Die Rechtschreibreform ist völlig in Ordnung, wenn man weder lesen noch schreiben kann. (Loriot) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Transparent Proxy with IPFW + Squid 2.7
Hi there, I want to configure a transparent proxy with IPFW and Squid. I enabled IPFW on a FreeBSD 7.0 and also install squid 2.7 this is content of my squid.conf: acl manager proto cache_object acl localhost src 127.0.0.1/32 acl to_localhost dst 127.0.0.0/8 acl all src all acl localnet src 192.168.12.0/24 acl SSL_ports port 443 acl Safe_ports port 80 # http acl Safe_ports port 21 # ftp acl Safe_ports port 443 # https acl Safe_ports port 70 # gopher acl Safe_ports port 210 # wais acl Safe_ports port 1025-65535 # unregistered ports acl Safe_ports port 280 # http-mgmt acl Safe_ports port 488 # gss-http acl Safe_ports port 591 # filemaker acl Safe_ports port 777 # multiling http acl CONNECT method CONNECT http_access allow manager localhost http_access deny manager http_access deny !Safe_ports http_access deny CONNECT !SSL_ports http_access allow localnet icp_access allow localnet icp_access deny all http_port 3128 transparent hierarchy_stoplist cgi-bin ? access_log /usr/local/squid/logs/access.log squid refresh_pattern ^ftp: 144020% 10080 refresh_pattern ^gopher:14400% 1440 refresh_pattern (cgi-bin|\?)0 0% 0 refresh_pattern . 0 20% 4320 icp_port 3130 coredump_dir /usr/local/squid/cache And this is base IPFW rules. $cmd 00500 fwd 127.0.0.1,3128 $log tcp from any to any 80 in recv $lanif $cmd 02000 allow $log all from any to any As you can see, all packages which is destination port 80 forwarding to the squid's port (3128). with this configuration everything seems work fine. however if i deny all traffic on the last rule and then open desired ports or connections one by one then squid isn't work. Sample base denying rule set like this: $cmd 00010 allow all from any to any via lo0 $cmd 00015 check-state $cmd 00020 allow tcp from any to any established . $cmd 00021 deny all from any to any frag in via $adslif $cmd 00025 allow all from me to any keep-state $cmd 00050 allow tcp from table() to any keep-state $cmd 00500 fwd 127.0.0.1,3128 $log tcp from any to any 80 in recv $lanif $cmd 00600 allow all from $lan to any 53 $cmd 00602 allow udp from any 53 to any out via $lanif $cmd 00603 allow udp from any 53 to any in via $adslif $cmd 01500 allow all from $lan to any 443,25,110 keep-state $cmd 02000 deny $log all from any to any As i said, if i run IPFW with this rules, my client doesn't surf on the internet. And also i didn't seen anything about denying on the ipfw log file. Also there is no activity on squid log files. I think forwarding rule didn't work with that conf. So please can somebody tell me what's wrong in this situation ? Thanks in advance for your help. -- Cagri Ersen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Soundcard problem
After switching from FreeBSD 7.0 release to stable I have had a big soundproblem. When compiling a kernel as I used to with device sound and device snd_emu10Kx as options I now get an error saying mixer is not configured etc.And no sound at all. Have tried several mixers to but to no avail, I do not understand the problem enough to correct it. Googling doesn`t help as no one reports the same error with audigy soundcards. If I compile a kernel without the snd_emu10kx device sound works partially, sometimes playing ok, and then often sounding like an alien attacking ( digital noise of the horrible kind) Sooner or later the system locks down after playing about 5 songs with normal sound forcing me to hard switch the system off.. I find this extremely annoying. Does anybody have a clue ? I am not sure which output you`d want me to provide for this so instead of pasting every output I know I thought to ask first... I haven`t reversed my system to 7.0 release so that could maybe fix it, but I was hoping to stay with 7.1 :) Thanx for listening. Kenneth hatteland, Norway ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Segmentation fault (core dumped)
Hello Jerry, Its easy to fix, as they advised. Check the file file extensions.ini which is in /usr/local/etc/php/extensions.ini You will see your php modules, for some reasons the loading order of PHP modules it needs to be changed .. You can do the follow..and its for bignners..but saves you the headech. Comment first line with - # save and exitnow see the output of php -v if the error exist (which will for the first 10 lines maybe) repeat again for next line..and same untill you see no error of the php -v When you findout the modulethat cusing your problem...move it to the top of the list of modules (top of the file) save and exit...and your done.. please write for me back which module in your case cused the problem. Out of experince.. SHMOP, READLINE, RECODE, SOAP, SNMP could cuuse your problem Thank you. Marwan SUltan.PP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/sqlite.so' - /usr/local/lib/php/20060613/sqlite.so: Undefined symbol spl_ce_Countable in Unknown on line 0 PHP 5.2.6 with Suhosin-Patch 0.9.6.2 (cli) (built: Nov 21 2008 20:45:19) Copyright (c) 1997-2008 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies Segmentation fault: 11 (core dumped) I have been trying to correct it without results. -- Jerry [EMAIL PROTECTED] Your lover will never wish to leave you. _ Windows Live Hotmail now works up to 70% faster. http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_faster_112008___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Transparent Proxy with IPFW + Squid 2.7
On Nov 23, 2008, at 2:30 PM, Cagri Ersen wrote: Hi there, I want to configure a transparent proxy with IPFW and Squid. I enabled IPFW on a FreeBSD 7.0 and also install squid 2.7 this is content of my squid.conf: acl manager proto cache_object acl localhost src 127.0.0.1/32 acl to_localhost dst 127.0.0.0/8 acl all src all acl localnet src 192.168.12.0/24 acl SSL_ports port 443 acl Safe_ports port 80 # http acl Safe_ports port 21 # ftp acl Safe_ports port 443 # https acl Safe_ports port 70 # gopher acl Safe_ports port 210 # wais acl Safe_ports port 1025-65535 # unregistered ports acl Safe_ports port 280 # http-mgmt acl Safe_ports port 488 # gss-http acl Safe_ports port 591 # filemaker acl Safe_ports port 777 # multiling http acl CONNECT method CONNECT http_access allow manager localhost http_access deny manager http_access deny !Safe_ports http_access deny CONNECT !SSL_ports http_access allow localnet icp_access allow localnet icp_access deny all http_port 3128 transparent hierarchy_stoplist cgi-bin ? access_log /usr/local/squid/logs/access.log squid refresh_pattern ^ftp: 144020% 10080 refresh_pattern ^gopher:14400% 1440 refresh_pattern (cgi-bin|\?)0 0% 0 refresh_pattern . 0 20% 4320 icp_port 3130 coredump_dir /usr/local/squid/cache And this is base IPFW rules. $cmd 00500 fwd 127.0.0.1,3128 $log tcp from any to any 80 in recv $lanif $cmd 02000 allow $log all from any to any As you can see, all packages which is destination port 80 forwarding to the squid's port (3128). with this configuration everything seems work fine. however if i deny all traffic on the last rule and then open desired ports or connections one by one then squid isn't work. Sample base denying rule set like this: $cmd 00010 allow all from any to any via lo0 $cmd 00015 check-state $cmd 00020 allow tcp from any to any established . $cmd 00021 deny all from any to any frag in via $adslif $cmd 00025 allow all from me to any keep-state $cmd 00050 allow tcp from table() to any keep-state $cmd 00500 fwd 127.0.0.1,3128 $log tcp from any to any 80 in recv $lanif $cmd 00600 allow all from $lan to any 53 $cmd 00602 allow udp from any 53 to any out via $lanif $cmd 00603 allow udp from any 53 to any in via $adslif $cmd 01500 allow all from $lan to any 443,25,110 keep-state $cmd 02000 deny $log all from any to any As i said, if i run IPFW with this rules, my client doesn't surf on the internet. And also i didn't seen anything about denying on the ipfw log file. Also there is no activity on squid log files. I think forwarding rule didn't work with that conf. So please can somebody tell me what's wrong in this situation ? Thanks in advance for your help. -- Cagri Ersen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Don't you need a rule allow connections to port 80? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OO, text OR .odt to HTML?
On Sun, Nov 23, 2008 at 06:37:20AM +, Glyn Millington wrote: Gary Kline [EMAIL PROTECTED] writes: On Sat, Nov 22, 2008 at 10:06:48PM +, Glyn Millington wrote: Gary Kline [EMAIL PROTECTED] writes: is there a push button way of turning an odt file or plain ascii file into HTML using openoffice? i've googled, but haven't found anything. In OO 3 File-Export-File Format - html/xhtml when were you dfinally able to get 3 built?? i tried a month ago and something snafu'd. October 15th! If memory serves there were no problems here. Strange that I bumped into some strange error output on building -3 and last yesterday, -3-RC. I have 2.4 thru the OOo site. ... . -- Gary Kline [EMAIL PROTECTED] http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OO, text OR .odt to HTML?
On Sat, Nov 22, 2008 at 11:20:58PM +0100, Roland Smith wrote: On Sat, Nov 22, 2008 at 01:43:14PM -0800, Gary Kline wrote: is there a push button way of turning an odt file or plain ascii file into HTML using openoffice? For converting plain text you could use this: http://txt2html.sourceforge.net/ A promblem with the odt to txt is that the wide-char stuff remains embedded. xe2, x80, x90 to create a ' ... likewise with dashes -- and beginning double-quotes and ending. I have atom that I began hacking in 1994 to turn plain ASCII to solid HTML I think it's a v2.1+ now... But since there are so many others--and really {because /I don't want to update the man page, ...}, no use it making it into a port. gary Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -- Gary Kline [EMAIL PROTECTED] http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
PHP Session Support in /tmp
Hey. PHP stores session data for the 'file' handler in /tmp, by default. For organizational purposes, I'd like to change this to something like /tmp/php_sessions/ or so. However, I have the clear_tmp_enable feature enabled, so /tmp is cleared on reboot. PHP wont create the php_sessions dir on it's own. So basically, I'm looking for a way to create the dir /tmp/php_sessions/ each time the server is booted BEFORE apache starts. I'm sure I could do this somehow with the rc.d scripts, but I really have no idea how. Thanks very much. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PHP Session Support in /tmp
Ivan Voras wrote: APseudoUtopia wrote: Hey. PHP stores session data for the 'file' handler in /tmp, by default. For organizational purposes, I'd like to change this to something like /tmp/php_sessions/ or so. However, I have the clear_tmp_enable feature enabled, so /tmp is cleared on reboot. PHP wont create the php_sessions dir on it's own. So basically, I'm looking for a way to create the dir /tmp/php_sessions/ each time the server is booted BEFORE apache starts. I'm sure I could do this somehow with the rc.d scripts, but I really have no idea how. man 8 rc.local And, by way of an alternate suggestion, remember that cron(8) recognizes an @reboot special string instead of the normal five-field time indicators. @reboot /bin/mkdir /tmp/php_sessions HTH, Kevin Kinsey -- It's amazing how many people you could be friends with if only they'd make the first approach. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Soundcard problem
kenneth hatteland wrote: After switching from FreeBSD 7.0 release to stable I have had a big soundproblem. When compiling a kernel as I used to with device sound and device snd_emu10Kx as options I now get an error saying mixer is not configured etc.And no sound at all. Have tried several mixers to but to no avail, I do not understand the problem enough to correct it. I'm not sure I will either, but maybe won't hurt to try? Googling doesn`t help as no one reports the same error with audigy soundcards. If I compile a kernel without the snd_emu10kx device sound works partially, sometimes playing ok, and then often sounding like an alien attacking ( digital noise of the horrible kind) Sooner or later the system locks down after playing about 5 songs with normal sound forcing me to hard switch the system off.. I find this extremely annoying. I think I would also. Does anybody have a clue ? I am not sure which output you`d want me to provide for this so instead of pasting every output I know I thought to ask first... I haven`t reversed my system to 7.0 release so that could maybe fix it, but I was hoping to stay with 7.1 :) Well, relevant lines re: your soundcard from `dmesg` or /var/run/dmesg.boot, if it's there. Also, output of `cat /dev/sndstat` and perhaps a listing thus: ls -l /dev/dsp* /dev/mixer for starters. Kevin Kinsey -- Fortune favors the lucky. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Installing gimp from ports, need a GTK+, what port is it
HI, I'm installing gimp from ports. I've recently done a csup on my ports tree and was happily working through the issues that were coming up while installing. Normally, the issues were only due to a particular package that was installed, such as poppler, being older than the one gimp wanted. So, a call to portupgrade fixed it. However, this one has me stumped (I haven't yet installed the gnomelogalyzer mentioned in the error to try that method, but I don't think I have to). The configure script: === Configuring for gimp-app-2.6.1_2,1 stopped for: checking for GTK+ - version = 2.12.5... no A search for installed gtk packages on my system revealed this: sniper# pkg_info | grep gtk gtk-1.2.10_20 Gimp Toolkit for X11 GUI (previous stable version) gtk-2.12.1_1Gimp Toolkit for X11 GUI (current stable version) gtk-engines2-2.14.3 Theme engine for the Gtk+-2.0 toolkit poppler-gtk-0.8.7 Gtk bindings to poppler webkit-gtk2-0.0.30549_1 An opensource browser engine wxgtk2-common-2.8.9 The wxWidgets GUI toolkit (common files) wxgtk2-unicode-2.8.9 The wxWidgets GUI toolkit (Unicode) The only thing in it that mentions GTK+ is the gtk-engines* port, but that has in the description, Theme engine for Gtk+ Is this really the port to update, or is there something else I should update, or is there a port that isn't installed that I should install? What port is this GTK+ anyway? A make search name=gtk+ at /usr/ports revealed more stuff than my konsole window would scroll through, so there's quite a bit to know. What package is it I'm looking for? Thanks for any help, Andy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installing gimp from ports, need a GTK+, what port is it
On Sun, Nov 23, 2008 at 9:23 PM, Andrew Falanga [EMAIL PROTECTED] wrote: HI, I'm installing gimp from ports. I've recently done a csup on my ports tree and was happily working through the issues that were coming up while installing. Normally, the issues were only due to a particular package that was installed, such as poppler, being older than the one gimp wanted. So, a call to portupgrade fixed it. However, this one has me stumped (I haven't yet installed the gnomelogalyzer mentioned in the error to try that method, but I don't think I have to). The configure script: === Configuring for gimp-app-2.6.1_2,1 stopped for: checking for GTK+ - version = 2.12.5... no A search for installed gtk packages on my system revealed this: sniper# pkg_info | grep gtk gtk-1.2.10_20 Gimp Toolkit for X11 GUI (previous stable version) gtk-2.12.1_1Gimp Toolkit for X11 GUI (current stable version) gtk-engines2-2.14.3 Theme engine for the Gtk+-2.0 toolkit poppler-gtk-0.8.7 Gtk bindings to poppler webkit-gtk2-0.0.30549_1 An opensource browser engine wxgtk2-common-2.8.9 The wxWidgets GUI toolkit (common files) wxgtk2-unicode-2.8.9 The wxWidgets GUI toolkit (Unicode) The only thing in it that mentions GTK+ is the gtk-engines* port, but that has in the description, Theme engine for Gtk+ Is this really the port to update, or is there something else I should update, or is there a port that isn't installed that I should install? What port is this GTK+ anyway? A make search name=gtk+ at /usr/ports revealed more stuff than my konsole window would scroll through, so there's quite a bit to know. What package is it I'm looking for? The version of gtk you have installed is too old. Upgrade to the latest version of x11-toolkits/gtk2 Michael Thanks for any help, Andy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installing gimp from ports, need a GTK+, what port is it
On Sun, 23 Nov 2008 20:23:58 -0700 Andrew Falanga [EMAIL PROTECTED] wrote: HI, I'm installing gimp from ports. I've recently done a csup on my ports tree and was happily working through the issues that were coming up while installing. Normally, the issues were only due to a particular package that was installed, such as poppler, being older than the one gimp wanted. So, a call to portupgrade fixed it. I'd suggest that you install gimp with portinstall (portupgrade -N), which is supposed to take care of upgrading dependencies. Personally, I just bring my existing ports up-to-date before installing new ports - in the long-term I think it's less hassle if you regard your own time as more valuable than the CPU's. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
did i ask this before?
Guys, Is there anybody familiar with out web1913 stuff, or know of any words dictionary or database that can help me to list a list of simply: word [type of speech] E.g: gate n. sit v. very adv. red adj. and so forth? I don't think there are any EASY idea. hope i'm wrong... tia, gary -- Gary Kline [EMAIL PROTECTED] http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]