what ports to open in firewall for bitlord

2009-12-08 Thread Fbsd1
Want to allow the bitlord progran to pass through my firewall. Does 
anyone know the port numbers it uses for out bound and inbound packets.


Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: update/upgrade question

2009-12-08 Thread Alex Huth
* Matthew Seaman schrieb:
 Alex Huth wrote:
 
 Yes.  If you want to track one of the development branches (HEAD, RELENG_N)
 then you have to update sources by csup(1) or various other mechanisms and
 then compile your kernel+world yourself.
 
 Alternatively you can track release branches (RELENG_N_M) in the same way,
 or so long as the release branch is still in support, you can use
 freebsd-update(8) to pull down pre-built binary updates. 
 
 
thx, this was a good explanation. Maybe one last (hopefully ;) ) question to
this topic. How can i see if a update has a kernel update, to prevent
unnessecary reboots?

thx

Alex


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: won't boot after 8.0-RELEASE upgrade

2009-12-08 Thread Ruben de Groot
On Mon, Dec 07, 2009 at 08:40:52AM -0800, Ivo Karabojkov typed:
 
 I'm sharing this experience to bring your attention to major advice in the
 update procedure - to take full backup.

While not very new, that's allways good advice ;)

 My question is: how can I guess the result - Glory or Sorrow BEFORE
 starting the update?

Before starting: read the relnotes and errata and search for possible
problems, especially with your particular hardware.

Then, if you decide to go ahead, install the new kernel and try to boot it
in single user mode. This won't destroy anything and if you experience problems
like missing devices you can easily back out by booting kernel.old.

Ruben
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD is too filesystem errors sensitive

2009-12-08 Thread Ivan Voras

cronfy wrote:

Hello.

Please forgive me for probably a very stupid question. But why is 
FreeBSD so sensitive to filesystem errors that it ends up with panics 
like 'freeing free block' or 'ffs_valloc: dup alloc'? I just can't get 
it. Failed to allocate vnode? Go allocate another one! Freeing free 
block? Leave it free then! I understand these situations should never 
happen, but the hell why is it required to panic and kill everything 
that would be working happily even if something very disasterous happen 
to /backup partition, in example?


Would be very appreciated if someone could explain that... thanks.


Probably because UFS is not designed to be a backup file system but a 
working one :)


All those errors indicate file system corruption. To protect other data 
from getting corrupted (e.g. by invalid pointers or calculations), the 
kernel panics.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Why do I need a bunch of mappings for ld-elf.so in FreeBSD 8?

2009-12-08 Thread Ruben de Groot
On Mon, Dec 07, 2009 at 05:35:47PM -0800, Paul Hoffman typed:
 Greetings. I upgraded a 7.2 system to 8.0 using 'freebsd-update install'. At 
 some time during the process, I could no longer log in remotely because bash 
 could not start due to /libexec/ld-elf.so not finding the right libraries. I 
 added a bunch of lines to /etc/libmap.conf so that I could continue, and did 
 a full 'portupgrade -af'. 'freebsd-update fetch' reports nothing to fetch, 
 but I can't remove the lines from /etc/libmap.conf.
 
 How do I get a /libexec/ld-elf.so that has up-to-date mappings internal to it?

These mappings are not internal to ld-elf.so.

Could you post the contents of your libmap.conf and the output of 
ldd /usr/local/bin/bash ?

Also the errors bash gives when started without the mappings in libmap.conf.

Ruben

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD is too filesystem errors sensitive

2009-12-08 Thread CyberLeo Kitsana
Ivan Voras wrote:
 cronfy wrote:
 ... but the hell why is it required to panic and kill everything
 that would be working happily even if something very disasterous
 happen to /backup partition, in example?
 
 All those errors indicate file system corruption. To protect other data
 from getting corrupted (e.g. by invalid pointers or calculations), the
 kernel panics.

...and (hopefully) reboots, determines that there were filesystem
errors, and attempts to correct them with fsck(8)

-- 
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
cyber...@cyberleo.net

Furry Peace! - http://.fur.com/peace/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD is too filesystem errors sensitive

2009-12-08 Thread cronfy


Please forgive me for probably a very stupid question. But why is 
FreeBSD so sensitive to filesystem errors that it ends up with panics 
like 'freeing free block' or 'ffs_valloc: dup alloc'? I just can't 
get it. Failed to allocate vnode? Go allocate another one! Freeing 
free block? Leave it free then! I understand these situations should 
never happen, but the hell why is it required to panic and kill 
everything that would be working happily even if something very 
disasterous happen to /backup partition, in example?
Probably because UFS is not designed to be a backup file system but a 
working one :)


All those errors indicate file system corruption. To protect other 
data from getting corrupted (e.g. by invalid pointers or 
calculations), the kernel panics.


To protect us against terrorists our government do strange things too ;-)

After panic data *is* getting corrupted anyway - MySQL tables that were 
open are broken, soft-updates are unsync'ed etc etc.
Server is required to reboot, fsck, time is wasted while this occurs. 
Why all this should happen because of a single vnode fail? Why not just 
throw message in /var/log/messages, return oh, I failed to save a file 
to the process that initiated the operation and just go on? Are 
consequences of attept to free already free block *so* dangerous that 
it is needed to give up on EVERYTHING? Let's say it was not /backup 
partition, ok, it was /var/tmp/some-php-session or even 
/var/cron/tabs/someuser file that failed. So what? Even 
/boot/kernel/kernel corruption is not critical if you are not going to 
reboot right now (or if you have /boot/kernel.old :)


Is there a way to say Dear kernel, don't panic, I'am holding your hand, 
keep working please-please-please? If so, can it lead to complete 
filesystem corruption indeed or it is not so serious?


Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


set up of hp laserjet 2200dn with Jetdirect 610N on network

2009-12-08 Thread David Southwell
Hi

Thanks in advance for any replies.

I am trying to set up a freebsd 7.2 p3 system to be able to print from
an hp laserjet 2200dn equipped with a built in 10/100 jetdirect 610N. The 
printer is also used by a number of MS$ systems on the same subnet as the 
server so I know the printer is working and configured to print both text and 
graphics and to use the double sided facility. I need to use similar 
facilities from the server.

On the windows XP systems the printer is identified by a port entry in the 
form [my_device].[my_domain].[my_tld]:HP LaserJet 2200 in the printer 
properties. The HP JetDirect Configuration report includes the following info:

Model Number: J4169A
Firmware Version: L.20.24

Under TCP/IP we have:
Hostname: [mydevice]
Domain Name: [my_domain].[my_tld]
# The following all show correct entries:
Ip Address:
Subnet Mask:
Default Gateway:
DNS Server:



Despite reading the documentation I seem to be having difficulty setting up 
the printer from the server. So far I have not been able to get the beast to 
print-- I have scrapped all attempts at configuring the server and would 
appreciate some guidance before I trying again!!

Thanks 

David





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD is too filesystem errors sensitive

2009-12-08 Thread cronfy



.. but the hell why is it required to panic and kill everything
that would be working happily even if something very disasterous
happen to /backup partition, in example?
  

All those errors indicate file system corruption. To protect other data
from getting corrupted (e.g. by invalid pointers or calculations), the
kernel panics.


...and (hopefully) reboots, determines that there were filesystem
errors, and attempts to correct them with fsck(8)

Why isn't it possible to do the same without a reboot?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Why do I need a bunch of mappings for ld-elf.so in FreeBSD 8?

2009-12-08 Thread Odhiambo Washington
On Tue, Dec 8, 2009 at 4:35 AM, Paul Hoffman phoff...@proper.com wrote:

 Greetings. I upgraded a 7.2 system to 8.0 using 'freebsd-update install'.
 At some time during the process, I could no longer log in remotely because
 bash could not start due to /libexec/ld-elf.so not finding the right
 libraries. I added a bunch of lines to /etc/libmap.conf so that I could
 continue, and did a full 'portupgrade -af'. 'freebsd-update fetch' reports
 nothing to fetch, but I can't remove the lines from /etc/libmap.conf.

 How do I get a /libexec/ld-elf.so that has up-to-date mappings internal to
 it?



I usually think that including COMPAT_FREEBS7 in your new kernel during the
upgrade process would save one from such agony. I have never used
freebsd-update ever, and might never, because I prefer to build a new system
from scratch, but perhaps you could try it and see if it does resolve your
problem.

There is always this instruction that you need to recompile all installed
ports, which I think you did not do. That instruction makes me sick, given
the time it would take on a critical server.


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
If you have nothing good to say about someone, just shut up!.
  -- Lucky Dube
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD is too filesystem errors sensitive

2009-12-08 Thread CyberLeo Kitsana
cronfy wrote:
 ...
 Is there a way to say Dear kernel, don't panic, I'am holding your hand,
 keep working please-please-please? If so, can it lead to complete
 filesystem corruption indeed or it is not so serious?

Drop to DDB, fix it, and 'continue'?

-- 
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
cyber...@cyberleo.net

Furry Peace! - http://.fur.com/peace/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: set up of hp laserjet 2200dn with Jetdirect 610N on network

2009-12-08 Thread Olivier Nicole
Hi David,

 Despite reading the documentation I seem to be having difficulty setting up 
 the printer from the server. So far I have not been able to get the beast to 
 print-- I have scrapped all attempts at configuring the server and would 
 appreciate some guidance before I trying again!!

Maybe you should tell us what facility you are trying to configure:
configuring cups or lpd is not exactly the same same.

I have had success for many years, with many models of HP printers,
through a Perl script, used as output filter for lpd, the script would
connect to the printer on TCP port 9100.

Bests,

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: set up of hp laserjet 2200dn with Jetdirect 610N on network

2009-12-08 Thread Boris Samorodov
On Tue, 8 Dec 2009 10:40:02 + David Southwell wrote:

 Despite reading the documentation I seem to be having difficulty setting up 
 the printer from the server. So far I have not been able to get the beast to 
 print-- I have scrapped all attempts at configuring the server and would 
 appreciate some guidance before I trying again!!

Please, show your configuration files and diagnostic messages.

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD is too filesystem errors sensitive

2009-12-08 Thread cronfy



...
Is there a way to say Dear kernel, don't panic, I'am holding your hand,
keep working please-please-please? If so, can it lead to complete
filesystem corruption indeed or it is not so serious?



Drop to DDB, fix it, and 'continue'?
  


If I type 'continue' kernel says 'Dumping... rebooting...'. What magic 
am I missing that you probably meant under fix it?


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Why do I need a bunch of mappings for ld-elf.so in FreeBSD 8?

2009-12-08 Thread Ruben de Groot
On Tue, Dec 08, 2009 at 01:45:59PM +0300, Odhiambo Washington typed:
 
 There is always this instruction that you need to recompile all installed
 ports, which I think you did not do. That instruction makes me sick, given
 the time it would take on a critical server.

That's why you don't do this on a critical server ;)

Set up a build-, test-, acceptance environment. If you do all this on the 
server it can't be that critical.

Ruben


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD is too filesystem errors sensitive

2009-12-08 Thread cronfy



 panics like 'freeing free block' or 'ffs_valloc: dup alloc'


Is there a way to say Dear kernel, don't panic, I'am holding your 
hand, keep working please-please-please? If so, can it lead to 
complete filesystem corruption indeed or it is not so serious?


Afaik you can't do this. And you shouldn't do if it'd be possible. The 
file system errors you mention above should not happen under any 
normal circumstances. They may happen after a crash caused by other 
reasons but should get repaired by fsck. The kernel cannot continue 
with such errors because the whole file system metadata cannot be 
trusted anymore until repaired.



Thanks.

What I can definitely state is that after reboot nothing will get any 
better. I will have same filesystem with same errors + new errors that 
appeared because soft-updates were not synced, and I will have fsck 
running in background. I'd prefer to just start fsck in background, 
skipping that annoying reboot phase ;-) Am I willing strange?



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: set up of hp laserjet 2200dn with Jetdirect 610N on network

2009-12-08 Thread David Southwell
 Hi David,
 
  Despite reading the documentation I seem to be having difficulty setting
  up the printer from the server. So far I have not been able to get the
  beast to print-- I have scrapped all attempts at configuring the server
  and would appreciate some guidance before I trying again!!
 
 Maybe you should tell us what facility you are trying to configure:
 configuring cups or lpd is not exactly the same same.
 
 I have had success for many years, with many models of HP printers,
 through a Perl script, used as output filter for lpd, the script would
 connect to the printer on TCP port 9100.
 
 Bests,
 
 Olivier

Hi Olivier

Thanks for taking the time to come back to me.

I really do not mind which facility to use provided I get the results!!! 
chuckles. I do need to use as many of the printer features as possible.
I have  enable the following:
  IPP Printing : Enabled
  FTP Printing : Enabled
  LPD Printing : Enabled
  9100 Printing: Enabled
  SLP Config   : Enabled
  EWS Config   : Enabled

So I should be able to use a similar approach to you. Is the script readily 
available and what do I need to do to install and configure it?

Thanks again

David

David

 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: set up of hp laserjet 2200dn with Jetdirect 610N on network

2009-12-08 Thread Boris Samorodov
Sorry List, this is for David Southwell.

Please, be informed that your mail server does not accept messages
you may be interested in:
-
The user nvidi...@envieweb.net does not accept mail from your address.
The headers of the message sent from your address are show below:
...
-

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: set up of hp laserjet 2200dn with Jetdirect 610N on network

