The FreeBSD Diary: 2005-12-25 - 2006-01-14

2006-01-15 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to freebsd-questions@freebsd.org with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives http://www.freebsd.org/search/search.html#mailinglists 
and/or The FreeBSD Diary http://www.freebsddiary.org/. 

These are the articles posted during this period:

29-Dec : What RAID-1 setup should I use for FreeBSD 6.0?
 This is the desciption 
 http://freebsddiary.org/freebsd-6.0-disk-timings.php?2

28-Dec : FreeBSD 6.0-RC1 - yes, I know this is late
 The first step in cross-compiling
 http://freebsddiary.org/freebsd-6.0-rc1.php?2


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

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


The FreeBSD Diary: 2005-12-25 - 2006-01-14

2006-01-15 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to freebsd-questions@freebsd.org with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives http://www.freebsd.org/search/search.html#mailinglists 
and/or The FreeBSD Diary http://www.freebsddiary.org/. 

These are the articles posted during this period:

29-Dec : What RAID-1 setup should I use for FreeBSD 6.0?
 This is the desciption 
 http://freebsddiary.org/freebsd-6.0-disk-timings.php?2

28-Dec : FreeBSD 6.0-RC1 - yes, I know this is late
 The first step in cross-compiling
 http://freebsddiary.org/freebsd-6.0-rc1.php?2


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

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


Re: Re FreeBSD v 6.0 (boxed cd set)

2006-01-15 Thread je killen


On Jan 14, 2006, at 12:01 PM, je killen wrote:



On Jan 13, 2006, at 11:27 PM, Robert Slade wrote:


On Sat, 2006-01-14 at 01:01, je killen wrote:

(On e-Machine with Intel Sempron processor and 256 mb memory).
I'm not able to log into x via kdm as root and not able to su to root
when in Gnome (or KDE for that matter).
It also goes through what seem to be excessive sleep cycles (two
lasting at least a minute apiece) during the boot process
to establish the system's name.


Sounds like it is trying to contact a dhcp server and then timing out.
What does messages or your error logs say? They are in /var/logs
couldn't find error log here but I gave it a FQDN in rc.conf and that 
solved

the name delays.




It refused ssh from my Mac OSX machine (It starts sshd on boot, which
also takes a noticeable amount of time)


Check your sshd setup, see man sshd, there are some defaults set in 
the

conf file there which are causing the restriction.
found it in inetd.conf, just a matter of commenting a few lines; one 
for ftp

(which is on my system, I thought so.) and the other for sshd.




What ftp server is recommended for FreeBSD? (There doesn't seem to be
any provided by default install)

see above.



You should have been asked if you wanted a ftp server during
installation. The default is ftp. There are others in the ports 
though.

See the handbook.


How do I tell it who it really is? (Is it trying to contact a DNS
server and/or /etc/hosts ?)


The host name etc is set in /etc/rc.conf. Again you should have set 
this

during installation. You can re run the installation process just type
sysinstall.


named is on the system but there's no configuration, just resolv.conf 
for resolver.
I also had the machines own IP address set to default router when it 
should have

at least been the http proxy server I use to get on the net.



How can I get set up to su to root in a console window? (Or do I have
to learn to live with it?)


The default allows only members of the wheel group to su to root.


Did it. Now I get into the machine from another host on the network
and can su to root in console window.


If I can't get set up to su to root in a console window, how can I 
log

into an x session as root?


You should be able to log on as root and run an x session as root (not
recommended).


In the kdm login window as soon as it read root as the user name it 
informed

me that root logins aren't allowed.



(Does it have to do with security levels, or who is a member of the
'wheel' group? Even Mac OSX only allows sudo -- and it is based on
FreeBSD, isn't it?)


See above. There could also be an issue with security, it depends how
you set it during install.



Thanks
JK
This is definitely the most active list I've subscribed to (203 total
e-mail load yesterday when usually 30 -50 per day with 3 other tech
related list subscriptions)


JK Welcome,


From your questions you are new :-), I was some 5 months ago.
 Most of

the answers can be got from the handbook. I've tried to give you some
pointers to help, but not too much as you do need to become familiar
with the basics. There are a number of resources about, Google helps
too. Be prepared for a number of reinstalls :-).


you're right. I was just having a spell of laziness.


A couple of pointers - try asking one question at a time and use a
meaningful subject. That way your problem is likely to standout in the
number of messages.

I would also suggest that we you get the basic system working, you
update it, your CDs are likely to be at 6.0R there has been some 
updates

since. I would suggest that you stay with the 6.0 branch for now.

Good luck.

Rob


Thanks
JK



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






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


Re: flash plugin in 6.0

2006-01-15 Thread Scott I. Remick
On Thu, 22 Dec 2005 20:43:26 -0900, Beecher Rintoul wrote:
 
 Try starting firefox from a terminal and see if you get plugin errors before 
 it starts. I was working on that port locally to fix the paths. I uninstalled 
 everything and did an install with the fixed port and none of the plugins 
 worked. I uninstalled again and reinstalled with the stock port and still 
 nothing. Startup shows errors on all the linux plugins. I think something 
 else has changed, but I'm not sure what. Even my fixes don't work anymore.

Finally got time to look into this again tonight. I was getting errors,
and the first round suggested that I needed to change libmap.conf from:

[/usr/X11R6/lib/linux-flashplugin7/libflashplayer.so]

to:

[/usr/X11R6/lib/browser_plugins/libflashplayer.so]

After that, about:plugins was showing Flash 7, but Firefox would crash
when I loaded a site with flash. I then applied rtld_dlsym_hack.diff and
now it appears to be working. For the time being. Heh.

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


webcam usb device

2006-01-15 Thread dick hoogendijk
I have a Logiteck QuickCam Chat webcam (USB-2)
When I run usbdevs or usbdevs -v I get the following:

[usbdevs]
addr 1: UHCI root hub, VIA
 addr 2: Camera, vendor 0x046d
addr 1: UHCI root hub, VIA

[usbdevs -v]
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x),
VIA(0x), rev 1.00
 port 1 addr 2: full speed, power 100 mA, config 1, Camera(0x092c),
vendor 0x046d(0x046d), rev 0.00
 port 2 powered
Controller /dev/usb1:
addr 1: full speed, self powered, config 1, UHCI root hub(0x),
VIA(0x), rev 1.00
 port 1 powered
 port 2 powered

So, the device is detected alright. But I cannot get it to work.
Kopeke (KDE)  i.e. does not see the device.

I have two questions:
(a) do I need to load some kind of *.ko file (like for the soundcards)
to use a webcam under freebsd-6R?
(b) what program is useful in testing this (web) usb-camera?

Hope to get some advice.

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 6.0 +++ The Power to Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Re FreeBSD v 6.0 (boxed cd set)

2006-01-15 Thread Robert Slade
On Sun, 2006-01-15 at 08:19, je killen wrote:
 On Jan 14, 2006, at 12:01 PM, je killen wrote:
 
 
  On Jan 13, 2006, at 11:27 PM, Robert Slade wrote:
 
  On Sat, 2006-01-14 at 01:01, je killen wrote:
  (On e-Machine with Intel Sempron processor and 256 mb memory).
  I'm not able to log into x via kdm as root and not able to su to root
  when in Gnome (or KDE for that matter).
  It also goes through what seem to be excessive sleep cycles (two
  lasting at least a minute apiece) during the boot process
  to establish the system's name.
 
  Sounds like it is trying to contact a dhcp server and then timing out.
  What does messages or your error logs say? They are in /var/logs
 couldn't find error log here but I gave it a FQDN in rc.conf and that 
 solved
 the name delays.
 
 
  It refused ssh from my Mac OSX machine (It starts sshd on boot, which
  also takes a noticeable amount of time)
 
  Check your sshd setup, see man sshd, there are some defaults set in 
  the
  conf file there which are causing the restriction.
 found it in inetd.conf, just a matter of commenting a few lines; one 
 for ftp
 (which is on my system, I thought so.) and the other for sshd.

I don't use inetd just rc.d. FBSD appears to boot faster that way. No
only that it saves looking in more than one place. I have not come
across anything that needs inetd. 
 
 
  What ftp server is recommended for FreeBSD? (There doesn't seem to be
  any provided by default install)
 see above.
 
 
  You should have been asked if you wanted a ftp server during
  installation. The default is ftp. There are others in the ports 
  though.
  See the handbook.
 
  How do I tell it who it really is? (Is it trying to contact a DNS
  server and/or /etc/hosts ?)
 
  The host name etc is set in /etc/rc.conf. Again you should have set 
  this
  during installation. You can re run the installation process just type
  sysinstall.
 
 named is on the system but there's no configuration, just resolv.conf 
 for resolver.
 I also had the machines own IP address set to default router when it 
 should have
 at least been the http proxy server I use to get on the net.
 
  How can I get set up to su to root in a console window? (Or do I have
  to learn to live with it?)
 
  The default allows only members of the wheel group to su to root.
 
 Did it. Now I get into the machine from another host on the network
 and can su to root in console window.
 
  If I can't get set up to su to root in a console window, how can I 
  log
  into an x session as root?
 
  You should be able to log on as root and run an x session as root (not
  recommended).
 
 In the kdm login window as soon as it read root as the user name it 
 informed
 me that root logins aren't allowed.

I don't really use KDM as such. Most of the work I do is command line
related and I login to the command prompt. If I need the gui I just
startx. It sound like KDM has another restriction to stop root logins in
its config. Sorry I cannot help more on this.

 
  (Does it have to do with security levels, or who is a member of the
  'wheel' group? Even Mac OSX only allows sudo -- and it is based on
  FreeBSD, isn't it?)
 
  See above. There could also be an issue with security, it depends how
  you set it during install.
 
 
  Thanks
  JK
  This is definitely the most active list I've subscribed to (203 total
  e-mail load yesterday when usually 30 -50 per day with 3 other tech
  related list subscriptions)
 
  JK Welcome,
 
  From your questions you are new :-), I was some 5 months ago.
   Most of
  the answers can be got from the handbook. I've tried to give you some
  pointers to help, but not too much as you do need to become familiar
  with the basics. There are a number of resources about, Google helps
  too. Be prepared for a number of reinstalls :-).
 
 you're right. I was just having a spell of laziness.
 
  A couple of pointers - try asking one question at a time and use a
  meaningful subject. That way your problem is likely to standout in the
  number of messages.
 
  I would also suggest that we you get the basic system working, you
  update it, your CDs are likely to be at 6.0R there has been some 
  updates
  since. I would suggest that you stay with the 6.0 branch for now.
 
  Good luck.
 
  Rob
 
  Thanks
  JK

No problems.

Rob

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


Re: Issues with hard disks and spindown

2006-01-15 Thread Garrett Cooper

Garrett Cooper wrote:

Hello,
   It appears that after my rearranging my case a bit that my hard 
drives are spinning up and down quite a bit (in particular one drive). 
After checking the temperature of the drives with my hand, it appears 
that everything is running quite smoothly, so there must be something 
else software-wise that's causing my system to near constantly poll 
the drives.
   For the sake of power and for the sake of my hard drives I have 
enabled apmd, which should be handling power management, but in fact 
isn't really doing the right thing I think.
   My computer is a desktop, so I realize that apm is used primarily 
for laptops. Is there any distinguishing point in FreeBSD that doesn't 
allow for this, or like Linux, by enabling apmd does it allow me to 
automatically suspend hard disks and how? I just want to save my 
hardware from undue abuse, either way and save some electricity while 
I'm at it :).

   Thanks,
-Garrett

Nevermind. It turns out the scsi harddisk may be failing. So sad ;(...
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mail filtering at server

2006-01-15 Thread Robert Slade
On Sun, 2006-01-15 at 04:52, Micah wrote:
 Frank Staals wrote:
  Hey,
  
  I'm running FreeBSD 5-stable and I'm using the system as mailserver, so 
  I set up sendmail using this guide: 
  http://www.puresimplicity.net/~hemi/freebsd/sendmail.html as imap server 
  I'm using imap-uw. Now I would like to do the following:
  
  1) I would like to get all mail from [EMAIL PROTECTED] in a seperate 
  directory. Currently I do this by filtering my mail in the mailclient ( 
  Thunderbird ). The directory it uses for this is currently 
  ~/mail/Questions/ so I would like to keep that, how can I do this ? Can 
  I add this to /etc/mail/access ? what would then be the syntax ?
 
 I actually switched from IMAP-UW (ironic because I'm a UW student) to
 Cyrus-IMAP to manage my personal email. Cyrus has a built in filtering
 language called Sieve which works really well for moving my list and RSS
 feeds into proper IMAP folders. 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail.html
 seems to suggest procmail can do this too.
 
  2) I would also like to filter my mail for spam, again: currently I set 
  up thunderbird to do this: the mail marked as spam/junk dissapears into 
  the junk folder: ( ~/mail/junk ) What is the best way to set this up ? 
  can this be done by sendmail itself or should I install an other program 
  from the portstree
 
 I actually haven't tackled this one yet. Try looking through 
 http://www.freebsd.org/ports/index.html with a keyword of spam.
 
 HTH,
 Micah

Try spamassassin. 

Rob

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


RE: shell scripts and escaped charecters in file names

2006-01-15 Thread mdff
SNIP
 
 Hello,
   I am trying to get the following script to run with no success.
 - 
 #!/bin/csh
 foreach file (\*vol\*)
 mv $file `basename $file .par2`.PAR2
 echo $file
 end
 - 
 and get the following error:
 usage: mv [-f | -i | -n] [-v] source target
 ~   mv [-f | -i | -n] [-v] source ... directory
 
 I know it is because of the spaces and such in the file names. I have
 tried quoting single double and also escaping them but all fails. what
 is the magic? Please cc me off list. thanks!
 
SNIP


try the following:

ls -1|grep '\.par2$'|while read s_line
do
mv -i ./$s_line ./`basename $s_line .par2`.PAR2
done;

