Re: root no found

2004-05-18 Thread jan . muenther
> but every 5 minute I receive a mail from cron daemon
> in
> which it says:
> 
> Cron <[EMAIL PROTECTED]> root /usr/libexec/atrun
> 
> root:not found

Well, yeah. You specify a username there, and that's not part of the crontab
format - this isn't inetd (see man 5 crontab for reference). 

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


root no found

2004-05-18 Thread mehrdad nosrati

Dear All,

I've a FreeBSD 3.4 Release.My cronttab file is like:



# /etc/crontab - root's crontab for FreeBSD
#
# $FreeBSD: src/etc/crontab,v 1.18.2.2 1999/08/29
14:18:39 peter Exp $
#
SHELL=/bin/sh
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
HOME=/var/log
#
#minute hourmdaymonth   wdaywho command
#
*/5 *   *   *   *   root
/usr/libexec/atrun
#
# rotate log files every hour, if necessary
0   *   *   *   *   rootnewsyslog
#
# do daily/weekly/monthly maintenance
59  1   *   *   *   root   
periodic daily 2>&1 | sendmail root
30  3   *   *   6   root   
periodic weekly 2>&1 | sendmail root
30  5   1   *   *   root   
periodic monthly 2>&1 | sendmail root
#
# time zone change adjustment for wall cmos clock,
# does nothing, if you have UTC cmos clock.
# See adjkerntz(8) for details.
1,310-5 *   *   *   root   
adjkerntz -a

but every 5 minute I receive a mail from cron daemon
in
which it says:

Cron <[EMAIL PROTECTED]> root /usr/libexec/atrun

root:not found

I highly appreciate to whom have a good idea for this
problem.




Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


sony vaio

2004-05-18 Thread Eric Matthewson

   I am getting a sony vaio K13 Notebook. I would like to put freebsd on
   this notebook, I have heard that there are hardware problems with
   sony. Would anybody with experience point me in the right direction

   Please cc me, as I am not on the list.

   Thanks,

   Eric
 _

   [1]Best Restaurant Giveaway Ever! Vote for your favorites for a chance
   to win $1 million!

References

   1. http://g.msn.com/8HMBENUS/2746??PS=47575
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Creating ISO image question

2004-05-18 Thread Stephen Liu
Hi Joe,

Tks for your advice.

- snip-
> mkisofs -o cd_image.iso  page> dir/ ?

Applying following command lines
1)
# mkisofs -o cdimage.raw -R
/usr/home/user-A/document-AAA

2)
# mkisofs -R -o cdimage.raw
/usr/home/user-A/document-AAA

3)
# mkisofs -o cdimage.raw -R -pathspec
/usr/home/user-A/document-AAA

all having same result. The path has not been copied
to the cdimage, only the subdirectories under
'document-AAA' copied.

If adding -J to the command line, cdimage can't be
created with warning 'mkisofs: Joliet tree sort
failed'

- snip -
 
> Generally I use:
> 
> mkisofs -o .iso -J -R -P "Joe" -sysid
> "BACKUP" -V "" -l backup/
> 
> Almost always, I use the same name for the
>  and for the
> .

$ mkisofs -o cdimage.raw -J -R -P "Stephen" -sysid
"BACKUP" -V "/Storage-040517/" -l
/usr/home/satimis/Storage-040517/


Plug and Process-Has the Era of Utility Computing
Finally Arrived.html have the same Joliet name

B.R.
Stephen

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cd rom probs

2004-05-18 Thread putnam
I have been having trouble using my cd rom
The measage I recieve is
cd9660: /dev/acd0: Input/Output error

I took some advice I recieved here and rebuilt the kernal I thought that maybe the 
problem was that the Delta Cdrom was reporting to the OS so I added the line 
SCSI_REPORT_GEOMETREY but when I try to build the kernal that option comes up as an 
error any thoughts out there
thanxs to all of you the help has been great so far.


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


Re: How to mount and read cdimage before burning

2004-05-18 Thread Stephen Liu
Hi Warren,

Tks for your advice.  Although my problem has been
solved with the assistance from folks on this list, I
am interested to learn an alternative way, if any.

- snip -

/usr/share/doc/en_US.ISO8859-1/books/handbook/creating-cds.html
> 
> Isn't "loop" the compressed filesystem?  In that
> case, the
> /usr/ports/sysutils/cloop-utils port may be helpful.

# cd /usr/ports/
# make search name=cloop-utils
No printout

# ls /usr/ports/sysutils/ | grep cloop-utils
No printout

B.R.
Stephen


___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: CVSup from 4-STABLE to 5.2.1-RELEASE

2004-05-18 Thread Thorsten von Plotho-Kettner
Hello again ;)

Am Mittwoch, 19. Mai 2004 06:09 schrieb Lefteris Tsintjelis:

> >> Can this be done without problems or is it best to start with a
> >> fresh installation?
 >
