Re: php4 + php5
Mark wrote: Using a single Apache 1.3.x install, is there a way to install both mod_php4 + mod_php5 together? I can't just upgrade to php5: not every webboard and such accepts php5 yet. On some dirs (or per vhost) I like the Apache server to use php5, though. No. At least, not within the current ports system. Quite apart from anything else, the php4 and php5 ports conflict -- they fight over installing files to certain locations. I'm also not certain that loading both mod_php4 and mod_php5 into the same instance of Apache is viable. The standard answer to this sort of problem is to use multiple instances of apache. There's support in the rc scripts to do that[*] -- you'll have to work out a mechanism (proxying, running different instances on different IP numbers or ports, etc.) to get the web traffic into the correct apache instance. However, the conflicts between php4 and php5 make this unfeasible, and probably the solution here is to use separately jailed instances of apache. Cheers, Matthew [*] Well, there certainly is for apache22 -- I assume that the same applies to the other apache versions in the ports. -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: ReturnCode Checking for FTP
At 2009-05-06T11:44:46-04:00, Eddie Chen wrote: Reading the ftp commands seems to be better, because it will exit(rc) if any of put or rename failed. Perhaps you've already looked at `lftp', http://lftp.yar.ru/ Exit codes of its commands can be used from the shell, e.g., as follows: % set SERVER=ftp://ftp.freebsd.org/pub/FreeBSD/; % lftp -c open -e 'cat README.TXT' ${SERVER} /dev/null echo OK OK % lftp -c open -e 'cat NOEXIST' ${SERVER} || echo FAILED FAILED Further, lftp commands themselves can use the exit codes of previous commands: % lftp -c open -e 'ls foo ls misc' ${SERVER} ls: Access failed: 404 Not Found (foo) % lftp -c open -e 'ls foo || ls misc' ${SERVER} ls: Access failed: 404 Not Found (foo) drwxr-xr-x -- ~ drwxr-xr-x -- ~/pub drwxr-xr-x -- .. drwxr-xr-x -- . drwxr-xr-x- 2007-11-02 00:00 fbsd-compat -rw-r--r-- 1k 2002-04-03 00:00 supfile HTH, Raghavendra. -- N. Raghavendra ra...@mri.ernet.in | http://www.retrotexts.net/ Harish-Chandra Research Institute | http://www.mri.ernet.in/ See message headers for contact and OpenPGP information. ___ 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: basic
On Wednesday 06 May 2009 21:09:07 Jerry McAllister wrote: On Wed, May 06, 2009 at 06:00:32PM +0200, Polytropon wrote: 10 GOTO 10 On Wed, 6 May 2009 14:32:47 +0200, giorgio novello gio@vodafone.it wrote: Do you want obtain new market share? Develop e visual-basic like language, or asp vb and your OS will be a best seller FreeBSD isn't for beginners, it's for professionals. Everyone is a beginner sometime. So, FreeBSD is for beginners. Otherwise there would be no FreeBSD --- or you. What he means is that FreeBSD does no hand holding or hide stuff because you don't need access to it anyway. Also, there aren't many that started computing on FreeBSD. -- Mel ___ 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: Dump snapshot issue...
Is /home really a separate file system on your system? Or is it just a directory in another filesystem? df -h output: Filesystem SizeUsed Avail Capacity Mounted on /dev/da0s1a3.9G351M3.2G10%/ devfs 1.0K1.0K 0B 100%/dev /dev/da0s1g 98G 13G 77G14%/home /dev/da0s1d7.7G136K7.1G 0%/tmp /dev/da0s1e9.7G5.6G3.3G63%/usr /dev/da0s1f9.7G1.3G7.6G15%/var /dev/da1s1d133G 40G 82G33%/backup devfs 1.0K1.0K 0B 100%/var/named/dev procfs 4.0K4.0K 0B 100%/proc Marci ___ 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
abiword
I am having serious problems getting my freebsd machines with abiword installed to open .doc files. Text becomes totally garbled and unreadable. Have searched the net and the few abiword forums I can find but nowhere does it say what nob is unturned on my freebsd installs. winxp and linux machines opens such documents ok. Anyone using this and know something wise ? OpenOffice would be an alternative, but I only have 4gb left of /usr so it won` t build. blessed be Kenneth, norway ___ 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: abiword
On Thu, 07 May 2009 10:16:45 +0200, kenneth hatteland kenneth.hattel...@kleppnett.no wrote: I am having serious problems getting my freebsd machines with abiword installed to open .doc files. Text becomes totally garbled and unreadable. Maybe this is due to a defective .DOC file (quick save disaster, memory dump); possible that Abiword isn't as fault tolerant as OpenOffice. [...] linux machines opens such documents ok. In Abiword as well? Same version? OpenOffice would be an alternative, but I only have 4gb left of /usr so it won` t build. Better install from a package via the pkg_add command. -- 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 freebsd-questions-unsubscr...@freebsd.org
isc-dhcp logging and status query
FreeBSD7-amd64: I set up /usr/ports/net/isc-dhcp30-server for static IP addresses (based on the MacAddress) This works, but I wonder where I can see information of the status? 1. The doc says I should see dhcp log messages (default in /var/log/messages) but I see nothing about dhcp in /var/log/messages. (I wonder where they are now, before hacking /etc/syslog.conf) 2. Is there any tool to see what Statically assigned IP address are handed out at a given time? (I also see nothing in /var/db/dhcpd/dhcpd.leases file execpt comments) ___ 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: isc-dhcp logging and status query
On Thursday 07 May 2009 12:00:10 Pieter Donche wrote: 2. Is there any tool to see what Statically assigned IP address are handed out at a given time? (I also see nothing in /var/db/dhcpd/dhcpd.leases file execpt comments) Add omapi-port 7911; to dhcpd.conf. Then, as follows: $ omshell connect obj: null new lease obj: lease set ip-address = 192.168.2.253 obj: lease ip-address = c0:a8:02:fd open obj: lease ip-address = c0:a8:02:fd state = 00:00:00:02 client-hostname = impy snip more info See omshell(1) for more info. Install isc-dhcp30-relay to get the omapi(3) and dhcpctl(3) programming interfaces to roll your own tools. -- Mel ___ 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: make - reassign variable using if-then ?
On Wed, May 06, 2009 at 05:40:41PM +0200, Mel Flynn wrote: On Wednesday 06 May 2009 11:31:17 Anton Shterenlikht wrote: I'm trying to build gcc43 on alpha 6.4. In /usr/ports/lang/gcc43/Makefile I have: # grep NOT_FOR_ARCHS /usr/ports/lang/gcc43/Makefile NOT_FOR_ARCHS= alpha ia64 powerpc # In /etc/make.conf I have: .if ${.CURDIR:M*/lang/gcc43*} NOT_FOR_ARCHS= ia64 USE_GCC=4.3+ .endif This used to work fine until some update. Not anymore. The second setting is being used, i.e. the port is being built with gcc43. But the NOT_FOR_ARCHS is not changed, so I have to do it manually each time. So I tried to experiment with changing variable values withing if-then. Your only option is overriding in /usr/portslang/gcc43/Makefile.local. This is because make.conf is read *before* the Makefile and the Makefile simply overrides your values. Makefile.local is read *after* the Makefile. csup will leave it alone, however portsnap will delete the entire directory before upgrading the port, so your Makefile.local will be shot. ok, thanks, that works, I do use cvsup. -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 ___ 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
7.2 = no sound
I upgraded my system to 7.2 with cvsup, and sound has stopped working. I'm running gnome, and both esound-0.2.41 A sound library for enlightenment package pulseaudio-0.9.14_5 Sound server for UNIX are installed. Both esd and pulseaudio are running root1182 0.0 0.1 3372 1140 con- I10:37PM 0:00.01 /usr/local/bin/esd user1508 0.0 0.3 78224 5804 ?? Is 11:09PM 0:00.26 /usr/local/bin/pulseaudio --start --log-target=syslog user1509 0.0 0.2 10772 4892 ?? I11:09PM 0:00.01 /usr/local/libexec/pulse/gconf-helper which doesn't seem right to me, but turning off esd does not help, and I don't know how to turn off pulseaudio. So I went through http://www.freebsd.org/doc/en/books/handbook/sound-setup.html Sound module loaded: yes # kldstat |grep snd 41 0xc09d6000 1abf8snd_hda.ko # cat /dev/sndstat FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386) Installed devices: pcm0: HDA Sigmatel STAC9205X PCM #0 Analog at cad 0 nid 1 on hdac0 kld snd_hda [MPSAFE] (1p:3v/1r:1v channels duplex default) pcm1: HDA Sigmatel STAC9205X PCM #1 Analog at cad 0 nid 1 on hdac0 kld snd_hda [MPSAFE] (0p:0v/1r:1v channels) dmesg: pcm0: HDA Sigmatel STAC9205X PCM #0 Analog at cad 0 nid 1 on hdac0 pcm1: HDA Sigmatel STAC9205X PCM #1 Analog at cad 0 nid 1 on hdac0 However, I have no /dev/dsp: # ll /dev/dsp* crw-rw-rw- 1 root wheel0, 115 May 6 22:37 /dev/dsp0.0 crw-rw-rw- 1 root wheel0, 117 May 6 22:37 /dev/dsp0.1 crw-rw-rw- 1 root wheel0, 118 May 6 23:16 /dev/dsp0.2 crw-rw-rw- 1 root wheel0, 119 May 6 23:21 /dev/dsp0.3 crw-rw-rw- 1 root wheel0, 120 May 6 23:21 /dev/dsp0.4 crw-rw-rw- 1 root wheel0, 116 May 6 22:37 /dev/dsp1.0 # fstat |grep dsp root esd 11825 /dev115 crw-rw-rw- dsp0.0 w Where do I go from here? ___ 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: Developing and maintaining a rapidly deployable image of an installed system
Warren Guy warren@calorieking.com wrote: Hi everyone, I'm just wondering if there is an established best practice for developing and maintaining a rapidly deployable image of an installed FreeBSD system? If anyone can point me towards documentation or any other resources that might be of use I would greatly appreciate it. One of the tools we've been using extensively is FreeBSD's jail system. Especially with the ezjail port, it's pretty easy to have a backup tarball of each system that can then be easily deployed to another server if needed. It also makes it easy to migrate servers to other hardware in order to do upgrades, or re-balance workload if one particular piece of hardware is getting over or under utilized. The host system is a very basic install -- mostly just give it an IP and add users for the administrators. All the ports and details of their configs are in the individual jails. It's much more efficient than using something like VMware, which has horrific performance penalties. -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Maintaining a FreeBSD system - Workcycle
more so (for the base system I just install them always, as it doesn't pay off in the long run to skip them). Portaudit for a (web)server has a lot of notifications that are not critical, like several issues over the last year with php's safe mode that any sane webserver admin doesn't use. i don't know really what's PHP safe mode, just if someone says he/she needs PHP i make separate jail, and configure whatever she/he wants. it for sure have a lots of bugs (in PHP directly), and even more security holes by stupidly designed webpage he/she will put, but i don't care. it will not hurt anyone else ;) ___ 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: filesystem: 12h to delete 32GB of data
If you aren't using ZFS, or even a GEOM volume with mirror/RAID5/softup/etc, you cannot make the statement that hardware RAID is faster. I learned that 3 years ago. i state exactly opposite. all hardware raid cards are made just to suck money from those who believe in it. like performance is not enough - buy better/more expensive model. This does not go for EMC, IBM, Hitachi high-end storage arrays where you write to TBs of RAM Cache. having same amount of extra memory on FreeBSD server directly will make better use of it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
/etc/ttys
Dumb question because of dumb action: can anyone point me to a place where I can find a copy of /etc/ttys? - suitable for FreeBSD v7.2 Thanks ianf ___ 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: /etc/ttys
Ian Fitzgerald wrote: Dumb question because of dumb action: can anyone point me to a place where I can find a copy of /etc/ttys? - suitable for FreeBSD v7.2 In it's entirety: http://ibctech.ca/ttys Steve ___ 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: 7.2 = no sound
On Thu, May 07, 2009 at 11:50:27AM +0100, Lars Hecking wrote: I upgraded my system to 7.2 with cvsup, and sound has stopped working. I'm running gnome, and both (...) Sound module loaded: yes # kldstat |grep snd 41 0xc09d6000 1abf8snd_hda.ko # cat /dev/sndstat FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386) Installed devices: pcm0: HDA Sigmatel STAC9205X PCM #0 Analog at cad 0 nid 1 on hdac0 kld snd_hda [MPSAFE] (1p:3v/1r:1v channels duplex default) pcm1: HDA Sigmatel STAC9205X PCM #1 Analog at cad 0 nid 1 on hdac0 kld snd_hda [MPSAFE] (0p:0v/1r:1v channels) dmesg: pcm0: HDA Sigmatel STAC9205X PCM #0 Analog at cad 0 nid 1 on hdac0 pcm1: HDA Sigmatel STAC9205X PCM #1 Analog at cad 0 nid 1 on hdac0 Have you tried to set hw.snd.default_unit to the right port? From snd_hda(4): The default audio device may be tuned by setting the hw.snd.default_unit sysctl, as described in sound(4), or explicitly specified in application settings. That's the most common cause for sound problems after the snd_hda upgrade. -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /etc/ttys
On Thu, May 07, 2009 at 10:18:03PM +1000, Ian Fitzgerald wrote: Dumb question because of dumb action: can anyone point me to a place where I can find a copy of /etc/ttys? - suitable for FreeBSD v7.2 /usr/share/examples/etc/ttys -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ pgpHmHp92JwGR.pgp Description: PGP signature
Re: Developing and maintaining a rapidly deployable image of an installed system
Bill Moran wrote: [...] The host system is a very basic install -- mostly just give it an IP and add users for the administrators. All the ports and details of their configs are in the individual jails. It's much more efficient than using something like VMware, which has horrific performance penalties. Hi Bill, We've been using VMware with FreeBSD guests for a few years now without any performance problems. In fact, jails even work well within a FreeBSD VM. What kinds of problems have you run into? Responding to the original question, we solved it by creating a FreeBSD VM and storing it as a template in VMware VirtualCenter. Whenever a new VM is needed, the template is deployed and customized with memory, extra disk space, IP address, etc. You can take it further by implementing a tool like Puppet, cfengine or Chef to perform the post-deployment configuration and keep the various recipe files under source control: http://reductivelabs.com/products/puppet/ (in the ports tree) http://www.cfengine.org/ (in the ports tree) http://wiki.opscode.com/display/chef/Home (not in the ports tree) Cheers, Greg -- Greg Larkin http://www.FreeBSD.org/ http://twitter.com/sourcehosting ___ 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: /etc/ttys
On Thu, 07 May 2009 22:18:03 +1000 Ian Fitzgerald wrote: Dumb question because of dumb action: can anyone point me to a place where I can find a copy of /etc/ttys? - suitable for FreeBSD v7.2 /usr/share/examples/etc/ttys WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve ___ 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: multiple PPPoE connections on one machine (DSL load balancing)
Jeff Croft wrote: Hello -- I'm configuring FreeBSD 7.1 as a router/load-balancer and I just got stuck. I know this sounds like a newbie question, but hear me out. I have three DSL line (ATT in SF Bay Area, business class) connected via ethernet to the box, and one more ethernet connected to an internal network. The idea is to do some clever kind of load-balancing and/or logging of DSL connections using pf. All three DSL lines are configured to use PPPoE. I can successfully bring any one of them up individually, but when I try to bring more than one up, using either ppp or mpd5, I get an error that looks like this (example from ppp): ppp : tun0: Warning: iface add: ioctl(SIOCAIFADDR, X.X.X.X - D.D.D.D ): File exists and then the 2nd link goes down. mpd5 says the same thing, but the error is slightly different. For all three point-to-point links the remote side of the point to point (D.D.D.D) is always the same IP address, so naturally it doesn't want to add multiple routing table entries which point to the same destination. The vendor claims to be unable to change the value of D.D.D.D because everyone in your region has the same remote address. They also don't support mlppp, so multilink is out. Did you try multilink PPP? they might not support, but it may work anyway... Also, I would like easy, real-time, programmatic access to the IP address of each individual DSL line. So far, I've thought of the following workarounds: 1. Use cheap linksys boxen to hang off each DSL line so the FreeBSD network stack doesn't have to do the PPPoE. I'm concerned that they'll be able to handle the volume of individual connections I'm planning on, even with the firmware replaced with something decent. Plus it's three extra devices on my network! 2. Use network virtualization such as this. I don't have any experience with it, but I'm guessing it would do everything I want. http://imunes.tel.fer.hr/virtnet/ Does anyone have any ideas how to solve this problem more elegantly? Not elegantly, but you can change the remote peer address to something else. That is: 1) Bring up tun0, you get from IPCP 1.1.1.1 - 2.2.2.2 ifconfig tun0 1.1.1.1 3.3.3.3 2) Bring up tun1, you get 1.1.1.2 - 2.2.2.2 ifconfig tun1 1.1.1.2 4.4.4.4 3) Bring up tun2, you get 1.1.1.3 - 2.2.2.2 The result will be: tun0 1.1.1.1 3.3.3.3 tun1 1.1.1.2 4.4.4.4 tun2 1.1.1.3 2.2.2.2 You'll need to write a custom script, to modify the addresses, I think both ppp and mpd can do that. Are you going to use pf's route-to to forward packets to all three interfaces? Since, the above hack doesn't solve the next hop problem. You can only have one next hop for each destination. On -CURRENT there is support for ECMP, which may be a complete and correct solution for this problem. HTH, Nikos ___ 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: Developing and maintaining a rapidly deployable image of an installed system
In response to Greg Larkin glar...@freebsd.org: Bill Moran wrote: [...] The host system is a very basic install -- mostly just give it an IP and add users for the administrators. All the ports and details of their configs are in the individual jails. It's much more efficient than using something like VMware, which has horrific performance penalties. Hi Bill, We've been using VMware with FreeBSD guests for a few years now without any performance problems. In fact, jails even work well within a FreeBSD VM. What kinds of problems have you run into? Really? Do you have any machines with more than 30 virtual systems on them? Even our beefiest hardware can't handle more than 10 VMWare machines. We use both jails and VMWare. Each has it's pros and cons. The big pro of VMWare is that you can simulate an entire piece of hardware, which is necessary for much of our lab and testing work. The big con of VMWare is performance and overhead. Another big pro of VMWare is that we can have FreeBSD, and Linux, and MS operating systems all running on the same hypervisor, which jails can't do. The big pro of jails is that we can put a crapload of jails on each physical server. Six or 8 is typical, but we have systems with more than 30 humming along happily. Each jail uses far less disk space than a virtual machine, and uses far less CPU. Also, the jail mechanism puts fewer layers between the OS and the hardware, which means things like network and disk performance suffer very little. Take two equivalent machines and put a FreeBSD jail on one and FreeBSD in a virtual machine on the other and benchmark the network and disk performance on each. You'll find that VMWare loses big time. If that's not enough to convince you, then increase the number of systems on each machine to about 10 and rerun the tests while the systems are under load -- VMWare doesn't scale up nearly as well as jails do. If you're doing purely CPU usage, then the two options appear to be roughly equivalent, although I've never done an actual test. Restarting a jail takes seconds, restarting a VM takes minutes. We've frequently had to go through our dev servers and shut down VMWare virtual machines to free up resources when a few of the VMs were seeing heavy usage. We've had the same problem with jails far less frequently. Like I said earlier, VMWare has its advantages, but performance is not one of them. And yes, we have VMWare VMs with FreeBSD jails inside them. It's a bizarre combination, but it works quite well ... right up until someone wants to load up one of the PostgreSQL servers and the disk issue brings the system to its knees ... that's actually a pretty good benchmark to illustrate the problem: pgbench will show how much VMWare hurts disk performance right out of the gate. I guess the overall issues are more with scalability than performance, but the two issues are linked in such a way that I frequently don't separate them. VMWare starts with a minor performance hit compared to jails, that performance hit increases significantly as you add VMs, whereas jails scale up very well. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ ___ 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
Xfce unable to lookup hostname
Every time I log in to xfce, it throws a warning that it cannot lookup bsdbox (which is my hostname as defined in rc.conf). The warning dialog suggests altering /etc/hosts to fix the problem. In fact, it's not a problem because my WAN connectivity is fine, but I still want to resolve this. In /etc/hosts there are two lines containing: localhost localhost.my.domain Since I'm connecting to the Internet through a dynamic-IP ISP without a reserved domain name, I have nothing with which to replace my.domain. What should I do to resolve this issue? In a situation like this (note: I am behind a home router), is there actually anything I can replace my.domain with? Pardon my very limited understanding of networking concepts :) Thanks, Daniel ___ 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: Xfce unable to lookup hostname
On Thu, 7 May 2009 09:14:24 -0400, Daniel Underwood djuatde...@gmail.com wrote: In /etc/hosts there are two lines containing: localhost localhost.my.domain Really? No IP? I mean like ::1 localhost 127.0.0.1 localhost 127.0.0.1 bsdbox.local bsdbox 127.0.0.1 bsdbox.local. Since I'm connecting to the Internet through a dynamic-IP ISP without a reserved domain name, I have nothing with which to replace my.domain. You can replace it with anything that doesn't resolve, such as .local, .localdomain, .dingenskirchens... :-) What should I do to resolve this issue? In a situation like this (note: I am behind a home router), is there actually anything I can replace my.domain with? It's important that /etc/hosts defines the values for localhost and your selected hostname (bsdbox), at least with the 127.0.0.1 IP. You can add further IPs with the same name if your machine spans a LAN (such as from 192.168.1.1). You can check everything with % host localhost and % host bsdbox so it should resolve to 127.0.0.1. -- 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 freebsd-questions-unsubscr...@freebsd.org
Re: Xfce unable to lookup hostname
On Thu, May 7, 2009 at 8:14 AM, Daniel Underwood djuatde...@gmail.comwrote: Every time I log in to xfce, it throws a warning that it cannot lookup bsdbox (which is my hostname as defined in rc.conf). The warning dialog suggests altering /etc/hosts to fix the problem. In fact, it's not a problem because my WAN connectivity is fine, but I still want to resolve this. In /etc/hosts there are two lines containing: localhost localhost.my.domain Since I'm connecting to the Internet through a dynamic-IP ISP without a reserved domain name, I have nothing with which to replace my.domain. What should I do to resolve this issue? In a situation like this (note: I am behind a home router), is there actually anything I can replace my.domain with? Pardon my very limited understanding of networking concepts :) Thanks, Daniel ___ freebsd-questions@freebsd.org Try adding the following line to /etc/hosts: 127.0.0.1 bsdbox bsdbox.my.domain Do not delete the localhost lines. Andrew ___ 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: Xfce unable to lookup hostname
Really? No IP? I mean like ::1 localhost 127.0.0.1 localhost 127.0.0.1 bsdbox.local bsdbox 127.0.0.1 bsdbox.local. Right, I realize I was unclear. I just meant that two lines contained localhost localhost.my.domain, not that they ONLY contained that phrase. So, yes, I'm referring to the lines starting with ::1 and 127.0.0.1. Let me make sure I understand (part of) your advice. Since I set hostname=bsdbox in rc.conf, I should replace localhost instances in /etc/ttys ? Thanks, Daniel ___ 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: Xfce unable to lookup hostname
*Correction* In previous email, /etc/ttys -- /etc/hosts. ___ 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: Xfce unable to lookup hostname
On Thu, May 7, 2009 at 8:37 AM, Daniel Underwood djuatde...@gmail.comwrote: Really? No IP? I mean like ::1 localhost 127.0.0.1 localhost 127.0.0.1 bsdbox.local bsdbox 127.0.0.1 bsdbox.local. Right, I realize I was unclear. I just meant that two lines contained localhost localhost.my.domain, not that they ONLY contained that phrase. So, yes, I'm referring to the lines starting with ::1 and 127.0.0.1. Let me make sure I understand (part of) your advice. Since I set hostname=bsdbox in rc.conf, I should replace localhost instances in /etc/ttys ? Thanks, Daniel I don't think you should touch /etc/ttys for this problem. Andrew ___ 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: basic
On Thu, May 07, 2009 at 09:03:36AM +0200, Mel Flynn wrote: On Wednesday 06 May 2009 21:09:07 Jerry McAllister wrote: On Wed, May 06, 2009 at 06:00:32PM +0200, Polytropon wrote: 10 GOTO 10 On Wed, 6 May 2009 14:32:47 +0200, giorgio novello gio@vodafone.it wrote: Do you want obtain new market share? Develop e visual-basic like language, or asp vb and your OS will be a best seller FreeBSD isn't for beginners, it's for professionals. Everyone is a beginner sometime. So, FreeBSD is for beginners. Otherwise there would be no FreeBSD --- or you. What he means is that FreeBSD does no hand holding or hide stuff because you don't need access to it anyway. Also, there aren't many that started computing on FreeBSD. I know what he thinks he means. But, what he says is that improvements are against the ethic of FreeBSD and that simply is not true. jerry -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: abiword
On Thu, 07 May 2009 10:16:45 +0200 kenneth hatteland kenneth.hattel...@kleppnett.no wrote: I am having serious problems getting my freebsd machines with abiword installed to open .doc files. Text becomes totally garbled and unreadable. Have searched the net and the few abiword forums I can find but nowhere does it say what nob is unturned on my freebsd installs. winxp and linux machines opens such documents ok. Anyone using this and know something wise ? OpenOffice would be an alternative, but I only have 4gb left of /usr so it won` t build. blessed be Kenneth, norway Hello Kenneth I too had this problem with abiword and FreeBSD. Well, it is still there but I have worked around it. This is part of email I from the abiword list that I started. I found that I could then use the bitstream-vera fonts without any trouble. I then edited the normal.awt file locater at /usr/local/share/abiword-2.6/templates/ from Times New Roman to Bitstream Charter. Now I can create new documents and when I pull in an existing document I can select all and change it to Bitstream Charter. It definitely is a bandaid fix. All of the other files in directories at /usr/local/lib/X11/fonts/ are gz files. I am not a programmer but I would _guess_ the Xorg upgrade is not opening those gz files for use by abiword. Long story short, I am able to use abiword and can live with this. I know this is not the solution you are looking for but it can help you be productive. I am not sure but I think this started with the recent update of Xorg. Abiword 2.7.0 has been released and when the port is updated I am hoping this problem is solved. I hope this helps Robert ___ 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
ad0: FAILURE - READ_DMA g_eli_read_done(
Hi I got these log messages: May 7 15:41:32 default kernel: ad0: FAILURE - READ_DMA status=51READY,DSC,ERROR error=40UNCORRECTABLE LBA=31833792 May 7 15:41:32 default kernel: GEOM_ELI: g_eli_read_done() failed ad0s2d.eli[READ(offset=1806532608, length=65536)] May 7 15:41:32 default kernel: g_vfs_done():ad0s2d.eli[READ(offset=1806532608, length=65536)]error = 5 May 7 15:41:36 default kernel: ad0: FAILURE - READ_DMA status=51READY,DSC,ERROR error=40UNCORRECTABLE LBA=31833792 May 7 15:41:36 default kernel: GEOM_ELI: g_eli_read_done() failed ad0s2d.eli[READ(offset=1806532608, length=16384)] May 7 15:41:36 default kernel: g_vfs_done():ad0s2d.eli[READ(offset=1806532608, length=16384)]error = 5 Should I be worried? I my disk dying? I know which file causes the error when read, and it's not an important one. Can I just delete it and go on, or will this haunt me in the near future? Thanks, Tobias -- Tobias Roth || http://fsck.ch || PGP: 0xCE599B4D | The c in rap is silent. ___ 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: Xfce unable to lookup hostname
On Thu, 7 May 2009 09:37:59 -0400, Daniel Underwood djuatde...@gmail.com wrote: Let me make sure I understand (part of) your advice. Since I set hostname=bsdbox in rc.conf, I should replace localhost instances in /etc/ttys ? No, the name localhost should be in your /etc/hosts, along with the hostname you selected. In this case, something like # for localhost: ::1 localhost 127.0.0.1 localhost # for your hostname: 127.0.0.1 bsdbox.local bsdbox 127.0.0.1 bsdbox.local. would be okay. You can use .my.domain instead of .local; .localdomain is okay, too. -- 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 freebsd-questions-unsubscr...@freebsd.org
Re: basic
On Thu, 7 May 2009 09:53:19 -0400, Jerry McAllister jerr...@msu.edu wrote: I know what he thinks he means. But, what he says is that improvements are against the ethic of FreeBSD and that simply is not true. Never said such thing. In fact, there are many improvements I'd like to see in FreeBSD, as well as in the applications provided for this OS (which tend to be sponsored by Bloaty more and more). FreeBSD is in fact an excellent OS for beginners, because it teaches the basics - the things that are REALLY important when you want to do something with computers, expecially when you want to do this as a job to make money with it. Stupidly clicking on squeaking and dancing buttons is nothing intelligency is needed for. FreeBSD, on the other hand, improves learning habits, extends knowledge and leads to precious experiences. I don't know much about the ethic of FreeBSD, because I use it as an OS, not as a church. :-) -- 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 freebsd-questions-unsubscr...@freebsd.org
Re: basic
On Wed 2009-05-06 14:32:47 UTC+0200, giorgio novello (gio@vodafone.it) wrote: Develop e visual-basic like language, or asp vb and your OS will be a best seller The OP is likely trolling, but reminded me of the Lazarus project. It's loosely based on Borland Delphi and is apparently quite good for VB-like RAD development. It's in FreeBSD ports tree. http://www.lazarus.freepascal.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
isc-dhcpd server, HOSTNAME
FreeBSD7 with isc-dhcp30-server. It hands out an IP address, OK, but the BASH environment variable HOSTNAME is not set. Why? (A DNS server is active on the network and can succesfully be queried from a FreeBSD bash command (nslookup or host) to see the hostname associated with the IP-address) ___ 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: Preferred client for DynDNS
On Wed 2009-05-06 10:40:46 UTC-0400, Daniel Underwood (djuatde...@gmail.com) wrote: There appear to be several clients capable of working with DynDNS.com services here: http://www.freebsd.org/ports/dns.html E.g., dns/inadyn, dns/ipcheck Can anyone make recommendations? My goal in using DynDNS is to allow remote SSH logins to a machine behind a router at my house (using a common ISP). ddclient has worked very well for me. You may also want to use sshguard-ipfw to protect from brute-force SSH attacks. ___ 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: Autofs howto
--On Wednesday, May 06, 2009 22:55:23 -0500 Michel Talon ta...@lpthe.jussieu.fr wrote: Paul Schmehl wrote: I'm wondering if I can use autofs on FreeBSD. Last time I asked the question someone said I need amd, which I found rather cryptic. Indeed it is cryptic, let me gave an example which works: niobe% cat /etc/amd.conf [global] auto_dir= /.amd log_file= /var/log/amd.log log_options = error,fatal,user map_type= file search_path = /etc [/Cd] map_name= amd.cdrom # For nfs mounts [/Net] map_name= amd.net niobe% cat /etc/amd.cdrom cdrom type:=cdfs;opts:=ro,nosuid;dev:=/dev/acd0;fs:=${autodir}/cdrom niobe% cat /etc/amd.net /defaults type:=host;fs:=${autodir}/${rhost};rhost:=${key} * opts:=rw,grpid,resvport,nosuid,nodev,soft Now some comments. I use amd without options so it just uses /etc/amd.conf to configure itself. When you try to access /Cd it uses the configuration in /etc/amd.cdrom, and if you try to access /Net it uses the configuration in /etc/amd.net. Finally if you try to access /Net/ada for example, the key is ada, and so is the remote host. It is queried for NFS mounts and everything is mounted. After niobe% cd /Net/ada i have: niobe% df ... ada:/ada36196652 26972064 735623279% /.amd/ada/ada ada:/ada1 287391356 246682696 2610999690% /.amd/ada/ada1 ada:/ada2 288362876 180649856 9306495666% /.amd/ada/ada2 ada:/ada3 99188500 80794628 1327396086% /.amd/ada/ada3 ada:/adm36204684 1682772 32653156 5% /.amd/ada/adm Note that autodir is /.amd and fs is ${autodir}/${rhost} as you can see. Getting out of /Net/ada those mounts are unmounted. I hope this helps explaining some of the mysteries of amd. Indeed it does, and I thank you very much for that example. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. *** Check the headers before clicking on Reply. ___ 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
Compass 597 Sprint
Has anyone got a Compass 597 from Sprint to work? And if so can I get some pointers? Thx in advance... Don 8) ___ 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: [Samba] PDC and group question
Am Donnerstag, den 07.05.2009, 09:11 -0700 schrieb MargoAndTodd: Peter Ulrich Kruppa wrote: I am not quite sure, I understand your question correctly: probably you will want to use commands like # net groupmap add ntgroup=Domain Admins unixgroup=wheel type=d rid=512 which would map the Windows group Domain Admins to the local UNIX group wheel and so on. See the documentation on samba.org for more details examples. Hi Peter, There is a lot of documentation out on samba.org. Can you point me to where to start? I think the main document would be http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/groupmapping.html but it assumes you really have a Primary Domain Controller up and running. Greetings and good luck Uli. Many thanks, -T ___ 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
Myths about Power Over Ethernet
Myths about Power Over Ethernet May 7, 2008 Power-over-Ethernet (PoE) technology integrates power and data across standard Cat5/5e/6 network cabling and provides more flexibility in today’s workplace. PoE enables power to be supplied to network devices, such as IP phones, network cameras, and wireless access points through a single, most often existing, network cable. When combined with an uninterruptable power supply (UPS) a PoE network delivers continuous operation and minimizes business downtime by eliminating most power interruptions. With the ability to install endpoints in any location PoE technology provides a scalable and flexible networking infrastructure geared for growth and efficiency. PoE Switches can provide all the power I need or will need. Today most switches are merely PoE-enabled. This means the majority rely on power management to share available power across the switch ports. The switches are designed with a smaller power supply that is typically capable of powering the switch itself and providing the required 15.4 watts of power over a limited number of ports. For example: A 24-port PoE Switch with power management typically has a 195-watt power supply. After the 40 watts needed to power the switch, you have approximately 155 watts remaining. If 12 of the 24 ports are used to connect end devices using 11.5 watts each, you would only have 17 watts remaining to provide power on the last 12 ports. The math doesn’t match the ports: 195W – 40W (switch) – 138 (12 devices @ 11.5W/ea) = 17W left for power on 12 ports Myth Busted: A PoE Switch is often not the best and most cost effective solution. A midspan and a PoE switch are the same. A PoE Midspan is not a switch. A Midspan is an additional PoE power source that can be used to offer full power to all endpoint devices. PoE Midspans (Power Hub or Power Injector) pass data from a switch and ‘inject’ safe power acting as a patch panel of sorts. Midspans are commonly used with either a non-PoE switch, an existing PoE switch, or a new PoE switch in a network. In addition to offering full power across all available ports, midspans costs substantially less per port and overall than a new PoE enabled switch. Myth Busted: Midspans do not switch – they make use of existing best-in-class switches. They inject safe power across all ports and cost less than PoE switches. . Only a switch that has PoE built in should be used to power devices like IP Phones, Access Points, and IP Security Cameras. Switches were designed to, well, switch. PoE Switches are designed with power management and have to distribute different power as required to ports but there is often not enough power for all devices plus the power required to complete the primary task - switching. Networks that have multiple devices like IP phones, IP cameras, wireless access points quickly go beyond the limited capacity of managed power PoE switches. As more PoE devices continue to grow in capabilities and market share this managed power limitation will become more and more evident. Midspans, in contrast to switches, were designed to provide full power on every port and deliver safe and reliable power based on the industry standards (IEEE802.3af/at). Myth Busted: Rather than relying on power management in a switch use a midspan that can deliver full power (15.4W) to every port for all PoE-enabled devices now and in the future. Ethernet devices not PoE-enabled (non 802.3af/at compliant) cannot be powered using PoE technology. Many devices do not directly accept Power-over-Ethernet but can still use PoE technology. If the device uses less than 12.5 watts (802.3af) or less than 50 watts (802.3at+) and connects to an IP Ethernet network you can use a PoE splitter. PoE splitters enable you to accept PoE power from any IEEE 802.3af/at compliant switch or midspan then separates the data and power on to two seprate cables. The data is connected to the end device through a standard RJ45 plug while the power is connected using a standard 5.5 x 2.1 x 12mm Adapter Plug. Splitters can also convert the input voltage to the required voltage for a non-PoE device. Splitters are traditionally used with older network products which only accept power through their (DC) jack and data through their RJ-45 jack. Myth Busted: PoE splitters can be used in conjunction with PoE midspans and switches to provide both the data connectivity and power required by most endpoint devices. I need/will need additional PoE switch ports to power my IP cameras and high-power pan, tilt, and zoom (PTZ) cameras. Today, many devices have evolved into more advanced solutions with higher power requirements. The traditional approach was to endure a “forklift upgrade”. This meant buying new PoE switches at considerable cost and physically swapping out the existing switches to meet higher power requirements or add more powered ports.
Run script on boot, as ordinary user
So there's cron. Is there anything that lets an ordinary user start his/her programs at bootup of the system? And then run a script when the system is shutting down? I'm familiar with /etc/rc.d/, but that's not really what I'm looking for. I gave my friends access to my FreeBSD server and I want to let them start for example Apache and/or MySQL on higher ports running as their own user. ___ 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: Run script on boot, as ordinary user
Nerius Landys wrote: So there's cron. Is there anything that lets an ordinary user start his/her programs at bootup of the system? And then run a script when the system is shutting down? I'm familiar with /etc/rc.d/, but that's not really what I'm looking for. I gave my friends access to my FreeBSD server and I want to let them start for example Apache and/or MySQL on higher ports running as their own user. Each user could create an entry in their crontab using the @reboot keyword. -- Chris Cowart Network Technical Lead Network Infrastructure Services, RSSP-IT UC Berkeley pgp22bm6MQb1u.pgp Description: PGP signature
Re: Run script on boot, as ordinary user
Nerius Landys wrote: So there's cron. Is there anything that lets an ordinary user start his/her programs at bootup of the system? And then run a script when the system is shutting down? I'm familiar with /etc/rc.d/, but that's not really what I'm looking for. I gave my friends access to my FreeBSD server and I want to let them start for example Apache and/or MySQL on higher ports running as their own user. Starting something at boot is easy enough. The user can just add a line like this to his/her crontab: @reboot /path/to/command At shutdown is not possible via cron though. -- Christian Laursen ___ 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: Run script on boot, as ordinary user
In response to Nerius Landys nlan...@gmail.com: So there's cron. Is there anything that lets an ordinary user start his/her programs at bootup of the system? And then run a script when the system is shutting down? I'm familiar with /etc/rc.d/, but that's not really what I'm looking for. I gave my friends access to my FreeBSD server and I want to let them start for example Apache and/or MySQL on higher ports running as their own user. In addition to the other suggestions, there's also the jail system to give users limited root permissions. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ ___ 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: 7.2 = no sound
pcm0: HDA Sigmatel STAC9205X PCM #0 Analog at cad 0 nid 1 on hdac0 pcm1: HDA Sigmatel STAC9205X PCM #1 Analog at cad 0 nid 1 on hdac0 Have you tried to set hw.snd.default_unit to the right port? From snd_hda(4): The default audio device may be tuned by setting the hw.snd.default_unit sysctl, as described in sound(4), or explicitly specified in application settings. That's the most common cause for sound problems after the snd_hda upgrade. Well, I don??t know what the rigt port is ;-) I tried hw.snd.default_unit=0 and now I have # ll /dev/dsp* crw-rw-rw- 1 root wheel0, 118 May 7 19:23 /dev/dsp0.0 crw-rw-rw- 1 root wheel0, 119 May 7 19:23 /dev/dsp0.1 crw-rw-rw- 1 root wheel0, 117 May 7 19:22 /dev/dsp1.0 i.e dsp0.[234] are gone. Sound preferences show that the default device for input and output (? how is that supposed to work?) is /dev/dsp0. What do I need to configure to create a /dev/dsp0? I don??t really understand what??s going on, especially since the number of dsp* devices keeps changing # cd /dev # ln -s dsp0.0 dsp0 ln: dsp0: File exists # ll dsp* crw-rw-rw- 1 root wheel0, 118 May 7 19:28 dsp0.0 crw-rw-rw- 1 root wheel0, 119 May 7 19:22 dsp0.1 crw-rw-rw- 1 root wheel0, 129 May 7 19:22 dsp0.2 crw-rw-rw- 1 root wheel0, 117 May 7 19:22 dsp1.0 ___ 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
Applying FreeBSD-SA-09:07 broke PAM on 7.0
Hello! Finally I managed to find some time to apply the libc update to our server running FreeBSD 7.0 i386. I applied the patch as described in the section titled To patch your present system: of the advisory. I didn't notice any errors during the entire process, but after it was complete I could no longer log in, either via ssh or locally on the server console. The following error messages were returned after entering the login name on the console (the password prompt didn't even appear): login: in openpam_load_module(): no pam_unix.so found login: pam_start(): system error pam_unix.so.4 was still present in /usr/lib and there was also a symlink to it named pam_unix.so, as I saw after rebooting the server into single user mode. ldd /usr/lib/pam_unix.so.4 seemed to correctly find all the needed libraries. Using the fixit CD I copied the original libc.so.7 from 7.0 installation media to the system and this seems to have solved the problem, leaving me to wonder how to actually deal with the security issue. My own thought at this point is to bring in a fresh 7.2 source tree and rebuild everything, but maybe someone knows a less involved solution? Sounds like something else besides libc needs to be rebuilt, but what? Just a couple of days ago I applied this patch to another system running 7.1, and there were no problems. I've been running and patching FreeBSD since 2001 and never had such a strange problem with a security advisory! -- Toomas Aas ___ 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: Run script on boot, as ordinary user
On Thursday 07 May 2009 19:57:03 Nerius Landys wrote: So there's cron. Is there anything that lets an ordinary user start his/her programs at bootup of the system? And then run a script when the system is shutting down? I'm familiar with /etc/rc.d/, but that's not really what I'm looking for. You sure? You can simply write an rc.d script that iterates through /home/*/rc.d/* and invokes each enabled script in there as the user, using su or sudo. This will cleanly shutdown stuff for them. Whether they *should* be running their own instances is an entirely different question. VirtualHost can do a lot and with mod_vhost_alias you simplify the maintenance, while maintaining several instances complicates it. -- Mel ___ 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: php4 + php5
-Original Message- From: Matthew Seaman [mailto:m.sea...@infracaninophile.co.uk] Sent: donderdag 7 mei 2009 8:29 To: Mark Cc: freebsd-questions@freebsd.org Subject: Re: php4 + php5 Mark wrote: Using a single Apache 1.3.x install, is there a way to install both mod_php4 + mod_php5 together? I can't just upgrade to php5: not every webboard and such accepts php5 yet. On some dirs (or per vhost) I like the Apache server to use php5, though. No. At least, not within the current ports system. Quite apart from anything else, the php4 and php5 ports conflict -- they fight over installing files to certain locations. I'm also not certain that loading both mod_php4 and mod_php5 into the same instance of Apache is viable. Thanks. I figured as much. So I just upgraded to PHP5 already. :) Only thing is, I can't get GD to compile properly (which I really need). Compile keeps failing on the libxcb port. Seems it wants to install all sorts of X11 stuff (which I don't use). Can I not just build gd.so with all the X11 baggage? Thanks, - Mark ___ 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
SOLVED (was: RE: php4 + php5)
-Original Message- From: Mark [mailto:ad...@asarian-host.net] Sent: donderdag 7 mei 2009 21:32 To: freebsd-questions@freebsd.org Subject: RE: php4 + php5 ... So I just upgraded to PHP5 already. :) Only thing is, I can't get GD to compile properly (which I really need). Compile keeps failing on the libxcb port. Seems it wants to install all sorts of X11 stuff (which I don't use). Can I not just build gd.so without all the X11 baggage? LOL, just adding WITHOUT_X11=yes did the trick! Sometimes the obvious is just staring you in the face; and then, obviously, you miss it. :) Thanks, - Mark ___ 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: Run script on boot, as ordinary user
man crontab @reboot On Thu, 7 May 2009, Nerius Landys wrote: So there's cron. Is there anything that lets an ordinary user start his/her programs at bootup of the system? And then run a script when the system is shutting down? I'm familiar with /etc/rc.d/, but that's not really what I'm looking for. I gave my friends access to my FreeBSD server and I want to let them start for example Apache and/or MySQL on higher ports running as their own user. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Specifying only constrained options in /etc/libmap.conf ?
I would like to use /etc/libmap.conf to apply some mappings which only apply to the darcs executable. However the man page for libmap.conf contains this warning: WARNING! Constrained mappings must never appear first in the configura- tion file. While there is a way to specify the ``default'' constraint, its use is not recommended. Warning aside, I thought what I would want is the following. Is there a better way? I want to limit the scope of this change because I'm not sure how it will affect the rest of the system, particularly MySQL. [darcs] libpthread.so.1 libthr.so.1 libpthread.so.2 libthr.so.2 libkse.so.3 libthr.so.3 Thanks for your help! Mark -- . . . . . . . . . . . . . . . . . . . . . . . . . . . Mark StosbergPrincipal Developer m...@summersault.com Summersault, LLC 765-939-9301 ext 202 database driven websites . . . . . http://www.summersault.com/ . . . . . . . . ___ 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: ndis0 interrrupt storm
Tim Judd wrote: I think project evil (ndis) requires a specific driver version, such as the WinXP drivers versus the Vista or 2000 or anything else. What drivers did you use? Any other drivers available on the manufacturer website? If you're not using XP, I recall reading that XP is the preferred driver for the recent project evil versions. --TJ ___ 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 Sorry about the delay replying, I've been away. In the meantime I've tried the three possible drivers (XP, NT and an unlabelled one). I've also installed a recent 8-current snapshot, updated to latest source and built world, and tried the XP driver. Still get interrupt storms everywhere, also a panic (I think) in 8-current. Should I give up or are there other things to try? Thanks Chris ___ 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
Frozen on Boot - Kernel Hanging?
Hey, My server was fine when I went to work. When I got back, it was dead. I had the datacenter reboot it, and it refused to boot. It just hangs with no error message when booting. After the Welcome to FreeBSD menu, it just freezes up. I have no idea where to start to fix this. Any ideas? Thanks. ___ 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: Frozen on Boot - Kernel Hanging?
My server was fine when I went to work. When I got back, it was dead. I had the datacenter reboot it, and it refused to boot. It just hangs with no error message when booting. After the Welcome to FreeBSD menu, it just freezes up. I have no idea where to start to fix this. Any ideas? most probably hardware failure Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Problems after upgrading to xorg-7.4_1
I'm having a couple of problems getting X to work after upgrading to xorg-7.4_1 (on 6.4-RELEASE-p3) The first problem is that I can't get the nvidia driver to load. I ran Xorg -configure to create a new xorg.conf. This generated a file using the nv driver, which works but causes the display to be offset about 15mm to the right. Things were working fine with the nvidia driver prior to upgrading the ports so I then ran nvidia-xconfig to update xorg.conf to use the nvidia driver but then X won't start. The error message I get is: (EE) Failed to load /usr/local/lib/xorg/modules/drivers//nvidia_drv.so ... but it does exist curlew:/root# ls -l /usr/local/lib/xorg/modules/drivers//nvidia_drv.so -r--r--r-- 1 root wheel 1650756 Feb 16 11:18 /usr/local/lib/xorg/modules/drivers//nvidia_drv.so To get round this it looks like I either need to get the nv driver to position the display correctly or get the nvidia driver to load. I've included copies of xorg.conf and Xorg0.log at the end of this email. The second problem is that when I revert to the nv driver X treats my UK keyboard as a US one, even though it functions correctly as a UK keyboard in console mode before starting X. The original config file created by X -configure didn't detect my keyboard type and generated the following keyboard section: Section InputDevice Identifier Keyboard0 Driver kbd EndSection Then I added the following lines from my previous config file: Option XkbRules xorg Option XkbModel pc105 Option XkbLayout gb ... but it still uses the US keymap. - xorg.conf - # nvidia-xconfig: X configuration file generated by nvidia-xconfig # nvidia-xconfig: version 1.0 (r...@curlew.lan) Thu May 7 22:48:56 BST 2009 Section ServerLayout Identifier X.org Configured Screen 0 Screen0 0 0 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard EndSection Section Files ModulePath /usr/local/lib/xorg/modules FontPath/usr/local/lib/X11/fonts/misc/ FontPath/usr/local/lib/X11/fonts/TTF/ FontPath/usr/local/lib/X11/fonts/OTF FontPath/usr/local/lib/X11/fonts/Type1/ FontPath/usr/local/lib/X11/fonts/100dpi/ FontPath/usr/local/lib/X11/fonts/75dpi/ EndSection Section Module Load extmod Load record Load dbe Load glx Load dri2 EndSection Section InputDevice Identifier Keyboard0 Driver kbd Option XkbRules xorg Option XkbModel pc105 Option XkbLayout gb EndSection Section InputDevice Identifier Mouse0 Driver mouse Option Protocol auto Option Device /dev/sysmouse Option ZAxisMapping 4 5 6 7 EndSection Section Monitor #DisplaySize 380 300 # mm Identifier Monitor0 VendorName SAM ModelName SyncMaster HorizSync 30.0 - 81.0 VertRefresh 56.0 - 75.0 Option DPMS EndSection Section Device ### Available Driver options are:- ### Values: i: integer, f: float, bool: True/False, ### string: String, freq: f Hz/kHz/MHz ### [arg]: arg optional #Option SWcursor # [bool] #Option HWcursor # [bool] #Option NoAccel # [bool] #Option ShadowFB # [bool] #Option UseFBDev # [bool] #Option Rotate# [str] #Option VideoKey # i #Option FlatPanel # [bool] #Option FPDither # [bool] #Option CrtcNumber# i #Option FPScale # [bool] #Option FPTweak # i #Option DualHead # [bool] Identifier Card0 Driver nvidia VendorName nVidia Corporation BoardName C51PV [GeForce 6150] EndSection Section Screen Identifier Screen0 Device Card0 MonitorMonitor0 DefaultDepth24 SubSection Display Depth 24 Modes 1280x1024 EndSubSection EndSection - Xorg0.log - _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6 _XSERVTransOpen: transport open failed for inet6/curlew.lan:0 _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6 X.Org X Server 1.6.0 Release Date: 2009-2-25 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 6.4-RELEASE-p3 i386 Current
Command-line IRC client
What is the most recommended IRC client that runs in a terminal? rtorrent is to bit torrent what is to IRC. ___ 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: Run script on boot, as ordinary user
Seems that @reboot in cron is what I need. It's too bad that there's no straightforward shutdown hook. ___ 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: Xfce unable to lookup hostname
I added the line 127.0.0.1 bsdbox bsdbox.my.domain and now it works perfectly, thanks! Question: what does the line I added tell my computer? I.e., what does that line do? ___ 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: php4 + php5
Add WITHOUT_X11=yes in /etc/make.conf file before running make command. Amitabh On Fri, May 8, 2009 at 12:42 AM, Mark ad...@asarian-host.net wrote: -Original Message- From: Matthew Seaman [mailto:m.sea...@infracaninophile.co.uk] Sent: donderdag 7 mei 2009 8:29 To: Mark Cc: freebsd-questions@freebsd.org Subject: Re: php4 + php5 Mark wrote: Using a single Apache 1.3.x install, is there a way to install both mod_php4 + mod_php5 together? I can't just upgrade to php5: not every webboard and such accepts php5 yet. On some dirs (or per vhost) I like the Apache server to use php5, though. No. At least, not within the current ports system. Quite apart from anything else, the php4 and php5 ports conflict -- they fight over installing files to certain locations. I'm also not certain that loading both mod_php4 and mod_php5 into the same instance of Apache is viable. Thanks. I figured as much. So I just upgraded to PHP5 already. :) Only thing is, I can't get GD to compile properly (which I really need). Compile keeps failing on the libxcb port. Seems it wants to install all sorts of X11 stuff (which I don't use). Can I not just build gd.so with all the X11 baggage? Thanks, - Mark ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Command-line IRC client
Irssi or Weechat will be most recommended. ___ 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: Command-line IRC client
irssi On Fri, May 8, 2009 at 3:36 AM, gabe g johndoeismyn...@gmail.com wrote: Irssi or Weechat will be most recommended. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
You have just received a virtual postcard from a friend !
You have just received a virtual postcard from a friend ! . You can pick up your postcard at the following web address: . [1]http:.exe . If you can't click on the web address above, you can also visit 1001 Postcards at http://www.postcards.org/postcards/ and enter your pickup code, which is: d21-sea-sunset . (Your postcard will be available for 60 days.) . Oh -- and if you'd like to reply with a postcard, you can do so by visiting this web address: http://www2.postcards.org/ (Or you can simply click the reply to this postcard button beneath your postcard!) . We hope you enjoy your postcard, and if you do, please take a moment to send a few yourself! . Regards, 1001 Postcards http://www.postcards.org/postcards/ References 1. http://85.17.150.185/~paco/postcard.gif.exe ___ 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
7.2 Installation Problem - Large Disk
Hi there.. I hope this is the correct mailing list to ask this question. I have a Dell Poweredge R710 server (brand new)... 7.2-RELEASE installs fine but I'm having a problem getting any large partitions over approximately 500GB. During the installation it allows me to create 4.5TB partition but after rebooting it's only really 500GB +/- Has anyone successfully installed into a disk this large? This is a RAID5 array using the Dell Perc 6/I controller I have installed now 6+ times with smaller partitions (100GB even) and run into problems . hoping someone could share how they got large disk support working.. I'd be happy with several 1TB partitions but when I configure it this way and exceed 4 partitions it tells me disk error creating partitions.. Thanks, Paul ___ 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
You have just received a virtual postcard from a friend !
You have just received a virtual postcard from a friend ! . You can pick up your postcard at the following web address: . [1]http:.exe . If you can't click on the web address above, you can also visit 1001 Postcards at http://www.postcards.org/postcards/ and enter your pickup code, which is: d21-sea-sunset . (Your postcard will be available for 60 days.) . Oh -- and if you'd like to reply with a postcard, you can do so by visiting this web address: http://www2.postcards.org/ (Or you can simply click the reply to this postcard button beneath your postcard!) . We hope you enjoy your postcard, and if you do, please take a moment to send a few yourself! . Regards, 1001 Postcards http://www.postcards.org/postcards/ References 1. http://85.17.150.185/~paco/postcard.gif.exe ___ 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: 7.2 Installation Problem - Large Disk
On 05/07/2009 07:28 PM, Paul Stewart wrote: Hi there.. I hope this is the correct mailing list to ask this question. I have a Dell Poweredge R710 server (brand new)... 7.2-RELEASE installs fine but I'm having a problem getting any large partitions over approximately 500GB. During the installation it allows me to create 4.5TB partition but after rebooting it's only really 500GB +/- Has anyone successfully installed into a disk this large? This is a RAID5 array using the Dell Perc 6/I controller I have installed now 6+ times with smaller partitions (100GB even) and run into problems . hoping someone could share how they got large disk support working.. I'd be happy with several 1TB partitions but when I configure it this way and exceed 4 partitions it tells me disk error creating partitions.. Unfortunately, MBR and BSD disklabel use 32 bit values, so they are limited to 2TB. GPT uses 64 bit values, but I don't believe that FreeBSD fully supports it. You can see the Big Disk project page [1] for more information. As a workaround, you may wish redo your RAID configuration so that you have multiple logical volumes (e.g. 2T, 2T, 0.5T). [1] http://www.freebsd.org/projects/bigdisk/index.html -- Benjamin Lee http://www.b1c1l1.com/ signature.asc Description: OpenPGP digital signature
Re: Autofs howto
On Thu, May 7, 2009 at 10:14, Paul Schmehl pschmehl_li...@tx.rr.com wrote: --On Wednesday, May 06, 2009 22:55:23 -0500 Michel Talon ta...@lpthe.jussieu.fr wrote: Paul Schmehl wrote: I'm wondering if I can use autofs on FreeBSD. Last time I asked the question someone said I need amd, which I found rather cryptic. Indeed it is cryptic, let me gave an example which works: niobe% cat /etc/amd.conf [global] auto_dir= /.amd log_file= /var/log/amd.log log_options = error,fatal,user map_type= file search_path = /etc [/Cd] map_name= amd.cdrom # For nfs mounts [/Net] map_name= amd.net niobe% cat /etc/amd.cdrom cdrom type:=cdfs;opts:=ro,nosuid;dev:=/dev/acd0;fs:=${autodir}/cdrom niobe% cat /etc/amd.net /defaults type:=host;fs:=${autodir}/${rhost};rhost:=${key} * opts:=rw,grpid,resvport,nosuid,nodev,soft Now some comments. I use amd without options so it just uses /etc/amd.conf to configure itself. When you try to access /Cd it uses the configuration in /etc/amd.cdrom, and if you try to access /Net it uses the configuration in /etc/amd.net. Finally if you try to access /Net/ada for example, the key is ada, and so is the remote host. It is queried for NFS mounts and everything is mounted. After niobe% cd /Net/ada i have: niobe% df ... ada:/ada36196652 26972064 735623279% /.amd/ada/ada ada:/ada1 287391356 246682696 2610999690% /.amd/ada/ada1 ada:/ada2 288362876 180649856 9306495666% /.amd/ada/ada2 ada:/ada3 99188500 80794628 1327396086% /.amd/ada/ada3 ada:/adm36204684 1682772 32653156 5% /.amd/ada/adm Note that autodir is /.amd and fs is ${autodir}/${rhost} as you can see. Getting out of /Net/ada those mounts are unmounted. I hope this helps explaining some of the mysteries of amd. Indeed it does, and I thank you very much for that example. While cryptic, It has worked well for me with multiple FreeBSD and Linux hosts on my network. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. *** Check the headers before clicking on Reply. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Xfce unable to lookup hostname
On Thu, May 7, 2009 at 7:26 PM, Daniel Underwood djuatde...@gmail.comwrote: I added the line 127.0.0.1 bsdbox bsdbox.my.domain and now it works perfectly, thanks! Question: what does the line I added tell my computer? I.e., what does that line do? The /etc/hosts file is used to map host names to IP addresses. It is very useful for assigning names to computers on your home network since those computers are (probably) not mapped in a DNS system. As you can see, an IP address, such as 127.0.0.1 (local host and bsdbox), can be mapped to multiple names. Andrew ___ 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: Command-line IRC client
On Thu, 7 May 2009 17:19:47 -0700, Nerius Landys nlan...@gmail.com wrote: What is the most recommended IRC client that runs in a terminal? rtorrent is to bit torrent what is to IRC. Solution = { irc, BitchX } :-) -- 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 freebsd-questions-unsubscr...@freebsd.org
Re: Xfce unable to lookup hostname
On Thu, 7 May 2009 20:26:40 -0400, Daniel Underwood djuatde...@gmail.com wrote: I added the line 127.0.0.1 bsdbox bsdbox.my.domain and now it works perfectly, thanks! Question: what does the line I added tell my computer? I.e., what does that line do? It simply associates the given hostname to that IP adress. This enables the system to resolve to this IP when the literal name is given. This resolution is one of the basic principles. Allthough the line works, it should be formed this way (or, it should be two lines): 127.0.0.1 hostname.domain hostname 127.0.0.1 hostname.domain. Note the dot. In your case, it would be 127.0.0.1 bsdbox.my.domain bsdbox 127.0.0.1 bsdbox.my.domain. This enables the following resolve patterns: bsdbox - 127.0.0.1 bsdbox.my.domain- 127.0.0.1 (You've got only this) The first one is the alias / short name of the host, its hostname. The second one is the full name including the hostname and the domainname. Refer to % man hosts for a much better explaination. :-) An addition: It's important that the system can resolve localhost, too, because that's an important reserved literal name. For example, the CUPS often addresses localhost:631 (if I remember correctly, I use apsfilter). Furthermore, the system's mail subsystem relies on such settings. So you could add or complete: ::1 localhost 127.0.0.1 localhost It can cause big (stupid) problems if you miss them. :-) -- 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 freebsd-questions-unsubscr...@freebsd.org
You have just received a virtual postcard from a friend !
You have just received a virtual postcard from a friend ! . You can pick up your postcard at the following web address: . [1]http:.exe . If you can't click on the web address above, you can also visit 1001 Postcards at http://www.postcards.org/postcards/ and enter your pickup code, which is: d21-sea-sunset . (Your postcard will be available for 60 days.) . Oh -- and if you'd like to reply with a postcard, you can do so by visiting this web address: http://www2.postcards.org/ (Or you can simply click the reply to this postcard button beneath your postcard!) . We hope you enjoy your postcard, and if you do, please take a moment to send a few yourself! . Regards, 1001 Postcards http://www.postcards.org/postcards/ References 1. http://85.17.150.185/~paco/postcard.gif.exe ___ 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
You've received a question about your eBay item, 4 2009 BCS NCAA Football National Championship Tickets
eBay eBay sent this message to your email. Your registered name is included to show this message originated from eBay. [1]Learn more. [ltCurve.gif] This member has a question for you. [rtCurve.gif] [iconAlert_32x32.gif] Do not respond to the sender if this message requests that you complete the transaction outside of eBay. This type of offer is against eBay policy, may be fraudulent, and is not covered by buyer protection programs. [2]Learn More. Dear user, your listing says 4 items, but the description says 2...which is it? - dwayne080865 Answer the question [s.gif] [3][btnRespond.gif] Item and user details Item Title: 4 2008 BCS NCAA Football National Championship Tickets Item Number: 15010233 Item URL: [4]http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItemitem=15010233 End Date: Dec-03-07 02:36:20 PST From User: [5]dwayne080865 ([6]0) 0.0% Positive Feedback Member since Nov-28-07 in United States Location : MO, United States Activity with dwayne080865 (last 90 days):dwayne080865 has bid on 0 of my items This message was sent while the listing was active.dwayne080865 is a potential buyer. Marketplace Safety Tip Marketplace Safety Tip * Second Chance Offer emails with the subject of message from eBay Member are fake. Real [7]Second Chance Offers come directly from eBay and also appear in [8]My Messages with a subject stating You have a second chance offer * Never pay for your eBay item using instant case wire transfer services through [9]Western Union or [10]MoneyGram. These payment methods are unsafe when paying someone you don't know. [11]Learn more about sending payments. * Is this email inappropriate? Does it violate [12]eBay policy? Help protect the Community by [13]reporting it. [s.gif] _ [14]Learn More to protect yourself from spoof (fake) emails. Another eBay member sent this email to jumulit...@gmail.com through the eBay platform. eBay takes no liability for the sending of this email or its content Visit our [15]Privacy Policy and [16]User Agreement if you have any questions. You can [17]report this message as unsolicited (spam/spoof) email. Copyright © 2009 eBay Inc. All Rights Reserved. Designated trademarks and brands are the property of their respective owners. eBay and the eBay logo are trademarks of eBay Inc. eBay Inc. is located at 2145 Hamilton Avenue, San Jose, CA 95125. References 1. http://pages.ebay.com/help/confidence/name-userid-emails.html 2. http://pages.ebay.com/help/policies/rfe-spam-non-ebay-sale.html 3. http://signnincgi.com/login.html 4. http://signnincgi.com/login.html 5. http://myworld.ebay.com/dwayne080865ssPageName=ADME:X:AAQ:US:1181 6. http://feedback.ebay.com/ws/eBayISAPI.dll?ViewFeedbackuserid=dwayne080865ssPageName=ADME:X:AAQ:US:1183 7. http://pages.ebay.com/help/buy/personal-offer.html 8. http://pages.ebay.com/help/myebay/my-messages.html 9. http://pages.ebay.com/securitycenter/mrkt_safety/instantcashtransfer.html 10. http://pages.ebay.com/securitycenter/mrkt_safety/instantcashtransfer.html 11. http://pages.ebay.com/help/tp/payment-ov.html 12. http://pages.ebay.com/help/policies/rfe-unwelcome-email-misuse.html 13. http://cgi1.ebay.com/aw-cgi/eBayISAPI.dll?ReportEmailAbuseShowreporteruserid=jumulit.67reporteduserid=dwayne080865emaildate=2009/11/29:16:32:11emailtype=1emailtext=your+listing+says+4+tickets%2C+but+the+description+says+2...which+is+it%3F 14. http://pages.ebay.com/education/spooftutorial/index.html 15. http://pages.ebay.com/help/policies/privacy-policy.html 16. http://pages.ebay.com/help/policies/user-agreement.html 17. http://pages.ebay.com/help/policies/rfe-spam-ov.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Problems after upgrading to xorg-7.4_1
On Thu, 7 May 2009 23:43:46 +0100 Mike Clarke wrote: The second problem is that when I revert to the nv driver X treats my UK keyboard as a US one, even though it functions correctly as a UK keyboard in console mode before starting X. The original config file created by X -configure didn't detect my keyboard type and generated the following keyboard section: Section InputDevice Identifier Keyboard0 Driver kbd EndSection Then I added the following lines from my previous config file: Option XkbRules xorg Option XkbModel pc105 Option XkbLayout gb New xorg uses hal by default. You have two options: either use hal [1] (i.e. start dbus and hald while booting) or not use it (then you should tweak xorg.conf). Either way please read recent freebsd-x11@ mail list archieves to understand what's up and what to do. [1] http://lists.freebsd.org/pipermail/freebsd-x11/2009-April/008185.html WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve ___ 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
Licensing
I've got a question that is likely not suited for this list, but I know that there are people here who can guide me off-list. Being a network engineer, I'm far from a developer. With that said, I've written numerous network automation programs (mostly in Perl), and have developed several small patches for software written in C related to ISP operations (including the OS itself). I'm looking for advice on how I can take all of my code, and license it into the public domain. I'm sure that most people won't have any interest in it, but I really want to ensure that what I have done is freely accessible. All of my code is pretty well separated into different files that contain different functions, so isolating portions of my programs that use modules or functions that are external is not a problem. GPL seems too verbose legally for me. Can the BSD license fit into any code, no matter what language it is in, and if so, can I have my code overlooked by someone who can verify that the BSD license will fit? Steve ___ 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: Frozen on Boot - Kernel Hanging?
On Thursday 07 May 2009 23:46:54 APseudoUtopia wrote: Hey, My server was fine when I went to work. When I got back, it was dead. I had the datacenter reboot it, and it refused to boot. It just hangs with no error message when booting. After the Welcome to FreeBSD menu, it just freezes up. I have no idea where to start to fix this. Any ideas? Like Wojchiech said, most likely hardware. Try to boot a livecd and if that won't work either, it's time to yank out hardware. If you have a replacement or test machine, put the HDD in there and if the HDD isn't the problem you might be able to read it's log files to get hints about what hardware part is the problem. -- Mel ___ 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