the ./ stuff is for files starting with -;

br...

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


Promise FastTraks SX4000 driver

2006-01-15 Thread dslb
Hi

I'm trying to install a FreeBSD 6.0 on a Promise FastTrack SX4000, and the
controller is configured to raid5 but during the installation the 4 individual
disks show up instead of one.

So i did a bit of googling and found that the card should be working in
4.8 but it dosn't seem to work. But on the official FreeBSD hardware 
compatibility
list, it isn't mentioned at all.

So, anyone who knows more about this issue?

Best regards
Martin Kruse Jensen

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


Re: dhclient fixed leases

2006-01-15 Thread Maxim Vetrov

Erik Nørgaard wrote:


Maxim Vetrov wrote:

I'm on 6.0 release. The default will not help - I have several 
networks without dhcpd. So 'default option routers 10.0.1.5;' will 
work only for one and fail for others.



Well, in that case I have dificult seeing how fixed leases will help 
you, how should dhclient choose which fixed lease to use? One fixed 
lease or one default would work.



Hi,

This is an excerpt from 'man dhclient.conf':

The DHCP client may decide after some period of time (see PROTOCOL
TIMING) that it is not going to succeed in contacting a server.  At 
that
time, it consults its own database of old leases and tests each one 
that
has not yet timed out by pinging the listed router for that lease 
to see

if that lease could work.  It is possible to define one or more fixed
leases in the client configuration file for networks where there is no
DHCP or BOOTP service, so that the client can still automatically 
config-

ure its address...

I excluded other fixed lease declarations from my conf for clarity.

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


how to use ipod nano in freebsd 6.0

2006-01-15 Thread david

hello all, i have ipod nano and im using freebsd 6.0.
DMESG command display (umass0: Apple iPod, rev 2.00/0.01, addr 2) 
message.The iPod nano is detected when plugged in, but a daX device is 
not created. please help me

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


Re: dvdwriter - icybox - usb problem

2006-01-15 Thread Fabian Keil
Guido Van Hoecke [EMAIL PROTECTED] wrote:

 I have to connect my Plextor PX-716A dvd-writer via an external 
 IDE-to-USB/1394 Icybox (IB-550UE-B-BL) to my freebsd-6.0-RELEASE pc. 
 This pc is an IBuddy Desknote A928 without room for internal extra 
 devices. So I bought an Icybox enclosure, put the plextor in it and 
 connected the icybox through USB:
 
 umass0: vendor 0x0402 USB 2.0 Storage Device, rev 2.00/1.05, addr 2
 da0 at umass-sim0 bus 0 target 0 lun 0
 da0: USB 2.0 Storage Device 0111 Fixed Direct Access SCSI-0 device
 da0: 40.000MB/s transfers
 da0: 0MB (1 0 byte sectors: 0H 0S/T 0C)
 
 [EMAIL PROTECTED]:~ sudo cdrecord -scanbus
 Cdrecord-Clone 2.01 (i386-unknown-freebsd6.0) Copyright (C) 1995-2004 
 Jörg Schilling
 Using libscg version 'schily-0.8'.
 ...
 scsibus3:
   3,0,0   300) 'USB 2.0 ' 'Storage Device  ' '0111' Disk
 ...
 [EMAIL PROTECTED]:~
 
 How do I tell FreeBSD that this is a DVD-writer rather than a hard
 disk?

Have you tried to use it? 

Does cdrecord dev=3,0,0 -prcap show false information as well?

Fabian
-- 
http://www.fabiankeil.de/


signature.asc
Description: PGP signature


Re: how to use ipod nano in freebsd 6.0

2006-01-15 Thread Crispy Beef

david wrote:

hello all, i have ipod nano and im using freebsd 6.0.
DMESG command display (umass0: Apple iPod, rev 2.00/0.01, addr 2) 
message.The iPod nano is detected when plugged in, but a daX device is 
not created. please help me


A friend of mine was/is having a similar problem, depending on the type of 
iPod you have (Mac or Windows formatted) you'll need to make sure you have the 
correct filesystem support...so if you have a Mac iPod you'll need to compile 
support into the kernel (HFS+) unless there's a module that can be loaded but 
I've always gone the kernel route.


With that you should be able to mount the iPod in the normal way and make use 
of something like gtkPod.



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


FastTrack SX4000

2006-01-15 Thread dslb
Hi again all

I found that the driver for the Promise FastTrack controller I mailed about
previously not supports raid level 5, but it does support 0+1. So far I'll
use that, and look forward to the day when Raid 5 will be available ;)

Best regards,
Martin Kruse Jensen

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


Re: Difficulty asking questions

2006-01-15 Thread Ian Smith
gday,

sending this to both of your addresses, and -questions.  You should get
three.  If you reply, esp from your apana address, I could check a) that
you can post to me at least :) and b) see what the headers suggest about
reverse IP resolution.

Micah said:

I had the same problem, I could receive I just couldn't send to /any/
freebsd.org list.  I can't track down the emails right now, but I
believe it was either [EMAIL PROTECTED] or freebsd-questions-owner@
who helped me figure out that my ISP had DNS issues.  With his help I
emailed my ISP support line and they fixed their problem (I was
surprised!)  So you should probably start by emailing one of the address
I listed to see if they can help you track down your problem.

And Chris wrote:

Normally this happens when your mail server doesnt reversly resolve to the 
domain name so if mail.i13i.com doesnt reverse to mail.i13i.com
freebsd.org's mailing lists will reject the mail. As this happened when i
was hosting my site using my DSL wasnt until i got a ded that i relaised
what it was.

Seems the problem is indeed (at least temporarily) APANA's reverse DNS:

gaia: {301} dig -x 203.3.126.1

;  DiG 2.2  -x
;; res options: init recurs defnam dnsrch
;; got answer:
;; -HEADER- opcode: QUERY, status: SERVFAIL, id: 6
   
;; flags: qr rd ra; Ques: 1, Ans: 0, Auth: 0, Addit: 0
;; QUESTIONS:
;;  1.126.3.203.in-addr.arpa, type = ANY, class = IN

;; Total query time: 73580 msec
 ^
which most likely explains why freebsd.org's mx is ignoring your mail.

Probably worth mailing Matt Geier as suggested, and your local Brisbane
apana tech bods; I expect they'll want to know ..

Oh, it's worse than that .. ns.apana.org.au seems currently broken:

smithi on paqi% dig @ns.apana.org.au. -x 203.3.126.1
[..]
;; res_nsend to server ns.apana.org.au.  192.188.107.12: Operation timed
out

smithi on paqi% dig @ns.apana.org.au. apana.org.au
[..]
;; res_nsend to server ns.apana.org.au.  192.188.107.12: Operation timed
out

Trying another apana.org.au listed ns:

gaia: {304} dig @warrane.connect.com.au. -x 203.3.126.1
[..]
;; QUESTIONS:
;;  1.126.3.203.in-addr.arpa, type = ANY, class = IN

;; ANSWERS:
1.126.3.203.in-addr.arpa.   43200   RP support.brisbane.apana.org.au.
1.126.3.203.in-addr.arpa.   43200   TXT APANA Brisbane
1.126.3.203.in-addr.arpa.   43200   PTR gargoyle.apana.org.au.

;; AUTHORITY RECORDS:
126.3.203.in-addr.arpa. 43200   NS  yarrina.connect.com.au.
126.3.203.in-addr.arpa. 43200   NS  ns.apana.org.au.

;; ADDITIONAL RECORDS:
yarrina.connect.com.au. 3600A   192.189.54.17
ns.apana.org.au.3600A   192.188.107.12

.. but ns.apana.org.au fails to provide that PTR response right now ..
unless apana has _my_ server blacklisted of course :)

I'd be mailing that RP too (guess it's [EMAIL PROTECTED])

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


Backing up an encrypted partition

2006-01-15 Thread vittorio
From time to time I backup up my ad0s3a and ad0s3d partitions by means of dump 
issuing a 'dump -a0f  fileA /dev/ad0s3a' etc.

Having just set up a gdbe encrypted partition /dev/ads0s3e which I mount with

gbde attach /dev/ad0s3e -l /etc/gbde/ad0s3e
mount /dev/ad0s3e.bde /mydir/encrypt

I wonder WHAT should I now dump when backing up:

dump -a0f  fileE /dev/ad0s3e

OR

dump -a0f  fileE /dev/ad0s3e.bde

?

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


web application recommendation

2006-01-15 Thread fbsd_user
Been through the ports collection and could not find anything at all to what
I am looking for.

I am looking for a open source web based application that users can register
their membership info and allows search by name or member ID, ECT.

Also looking for open source web based application that would allow user to
setup their own website content on my apache server something like
www.95mb.com does.

Interested in using these applications as coding examples of functions I
want to include in my own web based application.


Thanks


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


Re: shell scripts and escaped charecters in file names

2006-01-15 Thread Ronny Hippler

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

je killen wrote:
|
| On Jan 14, 2006, at 11:35 PM, Ronny Hippler wrote:
|
| Hello,
| I am trying to get the following script to run with no success.
| 
| #!/bin/csh
| foreach file (\*vol\*)
| mv $file `basename $file .par2`.PAR2
| echo $file
| end
| 
| and get the following error:
| usage: mv [-f | -i | -n] [-v] source target
| ~   mv [-f | -i | -n] [-v] source ... directory
|
| I know it is because of the spaces and such in the file names. I have
| tried quoting single double and also escaping them but all fails. what
| is the magic? Please cc me off list. thanks!
|
| tried %20 for space?

can't cause the file name is being inserted by a variable on the fly I
would have to do a rewrite of the filenames in the script and would need
to know all of the characters that needed to be escaped.

on that note is there a definitive list of all characters that need to
be escaped in a file name? Thanks

please cc me off list. thanks again

- --



I don't need a new harddrive, there's 3k free.



Ronny Hippler || Spartanburg SC
http://www.ronnyhippler.com/ || ftp://ftp.vr5.dyndns.org:2112/
PGP key: http://www.ronnyhippler.com/Ronny_Hippler_PGP.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFDyoR1N6qJSxoonroRAkbVAJ9dzS1y5OUZZ2rQKwst3P4l+J9rIgCfUV31
d2PkQW1xaiDwcMgI9qJE/3g=
=teKc
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problems with X11 Forwarding

2006-01-15 Thread Aaron Dalton
I thought this might be the best place to post the question.  I am 
running FreeBSD5.4-RELEASE.  For the sake of argument, let's say I am 
trying to get the port editors/fte running on my Windows box via an SSH 
tunnel.  I am running WindowsXP, cygwin's X11 server, and PUTTY.  As far 
as I can tell from all my Googling, this should actually be quite simple:


- openssh is setup on FreeBSD with X11Forwarding=yes
- I start the cygwin X-server (XWin -ac -multiwindow)
- Putty is configured to forward X11 sessions
- I connect via Putty
- running '$ fte' from the FreeBSD command line should supposedly open 
everything up now on my Windows box, but it does not.


From what I understand, when I connect now via Putty the env variable 
DISPLAY should be set.  But it is not (which is the error fte gives me 
when I try to run it).  If I try to manually set the DISPLAY variable (I 
tried localhost:0, localhost:0.0, ip:0, ip:0.0) it still doesn't work. 
editors/fte is fully installed (with X11libs and all that) but I wonder 
if there is more I need installed on the FreeBSD end to make things work.


I really appreciate your time and any assistance you can render.

--
Aaron Dalton   |   Super Duper Games
[EMAIL PROTECTED]   |   http://superdupergames.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


What do I use for DRI / DRM in X?

2006-01-15 Thread Nikolas Britton
I'm a bit confused as to what's needed to get DRI / DRM working in
Xorg. AFAIK we have 3 ways to do it; We have the DRM device in the
kernel, dri-6.2.1,2 (For XFree86?) in the ports system, and Xorg seems
to have it's own version too.

What do I need and what don't I need for DRI / DRM in Xorg?

The reason I ask is because I'm having problems getting DRI working on
a triple-head system with 3 Radeon cards:

drm0: ATI Radeon QL R200 8500 LE port 0xb000-0xb0ff mem
0xc800-0xcfff,0xfe8f-0xfe8f irq 16 at device 0.0 on
pci1
info: [drm] AGP at 0xf800 64MB
info: [drm] Initialized radeon 1.16.0 20050311 on minor 0
drm1: ATI Radeon QY RV100 7000/VE port 0xd000-0xd0ff mem
0xe800-0xefff,0xfeaf-0xfeaf irq 21 at device 9.0 on
pci2
info: [drm] Initialized radeon 1.16.0 20050311 on minor 1
drm2: ATI Radeon QY RV100 7000/VE port 0xc000-0xc0ff mem
0xe000-0xe7ff,0xfea9-0xfea9 irq 23 at device 11.0 on
pci2
info: [drm] Initialized radeon 1.16.0 20050311 on minor 2

When the dri module in xorg.conf is enable the system locks-up and I
have to do a hard reboot. When it's disable everything works fine, but
it's slow.



Go sign the native flash for FreeBSD petition:
http://www.petitiononline.com/flash4me/petition.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Partitioning

2006-01-15 Thread Jona Joachim
Hi!
I'm quite new to FreeBSD and I have some concerns about partitioning.
I plan to install FreeBSD-6 as a desktop system and I bought a new
Western Digital Caviar SE WD800JB hard drive to use it as a second
disk for storing music, movies, photos and stuff like that on it. I
also want to put the swap partition on it as this drive will be idle
most of the time. So basically I want to create 2 partitions on this
drive: one 2GB partition for swap and one big UFS partition for data.
Fdisk reported that it couldn't clearly identify the disk architecture
because it thinks that the architecture is different from what BIOS
tells. Here is fdisk's output after having created a slice:

*** Working on device /dev/ad1 ***
parameters extracted from in-core disklabel are:
cylinders=155061 heads=16 sectors/track=63 (1008 blks/cyl)

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

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 0, size 156296322 (76316 Meg), flag 80 (active)
beg: cyl 0/ head 0/ sector 1;
end: cyl 512/ head 253/ sector 63
The data for partition 2 is:
UNUSED
The data for partition 3 is:
UNUSED
The data for partition 4 is:
UNUSED

After creating a slice I created the partitions inside it with
disklabel. In every example I saw the swap partition was in the second
place. However, I want it to be in the beginning of the disk as this
should result in better performance. Are there any concerns about this
layout? I basically used the standards mentioned by the manual pages
of disklabel:

8 partitions:
# size   offsetfstype [fsize   bsize bps/cpg]
  a: 2g  *  swap
  b:   *  *  4.2BSD  4096 16384  64
  c:   *  *   unused

Here is an output of what the layout now actually looks like:

# /dev/ad1s1:
8 partitions:
#size offsetfstype   [fsize bsize bps/cpg]
  a:  41943040  swap
  b: 152102018 4194304  4.2BSD 4096 16384 20732
  c: 156296322 0   unused   0 0

The number of cylinders in a cylinder group bps/cpg was automatically
changed to 20732 which is quite different from 64. Why is that so?
I haven't had any problems with the disk until now but I don't want to
expose my data to danger by using a broken disk layout.
Thanks for your help!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Problems with X11 Forwarding

2006-01-15 Thread Nikolas Britton
On 1/15/06, Aaron Dalton [EMAIL PROTECTED] wrote:
 I thought this might be the best place to post the question.  I am
 running FreeBSD5.4-RELEASE.  For the sake of argument, let's say I am
 trying to get the port editors/fte running on my Windows box via an SSH
 tunnel.  I am running WindowsXP, cygwin's X11 server, and PUTTY.  As far
 as I can tell from all my Googling, this should actually be quite simple:

 - openssh is setup on FreeBSD with X11Forwarding=yes
 - I start the cygwin X-server (XWin -ac -multiwindow)
 - Putty is configured to forward X11 sessions
 - I connect via Putty
 - running '$ fte' from the FreeBSD command line should supposedly open
 everything up now on my Windows box, but it does not.

  From what I understand, when I connect now via Putty the env variable
 DISPLAY should be set.  But it is not (which is the error fte gives me
 when I try to run it).  If I try to manually set the DISPLAY variable (I
 tried localhost:0, localhost:0.0, ip:0, ip:0.0) it still doesn't work.
 editors/fte is fully installed (with X11libs and all that) but I wonder
 if there is more I need installed on the FreeBSD end to make things work.


If you have cygwin installed why use putty? Just fire up xterm and use
ssh -X. You could try this too: http://xlivecd.indiana.edu/


Go sign the native flash for FreeBSD petition:
http://www.petitiononline.com/flash4me/petition.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems with X11 Forwarding

2006-01-15 Thread Aaron Dalton

Nikolas Britton wrote:


If you have cygwin installed why use putty? Just fire up xterm and use
ssh -X. You could try this too: http://xlivecd.indiana.edu/



Thank you for your reply!  I tried that as well, but I get the same 
problems.  I set DISPLAY on my Cygwin to localhost:0.0 which does indeed 
allow me to start XTerm.  I do an ssh -X (and I tried -Y as well) but 
DISPLAY is still not set on the FreeBSD end.  I have now tried manually 
setting DISPLAY to (localhost:0.0, localhost:10.0, ip:0.0, ip:10.0) on 
the FreeBSD end and still nothing is working.  If I use ip:0.0 I get 
some router traffic, but nothing actually happens and then it just stops 
trying saying it could not open the display.  My XServer is indeed 
running (XWin -ac -multiwindow) as I can connect via a local CoLinux 
install just fine.


--
Aaron Dalton   |   Super Duper Games
[EMAIL PROTECTED]   |   http://superdupergames.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: shell scripts and escaped charecters in file names

2006-01-15 Thread Mathias Menzel-Nielsen

Ronny Hippler wrote:


Hello,
I am trying to get the following script to run with no success.
- 
#!/bin/csh
foreach file (\*vol\*)
mv $file `basename $file .par2`.PAR2
echo $file
end
- 
and get the following error:
usage: mv [-f | -i | -n] [-v] source target
~   mv [-f | -i | -n] [-v] source ... directory

I know it is because of the spaces and such in the file names. I have
tried quoting single double and also escaping them but all fails. what
is the magic? Please cc me off list. thanks!


Hi.

Sorry, dont know the trick for csh -- but for bash there is an env, 
which can be used to override word-split whitespaces:

IFS  (see bash(1))

The following script should do the trick (i have tested it with some 
filenames with spaces in it succesfully):

888
#!/bin/sh
IFS=

export IFS;
for i in *;
do
mv $i `basename $i .par2`.PAR2;
echo $i;
done;
8888

note how IFS is set to newline

(replace the *-wildchar in the for-line with your fileset)

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


message appears at prompt

2006-01-15 Thread je killen

The following messages are appearing at my terminal on a frequent basis:

(Jan 15 09:23:05 e-mach login: ROOT LOGIN (root) ON ttyv0
Jan 15 09:25:43 e-mach login: ROOT LOGIN (root) ON ttyv0 preceeding 
from /var/log/messages)

(these are the messages of concern:)
Jan 15 09:32:54 e-mach inetd[503]: ssh/tcp: bind: Address already in use
Jan 15 09:42:54 e-mach inetd[503]: ssh/tcp: bind: Address already in use
Jan 15 09:52:54 e-mach inetd[503]: ssh/tcp: bind: Address already in use
The question is:
What is going on here?
It appears to be a conflict as one process is trying to bind to an 
address that is being used by another process
However, I don't know if that is what 'bind' is in this context. If it 
doesn't mean DNS BIND then that eliminates

that possibility.
Please excuse my newbe question but I hope it doesn't mean that 
someone's script has snuck onto my
machine from the network and beyond. These messages are appearing when 
the proxy/router machine

is not even turned on.
I would chase this down myself and not use the list but I don't know 
enough of where to look.
The only clue I have is that sshd starts on boot and is also enabled in 
inetd.conf. Could this

be the conflict?
Thanks so much
JK

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


Re: VT8235 Power Management Controller driver?

2006-01-15 Thread Nikolas Britton
On 1/14/06, Ivailo Bonev [EMAIL PROTECTED] wrote:
 Is FreeBSD 6-STABLE have VT8235 Power Management Controller driver? What to 
 insert in kernel to compile it? Or maybe have another way to switch it on?



device iicbb
device iicbus
device iicsmb
device smbus
device smb
device viapm



Go sign the native flash for FreeBSD petition:
http://www.petitiononline.com/flash4me/petition.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: message appears at prompt

2006-01-15 Thread Robert Slade
On Sun, 2006-01-15 at 18:50, je killen wrote:
 The following messages are appearing at my terminal on a frequent basis:
 
 (Jan 15 09:23:05 e-mach login: ROOT LOGIN (root) ON ttyv0
 Jan 15 09:25:43 e-mach login: ROOT LOGIN (root) ON ttyv0 preceeding 
 from /var/log/messages)
 (these are the messages of concern:)
 Jan 15 09:32:54 e-mach inetd[503]: ssh/tcp: bind: Address already in use
 Jan 15 09:42:54 e-mach inetd[503]: ssh/tcp: bind: Address already in use
 Jan 15 09:52:54 e-mach inetd[503]: ssh/tcp: bind: Address already in use
 The question is:
 What is going on here?
 It appears to be a conflict as one process is trying to bind to an 
 address that is being used by another process
 However, I don't know if that is what 'bind' is in this context. If it 
 doesn't mean DNS BIND then that eliminates
 that possibility.
 Please excuse my newbe question but I hope it doesn't mean that 
 someone's script has snuck onto my
 machine from the network and beyond. These messages are appearing when 
 the proxy/router machine
 is not even turned on.
 I would chase this down myself and not use the list but I don't know 
 enough of where to look.
 The only clue I have is that sshd starts on boot and is also enabled in 
 inetd.conf. Could this
 be the conflict?
 Thanks so much
 JK
 

Hi JK,

You have probably got sshd enabled twice, once in rc.conf and once in
inetd. What is happening is that the 2nd copy of sshd enabled in inetd
is trying to bind to the adresses already in use by the 1st copy enabled
in /etc/rc.conf.

One of the things is that BSD tends to use is the rc.d route to start
apps whereas linux tends to use the inetd route. Note there is no run
levels as such in bsd. Once you get used to it it quite simple to pop a
script into /usr/local/etc/rc.d and call it from /etc/rc.conf with a
something_enable=YES

Rob

Rob 

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


help me....

2006-01-15 Thread vocativus
Hello


I can't english well (I'm in the middle of learn) so I may make a
mistakes.

So... I have a big problem with FreeBSD system. I was download a CD
images from FreeBSD site, I burn it on CD and install system on hard
disk. All working well. In last week I bought new computer (processor,
motherboard with graphic card, and DVD - RAM recorder).

I was load CD 1, chosen default boot, next - standard, chosen ok in
window, where was about fdisk, chosen ad0. Next I was saw comunique:



Warning: A geometry of 77545/16/63 for ad0 is incorrect. Using a more
likely geometry. If this geometry is incorrect or you are unsure as to
whether or not it's correct, please consult the Hardware Guide in the
Documentation submenu or use the (G)eometry command to change it now

Remember: you need to enter whatever your BIOS thinks the geometry is!
For IDE it's what yoy were told in the BIOS setup. For SCSI, it's the
translation mode your controller is using. Do NOT use a physical geometry



I chosen od, made partition and slices, chosen install, and I saw a
communique, where I read about error, that computer can't write data
on disk and it's end of instalation

Configuration of my old computer:


motherboart: ASrock k7s8x,
384MB RAM,
GeForce 2 MX 400,
Hard Disks: Western Digital 40 GB (ATA 133), i Samsung 60GB (ATA 133).
Processor: Duron 1400
Ethernet Card (LAN) - SIS 10/100 integrated with motherboard
Sound Card - AC 97 - system didn't detect it correctly


Configuration of my new computer:

motherboard: 939NF4G - SATA2
Processor: AMD Athlon 64 3200+ venice socket 939
Graphic card - integrated with motherboard - GeForce 6100 - memory
128MB
LAN - integrated with motherboard -  Realtek PHY RTL8201CL
Sound card -  Realtek ALC850 7.1channel AC'97 audio codec
RAM - 768MB (128 MB shared by Graphic Card, so aviable is 640MB)
BIOS wersion - AMI P1.30