2009-12-08 Thread David Southwell
 On Tue, 8 Dec 2009 10:40:02 + David Southwell wrote:
 Hi
 
 Thanks in advance for any replies.
 
 I am trying to set up a freebsd 7.2 p3 system to be able to print from
 an hp laserjet 2200dn equipped with a built in 10/100 jetdirect 610N. The
 printer is also used by a number of MS$ systems on the same subnet as the
 server so I know the printer is working and configured to print both text
  and graphics and to use the double sided facility. I need to use similar
  facilities from the server.
 
 On the windows XP systems the printer is identified by a port entry in the
 form [my_device].[my_domain].[my_tld]:HP LaserJet 2200 in the printer
 properties. The HP JetDirect Configuration report includes the following
  info:
 
 Model Number: J4169A
 Firmware Version: L.20.24
 
 Under TCP/IP we have:
 Hostname: [mydevice]
 Domain Name: [my_domain].[my_tld]
 # The following all show correct entries:
 Ip Address:
 Subnet Mask:
 Default Gateway:
 DNS Server:
 
 
 
 Despite reading the documentation I seem to be having difficulty setting up
 the printer from the server. So far I have not been able to get the beast
  to print-- I have scrapped all attempts at configuring the server and
  would appreciate some guidance before I trying again!!
 

 Please, show your configuration files and diagnostic messages.
 
Unfortunately as I said I have scrapped the configuration attempts and files 
and cleaned the logs ready for a new start...I felt it was a mess and the 
history had become part of the problem!! So I cleaned the decks and  am ready 
to start again !!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: set up of hp laserjet 2200dn with Jetdirect 610N on network

2009-12-08 Thread Boris Samorodov
On Tue, 8 Dec 2009 11:17:24 + David Southwell wrote:
  On Tue, 8 Dec 2009 10:40:02 + David Southwell wrote:

  Please, show your configuration files and diagnostic messages.
  
 Unfortunately as I said I have scrapped the configuration attempts and files 
 and cleaned the logs ready for a new start...I felt it was a mess and the 
 history had become part of the problem!! So I cleaned the decks and  am ready 
 to start again !!

Then do start! After doing so, show your configuration files and
diagnostic messages. We will be glad to help you.

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD is too filesystem errors sensitive

2009-12-08 Thread CyberLeo Kitsana
cronfy wrote:
 
 ...
 Is there a way to say Dear kernel, don't panic, I'am holding your hand,
 keep working please-please-please? If so, can it lead to complete
 filesystem corruption indeed or it is not so serious?
 

 Drop to DDB, fix it, and 'continue'?
   
 
 If I type 'continue' kernel says 'Dumping... rebooting...'. What magic
 am I missing that you probably meant under fix it?

That's the point.

Once you have the requisite knowledge and understanding of the innards
of the kernel and the intricacies of the filesystem, and how these two
interact, then you will know how to 'fix it'. With that understanding,
you may also know when it is safe to tell the kernel to ignore a panic
that occurs to inform you of a critical problem that could cause far
more damage were it left alone.

-- 
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
cyber...@cyberleo.net

Furry Peace! - http://.fur.com/peace/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: set up of hp laserjet 2200dn with Jetdirect 610N on network

2009-12-08 Thread Olivier Nicole
David,

 So I should be able to use a similar approach to you. Is the script readily 
 available and what do I need to do to install and configure it?

I can share, but right now I have to go back home, I'll send it to you
tomorrow.

If you simply:

telnet your.printer 9100
 and type some text

you will get that text printed!

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD is too filesystem errors sensitive

2009-12-08 Thread Erik Trulsson
On Tue, Dec 08, 2009 at 02:09:03PM +0300, cronfy wrote:
 
   panics like 'freeing free block' or 'ffs_valloc: dup alloc'
 
  Is there a way to say Dear kernel, don't panic, I'am holding your 
  hand, keep working please-please-please? If so, can it lead to 
  complete filesystem corruption indeed or it is not so serious?
 
  Afaik you can't do this. And you shouldn't do if it'd be possible. The 
  file system errors you mention above should not happen under any 
  normal circumstances. They may happen after a crash caused by other 
  reasons but should get repaired by fsck. The kernel cannot continue 
  with such errors because the whole file system metadata cannot be 
  trusted anymore until repaired.
 
 Thanks.
 
 What I can definitely state is that after reboot nothing will get any 
 better. I will have same filesystem with same errors + new errors that 
 appeared because soft-updates were not synced, and I will have fsck 
 running in background. I'd prefer to just start fsck in background, 
 skipping that annoying reboot phase ;-) Am I willing strange?

Background fsck can only handle a few, very specific, filsystem problems. 
(Basically situations where blocks are marked as being in use, even though
they are not really used by anything.  Softupdates is supposed to guarantee
that those are the only types of filesystem errors that can occur, but in
reality that guarantee does not always hold.)

If you have other instances of filesystem corruption (which includes
everything which can trigger a kernel panic) you need to use a foreground
fsck to fix it.


Personally I would recommend not using background fsck at all unless you
know exactly what you are doing and why.



-- 
Insert your favourite quote here.
Erik Trulsson
ertr1...@student.uu.se
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD is too filesystem errors sensitive

2009-12-08 Thread Konrad Heuer



On Tue, 8 Dec 2009, cronfy wrote:



Please forgive me for probably a very stupid question. But why is FreeBSD 
so sensitive to filesystem errors that it ends up with panics like 
'freeing free block' or 'ffs_valloc: dup alloc'? I just can't get it. 
Failed to allocate vnode? Go allocate another one! Freeing free block? 
Leave it free then! I understand these situations should never happen, but 
the hell why is it required to panic and kill everything that would be 
working happily even if something very disasterous happen to /backup 
partition, in example?
Probably because UFS is not designed to be a backup file system but a 
working one :)


All those errors indicate file system corruption. To protect other data 
from getting corrupted (e.g. by invalid pointers or calculations), the 
kernel panics.


To protect us against terrorists our government do strange things too ;-)

After panic data *is* getting corrupted anyway - MySQL tables that were open 
are broken, soft-updates are unsync'ed etc etc.
Server is required to reboot, fsck, time is wasted while this occurs. Why all 
this should happen because of a single vnode fail? Why not just throw message 
in /var/log/messages, return oh, I failed to save a file to the process 
that initiated the operation and just go on? Are consequences of attept to 
free already free block *so* dangerous that it is needed to give up on 
EVERYTHING? Let's say it was not /backup partition, ok, it was 
/var/tmp/some-php-session or even /var/cron/tabs/someuser file that failed. 
So what? Even /boot/kernel/kernel corruption is not critical if you are not 
going to reboot right now (or if you have /boot/kernel.old :)


Is there a way to say Dear kernel, don't panic, I'am holding your hand, keep 
working please-please-please? If so, can it lead to complete filesystem 
corruption indeed or it is not so serious?


Afaik you can't do this. And you shouldn't do if it'd be possible. The 
file system errors you mention above should not happen under any normal 
circumstances. They may happen after a crash caused by other reasons but 
should get repaired by fsck. The kernel cannot continue with such errors 
because the whole file system metadata cannot be trusted anymore until 
repaired.


I use FreeBSD with UFS for more than 15 years now; partially on heavily 
loaded and i/o-bound systems. I never had any serious filesystem problems 
as long as the disks or the storage area network (san) didn't fail.


In the worst case, after a san crash, I had to run fsck three times (one 
run immediately after the other) in single user mode on large partitions 
until all errors were repaired.


Best regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, kheu...@gwdg.de

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD is too filesystem errors sensitive

2009-12-08 Thread Konrad Heuer


On Tue, 8 Dec 2009, Erik Trulsson wrote:


On Tue, Dec 08, 2009 at 02:09:03PM +0300, cronfy wrote:



 panics like 'freeing free block' or 'ffs_valloc: dup alloc'


Is there a way to say Dear kernel, don't panic, I'am holding your
hand, keep working please-please-please? If so, can it lead to
complete filesystem corruption indeed or it is not so serious?


Afaik you can't do this. And you shouldn't do if it'd be possible. The
file system errors you mention above should not happen under any
normal circumstances. They may happen after a crash caused by other
reasons but should get repaired by fsck. The kernel cannot continue
with such errors because the whole file system metadata cannot be
trusted anymore until repaired.


Thanks.

What I can definitely state is that after reboot nothing will get any
better. I will have same filesystem with same errors + new errors that
appeared because soft-updates were not synced, and I will have fsck
running in background. I'd prefer to just start fsck in background,
skipping that annoying reboot phase ;-) Am I willing strange?


Background fsck can only handle a few, very specific, filsystem problems.
(Basically situations where blocks are marked as being in use, even though
they are not really used by anything.  Softupdates is supposed to guarantee
that those are the only types of filesystem errors that can occur, but in
reality that guarantee does not always hold.)

If you have other instances of filesystem corruption (which includes
everything which can trigger a kernel panic) you need to use a foreground
fsck to fix it.


That's true. You should go down to single user mode by entering shutdown 
now, unmount your filesystems (umount -a -t ufs) and check your 
filesystem by fsck -y. Please read man fsck before since implicitly 
answering all questions with yes by -y may cause loss of data !!!


(To tell the truth: You probably have to do so anyway.)


Personally I would recommend not using background fsck at all unless you
know exactly what you are doing and why.


Best regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, kheu...@gwdg.de

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: update/upgrade question

2009-12-08 Thread Ondřej Majerech
2009/12/8 Alex Huth a.h...@tmr.net:
 * Matthew Seaman schrieb:
 Alex Huth wrote:

 Yes.  If you want to track one of the development branches (HEAD, RELENG_N)
 then you have to update sources by csup(1) or various other mechanisms and
 then compile your kernel+world yourself.

 Alternatively you can track release branches (RELENG_N_M) in the same way,
 or so long as the release branch is still in support, you can use
 freebsd-update(8) to pull down pre-built binary updates.


 thx, this was a good explanation. Maybe one last (hopefully ;) ) question to
 this topic. How can i see if a update has a kernel update, to prevent
 unnessecary reboots?

You can just csup your base system -- csup prints what files are being
patched as it goes, if it doesn't list anything, then you already are
at the latest revision of the branch you chose.

But basically, if you're using -RELEASE, the sources won't change much
-- only when a patch is released (for instance, 8.0-RELEASE-p1, p1
meaning first patch for 8.0-R) or when a new minor or major is
released -- both will be announced on the freebsd-announce mailing
list and usually on the forums as well.  If you're tracking -STABLE or
-CURRENT, the sources are likely to change often, so if you update
after some reasonable time (a few days, perhaps hours -- just don't
expect there to be anything new each five minutes), you'll always get
something new.

~ Ondra
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


keeping system base update and problems with CPUTYPE

2009-12-08 Thread ocean
i've read the manual section, and there's really not much informations 
on this.


i've looked into /usr/src/Makefile and Makefile.incl i've seen there are 
options to update /usr/src using svn (wich would be my preferred option) 
or cvs, but i haven't been able to configure it in any way.


i think i could just do:
svn checkout svn://svn.freebsd.org/base/stable/8/ /usr/src

but i wanted to keep it clean and organized using make in /usr/src
can someone point me to some informations about this or help me sorting 
this out?



i think i've also found an unexpected behaviour in make buildworld, 
i've put src.conf and makefile.conf in /etc/


CPUTYPE?=pentium-m
CFLAGS= -O2 -fno-strict-aliasing -pipe

buildkernel and ports build with the cflags and added -march=pentium-m

buildworld builds with the cflags i've specified without adding -march.
that's a strane behaviour since i think buildworld should build with 
CPUTYPE defined in /etc/make.conf, if you don't define another CPUTYPE 
variable.


i've also tried to do:
make CPUTYPE=pentium-m buildworld
and also this way -march isn't added to cflags

i wanted to ask if it's my fault before filling a PR about this.

only way i found to get -march=pentium-m on buildworld is to add it 
myself to CFLAGS in make.conf.


regards
ocean
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


set up of hp laserjet 2200dn with Jetdirect 610N on network

2009-12-08 Thread Robert Huff

David Southwell writes:

  I am trying to set up a freebsd 7.2 p3 system to be able to print
  from an hp laserjet 2200dn equipped with a built in 10/100
  jetdirect 610N. The printer is also used by a number of MS$
  systems on the same subnet as the server so I know the printer is
  working and configured to print both text and graphics and to use
  the double sided facility. I need to use similar facilities from
  the server.

I recently used CUPS to connect to a LaserJet 6 series with a
non HP (but supposedly HP-compatible) print server.  After some
help, I entered socket://IP address in the appropriate field
... and everything Just Works.


Robert Huff

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Gnome desktop for 5 y/o

2009-12-08 Thread Charles Howse
Hi,
I have a 6.4-STABLE machine running in command line only for my Apache
webserver.
I'm thinking of installing a Gnome desktop on it for my 5 y/o grandson and
grown daughter to use so they won't be pestering me to use my pc.

The 5 y/o won't need anything except Firefox, some disk-based games and
Parental Controls.
For the Parental Controls, I need to limit the websites he can visit, and
the time of day he can use the computer.

The daughter will only need Firefox and a decent word processor.

The computer is a P3 600, 256mb ram, ATI 3D Rage IIc video, plenty of disk
space.

Will Gnome2 or gnome-lite be faster?

What is available for Parental Controls?

Should I forget it because it will be too slow based on the machine's
hardware?

--
Later,
Charles



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: set up of hp laserjet 2200dn with Jetdirect 610N on network