> > I tried that with 4.9 to 5.2.1-Release, just fine.
> > Read /usr/src/UPDATING*, there is a point about this. But then,
> > updating to current, I shot my box ;(

> I was affraid of that answer :( but I don't have much choice here
> in order to get rid of my last linux box. Seems that some drivers
> are only supported with -release and almost all development is
> focused on that.

If you do not necessarely upgrade to current, 4.9->5.2.1-R workes just 
finde as said above. And the way to CURRENT maybe the fault was on my 
side. I think so, too. Just backup and try. But please, read the 
howto-file carefully.

Best wished and "daemon's luck",

Thorsten

-- 
MUM, CAN I GO OUT AND CODE TONIGHT?
http://aussatz.antville.org/ - GNU up your mind
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: CVSup from 4-STABLE to 5.2.1-RELEASE

2004-05-18 Thread Lefteris Tsintjelis
>> Can this be done without problems or is it best to start with a
>> fresh installation?

> I tried that with 4.9 to 5.2.1-Release, just fine.
> Read /usr/src/UPDATING*, there is a point about this. But then,
> updating to current, I shot my box ;(

I was affraid of that answer :( but I don't have much choice here
in order to get rid of my last linux box. Seems that some drivers
are only supported with -release and almost all development is
focused on that.

Thanks for the reply

Best,
Lefteris




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


Re: CVSup from 4-STABLE to 5.2.1-RELEASE

2004-05-18 Thread Thorsten von Plotho-Kettner
Hi.

Am Dienstag, 18. Mai 2004 19:48 schrieb Lefteris Tsintjelis:

> Can this be done without problems or is it best to start with a
> fresh installation?

I tried that with 4.9 to 5.2.1-Release, just fine. 
Read /usr/src/UPDATING*, there is a point about this. But then, 
updating to current, I shot my box ;(

Now I have 4.9 again, nothing missing.

The safe way is backing up your moveable data and do a fresh 
installation, then recovering your data again.

Regards,

Thorsten
-- 
MUM, CAN I GO OUT AND CODE TONIGHT?
http://aussatz.antville.org/ - GNU up your mind
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How To Copy A Group of Files To Different Name?

2004-05-18 Thread Oliver Fuchs
On Tue, 18 May 2004, Drew Tomlinson wrote:

> How can I copy a group of files to a different name.  I want to copy all 
> files starting with 'bacula*' to 'bacula*.old'.  So I have these four files:
> 
> blacklamb# ll bac*
> -r--r--r--  1 root  wheel   949 Apr 22 09:13 bacula-barcodes
> -rw-r-  1 root  wheel  5792 May 17 16:52 bacula-dir.conf
> -rw-r-  1 root  wheel   763 Apr 22 09:13 bacula-fd.conf
> -rw-r-  1 root  wheel  1909 May 17 16:31 bacula-sd.conf
> 
> I want to have copies of these files with '.old' appended to their 
> names.  I've tried 'cp -pv bac* bac*.old' but cp complains.  Because 
> it's only 4 files, I'll do each one independently but I'd like to know 
> how to do this "right" for future reference.
> 
> Thanks,
> 
> Drew

Take a look at Krename.

Oliver
-- 
heit bin e ned munta wuan
wäu ma r unsa bendlua
schdeeblim is ...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ipf log line

2004-05-18 Thread Giorgos Keramidas
On 2004-05-18 22:59, Norberto Meijome <[EMAIL PROTECTED]> wrote:
> I saw this in my ipf.log (using ipfmon):
>
> 18/05/2004 15:57:21.092537 fxp0 @25:1 S w.x.y.z -> a.b.c.d PR tcp len 20 (40) frag 
> [EMAIL PROTECTED] IN
>
> where :
> - fpx0 is my interface connected to the outside world
> - w.x.y.z is an IP not related to any system under our control
> - a.b.c.d is the public IP used for NATed traffic from our LAN.
> - @25:1 is : @1 block in log quick from any to any with short group 25
>
> Does the "S" after @25:1 mean it was a packet too short to be a proper
> tcp packet?

The packet has the TCP SYN flag bit set (non-zero).

> What does the frag [EMAIL PROTECTED] mean?

IIRC, these are the length and starting offset, respectively, of the
blocked fragment within the full IP packet.

- Giorgos

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


Perl (5.6 or 5.8) fails to install

2004-05-18 Thread Joshua Beard
Hi,
I'm having an issue installing Perl from ports (both
5.6 and 5.8 - same issue).  It seems like something is
passing unknown flags to the "Configure" script used
to configure the perl build:

===>  Configuring for perl-5.6.1_15
Configure: unknown option
--localstatedir=/usr/local/share/gnome
Configure: unknown option
--datadir=/usr/local/share/gnome
Configure: unknown option
--with-html-dir=/usr/local/share/doc
Configure: unknown option --disable-gtk-doc
Configure: unknown option
--with-gconf-source=xml::/usr/local/etc/gconf/gconf.xml.defaults
Usage: Configure [-dehrsEKOSV] [-f config.sh] [-D
symbol] [-D symbol=value]

** -- snip Configure usage -- **
===>  Script "Configure" failed unexpectedly.

This is on FreeBSD 5.2.1-RELEASE-p4, freshly cvsup'd

I encountered this while trying to figure out why
`portsdb -Uu` was failing to update the index, which
is another issue, I think.  Upon trying to update the
index, it would coredump towards the very end.  I then
ran `pkgdb -fu`, and then got a generic "failed to
generate INDEX!" error, and tty1 shows a bunch of "out
of swap" messages.

Any ideas on either/both of these issues (Perl's build
failure and my inability to generate an updated
INDEX?)

Thanks in advance.








=
--
Joshua Beard
[EMAIL PROTECTED]




__
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
http://promo.yahoo.com/sbc/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Q: ifconfig alias vs. ssh tunnel doesn't work.

2004-05-18 Thread Rob
Rob wrote:

To double check, I verified that I can login to myself on REMOTE:
   $ ssh REMOTE
Sorry, of course this should have been:
 $ ssh 127.0.0.2
to verify login to myself via the IP-alias on REMOTE.
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Q: ifconfig alias vs. ssh tunnel doesn't work.

2004-05-18 Thread Rob
Hi,
I use an ssh-tunnel from a PC on a local network behind a gateway to
another PC on the internet. Say the PC behind the gateway is LOCAL
and the other internet PC is REMOTE.
On LOCAL I do as a regular user:
  $ ssh -2 -N -f -R 2201:127.0.0.1:22 REMOTE
Then on REMOTE I can then do:
  $ ssh -p 2201 127.0.0.1
All this works fine for login from REMOTE to LOCAL, bypassing the gateway.
--
I then want the following to work.
On REMOTE I do, as root:
   # ifconfig lo0 alias 127.0.0.2
   # ifconfig lo0
   lo0: flags=8049 mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet 127.0.0.1 netmask 0xff00
inet 127.0.0.2 netmask 0xff00
To double check, I verified that I can login to myself on REMOTE:
   $ ssh REMOTE
On REMOTE I then want to login to LOCAL, as regular user:
   $ ssh -p 2201 127.0.0.2
   ssh: connect to host 127.0.0.2 port 2201: Connection refused
Can somebody explain to me why the ssh-tunnel does not work this way?
Thanks,
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Love MPD, but a few questions

2004-05-18 Thread rsauve_admin

Thanks, this basically confirms rather that I am doing it correctly, 
using the same initial ip and reassigning it on authentification.

The question of alternate authentification methods (ie: no plaintext 
passwords) remains ;^)

> http://www.section6.net/help/pptphow.php
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> [EMAIL PROTECTED]
> Sent: Tuesday, May 18, 2004 10:26 AM
> To: [EMAIL PROTECTED]
> Subject: Love MPD, but a few questions
> 
> Hi all,
> 
> I've been using mpd as a pptp/vpn server for a few projects and I really
> 
> like it with very few reservations.
> 
> Thanks for a great port.
> 
> I'm using FreeBSD 4.x and 5.2.1 and mpd-3.15_1
> 
> When I was first trying to set it up, I screwed around with the configs,
> 
> until I could get it to work and I
> now realize that I've likely left in some rather major fudges.
> 
> Everything works really well.
> I've set up scripts to manage users and rebuild the conf and links files
> 
> and restart mpd for dynamic ip setups
> 
> I'm from the school of 'if it ain't broke, don't fix it'
> Nonetheless, I still feel that I'm not quite doing it right
> 
> The mpd.conf, in particular is what I'm talking about
> Below are some config samples
> 
> Any suggestions would be appreciated
> 
> Richard Sauvé - [EMAIL PROTECTED]
> 
> ### CONFS, ETC BELOW 3
> 
> Here is an example setup
> 
> 172.19.45.1 is aliased to lo0 to keep samba and others happy at boot, as
> 
> I've found it better to delay
> mpd starting at boot time
> 
> ## mpd.conf - reduced
> 
> default:
> load pptp0
> load pptp1
> load pptp2
> 
> pptp0:
>new -i ng0 pptp0 pptp0
>set ipcp ranges 172.19.45.2/24 172.19.45.100/24
>load pptp_standard
> 
> pptp1:
>new -i ng1 pptp1 pptp1
>set ipcp ranges 172.19.45.2/24 172.19.45.100/24
>load pptp_standard
> 
> pptp2:
>new -i ng2 pptp2 pptp2
>set ipcp ranges 172.19.45.2/24 172.19.45.100/24
>load pptp_standard
> 
> pptp_standard:
>set iface disable on-demand
>set iface enable proxy-arp
>set bundle enable multilink
>set link yes acfcomp protocomp
>set link no pap chap
>set link enable chap
>set link keep-alive 10 60
>set ipcp yes vjcomp
>set ipcp dns 172.19.45.2
>set ipcp nbns 172.19.45.2
>set bundle enable compression
>set ccp yes mppc
>set ccp yes mpp-e40
>set ccp yes mpp-e128
>set ccp yes mpp-stateless
> set bundle yes crypt-reqd
> 
> ###
> ## mpd.links - 000.000.000.000 replaces the WAN ip
> 
> pptp0:
> set link type pptp
> set pptp self 000.000.000.000
> set pptp enable incoming
> set pptp disable originate
> 
> pptp1:
> set link type pptp
> set pptp self 000.000.000.000
> set pptp enable incoming
> set pptp disable originate
> 
> pptp2:
> set link type pptp
> set pptp self 000.000.000.000
> set pptp enable incoming
> set pptp disable originate
> 
> ##3
> ## mpd.secret
> 
> user1 "ghi123"172.19.45.101
> user2  "def123"   172.19.45.103
> user3  "abc123"   172.19.45.104
> 
> 
> thanks for any pointers in advance,
> 
> Richard Sauvé - [EMAIL PROTECTED]
> 
> PS: I've seen references to authenticating mpd with radius, or other 
> ways, but no how-to's.
> It kind of bothers me to have plain-text passwords anywhere on the 
> system, even if only readable by root.
> If root has them on a tty, they are world readable !
> 
> 
> 'It's good to be root'
> 
> 
> 
> 
> -
> This message was sent using SecureNet Mailman.
> http://www.securenet.net/
> 
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> 
> 





-
This message was sent using SecureNet Mailman.
http://www.securenet.net/


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


Re: sendmail doesn't send mail

2004-05-18 Thread chip
Warren Block wrote:
On Tue, 18 May 2004 [EMAIL PROTECTED] wrote:

I just got a new server up and running and need it to send mail. The
rc.conf file has sendmail_enable="NO" and it does start when the
system boots up.

If you want sendmail enabled, shouldn't that be sendmail_enable="YES"?
-Warren Block * Rapid City, South Dakota USA
sendmail_enable="YES" means it sends and recieves
sendmail_enable="NO" means it sends only
sendmail_enable="NONE" means it is completely disabled
--
Chip
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD 4.9

2004-05-18 Thread Marcia de Oliveira Cardoso

I'm trying to install a FreeBsd 4.9 but it failed
 with the message

ad0 read error
ata resetting ...

I have 2 seagate disks IDE with 120G and the motherboard is Asus P4V8-X
I also have an extra RealTeck 8139 network card.

So, what is going wrong? Is there a way to bypass this error?

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


Re: c and freebsd

2004-05-18 Thread Tim Aslat
In the immortal words of [EMAIL PROTECTED]
> hello i'm learing c and hoping to make bsd a life long friend. i'm
> thinking about building a cluster in total of about 20-25+ clients.
> does freebsd support c, i expect it to, and does that come with
> "graphic functions" and name a list of prog. languages that freebsd
> supports, please. coming from microsoft (the bastard) . please explain
> it in dummy terms , i'm 16 by the way, thanx a whole lot! 

Welcome to the club.

Of course FreeBSD supports C, that's he language it was written in.

As for clustering, I believe that just about any unix variant is capable
of it in some form or another.

Graphics functions are available, but it depends on what type you are
looking for.  In this case, the ports collection is your friend.

once you have FreeBSD installed, I recommend that you type 
man intro
man ports
man hier
and also read the handbook
less /usr/share/doc/handbook/book.txt

I suggest you spend some time reading the handbook before asking too
many questions on the mailing lists, as you will find the majority of
the answers in there.

Good luck & have fun

Cheers

Tim

-- 
Tim Aslat <[EMAIL PROTECTED]>
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 0401088479
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How To Copy A Group of Files To Different Name?

2004-05-18 Thread Warren Block
On Tue, 18 May 2004, Drew Tomlinson wrote:

> OK, thanks.  I'm using tcsh but I think I figure out how to do it
> following your example.  So a "script" is the only way to do it in
> *nix?  Being born and raised on MS-DOS, I'm accustomed to the "copy bac*
> bac*.old" syntax.

It has to do with shell globbing.  The bac* parameter is expanded to a
list of all files matching that pattern, then fed to the command.  So if
you type 'cp bac* bac*.old' in a Unix shell and your directory has files
bac1, bac2, bac3, and bac4, what it actually tries to execute is:

cp bac1 bac2 bac3 bac4

Note that bac*.old didn't evaluate to anything: there aren't any files
or directories that match that pattern.  So cp gives an error-- it'll
copy multiple files to a directory, but only if the last parameter is a
directory.

There are numerous recipes for doing the batch move-and-rename.  The
O'Reilly Unix Power Tools book (highly recommended) has a script that
pipes the output of ls into sed, generating a bunch of individual mv
commands.  You can do the same thing with find, or Perl, or other
things.

-Warren Block * Rapid City, South Dakota USA
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: gnome won't start

2004-05-18 Thread Simon Barner
Khong SF wrote:
> Hi
> 
> I've been using FreeBSD 4.7-stable on a PIII box for a while.
> I tried  for weeks to get the gnome1.4 desktop running but to no prevails.
> The problems i encountered were:
> 
> 1) when gnome starts, it pop up a diaglog box saying
>" unable to find host adress for.
>  please check the file /etc/hosts .. blah blah blah"
> Then it gave me choices to continue/ try again,
> if i click try again, the diaglog box appear again & if i click 
> continue, the blank desktop just freezed
> 
> 2)  My  /etc/hosts file is OK,  it looks like below:
> ::1   localhost localhost.my.domain
> 127.0.0.1  localhost localhost.my.domain

You will need to specify a non-loopback ip address, e.g.

10.0.0.1 mybox mybox.my.domain


> 3) my X11 & windowmaker (Enlightenment) start just  fine, but every time 
> when i exit the
>windowmaker, the same situation like problem 1) reappear.
> 
> 4) the Xserver-error file in my home dir sounds like this:
>Xlib: connection to ":0.0" refused by server
>Xlib: No protocol specified
>Gtk-warning **: cannot open display: :0
>SESSION_MANAGER=local/:tmp/.ICE-unix/274
> 
> 5) do i need Openssh in order to run X11 &/ gnome1.4 ?
>just what's wrong with my gnome desktop ?

No, you don't need OpenSSH for Gnome or XFree. The above addition to
/etc/hosts should suffice.

Just as an aside: Gnome 1.4 is no longer part of the ports collection,
and thus it's not officially supported (the current Gnome version in the
ports collection is 2.6.1).

The same thing applies to FreeBSD 4.7: It's not an officially supported
security branch any more:

http://www.freebsd.org/releng/index.html

Simon


signature.asc
Description: Digital signature


Re: A tunnel between two 5.2-CURRENT laptops with IPsec + racoon

2004-05-18 Thread Radek Kozlowski
On 2004.05.18 19:08, Jorge Mario G. wrote:
Hi I've read that IPSEC on 5.2.1 has some few problems and some
functions are even broken. you better dig a bit more or try -STABLE
OK, it doesn't work with FAST_IPSEC(4) either, so I guess I made some
mistakes with the configuration. As previously, I'd appreciate any help.
Thanks,
-Radek
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to mount and read cdimage before burning

2004-05-18 Thread Warren Block
On Tue, 18 May 2004, Ion-Mihai Tetcu wrote:

> On Tue, 18 May 2004 18:53:16 +0800 (CST)
> Stephen Liu <[EMAIL PROTECTED]> wrote:
>
> > Freebsd 5.2
> > ===
> >
> > Following command works on Linux but not on Freebsd
> > # mount cd_image.iso -r -t iso9660 -o loop /mnt
> > (remark: iso9660 changed to cd9660)
> >
> > Google search brought following link
> > http://www.freebsddiary.org/iso-mount.php
>
> The chapter about Storage, resp.
> /usr/share/doc/en_US.ISO8859-1/books/handbook/creating-cds.html

Isn't "loop" the compressed filesystem?  In that case, the
/usr/ports/sysutils/cloop-utils port may be helpful.

-Warren Block * Rapid City, South Dakota USA
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sendmail doesn't send mail

2004-05-18 Thread Warren Block
On Tue, 18 May 2004 [EMAIL PROTECTED] wrote:

> I just got a new server up and running and need it to send mail. The
> rc.conf file has sendmail_enable="NO" and it does start when the
> system boots up.

If you want sendmail enabled, shouldn't that be sendmail_enable="YES"?

-Warren Block * Rapid City, South Dakota USA
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


c and freebsd

2004-05-18 Thread Donna478
hello i'm learing c and hoping to make bsd a life long friend. i'm thinking 
about building a cluster in total of about 20-25+ clients. does freebsd support 
c, i expect it to, and does that come with "graphic functions" and name a 
list of prog. languages that freebsd supports, please. coming from microsoft (the 
bastard) . please explain it in dummy terms , i'm 16 by the way, thanx a 
whole lot! Troye. sexy brittany spears
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: remote monitoring system variables?

2004-05-18 Thread Stephen P. Cravey
I was afraid of that. I'll look more closely into the SNMP MIBS to see
how much of what I need is available. The Issue I have with scripting
SNMP is that the OID numbers for custom scrips seem to be dependant on
how many scripts you are running. I'll verify that, but it looks like I
may be writing some code to handle encrypted (or at least obfuscated)
transmission of sysctl and ipfw data over an authenticated network
connection.

Thanks for the pointers.

-Stephen


On Tue, 18 May 2004 13:36:43 +0100
Matthew Seaman <[EMAIL PROTECTED]> wrote:

> On Mon, May 17, 2004 at 06:32:42PM -0500, Stephen P. Cravey wrote:
> > I'm tryign to locate a pre-existing method of monitoring FreeBSD
> > systems. Specifically, I'd like a way to monitor sysctl variables,
> > IPFW/PF counters, cpu and ram utilization(in that order). I can
> > write my own interface, however I'd hate to have to reinvent the
> > wheel if there's already something out there. Not to mention the
> > difficulty in figuring out how to build an interface into the ipfw
> > counters. Thanks.
> 
> Most of that can by obtained via snmp -- the net-mgmt/net-snmp port
> would be a good place to start.  You can get the system load and
> memory usage and the number of bytes transmitted via each interface
> straight out of SNMP, but for things like sysctl(8) output or IPFW
> counters, youl'd have to get the SNMP daemon to run an external script
> and return the results.  You can probably figure out how to do that by
> reading the documentation supplied with net-snmp and by playing with
> the configuration file generator snmpconf(1).
> 
> Once you've got SNMP capability available on your server, virtually
> all network monitoring software, including a bunch of large-scale
> commercial monitoring programs, will be able to process and display
> the results.  If your budget doesn't run that far, then there's plenty
> of applications in ports that will do a similar job.  Particularly
> recommended is net-mgmt/mrtg in combination with net/rrdtool -- very
> good for graphing the state of such things over time.
> 
>   Cheers,
> 
>   Matthew
> 
> -- 
> Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
>   Savill Way
> PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
> Tel: +44 1628 476614  Bucks., SL7 1TH
> UK
> 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Howto set sysinstall to use CURRENT packages