Help me ;(I was searching in the Hardware Guide, and I searched
somethink about this problem. I read, that I must write a command, but
I don't know how and where. This is this command:

/stand/sysinstall [var=value ..] [command ..]


I was read, that I must put 'geometry' instead of value. And enter
into:

/usr/local/bin/configPackages



Help me... ;(  I don't know what to do...

If it's possible, I solicit for some exect leads, because I'm
beginning in linux systems and if you can (may) write in polish ;)



Ps. I'm sory for mistakes :)







===
Polish wersion of this message:
===

Witam!


Mam duży problem z FreeBSD. Mianowicie... ściągłem sobie system ze
strony www.freebsd.org  wypaliłem na 2 płytach CD i zainstalowałem.
Wszystko dobrze chodziło... do czasu aż zmieniłem komputer tzn. dysk
twardy, RAM i nagrywarke mam ze starego. Moja stara konfiguracja:

Płyta gł. ASrock k7s8x,
384MB RAM,
GeForce 2 MX 400,
Dyski twarde: Western Digital 40 GB (ATA 133), i Samsung 60GB (ATA 133).
Procesor: Duron 1400
Karta sieciowa - SIS 10/100 zintegrowana z płytą główną
Karta dźwiękowa - AC 97 - system jej nie wykrywał poprawnie

Na powyższym sprzęcie system pracował bezbłędnie, z wyjątkiem
wspomnianej karty dźwiękowej.


Moja obecna konfiguracja:

Pł. główna: 939NF4G - SATA2
Procesor: AMD Athlon 64 3200+ venice socket 939
Karta graficzna - zintegrowana z płytą główną - GeForce 6100 - pamięć
128MB
Karta sieciowa - zintegrowana z płytą główną -  Realtek PHY RTL8201CL
Karta dźwiękowa -  Realtek ALC850 7.1channel AC'97 audio codec
RAM - 768MB (128 zarezerwowane dla karty graficznej więc dostępne jest
640MB RAM)
Wersja BIOS-u - P1.30


I wziąłem wyczyszczony dysk (bez jakichkolwiek partycji) podłączony
jako jedyny dysk, po wybraniu opcji default boot, wybraniu opcji
standard, naciśnięciu ok w oknie gdzie pisze coś o fdisk-u, wybraniu
dysku - w moim przypadku ad0 wyświetla sie komunikat:



Warning: A geometry of 77545/16/63 for ad0 is incorrect. Using a more
likely geometry. If this geometry is incorrect or you are unsure as to
whether or not it's correct, please consult the Hardware Guide in the
Documentation submenu or use the (G)eometry command to change it now

Remember: you need to enter whatever your BIOS thinks the geometry is!
For IDE it's what yoy were told in the BIOS setup. For SCSI, it's the
translation mode your controller is using. Do NOT use a physical geometry



I nic dałem na ok, rozplanowałem partycje dałem na instaluj i pojawił
mi się komunikat o błędzie, że nie można zapisać danych na dysk i na
tym koniec.

Próbowałem zainstalować FreeBSD w wersji 5.4 (i386), 6.0 (i386), 6.0
(AMD 64) i ciągle się pojawia ten komunikat.

Jeśli to Was pocieszy, to linux SuSE nie wykrył mi wogóle żadnego
sprzętu, za wyjątkiem drukarki. Czy ja mam na tyle nietypową
konfiguracje, że żaden linux nie jest w stanie prawidłowo rozpoznać
mojego sprzętu???

Nie byłoby takiego problemu, gdyby nie to, że musze mieć linuxa, bo
chodzę do liceum na profil matematyczno - fizyczno - informatyczny i
linuxa musze mieć... Prędzej też go miałem 

Re: Problems with X11 Forwarding

2006-01-15 Thread Ken Stevenson
On Sun, Jan 15, 2006 at 10:24:04AM -0700, Aaron Dalton wrote:
 I thought this might be the best place to post the question.  I am 
 running FreeBSD5.4-RELEASE.  For the sake of argument, let's say I am 
 trying to get the port editors/fte running on my Windows box via an SSH 
 tunnel.  I am running WindowsXP, cygwin's X11 server, and PUTTY.  As far 
 as I can tell from all my Googling, this should actually be quite simple:
 
 - openssh is setup on FreeBSD with X11Forwarding=yes
 - I start the cygwin X-server (XWin -ac -multiwindow)
 - Putty is configured to forward X11 sessions
 - I connect via Putty
 - running '$ fte' from the FreeBSD command line should supposedly open 
 everything up now on my Windows box, but it does not.
 
 From what I understand, when I connect now via Putty the env variable 
 DISPLAY should be set.  But it is not (which is the error fte gives me 
 when I try to run it).  If I try to manually set the DISPLAY variable (I 
 tried localhost:0, localhost:0.0, ip:0, ip:0.0) it still doesn't work. 
 editors/fte is fully installed (with X11libs and all that) but I wonder 
 if there is more I need installed on the FreeBSD end to make things work.
 
 I really appreciate your time and any assistance you can render.
 
I'm new to FreeBSD, so I may be off base, but I use vncserver on my
FreeBSD box when I need an X session. Then I just setup Putty to forward
port 5900 to 127.0.0.0:5901, make an ssh connection to my FreeBSD server, run
UltraVNC on my Windows box and connect to localhost.

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


Re: Problems with X11 Forwarding

2006-01-15 Thread Aaron Dalton

Ken Stevenson wrote:


I'm new to FreeBSD, so I may be off base, but I use vncserver on my
FreeBSD box when I need an X session. Then I just setup Putty to forward
port 5900 to 127.0.0.0:5901, make an ssh connection to my FreeBSD server, run
UltraVNC on my Windows box and connect to localhost.



Thanks for your reply!  I have been told VNC is a good way to go as 
well, but some have mentioned some performance issues.  What have you 
found?  It works liveably well?


--
Aaron Dalton   |   Super Duper Games
[EMAIL PROTECTED]   |   http://superdupergames.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems with X11 Forwarding

2006-01-15 Thread Ken Stevenson
On Sun, Jan 15, 2006 at 12:33:24PM -0700, Aaron Dalton wrote:
 Ken Stevenson wrote:
 
 I'm new to FreeBSD, so I may be off base, but I use vncserver on my
 FreeBSD box when I need an X session. Then I just setup Putty to forward
 port 5900 to 127.0.0.0:5901, make an ssh connection to my FreeBSD server, 
 run
 UltraVNC on my Windows box and connect to localhost.
 
 
 Thanks for your reply!  I have been told VNC is a good way to go as 
 well, but some have mentioned some performance issues.  What have you 
 found?  It works liveably well?
 

It works great for me. I have a pretty fast internet connection (cable
modem).

One thing I like about it is the session doesn't end when you
disconnect. You can start a long running process like cvsup, disconnect,
and come back later to check on it.

Unlike when you vnc to a Windows box, you don't get the X session
that's on the local workstation, you get a new one. If you need to
connect to the primary X session, like for remote support, there's a
version of VNC in the ports for that too (xvnc?).
-- 
Ken Stevenson
Allen-Myland Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gcc-4 ?

2006-01-15 Thread Dieter
   Are there any plans to update gcc to gcc-4?
 
  Perhaps in 8.0?  There are already gcc4[0-2] ports in
  /usr/ports/lang if you want to have gcc 4 right now.
 
- Parv
 
  Thanks, my copy of 6.0 doesn't seem to have gcc42 so I'm
  trying to beat gcc41 into submission.
 
  I'm running FreeBSD 6.0 on AMD64.
 
  I'm getting
 
  compiler warnings (included below)
 
  dmesg says that as seg-faulted a couple times,
  although I don't find the promised core dump.
 
  'make check' fails big time

 Doesn't 7.0 use gcc 4 ? This is probably a AMD64 bug as compiling gcc 4
 from ports give me zero errors but i am on a pent 4 system. Also looking
 at the msg you sent i dont see an error they are just warnings which is
 normal please supply us with a actual error.

Just because the compiler says warning rather than error doesn't
mean it isn't a problem.


dmesg has a boatload of stuff about various programs exiting on various signals,
mostly 11 (SIGSEGV), but some 4 (SIGILL) and 6 (SIGABRT)

make
as  exited on signal 11 (core dumped)

make check
anew1.exe   exited on signal 6 (core dumped)
catchall-1.x5   exited on signal 4 (core dumped)
pass40-frag.exe exited on signal 11 (core dumped)

dmesg | grep exited on signal | wc -l
 284


Some output from 'make check':

[ ... ]
There were fixinclude test FAILURES
gmake[1]: *** [check] Error 1
gmake: *** [check-fixincludes] Error 2
[ ... ]
Running 
/usr/ports/lang/gcc41/work/gcc-4.1-20050819/gcc/testsuite/gcc.dg/debug/dwarf2/dwarf2.exp
 ...
Running /usr/ports/lang/gcc41/work/gcc-4.1-20050819/gcc/testsuite/gcc.dg/dg.exp 
...
FAIL: gcc.dg/20021014-1.c consider using `-pg' instead of `-p' with gprof(1) 
(test for errors, line )
FAIL: gcc.dg/builtins-20.c (test for excess errors)
FAIL: gcc.dg/wint_t-1.c (test for excess errors)
Running 
/usr/ports/lang/gcc41/work/gcc-4.1-20050819/gcc/testsuite/gcc.dg/format/format.exp
 ...
Running 
/usr/ports/lang/gcc41/work/gcc-4.1-20050819/gcc/testsuite/gcc.dg/noncompile/noncompile.exp
 ...
Running 
/usr/ports/lang/gcc41/work/gcc-4.1-20050819/gcc/testsuite/gcc.dg/pch/pch.exp ...
FAIL: largefile.c -O0 -g (test for excess errors)
FAIL: largefile.c  -O0  (test for excess errors)
FAIL: largefile.c  -O1  (test for excess errors)
FAIL: largefile.c  -O2  (test for excess errors)
FAIL: largefile.c  -O3 -fomit-frame-pointer  (test for excess errors)
FAIL: largefile.c  -O3 -g  (test for excess errors)
FAIL: largefile.c  -Os  (test for excess errors)
Running 
/usr/ports/lang/gcc41/work/gcc-4.1-20050819/gcc/testsuite/gcc.dg/special/mips-abi.exp
 ...
Running 
/usr/ports/lang/gcc41/work/gcc-4.1-20050819/gcc/testsuite/gcc.dg/special/special.exp
 ...
Running 
/usr/ports/lang/gcc41/work/gcc-4.1-20050819/gcc/testsuite/gcc.dg/tls/tls.exp ...
Running 
/usr/ports/lang/gcc41/work/gcc-4.1-20050819/gcc/testsuite/gcc.dg/torture/dg-torture.exp
 ...
FAIL: gcc.dg/torture/builtin-convert-1.c  -O1  (test for excess errors)
FAIL: gcc.dg/torture/builtin-convert-1.c  -O2  (test for excess errors)
FAIL: gcc.dg/torture/builtin-convert-1.c  -O3 -fomit-frame-pointer  (test for 
excess errors)
FAIL: gcc.dg/torture/builtin-convert-1.c  -O3 -g  (test for excess errors)
FAIL: gcc.dg/torture/builtin-convert-1.c  -Os  (test for excess errors)
FAIL: gcc.dg/torture/builtin-convert-2.c  -O1  (test for excess errors)
FAIL: gcc.dg/torture/builtin-convert-2.c  -O2  (test for excess errors)
FAIL: gcc.dg/torture/builtin-convert-2.c  -O3 -fomit-frame-pointer  (test for 
excess errors)
FAIL: gcc.dg/torture/builtin-convert-2.c  -O3 -g  (test for excess errors)
FAIL: gcc.dg/torture/builtin-convert-2.c  -Os  (test for excess errors)
FAIL: gcc.dg/torture/builtin-convert-3.c  -O1  (test for excess errors)
FAIL: gcc.dg/torture/builtin-convert-3.c  -O2  (test for excess errors)
FAIL: gcc.dg/torture/builtin-convert-3.c  -O3 -fomit-frame-pointer  (test for 
excess errors)
FAIL: gcc.dg/torture/builtin-convert-3.c  -O3 -g  (test for excess errors)
FAIL: gcc.dg/torture/builtin-convert-3.c  -Os  (test for excess errors)
FAIL: gcc.dg/torture/builtin-power-1.c  -O0  (test for excess errors)
FAIL: gcc.dg/torture/builtin-power-1.c  -O1  (test for excess errors)
FAIL: gcc.dg/torture/builtin-power-1.c  -O2  (test for excess errors)
FAIL: gcc.dg/torture/builtin-power-1.c  -O3 -fomit-frame-pointer  (test for 
excess errors)
FAIL: gcc.dg/torture/builtin-power-1.c  -O3 -g  (test for excess errors)
FAIL: gcc.dg/torture/builtin-power-1.c  -Os  (test for excess errors)
Running 
/usr/ports/lang/gcc41/work/gcc-4.1-20050819/gcc/testsuite/gcc.dg/tree-prof/tree-prof.exp
 ...
Running 
/usr/ports/lang/gcc41/work/gcc-4.1-20050819/gcc/testsuite/gcc.dg/tree-ssa/tree-ssa.exp
 ...
FAIL: gcc.dg/tree-ssa/loop-3.c scan-tree-dump-times step: 1
Running 
/usr/ports/lang/gcc41/work/gcc-4.1-20050819/gcc/testsuite/gcc.dg/vect/vect.exp 
...
XPASS: gcc.dg/vect/vect-22.c scan-tree-dump-times vectorized 3 loops 1
Running 

Re: Problems with X11 Forwarding (Fixed!)

2006-01-15 Thread Aaron Dalton

Ken Stevenson wrote:

On Sun, Jan 15, 2006 at 12:33:24PM -0700, Aaron Dalton wrote:


Ken Stevenson wrote:


I'm new to FreeBSD, so I may be off base, but I use vncserver on my
FreeBSD box when I need an X session. Then I just setup Putty to forward
port 5900 to 127.0.0.0:5901, make an ssh connection to my FreeBSD server, 
run

UltraVNC on my Windows box and connect to localhost.



Thanks for your reply!  I have been told VNC is a good way to go as 
well, but some have mentioned some performance issues.  What have you 
found?  It works liveably well?





It works great for me. I have a pretty fast internet connection (cable
modem).

One thing I like about it is the session doesn't end when you
disconnect. You can start a long running process like cvsup, disconnect,
and come back later to check on it.

Unlike when you vnc to a Windows box, you don't get the X session
that's on the local workstation, you get a new one. If you need to
connect to the primary X session, like for remote support, there's a
version of VNC in the ports for that too (xvnc?).


For the record, I finally got standard X11 forwarding working once I 
installed tightvnc.  I presume it was because I didn't have an X11 
client installed.  Now to get VNC working!  I can see which I prefer. 
Thank you again all for your time!


--
Aaron Dalton   |   Super Duper Games
[EMAIL PROTECTED]   |   http://superdupergames.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Rootkit detection

2006-01-15 Thread Graham North
I would like to determine if my server has had rootkit installed by a 
hacker.

FBSD 4.11.   Main entrances are only http, ssh and also webmin.

My server went down sometime recently.   When I went investigate there 
was a somewhat nasty message saying:


server /kernel: arp 00:11:43:4a:8d:18 is using my IP address 
192.168.0.102  


The mac address 00:11:43:4a:8d:18 does not belong to any of my hardware.
(server is a pseudonymn for this email but is the machine name for the 
server on my home network - 192.68.0.102 is the LAN addr on my router)


The auth log files have been rolled over several times in the last few 
weeks and I have not unzipped them yet to see if any entries were 
accepted but the most recent one is filled with unsuccessful attacks to 
sshd on high port numbers, ie sshd[86417].
My biggest concern is the message at the top of this email server 
/kernel: arp 00:11:43:4a:8d:18 is using my IP address 192.168.0.102, it 
sounds scary.


Can someone give please me some guidance as to how to determine whether 
my machine is comprimised?

Thanks,  Graham/

--
Kindness can be infectious - try it.

Graham North
Vancouver, BC
www.soleado.ca


No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.18/230 - Release Date: 1/14/2006
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Problems with X11 Forwarding

2006-01-15 Thread Matthew D. Fuller
[ shifting to -questions@ ]

On Sun, Jan 15, 2006 at 10:24:04AM -0700 I heard the voice of
Aaron Dalton, and lo! it spake thus:
 
 editors/fte is fully installed (with X11libs and all that) but I
 wonder if there is more I need installed on the FreeBSD end to make
 things work.

You have to have the xorg-clients (or xfree-clients, if you're going
that way) installed to get the xauth(1) binary, so ssh can set the key
for the display it allocates.


-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
   On the Internet, nobody can hear you scream.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems with X11 Forwarding

2006-01-15 Thread Aaron Dalton

Matthew D. Fuller wrote:

[ shifting to -questions@ ]

On Sun, Jan 15, 2006 at 10:24:04AM -0700 I heard the voice of
Aaron Dalton, and lo! it spake thus:


editors/fte is fully installed (with X11libs and all that) but I
wonder if there is more I need installed on the FreeBSD end to make
things work.



You have to have the xorg-clients (or xfree-clients, if you're going
that way) installed to get the xauth(1) binary, so ssh can set the key
for the display it allocates.




*files this away in his head*  I just never saw anything that explicit 
in the docs anywhere.  I apologize for my ignorance and thank you for 
your help!


--
Aaron Dalton   |   Super Duper Games
[EMAIL PROTECTED]   |   http://superdupergames.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Lost Root Pasword.

2006-01-15 Thread Laurent Debacker
I would have prefer to let someone more experienced speak, but since
there is not much answers

To reset your root password I think there are two solutions:
1) Boot in safe-mode, I think it will not ask password, and you can
juste use the passwd to reset the password.
2) Boot with another FreeBSD install (live CD or so). Mount the
partitions you have installed FreeBSD on. chroot then passwd should
work.
I know it is confuse but I only did that with Mac OS X.

Warning: Remember that encrypted partition can only be decrypted using
the password.

Good luck,
Laurent.

On 1/14/06, Grant Peel [EMAIL PROTECTED] wrote:
 Hi all,

 Here is a particularly embarrasing statement and question.

 S: While working on a FreeBSD 4.4 dev box, changed the root password, but
 now, cant su. the password I used is  12 chars long, and was made
 intentionally cryptic. I know all the chars used in the password (yes I have
 it written down).

 Q: Where are all the ssh password 'guessing' utilities I see the hackers
 using on my system? Located, I could really use one.

 Failing this, I will need to drive to TO and reboot the system by hand and
 change the passwd. a waste of $50 in gas.

 -Grant


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

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


Re: Problems with X11 Forwarding

2006-01-15 Thread Matthew D. Fuller
On Sun, Jan 15, 2006 at 01:36:36PM -0700 I heard the voice of
Aaron Dalton, and lo! it spake thus:
 
 *files this away in his head*  I just never saw anything that
 explicit in the docs anywhere.  I apologize for my ignorance and
 thank you for your help!

Oh, I don't think it's in docs anywhere (at least, nowhere I've seen),
so that's probably why you never saw it  ;)

I just know because when you login without it available, you get a
warning message about it.


-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
   On the Internet, nobody can hear you scream.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Rootkit detection

2006-01-15 Thread SPYRIDON PAPADOPOULOS
Hi there,

Graham North wrote:

-Original Message-
From: Graham North [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Date: Sun, 15 Jan 2006 12:23:08 -0800
Subject: Rootkit detection

I would like to determine if my server has had rootkit installed by a 
hacker.
FBSD 4.11.   Main entrances are only http, ssh and also webmin.

My server went down sometime recently.   When I went investigate there 
was a somewhat nasty message saying:

server /kernel: arp 00:11:43:4a:8d:18 is using my IP address 
192.168.0.102  

This message is suspicious! This is a message that appears after a succesful 
ARP poisoning attack which can then lead to a MITM (Man in the middle --  type 
this in google for more info) attack.
If this is the case then all your unencrypted data to/from this host was 
available to the attacker in a human legible format (plain text). Information 
leakage is cover by Data Protection Laws (depending in the country your pc is).
If the man in the middle attack was succesful..then all your unencrypted 
passwords, e-mails, chats, searched strings in google, were available to such 
an attacker.
If this is the case then there is no need for installed software of any kind, 
in your computer.

There are more chances that is someone from inside. First ask your self if it 
is possible for people to connect laptops or other machines without your 
permission, to your LAN? Maybe this is why you don't know this MAC address. 
Also if you announce this event to everyone using your Network(is it a LAN we 
are talking about, behind the server?) you decrease the chances to catch the 
leaker.

I have tried such tools before but in my --LAN-- only, not against hosts in 
the internet. So i don't really know if this can occur and with what tools, but 
i find it very possible..

Also In order not to panic, have in mind that data to/from your bank's account 
[online], for example, are/must be (almost for sure) encrypted with TLSv1/SSLv3 
128bit encryption which is probably safe (hopefully) at the moment.
Of course some older encryption techniques can be decrypted with the right 
tools. 
I am not expert in cryptography and decryption, but please check: 
http://ettercap.sourceforge.net 
to see what i mean.

The mac address 00:11:43:4a:8d:18 does not belong to any of my hardware.
(server is a pseudonymn for this email but is the machine name for the 
server on my home network - 192.68.0.102 is the LAN addr on my router)

The auth log files have been rolled over several times in the last few 
weeks and I have not unzipped them yet to see if any entries were 
accepted but the most recent one is filled with unsuccessful attacks to 
sshd on high port numbers, ie sshd[86417].
My biggest concern is the message at the top of this email server 
/kernel: arp 00:11:43:4a:8d:18 is using my IP address 192.168.0.102, it 
sounds scary.

It is cool...!

Can someone give please me some guidance as to how to determine whether 
my machine is comprimised?
Thanks,  Graham/

--
Kindness can be infectious - try it.

Graham North
Vancouver, BC
www.soleado.ca



8server is a pseudonymn for this email but is the machine name for the
server on my home network - 192.68.0.102 is the LAN addr on my router)

The auth log files have been rolled over several times in the last few
weeks and I have not unzipped them yet to see if any entries were
accepted but the most recent one is filled with

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


Re: Rootkit detection

2006-01-15 Thread SPYRIDON PAPADOPOULOS
Hi again,

Well check this
the message in my /var/log/messages is:
kernel: arp: 192.168.2.34 moved from 00:13:8f:4c:1b:41 to 00:11:2f:0c:b1:0a on 
rl0

So Hmm now that i am thinking of it again:

server /kernel: arp 00:11:43:4a:8d:18 is using my IP address 
192.168.0.102  

This also looks like an IP conflict!! And it is not similar to mine, even if it 
can be the same...
Someone more experienced maybe can make this clear. To be honest i haven't seen 
the output you posted before...

Sorry for the inconvenience if i was wrong before..

Spiros


-Original Message-
From: Graham North [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Date: Sun, 15 Jan 2006 12:23:08 -0800
Subject: Rootkit detection

I would like to determine if my server has had rootkit installed by a 
hacker.
FBSD 4.11.   Main entrances are only http, ssh and also webmin.

My server went down sometime recently.   When I went investigate there 
was a somewhat nasty message saying:

server /kernel: arp 00:11:43:4a:8d:18 is using my
IP address
192.168.0.102

The mac address 00:11:43:4a:8d:18 does not belong to any of my hardware.
(server is a pseudonymn for this email but is the machine name for the
server on my home network - 192.68.0.102 is the LAN addr on my router)

The auth log files have been rolled over several times in the last few
weeks and I have not unzipped them yet to see if any entries were
accepted but the most recent one is filled with unsuccessful attacks to
sshd on high port numbers, ie sshd[86417].
My biggest concern is the message at the top of this email server
/kernel: arp 00:11:43:4a:8d:18 is using my IP address 192.168.0.102, it
sounds scary.

Can someone give please me some guidance as to how to determine whether
my machine is comprimised?
Thanks,  Graham/

--
Kindness can be infectious - try it.

Graham North
Vancouver, BC
www.soleado.ca

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


portupgrade errors

2006-01-15 Thread Mike Loiterman

When I run portupgrade, I'm getting the following errors:

# portupgrade -a
** Makefile possibly broken: www/apache20:
Makefile, line 190: warning: duplicate script for target  
print-closest-mirrors ignored
Makefile, line 197: warning: duplicate script for target  
print-closest-mirrors ignored

apache-2.0.55_2


---  Skipping 'www/mod_php4' (mod_php4-4.4.1_3,1) because a  
requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k  
to force)
---  Skipping 'databases/adodb' (adodb-4.68) because a requisite  
package 'apache-2.0.55_2' (www/apache20) failed (specify -k to force)
---  Skipping 'devel/php4-gettext' (php4-gettext-4.4.1_3) because a  
requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k  
to force)
---  Skipping 'archivers/php4-bz2' (php4-bz2-4.4.1_3) because a  
requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k  
to force)
---  Skipping 'databases/php4-mysql' (php4-mysql-4.4.1_3) because a  
requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k  
to force)
---  Skipping 'converters/php4-mbstring' (php4-mbstring-4.4.1_3)  
because a requisite package 'apache-2.0.55_2' (www/apache20) failed  
(specify -k to force)
---  Skipping 'archivers/php4-zlib' (php4-zlib-4.4.1_3) because a  
requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k  
to force)
---  Skipping 'sysutils/php4-posix' (php4-posix-4.4.1_3) because a  
requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k  
to force)
---  Skipping 'www/php4-session' (php4-session-4.4.1_3) because a  
requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k  
to force)
---  Skipping 'net/php4-xmlrpc' (php4-xmlrpc-4.4.1_3) because a  
requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k  
to force)
---  Skipping 'www/eaccelerator' (eaccelerator-0.9.4.r1_1) because a  
requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k  
to force)
---  Skipping 'security/php4-openssl' (php4-openssl-4.4.1_3) because  
a requisite package 'apache-2.0.55_2' (www/apache20) failed (specify - 
k to force)
---  Skipping 'security/php4-mcrypt' (php4-mcrypt-4.4.1_3) because a  
requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k  
to force)
---  Skipping 'devel/php4-pcre' (php4-pcre-4.4.1_3) because a  
requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k  
to force)
---  Skipping 'textproc/php4-ctype' (php4-ctype-4.4.1_3) because a  
requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k  
to force)
---  Skipping 'lang/php4-overload' (php4-overload-4.4.1_3) because a  
requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k  
to force)
---  Skipping 'devel/php4-tokenizer' (php4-tokenizer-4.4.1_3)  
because a requisite package 'apache-2.0.55_2' (www/apache20) failed  
(specify -k to force)
---  Skipping 'textproc/php4-xml' (php4-xml-4.4.1_3) because a  
requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k  
to force)
---  Skipping 'www/drupal' (drupal-4.6.5_1) because a requisite  
package 'apache-2.0.55_2' (www/apache20) failed (specify -k to force)
---  Skipping 'security/php4-mhash' (php4-mhash-4.4.1_3) because a  
requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k  
to force)
** Package origin of 'emacs' has been changed: 'editors/emacs' -  
'editors/emacs19'
** No need to upgrade 'emacs-21.3_9' (= emacs-19.34b_1). (specify -f  
to force)
---  Skipping 'graphics/php4-gd' (php4-gd-4.4.1_3) because a  
requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k  
to force)
---  Skipping 'lang/php4-extensions' (php4-extensions-1.0) because a  
requisite package 'php4-zlib-4.4.1_3' (archivers/php4-zlib) failed  
(specify -k to force)
---  Skipping 'www/phpwiki' (phpwiki-1.2.10_1) because a requisite  
package 'php4-zlib-4.4.1_3' (archivers/php4-zlib) failed (specify -k  
to force)
---  Skipping 'graphics/phplot' (phplot-4.4.6_2) because a requisite  
package 'apache-2.0.55_2' (www/apache20) failed (specify -k to force)
---  Skipping 'www/wordpress' (wordpress-2.0.0,1) because a  
requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k  
to force)
---  Skipping 'www/phpSysInfo' (phpSysInfo-2.5.1) because a  
requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k  
to force)
---  Skipping 'mail/squirrelmail' (squirrelmail-1.4.5_2) because a  
requisite package 'php4-gettext-4.4.1_3' (devel/php4-gettext) failed  
(specify -k to force)
---  Skipping 'www/gallery2' (gallery2-2.0.2) because a requisite  
package 'apache-2.0.55_2' (www/apache20) failed (specify -k to force)
---  Skipping 'graphics/jpgraph' (jpgraph-1.19) because a requisite  
package 'apache-2.0.55_2' (www/apache20) failed (specify -k to force)
---  Skipping 'print/pecl-pdflib' (pecl-pdflib-2.0.4) because a  
requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k  
to force)
---  Skipping 

Re: Rootkit detection

2006-01-15 Thread chris
Some NSP's which are network service providers use private ip's and will
tend to give you those type of arp msg's if your are part of the network i
would say if nothing seem different either format and reinstall the damn
thing or fix it as to what i see your dont have a root kit as root kits
dont change your ip they just make a hole for a remote person to login
mostly if you are too concerned try adding ipfw,pf or a router to your
home network and format the bsd machine as ou ben asking here for some
time.
 Hi again,

 Well check this
 the message in my /var/log/messages is:
 kernel: arp: 192.168.2.34 moved from 00:13:8f:4c:1b:41 to
 00:11:2f:0c:b1:0a on rl0

 So Hmm now that i am thinking of it again:

 server /kernel: arp 00:11:43:4a:8d:18 is using my IP address
 192.168.0.102

 This also looks like an IP conflict!! And it is not similar to mine, even
 if it can be the same...
 Someone more experienced maybe can make this clear. To be honest i haven't
 seen the output you posted before...

 Sorry for the inconvenience if i was wrong before..

 Spiros


-Original Message-
From: Graham North [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Date: Sun, 15 Jan 2006 12:23:08 -0800
Subject: Rootkit detection

I would like to determine if my server has had rootkit installed by a
hacker.
FBSD 4.11.   Main entrances are only http, ssh and also webmin.

My server went down sometime recently.   When I went investigate there
was a somewhat nasty message saying:

server /kernel: arp 00:11:43:4a:8d:18 is using my
IP address
192.168.0.102

The mac address 00:11:43:4a:8d:18 does not belong to any of my hardware.
(server is a pseudonymn for this email but is the machine name for the
server on my home network - 192.68.0.102 is the LAN addr on my router)

The auth log files have been rolled over several times in the last few
weeks and I have not unzipped them yet to see if any entries were
accepted but the most recent one is filled with unsuccessful attacks to
sshd on high port numbers, ie sshd[86417].
My biggest concern is the message at the top of this email server
/kernel: arp 00:11:43:4a:8d:18 is using my IP address 192.168.0.102, it
sounds scary.

Can someone give please me some guidance as to how to determine whether
my machine is comprimised?
Thanks,  Graham/

--
Kindness can be infectious - try it.

Graham North
Vancouver, BC
www.soleado.ca

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





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


Re: help me....

2006-01-15 Thread chris
First off that error with the geometry is normall i got that installing
freebsd onto a 250gig HD the error with the writing to disk are you sure
the bios sees the new drive all cables are connected freebsd propperly
support your SATA2 controller ?
 Hello


 I can't english well (I'm in the middle of learn) so I may make a
 mistakes.

 So... I have a big problem with FreeBSD system. I was download a CD
 images from FreeBSD site, I burn it on CD and install system on hard
 disk. All working well. In last week I bought new computer (processor,
 motherboard with graphic card, and DVD - RAM recorder).

 I was load CD 1, chosen default boot, next - standard, chosen ok in
 window, where was about fdisk, chosen ad0. Next I was saw comunique:



 Warning: A geometry of 77545/16/63 for ad0 is incorrect. Using a more
 likely geometry. If this geometry is incorrect or you are unsure as to
 whether or not it's correct, please consult the Hardware Guide in the
 Documentation submenu or use the (G)eometry command to change it now

 Remember: you need to enter whatever your BIOS thinks the geometry is!
 For IDE it's what yoy were told in the BIOS setup. For SCSI, it's the
 translation mode your controller is using. Do NOT use a physical
 geometry



 I chosen od, made partition and slices, chosen install, and I saw a
 communique, where I read about error, that computer can't write data
 on disk and it's end of instalation

 Configuration of my old computer:


 motherboart: ASrock k7s8x,
 384MB RAM,
 GeForce 2 MX 400,
 Hard Disks: Western Digital 40 GB (ATA 133), i Samsung 60GB (ATA 133).
 Processor: Duron 1400
 Ethernet Card (LAN) - SIS 10/100 integrated with motherboard
 Sound Card - AC 97 - system didn't detect it correctly


 Configuration of my new computer:

 motherboard: 939NF4G - SATA2
 Processor: AMD Athlon 64 3200+ venice socket 939
 Graphic card - integrated with motherboard - GeForce 6100 - memory
 128MB
 LAN - integrated with motherboard -  Realtek PHY RTL8201CL
 Sound card -  Realtek ALC850 7.1channel AC'97 audio codec
 RAM - 768MB (128 MB shared by Graphic Card, so aviable is 640MB)
 BIOS wersion - AMI P1.30


 Help me ;(I was searching in the Hardware Guide, and I searched
 somethink about this problem. I read, that I must write a command, but
 I don't know how and where. This is this command:

 /stand/sysinstall [var=value ..] [command ..]


 I was read, that I must put 'geometry' instead of value. And enter
 into:

 /usr/local/bin/configPackages



 Help me... ;(  I don't know what to do...

 If it's possible, I solicit for some exect leads, because I'm
 beginning in linux systems and if you can (may) write in polish ;)



 Ps. I'm sory for mistakes :)







 ===
 Polish wersion of this message:
 ===

 Witam!


 Mam du¿y problem z FreeBSD. Mianowicie... œci¹g³em sobie system ze
 strony www.freebsd.org  wypali³em na 2 p³ytach CD i zainstalowa³em.
 Wszystko dobrze chodzi³o... do czasu a¿ zmieni³em komputer tzn. dysk
 twardy, RAM i nagrywarke mam ze starego. Moja stara konfiguracja:

 P³yta g³. ASrock k7s8x,
 384MB RAM,
 GeForce 2 MX 400,
 Dyski twarde: Western Digital 40 GB (ATA 133), i Samsung 60GB (ATA 133).
 Procesor: Duron 1400
 Karta sieciowa - SIS 10/100 zintegrowana z p³yt¹ g³ówn¹
 Karta dŸwiêkowa - AC 97 - system jej nie wykrywa³ poprawnie

 Na powy¿szym sprzêcie system pracowa³ bezb³êdnie, z wyj¹tkiem
 wspomnianej karty dŸwiêkowej.


 Moja obecna konfiguracja:

 P³. g³ówna: 939NF4G - SATA2
 Procesor: AMD Athlon 64 3200+ venice socket 939
 Karta graficzna - zintegrowana z p³yt¹ g³ówn¹ - GeForce 6100 - pamiêæ
 128MB
 Karta sieciowa - zintegrowana z p³yt¹ g³ówn¹ -  Realtek PHY RTL8201CL
 Karta dŸwiêkowa -  Realtek ALC850 7.1channel AC'97 audio codec
 RAM - 768MB (128 zarezerwowane dla karty graficznej wiêc dostêpne jest
 640MB RAM)
 Wersja BIOS-u - P1.30


 I wzi¹³em wyczyszczony dysk (bez jakichkolwiek partycji) pod³¹czony
 jako jedyny dysk, po wybraniu opcji default boot, wybraniu opcji
 standard, naciœniêciu ok w oknie gdzie pisze coœ o fdisk-u, wybraniu
 dysku - w moim przypadku ad0 wyœwietla sie komunikat:



 Warning: A geometry of 77545/16/63 for ad0 is incorrect. Using a more
 likely geometry. If this geometry is incorrect or you are unsure as to
 whether or not it's correct, please consult the Hardware Guide in the
 Documentation submenu or use the (G)eometry command to change it now

 Remember: you need to enter whatever your BIOS thinks the geometry is!
 For IDE it's what yoy were told in the BIOS setup. For SCSI, it's the
 translation mode your controller is using. Do NOT use a physical
 geometry



 I nic da³em na ok, rozplanowa³em partycje da³em na instaluj i pojawi³
 mi siê komunikat o b³êdzie, ¿e nie mo¿na zapisaæ danych na dysk i na
 tym koniec.

 Próbowa³em zainstalowaæ FreeBSD w wersji 5.4 (i386), 6.0 (i386), 6.0
 (AMD 64) i ci¹gle siê pojawia ten komunikat.

 Jeœli to Was pocieszy, to linux SuSE nie wykry³ mi wogóle 

Re: message appears at prompt

2006-01-15 Thread chris
Something is allready binding to port 22 use netstat -4l and see if you
have sshd running allready

 The following messages are appearing at my terminal on a frequent basis:

 (Jan 15 09:23:05 e-mach login: ROOT LOGIN (root) ON ttyv0
 Jan 15 09:25:43 e-mach login: ROOT LOGIN (root) ON ttyv0 preceeding
 from /var/log/messages)
 (these are the messages of concern:)
 Jan 15 09:32:54 e-mach inetd[503]: ssh/tcp: bind: Address already in use
 Jan 15 09:42:54 e-mach inetd[503]: ssh/tcp: bind: Address already in use
 Jan 15 09:52:54 e-mach inetd[503]: ssh/tcp: bind: Address already in use
 The question is:
 What is going on here?
 It appears to be a conflict as one process is trying to bind to an
 address that is being used by another process
 However, I don't know if that is what 'bind' is in this context. If it
 doesn't mean DNS BIND then that eliminates
 that possibility.
 Please excuse my newbe question but I hope it doesn't mean that
 someone's script has snuck onto my
 machine from the network and beyond. These messages are appearing when
 the proxy/router machine
 is not even turned on.
 I would chase this down myself and not use the list but I don't know
 enough of where to look.
 The only clue I have is that sshd starts on boot and is also enabled in
 inetd.conf. Could this
 be the conflict?
 Thanks so much
 JK

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



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


Re: Pooomooocyyyy ;(

2006-01-15 Thread Greg 'groggy' Lehey
On Saturday, 14 January 2006 at 20:02:02 +0100, Karol Kwiatkowski wrote:
 vocativus wrote:
 Witam!

 [...]

 Cze¶æ vocativus,

 Nie wiem w czym tkwi problem, ale spróbuj zapytaæ na polskim forum
 systemów BSD:
   http://www.bsdguru.org/dyskusja/

As I said a couple of days ago, this is an English language list.  In
a case like this, it would be appropriate to *not* copy the list on
the reply, despite the policy to the contrary.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpL5s7xBcJWv.pgp
Description: PGP signature


Re: Lost Root Pasword.

2006-01-15 Thread chris
Booting to safe mode still ask's for the password if the console is set to
insecure just thought i would point that out
 I would have prefer to let someone more experienced speak, but since
 there is not much answers

 To reset your root password I think there are two solutions:
 1) Boot in safe-mode, I think it will not ask password, and you can
 juste use the passwd to reset the password.
 2) Boot with another FreeBSD install (live CD or so). Mount the
 partitions you have installed FreeBSD on. chroot then passwd should
 work.
 I know it is confuse but I only did that with Mac OS X.

 Warning: Remember that encrypted partition can only be decrypted using
 the password.

 Good luck,
 Laurent.

 On 1/14/06, Grant Peel [EMAIL PROTECTED] wrote:
 Hi all,

 Here is a particularly embarrasing statement and question.

 S: While working on a FreeBSD 4.4 dev box, changed the root password,
 but
 now, cant su. the password I used is  12 chars long, and was made
 intentionally cryptic. I know all the chars used in the password (yes I
 have
 it written down).

 Q: Where are all the ssh password 'guessing' utilities I see the hackers
 using on my system? Located, I could really use one.

 Failing this, I will need to drive to TO and reboot the system by hand
 and
 change the passwd. a waste of $50 in gas.

 -Grant


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

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



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


Re: Problems with X11 Forwarding

2006-01-15 Thread Garrett Cooper

Nikolas Britton wrote:

On 1/15/06, Aaron Dalton [EMAIL PROTECTED] wrote:
  

I thought this might be the best place to post the question.  I am
running FreeBSD5.4-RELEASE.  For the sake of argument, let's say I am
trying to get the port editors/fte running on my Windows box via an SSH
tunnel.  I am running WindowsXP, cygwin's X11 server, and PUTTY.  As far
as I can tell from all my Googling, this should actually be quite simple:

- openssh is setup on FreeBSD with X11Forwarding=yes
- I start the cygwin X-server (XWin -ac -multiwindow)
- Putty is configured to forward X11 sessions
- I connect via Putty
- running '$ fte' from the FreeBSD command line should supposedly open
everything up now on my Windows box, but it does not.

 From what I understand, when I connect now via Putty the env variable
DISPLAY should be set.  But it is not (which is the error fte gives me
when I try to run it).  If I try to manually set the DISPLAY variable (I
tried localhost:0, localhost:0.0, ip:0, ip:0.0) it still doesn't work.
editors/fte is fully installed (with X11libs and all that) but I wonder
if there is more I need installed on the FreeBSD end to make things work.




If you have cygwin installed why use putty? Just fire up xterm and use
ssh -X. You could try this too: http://xlivecd.indiana.edu/
  