2009-12-08 Thread David Southwell
 David,
 
  So I should be able to use a similar approach to you. Is the script
  readily available and what do I need to do to install and configure it?
 
 I can share, but right now I have to go back home, I'll send it to you
 tomorrow.
 
 If you simply:
 
 telnet your.printer 9100
  and type some text
 
 you will get that text printed!
 
 Olivier
 
That worked
Thank you v much . I look forward to that

BTW Does the script handle raw PCL/postscript?

David
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: set up of hp laserjet 2200dn with Jetdirect 610N on network

2009-12-08 Thread David Southwell
 David Southwell writes:
   I am trying to set up a freebsd 7.2 p3 system to be able to print
   from an hp laserjet 2200dn equipped with a built in 10/100
   jetdirect 610N. The printer is also used by a number of MS$
   systems on the same subnet as the server so I know the printer is
   working and configured to print both text and graphics and to use
   the double sided facility. I need to use similar facilities from
   the server.
 
   I recently used CUPS to connect to a LaserJet 6 series with a
 non HP (but supposedly HP-compatible) print server.  After some
 help, I entered socket://IP address in the appropriate field
 ... and everything Just Works.
 
 
   Robert Huff
 
Hi Robert
Seasons greetings

Thanks v. much.

With help from Olivier Nicole I was able to telnet to the printer 9100 and 
text types got printed. My questions now are:

1. How do I manage to print single/double sided and determine the page 
orientation for different jobs?
2. How do I print images/ PCl /postscript.

Olivier has a script which he will be sending me tomorrow but I do not know 
whether that deals with those issues.

Warm regards

david

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Gnome desktop for 5 y/o

2009-12-08 Thread ocean
i think it could go fine on this computer, use gnome lite and also add 
the needed ports to have a fairly nice system (gnome-backgrounds 
etc...). compile from ports with some optimizations (-O2 
-fno-strict-aliasing and consider if -pipe could be used or not based on 
your ram memory). for firefox consider you'll have probably to use also 
linux compatibility layer with flash (don't know if it's on 6.4)


for parental control check this thread in ml:
http://lists.freebsd.org/pipermail/freebsd-questions/2007-June/152543.html
http://lists.freebsd.org/pipermail/freebsd-questions/2007-July/152728.html

regards
ocean


Charles Howse wrote:

Hi,
I have a 6.4-STABLE machine running in command line only for my Apache
webserver.
I'm thinking of installing a Gnome desktop on it for my 5 y/o grandson and
grown daughter to use so they won't be pestering me to use my pc.

The 5 y/o won't need anything except Firefox, some disk-based games and
Parental Controls.
For the Parental Controls, I need to limit the websites he can visit, and
the time of day he can use the computer.

The daughter will only need Firefox and a decent word processor.

The computer is a P3 600, 256mb ram, ATI 3D Rage IIc video, plenty of disk
space.

Will Gnome2 or gnome-lite be faster?

What is available for Parental Controls?

Should I forget it because it will be too slow based on the machine's
hardware?

--
Later,
Charles



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: set up of hp laserjet 2200dn with Jetdirect 610N on network

2009-12-08 Thread usleepless
On Tue, Dec 8, 2009 at 3:26 PM, David Southwell da...@vizion2000.netwrote:

  David Southwell writes:
I am trying to set up a freebsd 7.2 p3 system to be able to print
from an hp laserjet 2200dn equipped with a built in 10/100
jetdirect 610N. The printer is also used by a number of MS$
systems on the same subnet as the server so I know the printer is
working and configured to print both text and graphics and to use
the double sided facility. I need to use similar facilities from
the server.
 
I recently used CUPS to connect to a LaserJet 6 series with a
  non HP (but supposedly HP-compatible) print server.  After some
  help, I entered socket://IP address in the appropriate field
  ... and everything Just Works.
 
 
Robert Huff
 
 Hi Robert
 Seasons greetings

 Thanks v. much.

 With help from Olivier Nicole I was able to telnet to the printer 9100 and
 text types got printed. My questions now are:

 1. How do I manage to print single/double sided and determine the page
 orientation for different jobs?
 2. How do I print images/ PCl /postscript.

 Olivier has a script which he will be sending me tomorrow but I do not know
 whether that deals with those issues.



install CUPS.

regards,

usleep




 Warm regards

 david

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: keeping system base update and problems with CPUTYPE

2009-12-08 Thread RW
On Tue, 08 Dec 2009 13:23:51 +0100
ocean ocean_i...@yahoo.it wrote:

 
 i think i've also found an unexpected behaviour in make buildworld, 
 i've put src.conf and makefile.conf in /etc/
 
 CPUTYPE?=pentium-m
 CFLAGS= -O2 -fno-strict-aliasing -pipe

You don't normally set CFLAGS in FreeBSD, it's set automatically
according to CPUTYPE. I suspect that by explicitly defining it you may
be preventing the make files from adding the -march setting in
buildword.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: Gnome desktop for 5 y/o

2009-12-08 Thread Charles Howse
Hi ocean, thanks for the reply.
Is there a browser that will work out of the box with flash?  Most of the
games the 5 y/o uses are flash-based.


 -Original Message-
 From: ocean [mailto:ocean_i...@yahoo.it]
 Sent: Tuesday, December 08, 2009 8:30 AM
 To: Charles Howse
 Cc: 'FreeBSD-Questions'
 Subject: Re: Gnome desktop for 5 y/o
 
 i think it could go fine on this computer, use gnome lite and also add
 the needed ports to have a fairly nice system (gnome-backgrounds
 etc...). compile from ports with some optimizations (-O2
 -fno-strict-aliasing and consider if -pipe could be used or not based
 on
 your ram memory). for firefox consider you'll have probably to use also
 linux compatibility layer with flash (don't know if it's on 6.4)
 
 for parental control check this thread in ml:
 http://lists.freebsd.org/pipermail/freebsd-questions/2007-
 June/152543.html
 http://lists.freebsd.org/pipermail/freebsd-questions/2007-
 July/152728.html
 
 regards
 ocean
 
 
 Charles Howse wrote:
  Hi,
  I have a 6.4-STABLE machine running in command line only for my
 Apache
  webserver.
  I'm thinking of installing a Gnome desktop on it for my 5 y/o
 grandson and
  grown daughter to use so they won't be pestering me to use my pc.
 
  The 5 y/o won't need anything except Firefox, some disk-based games
 and
  Parental Controls.
  For the Parental Controls, I need to limit the websites he can visit,
 and
  the time of day he can use the computer.
 
  The daughter will only need Firefox and a decent word processor.
 
  The computer is a P3 600, 256mb ram, ATI 3D Rage IIc video, plenty of
 disk
  space.
 
  Will Gnome2 or gnome-lite be faster?
 
  What is available for Parental Controls?
 
  Should I forget it because it will be too slow based on the machine's
  hardware?
 
  --
  Later,
  Charles
 
 
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to freebsd-questions-
 unsubscr...@freebsd.org
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Gnome desktop for 5 y/o

2009-12-08 Thread Adam Vande More
On Tue, Dec 8, 2009 at 8:47 AM, Charles Howse cho...@charter.net wrote:

 Hi ocean, thanks for the reply.
 Is there a browser that will work out of the box with flash?  Most of the
 games the 5 y/o uses are flash-based.


Please don't top post, thanks.

No there is no OOBE w/ flash.  To get a reasonable experience with flash,
you'll need to upgrade to 8(freebsd update) add in packages compiled for
8(don't forget the libusb stuff) then install flash-10

However if you're only goal is run flash stuff, this is probably not the OS
for you.

-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


flash alternative

2009-12-08 Thread PJ
I have heard that there is an alternative to flash that is apparently
more efficient and less cumbersome in terms of data transfers; and that
it is lighter whatever that may mean.
Anyone know anything about this?
TIA
PJ
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: Gnome desktop for 5 y/o

2009-12-08 Thread Charles Howse


 -Original Message-
 From: Adam Vande More [mailto:amvandem...@gmail.com]
 Sent: Tuesday, December 08, 2009 8:56 AM
 To: Charles Howse
 Cc: FreeBSD-Questions
 Subject: Re: Gnome desktop for 5 y/o
 
 On Tue, Dec 8, 2009 at 8:47 AM, Charles Howse cho...@charter.net
 wrote:
 
 
   Hi ocean, thanks for the reply.
   Is there a browser that will work out of the box with flash?
 Most of the
   games the 5 y/o uses are flash-based.
 
 
 
 Please don't top post, thanks.

My apologies to the group, I forgot.  :)



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: flash alternative

2009-12-08 Thread PJ
PJ wrote:
 I have heard that there is an alternative to flash that is apparently
 more efficient and less cumbersome in terms of data transfers; and that
 it is lighter whatever that may mean.
 Anyone know anything about this?
 TIA
 PJ
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
   
Could F3 be the alternative/replacement?
http://blogs.sun.com/bblfish/entry/f3:_a_replacement_for_flash%3F
http://blogs.sun.com/chrisoliver/

I'd like to hear some opinions on this.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: flash alternative

2009-12-08 Thread Sean Cavanaugh

From: millenia2...@hotmail.com
To: af.gour...@videotron.ca
Subject: RE: flash alternative
Date: Tue, 8 Dec 2009 10:22:25 -0500



 Date: Tue, 8 Dec 2009 10:00:01 -0500
 From: af.gour...@videotron.ca
 To: freebsd-questions@freebsd.org
 Subject: flash alternative
 
 I have heard that there is an alternative to flash that is apparently
 more efficient and less cumbersome in terms of data transfers; and that
 it is lighter whatever that may mean.
 Anyone know anything about this?
 TIA
 PJ

if yer refering to gnash then yes it is lighter, but I have had issues where 
it does not work for every flash based website.

  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: flash alternative

2009-12-08 Thread usleepless
On Tue, Dec 8, 2009 at 4:12 PM, PJ af.gour...@videotron.ca wrote:

 PJ wrote:
  I have heard that there is an alternative to flash that is apparently
  more efficient and less cumbersome in terms of data transfers; and that
  it is lighter whatever that may mean.
  Anyone know anything about this?


I think you are referring to Silverlight, right?

Silverlight on FreeBSD is extremely lightweight.

regards,

usleep


  TIA
  PJ
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org
 
 Could F3 be the alternative/replacement?
 http://blogs.sun.com/bblfish/entry/f3:_a_replacement_for_flash%3F
 http://blogs.sun.com/chrisoliver/

 I'd like to hear some opinions on this.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


webdav

2009-12-08 Thread Dominic Fandrey
Is there any way to mount webdav into the file system (like on OS-x
or fuse-dav)?

Regards

-- 
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail? 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Postfix and vacation on FreeBSD 7.2 ?

2009-12-08 Thread Frank Bonnet

Hello

Since I migrated my mailhub to FreeBSD 7.2-R, the messages send through 
the vacation program are From MAILER-DAEMON and not from

the original account that it has been sent ...

Anyone has this problem ?

Postfix problem or FreeBSD misconfiguration ?

Thanks a lot for any info
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: set up of hp laserjet 2200dn with Jetdirect 610N on network

2009-12-08 Thread Warren Block

On Tue, 8 Dec 2009, David Southwell wrote:


I am trying to set up a freebsd 7.2 p3 system to be able to print from
an hp laserjet 2200dn equipped with a built in 10/100 jetdirect 610N. The
printer is also used by a number of MS$ systems on the same subnet as the
server so I know the printer is working and configured to print both text and
graphics and to use the double sided facility. I need to use similar
facilities from the server.


Graphics, text, and duplexing are all determined by the contents of the 
file to be printed.



Despite reading the documentation I seem to be having difficulty setting up
the printer from the server. So far I have not been able to get the beast to
print-- I have scrapped all attempts at configuring the server and would
appreciate some guidance before I trying again!!


If you just want to manually print files, netcat (nc) is the lowest 
overhead.  Where printer is the printer DNS hostname and printfile is 
the file to be printed:


nc printer 9100  printfile

There's no spooling with that.  You mention server, but don't say 
whether other machines will be submitting print jobs through the server. 
For that you'd need spooling.  Lots of people use CUPS, while I prefer 
lpd.  One or the other may be preferable depending on the clients doing 
the printing.


-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 freebsd-questions-unsubscr...@freebsd.org


Re: Why do I need a bunch of mappings for ld-elf.so in FreeBSD 8?

2009-12-08 Thread Paul Hoffman
At 11:05 AM +0100 12/8/09, Ruben de Groot wrote:
On Mon, Dec 07, 2009 at 05:35:47PM -0800, Paul Hoffman typed:
  Greetings. I upgraded a 7.2 system to 8.0 using 'freebsd-update install'. 
  At some time during the process, I could no longer log ...
...snip...
... t remove the lines from /etc/libmap.conf.

 How do I get a /libexec/ld-elf.so that has up-to-date mappings internal to 
 it?

These mappings are not internal to ld-elf.so.

Ah, I interpreted that from the error message.

Could you post the contents of your libmap.conf

These are the four I needed to get the normal packages working on my system. My 
concern is that there may be more:
libcrypt.so.4   libcrypt.so.5
libncurses.so.7 libncurses.so.8
libutil.so.7libutil.so.8
libcrypto.so.5  libcrypto.so.6

and the output of
ldd /usr/local/bin/bash ?

