Re: Shared IMAP folder (off)

2006-07-11 Thread Nagy László Zsolt




There's some directions at 
http://www.flatmtn.com/computer/Linux-Imap-UW.html (found by googling 
uw imap shared folders) but I'm not sure I follow them. It looks like 
it's just setting up another IMAP account that happens to be shared


I use cyrus-imap, and it seems to have fairly straight-forward support 
for shared/public folders from what little I've played with them.
Okay, I think you are right. I should switch to cyrus-imapd. But there 
is a big difference between the two. Here is what the package 
description says:


A full Cyrus IMAP implementation allows a seamless mail and bulletin board
environment to be set up across multiple servers.  It differs from other
IMAP server implementations in that it is run on sealed servers, where
users are not normally permitted to log in.  The mailbox database is stored
in parts of the filesystem that are private to the Cyrus IMAP system.  All
user access to mail is through software using the IMAP, POP3, or KPOP
protocols.


I already have some users with many e-mails (created with uw-imap). How can I 
migrate between the two?
I believe that I'm offtopic here. :-(


 Laszlo


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


Re: Alt Gr key troubles in FreeBSD

2006-07-11 Thread nocturnal

Hi

I was afraid you wouldn't understand how the problem works. The chacters 
work on this computer, or i wouldn't be able to work daily with it, but 
at times they just get stuck and refuse to work temporarily until i let 
go of the alt gr key and try again. At rare times i can let go of the 
alt gr key to try again but they wont work until after two or three 
attempts. I doubt this is happening at random so i would like to say it 
happens when i type fast and change key combinations fast but sometimes 
it happens when i type slower to. I think it has something to do with me 
using shift just before i switch over and use alt gr, i think i'm simply 
switching over too fast. Actually, now that i said that, i just tried it 
in the thunderbird application where i'm writing this e-mail and i was 
able to reproduce the problem by typing a bunch of uppercase characters 
holding the shift key down and then directly trying to type [ using alt 
gr+8 on my keyboard. What happened was i got no character output for the 
[ character and after holding it for a while i heard a beep, then i let 
go of alt gr and 8 was output.


It's probably because shift+8 is supposed to produce the ( character 
while alt gr+8 produces the [ character so there's some kinda conflict 
when i don't let go of shift fast enough. My theory is that i was so 
used to Windows after years of using it that this happened to me a lot. 
I also suspect that the Windows driver that handles this is more 
developed in the sense that you can hit shift+alt gr+8 but if those keys 
have no kombination in that order it simply takes the last keys which 
had a combination and uses them, alt gr+8 that is. I'm just guessing of 
course.




Med vänliga hälsningar

Stefan Midjich aka nocturnal
[Swehack] http://swehack.se


Erik Nørgaard wrote:

nocturnal wrote:


Well i usually use vim and it's hard to know if it happens in other
applications, because i use vim so much compared to the other
applications and also because i mostly write those characters in vim. I
do use FreeBSD at home to and i can't remember any problems from writing
e-mails or chatting on irc. I use rxvt for all my terminal applications.
Of course this could simply mean i don't use those characters much in
those applications. I used to use nedit, before vim, and i am sure i had
the same problem in nedit.


Well, could you to narrow in on the problem try and test these things?

0th: Tell us your keyboard settings in XF86Config (model and layout)

1st: List the characters that you have problem with - obviously you need
a computer that doesn't suffer this problem :)

2nd: Try to type all these characters with the correct key-combinations,

- In the console
- In xterm
- In vi (not vim)
- In xemacs/emacs
- In firefox or thunderbird - any place you can type

Then maybe someone can point you closer to the solution.

Cheers, Erik


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


Re: been buggin' me for a while now (console resolution)

2006-07-11 Thread Giorgos Keramidas
On 2006-07-10 23:32, Peter [EMAIL PROTECTED] wrote:
--- Stubborn [EMAIL PROTECTED] wrote:
 You need to recompile your kernel with below
 options VESA

 Allright, did that.

 You need to include these in your rc.conf
 allscreens_flags=132x25

 I'm trying manually first and it's a no go.  This is the output of
 'vidcontrol -i mode':

   0 (0x000) 0x0001 T 40x25   8x8   0xb8000 32k 32k 0x 32k
   1 (0x001) 0x0001 T 40x25   8x8   0xb8000 32k 32k 0x 32k
   2 (0x002) 0x0001 T 80x25   8x8   0xb8000 32k 32k 0x 32k
   3 (0x003) 0x0001 T 80x25   8x8   0xb8000 32k 32k 0x 32k
   4 (0x004) 0x0003 G 320x200x2 1 8x8   0xb8000 32k 32k 0x 32k
   5 (0x005) 0x0003 G 320x200x2 1 8x8   0xb8000 32k 32k 0x 32k
   6 (0x006) 0x0003 G 640x200x1 1 8x8   0xb8000 32k 32k

The 132x25 mode doesn't work for all video adapters, AFAIK.

The best I have been able to use almost everywhere is 80x30.

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


Re: been buggin' me for a while now (console resolution)

2006-07-11 Thread Giorgos Keramidas
On 2006-07-11 12:04, Stubborn [EMAIL PROTECTED] wrote:
 [snip 312 lines of quoted material]

 Peter,

 have you tried rebooting your box and put allscreens_flags=132x25 in
 your rc.conf?

That won't work if his adapter doesn't support 132x25 either.

Also, please *trim* the quoted material.  Having to skim again and again
through multi-hundred posts of quoted material to find out that you have
only added about 2 lines of text near the end is silly.

- Giorgos

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


cyradmin cannot connect (was: Shared IMAP Folder)

2006-07-11 Thread Nagy László


 Hello,

I'm trying to install sasl2 + cyrus-imapd, using this article:

http://www.onlamp.com/pub/a/onlamp/2005/10/06/cyrus_imap.html?page=2

I found the article very helpful. I could do everything until the point 
where I need to create a user in cyrus. There I have an error message:


#cyradm --user admin 127.0.0.1
cyradm: cannot connect to server

I see no messages in /var/log/messages. The program immediately 
terminates with this error message. What can be the problem?


Thanks,

  Laszlo

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


FreeBSD 6.1-RELEASE fails to reboot system

2006-07-11 Thread Loren M. Lang
I just built a new server based on a Celeron 2.53Ghz with EM64T
extensions on an ASUS P5S800 motherboard and 256 DDR ram and install
FreeBSD-6.1 using the amd64 version.  Everything is running fine, but
when I tell the system to reboot, it just hangs with the line
Rebooting...  Both halt and power off commands work as expected.
Disabling ACPI did not change anything.  This system is also running
with a serial console, but the reboot problems happened even at the end
of the installer.  I had to hit reboot after the installer exited, but
the filesystems came back clean everytime so they had been synced properly.
-- 
Loren M. Lang
[EMAIL PROTECTED]
http://www.alzatex.com/


Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: CEE1 AAE2 F66C 59B5 34CA  C415 6D35 E847 0118 A3D2




signature.asc
Description: OpenPGP digital signature


Re: been buggin' me for a while now (console resolution)

2006-07-11 Thread Peter

--- Giorgos Keramidas [EMAIL PROTECTED] wrote:

 On 2006-07-10 23:32, Peter [EMAIL PROTECTED] wrote:
 --- Stubborn [EMAIL PROTECTED] wrote:
  You need to recompile your kernel with below
  options VESA
 
  Allright, did that.
 
  You need to include these in your rc.conf
  allscreens_flags=132x25
 
  I'm trying manually first and it's a no go.  This is the output
 of 
  'vidcontrol -i mode':

[snip]

34 (0x022) 0x0001 T 80x60   8x8   0xb8000 32k 32k
0x 32k
 
 The 132x25 mode doesn't work for all video adapters, AFAIK.
 
 The best I have been able to use almost everywhere is 80x30.

I can manually get 80x60 with 'vidcontrol 80x60' and this is good
enough for me.  How do I automate this at bootup?

Peter

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: been buggin' me for a while now (console resolution)

2006-07-11 Thread Giorgos Keramidas
On 2006-07-11 08:43, Peter [EMAIL PROTECTED] wrote:
--- Giorgos Keramidas [EMAIL PROTECTED] wrote:
On 2006-07-10 23:32, Peter [EMAIL PROTECTED] wrote:
--- Stubborn [EMAIL PROTECTED] wrote:
 You need to recompile your kernel with below
 options VESA

 Allright, did that.

 You need to include these in your rc.conf
 allscreens_flags=132x25

 I'm trying manually first and it's a no go.  This is the output of
 'vidcontrol -i mode':

 [snip]

 34 (0x022) 0x0001 T 80x60   8x8   0xb8000 32k 32k 0x 32k

 The 132x25 mode doesn't work for all video adapters, AFAIK.

 The best I have been able to use almost everywhere is 80x30.

 I can manually get 80x60 with 'vidcontrol 80x60' and this is good
 enough for me.  How do I automate this at bootup?

By setting your preferred mode in `/etc/rc.conf':

allscreens_flags=80x30

Note that for non-default modes, you also have to set up a font in your
`rc.conf' file, otherwise vidcontrol will refuse to change the console
mode at bootup, so a more complete example would be:

font8x8=iso-8x8.fnt
allscreens_flags=80x60

After saving these in your `/etc/rc.conf' file you don't have to reboot
for them to take effect, something like the following should work too:

hostname# /bin/sh
# vidcontrol -f 8x8 iso-8x8.fnt
# for dev in /dev/ttyv* ; do vidcontrol 80x60  $dev ; done

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


shell retrieve history (up arrow) not working

2006-07-11 Thread Marty Landman

I have a 4.8 installation with a root account and one user account. The root
account up-arrow history retrieve feature works fine, while on my user
account it doesn't, displaying instead

$ ^[[A^[[C^[[B^[[D

when I press the arrow keys in order (up, right, down, left)

What is missing to have the shell interpret these keys? I notice that when
on the user acct entering the Mysql cmd shell retrieve does work buy not on
the 'main' shell.

Here are the dir contents for each account:

mrwilhelm# ls -al /root
total 24
drwxr-xr-x   5 root  wheel   512 Jul  9 04:04 .
drwxr-xr-x  17 root  wheel   512 May  7 16:00 ..
drwxr-xr-x   5 root  wheel   512 Jul  9 04:12 .cpan
-rw-r--r--   2 root  wheel   802 Apr  3  2003 .cshrc
-rw---   1 root  wheel  2573 Jul  9 04:50 .history
-rw-r--r--   1 root  wheel   142 Apr  3  2003 .klogin
-rw-r--r--   1 root  wheel   297 Apr  3  2003 .login
-rw---   1 root  wheel42 May 12 16:12 .mysql_history
-rw-r--r--   2 root  wheel   251 Apr  3  2003 .profile
drwx--   2 root  wheel   512 May 11 09:13 .ssh
drwxr-xr-x   2 root  wheel   512 May 26 17:08 scripts
mrwilhelm# ls -al /home/marty
total 24
drwxr-xr-x  3 marty  users  512 Jul  8 21:13 .
drwxr-xr-x  4 root   wheel  512 May 12 13:28 ..
-rw-r--r--  1 marty  users  771 May  7 16:00 .cshrc
-rw-r--r--  1 marty  users0 May 11 09:28 .history
-rw-r--r--  1 marty  users  255 May  7 16:00 .login
-rw-r--r--  1 marty  users  165 May  7 16:00 .login_conf
-rw---  1 marty  users  371 May  7 16:00 .mail_aliases
-rw-r--r--  1 marty  users  331 May  7 16:00 .mailrc
-rw---  1 marty  users  811 Jul  8 21:13 .mysql_history
-rw-r--r--  1 marty  users  801 May  7 16:00 .profile
-rw---  1 marty  users  276 May  7 16:00 .rhosts
-rw-r--r--  1 marty  users  852 May  7 16:00 .shrc
drwx--  2 marty  users  512 May  9 08:56 .ssh
mrwilhelm#

Marty



--
Web Installed Formmail - http://face2interface.com/formINSTal/
Webmaster's BBS - http://bbs.face2interface.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: been buggin' me for a while now (console resolution)

2006-07-11 Thread Peter

--- Giorgos Keramidas [EMAIL PROTECTED] wrote:

 On 2006-07-11 08:43, Peter [EMAIL PROTECTED] wrote:
 --- Giorgos Keramidas [EMAIL PROTECTED] wrote:
 On 2006-07-10 23:32, Peter [EMAIL PROTECTED] wrote:
 --- Stubborn [EMAIL PROTECTED] wrote:
  You need to recompile your kernel with below
  options VESA
 
  Allright, did that.
 
  You need to include these in your rc.conf
  allscreens_flags=132x25
 
  I'm trying manually first and it's a no go.  This is the output
 of
  'vidcontrol -i mode':
 
  [snip]
 
  34 (0x022) 0x0001 T 80x60   8x8   0xb8000 32k 32k
 0x 32k
 
  The 132x25 mode doesn't work for all video adapters, AFAIK.
 
  The best I have been able to use almost everywhere is 80x30.
 
  I can manually get 80x60 with 'vidcontrol 80x60' and this is good
  enough for me.  How do I automate this at bootup?
 
 By setting your preferred mode in `/etc/rc.conf':
 
   allscreens_flags=80x30
 
 Note that for non-default modes, you also have to set up a font in
 your
 `rc.conf' file, otherwise vidcontrol will refuse to change the
 console
 mode at bootup, so a more complete example would be:
 
   font8x8=iso-8x8.fnt
   allscreens_flags=80x60
 
 After saving these in your `/etc/rc.conf' file you don't have to
 reboot
 for them to take effect, something like the following should work
 too:
 
   hostname# /bin/sh
   # vidcontrol -f 8x8 iso-8x8.fnt
   # for dev in /dev/ttyv* ; do vidcontrol 80x60  $dev ; done

Thank you.  I did it the old fashioned way (reboot).

Bonus question:

I have the following in my .xinitrc file:

aterm -e screen 

What is happening is that neither /etc/profile nor ~/.profile are being
read.  How can I get
either of them to be sourced?

Peter

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: shell retrieve history (up arrow) not working

2006-07-11 Thread Lowell Gilbert
Marty Landman [EMAIL PROTECTED] writes:

 I have a 4.8 installation with a root account and one user account. The root
 account up-arrow history retrieve feature works fine, while on my user
 account it doesn't, displaying instead

 $ ^[[A^[[C^[[B^[[D

 when I press the arrow keys in order (up, right, down, left)

They are using different shells.  Root uses csh by default, your user
account is using sh.  Try set -o emacs for sh.  [Or try csh, but I
try to avoid that because it's so bad as a scripting language.]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sil3112 question

2006-07-11 Thread Lowell Gilbert
Eugeny Kuzakov [EMAIL PROTECTED] writes:

 I have p4p800Se mb.

 I have bought a few days before Tekram TR-822. It's Sil3112 based software
 raid.

 I need mirror device, contained 2 partitions -- fat32ufs.

 I want to use fat32 under freebsdwindows xp.

 the problem is that under windows the controller works good,
 but FreeBSD doesn't see created mirror logical device.

 Has anyone working same configaration? What sil3112 bios version?

Doesn't software RAID imply Windows software? 
Running Windows software isn't one of FreeBSD's strong points...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


aterm -e screen does not source .bashrc (was: Re: been buggin' me for a while now (console resolution))

2006-07-11 Thread Giorgos Keramidas
On 2006-07-11 09:09, Peter [EMAIL PROTECTED] wrote:
 I have the following in my .xinitrc file:
 
 aterm -e screen 
 
 What is happening is that neither /etc/profile nor ~/.profile are
 being read.  How can I get either of them to be sourced?

By default, xterm, rxvt, aterm and various other terminal emulators
start non-login shells.  This means that .profile is not sourced by the
shell spawned by the terminal.  You can enable a `login shell' inside
one of these terminal emulators with the -ls option:

aterm -ls -e screen 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ServerWorks CSB6 and SiI 0680

2006-07-11 Thread Lowell Gilbert
John Soderberg [EMAIL PROTECTED] writes:

 Hello folks: 

 I need some ATA/IDE driver work, wrt chipsets 0680 or CSB6.

 Otherwise I shall have to move to Linux, and golly -- I just
 perfer FreeBSD.  

 I'm on some IBM blades, (which use the ServerWorks CSB6 and SiI 0680   
 chips,) and have a single Intel P4 as the main CPU processor.

 I'm running FBSD 6.1.

 After some detective work, it seems that the FreeBSD
 ATA (or IDE disk driver) may have been having
 problems, so I jotted down the specific Chipset we
 have in blades 1-5 and proceeded to investigate...

 The chipsets we have are:
 SiI 0680 and ServerWorks CSB6.

 There are 2 chipsets and what is happening is that
 the Primary IDE channel
 or Channel 0 is the SiI (Silicon Image) and the
 secondary channel or Channel 1 is the Serverworks,
 which explains why 3 of the blades are running as
 UDMA100 instead of UDMA133

 Here's the notification note fr Mar06 telling us taht
 we have buggy chipsets, both of which are listed by
 name:

 http://groups.google.com/group/mailing.freebsd.hardware/browse_frm/thread/e89378cb8690f2d7/8ea5bfc25b9ab90a?lnk=stq=Serverworks+CSB6+group%3A*freebsd*rnum=34hl=en#8ea5bfc25b9ab90a

Please read that note again.
I believe that the mention of the CSB6 chipset is just the existing
support note in the manual for ata(4).  So I don't think that explains
anything of your issues.  

You could always talk to SOS@ about the observed symptoms...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


IMAP server alternatives

2006-07-11 Thread Nagy László


 Hello,

I tried cyrus-imapd, but I'm unsatisfied. Their website was down for a 
day. Now it is up, but the pages were not updated after 2003. They had a 
majordomo list but it is not functioning. I found another mailing list 
but nobody answers. I do not see answer to my question in its documentation.


Are there any alternative IMAP servers that have good support (e.g. 
working mailing list, up-to-date documentation), and can share IMAP 
folders between users?


These are the ones I see:

bincimap -- only maildir, cannot share folders
courier -- uses the maildir format, but I'm not sure about sharing
cyrus-imapd -- I could not find support for this
dbmail-mysql -- AFAIK no folder sharing
dkimap -- ???
dovecot -- early stages of development, can I trust in this?
imap-uw -- only maildir, cannot share folders
py24-twistedMail -- Looks like this is only a collection of modules

I could use py24-twistedMail to create shared folders, but this requires 
re-inventing the weel. What do you recommend?


Thanks,

  Laszlo

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


Re: Error Upgrading XFree86-4-clients

2006-07-11 Thread Lowell Gilbert
Warren Liddell [EMAIL PROTECTED] writes:

 im Running FreeBSD 6.1-STABLE and the last week or more i have had problems 
 trying to upgrade this port .. below is the full work up of trying to install 
 the package manually from the ports.  Any assistance into whats happening 
 would be appreciated.

 ==
 exports/lib   
 glxinfo.o -lGLU -lGL -lXext -lX11 -L/usr/X11R6/lib -pthread -lm   
 -Wl,-rpath,/usr/X11R6/lib 
 -Wl,-rpath-link,/usr/ports/x11/XFree86-4-clients/work/xc/exports/lib
 /usr/bin/ld: warning: libstdc++.so.3, needed by /usr/X11R6/lib/libGLU.so, not 
 found (try using -rpath or -rpath-link)
 /usr/X11R6/lib/libGLU.so: undefined reference to `__rtti_user'
 /usr/X11R6/lib/libGLU.so: undefined reference to `__rtti_si'
 /usr/X11R6/lib/libGLU.so: undefined reference to `__get_eh_context'
 /usr/X11R6/lib/libGLU.so: undefined reference to `__sjthrow'
 /usr/X11R6/lib/libGLU.so: undefined reference to `__builtin_vec_new'
 /usr/X11R6/lib/libGLU.so: undefined reference to `__builtin_vec_delete'
 /usr/X11R6/lib/libGLU.so: undefined reference to `__rtti_class'
 /usr/X11R6/lib/libGLU.so: undefined reference to `__builtin_delete'
 /usr/X11R6/lib/libGLU.so: undefined reference to `__terminate'
 /usr/X11R6/lib/libGLU.so: undefined reference to `__builtin_new'
 *** Error code 1

 Stop in /usr/ports/x11/XFree86-4-clients/work/xc/programs/glxinfo.
 *** Error code 1

 Stop in /usr/ports/x11/XFree86-4-clients/work/xc/programs.
 *** Error code 1

 Stop in /usr/ports/x11/XFree86-4-clients.

libGLU.so is trying to pull in an old version of the libstdc++.so.  

I'm guessing this happens on install?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


IMAP server alternatives

2006-07-11 Thread Nagy László


Hello,

I tried cyrus-imapd, but I'm unsatisfied. Their website was down for a 
day. Now it is up, but the pages were not updated after 2003. They had a 
majordomo list but it is not functioning. I found another mailing list 
but nobody answers. I do not see answer to my question in its 
documentation.


Are there any alternative IMAP servers that have good support (e.g. 
working mailing list, up-to-date documentation), and can share IMAP 
folders between users?


These are the ones I see:

bincimap -- only maildir, cannot share folders
courier -- uses the maildir format, and it says it support sharing 
folders with a special root level folder

cyrus-imapd -- I could not find support for this
dbmail-mysql -- AFAIK no folder sharing
dkimap -- ???
dovecot -- early stages of development, can I trust in this?
imap-uw -- only maildir, cannot share folders
py24-twistedMail -- Looks like this is only a collection of modules

I could use py24-twistedMail to create shared folders, but this requires 
re-inventing the weel.

What do you recommend? Is courier the only alternative?

Thanks,

 Laszlo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: aterm -e screen does not source .bashrc (was: Re: been buggin' me for a while now (console resolution))

2006-07-11 Thread Peter

--- Giorgos Keramidas [EMAIL PROTECTED] wrote:

 On 2006-07-11 09:09, Peter [EMAIL PROTECTED] wrote:
  I have the following in my .xinitrc file:
  
  aterm -e screen 
  
  What is happening is that neither /etc/profile nor ~/.profile are
  being read.  How can I get either of them to be sourced?
 
 By default, xterm, rxvt, aterm and various other terminal emulators
 start non-login shells.  This means that .profile is not sourced by
 the
 shell spawned by the terminal.  You can enable a `login shell' inside
 one of these terminal emulators with the -ls option:
 
   aterm -ls -e screen 
 

I added this option but I still do not get my ~/.profile sourced (no
aliases).  Going '. ~/.profile' gives me my aliases.  How does aterm
know what file to look for?

Peter

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IMAP server alternatives

2006-07-11 Thread Reko Turja
- Original Message - 
From: Nagy László [EMAIL PROTECTED]

To: freebsd-questions@freebsd.org
Sent: Tuesday, July 11, 2006 4:29 PM
Subject: IMAP server alternatives




 Hello,

I tried cyrus-imapd, but I'm unsatisfied. Their website was down for 
a day. Now it is up, but the pages were not updated after 2003. They 
had a majordomo list but it is not functioning. I found another 
mailing list but nobody answers. I do not see answer to my question 
in its documentation.


I still recommend Cyrus - and you can find the lists at CMU from the 
following link:


http://lists.andrew.cmu.edu/mailman/listinfo

The downside of Cyrus is the abysmal documentation, but once you get 
hang of it, it's one fine IMAP/POP server. And of course there's 
project wiki at


http://cyruswiki.andrew.cmu.edu/

which definitely is updated after 2003 :)

-Reko 


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


Re: sil3112 question

2006-07-11 Thread Alex Zbyslaw

Lowell Gilbert wrote:


Eugeny Kuzakov [EMAIL PROTECTED] writes:

 


I have p4p800Se mb.

I have bought a few days before Tekram TR-822. It's Sil3112 based software
raid.

I need mirror device, contained 2 partitions -- fat32ufs.

I want to use fat32 under freebsdwindows xp.

the problem is that under windows the controller works good,
but FreeBSD doesn't see created mirror logical device.

Has anyone working same configaration? What sil3112 bios version?
   



Doesn't software RAID imply Windows software? 
Running Windows software isn't one of FreeBSD's strong points...


 

Er, no, unless I am much mistaken  it doesn't imply that at all (see man 
ataraid).  FreeBSD handles plenty of software (metadata only) RAIDs, 
though I believe that an archive search will turn up that the sil3112 is 
possibly the worst such RAID ever and was a poor choice of RAID card, 
however cheap.  Try google.   SiL are listed among the controllers 
supported by ataraid on 6.1 so I would expect the RAID to be recognised 
even if it performed badly.


I've not used such a RAID so perhaps some specific action with 
atacontrol is required.


--Alex


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


Re: aterm -e screen does not source .bashrc (was: Re: been buggin' me for a while now (console resolution))

2006-07-11 Thread Giorgos Keramidas
On 2006-07-11 09:40, Peter [EMAIL PROTECTED] wrote:
--- Giorgos Keramidas [EMAIL PROTECTED] wrote:
On 2006-07-11 09:09, Peter [EMAIL PROTECTED] wrote:
 I have the following in my .xinitrc file:
 
 aterm -e screen 
 
 What is happening is that neither /etc/profile nor ~/.profile are
 being read.  How can I get either of them to be sourced?
 
 By default, xterm, rxvt, aterm and various other terminal emulators
 start non-login shells.  This means that .profile is not sourced by
 the
 shell spawned by the terminal.  You can enable a `login shell' inside
 one of these terminal emulators with the -ls option:
 
  aterm -ls -e screen 
 
 
 I added this option but I still do not get my ~/.profile sourced (no
 aliases).  Going '. ~/.profile' gives me my aliases.  How does aterm
 know what file to look for?

aterm doesn't care about .profile or other files.  It starts a shell,
based on the $SHELL environment variable and your login shell from
`/etc/passwd'.

What shell are you using?

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


DWL-650 Revision M

2006-07-11 Thread Brian Henning

Hello All,

If someone could help me out that would be great. I currently own a wireless
card Dlink (DWL-650 Revision M) and I am not able to get FreeBSD 6.1 to load
the wi driver. I perused the wi man pages and found that the D-Link DWL-650
is on the list of supported cards. I question whether or not this includes
all revisions of the DWL-650.

Can someone please confirm that the DWL-650 Revision M is or is NOT
supported?

Maybe I need to purchase a new wireless card that will be supported.
Is this perhaps the best way to go at the point?

Thanks,

Brian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Re[2]: Mounting a drive

2006-07-11 Thread Jerry McAllister
 
 Many  thanks for reply Jerry, when I joined FreeBSD I had not realised
 that  it  was  a Linux/ Unix forum, on quick inspection I assumed that
 the title referred to some kind of general help forum. There is such a
 proliferation  of  abbreviated  titles  that I am not always sure from
 titles of their purpose.
 
 My  question  referred really to Windows XP, as I am only just getting
 to grips with Linux.

First of all, it has nothing to do with LINUX.

This is FreeBSD which follows the BSD family of UNIX and
is not nearly the same.   In fact, most of us experience it
as superior to LUNIX for server work.
   Check it out at:   http://www.freebsd.org/

As for any Microsloth stuff, I couldn't help, but I would
guess that you are wasting your time trying to do anything
of that sophistication in MS.

Finally, when you post questions or responses on the list, you should
always include the list in your responses (as a cc).

jerry


 I  had  read  an article recently, which I can no longer find, that to
 get  around  the  limitation, under windows XP, of the number of named
 partitions  that  one  can  use,  that  apparently  one  can mount a
 partition,  be  it  a  sector  of a hard drive, or a removeable drive,
 within  a  directory. ( I believe the article said directory, it might
 have  ben  a folder ) The article was referring to the ability then to
 have  a  number of flash drives or external USB connected drives which
 could exceed the normal Windows limitation.
 
 I  am  running  a  piece of software, hyperOS, which allows me to have
 multiple  bootable partitions, and currently I have around 20 on a 300
 Gig  hard  drive,  I wanted to add several USB memory stick drives and
 some partitions with different flavours of linux, and so am interested
 in  finding  out  how I can overcome the windows XP limitation. I felt
 that  also  I  needed  to  understand what the term mounting a drive
 actually  meant,  so  that  I  could  try  to  anticipate  any unusual
 behaviour,  particularly  with  boot  switching.  From  your  email it
 appears  that  mounting  implies  letting the device driver know the
 address of the device upon which it is to work.
 
 Best regards and thanks for reply,
 Richard
 
 mailto:[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Re[2]: Mounting a drive

2006-07-11 Thread cknipe
Hmm

Disk Manager - Change Mount Point - Mount Volume to a Directory

Unless I'm misunderstanding, that's what you're looking for on the Windows
side.. 

--
Chris


Quoting Jerry McAllister [EMAIL PROTECTED]:

  
  Many  thanks for reply Jerry, when I joined FreeBSD I had not realised
  that  it  was  a Linux/ Unix forum, on quick inspection I assumed that
  the title referred to some kind of general help forum. There is such a
  proliferation  of  abbreviated  titles  that I am not always sure from
  titles of their purpose.
  
  My  question  referred really to Windows XP, as I am only just getting
  to grips with Linux.
 
 First of all, it has nothing to do with LINUX.
 
 This is FreeBSD which follows the BSD family of UNIX and
 is not nearly the same.   In fact, most of us experience it
 as superior to LUNIX for server work.
Check it out at:   http://www.freebsd.org/
 
 As for any Microsloth stuff, I couldn't help, but I would
 guess that you are wasting your time trying to do anything
 of that sophistication in MS.
 
 Finally, when you post questions or responses on the list, you should
 always include the list in your responses (as a cc).
 
 jerry
 
 
  I  had  read  an article recently, which I can no longer find, that to
  get  around  the  limitation, under windows XP, of the number of named
  partitions  that  one  can  use,  that  apparently  one  can mount a
  partition,  be  it  a  sector  of a hard drive, or a removeable drive,
  within  a  directory. ( I believe the article said directory, it might
  have  ben  a folder ) The article was referring to the ability then to
  have  a  number of flash drives or external USB connected drives which
  could exceed the normal Windows limitation.
  
  I  am  running  a  piece of software, hyperOS, which allows me to have
  multiple  bootable partitions, and currently I have around 20 on a 300
  Gig  hard  drive,  I wanted to add several USB memory stick drives and
  some partitions with different flavours of linux, and so am interested
  in  finding  out  how I can overcome the windows XP limitation. I felt
  that  also  I  needed  to  understand what the term mounting a drive
  actually  meant,  so  that  I  could  try  to  anticipate  any unusual
  behaviour,  particularly  with  boot  switching.  From  your  email it
  appears  that  mounting  implies  letting the device driver know the
  address of the device upon which it is to work.
  
  Best regards and thanks for reply,
  Richard
  
  mailto:[EMAIL PROTECTED]
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 



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


Re: IMAP server alternatives

2006-07-11 Thread Erik Norgaard

Reko Turja wrote:

The downside of Cyrus is the abysmal documentation, but once you get 
hang of it, it's one fine IMAP/POP server. And of course there's project 
wiki at


http://cyruswiki.andrew.cmu.edu/

which definitely is updated after 2003 :)


I too can recommend cyrus-imap which I have used for more than two years 
without problems. From what I have heard, the alternative seems to be 
courier.


The wu-imap does not use maildir but rather mailbox, this means that 
people have access to their standard unix mail box as always and add 
imap/pop access.


Regarding cyrus documentation: I think they have stopped maintaining the 
documentation and moved to use the wiki - unfortunately, you don't 
stumble into the wiki first :(


Cheers, Erik

--
Ph: +34.666334818  web: http://www.locolomo.org
X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt
Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IMAP server alternatives

2006-07-11 Thread albi
Erik Norgaard wrote:

 Regarding cyrus documentation: I think they have stopped maintaining the
 documentation and moved to use the wiki - unfortunately, you don't
 stumble into the wiki first :(

i can happily recommend Dovecot, really easy to install (Cyrus really
isn't), supports both Maildir and mbox, been using it for years without
any problems (i used courier before that, but i like dovecot much better)

see here :  http://www.dovecot.org and
http://wiki.dovecot.org/

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


Re: aterm -e screen does not source .bashrc

2006-07-11 Thread Alex Zbyslaw

Giorgos Keramidas wrote:


On 2006-07-11 09:09, Peter [EMAIL PROTECTED] wrote:
 


I have the following in my .xinitrc file:

aterm -e screen 

What is happening is that neither /etc/profile nor ~/.profile are
being read.  How can I get either of them to be sourced?
   



By default, xterm, rxvt, aterm and various other terminal emulators
start non-login shells.  This means that .profile is not sourced by the
shell spawned by the terminal.  You can enable a `login shell' inside
one of these terminal emulators with the -ls option:

aterm -ls -e screen 
 

But a better option, IMHO,  is to correctly separate the functionality 
in your .profile from that in some other (e.g. .shinit) file.  One is 
for only stuff that happens at login, one for stuff that happens regardless.


from man sh


 When first starting, the shell inspects
 argument 0, and if it begins with a dash (-), the shell is also 
consid-
 ered a login shell.  This is normally done automatically by the 
system
 when the user first logs in.  A login shell first reads commands 
from the
 files /etc/profile and then .profile if they exist.  If the 
environment
 variable ENV is set on entry to a shell, or is set in the 
.profile of a
 login shell, the shell then reads commands from the file named in 
ENV.
 Therefore, a user should place commands that are to be executed 
only at
 login time in the .profile file, and commands that are executed 
for every

 shell inside the ENV file.  The user can set the ENV variable to some
 file by placing the following line in the file .profile in the home
 directory, substituting for .shinit the filename desired:

   ENV=$HOME/.shinit; export ENV



IMHO, this one one of the ways that csh was miles ahead of sh as a login 
(as opposed to a scripting) shell.  These days, of course, a modern 
shell like bash has many of the best features of both, and even sh can 
(finally) do command line editing.


--Alex



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


Re: DWL-650 Revision M

2006-07-11 Thread backyard1454-bsd


--- Brian Henning [EMAIL PROTECTED] wrote:

 Hello All,
 
 If someone could help me out that would be great. I
 currently own a wireless
 card Dlink (DWL-650 Revision M) and I am not able to
 get FreeBSD 6.1 to load
 the wi driver. I perused the wi man pages and found
 that the D-Link DWL-650
 is on the list of supported cards. I question
 whether or not this includes
 all revisions of the DWL-650.
 
 Can someone please confirm that the DWL-650 Revision
 M is or is NOT
 supported?
 
 Maybe I need to purchase a new wireless card that
 will be supported.
 Is this perhaps the best way to go at the point?
 
 Thanks,
 
 Brian
 ___
 freebsd-questions@freebsd.org mailing list

http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 

I believe this is the WiFi card I have. The SuperMMimo
or whatever extension 108Mbps throughput and all that
good stuff...

Use the Windows XP driver file and inf and use the
NDIS emulation driver builder to generate a kernel
module for that card. I know this makes the driver, I
have not verified that I can connect yet with it, but
I have heard this is the best way to do it. 

I know it tells me a file is missing
/compat/ndis/Reg?? something or other. I have not
looked into the man pages for this file but I would
have to guess it is just a registry layer for tweaking
the driver. However the module loads without errors
and ifconfig says the device is detected, and all the
lights on the card start blinking. I just have a nasty
WPA key that I've been too lazy to copy from my
Windows partition to verify that everything is indeed
working (and I refuse to leave my connection insecure
even for a second or three.) Also haven't had time to
address the missing Registry compat file.

This assumes your are using Rel_6 (which you are, if
one can read one has a fortune...) I know there is a
nice simple script file that does all the work for
you, the name just escapes me but the ndis manpage is
a great place to start. 

good luck


-brian

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


Re: aterm -e screen does not source .bashrc

2006-07-11 Thread Giorgos Keramidas
On 2006-07-11 15:33, Alex Zbyslaw [EMAIL PROTECTED] wrote:
Giorgos Keramidas wrote:
 By default, xterm, rxvt, aterm and various other terminal emulators
 start non-login shells.  This means that .profile is not sourced by the
 shell spawned by the terminal.  You can enable a `login shell' inside
 one of these terminal emulators with the -ls option:

  aterm -ls -e screen 

 But a better option, IMHO,  is to correctly separate the functionality in
 your .profile from that in some other (e.g. .shinit) file.  One is for
 only stuff that happens at login, one for stuff that happens regardless.

Yes, of course :-)

 from man sh

 When first starting, the shell inspects argument 0, and if
 it begins with a dash (-), the shell is also considered a
 login shell.  This is normally done automatically by the
 system when the user first logs in.  A login shell first
 reads commands from the files /etc/profile and then
 .profile if they exist.  If the environment variable ENV is
 set on entry to a shell, or is set in the .profile of a
 login shell, the shell then reads commands from the file
 named in ENV.  Therefore, a user should place commands that
 are to be executed only at login time in the .profile file,
 and commands that are executed for every shell inside the
 ENV file.  The user can set the ENV variable to some file
 by placing the following line in the file .profile in the
 home directory, substituting for .shinit the filename
 desired:

 ENV=$HOME/.shinit; export ENV

 IMHO, this one one of the ways that csh was miles ahead of sh as a login
 (as opposed to a scripting) shell.  These days, of course, a modern shell
 like bash has many of the best features of both, and even sh can
 (finally) do command line editing.

Agreed.  My current .bash_profile is basically a minimal wrapper around
.bashrc these days:

% gothmog % cat -n .bash_profile
%  1  # Startup file for login instances of the bash(1) shell.
%  2  # $RCS: giorgos/.bash_profile,v 1.10 2005/07/10 21:10:39 giorgos Exp $
%  3
%  4  # First of all, run a .bashrc file if it exists.
%  5  test -f ~/.bashrc  . ~/.bashrc
%  6
%  7  # The following section should be pretty minimal, if present at all.
%  8  mesg y /dev/null 21
%  9  /usr/bin/true
% gothmog %
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


termcap problems

2006-07-11 Thread Alex Push

Hi All,

I recently got FreeBSD 6.1-RELEASE on my server, and a couple of days  
ago I started getting this message when I ssh in:

csh: Cannot open /etc/termcap
csh: using dumb terminal settings

This yields a very limited terminal -- I can execute basic commands,  
but can't open vi/vim (vi: No terminal database found), etc.


I checked  /etc/termcap, and it is a symlink to /usr/share/misc/ 
termcap, and that file *does* exist. I don't think it's a permissions  
problem since both termcap and termcap.db are readable to all users (- 
r--r--r--). I rebuilt the termcap.db file (in /usr/share/misc/ 
termcap)  by running cap_mkdb termcap, but this didn't fix the  
terminal.


I also tried rebuilding and reinstalling the termcap source from /usr/ 
src/share/termcap, but I am still getting this error, and it's making  
my box pretty unusable.


Any thoughts? Thanks a lot in advance.

Alex
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: RSA SecurID soft tokens under FreeBSD

2006-07-11 Thread David Robillard

Hi,

Does anyone use RSA SecurID soft tokens under FreeBSD?
I'm writing a end-to-end monitoring app and will be
needing to authenticate using SecurID, and have come
up pretty empty-handed in my search for more info.

Thanks,

Marcus


Hi Marcus,

We're using Nagios to monitor our RSA SecureID websites.
Nagios is in the FreeBSD ports as net-mgmt/nagios.

Basically, it's just a simple perl script wrapped into Nagios.
It works very well. Let me know if you need more info.

Cheers,

David

--
David Robillard
CISSP, RHCE, SCSA
Montreal: +1 514 966 0122
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


flash / pandora.com / google video

2006-07-11 Thread Erin Sharmahd

I've been working on trying to get flash working on my freebsd 6.1
system, and have had a bit of luck, but not quite as much as I'd like
to have.

After recovering from some less-successful attempts, I followed the
instructions at http://www.jail.se/freebsd.html, and can now get most
flash websites to work correctly.  However, Google Video and
Pandora.com both completely crash firefox.  Has anybody found a
solution to this problem?

Thanks,
~TuxGirl

--
http://www.tuxgirl.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IMAP server alternatives

2006-07-11 Thread Bill Moran
In response to Nagy László [EMAIL PROTECTED]:
 
   Hello,
 
 I tried cyrus-imapd, but I'm unsatisfied. Their website was down for a 
 day. Now it is up, but the pages were not updated after 2003. They had a 
 majordomo list but it is not functioning. I found another mailing list 
 but nobody answers. I do not see answer to my question in its documentation.
 
 Are there any alternative IMAP servers that have good support (e.g. 
 working mailing list, up-to-date documentation), and can share IMAP 
 folders between users?
 
 These are the ones I see:

[snip]

 dovecot -- early stages of development, can I trust in this?

I've been using Dovecot on various production servers since it was in
beta.  I highly recommend it.

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Re[2]: Mounting a drive

2006-07-11 Thread backyard1454-bsd
Keep in mind here without special device drivers (I've
heard they exist but have never installed any of them)
you will not be able to mount a Linux (linux uses
several different file systems) partition under
Windows XP. Disk Manager will allow an NTFS filesystem
directory mount an arbritrary Volume (a file system
windows supports, fat, fat32, ntfs, maybe hpfs) on
your system to overcome the DOS (it is not a Windows
limitation, Microsoft is still running a 16 bit world)
limitation of 26 drives, 24 of which can be
harddrives.

Mounting isn't really a function of the filesystem
(maybe in Linux it is???) but of the vnode system. It
allows a device (any specially configured file) with
a known structure to be referenced within the context
of a root directory structure, superceding
(non-destructively...) whatever was in the mounted
directory prior to the mount. In other words it lets
the partition (I'll keep the spcial files simple) be
seen on a filesystem to people with the appropriate
credentials, and by mounting say /foo with say the
special file /dev/da0s1a anything in /foo will no
longer be seen by the vnode system and instead
anything on /dev/da0s1a will be displayed in it's
place.

It would seem that unless you are installing Linux on
an Fat32 filesystem those partitions would be useless
within windows. You wouldn't be able to even edit
configuration files with Windows (the editors that
come with windows) editors because they will add line
feed (maybe it is carridge returns I always mess this
one up) to the text and Linux won't like that.

Any further help with Linux should be in another
mailling list, but if you want to put FreeBSD on one
of those memory sticks I'm sure we would try to
help...

Windows is just about useless, it doesn't even support
the now 5 year old or so 64-bit processors... I highly
doubt you will find anything but headaches doing what
you seem to be attempting to do with Windows and
GNUnix.

good luck

-brian


--- [EMAIL PROTECTED] wrote:

 Hmm
 
 Disk Manager - Change Mount Point - Mount Volume to
 a Directory
 
 Unless I'm misunderstanding, that's what you're
 looking for on the Windows
 side.. 
 
 --
 Chris
 
 
 Quoting Jerry McAllister
 [EMAIL PROTECTED]:
 
   
   Many  thanks for reply Jerry, when I joined
 FreeBSD I had not realised
   that  it  was  a Linux/ Unix forum, on quick
 inspection I assumed that
   the title referred to some kind of general help
 forum. There is such a
   proliferation  of  abbreviated  titles  that I
 am not always sure from
   titles of their purpose.
   
   My  question  referred really to Windows XP, as
 I am only just getting
   to grips with Linux.
  
  First of all, it has nothing to do with LINUX.
  
  This is FreeBSD which follows the BSD family of
 UNIX and
  is not nearly the same.   In fact, most of us
 experience it
  as superior to LUNIX for server work.
 Check it out at:   http://www.freebsd.org/
  
  As for any Microsloth stuff, I couldn't help, but
 I would
  guess that you are wasting your time trying to do
 anything
  of that sophistication in MS.
  
  Finally, when you post questions or responses on
 the list, you should
  always include the list in your responses (as a
 cc).
  
  jerry
  
  
   I  had  read  an article recently, which I can
 no longer find, that to
   get  around  the  limitation, under windows XP,
 of the number of named
   partitions  that  one  can  use,  that 
 apparently  one  can mount a
   partition,  be  it  a  sector  of a hard drive,
 or a removeable drive,
   within  a  directory. ( I believe the article
 said directory, it might
   have  ben  a folder ) The article was referring
 to the ability then to
   have  a  number of flash drives or external USB
 connected drives which
   could exceed the normal Windows limitation.
   
   I  am  running  a  piece of software, hyperOS,
 which allows me to have
   multiple  bootable partitions, and currently I
 have around 20 on a 300
   Gig  hard  drive,  I wanted to add several USB
 memory stick drives and
   some partitions with different flavours of
 linux, and so am interested
   in  finding  out  how I can overcome the windows
 XP limitation. I felt
   that  also  I  needed  to  understand what the
 term mounting a drive
   actually  meant,  so  that  I  could  try  to 
 anticipate  any unusual
   behaviour,  particularly  with  boot  switching.
  From  your  email it
   appears  that  mounting  implies  letting the
 device driver know the
   address of the device upon which it is to work.
   
   Best regards and thanks for reply,
   Richard
   
   mailto:[EMAIL PROTECTED]
  ___
  freebsd-questions@freebsd.org mailing list
 

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

http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To 

RE: cyradmin cannot connect (was: Shared IMAP Folder)

2006-07-11 Thread Brock, Anthony - NET
You then need to make sure the server is running. The error message cyradm: 
cannot connect to server can indicate that you don't have the imap service 
running. You should be able to see something similar to:

# lsof -i | egrep 'PID|imap' | egrep 'PID|LIST'
COMMAND PIDUSER   FD   TYPE DEVICE SIZE NODE NAME
master26691   cyrus5u  IPv4 172199   TCP localhost:imap (LISTEN)
master26691   cyrus   10u  IPv6 172202   TCP localhost:imap (LISTEN)
master26691   cyrus   13u  IPv6 172206   TCP *:imaps (LISTEN)
master26691   cyrus   16u  IPv4 172209   TCP *:imaps (LISTEN)
imapd 26782   cyrus4u  IPv6 172206   TCP *:imaps (LISTEN)
imapd 26791   cyrus4u  IPv6 172206   TCP *:imaps (LISTEN)
imapd 26792   cyrus4u  IPv6 172206   TCP *:imaps (LISTEN)
imapd 26833   cyrus4u  IPv4 172209   TCP *:imaps (LISTEN)
imapd 26836   cyrus4u  IPv4 172209   TCP *:imaps (LISTEN)
imapd 27712   cyrus4u  IPv4 172209   TCP *:imaps (LISTEN)
imapd 27789   cyrus4u  IPv4 172209   TCP *:imaps (LISTEN)
imapd 27842   cyrus4u  IPv4 172209   TCP *:imaps (LISTEN)
imapd 28451   cyrus4u  IPv4 172209   TCP *:imaps (LISTEN)
imapd 28452   cyrus4u  IPv4 172209   TCP *:imaps (LISTEN)
imapd 28460   cyrus4u  IPv4 172209   TCP *:imaps (LISTEN)

If you don't see the master process listening to 143/tcp, then cyradm will 
never work (it connects to this process to manage the server). Also, at least 
with the version I'm running, cyradm does NOT support unencrypted connections. 
So I have imap listening to 143/tcp on localhost with the following in my 
'/etc/cyrus.conf' file:

  imap  cmd=imapd listen=localhost:imap prefork=0

Good luck!

Tony


 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Nagy László
 Sent: Tuesday, July 11, 2006 2:22 AM
 To: freebsd-questions@freebsd.org
 Subject: cyradmin cannot connect (was: Shared IMAP Folder)
 
 
   Hello,
 
 I'm trying to install sasl2 + cyrus-imapd, using this article:
 
 http://www.onlamp.com/pub/a/onlamp/2005/10/06/cyrus_imap.html?page=2
 
 I found the article very helpful. I could do everything until 
 the point 
 where I need to create a user in cyrus. There I have an error message:
 
 #cyradm --user admin 127.0.0.1
 cyradm: cannot connect to server
 
 I see no messages in /var/log/messages. The program immediately 
 terminates with this error message. What can be the problem?
 
 Thanks,
 
Laszlo
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IMAP server alternatives

2006-07-11 Thread Greg Groth

On 7/11/2006 9:29 AM, albi wrote:

Erik Norgaard wrote:


Regarding cyrus documentation: I think they have stopped maintaining the
documentation and moved to use the wiki - unfortunately, you don't
stumble into the wiki first :(


i can happily recommend Dovecot, really easy to install (Cyrus really
isn't), supports both Maildir and mbox, been using it for years without
any problems (i used courier before that, but i like dovecot much better)

see here :  http://www.dovecot.org and
http://wiki.dovecot.org/


I would like to ask a couple more in depth questions pertaining to this 
conversation.  We recently switched from POP3  Outlook Express to IMAP 
using IMAP-UW  Thunderbird.  Personally I have had no issues with 
IMAP-UW, but the users in our office have had issues with the mbox 
format itself.  Specifically they cannot store messages  subfolders 
within a folder (referring to the Thunderbird definition of a folder). 
In mbox, since a given folder is not a directory, but a file, you cannot 
place a subfolder within that file.  Outlook Express' POP3 
implementation did not have this behavior.  Right or wrong, my users 
have requested that I attempt to restore this functionality in IMAP.  Am 
I correct in assuming that if I switch to a mdir format server, it will 
operate in the manner they are requesting?


My next question is in regards to scalability, not so much in the way of 
users, but in the amount of mail they store.  Currently we have about 20 
email accounts, and for the most part the users keep their email to a 
reasonable amount.  However I do have 5 users that insist they save 
everything, and do not clean out their InBoxes.  Currently they retain 
email going back 5 years, and have mail folders in excess of a couple of 
gigs apiece.  Since one of these people is the owner, I have little 
chance of changing this policy.  However they are asking that I attempt 
to increase the response time of the IMAP server, which can be somewhat 
slow for them - especially through SquirrelMail.  Would the mdir format 
help in this situation as well?


Last question, how difficult is it to back up the mdir format? 
Currently I cron a tar job, nightly, to backup the mboxes to another 
server to allow for tape backups (the tape unit on the server in 
question doesn't want to play nice with FreeBSD), and have had no 
difficulty in accomplishing this.  Can I accomplish the same style of 
backups when moving to mdir?


I'm in the middle of setting up a server to try out various IMAP servers 
to test which would provide the best response for our specific needs 
(low number of users - high volume of saved email), and would appreciate 
any opinions on the matter as it would probably save considerable time 
picking the right software to begin with.


Best regards,
Greg Groth
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: aterm -e screen does not source .bashrc (was: Re: been buggin' me for a while now (console resolution))

2006-07-11 Thread Peter

--- Giorgos Keramidas [EMAIL PROTECTED] wrote:

 On 2006-07-11 09:40, Peter [EMAIL PROTECTED] wrote:
 --- Giorgos Keramidas [EMAIL PROTECTED] wrote:
 On 2006-07-11 09:09, Peter [EMAIL PROTECTED] wrote:
  I have the following in my .xinitrc file:
  
  aterm -e screen 
  
  What is happening is that neither /etc/profile nor ~/.profile are
  being read.  How can I get either of them to be sourced?
  
  By default, xterm, rxvt, aterm and various other terminal
 emulators
  start non-login shells.  This means that .profile is not sourced
 by
  the
  shell spawned by the terminal.  You can enable a `login shell'
 inside
  one of these terminal emulators with the -ls option:
  
 aterm -ls -e screen 
  
  
  I added this option but I still do not get my ~/.profile sourced
 (no
  aliases).  Going '. ~/.profile' gives me my aliases.  How does
 aterm
  know what file to look for?
 
 aterm doesn't care about .profile or other files.  It starts a shell,
 based on the $SHELL environment variable and your login shell from
 `/etc/passwd'.
 
 What shell are you using?

$ echo $SHELL
/usr/local/bin/bash

$ grep peter /etc/passwd 
peter:*:1002:100:User :/home/peter:/usr/local/bin/bash

Do I need to set up a different file (.bashrc)?

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: been buggin' me for a while now (console resolution)

2006-07-11 Thread John Nielsen
On Tuesday 11 July 2006 08:43, Peter wrote:
 --- Giorgos Keramidas [EMAIL PROTECTED] wrote:
  On 2006-07-10 23:32, Peter [EMAIL PROTECTED] wrote:
  --- Stubborn [EMAIL PROTECTED] wrote:
   You need to recompile your kernel with below
   options VESA
  
   Allright, did that.

[snip]

 I can manually get 80x60 with 'vidcontrol 80x60' and this is good
 enough for me.  How do I automate this at bootup?

I typically can do VGA_80x60 on most modern hardware. I can't remember what 
the difference between the VGA modes and others are, but I knew at one 
point and decided that VGA modes were better.

Also, if that's not good enough for you then you can use arbitrary VESA 
graphics modes (as long as you're running 6.x or -CURRENT). On this machine I 
have:

  allscreens_flags=-f 8x14 cp437-8x14.fnt MODE_346

In /etc/rc.conf. On my video hardware, mode 346 is:

346 (0x15a) 0x000f G 1600x1200x32 1  8x16  0xa 64k 64k 0x8800 
8000k

That gives me a 1600x1200 raster display using an 8x14 font, for a console 
size of 85 rows and 200 columns.

You can experiment with different modes (and font sizes) until you find a 
combination that a) works and b) you like. Use vidcontrol from the command 
line to experiment before modifying rc.conf, so you can switch to another 
virtual terminal if you switch to an unsupported mode.

HTH,

JN
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DWL-650 Revision M

2006-07-11 Thread backyard1454-bsd


--- [EMAIL PROTECTED] wrote:

 
 

  currently own a wireless
  card Dlink (DWL-650 Revision M) and I am not able
 to
  get FreeBSD 6.1 to load
  the wi driver. I perused the wi man pages and
 found

 I believe this is the WiFi card I have. The
 SuperMMimo
 or whatever extension 108Mbps throughput and all
 that
 good stuff...
 
 Use the Windows XP driver file and inf and use the
 NDIS emulation driver builder to generate a kernel
 module for that card. I know this makes the driver,
 I
 have not verified that I can connect yet with it,
 but
 I have heard this is the best way to do it. 
 
 I know it tells me a file is missing
 /compat/ndis/Reg?? something or other. I have
 not
 looked into the man pages for this file but I would
 have to guess it is just a registry layer for
 tweaking
 the driver. However the module loads without errors
 and ifconfig says the device is detected, and all
 the
 lights on the card start blinking. I just have a
 nasty
 WPA key that I've been too lazy to copy from my
 Windows partition to verify that everything is
 indeed
 working (and I refuse to leave my connection
 insecure
 even for a second or three.) Also haven't had time
 to
 address the missing Registry compat file.
 
 This assumes your are using Rel_6 (which you are, if
 one can read one has a fortune...) I know there is a
 nice simple script file that does all the work for
 you, the name just escapes me but the ndis manpage
 is
 a great place to start. 
 
 good luck
 
 
 -brian
 

I knew I was forgetting something... the .INF file has
some anomalies in it that will make the script file
not make a kernel module out of the box. There is a
line which the script will spit out for you that won't
compile correctly. This line has something to do with
switching the credentials of an unkown user to that of
an administerator user or some such thing along those
lines. This line has to be commented out of the INF
file for everything to work correctly.

I do not think this line effects the driver but nobody
becoming root is something FreeBSD doesn't seem to
like and justifiably so... I guess I shouldn't be
supprised to see that Windows thinks this is perfectly
acceptable.

-brian

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


Re: aterm -e screen does not source .bashrc (was: Re: been buggin' me for a while now (console resolution))

2006-07-11 Thread Giorgos Keramidas
On 2006-07-11 11:18, Peter [EMAIL PROTECTED] wrote:
 I added this option but I still do not get my ~/.profile sourced
 (no aliases).  Going '. ~/.profile' gives me my aliases.  How does
 aterm know what file to look for?

 aterm doesn't care about .profile or other files.  It starts a shell,
 based on the $SHELL environment variable and your login shell from
 `/etc/passwd'.

 What shell are you using?

 $ echo $SHELL
 /usr/local/bin/bash

 $ grep peter /etc/passwd
 peter:*:1002:100:User :/home/peter:/usr/local/bin/bash

 Do I need to set up a different file (.bashrc)?

GNU bash will not read .profile if you also have a .bash_profile file.

What do you see in your HOME directory with:

$ ls -ld .*profile .*rc

In my local setup here, I see something like this:

$ pwd
/home/giorgos
$ ls -ld .bash* .sh* .profile
-rw---  1 giorgos  giorgos  - 30103 Jul 11 18:47 .bash_history
-rw-rw-r--  1 giorgos  giorgos  -   318 Jul 11 17:47 .bash_profile
-rw-rw-r--  1 giorgos  giorgos  -  3742 Jul 11 18:17 .bashrc
-rw-rw-r--  1 giorgos  giorgos  -  1006 Mar 29 07:19 .profile
-rw-rw-r--  1 giorgos  giorgos  -  1433 Nov 18  2004 .shrc
$

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


Re: IMAP server alternatives

2006-07-11 Thread John Nielsen
On Tuesday 11 July 2006 11:07, Bill Moran wrote:
 In response to Nagy László [EMAIL PROTECTED]:
  Are there any alternative IMAP servers that have good support (e.g.
  working mailing list, up-to-date documentation), and can share IMAP
  folders between users?

  dovecot -- early stages of development, can I trust in this?

 I've been using Dovecot on various production servers since it was in
 beta.  I highly recommend it.

On Tuesday 11 July 2006 10:29, albi wrote:
 i can happily recommend Dovecot, really easy to install (Cyrus really
 isn't), supports both Maildir and mbox, been using it for years without
 any problems (i used courier before that, but i like dovecot much better)

 see here :  http://www.dovecot.org and
 http://wiki.dovecot.org/

I second (third?) both of the above. I switched my main production mail server 
from imap-uw to dovecot about a year ago and have been much happier since. It 
is very stable, and handles large folders and concurrent connections to the 
same account very smoothly (both things I had issues with using imap-uw). I 
think that dovecot's betas are like other products' release 
candidates--I've never had the sense that I'm using beta software.

It also supports shared folders, although I haven't had a need to experiment 
with that.

JN
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: aterm -e screen does not source .bashrc

2006-07-11 Thread Alex Zbyslaw

Giorgos Keramidas wrote:


Agreed.  My current .bash_profile is basically a minimal wrapper around
.bashrc these days:

% gothmog % cat -n .bash_profile
%  1  # Startup file for login instances of the bash(1) shell.
%  2  # $RCS: giorgos/.bash_profile,v 1.10 2005/07/10 21:10:39 giorgos Exp $
%  3
%  4  # First of all, run a .bashrc file if it exists.
%  5  test -f ~/.bashrc  . ~/.bashrc
%  6
%  7  # The following section should be pretty minimal, if present at all.
%  8  mesg y /dev/null 21
%  9  /usr/bin/true
% gothmog %

 

I've found the distinction quite useful since, for example, I only want 
to run ssh-agent when logging in on the console, but not if I su, say.  
(I also share all my shell configuration files with my root identity, so 
I would expect to su on the console).


Also, stuff like limits and exported environment variables only need to 
get set in the shell that owns all the others.  And if you have things 
like mail notifications, or fortune, they just become irritating if you 
get them in every single xterm.


--Alex


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


Re: aterm -e screen does not source .bashrc (was: Re: been buggin' me for a while now (console resolution))

2006-07-11 Thread Peter

--- Giorgos Keramidas [EMAIL PROTECTED] wrote:

 On 2006-07-11 11:18, Peter [EMAIL PROTECTED] wrote:
  I added this option but I still do not get my ~/.profile sourced
  (no aliases).  Going '. ~/.profile' gives me my aliases.  How
 does
  aterm know what file to look for?
 
  aterm doesn't care about .profile or other files.  It starts a
 shell,
  based on the $SHELL environment variable and your login shell from
  `/etc/passwd'.
 
  What shell are you using?
 
  $ echo $SHELL
  /usr/local/bin/bash
 
  $ grep peter /etc/passwd
  peter:*:1002:100:User :/home/peter:/usr/local/bin/bash
 
  Do I need to set up a different file (.bashrc)?
 
 GNU bash will not read .profile if you also have a .bash_profile
 file.
 
 What do you see in your HOME directory with:
 
   $ ls -ld .*profile .*rc
 
 In my local setup here, I see something like this:
 
 $ pwd
 /home/giorgos
 $ ls -ld .bash* .sh* .profile
 -rw---  1 giorgos  giorgos  - 30103 Jul 11 18:47
 .bash_history
 -rw-rw-r--  1 giorgos  giorgos  -   318 Jul 11 17:47
 .bash_profile
 -rw-rw-r--  1 giorgos  giorgos  -  3742 Jul 11 18:17 .bashrc
 -rw-rw-r--  1 giorgos  giorgos  -  1006 Mar 29 07:19 .profile
 -rw-rw-r--  1 giorgos  giorgos  -  1433 Nov 18  2004 .shrc


$ ls -ld .*profile .*rc
-rw-rw  1 peter  users   767B Jul 29  2005 .cshrc
-rw---  1 peter  users26B May  2 11:08 .dmrc
-rw-rw  1 peter  users   331B Jul 29  2005 .mailrc
-rw-rw  1 peter  users31B Jun 28 21:33 .mcoprc
-rw-rw  1 peter  users   1.6K Jul  4 15:31 .profile
-rw-r--r--  1 peter  users   616B Jun 19 22:10 .screenrc
-rw-rw  1 peter  users   975B Jul 29  2005 .shrc
-rw-rw  1 peter  users   402B Jul 11 09:29 .xinitrc

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IMAP server alternatives

2006-07-11 Thread Ron Wilhoite

On 7/11/2006 11:18 AM, Greg Groth wrote:

On 7/11/2006 9:29 AM, albi wrote:

Erik Norgaard wrote:



I would like to ask a couple more in depth questions pertaining to this 
conversation.  We recently switched from POP3  Outlook Express to IMAP 
using IMAP-UW  Thunderbird.  Personally I have had no issues with 
IMAP-UW, but the users in our office have had issues with the mbox 
format itself.  Specifically they cannot store messages  subfolders 
within a folder (referring to the Thunderbird definition of a folder). 
In mbox, since a given folder is not a directory, but a file, you cannot 
place a subfolder within that file.  Outlook Express' POP3 
implementation did not have this behavior.  Right or wrong, my users 
have requested that I attempt to restore this functionality in IMAP.  Am 
I correct in assuming that if I switch to a mdir format server, it will 
operate in the manner they are requesting?


I do this with Thunderbird and Dovecot using maildir for IMAP users.



My next question is in regards to scalability, not so much in the way of 
users, but in the amount of mail they store.  Currently we have about 20 
email accounts, and for the most part the users keep their email to a 
reasonable amount.  However I do have 5 users that insist they save 
everything, and do not clean out their InBoxes.  Currently they retain 
email going back 5 years, and have mail folders in excess of a couple of 
gigs apiece.  Since one of these people is the owner, I have little 
chance of changing this policy.  However they are asking that I attempt 
to increase the response time of the IMAP server, which can be somewhat 
slow for them - especially through SquirrelMail.  Would the mdir format 
help in this situation as well?


I saw a dramatic improvement in speed with both Thunderbird and 
Squirrelmail after switching from mbox to maildir.




Last question, how difficult is it to back up the mdir format? 
Currently I cron a tar job, nightly, to backup the mboxes to another 
server to allow for tape backups (the tape unit on the server in 
question doesn't want to play nice with FreeBSD), and have had no 
difficulty in accomplishing this.  Can I accomplish the same style of 
backups when moving to mdir?


I rsync both mbox and maildir message stores with no problem. Tar should 
copy your maildir folders with no problem. You might be slightly 
surprised when you realize each message is a separate file with maildir.




I'm in the middle of setting up a server to try out various IMAP servers 
to test which would provide the best response for our specific needs 
(low number of users - high volume of saved email), and would appreciate 
any opinions on the matter as it would probably save considerable time 
picking the right software to begin with.




Dovecot was simple to install (from ports), has sensible defaults, lets 
me seamlessly support POP and IMAP users (about 100), with inboxes 
(/var/mail/username) still in mbox format, but all other folders in 
maildir format for IMAP users.


Dovecot's developer, Timo Sirainen, is active and extremely helpful on 
the mailing list.


Ron Wilhoite

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


Migrating from mbox to maildir (was Re: IMAP server alternatives)

2006-07-11 Thread Javier Henderson


I saw a dramatic improvement in speed with both Thunderbird and  
Squirrelmail after switching from mbox to maildir.


How did you handle the transition from mbox to maildir?

-jav

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


Re: Segmentation fault with smbpasswd

2006-07-11 Thread Micah

Thierry Lacoste wrote:

I'm running FreeBSD 6.1-RELEASE and installed samba-3.0.22,1
from a relatively recent snapshot or /usr/ports.

Here is the global section of my /usr/local/etc/smb.conf:

[global]
workgroup = OFFICE
server string = Samba Server
passdb backend = tdbsam
logon script = scripts\logon.bat
logon path = \\%L\Profiles\%U
logon drive = H:
logon home = \\%L\%U
domain logons = Yes
os level = 35
preferred master = Yes
domain master = Yes

After a fresh install of samba smbpasswd gives this:
[EMAIL PROTECTED] ~]# smbpasswd -a admin
New SMB password:
Retype new SMB password:
Unable to open/create TDB passwd
Unable to open/create TDB passwd
pdb_getsampwnam: TDB passwd (/usr/local/private/passdb.tdb) did not exist. 
File successfully created.

Segmentation fault: 11 (core dumped)

Then it gives this:
[EMAIL PROTECTED] ~]# smbpasswd -a admin
New SMB password:
Retype new SMB password:
Unable to open/create TDB passwd
pdb_getsampwnam: Unable to open TDB passwd (/usr/local/private/passdb.tdb)!
account_policy_get: tdb_fetch_uint32 failed for field 1 (min password length), 
returning 0
account_policy_get: tdb_fetch_uint32 failed for field 2 (password history), 
returning 0
account_policy_get: tdb_fetch_uint32 failed for field 3 (user must logon to 
change password), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 4 (maximum password 
age), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 5 (minimum password 
age), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 6 (lockout duration), 
returning 0
account_policy_get: tdb_fetch_uint32 failed for field 7 (reset count minutes), 
returning 0
account_policy_get: tdb_fetch_uint32 failed for field 8 (bad lockout attempt), 
returning 0
account_policy_get: tdb_fetch_uint32 failed for field 9 (disconnect time), 
returning 0
account_policy_get: tdb_fetch_uint32 failed for field 10 (refuse machine 
password change), returning 0

TDBSAM version too old (0), trying to convert it.
TDBSAM converted successfully.
Added user admin.

After that, samba seems to work properly.

If I touch /usr/local/private/passdb.tdb after a fresh install of samba
I have directly the second behavior (no segfault) and then again samba
is operational.

What did I miss?

Regards,
Thierry.


You possibly found a bug in the port. Contact the maintainer or file a pr.

HTH,
Micah
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: aterm -e screen does not source .bashrc (was: Re: been buggin' me for a while now (console resolution))

2006-07-11 Thread Giorgos Keramidas
On 2006-07-11 12:05, Peter [EMAIL PROTECTED] wrote:
--- Giorgos Keramidas [EMAIL PROTECTED] wrote:
 What do you see in your HOME directory with:

  $ ls -ld .*profile .*rc

 In my local setup here, I see something like this:

 $ pwd
 /home/giorgos
 $ ls -ld .bash* .sh* .profile
 -rw---  1 giorgos  giorgos  - 30103 Jul 11 18:47 .bash_history
 -rw-rw-r--  1 giorgos  giorgos  -   318 Jul 11 17:47 .bash_profile
 -rw-rw-r--  1 giorgos  giorgos  -  3742 Jul 11 18:17 .bashrc
 -rw-rw-r--  1 giorgos  giorgos  -  1006 Mar 29 07:19 .profile
 -rw-rw-r--  1 giorgos  giorgos  -  1433 Nov 18  2004 .shrc


 $ ls -ld .*profile .*rc
 -rw-rw  1 peter  users   767B Jul 29  2005 .cshrc
 -rw---  1 peter  users26B May  2 11:08 .dmrc
 -rw-rw  1 peter  users   331B Jul 29  2005 .mailrc
 -rw-rw  1 peter  users31B Jun 28 21:33 .mcoprc
 -rw-rw  1 peter  users   1.6K Jul  4 15:31 .profile
 -rw-r--r--  1 peter  users   616B Jun 19 22:10 .screenrc
 -rw-rw  1 peter  users   975B Jul 29  2005 .shrc
 -rw-rw  1 peter  users   402B Jul 11 09:29 .xinitrc

Damn :(

Sorry for the bogus request.  I meant:

$ ls -ld .bash* .sh* .profile

and I correctly used this in my own check, but then forgot to fix the
one I asked you for.

What you sent doesn't show any .bash* files and I still don't know if
you have both a .bash_profile and a .profile file.

Can you please also send the output of:

$ ls -ld .bash* .sh* .profile

Sorry for the confusion...

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


ATAPICAM

2006-07-11 Thread Chris Maness
How do I load atapicam at boot time.  I tried to have it load the same 
way I have the sound modules load, and it doesn't work.  After the 
system is up and running I can load just fine.


Thanks,
Chris Maness
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: aterm -e screen does not source .bashrc (was: Re: been buggin' me for a while now (console resolution))

2006-07-11 Thread Peter

--- Giorgos Keramidas [EMAIL PROTECTED] wrote:

 Can you please also send the output of:
 
 $ ls -ld .bash* .sh* .profile


$ ls -ld .bash* .sh* .profile
-rw-rw  1 peter  users   7.7K Jul 11 09:31 .bash_history
-rw-rw  1 peter  users   1.6K Jul  4 15:31 .profile
-rw-rw  1 peter  users   975B Jul 29  2005 .shrc

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IMAP server alternatives

2006-07-11 Thread Pete Slagle
Nagy László wrote:

 Are there any alternative IMAP servers that have good support (e.g. 
 working mailing list, up-to-date documentation), and can share IMAP 
 folders between users?

I was a satisfied courier-imap user for several years. A few months ago
I switched to dovecot because it is faster in my installation.
(Transition was easy using maildir with both.)

Both have active developers.

 courier -- uses the maildir format, but I'm not sure about sharing

Works great, bullet-proof in my experience.

 dovecot -- early stages of development, can I trust in this?

Also works great. Easier configuration than courier-imap. Significantly
more responsive than courier-imap with Thunderbird clients here using
IMAP only. Seems very solid; zero problems in first few months of use.





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


Re: usb storage device mounting problems

2006-07-11 Thread Micah

On Sunday 09 July 2006 9:59 am, Bram Kuijper wrote:

Hi,

still cannot seem to get usb device working as an ordinary user between
multiple reboots, without doing /etc/rc.d/devfs start as root every time.

did the following things described under 4.3.3. from
http://www.gphoto.org/doc/manual/permissions-usb.html

added this to devfs.rules:

[usb_devices=10]
add path 'da*s*' mode 0666 group usb
add path 'ugen*' mode 0666 group usb

added this to rc.conf:
devfs_system_ruleset=usb_devices


removed this from devfs.conf:

own /dev/fd0 root:operator
perm /dev/fd0 0666


then, I restarted my rc.conf:
/etc/rc.d/devfs start

now, it is possible to mount the device as described, however only
during this login. If I reboot, I have to do devfs start again as root.

anybody knows how to retain these settings between multiple reboots?

TIA,
Bram


An 'ls -l /dev/da*' and 'ls -l /dev/u*' just after reboot might be 
helpful to see if /some/ of the permissions are being set on boot. Next, 
double check your devfs.conf - in your email you said you removed 
permissions related to the floppy not the USB devices, maybe there's a 
conflict. Also, after a reboot but before doing a devfs start, unplug 
your USB device and then plug it back in - to see if devfs is working.


I tried to reproduce your problem with a USB flash drive, but I can't. 
What kind of USB device are you using?  Maybe it's a driver error.


HTH,
Micah
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: k3b package

2006-07-11 Thread Karl Hammerschmidt
The port works just fine. I already installed it. I was only going to use 
packages because I was in a hurry.

I did notice that it depends on libdvdcss, as does kaffeine. I couldn't find 
either of them in any of the subdirectories under pub/FreeBSD/ports/i386 on any 
of the mirrors that I checked, including several non-US ones. I used an ftp 
client to double-check, so I'm not just relying on the output of 'pkg_add -r'. 
Given that they rely on libdvdcss, maybe they aren't on the server for legal 
reasons. (DMCA, etc.)

- Karl


-Original Message-
From: Lowell Gilbert [EMAIL PROTECTED]
Sent: Jul 10, 2006 1:41 PM
To: Karl Hammerschmidt [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Subject: Re: k3b package

Karl Hammerschmidt [EMAIL PROTECTED] writes:

 I was planning to install k3b from a package, but I wasn't
 able to find it in packages-6-stable or packages-6.0-release
 on any of the ftp mirrors.

 Am I missing something?

Well, I just built it successfully, and the port itself isn't marked
for avoiding packaging, so I don't see offhand why you can't find a
package.  

I guess you'll need to use the port for now.

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


Re: sil3112 question

2006-07-11 Thread Eugeny Kuzakov

On 7/11/06, Lowell Gilbert [EMAIL PROTECTED] wrote:


Doesn't software RAID imply Windows software?




Not. Just see   http://linux-ata.org/faq-sata-raid.html

How does work?

In adapter's bios you can setup in  raid configaration. Raid 1 or Raid0.
Adapter hasn't any processor. Jusy biossata conroller chips.
In result bios will write some meta data to the disks about raid
configuration.
when you OS boots, it's see the metadata and and OS driver begin work as
wrote in metadata using usual sata connamd directly to both disks.



--
Best wishes, Coredumped.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sil3112 question

2006-07-11 Thread Eugeny Kuzakov

On 7/11/06, Alex Zbyslaw [EMAIL PROTECTED] wrote:


Lowell Gilbert wrote:

Er, no, unless I am much mistaken  it doesn't imply that at all (see man
ataraid).  FreeBSD handles plenty of software (metadata only) RAIDs,
though I believe that an archive search will turn up that the sil3112 is
possibly the worst such RAID ever and was a poor choice of RAID card,
however cheap.  Try google.   SiL are listed among the controllers
supported by ataraid on 6.1 so I would expect the RAID to be recognised
even if it performed badly.



Of course you are right in all the points!:( I know it now, at the moment of
buy I didn't know
what chip is used  in the Tekram TR-822.. I was very surprised when I see
chip name...

I don'e think that is the solution worst, but problem is different metadata
formats in different BIOSes...
Initially I asked who uses sil3112 and hasn't pronlems:)

Today I will try to update flash bios to some older version, but it's
designed for linux...
I hope FreeBSD driver recongnise it's metadata format...

I've not used such a RAID so perhaps some specific action with

atacontrol is required.



I see at least two problems:
1. If I create raid1 or raid0 using atacontrol create bla-bla-bla then I
see new device -- ar0.
After paririoninglabeling I try to newfs it... FreeBSD hungs in same moment
without any warnings...
2. If I create raid1 or raid0 using bios utility of sil3112 then FreeBSD
driver doesn'y recognise this metadata.
It's just see disk drives and nothing more:(


--
Best wishes, Coredumped.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Producing a binary install

2006-07-11 Thread Bob
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


First I would like to thank all of you who helped me out on my
Java-Hell issue. I now have a working native jdk.1.4.2.

It took a bit of doing, and many hours of compile time, but it finally
worked. It did bomb once, about 4 hours into the compile, and demanded I
  do a  kldload linprocfs, followed by a mount -t linprocfs linprocfs
/compat/linux/proc, claiming it needed a proc fs to compile. I assume
this was needed for the compile-time, and not for the run-time???

Anyway, java now works in all browsers.

My next task here is to upgrade another workstation to freebsd. The
woman I live with wants to dump her Linux, and have what I have as well :-)

My question:

I will be installing her machine mainly from pre-compiled packages, as
it is not a dual-processor fast box like mine is.

Java, and other packages are not available in pre-compiled form. Since I
already compiled Java, is there a way to produce a binary-install on my
machine, and install it on her machine? Simply tar up the dir perhaps?

We have limited bandwidth (DSL) and so it would make sense to do a basic
install for her over the net, and then do the rest of the install
locally from stuff I compiled. Not everything, just BIG stuff like Java,
KDE, Gnome the browsers

TIA
Bob

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEs+GtAexE5bK/mHkRAqpiAJwIDYlW/g7TZ2Pblqbd7kYzmkaY/gCfeIlC
cxlwgJmZjhJcfFFk/FAXgcw=
=wN9o
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: chipest real hardware raid for FreeBSDWindows XP

2006-07-11 Thread Eugeny Kuzakov

On 7/10/06, Derek Ragona [EMAIL PROTECTED] wrote:

Firstly I asked chipest HARDWARE raid MB doesn't has contained hardware
raid...
Please see http://linux-ata.org/faq-sata-raid.html


--
Best wishes, Coredumped.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IMAP server alternatives

2006-07-11 Thread Nagy László Zsolt

Thank you for your responses!

I tried to install cyrus-imapd, courier-imapd and dovecot, in this 
order. :-)
Dovecot has my preference. I could install it in a few minutes, and it 
was very easy to configure. At least it is easier than courier, for me. :-)


Thanks again.

 Laszlo



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


Re: chipest real hardware raid for FreeBSDWindows XP

2006-07-11 Thread Derek Ragona

Rudeness gets you nothing!

At 12:38 PM 7/11/2006, Eugeny Kuzakov wrote:
On 7/10/06, Derek Ragona 
mailto:[EMAIL PROTECTED][EMAIL PROTECTED] wrote:


Firstly I asked chipest HARDWARE raid MB doesn't has contained 
hardware raid...
Please see 
http://linux-ata.org/faq-sata-raid.htmlhttp://linux-ata.org/faq-sata-raid.html



--
Best wishes, Coredumped.

--
This message has been scanned for viruses and
dangerous content by http://www.mailscanner.info/MailScanner, and is
believed to be clean.
MailScanner thanks http://www.transtec.co.uk/transtec Computers for 
their support.


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

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


Re: Segmentation fault with smbpasswd

2006-07-11 Thread Thierry Lacoste
On Tuesday 11 July 2006 18:24, Micah wrote:
 Thierry Lacoste wrote:
  I'm running FreeBSD 6.1-RELEASE and installed samba-3.0.22,1
  from a relatively recent snapshot or /usr/ports.
 
  Here is the global section of my /usr/local/etc/smb.conf:
 
  [global]
  workgroup = OFFICE
  server string = Samba Server
  passdb backend = tdbsam
  logon script = scripts\logon.bat
  logon path = \\%L\Profiles\%U
  logon drive = H:
  logon home = \\%L\%U
  domain logons = Yes
  os level = 35
  preferred master = Yes
  domain master = Yes
 
  After a fresh install of samba smbpasswd gives this:
  [EMAIL PROTECTED] ~]# smbpasswd -a admin
  New SMB password:
  Retype new SMB password:
  Unable to open/create TDB passwd
  Unable to open/create TDB passwd
  pdb_getsampwnam: TDB passwd (/usr/local/private/passdb.tdb) did not
  exist. File successfully created.
  Segmentation fault: 11 (core dumped)
 
  Then it gives this:
  [EMAIL PROTECTED] ~]# smbpasswd -a admin
  New SMB password:
  Retype new SMB password:
  Unable to open/create TDB passwd
  pdb_getsampwnam: Unable to open TDB passwd
  (/usr/local/private/passdb.tdb)! account_policy_get: tdb_fetch_uint32
  failed for field 1 (min password length), returning 0
  account_policy_get: tdb_fetch_uint32 failed for field 2 (password
  history), returning 0
  account_policy_get: tdb_fetch_uint32 failed for field 3 (user must logon
  to change password), returning 0
  account_policy_get: tdb_fetch_uint32 failed for field 4 (maximum password
  age), returning 0
  account_policy_get: tdb_fetch_uint32 failed for field 5 (minimum password
  age), returning 0
  account_policy_get: tdb_fetch_uint32 failed for field 6 (lockout
  duration), returning 0
  account_policy_get: tdb_fetch_uint32 failed for field 7 (reset count
  minutes), returning 0
  account_policy_get: tdb_fetch_uint32 failed for field 8 (bad lockout
  attempt), returning 0
  account_policy_get: tdb_fetch_uint32 failed for field 9 (disconnect
  time), returning 0
  account_policy_get: tdb_fetch_uint32 failed for field 10 (refuse machine
  password change), returning 0
  TDBSAM version too old (0), trying to convert it.
  TDBSAM converted successfully.
  Added user admin.
 
  After that, samba seems to work properly.
 
  If I touch /usr/local/private/passdb.tdb after a fresh install of samba
  I have directly the second behavior (no segfault) and then again samba
  is operational.
 
  What did I miss?
 
  Regards,
  Thierry.

 You possibly found a bug in the port. Contact the maintainer or file a pr.

 HTH,
 Micah
Thanks. I did contact the maintainer.

I tried with FreeBSD 6.0-RELEASE and samba-3.0.14a_1,1 from the ToolKit disk.
When I first use smbpasswd I only have the account_policy_get failures
(no segfault).

BTW I searched the web about the account_policy_get failures but couldn't
find any explanation exept that it is safe to ignore those messages when
smbpasswd is used for the first time.
Can someone shed some light on them?

Regards,
Thierry.

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


Re: aterm -e screen does not source .bashrc (was: Re: been buggin' me for a while now (console resolution))

2006-07-11 Thread Giorgos Keramidas
On 2006-07-11 12:39, Peter [EMAIL PROTECTED] wrote:
 --- Giorgos Keramidas [EMAIL PROTECTED] wrote:
  Can you please also send the output of:
  
  $ ls -ld .bash* .sh* .profile
 
 $ ls -ld .bash* .sh* .profile
 -rw-rw  1 peter  users   7.7K Jul 11 09:31 .bash_history
 -rw-rw  1 peter  users   1.6K Jul  4 15:31 .profile
 -rw-rw  1 peter  users   975B Jul 29  2005 .shrc

Strange, there is no .bash_profile but you still see .profile is unused?

I just tested here, with the CVS mirroring account I have at this
workstation, by:

* moving .bash_profile and .bashrc away

* adding an 'echo' message in its .profile file:

  echo .profile done

and when I su(1) to this account, the .profile is used by bash!

gothmog# su - ncvs
.profile done
[EMAIL PROTECTED] ~]$ echo $SHELL
/usr/local/bin/bash
[EMAIL PROTECTED] ~]$

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


Re: aterm -e screen does not source .bashrc (was: Re: been buggin' me for a while now (console resolution))

2006-07-11 Thread Peter

--- Giorgos Keramidas [EMAIL PROTECTED] wrote:

 On 2006-07-11 12:39, Peter [EMAIL PROTECTED] wrote:
  --- Giorgos Keramidas [EMAIL PROTECTED] wrote:
   Can you please also send the output of:
   
   $ ls -ld .bash* .sh* .profile
  
  $ ls -ld .bash* .sh* .profile
  -rw-rw  1 peter  users   7.7K Jul 11 09:31 .bash_history
  -rw-rw  1 peter  users   1.6K Jul  4 15:31 .profile
  -rw-rw  1 peter  users   975B Jul 29  2005 .shrc
 
 Strange, there is no .bash_profile but you still see .profile is
 unused?
 
 I just tested here, with the CVS mirroring account I have at this
 workstation, by:

[snip]

 and when I su(1) to this account, the .profile is used by bash!

There is no question that .profile is sourced when I log in.  It is
sourced.  It is only not sourced when I invoke aterm from within
.xnitrc:

aterm -ls -e screen 

From before I know that this *does* result in a sourcing of the file:

aterm -e login 

From the bash man page:

   When bash is invoked as an interactive login shell, or as a 
non-inter-
   active  shell with the --login option, it first reads and
executes com-
   mands from the file /etc/profile, if that file exists.   After 
reading
   that file, it looks for ~/.bash_profile, ~/.bash_login, and
~/.profile,
   in that order, and reads and executes commands from the first
one  that
   exists  and  is  readable.  The --noprofile option may be used
when the
   shell is started to inhibit this behavior. 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Bind problem

2006-07-11 Thread Lisa Casey

Hi,



The installed bind is not in /usr/local/bin that is where the port is
installed.  You might want to do a:
# which bind

and set rc.conf to the right value for the program.

-Derek


At 04:34 PM 7/10/2006, Lisa Casey wrote:


- Original Message - From: Jonathan Chen [EMAIL PROTECTED]
To: Lisa Casey [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Monday, July 10, 2006 3:43 PM
Subject: Re: Bind problem



Did you remember to add:
   named_program=/usr/local/sbin/named
to /etc/rc.conf?


Yes. /etc/rc.conf has the following lines for named:

named_enable=YES
named_program=/usr/local/sbin/named
named_flags=-u bind -g bind -c /etc/namedb/named.conf


Lisa Casey



This actually didn't quite answer the problem, but it did lead me in the 
right direction to solve it.


which bind, of course, doesn't work and which named just gives me the path 
to the named executable as given in /etc.rc.conf  But, this got me to 
thinking so I did a find / -name named -print   And found something 
interesting. I have named executables in both /usr/local/sbin and  /usr/sbin 
So I changed the line in /etc/rc.conf that read: 
named_program=/usr/local/sbin/named  to named_program=/usr/sbin/named 
and rebooted the box.  So far, so good. named -v  gives me BIND 9.3.0 and in 
/var/messages the reboot info shows the same when named loads:


Jul 11 13:40:50 netlink kernel: Mounting root from ufs:/dev/da0s1a
Jul 11 13:40:50 netlink named[293]: starting BIND 9.3.0 -u bind -c 
/etc/namedb/n

amed.conf -t /var/named
Jul 11 13:40:51 netlink named[293]: command channel listening on 
127.0.0.1#953


(It's also picking  up the command channel, so I guess I did that right).

I have one last problem (or at least I hope so!). I maybe ought to ask this 
in a bind newsgroup, but there are enough folks on this list running bind on 
FreeBSD that someone  ought to know. Evidently Bind 9 doesn't like my zone 
files whereas Bind 8 was OK with them. A little background:  My main domain 
name is jellico.comI also host several virtual domains using IP based 
virtual domains in Apache2. So each of my virtual domains has been assigned 
an IP address out of my Class C.   In /etc/namedb/M (the directory where I 
keep my zone files that this  DNS server is master for) I have (among other 
zones) jellico.com.db which is my forward file for the domain and 
26.44.208.in-addr.arpa  which is the reverse zone file for the domain. I 
have always had my virtual domains configured into my forward file 
(jellico.com.db) so as to  enable forward DNS resolution on those. They are 
configured into jellico.com.db like this:


jellico.tn.us.  IN  A   208.44.26.225
multi-226   IN  A   208.44.26.226
multi-227   IN  A   208.44.26.227
multi-228   IN  A   208.44.26.228
multi-229   IN  A   208.44.26.229
multi-230   IN  A   208.44.26.230
tspma.com.  IN  A   208.44.26.231
copperhill.com. IN  A   208.44.26.232
multi-233   IN  A   208.44.26.233
www.jellico.net.IN  A   208.44.26.234
multi-235   IN  A   208.44.26.235
stair-way-to-heaven.com.IN  A   208.44.26.236
multi-237   IN  A   208.44.26.237
kcsvo.com.  IN  A   208.44.26.238
multi-239   IN  A   208.44.26.239
multi-240   IN  A   208.44.26.240
wingsofvictorychurch.org.   IN  A   208.44.26.241
multi-242   IN  A   208.44.26.242
multi-243   IN  A   208.44.26.243

There are a few others, but you get the idea. I have also always had my 
virtual domains setup in my reverse file so as to enable reverse DNS 
resolution on these. This section of my reverse file looks like so:


225 IN  PTR jellico.tn.us.
226 IN  PTR multi-226.jellico.com.
227 IN  PTR multi-227.jellico.com.
228 IN  PTR multi-228.jellico.com.
229 IN  PTR multi-229.jellico.com.
230 IN  PTR multi-230.jellico.com.
231 IN  PTR tspma.com.
232 IN  PTR copperhill.com.
233 IN  PTR multi-233.jellico.com.
234 IN  PTR www.jellico.net.
234 IN  PTR multi-234.jellico.com.
235 IN  PTR multi-235.jellicocom.
236 IN  PTR stairway-to-heaven.com.

Bind 9 is OK with my reverse file, but it doesn't like any entry in my 
forward file that ends in a dot (so as not to append jellico.com to it). 
When I rebooted the box, as soon as the nameserver loads I get these error 
messages in /var/messages:


Jul 11 13:40:51 netlink named[293]: M/jellico.com.db:222: ignoring 
out-of-zone d

ata (mail.campbellcounty.com)
Jul 11 13:40:51 netlink named[293]: M/jellico.com.db:224: ignoring 
out-of-zone d

ata (campbellcounty.com)
Jul 11 13:40:51 netlink named[293]: M/jellico.com.db:522: ignoring 
out-of-zone d

ata (jellico.tn.us)
Jul 11 13:40:51 netlink named[293]: M/jellico.com.db:528: ignoring 

Re: aterm -e screen does not source .bashrc (was: Re: been buggin' me for a while now (console resolution))

2006-07-11 Thread Giorgos Keramidas
On 2006-07-11 14:11, Peter [EMAIL PROTECTED] wrote:
--- Giorgos Keramidas [EMAIL PROTECTED] wrote:
 I just tested here, with the CVS mirroring account I have at this
 workstation, by:

 [snip]

 and when I su(1) to this account, the .profile is used by bash!

 There is no question that .profile is sourced when I log in.  It is
 sourced.  It is only not sourced when I invoke aterm from within
 .xnitrc:

 aterm -ls -e screen 

Aha.  I think I'm getting somewhere.

If I run xterm with the -e option, regardless of -ls being present or
not, the shell used to spawn the -e command is *NOT* a login shell.

This way, when I run:

xterm   = not login shell

xterm -ls   = login shell

xterm -e /bin/sh= not login shell

xterm -ls -e /bin/sh= not login shell either

So it's not the -ls option that is causing your aterm windows to be
non-login shells, but it looks like it is the -e option that does this.


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


Re: Producing a binary install

2006-07-11 Thread Micah

Bob wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


First I would like to thank all of you who helped me out on my
Java-Hell issue. I now have a working native jdk.1.4.2.

It took a bit of doing, and many hours of compile time, but it finally
worked. It did bomb once, about 4 hours into the compile, and demanded I
  do a  kldload linprocfs, followed by a mount -t linprocfs linprocfs
/compat/linux/proc, claiming it needed a proc fs to compile. I assume
this was needed for the compile-time, and not for the run-time???

Anyway, java now works in all browsers.

My next task here is to upgrade another workstation to freebsd. The
woman I live with wants to dump her Linux, and have what I have as well :-)

My question:

I will be installing her machine mainly from pre-compiled packages, as
it is not a dual-processor fast box like mine is.

Java, and other packages are not available in pre-compiled form. Since I
already compiled Java, is there a way to produce a binary-install on my
machine, and install it on her machine? Simply tar up the dir perhaps?

We have limited bandwidth (DSL) and so it would make sense to do a basic
install for her over the net, and then do the rest of the install
locally from stuff I compiled. Not everything, just BIG stuff like Java,
KDE, Gnome the browsers

TIA
Bob



There is a binary of Java at http://www.freebsd.org/java/, but I haven't 
tried it.


Otherwise doing a 'make package' after the port has been installed will 
create a package for you. You should then be able to install the package 
on the other machine using pkg_add.


HTH,
Micah
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Segmentation fault with smbpasswd

2006-07-11 Thread Micah

Thierry Lacoste wrote:

On Tuesday 11 July 2006 18:24, Micah wrote:

Thierry Lacoste wrote:

I'm running FreeBSD 6.1-RELEASE and installed samba-3.0.22,1
from a relatively recent snapshot or /usr/ports.

Here is the global section of my /usr/local/etc/smb.conf:

[global]
workgroup = OFFICE
server string = Samba Server
passdb backend = tdbsam
logon script = scripts\logon.bat
logon path = \\%L\Profiles\%U
logon drive = H:
logon home = \\%L\%U
domain logons = Yes
os level = 35
preferred master = Yes
domain master = Yes

After a fresh install of samba smbpasswd gives this:
[EMAIL PROTECTED] ~]# smbpasswd -a admin
New SMB password:
Retype new SMB password:
Unable to open/create TDB passwd
Unable to open/create TDB passwd
pdb_getsampwnam: TDB passwd (/usr/local/private/passdb.tdb) did not
exist. File successfully created.
Segmentation fault: 11 (core dumped)

Then it gives this:
[EMAIL PROTECTED] ~]# smbpasswd -a admin
New SMB password:
Retype new SMB password:
Unable to open/create TDB passwd
pdb_getsampwnam: Unable to open TDB passwd
(/usr/local/private/passdb.tdb)! account_policy_get: tdb_fetch_uint32
failed for field 1 (min password length), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 2 (password
history), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 3 (user must logon
to change password), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 4 (maximum password
age), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 5 (minimum password
age), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 6 (lockout
duration), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 7 (reset count
minutes), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 8 (bad lockout
attempt), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 9 (disconnect
time), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 10 (refuse machine
password change), returning 0
TDBSAM version too old (0), trying to convert it.
TDBSAM converted successfully.
Added user admin.

After that, samba seems to work properly.

If I touch /usr/local/private/passdb.tdb after a fresh install of samba
I have directly the second behavior (no segfault) and then again samba
is operational.

What did I miss?

Regards,
Thierry.

You possibly found a bug in the port. Contact the maintainer or file a pr.

HTH,
Micah

Thanks. I did contact the maintainer.

I tried with FreeBSD 6.0-RELEASE and samba-3.0.14a_1,1 from the ToolKit disk.
When I first use smbpasswd I only have the account_policy_get failures
(no segfault).

BTW I searched the web about the account_policy_get failures but couldn't
find any explanation exept that it is safe to ignore those messages when
smbpasswd is used for the first time.
Can someone shed some light on them?

Regards,
Thierry.



My guess, without looking at the source code, is that smbpasswd tries to 
access passwddb.tbd before adding the first password. Since the file is 
empty, it's an invalid file and generates errors.


HTH,
Micah
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IMAP server alternatives

2006-07-11 Thread Erik Nørgaard
Pete Slagle wrote:
 Nagy László wrote:
 
 Are there any alternative IMAP servers that have good support (e.g. 
 working mailing list, up-to-date documentation), and can share IMAP 
 folders between users?
 
 I was a satisfied courier-imap user for several years. A few months ago
 I switched to dovecot because it is faster in my installation.
 (Transition was easy using maildir with both.)
 
 Both have active developers.
 
 courier -- uses the maildir format, but I'm not sure about sharing
 
 Works great, bullet-proof in my experience.
 
 dovecot -- early stages of development, can I trust in this?
 
 Also works great. Easier configuration than courier-imap. Significantly
 more responsive than courier-imap with Thunderbird clients here using
 IMAP only. Seems very solid; zero problems in first few months of use.

It seems that dovecot wins the votes - but does it support virtual
domains? Any tips on migration?

Cheers, Erik

-- 
Ph: +34.666334818  web: http://www.locolomo.org
X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt
Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Migrating from mbox to maildir (was Re: IMAP server alternatives)

2006-07-11 Thread Josef Grosch

Javier Henderson wrote:
I saw a dramatic improvement in speed with both Thunderbird and  
Squirrelmail after switching from mbox to maildir.


How did you handle the transition from mbox to maildir?

-jav


I just moved one of our mail servers over to postfix and dovecot using 
maildir. There is a wonderful tool in the ports collection that migrates 
 an mbox file to maildir. It's call mb2md and can be found at


/usr/ports/mail/mb2md


Josef

--
FreeBSD 6.1 | Supreme executive power derives from a mandate
Josef Grosch| from the masses, not from some farcical aquatic
[EMAIL PROTECTED] | ceremony.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IMAP server alternatives

2006-07-11 Thread Nagy László


It seems that dovecot wins the votes - but does it support virtual domains? 
I think it does not, but I do not need it. I can use postfix and 
mydestination, virtual_maps. This is enough for me.

Any tips on migration?
  

Yes, it looks easy. I created these namespaces in dovecot.conf:

namespace private {
   separator = /
   inbox = yes
   hidden = yes
   prefix = #mbox/
   location = mbox:/home/%u:INBOX=/var/mail/%u
}

namespace private {
   separator = /
   prefix = oldsystem/
   location = mbox:/home/%u
}


namespace private {
   separator = /
   prefix =
   location = maildir:/home/%u/Maildir
}

The first one allows the old mbox format inbox to be used from 
/var/mail/username. (I could have recompiled procmail in order to 
deliver to maildir...)
The second one allow the users to view their old mbox style folders. 
They can move the messages to the new maildir format, if they wish. 
(Drag and drop in thunderbird...) Later I can delete the old mbox folders.
The third one is the default namespace (without name) and it has the new 
maildir format.


Best,

  Laszlo

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


portupgrading tcl ?

2006-07-11 Thread Beni
Hi all,

When trying to portupgrade -rR tcl all I get is what looks like an endless 
list of messages like this :

[...]
 Contents of test case:

set token [http::geturl $url -progress myProgress]
http::code $token

 Test generated error; Return code was: 1
 Return code should have been one of: 0 2
 errorInfo: couldn't open socket: connection timed out
while executing
http::geturl $url -progress myProgress
invoked from within
set token [http::geturl $url -progress myProgress]
(uplevel body line 2)
invoked from within
uplevel 1 $script
 errorCode: NONE
 http-4.9 FAILED
[...]

And that HTTP-x.x number only gets higher. It seems like tcl gets stuck in a 
loop there.

My version of tcl :
[EMAIL PROTECTED] ~]$ pkg_version -v -l ''
tcl-8.4.13,1   needs updating (port has 8.4.13_1,1)
[EMAIL PROTECTED] ~]$

I'm running 6.1-STABLE with the latest portsnap.

Any hints on what is going on and how I can get tcl to (port)upgrade ?

Thanks,

Beni.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Bind problem

2006-07-11 Thread Derek Ragona

Lisa,

Your forward file should be something like this:

$TTL3600

@ IN  SOA ns.jellico.com. dnsadmin.jellico.com. (
2003071101  ; serial
3H  ; refresh
1H  ; retry
1W  ; expiry
1D ); minimum

; DNS Servers
@   IN NS   ns.jellico.com.
@   IN NS   ns2.jellico.com.

; Machine Names
localhost   IN A127.0.0.1

mailIN A208.44.26.225
pop IN A208.44.26.225
@   IN A208.44.26.225

; Aliases
www IN CNAME@
ww IN CNAME@
w IN CNAME@

; MX Record
@   IN MX   10  mail.jellico.com.



Just correct the IP's and add the rest of your hosts, and
correct any names that may be incorrect.  Make sure you name
the file the same as bind is looking for in:
/etc/namedb/named.conf

If you have specific questions to any of the file entries you can email me 
directly.


-Derek


At 01:20 PM 7/11/2006, Lisa Casey wrote:

Hi,



The installed bind is not in /usr/local/bin that is where the port is
installed.  You might want to do a:
# which bind

and set rc.conf to the right value for the program.

-Derek


At 04:34 PM 7/10/2006, Lisa Casey wrote:


- Original Message - From: Jonathan Chen [EMAIL PROTECTED]
To: Lisa Casey [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Monday, July 10, 2006 3:43 PM
Subject: Re: Bind problem



Did you remember to add:
   named_program=/usr/local/sbin/named
to /etc/rc.conf?


Yes. /etc/rc.conf has the following lines for named:

named_enable=YES
named_program=/usr/local/sbin/named
named_flags=-u bind -g bind -c /etc/namedb/named.conf


Lisa Casey


This actually didn't quite answer the problem, but it did lead me in the 
right direction to solve it.


which bind, of course, doesn't work and which named just gives me the path 
to the named executable as given in /etc.rc.conf  But, this got me to 
thinking so I did a find / -name named -print   And found 
something interesting. I have named executables in both /usr/local/sbin 
and  /usr/sbin So I changed the line in /etc/rc.conf that read: 
named_program=/usr/local/sbin/named  to named_program=/usr/sbin/named 
and rebooted the box.  So far, so good. named -v  gives me BIND 9.3.0 and 
in /var/messages the reboot info shows the same when named loads:


Jul 11 13:40:50 netlink kernel: Mounting root from ufs:/dev/da0s1a
Jul 11 13:40:50 netlink named[293]: starting BIND 9.3.0 -u bind -c 
/etc/namedb/n

amed.conf -t /var/named
Jul 11 13:40:51 netlink named[293]: command channel listening on 127.0.0.1#953

(It's also picking  up the command channel, so I guess I did that right).

I have one last problem (or at least I hope so!). I maybe ought to ask 
this in a bind newsgroup, but there are enough folks on this list running 
bind on FreeBSD that someone  ought to know. Evidently Bind 9 doesn't like 
my zone files whereas Bind 8 was OK with them. A little background:  My 
main domain name is jellico.comI also host several virtual domains 
using IP based virtual domains in Apache2. So each of my virtual domains 
has been assigned an IP address out of my Class C.   In /etc/namedb/M (the 
directory where I keep my zone files that this  DNS server is master for) 
I have (among other zones) jellico.com.db which is my forward file for the 
domain and 26.44.208.in-addr.arpa  which is the reverse zone file for the 
domain. I have always had my virtual domains configured into my forward 
file (jellico.com.db) so as to  enable forward DNS resolution on those. 
They are configured into jellico.com.db like this:


jellico.tn.us.  IN  A   208.44.26.225
multi-226   IN  A   208.44.26.226
multi-227   IN  A   208.44.26.227
multi-228   IN  A   208.44.26.228
multi-229   IN  A   208.44.26.229
multi-230   IN  A   208.44.26.230
tspma.com.  IN  A   208.44.26.231
copperhill.com. IN  A   208.44.26.232
multi-233   IN  A   208.44.26.233
www.jellico.net.IN  A   208.44.26.234
multi-235   IN  A   208.44.26.235
stair-way-to-heaven.com.IN  A   208.44.26.236
multi-237   IN  A   208.44.26.237
kcsvo.com.  IN  A   208.44.26.238
multi-239   IN  A   208.44.26.239
multi-240   IN  A   208.44.26.240
wingsofvictorychurch.org.   IN  A   208.44.26.241
multi-242   IN  A   208.44.26.242
multi-243   IN  A   208.44.26.243

There are a few others, but you get the idea. I have also always had my 
virtual domains setup in my 

Re: ATAPICAM

2006-07-11 Thread Beni
On Tuesday 11 July 2006 18:33, Chris Maness wrote:
 How do I load atapicam at boot time.  I tried to have it load the same
 way I have the sound modules load, and it doesn't work.  After the
 system is up and running I can load just fine.

Why don't you add device atapicam to your kernel and rebuild the kernel ? It 
should take care of loading it at boot too.

Beni.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrading tcl ?

2006-07-11 Thread Alistair Sutton

On 11/07/06, Beni [EMAIL PROTECTED] wrote:

Hi all,

When trying to portupgrade -rR tcl all I get is what looks like an endless
list of messages like this :


[snip]

I'd probably start by getting rid of the -rR from  your portupgrade
command as (unless I'm misreading the man page) that will try to
upgrade all the ports that tcl depends on, plus all the ports that
depend on it.

Just running portupgrade tcl should be all you need to do. Whether
or not it will fix the problem you're describing I'm not sure but give
it a try.

Al
--
WWW: http://ajs.no-dns-yet.org.uk
GPG/PGP: http://ajs.no-dns-yet.org.uk/pubkey.gpg
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Migrating from mbox to maildir (was Re: IMAP server alternatives)

2006-07-11 Thread Ron Wilhoite

On 7/11/2006 12:20 PM, Javier Henderson wrote:
I saw a dramatic improvement in speed with both Thunderbird and  
Squirrelmail after switching from mbox to maildir.


How did you handle the transition from mbox to maildir?

-jav


For my POP users, I didn't. I leave everyone's 'inbox' in /var/mail in 
mbox format. If a user connects via IMAP (Squirrelmail, etc.), folders 
in /home/%u are created and stored in maildir format, but their inbox 
stays in /var/mail in mbox format.


See Multiple Mailbox Locations: http://wiki.dovecot.org/Namespaces

Dovecot also comes with convert-tool. For the users who had mbox files 
in their home directory, I used it to convert those to maildir format. I 
don't think the port installs convert-tool; I got it by doing 'make' in 
the dovecot port directory and manually copied it from there.


Ron
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrading tcl ?

2006-07-11 Thread Beni
On Tuesday 11 July 2006 21:21, Alistair Sutton wrote:
 On 11/07/06, Beni [EMAIL PROTECTED] wrote:
  Hi all,
 
  When trying to portupgrade -rR tcl all I get is what looks like an
  endless list of messages like this :

 [snip]

 I'd probably start by getting rid of the -rR from  your portupgrade
 command as (unless I'm misreading the man page) that will try to
 upgrade all the ports that tcl depends on, plus all the ports that
 depend on it.

 Just running portupgrade tcl should be all you need to do. Whether
 or not it will fix the problem you're describing I'm not sure but give
 it a try.

I'm running a portupgrade tcl right now (without the -rR options) but I get 
the same output back :

[...]
 fCmd-20.1 TraverseUnixTree : failure opening a subdirectory directory 
FAILED
 Contents of test case:

catch {file delete -force -- tfa}
file mkdir tfa
file mkdir tfa/a
file attributes tfa/a -permissions 
set result [catch {file delete -force tfa}]
file attributes tfa/a -permissions 0777
file delete -force tfa
set result

 Test generated error; Return code was: 1
 Return code should have been one of: 0 2
 errorInfo: could not set permissions for file tfa/a: no such file or 
directory
while executing
file attributes tfa/a -permissions 0777
(uplevel body line 7)
invoked from within
uplevel 1 $script
 errorCode: POSIX ENOENT {no such file or directory}
 fCmd-20.1 FAILED

fileName.test
fileSystem.test
for-old.test
for.test
foreach.test
format.test
get.test
history.test
http.test

 http-3.3 http::geturl FAILED
[...]

So removing the recursive/upward-recursive options doesn't seem to be doing 
any good. Btw, until now I've always upgraded my ports with the -rR options 
without any problems.

Beni.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IMAP server alternatives

2006-07-11 Thread Chad Leigh -- Shire.Net LLC


On Jul 11, 2006, at 12:35 PM, Erik Nørgaard wrote:


It seems that dovecot wins the votes - but does it support virtual
domains? Any tips on migration?


That all depends on how you store your user data.  It is not  dovecot  
or courier issue.  I have both courier and dovecot working in  
parallel on the same mail store.  The dovecot is currently just for  
testing and the courier is in production (for the last 4 years or  
more).  We store the domain as part of the user name in a custom ldap  
database and courier and dovecot have no issues interfacing with it  
with the proper config.


Chad

---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net



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


Re: Producing a binary install

2006-07-11 Thread Kevin Brunelle
 Otherwise doing a 'make package' after the port has been installed will
 create a package for you. You should then be able to install the package
 on the other machine using pkg_add.

 HTH,
 Micah

If you've already done make clean... you're going to end up rebuilding if you 
use make package.  Since that's not what you're looking to do, use pkg_create 
instead.

pkg_create -b jdk-1.5.0p3_1

Obviously, replace with the package name in your system.  By default, the 
package will be created in the directory you are in when you run the command.

I maintain a computer for my step-mother and, since I want to avoid actually 
building on her computer as much as possible, I use the following script to 
package every binary on my system and then I can just copy them over to her 
computer (or setup my computer so pkg_add can get them over the internet) and 
use them to install.

#!/bin/tcsh
foreach file ( `pkg_info | awk '{print $1}'` )
echo Creating package for $file
pkg_create -b $file
end

This script is not smart... it doesn't check to see if a package of the same 
name already exists -- which it should... hmm, I'm going to add that to 
mine... to save time if you run it frequently, and just build packages you 
need.

Anyway, pkg_create is very useful in saving time when you maintain a bunch of 
computers and want to keep them all up to date and only want to commit one to 
building and testing.

-Kevin B.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


CUPS Alternative

2006-07-11 Thread E. J. Cerejo
After trying CUPS to put my HP Officejet 4315 to work, I get as far as to print 
a test  page but that is all I can do, it won't print with any other 
application, kind of tired of CUPS already, I would like to know if there are 
any other alternatives to CUPS because it sure is a pain to get it to work.  


EJC
www.only7bucks.com

-
 Você quer respostas para suas perguntas? Ou você sabe muito e quer 
compartilhar seu conhecimento? Experimente o Yahoo! Respostas!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: CUPS Alternative

2006-07-11 Thread Pietro Cerutti

On 7/12/06, E. J. Cerejo [EMAIL PROTECTED] wrote:

After trying CUPS to put my HP Officejet 4315 to work, I get as far as to print 
a test  page but that is all I can do, it won't print with any other 
application, kind of tired of CUPS already, I would like to know if there are 
any other alternatives to CUPS because it sure is a pain to get it to work.


have a look at apsfilter

http://www.freshports.org/print/apsfilter
http://www.apsfilter.org/




EJC
www.only7bucks.com


--
Pietro Cerutti
ICQ: 117293691
PGP: 0x9571F78E

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
  www.asciiribbon.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: CUPS Alternative

2006-07-11 Thread E. J. Cerejo


Pietro Cerutti [EMAIL PROTECTED] escreveu: On 7/12/06, E. J. Cerejo  wrote:
 After trying CUPS to put my HP Officejet 4315 to work, I get as far as to 
 print a test  page but that is all I can do, it won't print with any other 
 application, kind of tired of CUPS already, I would like to know if there are 
 any other alternatives to CUPS because it sure is a pain to get it to work.

have a look at apsfilter

http://www.freshports.org/print/apsfilter
http://www.apsfilter.org/



 EJC
 www.only7bucks.com

-- 
Pietro Cerutti
ICQ: 117293691
PGP: 0x9571F78E

- ASCII Ribbon Campaign -
 against HTML e-mail and
 proprietary attachments
   www.asciiribbon.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
Apsfilter is a great tool, it worked great with my last printer but 
unfortunetly it doesn't have any drivers that work with my officejet.


EJC
www.only7bucks.com

-
 Yahoo! Copa 2006 - cobertura dos jogos em tempo real e tudo sobre a seleção 
brasileira!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: CUPS Alternative

2006-07-11 Thread Pietro Cerutti

On 7/12/06, E. J. Cerejo [EMAIL PROTECTED] wrote:


Apsfilter is a great tool, it worked great with my last printer but
unfortunetly it doesn't have any drivers that work with my officejet.


Did you try with the OfficeJet 4300 drivers?




EJC
www.only7bucks.com




--
Pietro Cerutti
ICQ: 117293691
PGP: 0x9571F78E

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
  www.asciiribbon.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: shell retrieve history (up arrow) not working

2006-07-11 Thread Parv
in message [EMAIL PROTECTED],
wrote Lowell Gilbert thusly...

 Marty Landman [EMAIL PROTECTED] writes:
 
  I have a 4.8 installation  ...  The root account up-arrow
  history retrieve feature works fine, while on my user account it
  doesn't, displaying instead
 
  $ ^[[A^[[C^[[B^[[D
 
  when I press the arrow keys in order (up, right, down, left)
 
 They are using different shells.  Root uses csh by default, your
 user account is using sh.  Try set -o emacs for sh.

Just a note, arrow keys for history retrieval also works with 'vi'
option (set -o vi).


  - Parv

-- 

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


Re: CUPS Alternative

2006-07-11 Thread E. J. Cerejo


Pietro Cerutti [EMAIL PROTECTED] escreveu: On 7/12/06, E. J. Cerejo  wrote:

 Apsfilter is a great tool, it worked great with my last printer but
 unfortunetly it doesn't have any drivers that work with my officejet.

Did you try with the OfficeJet 4300 drivers?



 EJC
 www.only7bucks.com



-- 
Pietro Cerutti
ICQ: 117293691
PGP: 0x9571F78E

- ASCII Ribbon Campaign -
 against HTML e-mail and
 proprietary attachments
   www.asciiribbon.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
With CUPS yes and I can print a test page just like I mentioned above but 
apsfilter doesn't have those drivers in there or at the very least I could not 
find them.  It may work with other drivers but so far it hasn't worked with 
drivers that I tried out of apsfilter.



EJC
www.only7bucks.com

-
 Yahoo! Copa 2006 - cobertura dos jogos em tempo real e tudo sobre a seleção 
brasileira!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: shell retrieve history (up arrow) not working

2006-07-11 Thread Marty Landman

Hey thanks, I added that line to my .profile and am in like Flynn now.

Marty

On 7/11/06, Lowell Gilbert [EMAIL PROTECTED] wrote:


Marty Landman [EMAIL PROTECTED] writes:

 $ ^[[A^[[C^[[B^[[D

 when I press the arrow keys in order (up, right, down, left)

They are using different shells.  Root uses csh by default, your user
account is using sh.  Try set -o emacs for sh.  [Or try csh, but I
try to avoid that because it's so bad as a scripting language.]





--
Web Installed Formmail - http://face2interface.com/formINSTal/
Webmaster's BBS - http://bbs.face2interface.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: aterm -e screen does not source .bashrc (was: Re: been buggin' me for a while now (console resolution))

2006-07-11 Thread Parv
in message [EMAIL PROTECTED],
wrote Giorgos Keramidas thusly...

 On 2006-07-11 12:05, Peter [EMAIL PROTECTED] wrote:
 --- Giorgos Keramidas [EMAIL PROTECTED] wrote:
  What do you see in your HOME directory with:
 
 $ ls -ld .*profile .*rc
...
  $ ls -ld .*profile .*rc
  -rw-rw  1 peter  users   767B Jul 29  2005 .cshrc
  -rw---  1 peter  users26B May  2 11:08 .dmrc
  -rw-rw  1 peter  users   331B Jul 29  2005 .mailrc
  -rw-rw  1 peter  users31B Jun 28 21:33 .mcoprc
  -rw-rw  1 peter  users   1.6K Jul  4 15:31 .profile
  -rw-r--r--  1 peter  users   616B Jun 19 22:10 .screenrc
  -rw-rw  1 peter  users   975B Jul 29  2005 .shrc
  -rw-rw  1 peter  users   402B Jul 11 09:29 .xinitrc
...
 Sorry for the bogus request.  I meant:
 
 $ ls -ld .bash* .sh* .profile

If Peter had a ~/.bash_profile that would have shown even with your
first request.  So ... relax.


  - Parv

-- 

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


Re: ATAPICAM

2006-07-11 Thread Donald J. O'Neill
On Tuesday 11 July 2006 14:16, Beni wrote:
 On Tuesday 11 July 2006 18:33, Chris Maness wrote:
  How do I load atapicam at boot time.  I tried to have it load the same
  way I have the sound modules load, and it doesn't work.  After the
  system is up and running I can load just fine.

 Why don't you add device atapicam to your kernel and rebuild the kernel ?
 It should take care of loading it at boot too.

 Beni.
 ___

Or, you could put 'atapicam_load=YES' in /boot/loader.conf and save the 
kernel for another time.

Don
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


freebsd6.1 nd6_lookup failure -- SOLVED

2006-07-11 Thread Zachery Hostens
so, after searching for a half an hour online for this nd6_lookup failure and 
seeing all questions and no answers i tackled it myself. :)

its really pretty simple.  all you need to do is remove the route that the 
kernel is complaining about and let it create one it likes.

http://plastik.us/articles/2006/07/11/freebsd-6-1-freenet-6

my blog shows it well enough so id rather not type it out again.  if this was 
solved already i appologize, i didnt find any answers to it after googling for 


--
- Zachery Hostens

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