2004-05-18 Thread Dinesh Nadarajah
Hi:

How do I set sysinstall to use current packages? In the config menu I
changed 5.2.1-RELEASE to 5.2.1-CURRENT and several other values but
would not recognize. Complains no such distribution is available on
ftp.freebsd.org.

also, where is the config file for sysinstall? Where can I set its
package repository, etc?

Thanks in advance.

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


Re: **heads-up** : likely spam using [name]@freebsd.org

2004-05-18 Thread Ruben de Groot
On Tue, May 18, 2004 at 07:28:59PM +0200, Remko Lodder typed:

> Try to delete them and update your virusscanner regularly and you would 
> be fine ;-)

Or stick to FBSD and you won't have to run any AV scanner at all :)

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


Guide me in - Data Storage Plan?

2004-05-18 Thread Ajitesh K
Hi Friend

Does any one have Company-wide (LAN) Data Storage Plan?

My requirement are
Number of PC Users: 50
Different OS in Company:  Win 3.1, Win 9x, Win Pro2000, Win XP, Lindows,
FreeBSD

My plan is to take weekly full backup of 15 important PCs and
partial backup of rest PCs data file such as Finance/Accounts spreadsheets,
Administrator/HR documents,  Engineering's drawings, machinist's programs
etc.

I know only one thing that ..
Data Storage Server OS: FreeBSD
Security Issues: How to Authenticate different users? (Need Ideas)

Please give suggestion which application to use. like, shell I
install/set FTP server, HTTP server, SAMBA, etc.
What kind of hardware to use?
RAID: ???
IDE HDD: ??? (Is 200 GB enough)
Backup Tape: ??? (Tape / ZIP drive)
Motherboard: ???
CPU: ???
CD RW: ??? (Needed)

Help me in visualizing my data storage server. Thanks in Advance.

With Regards

Ajitesh K

MIS Programmer
U.S. Aeroteam, Inc
One Edmund St,
Dayton, OH 45404

[EMAIL PROTECTED]


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


Out of Office

2004-05-18 Thread dertakamine
I will be out of the office from May 17th to May 24th. If you are reporting a Support 
issue, please send an email to [EMAIL PROTECTED] or call 951-5914, option 2. 
Otherwise, I will respond when I return to the office on Tuesday, May 25th.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


reporting port scaning abuse based on whois

2004-05-18 Thread JJB
My ipfilter firewall is blocking  35 to 150 port scan packets per
minute coming from all over the world. I have an dynamic IP address
assigned by my ISP, so I know the senders are scanning an whole
subnet range of IP address for the ports they are interested in.  I
have to pay for this background packet noise in bandwidth usage
surcharges.  I decided to research and try to build an process to
report this abuse to the ISP's who own the source IP address that is
scanning the whole subnet ranges of IP address I belong to.

I pieced together an perl script from many other sources that reads
the ipfilter ipmon log creating an structured file with the source
and target ip address padded with zeros to sort the source ip
address into sequence, then I read the sorted file and do an whois
lookup on the source ip address and scan the whois output for an
abuse@ domain name building an email including the log records as
evidence and send it.  This process only found abuse@ email address
for about 30% of the abusive port scan traffic being blocked.
Manually doing whois on some of the remainder, I see many different
reporting abuse email address.  I guess abuse@ is not an standard
naming convention.

An I going about this the correct way, or is there some other way I
should be doing this?
Is whois ip addr the only way to find the owner of the ip address
block?

Do any of the readers of this list have an perl script that does
something like what I an trying to do, that  they would share,  or
exchange in return for receiving an copy of mine?

I am thinking about changing the way I search the whois output for
abuse@,  to scanning the output one position at an time for @ then
parse left and right of it to first blank to capture email address,
then save it in table and continue with scan looking for another
email address. Then interrogate the harvested email address in the
table for abuse, spam, tech or webmaster to choose best email
address to send my reporting abuse email to.  The problem is my perl
coding ability is not sufficient to accomplish this.  An sample scan
routine sure would go a long way in enabling me to  understand the
coding technique so I could modify it to my purposes.

Any comments or coding help sure would be helpful.

Thanks


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


Re: Searching CVS commits