/usr/local/bin/bash:
libncurses.so.7 = not found (0x0)
libintl.so.8 = /usr/local/lib/libintl.so.8 (0x2811f000)
libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x28131000)
libc.so.7 = /lib/libc.so.7 (0x28227000)

Also the errors bash gives when started without the mappings in libmap.conf.

Just commenting out the libncurses line, then trying to log in as a user whose 
shell is bash:
/libexec/ld-elf.so.1: Shared object libncurses.so.7 not found, required by 
bash
Removing the commmenting immediately changes this back to working.

In looking more closely, I can see that bash was *not* remade by 'portupgrade 
-af'. I suspect it is because I installed it from binary during the initial 
installation. If that's true, it completely sucks and is a serious bug in 
portupgrade.

There was no work directory in /usr/ports/shells/bash. Doing a 'make; make 
deinstall; make reinstall' makes it so I don't need the map any more.


At 1:45 PM +0300 12/8/09, Odhiambo Washington wrote:
I usually think that including COMPAT_FREEBS7 in your new kernel during the 
upgrade process would save one from such agony. I have never used 
freebsd-update ever, and might never, because I prefer to build a new system 
from scratch, but perhaps you could try it and see if it does resolve your 
problem.

I'm using the GENERIC kernel, never re-built.

There is always this instruction that you need to recompile all installed 
ports, which I think you did not do. That instruction makes me sick, given the 
time it would take on a critical server.

I *did* do it, as I said in my earlier message. It takes forever, but it 
doesn't cause any interruption on the server (which, in my case, is only 
semi-critical).

--Paul Hoffman
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Gnome desktop for 5 y/o

2009-12-08 Thread krad
2009/12/8 Charles Howse cho...@charter.net



  -Original Message-
  From: Adam Vande More [mailto:amvandem...@gmail.com]
  Sent: Tuesday, December 08, 2009 8:56 AM
  To: Charles Howse
  Cc: FreeBSD-Questions
  Subject: Re: Gnome desktop for 5 y/o
 
  On Tue, Dec 8, 2009 at 8:47 AM, Charles Howse cho...@charter.net
  wrote:
 
 
Hi ocean, thanks for the reply.
Is there a browser that will work out of the box with flash?
  Most of the
games the 5 y/o uses are flash-based.
 
 
 
  Please don't top post, thanks.

 My apologies to the group, I forgot.  :)



 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org


you probably also want java as well, a lot of those children's game sites
use all kind of horrible stuff.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


semi-problem starting sendmail

2009-12-08 Thread Robert Huff

When I start sendmail, this:

STARTTLS=server, error: 
SSL_CTX_use_PrivateKey_file(/etc/mail/CA/private/cakey.pem) failed

appears in the log.  The file exists and has permissions 0600.
What am I probably looking at, and how do I find more specific
information on the cause?

Respectfully,


Robert Huff

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: semi-problem starting sendmail

2009-12-08 Thread Chuck Swiger
On Dec 8, 2009, at 9:42 AM, Robert Huff wrote:
 STARTTLS=server, error: 
 SSL_CTX_use_PrivateKey_file(/etc/mail/CA/private/cakey.pem) failed
 
   appears in the log.  The file exists and has permissions 0600.
   What am I probably looking at, and how do I find more specific 
 information on the cause?

Make sure none of the directories in that path have 022 perms (go+write).  From 
the main sendmail README:

Sendmail often gets blamed for many problems that are actually the
result of other problems, such as overly permissive modes on directories.
For this reason, sendmail checks the modes on system directories and
files to determine if they can be trusted.  For sendmail to run without
complaining, you MUST execute the following command:

chmod go-w / /etc /etc/mail /usr /var /var/spool /var/spool/mqueue
chown root / /etc /etc/mail /usr /var /var/spool /var/spool/mqueue

You will probably have to tweak this for your environment (for example,
some systems put the spool directory into /usr/spool instead of
/var/spool).  If you set the RunAsUser option in your sendmail.cf, the
/var/spool/mqueue directory will have to be owned by the RunAsUser user.
As a general rule, after you have compiled sendmail, run the command

sendmail -v -bi

to initialize the alias database.  If it gives messages such as

WARNING: writable directory /etc
WARNING: writable directory /var/spool/mqueue

then the directories listed have inappropriate write permissions and
should be secured to avoid various possible security attacks.

Regards,
-- 
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: set up of hp laserjet 2200dn with Jetdirect 610N on network

2009-12-08 Thread David Southwell
 On Tue, Dec 8, 2009 at 3:26 PM, David Southwell da...@vizion2000.netwrote:
   David Southwell writes:
 I am trying to set up a freebsd 7.2 p3 system to be able to print
 from an hp laserjet 2200dn equipped with a built in 10/100
 jetdirect 610N. The printer is also used by a number of MS$
 systems on the same subnet as the server so I know the printer is
 working and configured to print both text and graphics and to use
 the double sided facility. I need to use similar facilities from
 the server.
  
 I recently used CUPS to connect to a LaserJet 6 series with a
   non HP (but supposedly HP-compatible) print server.  After some
   help, I entered socket://IP address in the appropriate field
   ... and everything Just Works.
  
  
 Robert Huff
 
  Hi Robert
  Seasons greetings
 
  Thanks v. much.
 
  With help from Olivier Nicole I was able to telnet to the printer 9100
  and text types got printed. My questions now are:
 
  1. How do I manage to print single/double sided and determine the page
  orientation for different jobs?
  2. How do I print images/ PCl /postscript.
 
  Olivier has a script which he will be sending me tomorrow but I do not
  know whether that deals with those issues.
 
 install CUPS.
 
Installed and configured cups but cannot get the online login system to work. 
It refuses to accept username/password combination.

Here are the relevant lines in cupsd.conf:
# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseLocalProtocols CUPS

# Default authentication type, when authentication is required...
DefaultAuthType Basic

# Restrict access to the server...
Location /

Order Deny, Allow
Deny from All
Allow from 127.0.0.1
Allow from  62.49.197.50
/Location

# Restrict access to the admin pages...
Location /admin
AuthType Default
Require user @SYSTEM
  Order Deny, Allow
Deny from All
Allow from 127.0.0.1
Allow from  62.49.197.50
/Location

# Restrict access to configuration files...
Location /admin/conf
  AuthType Default
  Require user @SYSTEM
Order Deny, Allow
Deny from All
Allow from 127.0.0.1
Allow from  62.49.197.50
  Order allow,deny
/Location


Relevant ports:
dns1# pkg_info |grep cups
cups-base-1.4.2_1   Common UNIX Printing System: Server
cups-client-1.4.2_1 Common UNIX Printing System: Library cups
cups-image-1.4.2_1  Common UNIX Printing System: Library cupsimage
cups-pdf-2.5.0  A virtual printer for CUPS to produce PDF files
cups-pstoraster-8.15.4_4 Postscript interpreter for CUPS printing to non-PS 
printers
cups-samba-6.0_2The Common UNIX Printing System:  MS Windows client 
drivers
cups-smb-backend-1.0_2 A CUPS backend for printing to Windows servers
gnome-cups-manager-0.31_10,1 Admistration tool for cups
gutenprint-cups-5.1.7_4 GutenPrint Printer Driver
libgnomecups-0.2.3_2,1 Support library for gnome cups admistration
py26-cups-1.9.46CUPS bindings for Python

 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


DNP3 Protocol to CellularGSM/GPRS

2009-12-08 Thread Exemys
This is a message in multipart MIME format.  Your mail client should not be 
displaying this. Consider upgrading your mail client to view this message 
correctly.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: set up of hp laserjet 2200dn with Jetdirect 610N on network

2009-12-08 Thread Polytropon
On Tue, 8 Dec 2009 11:11:17 +, David Southwell da...@vizion2000.net wrote:
 I really do not mind which facility to use provided I get the results!!! 
 chuckles. I do need to use as many of the printer features as possible.
 I have  enable the following:
   IPP Printing : Enabled
   FTP Printing : Enabled
   LPD Printing : Enabled
   9100 Printing: Enabled
   SLP Config   : Enabled
   EWS Config   : Enabled

If you already have LPD printing enabled in your printer,
your computer's LPD subsystem should be able to hand the
data over to the printer.

For example, you can configure APSFILTER (a printer filter,
similar to CUPS, but without the browser games and tons of
dependencies) to create output for your printer. This depends
on what your printer's language is. If it's already the
standard, which is PS (Postscript), you don't need a filter
at all, simply because PS is the default output format for
printing. If it is PCL, you can easily setup APSFILTER
(through its dialog driven install program) to output in
form of PCL. Instead of specifying a local connection for
the printer, you simply give its IP or name (if, for example,
you have it in /etc/hosts). It's quite easy. If you then
run lpr, lpq or lprm, inquiries and actions will be processed
on the printer (by his lpd implementation).

I'll share my working configuration for a HP Laserjet 4000
including duplexer.

I've setup the printer name Laserjet in /etc/csh.cshrc:

setenv PRINTER Laserjet

Now all lp* command default to this printer name, instead
the need of specifying -Pprinter or using lp, the default.

After installing apsfilter, I've run the setup program:

# /usr/local/share/apsfilter/SETUP

and configured the printer as needed. Note that if you don't
find your specific model, you can choose a compatible one.

The file SETUP.cfg contains:

INTERFACE='parallel'
DEVICE='/dev/lpt0'

For your network printer, you would have different settings
here. As I mentioned, those can be interactively set by the
setup program. You will probably see something like

rm='192.168.200.100'
rp='raw'

in this file.

