Problem with mount_smbfs (not working for me)

2004-11-02 Thread Axel S. Gruner
Hi.

I run into a problem with "mount_smbfs". 
Trying to mount a SMB-share on a AS/400 from a FreeBSD 4.10 or FreeBSD
5.3-RC1 gives me the error:

mount_smbfs: unable to open connection: syserr = Connection reset by
peer

Well, i dont like Mr. Peer, and, trying to reach the SMB-share via
"smbclient" works perfectly (but i need a mount on my FreeBSD-System, so
thats no choice).

Also if i try to mount the SMB-share from a SuSE Linux Box (with mount
-t smbfs) it will work, as a result, i think the problem is not the
share, it must be "mount_smbfs".

The syntax i tried was:
mount_smbfs -I 10.4.1.222 //[EMAIL PROTECTED]/sfimages /mnt
also with the FQDN:
mount_smbfs -I suedzwo.suedfac.com //[EMAIL PROTECTED]/sfimages /mnt

After typing the password, the error message above came up. Thats it.

So, the question is, whats wrong with my syntax, or what could cause the
problem? 

On my FreeBSD 4.10 box i also have the following stuff compiled in the
kernel:

options NETSMB  
options NETSMBCRYPTO  
options LIBMCHAIN
options LIBICONV
options SMBFS 

Thanks in advance.

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


Re: X11 security issues???

2004-11-02 Thread Rob
Eric Schuele wrote:
Hello,
Not sure if this is an FreeBSD, X, or Fluxbox issue... but thought I'd
start on this list. Most likely just misconfiguration on my part.
When I have X/Fluxbox up and running, I can press Ctrl+Alt+
and get to any other ttyv.  This is annoying to begin with but since
they prompt for pwds... not catastrophic.  However, F1 takes you to the
ttyv I'm logged in to and this gives you the opportunity to Ctrl-C my X
session... leaving you standing in my shell!
How do you start your X session?
It seems like you log in via one of the text terminals (ttyv0) and
then start X with the 'startx' command.
Why don't you use xdm with X login instead?
(I suppose you understand this, otherwise you may need some more
guidance on how to set up X).
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


X11 security issues???

2004-11-02 Thread Eric Schuele
Hello,
Not sure if this is an FreeBSD, X, or Fluxbox issue... but thought I'd
start on this list. Most likely just misconfiguration on my part.
When I have X/Fluxbox up and running, I can press Ctrl+Alt+
and get to any other ttyv.  This is annoying to begin with but since
they prompt for pwds... not catastrophic.  However, F1 takes you to the
ttyv I'm logged in to and this gives you the opportunity to Ctrl-C my X
session... leaving you standing in my shell!
This works even if the session was locked with xscreensaver.
Have I done something wrong?
How can I prevent this.  It would be nice to be able to walk away from
my desk and not worry about people using my machine.
Thanks for your help,
--
Regards,
Eric
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Upgrading 5.2.1 to 5.3R2 (Maybe a problem adding a user) [SOLVED]

2004-11-02 Thread Gerard Samuel
Gerard Samuel wrote:
Gerard Samuel wrote:
Ok, so I upgraded, ran mergemaster, and merged /etc/group (and 
/etc/master.passwd I think) via mergemaster.
I merged those files to retain my non root user account.
I rebooted, and I haven't been able to log into my non root account.
I tried to readd the account via adduser, but it says that the user 
already exists.
So I tried rmuser, and it says that the user doesn't exist.
So I manually removed the account name from /etc/group, 
/etc/master.passwd, /etc/passwd,
and tried to add the user, via adduser.
When it tries to add the user, it fails (dont remember the message 
right now).

I tried adding another account on the box, and the Im getting the same 
error...
This time I got the error message from adduser


OK? (yes/no): yes
pw: user 'test' disappeared during update
adduser: ERROR: There was an error adding user (test).
Add another user? (yes/no): no

Anyone has any suggestions on how I can get the old user account back??
N.B. I did back up /etc before mergemaster...
Thanks 

Well I got it working again.  Im not sure what fixed it, but I believe 
running vipw fixed what was wrong with it...

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


Re: FreeBSD + OpenGL

2004-11-02 Thread jason
Jeremy W. Sheaffer wrote:
I just purchased an emachines laptop with an amd64 and an ati radeon 9600
which is now running FreeBSD 5.3-BETA4 beautifully.  I need to be able to
run OpenGL programs using, among others, the ARB_vertex_program,
ARB_fragment_program, and ARB_occlusion_query extensions.  These are all
part of OpenGL 1.5, which is implemented by the current version of Mesa,
Mesa-6.2.  Xorg, as shipped with FreeBSD uses Mesa-5.1 as the renderer,
so I upgraded from source to Xorg 6.8.1, which is current stable.  This
uses Mesa-6.1, which *should* give me the functionality I need--but it
doesn't.  glxinfo tells me my renderer version is OpenGL '1.2  (1.5 Mesa
6.1)'.  So I manually replaced the Mesa subtree in Xorg with Mesa-6.2.
6.2 is primarily a bugfix upgrade, but I hoped.  I also went through the
Mesa source and made certain that all conditionally compiled code that
involves the extensions I need are built, and then rebuilt Xorg.  Still no
dice.  Version string is '1.2 (1.5 Mesa 6.2)', and the extension I need
are not being exported.  I'm not certain that this is actually a FreeBSD
question, but it touches on three different systems, so I thought I would
try here first.  Does anyone have any experience with programmable
graphics under FreeBSD.  I realize, of course, that the drivers aren't
there to really support my card--I could care less if I get acceleration!
Mesa exports the functionality in software, and I need to be able to use
it.  Any suggestions?
Jeremy
 

Using OpenGL depends on 3 things: program support, os, drivers.  FreeBSD 
does not have the newest port of Mesa, but you can get around that 
easily enough.  Ofcourse your software would have support.  This leaves 
drivers on FreeBSD.  I know for a fact the drivers are getting a little 
old, but I am not capable of updating them.  Here is an example(not that 
everyfile need to be days old to support what you have):
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/drm/radeon_cp.c ->9 
months, 4 weeks ago
http://freedesktop.org/cgi-bin/viewcvs.cgi/dri/drm/shared/radeon_cp.c 
->10 days, 23 hours ago

Thats just half of it.  Forget about anything over the R200 core(radeon 
8500, the low 9000s are just variations on the R200 and work too) if you 
can not use the precompiled ati linux drivers.  I hate to say it, but go 
to linux or windows since that is what you need to get yor work done.  I 
recommend Gentoo, its very BSD like.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problems with portupgrade

2004-11-02 Thread Kris Kennaway
On Wed, Nov 03, 2004 at 12:05:59AM -0500, Ralph M. Los wrote:

> What am I doing wrong?  Better yet, what am I doing!?  Thanks in advance
> for the help.

You forgot to read /usr/ports/UPDATING :-)

Kris


pgpN22QUHc3cc.pgp
Description: PGP signature


Problems with portupgrade

2004-11-02 Thread Ralph M. Los
Hi,
When I try to do a "portupgrade -var" I get some of these
errors, and I'm not sure how to resolve them:

--->  Session started at: Mon, 01 Nov 2004 00:41:12 -0500
Stale dependency: ImageMagick-6.0.6.2 --> xorg-libraries-6.7.0_2 --
manually run 'pkgdb -F' to fix, or specify -O to force.
--->  Session ended at: Mon, 01 Nov 2004 00:41:12 -0500 (consumed
00:00:00)

Now, I actually DID try "pkgdb -F" and get this:

bash-2.05b# pkgdb -F
--->  Checking the package registry database
Stale dependency: ImageMagick-6.0.6.2 -> xorg-libraries-6.7.0_2
(x11/xorg-libraries):
New dependency? (? to help): ?
 [Enter] to skip, [Ctrl]+[D] to delete,  [.][Enter] to abort, [Tab] to
complete
New dependency? (? to help): /usr/ports/x11/xorg-libraries
Please choose one of these:
Hermes-1.3.3_1  ImageMagick-6.0.6.2  ORBit2-2.10.4
XFree86-FontServer-4.4.0  XFree86-NestServer-4.4.0
XFree86-PrintServer-4.3.0_1  XFree86-Server-4.3.0_14
XFree86-VirtualFramebufferServer-4.4.0  XFree86-clients-4.4.0_1
XFree86-documents-4.3.0  XFree86-font100dpi-4.3.0
XFree86-font75dpi-4.3.0  XFree86-fontCyrillic-4.3.0
XFree86-fontDefaultBitmaps-4.3.0  XFree86-fontEncodings-4.4.0
XFree86-fontScalable-4.4.0_1  XFree86-libraries-4.4.0_1
XFree86-manuals-4.3.0  Xaw3d-1.5  acroread-5.08  ...



What am I doing wrong?  Better yet, what am I doing!?  Thanks in advance
for the help.


What do I do here?  What is it asking for?

Ralph M. Los
  Information Security Archtiectr, Auditor
Boundariez
[EMAIL PROTECTED]

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


question: how do I burn a UFS filesystem onto a CDROM

2004-11-02 Thread Murray Taylor
Hi all,

I wish to burn a CDROM that I can mount and show 
people that "yes there really is readable data on it"
BUT I dont want it to be readable in a windows host.

So I am thinking that instead of the usual mkisofs routine that
makes a  cd9660  filestructure I would just burn a CDROM with 
the data in a UFS structure...

NB the actual cd burner is in a winblows laptop so I am
also thinking that I need to create an .iso image somehow
that I can burn in one pass on the burner pc, even though the 
disk will not be accessible to that host once burnt.

The question is : how ?

I'm guessing that a way may be to create a vnode file system,
copy the data to it and then somehow make it into a burnable
disk image, but thats where the guessing runs out.

Or am I off the track?

Instructions gratefully received.

-- 
Murray Taylor
Special Projects Engineer
-
Bytecraft Systems & Entertainment
P: +61 3 8710 2555
F: +61 3 8710 2599
D: +61 3 9238 4275
M: +61 417 319 256
E: [EMAIL PROTECTED]
or visit us on the web
http://www.bytecraftsystems.com
http://www.bytecraftentertainment.com



---
The information transmitted in this e-mail is for the exclusive
use of the intended addressee and may contain confidential
and/or privileged material. Any review, re-transmission,
dissemination or other use of it, or the taking of any action
in reliance upon this information by persons and/or entities
other than the intended recipient is prohibited. If you
received this in error, please inform the sender and/or
addressee immediately and delete the material. 

E-mails may not be secure, may contain computer viruses and
may be corrupted in transmission. Please carefully check this
e-mail (and any attachment) accordingly. No warranties are
given and no liability is accepted for any loss or damage
caused by such matters.
---


This Email has been scanned for Viruses by MailMarshal.

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


Re: Image capture

2004-11-02 Thread Tim Aslat
In the immortal words of Olivier Nicole <[EMAIL PROTECTED]>...
> I have an application that does image capture for video surveillance.
> 
> It was designed on 4.x, nowdays running on 4.10 and using a video
> capture card with a Brooktree 484 chipset. The capture function is
> copied from the meteor example.
> 
> Now I am requested to port that application to 25 new boxes. Ideally
> I'd love to locates hardware that work with the existing software but
> I will never be able to find bktr 484 card.
> 
> And the solution must be cheap (so firewire may not be the solution).
> 
> I cannot spend too much time testing so would prefer to stick to 4.10,
> and certainly cannot spend money on a solution that may not work.
> 
> I am looking for any advice in the USB direction or traditionnal PCI
> video capture card.

Actually, I hvan't heard of a brooktree 484 card, don't you mean 848?

Seriously, if the card is using the supplied BT driver from FreeBSD,
then you have the luxury of using any of the BT chipsets (878 is
popular and readily available).  Failing that, it really depends on how
your application is accessing the capture device.  If it is just copying
data from the raw device, then you can use the Hauppauge PVR series
cards which I absolutely love, having used them in a surveillance
application myself recently.

IF the card you are looking at really is the 848 chipset, then you
should be able to use any of the brooktree cards without needing to
change the driver at all.   

Snippet from the /usr/src/sys/dev/bktr/bktr_tuner.h file
--
 * This is part of the Driver for Video Capture Cards (Frame grabbers)
 * and TV Tuner cards using the Brooktree Bt848, Bt848A, Bt849A, Bt878,
Bt879 * chipset.
--

Cheers & good luck

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]"


Image capture

2004-11-02 Thread Olivier Nicole
Hi,

I have an application that does image capture for video surveillance.

It was designed on 4.x, nowdays running on 4.10 and using a video
capture card with a Brooktree 484 chipset. The capture function is
copied from the meteor example.

Now I am requested to port that application to 25 new boxes. Ideally
I'd love to locates hardware that work with the existing software but
I will never be able to find bktr 484 card.

And the solution must be cheap (so firewire may not be the solution).

I cannot spend too much time testing so would prefer to stick to 4.10,
and certainly cannot spend money on a solution that may not work.

I am looking for any advice in the USB direction or traditionnal PCI
video capture card.

best regards,

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


Re: blackbox, bbkeys, and .xinit (update)...

2004-11-02 Thread Mike Hauber
On Tuesday 02 November 2004 06:55 pm, Mike Hauber 
proclaimed:
> Greets,
>
> This is something I haven't had to mess with before, and
> I'm confused by the docs...
>
> I have several WMs installed on my FreeBSD (4.10)
> desktop, one of which is blackbox.  Is there a way to
> uniquely state that if blackbox loads, then bbkeys should
> load as well?
>
> The instructions say to add the command to my ~/.xinit
> file, but if I do that, then bbkeys will load with
> whatever I start (If I understood it correctly.  Like I
> said, I've not had to do this before).
>
> Oh yeah...  I'm running KDM from /etc/ttys at startup (if
> that matters).
>
> Thanks
>
> Mike

Okay, I read up more on KDM and found out that blackbox is 
started from a config file called blackbox.desktop, which 
in turn points to the blackbox binary.

I created a script that runs blackbox and bbkeys 
simultaniously (blackbox & bbkeys), then pointed 
blackbox.desktop to the script.  It works, but I have to 
exit blackbox and _then_ exit bbkeys to return to the KDM 
login screen (a little less annoying).  