2004-05-18 Thread Andreas Kohn
On Mon, 2004-05-17 at 21:27, Kevin A. Pieckiel wrote:
> I have a system running the latest sources via CVS in the RELENG_5_2
> branch.  I want to update sys/kernel/vfs_syscalls.c from version 1.333
> (which is the latest available in this branch) to version 1.346 from
> HEAD.  The problem is that the commit for version 1.337 modified more
> than one file--some function calls are added to the source such that
> when I compile my kernel, I get this:
> 
> /usr/src/sys/kern/vfs_syscalls.c: In function `getfsstat':
> /usr/src/sys/kern/vfs_syscalls.c:337: warning: implicit declaration of function 
> `prison_check_mount'
> /usr/src/sys/kern/vfs_syscalls.c: In function `kern_open':
> /usr/src/sys/kern/vfs_syscalls.c:996: warning: implicit declaration of function 
> `fdunused'
> /usr/src/sys/kern/vfs_syscalls.c:1095: warning: redundant redeclaration of 
> `fdunused' in same scope
> /usr/src/sys/kern/vfs_syscalls.c:996: warning: previous declaration of `fdunused'
> /usr/src/sys/kern/vfs_syscalls.c: At top level:
> /usr/src/sys/kern/vfs_syscalls.c:3783: warning: function declaration isn't a 
> prototype
> /usr/src/sys/kern/vfs_syscalls.c: In function `lgetfh':
> /usr/src/sys/kern/vfs_syscalls.c:3794: error: dereferencing pointer to incomplete 
> type
> /usr/src/sys/kern/vfs_syscalls.c:3806: error: dereferencing pointer to incomplete 
> type
> *** Error code 1
> 
> Obviously my sources don't have the prison_check_mount function call,
> and I don't know how to determine which files were updated in this
> specific commit--only the one file I need to update.  How do I find
> what files were modified when version 1.337 of sys/kernel/vfs_syscalls.c
> was committed so that I can update those files in my source tree as well?
> 
> Thanks,
> Kevin

Hi,

cvs can't provide you with that kind of information, because it doesn't
remember it (cvs works on file-by-file base). But, it can tell you when
the 1.337 commit to vfs_syscalls.c happened. 

$ cvs log -r1.337 vfs_syscalls.c
...
revision 1.337
date: 2004/02/14 18:31:11;  author: rwatson;  state: Exp;  lines: +8 -0
...

You can then use the archive of the cvs-src mailing list at
http://lists.freebsd.org/pipermail/cvs-src/2004-February to find the
commit:

http://lists.freebsd.org/pipermail/cvs-src/2004-February/018554.html

That should tell you all modified files in this commit.

HTH,
Andreas

PS: The log information for a single file can also be found via
http://cvsweb.freebsd.org



signature.asc
Description: This is a digitally signed message part


[no subject]

2004-05-18 Thread Marcia de Oliveira Cardoso

   I'm trying to install a FreeBsd 4.9 but = it failed
with the message

   ad0: READ command = timeout tag=0 serv=0 -
   resetting ata0: = resetting devices

   I have 2 seagate = disks IDE with 120G and the motherboard is Asus
   P4V8-X
   I also have an = extra RealTeck 8139 network card.

   So, what is going = wrong? Is there a way to bypass this error?

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


Re: IMPS/2 for mouse-wheel not supported

2004-05-18 Thread Richard Bradley
> On Tue 2004-05-18 (16:23), Richard Bradley wrote:
> > Hi,
> >
> > I have a brand new Microsoft optical wheel mouse with a 'tilt wheel'.
> >
> > It works as a 3-button mouse under X
> > but the wheel doesn't work (i.e. doesn't even show up in `xev`)
> >
> > The X documentation:
> > [ http://www.xfree86.org/current/mouse6.html ]
> > seems to suggest that I use either IMPS/2 or ExplorerPS/2, but both of
> > these fail with "Protocol not supported".
> >
> >
On Tuesday 18 May 2004 5:42 pm, John Oxley wrote:
> Here is an excerpt from my XF86Config
>
>   Option "Protocol""Auto"
>   Option "Device"  "/dev/sysmouse"
>   Option "ZAxisMapping" "4 5"
>
> You may also want to include
>   Option "Buttons" "5"


I have tried "Protocol" as "Auto", but it had the same effect. I have also 
tried using `moused` and "/dev/sysmouse", in each case, everything works 
fine, except the mouse only has 3 buttons and no scroll. (I've tried the -z 
flag to moused as well)

This mouse is a replacement for another wheel mouse (different brand) which 
worked fine. Even when I didn't have "ZAxisMapping" set up, the wheel showed 
up as a button in `xev`.

Cheers,


Rich





> On Tue 2004-05-18 (16:23), Richard Bradley wrote:
> > Hi,
> >
> > I have a brand new Microsoft optical wheel mouse with a 'tilt wheel'.
> >
> > It works as a 3-button mouse under X with:
> >
> > Option  "Protocol"  "PS/2"
> > Option  "Device""/dev/psm0"
> >
> > but the wheel doesn't work (i.e. doesn't even show up in `xev`)
> >
> > The X documentation:
> > [ http://www.xfree86.org/current/mouse6.html ]
> > seems to suggest that I use either IMPS/2 or ExplorerPS/2, but both of
> > these fail with "Protocol not supported".
> >
> > Does FreeBSD support "PS/2 mouse initialization" (which the above link
> > says is required for these protocols)? Is there a kernel module I need to
> > enable this?
> >
> >
> > Any help would be much appreciated.
> >
> >
> > Rich
> >
> > ___
> > [EMAIL PROTECTED] mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "[EMAIL PROTECTED]"

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


Re: How To Copy A Group of Files To Different Name?

2004-05-18 Thread Uwe Doering
Drew Tomlinson wrote:
How can I copy a group of files to a different name.  I want to copy all 
files starting with 'bacula*' to 'bacula*.old'.  So I have these four 
files:

blacklamb# ll bac*
-r--r--r--  1 root  wheel   949 Apr 22 09:13 bacula-barcodes
-rw-r-  1 root  wheel  5792 May 17 16:52 bacula-dir.conf
-rw-r-  1 root  wheel   763 Apr 22 09:13 bacula-fd.conf
-rw-r-  1 root  wheel  1909 May 17 16:31 bacula-sd.conf
I want to have copies of these files with '.old' appended to their 
names.  I've tried 'cp -pv bac* bac*.old' but cp complains.  Because 
it's only 4 files, I'll do each one independently but I'd like to know 
how to do this "right" for future reference.
You may want to take a look at the utility 'mmv' in the ports tree 
('ports/misc/mmv' in CVS).  For copying you would use the 'mcp' variant:

  mcp -v 'bacula*' 'bacula=1.old'
It automatically preserves permissions and modification time.  For a 
test run in order to verify in advance what would happen, use the '-n' 
option.

Great tool IMHO.
   Uwe
--
Uwe Doering |  EscapeBox - Managed On-Demand UNIX Servers
[EMAIL PROTECTED]  |  http://www.escapebox.net
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


CVSup from 4-STABLE to 5.2.1-RELEASE

2004-05-18 Thread Lefteris Tsintjelis
Hi,

Can this be done without problems or is it best to start with a fresh
installation?

Note: Machine has very few packages installed.


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


Re: How To Copy A Group of Files To Different Name?

2004-05-18 Thread Drew Tomlinson
On 5/18/2004 10:25 AM Mike Hogsett wrote:
How can I copy a group of files to a different name.  I want to copy all 
files starting with 'bacula*' to 'bacula*.old'.  So I have these four files:

blacklamb# ll bac*
-r--r--r--  1 root  wheel   949 Apr 22 09:13 bacula-barcodes
-rw-r-  1 root  wheel  5792 May 17 16:52 bacula-dir.conf
-rw-r-  1 root  wheel   763 Apr 22 09:13 bacula-fd.conf
-rw-r-  1 root  wheel  1909 May 17 16:31 bacula-sd.conf
I want to have copies of these files with '.old' appended to their 
names.  I've tried 'cp -pv bac* bac*.old' but cp complains.  Because 
it's only 4 files, I'll do each one independently but I'd like to know 
how to do this "right" for future reference.


Well it may not be right, but there is more than one way to skin a cat.
if using bash as your shell you could do 

<>for b in *
do
mv $b ${b}.old
done
OK, thanks.  I'm using tcsh but I think I figure out how to do it 
following your example.  So a "script" is the only way to do it in 
*nix?  Being born and raised on MS-DOS, I'm accustomed to the "copy bac* 
bac*.old" syntax.

Thanks,
Drew
--
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books, & More!
http://www.alchemistswarehouse.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: **heads-up** : likely spam using [name]@freebsd.org

2004-05-18 Thread Remko Lodder
Dude,
[EMAIL PROTECTED] wrote:
http://people.freebsd.org/~yar/ is a valid URL, because yar is indeed a
committer.
this said, something (read: mailer-daemon error) tells me that
yar's e-mail below (bottom) is not quite right.  haven't bothered to open
the attachement and don't really see the point, given the virus comment in
the bounce reply.
perhaps this is already old hat.  perhaps it is just my mistake. 
nevertheless, i thought that you might appreciate a heads-up that some
spammer(s) may now be highjacking freebsd.org addresses in an attempt to
get us to open their attachments.

cheers,
epi
This happends all the time, with @freebsd.org addresses, @symantec.com 
adresses, with @cisco.com adresses , even with @elvandar.org adresses, 
more strict, my personal adres is used often...

Virusses are "getting" other's userinformation now, and use that to try 
and infect people like us. Since some of us (me oa) know that this is a 
virus, we don't open it. But some people might get misled by it. The 
goal of the writer had been achieved then.

Try to delete them and update your virusscanner regularly and you would 
be fine ;-)

--
Kind regards,
Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl Dutch community for helping newcomers on the 
hackerscene
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Love MPD, but a few questions

2004-05-18 Thread rsauve_admin
Hi all,

I've been using mpd as a pptp/vpn server for a few projects and I really 
like it with very few reservations.

Thanks for a great port.

I'm using FreeBSD 4.x and 5.2.1 and mpd-3.15_1

When I was first trying to set it up, I screwed around with the configs, 
until I could get it to work and I
now realize that I've likely left in some rather major fudges.

Everything works really well.
I've set up scripts to manage users and rebuild the conf and links files 
and restart mpd for dynamic ip setups

I'm from the school of 'if it ain't broke, don't fix it'
Nonetheless, I still feel that I'm not quite doing it right

The mpd.conf, in particular is what I'm talking about
Below are some config samples

Any suggestions would be appreciated

Richard Sauvé - [EMAIL PROTECTED]

### CONFS, ETC BELOW 3

Here is an example setup

172.19.45.1 is aliased to lo0 to keep samba and others happy at boot, as 
I've found it better to delay
mpd starting at boot time

## mpd.conf - reduced

default:
load pptp0
load pptp1
load pptp2

pptp0:
   new -i ng0 pptp0 pptp0
   set ipcp ranges 172.19.45.2/24 172.19.45.100/24
   load pptp_standard

pptp1:
   new -i ng1 pptp1 pptp1
   set ipcp ranges 172.19.45.2/24 172.19.45.100/24
   load pptp_standard

pptp2:
   new -i ng2 pptp2 pptp2
   set ipcp ranges 172.19.45.2/24 172.19.45.100/24
   load pptp_standard

pptp_standard:
   set iface disable on-demand
   set iface enable proxy-arp
   set bundle enable multilink
   set link yes acfcomp protocomp
   set link no pap chap
   set link enable chap
   set link keep-alive 10 60
   set ipcp yes vjcomp
   set ipcp dns 172.19.45.2
   set ipcp nbns 172.19.45.2
   set bundle enable compression
   set ccp yes mppc
   set ccp yes mpp-e40
   set ccp yes mpp-e128
   set ccp yes mpp-stateless
set bundle yes crypt-reqd

###
## mpd.links - 000.000.000.000 replaces the WAN ip

pptp0:
set link type pptp
set pptp self 000.000.000.000
set pptp enable incoming
set pptp disable originate

pptp1:
set link type pptp
set pptp self 000.000.000.000
set pptp enable incoming
set pptp disable originate

pptp2:
set link type pptp
set pptp self 000.000.000.000
set pptp enable incoming
set pptp disable originate

##3
## mpd.secret

user1   "ghi123"172.19.45.101
user2"def123"   172.19.45.103
user3"abc123"   172.19.45.104


thanks for any pointers in advance,

Richard Sauvé - [EMAIL PROTECTED]

PS: I've seen references to authenticating mpd with radius, or other 
ways, but no how-to's.
It kind of bothers me to have plain-text passwords anywhere on the 
system, even if only readable by root.
If root has them on a tty, they are world readable !


'It's good to be root'




-
This message was sent using SecureNet Mailman.
http://www.securenet.net/


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


Re: How To Copy A Group of Files To Different Name?

2004-05-18 Thread Mike Hogsett


> How can I copy a group of files to a different name.  I want to copy all 
> files starting with 'bacula*' to 'bacula*.old'.  So I have these four files:
> 
> blacklamb# ll bac*
> -r--r--r--  1 root  wheel   949 Apr 22 09:13 bacula-barcodes
> -rw-r-  1 root  wheel  5792 May 17 16:52 bacula-dir.conf
> -rw-r-  1 root  wheel   763 Apr 22 09:13 bacula-fd.conf
> -rw-r-  1 root  wheel  1909 May 17 16:31 bacula-sd.conf
>  
> I want to have copies of these files with '.old' appended to their 
> names.  I've tried 'cp -pv bac* bac*.old' but cp complains.  Because 
> it's only 4 files, I'll do each one independently but I'd like to know 
> how to do this "right" for future reference.


Well it may not be right, but there is more than one way to skin a cat.


if using bash as your shell you could do 


> for b in * 
> do
>  mv $b ${b}.old
> done




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


**heads-up** : likely spam using [name]@freebsd.org

2004-05-18 Thread epilogue

http://people.freebsd.org/~yar/ is a valid URL, because yar is indeed a
committer.

this said, something (read: mailer-daemon error) tells me that
yar's e-mail below (bottom) is not quite right.  haven't bothered to open
the attachement and don't really see the point, given the virus comment in
the bounce reply.

perhaps this is already old hat.  perhaps it is just my mistake. 
nevertheless, i thought that you might appreciate a heads-up that some
spammer(s) may now be highjacking freebsd.org addresses in an attempt to
get us to open their attachments.


cheers,
epi

-
Begin forwarded message:

Date: Tue, 18 May 2004 12:49:45 -0400 (EDT)
From: [EMAIL PROTECTED] (Mail Delivery System)
To: [EMAIL PROTECTED]
Subject: Undelivered Mail Returned to Sender


This is the Allstream MTA program at host outbox.allstream.net.

I'm sorry to have to inform you that the message returned
below could not be delivered to one or more destinations.

For further assistance, please send mail to 

If you do so, please include this problem report. You can
delete your own text from the message returned below.

The Allstream MTA program

<[EMAIL PROTECTED]>: host mx1.freebsd.org[216.136.204.125] said: 550 Error:
Please keep viruses to yourself (in reply to end of DATA command)


-
Begin forwarded message:

Date: Tue, 18 May 2004 12:49:24 -0400
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: is someone spamming with your e-mail address or...


hello yar,

i am not sure what this message is all about.

1) did i just misunderstand?
2) was this intended for someone else? or
3) is someone sending spam and faking that you are the sender?


cheers,
epi

-
Begin forwarded message:

Date: Tue, 18 May 2004 18:02:24 +0800
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: unknown


what does it mean?


[product.zip  application/x-zip-compressed (29918 bytes)]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


How To Copy A Group of Files To Different Name?

2004-05-18 Thread Drew Tomlinson
How can I copy a group of files to a different name.  I want to copy all 
files starting with 'bacula*' to 'bacula*.old'.  So I have these four files:

blacklamb# ll bac*
-r--r--r--  1 root  wheel   949 Apr 22 09:13 bacula-barcodes
-rw-r-  1 root  wheel  5792 May 17 16:52 bacula-dir.conf
-rw-r-  1 root  wheel   763 Apr 22 09:13 bacula-fd.conf
-rw-r-  1 root  wheel  1909 May 17 16:31 bacula-sd.conf
I want to have copies of these files with '.old' appended to their 
names.  I've tried 'cp -pv bac* bac*.old' but cp complains.  Because 
it's only 4 files, I'll do each one independently but I'd like to know 
how to do this "right" for future reference.

Thanks,
Drew
--
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books, & More!
http://www.alchemistswarehouse.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sound driver not loading

2004-05-18 Thread Kent Stewart
On Tuesday 18 May 2004 08:59 am, arden wrote:
> thanks that sorted it
> another quick one
>
> how do you access the cdrom?
> tried cd /mnt/cdrom as would do in linux

Never tried it that way. I have a directory called /cdrom and all I do 
is "mount /cdrom". You can't mount audio cds. You simply play them.

Some of the ports tell you to link /dev/acd0c to /dev/cdrom and chmod it 
to something like 744. I use xmcd or kscd to play my audiio cds but 
usually configure them to use acd0c.

Kent

>
> arden
>
> On Tue, 2004-05-18 at 15:59, Kent Stewart wrote:
> > On Tuesday 18 May 2004 07:46 am, arden wrote:
> > > hi all
> > >
> > > another newbie question I'm afraid when i boot my machine the
> > > sound driver module is not loading and have to type kldload
> > > snd_drivers every time did i miss something on install?
> >
> > You have to add something like
> > snd_driver_load="YES"
> > to /boot/loader.conf for it to be run everytime you boot.
> >
> > > is it time to get a crash course in kernel compiling?
> >
> > That is what I did. I added "options pcm" to my kernel config file,
> > which requires building a kernel, but why do it if the loader.conf
> > addition works :).
> >
> > Kent
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


qmail installed from ports - question about patches

2004-05-18 Thread Darryl Hoar
Greetings,
I have 5.1-release installed.  I have installed qmail from the ports.
I am following life with qmail-ldap.  I am trying to locate the
qmail.schema file.   Where can I find the official file ?
I went to the qmail-ldap patch site, but couldn't figure out
which patches were relevant .

any help would be greatly appreciated.

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


Re: A tunnel between two 5.2-CURRENT laptops with IPsec + racoon

2004-05-18 Thread Jorge Mario G.
Hi
I've read that IPSEC on 5.2.1 has some few problems
and some functions are even broken. you better dig a
bit more or try -STABLE


Jorge

_
Do You Yahoo!?
Información de Estados Unidos y América Latina, en Yahoo! Noticias.
Visítanos en http://noticias.espanol.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


A tunnel between two 5.2-CURRENT laptops with IPsec + racoon

2004-05-18 Thread Radek Kozlowski
Hello,
I'm trying to set up a tunnel between two laptops running 5.2-CURRENT, 
connected with crossed cable, that have 192.168.1.1 and 192.168.1.2 
addresses respectively.

Here's how I configured the boxes:
[kernel on both]:
options IPSEC
options IPSEC_ESP
options IPSEC_DEBUG
[rc.conf on both]:
ipsec_enable="YES"
[/etc/ipsec.conf on 192.168.1.1]:
flush;
spdflush;
spdadd 192.168.1.2/32 0.0.0.0/0 any -P in ipsec 
esp/tunnel/192.168.1.2-192.168.1.1/require;
spdadd 0.0.0.0/0 192.168.1.2/32 any -P out ipsec 
esp/tunnel/192.168.1.1-192.168.1.2/require;

[/etc/ipsec.conf on 192.168.1.2]:
flush;
spdflush;
spdadd 192.168.1.1/32 0.0.0.0/0 any -P in ipsec 
esp/tunnel/192.168.1.1-192.168.1.2/require;
spdadd 0.0.0.0/0 192.168.1.1/32 any -P out ipsec 
esp/tunnel/192.168.1.2-192.168.1.1/require;

I also installed the latest version of racoon from ports. Here's how the 
configuration files look like:

[psk.txt on 192.168.1.1]:
192.168.1.2 mypassword
[psk.txt on 192.168.1.2]:
192.168.1.1 mypassword
[racoon.conf on both]:
path include "/usr/local/etc/racoon" ;
path pre_shared_key "/usr/local/etc/racoon/psk.txt" ;
path certificate "/usr/local/etc/cert" ;
#log debug;
padding
{
maximum_length 20;  # maximum padding length.
randomize off;  # enable randomize length.
strict_check off;   # enable strict check.
exclusive_tail off; # extract last one octet.
}
listen
{
isakmp 192.168.1.1 [500]; # 192.168.1.2 on the second box
}
timer
{
counter 5;  # maximum trying count to send.
interval 20 sec;# maximum interval to resend.
persend 1;  # the number of packets per a send.
phase1 30 sec;
phase2 15 sec;
}
remote anonymous
{
exchange_mode aggressive,main;
doi ipsec_doi;
situation identity_only;
my_identifier address 192.168.1.1; # 192.168.1.2 on 2nd box
peers_identifier address 192.168.1.2; # 192.168.1.1 on 2nd box
nonce_size 16;
lifetime time 24 hour;  # sec,min,hour
initial_contact on;
support_mip6 on;
proposal_check obey;# obey, strict or claim
proposal {
encryption_algorithm 3des;
hash_algorithm sha1;
authentication_method pre_shared_key ;
dh_group 2 ;
}
}
sainfo anonymous
{
pfs_group 1;
lifetime time 12 hour;
encryption_algorithm 3des ;
authentication_algorithm hmac_sha1;
compression_algorithm deflate ;
}
I run setkey -f /etc/ipsec.conf and start racoon -F -v on each box, and 
try to ping one box from another. And that's where I'm stuck:

on 192.168.1.1:
# racoon -F -v
Foreground mode.
2004-05-18 18:36:43: INFO: main.c:172:main(): @(#)package version 
freebsd-20040408a
2004-05-18 18:36:43: INFO: main.c:174:main(): @(#)internal version 
20001216 [EMAIL PROTECTED]
2004-05-18 18:36:43: INFO: main.c:175:main(): @(#)This product linked 
OpenSSL 0.9.7d 17 Mar 2004 (http://www.openssl.org/)
2004-05-18 18:36:43: WARNING: cftoken.l:514:yywarn(): 
/usr/local/etc/racoon/racoon.conf:67: "support_mip6" it is obsoleted. 
use "support_proxy".
2004-05-18 18:36:43: INFO: isakmp.c:1368:isakmp_open(): 192.168.1.1[500] 
used as isakmp port (fd=5)
2004-05-18 18:36:53: INFO: isakmp.c:904:isakmp_ph1begin_r(): respond new 
phase 1 negotiation: 192.168.1.1[500]<=>192.168.1.2[500]
2004-05-18 18:36:53: INFO: isakmp.c:909:isakmp_ph1begin_r(): begin 
Aggressive mode.
2004-05-18 18:36:53: NOTIFY: oakley.c:2084:oakley_skeyid(): couldn't 
find the proper pskey, try to get one by the peer's address.
2004-05-18 18:36:53: INFO: isakmp.c:2459:log_ph1established(): ISAKMP-SA 
established 192.168.1.1[500]-192.168.1.2[500] 
spi:c112917078329613:62ce70ffe54cfcda
2004-05-18 18:36:53: INFO: isakmp.c:1059:isakmp_ph2begin_r(): respond 
new phase 2 negotiation: 192.168.1.1[0]<=>192.168.1.2[0]
2004-05-18 18:36:53: ERROR: isakmp_quick.c:2030:get_proposal_r(): no 
policy found: 0.0.0.0/0[0] 192.168.1.1/32[0] proto=any dir=in
2004-05-18 18:36:53: ERROR: isakmp_quick.c:1071:quick_r1recv(): failed 
to get proposal for responder.
2004-05-18 18:36:53: ERROR: isakmp.c:1073:isakmp_ph2begin_r(): failed to 
pre-process packet.

I'd appreciate any pointers. Thanks in advance.
-Radek
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: IMPS/2 for mouse-wheel not supported

2004-05-18 Thread John Oxley
Here is an excerpt from my XF86Config

  Option "Protocol""Auto"
  Option "Device"  "/dev/sysmouse"
  Option "ZAxisMapping" "4 5"

You may also want to include
  Option "Buttons" "5"


On Tue 2004-05-18 (16:23), Richard Bradley wrote:
> Hi,
> 
> I have a brand new Microsoft optical wheel mouse with a 'tilt wheel'.
> 
> It works as a 3-button mouse under X with:
> 
>   Option  "Protocol"  "PS/2"
>   Option  "Device""/dev/psm0"
> 
> but the wheel doesn't work (i.e. doesn't even show up in `xev`)
> 
> The X documentation:
> [ http://www.xfree86.org/current/mouse6.html ]
> seems to suggest that I use either IMPS/2 or ExplorerPS/2, but both of these 
> fail with "Protocol not supported".
> 
> Does FreeBSD support "PS/2 mouse initialization" (which the above link says is 
> required for these protocols)? Is there a kernel module I need to enable 
> this?
> 
> 
> Any help would be much appreciated.
> 
> 
> Rich
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-- 
/~\ The ASCII   ASCII stupid question, get a EBCDIC ANSI.
\ / Ribbon Campaign John Oxley
 X  Against HTMLhttp://oxo.rucus.net/
/ \ Email!  oxo  rucus.ru.ac.za
"Personally, I'd rather pay for my freedom than live in a bitmapped, pop-up-happy 
dungeon like NT."
-- Thomas Scoville
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [samba] can't print from w2k to bsd printer

2004-05-18 Thread Peter
 http://www.microsoft.com/Windows95/downloads/contents/WUPreviews/IPP/Default.asp
http://www.microsoft.com/Windows98/downloads/contents/WUPreviews/IPP/Default.asp

Best regards,
 

Peter Zyumbilev 
  
Project Manager 
Mansion Productions Inc. 
Phone: 1-888-261-9749
Fax: 1 - 310 - 362 - 8605
AIM: peterZmansion
YMS: peterZmansion
MSN: peterZmansion
Skype: peterZmansion
ICQ: 108984925 
support: www.hostmansion.com/supportticket (24/7) 
email: [EMAIL PROTECTED] 
web: www.mansionproductions.com 

The information transmitted is intended only for the person or entity to which it is 
addressed and may contain confidential and/or privileged material. If you are not the 
intended recipient of this message you are hereby notified that any use, review, 
retransmission, dissemination, distribution, reproduction or any action taken in 
reliance upon this message is prohibited. If you received this in error, please 
contact the sender and delete the material from any computer. Any views expressed in 
this message are those of the individual sender and may not necessarily reflect the 
views of the company. 

  - Original Message - 
  From: Rob 
  To: Hendrik Hasenbein ; [EMAIL PROTECTED] 
  Sent: Tuesday, May 18, 2004 6:51 PM
  Subject: Re: [samba] can't print from w2k to bsd printer


  Hendrik Hasenbein wrote:
  > Rob wrote:
  > 
  >> I've got an HP LaserJet 4V connected to the parallel port of my FBSD PC.
  >> I use CUPS, so I share the printer with W2k over ipp (port 631).
  >> Note: older W$ boxes (W96, W98) do not support ipp, I believe.
  > 
  > 
  > There is a client for download on
  > http://www.easysw.com/printpro/

  The download page here only has PrintPro for Windows 2000/XP/2003, but these
  already support ipp, as far as I have experienced. There's nothing here for
  W96/W98.

  Rob.


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


Re: mounting usb camera - no /dev/da* !!!

2004-05-18 Thread Jason Taylor
Mike Jeays wrote:
On Tue, 2004-05-18 at 04:09, Ben Paley wrote:
On Tuesday 18 May 2004 04:02, Mike Jeays wrote:
On Mon, 2004-05-17 at 19:16, Jason Taylor wrote:
I have a similar situation with a Cannon Powershot A40.  I can't mount
it, but gphoto is able to access it.  I had to modify a config file or
two in order for the ugen devices to be created writable by anyone other
than root.  Sorry, I don't have access to that box at the moment or I'd
offer something a bit more concrete.
gphoto2 turns out to work fine, thanks very much! I wonder why Digikam doesn't 
work, then?


I have a Canon Powershot A70, and the same problem.  I bought a SanDisk
card reader, and it works perfectly with a Compact Flash card that has
been used in the A70.  It can be mounted as
mount -t msdos /dev/da0s1 /mnt
This may turn out to be the easiest thing in the long run: certainly my wife 
and kids aren't going to want to learn a CLI for getting at their snaps. I 
guess it's either a) buy a cardreader, b) get Digikam to work or c) something 
else I don't know about yet.

Thanks for both your help,
Ben

My trivial shell-script called "getphotos" does what I need, with the
appropriate entry in /etc/fstab, of course.  If you called it from a
desktop icon, it should meet the "wife and even quite young kids"
standard - with absolutely no disrespect intended to your wife and/or
kids!  And I am quite sure several people will point out how to simplify
the script.
#!/bin/sh
mount /flash
find /flash/dcim -name "*.jpg" >/tmp/photos.txt
x1=`cat /tmp/photos.txt`
for f in  $x1
do
  cp $x1 ~/pics/Raw/
done
cd ~/pics/Raw
chown mike *
chmod -x *
umount /flash
gtkam is a GUI front-end for gphoto.  I added an entry to /etc/usb.conf 
to launch gtkam when the camera is connected.  Honestly, I've only tried 
it once since setting it all up, but it worked wonderfully that one time.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sound driver not loading

2004-05-18 Thread arden
thanks that sorted it 
another quick one 

how do you access the cdrom?
tried cd /mnt/cdrom as would do in linux

arden  

On Tue, 2004-05-18 at 15:59, Kent Stewart wrote:
> On Tuesday 18 May 2004 07:46 am, arden wrote:
> > hi all
> >
> > another newbie question I'm afraid when i boot my machine the sound
> > driver module is not loading and have to type kldload snd_drivers
> > every time did i miss something on install?
> 
> You have to add something like
> snd_driver_load="YES"
> to /boot/loader.conf for it to be run everytime you boot.
> 
> >
> > is it time to get a crash course in kernel compiling?
> >
> 
> That is what I did. I added "options pcm" to my kernel config file, 
> which requires building a kernel, but why do it if the loader.conf 
> addition works :).
> 
> Kent

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


Re: [samba] can't print from w2k to bsd printer

2004-05-18 Thread Rob
Hendrik Hasenbein wrote:
Rob wrote:
I've got an HP LaserJet 4V connected to the parallel port of my FBSD PC.
I use CUPS, so I share the printer with W2k over ipp (port 631).
Note: older W$ boxes (W96, W98) do not support ipp, I believe.

There is a client for download on
http://www.easysw.com/printpro/
The download page here only has PrintPro for Windows 2000/XP/2003, but these
already support ipp, as far as I have experienced. There's nothing here for
W96/W98.
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Realtek 8180

2004-05-18 Thread Yann Kiraly
Hi! I have been using FreeBSD for quite some time on two different 
computers. One of them, a laptop, I could plug into our Router directly. 
After selling it and buying a desktop I am reliant on dual-booting Windows 
and FreeBSD 5.2.1 because my Realtek 8180-based WLAN-NIC (pci) is not 
supported by FreeBSD. I wanted to ask if a driver for this NIC is in the 
works and, if not, what would be an alternative Wirelless NIC compatible 
with FreeBSD.

With best regardes, Yann Kiraly.
_
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus

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


IMPS/2 for mouse-wheel not supported

2004-05-18 Thread Richard Bradley
Hi,

I have a brand new Microsoft optical wheel mouse with a 'tilt wheel'.

It works as a 3-button mouse under X with:

Option  "Protocol"  "PS/2"
Option  "Device""/dev/psm0"

but the wheel doesn't work (i.e. doesn't even show up in `xev`)

The X documentation:
[ http://www.xfree86.org/current/mouse6.html ]
seems to suggest that I use either IMPS/2 or ExplorerPS/2, but both of these 
fail with "Protocol not supported".

Does FreeBSD support "PS/2 mouse initialization" (which the above link says is 
required for these protocols)? Is there a kernel module I need to enable 
this?


Any help would be much appreciated.


Rich

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


Can I run freelibiberty and libgnugetopt side-by-side?

2004-05-18 Thread Jonathon McKitrick

Hi all,

when I try installing one or the other, I get 'X conflicts with Y: they
install files into the same place.  Please remove them first with
pkg_delete'

I need freelibiberty for DDD, and libgnugetopt for glade.

thanks,

jm
-- 
My other computer is your windows box.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sound driver not loading

2004-05-18 Thread Kent Stewart
On Tuesday 18 May 2004 07:59 am, Kent Stewart wrote:
> On Tuesday 18 May 2004 07:46 am, arden wrote:
> > hi all
> >
> > another newbie question I'm afraid when i boot my machine the sound
> > driver module is not loading and have to type kldload snd_drivers
> > every time did i miss something on install?
>
> You have to add something like
> snd_driver_load="YES"
> to /boot/loader.conf for it to be run everytime you boot.
>
> > is it time to get a crash course in kernel compiling?
>
> That is what I did. I added "options pcm" to my kernel config file,
> which requires building a kernel, but why do it if the loader.conf
> addition works :).
>

That is "device  pcm" and not options.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


help with usb modem

2004-05-18 Thread marcelocm70-freebsd
I have an Alcatel Speed Touch USB ADSL modem. Anyone can help me
configuring it in FreeBSD 5.2.1. dmesg recognizes the device fine and
my provider connects using PPPoE.

Unfortunately since I am at work I cannot send my dmesg output.

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


Re: sound driver not loading

2004-05-18 Thread Kent Stewart
On Tuesday 18 May 2004 07:46 am, arden wrote:
> hi all
>
> another newbie question I'm afraid when i boot my machine the sound
> driver module is not loading and have to type kldload snd_drivers
> every time did i miss something on install?

You have to add something like
snd_driver_load="YES"
to /boot/loader.conf for it to be run everytime you boot.

>
> is it time to get a crash course in kernel compiling?
>

That is what I did. I added "options pcm" to my kernel config file, 
which requires building a kernel, but why do it if the loader.conf 
addition works :).

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: can ´t mount dvd

2004-05-18 Thread Jeremy Faulkner
Michael Hollmann wrote:
hi
dmesg | more
acd1: DVD-R  at ata1-master PIO4
Wow, you don't have much in your dmesg. Or you didn't actually type that 
command.

cat /etc/fstab
/dev/acd1c  /tmp/dvdcd9660  ro,noauto   0   0
Same as above.
mdir /mnt/dvd
cd /dev
sh MAKEDEV acd1
I assume this is on 4.x since you didn't supply the output of uname -a
mount /mnt/dvd
According to the above /etc/fstab you don't have a /mnt/dvd entry.
or
mount /dev/acd1c /mnt/dvd
mount -t cd9660 /dev/acd1 /mnt/dvd
give this error:
mount: /mnt/dvd: unknown special file or file system
The disk doesn't have a UFS file system on it (the default when using 
mount).


why ???
Because.
any ideas ?
Some.

thank´s michael
You're welcome.
--
Jeremy Faulkner http://www.gldis.ca
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sound driver not loading

2004-05-18 Thread jan . muenther
> another newbie question I'm afraid when i boot my machine the sound
> driver module is not loading and have to type kldload snd_drivers every
> time did i miss something on install? 
> 
> is it time to get a crash course in kernel compiling?

Yes. Either that (read the handbook) or man 5 loader.conf  --- or both.


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


sound driver not loading

2004-05-18 Thread arden
hi all

another newbie question I'm afraid when i boot my machine the sound
driver module is not loading and have to type kldload snd_drivers every
time did i miss something on install? 

is it time to get a crash course in kernel compiling?

arden  

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


Re: threaded processes

2004-05-18 Thread Dan Nelson
In the last episode (May 18), Kris Kennaway said:
> On Tue, May 18, 2004 at 10:04:01AM +, john doe wrote:
> > how can you view process threads on freebsd 4.9? There appears to
> > be no option in ps,top or something in /usr/ports.
> 
> Under 4.x threading is done in userland, so it is invisible to the
> kernel.  Under 5.x the default is to use kernel-supported threads,
> which are visible to ps, top, et al.

If you're really curious, the pstack command in ports will show all the
threads in a process on 4.x (and 5.x if you use libc_r).

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


Re: [samba] can't print from w2k to bsd printer

2004-05-18 Thread Hendrik Hasenbein
Rob wrote:
I've got an HP LaserJet 4V connected to the parallel port of my FBSD PC.
I use CUPS, so I share the printer with W2k over ipp (port 631).
Note: older W$ boxes (W96, W98) do not support ipp, I believe.
There is a client for download on
http://www.easysw.com/printpro/
Hendrik
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


sendmail doesn't send mail

2004-05-18 Thread carvin5string
I just got a new server up and running and need it to send mail. The
rc.conf file has sendmail_enable="NO" and it does start when the
system boots up. I can, as root, send a message direct from the command
line and it is sent successfully. But when I try to have a message sent
from a web page it errors out with this permissions error -

May 17 09:08:17 www sendmail[18900]: i4HG8HZC018900: SYSERR(www):
collect: Cannot write ./dfi4HG8HZC018900 (bfcommit, uid=80, gid=25):
Permission denied
May 17 09:08:17 www sendmail[18900]: i4HG8HZC018900: SYSERR(www):
queueup: cannot create queue file ./qfi4HG8HZC018900, euid=80:
Permission denied

I don't know what to do, I've set up previous versions of FBSD and
haven't had this problem before. The version I am running is 5.2.1.
Sendmail is only needed to send outbound messsages for apache/php. I
tried the php mail() function but it errors out -

Failed to send to [EMAIL PROTECTED] Could not instantiate
mail().

Please help.
Thanks,
Chip

PS, I have been trying to subscribe to the list but never get a mail
after submitting the form. In fact, I am not getting any messages from the freebsd.org 
system to my corporate email account.

__
Introducing the New Netscape Internet Service. 
Only $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need. 

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: nsswitch + samba

2004-05-18 Thread Ruben de Groot
On Tue, May 18, 2004 at 03:02:19PM +0400, Ivan S. Anisimov typed:
> Hello freebsd-questions,
> 
>   Could anyone help me to get nsswitch working? I've installed
>   samba 3.0.0 on FBSD 5.2, joined domain, everything works
>   fine except I have to add domain users to local passwd.
> pw showuser Administrator replies
> pw: no such user `Administrator'
> instead of providing credentials.