This created the directory /usr/local/etc/apsfilter/Laserjet
with a file apsfilterrc, which I modified to run the duplexer
by default. (If I really intend to NOT use it, I switch it
off with the printer's controls.)

GS_FEATURES='-q -dBATCH -dFIXEDMEDIA -dPARANOIDSAFER -dQUIET 
-dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs 
-sDeviceManufacturer=HEWLETT-PACKARD 
-sDeviceModel=HP LaserJet 
-dDuplex=true 
-dIjsUseOutputFD -sPAPERSIZE=a4 -r600'
DUPLEX=duplex
BINDING=long

Keep in mind that those settings have to be on one line, I
just broke them up for better readability here.

You can, by the way, easily setup two printers, one for duplex
and one for no duplex, e. g. Laserjet and Laserjet-nodup. Both
have the same settings, but differ in the GS_FEATURES line,
e. g.

GS_FEATURES='-q -dBATCH -dFIXEDMEDIA -dPARANOIDSAFER -dQUIET 
-dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs 
-sDeviceManufacturer=HEWLETT-PACKARD 
-sDeviceModel=HP LaserJet 
-dIjsUseOutputFD -sPAPERSIZE=a4 -r600'

See the -dDuplex=true is missing, so no duplex here.

Finally, the APSFILTER setup program will adjust the system
file /etc/printcap, which now contains an entry for the new
printer called Laserjet, e. g.

Laserjet|ljet4d;r=600x600;q=high;c=full;p=a4;m=auto:\
:lp=/dev/lpt0:\
:if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
:sd=/var/spool/lpd/Laserjet:\
:lf=/var/spool/lpd/Laserjet/log:\
:af=/var/spool/lpd/Laserjet/acct:\
:mx#0:\
:sh:

Again, for a network printer you would see rm= and rp= statements
in this file, but not the lp= statement.

If you've setup everything correctly, you should be able to:

% lpq
no entries
% lpr /etc/rc.conf
% lpq
Laserjet is ready and printing
Rank   Owner   Job   Files  Total Size
1stpoly483   /etc/rc.conf   2050 bytes
% lprm -
dfA483blahblah dequeued
cfA483blahblah dequeued

Of course, you will be able to print from any application
now. Even piping to lpr is possible, e. g.

% grep bla /some/files* | lpr

Note that programs like Gimp require you to setup the printer
again (in Gutenprint); you'll possibly have to set format and
duplex and other things.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


How do I create large partitions in FreeBSD?

2009-12-08 Thread Peter Steele
We have 3U systems with 3Ware raid controllers configured to give us large 11TB 
logical drives. The diskinfo command shows this:

# diskinfo -v da1
da1
512 # sectorsize
1133104128  # mediasize in bytes (11T)
23437369344 # mediasize in sectors
1458908 # Cylinders according to firmware.
255 # Heads according to firmware.
63  # Sectors according to firmware.
Y08210901E792700BAB9# Disk ident.

We want to create a BSD slice to cover the entire drive. My plan was to use the 
fdisk -I option:

# fdisk -I da1
*** Working on device /dev/da1 ***
fdisk: Class not found

# fdisk -p da1
# /dev/da1
g c1458908 h255 s63
p 1 0xa5 63 1962532467
a 1

but as you can see, the partition size that this creates is only 1TB 
(1962532467*512=1004816623104 bytes). The fdisk command clearly knows how large 
the disk really is:

# fdisk da1
*** Working on device /dev/da1 ***
parameters extracted from in-core disklabel are:
cylinders=1458908 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=1458908 heads=255 sectors/track=63 (16065 blks/cyl)

If I compute 1458908*255*63*512 this gives me 1126794240, which is the 
correct size. But the -I option doesn't create a full sized partition.

How do we resolve this? We want a full size partition spanning the entire disk, 
and we need a scriptable solution since the configuration of these servers is 
handled through an automated process.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: what ports to open in firewall for bitlord

2009-12-08 Thread Chris Rees
2009/12/8 Fbsd1 fb...@a1poweruser.com:
 Want to allow the bitlord progran to pass through my firewall. Does anyone
 know the port numbers it uses for out bound and inbound packets.

 Thanks


Why don't you look on the BitLord website? Or better, use a more
neighbourly program, that isn't adware such as Transmission or
μTorrent?


This link might help:

http://www.google.com/search?rlz=1C1GGLS_en-GBGB344GB344sourceid=chromeie=UTF-8q=bitlord+ports

Chris


-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in a mailing list?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How do I create large partitions in FreeBSD?

2009-12-08 Thread Polytropon
On Tue, 8 Dec 2009 12:36:54 -0600, Peter Steele pste...@maxiscale.com wrote:
 We have 3U systems with 3Ware raid controllers configured to give
 us large 11TB logical drives. The diskinfo command shows this:
 [...]
 We want to create a BSD slice to cover the entire drive. My plan
 was to use the fdisk -I option:
 [...]
 How do we resolve this? We want a full size partition spanning
 the entire disk, and we need a scriptable solution since the
 configuration of these servers is handled through an automated
 process.

Why not directly formatting the whole device?

In the subject line, you wrote large partition, so I assume
you won't want to boot from from the device, but use it as a
big storage area instead. Correct me if I'm wrong.

I am often using disks without slice if I don't boot from them,
but use them for storage.

# newfs /dev/da1

would be the command to create a partition with file system
that covers the whole disk. It will be /dev/da1c (which is
/dev/da1), and you can easily mount it:

# mount /dev/da1 /bigstorage

Of course, this solution is completely scriptable, given the
fact that you know which device to newfs.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How do I create large partitions in FreeBSD?

2009-12-08 Thread Maxim Khitrov
On Tue, Dec 8, 2009 at 1:36 PM, Peter Steele pste...@maxiscale.com wrote:
 We have 3U systems with 3Ware raid controllers configured to give us large 
 11TB logical drives. The diskinfo command shows this:

 # diskinfo -v da1
 da1
        512             # sectorsize
        1133104128  # mediasize in bytes (11T)
        23437369344     # mediasize in sectors
        1458908         # Cylinders according to firmware.
        255             # Heads according to firmware.
        63              # Sectors according to firmware.
        Y08210901E792700BAB9    # Disk ident.

 We want to create a BSD slice to cover the entire drive. My plan was to use 
 the fdisk -I option:

 [snip]

You cannot use fdisk for this, because fdisk creates MBR partition
tables and these partitions are limited to 2 TB. You have three
options:

1. Use GPT instead of MBR. This is handled by gpt (FreeBSD 7) and
gpart (FreeBSD 8) commands.
2. Use a dangerously dedicated partitioning scheme.
3. Bypass all partitioning issues and do what Polytropon suggested.

The third option will only work if you don't need to boot from the
array and are happy with a single 11TB file system.

The second option gives you partitions and the ability to boot
FreeBSD, but no other operating system will recognize the array.
Device names will be da1a, da1b, etc. To do this run the following
commands:

bsdlabel -w -B da1
bsdlabel -e da1
edit your partitions
newfs /dev/da1a
newfs -U /dev/da1d
...

I've never used GPT, but that's what you would have become familiar
with if you want these arrays to be recognized by operating systems
other than FreeBSD.

- Max
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: How do I create large partitions in FreeBSD?

2009-12-08 Thread Peter Steele
 In the subject line, you wrote large partition, so I assume you won't want 
 to boot from from the device, but use it as a big storage area instead. 
 Correct me if I'm wrong.

For simplicity I didn't include all the details. In fact we need three slices, 
one for the OS, one for swap, and the rest for data. I can create the first two 
slices the way I normally do using fdisk/bsdlabel/newfs. But I'm stumped on how 
to create the large third slice.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


named needs restart after a reboot

2009-12-08 Thread Derrick Ryalls
Greetings,

uname:

FreeBSD example.com 8.0-RELEASE-p1 FreeBSD 8.0-RELEASE-p1 #0: Sun Dec
6 11:23:52 PST 2009 ryal...@example.com:/usr/obj/usr/src/sys/FRODO
 amd64

I have most things working, but I have noticed that every time I
reboot the machine, I need to manually restart named to get it
listening on the proper interfaces as by default it is listening on
127.0.0.1 interfaces only.  A simple /etc/rc.d/named restart fixes it
which seems like it would be configured correctly, but I have had to
do this on a install before.

Anyone have a guess as to what could be wrong?

Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: set up of hp laserjet 2200dn with Jetdirect 610N on network

2009-12-08 Thread Robert Huff
David Southwell writes:

  Installed and configured cups but cannot get the online login
  system to work.  It refuses to accept username/password
  combination.

Not the CUPS expert. (Sorry.)


Robert Huff

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: How do I create large partitions in FreeBSD?

2009-12-08 Thread Peter Steele
You cannot use fdisk for this, because fdisk creates MBR partition tables and 
these partitions are limited to 2 TB. You have three
options:

1. Use GPT instead of MBR. This is handled by gpt (FreeBSD 7) and gpart 
(FreeBSD 8) commands.

We're running 8.0. I'll have to check out gpart.

2. Use a dangerously dedicated partitioning scheme.
3. Bypass all partitioning issues and do what Polytropon suggested.

The third option will only work if you don't need to boot from the array and 
are happy with a single 11TB file system.

We do need to boot from these drives so this is not an option.

 The second option gives you partitions and the ability to boot FreeBSD, but 
 no other operating system will recognize the array.
Device names will be da1a, da1b, etc. To do this run the following
commands:

bsdlabel -w -B da1

When I run this command I get:

# bsdlabel -w -B da1
bsdlabel: disks with more than 2^32-1 sectors are not supported

So that seems we are limited to option 1. We didn't anticipate this; hope there 
aren't unexpected gotchas lurking around the corner...

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: Gnome desktop for 5 y/o

2009-12-08 Thread ocean

On Tue, Dec 8, 2009 at 8:47 AM, Charles Howse cho...@charter.net
wrote:


Hi ocean, thanks for the reply.
Is there a browser that will work out of the box with flash?
Most of the
games the 5 y/o uses are flash-based.



if you install the right ports on a fbsd 8.0 maybe it could just works (it's 
being discussed in the freebsd forums:
http://forums.freebsd.org/showthread.php?t=5786
gnash could also work but it's known to have some issues so i won't recommend 
it, possibilities are firefox+flash for windows under wine which someone says 
it works, or linux emulation and firefox+flash.

for parental control there's also the opendns alternative that can block adult 
sites, though i don't know how good it works.
you could also look at this (never tried it, don't know if/how it works):
https://addons.mozilla.org/en-US/firefox/addon/1803
http://procon.mozdev.org/

also for the old computer i would recommend xfce or, since you say they only 
need a few programs, you could go with just Xorg + feh for the background + 
xfwm or openbox + a light taskbar and a nice dock-bar (wbar or simdock) were 
you will only put the applications they need to run.

if there aren't specific problems with drivers and similar, an upgrade to a 
newer freebsd version could be advisable for flash :)

regards
ocean
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How do I create large partitions in FreeBSD?

2009-12-08 Thread Polytropon
On Tue, 8 Dec 2009 13:14:05 -0600, Peter Steele pste...@maxiscale.com wrote:
  In the subject line, you wrote large partition, so I
  assume you won't want to boot from from the device, but
  use it as a big storage area instead. Correct me if I'm wrong.
 
 For simplicity I didn't include all the details. In fact
 we need three slices, one for the OS, one for swap, and
 the rest for data.

Excuse me, you're mixing up terminology here. Let me explain:

A SLICE is what Windows calls a DOS primary partition,
often just named a partition.

A PARTITION is a subdivision of a slice. It holds a file
system. It is comparable (but not the same as) what Windows
calls a logical volume inside a DOS extended partition.

To re-express your requirements:

You need one slice covering the whole disk. This slice
should contain three partitions: One for the OS, one for
swap, and one for data. What you will need to do is
basically what Maxim suggested, which is

a) use the dedicated approach, which means that you
   don't create a slice, just three partitions on the
   disk, or,

b) go with gpt / gpart, which is okay if FreeBSD will
   be the only OS that accesses the disk(s) in question,
   as I may assume by your statements.



 I can create the first two slices the way I normally do
 using fdisk/bsdlabel/newfs. But I'm stumped on how to
 create the large third slice.

I'm not sure if I understood you correctly. You won't need
to create three slices, just one slice, containin three
partitions.




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Geode Xorg Driver

2009-12-08 Thread Mario Lobo
On Monday 07 December 2009 14:48:37 rhin...@postmail.ch wrote:
 Hi All,
 I use the Alix 1d computer from pcengines to build
 a X terminal and a small mail server.
 
 The Xserver is working with the VESA driver. This is functional
 but a little bit slow. A Xorg driver for this graphic card
 (AMD Geode) exists but it is not available with FreeBSD.
 
 With FreeBSD 7.2, I was able to use the drivers compiled
 for OpenBSD. But due to a version mismatch, they are not usable
 with FreeBSD 8.0 which is installed now.
 
 I have lookup a many places since two days and I can see
 that some persons were able to compile the drivers for formers
 version of BSD.
 
 Could someone explain how to compile the drivers for FreeBSD 8.0 ?
 There is no port, but since a lot of similar drivers (like the VESA) are
 available, it should not be too complicated to compile the geode driver
 (I have got the source on the GIT repository of Xorg).
 
 I have started to compile VESA driver from ports but it fails
 at some points while not finding gdm-config.
 
 An other solution would be to get the drivers of a Linux
 distribution (normally this should work since Xorg modules are
 platform independents).
 
 Thanks for any help or ideas.
 
 regards,
 
 Alain Aubord
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
  freebsd-questions-unsubscr...@freebsd.org
 
Hi Alain;

John_doe made a port for a vesa driver that works perfectly in FBSD 8 amd64.

The driver is here:
ftp://ftp.lissyara.su/users/Guest/vesa-kmod.diff

instructions:

To apply use
$ cd /usr/ports
$ patch -sp0 -i /path/to/vesa-kmod.diff
$ cd misc/vesa-kmod; make install clean

put vesa_load=YES into /boot/loader.conf


Here is the thread where I picked it up.

http://forums.freebsd.org/showthread.php?t=6291

Regards,

-- 
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winfoes FREE)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How do I create large partitions in FreeBSD?

2009-12-08 Thread Adam Vande More
On Tue, Dec 8, 2009 at 1:27 PM, Polytropon free...@edvax.de wrote:



 b) go with gpt / gpart, which is okay if FreeBSD will
   be the only OS that accesses the disk(s) in question,
   as I may assume by your statements.


GUID partitions are recognized by many more OS's than just FreeBSD although
I admit I haven't tried such an endeavor.  Is there some other gotcha?


-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: How do I create large partitions in FreeBSD?

2009-12-08 Thread Peter Steele
Excuse me, you're mixing up terminology here. Let me explain:

A SLICE is what Windows calls a DOS primary partition, often just named a 
partition.

Yes, I know what a BSD slice is compared to a BSD partition. Considering that 
fdisk uses partition interchangeably in cases with slice, I often do as 
well. I guess it can be confusing if one isn't careful with context.

I'm not sure if I understood you correctly. You won't need to create three 
slices, just one slice, containin three partitions.

We already have a configuration in place on our smaller 1U boxes which are 
divided into three slices, one for the OS (with 2 partitions), one for swap, 
and the third slice for data. The third slice is divided into two partitions, 
one UFS and one raw. The first two slices are gmirrored, the third slice is not.

For consistency we want to use the same slice configuration for these large 
drives. We don't *have* to do it this way but it simplifies things for our 
legacy code. We're not using any gmirroring on these raid boxes of course, and 
we only need one partition on the third slice (no raw partition) but otherwise 
the layout will largely be the same.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How do I create large partitions in FreeBSD?

2009-12-08 Thread Maxim Khitrov
On Tue, Dec 8, 2009 at 2:24 PM, Peter Steele pste...@maxiscale.com wrote:
You cannot use fdisk for this, because fdisk creates MBR partition tables and 
these partitions are limited to 2 TB. You have three
options:

1. Use GPT instead of MBR. This is handled by gpt (FreeBSD 7) and gpart 
(FreeBSD 8) commands.

 We're running 8.0. I'll have to check out gpart.

2. Use a dangerously dedicated partitioning scheme.
3. Bypass all partitioning issues and do what Polytropon suggested.

The third option will only work if you don't need to boot from the array and 
are happy with a single 11TB file system.

 We do need to boot from these drives so this is not an option.

 The second option gives you partitions and the ability to boot FreeBSD, but 
 no other operating system will recognize the array.
Device names will be da1a, da1b, etc. To do this run the following
commands:

bsdlabel -w -B da1

 When I run this command I get:

 # bsdlabel -w -B da1
 bsdlabel: disks with more than 2^32-1 sectors are not supported

I forgot about that one, sorry.

 So that seems we are limited to option 1. We didn't anticipate this; hope 
 there aren't unexpected gotchas lurking around the corner...

Not sure if you're able to do this, but I would advise you against
using the same array for OS, swap, and data. For all the servers I've
configured, I always use a two small (32-64 GB) drives in RAID 1
configuration for the first two functions. The data is always on a
physically-separate array, which means that I'm free to use newfs on
the entire thing and never have to deal with partitions.

This setup is simpler, safer, and faster since your data drives are
now performing just one function.

- Max
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: How do I create large partitions in FreeBSD?

2009-12-08 Thread Peter Steele
b) go with gpt / gpart, which is okay if FreeBSD will
  be the only OS that accesses the disk(s) in question,
  as I may assume by your statements.
