Re: Cloning a Windows Xp single hard drive to RAID 0 array

2007-10-22 Thread Jonathan Horne
On Sunday 21 October 2007 08:55:31 Frank Gaenger wrote:
 I have a system built on a Gigabyte GA-M59SLI-S5   motherboard. At
 present it has only one 250GB SATA hard drive. I would like to modify
 the system by installing two (2) SATA 320 GB drives in RAID
 configuration. I have read the info on your web site about cloning a
 hard drive to RAID configuration by using Acronis True Image software.
 This article is silent on the matter of getting RAID and SCSI drivers
 for Windows XP to use.

 My question is: How is the F6 requirement for loading RAID and SCSI
 drivers handled. I have these drivers, copied to a floppy, from the
 Gigabyte CD disk that came with the motherboard package. Would
 appreciate some guidance on  this question.

 Thanks for the consideration.

 Frank

er... thats a windows configuration question, that likely wont get answered 
well here.
-- 
Jonathan Horne
http://dfwlpiki.dfwlp.org
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Buying new sound card

2007-10-22 Thread Roberth Sjonøy
Anyone who can confirm that a Creative SB Audigy SE PCI works with FreeBSD?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Xmodmap (or .xinitrc?) broken after xorg upgrade

2007-10-22 Thread Chris Hill
About a week ago, I updated my ports, including xorg. Now xmodmap isn't 
running from ~/.xinitrc like it used to.


My .xinitrc is the same as it's been for years, so it includes the lines
if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi

After some experimenting, I find that if I run
$ xmodmap .Xmodmap
$ xmodmap .Xmodmap
...twice, as shown, in an xterm after X gets going - then my .Xmodmap 
takes effect.


If I comment out that section of ~/.xinitrc, then I only have to run
$ xmodmap .Xmodmap
once in an xterm. I would like not to have to run xmodmap manually at 
all, but have .xinitrc take care of it, just as it used to be before the 
upgrade.


Any ideas? Many thanks in advance.

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


Re: OpenLDAP 2.3/pam_ldap/nss_ldap: not working in FreeBSD 7.0-PRE!

2007-10-22 Thread Per olof Ljungmark

O. Hartmann wrote:
For weeks now I tried to get an OpenLDAP-server on a local FreeBSD 
7.0-PRE box running, but with no success. Within the last 8 weeks I 
tried nearly EVERY tutorial and there explained setups, but whenever I 
try to authenticate or find an ID for an existing user in the DIT, I 
receive either errors that the client (pam/nss, ssh, id etc.) can not 
connect to the slapd running on the same machine.

snip

We have this config running on 7 since months. I suggest you provide the 
list with more information + log excerpts, then someone might help you out.


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


Re: Want to upgrade sendmail in next OS release

2007-10-22 Thread Rob

Tuc at T-B-O-H.NET wrote:

I'd like to upgrade my sendmail version in advance of
upgrading to the next release of the OS. I was wondering if I

 .

I don't want to build out of ports because it is set up not to
override the base install.


I ran into the same problem years ago, with sendmail from ports 
installing into the /usr/local path, and creating two different versions 
on the same system, and generally making a Big Mess of itself.


But from some posts here a couple months ago, and reading the Makefile, 
I ~THINK~ it [the port] is now set up to replace the stock sendmail and 
install into the regular system paths.


I'm only like 90% on this, but hopefully someone else will confirm:  I 
think the port will do what you want.


  -Rob

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


Re: amd64_set_gsbase()

2007-10-22 Thread Mihai Donțu
On Wednesday 10 October 2007, Tijl Coosemans wrote:
  To get back to what you are trying to do, because %gs isn't preserved,
  I think you should avoid writing to it and instead strictly use
  amd64_set_gsbase(). But from what you've written, I'm guessing you're
  already doing this, so the next thing to try is to create threads with
  PTHREAD_SCOPE_SYSTEM or use libthr instead of libpthread, because if
  I'm not mistaken, PTHREAD_SCOPE_PROCESS in libpthread doesn't preserve
  gsbase either.

 Anyhoo, I'll try to use 'libthr' and see if this helps.

... and success! Indeed: 'amd64_set_gsbase()' + 'libthr.so' = love. 
'libpthread.so'
is a no-no :)

I'm not out of the woods yet, I still have some crashes, but I suspect that's 
just
bad programming on my side.

Thanks,

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


Re: best way to run vista inside freebsd

2007-10-22 Thread Aryeh M. Friedman
Ghirai wrote:
 I managed to run XP on qemu, it was pretty painless.

 I'll try with vista the next couple of days and report back.
   

What disk image type and what version of FreeBSD do you run (for me
8-current amd64)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


do I *really* need xorg 7.x?

2007-10-22 Thread Steve Franks
Seems every time I try to install a pkg or make a port lately, I get this:

===Verifying install for /usr/local/libdata/xorg/libraries in /usr/ports/x1
1/xorg-libraries
/usr/X11R6 exists, but it is not a symlink. Installation cannot proceed.
This looks like an incompletely removed old version of X.  In the current versio
n, /usr/X11R6 must be a symlink if it exists at all.Please read /usr/ports/UPDAT
ING (entry of 20070519) for the procedure to upgrade X.org related ports.*** Err
or code 1

My system is just fine as is, thanks, am I stuck not installling any
of these ports unless I upgrade X?

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


Re: add application names to the drop-down menu??

2007-10-22 Thread perryh
  Can anybodytell me how to add apps to the Gnome drop-down
  menu beneath the string Applications? (Upper-left-hand corner)

 Try using deskutils/alacarte ...

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


INIC162x SATA Controller

2007-10-22 Thread Michaël Grünewald
Hi all,

I recently got a SATA INIC162x controller PCI card, and I am trying to
know if it is usable in a FreeBSD box. (See Hardware Note below, if
relevant.)


After few minutes of internet search, I am quite pessimistic about
this. I would however be very interested to hear from list members who
had an experience with this equipment.

In case my recycling attempt is doomed to fail, I would be glad to get
a suggestion for similar harware that can be found in
France/Europe. Local hardware resellers do have some SATA controller
PCI cards but none of them is able to tell which chip stands on the
card.
-- 
Thanks for your attention,
All the best,
Michaël
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Can login using root password, but not remotely with SSH

2007-10-22 Thread W. D.
Brand new install of FreeBSD 6.2.  Can't log in with PuTTY.

Remote PuTTY:
Access denied Using keyboard-interactive authentication. 

At computer terminal:
PAM authentication error for root from 192.168.XXX.XXX 

Any ideas?

Thanks!

Start Here to Find It Fast!™ - http://www.US-Webmasters.com/best-start-page/
$8.77 Domain Names - http://domains.us-webmasters.com/

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


Re: Linux samba server, Freebsd client

2007-10-22 Thread Derek Ragona

At 07:37 PM 10/19/2007, Jason Dobyns wrote:

Hello,



My smb server is run from a linux CentOS 5 machine.

When I mount the share in Freebsd all the files are owned by root



SMB Server permissions

-rwxrwxr-x  1 httpd  httpd21868 Oct 17 22:06 index.php



Freebsd Client Share permissions

-rwxr-xr-x  1 root  wheel 21868 Oct 18 05:06 index.php



I have the httpd user and group with matching UID and GID on the freebsd
client.

What do I have to do to get the permissions to come through. Do I need an
option on the mount_smbfs command?





smb.conf

[global]

workgroup = vlaze

server string = storage1.blahblah.com

encrypt passwords = True

security = user

smb passwd file = /etc/smbpasswd

log file = /var/log/samba/log.%m

socket options = IPTOS_LOWDELAY TCP_NODELAY

dns proxy = No

name resolve order = lmhosts host bcast

bind interfaces only = True

interfaces = eth1

hosts allow = ALL

debug level = 1

create mask = 0777

directory mask = 0777

level2 oplocks = True

read raw = no

write cache size = 262144

read raw = yes

write raw = yes

log level = 3  # Default is 0

oplocks = yes  # Default

max xmit = 65535   # Default

dead time = 15 # Default is 0

getwd cache = yes



[vlaze]

path = /opt/www

writable = Yes

validusers = smbuser







Thank You,



Jason Dobyns


you can assign the user and group using:

mount_smbfs -u uid, -g gid

-Derek

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

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


Re: Want to upgrade sendmail in next OS release

2007-10-22 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

Tuc at T-B-O-H.NET wrote:

   I don't want to build out of ports because it is set up not to
 override the base install.

Actually, I think your perception is incorrect here.  If you want
sendmail-8.14.1 on a FreeBSD 6.x system, then installing it out of ports
really is the best and easiest way to go.  There's no need to overwrite
what the base system installs --  because of the way mailwrapper works,
/usr/sbin/sendmail will refer to the ports version automatically.

The ports version of sendmail is a pretty seamless drop in for the
system version. You don't even need to use the startup scripts the port
installs in /usr/local/etc/rc.d  Instead, if you add the following to
/etc/make.conf you can use the standard /etc/rc.d/sendmail start/stop
scripts and all the machinery in /etc/mail for turning .mc into .cf files:

   SENDMAIL_CF_DIR=/usr/local/share/sendmail/cf
   MAKEMAP=/usr/local/sbin/makemap

Cheers,

Matthew

- --
Dr Matthew J Seaman MA, D.Phil.   Flat 3
  7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW, UK
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHHFni3jDkPpsZ+VYRA2dNAJ9boUg/Du4pRS8nbAvfsyAFN08W3QCgn9Ir
P9Nfw5ve8q26RZL25mT3Zms=
=r3Ds
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Xmodmap (or .xinitrc?) broken after xorg upgrade

2007-10-22 Thread Matthias Apitz
El día Sunday, October 21, 2007 a las 08:38:33PM -0400, Chris Hill escribió:

 About a week ago, I updated my ports, including xorg. Now xmodmap isn't 
 running from ~/.xinitrc like it used to.
 
 My .xinitrc is the same as it's been for years, so it includes the lines
 if [ -f $usermodmap ]; then
 xmodmap $usermodmap
 fi
 
 After some experimenting, I find that if I run
 $ xmodmap .Xmodmap
 $ xmodmap .Xmodmap
 ...twice, as shown, in an xterm after X gets going - then my .Xmodmap 
 takes effect.
 
 If I comment out that section of ~/.xinitrc, then I only have to run
 $ xmodmap .Xmodmap
 once in an xterm. I would like not to have to run xmodmap manually at 
 all, but have .xinitrc take care of it, just as it used to be before the 
 upgrade.
 
 Any ideas? Many thanks in advance.

I'm facing a similiar problem in Xorg 6.9 and KDE 3.5.4: I tried
to set some xmodmap values in my ~/.xinitrc before launching
the KDE desktop, like:


xmodmap -e keycode 0x73 =  Mode_switch
xmodmap -e keycode 0x39 =  n N ntilde Ntilde
xmodmap -e keycode 0x1a =  e E eacute Eacute
xmodmap -e keycode 0x26 =  a A aacute Aacute
xmodmap -e keycode 0x1f =  i I iacute Iacute
xmodmap -e keycode 0x1e =  u U uacute Uacute
xmodmap -e keycode 0x20 =  o O oacute Oacute
...
exec startkde

but when X is up the xmodmap's are not in affect. I have to
set them inside X with a small desktop icon.

matthias

-- 
Matthias Apitz
e [EMAIL PROTECTED] - w http://www.oclcpica.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: compile error LyX 1.5.1

2007-10-22 Thread Ullrich Franke
Hi Marco,

could you give me complete build logs as well as some more information about
your system?
What version of boost do you have installed?