Did you compile the port with winbind support?

Ruben


> Thank in advance,
> Ivan
> 
> 
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


can ´t mount dvd

2004-05-18 Thread Michael Hollmann
hi

dmesg | more
acd1: DVD-R  at ata1-master PIO4

cat /etc/fstab
/dev/acd1c  /tmp/dvdcd9660  ro,noauto   0   0

mdir /mnt/dvd

cd /dev
sh MAKEDEV acd1

mount /mnt/dvd
or
mount /dev/acd1c /mnt/dvd

give this error:
mount: /mnt/dvd: unknown special file or file system


why ???

any ideas ?


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


Re: ls(1) crashes

2004-05-18 Thread platanthera
On Tuesday 18 May 2004 14:26, Matthew Seaman wrote:
> On Tue, May 18, 2004 at 12:25:09AM +0200, platanthera wrote:
> > On Tuesday 18 May 2004 00:05, Dan Nelson wrote:
> > > In the last episode (May 18), platanthera said:
> > > > ls(1) crashed (exited on signal 10) for the second time within
> > > > a few days today. Could you please have a look at the core file
> > > > and tell me what's going on? Or even better yet - point me to a
> > > > beginners guide on how to interpret core files
> > >
> > > Signal 10 is a Bus Error and is usually due to bad memory or
> > > improper overclocking.
> >
> > I've checked the memory using memtest86, and _not_ overclocked the
> > cpu.
>
> That's the right thing to do in the first instance, but getting an
> "all clear" from memtest86 doesn't guarantee you are 100% clear of
> problems.  (In technical terms, memtest86 doesn't produce false
> positives (saying there's an error when there isn't one) but it does
> have a low rate of false negatives (saying there's no error when
> there is one))
>
> However, I'd start to look at other aspects of the system now -- the
> first thing to eliminate would be hard drive problems.  Can you
> reboot the system into single user mode, and run fsck(8) on all the
> partitions?  That's
>
> # fsck -f
>
> (Nb. only the root fs should be mounted, and that should be mounted
> read-only while you're doing that.  Not coincidentally, that's the
> state booting into single user mode provides).
>
> If there are any errors reported by fsck(8), and especially if
> repeated fsck'ing doesn't clear them then your hard drive is probably
> about to give up the ghost.

