Re: Sendmail help needed
Hello, Thanks for the help. The thing is that our main mailserver is not able to work with reports from only one address. It has a db with some "names" that match [EMAIL PROTECTED] and then send the reports to the respective persons/mailing lists. So the basics of the question is: Is it possible to get every mail (including local mail) redirected to one domain with MX lookup? I've been reading about LUSER_RELAY, LOCAL_RELAY, stickyhost, but I don't know if this will solve the problem. On 7/28/05, Glenn Dawson <[EMAIL PROTECTED]> wrote: > At 03:17 PM 7/28/2005, Alexandre Vieira wrote: > >Hello folks, > > > >I'm trying to get past a standard in sendmail which is very simple. > > > >I have several machines reporting mails trough local MTA's (sendmail) > >in each one of the boxes to our main mailserver. The thing is, I did > >not developed the scripts and they are using "mailx -s user" > >which normally would try to deliver it to a local account in the > >machine. So the question is: Can I, in any way, define that every > >"user" passed on the mailx in every script gets resolved to > >[EMAIL PROTECTED] and not to a local system account? We have > >hundreds of "names" in the scripts, so aliasing doesn't work for me. > > If you don't _ever_ want things to be delivered locally, you can create > what sendmail calls a null client. That will send all mail to the address > you specify. You can get more details from /usr/share/sendmail/cf/README > > -Glenn > > > >My current hack is defining DR and DS in the sendmail.cf to a static > >hostname but that takes redundancy to our mail system since if the > >main mailserver is down the backup mail server (higher MX) won't take > >any effect. > > > >Any help apreciated > >Cheers > >___ > >freebsd-questions@freebsd.org mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >To unsubscribe, send any mail to "[EMAIL PROTECTED]" > > Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
URGENT -- AP #1 (PHY #1) failed -- what does this mean?
Hi Sorry for the URGENT line. I have a critical server running 5.4- RELEASE-p1. It is a dual AMD MP 2800+ (Gigabyte board) with 4GB RAM and an Adaptec 2100S raid controller. Running (obviously) an SMP kernel. I recompiled the kernel this afternoon and changed one line -- the options HZ line from HZ=1100 to HZ=400 as a test of PHP performance. That was the only thing changed (the machine had been up since I installed 5.4 on it June 1). I built and installed the kernel and tonight I rebooted the machine. Now when it boots it comes up and real memory = 3758030848 (3583 MB) avail memory = 3678240768 (3507 MB) ACPI APIC Table: AP #1 (PHY# 1) failed! panic y/n? [y] What does this mean (and what do I do about it)? I am off to Google but as I am in a real tight spot I thought I would ask for some help asap before I go and try and figure this out. Thanks Chad ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
KDE in FreeBSD
Hello. Explain how to adjust please dial-up connection in KDE about the help kppp? I have made all as it is necessary but by pressing "connect" there is a tablet " modem is busy ". The modem does not react. -- Best regards, Sergey mailto:[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: URGENT -- AP #1 (PHY #1) failed -- what does this mean?
At 12:51 AM 7/29/2005, Chad Leigh -- Shire.Net LLC wrote: Hi Sorry for the URGENT line. I have a critical server running 5.4- RELEASE-p1. It is a dual AMD MP 2800+ (Gigabyte board) with 4GB RAM and an Adaptec 2100S raid controller. Running (obviously) an SMP kernel. I recompiled the kernel this afternoon and changed one line -- the options HZ line from HZ=1100 to HZ=400 as a test of PHP performance. That was the only thing changed (the machine had been up since I installed 5.4 on it June 1). I built and installed the kernel and tonight I rebooted the machine. Now when it boots it comes up and real memory = 3758030848 (3583 MB) avail memory = 3678240768 (3507 MB) ACPI APIC Table: AP #1 (PHY# 1) failed! panic y/n? [y] What does this mean (and what do I do about it)? That basically means that the kernel failed to start the second CPU. -Glenn I am off to Google but as I am in a real tight spot I thought I would ask for some help asap before I go and try and figure this out. Thanks Chad ___ 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: need some advice
On 28 Jul Garrett Cooper wrote: > On Fri, 29 Jul 2005, dick hoogendijk wrote: > >My options are: > > > >Athlon64-3000+ (Newcastle) on a MSI K8T NEO-FSR board (1Gb 3200 mem) > >Athlon64-3400+ (Clawhammer on the same board > >Intel Prescott 3.4Mhz on a Intel 915p board (1024 Mb DDRII pc4300 > >memory) > >I will run FreebSD on it (compile a lot of ports) and (windows-xp/98se) > >for gaming. > >Any advice is welcome. > Wha?!?! Win98?!?! are you insane? No, of course I'm not ;-) Win98se runs perfectly well on new machines and the fact is that a lot of games that I like very much *don't* run on XP. Period. The older command&conquer series i.e. and lots of point&click adventures that my wife is font of. Of course, the newer games do run on XP, but most of them also run very smooth (even smoother) on W98. Windows just for gaming to me means w98se. It's faster, smoother and smaller. I'll bring it up to modern standards though by installing the unofficial SP2 for windows98se. This gives hundreds of changes under the hood. It's programmed by very well skilled programmers (a bit like the ones of tweakui, which is not bad either). W98se systems w/ SP2 are very stable and have the looks of windows2000. Not bad at all for a couple of years more. I agree, if you want more (other) things like audio/movie etc.. go for windows2000 or XP. That's why I have all three of them. FreeBSD (to me is my main system); w98 is the gaming engine; XP is for multimedia which is still a bit difficult in the *nix world. > The only thing I could see justifying that would be playing PSX games > with bleem (since it was only supported on 98), and that's it. Doing that, that is what I'd call slow. With today's prices you should play PSX games on a psx1 (modified). Not > only that, 98 wasn't built with today's hardware, so all in all it > will be EXCEPTIONALLY slow performance wise. Heh. I remember running > win98 on a faster P3 and the fact that it was so horribly slow. Finding support for modern hardware is sometimes a little difficult, but up to now I always managed to find the right drivers. I always use kind of standard hardware (like nvidia, creativ, etc). Up and running I ghost the machine and all games run fast and smooth. Like I said earlier, smoother than under XP. -- dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 4.11-stable ++ FreeBSD 5.4 + Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: URGENT -- AP #1 (PHY #1) failed -- what does this mean?
On Jul 29, 2005, at 2:23 AM, Glenn Dawson wrote: At 12:51 AM 7/29/2005, Chad Leigh -- Shire.Net LLC wrote: Hi Now when it boots it comes up and real memory = 3758030848 (3583 MB) avail memory = 3678240768 (3507 MB) ACPI APIC Table: AP #1 (PHY# 1) failed! panic y/n? [y] What does this mean (and what do I do about it)? That basically means that the kernel failed to start the second CPU. Ok, thanks. Googling showed that absent other signs of a true HW problem, others have powercycled and the problem has gone away. That seems to have worked for me as well. Will monitor the situation. Thanks Chad -Glenn --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider [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: Sendmail help needed
Hello Glenn, The odds of the reporting system are not of my fully knowledge, I just know how and what mails go from where to who. Imagine that a script on a reporting machine does this: # mailx -s ERROR_FOUND_IN_PROC_SYNC syncproj It will try to deliver the mail locally, as suposed to. If I define a central hub or a Smart host it will deliver the mail I exampled to [EMAIL PROTECTED] and it works fine. The problem is that it won't lookup the mailhub MX record, It will send it directly to mailhub:25. Now imagine that mailhub is down? There is a backup server listed as an MX record for the mailhub domain with a higher pref that would take the work while mailhub prefered MX is down. I've been reading a little more and I think there is some kind of feature/option that force a MX lookup on the mailhub host. Thank you On 7/29/05, Glenn Dawson <[EMAIL PROTECTED]> wrote: > At 12:30 AM 7/29/2005, you wrote: > >Hello, > > > >Thanks for the help. > > > >The thing is that our main mailserver is not able to work with reports > >from only one address. It has a db with some "names" that match > >[EMAIL PROTECTED] and then send the reports to the respective > >persons/mailing lists. > >So the basics of the question is: Is it possible to get every mail > >(including local mail) redirected to one domain with MX lookup? I've > >been reading about LUSER_RELAY, LOCAL_RELAY, stickyhost, but I don't > >know if this will solve the problem. > > ok, lets see if I understand this correctly... > > You have an existing mail server that handles mail for you local network. > Some of the mail sent to that server is compared to a database which has > entries that look like [EMAIL PROTECTED] If a match is found, > the message is redistributed to some list of email addresses. So far so > good? hope so... > > The addresses that are looked at for a match, are they the from address or > the to address? > > For example, I send an email to you mail server using the address > [EMAIL PROTECTED] Since I sent the email, it looks like it came from > [EMAIL PROTECTED] One of those two addresses are compared to a > database to decide what to do with the message. From your description, it > sounds like the To: address is the one being looked at by the mail server. > > "Local" mail is normally considered to be mail between two addresses which > are on the same machine. The from and to addresses for the local mail can > have only account names, or, one or both could have a domain associated > with it. Potentially, mail between the following pairs of addresses could > all be local: > > From: To: > foo bar > [EMAIL PROTECTED]bar > foo [EMAIL PROTECTED] > > From your description above, it sounds like you're looking at mail that is > always delivered to the same address on the mail server, and then you're > using the address the mail was from to decide what to do with it. Is that > correct? > > From the description below (from the original email) it sounds like the > scripts in question are running on machines that are not the mail server, > and they're only specifying the username to deliver to, and not adding any > domain name or hostname to the recipient. Depending on what else is > happening on the machines that have the scripts that generate the mail, it > sounds like building a null client is probably the simplest thing to > do. Other options are using some of the masquerading features, or by using > LOCAL_RELAY to force unqualified names to be send to a central server which > will figure out what to do with them. > > Hope some of that helps...Let me know if I can clarify anything, I'll be > around for at least another few hours... > > -Glenn > > > >On 7/28/05, Glenn Dawson <[EMAIL PROTECTED]> wrote: > > > At 03:17 PM 7/28/2005, Alexandre Vieira wrote: > > > >Hello folks, > > > > > > > >I'm trying to get past a standard in sendmail which is very simple. > > > > > > > >I have several machines reporting mails trough local MTA's (sendmail) > > > >in each one of the boxes to our main mailserver. The thing is, I did > > > >not developed the scripts and they are using "mailx -s user" > > > >which normally would try to deliver it to a local account in the > > > >machine. So the question is: Can I, in any way, define that every > > > >"user" passed on the mailx in every script gets resolved to > > > >[EMAIL PROTECTED] and not to a local system account? We have > > > >hundreds of "names" in the scripts, so aliasing doesn't work for me. > > > > > > If you don't _ever_ want things to be delivered locally, you can create > > > what sendmail calls a null client. That will send all mail to the address > > > you specify. You can get more details from /usr/share/sendmail/cf/README > > > > > > -Glenn > > > > > > > > > >My current hack is defining DR and DS in the sendmail.cf to a static > > > >hostname but that takes redundancy to our mail system since if the > > > >main m
Re: Sendmail help needed
At 01:48 AM 7/29/2005, Alexandre Vieira wrote: Hello Glenn, The odds of the reporting system are not of my fully knowledge, I just know how and what mails go from where to who. Imagine that a script on a reporting machine does this: # mailx -s ERROR_FOUND_IN_PROC_SYNC syncproj It will try to deliver the mail locally, as suposed to. If I define a central hub or a Smart host it will deliver the mail I exampled to [EMAIL PROTECTED] and it works fine. The problem is that it won't lookup the mailhub MX record, It will send it directly to mailhub:25. Now imagine that mailhub is down? There is a backup server listed as an MX record for the mailhub domain with a higher pref that would take the work while mailhub prefered MX is down. If that's all you're worried about, you don't have to worry. If you specify a smart host and it's not available, the mail will get queued locally until it is available. The default settings will hold it in the queue for 5 days. If your smart host is down for that long, you probably have other things to worry about. -Glenn I've been reading a little more and I think there is some kind of feature/option that force a MX lookup on the mailhub host. Thank you On 7/29/05, Glenn Dawson <[EMAIL PROTECTED]> wrote: > At 12:30 AM 7/29/2005, you wrote: > >Hello, > > > >Thanks for the help. > > > >The thing is that our main mailserver is not able to work with reports > >from only one address. It has a db with some "names" that match > >[EMAIL PROTECTED] and then send the reports to the respective > >persons/mailing lists. > >So the basics of the question is: Is it possible to get every mail > >(including local mail) redirected to one domain with MX lookup? I've > >been reading about LUSER_RELAY, LOCAL_RELAY, stickyhost, but I don't > >know if this will solve the problem. > > ok, lets see if I understand this correctly... > > You have an existing mail server that handles mail for you local network. > Some of the mail sent to that server is compared to a database which has > entries that look like [EMAIL PROTECTED] If a match is found, > the message is redistributed to some list of email addresses. So far so > good? hope so... > > The addresses that are looked at for a match, are they the from address or > the to address? > > For example, I send an email to you mail server using the address > [EMAIL PROTECTED] Since I sent the email, it looks like it came from > [EMAIL PROTECTED] One of those two addresses are compared to a > database to decide what to do with the message. From your description, it > sounds like the To: address is the one being looked at by the mail server. > > "Local" mail is normally considered to be mail between two addresses which > are on the same machine. The from and to addresses for the local mail can > have only account names, or, one or both could have a domain associated > with it. Potentially, mail between the following pairs of addresses could > all be local: > > From: To: > foo bar > [EMAIL PROTECTED]bar > foo [EMAIL PROTECTED] > > From your description above, it sounds like you're looking at mail that is > always delivered to the same address on the mail server, and then you're > using the address the mail was from to decide what to do with it. Is that > correct? > > From the description below (from the original email) it sounds like the > scripts in question are running on machines that are not the mail server, > and they're only specifying the username to deliver to, and not adding any > domain name or hostname to the recipient. Depending on what else is > happening on the machines that have the scripts that generate the mail, it > sounds like building a null client is probably the simplest thing to > do. Other options are using some of the masquerading features, or by using > LOCAL_RELAY to force unqualified names to be send to a central server which > will figure out what to do with them. > > Hope some of that helps...Let me know if I can clarify anything, I'll be > around for at least another few hours... > > -Glenn > > > >On 7/28/05, Glenn Dawson <[EMAIL PROTECTED]> wrote: > > > At 03:17 PM 7/28/2005, Alexandre Vieira wrote: > > > >Hello folks, > > > > > > > >I'm trying to get past a standard in sendmail which is very simple. > > > > > > > >I have several machines reporting mails trough local MTA's (sendmail) > > > >in each one of the boxes to our main mailserver. The thing is, I did > > > >not developed the scripts and they are using "mailx -s user" > > > >which normally would try to deliver it to a local account in the > > > >machine. So the question is: Can I, in any way, define that every > > > >"user" passed on the mailx in every script gets resolved to > > > >[EMAIL PROTECTED] and not to a local system account? We have > > > >hundreds of "names" in the scripts, so aliasing doesn't work for me. > > > > > > If you don't _ever_ want things to be delivered local
RE: KDE in FreeBSD
> Hello. > > Explain how to adjust please dial-up connection in > KDE about the help kppp? I have made all as it is necessary > but by pressing "connect" there is a tablet " modem is busy ". > The modem does not react. > > > -- > Best regards, > Sergey mailto:[EMAIL PROTECTED] In the announcement/change list for KDE 3.4.2 at kde.org I read this: kppp: fixed PPP interface check on FreeBSD and possibly other systems So I'd suggest you to wait for 3.4.2 becoming the official port. The FreeBSD KDE team seems to be quite fast, so I'd expect this to be a question of days only. Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Dead disk? READ_DMA Failure
> I have a one year old Hitachi Travelstar 60GB/4200RPM disk. This > night and since then, I get these errors: > > ad0: TIMEOUT - READ_DMA retrying (2 retries left) LBA=48926527 > ad0: TIMEOUT - READ_DMA retrying (1 retry left) LBA=48926527 > ad0: FAILURE - READ_DMA timed out > > or > > ad0: TIMEOUT - READ_DMA retrying (2 retries left) LBA=50299455 > ad0: FAILURE - READ_DMA status=51 > error=40 LBA=50299455 > > The LBA number varies, but otherwise it is consistent. Eventually > the device is removed from /dev and no disk is accessible, > although mount shows mounted devices. > > I have booted in single user mode and run fsck manually multiple > times to correct all found errors, most errors are on /, /usr and > some on /var, yet the problem reappears. > > I have tried to reinstall, toggling newfs to recreate /, /usr and > /var hoping that any bad blocks or sectors would be removed or > marked unusable. But the problem remains. > > Is there a way I can reformat or fix the disk so that broken areas > will not be used again? > > Please, how far from the grave are my data? > > Any suggestion on which new drive to choose? I have looked at > Western Digital Scorpio WD600VE 60 GB. > > Given the mentioned error, does this indicate an error that would > be covered by standard guarantee? after all the disk is just one > year old... > > The system: FreeBSD 5.4, Epia Mini-ITX CL1000, 256MB RAM, 60 GB > HDD. Hello, I've seen these error messages too. And also WRITE_DMA TIMEOUT! You may have a hardware problem, but I'm not convinced. I had these messages on _new_ computers from time to time. After updating from 5.2 to 5.3, 5.4 it seems to have gone for me. But that's obviously not the case for you. I've read on a list to try to disable acpi, but that does not help. A collegue of mine sees this even with his dvd! I've had it with a plain ata drive (maxtor) using udma100 and with a promise ata raid controller (wd drives) at udma66. All _new_ hardware! I can't tell you if it is some 5.X specific problem. But the systems I am running under 4.11 never had these problems. Is there someone on this list with similar experiences? Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Dead disk? READ_DMA Failure
On Thu, 28 Jul 2005, Erik Nørgaard wrote: > The system: FreeBSD 5.4, Epia Mini-ITX CL1000, 256MB RAM, 60 GB > HDD. Sorry, I should have mentioned this in the original post, I have no monitor for my computer, I use it as a server. So I installed the disk in my laptop which is Intel/sis based, and still experienced the problem. I recall also seeing WRITE_DMA failure but I am not sure. I will order a new disk *sigh 5 days* and if I manage to bring life to the old one I will have a spare... Thanks for your advice so far. Cheers, Erik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Sendmail help needed
Hello Glenn, Thanks for your time. Well it is actually an issue. The reports are very important for our departments. They do not have access to see if the procedures went OK and as consequence they can't continue to work. If I can't get this to work with redundancy I will have to make some kind of script to change the A record for the mailhub, in our nameserver, when it's down so the backup mailserver can get with it's work. Any help on this issue is apreciated. On 7/29/05, Glenn Dawson <[EMAIL PROTECTED]> wrote: > At 01:48 AM 7/29/2005, Alexandre Vieira wrote: > >Hello Glenn, > > > >The odds of the reporting system are not of my fully knowledge, I just > >know how and what mails go from where to who. > > > >Imagine that a script on a reporting machine does this: > > > ># mailx -s ERROR_FOUND_IN_PROC_SYNC syncproj > > > >It will try to deliver the mail locally, as suposed to. If I define a > >central hub or a Smart host it will deliver the mail I exampled to > >[EMAIL PROTECTED] and it works fine. The problem is that it won't > >lookup the mailhub MX record, It will send it directly to mailhub:25. > >Now imagine that mailhub is down? There is a backup server listed as > >an MX record for the mailhub domain with a higher pref that would take > >the work while mailhub prefered MX is down. > > If that's all you're worried about, you don't have to worry. If you > specify a smart host and it's not available, the mail will get queued > locally until it is available. The default settings will hold it in the > queue for 5 days. If your smart host is down for that long, you probably > have other things to worry about. > > -Glenn > > > >I've been reading a little more and I think there is some kind of > >feature/option that force a MX lookup on the mailhub host. > > > >Thank you > > > >On 7/29/05, Glenn Dawson <[EMAIL PROTECTED]> wrote: > > > At 12:30 AM 7/29/2005, you wrote: > > > >Hello, > > > > > > > >Thanks for the help. > > > > > > > >The thing is that our main mailserver is not able to work with reports > > > >from only one address. It has a db with some "names" that match > > > >[EMAIL PROTECTED] and then send the reports to the respective > > > >persons/mailing lists. > > > >So the basics of the question is: Is it possible to get every mail > > > >(including local mail) redirected to one domain with MX lookup? I've > > > >been reading about LUSER_RELAY, LOCAL_RELAY, stickyhost, but I don't > > > >know if this will solve the problem. > > > > > > ok, lets see if I understand this correctly... > > > > > > You have an existing mail server that handles mail for you local network. > > > Some of the mail sent to that server is compared to a database which has > > > entries that look like [EMAIL PROTECTED] If a match is found, > > > the message is redistributed to some list of email addresses. So far so > > > good? hope so... > > > > > > The addresses that are looked at for a match, are they the from address or > > > the to address? > > > > > > For example, I send an email to you mail server using the address > > > [EMAIL PROTECTED] Since I sent the email, it looks like it came from > > > [EMAIL PROTECTED] One of those two addresses are compared to a > > > database to decide what to do with the message. From your description, it > > > sounds like the To: address is the one being looked at by the mail server. > > > > > > "Local" mail is normally considered to be mail between two addresses which > > > are on the same machine. The from and to addresses for the local mail can > > > have only account names, or, one or both could have a domain associated > > > with it. Potentially, mail between the following pairs of addresses could > > > all be local: > > > > > > From: To: > > > foo bar > > > [EMAIL PROTECTED]bar > > > foo [EMAIL PROTECTED] > > > > > > From your description above, it sounds like you're looking at mail that > > > is > > > always delivered to the same address on the mail server, and then you're > > > using the address the mail was from to decide what to do with it. Is that > > > correct? > > > > > > From the description below (from the original email) it sounds like the > > > scripts in question are running on machines that are not the mail server, > > > and they're only specifying the username to deliver to, and not adding any > > > domain name or hostname to the recipient. Depending on what else is > > > happening on the machines that have the scripts that generate the mail, it > > > sounds like building a null client is probably the simplest thing to > > > do. Other options are using some of the masquerading features, or by > > > using > > > LOCAL_RELAY to force unqualified names to be send to a central server > > > which > > > will figure out what to do with them. > > > > > > Hope some of that helps...Let me know if I can clarify anything, I'll be > > > around for at least another few hours... > > > > > > -Glen
Re: problems burning multi session dvd-rw
On Fri, Jul 29, 2005 at 05:17:15PM +1000, Timothy Smith wrote: > Marc Fonvieille wrote: > > >On Thu, Jul 28, 2005 at 03:15:06PM +1000, Timothy Smith wrote: > > > > > >>i'm having some troubles burning a multi session dvd-rw. i blanked te > >>dvd to make sure it was in sequential mode > >> > >>%dvd+rw-format /dev/cd0a -blank > >>* DVD\uRW format utility by <[EMAIL PROTECTED]>, version 4.9. > >>* 4.7GB DVD-RW media in Sequential mode detected. > >>* blanking 100.0| > >> > >> > >> > >[...] > > > >Try to upgrade to a more up to date version of dvd+rw-tools and try with > >-blank=full option. > > > >Marc > > > > > > > > > i cvsup'd to the latest and still the same thing, any ideas? Did you use "-blank=full" or "-blank"? Did you have the same issue with all DVD-RW brands? Is your DVD burner firmware up to date? Is your DVD burner mentioned on dvd+rw-tools' hardware page? Marc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: need some advice
Benjamin Lutz wrote: If price is important, why not go for a Sempron 3100+ using the Palermo core? Granted, it's a bit slower than the Athlon64 3000+, but it does have an advantage: Under load, it outputs 62W of heat instead of 89W like the 130nm Athlon64 cores. And of course it only costs half of what the Athlon64s cost. A64 90nm under 3500 are 67W *max*, only larger are 89W max (http://www.amdcompare.com/us-en/desktop/Default.aspx). Modern A64 are 90nm (look for Venice core). I have no experience of Sempron, but I can say that I would be very surprised if you can get an A64 to actually *use* all those watts. The highest temperature I can get is by running a CPU exercizer designed to drive up temp. That gets ~5 degrees C above the maximum I have ever seen otherwise (and it's still cooler than an XP). At 19 degrees ambient, the CPU is at 27 degrees under low load (89 W theoretical max). Prescott core will use *more* than the specified watts under load (possibly up to 120 IIRC). See http://www.silentpcreview.com/article169-page2.html dick hoogendijk wrote: My options are: Athlon64-3000+ (Newcastle) on a MSI K8T NEO-FSR board (1Gb 3200 mem) Athlon64-3400+ (Clawhammer on the same board Why are these your processor options? The Venice core has been around a while now and the 3000 is *fairly* cheap (and pretty much identical in price to older cores when I looked a couple months back). I'm pretty sure this is Venice but you'd have to check the part no at AMD http://www.komplett.nl/k/kl.asp?bn=10483 I.e. the intel MB has a PCIe grahics slot. How important is that (or not). I will buy a Geforce-6600GT videocard (offer most for less money..) PCI-E will give you much better performance on modern games and you can have two cards IIUC, but I do not know about FreeBSD compatibility. I went for 6600GT AGP which I am more than happy with (but I tend to buy games 2-3 years after they were popular :-)). I will run FreebSD on it (compile a lot of ports) and (windows-xp/98se) for gaming. Are you sure 98se will support A64? Also just about to run out of support from MS (if it hasn't already). XP does have 95 and 98 compatibility mode for games etc. but I can't say how well it works. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
gmirror synchronization...
Hi, I have setuped two disks for mirror: #gmirror label -v -b round-robin www-mirror /dev/ad6 #gmirror insert www-mirror /dev/ad4 after reboot it not mounting nad synchronizing ~ 1% in minute... #gmirror list Geom name: www-mirror State: DEGRADED Components: 2 Balance: round-robin Slice: 4096 Flags: NONE GenID: 0 SyncID: 1 ID: 2896798894 Providers: 1. Name: mirror/www-mirror Mediasize: 200049647104 (186G) Sectorsize: 512 Mode: r1w0e0 Consumers: 1. Name: ad6 Mediasize: 200049647616 (186G) Sectorsize: 512 Mode: r1w1e1 State: ACTIVE Priority: 0 Flags: NONE GenID: 0 SyncID: 1 ID: 1503457719 2. Name: ad4 Mediasize: 200049647616 (186G) Sectorsize: 512 Mode: r1w1e1 State: SYNCHRONIZING Priority: 0 Flags: DIRTY, SYNCHRONIZING GenID: 0 SyncID: 1 Synchronized: 3% ID: 564911442 Why so long if there is only ~7mb on disk yet... How to properly start and mount after reboot it? tnx, C. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: filesystem creation problem during the installation process.
On 7/28/05, Jesus Romero <[EMAIL PROTECTED]> wrote: > Hi Dmitry, Thanks a lot to answer my question... > > This what I've done so far. > 1- I already tried to create a small partition for MSDOS, so FreeBSD > could get the correct geometry, but didn't work. > 2- I already changed to LBA access to my HD. but didn't work. > 3- I disarmament my computer complete so the BIOS could take my HD as > a new drive. but didn't work. > 4- Every event upon my HD (like left itself without any format) so > FreeBSD can take it as a new HD. But didn't work. > > The FreeBSD version that I is 5.3. I bought this version under the > "Mundo Linux" magazine. > > Here the details of the hardware: > IDE Primary Master: Segate 10GB, the geometry between BIOs and > FreeBSD are equals so far. > IDE Secondary Master: CDROM 56k > 128 RAM. > AMD 750GHz. > even, I had intalled WinXP (a shit) but NOT ANYMORE !! forever. Btw, > it worked fine there with that hardware. > > Pls help me !!, this has taken for my during 1 month trying install > it without luck !!. > Any help I'll appreciate. > Jerori ! > > On 7/26/05, Dmitry Mityugov <[EMAIL PROTECTED]> wrote: > > On 7/25/05, Jesus Romero <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > > > I have the following issue: > > > > > > Once I've chosen in the sysinstall main menu: > > > 1- Standart Installation > > > 2- ad0 as selected drive. > > > 3- I've deleted the current partitions there and created a new one for > > > Freebsd using "Use Entire Disk". But I have to click S to define this > > > slice as ACTIVE partition and that's it. Click Q. > > > 4- I use "Fdisk Partition Using Entire Disk" I click "A" as default > > > partition. Click Q. > > > 5- I select Standar like Boot Manager for drive ad0. > > > 6- For Choose Distribution, I choose ALL. > > > 7- For Choose Media, I choose CD/DVD. > > > 8- And after I got the following warning: > > > > > > User Confirmation Requested > > > Last Chance! Are you SURE you want to continue the installation? > > > If you're running this on a disk with data you wish to save then WE > > > STRONGLY ENCOURAGE YOU TO MAKE PROPER BACKUPS before proceeding! > > > We can take no responsibility for lost disk contents! > > > [ Yes ]No > > > > > > 9- I chose, YES, and I've always gotten the following message. > > > > > > [ Unable to find device node for /dev/ad0s1b in /dev > > > Creation of filesystem will be aborted ] > > > > > > 10- I've tried a lot alternatives, but without luck!! > > > > How big is the drive? What does happen if you create a smaller > > partition for the OS at the beginning of the drive instead of using > > the entire drive? I am out of ideas, sorry. You may try a newer version of FreeBSD, or another media. By the way, you should send your replies not only to who replied to your messages (me), but also to the mailing list - this will increase your chances to get better answers. -- Dmitry Mityugov, St. Petersburg, Russia I ignore all messages with confidentiality statements "We live less by imagination than despite it" - Rockwell Kent, "N by E" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: need some advice
On Friday 29 July 2005 09:35, Dick Hoogendijk wrote: > Windows just for gaming to me means w98se. It's faster, smoother and > smaller. One problem problem with w98 is that it has problems with modern amounts of memory. I have a similar w98/freebsd dual-boot with AMD64 2.8G and 1.5 GB of ram, and I have to limit Windows to 1GB of memory or it wont boot. That's not a major loss, but it may be neccessary to remove a stick when reinstalling. One point about the AMD 64. At the moment I'm running the i386 version of FreeBSD, because it's generally better supported. I think it's worth checking the amd64 mailing list for compatibility problems so you can keep your options open - particularly as you are keeping the hardware for a long time. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Grub not working
In the last episode (Jul 28), Gary W. Swearingen said: > Benjamin Lutz <[EMAIL PROTECTED]> writes: > > Two guesses: > > > > - You can't write to a disks MBR while it's being used. I've seen > > this myself, but I'm not exactly why this is, or how it can be > > circumvented (other than booting from another device). > > Yes. It wasn't always this way. It's easy to turn off, though, and is even documented in grub's pkg-message file: To install GRUB on the master boot record of your hard drive use 'grub-install ' command. NOTE: Don't forget to run 'sysctl kern.geom.debugflags=16' on 5.x and -CURRENT to enable writing in hard disk system areas. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Samba over VPN
There is a bridge device on BSD1 and on GW-FLO.This is good for a bridge vpn. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Can someone clarify ipfw's in/out/recv/xmit/via concepts?
Dave McCammon <[EMAIL PROTECTED]> writes: > Here is a link to a thread that help me to understand > the in/out/recv/xmit stuff. Thanks guys. I think I've "got" most of it now. Incoming packets are those entering the OS kernel implementing the ipfw firewall, but not necessarily those entering the ipfw firewall each time the kernel uses it. Outgoing packets are those leaving. Depending upon firewall config, the firewall can test packets one or two times as they enter the kernel, considering them as incoming, and one or two times as they exit the kernel, considering them as outgoing. (See ipfw diagram.) An exception is that when bridging, it tests packets only once, considering them as incoming only. (The latter based on my tests.) When it tests an incoming packet it doesn't try to predict which interface it will be transmitted on (not sure why, if NAT isn't on), so "in" rules don't match against an "xmit" interface. When it tests an outgoing packet, it knows which interface it was received on and which interface it will be transmitted on so "out" rules may match against both "recv" and "xmit" interfaces. Using "via if0" is like using three rules: "in recv if0", "out xmit if0", and "out recv if0". Using "out via if0" is like using two rules: "out xmit if0" and "out recv if0". Using "in via if0" is like using "in recv if0". I'm not claiming that the above is any better than the manpage; I'm just trying to quickly hang some simple "facts" out there to be shot down if untrue. (Maybe someday I'll set up a routing firewall to test more of them than I have yet.) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: defragmentation in FreeBSD 4.11
On 7/28/2005 at 11:57 AM Bob Johnson wrote: |Microsoft used to claim that NTFS doesn't need defragmentation. |Compared to MSDOSFS, that's a reasonably accurate statement, but |if you push it hard enough, it will still become fragmented. = The process of installing Windows on a clean disk leaves the disk in need of defragmenting. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: need some advice
On 28 Jul Trevor Sullivan wrote: > I would recommend purchasing an Athlon 64 3000+ Venice core. I just > picked one of these up along with 2 gigs of ram and a 6600GT and it > runs sooo nice. Not only that, but it's cheap. I tend to switch to this 3000+ Venice core thing. Problem is finding a motherboard that ALSO is fully supported by FreeBSD. It seems lots of those 939 boards are not ;-( If you are running fbsd, which motherboard did you choose? Finding the rest is no problem ;-) -- dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 4.11-stable ++ FreeBSD 5.4 + Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: defragmentation in FreeBSD 4.11
On Fri, 29 Jul 2005 21:13:49 +0800, MikeM <[EMAIL PROTECTED]> wrote: On 7/28/2005 at 11:57 AM Bob Johnson wrote: |Microsoft used to claim that NTFS doesn't need defragmentation. |Compared to MSDOSFS, that's a reasonably accurate statement, but |if you push it hard enough, it will still become fragmented. = The process of installing Windows on a clean disk leaves the disk in need of defragmenting. As he said, "if you push it hard enough, it will still become fragmented" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Need a good Unix script that..
I need a simple sh script that will daily (via cron) crawl a website looking for multiple keywords, then reporting those keyword results and URL to an email address. Anyone know of a pre-written script that does this, or point me in the right direction in using the FreeBSD core commands that can accomplish this? Michael ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: gmirror synchronization...
Casper on 2005-07-29 17:09:12 +0300: > I have setuped two disks for mirror: > #gmirror label -v -b round-robin www-mirror /dev/ad6 > #gmirror insert www-mirror /dev/ad4 That's not a complete gmirror setup that will load on boot. You should see http://people.freebsd.org/~rse/mirror/ for a thorough tutorial. > Why so long if there is only ~7mb on disk yet... gmirror is not aware of the filesystem used with it. When you synchronize the disks, it's not copy ~7mb of files, it's copying bit-for-bit the contents of one disk/partition to another. pgpeGHTV4F8a1.pgp Description: PGP signature
dhclient ddns update script
Hello, Does anyone have a dhclient updater script that calls nsupdate whenever the external IP changes? I've got an external IP, which changes occationally, usually at an inopportune time, i want a dhclient-hook, can't remember the fullname of that, that will notify the ddns server and update an A record. Thanks. Dave. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How to restore MBR / boot0
Hi list, I know the command how to restore the MBR ('fdisk -B -b /boot/boot0 ad0), but know this stupid question of mine (Windows has overwritten the old MBR with its own): How do I manage to get to a working prompt with at least some useful commands such as 'mount' available? I tried the fixit shell from my 5.4-bootonly disk but that didn't help me very much. :/ Please help! :) Jörg___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: need some advice
Dick Hoogendijk wrote: On 28 Jul Trevor Sullivan wrote: I would recommend purchasing an Athlon 64 3000+ Venice core. I just picked one of these up along with 2 gigs of ram and a 6600GT and it runs sooo nice. Not only that, but it's cheap. I tend to switch to this 3000+ Venice core thing. Problem is finding a motherboard that ALSO is fully supported by FreeBSD. It seems lots of those 939 boards are not ;-( If you are running fbsd, which motherboard did you choose? ASUS A8V Deluxe (no wifi). However, I think any VIA k8t800Pro should basically work. Upside: Twin SATA RAID (VIA + Promise) and legacy IDE; working Gigabit Ethernet; PS/2 keyboard + mouse; one serial port; 6 USB2 (untested, but worked in XP); passive northbridge cooling (i.e. no noisy fan); firewire (untested). Downside: bad ACPI: power down works, suspend untested, thermal info completely missing. acpidump -t produces "acpidump: RSDT entry 2 (sig OEMB) is corrupt" before reading everything. However, apic works afaik. Only one HDD activity connector There is an SLI version but I have no idea if that's FreeBSD compatible. Runs FreeBSD i386 5.4 just fine. My experience in choosing motherboards is that only a motherboard with virtually nothing on it is "fully" supported. When I chose this one the gigabit ethernet wasn't supported, but that just wasn't important enough to me. Then support came along :-) Overall, I am happy because I haven't seen anything else that would be better. If you intend overclocking then it seems that MSI is a popular choice, but no idea about other hardware on those boards. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to restore MBR / boot0
Jörg Reisenweber wrote: Hi list, I know the command how to restore the MBR ('fdisk -B -b /boot/boot0 ad0), but know this stupid question of mine (Windows has overwritten the old MBR with its own): How do I manage to get to a working prompt with at least some useful commands such as 'mount' available? I tried the fixit shell from my 5.4-bootonly disk but that didn't help me very much. :/ http://www.freebsd.org/cgi/getmsg.cgi?fetch=61+617364+/usr/local/www/db/text/2005/freebsd-questions/20050626.freebsd-questions --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Need a good Unix script that..
Michael Sharp wrote: I need a simple sh script that will daily (via cron) crawl a website looking for multiple keywords, then reporting those keyword results and URL to an email address. Anyone know of a pre-written script that does this, or point me in the right direction in using the FreeBSD core commands that can accomplish this? If you feed the webserver's access log into various programs like analog, these will report on the keywords people used to search for when linking into the site. (This is not quite what you asked for, but I mention it because the suggestion might be closer to what you want to see... :-) Anyway, if you do not own the site & have access to the logfiles, you ought to honor things like /robots.txt and the site's policies with regard to copyright and datamining, but you could easily use lynx, curl, or anything similiar which supports a recursive/web-spider download capability, and then grep for keywords, do histograms, whatever on the content you DL. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to restore MBR / boot0
Am 29.07.2005 um 17:06 schrieb Alex Zbyslaw: http://www.freebsd.org/cgi/getmsg.cgi?fetch=61+617364+/usr/ local/www/db/text/2005/freebsd-questions/20050626.freebsd-questions Thank you, Alex. Problem solved - System is back up. :-D Jörg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Problems with booting & MBR
Alle 11:16, giovedì 28 luglio 2005, [EMAIL PROTECTED] ha scritto: > In the first disk ad0 (master) of a computer at office I had installed > linux to be used as a postgresql server. Later I installed FreeBSD 5.4 > (just to have a go at it) on a partition of the second disk ad1 (slave) to > be a postgrresql server too. > Linux lilo was the boot loader, booting linux by default and freebsd. > Now, convinced of the high quality of the latter I eliminated linux from > the first disk unfortunately without modifying lilo, and reshuffled the > FreeBSD filesystem as in my latest /etc/fstab using also the first disk: > > # DeviceMountpoint FStype Options Dump > Pass# /dev/ad1s2b noneswapsw 0 > 0 /dev/ad1s2a / ufs rw 1 > 1 /dev/ad0s1a /usr/local ufs rw 0 0 > /dev/ad0s1d /varufs rw 0 0 > /dev/ad0s1e /tmpufs rw 0 0 > /dev/acd0 /cdrom cd9660 ro,noauto 0 0 > > Now, even though I read the booting procedure in the handbook and somewhere > else in the internet, issuing the various "fdisk -b B", "disklabel -b ..", > "boot0cfg ..", I was completely unable to modify the MBR and make this > FreeBSD only computer boot directly into this OS. > > What should I do with the configuration I have? > A straightforward and step by step explanation is highly appreciated. > > P.S. Is it possible that some problems can arise by the fact that I used > an "a" slice (ad0s1a)for mounting /usr/local and freebsd starts from > ad1s1a? > > Friends, as suggested in the docs in the internet I tried both with # fdisk -B -b /boot/boot0 ad0 fdisk: cannot open disk /dev/ad0: No such file or directory and with # fdisk -B -b /boot/boot0 ad1 fdisk: cannot open disk /dev/ad1: No such file or directory WHILST my working /etc/fstab is, as I mentioned before: # DeviceMountpoint FStype Options DumpPass# /dev/ad1s2b noneswapsw 0 0 /dev/ad1s2a / ufs rw 1 1 /dev/ad0s1a /usr/local ufs rw 0 0 /dev/ad0s1d /varufs rw 0 0 /dev/ad0s1e /tmpufs rw 0 0 Why FreeBSD 5.4 cannot find /dev/ad0 and ad1? What should I do? A baffled and frustated Vittorio again ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Java 1.5.0 can't fine jre
Dear FreeBSD, I have just installed the alpha version of jdk15. I set JDK_HOME to /usr/local/jdk1.5.0 instead of /usr/local/jdk1.4.2, and I also changed my path to include jdk1.5.0/bin. But when I try to invoke java or javac, I get the following errors: [EMAIL PROTECTED]:/home/wayne/classes>javac -d . ../src/Colorme.java Error: could not find libjava.so Error: could not find Java 2 Runtime Environment. < note that my JDK_HOME is properly set: > [EMAIL PROTECTED]:/home/wayne/classes>echo $JDK_HOME /usr/local/jdk1.5.0 Is there a new name for JDK_HOME, or have I missed something else? I can see a jre/ directory in /usr/local/jdk1.5.0 just fine. Why can't java see it? -- Wayne M Barnes [EMAIL PROTECTED]fax: (314) 754-9556 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Large filesystem woes
The resolution to this problem turned out to be enabling the 3Ware 9500S "auto carving" option. This splits all partitions into 2TB chunks, which are then presented to the OS as separate LUNs. FreeBSD 5.4-RELEASE's driver for the 3Ware card does not support multiple LUNs, but the new driver (Common Layer) in 5.4-STABLE does. So if you're running in to this same problem, here's a quick run down of what you need to do: 1) Enable auto-carving in either the 3ware BIOS or in the 3dm web control panel. 2) Delete and then re-create any RAID that is larger than 2TB, that you want accessable from the OS. If you have sufficient drives available, you can migrate the data to a new RAID, instead of deleting. 3) Install 5.4-RELEASE. sysinstall will show you a single 2TB device. Feel free to use that device however you wish -- you can fill it to its boundaries. 4) cvsup to 5.4-STABLE, make buildworld buildkernel installkernel, reboot. 5) You'll now see da1 and perhaps da2 and beyond, in dmesg or camcontrol devlist. If you should ever have to reboot into the 5.4-RELEASE GENERIC kernel, the da1..n partitions will be unavailable. da0, however, will operate normally. As such it is safe to use as a boot device. (For sanity's sake it is probably best to create a much smaller slice or partition for system files, but that's your decision). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Java 1.5.0 can't fine jre
On Fri, Jul 29, 2005 at 10:30:45AM -0500, Wayne M Barnes wrote: > < note that my JDK_HOME is properly set: > Yes, but shouldn't it be JAVA_HOME? With that set, mine seems to work fine. Regards, Martin -- ,,Oh, there's a lot of opportunities, if you're knowing to take them, you know, there's a lot of opportunities, if there aren't you can make them, make or break them!'' (Tennant/Lowe) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: huh?
On Thu, Jul 28, 2005 at 03:51:50PM +, Bryan Maynard wrote: > On Thursday 28 July 2005 06:55 pm, Kirk Strauser wrote: > > On Wednesday 27 July 2005 10:39, Chris wrote: > > > > Do you have curses like "cisco rhce msce CCNA" , maybe > > > > for free ? > > > > YOU - are an idiot... Read the list name... FreeBSD Questions... > > > I think he meant to ask, "are there FreeBSD certifications similar to > > RHCE, MSCE, etc.?", which is a perfectly legitimate question. Don't > > be so quick to anger. > > Thank you for saying that. I'd actually be interested in FreeBSD > certification. I've learned a lot, but there's still so much I don't > know :-) It's coming, but it's not quite here yet. Check out http://www.bsdcertification.org/ Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 8 Dane Court Manor School Rd PGP: http://www.infracaninophile.co.uk/pgpkey Tilmanstone Tel: +44 1304 617253 Kent, CT14 0JL UK pgpFN2AJyD8PC.pgp Description: PGP signature
How to get best results from FreeBSD-questions
How to get the best results from FreeBSD questions. === Last update $Date: 2004/09/19 02:40:48 $ This is a regular posting to the FreeBSD questions mailing list. If you got it in answer to a message you sent, it means that the sender thinks that at least one of the following things was wrong with your message: - You left out a subject line, or the subject line was not appropriate. - You formatted it in such a way that it was difficult to read. - You asked more than one unrelated question in one message. - You sent out a message with an incorrect date, time or time zone. - You sent out the same message more than once. - You sent an 'unsubscribe' message to FreeBSD-questions. If you have done any of these things, there is a good chance that you will get more than one copy of this message from different people. Read on, and your next message will be more successful. This document is also available on the web at http://www.lemis.com/questions.html. = Contents: I:Introduction II: How to unsubscribe from FreeBSD-questions III: Should I ask -questions, -newbies or -hackers? IV: How to submit a question to FreeBSD-questions V:How to answer a question to FreeBSD-questions I: Introduction === This is a regular posting aimed to help both those seeking advice from FreeBSD-questions (the "newcomers"), and also those who answer the questions (the "hackers"). Note that the term "hacker" has nothing to do with breaking into other people's computers. The correct term for the latter activity is "cracker", but the popular press hasn't found out yet. The FreeBSD hackers disapprove strongly of cracking security, and have nothing to do with it. In the past, there has been some friction which stems from the different viewpoints of the two groups. The newcomers accused the hackers of being arrogant, stuck-up, and unhelpful, while the hackers accused the newcomers of being stupid, unable to read plain English, and expecting everything to be handed to them on a silver platter. Of course, there's an element of truth in both these claims, but for the most part these viewpoints come from a sense of frustration. In this document, I'd like to do something to relieve this frustration and help everybody get better results from FreeBSD-questions. In the following section, I recommend how to submit a question; after that, we'll look at how to answer one. II: How to unsubscribe from FreeBSD-questions == When you subscribed to FreeBSD-questions, you got a welcome message from [EMAIL PROTECTED] In this message, amongst other things, it told you how to unsubscribe. Here's a typical message: Welcome to the freebsd-questions@freebsd.org mailing list! If you ever want to unsubscribe or change your options (eg, switch to or from digest mode, change your password, etc.), visit your subscription page at: http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED] (obviously, substitute your mail address for "[EMAIL PROTECTED]"). You can also make such adjustments via email by sending a message to: [EMAIL PROTECTED] with the word 'help' in the subject or body (don't include the quotes), and you will get back a message with instructions. You must know your password to change your options (including changing the password, itself) or to unsubscribe. Normally, Mailman will remind you of your freebsd.org mailing list passwords once every month, although you can disable this if you prefer. This reminder will also include instructions on how to unsubscribe or change your account options. There is also a button on your options page that will email your current password to you. Here's the general information for the list you've subscribed to, in case you don't already have it: FREEBSD-QUESTIONS User questions This is the mailing list for questions about FreeBSD. You should not send "how to" questions to the technical lists unless you consider the question to be pretty technical. Normally, unsubscribing is even simpler than the message suggests: you don't need to specify your mail ID unless it is different from the one which you specified when you subscribed. If Majordomo replies and tells you (incorrectly) that you're not on the list, this may mean one of two things: 1. You have changed your mail ID since you subscribed. That's where keeping the original message from majordomo comes in handy. For example, the sample message above shows my mail ID as [EMAIL PROTECTED] Since then, I have changed it to [EMAIL PROTECTED] If I were to try to remove [EMAIL PROTECTED] from the list, it would fail: I would have to specify the name with which I joined. 2. You're subscribed to a mailing list which is subscribed t
"The Complete FreeBSD": errata and addenda
The trouble with books is that you can't update them the way you can a web page or any other online documentation. The result is that most leading edge computer books are out of date almost before they are printed. Unfortunately, The Complete FreeBSD, published by O'Reilly, is no exception. Inevitably, a number of bugs and changes have surfaced. "The Complete FreeBSD" has been through a total of five editions, including its predecessor "Installing and Running FreeBSD". Two of these have been reprinted with corrections. I maintain a series of errata pages. Start at http://www.lemis.com/errata-4.html to find out how to get the errata information. Have you found a problem with the book, or maybe something confusing? Please let me know: I'm constantly updating it. Greg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Sparc64 - Intel PRO/1000MT (82545EM)
Are there any plans for adding support for the Intel PRO/1000MT (82545EM) NIC on the Sparc64 platforms? OpenBSD Sparc64 supports it... Thanks, -Dusty ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
scanimage -L doesn't work as normal user
Hi, I just bought an Epson 2480 scanner. I'm currently at trying to make things work for ordinary users, sane-find-scanner works for normal users, but scanimage doesn't. Following the instruction I run as root: # sane-find-scanner -q found USB scanner (vendor=0x04b8 [EPSON], product=0x0121 [EPSON Scanner]) at libusb:/dev/usb0:/dev/ugen0 # scanimage -L device `snapscan:libusb:/dev/usb0:/dev/ugen0' is a EPSON EPSON Scanner flatbed scanner And I have even succesfully scanned the warranty in pnm. Then as ordinary user: $ sane-find-scanner -q found USB scanner (vendor=0x04b8 [EPSON], product=0x0121 [EPSON Scanner]) at libusb:/dev/usb0:/dev/ugen0 $ scanimage -L No scanners were identified. If you were expecting something different, check that the scanner is plugged in, turned on and detected by the sane-find-scanner tool (if appropriate). Please read the documentation which came with this software (README, FAQ, manpages). I have tried to indicate the device for scanimage but with no result: $ scanimage -d libusb:/dev/usb0:/dev/ugen0 scanimage: open of device libusb:/dev/usb0:/dev/ugen0 failed: Invalid argument Then I have tried to remove one of the devices and to change libusb with snapscan which is supposedly the backend driver. Any clues? Thanks, Erik GnuPG: http://www.locolomo.org/home/norgaard/norgaard.gpg.asc pub 1024D/11D11F9E 2003-08-15 Erik Norgaard <[EMAIL PROTECTED]> Key fingerprint = C394 81C4 D137 EEE5 39BE 82D5 3E6B FB3E 11D1 1F9E ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
dualboot winxp & freebsd
Hi, it seems it's so common knowledge to achieve this, that there isn't any info anywhere about it. So, I have a winxp hard disk at the end of a sata pci-card, and freebsd harddisk straight in the motherboard ide connection. So if both are connected, freebsd starts, and if I take cabled off the freebsd harddisk, windows starts. I cannot choose it from the bios that windows would make it first. So that rules out the solution from handbook, where it's done vice versa. Secondly, I wouldn't want any gag or grub or any other "external" programs; I'm quite sure freebsd's own bootloader can do it without problems. Question remains: how? I vaguely remember I had done it before. Thank you for your time, Mikko (using freebsd 5.4) PS: I'm not subscribed at the moment, I would appreciate if you could post a copy for me. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: need some advice
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Dick Hoogendijk wrote: > On 28 Jul Trevor Sullivan wrote: > >> I would recommend purchasing an Athlon 64 3000+ Venice core. I >> just picked one of these up along with 2 gigs of ram and a 6600GT >> and it runs sooo nice. Not only that, but it's cheap. > > > I tend to switch to this 3000+ Venice core thing. Problem is > finding a motherboard that ALSO is fully supported by FreeBSD. It > seems lots of those 939 boards are not ;-( > > If you are running fbsd, which motherboard did you choose? > > Finding the rest is no problem ;-) > Well, I bought the ECS KN1 Extreme (awesome board). I didn't really check compatibility with FreeBSD because I run Windows XP on my client machines. The reasons I went with this board are that it is well featured, it was relatively cheap compared to other socket 939 boards, and I also learned that ECS manufactures boards for other companies that rebrand them. You can never be sure what you're actually buying, so I went with the real manufacturer if that makes any sense. Sorry I couldn't be of more help. Figured I'd at least evangelize the Venice core (good choice...it runs fast and cool! :-) Trevor -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (MingW32) iD8DBQFC6omWoGycRpOgdeERA++yAKCNi/FwpBqbwVX4K/oRFFCE5ftsogCgt6ls dcfvX2f01ytCFpJLSX2vcHk= =2Bge -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: dualboot winxp & freebsd
Mikko Heiskanen wrote: it seems it's so common knowledge to achieve this, that there isn't any info anywhere about it. So, I have a winxp hard disk at the end of a sata pci-card, and freebsd harddisk straight in the motherboard ide connection. So if both are connected, freebsd starts, and if I take cabled off the freebsd harddisk, windows starts. I cannot choose it from the bios that windows would make it first. I think you can choose 'SCSI' in your BIOS. Although it is not a SCSI controller it should work. Secondly, I wouldn't want any gag or grub or any other "external" programs; I'm quite sure freebsd's own bootloader can do it without problems. Question remains: how? I vaguely remember I had done it before. # sysctl kern.geom.debugflags=16// make the MBR writable temporarily # boot0cfg -B // install the boot0 boot loader See also the manpage boot0cfg(8). Regards Björn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Is Kern/Pr 58045 really fixed?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi, I am using 5.4 release and the pr link http://www.freebsd.org/cgi/query-pr.cgi?pr=58045 is giving me problems. Has the patch been merged into the main tree? If so maybe this bug is not fixed. Is this problem in the 6.0-beta1 .iso? is their any other information i may be able to provide to help with the issue? thanx brian -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFC6osBI9Y/1VIS+jgRAvhvAKCnei1/yPX44Ir2Ifk/MAJIXg5HAACcCV6D aLxM/m8kI6J7+otuXVbVjh0= =NVAg -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Is Kern/Pr 58045 really fixed?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Glenn Dawson wrote: > At 01:01 PM 7/29/2005, you wrote: > > hi, > > I am using 5.4 release and the pr link > http://www.freebsd.org/cgi/query-pr.cgi?pr=58045 is giving me problems. > Has the patch been merged into the main tree? If so maybe this bug is > not fixed. Is this problem in the 6.0-beta1 .iso? is their any other > information i may be able to provide to help with the issue? > > >> it's listed as closed as of Wed Dec 17 21:57:46 PST 2003 > >> -Glenn thanx for the reply Glenn, if the bug has been closed for like 2 years now, maybe it might need to be reopened. In addition, the usb/PR 65436 is still listed as being open. Both pr's seem to be related, but im not sure. thanx brian -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFC6o/mI9Y/1VIS+jgRAva8AKCtSJI/VwMsdWnpOTkAobr9EL645wCfbLcY y+V2tuZhlVGeHiVjunmqgfs= =TZ3u -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Is Kern/Pr 58045 really fixed?
On Fri, Jul 29, 2005 at 04:21:58PM -0400, Brian Black wrote: > Glenn Dawson wrote: > > At 01:01 PM 7/29/2005, you wrote: > > > > hi, > > > > I am using 5.4 release and the pr link > > http://www.freebsd.org/cgi/query-pr.cgi?pr=58045 is giving me problems. > > Has the patch been merged into the main tree? If so maybe this bug is > > not fixed. Is this problem in the 6.0-beta1 .iso? is their any other > > information i may be able to provide to help with the issue? > > > > > >> it's listed as closed as of Wed Dec 17 21:57:46 PST 2003 > > > >> -Glenn > > thanx for the reply Glenn, if the bug has been closed for like 2 years > now, maybe it might need to be reopened. In addition, the usb/PR 65436 > is still listed as being open. Both pr's seem to be related, but im not > sure. If you think the problem still exists, please provide supporting evidence. Thanks, Kris pgpfHeHQUDZ7n.pgp Description: PGP signature
BSD Updates
I just signed up and started using http://bsdupdates.com on a development server to see how it worked. Haven't had any issues yet, but wanted to know if anyone else out there is using it and your opinions. Thanks, Cody ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Happy Sysadmin Day!
Today is System Administrator Appreciation Day! Friday, July 29th, 2005 6th Annual Visit www.sysadminday.com Cheers to all. - Sarath ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Is Kern/Pr 58045 really fixed?
One reason bugs get closed is that the submitters don't respond to requests from the developers for further info. A status of closed should not be interpreted to mean any bug was corrected. Ted >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] Behalf Of Brian Black >Sent: Friday, July 29, 2005 1:22 PM >To: Glenn Dawson >Cc: freebsd-questions@freebsd.org >Subject: Re: Is Kern/Pr 58045 really fixed? > > >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA1 > >Glenn Dawson wrote: >> At 01:01 PM 7/29/2005, you wrote: >> >> hi, >> >> I am using 5.4 release and the pr link >> http://www.freebsd.org/cgi/query-pr.cgi?pr=58045 is giving me >problems. >> Has the patch been merged into the main tree? If so maybe >this bug is >> not fixed. Is this problem in the 6.0-beta1 .iso? is their any other >> information i may be able to provide to help with the issue? >> >> >>> it's listed as closed as of Wed Dec 17 21:57:46 PST 2003 >> >>> -Glenn > >thanx for the reply Glenn, if the bug has been closed for like 2 years >now, maybe it might need to be reopened. In addition, the usb/PR 65436 >is still listed as being open. Both pr's seem to be related, but im not >sure. > >thanx >brian > >-BEGIN PGP SIGNATURE- >Version: GnuPG v1.4.1 (GNU/Linux) >Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > >iD8DBQFC6o/mI9Y/1VIS+jgRAva8AKCtSJI/VwMsdWnpOTkAobr9EL645wCfbLcY >y+V2tuZhlVGeHiVjunmqgfs= >=TZ3u >-END PGP SIGNATURE- >___ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to >"[EMAIL PROTECTED]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
rshd vs 5.4
Trying to connect to my new backup server running 5.4 using rsh fails. It worked well on my old backup server running 4.7 P25. inetd.conf has the /usr/libexec/rshd line un-commented. hosts.allow permits the remote host to connect to rshd. The rsh file in /etc/pam.d has been patched by hand and looks good. The message I am getting after some timeout period is: server.host.name: Connection refused It appears that inetd, which is running by the way, is not starting rshd. Can anyone give me a pointer or two to get this thing working? hal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
sunbird
Anyone successfully built Sunbird on FreeBSD4 or 5? I thought I'd start off trying but was sort of baffled by all the ./configure options... Thanks, Per olof ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: rshd vs 5.4
hal wrote: Trying to connect to my new backup server running 5.4 using rsh fails. It worked well on my old backup server running 4.7 P25. inetd.conf has the /usr/libexec/rshd line un-commented. hosts.allow permits the remote host to connect to rshd. The rsh file in /etc/pam.d has been patched by hand and looks good. The message I am getting after some timeout period is: server.host.name: Connection refused It appears that inetd, which is running by the way, is not starting rshd. Can anyone give me a pointer or two to get this thing working? hal Unfortunately, I don't know the solution for your problem, but I'm really intersted what's the point in using rshd? SSH is more common and it is secure. Security is not necessary in a trusted subnet, but sshd would suffice your needs. And FreeBSD is shipped with a working sshd configurations, what You have to do is only enabling it in rc.conf. Cheers, Gábor Kövesdán ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: scanimage -L doesn't work as normal user
On Fri, Jul 29, 2005 at 09:18:07PM +0200, Erik N??rgaard wrote: > Following the instruction I run as root: > # sane-find-scanner -q > found USB scanner (vendor=0x04b8 [EPSON], product=0x0121 [EPSON > Scanner]) at libusb:/dev/usb0:/dev/ugen0 > # scanimage -L > device `snapscan:libusb:/dev/usb0:/dev/ugen0' is a EPSON EPSON > Scanner flatbed scanner > > And I have even succesfully scanned the warranty in pnm. > > Then as ordinary user: > $ sane-find-scanner -q > found USB scanner (vendor=0x04b8 [EPSON], product=0x0121 [EPSON > Scanner]) at libusb:/dev/usb0:/dev/ugen0 > $ scanimage -L > > No scanners were identified. If you were expecting something > different, check that the scanner is plugged in, turned on and > detected by the sane-find-scanner tool (if appropriate). Please > read the documentation which came with this software (README, FAQ, > manpages). This is normally a problem with permissions. You could set them to 0666 in /etc/devfs.conf, and [re]start devfs with # /etc/rc.d/devfs start Then try using scanimage again as ordinary user. > $ scanimage -d libusb:/dev/usb0:/dev/ugen0 > scanimage: open of device libusb:/dev/usb0:/dev/ugen0 failed: > Invalid argument Cheers, -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: BSD Updates
Cody Holland wrote: > I just signed up and started using http://bsdupdates.com on a > development server to see how it worked. Haven't had any issues yet, > but wanted to know if anyone else out there is using it and your > opinions. > > > Thanks, > Cody Well - you don't need a 3rd party to keep informed as to the FreeBSD SA's. Subscribe to the list and get them when they come out. In fact, FreeBSD 5.4 is now on p6 - not p2 as that site states. -- Best regards, Chris You never know who's right, but you always know who's in charge. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How do I get rid of booteasy??? & re-install windows xp mbr using ntfs???
I am dual booting with Winblows XP and FreeBSD. I installed the FreeBSD Boot manager so I can dual boot. I now want to remove it! I have freaking scoured the [EMAIL PROTECTED] net & still have NOT found an answer??? Anyone I'm using an NTFS volume so fdisk/mbr doesn't work and neither does booting to an xp cd recovery console and using fixboot or fixmbr. The [EMAIL PROTECTED] booteasy boot manager still leaves something in the mbrnothing works! I cannot believe that I am the only human being on the planet that has encountered this problem! A LITTLE HELP??? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
onboard ethernet support
Hello all, has anyone tried to get a marvell Yukon 88E8053 pci-e gigabit ethernet card working on fbsd 5.4? Is there any support for this? -- Antoine W. Solomon Jr. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: why tun/tap but instead ordinary ethernet device (eg. fxp)
Hello, first, please _do_not_ cross post. second, please use appropriate mailing list. i have redirected this thread to freebsd-questions@ this type of question comes up quite often. its really simple: a single read(2) call on /dev/tapX will return entire ethernet frame (if any) received by tap interface (minus ethernet crc). a single write(2) call on /dev/tapX will put entire ethernet frame (w/out ethernet crc) onto tap interface outgoing queue. so, the "buf" parameter to the write(2) call on /dev/tapX device should point to a buffer with *complete* ethernet frame, including ethernet header and payload. payload could be IP packet, but it does not have to be. any protocol that uses ethernet as transport can be tunneled with tap(4) (i.e. ipx). the above is true for tun(4) with exception that tun(4) operates on IP packets. so you have to write/read complete IP packets to/from /dev/tun. Thanks for the detail explaination. As "man tap" pointed out, one can use tap drive as if using a pty device. I m not aware the obvious advantage of using tap over ordinarlly ethernet device for tunnelling programming (another example is ipsec). It may be because programming on tun/tap is alot of efficient and simpler. Can anyone pleaese explain? tun(4)/tap(4) _do_not_ use pty(4) device. they provide functionality similar to pty(4). you seem to be confused about about the concept, or i'm not understanding your question. the main purpose of the tun(4)/tap(4) is to provide _virtual_ network interface, either ip only (tun) or ethernet (tap). the key word here is /virtual/. both tun and tap are dual in their nature. on one side network interface, on the other - character device. from the network subsystem point of view the system has network interface (either ip or ethernet), so you can assign ip address, netmask, routing etc. just like with any other interface. when the network subsystem sends packet out on the interface instead of physically transmit packet over the wire tun/tap interface loopbacks it back to the user space via character device. what you do with this packet is up to you. openvpn and vtun encrypt the packet/shape it/etc. and send it over another (physical) interface to the remote host. you actually send the tun/tap packet as payload within another packet. the remote system does the reverse. it extracts payload (tun/tap packet), decrypts it, etc. and then writes it back into the character device. this will put the packet on the tun/tap interface and the network subsystem will think that is has received packet from the tun/tap interface. another example is ppp daemon. ppp is a serial protocol, that is ip packets are payload within ppp frames transmitted over the serial link. what ppp daemon does is: it receives ppp frame over the serial link, extract ip packet and writes it to the tun character device. the system thinks that is has just received ip packet from the tun interface. when the system sends ip packet out on the tun interface ppp daemon gets the same packet from the character device, puts it into ppp frame and sends it over the serial link. thus the system acts as if it was connected to the ip network with the real interface, but in fact you do not even have to have a network card (i.e. no real network interface). With vtun or openvpn, why they don't just simply use ordinary ethernet device driver but prefer tun or tap for tunneling or bridging network remote connection? Is it because applicaiton use tap or tun can send interrupt (with ioctl) to the remote client more efficiently? if so, can anyone please tell me what kind of efficiency does tun/tap over an ordianry ethernet device in terms of network programming? tun/tap both have overhead, because you have to pass network packets back and force between kernel and userspace. that is the downside. the upside is simplicity and flexibility. thanks, max ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Shell scripts, SSH sessions, and for loops, oh my!
Hi, You need to escape the metacharacters, so $ will be \$. Double quotes expand variables, single quotes do not, sou cou could just put it all in single quotes. The local system will see the $ as a literal, but the remote system will see it as a variable. Hope this helps some. Nick Larsen ( http://datanet.co.nz/ ) On 7/25/05, Damian Gerow <[EMAIL PROTECTED]> wrote: > (I don't really know /where/ to ask this question. It's not particularly > FreeBSD-centric, but the list has been good to me in the past, so hopefully > nobody minds.) > > I'm trying to write a shell script that runs a for loop in an SSH session. > Simply, I'm trying to do this: > > for HOST in `cat hostnames` ; do > ssh ${HOST} "for PROCESS in 01 02 ; do echo '${PROCESS}' ; done" > done > > But because this is run in a script, that gets translated to: > > for HOST in `cat hostnames` ; do > ssh ${HOST} "for PROCESS in 01 02 ; do echo '' ; done" > done > > Which most definitely is not what I want. > > I know a few ways around this -- expand the for loop, have a secondary > script, create a secondary script on-the-fly, etc. -- but I'm curious to see > if I can convince sh to *not* interpret ${PROCESS}. I've tried escaping it, > I've tried a double-dollar, and I've tried escaping the double-dollar: none > have worked. > > Does anyone have any ideas? > > - Damian > > P.S. Please reply privately as well to the list; thanks. > ___ > 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]"
Acess 127.0.0.1 from FreeBSD jail
Hi, I am now using chroot apache+php, and want to move to more secure FreeBSD jail. After read the FreeBSD handbook, I have been successfully created a jailed apache+php on my test server but there is a litle problem that need to be solved before I put it on my real server. I run mysql-server on this server and make it listen only to 127.0.0.1 (--bind-address option). How can I access mysql-server on this server from the jail without (1) make mysql-server listen to the real ip (I don't want to open another door to my server -- firewall can be employ but this add another complexity to my setup) or (2) using unix socket (a lot of code to change and test -- most are develop by another people). Regards, Chatchawan Wongsiriprasert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Acess 127.0.0.1 from FreeBSD jail
On Jul 29, 2005, at 11:25 PM, Chatchawan Wongsiriprasert wrote: Hi, I am now using chroot apache+php, and want to move to more secure FreeBSD jail. After read the FreeBSD handbook, I have been successfully created a jailed apache+php on my test server but there is a litle problem that need to be solved before I put it on my real server. I run mysql-server on this server and make it listen only to 127.0.0.1 (--bind-address option). How can I access mysql-server on this server from the jail without (1) make mysql-server listen to the real ip (I don't want to open another door to my server -- firewall can be employ but this add another complexity to my setup) Create a separate jail on the system and put mysql in that. Make the address of this mysql jail be 192.168.1.1 or something like that. The apache jail will be able to reach it but the outside won't. You should still have a firewall of some sort. or (2) using unix socket (a lot of code to change and test -- most are develop by another people). Using the socket option is better as it probably also performs better (I don't know this for sure -- am just guessing) Chad Regards, Chatchawan Wongsiriprasert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions- [EMAIL PROTECTED]" --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Growisofs seg faults with DVD-RAM. Anybody else seen this?
I was trying to use growisofs to write to a DVD-RAM and it kept seg faulting. It worked fine with a DVD-R. I tracked the problem down to place in the code where growisofs tries to perform an operation on a file handle it has already closed. I've implemented a workaround already. The problem is, that by my reckoning, this should affect anybody who is trying to use a DVD-RAM (not DVD+RW) with FreeBSD, but I haven't found any references to the problem on the net. I'm wondering if anybody else has seen this problem, and if you've found some other workaround for it? Or alternatively, you still have the problem and my patch would be useful to you. :-) By the way, I'm running Freebsd 5.4 Release and I'm using dvd+rw-tools 5.21.4.10.8 with an ATAPI DVD burner configured to be /dev/cd1. Thanks, Carl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Growisofs seg faults with DVD-RAM. Anybody else seen this?
On Friday, 29 July 2005 at 22:50:13 -0700, Carl Delsey wrote: > I was trying to use growisofs to write to a DVD-RAM and it kept > seg faulting. It worked fine with a DVD-R. > > I tracked the problem down to place in the code where growisofs > tries to perform an operation on a file handle it has already > closed. > > I've implemented a workaround already. The problem is, that by my > reckoning, this should affect anybody who is trying to use a DVD-RAM > (not DVD+RW) with FreeBSD, but I haven't found any references to the > problem on the net. My guess is that DVD-RAM isn't popular enough, and that people who have had problems with it haven't had the understanding to track the bug down. > I'm wondering if anybody else has seen this problem, and if you've > found some other workaround for it? Or alternatively, you still have > the problem and my patch would be useful to you. :-) Is this a workaround or a fix? The latter is obviously preferable. Also, does this only affect FreeBSD, or is it general? In the former case, contact the maintainer (mail address in the Makefile); in the latter, contact the project. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. pgpSLAfTK6V20.pgp Description: PGP signature
Shell script help
I'm working on a new port, and the one thing I can't seem to solve is the man pages. They install fine, but they're not formatted right. In the Makefile that is built from configure, this is the section that handles the man pages: @cd $(TOP_DIR)/doc; for i in *.n; \ do \ rm -f $(MAN_INSTALL_DIR)/`basename $$i`; \ rm -f $(MAN_INSTALL_DIR)/`basename iwidgets_$$i`; \ sed -e '/man\.macros/r man.macros' -e '/man\.macros/d' \ $$i > $(MAN_INSTALL_DIR)/`basename iwidgets_$$i`; \ chmod 444 $(MAN_INSTALL_DIR)/`basename iwidgets_$$i`; \ done; Running what I *thought* was the same sed command in the Makefile of the port doesn't solve the problem of the formatting of the man pages, but it doesn't generate any errors either: @${SED} -e '/man\.macros/r man.macros' -e '/man\.macros/d' ${WRKSRC}/doc/${f} \ > ${WRKDIR}/${f} Can someone explain what the sed command is doing? The man page isn't much help. Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Shell script help
in message <[EMAIL PROTECTED]>, wrote Paul Schmehl thusly... > > Running what I *thought* was the same sed command in the Makefile > of the port doesn't solve the problem of the formatting of the man > pages, but it doesn't generate any errors either: > > @${SED} -e '/man\.macros/r man.macros' -e '/man\.macros/d' > ${WRKSRC}/doc/${f} \ >> ${WRKDIR}/${f} > > Can someone explain what the sed command is doing? The man page > isn't much help. In the 1st part, sed sends the output of file 'man.macros' to standard out if it exists (otherwise no worries) when sed sees the 'man\.macros' pattern. And the 2d part, just deletes that pattern. There in the sed(1) man page all is. Or, line by line try this ... rm -f q ; echo polka > p { echo p ; echo q; echo p; } | sed -e '/p/r p' -e '/p/d' { echo p ; echo q; echo p; } | sed -e '/p/r q' -e '/p/d' - Parv -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"