ssh -X is deprecated in many cases I noticed, so I suggest using ssh -Y.
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Pooomooocyyyy ;(

2006-01-15 Thread Don Hinton
Hi Greg:

On Sunday 15 January 2006 16:28, Greg 'groggy' Lehey wrote:
 On Saturday, 14 January 2006 at 20:02:02 +0100, Karol Kwiatkowski wrote:
  vocativus wrote:
  Witam!
 
  [...]
 
  Cze¶æ vocativus,
 
  Nie wiem w czym tkwi problem, ale spróbuj zapytaæ na polskim forum
  systemów BSD:
  http://www.bsdguru.org/dyskusja/

 As I said a couple of days ago, this is an English language list.  In
 a case like this, it would be appropriate to *not* copy the list on
 the reply, despite the policy to the contrary.

Where exactly does it say that this is an english only list?

ciao...
don


 Greg
 --
 When replying to this message, please copy the original recipients.
 If you don't, I may ignore the reply or reply to the original recipients.
 For more information, see http://www.lemis.com/questions.html
 See complete headers for address and phone numbers.

-- 
Don Hinton don.hinton at vanderbilt.edu615.480.5667
ISIS, Vanderbilt University


pgpfYs0E87FoW.pgp
Description: PGP signature


English only, please (was: Pooomooocyyyy ;()

2006-01-15 Thread Greg 'groggy' Lehey
On Sunday, 15 January 2006 at 16:49:27 -0600, Don Hinton wrote:
 Hi Greg:

 On Sunday 15 January 2006 16:28, Greg 'groggy' Lehey wrote:
 On Saturday, 14 January 2006 at 20:02:02 +0100, Karol Kwiatkowski wrote:
 vocativus wrote:
 Witam!

 [...]

 Cze¶æ vocativus,

 Nie wiem w czym tkwi problem, ale spróbuj zapytaæ na polskim forum
 systemów BSD:
 http://www.bsdguru.org/dyskusja/

 As I said a couple of days ago, this is an English language list.  In
 a case like this, it would be appropriate to *not* copy the list on
 the reply, despite the policy to the contrary.

 Where exactly does it say that this is an english only list?

I suppose you have a point.  It's implicit; it should be spelt out.
At http://www.freebsd.org/community/mailinglists.html you have a
choice of Mailing Lists or Non-English Mailing Lists.  -questions
is under the former link; the Polish mailing lists are under the
latter.  At
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions/
there's a reference to an inability to speak English.  But we should
really do something about writing a charter that makes it clear.
Anybody feel like having a go?

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpvru2bFcInQ.pgp
Description: PGP signature


Re: mysql backups (was Re: Remote backups, reading from and writing to the same file)

2006-01-15 Thread Greg 'groggy' Lehey
On Sunday, 15 January 2006 at  4:28:15 +0100, Hans Nieser wrote:
 N.J. Thomas wrote:
 * Hans Nieser [EMAIL PROTECTED] [2006-01-13 00:25:14 +0100]:
 Among the things being backed up are my mysql database tables. This
 made me wonder wether the backup could possibly get borked when mysql
 writes to any of the mysql tables while tar is reading from them.

 Yes. While MySQL is writing to the the database, it will put the files
 on the disk in an inconsistent state. If you happen to copy those files
 while they are in that state, MySQL will see a corrupted database.

 Thanks for the replies all. I think for the short term I will simply
 lock/shutdown my MySQL server (it is a home-server after all), in the long
 term I think I will look into snapshotting. I've also been thinking about
 just doing an SQL dump with mysqldump right before the backup, that will
 still copy along the tables which may be in an inconsistent state, but
 also the sql dump.

We (MySQL) are currently working on an online backup solution which
will address the issues you mention.  We don't have a firm date yet,
but it should be this year.  If you or anybody else has feature
requests, please let me know (preferably [EMAIL PROTECTED], but this
address will work too).

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpWZZBS17BBb.pgp
Description: PGP signature


KGpg question

2006-01-15 Thread Vasile Cristescu
when I try to add a new key I get this mesage :

Decription failed.
 gpg: cannot open `dev/tty': Device not configured

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


RE: portupgrade errors

2006-01-15 Thread Mike Loiterman
Mike Loiterman mailto:[EMAIL PROTECTED] wrote:
 When I run portupgrade, I'm getting the following errors:
 
 # portupgrade -a
 ** Makefile possibly broken: www/apache20:
  Makefile, line 190: warning: duplicate script for target
 print-closest-mirrors ignored
  Makefile, line 197: warning: duplicate script for target
 print-closest-mirrors ignored
  apache-2.0.55_2
 
 
 ---  Skipping 'www/mod_php4' (mod_php4-4.4.1_3,1) because a
 requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k
 to force)
 ---  Skipping 'databases/adodb' (adodb-4.68) because a requisite
 package 'apache-2.0.55_2' (www/apache20) failed (specify -k to force)
 ---  Skipping 'devel/php4-gettext' (php4-gettext-4.4.1_3) because a
 requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k
 to force)
 ---  Skipping 'archivers/php4-bz2' (php4-bz2-4.4.1_3) because a
 requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k
 to force)
 ---  Skipping 'databases/php4-mysql' (php4-mysql-4.4.1_3) because a
 requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k
 to force)
 ---  Skipping 'converters/php4-mbstring' (php4-mbstring-4.4.1_3)
 because a requisite package 'apache-2.0.55_2' (www/apache20) failed
 (specify -k to force) ---  Skipping 'archivers/php4-zlib'
 (php4-zlib-4.4.1_3) because a requisite package 'apache-2.0.55_2'
 (www/apache20) failed (specify -k to force)
 ---  Skipping 'sysutils/php4-posix' (php4-posix-4.4.1_3) because a
 requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k
 to force)
 ---  Skipping 'www/php4-session' (php4-session-4.4.1_3) because a
 requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k
 to force)
 ---  Skipping 'net/php4-xmlrpc' (php4-xmlrpc-4.4.1_3) because a
 requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k
 to force)
 ---  Skipping 'www/eaccelerator' (eaccelerator-0.9.4.r1_1)
 because a
 requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k
 to force)
 ---  Skipping 'security/php4-openssl' (php4-openssl-4.4.1_3)
 because
 a requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -
 k to force)
 ---  Skipping 'security/php4-mcrypt' (php4-mcrypt-4.4.1_3)
 because a
 requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k
 to force)
 ---  Skipping 'devel/php4-pcre' (php4-pcre-4.4.1_3) because a
 requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k
 to force)
 ---  Skipping 'textproc/php4-ctype' (php4-ctype-4.4.1_3) because a
 requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k
 to force)
 ---  Skipping 'lang/php4-overload' (php4-overload-4.4.1_3)
 because a
 requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k
 to force)
 ---  Skipping 'devel/php4-tokenizer' (php4-tokenizer-4.4.1_3)
 because a requisite package 'apache-2.0.55_2' (www/apache20) failed
 (specify -k to force) ---  Skipping 'textproc/php4-xml'
 (php4-xml-4.4.1_3) because a requisite package 'apache-2.0.55_2'
 (www/apache20) failed (specify -k to force)
 ---  Skipping 'www/drupal' (drupal-4.6.5_1) because a requisite
 package 'apache-2.0.55_2' (www/apache20) failed (specify -k to force)
 ---  Skipping 'security/php4-mhash' (php4-mhash-4.4.1_3) because a
 requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k
 to force)
 ** Package origin of 'emacs' has been changed: 'editors/emacs' -
 'editors/emacs19' 
 ** No need to upgrade 'emacs-21.3_9' (= emacs-19.34b_1). (specify -f
 to force)
 ---  Skipping 'graphics/php4-gd' (php4-gd-4.4.1_3) because a
 requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k
 to force)
 ---  Skipping 'lang/php4-extensions' (php4-extensions-1.0)
 because a
 requisite package 'php4-zlib-4.4.1_3' (archivers/php4-zlib) failed
 (specify -k to force) ---  Skipping 'www/phpwiki' (phpwiki-1.2.10_1)
 because a requisite package 'php4-zlib-4.4.1_3' (archivers/php4-zlib)
 failed (specify -k to force) ---  Skipping 'graphics/phplot'
 (phplot-4.4.6_2) because a 
 requisite
 package 'apache-2.0.55_2' (www/apache20) failed (specify -k to force)
 ---  Skipping 'www/wordpress' (wordpress-2.0.0,1) because a
 requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k
 to force)
 ---  Skipping 'www/phpSysInfo' (phpSysInfo-2.5.1) because a
 requisite package 'apache-2.0.55_2' (www/apache20) failed (specify -k
 to force)
 ---  Skipping 'mail/squirrelmail' (squirrelmail-1.4.5_2) because a
 requisite package 'php4-gettext-4.4.1_3' (devel/php4-gettext) failed
 (specify -k to force) ---  Skipping 'www/gallery2' (gallery2-2.0.2)
 because a requisite package 'apache-2.0.55_2' (www/apache20) failed
 (specify -k to force) ---  Skipping 'graphics/jpgraph'
 (jpgraph-1.19) because a requisite package 'apache-2.0.55_2'
 (www/apache20) failed (specify -k to force) ---  Skipping
 'print/pecl-pdflib' (pecl-pdflib-2.0.4) because a requisite package
 'apache-2.0.55_2' (www/apache20) failed (specify -k 

Re: portupgrade errors

2006-01-15 Thread Gerard Seibert
Subject: portupgrade errors

 1.  I deleted /usr/port/www/apache20
 2.  Deleted INDEX.*
 3.  cvsup'ed
 4.  portsdb -uU
 5.  pkgdb -F (No errors were shown).
 6.  portupgrade -arR
 
 Still getting the same errors.

You might try this approach.

Update your ports tree.

Install 'sysutils/portmanager'.

Then run 'portsclean -C -D -DD -L -P -PP' which should pretty much clean
up any previous build attempts.

Now run 'portmanager -u -f -l -y'

Once it finishes, your system should be good to go.

-- 
Gerard Seibert
[EMAIL PROTECTED]

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


ipfw+antispoof breaks IPv6 link local

2006-01-15 Thread Wojciech Puchar

can it be solved?

with first rule in my firewall config i have

flush
add 2 deny ip from any to any not antispoof


works fine - as long as no IPv6 link-local communication is needed - 
route6d is an example.


changing it to

add 2 deny ip4 from any to any not antispoof


is using link-local addresses spoofing?!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: English only, please (was: Pooomooocyyyy ;()

2006-01-15 Thread Jerry McAllister
 
 On Sunday, 15 January 2006 at 16:49:27 -0600, Don Hinton wrote:
  Hi Greg:
 
  On Sunday 15 January 2006 16:28, Greg 'groggy' Lehey wrote:
  On Saturday, 14 January 2006 at 20:02:02 +0100, Karol Kwiatkowski wrote:
  vocativus wrote:
  Witam!
 
  [...]
http://www.bsdguru.org/dyskusja/
 
  As I said a couple of days ago, this is an English language list.  In
  a case like this, it would be appropriate to *not* copy the list on
  the reply, despite the policy to the contrary.
 
  Where exactly does it say that this is an english only list?
 
 I suppose you have a point.  It's implicit; it should be spelt out.
 At http://www.freebsd.org/community/mailinglists.html you have a
 choice of Mailing Lists or Non-English Mailing Lists.  -questions
 is under the former link; the Polish mailing lists are under the
 latter.  At
 http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions/
 there's a reference to an inability to speak English.  But we should
 really do something about writing a charter that makes it clear.
 Anybody feel like having a go?

I don't really mind someone posting a question in another language as
long as they realize that most of us will not be able to respond to it.
Often enough, I think, there are others out there who can handle that
language and they can respond.  Hopefully they will not turn it is to
a long running exchange on list in some other language.  

Now, if someone posts a question in something besides English and then
begins to rant and flame people for not responding, then it is not
acceptable.   But, just starting a question here in another language
is not so onerous.

jerry

 
 Greg
 --
 When replying to this message, please copy the original recipients.
 If you don't, I may ignore the reply or reply to the original recipients.
 For more information, see http://www.lemis.com/questions.html
 See complete headers for address and phone numbers.
 
 --SA70dWWv8Z+SnoUH
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.1 (FreeBSD)
 
 iD8DBQFDytSKIubykFB6QiMRAuglAJ0TCv8myrrOtPQzb2ryP7mQKjFB1wCghtw/
 qV3CukL8rFshuVl2JJ1yW5g=
 =67AN
 -END PGP SIGNATURE-
 
 --SA70dWWv8Z+SnoUH--
 

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


mount_nullfs dangerous?

2006-01-15 Thread Petr Murmak
Hi!

I want to use mount_nullfs on FreeBSD 6.0-STABLE AMD64 to share part of
filesystem tree between different jails, but i found this in man pages for
mount_nullfs:

BUGS
 THIS FILE SYSTEM TYPE IS NOT YET FULLY SUPPORTED (READ: IT DOESN'T
WORK)
 AND USING IT MAY, IN FACT, DESTROY DATA ON YOUR SYSTEM.  USE AT YOUR
OWN
 RISK.  BEWARE OF DOG.  SLIPPERY WHEN WET.

Is this still valid? Because there is date May 1, 1995 underneath, so it is
near 11 years old warning!?

Petr

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


Re: mount_nullfs dangerous?

2006-01-15 Thread Kris Kennaway
On Mon, Jan 16, 2006 at 02:22:05AM +0100, Petr Murmak wrote:
 Hi!
 
 I want to use mount_nullfs on FreeBSD 6.0-STABLE AMD64 to share part of
 filesystem tree between different jails, but i found this in man pages for
 mount_nullfs:
 
 BUGS
  THIS FILE SYSTEM TYPE IS NOT YET FULLY SUPPORTED (READ: IT DOESN'T
 WORK)
  AND USING IT MAY, IN FACT, DESTROY DATA ON YOUR SYSTEM.  USE AT YOUR
 OWN
  RISK.  BEWARE OF DOG.  SLIPPERY WHEN WET.
 
 Is this still valid? Because there is date May 1, 1995 underneath, so it is
 near 11 years old warning!?

On 6.0 and above it is fine.

Kris


pgpsYQ6qtYoUA.pgp
Description: PGP signature


Re: mount_nullfs dangerous?

2006-01-15 Thread Kris Kennaway
On Mon, Jan 16, 2006 at 02:22:05AM +0100, Petr Murmak wrote:
 Hi!
 
 I want to use mount_nullfs on FreeBSD 6.0-STABLE AMD64 to share part of
 filesystem tree between different jails, but i found this in man pages for
 mount_nullfs:
 
 BUGS
  THIS FILE SYSTEM TYPE IS NOT YET FULLY SUPPORTED (READ: IT DOESN'T
 WORK)
  AND USING IT MAY, IN FACT, DESTROY DATA ON YOUR SYSTEM.  USE AT YOUR
 OWN
  RISK.  BEWARE OF DOG.  SLIPPERY WHEN WET.
 
 Is this still valid? Because there is date May 1, 1995 underneath, so it is
 near 11 years old warning!?

I just removed the warning, BTW.

Kris


pgpE9TzQNSb82.pgp
Description: PGP signature


Re: English only, please

2006-01-15 Thread Kevin Kinsey

Greg 'groggy' Lehey wrote:


On Sunday, 15 January 2006 at 16:49:27 -0600, Don Hinton wrote:
 


Hi Greg:

   


snipped


Where exactly does it say that this is an english only list?
   



I suppose you have a point.  It's implicit; it should be spelt out.
At http://www.freebsd.org/community/mailinglists.html you have a
choice of Mailing Lists or Non-English Mailing Lists.  -questions
is under the former link; the Polish mailing lists are under the
latter.  At
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions/
there's a reference to an inability to speak English.  But we should
really do something about writing a charter that makes it clear.
Anybody feel like having a go?

Greg



A virtual friend of mine (Kiwi, but don't really know his name)
has written this for a programming forum I frequent:

 To those people for whom English is a foreign language, I can
only offer this: English is - for better or worse - the /de facto/ 
/lingua Terra/.

Accidents of history (the British Empire, the U.S. free market) have
made English the standard language for international communication.
I'm not telling you anything you don't already know, of course, and
it /is/ nice to have a common language. But I can tell you that I'd rather
try and read something that has been run through a babelfish translator
(like those at Altavista and Google) than some of the verbal sewage
that some native English speakers seem to think is acceptable.

I suppose I could ask him if his quote is BSD-licensed, or compatible. ;-)

KDK

--
A well-known friend is a treasure.


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


FreeBSD 6.0 smbfs problem

2006-01-15 Thread RdBSD
Dear All,

The same with previous question :

Now i can mount our NT system from freeBSD 6.0 Stable box with samba server
installed. but i have a little problem. I see in kernel log say :

smb_maperror: Unmapped error 1:158

this log appear when i try to mounting and execute excel file from Samba
Server
share.

NT Share - Samba Server [Mounting NT Share] - Client Login to Samba Server
and Execute Excel File.


This only happen in Excel File. Then excel say something like sharing
violation error ?



Is this some kernel errors or samba errors ?




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


Re: Mail filtering at server

2006-01-15 Thread Kevin Kinsey

Frank Staals wrote:


Hey,

I'm running FreeBSD 5-stable and I'm using the
system as mailserver, so I set up sendmail using
this guide:

http://www.puresimplicity.net/~hemi/freebsd/sendmail.html

as imap server I'm using imap-uw. Now I would like to do the following:

1) I would like to get all mail from [EMAIL PROTECTED]
in a seperate directory. Currently I do this by filtering my
mail in the mailclient ( Thunderbird ). The directory it uses
for this is currently ~/mail/Questions/ so I would like to keep
that, how can I do this ? Can I add this to /etc/mail/access ?
what would then be the syntax ?

2) I would also like to filter my mail for spam, again:
currently I set up thunderbird to do this: the mail
marked as spam/junk dissapears into the junk folder:
( ~/mail/junk ) What is the best way to set this up ?
can this be done by sendmail itself or should I install
an other program from the portstree

Thanks in advance,



First question:  what's wrong with the way TBird does it?
(Sorry, that's the consultant in me coming out) It does
seem like you want whatever you use to do it in the same
way that it's currently being done, so why change?

In particular, your (2) above is an area of little consensus;
about the only thing most people agree on is that spammers
should have *some* body part removed, but we can't even
agree which one, much less exactly how to handle their
um, product.

Some argue that spam should not be processed by your
MTA at all; this has resulted in blacklisting and greylisting.
Others figure that an automatic trashing of the spam after
receipt is OK.  First, decide which you are/want to be.

Sendmail has, IIRC, a built in way to check RealTime blackhole
DNS lists.  Any farther than that, you get into Milter (Mail
fILTER) or SpamAssassin (as mentioned previously) or Amavis
+SpamAssassin, or ..., or ... (there are several ways to skin
the cat).

Quite possibly, the best question for you ATM is:  are you
protecting just yourself from spam, or are others going to
be affected by what you do to your SendMail?

Then, do some research and reading on the problem.

I've tried SendMail+Amavis+SpamAssassin with some success.
One big issue for me: time to administer the server, in particular
the learning curve phase.

I've also done some other tricks, like listing IP blocks against
sendmail in /etc/hosts.allow; but this has gotten me into trouble
as, occasionally, international correspondents (like here on the
lists) ended up blocked by my MTA.

So, good luck! and, to each his own.

Kevin Kinsey

--
Love is the delusion that one woman differs from another.
-- H. L. Mencken


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


Re: English only, please

2006-01-15 Thread Greg 'groggy' Lehey
On Sunday, 15 January 2006 at 19:45:45 -0600, Kevin Kinsey wrote:
 Greg 'groggy' Lehey wrote:
 On Sunday, 15 January 2006 at 16:49:27 -0600, Don Hinton wrote:

 Where exactly does it say that this is an english only list?

 I suppose you have a point.  It's implicit; it should be spelt out.
 At http://www.freebsd.org/community/mailinglists.html you have a
 choice of Mailing Lists or Non-English Mailing Lists.  -questions
 is under the former link; the Polish mailing lists are under the
 latter.  At
 http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions/
 there's a reference to an inability to speak English.  But we should
 really do something about writing a charter that makes it clear.
 Anybody feel like having a go?

 A virtual friend of mine (Kiwi, but don't really know his name)
 has written this for a programming forum I frequent:

  To those people for whom English is a foreign language, I can
 only offer this: English is - for better or worse - the /de facto/
 /lingua Terra/.

Hmm.  I don't want to justify the choice of language, just state it.
It's an interesting document, but I don't think it's what we want.

Greg
--
See complete headers for address and phone numbers.


pgpROUGdeWioi.pgp
Description: PGP signature


Re: canned distribution's i86 disk space requirements?

2006-01-15 Thread Nikolas Britton
On 1/13/06, Kael Fischer [EMAIL PROTECTED] wrote:
 Hi all:

 I am curious as to the disk space requirements of the various canned
 distribution sets on i86 hardware.

 While the following excerpt from the Handbook
 (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-pre.html)
 was accurate back in the day (I've been using FreeBSD since 2.2.X), it
 doesn't seem to have much relationship to the Minimal canned
 distributions in 6.0-Release.  It certainly seems that X has grown
 larger than the 100 MB suggested.

  A minimal installation of FreeBSD takes as little as 100 MB of disk
  space. However, that is a very minimal install, leaving almost no
  space for your own files. A more realistic minimum is 250 MB without
  a graphical environment, and 350 MB or more if you want a graphical
  user interface. If you intend to install a lot of third party software as
  well, then you will need more space.

 Does anyone know how much space Minimal, User and X-User take to
 install?  This would be excellent information to have available for
 the user and sysinstall itself.

 What would be almost too much to hope for, would be some error
 checking where the diskspace requirements of the selected packages are
 compared to the requested partitioning scheme before the commit.  It
 was a dream I had once...  The current failure mode is inelegant.

 [this is not a flame about sysinstall...  i find it easy to use, most
 of the time, and it has improved over the years.]

 If someone knows the answer, let's get it into the handbook.  Or
 perhaps someone has hooks for sysinstall/dist.h and dist.c that can
 pull out the tar file names (e.g. base.am,...) for various sets?  I
 imagine that a basic understanding of the install process would be all
 that is really needed to figure out what files are used for what sets.


The attached report I made should answer all of your questions.

--
Please sign the native Flash player for FreeBSD petition:
http://www.petitiononline.com/flash4me/petition.html


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

ataraid doesn't support dumps

2006-01-15 Thread Steven Friedrich
I've recently upgraded from 5.4 to 6-Stable.

I'm using the ar ataraid device on my Promise controller on the ASUS 
moboard.

Are there any plans to add dump support to the ar driver?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OS use rate

2006-01-15 Thread Foo Ji-Haw
And nobody in your project uses Windows too? Not even 3.1?

- Original Message - 
From: n-n [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, January 14, 2006 9:33 PM
Subject: OS use rate


 OS use rate in my project.
 2005/01/10 - 2006/01/10
 RedHat Enterprise Linux ES3.0 - 3947
 RedHat Enterprise Linux AS3.0 - 1287
 Sun Solaris 9 - 583
 *BSD - 0


 --
 Yahoo! Mail - supported by 10million people
 http://pr.mail.yahoo.co.jp/mail_pr/
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]

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


Re: mount_nullfs dangerous?

2006-01-15 Thread Chad Leigh -- Shire.Net LLC


On Jan 15, 2006, at 6:22 PM, Petr Murmak wrote:


Hi!

I want to use mount_nullfs on FreeBSD 6.0-STABLE AMD64 to share  
part of
filesystem tree between different jails, but i found this in man  
pages for

mount_nullfs:

BUGS
 THIS FILE SYSTEM TYPE IS NOT YET FULLY SUPPORTED (READ: IT  
DOESN'T

WORK)
 AND USING IT MAY, IN FACT, DESTROY DATA ON YOUR SYSTEM.  USE  
AT YOUR

OWN
 RISK.  BEWARE OF DOG.  SLIPPERY WHEN WET.

Is this still valid? Because there is date May 1, 1995 underneath,  
so it is

near 11 years old warning!?


I've been using it on 5.4 systems to share between jails (mostly RO  
for safety but some RW) and it has worked just fine


Chad



Petr

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


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



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


Re: Mail filtering at server

2006-01-15 Thread Martin Hepworth
Hi

I'd agree with the learning curve for SA. it's not huge, but there is one.

as for time spend on admin, for  me a few minutes per day making sure
there's no new handy handy rules to add by lurking on the sa-users list.

I use RulesDuJour to get most of my non-included rules to update
automatically, and I use MailScanner to glue the MTA, SA and virus scanners
together. Very little work.

But yes for a single user T'birds default spam trap may work quite well and
do the job quickly.

--
Martin

On 1/16/06, Kevin Kinsey [EMAIL PROTECTED] wrote:

 Frank Staals wrote:

  Hey,
 
  I'm running FreeBSD 5-stable and I'm using the
  system as mailserver, so I set up sendmail using
  this guide:
 
  http://www.puresimplicity.net/~hemi/freebsd/sendmail.html
 
  as imap server I'm using imap-uw. Now I would like to do the following:
 
  1) I would like to get all mail from [EMAIL PROTECTED]
  in a seperate directory. Currently I do this by filtering my
  mail in the mailclient ( Thunderbird ). The directory it uses
  for this is currently ~/mail/Questions/ so I would like to keep
  that, how can I do this ? Can I add this to /etc/mail/access ?
  what would then be the syntax ?
 
  2) I would also like to filter my mail for spam, again:
  currently I set up thunderbird to do this: the mail
  marked as spam/junk dissapears into the junk folder:
  ( ~/mail/junk ) What is the best way to set this up ?
  can this be done by sendmail itself or should I install
  an other program from the portstree
 
  Thanks in advance,
 

 First question:  what's wrong with the way TBird does it?
 (Sorry, that's the consultant in me coming out) It does
 seem like you want whatever you use to do it in the same
 way that it's currently being done, so why change?

 In particular, your (2) above is an area of little consensus;
 about the only thing most people agree on is that spammers
 should have *some* body part removed, but we can't even
 agree which one, much less exactly how to handle their
 um, product.

 Some argue that spam should not be processed by your
 MTA at all; this has resulted in blacklisting and greylisting.
 Others figure that an automatic trashing of the spam after
 receipt is OK.  First, decide which you are/want to be.

 Sendmail has, IIRC, a built in way to check RealTime blackhole
 DNS lists.  Any farther than that, you get into Milter (Mail
 fILTER) or SpamAssassin (as mentioned previously) or Amavis
 +SpamAssassin, or ..., or ... (there are several ways to skin
 the cat).

 Quite possibly, the best question for you ATM is:  are you
 protecting just yourself from spam, or are others going to
 be affected by what you do to your SendMail?

 Then, do some research and reading on the problem.

 I've tried SendMail+Amavis+SpamAssassin with some success.
 One big issue for me: time to administer the server, in particular
 the learning curve phase.

 I've also done some other tricks, like listing IP blocks against
 sendmail in /etc/hosts.allow; but this has gotten me into trouble
 as, occasionally, international correspondents (like here on the
 lists) ended up blocked by my MTA.

 So, good luck! and, to each his own.

 Kevin Kinsey

 --
 Love is the delusion that one woman differs from another.
 -- H. L. Mencken


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

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


compile with HFS+ support?

2006-01-15 Thread david
how can i compile freebsd GENERIC kernel with HFS+ support?sorry for 
stupid question.i am newbie in freebsd

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


Re: Partitioning

2006-01-15 Thread Malcolm Kay
On Mon, 16 Jan 2006 04:03 am, Jona Joachim wrote:
 Hi!
 I'm quite new to FreeBSD and I have some concerns about
 partitioning. I plan to install FreeBSD-6 as a desktop system
 and I bought a new Western Digital Caviar SE WD800JB hard
 drive to use it as a second disk for storing music, movies,
 photos and stuff like that on it. I also want to put the swap
 partition on it as this drive will be idle most of the time.
 So basically I want to create 2 partitions on this drive: one
 2GB partition for swap and one big UFS partition for data.
 Fdisk reported that it couldn't clearly identify the disk
 architecture because it thinks that the architecture is
 different from what BIOS tells. Here is fdisk's output after
 having created a slice:

With large modern disks the architectures quoted are mostly 
ficticious bearing little are no relationship to the physical 
structure of the disk. With LBA addressing the precise 
ficticious architecture used is mostly of little significance.


 *** Working on device /dev/ad1 ***
 parameters extracted from in-core disklabel are:
 cylinders=155061 heads=16 sectors/track=63 (1008 blks/cyl)

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

 Media sector size is 512
 Warning: BIOS sector numbering starts with sector 1
 Information from DOS bootblock is:
 The data for partition 1 is:
 sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
 start 0, size 156296322 (76316 Meg), flag 80 (active)
   beg: cyl 0/ head 0/ sector 1;
   end: cyl 512/ head 253/ sector 63
 The data for partition 2 is:
 UNUSED
 The data for partition 3 is:
 UNUSED
 The data for partition 4 is:
 UNUSED

 After creating a slice I created the partitions inside it with
 disklabel. In every example I saw the swap partition was in
 the second place. However, I want it to be in the beginning of
 the disk as this should result in better performance. Are
 there any concerns about this layout? I basically used the
 standards mentioned by the manual pages of disklabel:

 8 partitions:
 # size   offsetfstype [fsize   bsize bps/cpg]
   a: 2g  *  swap
   b:   *  *  4.2BSD  4096 16384  64
   c:   *  *   unused


Partition 'a' for root and 'b' for swap is a strongly established 
convention and departure could lead to all sorts of hassles.

If you must have swap earlier than the root partition then retain 
the labels but change the positions -- that is set the offset of 
'a' so that it falls after 'b' and set the 'b' partition at or 
near the beginning of the slice. 

To me it it is not entirely clear whether reservations for things 
like disklabels are not automatically taken care of when 'a' is 
the first partition in the slice, so I suggest if you place the 
'b' partition first you do this with an offset of 16 sectors.

But make it a rule to retain the traditional relationship between 
partition names and usage; just move the partition allocation.

Malcolm Kay
  
 Here is an output of what the layout now actually looks like:

 # /dev/ad1s1:
 8 partitions:
 #size offsetfstype   [fsize
 bsize bps/cpg] a:  41943040  swap
   b: 152102018 4194304  4.2BSD 4096 16384 20732
   c: 156296322 0   unused   0 
0

 The number of cylinders in a cylinder group bps/cpg was
 automatically changed to 20732 which is quite different from
 64. Why is that so? I haven't had any problems with the disk
 until now but I don't want to expose my data to danger by
 using a broken disk layout. Thanks for your help!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]