fsck -f didn't report any errors. Additionally I've checked my disks 
using the scsi controlers verify disk utility. Seems they're OK.
>
> Other causes of the problem could be overheating -- not necessarily
> of the main CPU (as that just results in the screen going black, and
> whole system rebooting itself after a while) but of some of the
> bridge chipsets on the motherboard.  Sometimes those chips will have
> a fan assisted heatsink but that's not very common.  If they do,
> verify that the fan is working properly, and in any case, verify that
> the main case and power supply fans are working correctly, vents are
> not obstructed (either by stuff around your machine, or by dust on
> the inside) and that internal ribbon cables and so forth aren't
> preventing the free movement of air around the inside of the case.

I don't think it's a heat problem since there are no problems compiling 
large ports which means _many_ hours of 100% cpu load on my a bit 
elderly system. 
Just an idea - some time ago I exchanged my aha19160 scsi controller for 
a Tekram DC-390U2 (I wanted to play with Linux which didn't work with 
the Adaptec card). Although the DC-390U2 seems to work fine, might it 
eventually be that this is the reason for my recent problems?

> Even if you can't nail down exactly what the problem is, you might
> want to consider doing a cvsup + {build,install}{world,kernel} cycle.
> It will either make any deficiencies in your hardware glaringly
> obvious, or could very well make your trouble go away.

I've already tried this to overcome Signal 10 errors with cfs-1.4.1_1 - 
without any success, only downgrading to 1.4.1 helped in that case.

>   Cheers,
>
>   Matthew

thanks a lot for your hints
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ipf log line

2004-05-18 Thread Norberto Meijome
[ posted again after sending to security@ - sorry for those subscribing
to both]
Hi list,
I saw this in my ipf.log (using ipfmon):
18/05/2004 15:57:21.092537 fxp0 @25:1 S w.x.y.z -> a.b.c.d PR tcp len 20
(40) frag [EMAIL PROTECTED] IN
where :
- fpx0 is my interface connected to the outside world
- w.x.y.z is an IP not related to any system under our control
- a.b.c.d is the public IP used for NATed traffic from our LAN.
- @25:1 is : @1 block in log quick from any to any with short group 25
Does the "S" after @25:1 mean it was a packet too short to be a proper
tcp packet?
What does the frag [EMAIL PROTECTED] mean?
Thanks in advance!
Beto
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: cvsup ports questions

2004-05-18 Thread Matthew Seaman
On Tue, May 18, 2004 at 01:54:28PM +0100, Robin Becker wrote:

> Recently I found that
> 
> package openldap-client-2.0.27_1 was causing problems.
> 
> The port 'net/openldap20-client' was removed on 2004-05-03 because:
> "removed EOL version of OpenLDAP"
> 
> Attempted removal was blocked by
> gnome2-2.4.0
> gnomemeeting-0.98.5
> 
> Eventually I removed first gnome2-2.4.0, then gnomemeeting-0.98.5 after 
> which openldap could be removed (even though /usr/ports/net/openldap20 was 
> long gone).
> 
> Now, however, I have to put these back by hand. This isn't too hard here, 
> but what happens if the chain is longer. Is there an easier root with 
> portupgrade?

Funnily enough I wrote a message to this very list on that subject not
3 days ago:

 http://lists.freebsd.org/pipermail/freebsd-questions/2004-May/046744.html

Just substitute 'net/openldap20' for 'net/openldap21' in what I wrote.

> Another thing is, should I worry about duplicate index warnings?

No -- there's about 4 that always come up when I do a 'make index'.
It happens because there are several 'slave' ports which are being
confused with the master port by your setting variables in
/etc/make.conf or even by autodetecting certain shared libraries you
have installed.  It's mostly harmless.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpTrzFEHffxM.pgp
Description: PGP signature


cvsup ports questions

2004-05-18 Thread Robin Becker
I've been attempting to follow Dru Lavigne's excellent advice and clean up my 
ports, but no matter how careful I am, I seem to get into circles sometimes.

Recently I found that
package openldap-client-2.0.27_1 was causing problems.
The port 'net/openldap20-client' was removed on 2004-05-03 because:
"removed EOL version of OpenLDAP"
Attempted removal was blocked by
gnome2-2.4.0
gnomemeeting-0.98.5
Eventually I removed first gnome2-2.4.0, then gnomemeeting-0.98.5 after which 
openldap could be removed (even though /usr/ports/net/openldap20 was long gone).

Now, however, I have to put these back by hand. This isn't too hard here, but 
what happens if the chain is longer. Is there an easier root with portupgrade?

Another thing is, should I worry about duplicate index warnings?
--
Robin Becker
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


em0: trouble!

2004-05-18 Thread Maxim Hitrov
Hello
I have  Asus PC-DL DEluxe motherboard with
em0:  mem 
0xe500-0xe501 at device 12.0 on pci0
On my box is installed FreeBSD 5.2.1
I can't setup my network
 