That's correct; these will be strictly BSD accessible drives.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Gnome desktop for 5 y/o

2009-12-08 Thread Polytropon
On Tue, 08 Dec 2009 20:24:36 +0100, ocean ocean_i...@yahoo.it wrote:
 also for the old computer i would recommend xfce or, since 
 you say they only need a few programs, you could go with
 just Xorg + feh for the background + xfwm or openbox + a
 light taskbar and a nice dock-bar (wbar or simdock) were
 you will only put the applications they need to run.

An alternative would be IcecWM: Easily configurable menu,
good window managing, no bloat. But I can second XFCE,
too. Maybe you want to run XFCE 3 which has some look 
feel of CDE, is easily configurable and very fast. (I
use it on a 300 MHz P2 with similar requirements as you
mentioned, but without any Flash).

There's a nice dock-like application for X which is used
by the FreeSBIE live system CD. I've got no FreeSBIE at
hand, nor can I remember the application's name, but I
think this would be interesting to you, too.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How do I create large partitions in FreeBSD?

2009-12-08 Thread Polytropon
On Tue, 8 Dec 2009 13:43:41 -0600, Peter Steele pste...@maxiscale.com wrote:
 Yes, I know what a BSD slice is compared to a BSD partition.
 Considering that fdisk uses partition interchangeably in
 cases with slice, I often do as well. I guess it can be
 confusing if one isn't careful with context.

You're right - fdisk uses different terminology.



 We already have a configuration in place on our smaller 1U
 boxes which are divided into three slices, one for the OS
 (with 2 partitions), one for swap, and the third slice for
 data. The third slice is divided into two partitions, one
 UFS and one raw. The first two slices are gmirrored, the
 third slice is not.

Okay, now I understand. It's much more complex than it seemed
from your initial statement. :-)

What you want in the end is e. g.
/dev/da1s1a = /
/dev/da1s1d = /usr (or maybe /usr/local)
/dev/da1s2b = swap
/dev/da1s3d = /bigstorage (or something similar)
/dev/da1s3e = raw



 For consistency we want to use the same slice configuration
 for these large drives. We don't *have* to do it this way
 but it simplifies things for our legacy code. We're not
 using any gmirroring on these raid boxes of course, and we
 only need one partition on the third slice (no raw partition)
 but otherwise the layout will largely be the same.

Then it looks to me that using gpt / gpart is the way to go...



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: webdav

2009-12-08 Thread Roland Smith
On Tue, Dec 08, 2009 at 04:25:46PM +0100, Dominic Fandrey wrote:
 Is there any way to mount webdav into the file system (like on OS-x
 or fuse-dav)?

Have a look at the  sysutils/fusefs-wdfs port. :-)

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgp5Kx9if0Gcp.pgp
Description: PGP signature


Re: Gnome desktop for 5 y/o

2009-12-08 Thread Warren Block

On Tue, 8 Dec 2009, ocean wrote:


On Tue, Dec 8, 2009 at 8:47 AM, Charles Howse cho...@charter.net
wrote:
Hi ocean, thanks for the reply.
Is there a browser that will work out of the box with flash?
Most of the
games the 5 y/o uses are flash-based.



if you install the right ports on a fbsd 8.0 maybe it could just works (it's 
being discussed in the freebsd forums:

http://forums.freebsd.org/showthread.php?t=5786


Please, not that horrible thread again.  Just do what's in the Handbook 
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html), 
and Flash 10 works fine with native Firefox on FreeBSD 8.


possibilities are firefox+flash for windows under wine which someone 
says it works,


It works well.  And the Java plugin works too.  The only problem I see 
with Windows Firefox on Wine is that it takes a double-click to close 
Firefox windows or tabs.


-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 freebsd-questions-unsubscr...@freebsd.org


Re: webdav

2009-12-08 Thread Dominic Fandrey
Roland Smith wrote:
 On Tue, Dec 08, 2009 at 04:25:46PM +0100, Dominic Fandrey wrote:
 Is there any way to mount webdav into the file system (like on OS-x
 or fuse-dav)?
 
 Have a look at the  sysutils/fusefs-wdfs port. :-)

That looks great!

The command
# make quicksearch key=webdav
did not lead me there.

Regards

-- 
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail? 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: named needs restart after a reboot

2009-12-08 Thread Warren Block

On Tue, 8 Dec 2009, Derrick Ryalls wrote:

uname:

FreeBSD example.com 8.0-RELEASE-p1 FreeBSD 8.0-RELEASE-p1 #0: Sun Dec
6 11:23:52 PST 2009 ryal...@example.com:/usr/obj/usr/src/sys/FRODO
amd64

I have most things working, but I have noticed that every time I
reboot the machine, I need to manually restart named to get it
listening on the proper interfaces as by default it is listening on
127.0.0.1 interfaces only.  A simple /etc/rc.d/named restart fixes it
which seems like it would be configured correctly, but I have had to
do this on a install before.

Anyone have a guess as to what could be wrong?


Only a guess: network interface comes up too late.  If you're using DHCP 
to configure that interface, you could try SYNCDHCP.  Or if it's an 
re(4) interface, there are patches in 8-STABLE that make it come up 
faster.


-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 freebsd-questions-unsubscr...@freebsd.org


Re: set up of hp laserjet 2200dn with Jetdirect 610N on network

2009-12-08 Thread usleepless
On Tue, Dec 8, 2009 at 7:16 PM, David Southwell da...@vizion2000.netwrote:

  On Tue, Dec 8, 2009 at 3:26 PM, David Southwell da...@vizion2000.net
 wrote:
David Southwell writes:
  I am trying to set up a freebsd 7.2 p3 system to be able to print
  from an hp laserjet 2200dn equipped with a built in 10/100
  jetdirect 610N. The printer is also used by a number of MS$
  systems on the same subnet as the server so I know the printer is
  working and configured to print both text and graphics and to use
  the double sided facility. I need to use similar facilities from
  the server.
   
  I recently used CUPS to connect to a LaserJet 6 series with a
non HP (but supposedly HP-compatible) print server.  After some
help, I entered socket://IP address in the appropriate field
... and everything Just Works.
   
   
  Robert Huff
  
   Hi Robert
   Seasons greetings
  
   Thanks v. much.
  
   With help from Olivier Nicole I was able to telnet to the printer 9100
   and text types got printed. My questions now are:
  
   1. How do I manage to print single/double sided and determine the page
   orientation for different jobs?
   2. How do I print images/ PCl /postscript.
  
   Olivier has a script which he will be sending me tomorrow but I do not
   know whether that deals with those issues.
 
  install CUPS.
 
 Installed and configured cups but cannot get the online login system to
 work.
 It refuses to accept username/password combination.

 Here are the relevant lines in cupsd.conf:
 # Show shared printers on the local network.
 Browsing On
 BrowseOrder allow,deny
 BrowseAllow all
 BrowseLocalProtocols CUPS

 # Default authentication type, when authentication is required...
 DefaultAuthType Basic

 # Restrict access to the server...
 Location /

 Order Deny, Allow
 Deny from All
 Allow from 127.0.0.1
 Allow from  62.49.197.50
 /Location

 # Restrict access to the admin pages...
 Location /admin
 AuthType Default
 Require user @SYSTEM
  Order Deny, Allow
 Deny from All
 Allow from 127.0.0.1
 Allow from  62.49.197.50
 /Location

 # Restrict access to configuration files...
 Location /admin/conf
  AuthType Default
  Require user @SYSTEM
 Order Deny, Allow
 Deny from All
 Allow from 127.0.0.1
 Allow from  62.49.197.50
  Order allow,deny
 /Location


 Relevant ports:
 dns1# pkg_info |grep cups
 cups-base-1.4.2_1   Common UNIX Printing System: Server
 cups-client-1.4.2_1 Common UNIX Printing System: Library cups
 cups-image-1.4.2_1  Common UNIX Printing System: Library cupsimage
 cups-pdf-2.5.0  A virtual printer for CUPS to produce PDF files
 cups-pstoraster-8.15.4_4 Postscript interpreter for CUPS printing to non-PS
 printers
 cups-samba-6.0_2The Common UNIX Printing System:  MS Windows client
 drivers
 cups-smb-backend-1.0_2 A CUPS backend for printing to Windows servers
 gnome-cups-manager-0.31_10,1 Admistration tool for cups
 gutenprint-cups-5.1.7_4 GutenPrint Printer Driver
 libgnomecups-0.2.3_2,1 Support library for gnome cups admistration
 py26-cups-1.9.46CUPS bindings for Python

 


have you tried logging in as root? i seem to remember something like this...

regards,

usleep
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Gnome desktop for 5 y/o

2009-12-08 Thread usleepless
On Tue, Dec 8, 2009 at 9:18 PM, Warren Block wbl...@wonkity.com wrote:

 On Tue, 8 Dec 2009, ocean wrote:

  On Tue, Dec 8, 2009 at 8:47 AM, Charles Howse cho...@charter.net
 wrote:
Hi ocean, thanks for the reply.
Is there a browser that will work out of the box with flash?
 Most of the
games the 5 y/o uses are flash-based.



 if you install the right ports on a fbsd 8.0 maybe it could just works
 (it's being discussed in the freebsd forums:
http://forums.freebsd.org/showthread.php?t=5786


 Please, not that horrible thread again.  Just do what's in the Handbook (
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html),
 and Flash 10 works fine with native Firefox on FreeBSD 8.


And Flash 9 works on 7.2 too. Have not had any problems with it yet.

regards,

usleep
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Gnome desktop for 5 y/o

2009-12-08 Thread Al Plant

Polytropon wrote:

On Tue, 08 Dec 2009 20:24:36 +0100, ocean ocean_i...@yahoo.it wrote:
also for the old computer i would recommend xfce or, since 
you say they only need a few programs, you could go with

just Xorg + feh for the background + xfwm or openbox + a
light taskbar and a nice dock-bar (wbar or simdock) were
you will only put the applications they need to run.


An alternative would be IcecWM: Easily configurable menu,
good window managing, no bloat. But I can second XFCE,
too. Maybe you want to run XFCE 3 which has some look 
feel of CDE, is easily configurable and very fast. (I
use it on a 300 MHz P2 with similar requirements as you
mentioned, but without any Flash).

There's a nice dock-like application for X which is used
by the FreeSBIE live system CD. I've got no FreeSBIE at
hand, nor can I remember the application's name, but I
think this would be interesting to you, too.



Like Poly I too use XFCE 3 on all my FreeBSD desktops. Its light and 
fast and anyone can learn it quickly.


I have Gnome on a Linux HP netbook and it is a lot slower.

~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD  7.2 - 8.0 - 9* +
   email: n...@hdk5.net 
All that's really worth doing is what we do for others.- Lewis Carrol

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How do I create large partitions in FreeBSD?

2009-12-08 Thread krad
2009/12/8 Polytropon free...@edvax.de

 On Tue, 8 Dec 2009 13:43:41 -0600, Peter Steele pste...@maxiscale.com
 wrote:
  Yes, I know what a BSD slice is compared to a BSD partition.
  Considering that fdisk uses partition interchangeably in
  cases with slice, I often do as well. I guess it can be
  confusing if one isn't careful with context.

 You're right - fdisk uses different terminology.



  We already have a configuration in place on our smaller 1U
  boxes which are divided into three slices, one for the OS
  (with 2 partitions), one for swap, and the third slice for
  data. The third slice is divided into two partitions, one
  UFS and one raw. The first two slices are gmirrored, the
  third slice is not.

 Okay, now I understand. It's much more complex than it seemed
 from your initial statement. :-)

 What you want in the end is e. g.
/dev/da1s1a = /
/dev/da1s1d = /usr (or maybe /usr/local)
/dev/da1s2b = swap
/dev/da1s3d = /bigstorage (or something similar)
/dev/da1s3e = raw



  For consistency we want to use the same slice configuration
  for these large drives. We don't *have* to do it this way
  but it simplifies things for our legacy code. We're not
  using any gmirroring on these raid boxes of course, and we
  only need one partition on the third slice (no raw partition)
  but otherwise the layout will largely be the same.

 Then it looks to me that using gpt / gpart is the way to go...



 --
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org


stay away from dangerously dedicated it seems as though they are being
phased out
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Gnome desktop for 5 y/o

2009-12-08 Thread Chris Whitehouse

Polytropon wrote:

On Tue, 08 Dec 2009 20:24:36 +0100, ocean ocean_i...@yahoo.it wrote:
also for the old computer i would recommend xfce or, since 
you say they only need a few programs, you could go with

just Xorg + feh for the background + xfwm or openbox + a
light taskbar and a nice dock-bar (wbar or simdock) were
you will only put the applications they need to run.


An alternative would be IcecWM: Easily configurable menu,
good window managing, no bloat. But I can second XFCE,
too. Maybe you want to run XFCE 3 which has some look 
feel of CDE, is easily configurable and very fast. (I
use it on a 300 MHz P2 with similar requirements as you
mentioned, but without any Flash).

There's a nice dock-like application for X which is used
by the FreeSBIE live system CD. I've got no FreeSBIE at
hand, nor can I remember the application's name, but I
think this would be interesting to you, too.



icewm is a nice lightweight wm (which I use) but with your hardware you 
might want to look at http://freebsd-custom.wikidot.com/ it's an xfce4 
based installation dvd which includes many precompiled package. There 
are notes for installing flash.


Chris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How do I create large partitions in FreeBSD?

2009-12-08 Thread Polytropon
On Tue, 8 Dec 2009 20:52:52 +, krad kra...@googlemail.com wrote:
 stay away from dangerously dedicated it seems as though they are being
 phased out

I've followed the related discussion, but I'm not sure what
to conclude from it... as far as I understood, creating an
installation dangerously dedicated mode isn't possible
from sysinstall anymore, but still possible via the command
line tools. I don't see a reason why it is considered to be
something bad, but the inclusion of a carrier slice for
the OS's partitions has always been recommended. But for
data disks where only one partition is intended, why create
it inside a slice?

By the way, the OP intends to create more than one slice
and then create one or two partitions within each slice,
so dangerously dedicated disks wouldn't be a solution
for him anyway.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: semi-problem starting sendmail

2009-12-08 Thread Robert Huff

Chuck Swiger writes:

   STARTTLS=server, error: 
 SSL_CTX_use_PrivateKey_file(/etc/mail/CA/private/cakey.pem) failed
   
  appears in the log.  The file exists and has permissions 0600.
  What am I probably looking at, and how do I find more specific 
 information on the cause?
  
  Make sure none of the directories in that path have 022 perms
  (go+write).

Checked, and not the problem.


Robert Huff

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Tunning 8.0 for multiple VMs (VBox)

2009-12-08 Thread Mario Lobo
On Sunday 29 November 2009 10:36:53 you wrote:
 And your question was?
 
  I would like to expose the hardware/settings I have now to the list, to
  see if what I've done is appropriate, over or under rated (or simply
  stupid), to squeeze every drop of performance FreeBSD can give with what
  I have. It is pretty fast as it is but it never hurts attempting to make
  it even better.
 

This was the main idea, so people more knowledgeable and experienced 
could comment on it.

I guess you could say the question was:  Am i doing it right? or can I do 
it better?

-- 
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winfoes FREE)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: semi-problem starting sendmail

2009-12-08 Thread Giorgos Keramidas
On Tue, 8 Dec 2009 12:42:27 -0500, Robert Huff roberth...@rcn.com wrote:
 When I start sendmail, this:

 STARTTLS=server, error: 
 SSL_CTX_use_PrivateKey_file(/etc/mail/CA/private/cakey.pem) failed

 appears in the log.  The file exists and has permissions 0600.  What
 am I probably looking at, and how do I find more specific information
 on the cause?

Hi Robert,

This article from Linux Journal may help a bit:

  http://www.linuxjournal.com/article/4823

It mentions generating the certificate with the -nodes option to avoid
an error exactly like the one you are quoting.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: semi-problem starting sendmail

2009-12-08 Thread Chuck Swiger
Hi--

On Dec 8, 2009, at 1:10 PM, Robert Huff wrote:
 Make sure none of the directories in that path have 022 perms
 (go+write).
 
   Checked, and not the problem.

Well, the error is coming from /usr/src/contrib/sendmail/src/tls.c, and depends 
on openssl to deal with your cert.  Does:

  openssl verify -verbose /etc/mail/CA/private/cakey.pem

...say anything interesting?  What about:

  openssl x509 -in /etc/mail/CA/private/cakey.pem -text

Regards,
-- 
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


bridge filters ipv6

2009-12-08 Thread Beat Siegenthaler

Hi all,

I have 7.2-RELEASE  and a bridge between ath0 and sis0 everything works 
fine except  ipv6  including router advertisements.
There is no filtering, just  a L2 bridge without any address. rtadv 
comes from lan/sis. What could be missing?



bridge0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 
1500

   ether 0a:03:b2:xx:fe:xx
   id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
   maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200
   root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
   member: sis0 flags=143LEARNING,DISCOVER,AUTOEDGE,AUTOPTP
   ifmaxaddr 0 port 2 priority 128 path cost 20
   member: ath0 flags=143LEARNING,DISCOVER,AUTOEDGE,AUTOPTP
   ifmaxaddr 0 port 1 priority 128 path cost 370370


ath0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric 
0 mtu 1500

   ether 00:80:48:xx:cd:xx
   inet6 fe80::280:48xx:fexx:%ath0 prefixlen 64 scopeid 0x1
   media: IEEE 802.11 Wireless Ethernet autoselect mode 11g hostap
   status: associated
   ssid x channel 11 (2462 Mhz 11g) bssid 00:80:48:xx:cd:xx
   authmode WPA1+WPA2/802.11i privacy MIXED deftxkey 2 TKIP 2:128-bit
   txpower 22 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250
   roam:rssi11g 7 roam:rate11g 5 pureg protmode RTSCTS wme burst
   dtimperiod 1

sis0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric 
0 mtu 1500

   options=8VLAN_MTU
   ether 00:0d:b9:xx:52:xx
   inet6 fe80::20d:b9ff:fe03:52fc%sis0 prefixlen 64 scopeid 0x2
   inet 172.23.0.1 netmask 0xff00 broadcast 172.20.0.255
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


fixit and gmirror

2009-12-08 Thread Joey Mingrone
Hello:

I was upgrading a system from 7.2 to 8.0 and all was going well until
the make installkernel step.  The / partition filled up when the new
kernel was installing.  Since /boot was taking up most of the space I
moved /boot to /usr/ and create a symlink in / then I did make
installkernel again and everything completed.  Unfortunately I didn't
move the necessary bits from /usr/boot back to / before rebooting and
now the system won't boot.  I'm trying to use the fixit option with
the livefs cd to repair the system, but I'm having problems with
gmirror.  The disks are in software raid0.  Can anyone point me in the
right direction to get /usr and / mounted from the mirror using fixit?

Thanks,

Joey
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: fixit and gmirror

2009-12-08 Thread Tom Worster
On 12/8/09 5:00 PM, Joey Mingrone j...@mingrone.org wrote:

 Hello:
 
 I was upgrading a system from 7.2 to 8.0 and all was going well until
 the make installkernel step.  The / partition filled up when the new
 kernel was installing.  Since /boot was taking up most of the space I
 moved /boot to /usr/ and create a symlink in / then I did make
 installkernel again and everything completed.  Unfortunately I didn't
 move the necessary bits from /usr/boot back to / before rebooting and
 now the system won't boot.  I'm trying to use the fixit option with
 the livefs cd to repair the system, but I'm having problems with
 gmirror.  The disks are in software raid0.  Can anyone point me in the
 right direction to get /usr and / mounted from the mirror using fixit?

in a recent situation which might be related, i was able to make progress
with fixit only once i burned a 7.1 livefs cd. with 8.0 cds i got nowhere.

with 7.1, it wasn't necessary to boot from cd1 and then insert livefs for
fixit. the livefs disk booted str8 into sysinstall.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: won't boot after 8.0-RELEASE upgrade

2009-12-08 Thread Ivo Karabojkov

I have no problems with the hardware. In fact neither Release notes nor
UPDATING says anything about my possible (and actually occured) problems.
The only thing is: 
“dangerously dedicated” mode for the UFS file system is no longer supported.
I never supposed that I'm using this mode. I format disks and install with
sysinstall without any special tuning for fdisk or disklabel. I prefer
standard options to ensure smooth future upgrades. So I'd like to know how
to distinguish mode of my current filesystems - is it standard or
dangerously dedicated?


Ruben de Groot wrote:
 
 On Mon, Dec 07, 2009 at 08:40:52AM -0800, Ivo Karabojkov typed:
 
 I'm sharing this experience to bring your attention to major advice in
 the
 update procedure - to take full backup.
 
 While not very new, that's allways good advice ;)
 
 My question is: how can I guess the result - Glory or Sorrow BEFORE
 starting the update?
 
 Before starting: read the relnotes and errata and search for possible
 problems, especially with your particular hardware.
 
 Then, if you decide to go ahead, install the new kernel and try to boot it
 in single user mode. This won't destroy anything and if you experience
 problems
 like missing devices you can easily back out by booting kernel.old.
 
 Ruben
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org
 
 

-- 
View this message in context: 
http://old.nabble.com/won%27t-boot-after-8.0-RELEASE-upgrade-tp26628661p26701709.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: won't boot after 8.0-RELEASE upgrade

2009-12-08 Thread Polytropon
On Tue, 8 Dec 2009 14:09:16 -0800 (PST), Ivo Karabojkov i...@kit-bg.com wrote:
 So I'd like to know how
 to distinguish mode of my current filesystems - is it standard or
 dangerously dedicated?

If you've first created a slice on the disk, and then
partitions inside the slice, it's standard mode, e. g.

ad0   ab   d   e   f   g
{  [  (/)  (swap)  (/tmp)  (/var)  (/usr)  (/home)  ]  }
   s1

If you've omitted the slice, and created the partitions
on the disk device itself, it's dangerosly dedicated mode, e. g.

ad0
{  (/)  (swap)  (/tmp)  (/var)  (/usr)  (/home)  }
   ab   d   e   f   g

You can tell by the existence of ad0s1[adefg] vs. ad0[adefg]
in /dev, or by trying to print the disks's slice table.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Gnome desktop for 5 y/o

2009-12-08 Thread Adam Vande More
On Tue, Dec 8, 2009 at 2:18 PM, Warren Block wbl...@wonkity.com wrote:

 On Tue, 8 Dec 2009, ocean wrote:

  On Tue, Dec 8, 2009 at 8:47 AM, Charles Howse cho...@charter.net
 wrote:
Hi ocean, thanks for the reply.
Is there a browser that will work out of the box with flash?
 Most of the
games the 5 y/o uses are flash-based.



 if you install the right ports on a fbsd 8.0 maybe it could just works
 (it's being discussed in the freebsd forums:
http://forums.freebsd.org/showthread.php?t=5786


 Please, not that horrible thread again.  Just do what's in the Handbook (
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html),
 and Flash 10 works fine with native Firefox on FreeBSD 8.


  possibilities are firefox+flash for windows under wine which someone says
 it works,


 It works well.  And the Java plugin works too.  The only problem I see with
 Windows Firefox on Wine is that it takes a double-click to close Firefox
 windows or tabs.


My child like flash games too, and I went with a vbox install as flash10
periodically dumps and hangs when running some of the more exotic flash
games.  I've seen the same thing happen on linux, but not as much on
windows.

Java plugin works great very stable but lacking some 3d stuff which makes
gaming not as appealing(runescape).

-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


OTish: Alternative to MS Live?

2009-12-08 Thread Kurt Buff
All,

Our new CEO wants me to poke holes in the firewall and install the MS
client on a number of desktops to facilitate IM/videoconferencing for
this.

That makes me vaguely nauseous, for several security reasons (the
client is historically vulnerable, poking holes in firewalls is risky,
and internal corporate communications should stay internal - that'll
do for a start...)

I'm looking to stick an IM/Videoconference system in a DMZ instead.

Does anyone know of a good alternative - preferably with a web
interface, though that's not absolutely required?

Thanks,

Kurt
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: OTish: Alternative to MS Live?

2009-12-08 Thread Dimitri Yioulos
On Tuesday 08 December 2009 5:50:46 pm Kurt Buff 
wrote:
 All,

 Our new CEO wants me to poke holes in the
 firewall and install the MS client on a number
 of desktops to facilitate IM/videoconferencing
 for this.

 That makes me vaguely nauseous, for several
 security reasons (the client is historically
 vulnerable, poking holes in firewalls is risky,
 and internal corporate communications should
 stay internal - that'll do for a start...)

 I'm looking to stick an IM/Videoconference
 system in a DMZ instead.

 Does anyone know of a good alternative -
 preferably with a web interface, though that's
 not absolutely required?

 Thanks,

 Kurt
 ___


Others may come up with better solutions, but you 
might want to look at OpenFire for your IM needs 
(I use it in my shop; it's secure and works 
great), and maybe dimdim for vidconf (both 
hosted - free for up to 20 conferees, and locally 
installed options).

Dimitri

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: semi-problem starting sendmail

2009-12-08 Thread Robert Huff

I just generated new keys using the method specified the the
article recommended by Giorgos, and I get the same result.


Robert Huff

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: OTish: Alternative to MS Live?

2009-12-08 Thread Kurt Buff
On Tue, Dec 8, 2009 at 15:03, Dimitri Yioulos dyiou...@firstbhph.com wrote:
 On Tuesday 08 December 2009 5:50:46 pm Kurt Buff
 wrote:
 All,

 Our new CEO wants me to poke holes in the
 firewall and install the MS client on a number
 of desktops to facilitate IM/videoconferencing
 for this.

 That makes me vaguely nauseous, for several
 security reasons (the client is historically
 vulnerable, poking holes in firewalls is risky,
 and internal corporate communications should
 stay internal - that'll do for a start...)

 I'm looking to stick an IM/Videoconference
 system in a DMZ instead.

 Does anyone know of a good alternative -
 preferably with a web interface, though that's
 not absolutely required?

 Thanks,

 Kurt
 ___


 Others may come up with better solutions, but you
 might want to look at OpenFire for your IM needs
 (I use it in my shop; it's secure and works
 great), and maybe dimdim for vidconf (both
 hosted - free for up to 20 conferees, and locally
 installed options).

 Dimitri

The locally installed option would be what I'm interested in. I'll
check those out.

Thanks.

Kurt
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: Gnome desktop for 5 y/o

2009-12-08 Thread Charles Howse


 -Original Message-
 From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
 questi...@freebsd.org] On Behalf Of krad
 Sent: Tuesday, December 08, 2009 10:24 AM
 To: Charles Howse
 Cc: FreeBSD-Questions
 Subject: Re: Gnome desktop for 5 y/o
 
 2009/12/8 Charles Howse cho...@charter.net
 
 
 
   -Original Message-
   From: Adam Vande More [mailto:amvandem...@gmail.com]
   Sent: Tuesday, December 08, 2009 8:56 AM
   To: Charles Howse
   Cc: FreeBSD-Questions
   Subject: Re: Gnome desktop for 5 y/o
  
   On Tue, Dec 8, 2009 at 8:47 AM, Charles Howse cho...@charter.net
   wrote:
  
  
 Hi ocean, thanks for the reply.
 Is there a browser that will work out of the box with flash?
   Most of the
 games the 5 y/o uses are flash-based.
  
  
  
   Please don't top post, thanks.
 
  My apologies to the group, I forgot.  :)
 
 
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
  freebsd-questions-unsubscr...@freebsd.org
 
 
 you probably also want java as well, a lot of those children's game
 sites
 use all kind of horrible stuff.