I currently have no direct access to the internet, so things are a bit
difficult for me.

Please add me to CC as I'm not on [EMAIL PROTECTED]

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


Software to print vouchers from large amount of txt data

2007-10-22 Thread simon butsana
Hi,
   
  I am looking for a software that will read repetitive data from a text file 
and send it to a preformated fanfold paper (impact printer). The software must 
be customizable as to be told on which area of the paper to print a given field 
from the source text file. 
   
  The data in the text file would thus be translated in a certain number of 
similar paper vouchers.
   
  Does anyone have an idea?
   
  Thanks,
   
  Simon


Simon-Pierre Butsana
  [EMAIL PROTECTED]
   
  I do not fear computers. I fear the lack of them.  —Isaac Asimov 
   

   
-
 Découvrez le blog Yahoo! Mail : dernières nouveautés, astuces, conseils.. et 
vos réactions !
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Bringing Hot Stock News to investors inboxes!

2007-10-22 Thread rae7035
Investor Alert,

Our biggest stock pick to date is Chanaral Resources,Inc. - OTC PINK:
CRLR. Chanaral might be the biggest Junior Exploration Stock Pick of
2007 - PERIOD. Call your stock broker or your financial advisor or go
online to your favorite online broker and add CRLR immediately.

Chanaral Resources, Inc. is becoming a significant independent
presence in the multi-million dollar iron exploration and production
market. As the demand for steel skyrockets, emerging markets like
China and India are putting companies like Chanaral in a huge position
for explosive growth. CRLR is very thinly traded right now so it can
be extremely volatile - we are expecting this one can go to 2.50 by
Friday of this week and up to 4.00 in the next 30 days.  Make sure you
do your own research and use limit orders if you choose to trade it!!
At the time of this writing it is at 1.01 per share.

This is why we believe CRLR could see huge upside in the near term:
CRLR has started an aggressive media investor relations campaign and
will soon be featured in numerous publications and venues and CRLR has
incredible news out, the appointment of Carl O. Windels as chairman
of its advisory board. Mr. Windels has 39 years experience as a
Geophysicist and has been involved in major explorations projects in
North and South America, Australia and Europe. - 

Though CRLR has a market cap of approximately USD Value of 168,000,000.00
 (at the time of this printing), we are convinced that CRLR is strongly
undervalued! We are issuing a buy and hold to $2.25.

Good luck!

Regards,

Staff
American Stock News
Bringing Hot Stock News to investors inboxes!

Please Read: This is not an offer to buy or sell any security. This
report contains fowd-loking statements. The publisher of this
report was compensated for distribution of this report.


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


USB disk causes panic in 7.0-PRERELEASE

2007-10-22 Thread Svein Halvor Halvorsen
Hello, list!

Jeg just bought a LaCie external USD hdd to store my pictures. When
I plug it in, it causes my laptop to panic after ~15-20 seconds.
After a reboot (with the disc still plugged in) it functions properly.


These are the messages I get when I plug it in:

umass0: SAMSUNG HDS0PAJDQP807411 LaCie Desktop Hard Drive, class
0/0, rev 2.00/c6.83, addr 2 on uhub3
da0 at umass-sim0 bus 0 target 0 lun 0
da0: SAMSUNG HD320KJ  Fixed Direct Access SCSI-2 device
da0: 40.000MB/s transfers
da0: 305245MB (625142448 512 byte sectors: 255H 63S/T 38913C)
GEOM_LABEL: Label for provider da0s1 is msdosfs/LaCie.
umass0: at uhub3 port 1 (addr 2) disconnected
(da0:umass-sim0:0:0:0): lost device
(da0:umass-sim0:0:0:0): removing device entry
GEOM_LABEL: Label msdosfs/LaCie removed.
umass0: detached
umass0: LaCie LaCie Desktop Hard Drive, class 0/0, rev 2.00/c6.83,
addr 2 on uhub3
xptioctl: pass driver is not in the kernel
xptioctl: put device pass0 in your kernel config file


On the next subsequent boot (with the device plugged in), I get:

da0 at umass-sim0 bus 0 target 0 lun 0
da0: SAMSUNG HD320KJ  Fixed Direct Access SCSI-2 device
da0: 40.000MB/s transfers
da0: 305245MB (625142448 512 byte sectors: 255H 63S/T 38913C)
GEOM_LABEL: Label for provider da0s1 is msdosfs/LaCie.


And I am able to mount it. If I disconnect, and reconnect it again,
the computer panics again. How can I diagnose this? The computer
saves a vmcore file. Can I use this to harvest some more information?


FreeBSD weld.ej2.thelosingend.net 7.0-PRERELEASE FreeBSD
7.0-PRERELEASE #0: Sun Oct 14 15:04:21 CEST 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386


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


defend from - :() { ::; } ;:

2007-10-22 Thread Danielisz Laszlo
Please do not try to execute this: :() { ::; } ;: on your BSD machine.
I ask all who already tried it how to defend from this?



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


a dead process (a ``zombie'')

2007-10-22 Thread Danielisz Laszlo

One day I was at a restaurant explaining process control to one of my disciples.


I was mentioning how we have to kill the children (child processes) if
they become unresponsive. Or we can even set an alarm for the children
to kill themselves. That the parent need to wait (wait3) and
acknowledge that the child has died or else it will become a zombie. 
The look of horror the woman sitting across had was unforgettable. I
tried to explain it was a computer software thing but it was too late,
she fled terrified, probably to call the police or something. I didn't
really want to stick around too long to find out. 

From: man ps Z Marks a dead process (a ``zombie'').

I found it on http://www.unixprogram.com/churchofbsd/index.html
 



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


Re: Want to upgrade sendmail in next OS release

2007-10-22 Thread Giorgos Keramidas
On 2007-10-21 16:42, Tuc at T-B-O-H.NET [EMAIL PROTECTED] wrote:
On 2007-10-21 11:28, Tuc at T-B-O-H.NET [EMAIL PROTECTED] wrote:
 Hi,

 I'd like to upgrade my sendmail version in advance of upgrading to the
 next release of the OS.

 Why?

 I can afford the time to start/stop sendmail here and there, but I
 have to schedule the maintenance window to upgrade this particular
 machine.

I see.  I'd still go for the maintenance window option, unless there is
a _very_ pressing need to upgrade Sendmail *today* because of a security
update, but you have a point :)

 # cd /usr/src/lib/libsm
 # make obj  make depend  make
 # cd /usr/src/lib/libsmutil
 # make obj  make depend  make
 # cd /usr/src/usr.sbin/sendmail
 # make obj  make depend  make  make install

 This can be done only if you manage to upgrade Sendmail sources and
 their build-glue manually, by following *exactly* the same process that
 Gregory Shapiro (our native Sendmail maintainer) uses to do it.

 So where do I find that? I took those instructions from previous
 FreeBSD Security announcements against sendmail.