em0: watchdog timeout -- resetting
em0: watchdog timeout -- resetting
em0: Link is Down
em0: Link is up 1000 Mbps Full Duplex
em0: watchdog timeout -- resetting
em0: Link is Down
.
What to do?


-
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: remote monitoring system variables?

2004-05-18 Thread Matthew Seaman
On Mon, May 17, 2004 at 06:32:42PM -0500, Stephen P. Cravey wrote:
> I'm tryign to locate a pre-existing method of monitoring FreeBSD systems. 
> Specifically, I'd like a way to monitor sysctl variables, IPFW/PF counters, cpu and 
> ram utilization(in that order). I can write my own interface, however I'd hate to 
> have to reinvent the wheel if there's already something out there. Not to mention 
> the difficulty in figuring out how to build an interface into the ipfw counters. 
> Thanks.

Most of that can by obtained via snmp -- the net-mgmt/net-snmp port
would be a good place to start.  You can get the system load and
memory usage and the number of bytes transmitted via each interface
straight out of SNMP, but for things like sysctl(8) output or IPFW
counters, youl'd have to get the SNMP daemon to run an external script
and return the results.  You can probably figure out how to do that by
reading the documentation supplied with net-snmp and by playing with
the configuration file generator snmpconf(1).

Once you've got SNMP capability available on your server, virtually
all network monitoring software, including a bunch of large-scale
commercial monitoring programs, will be able to process and display
the results.  If your budget doesn't run that far, then there's plenty
of applications in ports that will do a similar job.  Particularly
recommended is net-mgmt/mrtg in combination with net/rrdtool -- very
good for graphing the state of such things over time.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpMb2KQoKafv.pgp
Description: PGP signature


Re: How to mount and read cdimage before burning

2004-05-18 Thread Stephen Liu
Hi Christian, Ion-Mihai and others

Tks for your advice which works for me.  Problem is
solved now.

B.R.
Stephen

> > Hi folks,
> >
> > Freebsd 5.2
> > ===
> >
> > Following command works on Linux but not on
> Freebsd
> > # mount cd_image.iso -r -t iso9660 -o loop /mnt
> > (remark: iso9660 changed to cd9660)
> >
> > Google search brought following link
> > http://www.freebsddiary.org/iso-mount.php
> >
> > $ vnconfig /dev/vn0c cd_image.iso
> > ERROR: vnconfig(8) has been discontinued
> > Please use mdconfig(8).
> > $ mdconfig /dev/vn0c cd_image.iso
> > mdconfig: open(/dev/mdctl): Permission denied
> > $ su
> > Password:
> > # mdconfig /dev/md0c cd_image.iso
> > usage:
> > mdconfig -a -t type [-n] [-o
> [no]option]... [
> > -f file] [-s size] [-S sectorsize] [-u unit]
> > mdconfig -d -u unit
> > mdconfig -l [-n] [-u unit]
> > type = {malloc, preload, vnode,
> swap}
> > option = {cluster, compress,
> reserve}
> > size = %d (512 byte blocks), %dk
> (kB),
> > %dm (MB) or %dg (GB)
> >
> > Have no idea how to proceed further.  Kindly
> advise.
> >
> > TIA
> >
> > B.R.
> > Stephen Liu

 
> attach md:
> # mdconfig -a -t vnode -f /yourpath/your.iso 
> # mount -t cd9660 /dev/md0 /yourmountpoint
> 
> list configured mds:
> # mdconfig -l
> 
> unmount and detach:
> # umount /yourmountpoint
> # mdconfig -d -u 0
> 
> There are some examples listed in 'man 8 mdconfig'. 


___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ls(1) crashes

2004-05-18 Thread Matthew Seaman
On Tue, May 18, 2004 at 12:25:09AM +0200, platanthera wrote:
> On Tuesday 18 May 2004 00:05, Dan Nelson wrote:
> > In the last episode (May 18), platanthera said:
> > > ls(1) crashed (exited on signal 10) for the second time within a
> > > few days today. Could you please have a look at the core file and
> > > tell me what's going on? Or even better yet - point me to a
> > > beginners guide on how to interpret core files
> >
> > Signal 10 is a Bus Error and is usually due to bad memory or improper
> > overclocking.
> 
> I've checked the memory using memtest86, and _not_ overclocked the cpu.

That's the right thing to do in the first instance, but getting an
"all clear" from memtest86 doesn't guarantee you are 100% clear of
problems.  (In technical terms, memtest86 doesn't produce false
positives (saying there's an error when there isn't one) but it does
have a low rate of false negatives (saying there's no error when there
is one))

However, I'd start to look at other aspects of the system now -- the
first thing to eliminate would be hard drive problems.  Can you reboot
the system into single user mode, and run fsck(8) on all the
partitions?  That's

# fsck -f

(Nb. only the root fs should be mounted, and that should be mounted
read-only while you're doing that.  Not coincidentally, that's the
state booting into single user mode provides).

If there are any errors reported by fsck(8), and especially if
repeated fsck'ing doesn't clear them then your hard drive is probably
about to give up the ghost.

Other causes of the problem could be overheating -- not necessarily of
the main CPU (as that just results in the screen going black, and
whole system rebooting itself after a while) but of some of the bridge
chipsets on the motherboard.  Sometimes those chips will have a fan
assisted heatsink but that's not very common.  If they do, verify that
the fan is working properly, and in any case, verify that the main
case and power supply fans are working correctly, vents are not
obstructed (either by stuff around your machine, or by dust on the
inside) and that internal ribbon cables and so forth aren't preventing
the free movement of air around the inside of the case.

Even if you can't nail down exactly what the problem is, you might
want to consider doing a cvsup + {build,install}{world,kernel} cycle.
It will either make any deficiencies in your hardware glaringly
obvious, or could very well make your trouble go away.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpUqC08V8UcX.pgp
Description: PGP signature


Re: How to mount and read cdimage before burning

2004-05-18 Thread Christian Hiris
On Tuesday 18 May 2004 12:53, Stephen Liu wrote:
> Hi folks,
>
> Freebsd 5.2
> ===
>
> Following command works on Linux but not on Freebsd
> # mount cd_image.iso -r -t iso9660 -o loop /mnt
> (remark: iso9660 changed to cd9660)
>
> Google search brought following link
> http://www.freebsddiary.org/iso-mount.php
>
> $ vnconfig /dev/vn0c cd_image.iso
> ERROR: vnconfig(8) has been discontinued
> Please use mdconfig(8).
> $ mdconfig /dev/vn0c cd_image.iso
> mdconfig: open(/dev/mdctl): Permission denied
> $ su
> Password:
> # mdconfig /dev/md0c cd_image.iso
> usage:
> mdconfig -a -t type [-n] [-o [no]option]... [
> -f file] [-s size] [-S sectorsize] [-u unit]
> mdconfig -d -u unit
> mdconfig -l [-n] [-u unit]
> type = {malloc, preload, vnode, swap}
> option = {cluster, compress, reserve}
> size = %d (512 byte blocks), %dk (kB),
> %dm (MB) or %dg (GB)
>
> Have no idea how to proceed further.  Kindly advise.
>
> TIA
>
> B.R.
> Stephen Liu
>
> ___
> Do You Yahoo!?
> Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"


attach md:
# mdconfig -a -t vnode -f /yourpath/your.iso 
# mount -t cd9660 /dev/md0 /yourmountpoint

list configured mds:
# mdconfig -l

unmount and detach:
# umount /yourmountpoint
# mdconfig -d -u 0

There are some examples listed in 'man 8 mdconfig'. 

regards
ch 

-- 
Christian Hiris <[EMAIL PROTECTED]> | OpenPGP KeyID 0x941B6B0B 
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu


pgpJPsWmV2cjv.pgp
Description: signature


Re: How to mount and read cdimage before burning

2004-05-18 Thread Ion-Mihai Tetcu
On Tue, 18 May 2004 18:53:16 +0800 (CST)
Stephen Liu <[EMAIL PROTECTED]> wrote:

> Hi folks,
> 
> Freebsd 5.2
> ===
> 
> Following command works on Linux but not on Freebsd
> # mount cd_image.iso -r -t iso9660 -o loop /mnt
> (remark: iso9660 changed to cd9660)
> 
> Google search brought following link
> http://www.freebsddiary.org/iso-mount.php

The chapter about Storage, resp. 
/usr/share/doc/en_US.ISO8859-1/books/handbook/creating-cds.html


-- 
IOnut
Unregistered ;) FreeBSD "user"

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


Re: mounting usb camera - no /dev/da* !!!

2004-05-18 Thread Mike Jeays
On Tue, 2004-05-18 at 04:09, Ben Paley wrote:
> On Tuesday 18 May 2004 04:02, Mike Jeays wrote:
> > On Mon, 2004-05-17 at 19:16, Jason Taylor wrote:
> > > I have a similar situation with a Cannon Powershot A40.  I can't mount
> > > it, but gphoto is able to access it.  I had to modify a config file or
> > > two in order for the ugen devices to be created writable by anyone other
> > > than root.  Sorry, I don't have access to that box at the moment or I'd
> > > offer something a bit more concrete.
> 
> gphoto2 turns out to work fine, thanks very much! I wonder why Digikam doesn't 
> work, then?
> 
> > I have a Canon Powershot A70, and the same problem.  I bought a SanDisk
> > card reader, and it works perfectly with a Compact Flash card that has
> > been used in the A70.  It can be mounted as
> > mount -t msdos /dev/da0s1 /mnt
> 
> This may turn out to be the easiest thing in the long run: certainly my wife 
> and kids aren't going to want to learn a CLI for getting at their snaps. I 
> guess it's either a) buy a cardreader, b) get Digikam to work or c) something 
> else I don't know about yet.
> 
> Thanks for both your help,
> Ben

My trivial shell-script called "getphotos" does what I need, with the
appropriate entry in /etc/fstab, of course.  If you called it from a
desktop icon, it should meet the "wife and even quite young kids"
standard - with absolutely no disrespect intended to your wife and/or
kids!  And I am quite sure several people will point out how to simplify
the script.

#!/bin/sh
mount /flash
find /flash/dcim -name "*.jpg" >/tmp/photos.txt
x1=`cat /tmp/photos.txt`
for f in  $x1
do
  cp $x1 ~/pics/Raw/
done
cd ~/pics/Raw
chown mike *
chmod -x *
umount /flash


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


Re: mounting usb camera - no /dev/da* !!!

2004-05-18 Thread Jeremy Faulkner
Ben Paley wrote:
On Tuesday 18 May 2004 04:02, Mike Jeays wrote:
On Mon, 2004-05-17 at 19:16, Jason Taylor wrote:
I have a similar situation with a Cannon Powershot A40.  I can't mount
it, but gphoto is able to access it.  I had to modify a config file or
two in order for the ugen devices to be created writable by anyone other
than root.  Sorry, I don't have access to that box at the moment or I'd
offer something a bit more concrete.

gphoto2 turns out to work fine, thanks very much! I wonder why Digikam doesn't 
work, then?


I have a Canon Powershot A70, and the same problem.  I bought a SanDisk
card reader, and it works perfectly with a Compact Flash card that has
been used in the A70.  It can be mounted as
mount -t msdos /dev/da0s1 /mnt

This may turn out to be the easiest thing in the long run: certainly my wife 
and kids aren't going to want to learn a CLI for getting at their snaps. I 
guess it's either a) buy a cardreader, b) get Digikam to work or c) something 
else I don't know about yet.

Thanks for both your help,
Ben
There are GUI's for gphoto2 in the ports tree. I use gtkam.
/usr/ports/graphics/gtkam
--
Jeremy Faulkner http://www.gldis.ca
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: threaded processes

2004-05-18 Thread Kris Kennaway
On Tue, May 18, 2004 at 10:04:01AM +, john doe wrote:
> Hi,
>  how can you view process threads on freebsd 4.9? There appears to be no 
> option in ps,top or something in /usr/ports.

Under 4.x threading is done in userland, so it is invisible to the
kernel.  Under 5.x the default is to use kernel-supported threads,
which are visible to ps, top, et al.

Kris


pgpaEfSSPE5k1.pgp
Description: PGP signature


Re: Quick SSH question

2004-05-18 Thread Albert Shih
 Le 17/05/2004 à 22:22:57-0700, Matt Navarre a écrit
> When using DSA publuc key authentication with SSH does the [EMAIL PROTECTED] at the 
> end of the public key have any bearing on whether the key wil authenticate or 
> not?

It's just for your information. You can put anything (event nothing).

Regards
--
Albert SHIH
Universite de Paris 7 (Denis DIDEROT)
U.F.R. de Mathematiques.
Heure local/Local time:
Tue May 18 13:35:33 CEST 2004
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