Is there a better way of doing this?

Thanks

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


Re: Boot Loader

2004-11-02 Thread Choy Kho Yee
On 2004/11/03, at 11:17, Andrew Smith wrote:
I'm trying to get Windows XP and FreeBSD 4.10 to dual boot.
So I installed XP, and then FreeBSD, with the Boot Manager.
Rebooted and I get the FreeBSD boot manager.  When I hit F2, FreeBSD  
loads without problems.  However when I hit F1, the computer just  
beeps at me.

So I installed GRUB from the ports 0.94.  I was able to manually boot  
BSD with GRUB, but I could not figure out how to get XP to boot, it  
didn't recognize the partition which XP was installed when I would do  
a "root (hd0,0)".
This example gives you hints on booting various OS with GRUB. Have a  
look.
http://www.gnu.org/software/grub/manual/html_node/ 
Configuration.html#Configuration

---
Choy Kho Yee
url: http://dotkoyi.infoseek.ne.jp/
blog: http://dotkoyi.blogspot.com/
"There are only 10 types of people in the world,
i.e. those who understand binary numbers and
those who do not."
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Upgrading 5.2.1 to 5.3R2 (Maybe a problem adding a user)

2004-11-02 Thread Gerard Samuel
Gerard Samuel wrote:
Ok, so I upgraded, ran mergemaster, and merged /etc/group (and 
/etc/master.passwd I think) via mergemaster.
I merged those files to retain my non root user account.
I rebooted, and I haven't been able to log into my non root account.
I tried to readd the account via adduser, but it says that the user 
already exists.
So I tried rmuser, and it says that the user doesn't exist.
So I manually removed the account name from /etc/group, 
/etc/master.passwd, /etc/passwd,
and tried to add the user, via adduser.
When it tries to add the user, it fails (dont remember the message 
right now).
I tried adding another account on the box, and the Im getting the same 
error...
This time I got the error message from adduser


OK? (yes/no): yes
pw: user 'test' disappeared during update
adduser: ERROR: There was an error adding user (test).
Add another user? (yes/no): no

Anyone has any suggestions on how I can get the old user account back??
N.B. I did back up /etc before mergemaster...
Thanks

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


Re: Boot Loader

2004-11-02 Thread Gary Aitken
I had a similar problem after installing 5.3b7.
My solution (win2K & 5.3) was to use the ms boot manager.
To do this, copy /boot/boot1 to c:\, naming it whatever you want,
eg FreeBSD_boot1.bsd.  Edit boot.ini to contain a line
like:
c:\FreeBSD_boot1.bsd="Freebsd 5.3"
In order to edit boot.ini under windows you will need to effectively
chmod it:
  attrib -s -r -h boot.ini
  edit it
  attrib +s +r +h boot.ini (not strictly needed, but a good idea)
You can restore to boot manager with the install disks/cd for windows.
Don't know whether this is the best solution or not; but it is one that
works.
Gary
Andrew Smith wrote:
Ok I'm stuck...
I'm trying to get Windows XP and FreeBSD 4.10 to dual boot.
I'm installing onto a 40GB HD:
30GB - WinXP
10GB - BSD
So I installed XP, and then FreeBSD, with the Boot Manager.
Rebooted and I get the FreeBSD boot manager.  When I hit F2, FreeBSD loads without 
problems.  However when I hit F1, the computer just beeps at me.
So I installed GRUB from the ports 0.94.  I was able to manually boot BSD with GRUB, but I could 
not figure out how to get XP to boot, it didn't recognize the partition which XP was installed 
when I would do a "root (hd0,0)".
I've search for a few hours now, trying to figure this out.  But I'm stumped.
Would this be easier with two Hard Drives?
Any suggestions?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Port for Motorola cell phones (V60c)?

2004-11-02 Thread Murray Taylor
comms/gsmlib may do the trick...
it uses the basic ETSI GSM AT commands
and has a phonebook app

mjt

On Tue, 2004-11-02 at 14:41, James Long wrote:
> I've been searching the ports tree and the freebsd.org site for anything
> similar to gnokii or scmxx, but for Motorola phones, ideally the V60c.
> 
> I haven't found anything.  Is there a port which will allow me to upload
> and download my phone's address book, settings, etc.?  I'd rather not 
> have to dust of my Windoze machine just to back up my phone's address
> book.
> 
> Failing that, I'm considering a phone upgrade, and would appreciate 
> testimonials from those who have phones which do have a port that supports
> it.
> 
> Thanks in advance!
> 
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
> 
> This Email has been scanned for Viruses by MailMarshal.
> 
-- 
Murray Taylor
Special Projects Engineer
-
Bytecraft Systems & Entertainment
P: +61 3 8710 2555
F: +61 3 8710 2599
D: +61 3 9238 4275
M: +61 417 319 256
E: [EMAIL PROTECTED]
or visit us on the web
http://www.bytecraftsystems.com
http://www.bytecraftentertainment.com



---
The information transmitted in this e-mail is for the exclusive
use of the intended addressee and may contain confidential
and/or privileged material. Any review, re-transmission,
dissemination or other use of it, or the taking of any action
in reliance upon this information by persons and/or entities
other than the intended recipient is prohibited. If you
received this in error, please inform the sender and/or
addressee immediately and delete the material. 

E-mails may not be secure, may contain computer viruses and
may be corrupted in transmission. Please carefully check this
e-mail (and any attachment) accordingly. No warranties are
given and no liability is accepted for any loss or damage
caused by such matters.
---


This Email has been scanned for Viruses by MailMarshal.

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


Re: external hard drive

2004-11-02 Thread Lloyd Hayes
I just tried putting vfat in the fstab for file type having just the 
Buslink drive connected, not the small drive enclosure. Using mount -a, 
I got  "Inappropriate  file type or  format"
I'm logged in as root.

I am beginning to suspect that I installed too much software during this 
Install. It is being picked up, but I don't know how it's being 
interpreted. I'm beginning to think that FBSD thinks it's a clock. 
(Tic-Toc.)

Anyway, I just realized that I installed more software this time, then 
at any previous time. I posted my dmesg, fstab, and rc.conf files 
earlier. I think that I may have over done it and created a conflict 
somewhere. I think that I'll give this a rest, then simply wipe the disk 
and re-install everything when I get time again.

As far as external drives goes, the Buslink 40 GB hard drive seems to be 
extremely good. It stands up to being turned on 24 hours per day and 7 
days per week while bouncing around in my truck on a wood shelf. (It's 
about 3 or 4 years old. Possibly older.) Usually, all of the systems can 
find this drive.

But drive closures for old hard drives, this one that I have from 
CompUSA seems to do a good job. It comes with a leather case to fasten 
to my belt, if I wanted it there. I mentioned the problems with Win 
98SE. (Conflict between USB CD ROM and this drive.) None of the Linux 
distros that I've tried could see it. (Slackware, Debian, Red Hat 9, 
Fedora 2, SUSE Live CD, Knoppix.) The only UNIX system that could use it 
was FreeBSD, and that was when I had FreeBSD installed last Spring. This 
drive has one of those special USB connection cables which are used on 
some cameras and small devices. USB on computer end and a very small 
plug on the hard drive end. The cable wears out every every once in a 
while. If you get on, get an extra cable.
(Note: Right now, the cable seems to work OK when I hook it into my 
Toshiba laptop, which runs Win XP. So, I don't think that I have a 
problem with the cable.)

This will go out the next time that I hook into the Internet. Messages 
will probably cross...


Lloyd Hayes
Email: [EMAIL PROTECTED]
URL: http://TalkingStaff.bravehost.com 
E-FAX Number: (208) 248-6590


dave wrote:
Hi,
Thanks for confirmation that that drive should work for me. I am considering
also getting a comp usa enclossure and i like the idea that anything will
pick it up.
   Anyway, for your mount line try vfat as the fs type and check with
dmesg -a to see if that drive showed up on boot. If it's usb make sure usbd
is enabled in rc.conf.
HTH
Dave.

 

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


CTM first time user needs your help

2004-11-02 Thread Mark Jayson Alvarez
Good day,
   I have a workstation at office but I can only
access the internet through our proxy server. Someone
in this list have the same situation which was told to
use CTM. I'm currently using
5.3RC1 and would want to keep in sync with the latest
sources of 5.3 and recompile my system. I already have
the sources and just want to update it.

Upon reading the instructions I went to 

ftp.freebsd.org/pub/FreeBSD/CTM and found these
directories:

cvs-cur
ports-cur
src3-cur
src4-cur
src5-cur
src-cur

Here are what confuses me:

1. First, if I choose to enter the src5-cur directory
above, which file would I pick, the last/latest one
dated NOV 1?

2. What are those gzipped files and why are those
older files still exists?


3. Another thing is I can't really understand how the
CTM process works. Mind if you give me some brief
insight on how I will be able to get the latest
sources? I'm thinking perhaps its like the bittorrent
system wherein the torrent file contains the
information where to get the files. How about the CTM?


Thanks a lot for your time and have a nice day!



__ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 

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


Boot Loader

2004-11-02 Thread Andrew Smith
Ok I'm stuck...

I'm trying to get Windows XP and FreeBSD 4.10 to dual boot.

I'm installing onto a 40GB HD:
30GB - WinXP
10GB - BSD

So I installed XP, and then FreeBSD, with the Boot Manager.

Rebooted and I get the FreeBSD boot manager.  When I hit F2, FreeBSD loads without 
problems.  However when I hit F1, the computer just beeps at me.

So I installed GRUB from the ports 0.94.  I was able to manually boot BSD with GRUB, 
but I could not figure out how to get XP to boot, it didn't recognize the partition 
which XP was installed when I would do a "root (hd0,0)".

I've search for a few hours now, trying to figure this out.  But I'm stumped.

Would this be easier with two Hard Drives?

Any suggestions?

Thanks,

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


Re: message in my server

2004-11-02 Thread Kent Stewart
On Tuesday 02 November 2004 06:02 pm, sonjaya wrote:
> Dear all
>
> i see in monitor my server  , like this message:
>
> reply from 00:30:84:40:f6:3a on rl0
> arp: 172.18.14.40 is on rl1 but got reply from
> 00:30:84:40:f3:ea on rl0
> arp: 172.18.14.11 is on rl1 but got reply from
> 00:40:ca:2e:60:df on rl0
> arp: 172.18.9.5 is on rl1 but got reply from
> 00:30:84:40:f0:74 on rl0
> arp: 172.18.5.80 is on rl1 but got reply from
> 00:30:4f:1b:c0:19 on rl0
> arp: 172.18.13.52 is on rl1 but got reply from
> 00:50:ba:c3:a2:6a on rl0
> arp: 172.18.2.141 is on rl1 but got reply from
> 00:40:ca:2e:61:b8 on rl0
> arp: 172.18.5.11 is on rl1 but got reply from
> 00:30:84:3c:9c:27 on rl0
> arp: 172.18.5.11 is on rl1 but got reply from
> 00:30:84:3c:9c:27 on rl0
> arp: 172.18.2.141 is on rl1 but got reply from
> 00:40:ca:2e:61:b8 on rl0
> arp: 172.18.3.228 is on rl1 but got reply from
> 00:30:4f:1d:0d:2c on rl0
> arp: 172.18.5.11 is on rl1 but got reply from
> 00:30:84:3c:9c:27 on rl0
> arp: 172.18.3.17 is on rl1 but got reply from
> 00:01:03:c1:6b:65 on rl0
> arp: 172.18.3.17 is on rl1 but got reply from
> 00:01:03:c1:6b:65 on rl0
> arp: 172.18.3.17 is on rl1 but got reply from
> 00:01:03:c1:6b:65 on rl0
> arp: 172.18.2.215 is on rl1 but got reply from
> 00:c0:26:64:10:22 on rl0
> arp: 172.18.13.52 is on rl1 but got reply from
> 00:50:ba:c3:a2:6a on rl0
> arp: 172.18.2.215 is on rl1 but got reply from
> 00:c0:26:64:10:22 on rl0
> arp: 172.18.2.215 is on rl1 but got reply from
> 00:c0:26:64:10:22 on rl0
> arp: 172.18.3.17 is on rl1 but got reply from
> 00:01:03:c1:6b:65 on rl0
> arp: 172.18.2.215 is on rl1 but got reply from
> 00:c0:26:64:10:22 on rl0
> arp: 172.18.3.17 is on rl1 but got reply from
> 00:01:03:c1:6b:65 on rl0
> arp: 172.18.2.215 is on rl1 but got reply from
> 00:c0:26:64:10:22 on rl0
>
> how i dismis this message in my server because make
> the  log files bigger .
> thx

You have to install your network properly. When you have 2 NICs on the same 
wire, you get what you are seeing.

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]"


message in my server

2004-11-02 Thread sonjaya
Dear all

i see in monitor my server  , like this message:

reply from 00:30:84:40:f6:3a on rl0
arp: 172.18.14.40 is on rl1 but got reply from
00:30:84:40:f3:ea on rl0
arp: 172.18.14.11 is on rl1 but got reply from
00:40:ca:2e:60:df on rl0
arp: 172.18.9.5 is on rl1 but got reply from
00:30:84:40:f0:74 on rl0
arp: 172.18.5.80 is on rl1 but got reply from
00:30:4f:1b:c0:19 on rl0
arp: 172.18.13.52 is on rl1 but got reply from
00:50:ba:c3:a2:6a on rl0
arp: 172.18.2.141 is on rl1 but got reply from
00:40:ca:2e:61:b8 on rl0
arp: 172.18.5.11 is on rl1 but got reply from
00:30:84:3c:9c:27 on rl0
arp: 172.18.5.11 is on rl1 but got reply from
00:30:84:3c:9c:27 on rl0
arp: 172.18.2.141 is on rl1 but got reply from
00:40:ca:2e:61:b8 on rl0
arp: 172.18.3.228 is on rl1 but got reply from
00:30:4f:1d:0d:2c on rl0
arp: 172.18.5.11 is on rl1 but got reply from
00:30:84:3c:9c:27 on rl0
arp: 172.18.3.17 is on rl1 but got reply from
00:01:03:c1:6b:65 on rl0
arp: 172.18.3.17 is on rl1 but got reply from
00:01:03:c1:6b:65 on rl0
arp: 172.18.3.17 is on rl1 but got reply from
00:01:03:c1:6b:65 on rl0
arp: 172.18.2.215 is on rl1 but got reply from
00:c0:26:64:10:22 on rl0
arp: 172.18.13.52 is on rl1 but got reply from
00:50:ba:c3:a2:6a on rl0
arp: 172.18.2.215 is on rl1 but got reply from
00:c0:26:64:10:22 on rl0
arp: 172.18.2.215 is on rl1 but got reply from
00:c0:26:64:10:22 on rl0
arp: 172.18.3.17 is on rl1 but got reply from
00:01:03:c1:6b:65 on rl0
arp: 172.18.2.215 is on rl1 but got reply from
00:c0:26:64:10:22 on rl0
arp: 172.18.3.17 is on rl1 but got reply from
00:01:03:c1:6b:65 on rl0
arp: 172.18.2.215 is on rl1 but got reply from
00:c0:26:64:10:22 on rl0

how i dismis this message in my server because make
the  log files bigger .
thx 

=
SONJAYA

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


Upgrading 5.2.1 to 5.3R2

2004-11-02 Thread Gerard Samuel
Ok, so I upgraded, ran mergemaster, and merged /etc/group (and 
/etc/master.passwd I think) via mergemaster.
I merged those files to retain my non root user account.
I rebooted, and I haven't been able to log into my non root account.
I tried to readd the account via adduser, but it says that the user 
already exists.
So I tried rmuser, and it says that the user doesn't exist.
So I manually removed the account name from /etc/group, 
/etc/master.passwd, /etc/passwd,
and tried to add the user, via adduser.
When it tries to add the user, it fails (dont remember the message right 
now).
Anyone has any suggestions on how I can get the old user account back??
N.B. I did back up /etc before mergemaster...
Thanks

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


Re: linux_base-8 mystery

2004-11-02 Thread Matt Navarre
On Tuesday 02 November 2004 05:32, Bsd B wrote:
> Hi,
> I have a question that has really stumped me. I have
> searched far and wide and have found no literature on
> it.
> My question - Why can't i install linux_base-8 from
> packages?
>
> I am running linux_base-7.1_7 on FreeBSD 4.10-RELEASE
> and wish to upgrade to linux_base-8. As root I type
> "pkg_add -r linux_base-8" and get the following
>
> Error: FTP Unable to get
> ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4.10-release/Latest/l
>inux_base-8.tgz: File unavailable (e.g., file not found, no access)
> pkg_add: unable to fetch
> 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4.10-release/Latest/
>linux_base-8.tgz' by URL
>

There's no linux_base-8 package there. In fact I don't see linux_base-8  
packages built for any 4.x (-RELEASE, -STABLE or -CURRENT).
> It installs perfectly from ports, but why not from
> packages? I am puzzled. Does any one know why or can
> point me to some reference or literature explaining
> this mystery?

Packages only exist if someone builds them. The packages in the release 
directory are, I believe, a shapshot of the ports tree at the time the 
release was made. I don't know how often the -STABLE and -CURRENT packages 
are updated or why linux-base-8 isn't in them. I don't see packages for 
5.3-RELEASE or -CURRENT either.

See the note in section 4.4.1 of the handbook:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/packages-using.html
> Cheers
> Bob
>

-- 
"We all enter this world in the same way: naked, screaming,
 and soaked in blood. But if you live your life right, that kind
 of thing doesn't have to stop there." -- Dana Gould
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: linux_base-8 mystery

2004-11-02 Thread Kris Kennaway
On Wed, Nov 03, 2004 at 12:32:51PM +1100, Bsd B wrote:
> Hi, 
> I have a question that has really stumped me. I have
> searched far and wide and have found no literature on
> it.
> My question - Why can't i install linux_base-8 from
> packages?

The maintainer ([EMAIL PROTECTED] marked it RESTRICTED because he is
under the impression that distributing the package would violate the
GPL.  You're invited to express to trevor your comments about the
correctness of this.

Kris


pgpidRJDoEE1J.pgp
Description: PGP signature


Re: Website Mirroring [was DNS/BIND Question]

2004-11-02 Thread Brian McCann
Like the Wayback Machine? http://www.archive.org/web/web.php

--Brian


On Tue, 2 Nov 2004 12:03:44 -0800, Kevin Dufficy <[EMAIL PROTECTED]> wrote:
> Hi David,
> 
> I was wondering if you could help...  Do you know of any company that exists
> (or existed) that uses website mirroring (probably reverse proxy?) - and
> that
> then swaps out key pieces of data (like the phone number in order to
> track results)?
> 
> We are desperately looking for proof that this existed to get past a
> potential patent claim - we believe this is nothing new and has been
> "commercialized" for over a year and thus we are okay to do it too - but we
> need proof!
> 
> Thanks for any help you can offer!
> 
> ---
> Kevin Dufficy
> Local Lead, LLC
> 116 Monte Vista Avenue
> Larkspur, CA 94939
> Tel: 415 454 5295
> Email: [EMAIL PROTECTED]
> http://www.locallead.com
> 
> ___
> [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: linux_base-8 mystery

2004-11-02 Thread Aaron P. Martinez
On Tue, 2004-11-02 at 19:32, Bsd B wrote:
> Hi, 
> I have a question that has really stumped me. I have
> searched far and wide and have found no literature on
> it.
> My question - Why can't i install linux_base-8 from
> packages?
> 
> I am running linux_base-7.1_7 on FreeBSD 4.10-RELEASE
> and wish to upgrade to linux_base-8. As root I type
> "pkg_add -r linux_base-8" and get the following
> 
> Error: FTP Unable to get
> ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4.10-release/Latest/linux_base-8.tgz:
> File unavailable (e.g., file not found, no access)
> pkg_add: unable to fetch
> 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4.10-release/Latest/linux_base-8.tgz'
> by URL
> 
> It installs perfectly from ports, but why not from
> packages? I am puzzled. Does any one know why or can
> point me to some reference or literature explaining
> this mystery?

I'm VERY new to freebsd, but as i understand things, all packages are
ports, but not all ports are packages  (unless you build it yourself of
course)
> Cheers
> Bob


Aaron


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


WLAN Freeradius Auth

2004-11-02 Thread SlavesZeroes

Dear all, 


I've setup my little hotspot for our office. And offcourse for security
reason, only mac address listed in radius users can have internet access.
With Lucent Orinoco AP-1000, i've checked enable radius access control and
then setup my free radius. My radius setting :

00601d-f4ae15 Auth-Type = Local, Password = "testing123"
Service-Type = Framed-User,
Framed-Protocol = PPP,
Framed-Routing = Broadcast-Listen,
Framed-MTU = 1500,
Framed-Compression = Van-Jacobson-TCP-IP

but when i try to change the setting, for testing only : 

00601d-f4ae15 Auth-Type = Reject, Password = "testing123"
Service-Type = Framed-User,
Framed-Protocol = PPP,
Framed-Routing = Broadcast-Listen,
Framed-MTU = 1500,
Framed-Compression = Van-Jacobson-TCP-IP


They still can have an access to outside, my radius log says : 

Auth: Login incorrect: [00601d-f4ae15/testing123] (from client ap port 0). 

and i try to ping to that station, it says reply : 
PING 192.168.0.254 (192.168.0.254): 56 data bytes
64 bytes from 192.168.0.254: icmp_seq=0 ttl=64 time=0.840 ms


my question is, if mac address not listed in radius users or in REJECT
mode, they shouldn't get an access to Access Point,  and offcourse they
can't have ip address, but in my case, they still have an static ip
address and they can access to LAN and internet too. Can you help me ? 


Thanks

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


linux_base-8 mystery

2004-11-02 Thread Bsd B
Hi, 
I have a question that has really stumped me. I have
searched far and wide and have found no literature on
it.
My question - Why can't i install linux_base-8 from
packages?

I am running linux_base-7.1_7 on FreeBSD 4.10-RELEASE
and wish to upgrade to linux_base-8. As root I type
"pkg_add -r linux_base-8" and get the following

Error: FTP Unable to get
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4.10-release/Latest/linux_base-8.tgz:
File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4.10-release/Latest/linux_base-8.tgz'
by URL

It installs perfectly from ports, but why not from
packages? I am puzzled. Does any one know why or can
point me to some reference or literature explaining
this mystery?
Cheers
Bob

Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ipnat.rules

2004-11-02 Thread sonjaya
dear all 

after i finish add in my kernel ipnat , i use this
sample script :
/etc/ipnat.rules :
map rl0 172.18.5.11/255.255.0.0  -> 0.0.0.0/32 proxy
port ftp ftp/tcp ssh
map rl0 172.18.5.11/255.255.0.0 -> 0.0.0.0/32 portmap
tcp/udp auto

in here my net :

lan--NAT server---internet


my question is :

1.how i must set ipnat.rules only some ip get nat
other can not user .
because if some pc station use the gateway my server
that pcstation get nat .

may be like this :
lan(non-nat)-|
lan(nat)-|---NAT Server---INternet

2. how i set the map rule in ipnat.rules , that lan do
not  have righ to nat to directly to proxy .

i'm so sory if my question is basic , because i new in
freebsd
thx






=
SONJAYA

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


Re: options FAST_IPSEC

2004-11-02 Thread sonjaya
is solved now 

thank's
--- Joost Bekkers <[EMAIL PROTECTED]> wrote:

> On Mon, Nov 01, 2004 at 10:16:47PM -0800, sonjaya
> wrote:
> > 
> >  i try use options VPN di my kernel ( Freebsd 5.2
> > release) , and i use options FAST_IPSEC , but
> every
> > make depend get error like this bellow :
> > 
> > 
> > xform_ipcomp.o(.text+0x16f): undefined reference
> to
> > `M_XDATA'
> > xform_ipcomp.o(.text+0x194): undefined reference
> to
> > `crypto_freereq'
> > xform_ipcomp.o(.text+0x271): undefined reference
> to
> > `crypto_dispatch'
> > ...
> > xform_ipcomp.o(.text+0xcd6): undefined reference
> to
> > `crypto_freereq'
> > *** Error code 1
> > 
> 
> Did you inlcude 'device crypto'?
> 
> see /sys/conf/NOTES for details.
> 
> -- 
> greetz Joost
> [EMAIL PROTECTED]
> 


=
SONJAYA

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


Re: [Fwd: Re: still more sendmail trouble]

2004-11-02 Thread Giorgos Keramidas
On 2004-11-02 15:17, Steel City Phantom <[EMAIL PROTECTED]> wrote:
> all of those are set as you suggested, here are my config files to see
> if you see something i don't.
>
> freebsd.mc -
> freebsd.submit.mc ---

Thanks for taking the time to forward this in plain text.  It was sent
as a new message and not as a followup to the original thread, but
thanks anyway :-)

The sendmail*.mc files you posted look ok.

Have you regenerated sendmail.cf and submit.cf from these files?

Have you restarted sendmail afterwards?

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


Setting KRB5_KEYTAB for slapd startup script.

2004-11-02 Thread Lewis Thompson
Hi,

I'd like to start slapd using the distributed slapd.sh script but I also
want to also KRB5_KTNAME=/usr/local/etc/openldap/ldap.keytab.

  Can anybody suggest a sensible way of doing this?  I'm looking ideally
for something that will continue to work with upgrades of openldap (and
the startup script) but if this isn't possible then the most sane way to
hack the script ;)

  Thanks a lot,

-lewiz.

-- 
I was so much older then, I'm younger than that now.  --Bob Dylan, 1964.

-| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |-


pgpZI2XhKfkUx.pgp
Description: PGP signature


Re: mergemaster fails in single user mode

2004-11-02 Thread Giorgos Keramidas
On 2004-11-02 18:22, Erik Norgaard <[EMAIL PROTECTED]> wrote:
> Giorgos Keramidas wrote:
>
> > Hmmm, AFAIK, this shouldn't happen.  Do you have a /.profile file?
>
> hmm, maybe that explains it, /.profile was missing and created when i
> ran mergemaster in multiuser mode, so I guess cd failed because my path
> was empty.

Because TERM was unset.  The default /.profile contains:

TERM=${TERM:-cons25}
export TERM

which makes sure that TERM is set to cons25, unless it's already set to
something else.

> I think I must have deleted it when cleaning up from some other
> messing arround - DOH!!

Heh.  Yeah, that's a very likely scenario.

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


trouble with jail(8) example

2004-11-02 Thread Chad Whitacre
Hey all,
I am going through the jail examples here:
  http://tinyurl.com/54q6y [man page]
Specifically:
  D=/here/is/the/jail
  cd /usr/src
  mkdir -p $D
  make world DESTDIR=$D
  cd etc
  make distribution DESTDIR=$D -DNO_MAKEDEV_RUN
  cd $D/dev
  sh MAKEDEV jail
  cd $D
  ln -sf dev/null kernel
on step 6 I get the following output:
cd /usr/src/etc;  install -g wheel -m 644 -o root  amd.map apmd.conf 
auth.conf  crontab csh.cshrc csh.login csh.logout  dhclient.conf dm.conf 
fbtab ftpusers gettytab group  hosts hosts.allow host.conf hosts.equiv 
hosts.lpd  inetd.conf login.access login.conf  motd modems networks 
newsyslog.conf  pam.conf phones printcap profile protocols  rc rc.atm 
rc.diskless1 rc.diskless2 rc.firewall rc.firewall6  rc.network 
rc.network6 rc.pccard rc.sendmail rc.serial rc.shutdown  rc.syscons 
rc.sysctl remote rpc services  shells sysctl.conf syslog.conf usbd.conf 
 etc.i386/disktab  etc.i386/rc.i386  etc.i386/ttys 
/usr/src/etc/../gnu/usr.bin/man/manpath/manpath.config 
/usr/src/etc/../usr.bin/mail/misc/mail.rc 
/usr/src/etc/../usr.bin/locate/locate/locate.rc rc.isdn 
/jails/test_jail/etc;  cap_mkdb /jails/test_jail/etc/login.conf; 
install -g wheel -m 755 -o root  netstart pccard_ether rc.suspend 
rc.resume /jails/test_jail/etc;  install -g wheel -m 600 -o root 
master.passwd nsmb.conf opieaccess /jails/test_jail/etc;  pwd_mkdb -p -d 
/jails/test_jail/etc /jails/test_jail/etc/master.passwd
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
   [-o owner] file1 file2
   install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
   [-o owner] file1 ... fileN directory
   install -d [-v] [-g group] [-m mode] [-o owner] directory ...
*** Error code 64

Stop in /usr/src/etc.
The problem is that /jails/test_jail/etc doesn't exist yet. If I create 
it manually, then 'make distribution' works fine until the next missing 
directory. So my question is this: do I need to create the structure 
manually? It seems like make distribution should do that for me.

Thanks.

chad
P.S. This is 4.10-RELEASE.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problem with 4 port Intel nic

2004-11-02 Thread luke
>It looks like it may be an IRQ conflict. Here is my dmesg output when
> the kernel detects the card:
> 
>   http://www.gnulife.org/dmesg.txt
> 
>   It looks like ports 0 and 2 are both sharing irq 4 and 1 and 3 are
> sharing irq7. Is there a problem with this? If so, any idea how I can get
> around it? Thanks!

is there anything else using irq 7? pciconf -lv or dmesg|grep irq will
show you what irq's are being used. the parallel port usually uses irq
7 so you might have to change it. i have three nics in my firewall and
they use irqs 10,11, and 14. might want to try using those(if
something else isn't already)

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


blackbox, bbkeys, and .xinit...

2004-11-02 Thread Mike Hauber
Greets,

This is something I haven't had to mess with before, and I'm 
confused by the docs...

I have several WMs installed on my FreeBSD (4.10) desktop, 
one of which is blackbox.  Is there a way to uniquely state 
that if blackbox loads, then bbkeys should load as well?

The instructions say to add the command to my ~/.xinit file, 
but if I do that, then bbkeys will load with whatever I 
start (If I understood it correctly.  Like I said, I've not 
had to do this before).

Oh yeah...  I'm running KDM from /etc/ttys at startup (if 
that matters).

Thanks

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


Re: WiFi 802.11b or g setup

2004-11-02 Thread luke
> The Linksys 802.11b card is a 2 month old card, model WPC11 ver.4. It
> uses the RealTek 8139 chipset. (One piece of software on a Linux system
> reported this as having a RealTek 8180 chipset.)

this is an 8180 chipset. 8139 is a wired chipset, 8180l is 802.11b. i
have a similar card made by airolink(or something like that.) realtek
doesn't have drivers for freebsd, but you can check out using
ndiswrapper to get it working. i've had mixed luck with it and
eventually got an atheros card made by d-link which works great in
freebsd. good luck

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


Re: Is my computer under spec?

2004-11-02 Thread luke
> I've managed to use PC133 ram in an older system with no problems,
> except I couldn't mix'n'match with the PC100 ram that was already in
> there as it caused some interesting instabilities.

pc133 will clock down with no instability if both chips are of decent
manufacture(kingston, micron, samsung) you can get into problems if
you're trying to run pc100 at 133 but even then if you use corsair or
mushkin, which are designed to be overclocked you can get by. i have
many systems that are thrown together running a mix of pc100, 133, and
even ecc 133 and they all run stable, although i'm not overclocking
any of the 100, just underclocking  the 133(and of course, not using
ecc)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Port for Motorola cell phones (V60c)?

2004-11-02 Thread James Long
I've been searching the ports tree and the freebsd.org site for anything
similar to gnokii or scmxx, but for Motorola phones, ideally the V60c.

I haven't found anything.  Is there a port which will allow me to upload
and download my phone's address book, settings, etc.?  I'd rather not 
have to dust of my Windoze machine just to back up my phone's address
book.

Failing that, I'm considering a phone upgrade, and would appreciate 
testimonials from those who have phones which do have a port that supports
it.

Thanks in advance!


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


Re: [OT] Re: Remember to Vote!

2004-11-02 Thread Jon Adams
Gary wrote:
Hi Hexren,
On Tue, 2 Nov 2004 22:08:25 +0100 UTC (11/2/2004, 3:08 PM -0500 UTC my
time), Hexren in part wrote:
NB>> Quit reading this list and go vote!
H> If I only could... but its about 2200 and dark here in Germany... ;)
you can vote, if you send your mail-in vote to Chicago...   Several
decades ago, the original Mayor Daley would say... "vote early, vote often."
 

I know I put my vote in already... gonna order a pizza in an hour, and 
watch the drama as the polls close

--
...
Jon Adams - 
"Chance favors the prepared mind"
web: http://webpages.uncc.edu/~jkadams
AOL IM: j2k4real
GPG Sig: 2965 F58A 5DF8 B4C5 16D2 0AB4 ACE2 C4A1 D105 50D2 

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


[OT] Re: Remember to Vote!

2004-11-02 Thread Gary
Hi Hexren,

On Tue, 2 Nov 2004 22:08:25 +0100 UTC (11/2/2004, 3:08 PM -0500 UTC my
time), Hexren in part wrote:

NB>> Quit reading this list and go vote!

H> If I only could... but its about 2200 and dark here in Germany... ;)

you can vote, if you send your mail-in vote to Chicago...   Several
decades ago, the original Mayor Daley would say... "vote early, vote often."

-- 
Gary

Redundancy: A Politician with an airbag in his car.


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


Re: SMP with hyperthreading CPU (5.3)?

2004-11-02 Thread Hugo Silva
[EMAIL PROTECTED]:/home/killer/] sysctl kern.smp.active
kern.smp.active: 0


> On Sat, Oct 30, 2004 at 01:43:09PM -0700, Luke wrote:
>> I haven't updated my system since August, but back then the "apic"
>> device
>> was also required.  5.3 may be different.
>> This is the relevant section from my 5.2-CURRENT hyperthreading kernel
>> from last August.
>>
>> # To make an SMP kernel, the next two are needed
>> options SMP # Symmetric MultiProcessor Kernel
>> device  apic# I/O APIC
>>
>
> Sorry, forgot to say, that I've got both of them in my kernel config
> file, i.e. "SMP" and "apic" - however I don't get the characteristic
> "CPU... launched" messages upon boot.
>
> This brings me to another point: What's the best way (besides checking
> /var/log/messages) to tell whether SMP is active?
>
> Does "top" display cpu load for hyperthreading (as opposed to
> multiprocessor) systems too?
>
> -ewald
>
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
>


-- 
www.6s-gaming.com

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


Re: Really Dumb Question

2004-11-02 Thread Dan Ferris
Thanks for the suggestions.  I figured it out, su was no longer suid 
root.  I forgot, I had to copy /usr back and forth a few times when 
setting it up on vinum.

Everything is cool, I have my user in their own group as primary and 
also in wheel.

Dan
Tim Tonway wrote:
This is probably a dumb question.
I need to add a user that can su to root.  So
I add the user with adduser, invite the user into the wheel group (GID
0) then add the user to the wheel group in /etc/group
su still fails.  What am I missing?  It's go to be something really
dumb.
It might help to know what error you are getting.
It is impossible to know what exactly you tried and what exactly
you saw as the result, so it is difficult to know what to tell you.
But, a comment anyway.
You do not need to make the primary group be 'wheel', although I suppose
you can if you like.   The primary group for a user is the one they are
assigned in the /etc/passwd (master.passwd) file.  It is the one you
give them with adduser.
I would suggest making the user's primary group, whatever group you
would
make them for other than the 'su' consideration.
Then, add them to the wheel group as one of their secondary groups by
editing the /etc/group file and adding the user on to the wheel group.
If, for example, the username is privuser, just add ',privuser' on to
the end of the line defining the wheel group (minus the quote marks
and without a space before the comma).
Just edit /etc/group with vi.
This way, you can move the user in to and out of the wheel group without
affecting group ownership of the user's files.   If you make the user's
primary group to be wheel, the user's files will most likely end up
with wheel for group ownership and you would have to change all that
if you wanted to remove that user from the wheel group, but not delete
the account.
jerry
You can also use pw for this.
To set primary:
pw usermod -g group -n user
To add a secondary group:

Typo Edit:

pw usermod -G group -n user


-Tim
___
[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]"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Remember to Vote!

2004-11-02 Thread Hexren
NB> Quit reading this list and go vote!

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

-

If I only could... but its about 2200 and dark here in Germany... ;)

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


Remember to Vote!

2004-11-02 Thread Nikolas Britton
Quit reading this list and go vote!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ipfw/dhclient conundrum

2004-11-02 Thread Hexren

lacoe> I have a circular conundrum involving the sequence of boot events that
lacoe> I'm trying to solve, and I'd like to know if any other users have
lacoe> found a solution to this, or what some suggestions may be.

>I have is this: /etc/rc.d/ipfw needs to be run after
>/etc/rc.d/dhclient. This is due to the fact that I do not have a static
>IP lease, and my firewall script determines the external interface's ip
>address with ifconfig. However, if /etc/rc.d/dhclient runs before
>/etc/rc.d/ipfw, with the firewall at default-to-deny and no rules added
>to pass dhcp autoconfigure traffic, dhclient cannot acquire a lease. But
>to run the firewall script, dhclient needs to have acquired a lease so
>the rules make sense. But to run dhclient, ipfw needs to have run... et
>cetera ad nauseum.

-

Maybe I am not seeing something obvious then please say so, but coud
you tell me for what exacty you need an aquired lease before running
the ipfw script ?
You've thought about making your firewalls rules with something like: "add allow ip 
from
any to any [attention]via interface[endattention]"

Greetz Hexren

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


[Fwd: Re: still more sendmail trouble]

2004-11-02 Thread Steel City Phantom
all of those are set as you suggested, here are my config files to see 
if you see something i don't.

freebsd.mc -
divert(0)
VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.10.2.19 2003/12/31 
17:42:16 gshapiro Exp $')
OSTYPE(freebsd4)
DOMAIN(generic)

FEATURE(access_db, `hash -o -T /etc/mail/access')
FEATURE(blacklist_recipients)
FEATURE(local_lmtp)
FEATURE(mailertable, `hash -o /etc/mail/mailertable')
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')
dnl Uncomment to allow relaying based on your MX records.
dnl NOTE: This can allow sites to use your server as a backup MX without
dnl   your permission.
dnl FEATURE(relay_based_on_MX)
dnl DNS based black hole lists
dnl 
dnl DNS based black hole lists come and go on a regular basis
dnl so this file will not serve as a database of the available servers.
dnl For that, visit
dnl 
http://directory.google.com/Top/Computers/Internet/Abuse/Spam/Blacklists/

dnl Uncomment to activate Realtime Blackhole List
dnl information available at http://www.mail-abuse.com/
dnl NOTE: This is a subscription service as of July 31, 2001
dnl FEATURE(dnsbl)
dnl Alternatively, you can provide your own server and rejection message:
dnl FEATURE(dnsbl, `blackholes.mail-abuse.org', `"550 Mail from " 
$&{client_addr} " rejected, see http://mail-abuse.org/cgi-bin/lookup?"; 
$&{client_addr}')

dnl Dialup users should uncomment and define this appropriately
dnl define(`SMART_HOST', `your.isp.mail.server')
dnl Uncomment the first line to change the location of the default
dnl /etc/mail/local-host-names and comment out the second line.
dnl define(`confCW_FILE', `-o /etc/mail/sendmail.cw')
define(`confCW_FILE', `-o /etc/mail/local-host-names')
dnl Enable for both IPv4 and IPv6 (optional)
DAEMON_OPTIONS(`Name=IPv4, Family=inet')
DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O')
define(`confBIND_OPTS', `WorkAroundBroken')
define(`confNO_RCPT_ACTION', `add-to-undisclosed')
define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy')
MAILER(local)
MAILER(smtp)
freebsd.submit.mc ---
divert(0)dnl
VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.submit.mc,v 1.1.2.1 
2003/10/30 22:38:33 gshapiro Exp $')
define(`confCF_VERSION', `Submit')dnl
define(`__OSTYPE__',`')dnl dirty hack to keep proto.m4 from complaining
define(`_USE_DECNET_SYNTAX_', `1')dnl support DECnet
define(`confTIME_ZONE', `USE_TZ')dnl
define(`confDONT_INIT_GROUPS', `True')dnl
define(`confBIND_OPTS', `WorkAroundBroken')dnl
dnl
dnl If you use IPv6 only, change [127.0.0.1] to [IPv6:::1]
FEATURE(`msp', `[127.0.0.1]')dnl

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


Trouble when trying to compile glade 2 projects [linked]

2004-11-02 Thread Alejandro Valenzuela Roca
Hi there, whenever I try to run the autogen.sh script of a glade 2
project (no matter how simple it is, or whether it's C or C++ or whether
it is a GTK or Gnome project), I always get to this:

[...]
> checking for gcc option to accept ANSI C... (cached) none needed
> checking dependency style of gcc... (cached) gcc3
> checking how to run the C preprocessor... gcc -E
> checking for egrep... grep -E
> checking for ANSI C header files... yes
> ./configure.lineno: 5040: Syntax error: word unexpected (expecting ")")


I have copied the following files from /usr/local/gnu-autotools/bin to
/usr/local/bin to be able to run autogen.sh at all:

aclocal, autoconf, autoheader, autom4te, automake, autoreconf, autoscan,
autoupdate.

I LINK the "project" and the autogen.sh output... 
(I had attached it; I didn't know about the 200 kB rule, sorry :P)

http://www.mexinetica.com/~lanjoe9/freebsd/proyecto1.tar.gz


What am I missing or doing wrong?

Have a nice day
Alejandro

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


Website Mirroring [was DNS/BIND Question]

2004-11-02 Thread Kevin Dufficy
Hi David,

I was wondering if you could help...  Do you know of any company that exists
(or existed) that uses website mirroring (probably reverse proxy?) - and
that
then swaps out key pieces of data (like the phone number in order to
track results)?

We are desperately looking for proof that this existed to get past a
potential patent claim - we believe this is nothing new and has been
"commercialized" for over a year and thus we are okay to do it too - but we
need proof!

Thanks for any help you can offer!

---
Kevin Dufficy
Local Lead, LLC
116 Monte Vista Avenue
Larkspur, CA 94939
Tel: 415 454 5295
Email: [EMAIL PROTECTED]
http://www.locallead.com


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


Re: portupgrade core dump fix?

2004-11-02 Thread Kent Stewart
Lowell Gilbert wrote:
"dave" <[EMAIL PROTECTED]> writes:

   New install of a 5.2.1 system, ports tree cvsupped to the latest. I was
wondering if the problem with pkgdb core dumping with portupgrade is still
occurring? If so, is there another port maintence tool equivalent? I was
really not happy when the portindex port was withdrawn.

The actual bug is in the base system, not portupgrade.  It *has* been
fixed in the base system, so you could upgrade that...
IIRC, it wasn't considered a security problem and didn't get updated in 
the older releases.

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]"


xorg and my thinkpad 600e

2004-11-02 Thread Gary Kline
Guys, I need some guidance re xorg v xfree86.

On my emachines test server, xorg does work, but xdm brings
up a default of 1600x1280 or something close.  It's nice to
be able to squeeze two size=by=side xterms with fonts that 
i can see.  still, other apps are hard to read.  so: is
there a way to switch the default to 1280x1024?

More importantly, my ThinkPad maxes out at 1024x768.  ARe
the xorg drivers intelligent enough to recognize the 
hardware limitations?

thanks,

gary


-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: Really Dumb Question

2004-11-02 Thread Tim Tonway
>>>
>>> This is probably a dumb question.
>>>
>>> I need to add a user that can su to root.  So
>>>
>>> I add the user with adduser, invite the user into the wheel group (GID
>>> 0) then add the user to the wheel group in /etc/group
>>>
>>> su still fails.  What am I missing?  It's go to be something really
>>> dumb.
>>
>> It might help to know what error you are getting.
>> It is impossible to know what exactly you tried and what exactly
>> you saw as the result, so it is difficult to know what to tell you.
>>
>> But, a comment anyway.
>>
>> You do not need to make the primary group be 'wheel', although I suppose
>> you can if you like.   The primary group for a user is the one they are
>> assigned in the /etc/passwd (master.passwd) file.  It is the one you
>> give them with adduser.
>>
>> I would suggest making the user's primary group, whatever group you
>> would
>> make them for other than the 'su' consideration.
>>
>> Then, add them to the wheel group as one of their secondary groups by
>> editing the /etc/group file and adding the user on to the wheel group.
>> If, for example, the username is privuser, just add ',privuser' on to
>> the end of the line defining the wheel group (minus the quote marks
>> and without a space before the comma).
>>
>> Just edit /etc/group with vi.
>>
>> This way, you can move the user in to and out of the wheel group without
>> affecting group ownership of the user's files.   If you make the user's
>> primary group to be wheel, the user's files will most likely end up
>> with wheel for group ownership and you would have to change all that
>> if you wanted to remove that user from the wheel group, but not delete
>> the account.
>>
>> jerry
>>
> You can also use pw for this.
>
> To set primary:
>
> pw usermod -g group -n user
>
> To add a secondary group:
>

Typo Edit:

> pw usermod -G group -n user
>



>
> -Tim
>
>
> ___
> [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: Really Dumb Question

2004-11-02 Thread Tim Tonway
>>
>> This is probably a dumb question.
>>
>> I need to add a user that can su to root.  So
>>
>> I add the user with adduser, invite the user into the wheel group (GID
>> 0) then add the user to the wheel group in /etc/group
>>
>> su still fails.  What am I missing?  It's go to be something really
>> dumb.
>
> It might help to know what error you are getting.
> It is impossible to know what exactly you tried and what exactly
> you saw as the result, so it is difficult to know what to tell you.
>
> But, a comment anyway.
>
> You do not need to make the primary group be 'wheel', although I suppose
> you can if you like.   The primary group for a user is the one they are
> assigned in the /etc/passwd (master.passwd) file.  It is the one you
> give them with adduser.
>
> I would suggest making the user's primary group, whatever group you would
> make them for other than the 'su' consideration.
>
> Then, add them to the wheel group as one of their secondary groups by
> editing the /etc/group file and adding the user on to the wheel group.
> If, for example, the username is privuser, just add ',privuser' on to
> the end of the line defining the wheel group (minus the quote marks
> and without a space before the comma).
>
> Just edit /etc/group with vi.
>
> This way, you can move the user in to and out of the wheel group without
> affecting group ownership of the user's files.   If you make the user's
> primary group to be wheel, the user's files will most likely end up
> with wheel for group ownership and you would have to change all that
> if you wanted to remove that user from the wheel group, but not delete
> the account.
>
> jerry
>
You can also use pw for this.

To set primary:

pw usermod -g group -n user

To add a secondary group:

pw usermog -G group -n user


-Tim


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


IPSEC (5.3-RC2) -- IKE traffic problem.

2004-11-02 Thread Lewis Thompson
Hi,

I'm attempting to get an encrypted tunnel going between two machines.
Before I start pasting away my configs, tcpdump logs, racoon logs, etc.
I would like to ask the following question:

I've read that 5.2.1 had broken IPSEC, such that IKE traffic (port 500)
was not bypassed (or something along those lines).  A full thread can be
found at
http://groups.google.com/groups?hl=en&lr=&threadm=257C203C-8104-11D8-9902-00039303AB38_mac.com%40ns.sol.net&rnum=10&prev=/groups%3Fq%3Dan%2520acceptable%2520proposal%2520found%26hl%3Den%26lr%3D%26sa%3DN%26tab%3Dwg

  Does anybody know if this has now been resolved in 5.3RC2?  Do I need
to start doing special things to make IPSEC work?  Or am I just a
bonehead who has screwed his config up somehow?

  Thanks very much,

-lewiz.

-- 
I was so much older then, I'm younger than that now.  --Bob Dylan, 1964.

-| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |-


pgpIzFlMi2qk4.pgp
Description: PGP signature


Re: Really Dumb Question

2004-11-02 Thread Jerry McAllister
> 
> This is probably a dumb question.
> 
> I need to add a user that can su to root.  So
> 
> I add the user with adduser, invite the user into the wheel group (GID 
> 0) then add the user to the wheel group in /etc/group
> 
> su still fails.  What am I missing?  It's go to be something really dumb.

It might help to know what error you are getting.   
It is impossible to know what exactly you tried and what exactly
you saw as the result, so it is difficult to know what to tell you.

But, a comment anyway.

You do not need to make the primary group be 'wheel', although I suppose
you can if you like.   The primary group for a user is the one they are
assigned in the /etc/passwd (master.passwd) file.  It is the one you 
give them with adduser.

I would suggest making the user's primary group, whatever group you would 
make them for other than the 'su' consideration.

Then, add them to the wheel group as one of their secondary groups by 
editing the /etc/group file and adding the user on to the wheel group.   
If, for example, the username is privuser, just add ',privuser' on to 
the end of the line defining the wheel group (minus the quote marks 
and without a space before the comma). 

Just edit /etc/group with vi.

This way, you can move the user in to and out of the wheel group without
affecting group ownership of the user's files.   If you make the user's
primary group to be wheel, the user's files will most likely end up
with wheel for group ownership and you would have to change all that
if you wanted to remove that user from the wheel group, but not delete
the account.

jerry

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


Re: still more sendmail trouble

2004-11-02 Thread Giorgos Keramidas
Date: Tue, 02 Nov 2004 12:32:17 -0500
From: Steel City Phantom <[EMAIL PROTECTED]>
Subject: Re: still more sendmail trouble
To: Giorgos Keramidas <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]




[...]

Sorry, I don't read HTML mail :-(

Please, repost your message in plain text using a reasonable layout for
quoted material, your own text and any attached files.

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


Re: mergemaster fails in single user mode

2004-11-02 Thread Donald J. O'Neill
On Tuesday 02 November 2004 09:24 am, Erik Norgaard wrote:
> Hi,
>
> I just upgraded to -CURRENT (yesterdays). Everything goes well, I
> reboot into single user mode, mount all partitions and run 'make
> installworld'
>
> To finish the upgrade I run "mergemaster" still in single user
> mode, but this fails with the following output:
>
> # /usr/sbin/mergemaster
>
> tput: no terminal type specified and no TERM environmental
> variable. *** The directory specified for the temporary root
> environment, /var/tmp/temproot, exists.  This can be a security
> risk if untrusted users have access to the system.
>
>   Use 'd' to delete the old /var/tmp/temproot and continue
>   Use 't' to select a new temporary root directory
>   Use 'e' to exit mergemaster
>
>   Default is to use /var/tmp/temproot as is
>
> How should I deal with this? [Use the existing /var/tmp/temproot]
>
>*** Leaving /var/tmp/temproot intact
>
> *** Creating the temporary root environment in /var/tmp/temproot
>  *** /var/tmp/temproot ready for use
>  *** Creating and populating directory structure in
> /var/tmp/temproot
>
> mtree -eU  -f /usr/src/etc/mtree/BSD.root.dist -p
> /var/tmp/temproot/ mtree:No such file or directory
> *** Error code 1
>
> Stop in /usr/src/etc.
>
>   *** FATAL ERROR: Cannot 'cd' to /usr/src/etc and install files
> to the temproot environment
>
> #
> Script done on Tue Nov  2 12:08:40 2004
>
> Rebooting into normal multi-user mode, I have no problem running
> the script.
>
> Should I simply not run mergemaster in single user mode? (Anyway,
> I believe the error to be odd).
>
> Cheers, Erik
>
> PS: I have had this error before, in june and september with
> -CURRENT.


Hi Erik,

The best thing you can do is read /usr/src/UPDATING and follow the 
procedure for upgrading located towards the end of the file. One 
thing it will tell you is to run "mergemaster -p" before going into 
single-user mode. I didn't see you mention doing that. Instead of 
rebooting into single-user mode, why don't you do "shutdown now", 
that will put you into single user mode. 

OK, you want to make buildworld, buildkernel, installkernel while in 
multiuser mode. When that's done, go to single-user mode, run 
"mergemaster -p". If it asks what to do about an 
existing /var/tmp/temproot, you want to delete it, it's existing 
from a previous upgrade and you don't want to use it. Deleating it 
will allow it to be repopulated. Then, you can "cd /usr/src" and 
run "make installworld". When that's done, while still in single 
user mode, you can run "mergemaster" or "mergemaster -i". You will 
be warned about an existing /var/tmp/temproot. Again, you want to 
delete it so it can be correctly repopulated. After that, my advice 
is to just install everything mergemaster puts up to be taken care 
of. Finally, you can reboot, or "shutdown -r now", login as root, 
and unless you did something strange that you can't remember doing, 
it should work.

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


ipfw/dhclient conundrum

2004-11-02 Thread lreid

I have a circular conundrum involving the sequence of boot events that
I'm trying to solve, and I'd like to know if any other users have
found a solution to this, or what some suggestions may be.

First, I'd like to note that I've been using 4-STABLE for a while, and
I only recently started running 5-STABLE after my disk cratered. So I am
still getting used to some of the new features of the system.

The box in question uses dhclient to get an IP lease for the external
link. The box must forward LAN traffic, and have a decent amount of
protection, so ipfw natd and dhcpd services are also enabled. The
conundrum I have is this: /etc/rc.d/ipfw needs to be run after
/etc/rc.d/dhclient. This is due to the fact that I do not have a static
IP lease, and my firewall script determines the external interface's ip
address with ifconfig. However, if /etc/rc.d/dhclient runs before
/etc/rc.d/ipfw, with the firewall at default-to-deny and no rules added
to pass dhcp autoconfigure traffic, dhclient cannot acquire a lease. But
to run the firewall script, dhclient needs to have acquired a lease so
the rules make sense. But to run dhclient, ipfw needs to have run... et
cetera ad nauseum. My interim fix is to add net.inet.ip.fw.enable=0 to
sysctl.conf and remove the requirement of ipfw from the dhclient rc
script. When rc takes off at boot time, the firewall is disabled and
dhclient runs before ipfw. When ipfw runs, it enables the firewall
sysctl and executes my firewall script, which gets sensible results
since a lease for the external interface has been acquired. But then
something screwy happens... sometime after netoptions runs (I'd include
more detail if I had it), net.inet.ip.fw.enable is set back to zero...
so my "fix" still requires operator intervention for the firewall and
address translation to be enabled. I'd like to know a more sane way of
correcting this behavior.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: *BSD is considered the safest OS

2004-11-02 Thread Kevin D. Kinsey, DaleCo, S.P.
Nikolas Britton wrote:
Richard Cotrina wrote:
Perhaps this is an old news, but it's interesting to post it to the 
list.

A recent study made by MI2G, an UK company focused in data risk
security, shows that *BSD and MacOS X were the less breached OS in a
sample of more that 200K computers permanently connected to the 
internet.

http://mi2g.net/cgi/mi2g/frameset.php?pageid=http%3A//mi2g.net/cgi/mi2g/press/021104.php 


Someone write-up a slashdot story and submit it... It's always fun to 
prod are linux comrades. :-)

http://slashdot.org/submit.pl

Done 
if !defined ${tact}
  echo "[snip]  The study also reveals that Linux has become the most 
breached 24/7 online computing environment"
  .endif

However, looks like someone more objective than I am beat me to it :-(
Kevin Kinsey
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Dlink-g520 802.11b and WEP

2004-11-02 Thread scott renna
so I have my Dlink-g520 working and communicating with
my Netgear 802.11b router.  Here's the thing,
occasionally, the BSD box will no longer be reachable
via the Dlink wireless card.  I then have to stick a
head on it and reboot and it's becoming a real pain. 
The error i found is in /var/log/messages is shown
here:

pluto kernel: ath0: association failed (reason 1) for
00:09:5b:73:3b:24 

I went through the man page for ath and was unable to
locate an explanation.  I did have a possible thought
of setting the D-Link card to a fixed transmit speed
just at 802.11b speeds, would that make a difference,
if so, does anyone know how to configure the speed. 
This device is using an AR5212 chip.

Please let me know if so
thanks

scott

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


Re: *BSD is considered the safest OS

2004-11-02 Thread K. Greenwood

--- Nikolas Britton <[EMAIL PROTECTED]> wrote:

> Richard Cotrina wrote:
> 
> >Perhaps this is an old news, but it's interesting
> to post it to the list.
> >
> >A recent study made by MI2G, an UK company focused
> in data risk
> >security, shows that *BSD and MacOS X were the less
> breached OS in a
> >sample of more that 200K computers permanently
> connected to the internet.
> >
>
>http://mi2g.net/cgi/mi2g/frameset.php?pageid=http%3A//mi2g.net/cgi/mi2g/press/021104.php
> >

> Someone write-up a slashdot story and submit it...
> It's always fun to 
> prod are linux comrades. :-)
> 
> http://slashdot.org/submit.pl
> 

Hm.  I've always been curious to know how long it took
for a message to be accepted, and the background check
undergone.  Clearly not long, nor extensive,
considering the following.

http://slashdot.org/articles/04/02/21/142239.shtml



__ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 

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


Re: PCI modems supported.

2004-11-02 Thread Kevin D. Kinsey, DaleCo, S.P.
borg wrote:
Greetings,
I was looking at the hardware-i386 under releases for
a PCI modem V.92 data/fax/voice that is supported
under FreeBSD. Found only a reference to 3com 3CP5609
not much on google, but one OpenBSD link compained
about it.
I would like to get a feedback if anyone had a
successful experience with one of the following:
Hayes ; Zoom ; Airlink+ ; Broadxent.
As a last resort I don't mind to use an external modem
with serial connection. It's just bulky that's why I'm
avoiding it. 

regards,
 

The general answer (at least in the past [was/is]) that
PCI modems with controller chips built in (which are
getting a tad rare these days) are fine; most PCI modems,
though, are "Winmodems", built to utilize some software
interface that is M$-only (or something like that) in
order to put the controller load on the CPU.
Therefore, if you can verify that your Hayes, Zoom, Airlink
or Broadxent modem is not "controllerless" you'd have a
chance of being able to use it.
A potential alternative:  a port exists (/usr/ports/comms/ltmdm)
that allows FBSD to talk to the so-called "winmodems" that have
a Lucent chipset.  I know little about it personally, though --- I
have opted to use USR serial modems with FreeBSD thus far.
Kevin Kinsey
DaleCo, S.P.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: *BSD is considered the safest OS

2004-11-02 Thread Nikolas Britton
Richard Cotrina wrote:
Perhaps this is an old news, but it's interesting to post it to the list.
A recent study made by MI2G, an UK company focused in data risk
security, shows that *BSD and MacOS X were the less breached OS in a
sample of more that 200K computers permanently connected to the internet.
http://mi2g.net/cgi/mi2g/frameset.php?pageid=http%3A//mi2g.net/cgi/mi2g/press/021104.php
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
 

Someone write-up a slashdot story and submit it... It's always fun to 
prod are linux comrades. :-)

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


Re: *BSD is considered the safest OS

2004-11-02 Thread Jorn Argelo
On Tue, 2 Nov 2004 12:12:54 -0500 (PET), Richard Cotrina wrote
> Perhaps this is an old news, but it's interesting to post it to the list.
> 
> A recent study made by MI2G, an UK company focused in data risk
> security, shows that *BSD and MacOS X were the less breached OS in a
> sample of more that 200K computers permanently connected to the internet.

I personally don't feel that any OS is safer then the other. It's just what 
the administrator does. A Linux guru can't secure a Windows machine as good as 
a Windows guru can, and vica versa. 

One can say that a particular OS attracks more experienced administrators. 
Perhaps. But again it's the administrator which is the crucial fact of an OS 
being secure or not. It's rather easy to say that Windows is less secure then 
Linux or BSD because there are more viruses/exploits for Window. Well, I think 
that services like Sendmail and Apache can contain more exploits then Windows, 
to be honest. Of course, I can't prove anything, but that's just my personal 
feeling about it.

Cheers,

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


raidframe access

2004-11-02 Thread Eduardo Huertas
Hi Everybody

I have a nas server that uses a modified kernel of
FreeBSD that has a raidframe for three disks, one disk
died and in the process, I don't know how, the
administrator password got lost and the nas server now
is up with only two disks, but with no access to the
administrator account from the web.

I'd like to mount the raidframe disks to change de
password from a live cd, I have tried with live CDs
from 5.2.1 and 4.10 but seems that the kernel must be
modified to access the raidframe.

Tried generating a freesbie live cd with 5.2.1 and
device  raidframe
options RAID_AUTOCONFIG

But did't generated the raid devices to be mounted

Or don't know how to do it. :-(


I have access to ad0s1 and ad0s3  and cracked the
master.password but the password did not work out from
the web.

I'd like to know what version of FreeBSD would work
with raidframe.  Or maybe other solutions that I can
not see at the moment.

The server do not accept booting in single mode
either,
tried boot -s and said boot not found

I tried kernel -s and almost entered, but freezed when
asked for the shell :-(




Thank you for your time.

Please cc me, 'cause I'm not in the list.

-edu-





_
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]"


Re: still more sendmail trouble

2004-11-02 Thread Steel City Phantom

   all of those are set as you suggested, here are my config files to see
   if you see something i don't.
   freebsd.mc -
   divert(0)
   VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.10.2.19
   2003/12/31 17:42:16 gshapiro Exp $')
   OSTYPE(freebsd4)
   DOMAIN(generic)
   FEATURE(access_db, `hash -o -T /etc/mail/access')
   FEATURE(blacklist_recipients)
   FEATURE(local_lmtp)
   FEATURE(mailertable, `hash -o /etc/mail/mailertable')
   FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')
   dnl Uncomment to allow relaying based on your MX records.
   dnl NOTE: This can allow sites to use your server as a backup MX
   without
   dnl   your permission.
   dnl FEATURE(relay_based_on_MX)
   dnl DNS based black hole lists
   dnl 
   dnl DNS based black hole lists come and go on a regular basis
   dnl so this file will not serve as a database of the available
   servers.
   dnl For that, visit
   dnl
   [1]http://directory.google.com/Top/Computers/Internet/Abuse/Spam/Black
   lists/
   dnl Uncomment to activate Realtime Blackhole List
   dnl information available at [2]http://www.mail-abuse.com/
   dnl NOTE: This is a subscription service as of July 31, 2001
   dnl FEATURE(dnsbl)
   dnl Alternatively, you can provide your own server and rejection
   message:
   dnl FEATURE(dnsbl, `blackholes.mail-abuse.org', `"550 Mail from "
   $&{client_addr} " rejected, see
   [3]http://mail-abuse.org/cgi-bin/lookup?"; $&{client_addr}')
   dnl Dialup users should uncomment and define this appropriately
   dnl define(`SMART_HOST', `your.isp.mail.server')
   dnl Uncomment the first line to change the location of the default
   dnl /etc/mail/local-host-names and comment out the second line.
   dnl define(`confCW_FILE', `-o /etc/mail/sendmail.cw')
   define(`confCW_FILE', `-o /etc/mail/local-host-names')
   dnl Enable for both IPv4 and IPv6 (optional)
   DAEMON_OPTIONS(`Name=IPv4, Family=inet')
   DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O')
   define(`confBIND_OPTS', `WorkAroundBroken')
   define(`confNO_RCPT_ACTION', `add-to-undisclosed')
   define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy')
   MAILER(local)
   MAILER(smtp)
   freebsd.submit.mc ---
   divert(0)dnl
   VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.submit.mc,v 1.1.2.1
   2003/10/30 22:38:33 gshapiro Exp $')
   define(`confCF_VERSION', `Submit')dnl
   define(`__OSTYPE__',`')dnl dirty hack to keep proto.m4 from
   complaining
   define(`_USE_DECNET_SYNTAX_', `1')dnl support DECnet
   define(`confTIME_ZONE', `USE_TZ')dnl
   define(`confDONT_INIT_GROUPS', `True')dnl
   define(`confBIND_OPTS', `WorkAroundBroken')dnl
   dnl
   dnl If you use IPv6 only, change [127.0.0.1] to [IPv6:::1]
   FEATURE(`msp', `[127.0.0.1]')dnl
   Giorgos Keramidas wrote:

On 2004-11-02 11:15, Steel City Phantom [4]<[EMAIL PROTECTED]> wrote:


i still can't get the mail function in PHP to work.  my sendmail log
shows this

Nov  2 10:41:36 ironcity sendmail[89186]: iA2FfagI089186: from=www,
size=473, class=0, nrcpts=0,
msgid=[5]<[EMAIL PROTECTED]>,
[EMAIL PROTECTED]


This means that the `submit' sendmail daemon is running properly on
127.0.0.1:25 and it did receive your message.



which is a step up because before i made the changes to the rc.conf, i
would get this

Nov  2 00:14:22 ironcity sm-msp-queue[86045]: iA1HGR7Q085413:
[EMAIL PROTECTED], ctladdr=www (80/80), delay=11:57:55,
xdelay=00:00:00, mailer=relay, pri=2190203, relay=[127.0.0.1],
dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]


No submit sendmail process here.



here is what i put in my rc.conf

   sendmail_enable="NO"
   sendmail_submit_enable="YES"
   sendmail_outbound_enable="NO"
   sendmail_msp_queue_enable="YES"

any ideas?


Do you have a properly configured HOST.mc and HOST.submit.mc in your
/etc/mail directory[1]?

Have you generated the sendmail.cf and submit.cf configuration files in
/etc/mail and restarted sendmail after you edited rc.conf[2]?

[1] The `HOST' part should be the hostname of the machine.

[2] This should be as easy as:

# cd /etc/mail
# make && make install && make restart

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

References

   1. http://directory.google.com/Top/Computers/Internet/Abuse/Spam/Blacklists/
   2. http://www.mail-abuse.com/
   3. http://mail-abuse.org/cgi-bin/lookup
   4. mailto:[EMAIL PROTECTED]
   5. mailto:[EMAIL PROTECTED]
   6. mailto:[EMAIL PROTECTED]
   7. mailto:[EMAIL PROTECTED]
   8. http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   9. mailto:[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[E

Re: *BSD is considered the safest OS

2004-11-02 Thread Benjamin Walkenhorst
Richard Cotrina wrote:
Perhaps this is an old news, but it's interesting to post it to the list.
A recent study made by MI2G, an UK company focused in data risk
security, shows that *BSD and MacOS X were the less breached OS in a
sample of more that 200K computers permanently connected to the internet.
http://mi2g.net/cgi/mi2g/frameset.php?pageid=http%3A//mi2g.net/cgi/mi2g/press/021104.php
 

heise.de questioned the credibility of the study. On the other hand they 
did a security survey
around december 2003/january 2004, and IIRC, their results were *pretty* 
similar to what this
study shows.
I do believe, the heise-study also mentioned that BSD-systems were not 
only rarely attacked because
of being so rare, but that the rate of successful attacks against 
BSD-based system was lower than
with, say Linux and Windows.


I for one do believe that Linux gets aways so badly not because Linux 
inherently insecure or "bad",
but because many Linux-machines do not - that's my impression at least - 
receive the degree of
administrative attention they would need. BSD - in my impression - 
attracts more experienced
users/administrators than Linux, having become rather "mainstream".
If you looked at the attacked Linux systems in more detail, I also 
assume you'd find the same to
be true for Red Hat/Suse vs. Debian systems.
I do believe that the same goes for windows - since it's so easy to 
handle, superficially, it will
tend to be operated by less experienced admins in general. Just remember 
that all the NT-worms
only got so successful because there uncounted unpatched systems out 
there...


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


Re: mergemaster fails in single user mode

2004-11-02 Thread Erik Norgaard
Giorgos Keramidas wrote:

> Hmmm, AFAIK, this shouldn't happen.  Do you have a /.profile file?

hmm, maybe that explains it, /.profile was missing and created when i
ran mergemaster in multiuser mode, so I guess cd failed because my path
was empty. (I think I must have deleted it when cleaning up from some
other messing arround - DOH!!)

Thanks, Erik
-- 
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mergemaster fails in single user mode

2004-11-02 Thread Nikolas Britton
For the sake of clarity and completeness here is a better step by step 
guide for upgrading from src:

0: % su
1: # cvsup -g -L 2 foobar-supfile
2: # cd /usr/src
3: # make buildworld && make buildkernel && make installkernel
4: # reboot
5: Login as root (multi-user mode).
6: Breifly test your new Kernel.
7: # shutdown now
8: Hit the Enter Key.
9: # cd /usr/src
10: # make installworld
11: # reboot
12: login as root (multi-user mode).
13: # mergemaster
14: # shutdown now
15: Hit the Enter Key.
16: # exit
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


*BSD is considered the safest OS

2004-11-02 Thread Richard Cotrina
Perhaps this is an old news, but it's interesting to post it to the list.

A recent study made by MI2G, an UK company focused in data risk
security, shows that *BSD and MacOS X were the less breached OS in a
sample of more that 200K computers permanently connected to the internet.

http://mi2g.net/cgi/mi2g/frameset.php?pageid=http%3A//mi2g.net/cgi/mi2g/press/021104.php


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


Re: still more sendmail trouble

2004-11-02 Thread Giorgos Keramidas
On 2004-11-02 11:15, Steel City Phantom <[EMAIL PROTECTED]> wrote:
> i still can't get the mail function in PHP to work.  my sendmail log
> shows this
>
> Nov  2 10:41:36 ironcity sendmail[89186]: iA2FfagI089186: from=www,
> size=473, class=0, nrcpts=0,
> msgid=<[EMAIL PROTECTED]>,
> [EMAIL PROTECTED]

This means that the `submit' sendmail daemon is running properly on
127.0.0.1:25 and it did receive your message.

> which is a step up because before i made the changes to the rc.conf, i
> would get this
>
> Nov  2 00:14:22 ironcity sm-msp-queue[86045]: iA1HGR7Q085413:
> [EMAIL PROTECTED], ctladdr=www (80/80), delay=11:57:55,
> xdelay=00:00:00, mailer=relay, pri=2190203, relay=[127.0.0.1],
> dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]

No submit sendmail process here.

> here is what i put in my rc.conf
>
>sendmail_enable="NO"
>sendmail_submit_enable="YES"
>sendmail_outbound_enable="NO"
>sendmail_msp_queue_enable="YES"
>
> any ideas?

Do you have a properly configured HOST.mc and HOST.submit.mc in your
/etc/mail directory[1]?

Have you generated the sendmail.cf and submit.cf configuration files in
/etc/mail and restarted sendmail after you edited rc.conf[2]?

[1] The `HOST' part should be the hostname of the machine.

[2] This should be as easy as:

# cd /etc/mail
# make && make install && make restart

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


Re: mergemaster fails in single user mode

2004-11-02 Thread Giorgos Keramidas
On 2004-11-02 16:24, Erik Norgaard <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I just upgraded to -CURRENT (yesterdays). Everything goes well, I reboot
> into single user mode, mount all partitions and run 'make installworld'
>
> To finish the upgrade I run "mergemaster" still in single user mode, but
> this fails with the following output:
>
> # /usr/sbin/mergemaster
>
> tput: no terminal type specified and no TERM environmental variable.

Hmmm, AFAIK, this shouldn't happen.  Do you have a /.profile file?

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


Re: portupgrade core dump fix?

2004-11-02 Thread Lowell Gilbert
"dave" <[EMAIL PROTECTED]> writes:

> New install of a 5.2.1 system, ports tree cvsupped to the latest. I was
> wondering if the problem with pkgdb core dumping with portupgrade is still
> occurring? If so, is there another port maintence tool equivalent? I was
> really not happy when the portindex port was withdrawn.

The actual bug is in the base system, not portupgrade.  It *has* been
fixed in the base system, so you could upgrade that...

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org:8088/~lowell/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Need help to build openssh with opensc support

2004-11-02 Thread Michael Bohn
Hi all 

did anybody knows how I can build openssh from the ports collection with 
opensc support ???



best regards 


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


Re: mergemaster fails in single user mode

2004-11-02 Thread Nikolas Britton
Erik Norgaard wrote:
Hi,
I just upgraded to -CURRENT (yesterdays). Everything goes well, I reboot
into single user mode, mount all partitions and run 'make installworld'
To finish the upgrade I run "mergemaster" still in single user mode, but
this fails with the following output:
# /usr/sbin/mergemaster
tput: no terminal type specified and no TERM environmental variable.
*** The directory specified for the temporary root environment,
   /var/tmp/temproot, exists.  This can be a security risk if untrusted
   users have access to the system.
 Use 'd' to delete the old /var/tmp/temproot and continue
 Use 't' to select a new temporary root directory
 Use 'e' to exit mergemaster
 Default is to use /var/tmp/temproot as is
How should I deal with this? [Use the existing /var/tmp/temproot]
  *** Leaving /var/tmp/temproot intact
*** Creating the temporary root environment in /var/tmp/temproot
*** /var/tmp/temproot ready for use
*** Creating and populating directory structure in /var/tmp/temproot
mtree -eU  -f /usr/src/etc/mtree/BSD.root.dist -p /var/tmp/temproot/
mtree:No such file or directory
*** Error code 1
Stop in /usr/src/etc.
 *** FATAL ERROR: Cannot 'cd' to /usr/src/etc and install files to
 the temproot environment
#
Script done on Tue Nov  2 12:08:40 2004
Rebooting into normal multi-user mode, I have no problem running the
script.
Should I simply not run mergemaster in single user mode? (Anyway, I
believe the error to be odd).
Cheers, Erik
PS: I have had this error before, in june and september with -CURRENT.
 

I was told to run mergemaster in multi-user mode, and that the only time 
you drop down to single-user mode was to run make installworld and even 
that was "semi-optional".

1: # cd /usr/src
2: # make buildworld && make buildkernel && make installkernel
3: # reboot
4: briefly test your new kernel.
5: # shutdown now
6: # cd /usr/src
7: # make installworld
8: # reboot
9: login.
10: # mergemaster
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 5.3 rc2 kernel install problems (UPDATE)

2004-11-02 Thread Lowell Gilbert
"Aaron P. Martinez" <[EMAIL PROTECTED]> writes:

> Just a note.after i wiped /usr/src and /usr/obj clean the
> buildkernel works now.  I haven't yet rebooted..but i suspect everything
> went smoothly as i saw no errors.

At a guess, I'd say you forgot to "adopt" the sources that you
installed originally...

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


Re: FreeBSD support of 3Com 3C2000-T NIC

2004-11-02 Thread Lowell Gilbert
Martin Hudec <[EMAIL PROTECTED]> writes:

> is 3Com gigabit 3C2000-T nic supported in FreeBSD4/5? If not, which gigabit 
> nic can you recommend to use?

The documentation doesn't describe the hardware in enough detail to be
sure without trying one (or at least seeing one, to be able to read
the chipset information off the chips).  

I *suspect* they should work, because they seem to be 3Com's
replacement for some older Tigon-based cards that I am using 
successfully.  But naturally the hardware may have changed completely
in the redesign...

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org:8088/~lowell/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


still more sendmail trouble

2004-11-02 Thread Steel City Phantom
i still can't get the mail function in PHP to work.  my sendmail log 
shows this

Nov  2 10:41:36 ironcity sendmail[89186]: iA2FfagI089186: from=www, 
size=473, class=0, nrcpts=0, 
msgid=<[EMAIL PROTECTED]>, 
[EMAIL PROTECTED]

which is a step up because before i made the changes to the rc.conf, i 
would get this

Nov  2 00:14:22 ironcity sm-msp-queue[86045]: iA1HGR7Q085413: 
[EMAIL PROTECTED], ctladdr=www (80/80), delay=11:57:55, 
xdelay=00:00:00, mailer=relay, pri=2190203, relay=[127.0.0.1], 
dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]

here is what i put in my rc.conf
   sendmail_enable="NO"
   sendmail_submit_enable="YES"
   sendmail_outbound_enable="NO"
   sendmail_msp_queue_enable="YES"
any ideas?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: freebsd dies freequently

2004-11-02 Thread Toni Schmidbauer
On Mon, Nov 01, 2004 at 10:39:32PM -0500, Jian Guang Xu wrote:
> It would be great that if somebody could at least point me somewhere
> to go. Thank you in advance.

the only advice i can give you is, read that link:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html

and send a pr ( send-pr(1) )

hth,
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |


pgpHZ9DgOcufq.pgp
Description: PGP signature


mergemaster fails in single user mode

2004-11-02 Thread Erik Norgaard
Hi,

I just upgraded to -CURRENT (yesterdays). Everything goes well, I reboot
into single user mode, mount all partitions and run 'make installworld'

To finish the upgrade I run "mergemaster" still in single user mode, but
this fails with the following output:

# /usr/sbin/mergemaster

tput: no terminal type specified and no TERM environmental variable.
*** The directory specified for the temporary root environment,
/var/tmp/temproot, exists.  This can be a security risk if untrusted
users have access to the system.

  Use 'd' to delete the old /var/tmp/temproot and continue
  Use 't' to select a new temporary root directory
  Use 'e' to exit mergemaster

  Default is to use /var/tmp/temproot as is

How should I deal with this? [Use the existing /var/tmp/temproot]

   *** Leaving /var/tmp/temproot intact

*** Creating the temporary root environment in /var/tmp/temproot
 *** /var/tmp/temproot ready for use
 *** Creating and populating directory structure in /var/tmp/temproot

mtree -eU  -f /usr/src/etc/mtree/BSD.root.dist -p /var/tmp/temproot/
mtree:No such file or directory
*** Error code 1

Stop in /usr/src/etc.

  *** FATAL ERROR: Cannot 'cd' to /usr/src/etc and install files to
  the temproot environment

#
Script done on Tue Nov  2 12:08:40 2004

Rebooting into normal multi-user mode, I have no problem running the
script.

Should I simply not run mergemaster in single user mode? (Anyway, I
believe the error to be odd).

Cheers, Erik

PS: I have had this error before, in june and september with -CURRENT.

-- 
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


gprof

2004-11-02 Thread Rong-En Fan

[ please Cc'ed me, thanks]

Hello,  

few questions about usr.bin/gprof   

1. is this one from the old BSD, right? 
2. why not have a devel/gprof port for GNU's gprof? 

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


Re: The question about storege

2004-11-02 Thread Jeremy Faulkner
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

捷洲資訊Kevin wrote:
| Hallow Sir
|
| Can you tell me about tke FreeBSD can get how much  maxma space in
| partition.
| I have one storege 15 BAYS and every BAY have 250GB HDD
| When I greating 7 BAYS HDD in RAID5
| But I just only get 1TB
| Can you tell me why???
| Tks a lot
|
|
| B.R
|
|
|
| By Kevin

Hard drive capacities are in 1KB = 1000 Bytes, the operating system uses
1KB = 1024 Bytes. So those 250GB drives are closer to ~230GB drives. In
raid 5 you loose capacity equal to 1 drive for the parity information,
leaving 6 * ~230GB = ~1380GB. When you create a ffs file system, newfs
leaves some space that only root can write to, this is typically 8% of
the drive. In this case, that's about 110GB.Leaving ~1269GB available to
the system. You can use tunefs to reduce the percentage of the drive
that is reserved for root's use.

Does this help clarify the situation?

- --
Jeremy Faulkner <[EMAIL PROTECTED]>
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBh2r0fb0Lle2MIEIRArDMAJwJcDSEeTwUk5c99G/lTAvQp90UWQCeOR3m
coQWDqeA6oGQSz8ZOnV5B5o=
=COz3
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


problem with XFree86-Libraries

2004-11-02 Thread k
When i try to install XFree86-Libraries-4.4.0_2 it gives me this error:
cp: /usr/X11R6/lib/X11/config/date.def: No such file or directory
*** Error Code 1
 
i'm running Freebsd-4.10


-
Do you Yahoo!?
 Check out the new Yahoo! Front Page.  www.yahoo.com/a
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: jsp/tomcat/apache

2004-11-02 Thread Giorgos Keramidas
On 2004-11-02 22:15, Spades <[EMAIL PROTECTED]> wrote:
> hrm, any guides or urls to install apache+tomcat to read jsp?

I haven't installed apache+tomcat but this may be useful to you:

http://www.FreeBSD.org/doc/en_US.ISO8859-1/articles/java-tomcat/

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


Re: jsp/tomcat/apache

2004-11-02 Thread Matthew Seaman
On Tue, Nov 02, 2004 at 10:15:40PM +0800, Spades wrote:
> hrm, any guides or urls to install apache+tomcat to read jsp?

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/java-tomcat/index.html

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


pgpqCF9O32tC2.pgp
Description: PGP signature


Re: Question about ISO filesystems and CD-R's

2004-11-02 Thread Ian Smith
On Tue, 2 Nov 2004, Jonathon McKitrick wrote:

 > On Wed, Nov 03, 2004 at 12:39:00AM +1100, Ian Smith wrote:
 > : but you can keep on adding further ISO images to a CD-R (or CD-RW) until
 > : it's full, using mkisofs + burncd at least.  Very handy here for certain
 > : types of backups, especially on a remote box visited weekly.
 > 
 > Ah, that's exactly what I'm looking for.  I bought a bunch of those
 > mini-CD-R's, thinking I didn't want to waste a regular CD-R to backup 100
 > megs of my laptop files.  But if I can keep dumping iso's from mkisofs onto
 > the same CD-R, effectively erasing it and adding a new one and just taking
 > up more space cumulatively, then I can keep the CD-R in the drive, run
 > backups every week, and only replace it when it is full, right?

Right, except it doesn't 'effectively erase' existing files on the CD-R; 
all of the files added to each session appear when you mount it.  Hmm, I
think I've only ever appended unique files so far; I suppose that the
latest version of any duplicate pathname would be what you'd get back,
but you might want to confirm that assumption.

 > : My cdappend script's full of paranoid parameter and error checking and
 > : such, but is based on this simple and likely more illustrative one: 
 > 
 > Thanks for the script.  I'll put it to good use.

No worries.  I'll mail you my larger, more paranoid version offlist.

Cheers, Ian

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


jsp/tomcat/apache

2004-11-02 Thread Spades
hrm, any guides or urls to install apache+tomcat to read jsp?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


The question about storege

2004-11-02 Thread 捷洲資訊Kevin
Hallow Sir
 
Can you tell me about tke FreeBSD can get how much  maxma space in
partition.
I have one storege 15 BAYS and every BAY have 250GB HDD
When I greating 7 BAYS HDD in RAID5
But I just only get 1TB
Can you tell me why???
Tks a lot
 

B.R

 

By Kevin 

 

JEH-CHOW INFORMATION CO., LTD

ADD: 4F, NO.181-1, Jung Shing Road, Shijr City, Taipei Hsien, Taiwan R.O.C

TEL:886-2-26934666#8215

FAX:886-2-26931522

MOBILE:886-937063590

MSN:[EMAIL PROTECTED] 

   

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


Little oddity...

2004-11-02 Thread NetAdmin
I recently upgraded from 5.1-Release to 5.3-Release and noticed a couple
of odd things that perhaps someone can shed some light on.

1.  The splash screen worked with 5.1 and now it doesn't with 5.3.  I
have the following in my kernel;
device  splash  # Splash screen and screen saver support

So, I tried doing the following;
kldload /boot/kernel/splash_bmp.ko and got the following error;
module_register_init: MOD_LOAD (splash_bmp, 0xc21a5810, 0) error 2

I could have swore I saw something in the handbook about it but I can't
seem to find it now.

Thanks, 

Mark

-- 
NetAdmin for the FoxChat.Net IRC Network.
The FoxSurfer Group


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


Re: Question about ISO filesystems and CD-R's

2004-11-02 Thread Jonathon McKitrick
On Wed, Nov 03, 2004 at 12:39:00AM +1100, Ian Smith wrote:
: but you can keep on adding further ISO images to a CD-R (or CD-RW) until
: it's full, using mkisofs + burncd at least.  Very handy here for certain
: types of backups, especially on a remote box visited weekly.

Ah, that's exactly what I'm looking for.  I bought a bunch of those
mini-CD-R's, thinking I didn't want to waste a regular CD-R to backup 100
megs of my laptop files.  But if I can keep dumping iso's from mkisofs onto
the same CD-R, effectively erasing it and adding a new one and just taking
up more space cumulatively, then I can keep the CD-R in the drive, run
backups every week, and only replace it when it is full, right?

: My cdappend script's full of paranoid parameter and error checking and
: such, but is based on this simple and likely more illustrative one: 

Thanks for the script.  I'll put it to good use.



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: Question about ISO filesystems and CD-R's

2004-11-02 Thread Ian Smith
On Tue, 2 Nov 2004 [EMAIL PROTECTED] wrote:

 > Message: 18
 > Date: Mon, 1 Nov 2004 18:43:02 -0800
 > From: "Michael C. Shultz" <[EMAIL PROTECTED]>

 > On Monday 01 November 2004 06:29 pm, Jonathon McKitrick wrote:
 > > Question: If I have an iso image smaller than the CD-R I am burning
 > > it to, what happens to that extra space? Is it useless?  Can I burn
 > > another iso fs to it later, overwriting the first?
 > >
 > > jm
 > 
 > The extra space on a CD-R is useless once burned, to burn another iso 
 > over the first you need a CD-RW.

Well yes, you'll need a CD-RW to overwrite the first (after erasure),
but you can keep on adding further ISO images to a CD-R (or CD-RW) until
it's full, using mkisofs + burncd at least.  Very handy here for certain
types of backups, especially on a remote box visited weekly.

My cdappend script's full of paranoid parameter and error checking and
such, but is based on this simple and likely more illustrative one: 

#!/bin/sh
# original googled at http://www.opennet.ru/base/sys/cd_session.txt.html
# indecipherable Russian (including author's name) except for:
if [ "$1" = "-n" ]; then
echo -- New disk --
mkisofs -J -jcharset koi8-r $2 | burncd -m data - fixate
else
echo -- Add session --
msinfo=`burncd msinfo 2>&1 | sed "s/ //g"`
sleep 3
mkisofs -M /dev/acd0c -C $msinfo -J -jcharset koi8-r -o tmp.iso $1
burncd -m data tmp.iso fixate
rm tmp.iso
fi

It probably depends on the burner, but I found I had to add the below to
reliably reset the device after burning on a 4.8-RELEASE system.  YMMV.

  echo -n "CD "   # eject / inject needed _after_ session (or reset?)
  cdcontrol -f $dev eject; echo -n "ejected .. "
  cdcontrol -f $dev close; echo "closed"
  sleep 10# 5 secs not enough to spin up ready for 'info'
  cdcontrol -f $dev info

Cheers, Ian

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


Re: where is fsck_ext2fs ?

2004-11-02 Thread Jeremy Faulkner
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
FreeBsdBeni wrote:
| Hi,
|
| When trying to do an fsck on an ext2fs partition, I got an error message
| saying "fsck: exec fsck_ext2fs for /dev/ad0s3 in /sbin:/usr/sbin: No such
| file or directory". A closer look in /sbin and /usr/sbin revealed
indeed the
| absence of fsck_ext2fs. And in /usr/src/sbin there is nothing too (only
| mount_ext2fs still exists). In the portstree there is only a
readme.html file
| in sysutils/fsck_ext2fs. Where did fsck_ext2fs go to and how do I get it
| back ?
| I'm running 5.3-rc2. In my kernel I have "options ext2fs" compiled.
| Thanks !
| Beni.
%grep -e "fsck_ext2fs" /usr/ports/MOVED
sysutils/fsck_ext2fs|sysutils/e2fsprogs|2004-03-01|Better utility
So it's in sysutils/e2fsprogs now.
- --
Jeremy Faulkner <[EMAIL PROTECTED]>
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBh1VCfb0Lle2MIEIRAvXiAJ42mKBTeOMLk7etyp7oKTh4H0bXSgCfROjL
hQfjk7t3ZKFQd6nA4PsPVio=
=Ixz3
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: dummynet

2004-11-02 Thread TM4526
> yeah, I also didn't notice his return
> address at first. That already explains much :).
> 
> I think I actually sorta, kinda got it working.
> I'll do some tests and update if my observations
> are valid.
> 
> 
> 
> Drew Tomlinson wrote:
> > On 10/28/2004 9:30 AM [EMAIL PROTECTED] wrote:
> > 
> >> Why don't you guys stop torturing yourself and wasting $1000s worth of 
> >> your time and get yourself some real bandwidth management software? 
> >> Its cheaper in the long run.
> >>  
> >>
> > FWIW, I've taken this suggestion with a grain of salt, based upon the 
> > general tone of this person's previous posts on a variety of subjects.  
> > I suggest you search the archives and draw your own conclusion.
> > 
> > Drew

Well "kinda, sorta" is the best you can hope for. Enjoy!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


where is fsck_ext2fs ?

2004-11-02 Thread FreeBsdBeni
Hi,

When trying to do an fsck on an ext2fs partition, I got an error message 
saying "fsck: exec fsck_ext2fs for /dev/ad0s3 in /sbin:/usr/sbin: No such 
file or directory". A closer look in /sbin and /usr/sbin revealed indeed the 
absence of fsck_ext2fs. And in /usr/src/sbin there is nothing too (only 
mount_ext2fs still exists). In the portstree there is only a readme.html file 
in sysutils/fsck_ext2fs. Where did fsck_ext2fs go to and how do I get it 
back ?
I'm running 5.3-rc2. In my kernel I have "options ext2fs" compiled.
Thanks !
Beni.


pgpHCpaupuoWr.pgp
Description: PGP signature


Re: portupgrade core dump fix?

2004-11-02 Thread Kent Stewart
On Monday 01 November 2004 08:36 pm, dave wrote:
> Hello,
> New install of a 5.2.1 system, ports tree cvsupped to the latest. I was
> wondering if the problem with pkgdb core dumping with portupgrade is still
> occurring? If so, is there another port maintence tool equivalent? I was
> really not happy when the portindex port was withdrawn.
> Thanks.
> Dave.
>  

If you search ports@, you would have found a number of solutions such as the 
following on, which I have in /usr/local/etc/pkgtools.conf

  ENV['PKG_DBDRIVER'] = "bdb_hash" 
  ENV['PORTS_DBDRIVER'] = "bdb_hash"

You probably only need to set the one for the PORTS_*

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: Mounting an XP share in FreeBSD

2004-11-02 Thread Gareth
Gareth wrote:
Hi all,
I've been experiencing some problems mounting a Windows XP SP2 share in 
FreeBSD 4.10. My samba version is samba-2.2.8a_2. I have turned off the 
firewall on the windows machine, and all traffic on the FreeBSD machine's 
internal 192.168.0 subnet flows freely.

I am trying to mount a share called 'backups' on the windoze machine with 
the following command:
mount_smbfs -I 192.168.0.11 //[EMAIL PROTECTED]/backups /mnt/backups/

... i am prompted for a password and i enter it. I then get this message:
mount_smbfs: unable to open connection: syserr = Connection reset by peer
If I give mount_smbfs the -N switch it makes no difference. The 
connection keeps getting reset. I can ping the windows machine and the 
windows machine can browse the samba shares on the FreeBSD machine.

Can anyone offer a helping hand?
Thanks,
Gareth
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"

Jason wrote:
It should be mount_smbfs -I 192.168.0.11 //[EMAIL PROTECTED]/backups 
/mnt/backups.  The machine_name could be the ip, but do you see your 
machine named 192 when in network neighborhood?  Or is it something 
like windows_box or whatever?
Aah! Thanks Jason.
Weird, i get the following message if i use the IP as the machine name:
"mount_smbfs: unable to open connection: syserr = Connection reset by peer"
...but if i give the machine name as the actual windows machine name then 
all is fine, regardless of the username i specify. I didn't think it would 
make the difference.

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


Re: SMP with hyperthreading CPU (5.3)?

2004-11-02 Thread Ewald Jenisch
On Sat, Oct 30, 2004 at 01:43:09PM -0700, Luke wrote:
> I haven't updated my system since August, but back then the "apic" device 
> was also required.  5.3 may be different.
> This is the relevant section from my 5.2-CURRENT hyperthreading kernel 
> from last August.
> 
> # To make an SMP kernel, the next two are needed
> options SMP # Symmetric MultiProcessor Kernel
> device  apic# I/O APIC
> 

Sorry, forgot to say, that I've got both of them in my kernel config
file, i.e. "SMP" and "apic" - however I don't get the characteristic
"CPU... launched" messages upon boot.

This brings me to another point: What's the best way (besides checking
/var/log/messages) to tell whether SMP is active?

Does "top" display cpu load for hyperthreading (as opposed to
multiprocessor) systems too?

-ewald


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


Re: freebsd dies freequently

2004-11-02 Thread Matthew Seaman
On Mon, Nov 01, 2004 at 10:39:32PM -0500, Jian Guang Xu wrote:
> I'm experiencing frequent freeze in my FreeBSD with out any error
> message. I don't know what exactly the reason is and I can only put my
> current dead system information here:
> The system is 5.3RC1, KDE, Firefox without flash plugin yet, Konsole
> is dong "make install clean" at /usr/ports/www/mozilla.
> 
> This is a dual boot machine with W2K in the first 25G and FreeBSD in
> the rest. The CPU is AMD Athlon 1600+ and 1024 Giga Ram, 3 sticks with
> 512mb+256mb+256mb. GeForce 2 with 32 MB, AC97 on board Audio device.
> 
> Most of the dying time for BSD is when I doing online surfing using
> firefox without Flash plugin. Another thing need to be noticed is that
> my /var is an independent partition approaching 83% at least.
> 
> It would be great that if somebody could at least point me somewhere
> to go. Thank you in advance.

What exactly are you seeing when your FreeBSD box goes down?  There
should be output on the console, and there might be something logged
in /var/log/messages.

If you're seeing any mention of 'SEGV' or 'Signal 11' then start by
suspecting your hardware.  This can be due to bad memory, bad CPU or
even something as simple as the system overheating.  However,
overheating more usually shows itself as the system suddenly blacking
out as the thermal cutout operates.  Note that it is quite possible
for these sort of problems to only show up under FreeBSD and not other
operating systems.  It's a matter of pot luck as to whether any
particular system gets bitten.

For diagnosing memory problems, the memtest86 program is very useful
(although it cannot guarrantee that it won't generate the occasional
false negatives):

http://www.memtest86.com/

If you can rule out hardware troubles and can't otherwise find the
problem, see:


http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html

Generating a traceback from a core dump is the sort of information
necessary for a developer to debug the problem.

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


pgpEnQGQJx2Fp.pgp
Description: PGP signature


Re: Process states?

2004-11-02 Thread Matthew Seaman
On Mon, Nov 01, 2004 at 11:06:23PM -, Hugo Silva wrote:

> > On Mon, 1 Nov 2004 20:17:01 - (GMT), Hugo Silva <[EMAIL PROTECTED]>
> > wrote:

> >> I'd like to know where I could get a complete list of the possible
> >> process
> >> states shown in ps , and their meanings ?
> >
> > A good starting point is
> > $ man ps
> >
> > You could also try:
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/basics-processes.html

> man ps / freebsd handbook don't speak about this, afaik.

What exactly do you mean by 'state'.  If you mean the STAT column in
'ps -aux' output, then that is documented in ps(1) -- 

% ps -aux | head -4
USER  PID %CPU %MEM   VSZ  RSS  TT  STAT STARTED  TIME COMMAND
root0  0.0  0.0 00  ??  DLs  Tue03PM   0:00.00  (swapper)
matthew 65033  0.0  0.1   512  384  p2  R+8:40AM   0:00.00 ps -aux
matthew 65007  0.0  0.1   972  448  ??  Is8:38AM   0:00.00 /usr/local/libex


Look for the description of the 'state' keyword.  From the small
sample above, 'DLs' means 'process in disk wait, pages locked in core,
session leader'; 'R+' means 'Runnable process, process in foreground
process group of its controlling terminal' and 'Is' means 'Idle
process, process is session leader'

Most of the state descriptions are pretty transparent.  One thing that
might not be obvious at first glance is the concept of 'session
leaders' -- 'sessions' are the same thing as 'process groups' (see
setsid(2), setpgid(2)).  Generally your login shell will be a 'session
leader' and all of the programs you run interactively will belong to
that session.  Daemon processes generally put themselves into their
own sessions.

On the other hand, one thing that is not at all well documented is the
'STATE' column in top(1) output.  As far as I can tell, that state is
either RUN for a process that is actually running at the moment, or
the name of a procedure where the process is sleeping, waiting on IO
or some other condition for the kernel to give it a time slot.

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


pgpAGKCi0NUWw.pgp
Description: PGP signature


Re: options FAST_IPSEC

2004-11-02 Thread Joost Bekkers
On Mon, Nov 01, 2004 at 10:16:47PM -0800, sonjaya wrote:
> 
>  i try use options VPN di my kernel ( Freebsd 5.2
> release) , and i use options FAST_IPSEC , but every
> make depend get error like this bellow :
> 
> 
> xform_ipcomp.o(.text+0x16f): undefined reference to
> `M_XDATA'
> xform_ipcomp.o(.text+0x194): undefined reference to
> `crypto_freereq'
> xform_ipcomp.o(.text+0x271): undefined reference to
> `crypto_dispatch'
> ...
> xform_ipcomp.o(.text+0xcd6): undefined reference to
> `crypto_freereq'
> *** Error code 1
> 

Did you inlcude 'device crypto'?

see /sys/conf/NOTES for details.

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