I have an older Power Mac that I've decided to use instead.  It's all
configured and running well, and I don't use it much anymore since I have
Windows 7 Ultimate now on the PC.
It's already set up with Parental Controls for the grandson, and has
everything the daughter will need as well.
Thread closed as far as I am concerned.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: set up of hp laserjet 2200dn with Jetdirect 610N on network

2009-12-08 Thread Olivier Nicole
David,

Here it is:

- in /etc/printcap:

big:hp4300:\
:sd=/var/spool/big:\
:mx=0:rs:sh:\
:lp=/dev/null:\
:if=/usr/spool/big_new:\

- in /etc/rc.conf: 

lpd_enable=YES

- the script /usr/spool/big_new. The location of the script is not the
  best one, it should ideally go into /usr/local/spool.

  This script does much, much more than what you expect: it has a
  print quota system, based on a LDAP directory; but also does what
  you want:

  - starting around the line Use Socket; is the part sending the
file to the printer;

  - all the jobs are encapsulated in a PCL job that forces duplex
printing; note if the file you are printing specify that the job
shiould be printed single sided, then it will be single sided, but
if nothing is sayd, it is printed double sided;

  - if the file is plain text (not PostScript, not PCL), the end of
lines are converted to \r\n;

  - this script has several timeout when trying to connect to the
printer, and a general timeout of 20 minutes, so no job should
exceed that time once it started (which is theorically 1000 pages
on the newer/fastest printers);

  - the script should be able to tell you how many pages were used by
a job (I did a minus one there because some of our users are
touchy regarding their print quota, and some jobs were reported to
be two pages while only printed on the recto, must be something
with CTRL-L at the end of the job);

  - the script needs a number of Perl modules, all available from the
ports; it does a fair job at loging to syslog when $dbg is set to
1;

  - in a previous version, I had been using this script with a HP
2200dn.

I hope you speak Perl :)

Bests,

Olivier

#!/usr/local/bin/perl -w
use strict;

my $printer=hp4300dtn.cs.ait.ac.th;
my $timeout=20*60; # longest job in seconds
my $dbg=1;

use Unix::Syslog qw(:macros);  # Syslog macros
use Unix::Syslog qw(:subs);# Syslog functions
openlog print_quota, LOG_PID, LOG_LPR;

use Mail::SendEasy ;
my $mail = new Mail::SendEasy(smtp = 'mail.cs.ait.ac.th') ;

syslog LOG_DEBUG, DBG staring with ARGV @ARGV if $dbg;
syslog LOG_DEBUG, DBG printer $printer if $dbg;

while ($#ARGV=0  $ARGV[0] ne -n) {
shift @ARGV;
}

our $user=$ARGV[1];
if ($user eq nobody) {
# Purge the print job
open IN, -;
while (IN) {
}
exit;
}

our $host=$ARGV[3];

use Net::LDAP;
our $ldap=Net::LDAP-new('ldaps://ldap.cs.ait.ac.th/');
if (! defined $ldap) {
syslog LOG_ERR, Cannot connect to LDAP server;
open IN, -;
while (IN) {
}
exit 1;
}
my 
$mesg=$ldap-bind(cn=PrintQuotaAdmin,ou=Administrator,ou=csim,dc=cs,dc=ait,dc=ac,dc=th,
 password=**);
if (! defined $mesg) {
syslog LOG_ERR, Cannot bind to LDAP server;
open IN, -;
while (IN) {
}
exit 1;
}
syslog LOG_DEBUG, DBG binding LDAP done if $dbg;

$mesg=$ldap-
search(base=ou=PrintQuota,ou=Resources,ou=csim,dc=cs,dc=ait,dc=ac,dc=th,
   scope='one',
   attrs=['ou', 'description'],
   filter=(ou=*));
if ($mesg-code) {
syslog LOG_ERR, Error while reading PrintQuota base in LDAP: 
.$mesg-error;
# Purge the print job
open IN, -;
while (IN) {
}
exit 1;
}
my $entry;
our %basequota;
foreach $entry ($mesg-entries) {
my $type=$entry-get_value('ou');
my $quota=$entry-get_value('description');
$basequota{$type}=$quota;
}

syslog LOG_DEBUG, DBG loading quota base done if $dbg;

$mesg=$ldap-
search(base=ou=people,ou=csim,dc=cs,dc=ait,dc=ac,dc=th,
   attrs=['csimPrintQuotaType', 'csimPrintQuotaAdditional', 
   'csimPrintQuotaUsed'],
   filter = (uid=$user));

if ($mesg-code) {
syslog LOG_ERR, Error while accessing user $user in LDAP: .$mesg-error;
# Purge the print job
open IN, -;
while (IN) {
}
exit 1;
}
if ($mesg-count() != 1) {
syslog LOG_ERR, Found more than one user $user in LDAP;
# Purge the print job
open IN, -;
while (IN) {
}
exit 1;
}
$entry=$mesg-entry(0);
if (! defined $entry) {
syslog LOG_ERR, Could not find the user $user in LDAP;
# Purge the print job
open IN, -;
while (IN) {
}
exit 1;
}
our $type=$entry-get_value('csimPrintQuotaType');
our $add=$entry-get_value('csimPrintQuotaAdditional');
our $used=$entry-get_value('csimPrintQuotaUsed');
$type=~s/^[^=]*=\s*//;
$type=~s/\s*,.*$//;
our $base=$basequota{$type};

syslog LOG_DEBUG, DBG user $user found and quota loaded if $dbg;

if ($type=~/blocked/i) {
# We could have a warning here, but I doubt people will read it
#   print User $user is over quota: $used{$user} ($quot{$user})\n;
my $status = $mail-send(
 from= 'dae...@cs.ait.ac.th' ,
 from_title = 'Print Daemon',
 to  = $us...@cs.ait.ac.th ,
 subject = Your print quota is blocked ,
 msg = Your 

Re: fixit and gmirror

2009-12-08 Thread Tim Judd
On 12/8/09, Joey Mingrone j...@mingrone.org wrote:
 Hello:

 I was upgrading a system from 7.2 to 8.0 and all was going well until
 the make installkernel step.  The / partition filled up when the new
 kernel was installing.  Since /boot was taking up most of the space I
 moved /boot to /usr/ and create a symlink in / then I did make
 installkernel again and everything completed.  Unfortunately I didn't
 move the necessary bits from /usr/boot back to / before rebooting and
 now the system won't boot.  I'm trying to use the fixit option with
 the livefs cd to repair the system, but I'm having problems with
 gmirror.  The disks are in software raid0.  Can anyone point me in the
 right direction to get /usr and / mounted from the mirror using fixit?


Because the livefs uses a MFSROOT system (allows you to make changes
to the ram-based disk image after boot), you have to load kernel
modules before the mfsroot is mounted.  As an example..

boot cd
escape to loader prompt
load /boot/kernel/geom_mirror.ko
load /boot/kernel/smbfs.ko (if needed, i had to load two modules the
time i had to use it)
boot


And I would like to note..  raid0 is striping, gstripe.  raid1 is
mirroring.  I find it hard to recognize raid0 as your boot device.


Let me know if you need further help.


--Tim
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Chomium on FreeBSD?

2009-12-08 Thread Sam Fourman Jr.
On Mon, Jun 29, 2009 at 2:07 PM, Chad Perrin per...@apotheon.com wrote:
 On Sun, Jun 28, 2009 at 06:47:53PM -0400, Daniel Underwood wrote:
 Is there an effort to build a port of chromium for FreeBSD? I recently
 began using chromium on my Linux machine, and the HTML rendering speed
 is quite impressive.

 When it has the ability to synchronize bookmarks, I'll use it exclusively.

 I second this sentiment.  I quite like Chrome/Chromium thus far, and
 would love to have it available on FreeBSD -- combining my browser of
 choice with my OS of choice.  As things currently stand, I get to use a
 browser I like slightly less most of the time, and my browser of choice
 on an OS I quite dislike on the rare occasion I need to do cross-platform
 Web development testing.

I don't know much about Chromium at this point, but has anyone tried
to build the sources on FreeBSD?

Sam Fourman Jr.
Fourman Networks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: won't boot after 8.0-RELEASE upgrade

2009-12-08 Thread Tom Worster
On 12/8/09 5:21 PM, Polytropon free...@edvax.de wrote:

 On Tue, 8 Dec 2009 14:09:16 -0800 (PST), Ivo Karabojkov i...@kit-bg.com
 wrote:
 So I'd like to know how
 to distinguish mode of my current filesystems - is it standard or
 dangerously dedicated?
 
 If you've first created a slice on the disk, and then
 partitions inside the slice, it's standard mode, e. g.
 
 ad0   ab   d   e   f   g
 {  [  (/)  (swap)  (/tmp)  (/var)  (/usr)  (/home)  ]  }
   s1
 
 If you've omitted the slice, and created the partitions
 on the disk device itself, it's dangerosly dedicated mode, e. g.
 
 ad0
 {  (/)  (swap)  (/tmp)  (/var)  (/usr)  (/home)  }
   ab   d   e   f   g
 
 You can tell by the existence of ad0s1[adefg] vs. ad0[adefg]
 in /dev, or by trying to print the disks's slice table.

thank you. that's good to know.

now that i know that my machine was not using DD mode before the upgrade to
8.0, it seems there ought to be a chance to make it boot.

the boot loader can see the partitions ad4s1[abdef] but the 8.0 kernel that
was installed with freebsd-update can't. isn't there some trick with dd to
zero out the geom metadata and makes the partitions look like ordinary
again?

(i was about 30 hours into copying the data off the disk to another machine
when my router died so i'm back at square 1 now, which was described in my
email at 11.14am est on dec 3rd.)


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: set up of hp laserjet 2200dn with Jetdirect 610N on network

2009-12-08 Thread Olivier Nicole
By the way, something forgot to mention: the script only copies a file
from your computer to the printer; it does not do much magic appart
from that. As far as I remember, HP 2200 do not understand image
files, so you must use an external software (xv from ports?) to print
your image. But you would need some software on Windows too.

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Chomium on FreeBSD?

2009-12-08 Thread Glen Barber
Hi

On Tue, Dec 8, 2009 at 8:40 PM, Sam Fourman Jr. sfour...@gmail.com wrote:
 On Mon, Jun 29, 2009 at 2:07 PM, Chad Perrin per...@apotheon.com wrote:
 On Sun, Jun 28, 2009 at 06:47:53PM -0400, Daniel Underwood wrote:
 Is there an effort to build a port of chromium for FreeBSD? I recently
 began using chromium on my Linux machine, and the HTML rendering speed
 is quite impressive.

 When it has the ability to synchronize bookmarks, I'll use it exclusively.

 I second this sentiment.  I quite like Chrome/Chromium thus far, and
 would love to have it available on FreeBSD -- combining my browser of
 choice with my OS of choice.  As things currently stand, I get to use a
 browser I like slightly less most of the time, and my browser of choice
 on an OS I quite dislike on the rare occasion I need to do cross-platform
 Web development testing.

 I don't know much about Chromium at this point, but has anyone tried
 to build the sources on FreeBSD?


This project [1] has been working on getting Chrom(ium) on FreeBSD for
some time.  I haven't used it recently (since I switched my main
machine to amd64), but it was pretty stable on i386.

[1] - http://chromium.jaggeri.com/


Regards,


-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


What is proper process for source installs?

2009-12-08 Thread Peter Steele
We had been building systems from the binary release plus our custom kernel. In 
doing that we just used the base collection from the 8.0 binary release DVD and 
copied our kernel files to /boot/kernel. We are now doing both installworld and 
installkernel. The issue I'm having is figuring out what else is needed to 
complete the package. For example, /etc is not part of installworld, as well as 
a number of other text files. My inclination is to install the base package 
from the 8.0 binary release, and then update that set with whatever is produced 
by installworld. However, when I try to combine the trees I get these errors:

bin/rcp: Can't unlink already-existing object: Operation not permitted
lib/libc.so.7: Can't unlink already-existing object: Operation not permitted
lib/libcrypt.so.5: Can't unlink already-existing object: Operation not permitted
lib/libthr.so.3: Can't unlink already-existing object: Operation not permitted
libexec/ld-elf.so.1: Can't unlink already-existing object: Operation not 
permitted

and so on. So it's safe to say just merging the trees like this isn't the way 
to go. What is the proper process to finish a bsd image after installworld and 
installkernel is done?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


  1   2   >