nsswitch + samba

2004-05-18 Thread Ivan S. Anisimov
Hello freebsd-questions,

  Could anyone help me to get nsswitch working? I've installed
  samba 3.0.0 on FBSD 5.2, joined domain, everything works
  fine except I have to add domain users to local passwd.
pw showuser Administrator replies
pw: no such user `Administrator'
instead of providing credentials.

Thank in advance,
Ivan



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


How to mount and read cdimage before burning

2004-05-18 Thread Stephen Liu
Hi folks,

Freebsd 5.2
===

Following command works on Linux but not on Freebsd
# mount cd_image.iso -r -t iso9660 -o loop /mnt
(remark: iso9660 changed to cd9660)

Google search brought following link
http://www.freebsddiary.org/iso-mount.php

$ vnconfig /dev/vn0c cd_image.iso
ERROR: vnconfig(8) has been discontinued
Please use mdconfig(8).
$ mdconfig /dev/vn0c cd_image.iso
mdconfig: open(/dev/mdctl): Permission denied
$ su
Password:
# mdconfig /dev/md0c cd_image.iso
usage:
mdconfig -a -t type [-n] [-o [no]option]... [
-f file] [-s size] [-S sectorsize] [-u unit]
mdconfig -d -u unit
mdconfig -l [-n] [-u unit]
type = {malloc, preload, vnode, swap}
option = {cluster, compress, reserve}
size = %d (512 byte blocks), %dk (kB),
%dm (MB) or %dg (GB)

Have no idea how to proceed further.  Kindly advise.

TIA

B.R.
Stephen Liu

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mounting usb camera - no /dev/da* !!!

2004-05-18 Thread Ben Paley
On Tuesday 18 May 2004 04:02, Mike Jeays wrote:
> On Mon, 2004-05-17 at 19:16, Jason Taylor wrote:
> > I have a similar situation with a Cannon Powershot A40.  I can't mount
> > it, but gphoto is able to access it.  I had to modify a config file or
> > two in order for the ugen devices to be created writable by anyone other
> > than root.  Sorry, I don't have access to that box at the moment or I'd
> > offer something a bit more concrete.

gphoto2 turns out to work fine, thanks very much! I wonder why Digikam doesn't 
work, then?

> I have a Canon Powershot A70, and the same problem.  I bought a SanDisk
> card reader, and it works perfectly with a Compact Flash card that has
> been used in the A70.  It can be mounted as
> mount -t msdos /dev/da0s1 /mnt

This may turn out to be the easiest thing in the long run: certainly my wife 
and kids aren't going to want to learn a CLI for getting at their snaps. I 
guess it's either a) buy a cardreader, b) get Digikam to work or c) something 
else I don't know about yet.

Thanks for both your help,
Ben
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Firewalling Q

2004-05-18 Thread Schizik

Greetings, gurus!

I do need to limit people from my internal LAN to access
filesharing services like eDonkey, Mule, Kaza, etc

The problem is that it is can not be done with port ranges
based ipfw rules, because ports can be changed by users
in this programs.

What is I need some sort of setup which will analyze traffic
going to and from people and based on recognition apply
different firewall rules.

Can anyone recommend me an approach for this?


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


threaded processes

2004-05-18 Thread john doe
Hi,
 how can you view process threads on freebsd 4.9? There appears to be no 
option in ps,top or something in /usr/ports.
Thanks,
Joe

_
Talk with your online friends with MSN Messenger http://messenger.msn.nl/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Fwd: Re: New work on installer?

2004-05-18 Thread Jud
It appears I may have neglected to cc the list with my initial reply - if  
not, apologies in advance for any duplication.

--- Forwarded message ---
From: Jud <[EMAIL PROTECTED]>
To: "Matthew Seaman" <[EMAIL PROTECTED]>, slave-mike  
<[EMAIL PROTECTED]>
Subject: Re: New work on installer?
Date: Tue, 18 May 2004 05:35:25 -0400

On Mon, 17 May 2004 18:09:19 +0100, Matthew Seaman
<[EMAIL PROTECTED]> wrote:
On Mon, May 17, 2004 at 12:38:55PM +, slave-mike wrote:
If one were to *not* use the installer to setup a FreeBSD system, (aka,
like *old* dos, each step done manually), what are the manual steps
involved?
It's not something that I have at my finger-tips, as there's generally
no need to install without the installer...  However, an outline of
the process would be something like this:
- Boot up system from removable media (CD-Rom, floppy disk),
  or other external media (eg. Netboot (PXE)).
- Slice and partition disk space appropriately
- Install boot blocks or MBR if required
- Create file systems on the partitions that require them.
  Temporarily mount the new file systems so that they can be
  written to.
- Copy into place the kernel, kernel modules, the contents of the
  system directories like /lib, /bin, /sbin. /usr/bin, /usr/sbin
  This can be from a disk image or .tar file or similar on your
  installation media, or from any other system accessible over the
  network.
- Edit the crucial configuration files (/etc/fstab, /etc/hosts,
  /etc/resolv.conf, /etc/rc.conf, ...) with appropriate data for
  the system.
- Set a root password and possibly add other user accounts as
  required.
- Reboot
DragonFlyBSD is a fork of FreeBSD 4.x that, last I looked, lacks
sysinstall.  Except for DragonFly's 'cpdup' command (for which one could
substitute 'tar' or something similar, I suppose), these instructions for
installing DragonFly should therefore fairly closely mirror a
sysinstall-less FreeBSD install from a convenient ISO:
http://www.dragonflybsd.org/cgi-bin/cvsweb.cgi/~checkout~/src/nrelease/root/README?rev=1.12>
Jud
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [samba] can't print from w2k to bsd printer

2004-05-18 Thread Rob
Bjarne Wichmann Petersen wrote:
On Sunday 09 May 2004 22:07, Bjarne Wichmann Petersen wrote:

I've spend several hours trying to get samba to play nice. I can get user
to login from windows to their bsd-account, mount CD's etc.. But I can't
get the users to print. I can see the printer and I can install it. But
when I click on the installed printer I get "access denied".
I've tried everything, dublicating every smb.conf I could find. Trying out
every options. None helped. Hope someone here can spot what's wrong.
My setup is a desktop PC running FBSD and a laptop with w2k. These are
connected through a router. The printer is a laserjet and works great on
the FBSD.
I've got an HP LaserJet 4V connected to the parallel port of my FBSD PC.
I use CUPS, so I share the printer with W2k over ipp (port 631).
Note: older W$ boxes (W96, W98) do not support ipp, I believe.
My firewall has:
 ${fwcmd} add check-state
 ${fwcmd} add allow tcp from any to any established keep-state
 ${fwcmd} add allow log tcp from 147.46.44.0/24,147.46.50.0/24 to my.pc.ip.ad ipp in 
via rl0 setup
You seem not to be working with CUPS. In that case, why not using lpd (port 515)
instead of samba? I think that's more secure, than opening up your firewall for
all the funny M$-W$ ports.
W2k should support lpd printer sharing, if I'm not wrong. I'm not a M$-W$ expert 
though.
lpd is covered in the printer section of the handbook.
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: New work on installer?

2004-05-18 Thread Jud
On Mon, 17 May 2004 20:14:44 -0700 (PDT), Viktor Lazlo  
<[EMAIL PROTECTED]> wrote:

On Tue, 18 May 2004, Robert Storey wrote:
On Mon, 17 May 2004 01:00:37 -0500
<[EMAIL PROTECTED]> wrote:
> Has there been any new work on the installer or planned? If not, I  
would like
> to help... What about graphical?

If you're looking to improve FreeBSD's user-friendliness, more usefual  
than a
GUI installer would be a few network setup tools. To get some idea what  
I'm
talking about, take a look at Slackware's "netconfig" and "adsl-setup"  
tools.
These aren't GUI, just ncurses scripts, but very easy to use. When I  
was a FBSD
newbie, one of my most frustrating experiences was having to manually  
write and
modify /etc/ppp/options and /etc/ppp/ppp.conf. I think a lot of newbies  
get to
this point, spend a few frustrating days tearing their hair out, and  
then give
up and go back to Redhat or SUSE.

A user-friendly GUI or ncurses script for configuring the new PF  
firewall would
no doubt win a few converts too. Take a look at Guarddog (a Linux tool  
for IP
tables) to get some idea.
If you use sysinstall to configure the network it is very similar to
Slackware's netconfig, except that it is faster and easier since it is  
all
on once screen and will automatically probe for more information.  I've
never used dial-up under FreeBSD but there are ppp options in sysinstall
as well so presumably it will configure that as well for you.
For anyone wanting to set up dial-up or a cable modem with FreeBSD, the  
article at the URL below is simple and direct:

http://www.onlamp.com/pub/a/bsd/2000/06/14/FreeBSD_Basics.html>
It just so happens the same author has just written a new article on  
FreeBSD networking.  I haven't read it yet, but on the basis of her  
consistently excellent writing I'll recommend it anyway:

http://www.onlamp.com/pub/a/bsd/2004/05/13/FreeBSD_Basics.html>
Jud
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [samba] can't print from w2k to bsd printer

2004-05-18 Thread Bjarne Wichmann Petersen
On Sunday 09 May 2004 22:07, Bjarne Wichmann Petersen wrote:

> I've spend several hours trying to get samba to play nice. I can get user
> to login from windows to their bsd-account, mount CD's etc.. But I can't
> get the users to print. I can see the printer and I can install it. But
> when I click on the installed printer I get "access denied".
>
> I've tried everything, dublicating every smb.conf I could find. Trying out
> every options. None helped. Hope someone here can spot what's wrong.
>
> My setup is a desktop PC running FBSD and a laptop with w2k. These are
> connected through a router. The printer is a laserjet and works great on
> the FBSD.

I've managed to "solve" my problems, though I'm not exactly sure on how, and 
it's not perfect yet; ie. it's slow on connecting. But my solution included a 
mixture of medling with my firewall-settings both on the server and windows 
client. And creating a "new" printer in /etc/printcap, that just passes the 
data to the printer (no filters). And perhaps some adjusted samba-setting.

In my firewall (serverside) I opened up to all trafic on port 137-139 and 445 
(I didn't know about port 445 previously).

${fwcmd} add allow tcp from any to any 137-139
${fwcmd} add allow tcp from any to any 445
${fwcmd} add allow udp from any to any 137-139
${fwcmd} add allow udp from any to any 445
${fwcmd} add allow tcp from ${net}:${mask} to me 137-139
${fwcmd} add allow tcp from ${net}:${mask} to me 445
${fwcmd} add allow udp from ${net}:${mask} to me 137-139
${fwcmd} add allow udp from ${net}:${mask} to me 445
${fwcmd} add allow tcp from me to ${net}:${mask} 137-139
${fwcmd} add allow udp from me to ${net}:${mask} 137-139
${fwcmd} add allow tcp from me to ${net}:${mask} 445
${fwcmd} add allow udp from me to ${net}:${mask} 445

The thing that nacks me about my firewall settings is, that it's possible more 
open than nessecary. Any help on what trafic-type that can be closed would be 
great.

On my windows-client I had port 445 closed, though I'm not sure I need to open 
it?

My printcap-entry for samba looks like this:

samba|HP LaserJet 1200 via samba:\
  :sh:sd=/var/spool/lpd/samba:\
  :lp=/dev/lpt0:\
  :mx#0:\

These are the relevant smb.conf entries:

[global]
netbios name = FBSD
server string = "Samba Server"
security = SHARE
encrypt passwords = Yes
wins support = Yes
printing = bsd
printcap name = /etc/printcap
load printers = Yes
print command = lpr -r -P'%p' %s

[printers]
comment = All printers
path = /var/spool/samba
guest ok = Yes
printable = Yes
browseable = Yes
use client driver = Yes

To set up a printer from the w2k-client, I used the printer-wizard and chose a 
networkprinter and then searched the network for the printer (hence the 
'browseable = Yes').

Thanks for the pointers in the right direction.

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


Problem's using ab

2004-05-18 Thread Alexander Popkov
Hi!

>I'm trying todo some benchmarking tests some webservers(running FreeBSD
>5.2 / apache-2.0.48)  from some other FreeBSD boxes (running 5.2, also
>tried with one Linux 2.4. The problem is that after a couple of requests
>the script terminates with the error, apr_recv: Connection reset by peer
>(54). This happen on some boxes running 4.9 aswell. What could cause this
>kind of problem ?

I have same problem and not found solution ;(

EnableSendfile off
EnableMMAP off
don't help

Are you solve this problem ?

-- 
Best regards, Alexander

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