PCI-express Programming
Hi, Where can I find information on writing device driver for PCI-express hardware on FreeBSD? Regards Ben Ultra Electronics Sonar and Communications Systems Birdport Road Greenford Middlesex UB6 8UA England Direct Line +44 (0)20 8813 4534 Switch Board +44 (0)20 8813 4567 Fax +44 (0)20 8813 4568 This e-mail from Ultra Electronics Limited and any attachments to it are confidential to the intended recipient and may also be privileged. If you have received it in error please notify the sender and delete it from your system. If you are not the intended recipient you must not copy it or use it for any purpose nor disclose or distribute its contents to any other person. All communications may be subject to interception or monitoring for operational and/or security purposes. Please rely on your own virus checking as the sender cannot accept any liability for any damage arising from any bug or virus infection. Ultra Electronics Limited is a company registered in England and Wales, registration number 2830644. The address of its registered office is 417 Bridport Road, Greenford, Middlesex, UB6 8UA. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Is qonk-0.3.1 port broken on 7?
Hi, Has anyone else got games/qonk installed on a machine running 7? For me it runs but I cant actually send any ships making the game a bit pointless. Just wanted to see if its just me before bothering the maintainer. Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: best way to run vista inside freebsd
On Wed, 24 Oct 2007 19:45:16 -0400 "Aryeh M. Friedman" <[EMAIL PROTECTED]> wrote: > Yes. Though you might get some strange situations depending on the > guest OS and emulated machine. cool >For example when emulating a x86_64 > running XP pro as the Guest OS I can ping/telnet the host OS but I can't > see it's Samba server even though every other machine on the subnet can > see it. this sounds more like a networking issue.. firewall ? what does tcpdump show, from inside the VM and from the host? cheers, B _ {Beto|Norberto|Numard} Meijome Never attribute to malice what can adequately be explained by incompetence. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Periodic.conf?
On October 24, 2007 at 09:50PM jekillen wrote: > The following was a response to a query I posted regarding how to > switch over to Postfix from SendMail: > > Also, there are some periodic things that are ran which are SendMail > specific that need to be disabled. That is done within /etc/periodic.conf as > such: > > daily_clean_hoststat_enable="NO" > daily_status_mail_rejects_enable="NO" > daily_status_include_submit_mailq="NO" > daily_submit_queuerun="NO" > > However, there is no periodic.conf on my system: > v6.2. There is a periodic directory with specific > subdirectories. One is 'daily' but I do not know > which one would have the above entries. Create the /etc/periodic.conf file and populate it with the correct information. > When I installed the OS, I had it include the > Postfix package when sysinstall queried for > package choices. > I want to set this machine up as a hub mail server > for four web sites on four separate machines that > are connected via inside network. I have not dealt > with e-mail related software in general and Postfix > or Sendmail specifically. Since I brought in Postfix > as a package, I am afraid of trying to install it from > Ports for complications, unless ports will account > for that. You could delete the package and then install it from ports. > There were also advices to place several entries > in rc.conf to disable SendMail. There are no entries > either for SendMail, not Postfix there to begin with > in rc.conf. You have to add them. Please read /usr/ports/mail/postfix/pkg-message for further details. That is the last stable version of Postfix, by the way. The beta version is under 'postix-current'. You should also check out: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail-changingmta.html for further details. > > In mailer.conf I was told it should look like this: > sendmail/usr/local/sbin/sendmail > send-mail /usr/local/sbin/sendmail > mailq /usr/local/sbin/sendmail > newaliases /usr/local/sbin/sendmail > > There were two other entries, hoststat and > purgstat. Should these be kept, modified > or eliminated? > If you install Postfix from the ports system, it will offer to make these modifications for you. See my above comment. -- Gerard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: hidden disk geometry on Compaq Presario V2000
Lorin Lund <[EMAIL PROTECTED]> wrote: > I have a Compaq Presario Notebook in the V2000 series. > I just replaced the hard drive because the original was getting > disk errors. > > I have a WD Scorpio 120 GB. When I try to load FreeBSD I get an > error message when I get to the partition the disk stage. It > says my disk geometry is wrong. It says I need to use whatever > numbers my BIOS uses. But my BIOS doesn't show the disk geometry > numbers anywhere I can see. How can I proceed? How can I find > out what disk geometry to use? One method, which I think may be mentioned in the Handbook, is to boot the Windows install CD (that presumably came with the Presario) and use its fdisk to create a small partition. You don't need to actually install Windows, just create a partition as if you were going to install it. Then boot the FreeBSD CD and sysinstall will figure out the geometry from the Windows master boot record. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Problem with xorg in PRERELEASE 7
I moved from 6.2-STABLE to 7.0 succesfully via src upgrade. I cannot start xorg X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 7.0-PRERELEASE i386 Current Operating System: FreeBSD sting.2ainfo.it 7.0-PRERELEASE FreeBSD 7.0-PRE RELEASE #1: Sat Oct 20 05:31:38 CEST 2007 [EMAIL PROTECTED]:/usr/obj/usr/ src/sys/STING i386 Build Date: 20 October 2007 09:56:00PM Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Thu Oct 25 10:35:33 2007 (EE) Unable to locate/open config file New driver is "mga" (==) Using default built-in configuration (55 lines) (EE) Failed to load module "fbdevhw" (module does not exist, 0) Fatal server error: Caught signal 8. Server aborting XIO: fatal IO error 53 (Software caused connection abort) on X server ":0.0" after 0 requests (0 known processed) with 0 events remaining. I cannot find in the driver section of ports fbdevhw module to install Any help greatly appreciated. Filippo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: user ppp and PPPoE bridging
On Thursday 25 October 2007 00:11:39 [EMAIL PROTECTED] wrote: > Oct 24 12:33:35 nightmare ppp[859]: tun0: Debug: deflink: PPPoE:ed1: > Cannot determine bandwidth > > I presume this is a result of the lost LQR packets. No, bandwidth isn't known to ppp. You can ignore this warning. There is no connection between LQR and bandwidth. > The above summary appears to indicate that line quality requests are > being transferred; so what's with the too many LQR packets lost message? Perhaps the peer does not accept LQR. Disable LQR. Disable echo as well. These settings provide some monitoring capabilities, but must be accepted by both peers. If for some reason(probably misconfiguration) these are not accepted by the other peer, things will not work... But, try disabling only LQR at first. > > Finally, > Where does the initial IP address used in the negotiation come from? > I did not specify specific IP address assignment, > yet the request appears to have asked for 12.32.36.65 > This is the IP of the other interface on the machine, > and my ppp.conf has no mention of it. It's not important. These IP addresses will be denied by the other peer during IPCP. The peer will then provide you an IP address and ppp will accept it. Hope this helps Nikos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Software Vulnerability Scanner
Hi all, I'm starting my career as a security analyst and I'd like to know if there are any vulnerability scanners -Blackbox or Whitebox- available for FreeBSD, in particular for Java applications. There are some softwares out there, e.g. HailStorm or SourceScope however most of them are commercial and AFAIK there are only Windoze versions. Any suggestion or pointer is highly appreciated. TIA, -- Bahman Movaqar The Moving Finger writes; and, having writ, Moves on: nor all your Piety nor Wit Shall lure it back to cancel half a Line, Nor all your Tears wash out a Word of it. -Khayyam ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
boot manager oddity (two IDE drives, two o/s)
I have two IDE drives (ad0 and ad1) on a Dell system that is running Windows XP on ad0 and FreeBSD 6.2 on ad1. Drive ad0 is 80 GB. Drive ad1 is 250 GB. When I installed FreeBSD onto ad1, I installed the FreeBSD boot manager onto both ad0 and ad1 disk drives. When the machine powers up from a cold start, I don't see the ad0 boot manager at all. I see the ad1 boot manager. It looks like this. F1 FreeBSD F5 Drive 0 and FreeBSD boots just fine if I select F1. I don't see the ad0 boot manager until I reboot FreeBSD and select F5 from the above "menu". Then I get this: F1 ??? F2 DOS F5 Drive 1 Hitting F5 gives me the expected: F1 FreeBSD F5 Drive 0 But, if I want to boot up Windows, I hit F2, and then Windows starts up. If I shut down Windows (restart), then I again see this: F1 ??? F2 DOS F5 Drive 1 But this time, when I hit F5 nothing happens!?!?!?! Here is the output of two boot0cfg(8) commands: freebsd% boot0cfg -v ad0 # flag start chs type end chs offset size 1 0x00 0: 1: 1 0xde 4:254:63 6380262 2 0x00 5: 0: 1 0x07 1023:254:6380325156151800 version=1.0 drive=0x80 mask=0xf ticks=182 options=nopacket,update,nosetdrv default_selection=F5 (Drive 1) freebsd% boot0cfg -v ad1 # flag start chs type end chs offset size 1 0x80 0: 1: 1 0xa5 1023:254:63 63524281212 version=1.0 drive=0x81 mask=0xf ticks=182 options=nopacket,update,nosetdrv default_selection=F1 (Slice 1) What I want to know is am I doing something wrong, or, am I not doing enough to configure (using the boot0cfg(8) command) the two boot managers (one on each drive)? BTW, the "???" slice above is the Windows recovery (or diagnostic?) slice, I believe. I have looked in the Handbook to no avail. Any ideas? Help! Regards, web... -- William Bulley Email: [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: Booting a GELI encrypted hard disk
Hi Pawel, Pawel Jakub Dawidek wrote: > Daniel Marsh wrote: > > Even if all data on a drive is encrypted, the partition table is not. > > Software based disk encryption works on partitions. > > That's not true. One can configure full disk encryption using GELI. To > do it you need to have a small USB pen-drive or CD-ROM with /boot/ > directory, but that's all you need. Then you actually boot from your > unencrypted pen-drive, but mount all file systems from encrypted disk. So far, so good ... > The pen-drive is not needed for your system to run and you can be easly > take it with you, which is not always the case for your laptop. Are you saying that the USB pen-drive can be removed while the system is running (after it has booted)? I remember that it was impossible in the past to remove the root vnode (which in this case would be the /boot file system from the pen-drive). Did that change recently? Or is there a way to change the system's root vnode from the pen-drive to the root file system on the encrypted disk? If so, then how? I'm just curious. The ability to change the root vnode would open several interesting possibilities, beside fully encrypted disks. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "One of the main causes of the fall of the Roman Empire was that, lacking zero, they had no way to indicate successful termination of their C programs." -- Robert Firth ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Live video streaming on FreeBSD?
Andreas Widerøe Andersen wrote: > Does any of these streaming solutions (encoders or servers) require me to > run a GUI on my FreeBSD boxes or can I simply run them like I always do: > command line only? mencoder and ffmpeg are command-line apps. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "A language that doesn't have everything is actually easier to program in than some that do." -- Dennis M. Ritchie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: USB->Serial adapter, how to make /dev/cuad* appear?
Benjamin Lutz wrote: > Roland Smith wrote: > > > > Looking at ucom(4): > > > > FILES > > /dev/cuaU? > > > > See if that exists. > > No such luck I'm afraid. There's only cuaU0, which belongs to the > onboard serial port too. No, cuaU0 belongs to the ucom(4) driver. It certainly does _not_ belong to the sio(4) driver. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "... there are two ways of constructing a software design: One way is to make it so simple that there are _obviously_ no deficiencies and the other way is to make it so complicated that there are no _obvious_ deficiencies."-- C.A.R. Hoare, ACM Turing Award Lecture, 1980 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
portmaster question
hi, i been using portmaster for a while when upgrading my ports, often times when there are some problems in certain ports, e.g. jdk, i will use "-x jdk" so i can deal with it later. but when there are two or more of them that need special attention, i cant find a way to do it right, i tried "-x A -x B", this seems only to register B as neglected; "-x A B" void B in neglect. can someone show me the way?? thanks!! TFC ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: multiple postgresql servers in multiple jails?
Oliver Peter wrote: > Oliver Fromme wrote: > > Oliver Peter wrote: > > > Does anybody have a running system with more than one jail hosting > > > more than one postgres server? > > > > Yes, you must configure them to use different port numbers, > > because the SysV IPC IDs are derived from the port number. > > If you try to run both servers with the default port, you'll > > get a conflict. Configure different port numbers, and it > > will work. > > Thanks for that hint. After changing the port numbers for each > instance to a different one, it works - but only at first glance. > After making some test creates and inserts to all servers at the same > time I receive the 'out of memory' messages again... > Different UIDs, different ports, same error. Can you please give the output from "ipcs -M" and "ipcs -p"? The latter shows the process IDs of the creator (CPID) and last user (LPID) of shared memory resources. You can look up the jails in which those processes are running, so to make sure that none of the resources was taken over by a different jail. The "jps" script could be useful: http://www.secnetix.de/~olli/scripts/jps By the way, "ipcs -bm" displays the shared memory segment sizes. > > By the way, the PostgreSQL developers do _not_ recommend to > > run multiple servers on the same machine, because of bad > > efficiency. It is much better (performance-wise) to run > > all databases within the same server engine. PostgreSQL > > has all the authentication and permission features you need > > to separate multiple databases within a single server, so > > there is really no need to use multiple jails. > > Of course I understand that. But I would like to setup a test server > in a different jail beside my production jail/pgsql-server to be sure > not to crash my production server. > Performance does not matter (at this time in this specific case of > course!). I see. In that case it is probably OK. > > I have these on a machine with a single PostgreSQL server, > > as per recommendations of the developers: > > > > options SHMMAXPGS=65536 > > options SEMMAP=1024 > > options SEMMNI=64 > > options SEMMNS=1024 > > options SEMUME=64 > > options SEMMNU=128 > > Is this a good recommendation for a machine with only 1GB of RAM? In fact, the above lines are from a machine with 256 MB RAM. For 1 GB you can probably double the number of shared memory pages (SHMMAXPGS value). The semaphore values (SEM*) should be sufficient in either case, I think. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "C is quirky, flawed, and an enormous success." -- Dennis M. Ritchie. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Software to print vouchers from large amount of txt data
Bill Campbell wrote: On Mon, Oct 22, 2007, simon butsana wrote: I am looking for a software that will read repetitive data from a text file and send it to a preformated fanfold paper (impact printer). The software must be customizable as to be told on which area of the paper to print a given field from the source text file. The data in the text file would thus be translated in a certain number of similar paper vouchers. Does anyone have an idea? I've been using nroff for this type of things for years. One can do very precise text location vertically and horizontally. Our accounting software prints invoices using groff, initially loading an image with .PSPIC, then overlaying it with the text. Just to second Bill's suggestion. I've done both labels and invoices with groff/troff with great success. The only issue is how accurately your printer will feed the paper so it may be better to be as generous as possible with margins around the printed data. (If this is fanfold paper, maybe it's a sprocket-type printer? In which case it's a question of how accurately the initial page is lined up when the paper is first inserted. You might want a pre-generated test page for when new paper is fed in). Once you know what your troff looks like, any scripting language should be able to turn the text file into troff and print it. Perl is probably the obvious one. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: portmaster question
On Thu, 2007-10-25 at 10:11 -0400, Tsu-Fan Cheng wrote: > hi, >i been using portmaster for a while when upgrading my ports, often > times when there are some problems in certain ports, e.g. jdk, i will > use "-x jdk" so i can deal with it later. but when there are two or > more of them that need special attention, i cant find a way to do it > right, i tried "-x A -x B", this seems only to register B as > neglected; "-x A B" void B in neglect. can someone show me the way?? > thanks!! > > TFC > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" >From man portmaster: [-m arguments for make] [-x glob pattern to exclude from building] -x avoid building ports as dependencies that match this pattern Sounds like it's implemented as a regular expression. Try looking up the regex syntax for the shell it's implemented in (which I think is bourne) and using a grouping expression. James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: hidden disk geometry on Compaq Presario V2000
On Thu, Oct 25, 2007 at 12:19:27AM -0700, [EMAIL PROTECTED] wrote: > Lorin Lund <[EMAIL PROTECTED]> wrote: > > > I have a Compaq Presario Notebook in the V2000 series. > > I just replaced the hard drive because the original was getting > > disk errors. > > > > I have a WD Scorpio 120 GB. When I try to load FreeBSD I get an > > error message when I get to the partition the disk stage. It > > says my disk geometry is wrong. It says I need to use whatever > > numbers my BIOS uses. But my BIOS doesn't show the disk geometry > > numbers anywhere I can see. How can I proceed? How can I find > > out what disk geometry to use? Is this just the usual whining it almost always does in fdisk? If so, try just ignoring it. I always get it putting out an error message that the settings will not work with the geometry but it always does. If it is something else, then this comment doesn't apply - but try just going ahead. jerry > > One method, which I think may be mentioned in the Handbook, is to > boot the Windows install CD (that presumably came with the Presario) > and use its fdisk to create a small partition. You don't need to > actually install Windows, just create a partition as if you were > going to install it. Then boot the FreeBSD CD and sysinstall will > figure out the geometry from the Windows master boot record. > ___ > 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: Mentor for C self study wanted
Harald Schmalzbauer wrote: > > #include > > void main() That's not a C program. :-) The return value of the main function of a valid C program must be int. And of course, your main function should end with "return 0;" or "exit(0);" (the latter requires "#include " at the top). By the way, I recommend you get a copy of the C standard and use it for reference. You can buy a digital copy (PDF) at http://webstore.ansi.org/ (Search for "9899-1999"), it's $30. Alternatively ask Google for "C99 draft" to get a free copy of a draft of the standard, which isn't very different from the final standard. You can also buy a hardcopy of the standard (i.e. a book), but it was ~ $300 last time I looked. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "When your hammer is C++, everything begins to look like a thumb." -- Steve Haflich, in comp.lang.c++ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
xorg/gnome slow on different network
hi all... i noticed that when i take my laptop to work and change the network settings in rc.conf before starting xorg after i do startx the whole xorg/gnome experience gets slowed down. first xorg takes it's time to start and then load gnome, window manager etc. and then all applications in gnome take about 30 - 60 seconds to start. when i get back home and change the rc.conf back to my home settings th xorg starts quickly and all the applications start at normal speed - 4 - 5 sec. can anybody explain please? thanks... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Booting a GELI encrypted hard disk
On Thu, Oct 25, 2007 at 03:53:34PM +0200, Oliver Fromme wrote: > > The pen-drive is not needed for your system to run and you can be easly > > take it with you, which is not always the case for your laptop. > > Are you saying that the USB pen-drive can be removed while > the system is running (after it has booted)? I remember > that it was impossible in the past to remove the root vnode > (which in this case would be the /boot file system from the > pen-drive). Did that change recently? Or is there a way > to change the system's root vnode from the pen-drive to the > root file system on the encrypted disk? If so, then how? The boot directory is different that root file system. /boot/ directory is only accessed by loader before root file system is mounted. The root file system can be mounted from encrypted disk, because loader loads the kernel (and eventually geom_eli.ko module) from the /boot/ directory. Most of the time /boot/ directory is on the root file system, but there is no need for that - you can boot from different /boot/ directory and have different /boot/ directory in your root file system. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgpb9gKin9aG5.pgp Description: PGP signature
Re: Mentor for C self study wanted
On Thu, Oct 25, 2007 at 05:02:00PM +0200, Oliver Fromme wrote: > Harald Schmalzbauer wrote: > > > > #include > > > > void main() > > That's not a C program. :-) > > The return value of the main function of a valid C program > must be int. And of course, your main function should > end with "return 0;" or "exit(0);" (the latter requires > "#include " at the top). > > By the way, I recommend you get a copy of the C standard > and use it for reference. You can buy a digital copy (PDF) > at http://webstore.ansi.org/ (Search for "9899-1999"), > it's $30. Alternatively ask Google for "C99 draft" to get > a free copy of a draft of the standard, which isn't very > different from the final standard. > > You can also buy a hardcopy of the standard (i.e. a book), > but it was ~ $300 last time I looked. That may be the price if you order a paper copy directly from ANSI/ISO, but the C standard has also been published as a regular book (ISBN 978-0-470-84573-8) which is not quite so expensive. For a beginner the standard itself is probably a bit too heavy-going. The book usually recommended is 'The C programming language, Second edition' by Kernighan and Ritchie. ( http://cm.bell-labs.com/cm/cs/cbook/ ) -- Erik Trulsson [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: Mentor for C self study wanted
In response to Oliver Fromme <[EMAIL PROTECTED]>: > Harald Schmalzbauer wrote: > > > > #include > > > > void main() > > That's not a C program. :-) > > The return value of the main function of a valid C program > must be int. And of course, your main function should > end with "return 0;" or "exit(0);" (the latter requires > "#include " at the top). > > By the way, I recommend you get a copy of the C standard > and use it for reference. You can buy a digital copy (PDF) > at http://webstore.ansi.org/ (Search for "9899-1999"), > it's $30. Alternatively ask Google for "C99 draft" to get > a free copy of a draft of the standard, which isn't very > different from the final standard. > > You can also buy a hardcopy of the standard (i.e. a book), > but it was ~ $300 last time I looked. If we're recommending books, I can't say enough good things about the Kernighan and Richie C book: http://www.amazon.com/C-Programming-Language-2nd/dp/0131103628/ref=pd_bbs_2/105-1904293-7155604?ie=UTF8&s=books&qid=1193326006&sr=1-2 -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: webconference softwares ?
shantanoo, Thanks for the site.. I have been looking for something like this for online classes.. Do you have any experience on dimdim..? Do you know something better for online learning..? Thanks Hakan http://dominor.com On 10/24/07, Shantanoo Mahajan <[EMAIL PROTECTED]> wrote: > > > On 24-Oct-07, at 8:46 PM, Frank Bonnet wrote: > > > Hello > > > > Anyone knows if such softwares ( webconference / webminars ) are > > availables in open source software world ? > > you may have a look at http://www.dimdim.com/ > > regards, > shantanoo > ___ > 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: USB->Serial adapter, how to make /dev/cuad* appear? [Solved]
I finally figured this out. Turns out the FreeBSD side of things worked from the start, and it was the hardware that was broken. A replacement adapter works like a charm. Oh and yes, Oliver, you're perfectly right, /dev/cuaU0 is indeed created by ucom. I was confused by the device having the creation date of when the system was booted, even though it was dynamically created a couple of days later. Thanks for all your help! Cheers Benjamin signature.asc Description: This is a digitally signed message part.
Re: Booting a GELI encrypted hard disk
Pawel Jakub Dawidek wrote: > On Thu, Oct 25, 2007 at 12:46:53AM +0800, Daniel Marsh wrote: >> Even if all data on a drive is encrypted, the partition table is not. >> Software based disk encryption works on partitions. > > That's not true. One can configure full disk encryption using GELI. To > do it you need to have a small USB pen-drive or CD-ROM with /boot/ > directory, but that's all you need. Then you actually boot from your > unencrypted pen-drive, but mount all file systems from encrypted disk. > The pen-drive is not needed for your system to run and you can be easly > take it with you, which is not always the case for your laptop. This is EXACTLY what I have now. Soon as the machine is booted, my thumb disk comes with me. The ONLY information on the thumb drive is /boot, a directory /keys and an /etc that has only an fstab (to mount the .eli partitions from the hard disk) and a loader.conf file to locate the keys. This was originally my objective and have got it in place. Now the machine is nearly upgraded to 7.0. Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Booting a GELI encrypted hard disk
Pawel Jakub Dawidek wrote: > On Thu, Oct 25, 2007 at 03:53:34PM +0200, Oliver Fromme wrote: > > Are you saying that the USB pen-drive can be removed while > > the system is running (after it has booted)? I remember > > that it was impossible in the past to remove the root vnode > > (which in this case would be the /boot file system from the > > pen-drive). Did that change recently? Or is there a way > > to change the system's root vnode from the pen-drive to the > > root file system on the encrypted disk? If so, then how? > > The boot directory is different that root file system. /boot/ directory > is only accessed by loader before root file system is mounted. Ah, right. I forgot that the /boot directory is only accessed by the boot blocks and loader(8) during boot, but not by the kernel, so it isn't actually mounted. Once the kernel mounts its root file system, it will be the "real" one from the encrypted disk. Thanks for clearing up my confusion. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "That's what I love about GUIs: They make simple tasks easier, and complex tasks impossible." -- John William Chambless ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Booting a GELI encrypted hard disk
> The ONLY information on the thumb drive is /boot, a directory /keys and > an /etc that has only an fstab (to mount the .eli partitions from the > hard disk) and a loader.conf file to locate the keys. My bad, my bad. loader.conf is located under /boot of course. Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Booting a GELI encrypted hard disk
> > The boot directory is different that root file system. /boot/ directory > > is only accessed by loader before root file system is mounted. > > Ah, right. I forgot that the /boot directory is only > accessed by the boot blocks and loader(8) during boot, > but not by the kernel, so it isn't actually mounted. > Once the kernel mounts its root file system, it will > be the "real" one from the encrypted disk. I don't know if this is absolutely true. I haven't tried it yet, but I don't think that /boot on the encrypted disk is necessary. I will rename the directory and reboot and see if it barfs. On the same track, upgrading this system has been easy so far. I do a build/install kernel into /boot on the encrypted disk, then simply copy the /boot/kernel directory over to the thumb drives /boot directory. However, making a mistake such as building and installing the wrong kernel config without crypto and GEOM_ELI leads to all sorts of problems. Relatively easy to recover from, but a waste of time to track down (I posted about this to -stable this AM). Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Mentor for C self study wanted
Erik Trulsson wrote: > Oliver Fromme wrote: > > By the way, I recommend you get a copy of the C standard > > and use it for reference. You can buy a digital copy (PDF) > > at http://webstore.ansi.org/ (Search for "9899-1999"), > > it's $30. Alternatively ask Google for "C99 draft" to get > > a free copy of a draft of the standard, which isn't very > > different from the final standard. > > > > You can also buy a hardcopy of the standard (i.e. a book), > > but it was ~ $300 last time I looked. > > That may be the price if you order a paper copy directly from ANSI/ISO, Yes. > but the C standard has also been published as a regular book > (ISBN 978-0-470-84573-8) which is not quite so expensive. OK, I didn't know about that one. Personally I chose to order the PDF copy (which was $15 a few years ago, IIRC, now it's $30) after working for some time with the free draft. > For a beginner the standard itself is probably a bit too heavy-going. Right, it's certainly not suitable as a tutorial or as an introduction for a beginner. But it's useful as a reference when you need to know the official details about a certain part of the language (e.g. where do sequence points occur, exactly?). > The book usually recommended is 'The C programming language, Second edition' > by Kernighan and Ritchie. ( http://cm.bell-labs.com/cm/cs/cbook/ ) Absolutely. (I just didn't mention it before because obviously Harald already has a beginner's book on the C programming language.) Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "Documentation is like sex; when it's good, it's very, very good, and when it's bad, it's better than nothing." -- Dick Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Booting a GELI encrypted hard disk
Steve Bertrand wrote: > I haven't tried it yet, but I don't think that /boot on the encrypted > disk is necessary. I will rename the directory and reboot and see if it > barfs. It shouldn't be necessary. Once the kernel is loaded, the system never looks at /boot again. Unless, of course, you want to load a kernel module. Those are located in /boot/kernel by default, but you can change the if needed (see sysctl kern.module_path). Also, some system utilities that use KVM functions (vmstat, top, ps) might require access to the kernel file. But that can be changed, too: sysctl kern.bootfile. Other than that, the /boot directory isn't used at all during normal operation. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "The scanf() function is a large and complex beast that often does something almost but not quite entirely unlike what you desired." -- Chris Torek ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 7.0 and 6.3
On Wed, Oct 24, 2007 at 11:00:37AM +0100, Vince wrote: > Kris Kennaway wrote: > > David J Brooks wrote: > >> Bill Moran wrote: > >>> Note also that a ports freeze is starting soon for 7.0 and 6.3 release. > >> > >> What are the differences between 6.3 and 7.0? Which should be > >> considered the standard upgrade path from 6.2 release? Is there a > >> compelling reason to upgrade to one over the other? > > > > 7.0 is the recommended choice; 6.3 is only for people who cannot update > > to the new branch yet. > > > > http://people.freebsd.org/~kris/scaling/7.0%20Preview.pdf > > I just got a chance to read through this.WOW! I am impressed! jerry > > Great presentation! Is this linked to from anywhere on the FreeBSD site > or the wiki? It definitely deserves more widespread distribution. > > Vince > > > Kris > > > ___ > 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: portmaster question
On Thu, 25 Oct 2007 08:50:10 -0600 James <[EMAIL PROTECTED]> wrote: > On Thu, 2007-10-25 at 10:11 -0400, Tsu-Fan Cheng wrote: > > > hi, > >i been using portmaster for a while when upgrading my ports, > > often times when there are some problems in certain ports, e.g. > > jdk, i will use "-x jdk" so i can deal with it later. but when > > there are two or more of them that need special attention, i cant > > find a way to do it right, i tried "-x A -x B", this seems only to > > register B as neglected; "-x A B" void B in neglect. can someone > > show me the way?? thanks!! > > > >From man portmaster: > > [-m arguments for make] [-x glob pattern to exclude from > building] -x avoid building ports as dependencies that match this > pattern > > Sounds like it's implemented as a regular expression. Try looking up > the regex syntax for the shell it's implemented in (which I think is > bourne) and using a grouping expression. It's a glob, not a regular expression. I don't think it can be done except by an unreliable cludge like "[ge][if][mo][px]" which matches gimp and firefox. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Sendmail error mesage
The output of my crontabs seem to be getting deferred. My nightly backups are run out of operator's crontab. The crontab has: MAILTO [EMAIL PROTECTED] I see this error message in the maillogs: Oct 25 10:53:56 admin sm-mta[97771]: l9MJH0ZG068875: to=<[EMAIL PROTECTED]>, ctladdr=<[EMAIL PROTECTED] ship.org> (2/5), delay=2+21:36:56, xdelay=00:00:01, mailer=esmtp, pri=12901052, relay=mail.globalharvest.org. [74.52.23 7.48], dsn=4.3.0, stat=Deferred: 451 Could not complete sender verify callout What does "451 Could not complete sender verify callout" mean ? Thanks Chris Kottaridis ([EMAIL PROTECTED]) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Sendmail and SMTP AUTH, I need a hand
Hi, I tried to activate the SMTP AUTH in Sendmail following the steps of the man page (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-auth.html). Everythigns was ok, but... If on the client (Outlook Express or MS Outlook) is activated "My server requires authentication" the SMTP AUTH occurs and the mail is sent but if this option is disabled the mail is sent too. These are only the new settings on freebsd.mc define(`SMART_HOST', `smtp.domain.com') define(`confMAX_MESSAGE_SIZE', `6291456')dnl define(`confAUTH_OPTIONS', `A')dnl TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl define(`confLOG_LEVEL', `14')dnl access file: blue.domain.com RELAY telnet to Sendmail: --- 220 mail.blue.domain.com ESMTP Sendmail 8.13.8/8.13.8; Thu, 25 Oct 2007 13:00:51 -0400 ( CDT) ehlo blue.domain.com 250-mail.blue.domain.com Hello sistemas1.blue.domain.com [10.10.3.16], pleased to meet you 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-8BITMIME 250-SIZE 6291456 250-DSN 250-ETRN 250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN 250-DELIVERBY 250 HELP auth login 334 VXNlcm5hbWU6 ZWZyZW5iYQ== 334 UGFzc3dvcmQ6 bWVybHV6YTIwMDU= 235 2.0.0 OK Authenticated Username and passwd was encoded thanks to that page: http://makcoder.sourceforge.net/demo/base64.php Checking sasl into Sendmail: # /usr/sbin/sendmail -d0.1 -bt < /dev/null Version 8.13.8 Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PIPELINING SASLv2 SCANF STARTTLS TCPWRAPPERS USERDB XDEBUG What do I miss in Sendmail to force the clients to use SMTP AUTH? Thanks in advance... Sé un Mejor Amante del Cine ¿Quieres saber cómo? ¡Deja que otras personas te ayuden! http://advision.webevents.yahoo.com/reto/entretenimiento.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: xorg/gnome slow on different network
On Thu, 25 Oct 2007, kalin mintchev wrote: i noticed that when i take my laptop to work and change the network settings in rc.conf before starting xorg after i do startx the whole xorg/gnome experience gets slowed down. first xorg takes it's time to start and then load gnome, window manager etc. and then all applications in gnome take about 30 - 60 seconds to start. when i get back home and change the rc.conf back to my home settings th xorg starts quickly and all the applications start at normal speed - 4 - 5 sec. "If it's slow but should be fast, the first thing to suspect is DNS." (Me, trying to come up with general FreeBSD debugging rules.) Are you using DHCP or remembering to change your DNS servers in /etc/resolv.conf for the work network? Of course, it might be something other than DNS. But long timeouts are often a sign of DNS problems. -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Booting a GELI encrypted hard disk
Oliver Fromme wrote: > Steve Bertrand wrote: > > I haven't tried it yet, but I don't think that /boot on the encrypted > > disk is necessary. I will rename the directory and reboot and see if it > > barfs. > > It shouldn't be necessary. Once the kernel is loaded, the > system never looks at /boot again. > > Unless, of course, you want to load a kernel module. Those > are located in /boot/kernel by default, but you can change > the if needed (see sysctl kern.module_path). > > Also, some system utilities that use KVM functions (vmstat, > top, ps) might require access to the kernel file. But that > can be changed, too: sysctl kern.bootfile. > > Other than that, the /boot directory isn't used at all > during normal operation. This is correct, I tested it. Also, this system (with GEOM_ELI built into kernel) successfully upgraded from 6.2 to 7.0 with ULE scheduler enabled with no problems at all. Cheers! Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Mentor for C self study wanted
On Thu, 25 Oct 2007 17:22:11 +0200 Erik Trulsson <[EMAIL PROTECTED]> wrote: > For a beginner the standard itself is probably a bit too heavy-going. > The book usually recommended is 'The C programming language, Second > edition' by Kernighan and Ritchie. > ( http://cm.bell-labs.com/cm/cs/cbook/ ) Yes, that's the *definitive* book! Add to it "The C Answer Book" by Tondo/Gimpel (title in german: "Das C Loesungsbuch"), with goes along with K&R 2nd Ed. and you have everything you need. -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 "[EMAIL PROTECTED]"
Re: Mentor for C self study wanted
> Absolutely. (I just didn't mention it before because > obviously Harald already has a beginner's book on the > C programming language.) > Herald does in fact have one that sucks (it does a terrible job on type sizes for example [doesn't mention that they may very on different machines])... since he is paying me a small amount to help him in detail I am going to recommend K&R to him (with the caution is is meant for experienced programmers) -- Aryeh M. Friedman FloSoft Systems Developer, not Business, Friendly http://www.flosoft-systems.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: xorg/gnome slow on different network
On 2007-10-25 kalin mintchev wrote: > > hi all... > > i noticed that when i take my laptop to work and change the network > settings in rc.conf before starting xorg after i do startx the whole > xorg/gnome experience gets slowed down. first xorg takes it's time to > start and then load gnome, window manager etc. > and then all applications in gnome take about 30 - 60 seconds to > start. when i get back home and change the rc.conf back to my home > settings th xorg starts quickly and all the applications start at > normal speed - 4 - 5 sec. > Just a wild guess but it could be a (D/DoS) worm active on that network. -- Bahman Movaqar If there are no known vulnerabilities, the system must be secure. If there is a vulnerability, then once it's fixed, the system is again secure. How anyone comes to this presumption is a mystery to me. -Bruce Schneier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Mentor for C self study wanted
On 2007-10-25 Bill Moran wrote: > In response to Oliver Fromme <[EMAIL PROTECTED]>: > > > Harald Schmalzbauer wrote: > > > > > > #include > > > > > > void main() > > > > That's not a C program. :-) > > > > The return value of the main function of a valid C program > > must be int. And of course, your main function should > > end with "return 0;" or "exit(0);" (the latter requires > > "#include " at the top). > > > > By the way, I recommend you get a copy of the C standard > > and use it for reference. You can buy a digital copy (PDF) > > at http://webstore.ansi.org/ (Search for "9899-1999"), > > it's $30. Alternatively ask Google for "C99 draft" to get > > a free copy of a draft of the standard, which isn't very > > different from the final standard. > > > > You can also buy a hardcopy of the standard (i.e. a book), > > but it was ~ $300 last time I looked. > > If we're recommending books, I can't say enough good things > about the Kernighan and Richie C book: > http://www.amazon.com/C-Programming-Language-2nd/dp/0131103628/ref=pd_bbs_2/105-1904293-7155604?ie=UTF8&s=books&qid=1193326006&sr=1-2 > No doubt the most valuable book on programming I've ever read. Not only it teaches programming but also a style of thinking and designing. -- Bahman Movaqar You can't write poems about trees when the woods are full of policemen. -Bertolt Brecht ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
libXcom1 stopping updates
I have a FreeBSD 6.0-RELEASE server which is refusling to update ports. I can do a cvsupdate for updated/new ports just fine. However, in the past few months, freeBSD downloads but refuses to actually update. I cannot get portupgrade or pkgdb -F to run. This is an old Dell PII and it runs our mailing lists. Here'r the error message. libXcompo.1: Not in due form: - Brian Beaver: Distance Learning Coordinator DeQueen-Mena Educational Cooperative 870.386.2251 FAX: 870.386.7731 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Via C7 Processor (CPU) - cpufreq and make.conf support
On 10/24/07, Erik Trulsson <[EMAIL PROTECTED]> wrote: > On Wed, Oct 24, 2007 at 03:02:21PM -0600, Ross Penner wrote: > > On 10/24/07, Roland Smith <[EMAIL PROTECTED]> wrote: > > > On Wed, Oct 24, 2007 at 02:25:11PM -0600, Ross Penner wrote: > > > > > What does 'sysctl dev.cpu.0.freq_levels' report? It should list the > > > > > available CPU frequencies. > > > > > > > > > I get: > > > > dev.cpu.0.freq_levels: 397/-1 198/-1 > > > > > > > > Is this something I should be reporting to stable? It's not explicitly > > > > mentioned in the hardware notes so I'm not sure if my processor is > > > > actually supported in 6.2. Is it possible that I've been shipped the > > > > wrong processor? If so, how would I be able to tell short of ripping > > > > off the giant heatsink and looking? > > > > > > Have a look at the dmesg output with 'dmesg |head -n 24'. There should > > > be some info about the CPU in there. Post those lines here. > > > > Lines from dmesg: > > > > Timecounter "i8254" frequency 1193182 Hz quality 0 > > CPU: VIA C7 Esther+RNG+AES+AES-CTR+SHA1+SHA256+RSA (399.40-MHz 686-class > CPU) > > Origin = "CentaurHauls" Id = 0x6a9 Stepping = 9 > > > Features=0xa7c9bbff > > Features2=0x181 > > > > It clearly indicates that it's a 400MHz processor, but the timecounter > > makes me think it' the 1.2 GHz it's supposed to be. > > The 'i8254' timecounter is completely independent of the CPU, and the 'Hz' > value associated with it has nothing to do with the clock frequency of the > CPU. > > > > > > > And have a look at the bios. It could have some settings to regulate the > > > CPU speed. > > > > The BIOS didn't seem to have anything to adjust the CPU speed, but > > while booting I did notice that it declared itself as a via C7 400MHz > > processor. > > It sounds like the CPU actually is running at 400MHz then. > Either that or both the BIOS and FreeBSD misidentifes the CPU speed. > > It could be that the BIOS do not set up the processor correctly. > Are you sure there are no BIOS settings related to the CPU speed? > Have you tried updating the BIOS? I'm not sure that there are no settings, but I'm pretty confident. The system is an VIA Epia EN12000E Mini-ITX so I'd be quite surprised if the BIOS didn't set up the processor correctly. regardless, I upgraded the bios to no avail. I'm going to the via support boards to see if somebody there can help. thank you everybody for your help and I'll post any results. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 7.0 and 6.3
Kris Kennaway wrote: David J Brooks wrote: Bill Moran wrote: Note also that a ports freeze is starting soon for 7.0 and 6.3 release. What are the differences between 6.3 and 7.0? Which should be considered the standard upgrade path from 6.2 release? Is there a compelling reason to upgrade to one over the other? 7.0 is the recommended choice; 6.3 is only for people who cannot update to the new branch yet. http://people.freebsd.org/~kris/scaling/7.0%20Preview.pdf Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" Fascinating! I have to ask, is there a straightforward upgrad path from 6.2 to 7.0, or is it largely going to be a matter of "back up, blow it away, and install cleanly before restoring data?" -- Jay Chandler / KB1JWQ Living Legend / Systems Exorcist Today's Excuse: Melting hard drives ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: xorg/gnome slow on different network
Bahman M. wrote: On 2007-10-25 kalin mintchev wrote: hi all... i noticed that when i take my laptop to work and change the network settings in rc.conf before starting xorg after i do startx the whole xorg/gnome experience gets slowed down. first xorg takes it's time to start and then load gnome, window manager etc. and then all applications in gnome take about 30 - 60 seconds to start. when i get back home and change the rc.conf back to my home settings th xorg starts quickly and all the applications start at normal speed - 4 - 5 sec. Just a wild guess but it could be a (D/DoS) worm active on that network. Not likely, but you could do a tcpdump and see what the relative traffic on both networks is... I think DNS is a likelier fix. A lot of things depend upon it working correctly. -- Jay Chandler / KB1JWQ Living Legend / Systems Exorcist Today's Excuse: Melting hard drives ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
TreeList failed: Error in "/var/db/sup/ports-all/checkouts.cvs:
Hi there, I keep receiving the same TreeList failure. Any clues what I can do to fix it so I can cvsup the entire ports tree Cheers, Noah access1# /usr/local/bin/cvsup -g -L 2 /usr/share/examples/cvsup/ports-supfile.access1 Parsing supfile "/usr/share/examples/cvsup/ports-supfile.access1" Connecting to cvsup10.FreeBSD.org Connected to cvsup10.FreeBSD.org Server software version: SNAP_16_1h Negotiating file attribute support Exchanging collection information Establishing multiplexed-mode data connection Running Updating collection ports-all/cvs Edit ports/audio/gimmix/Makefile Add delta 1.3 2007.10.25.20.12.16 pav Edit ports/audio/gimmix/distinfo Add delta 1.2 2007.10.25.20.12.16 pav Edit ports/databases/xapian-core/Makefile Add delta 1.12 2007.10.25.19.59.22 thierry Edit ports/databases/xapian-core/distinfo Add delta 1.10 2007.10.25.19.59.22 thierry Edit ports/databases/xapian-core/pkg-plist Add delta 1.10 2007.10.25.19.59.22 thierry Edit ports/deskutils/pinot/Makefile Add delta 1.20 2007.10.25.19.59.29 thierry Edit ports/deskutils/recoll/Makefile Add delta 1.23 2007.10.25.19.59.27 thierry TreeList failed: Error in "/var/db/sup/ports-all/checkouts.cvs:.": 44453: File is truncated. Delete it and try again. access1# rm /var/db/sup/ports-all/checkouts.cvs rm: /var/db/sup/ports-all/checkouts.cvs: No such file or directory ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: easiest way to install CPAN on FreeBSD
___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" I don't install CPAN on FreeBSD. I use the ports and packages from http://www.freebsd.org/ports Do a search for the module that you require P5- means it is a perl module also you can use the ports collection for PHP modules as well. This will automatically install any other dependent modules. Hope this helps Thanks Sean, it does help indeed. But I have installed some perl modules via CPAN. What is the best way to list them and uninstall them so I can install them via the the ports method? Cheers, Noah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: easiest way to install CPAN on FreeBSD
___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" I don't install CPAN on FreeBSD. I use the ports and packages from http://www.freebsd.org/ports Do a search for the module that you require P5- means it is a perl module also you can use the ports collection for PHP modules as well. This will automatically install any other dependent modules. Hope this helps Thanks Sean, it does help indeed. But I have installed some perl modules via CPAN. What is the best way to list them and uninstall them so I can install them via the the ports method? Cheers, Noah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
TreeList failed: Error in "/var/db/sup/ports-all/checkouts.cvs:
Hi there, I keep receiving the same TreeList failure. Any clues what I can do to fix it so I can cvsup the entire ports tree Cheers, Noah access1# /usr/local/bin/cvsup -g -L 2 /usr/share/examples/cvsup/ports-supfile.access1 Parsing supfile "/usr/share/examples/cvsup/ports-supfile.access1" Connecting to cvsup10.FreeBSD.org Connected to cvsup10.FreeBSD.org Server software version: SNAP_16_1h Negotiating file attribute support Exchanging collection information Establishing multiplexed-mode data connection Running Updating collection ports-all/cvs Edit ports/audio/gimmix/Makefile Add delta 1.3 2007.10.25.20.12.16 pav Edit ports/audio/gimmix/distinfo Add delta 1.2 2007.10.25.20.12.16 pav Edit ports/databases/xapian-core/Makefile Add delta 1.12 2007.10.25.19.59.22 thierry Edit ports/databases/xapian-core/distinfo Add delta 1.10 2007.10.25.19.59.22 thierry Edit ports/databases/xapian-core/pkg-plist Add delta 1.10 2007.10.25.19.59.22 thierry Edit ports/deskutils/pinot/Makefile Add delta 1.20 2007.10.25.19.59.29 thierry Edit ports/deskutils/recoll/Makefile Add delta 1.23 2007.10.25.19.59.27 thierry TreeList failed: Error in "/var/db/sup/ports-all/checkouts.cvs:.": 44453: File is truncated. Delete it and try again. access1# rm /var/db/sup/ports-all/checkouts.cvs rm: /var/db/sup/ports-all/checkouts.cvs: No such file or directory ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Mentor for C self study wanted
Am Donnerstag, 25. Oktober 2007 20:22:26 schrieb Aryeh M. Friedman: > > Absolutely. (I just didn't mention it before because > > obviously Harald already has a beginner's book on the > > C programming language.) > > Herald does in fact have one that sucks (it does a terrible job on type > sizes for example [doesn't mention that they may very on different Well, probably it's not that bad. First, thanks to all for your help. K&R has been laying arround here for at least 2 years. I hated it. It instructs me to use functions like printf without explaining it, and the examples are not really motivating. So every time I tried to write something on my own I was stoped by the simple printf, for example. I'm sure it's a very good book as a reference, but it couldn't motivate me as a real C beginner (not a bloody programming beginner though). So I bought two new books, the first, which I've started with, is "Markt+Technik, jetzt lerne ich C" (ISBN-13 978-3-8272-4210-5). Indeed, it hasn't made clear that short and int are different, they just explained short and long (and double long) and I thought short is a synonym for int. But it explains in some short sentences the most important behaviour/requirements for the functions we use. It still leaves me alone when it comes to compilers, but after only three evenings so far I think that I made real progress. Writing a simple practice just works :) And I already know that float x; x=10/3 is 3 not 3.. I can't remember reading that in the K&R in the first quarter of the book. I'm still quiet happy with it. The next book is O'Reillys C in a nutshell (ISBN 3-89721-344-3). I'll open it if I have structs and pointers practiced... And of course I'll "replay" the K&R if I have some more basics. Thanks, -Harry > machines])... since he is paying me a small amount to help him in detail > I am going to recommend K&R to him (with the caution is is meant for > experienced programmers) -- OmniSEC - UNIX und Windows Netzwerke - Sicher Harald Schmalzbauer Flintsbacher Str. 3 80686 München +49 (0) 89 18947781 +49 (0) 160 93860101 USt-IdNr.: DE253184753 signature.asc Description: This is a digitally signed message part.
Re: 7.0 and 6.3
Jay Chandler wrote: Kris Kennaway wrote: David J Brooks wrote: Bill Moran wrote: Note also that a ports freeze is starting soon for 7.0 and 6.3 release. What are the differences between 6.3 and 7.0? Which should be considered the standard upgrade path from 6.2 release? Is there a compelling reason to upgrade to one over the other? 7.0 is the recommended choice; 6.3 is only for people who cannot update to the new branch yet. http://people.freebsd.org/~kris/scaling/7.0%20Preview.pdf Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" Fascinating! I have to ask, is there a straightforward upgrad path from 6.2 to 7.0, or is it largely going to be a matter of "back up, blow it away, and install cleanly before restoring data?" It should be completely straightforward. The only thing to remember is (as with every upgrade between different branches) is to rebuild all of your installed ports so you don't cause problems with subsequent port upgrades. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Windows SSH client?
* Eric F Crist <[EMAIL PROTECTED]> [2007-10-24 14:12:59 -0500]: > I'm looking for a good, free, SSH client that has line/column numbers > at the bottom, similar to SecureCRT. I'm curious as to why you need the line/column numbers displayed for your terminal in an SSH client? That seems to me a completely unrelated function. Most editors (Vi, Emacs, etc.) will give you that info, but can you explain why need it as necessary component for an SSH client? Thomas -- N.J. Thomas [EMAIL PROTECTED] Etiamsi occiderit me, in ipso sperabo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: xorg/gnome slow on different network
> On 2007-10-25 kalin mintchev wrote: >> >> hi all... >> >> i noticed that when i take my laptop to work and change the network >> settings in rc.conf before starting xorg after i do startx the whole >> xorg/gnome experience gets slowed down. first xorg takes it's time to >> start and then load gnome, window manager etc. >> and then all applications in gnome take about 30 - 60 seconds to >> start. when i get back home and change the rc.conf back to my home >> settings th xorg starts quickly and all the applications start at >> normal speed - 4 - 5 sec. >> > Just a wild guess but it could be a (D/DoS) worm active on that network. it's not the network. it's the system itself... talking about start up times of xorg/gnome nothing to do with the network... > > -- > Bahman Movaqar > > If there are no known vulnerabilities, the system must be secure. If > there is a vulnerability, then once it's fixed, the system is again > secure. How anyone comes to this presumption is a mystery to me. > -Bruce Schneier > ___ > 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: OpenLDAP 2.3/pam_ldap/nss_ldap: not working in FreeBSD 7.0-PRE!
On Sun, 21.10.2007 at 18:26:55 +0200, O. Hartmann wrote: > At this point it seems senseless to try out what's going wrong and I need > some hints or tipps. I read about others successfully running OpenLDAP on > FBSD 6 and 5, but no one seems running OpenLDAP based services on FBSD 7. I do. It's working just fine ... > P.S. If someone wants me to offer config details and/or log excerpts, please > contact me. Well, we/I would need your ldap.conf, nss_ldap.conf (should be a link to ldap.conf) and slapd.conf, as well as pam.d stuff and nsswitch.conf. Some actual error messages would be fine too. Your should run tcpdump in some window to actuall see what's going on. It also helps to turn on massive debugging in slapd.conf and tail(1)ing /var/log/debug.log I'm running the following versions on 7-CURRENT from 30. September nss_ldap-1.256 openldap-sasl-client-2.3.38 openldap-server-2.3.38 pam_ldap-1.8.2 Cheers, Ulrich Spoerlein -- It is better to remain silent and be thought a fool, than to speak, and remove all doubt. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: xorg/gnome slow on different network
On 2007-10-25 kalin mintchev wrote: > > On 2007-10-25 kalin mintchev wrote: > >> > >> hi all... > >> > >> i noticed that when i take my laptop to work and change the network > >> settings in rc.conf before starting xorg after i do startx the > >> whole xorg/gnome experience gets slowed down. first xorg takes > >> it's time to start and then load gnome, window manager etc. > >> and then all applications in gnome take about 30 - 60 seconds to > >> start. when i get back home and change the rc.conf back to my home > >> settings th xorg starts quickly and all the applications start at > >> normal speed - 4 - 5 sec. > >> > > Just a wild guess but it could be a (D/DoS) worm active on that > > network. > > it's not the network. it's the system itself... > talking about start up times of xorg/gnome nothing to do > with the network... > If the system is busy with storming network packets the overall performance will decrease. -- Bahman Movaqar Strange, is it not? that of the myriads who Before us pass'd the door of Darkness through, Not one returns to tell us of the Road, Which to discover we must travel too. -Khayyam ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Sendmail error mesage
> What does "451 Could not complete sender verify callout" mean ? I have seen this before when a mail server is trying to send email from itself but does not listen on port 25. Do you have an SMTP server running on port 25 that at least the localhost can reach? Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Sendmail and SMTP AUTH, I need a hand
> Hi, > > > I tried to activate the SMTP AUTH in Sendmail > following the steps of the man page > (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-auth. > html). > > Everythigns was ok, but... > > > If on the client (Outlook Express or MS Outlook) > is activated "My server requires authentication" the SMTP AUTH occurs > and the mail is sent but if this option is disabled the mail is sent > too. I can't really help on the config side of things, but: Are all of your clients under the domain you have listed in the access file? That essentially (AFAIR) means allow anyone sending from this domain to relay through me, no matter what, which (again AFAIR) means that any domain listed in that file can relay through you, even if I slap your domain into my mail client on my own IP address (please correct if wrong). If this is the case, remove the domain from access, and if it's in relaydomains, remove it from there too. After it's removed from access, do this: # cd /etc/mail # makemap hash access < access I don't think you have to restart sendmail, but I can't remember. You should be able to eliminate all entries from both files after AUTH is enabled (again, AFAIR. I haven't used sendmail other than for system messages for a long time). Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Windows SSH client?
N.J. Thomas wrote: * Eric F Crist <[EMAIL PROTECTED]> [2007-10-24 14:12:59 -0500]: I'm looking for a good, free, SSH client that has line/column numbers at the bottom, similar to SecureCRT. I'm curious as to why you need the line/column numbers displayed for your terminal in an SSH client? That seems to me a completely unrelated function. Most editors (Vi, Emacs, etc.) will give you that info, but can you explain why need it as necessary component for an SSH client? Thomas I am also confused about your question as a previous sender. Do you have cygwin installed on your Windows machines? You can use shell to ssh to a remote location like in Unix. The next thing that comes to my mind is PUTTY but I am not really sure if you already dismissed it as inadequate. WinSCP is secure copy client (sftp) which is in Unix world part of ssh but as I said earlier if you have cygwin you can pretend that you are in the Unix environment. OpenSSH is a cygwin package! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: xorg/gnome slow on different network
kalin mintchev wrote: On 2007-10-25 kalin mintchev wrote: hi all... i noticed that when i take my laptop to work and change the network settings in rc.conf before starting xorg after i do startx the whole xorg/gnome experience gets slowed down. first xorg takes it's time to start and then load gnome, window manager etc. and then all applications in gnome take about 30 - 60 seconds to start. when i get back home and change the rc.conf back to my home settings th xorg starts quickly and all the applications start at normal speed - 4 - 5 sec. Just a wild guess but it could be a (D/DoS) worm active on that network. it's not the network. it's the system itself... talking about start up times of xorg/gnome nothing to do with the network... Yet the only data you've given us is that it changes when the network does-- it's possible that high traffic volumes could slam the system's response, as could misconfigured DNS... -- Jay Chandler / KB1JWQ Living Legend / Systems Exorcist Today's Excuse: Melting hard drives ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Periodic.conf?
On Oct 25, 2007, at 2:46 AM, Gerard wrote: On October 24, 2007 at 09:50PM jekillen wrote: The following was a response to a query I posted regarding how to switch over to Postfix from SendMail: Also, there are some periodic things that are ran which are SendMail specific that need to be disabled. That is done within /etc/periodic.conf as such: daily_clean_hoststat_enable="NO" daily_status_mail_rejects_enable="NO" daily_status_include_submit_mailq="NO" daily_submit_queuerun="NO" However, there is no periodic.conf on my system: v6.2. There is a periodic directory with specific subdirectories. One is 'daily' but I do not know which one would have the above entries. Create the /etc/periodic.conf file and populate it with the correct information. When I installed the OS, I had it include the Postfix package when sysinstall queried for package choices. I want to set this machine up as a hub mail server for four web sites on four separate machines that are connected via inside network. I have not dealt with e-mail related software in general and Postfix or Sendmail specifically. Since I brought in Postfix as a package, I am afraid of trying to install it from Ports for complications, unless ports will account for that. You could delete the package and then install it from ports. There were also advices to place several entries in rc.conf to disable SendMail. There are no entries either for SendMail, not Postfix there to begin with in rc.conf. You have to add them. Please read /usr/ports/mail/postfix/pkg-message for further details. That is the last stable version of Postfix, by the way. The beta version is under 'postix-current'. You should also check out: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail- changingmta.html for further details. In mailer.conf I was told it should look like this: sendmail/usr/local/sbin/sendmail send-mail /usr/local/sbin/sendmail mailq /usr/local/sbin/sendmail newaliases /usr/local/sbin/sendmail There were two other entries, hoststat and purgstat. Should these be kept, modified or eliminated? If you install Postfix from the ports system, it will offer to make these modifications for you. See my above comment. Thank you for the data; Much appreciated Jeff k ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: OEM and Trademark license for Java on FreeBSD -- [EMAIL PROTECTED] no longer valid?
On 25/10/2007 2:41 PM, Pj Malloy wrote: Any help would be MUCH appreciated. I have some questions regarding the OEM and Trademark license for Java on FreeBSD. I initially sent my email inquiry to [EMAIL PROTECTED], as stated in the FreeBSD Foundation Java Download page (http://www.freebsdfoundation.org/downloads/java.shtml), but that [EMAIL PROTECTED] email address does not appear to be valid -- the email I sent to that address bounced. The [EMAIL PROTECTED] email address is specifically called out in Diablo FreeBSD OEM Java license that is listed here: http://www.freebsdfoundation.org/cgi-bin/download?download=oem/diablo-jdk-freebsd5.i386.1.5.0.07.01.tbz That license text states we (a) must obtain a Trademark License from Sun, and depending on the exact field of use, we (b) might need to get a commercial license from Sun. That license text directs me to [EMAIL PROTECTED] to get more information for both (a) and (b). That email address doesn't work, so now I'm wondering what to do next... I called Sun Sales, but they did not know what I was talking about... I too would love to know the answer to this -- the way Sun carry on, anyone would think they don't want people using their language... I am sure Microsoft don't make you jump through hoops if you want to write and distribute applications written in .NET and want to distribute the run-time along with it -- so why must Sun make it so hard for people to do that with Java? --Antony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Software Vulnerability Scanner
On Thu, 25 Oct 2007 14:29:40 +0330 "Bahman M." <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm starting my career as a security analyst and I'd like to know if > there are any vulnerability scanners -Blackbox or Whitebox- available for > FreeBSD, in > particular for Java applications. > > There are some softwares out there, e.g. HailStorm or SourceScope > however most of them are commercial and AFAIK there are only Windoze > versions. > > Any suggestion or pointer is highly appreciated. TIA, > In lack of a more specific question, i'd say start with /usr/ports/security/nessus. Generally these tools perform poorly on windows, mostly because of the crappy network stack. -- Regards, Ghirai. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: OEM and Trademark license for Java on FreeBSD -- [EMAIL PROTECTED] no longer valid?
> > I too would love to know the answer to this -- the way Sun carry on, > anyone would think they don't want people using their language... I am > sure Microsoft don't make you jump through hoops if you want to write > and distribute applications written in .NET and want to distribute the > run-time along with it -- so why must Sun make it so hard for people > to do that with Java? At times if I didn't know better I would swear that sun was doing it's best to destroy it's own language (long term tax write off?)... even though I love Java and started a small software company to make developer tools for it some of the things Sun drive me *(&*&(*&( nuts... Here is the short list: 1. Complete refusal to allow for non-JVM compilation targets 2. Deprecating classes and methods for no apparent reason or explanation 3. Not making the complete implementation "open" (perhaps look but don't touch or give out) source 4. Making some really stupid security and/or low level OS access assumptions (see the series of threads recursively started by http://groups.google.com/group/comp.lang.java.programmer/browse_thread/thread/8e85eedca489d240/3ef23e684fe42fb0#3ef23e684fe42fb0) 5. Completely dropping the ball marketing wise -- Aryeh M. Friedman FloSoft Systems Developer, not Business, Friendly http://www.flosoft-systems.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 7.0 and 6.3
On 10/25/2007 11:47 PM, Kris Kennaway wrote: > Jay Chandler wrote: >> Kris Kennaway wrote: >>> David J Brooks wrote: Bill Moran wrote: > Note also that a ports freeze is starting soon for 7.0 and 6.3 > release. What are the differences between 6.3 and 7.0? Which should be considered the standard upgrade path from 6.2 release? Is there a compelling reason to upgrade to one over the other? >>> >>> 7.0 is the recommended choice; 6.3 is only for people who cannot >>> update to the new branch yet. >>> >>> http://people.freebsd.org/~kris/scaling/7.0%20Preview.pdf >>> >>> Kris >>> >>> ___ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to >>> "[EMAIL PROTECTED]" >> >> Fascinating! >> >> I have to ask, is there a straightforward upgrad path from 6.2 to >> 7.0, or is it largely going to be a matter of "back up, blow it away, >> and install cleanly before restoring data?" > > It should be completely straightforward. The only thing to remember > is (as with every upgrade between different branches) is to rebuild > all of your installed ports so you don't cause problems with > subsequent port upgrades. > > Kris > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" Any good oneliner for rebuild all the ports that you recommend? //Johan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 7.0 and 6.3
Johan Andersson wrote: On 10/25/2007 11:47 PM, Kris Kennaway wrote: Any good oneliner for rebuild all the ports that you recommend? portupgrade -afO -- Jay Chandler / KB1JWQ Living Legend / Systems Exorcist Today's Excuse: Melting hard drives ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Storage cluster with FreeBSD
Hi everyone, I have this pet project, playing with the Lustre Cluster FS. Is there anything similar to this that would run with FreeBSD as the host? ( Clients supported would HAVE to be linux,freebsd, Win32, OSX, ideally over standard protocols with no need for special driver). I seem to remember that ggate, in the GEOM stack, allows for storage over different nodes, but reading about ggate i am not sure it provides what I'm after : - storage over a number of nodes (few or large number). - abstract view of the storage from the client's point of view ( 1 TB storage, doesnt matter how this is setup). - dynamic sizing : add servers, storage grows. - resilience to node loss. thanks!! B _ {Beto|Norberto|Numard} Meijome "The greatest dangers to liberty lurk in insidious encroachment by men of zeal, well-meaning but without understanding." Justice Louis D. Brandeis I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 7.0 and 6.3
On Thu, 25 Oct 2007 17:32:35 -0700 Jay Chandler <[EMAIL PROTECTED]> wrote: > Johan Andersson wrote: > > On 10/25/2007 11:47 PM, Kris Kennaway wrote: > > > Any good oneliner for rebuild all the ports that you recommend? > > portupgrade -afO > Personally I prefer portupgrade -f '<2007-10-25 11:00' since it's restartable. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: OEM and Trademark license for Java on FreeBSD -- [EMAIL PROTECTED] no longer valid?
On Thu, 25 Oct 2007 19:54:34 -0400 "Aryeh M. Friedman" <[EMAIL PROTECTED]> wrote: > > I too would love to know the answer to this -- the way Sun carry on, > > anyone would think they don't want people using their language... I > > am sure Microsoft don't make you jump through hoops if you want to > > write and distribute applications written in .NET and want to > > distribute the run-time along with it -- so why must Sun make it so > > hard for people to do that with Java? > > At times if I didn't know better I would swear that sun was doing it's > best to destroy it's own language (long term tax write off?)... even > though I love Java and started a small software company to make > developer tools for it some of the things Sun drive me > *(&*&(*&( nuts... Here is the short list: Well, I gave up on Java and switched to a combination of Python and C/C++ for many reasons, most of them pertaining to Java, the language itself and its libraries. Licensing issues and all those hoops Sun made and still makes us FreeBSD users jump through were the least of my concerns, because they were essentially one-time only and though annoying, still bearable. The problem, or opportunity, is that there's so much legacy code in Java, just waiting to be ported, and though SWIG has its uses in the transition process, ultimately java2python (not jython, that's the other way around) would be great, but it's not there yet by any means... -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 "[EMAIL PROTECTED]"
Re: 7.0 and 6.3
RW wrote: On Thu, 25 Oct 2007 17:32:35 -0700 Jay Chandler <[EMAIL PROTECTED]> wrote: Johan Andersson wrote: On 10/25/2007 11:47 PM, Kris Kennaway wrote: Any good oneliner for rebuild all the ports that you recommend? portupgrade -afO Personally I prefer portupgrade -f '<2007-10-25 11:00' since it's restartable. You don't have to throw the -O flag in there to keep various ports from complaining? -- Jay Chandler / KB1JWQ Living Legend / Systems Exorcist Today's Excuse: Melting hard drives ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 7.0 and 6.3
On Thu, 25 Oct 2007 18:59:01 -0700 Jay Chandler <[EMAIL PROTECTED]> wrote: > RW wrote: > > On Thu, 25 Oct 2007 17:32:35 -0700 > > Jay Chandler <[EMAIL PROTECTED]> wrote: > > > >> Johan Andersson wrote: > >>> On 10/25/2007 11:47 PM, Kris Kennaway wrote: > >>> Any good oneliner for rebuild all the ports that you recommend? > >> portupgrade -afO > >> > > > > Personally I prefer > > > > portupgrade -f '<2007-10-25 11:00' > > > > since it's restartable. > > You don't have to throw the -O flag in there to keep various ports > from complaining? The point of -O is to have portupgrade save a few seconds by omitting sanity-checking if pkgdb has already been run. It's not intended for hiding problems. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 7.0 and 6.3
RW wrote: On Thu, 25 Oct 2007 18:59:01 -0700 Jay Chandler <[EMAIL PROTECTED]> wrote: RW wrote: On Thu, 25 Oct 2007 17:32:35 -0700 Jay Chandler <[EMAIL PROTECTED]> wrote: Johan Andersson wrote: On 10/25/2007 11:47 PM, Kris Kennaway wrote: Any good oneliner for rebuild all the ports that you recommend? portupgrade -afO Personally I prefer portupgrade -f '<2007-10-25 11:00' since it's restartable. You don't have to throw the -O flag in there to keep various ports from complaining? The point of -O is to have portupgrade save a few seconds by omitting sanity-checking if pkgdb has already been run. It's not intended for hiding problems. Okay, I'll buy that. I just tried it, and it worked. I distinctly remember a port (mailscanner-mrtg, but there are others) who choked on the fact that Apache1.3 isn't the same thing as Apache2.2 until I fed it the O flag... -- Jay Chandler / KB1JWQ Living Legend / Systems Exorcist Today's Excuse: Melting hard drives ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
What is the equivalent of Linux 'gettid' systemcall on FreeBSD?
Hi, I am porting some code to FreeBSD and need to know what todoinstead of Linux gettid? Thanks, Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Live video streaming on FreeBSD?
On 25-Oct-07, at 12:12 PM, Andreas Widerøe Andersen wrote: Does any of these streaming solutions (encoders or servers) require me to run a GUI on my FreeBSD boxes or can I simply run them like I always do: command line only? You can try http://www.icecast.org/ . I have tried it with mp3 and ogg successfully. Icecast forum regarding video streaming: http://icecast.imux.net/viewforum.php?f=6 regards, shantanoo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"