The process is described in `/usr/src/contrib/sendmail/FREEBSD-upgrade',
but it takes a certain amount of experience with CVS and merging.  Even
if you don't really want to use CVS to merge the changes yourself, the
list of build/install/runtime infrastructure files near the end of this
file will prove veery useful.  Quoting from a recent copy:

% The following files make up the sendmail build/install/runtime
% infrastructure in FreeBSD:
%
% Makefile.inc1
% bin/Makefile
% bin/rmail/Makefile
% contrib/sendmail/
% [...]

 You are also missing some parts of Sendmail above, like:

  /usr/src/bin/rmail
  /usr/src/usr.bin/vacation
  /usr/src/etc/sendmail

   rmail - 99% of delivery is procmail, but good point.
   vacation - Not used
   etc/sendmail - I don't use default mc's, and don't mind
   running older cf's on a newer version. The
   change between 8.13 and 8.14 wasn't enough for
   us to need to.

Interesting bits of that list are:

lib/libmilter/Makefile
lib/libsm/Makefile
lib/libsmdb/Makefile
lib/libsmutil/Makefile
libexec/mail.local/Makefile
libexec/smrsh/Makefile
usr.bin/vacation/Makefile
usr.sbin/editmap/Makefile
usr.sbin/mailstats/Makefile
usr.sbin/makemap/Makefile
usr.sbin/praliases/Makefile
usr.sbin/sendmail/Makefile
usr.sbin/mailwrapper/Makefile

For future upgrades of Sendmail, it would probably be a good idea to
upgrade the libraries *first* and only when you are done building the
new libraries to install everything.

It may be possible to build everything with MAKEOBJDIRPREFIX='/usr/obj',
and install in one go when you are done with everything, but that's
something you should probably experiment a bit with -- preferrably in a
test machine, before you do the same on a live system.

 In the mean time, I got bored, so I did just that. Seems to be working
 fine, has processed about 15K emails since.

Neat :)

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


RE: Can login using root password, but not remotely with SSH

2007-10-22 Thread Johan Hendriks

Brand new install of FreeBSD 6.2.  Can't log in with PuTTY.

Remote PuTTY:
Access denied Using keyboard-interactive authentication. 

At computer terminal:
PAM authentication error for root from 192.168.XXX.XXX 

Any ideas?

Thanks!

You cannot login directly with root over ssh

You will need to create a user and place that user in the wheel group.
Then login with that user and do a su -  to become root.

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


Re: Can login using root password, but not remotely with SSH

2007-10-22 Thread Bahman M.
On 2007-10-22 W. D. wrote:
 Brand new install of FreeBSD 6.2.  Can't log in with PuTTY.
 
 Remote PuTTY:
 Access denied Using keyboard-interactive authentication. 
 
 At computer terminal:
 PAM authentication error for root from 192.168.XXX.XXX 

In /etc/ssh/sshd_config:
PermitRootLogin yes

HTH,

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


Re: OpenLDAP 2.3/pam_ldap/nss_ldap: not working in FreeBSD 7.0-PRE!

2007-10-22 Thread O. Hartmann

Per olof Ljungmark wrote:

O. Hartmann wrote:
For weeks now I tried to get an OpenLDAP-server on a local FreeBSD 
7.0-PRE box running, but with no success. Within the last 8 weeks I 
tried nearly EVERY tutorial and there explained setups, but whenever I 
try to authenticate or find an ID for an existing user in the DIT, I 
receive either errors that the client (pam/nss, ssh, id etc.) can not 
connect to the slapd running on the same machine.

snip

We have this config running on 7 since months. I suggest you provide the 
list with more information + log excerpts, then someone might help you out.


--per


Well, great, I appreciate your help and by teh way, you're the first one 
 telling he's running FBSD 7 AND OpenLDAP/nss_ldap/pam_ldap.


OpenLDAP is running well on the server, I can access the DIT via some 
tools like LUMA and the OpenLDAP clients from remote machines.


A major problem seems to be the pam_ldap/nss_ldap configuration. Can you 
please tell me how you edited /etc/pam.d/ files and /etc/nsswitch.conf 
properly? At this very moment it seems that I shot myself into the foot 
- the box running the LDAP service does not start OpenLDAP service slapd 
after rebooting, the console is stuck at the message shown when 
'additional ABI's' get started. So, I'm sorry having no logs handy at 
this very moment, I will offer them as soon as possible included with my 
config files, if this will not bother you.


Thanks in advance,
Oliver

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


Re: Can login using root password, but not remotely with SSH

2007-10-22 Thread Erik Trulsson
On Mon, Oct 22, 2007 at 02:21:04AM -0500, W. D. wrote:
 Brand new install of FreeBSD 6.2.  Can't log in with PuTTY.
 
 Remote PuTTY:
 Access denied Using keyboard-interactive authentication. 
 
 At computer terminal:
 PAM authentication error for root from 192.168.XXX.XXX 
 
 Any ideas?

Default configuration for sshd is to not allow logins from root.
You are supposed to login as a normal user and the use su(1) to become root.

If you insist on logging as root, you will have to edit /etc/ssh/sshd_config
and modify the line that says '#PermitRootLogin no'.

See the manpages for sshd(8) and sshd_config(5) for more information.


-- 
Insert your favourite quote here.
Erik Trulsson
[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: Xmodmap (or .xinitrc?) broken after xorg upgrade

2007-10-22 Thread Andrew Pantyukhin
On Sun, Oct 21, 2007 at 08:38:33PM -0400, Chris Hill wrote:
 About a week ago, I updated my ports, including xorg. Now xmodmap isn't 
 running from ~/.xinitrc like it used to.
 
 My .xinitrc is the same as it's been for years, so it includes the lines
 if [ -f $usermodmap ]; then
 xmodmap $usermodmap
 fi
 
 After some experimenting, I find that if I run
 $ xmodmap .Xmodmap
 $ xmodmap .Xmodmap
 ...twice, as shown, in an xterm after X gets going - then my .Xmodmap takes 
 effect.
 
 If I comment out that section of ~/.xinitrc, then I only have to run
 $ xmodmap .Xmodmap
 once in an xterm. I would like not to have to run xmodmap manually at all, 
 but have .xinitrc take care of it, just as it used to be before the 
 upgrade.
 
 Any ideas? Many thanks in advance.

No ideas, but a same here. It's a good thing that I don't have
to reboot all that often. Doesn't bother me enough to look
deeper.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


su: not running setuid

2007-10-22 Thread Mayank Jain
Hi all,

I have run chown -R uname:wheel . as root in the / directory. Now it is not 
allowing me to log in as su.
Giving the following error

su
su: not running setuid

I have also tried su -l but still same error. Can any body suggest me some 
solution to this problem.

uname -a
FreeBSD mayankjain.in.niksun.com 6.2-RC1-p1 FreeBSD 6.2-RC1-p1 #0: Mon Dec  4 
09:56:16 UTC 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386

I have also tried following but it didn't allow me to do so.
chown  root:wheel /usr/bin/su
chown: /usr/bin/su: Operation not permitted

-- 
Regards
Mayank Jain(Nawal)
Niksun
9818390836
www.mayankjain.110mb.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


oflag option in GNU dd - equivalent in FreeBSD dd ?

2007-10-22 Thread Juri Mianovich
I am used to using this command in Linux, using GNU
dd:

dd if=/blah of=/bleh oflag=append conv=notrunc

The problem is, FreeBSD 'dd' does not understand the
oflag argument.

Is there some equivalent in the FreeBSD 'dd' syntax
that I can use, or am I forced to install GNU utils ?



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


Re: Can login using root password, but not remotely with SSH

2007-10-22 Thread Josh Carroll
 At computer terminal:
 PAM authentication error for root from 192.168.XXX.XXX

ssh access for root is disabled by default, for good reason. ssh as a
normal user, then su to root instead.

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


Re: Can login using root password, but not remotely with SSH

2007-10-22 Thread James


On Mon, 2007-10-22 at 02:21 -0500, W. D. wrote:

 Brand new install of FreeBSD 6.2.  Can't log in with PuTTY.
 
 Remote PuTTY:
 Access denied Using keyboard-interactive authentication. 
 
 At computer terminal:
 PAM authentication error for root from 192.168.XXX.XXX 
 
 Any ideas?
 
 Thanks!



Root logins via ssh are disabled by default.

Change this in /etc/ssh/whichever ssh config file it is

OR you could alternately decide that root logins are *the spawn of
satan's loins* via ssh, and do something different. Specifically, if you
add your local user account to the wheel group then you can su to root.

vi /etc/groups

Add yourself to wheel (which is the root group on FreeBSD, a name I
believe it inherited from earlier BSDs, but I've no idea what the
justification for choosing 'wheel' is; any BSD historians here - you'd
be welcome to let us know!)


Tada!

If you need root logins for something like a running process that wants
to communicate via several computers as root, then I assume that:
a) your program's broken ;)
b) you wouldn't be using putty.

So just add yourself to wheel and let the good times roll.

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


Re: Can login using root password, but not remotely with SSH

2007-10-22 Thread Manolis Kiagias
W. D. wrote:
 Brand new install of FreeBSD 6.2.  Can't log in with PuTTY.

 Remote PuTTY:
 Access denied Using keyboard-interactive authentication. 

 At computer terminal:
 PAM authentication error for root from 192.168.XXX.XXX 

 Any ideas?

 Thanks!


   
You are probably trying to login as root via ssh. This is not
recommended and is disabled by default.
If you really want to change this, edit /etc/ssh/sshd_login, uncomment
the line PermitRootLogin No and change it to Yes.
Better still, create a normal user account, add it to the wheel group
and use it to ssh to the machine then, use su when needed.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Buying new sound card

2007-10-22 Thread Pieter de Goeje
On Sunday 21 October 2007, Roberth Sjonøy wrote:
 Anyone who can confirm that a Creative SB Audigy SE PCI works with FreeBSD?
It doesn't work, unless you install the oss driver from 
http://www.4front-tech.com

Note that in my opinion the native FreeBSD drivers are a lot better.

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


Re: Can login using root password, but not remotely with SSH

2007-10-22 Thread Kevin Kinsey

W. D. wrote:

Brand new install of FreeBSD 6.2.  Can't log in with PuTTY.

Remote PuTTY:
Access denied Using keyboard-interactive authentication. 


At computer terminal:
PAM authentication error for root from 192.168.XXX.XXX 


Any ideas?


Sound like maybe password auth is disabled?  Relevant
lines from /etc/ssh/sshd_config?

Kevin Kinsey
--
Usually, when a lot of men get together, it's called a war.
-- Mel Brooks, The Listener
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can login using root password, but not remotely with SSH

2007-10-22 Thread Pieter de Goeje
On Monday 22 October 2007, W. D. wrote:
 Brand new install of FreeBSD 6.2.  Can't log in with PuTTY.

 Remote PuTTY:
 Access denied Using keyboard-interactive authentication.

 At computer terminal:
 PAM authentication error for root from 192.168.XXX.XXX

 Any ideas?

 Thanks!
If you really want that to work you need to put 'PermitRootLogin yes' 
in /etc/ssh/sshd_config.

Normally you would want to add your normal user to group wheel. Then when you 
want root from a remote machine, log in as normal and then run su(1).

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


Re: Software to print vouchers from large amount of txt data

2007-10-22 Thread Bill Campbell
On Mon, Oct 22, 2007, simon butsana wrote:
Hi,

I am looking for a software that will read repetitive data from a text file
and send it to a preformated fanfold paper (impact printer). The software
must be customizable as to be told on which area of the paper to print a
given field from the source text file.

The data in the text file would thus be translated in a certain number of
similar paper vouchers.

Does anyone have an idea?

I've been using nroff for this type of things for years.  One can do very
precise text location vertically and horizontally.  Our accounting software
prints invoices using groff, initially loading an image with .PSPIC, then
overlaying it with the text.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

the purpose of government is to reign in the rights of the people
-Bill Clinton during an interview on MTV in 1993
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can login using root password, but not remotely with SSH

2007-10-22 Thread Bill Campbell
On Mon, Oct 22, 2007, W. D. wrote:
Brand new install of FreeBSD 6.2.  Can't log in with PuTTY.

Remote PuTTY:
Access denied Using keyboard-interactive authentication. 

The sshd_config file on the target machine must be configured to allow root
logins (generally considered a Bad Idea(tm)).  Many recommend restricting
root logins, and using sudo to do rootish things.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

Windows is a computer virus with a user interface!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Filtering IPv6 with ipfw or ip6fw

2007-10-22 Thread Oliver Fromme
Hi,

I'm a little bit confused about the purpose of ip6fw(8).  The
manual page suggests that the standard ipfw(8) supports both
IPv4 and IPv6, so why is there a seperate ip6fw?  Can it do
anything that ipfw can't do?

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH  Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

Whatever happened to the days when hacking started
at the cerebral cortex, and not at the keyboard?
  --  Sid on userfriendly.org by Illiad, 2007-06-20
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: defend from - :() { ::; } ;:

2007-10-22 Thread Bill Moran
In response to Danielisz Laszlo [EMAIL PROTECTED]:

 Please do not try to execute this: :() { ::; } ;: on your BSD machine.

Why not?  It's just a fork() bomb.

 I ask all who already tried it how to defend from this?

Defend from what?  Make a policy that form() bombs are not funny and
launching them is grounds for account termination.  Then terminate the
account of anyone who does it.  Or put appropriate ulimits in place to
lessen the impact.

In any event, a user can bog down a system without launching a fork()
bomb.  If you don't have policies in place to delineate acceptable and
unacceptable behaviour, you'll have problems.

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


Re: Cloning a Windows Xp single hard drive to RAID 0 array

2007-10-22 Thread Jerry McAllister
On Sun, Oct 21, 2007 at 04:30:38PM -0500, Jonathan Horne wrote:

 On Sunday 21 October 2007 08:55:31 Frank Gaenger wrote:
  I have a system built on a Gigabyte GA-M59SLI-S5   motherboard. At
  present it has only one 250GB SATA hard drive. I would like to modify
  the system by installing two (2) SATA 320 GB drives in RAID
  configuration. I have read the info on your web site about cloning a
  hard drive to RAID configuration by using Acronis True Image software.
  This article is silent on the matter of getting RAID and SCSI drivers
  for Windows XP to use.
 
  My question is: How is the F6 requirement for loading RAID and SCSI
  drivers handled. I have these drivers, copied to a floppy, from the
  Gigabyte CD disk that came with the motherboard package. Would
  appreciate some guidance on  this question.
 
  Thanks for the consideration.
 
  Frank
 
 er... thats a windows configuration question, that likely wont get answered 
 well here.

Actually, in a perverse way, you might actually be able to do it
with FreeBSD.   I think it would have to be FAT (32) partitions(slices)
built on the single drive and the raid entity and not NTFS.
Basically, you build the MS Filesystems using either something like
Partition Magic and then booting a FreeBSD fixit from CD and using
the CD based FreeBSD to copy the file systems from the single disk
to the raid.I don't know if dump/restore will do it and get
all the MS junk, but it might.   Or you could try using dd.  If you
do use dd, then do it at the file system level and not the disk level.

Have fun trying.If you do, let me know if it works.
Anyway, if it doesn't, you haven't lost anything except a little
time to experiment.You will just have to find a different way.

jerry

 -- 
 Jonathan Horne
 http://dfwlpiki.dfwlp.org
 [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: defend from - :() { ::; } ;

2007-10-22 Thread Josh Carroll
 Please do not try to execute this: :() { ::; } ;: on your BSD machine.
 I ask all who already tried it how to defend from this?

man login.conf

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


Re: Can login using root password, but not remotely with SSH

2007-10-22 Thread Jerry McAllister
On Mon, Oct 22, 2007 at 02:21:04AM -0500, W. D. wrote:

 Brand new install of FreeBSD 6.2.  Can't log in with PuTTY.

That is normal.  The default is to disallow remote login as root.
The normal procedure is to ssh in on a normal id and then do su.
You have to put that normal user in the wheel group.

jerry


 
 Remote PuTTY:
 Access denied Using keyboard-interactive authentication. 
 
 At computer terminal:
 PAM authentication error for root from 192.168.XXX.XXX 
 
 Any ideas?
 
 Thanks!
 
 Start Here to Find It Fast!™ - http://www.US-Webmasters.com/best-start-page/
 $8.77 Domain Names - http://domains.us-webmasters.com/
 
 ___
 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: defend from - :() { ::; } ;:

2007-10-22 Thread Martin Tournoij
On Sun 21 Oct 2007 12:10, Danielisz Laszlo wrote:
 Please do not try to execute this: :() { ::; } ;: on your BSD machine.
 I ask all who already tried it how to defend from this?

Wow,, my machine just crashed :-/
Does in this work on other OS's as well (ie. GNU/Linux)? Or just
(Free?)BSD? I really don't feel like crashing another machine right
now...

Only works in sh, not in csh.

Anyway, this seems to be security/stability issue, maybe a PR is in
order?

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


Re: defend from - :() { ::; } ;:

2007-10-22 Thread Andrew Pantyukhin
On Sun, Oct 21, 2007 at 12:10:02PM -0700, Danielisz Laszlo wrote:
 Please do not try to execute this: :() { ::; } ;: on your BSD machine.
 I ask all who already tried it how to defend from this?

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


Re: Can login using root password, but not remotely with SSH

2007-10-22 Thread Roland Smith
On Mon, Oct 22, 2007 at 02:21:04AM -0500, W. D. wrote:
 Brand new install of FreeBSD 6.2.  Can't log in with PuTTY.
 
 Remote PuTTY:
 Access denied Using keyboard-interactive authentication. 
 
 At computer terminal:
 PAM authentication error for root from 192.168.XXX.XXX 

Remote root access is denied by default because of safety concerns.

Log in as a normal user and then go root with su.

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


pgprAW05s9l3U.pgp
Description: PGP signature


reverse DNS resolution...

2007-10-22 Thread Eric F Crist

Hey folks,

We're trying to get reverse DNS resolution for a block of IPs  
(private).  We've had the 10.x network working great at the office  
for quite some time now, but I'm having a problem getting the  
172.30.x network to work.


Typing 'host ip' returns a valid result, however output from who,  
as well as other network services (IRC, apache) only see the IP.  Is  
there something I'm missing?


Thanks for the pointers!

-
Eric F Crist
Secure Computing Networks


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


bge Broadcom network card problem

2007-10-22 Thread svetimas alien
Hello,
I have lenovo v200 laptop with boardcom network card but my FreeBSD 6.2 does
not detect it. I tryed loading win drivers, with kldload, converted with
ndisgen but always get kernel panic.  pciconf -lv shows this:

[EMAIL PROTECTED]:0:0 class=0x02 card=0x3c2c17aa chip=0x1713144e4 rev=0x02
hdr=0x00
vendor   = 'Broadcom corporation'
class= network
subclass ethernet

How to load this?

I also have bge kompiled in my kernel.

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


Re: I performed an rm -r on /var/lib/pkg

2007-10-22 Thread James


 
 
 
 Feeding pkgdb/pkg_which a port creates a directory for that port
 in /var/db/pkg.
 
 It then returned a question mark, which kind of sucked, silence being
 golden in unix, but I had an entry for openmpi appear in /var/db/pkg
 
 Is this really just meaningless grasping at straws? It looked like this
 in conjunction with pkgdb -L would work.
 
 James


I've been running this for a while now, and it looks like it's working,
it just needs liberal doses of pkgdb -F occasionally. 

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


Re: Can login using root password, but not remotely with SSH

2007-10-22 Thread Daniel Bye
On Mon, Oct 22, 2007 at 02:21:04AM -0500, W. D. wrote:
 Brand new install of FreeBSD 6.2.  Can't log in with PuTTY.
 
 Remote PuTTY:
 Access denied Using keyboard-interactive authentication. 
 
 At computer terminal:
 PAM authentication error for root from 192.168.XXX.XXX 
 
 Any ideas?

Default behaviour in FreeBSD is for SSH to disallow root login.
You can change that in /etc/ssh/sshd_config, but it's probably not a 
good idea. The sshd_config man page will tell you how, if you really 
want to.

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpVlVemxEwG3.pgp
Description: PGP signature


OT: UltraDNS and dor org domains.

2007-10-22 Thread DAve
We just put our replacement DNS servers online, djbdns replacing Bind.
In testing with the few domains we have moved to the new servers we
began getting intermittent failures for some clients.

It is only dot org domains, checking deeper it ain't us. If I do a
domain query from dnsstuff for any org, I sometimes get nothing but name
server records. This happens when the root servers refer the query to
TLSx.Ultradns.net.

I see ultradns failing to return A records for slashdot.org and
openoffice.org as well others.

Is anyone else seeing this?

DAve
-- 
Three years now I've asked Google why they don't have a
logo change for Memorial Day. Why do they choose to do logos
for other non-international holidays, but nothing for
Veterans?

Maybe they forgot who made that choice possible.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can login using root password, but not remotely with SSH

2007-10-22 Thread Federico Lorenzi
On Monday 22 October 2007 3:00:56 pm Johan Hendriks wrote:
 Brand new install of FreeBSD 6.2.  Can't log in with PuTTY.
 
 Remote PuTTY:
 Access denied Using keyboard-interactive authentication.
 
 At computer terminal:
 PAM authentication error for root from 192.168.XXX.XXX
 
 Any ideas?
 
 Thanks!

 You cannot login directly with root over ssh

 You will need to create a user and place that user in the wheel group.
 Then login with that user and do a su -  to become root.
Well... Technically you can login as root directly over SSH, however this
is far from recommended. Just look in the /etc/ssh/sshd_config file if 
this is what you really want, and you should be able to figure it out.
Hint: Search for 'root'

HTH
Federico

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


Re: defend from - :() { ::; } ;:

2007-10-22 Thread Jonathan Chen
On Sun, Oct 21, 2007 at 12:10:02PM -0700, Danielisz Laszlo wrote:
 Please do not try to execute this: :() { ::; } ;: on your BSD machine.
 I ask all who already tried it how to defend from this?

That's just a fork bomb. Try looking at tuning(7) and login.conf(5) to
reduce the maxproc limit for users.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
With sufficient thrust, pigs fly just fine. However, this is not necessarily
a good idea. It is hard to be sure where they are going to land, and it
could be dangerous sitting under them as they fly overhead. -- RFC 1925
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can login using root password, but not remotely with SSH

2007-10-22 Thread Jerry McAllister
On Mon, Oct 22, 2007 at 04:38:35PM +0330, Bahman M. wrote:

 On 2007-10-22 W. D. wrote:
  Brand new install of FreeBSD 6.2.  Can't log in with PuTTY.
  
  Remote PuTTY:
  Access denied Using keyboard-interactive authentication. 
  
  At computer terminal:
  PAM authentication error for root from 192.168.XXX.XXX 
 
 In /etc/ssh/sshd_config:
 PermitRootLogin yes

But, don't do that.   Do the normal user/su thing.

jerry

 
 HTH,
 
 Bahman
 ___
 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]


X looks strange after restarting it

2007-10-22 Thread Pietro Cerutti
Hi list,
I don't actually know how to explain this problem in an understandable
way...
I have an external 24' Sun monitor running at 1280x800 plugged into my
laptop (1280X800).
I start X without the external monitor, I plug it in, and press the keys
combination to enable it on my laptop. Everything looks fine on it.
Then, I exit X, restart it, and some applications looks differently.
Please look at [1] and [2] for partial screenshots before and after
restarting X, at [3] for my xorg.conf and at [4] for my Xorg.0.log

Any ideas?

Thanks very much!

[1] http://www.gahr.ch/FreeBSD/misc/before.png
[2] http://www.gahr.ch/FreeBSD/misc/after.png
[3] http://www.gahr.ch/FreeBSD/misc/xorg.conf
[4] http://www.gahr.ch/FreeBSD/misc/Xorg.0.log

P.S. x11@ please CC me

-- 
Pietro Cerutti

PGP Public Key:
http://gahr.ch/pgp





signature.asc
Description: OpenPGP digital signature


Novatel Merlin S720 on FreeBSD

2007-10-22 Thread Sung Park
I try to use Sprint Novatel Wireless Merlin S720 Aircard, but it is
not recoginized at the first time.  Does anyone know about it or what
kind modification do I need to do on kernel to make it work?  Any kind
comment will 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: su: not running setuid

2007-10-22 Thread Chuck Swiger

On Oct 22, 2007, at 11:51 AM, Mayank Jain wrote:
I have run chown -R uname:wheel . as root in the / directory. Now  
it is not

allowing me to log in as su.
Giving the following error


Ouch-- you've managed to reset the setuid/setgid bits for the entire  
system.


You'll probably need to do a buildworld/installworld cycle or a  
reinstall to get this fixed.


--
-Chuck

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


Re: su: not running setuid

2007-10-22 Thread James
On Mon, 2007-10-22 at 18:51 +, Mayank Jain wrote:

 Hi all,
 
 I have run chown -R uname:wheel . as root in the / directory. Now it is not 
 allowing me to log in as su.
 Giving the following error
 
 su
 su: not running setuid
 
 I have also tried su -l but still same error. Can any body suggest me some 
 solution to this problem.
 
 uname -a
 FreeBSD mayankjain.in.niksun.com 6.2-RC1-p1 FreeBSD 6.2-RC1-p1 #0: Mon Dec  4 
 09:56:16 UTC 2006 
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386
 
 I have also tried following but it didn't allow me to do so.
 chown  root:wheel /usr/bin/su
 chown: /usr/bin/su: Operation not permitted


Well, you've broke that, then.
You have to restore correct owners to everything correctly.

The only thing I can think of is a fresh install, which I seem to recall
doesn't overwrite your home dirs, or /usr/local (can anyone back me up
on this?) and never, ever run a recursive ownership change from / again,
ever. Ever.

I'm not even certain you could manage a buildworld from here. Judging
from the fact tat you're running RC1-p1, I'd guess that you may not even
be familiar with what a buildworld is, is that right?

Why did you do that, incidentally? Whatever result you were trying to
achieve can probably be accomplished once your system is running
correctly, so let's find out what it was.

James

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


Xen howto: inexplicable Kernel image does not exist error

2007-10-22 Thread Matt Pounsett

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


I'm trying to get FreeBSD running under Xen on a RedHat RHEL5 box.  I  
seem to be stumped really early in the process by something...  
strange.  I don't have a good explanation for it, other than Xen  
doing something weird, and thought I'd ask if anyone else had seen  
something similar.  All the information I've found googling this  
error relates to users forgetting to install key packages, which  
doesn't seem to be related here.


Basically, I'm following the directions at http://www.yuanjue.net/xen/ 
howto.html.  When I hit step 4, and try to run xm create, xen  
complains:


# xm create -c freebsd_xen_INSTALL
Using config file ./freebsd_xen_INSTALL.
Error: Kernel image does not exist: /home/mattp/FreeBSD-XENU/freebsd- 
XENU_INSTALL


However, that kernel file does exist:

# ls -l /home/mattp/FreeBSD-XENU/freebsd-XENU_INSTALL
- -rw-r--r-- 1 mattp users 7379253 Aug 26  2006 /home/mattp/FreeBSD- 
XENU/freebsd-XENU_INSTALL


I'm using the config file suggested by the instructions with only two  
changes:

1) change the 'kernel' reference to the kernel file listed above
2) change the 'disk' reference to the image file created in step 1 (I  
also tried without this change)


Am I missing something here?  Looks to me like either Xen is trying  
to chroot somewhere before loading the kernel (don't see anything  
relevant in the config file I downloaded) or something is broken  
somewhere.


Has this been seen before, or does anyone have suggestions about  
where to check for the error?


Matt


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFHHPGpmFeRJ0tjIxERAgC3AKCWWmRyK3PgI0NXH2FZDEUE4ZBeIwCeP0ZI
qTEXAYowhmspZCDlN2HMW68=
=JSqE
-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]


ipfw keep-state + IPv6 on FreeBSD 7

2007-10-22 Thread Peter Kieser

Hello,

I'm having problems with ipfw + IPv6 keep-state rules, if I use a 
keep-state rule on IPv6 it will only work intermittently (eg. I can 
connect to an FTP site with IPv6 and start to grab a file, but it will 
stall after a few seconds). I am using deny all by default on ipfw, my 
ruleset is as follows (em0 is my external interface):


add check-state

add allow all from any to any via lo0
add allow all from any to any out via em0 keep-state

The keep-state works fine for IPv4 traffic, but IPv6 traffic 
connectivity will only work intermittently with the above ruleset. I am 
running a RELENG_7 cvsuped/built on Tue Oct 16:


FreeBSD akuma.pfak.org 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #1: Tue Oct 
16 18:30:20 PDT 2007 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/AKUMA  i386


Any hints? Is IPv6 + keep-state broken on 7.0?

Thank you,

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


Install on new INTEL motherboard, can't find ATA devices

2007-10-22 Thread Thomas David Rivers

I just got a new INTEL motherboard - chock full of these new-fangled
SATA connectors... and one legacy ATA connector.  I moved a disk
drive from an older box to this new one..

The machine can boot from the disk drive, but then after the kernel
is up-and-running - it can't find the drive to mount the root file
system.

It seems this board has 8 SATA connectors; so I'm guessing that
they comprise the first 8 drives.. and the older ATA line is
the 9th (or more.)

So - I ran out to the store and bought a SATA drive Sure enough,
if I plug it into the proper SATA connector - it shows up as drive ad0.
Phew - I think.. I can do a clean install and just be done with this.

But - after the kernel boots (the 6.2-RELEASE install CD), and I
start to install things.. it wants to pick a media... and, I pick
CD/DVD... FreeBSD promptly tells me it can't find any CD (which is
on the legacy ATA line.)

I'm sure this has got to be something that is known - but I can't
seem to find my answer with a web-search...

Any pointers???

- Thanks -
- Dave Rivers -

--
 Work: (919) 676-0847
Get your mainframe programming tools at http://www.dignus.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: oflag option in GNU dd - equivalent in FreeBSD dd ?

2007-10-22 Thread Dan Nelson
In the last episode (Oct 22), Juri Mianovich said:
 I am used to using this command in Linux, using GNU
 dd:
 
 dd if=/blah of=/bleh oflag=append conv=notrunc
 
 The problem is, FreeBSD 'dd' does not understand the
 oflag argument.
 
 Is there some equivalent in the FreeBSD 'dd' syntax
 that I can use, or am I forced to install GNU utils ?

Why not cat /blah  /bleh ?  dd is usually used on raw device nodes,
and appending doesn't make sense there.

-- 
Dan Nelson
[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: su: not running setuid

2007-10-22 Thread Eric Crist
If you executed the command you claim you did, you're system  
permissions are really screwed up.  You've changed ownership of  
*EVERY* file on the system to uname:wheel.  My best guess is that su  
is trying to run as uname (setuid) and it's not getting the  
permissions is needs.


4th and long I'm guessing.  You're best of to punt and reinstall.   
Can you even log in as root from the console?


Eric


On Oct 22, 2007, at 1:51 PMOct 22, 2007, Mayank Jain wrote:


Hi all,

I have run chown -R uname:wheel . as root in the / directory. Now  
it is not

allowing me to log in as su.
Giving the following error

su
su: not running setuid

I have also tried su -l but still same error. Can any body suggest  
me some

solution to this problem.

uname -a
FreeBSD mayankjain.in.niksun.com 6.2-RC1-p1 FreeBSD 6.2-RC1-p1 #0:  
Mon Dec  4

09:56:16 UTC 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386

I have also tried following but it didn't allow me to do so.
chown  root:wheel /usr/bin/su
chown: /usr/bin/su: Operation not permitted

--
Regards
Mayank Jain(Nawal)
Niksun
9818390836
www.mayankjain.110mb.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions- 
[EMAIL PROTECTED]


-
Eric F Crist
Secure Computing Networks


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


Is it difficult to move from Linux?

2007-10-22 Thread Donovan R. Palmer

Hi,

I have been using Linux for over 10 years, but have for a number of reasons 
become very interested in learning to use FreeBSD. Are there any ex or 
current Linux users here and could you tell me how hard it is to make the 
shift from Linux?  Is there anything in particular which has been written 
which would be useful to read?


T.I.A. 


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


Re: Can login using root password, but not remotely with SSH

2007-10-22 Thread Robert Huff

James writes:

  Add yourself to wheel (which is the root group on FreeBSD, a name
  I believe it inherited from earlier BSDs, but I've no idea what
  the justification for choosing 'wheel' is; any BSD historians
  here - you'd be welcome to let us know!)

Not sure, but I believe wheel predates UNIX.  I have
certainly seen the idea on OSes that do.


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


Re: Booting a GELI encrypted hard disk

2007-10-22 Thread Pawel Jakub Dawidek
On Wed, Oct 10, 2007 at 07:53:49PM +0200, Roland Smith wrote:
 On Wed, Oct 10, 2007 at 09:04:34AM -0400, Steve Bertrand wrote:
  Hi all,
  
  I am voraciously attempting to get a FreeBSD system to boot from a GELI
  encrypted hard disk, but am having problems.
 
 You don't need to encrypt the whole harddisk. You can encrypt separate
 slices. There is no need to encrypt stuff like / or /usr; what is there
 that needs to be kept secret?

Maybe not encryption, but integrity protection is very important for
laptops. GELI supports integrity protection for a while now. If you
don't protect integrity of your entire laptop disk, it is trivial to
trojan userland utilities and/or kernel and steal your password. If
someone needs your data, he can dump encrypted partition, trojan your
system and once you connect to the internet and attach your encrypted
partition, the trojan will send the password to the attacker. Many
people often leave their laptops in hotels rooms, for example.

-- 
Pawel Jakub Dawidek   http://www.wheel.pl
[EMAIL PROTECTED]   http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!


pgp48YVSMzslF.pgp
Description: PGP signature


ipfw keep-state + IPv6 on FreeBSD 7

2007-10-22 Thread Peter Kieser

Hello,

I'm having problems with ipfw + IPv6 keep-state rules, if I use a 
keep-state rule on IPv6 it will only work intermittently (eg. I can 
connect to an FTP site with IPv6 and start to grab a file, but it will 
stall after a few seconds). I am using deny all by default on ipfw, my 
ruleset is as follows (em0 is my external interface):


add check-state

add allow all from any to any via lo0
add allow all from any to any out via em0 keep-state

The keep-state works fine for IPv4 traffic, but IPv6 traffic 
connectivity will only work intermittently with the above ruleset. I am 
running a RELENG_7 cvsuped/built on Tue Oct 16:


FreeBSD akuma.pfak.org 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #1: Tue Oct 
16 18:30:20 PDT 2007 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/AKUMA  i386


Any hints? Is IPv6 + keep-state broken on 7.0?

Thank you,

-Peter

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


Re: defend from - :() { ::; } ;:

2007-10-22 Thread Rolf G Nielsen

Danielisz Laszlo wrote:

Please do not try to execute this: :() { ::; } ;: on your BSD machine.
I ask all who already tried it how to defend from this?



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___

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





What does it do?

--

Sincerly,

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


Re: su: not running setuid

2007-10-22 Thread Christopher Cowart
On Mon, Oct 22, 2007 at 06:51:48PM +, Mayank Jain wrote:
 Hi all,
 
 I have run chown -R uname:wheel . as root in the / directory. Now it is not 
 allowing me to log in as su.
 Giving the following error
 
 su
 su: not running setuid
 
 I have also tried su -l but still same error. Can any body suggest me some 
 solution to this problem.
 
 uname -a
 FreeBSD mayankjain.in.niksun.com 6.2-RC1-p1 FreeBSD 6.2-RC1-p1 #0: Mon Dec  4 
 09:56:16 UTC 2006 
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386
 
 I have also tried following but it didn't allow me to do so.
 chown  root:wheel /usr/bin/su
 chown: /usr/bin/su: Operation not permitted

Unless you can find some local privilege escalation exploit, I'm
thinking you're stuck. You can probably fix it in single-user mode:
* Reboot
* Pick single user mode from the boot menu
* Accept the default shell
$ fsck -p
$ mount -u /
$ mount -a -t ufs
$ chown root /usr/bin/su

But if the command above ran to completion, you probably have a mess of
permissions on your filesystem. You may want to look into rebuilding /
reinstalling world while you're in single. 

Good luck...

-- 
Chris Cowart
Lead Systems Administrator
Network  Infrastructure Services, RSSP-IT
UC Berkeley


pgpbawGHsu8Y6.pgp
Description: PGP signature


Re: do I *really* need xorg 7.x?

2007-10-22 Thread Paul Schmehl
--On October 21, 2007 10:29:36 PM -0700 Steve Franks 
[EMAIL PROTECTED] wrote:



Seems every time I try to install a pkg or make a port lately, I get
this:

===Verifying install for /usr/local/libdata/xorg/libraries in
/usr/ports/x1 1/xorg-libraries
/usr/X11R6 exists, but it is not a symlink. Installation cannot proceed.
This looks like an incompletely removed old version of X.  In the
current versio n, /usr/X11R6 must be a symlink if it exists at
all.Please read /usr/ports/UPDAT ING (entry of 20070519) for the
procedure to upgrade X.org related ports.*** Err or code 1

My system is just fine as is, thanks, am I stuck not installling any
of these ports unless I upgrade X?

No, you don't need to install X.  Yes, you *do* need to install some of 
the X libraries because they are used by ports you are trying to install.


If you've never installed X on this box, just run mergebase.sh 
(/usr/ports/Tools/scripts - IIRC) to create the symlink.  Then install the 
pkg or port you want, which will install the libraries needed.


I have two headless servers running websites and other services, and both 
have X stuff installed.  That's the nature of shared libraries.


Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


can't upgrade - catch-22

2007-10-22 Thread Keith Seyffarth

I posted this about a month ago, but haven't heard anything, so I'm
trying again:


When trying to re-install ruby on my system, I receive this error:

On FreeBSD before 6.2 ports system unfortunately can not set default
X11BASE by itself so please help it a bit by setting
X11BASE=${LOCALBASE} in make.conf.
On the other hand, if you do wish to use non-default X11BASE, please
set variable USE_NONDEFAULT_X11BASE.

However, even if I edit /etc/make.conf and add either
X11BASE=${LOCALBASE} or X11BASE=/usr/X11R6, I still get this
error.

Any suggestions or recommendations on how to get ruby installed? I
think once I have that installed, I should be able to get port-upgrade
fixed and then maybe be able to get some patches downloaded... I would
really appreciate any tips or suggestions.

output of uname -a:
FreeBSD computer.weif.net 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov
3 09:36:13 UTC 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: do I *really* need xorg 7.x?

2007-10-22 Thread Kris Kennaway

Steve Franks wrote:

Seems every time I try to install a pkg or make a port lately, I get this:

===Verifying install for /usr/local/libdata/xorg/libraries in /usr/ports/x1
1/xorg-libraries
/usr/X11R6 exists, but it is not a symlink. Installation cannot proceed.
This looks like an incompletely removed old version of X.  In the current versio
n, /usr/X11R6 must be a symlink if it exists at all.Please read /usr/ports/UPDAT
ING (entry of 20070519) for the procedure to upgrade X.org related ports.*** Err
or code 1

My system is just fine as is, thanks, am I stuck not installling any
of these ports unless I upgrade X?


You need to update, yes.  We don't support mixing and matching arbitrary 
old and new ports in any configuration (not just X).  Sometimes it 
works, but one cannot rely on this.


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


Re: Can login using root password, but not remotely with SSH

2007-10-22 Thread Paul Schmehl
--On October 22, 2007 2:21:04 AM -0500 W. D. [EMAIL PROTECTED] 
wrote:



Brand new install of FreeBSD 6.2.  Can't log in with PuTTY.

Remote PuTTY:
Access denied Using keyboard-interactive authentication.

At computer terminal:
PAM authentication error for root from 192.168.XXX.XXX

Any ideas?

By default, root logins are disabled in sshd.  They should remain that 
way.  Login using your account, then su to root.


Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


How to match /proc/#/map entries to the library/executable file name

2007-10-22 Thread Yuri
Hi,

I need to find the file name for every /proc/#/map entry for a program linked
statically.
But some of them end with '-'.
Where can I find documentation describing /pcor/#/map file format, explaining
why these dashes are there?

And how to find the corresponding filenames?

I found a method based on 'dladdr' function. But this seems to only work when
dynamic libraries are enabled.

Here is /proc/FD/map file:

0x3800 0x38193000 403 0 0xc656dc60 r-x 1 0 0x0 COW NC vnode
/usr/local/xxx/bin/xxx
0x38193000 0x38c61000 7 0 0xc6a8dbdc rw- 1 0 0x2180 NCOW NNC default -
0xbfbe 0xbfc0 2 0 0xc67506b4 rwx 1 0 0x2180 NCOW NNC default -

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


Re: defend from - :() { ::; } ;:

2007-10-22 Thread Gary Kline
On Mon, Oct 22, 2007 at 06:44:18PM +0200, Martin Tournoij wrote:
 On Sun 21 Oct 2007 12:10, Danielisz Laszlo wrote:
  Please do not try to execute this: :() { ::; } ;: on your BSD machine.
  I ask all who already tried it how to defend from this?
 
 Wow,, my machine just crashed :-/
 Does in this work on other OS's as well (ie. GNU/Linux)? Or just
 (Free?)BSD? I really don't feel like crashing another machine right
 now...
 
 Only works in sh, not in csh.
 
 Anyway, this seems to be security/stability issue, maybe a PR is in
 order?
 
 Regards,
 Martin Tournoij


If this *is* only a /bin/sh bug, then it maybe time to issue a 
PR.  Remember that *our* Bourne shell is really a shell or 
ash.  I remember hacking on this and playing with it back in tha
late 80's.

It might be time to use zsh as the FBSD /bin/sh  


gary



-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
  http://jottings.thought.org   http://transfinite.thought.org

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


Re: reverse DNS resolution...

2007-10-22 Thread Derek Ragona

At 12:02 PM 10/22/2007, Eric F Crist wrote:

Hey folks,

We're trying to get reverse DNS resolution for a block of IPs
(private).  We've had the 10.x network working great at the office
for quite some time now, but I'm having a problem getting the
172.30.x network to work.

Typing 'host ip' returns a valid result, however output from who,
as well as other network services (IRC, apache) only see the IP.  Is
there something I'm missing?

Thanks for the pointers!

-
Eric F Crist
Secure Computing Networks


Do you have the reverse zones setup correctly?  Are your DNS servers the 
first ones you query?


-Derek

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

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


Re: reverse DNS resolution...

2007-10-22 Thread Philip M. Gollucci
Eric F Crist wrote:
 Hey folks,
 
 We're trying to get reverse DNS resolution for a block of IPs
 (private).  We've had the 10.x network working great at the office
 for quite some time now, but I'm having a problem getting the
 172.30.x network to work.
 
 Typing 'host ip' returns a valid result, however output from who,
 as well as other network services (IRC, apache) only see the IP.  Is
 there something I'm missing?
 
 Thanks for the pointers!
Well, your DNS needs to be authoritative for both forward and reverse.
If you are trying to do this for less then a /24 block the zone files
get messy quick because of the 8bit boundaries.  You seem to be trying
to do this for a /16.  I'll bet you're missing the named.conf entries
and related reverse zone files:

Odds are you'll want to have zones:

zone 1.30.172.in.addr.arpa {
  type master;
  file master/1.30.172.in.addr.arpa
  notify yes;
}

zone 255.30.172.in.addr.arpa {
  ;; or slave config since you'll have more than 1 ns
  type slave;
  file slave/255.30.172.in.addr.arpa;
  masters { x.y.z.a; };
}

Or some larger splits of that.

You're going to have give me a netmask for more help.


$ORIGIN .
$TTL 3600   ; 1 hour
0.28.172.in-addr.arpa   IN SOA  ns1.rws. admin.Z. (
2007101800 ; Serial
10800  ; refresh (3 hours)
3600   ; retry (1 hour)
3600   ; expire (1 hour)
86400  ; minimum (1 day)
)
NS  ns1.Z.
$ORIGIN 0.28.172.in-addr.arpa.
1   PTR router.Z.
..



-- 

Philip M. Gollucci ([EMAIL PROTECTED]) c:323.219.4708 o:703.749.9295x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: defend from - :() { ::; } ;:

2007-10-22 Thread Matt
On 10/22/07, Martin Tournoij [EMAIL PROTECTED] wrote:
 On Sun 21 Oct 2007 12:10, Danielisz Laszlo wrote:
  Please do not try to execute this: :() { ::; } ;: on your BSD machine.
  I ask all who already tried it how to defend from this?

 Wow,, my machine just crashed :-/
 Does in this work on other OS's as well (ie. GNU/Linux)? Or just
 (Free?)BSD? I really don't feel like crashing another machine right
 now...

 Only works in sh, not in csh.

 Anyway, this seems to be security/stability issue, maybe a PR is in
 order?

 Regards,
 Martin Tournoij

I'm not a sh or bash syntax expert, but isn't this a standard fork
bomb type command?  If so, it should be possible to mitigate it with
sensible login tunings set in login.conf (in this particular case, I
think maxprocesses is the one to focus on).

Executing this command on my workstation does not result in any
(noticeable) bad side effects under sh or bash login shells - just
notifications of Cannot fork: Resource temporarily unavailable as
the max process limit is hit.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Support for SBLive 5.1

2007-10-22 Thread Emanuel Marufo
Hello everybody!!

I have PC-BSD 1.3 it is based on FBSD 6.1, i want to play dvd's on
kaffeine with dolby-digital 5.1, but i seem FBSD does not support
dolby.

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


Re: Can login using root password, but not remotely with SSH

2007-10-22 Thread Pollywog
On Monday 22 October 2007 17:42:44 Daniel Bye wrote:
 On Mon, Oct 22, 2007 at 02:21:04AM -0500, W. D. wrote:
  Brand new install of FreeBSD 6.2.  Can't log in with PuTTY.
 
  Remote PuTTY:
  Access denied Using keyboard-interactive authentication.
 
  At computer terminal:
  PAM authentication error for root from 192.168.XXX.XXX
 
  Any ideas?

 Default behaviour in FreeBSD is for SSH to disallow root login.
 You can change that in /etc/ssh/sshd_config, but it's probably not a
 good idea. The sshd_config man page will tell you how, if you really
 want to.

I do it sometimes, using

PermitRootLogin without-password

This does not mean it will accept root logins without any authentication.  It 
means it will accept a passphrase and not a password.  Once I am done, I 
change it back to No and reload sshd.

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


Re: OT: UltraDNS and dor org domains.

2007-10-22 Thread Chuck Swiger

On Oct 22, 2007, at 11:43 AM, DAve wrote:

It is only dot org domains, checking deeper it ain't us. If I do a
domain query from dnsstuff for any org, I sometimes get nothing but  
name

server records. This happens when the root servers refer the query to
TLSx.Ultradns.net.

I see ultradns failing to return A records for slashdot.org and
openoffice.org as well others.

Is anyone else seeing this?


No, but I use dig, not dnsstuff.  Are the missing records visible by:

  dig slashdot.org @ns1.ostg.com
  dig openoffice.org @ns1.collab.net

...?  I don't see why ultradns.net would be involved...?

--
-Chuck

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


Re: defend from - :() { ::; } ;:

2007-10-22 Thread Bill Moran
In response to Martin Tournoij [EMAIL PROTECTED]:

 On Sun 21 Oct 2007 12:10, Danielisz Laszlo wrote:
  Please do not try to execute this: :() { ::; } ;: on your BSD machine.
  I ask all who already tried it how to defend from this?
 
 Wow,, my machine just crashed :-/
 Does in this work on other OS's as well (ie. GNU/Linux)? Or just
 (Free?)BSD? I really don't feel like crashing another machine right
 now...

It's a fork bomb.  It affects every OS that has fork() or equivalent.

 Only works in sh, not in csh.

No, it works in csh, the syntax is different.

 Anyway, this seems to be security/stability issue, maybe a PR is in
 order?

No.  Research (on your point) into fork bombs and how to configure
the system to handle them properly is in order.

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


FreeNX

2007-10-22 Thread Novembre
Hi,

Is there going to be an updated version of the FreeNX port? The
version in the FreeBSD port tree is 0.4.4_3 which hasn't been updated
in two years. The current version is 0.7.1 though.

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


help in deletion part of a line

2007-10-22 Thread Gary Kline

Is there an easier way by sed or ed to remove strings 
(caight by grep) of the sort:

part5.chapter2.text-

where 5 and 2 can be any integer below 10?

(I know how to delete the *entire* line using ed, but not just
the first part?

thanks,

gary


-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
  http://jottings.thought.org   http://transfinite.thought.org

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


Re: USB disk causes panic in 7.0-PRERELEASE

2007-10-22 Thread Svein Halvor Halvorsen
James wrote:
 On Mon, 2007-10-22 at 12:33 +0200, Svein Halvor Halvorsen wrote:
 xptioctl: pass driver is not in the kernel
 xptioctl: put device pass0 in your kernel config file
 
 
 Have you tried putting device pass0 into your kernel config file and
 seeing if that solves it?

Yes, I see that this is the obvious solution if I wanted to just get
my drive working. But I think that this should not cause a panic,
and that I might help track this down. The panic is repeatable.

Also, the drive works if it's plugged in while booting. I find this
strange.


Svein Halvor


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


Re: defend from - :() { ::; } ;:

2007-10-22 Thread Mike Jeays
On October 22, 2007 12:44:18 pm Martin Tournoij wrote:
 On Sun 21 Oct 2007 12:10, Danielisz Laszlo wrote:
  Please do not try to execute this: :() { ::; } ;: on your BSD machine.
  I ask all who already tried it how to defend from this?

 Wow,, my machine just crashed :-/
 Does in this work on other OS's as well (ie. GNU/Linux)? Or just
 (Free?)BSD? I really don't feel like crashing another machine right
 now...

 Only works in sh, not in csh.

 Anyway, this seems to be security/stability issue, maybe a PR is in
 order?

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

Yes, it brought down my Ubuntu 7.10 system pretty well immediately.  I had to 
reboot.




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


Per-port options in make.conf?

2007-10-22 Thread Benjamin M. A'Lee
Is there any way to specify options in make.conf on a per-port basis?

For example, if I want Vim built without X11, I can specify the WITHOUT_X11
flag, but putting that in make.conf will affect every port.

I'm aware it's possible to do it with portupgrade, but I was hoping for a
method that would work both with and without portupgrade.

Thanks in advance.

-- 
Benjamin A'Lee [EMAIL PROTECTED]
http://subvert.org.uk/~bma/
For if a thing is not diminished by being shared with others, it is not
rightly owned if it is only owned and not shared. - St. Augustinus


pgp6nbneH2DGh.pgp
Description: PGP signature


Re: reverse DNS resolution...

2007-10-22 Thread Bill Campbell
On Mon, Oct 22, 2007, Eric F Crist wrote:
Hey folks,

We're trying to get reverse DNS resolution for a block of IPs  
(private).  We've had the 10.x network working great at the office  
for quite some time now, but I'm having a problem getting the  
172.30.x network to work.

Typing 'host ip' returns a valid result, however output from who,  
as well as other network services (IRC, apache) only see the IP.  Is  
there something I'm missing?

You will have to set up local DNS configuration for private
addresses, including the appropriate in-addr.arpa. PTR records.
The exact file format depends on what DNS software you're using,
bind, djbdns, etc.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

Manual, n.:
A unit of documentation.  There are always three or more on a
given item.  One is on the shelf; someone has the others.  The
information you need is in the others.
-- Ray Simard
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: oflag option in GNU dd - equivalent in FreeBSD dd ?

2007-10-22 Thread Juri Mianovich

--- Dan Nelson [EMAIL PROTECTED] wrote:

 In the last episode (Oct 22), Juri Mianovich said:
  I am used to using this command in Linux, using
 GNU
  dd:
  
  dd if=/blah of=/bleh oflag=append conv=notrunc
  
  The problem is, FreeBSD 'dd' does not understand
 the
  oflag argument.
  
  Is there some equivalent in the FreeBSD 'dd'
 syntax
  that I can use, or am I forced to install GNU
 utils ?
 
 Why not cat /blah  /bleh ?  dd is usually used
 on raw device nodes,
 and appending doesn't make sense there.


I have a long, boring (but good) reason that I can't
use 'cat'.  I need to use 'dd'.

The syntax above will work perfectly if I use GNU dd,
but I'd like to simplify the setup and use the
built-in n'dd' if possible.

So ... is there a freebsd equivalent to the GNU:

dd if=/blah of=/bleh oflag=append conv=notrunc

syntax ?  Anyone ?

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


Re: Want to upgrade sendmail in next OS release

2007-10-22 Thread Bill Vermillion
Ang utong ko ay sasabog sa sarap! exclaimed
[EMAIL PROTECTED] while reading this message
on Mon, Oct 22, 2007 at 21:33 and then responded with:

 Date: Mon, 22 Oct 2007 09:05:54 +0100
 From: Matthew Seaman [EMAIL PROTECTED]
 Subject: Re: Want to upgrade sendmail in next OS release

 Tuc at T-B-O-H.NET wrote:

   I don't want to build out of ports because it is set up not
  to override the base install.

 Actually, I think your perception is incorrect here. If you want
 sendmail-8.14.1 on a FreeBSD 6.x system, then installing it out
 of ports really is the best and easiest way to go. There's no
 need to overwrite what the base system installs -- because of
 the way mailwrapper works, /usr/sbin/sendmail will refer to the
 ports version automatically.

 The ports version of sendmail is a pretty seamless drop in for
 the system version. You don't even need to use the startup
 scripts the port installs in /usr/local/etc/rc.d Instead, if you
 add the following to /etc/make.conf you can use the standard
 /etc/rc.d/sendmail start/stop scripts and all the machinery in
 /etc/mail for turning .mc into .cf files:

SENDMAIL_CF_DIR=/usr/local/share/sendmail/cf
MAKEMAP=/usr/local/sbin/makemap
 
   Cheers,
 
   Matthew
 

Agree completely as I've been doing that for the last couple of
years at a smallish ISP. Never a problem. And the install script
tells you how to update the 'mailwrapper'. It will also let you
set options for other MTAs and not modify programs that call
sendmail, which will then use the MTA of your choice.  The
mailwrapper is a nice concept.

As to the OP's worry [in the original post not included here] was
the concern about shutting down the system when doing this.
Certainly it would problematic if he built from the system as
in an OS upgrade, but for an application such as sendmail that's
not needed.

If he uses the ports and modifies the mailwrapper correctly,
after that all he has to do is restart sendmail.  That means
his MTA will be down for only a very few seconds, depending upon
the speed of the machine.  On a fast machine it may be totally
transparent.

Bill

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


Re: Is it difficult to move from Linux?

2007-10-22 Thread Benjamin M. A'Lee
On Mon, Oct 22, 2007 at 07:33:57PM +0100, Donovan R. Palmer wrote:
 I have been using Linux for over 10 years, but have for a number of reasons 
 become very interested in learning to use FreeBSD. Are there any ex or 
 current Linux users here and could you tell me how hard it is to make the 
 shift from Linux?  Is there anything in particular which has been written 
 which would be useful to read?

Depends, really. For the average desktop user, there's no difference
whatsover - Gnome, KDE, etc., are basically identical on both platforms.
From an administration point of view, things are in different places - but
if you've used more than a couple of GNU/Linux distributions you may have
encountered this anyway.

The only difficulty I've had is in portability of things like shell
scripts and Makefiles between the two; options supported in one version of
a program may not always be supported in the other and/or may
work differently (this isn't to say BSD is worse, just different).

A couple of links:

http://www.onlamp.com/pub/a/bsd/2004/11/11/FreeBSD_Basics.html
http://www.over-yonder.net/~fullermd/rants/bsd4linux/bsd4linux1.php

-- 
Benjamin A'Lee [EMAIL PROTECTED]
http://subvert.org.uk/~bma/
If you can't explain it simply, you don't understand it well enough. -
Albert Einstein


pgpdGZWPcqCDG.pgp
Description: PGP signature


user ppp and PPPoE bridging

2007-10-22 Thread Gary Aitken

I'm attempting to change a DSL link from using PPPoE in the DSL modem
to doing PPPoE on 6.1, with the modem in bridging mode.

I've put the DSL modem in bridging mode, and it brings up the link
properly -- or at least it reports it as up (DSL led steady; modem status
report shows it as up, rfc 1483.

Using user ppp, when I attempt to establish the PPPoE connection, I
never get very far -- ppp dies when it tries to acquire carrier.  I
don't understand this, as there isn't a carrier signal to acquire on
an ethernet.  I tried disabling cd in ppp.conf but as noted in the doc,
it's required for a PPPoE connection and is forced on.

Also, how do I know know which interface it is attempting to connect to?
The debug log shows it found five interfaces, but doesn't indicate which
one it is trying to connect to.

Thanks for any clues,

Gary

  log file:  =

Oct 22 16:34:15 nightmare ppp[84336]: Phase: Using interface: tun0 Oct 22 
16:34:15 nightmare ppp[84336]: Phase: deflink: Created in closed state
Oct 22 16:34:15 nightmare ppp[84336]: tun0: Command: default: set log -timer
Oct 22 16:34:15 nightmare ppp[84336]: tun0: Command: default: ident user-ppp 
VERSION (built COMPILATIONDATE)
Oct 22 16:34:15 nightmare ppp[84336]: tun0: Command: default: set redial 15 0
Oct 22 16:34:15 nightmare ppp[84336]: tun0: Command: default: set reconnect 15 
1
Oct 22 16:34:15 nightmare ppp[84336]: tun0: Phase: PPP Started (interactive 
mode).
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: /dev/ttyp3: dial blackfoot
Oct 22 16:34:24 nightmare ppp[84336]: tun0: ID0: 0x282e72e0 = fopen(/etc/ppp/ppp.conf, 
r)
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Debug: ReadSystem: Checking default 
(/etc/ppp/ppp.conf).
Oct 22 16:34:24 nightmare ppp[84336]: tun0: ID0: 0x282e72e0 = fopen(/etc/ppp/ppp.conf, 
r)
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Debug: ReadSystem: Checking 
blackfoot (/etc/ppp/ppp.conf).
Oct 22 16:34:24 nightmare ppp[84336]: tun0: ID0: 0x282e72e0 = fopen(/etc/ppp/ppp.conf, 
r)
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Debug: ReadSystem: Checking 
blackfoot (/etc/ppp/ppp.conf).
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: set device 
PPPoE:ed1
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: disable acfcomp 
protocomp
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: deny acfcomp
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: set mtu max 1492
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: set mru max 1492
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: enable mssfixup
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: set speed sync
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: enable lqr
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: set lqrperiod 5
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: set ctsrts off
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: disable ipv6cp
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: set dial
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: set login
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: set timeout 0
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: set authname 

Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: set authkey 

Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: add! default 
HISADDR
Oct 22 16:34:24 nightmare ppp[84336]: tun0: ID0: 3 = socket(17, 3, 0)
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Phase: bundle: Establish
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Phase: deflink: closed - opening
Oct 22 16:34:24 nightmare ppp[84336]: tun0: ID0: 0 = NgMkSockNode(, cs, ds)
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Debug: List of netgraph node 
``ed1:'' (id 2) hooks:
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Debug:   Found orphans - ethernet
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Debug: Connecting netgraph socket 
.:tun0 - [8]::tun0
Oct 22 16:34:24 nightmare ppp[84336]: tun0: ID0: 4 = socket(2, 2, 0)
Oct 22 16:34:24 nightmare ppp[84336]: tun0: ID0: 0 = ioctl(4, 3223349521, 
0xbfbfda00)
Oct 22 16:34:24 nightmare ppp[84336]: tun0: ID0: 0 = ioctl(4, 2149607696, 
0xbfbfda00)
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Debug: Sending PPPOE_CONNECT to 
.:tun0
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Debug: Found the following 
interfaces:
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Debug:  Index 1, name ep0
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Debug:  Index 2, name plip0
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Debug:  Index 3, name ed1
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Debug:  Index 4, name lo0
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Debug:  Index 5, name tun0
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Phase: deflink: Connected!
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Phase: deflink: opening - dial
Oct 22 16:34:24 

Re: Is it difficult to move from Linux?

2007-10-22 Thread Jerry McAllister
On Mon, Oct 22, 2007 at 07:33:57PM +0100, Donovan R. Palmer wrote:

 Hi,
 
 I have been using Linux for over 10 years, but have for a number of reasons 
 become very interested in learning to use FreeBSD. Are there any ex or 
 current Linux users here and could you tell me how hard it is to make the 
 shift from Linux?  Is there anything in particular which has been written 
 which would be useful to read?

There are lots of them.
The best thing to do is start going through the FreeBSD Handbook.
Go to:
 http://www.freebsd.org/

Click on documentation and then on the handbook.  It is all there.
The faqs and other online publications can also be helpful as well
as some books such as FreeBSD Unleashed and others, depending on
how much you want to know and how much you just want to tinker around.

Then, just download the latest RELEASE install CD, burn it and 
following the Handbook, do an install.

It is structured a little differently and some names are different.
What Microsloth calls primary partitions are 'slices' in BSD and
then slices are further divided in to partitions on which you 
build file systems.   The installer takes care of all that if you
want, but it helps to know.

jerry

 
 T.I.A. 
 
 ___
 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: Can login using root password, but not remotely with SSH

2007-10-22 Thread Jerry McAllister
On Mon, Oct 22, 2007 at 03:39:19PM -0400, Robert Huff wrote:

 
 James writes:
 
   Add yourself to wheel (which is the root group on FreeBSD, a name
   I believe it inherited from earlier BSDs, but I've no idea what
   the justification for choosing 'wheel' is; any BSD historians
   here - you'd be welcome to let us know!)
 
   Not sure, but I believe wheel predates UNIX.  I have
 certainly seen the idea on OSes that do.

Wheel is 'big wheel' as in the hot shot who has the run of things
and bosses folks around - or thinks he can.

jerry

 
   Robert Huff
 ___
 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: Is it difficult to move from Linux?

2007-10-22 Thread Mike Jeays
On October 22, 2007 02:33:57 pm Donovan R. Palmer wrote:
 Hi,

 I have been using Linux for over 10 years, but have for a number of reasons
 become very interested in learning to use FreeBSD. Are there any ex or
 current Linux users here and could you tell me how hard it is to make the
 shift from Linux?  Is there anything in particular which has been written
 which would be useful to read?

 T.I.A.

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

I think it is a very easy shift.  It doesn't take long to learn that the file 
structure is a bit different - as an easy example, many things in /usr/bin in 
Linux are in /usr/local/bin in FreeBSD.  The FreeBSD Handbook is a superb 
resource, bringing everything together in a single document.  For a system 
running KDE or GNOME, it is hard to tell the difference.  The software 
installation system (source-based ports or binary packages) are about as easy 
to use as apt-get or its equivalents.



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


user ppp and PPPoE bridging

2007-10-22 Thread freebsd

I'm attempting to change a DSL link from using PPPoE in the DSL modem
to doing PPPoE on 6.1, with the modem in bridging mode.

I've put the DSL modem in bridging mode, and it brings up the link
properly -- or at least it reports it as up (DSL led steady; modem status
report shows it as up, rfc 1483.

Using user ppp, when I attempt to establish the PPPoE connection, I
never get very far -- ppp dies when it tries to acquire carrier.  I
don't understand this, as there isn't a carrier signal to acquire on
an ethernet.  I tried disabling cd in ppp.conf but as noted in the doc,
it's required for a PPPoE connection and is forced on.

Also, how do I know know which interface it is attempting to connect to?
The debug log shows it found five interfaces, but doesn't indicate which
one it is trying to connect to.

Thanks for any clues,

Gary

  log file:  =

Oct 22 16:34:15 nightmare ppp[84336]: Phase: Using interface: tun0 Oct 22 
16:34:15 nightmare ppp[84336]: Phase: deflink: Created in closed state
Oct 22 16:34:15 nightmare ppp[84336]: tun0: Command: default: set log -timer
Oct 22 16:34:15 nightmare ppp[84336]: tun0: Command: default: ident user-ppp 
VERSION (built COMPILATIONDATE)
Oct 22 16:34:15 nightmare ppp[84336]: tun0: Command: default: set redial 15 0
Oct 22 16:34:15 nightmare ppp[84336]: tun0: Command: default: set reconnect 15 
1
Oct 22 16:34:15 nightmare ppp[84336]: tun0: Phase: PPP Started (interactive 
mode).
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: /dev/ttyp3: dial blackfoot
Oct 22 16:34:24 nightmare ppp[84336]: tun0: ID0: 0x282e72e0 = fopen(/etc/ppp/ppp.conf, 
r)
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Debug: ReadSystem: Checking default 
(/etc/ppp/ppp.conf).
Oct 22 16:34:24 nightmare ppp[84336]: tun0: ID0: 0x282e72e0 = fopen(/etc/ppp/ppp.conf, 
r)
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Debug: ReadSystem: Checking 
blackfoot (/etc/ppp/ppp.conf).
Oct 22 16:34:24 nightmare ppp[84336]: tun0: ID0: 0x282e72e0 = fopen(/etc/ppp/ppp.conf, 
r)
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Debug: ReadSystem: Checking 
blackfoot (/etc/ppp/ppp.conf).
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: set device 
PPPoE:ed1
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: disable acfcomp 
protocomp
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: deny acfcomp
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: set mtu max 1492
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: set mru max 1492
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: enable mssfixup
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: set speed sync
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: enable lqr
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: set lqrperiod 5
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: set ctsrts off
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: disable ipv6cp
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: set dial
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: set login
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: set timeout 0
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: set authname 

Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: set authkey 

Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: add! default 
HISADDR
Oct 22 16:34:24 nightmare ppp[84336]: tun0: ID0: 3 = socket(17, 3, 0)
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Phase: bundle: Establish
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Phase: deflink: closed - opening
Oct 22 16:34:24 nightmare ppp[84336]: tun0: ID0: 0 = NgMkSockNode(, cs, ds)
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Debug: List of netgraph node 
``ed1:'' (id 2) hooks:
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Debug:   Found orphans - ethernet
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Debug: Connecting netgraph socket 
.:tun0 - [8]::tun0
Oct 22 16:34:24 nightmare ppp[84336]: tun0: ID0: 4 = socket(2, 2, 0)
Oct 22 16:34:24 nightmare ppp[84336]: tun0: ID0: 0 = ioctl(4, 3223349521, 
0xbfbfda00)
Oct 22 16:34:24 nightmare ppp[84336]: tun0: ID0: 0 = ioctl(4, 2149607696, 
0xbfbfda00)
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Debug: Sending PPPOE_CONNECT to 
.:tun0
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Debug: Found the following 
interfaces:
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Debug:  Index 1, name ep0
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Debug:  Index 2, name plip0
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Debug:  Index 3, name ed1
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Debug:  Index 4, name lo0
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Debug:  Index 5, name tun0
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Phase: deflink: Connected!
Oct 22 16:34:24 nightmare ppp[84336]: tun0: Phase: deflink: opening - dial
Oct 22 16:34:24 

Re: defend from - :() { ::; } ;:

2007-10-22 Thread Mike Jeays
On October 22, 2007 03:58:35 pm Rolf G Nielsen wrote:
 Danielisz Laszlo wrote:
  Please do not try to execute this: :() { ::; } ;: on your BSD machine.
  I ask all who already tried it how to defend from this?
 
 
 
  __
  Do You Yahoo!?
  Tired of spam?  Yahoo! Mail has the best spam protection around
  http://mail.yahoo.com
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]

 What does it do?

It is easier to understand when you replace the : by a more conventional 
subroutine name.

myproc () {
  myproc 
  myproc
}

myproc

It recursively generates useless processes that clog up the machine. Mine 
ground to a halt and froze after a few seconds.




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


Re: Is it difficult to move from Linux?

2007-10-22 Thread Chad Perrin
On Mon, Oct 22, 2007 at 07:33:57PM +0100, Donovan R. Palmer wrote:
 
 I have been using Linux for over 10 years, but have for a number of reasons 
 become very interested in learning to use FreeBSD. Are there any ex or 
 current Linux users here and could you tell me how hard it is to make the 
 shift from Linux?  Is there anything in particular which has been written 
 which would be useful to read?

I found it dead easy -- much, much easier than making the switch from MS
Windows to Linux was.

The best source of information on FreeBSD for new FreeBSD users is, in my
opinion, the FreeBSD handbook:

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

Another excellent source of information is The Complete FreeBSD:

  http://www.lemis.com/grog/Documentation/CFBSD/

There are a couple other books out there that I've found to be quite
excellent, as well.

In general, I think you'll find much of the differences between most
Linux distributions and FreeBSD quite minor, but a touch strange at
first, and in the long run very positive.  At least, that's my
experience.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
They always say that when life gives you lemons you should make lemonade. 
I always wonder -- isn't the lemonade going to suck if life doesn't give
you any sugar?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OT: UltraDNS and dor org domains.

2007-10-22 Thread RW
On Mon, 22 Oct 2007 13:43:06 -0500
DAve [EMAIL PROTECTED] wrote:

 We just put our replacement DNS servers online, djbdns replacing Bind.
 In testing with the few domains we have moved to the new servers we
 began getting intermittent failures for some clients.
 
 It is only dot org domains, checking deeper it ain't us. If I do a
 domain query from dnsstuff for any org, I sometimes get nothing but
 name server records. This happens when the root servers refer the
 query to TLSx.Ultradns.net.
 
 I see ultradns failing to return A records for slashdot.org and
 openoffice.org as well others.

I don't see what you are getting at here, why would Ultradns return
A-records for slashdot.org when they don't provide that domains DNS? 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: defend from - :() { ::; } ;:

2007-10-22 Thread Jonathan Chen
On Mon, Oct 22, 2007 at 06:44:18PM +0200, Martin Tournoij wrote:
 On Sun 21 Oct 2007 12:10, Danielisz Laszlo wrote:
  Please do not try to execute this: :() { ::; } ;: on your BSD machine.
  I ask all who already tried it how to defend from this?
 
 Wow,, my machine just crashed :-/
 Does in this work on other OS's as well (ie. GNU/Linux)? Or just
 (Free?)BSD? I really don't feel like crashing another machine right
 now...
 
 Only works in sh, not in csh.
 
 Anyway, this seems to be security/stability issue, maybe a PR is in
 order?

More likely something's wrong with your system? I tried out the fork
bomb on my box, and while it crawled for a while, it came back out
fine. Running 6-STABLE.

Cheers.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
  Experience is a hard teacher
   because she gives the test first, the lesson afterwards
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OT: UltraDNS and dor org domains.

2007-10-22 Thread Robert Woolley
On Tue, 23 Oct 2007 01:10:49 +0100
RW [EMAIL PROTECTED] wrote:

 On Mon, 22 Oct 2007 13:43:06 -0500
 DAve [EMAIL PROTECTED] wrote:
 
  We just put our replacement DNS servers online, djbdns replacing
  Bind. In testing with the few domains we have moved to the new
  servers we began getting intermittent failures for some clients.
  
  It is only dot org domains, checking deeper it ain't us. If I do a
  domain query from dnsstuff for any org, I sometimes get nothing but
  name server records. This happens when the root servers refer the
  query to TLSx.Ultradns.net.
  
  I see ultradns failing to return A records for slashdot.org and
  openoffice.org as well others.
 
 I don't see what you are getting at here, why would Ultradns return
 A-records for slashdot.org when they don't provide that domains DNS? 

but if you're asking why it doesn't provide A-records for the domain's
nameservers, then presumably it's because the nameservers themselves
are using a different TLD.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OT: UltraDNS and dor org domains.

2007-10-22 Thread DAve
Chuck Swiger wrote:
 On Oct 22, 2007, at 11:43 AM, DAve wrote:
 It is only dot org domains, checking deeper it ain't us. If I do a
 domain query from dnsstuff for any org, I sometimes get nothing but name
 server records. This happens when the root servers refer the query to
 TLSx.Ultradns.net.

 I see ultradns failing to return A records for slashdot.org and
 openoffice.org as well others.

 Is anyone else seeing this?
 
 No, but I use dig, not dnsstuff.  Are the missing records visible by:
 
   dig slashdot.org @ns1.ostg.com
   dig openoffice.org @ns1.collab.net

Dig works here as to be expected. Not a problem.

 
 ...?  I don't see why ultradns.net would be involved...?
 

Because dnsstuff is the only service where I can see the full path of
the query. Dig does not show me how/where it queries, it simply provides
the answer. I cannot see the output of the +trace command due to my network.

I think it is an ultradns issue because they are the only TLD server
that doesn't return a SOA record. I am thinking, maybe dangerous, that
our client's AD install doesn't handle a query response properly for
that reason.

One look at my DNS logs tells me AD is rarely configured properly.

DAve



-- 
Three years now I've asked Google why they don't have a
logo change for Memorial Day. Why do they choose to do logos
for other non-international holidays, but nothing for
Veterans?

Maybe they forgot who made that choice possible.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >