Re: CDRW Stopped Working Moving to 6.x

2007-09-23 Thread Crist J. Clark
On Wed, Sep 19, 2007 at 03:24:16PM -0400, Lowell Gilbert wrote:
> "Crist J. Clark" <[EMAIL PROTECTED]> writes:
> 
> > On Fri, Sep 14, 2007 at 07:35:24AM -0400, Lowell Gilbert wrote:
> >> "Crist J. Clark" <[EMAIL PROTECTED]> writes:
> >> 
> >> > Looking at the dmesg(1) from the last boot,
> >> >
> >> >   # fgrep cd0 /var/run/dmesg.boot
> >> >   acd0: CDROM  at ata1-master UDMA33
> >> >
> >> > Makes me think the system is not recognizing the device as CDRW,
> >> > only CDROM.
> >> 
> >> You're right, and that's the key point to start from.
> >> Don't worry about ATAPI/CAM; it won't be used by burncd, and won't
> >> work any better than direct ATAPI drivers if the device isn't
> >> recognized as a CDRW.
> >> 
> >> The funny thing is (unless I recall incorrectly, which is possible
> >> before my first cup of coffee for the day), the ID string is provided
> >> by the device itself.  And I just looked it up; CRD-8400B is
> >> definitely a CDROM.  So I don't think the OS is confused; if anything,
> >> the device itself is what's confused.
> >> 
> >> Just to doublecheck: are you really sure you haven't changed the drive
> >> since the last time you burned a CD?
> >
> > Nope, haven't changed the drive. Went and had a look at the front and
> > it's got "CD/RW" on the "disc" symbol on the front of the tray. But
> > going back to some old dmesg(1) from this same box when the buring
> > worked back in 4.x,
> >
> >   FreeBSD 4.11-STABLE #1: Sun Jun 19 00:18:37 PDT 2005
> >   [EMAIL PROTECTED]:/var/tmp/tmp_cjc/obj/usr/src/sys/GOKU
> >   [snip]
> >   acd0: CDROM  at ata1-master PIO4
> >
> > H...
> 
> Wow.  Good thinking to check that.
> 
> Definitely sounds like you are being bitten by something dodgy in the
> device probing which has been there for a long time but was benign in
> the past.  You'll need someone who knows the probing code...

S... After spending a few more hours trying to figure this out,
I get some confusing messages when I just try to read a CDROM!
Long story short, ha. ha. you'll laugh. I was looking at the
wrong machine. The one with the drive clearly embosed with the
"disc" symbol saying "Rewritable" is (besides also clearly being
labeled with the system's name which is not the system I was
trying to run the burncd(8) command on),

  acd0: CDRW  at ata1-master PIO4

And the machine I was trying to actually run the command on,
the machine above, is indeed a CDROM.
-- 
Crist J. Clark | [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't get audio in realvideo

2007-09-23 Thread Lars Eighner

On Mon, 24 Sep 2007, Andreas Davour wrote:


Hope some brighter minds can give me some hint what to do.

/Andreas


This is a pretty obvious question, but do you get audio (not just beeps)
from any other program?


--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


RE: Why is sendmail in the core of FreeBSD?

2007-09-23 Thread Ted Mittelstaedt


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Gabriel Dragffy
> Sent: Sunday, September 23, 2007 6:25 AM
> To: freebsd-questions@freebsd.org
> Subject: Re: Why is sendmail in the core of FreeBSD?
> 

> I have a russian friend, he's a sysadmin, works exclusively with  
> FreeBSD. He reckon Postfix is also great under pressure. Since  
> sendmail is in the core of FreeBSD, does that mean it will quickly  
> get security updates when exploits are found?

No, we FreeBSD admins like to run insecure servers.NOT!

Really now, this is starting to get into trolling.  If you took a moment
to read the FreeBSD website you would have your answer.

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


RE: Netatalk

2007-09-23 Thread Ted Mittelstaedt

Gabriel,

Ignore Martin he doesen't know how to get it running
so he's pulling the old "spurning what he cannot do"
refer to the Aesop fable "Fox and the Grapes" for more
information.

If you run OS9 emulation under OSX you need AFP.

Many older print servers only speak AFP

AFP handles the split resource/data fork properly,
Samba does not.  You will see this in a number of
minor ways.

To get it running:

define NETATALK in kernel and recompile


cd /usr/ports/net/netatalk
make  WITH_SRVLOC=yes install

add the following in /etc/rc.conf:

slpd_enable="YES"
netatalk_enable="YES"
atalkd_enable="YES"
cnid_metad_enable="YES"
afpd_enable="YES"

cd /usr/ports/net/howl
make install

cd /etc
vi rc.conf
add in
mdnsresponder_enable="YES"
mdnsresponder_flags="-f /usr/local/etc/mDNSResponder.conf

then create the config file as such

vi /usr/local/etc/mDNSResponder.conf
BigMac _afpovertcp._tcp local.  548
BigMac _ssh._tcpServers. 548

MUST BE TABS BETWEEN ITEMS and NEWLINE AT END!
BigMac is your servername

test with slptool findsrvs service:service-agent
and mDNSResponder lookups

your problem is that afpd only advertises over appletalk, not over
tcp/ip.  Since your Macs are all OSX they don't listen to appletalk
announcements.  They listen to appletalk-over-tcp/ip announcements
which use the rendezevous protocol which is what mdnsresponder is
all about.

One important note - try to keep the samba shares separate
from the appletalk shares.  Samba clients do not update the
desktop file when they move/change/delete files which will result in
a corrupted desktop file. (ie: CNID database)  If that happens do this:

 
/usr/local/etc/rc.d/netatalk.sh stop
 
cat /usr/local/etc/AppleVolumes.default
 
(shares are listed at the bottom)
 
go to each share with the problem and rename the directory, ie:
 
cd /home/shares/Public
mv .AppleDB .AppleDB-temp-backup
 
restart netatalk
 
/usr/local/etc/rc.d/netatalk.sh start
 
verify people can mount the shares and get to their files
 
Delete the .AppleDB-temp-backup dirs.

Ted

PS:  Appletalk is older networking technology but there is
nothing wrong with it and it works no worse than newer
technologies.

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Gabriel Dragffy
> Sent: Sunday, September 23, 2007 9:42 AM
> To: freebsd-questions@freebsd.org
> Subject: Re: Netatalk
> 
> 
> 
> On 23 Sep 2007, at 16:13, Martin Hepworth wrote:
> 
> > Why you need netatalk - you still got some old MacOS 8/9 machines  
> > about?
> >
> > --
> 
> no, they are all os x macbook pros. However we sometimes access over  
> the internet using AFP, and this uses encrypted passwords which is  
> safer. Also, afp integrates very well with the mac machines, better  
> than samba and far better than NFS. I've been using FreeNAS which has  
> worked well, but unfortunately freezes every few hours, so it's  
> useless. Trying to build my own version of it.
> 
> ___
> 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: Re[2]: Why is sendmail in the core of FreeBSD?

2007-09-23 Thread Ted Mittelstaedt


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Gerard
> Sent: Saturday, September 22, 2007 10:25 AM
> To: User Questions
> Subject: Re[2]: Why is sendmail in the core of FreeBSD?
> 
> 
> On September 22, 2007 at 09:07AM Robert C Wittig wrote:
> 
> 
> > Yep... if it works, don't 'fix' it.
> 
> Absolutely! The hell with technological advances. Lets stay with those
> rock solid 8088 processors.
> 
> 

Postfix and Exim aren't technological advances to Sendmail.  They
are just different ways of doing things.

The correct analogy would be "to hell with those 6502 processors.
Let's stay with those rock solid 8080 processors"

In which case it would be obvious to all how silly the statement
was.

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


RE: Why is sendmail in the core of FreeBSD?

2007-09-23 Thread Ted Mittelstaedt


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Gabriel Dragffy
> Sent: Saturday, September 22, 2007 3:56 AM
> To: freebsd-questions@freebsd.org
> Subject: Why is sendmail in the core of FreeBSD?
> 
> 
> Just been wondering about this. If you do a standard install of  
> FreeBSD it includes things such as a basic FTP daemon, all the  
> various utilities such as df, ls, etc. SSHD etc. I assum these are  
> all in FreeBSDs core, as developed in the same CVS repo. Having read  
> the mails on this list for several weeks it seems obvious that most  
> people regard Postfix or EXIM to be the best MTAs,

Wrong.  Most people who have POSTED consider Postfix/Exim better than
sendmail.  This is not at all any kind of scientific or accurate
poll.

You might consider also that Postfix is under the IBM license which
has an "advertising clause" that is incompatible with the Berkeley/
FreeBSD license that FreeBSD is under - and EXIM is under the GPL
which is utterly and totally incompatible with the FreeBSD/Berkeley
license and would probably cause problems for commercial users of
FreeBSD.

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


Vhat kind of *simple* video card? (was: Re: disc failure? at least snail snow CPU...)

2007-09-23 Thread Robert Huff

Gary Kline writes:

>   Also:: would a simple Matrox Millennium serve as a new video
>  board?  I do not need/want anything gamer-fancy, so am looking
>  for something simple, like a MM with 8 or 16megs of video memory.

I have gotten 6 years of steady service from a G400 with 32mb.


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: Vhat kind of *simple* video card?

2007-09-23 Thread Erich Dollansky

Hi,

Gary Kline wrote:


Sometimes it gets into a mode where it is super slow.  Do you,
or anybody else have a clue why??


it could be caused by a faulty hard disk.

Is the system just waiting?


Also:: would a simple Matrox Millennium serve as a new video
board?  I do not need/want anything gamer-fancy, so am looking
for something simple, like a MM  with 8 or 16megs of video
	memory.  


This is the kind of card to go for then.

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


Re: Moused issues?

2007-09-23 Thread Joe Altman
On Sat, Sep 22, 2007 at 05:12:45PM -0400, Nick Evans wrote:
> 
> Try using version 1.94 of ums.c in /sys/dev/usb/. This fixes my
> Razor. Newer versions don't crash on me, but the mouse attaches then
> does nothing.

Thank you for the suggestion, Nick; but no joy: the kernel compile
fails:

/usr/src/sys/dev/usb/ums.c: In function `ums_match':
/usr/src/sys/dev/usb/ums.c:202: error: `UIPROTO_MOUSE' undeclared (first use in 
this function)
/usr/src/sys/dev/usb/ums.c:202: error: (Each undeclared identifier is reported 
only once
/usr/src/sys/dev/usb/ums.c:202: error: for each function it appears in.)
/usr/src/sys/dev/usb/ums.c: In function `ums_attach':
/usr/src/sys/dev/usb/ums.c:341: error: `UQ_MS_BAD_CLASS' undeclared (first use 
in this function)
*** Error code 1


Oddly, my AMD64 laptop uses ums.c 1.77.2.5 2007/06/17 along with the
new moused, etcetera; and it does not fall over with or without the
Razer attached to it. I'd mark it down to an oddness in my source
tree on the i386 desktop; but since Nick seems to have had the same
problem with a Razer, I can't.

uname for the machine on which it fails:

6.2-STABLE FreeBSD 6.2-STABLE #0: Sun Sep  2 17:30:39 EDT 2007 i386

Is it possible to get more info on this for debugging short of putting
debugging in the kernel, and configuring a dump device; rebuilding
world, and hoping my machine does not become unusable?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


IPFW + NATD FORWARDING

2007-09-23 Thread mr. phreak
Hi, I am having trouble with my IPFW+NATD forwarding. I know a lot of 
people have
and I've googled my ass off. Still I can't get it right. I'm trying to 
forward port 1213 in/out for dc++ usage.


this is my setup:

 __WAN router (192.168.1.1)
 |
 |
(FreeBSD gateway/fw NIC1:ath0 (public) NIC2:rl0 (LAN) )
 |
 |__
  LAN (10.10.10.0/24)

I use stateful rules and I'd like to forward port 1213 both ways using 
natd. I know NATD should take care of this as long as i allow port 1213 
in/out from the firewall. I've tried this at almost every position in 
the ipfw.rules and now i ask where i should put it?? i.e it's not there 
right now.


I've tried:

$cmd [num] allow all from any to any 1213 (at various positions in 
ipfw.rules) still doesn't work.


$cmd [num] divert natd all from any to any 1213.

Can someone help me?

J


Here is my files:

my natd.conf:

use_sockets yes
same_ports yes
dynamic yes
redirect_port tcp 10.10.10.2:1213 1213
redirect_port udp 10.10.10.2:1213 1213


ipfw.rules:
### start ipfw rules #
##

ipfw -q -f flush   # Delete all

# INIT #

oif="ath0" # out NIC
cmd="ipfw -q add " # quiet
skip="skipto 4000" # skipto NATD.

# BEGIN RULES #
#

# LAN NO RESTRICTIONS ###
#
$cmd 00300 allow all from any to any via rl0

# LOOPBACK NO RESTRICTIONS ##
#
$cmd 00400 allow all from any to any via lo0

# NATD IN? THEN TRANSLATE ###
#
$cmd 00450 divert natd ip from any to any in via $oif

# CHECK-STATE ###
#
$cmd 00500 check-state

### ( OUTBOUND ) ###


# DNS ##
$cmd 00600 $skip tcp from any to 195.67.199.39 53 out via $oif setup 
keep-state

$cmd 00610 $skip udp from any to 195.67.199.39 53 out via $oif keep-state

# DHCP #
$cmd 00700 $skip udp from any to any 67 out via $oif keep-state

# HTTP #
$cmd 00800 $skip tcp from any to any 80 out via $oif setup keep-state

# HTTPS 
$cmd 00810 $skip tcp from any to any 443 out via $oif setup keep-state

# POP & SMTP ###
$cmd 00900 $skip tcp from any to any 25 out via $oif setup keep-state
$cmd 00910 $skip tcp from any to any 110 out via $oif setup keep-state

# FREEBSD CVS ##
$cmd 01000 $skip tcp from me to any out via $oif setup keep-state uid root

# ALLOW PING OUT ###
$cmd 01100 $skip icmp from any to any out via $oif keep-state

# SSH ##
$cmd 01200 $skip tcp from any to any 22 out via $oif setup keep-state

# WHOIS 
$cmd 01300 $skip tcp from any to any 43 out via $oif setup keep-state

# FTP ##
$cmd 01400 $skip tcp from any to any 21 out via $oif setup keep-state

# IRC ##
$cmd 01500 $skip tcp from any to any 6667 out via $oif setup keep-state
$cmd 01510 $skip tcp from any to any  out via $oif setup keep-state
$cmd 01520 $skip tcp from any to any 5020 out via $oif setup keep-state

# SHOUTCAST 

$cmd 01600 $skip tcp from any to any 9000 out via $oif setup keep-state 


### ( INBOUND ) 


# Deny all inbound from non-routable ###
$cmd 02000 deny all from 192.168.0.0/16 to any in via $oif
$cmd 02010 deny all from 172.16.0.0/12 to any in via $oif
$cmd 02020 deny all from 10.0.0.0/8 to any in via $oif
$cmd 02030 deny all from 127.0.0.0/8 to any in via $oif
$cmd 02040 deny all from 0.0.0.0/8 to any in via $oif
$cmd 02050 deny all from 169.254.0.0/16 to any in via $oif  
$cmd 02060 deny all from 192.0.2.0/24 to any in via $oif  
$cmd 02070 deny all from 204.152.64.0/23 to any in via $oif 
$cmd 02080 deny all from 224.0.0.0/3 to any in via $oif


# DENY PING INBOUND 
$cmd 02100 deny icmp from any to any in via $oif

# DENY IDENT ###
$cmd 02200 deny tcp from any to any 113 in via $oif

# DENY NETBIOS #
$cmd 02300 deny tcp from any to any 137 in via $oif
$cmd 02310 deny tcp from any to any 138 in via $oif
$cmd 02320 deny tcp from any to any 139 in via $oif
$cmd 02330 deny tcp from any to any 81 in via $oif

# DHCP #
$cmd 02400 allow udp from any to 192.168.1.1 68 in via $oif keep-state

# HTTP #
$cmd 02500 allow tcp from any to me 80 in via $oif setup limit src-addr 2

# HTTPS 
$cmd 02600 a

Re: Kernel Panics in 6.1 and 6.2 always Exim 4

2007-09-23 Thread Kris Kennaway

Wil Hatfield wrote:

-Original Message-
From: Kris Kennaway [mailto:[EMAIL PROTECTED]
Sent: Friday, September 21, 2007 5:20 PM
To: Wil Hatfield
Cc: freebsd-questions@freebsd.org
Subject: Re: Kernel Panics in 6.1 and 6.2 always Exim 4


Wil Hatfield wrote:

Well after a year we still haven't tracked down the kernel

panic problems

that are occuring on both our 6.1 and 6.2 machines for those we have had
time to upgrade.  It occurs on 6.1-RC, 6.1-RELEASE 6.1-STABLE,

6.2, you name

it.

We are noticing that all of the dumps are during Exim 4.6x runtime. I am
suspicious of PR-97095 but would like others insights into the

possibility.

Well, as that PR says, the patch was committed after 6.1-RELEASE,
therefore it is expected that older systems will have the problem.  You
only provided a trace from a 6.1 machine, so if you are saying that it
still persists on an up-to-date RELENG_6 kernel, please file a new PR
with the details.

Kris


Unfortunately when I upgraded the machine I have from 6.1-RELEASE to 6.2 it
stopped dumping for me. So I have nothing to analyze. However, I still get
the kernel panics I did before. Same frequency and always Exim.


That is quite contrary to expectations, so you should follow up with the 
PR.  Please try to at least take a photo of the panic traceback from DDB 
or something.


Kris

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


Vhat kind of *simple* video card? (was: Re: disc failure? at least snail snow CPU...)

2007-09-23 Thread Gary Kline
On Sun, Sep 23, 2007 at 10:06:27AM +0800, Erich Dollansky wrote:
> Hi,
> 
> Gary Kline wrote:
> > Anybody got suggestions on what kind of hard drive to buy for my
> > new main server--if is *is* the drive?  The video board began 
> 
> SCSI? Fujitsu.
> 
> Else?
> 
> Any with 5 years of warranty available near your place.
> 
> I do not bother to buy any other drives anymore.
> 



I will buy at least one Fujitsu SCSI's for my DNS server and foor
the duplicate computer that I'm building as it's backup.  These
are HP-Kayaks and will probably outlive me!  I was asking also 
about my Dell, which is ordinarily very fast; an outstanding
computer and I want to stick with it.  

Sometimes it gets into a mode where it is super slow.  Do you,
or anybody else have a clue why??

Also:: would a simple Matrox Millennium serve as a new video
board?  I do not need/want anything gamer-fancy, so am looking
for something simple, like a MM  with 8 or 16megs of video
memory.  

gary


> Erich

-- 
  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: OpenOffice problems

2007-09-23 Thread Mel
On Sunday 23 September 2007 22:43:39 Marco Beishuizen wrote:
> After a portupgrade from OO 2.2.1 to 2.3.0, OO doesn't run anymore with
> this messages:
>
> /libexec/ld-elf.so.1: Shared object "libstdc++.so.6" not found, required
> by "javaldx"
> /libexec/ld-elf.so.1: Shared object "libstdc++.so.6" not found, required
> by "pagein"
> /libexec/ld-elf.so.1: Shared object "libstdc++.so.6" not found, required
> by "soffice.bin"
>
> Compiling and installation went fine. Also, libstdc++.so.6 is on my
> system, in /usr/compat/linux/usr/lib. I'm trying to run it on FreeBSD 6.2.
>
> Anyone an idea how to solve this?

Q: Do you have linux-jdk installed rather then diablo-jdk?

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


Re: OpenOffice problems

2007-09-23 Thread Marco Beishuizen
On Sun, 23 Sep 2007, Christian Baer wrote:

> On Sun, 23 Sep 2007 23:09:12 +0200 (CEST) Marco Beishuizen wrote:
> 
> > I don't want openoffice to use this library but it seems that openoffice 
> > needs it for something. I only upgraded the port and that whole process 
> > went ok.
> 
> How did you do that?

By typing "portupgrade openoffice.org" in 
/usr/ports/editors/openoffice.org-2


-- 
Both models are identical in performance, functional operation, and
interface circuit details.  The two models, however, are not compatible
on the same communications line connection.
-- Bell System Technical Reference
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Gnome & FreeBSD from putty

2007-09-23 Thread Christian Baer
On Sun, 23 Sep 2007 06:35:00 -0700 Timothy McGee wrote:

> Any way of running Gnome or Firefox from putty remotely?  What's the best
> way to test for the displays setup, etc?  

I'm not too sure, what you are trying to do here. If you want to run a
program or an entire desktop on one computer and have the display on
another computer, that isn't all that difficult.

Look at this text:
http://tldp.org/HOWTO/Remote-X-Apps.html

Unlike the others in this thread, I recommend the use Xming as the Server.
Cygwin is not really being maintained anymore.

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


Re: OpenOffice problems

2007-09-23 Thread Christian Baer
On Sun, 23 Sep 2007 23:09:12 +0200 (CEST) Marco Beishuizen wrote:

> I don't want openoffice to use this library but it seems that openoffice 
> needs it for something. I only upgraded the port and that whole process 
> went ok.

How did you do that?

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


Re: OpenOffice problems

2007-09-23 Thread Marco Beishuizen
On Sun, 23 Sep 2007, Robert Huff wrote:

> 
> Marco Beishuizen writes:
> >  
> >  After a portupgrade from OO 2.2.1 to 2.3.0, OO doesn't run anymore with 
> >  this messages:
> >  
> >  /libexec/ld-elf.so.1: Shared object "libstdc++.so.6" not found, required 
> >  by "javaldx"
> >  
> >  Compiling and installation went fine. Also, libstdc++.so.6 is on
> >  my system, in /usr/compat/linux/usr/lib. I'm trying to run it on
> >  FreeBSD 6.2.
> 
>   Assuming that library is where it's supposed to be ... I do not
> think you want to use linux libraries with a FreeBSD native
> program.  Or at least with /this/ FreeSD native program.
>   Or have I missed something?

I don't want openoffice to use this library but it seems that openoffice 
needs it for something. I only upgraded the port and that whole process 
went ok.

-- 
The person who's taking you to lunch has no intention of paying.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Netatalk

2007-09-23 Thread Albert Shih
 Le 23/09/2007 à 19:55:37+0100, Gabriel Dragffy a écrit
> 
> On 23 Sep 2007, at 19:14, Martin Hepworth wrote:
> 
>> Beg to differ on the AFP vs samb issues from what we use at work using a 
>> mixed environment (*nix, windoze and Mac's).
>> 
>> the filetyping goes alot better using smb than appletalk with MacOS X, and 
>> smb will use encrypted passwds (however poorly encoded) by default, and 
>> even SMB is alot faster than AFP which is horrible slow.
>> 
>> You'll find that using a VPN to access over the internet alot more secure 
>> in any case.
>> 
>> anyway a quick google gives this..
>> 
>> http://www.caboo.se/articles/2006/1/18/apple-file-sharing-via-freebsd
>> 
>> 
> 
> Thanks, I've already read that link, what was suggested didn't work.
> 
> I don't mind using smb, but I have a question or two I would be glad if you 
> could answer:
> Can you connect to a smb server over the internet?
> 
> For example in OS X give the address as smb://example.com?
> 
> Also, how would you get the passwords encrypted? Is this done by default.

It's yes for this two questions

Best regards.
--
Albert SHIH
Observatoire de Paris Meudon
SIO batiment 15
Heure local/Local time:
Dim 23 sep 2007 23:03:48 CEST
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


OpenOffice problems

2007-09-23 Thread Robert Huff

Marco Beishuizen writes:
>  
>  After a portupgrade from OO 2.2.1 to 2.3.0, OO doesn't run anymore with 
>  this messages:
>  
>  /libexec/ld-elf.so.1: Shared object "libstdc++.so.6" not found, required 
>  by "javaldx"
>  
>  Compiling and installation went fine. Also, libstdc++.so.6 is on
>  my system, in /usr/compat/linux/usr/lib. I'm trying to run it on
>  FreeBSD 6.2.

Assuming that library is where it's supposed to be ... I do not
think you want to use linux libraries with a FreeBSD native
program.  Or at least with /this/ FreeSD native program.
Or have I missed something?


Robert Huff



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


OpenOffice problems

2007-09-23 Thread Marco Beishuizen

After a portupgrade from OO 2.2.1 to 2.3.0, OO doesn't run anymore with 
this messages:

/libexec/ld-elf.so.1: Shared object "libstdc++.so.6" not found, required 
by "javaldx"
/libexec/ld-elf.so.1: Shared object "libstdc++.so.6" not found, required 
by "pagein"
/libexec/ld-elf.so.1: Shared object "libstdc++.so.6" not found, required 
by "soffice.bin"

Compiling and installation went fine. Also, libstdc++.so.6 is on my 
system, in /usr/compat/linux/usr/lib. I'm trying to run it on FreeBSD 6.2.

Anyone an idea how to solve this?

Thanks in advance,

Marco

-- 
Before Xerox, five carbons were the maximum extension of anybody's ego.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Software RAID5

2007-09-23 Thread Gabriel Dragffy


On 23 Sep 2007, at 19:30, Matthew Seaman wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Roland Smith wrote:


The things that you should encrypt are /home and maybe /var.


and swap.  Encrypting the swap is really quite important.

Cheers,

Matthew



Oh you know what? I grabbed an ubuntu disc, in the installation I  
configured each of the three hard drives with a 1GB partition which  
became software RAID 1, and the rest of the space another partition  
which became RAID 5 doodah. I configured all this during the  
installation using that debian installer, booted no probs. Next thing  
was to:

sudo -i
sudo aptitude update
sudo aptitude install netatalk -y

OK, done, RAID 5 system, with the OS running on RAID 1, netatlk  
installed and working a few seconds after, total time was about 45  
minutes. I've spent 4 days chasing my tail in freebsd. Wish freebsd  
would be able to help me out with software raid in sysinstall. I'd  
still very much like to figure out how to do this in freebsd, but  
unfortunately spending two weeks to do it makes me look incompetent  
to my employers. FreeBSD is running a web/database/email server and  
doing a fantastic job for that, so it might just be a case of horses  
for courses...


Regards

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


Re: packages compiled from source

2007-09-23 Thread Gabriel Dragffy


On 23 Sep 2007, at 19:51, Karol Kwiatkowski wrote:


Please try not to top-post while replying to freebsd mailing list. It
makes it hard to follow reading from the archives. Comments below.



I'm sorry, was I guilty of top-posting? Didn't mean to :P


Gabriel Dragffy wrote:

On 23 Sep 2007, at 15:35, Karol Kwiatkowski wrote:

Kris Kennaway wrote:

Gabriel Dragffy wrote:

Hi, trying to find out where the complete packge files are for the
packges that I compiled from ports. I wanted to save these  
somewhere

so I wouldn't have to recompile them in the future. The handbook
doesn't shed any light on this:(


They are not saved separately but you can create backups using
pkg_create -b.


In addition, you can use 'package' (or 'package-recursive') target
instead of 'install' to create packages automagically. In that case
target directory is set by PACKAGES variable.

Have a look at ports(7) manpage for details.


Many thanks too all who ansered, that's really helpful. I just had a
hard time compiling lighttpd and php5 together, so wanted to save  
them

as packages to spare me the headache in the near future.

Have read the ports man I see that I can change the PACKAGES in the
environment, but how do I change the environment. Would I edit
/etc/make.conf at a guess?


PACKAGES is environmental variable - you'll want to change the  
variable,

not the environment ;)

To change it system wide permanently - yes, editing /etc/make.conf  
would

be a good idea. The alternatives are setting it in your shell
environment (depends on what you use) or defining it at install time
(every time) with something like 'make PACKAGES=/some/dir package'.  
And

there are probably other methods, too :)


Thanks, I'll look in to this, glad that my wild guess wasn't too far  
wide


Regards

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


Re: Netatalk

2007-09-23 Thread Gabriel Dragffy


On 23 Sep 2007, at 19:14, Martin Hepworth wrote:

Beg to differ on the AFP vs samb issues from what we use at work  
using a mixed environment (*nix, windoze and Mac's).


the filetyping goes alot better using smb than appletalk with MacOS  
X, and smb will use encrypted passwds (however poorly encoded) by  
default, and even SMB is alot faster than AFP which is horrible slow.


You'll find that using a VPN to access over the internet alot more  
secure in any case.


anyway a quick google gives this..

http://www.caboo.se/articles/2006/1/18/apple-file-sharing-via-freebsd




Thanks, I've already read that link, what was suggested didn't work.

I don't mind using smb, but I have a question or two I would be glad  
if you could answer:

Can you connect to a smb server over the internet?

For example in OS X give the address as smb://example.com?

Also, how would you get the passwords encrypted? Is this done by  
default.


Best regards

Gabe

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


Re: packages compiled from source

2007-09-23 Thread Karol Kwiatkowski
Please try not to top-post while replying to freebsd mailing list. It
makes it hard to follow reading from the archives. Comments below.

Gabriel Dragffy wrote:
> On 23 Sep 2007, at 15:35, Karol Kwiatkowski wrote:
>> Kris Kennaway wrote:
>>> Gabriel Dragffy wrote:
 Hi, trying to find out where the complete packge files are for the
 packges that I compiled from ports. I wanted to save these somewhere
 so I wouldn't have to recompile them in the future. The handbook
 doesn't shed any light on this:(
>>>
>>> They are not saved separately but you can create backups using
>>> pkg_create -b.
>>
>> In addition, you can use 'package' (or 'package-recursive') target
>> instead of 'install' to create packages automagically. In that case
>> target directory is set by PACKAGES variable.
>>
>> Have a look at ports(7) manpage for details.
>
> Many thanks too all who ansered, that's really helpful. I just had a
> hard time compiling lighttpd and php5 together, so wanted to save them
> as packages to spare me the headache in the near future.
>
> Have read the ports man I see that I can change the PACKAGES in the
> environment, but how do I change the environment. Would I edit
> /etc/make.conf at a guess?

PACKAGES is environmental variable - you'll want to change the variable,
not the environment ;)

To change it system wide permanently - yes, editing /etc/make.conf would
be a good idea. The alternatives are setting it in your shell
environment (depends on what you use) or defining it at install time
(every time) with something like 'make PACKAGES=/some/dir package'. And
there are probably other methods, too :)

HTH,

Karol

-- 
Karol Kwiatkowski   
OpenPGP 0x06E09309



signature.asc
Description: OpenPGP digital signature


RE: Kernel Panics in 6.1 and 6.2 always Exim 4

2007-09-23 Thread Wil Hatfield

> -Original Message-
> From: Kris Kennaway [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 21, 2007 5:20 PM
> To: Wil Hatfield
> Cc: freebsd-questions@freebsd.org
> Subject: Re: Kernel Panics in 6.1 and 6.2 always Exim 4
>
>
> Wil Hatfield wrote:
> > Well after a year we still haven't tracked down the kernel
> panic problems
> > that are occuring on both our 6.1 and 6.2 machines for those we have had
> > time to upgrade.  It occurs on 6.1-RC, 6.1-RELEASE 6.1-STABLE,
> 6.2, you name
> > it.
> >
> > We are noticing that all of the dumps are during Exim 4.6x runtime. I am
> > suspicious of PR-97095 but would like others insights into the
> possibility.
>
> Well, as that PR says, the patch was committed after 6.1-RELEASE,
> therefore it is expected that older systems will have the problem.  You
> only provided a trace from a 6.1 machine, so if you are saying that it
> still persists on an up-to-date RELENG_6 kernel, please file a new PR
> with the details.
>
> Kris

Unfortunately when I upgraded the machine I have from 6.1-RELEASE to 6.2 it
stopped dumping for me. So I have nothing to analyze. However, I still get
the kernel panics I did before. Same frequency and always Exim.

I bumped into a thread somewhere that said something about setting
nmbclusters=0 might be a good workaround for this bug. Anybody heard
anything about this or does it seem logical?

Wil

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


Re: Software RAID5

2007-09-23 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Roland Smith wrote:

> The things that you should encrypt are /home and maybe /var.

and swap.  Encrypting the swap is really quite important.

Cheers,

Matthew


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

iD8DBQFG9rC28Mjk52CukIwRCAlHAJ9WUSJpDa2VU14M0Wet/SzneOlQoACffWRP
8Id2aPOobqVCO/LOjQM4SlE=
=KU1C
-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: Netatalk

2007-09-23 Thread Martin Hepworth
Beg to differ on the AFP vs samb issues from what we use at work using a
mixed environment (*nix, windoze and Mac's).

the filetyping goes alot better using smb than appletalk with MacOS X, and
smb will use encrypted passwds (however poorly encoded) by default, and even
SMB is alot faster than AFP which is horrible slow.

You'll find that using a VPN to access over the internet alot more secure in
any case.

anyway a quick google gives this..

http://www.caboo.se/articles/2006/1/18/apple-file-sharing-via-freebsd


--
martin

On 9/23/07, Gabriel Dragffy < [EMAIL PROTECTED]> wrote:
>
>
> On 23 Sep 2007, at 16:13, Martin Hepworth wrote:
>
> > Why you need netatalk - you still got some old MacOS 8/9 machines
> > about?
> >
> > --
>
> no, they are all os x macbook pros. However we sometimes access over
> the internet using AFP, and this uses encrypted passwords which is
> safer. Also, afp integrates very well with the mac machines, better
> than samba and far better than NFS. I've been using FreeNAS which has
> worked well, but unfortunately freezes every few hours, so it's
> useless. Trying to build my own version of it.
>
> ___
> 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: Software RAID5

2007-09-23 Thread Maxim Khitrov
On 9/23/07, Roland Smith <[EMAIL PROTECTED]> wrote:
> On Sun, Sep 23, 2007 at 05:59:01PM +0100, Gabriel Dragffy wrote:
> > This sounds good. How exactly did you manage to encrypt discs and then
> > install freebsd there? I can just about setup software raid once freebsd is
> > installed, but by then I am unable to use a hard drive because it already
> > has freebsd on it.
>
> There is no point in encrypting the whole harddisk. The OS and ports can
> be downloaded from the internet. No point in keeping them secret. They
> might in fact facilitate a known-plaintext attack.

I agree, I did it more as an exercise to learn more about the way
FreeBSD works. On my laptop I have only the /home partition encrypted.

To answer the original question, however, I always install FreeBSD via
a stage install. By that I mean that I don't actually use sysinstall
for the final system. I get a USB drive and install the base OS onto
that. Then I download the source for whichever FreeBSD version I want;
my laptop is running CURRENT, for example. Configure make.conf and
src.conf files, create a custom kernel, then make buildworld
buildkernel in /usr/src.

While the system is building I prepare the actual drive, or RAID
array, that the final OS will be installed to. Create your software
RAID volumes, partition (slice) everything, if I want to use geli for
encryption then I would overwrite the target partition with random
data before doing geli init. For my full-disk encryption I actually
overwrote the entire disk and skipped slicing altogether. The kernel
was later installed to a usb flash drive and the entire disk was used
for FreeBSD. So instead of specifying things like ad0s1a in fstab, I
simply used ad0a - no slices. The point is that unless someone
actually knew that I had FreeBSD installed there, without the flash
drive all the data on the disk looks like garbage. There isn't even a
mbr to indicate partition types. At any rate, it was a fun experiment.

So once the drives are configured, mount everything under /mnt and
wait for the source to finish building. After than, you can do `make
DESTDIR=/mnt installworld` and just like that, your new system is
ready. Well, not quite... Run `mergemaster -iD /mnt` to copy all
configuration files, installkernel with KODIR=/mnt/boot/kernel to
install the kernel, use fdisk or boot0cfg to install mbr code, and
finally 'bsdlabel -B ...' for the other boot stages.

Installing the system this way also allows you to configure some
things before that first boot. Technically, you can do the same thing
from single-user mode, but this way may be more convenient. When
you're ready, reboot, change the boot order in BIOS, if you configured
everything correctly your new system should boot up with no problems.

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


Re: Gnome & FreeBSD from putty

2007-09-23 Thread Mel
On Sunday 23 September 2007 18:54:28 dgmm wrote:
> On Sunday 23 September 2007, Maxim Khitrov wrote:
> > Not true. Install Cygwin/X on your local machine
> > (http://x.cygwin.com/), configure PuTTY to forward X11 packets, login
> > to the server and run firefox. Depending on your exact configuration,
> > you may need to tinker with the settings a bit. Usually, however, it
> > works with no additional effort.
>
> Agreed!
>
> As a complete noob to running remote apps, I had it going in minutes from a
> WinXP laptop with putty/cygwin/X.  As you say, just tick/check the X11
> forwarding box in Putty.

Sure that works. As you can also take a plane to visit the neighbors.

> Although the OP mentioned Gnome.  Not sure if you could run a whole desktop
> over it or even if that would be desirable.

If you're on a local network, it can be convenient to control the entire 
desktop in the few cases where programs can only be controlled via GUI, but 
for configuring a few web-enabled interfaces, it will take you 10 times 
longer then just forwarding the control port and using a local browser.

Aside from that, last time I tried (a few years back), at least the window 
manager needs to be installed locally for truly forwarded X11 connections, 
you can't be logged in under X as that user on the remote machine and by the 
time I had cygwin setup and working, I would've configured cups 3 times over 
on the remote machine, using a simple port forward.
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD on AMD64

2007-09-23 Thread Roland Smith
On Sun, Sep 23, 2007 at 06:39:06PM +0400, Михаил Кипа wrote:
> I wish to install FreeBSD 6.2 on a computer with processor AMD
> Athlon64 X2.  However I do not know what to me to choose the
> hardware. What chipsets are at the moment supported among nVidia
> nForce or ADM, VIA?

Speaking solely from personal experience I've never had trouble with VIA
chipsets. In the past I've used AMD chipsets, which worked OK as well.

Looking at the mailing lists there are ofter queries about and reports
of bits and pieces of nForce chipsets not working correctly.

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)


pgpeVq9ncfAUe.pgp
Description: PGP signature


Re: Software RAID5

2007-09-23 Thread Roland Smith
On Sun, Sep 23, 2007 at 05:59:01PM +0100, Gabriel Dragffy wrote:
> This sounds good. How exactly did you manage to encrypt discs and then 
> install freebsd there? I can just about setup software raid once freebsd is 
> installed, but by then I am unable to use a hard drive because it already 
> has freebsd on it.

There is no point in encrypting the whole harddisk. The OS and ports can
be downloaded from the internet. No point in keeping them secret. They
might in fact facilitate a known-plaintext attack.

The things that you should encrypt are /home and maybe /var.

So when installing FreeBSD you should set aside room for slices to hold
/home and /var, see below.

A possible lay-out would be;

/  200MB
/tmp   200MB
/usr   10GB
/var   2BG
/home  the rest

You can find instructions on setting up GEOM_ELI for /home on my website;
http://www.xs4all.nl/~rsmith/freebsd/index.html#home

After a reboot you might get prompted for the GELI password before the
login prompt, depending on if you've used a password.

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)


pgpfjFa5XkbY3.pgp
Description: PGP signature


Re: Software RAID5

2007-09-23 Thread Gabriel Dragffy


On 22 Sep 2007, at 01:13, Maxim Khitrov wrote:


On 9/21/07, Gabriel Dragffy <[EMAIL PROTECTED]> wrote:

Hi all

Hoping to get some help setting up software RAID5. Guides on the
internet seem to be few and far between, and official documentation
is a little too technical. Basically I have 3 x 500GB hard drives
which I'd like to have in a raid5 configuration, using software, root
partition on their too would be a bonus. I'd be grateful for  
assistance.


Best regards

Gabriel



From what I know, you're not going to be able to boot from them.

However, a simple solution to that is to get a 64+ MB USB flash drive
and put the kernel on that. Just use fdisk and bsdlabel to write the
boot blocks. As long as the kernel has all needed drivers and you
specify which root device to use (either via kernel configuration or
/etc/fstab), that should allow you to put everything else on the RAID
array. This is how I currently do full-disk encryption on my laptop
using GELI. Kernel is outside, everything else is encrypted, same idea
for RAID.



Hi Maxim

This sounds good. How exactly did you manage to encrypt discs and  
then install freebsd there? I can just about setup software raid once  
freebsd is installed, but by then I am unable to use a hard drive  
because it already has freebsd on it.


Regards

gabe

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


Re: Software RAID5

2007-09-23 Thread Gabriel Dragffy


On 22 Sep 2007, at 09:03, Wojciech Puchar wrote:


If you google for gvinum you'll find tutorials etc.

AFAICT, you can't have the root device on a RAID5 gvinum. Just make a
small root partition.


yes you can
__


Hi Wojciech

Would you be able to give me any tips or know of any howtos that  
explain installing freebsd root on to gvinum raid5 array? I really  
cannot find any tutorials for this :(


Many thanks

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


Re: Gnome & FreeBSD from putty

2007-09-23 Thread dgmm
On Sunday 23 September 2007, Maxim Khitrov wrote:
> Not true. Install Cygwin/X on your local machine
> (http://x.cygwin.com/), configure PuTTY to forward X11 packets, login
> to the server and run firefox. Depending on your exact configuration,
> you may need to tinker with the settings a bit. Usually, however, it
> works with no additional effort.

Agreed!

As a complete noob to running remote apps, I had it going in minutes from a 
WinXP laptop with putty/cygwin/X.  As you say, just tick/check the X11 
forwarding box in Putty.

Although the OP mentioned Gnome.  Not sure if you could run a whole desktop 
over it or even if that would be desirable.

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


Re: Netatalk

2007-09-23 Thread Gabriel Dragffy


On 23 Sep 2007, at 16:13, Martin Hepworth wrote:

Why you need netatalk - you still got some old MacOS 8/9 machines  
about?


--


no, they are all os x macbook pros. However we sometimes access over  
the internet using AFP, and this uses encrypted passwords which is  
safer. Also, afp integrates very well with the mac machines, better  
than samba and far better than NFS. I've been using FreeNAS which has  
worked well, but unfortunately freezes every few hours, so it's  
useless. Trying to build my own version of it.


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


Re: FreeBSD on AMD64

2007-09-23 Thread Dmitry Gorbik
On Sun, 23 Sep 2007 18:39:06 +0400
Михаил Кипа <[EMAIL PROTECTED]> wrote:

> Good afternoon! 
> I wish to install FreeBSD 6.2 on a computer with processor AMD Athlon64 X2. 
> However I do not know what to me to choose the hardware. What chipsets are at 
> the 
> moment supported among nVidia nForce or ADM, VIA? 
> Yours faithfully, Michael.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

See http://www.freebsd.org/releases/6.2R/hardware-amd64.html.
-- 
Dmitry Gorbik <[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: Gnome & FreeBSD from putty

2007-09-23 Thread Maxim Khitrov
On 9/23/07, Mel <[EMAIL PROTECTED]> wrote:
> On Sunday 23 September 2007 15:35:00 Timothy McGee wrote:
>
> > Any way of running Gnome or Firefox from putty remotely?  What's the best
> > way to test for the displays setup, etc?
> >
> > I'd like to keep it really simple for rebooting radios & equipment that
> > require a web interface.  My first attempt simply so display not configured
> > and am really rusy on my unix.  FreeBSD & I'm very rusty.
>
> If all you need is access to web interfaces on localhost of the remote
> machine, setup a portforward and access it with your local browser. Putty
> being a windows program, you probably won't get remote X to work anyway.

Not true. Install Cygwin/X on your local machine
(http://x.cygwin.com/), configure PuTTY to forward X11 packets, login
to the server and run firefox. Depending on your exact configuration,
you may need to tinker with the settings a bit. Usually, however, it
works with no additional effort.

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


FreeBSD on AMD64

2007-09-23 Thread Михаил Кипа
Good afternoon! 
I wish to install FreeBSD 6.2 on a computer with processor AMD Athlon64 X2. 
However I do not know what to me to choose the hardware. What chipsets are at 
the 
moment supported among nVidia nForce or ADM, VIA? 
Yours faithfully, Michael.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: packages compiled from source

2007-09-23 Thread Gabriel Dragffy
Many thanks too all who ansered, that's really helpful. I just had a  
hard time compiling lighttpd and php5 together, so wanted to save  
them as packages to spare me the headache in the near future.


Have read the ports man I see that I can change the PACKAGES in the  
environment, but how do I change the environment. Would I edit /etc/ 
make.conf at a guess?


On 23 Sep 2007, at 15:35, Karol Kwiatkowski wrote:


Kris Kennaway wrote:

Gabriel Dragffy wrote:

Hi, trying to find out where the complete packge files are for the
packges that I compiled from ports. I wanted to save these somewhere
so I wouldn't have to recompile them in the future. The handbook
doesn't shed any light on this:(


They are not saved separately but you can create backups using
pkg_create -b.


In addition, you can use 'package' (or 'package-recursive') target
instead of 'install' to create packages automagically. In that case
target directory is set by PACKAGES variable.

Have a look at ports(7) manpage for details.

Cheers,

Karol

--
Karol Kwiatkowski   
OpenPGP 0x06E09309



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


Re: packages compiled from source

2007-09-23 Thread Mel
On Sunday 23 September 2007 16:06:39 Gabriel Dragffy wrote:

> Hi, trying to find out where the complete packge files are for the
> packges that I compiled from ports. I wanted to save these somewhere
> so I wouldn't have to recompile them in the future. The handbook
> doesn't shed any light on this:(

If you didn't define the variable PACKAGES in your environment while 
compiling, then they are in the directory of the port itself, where you typed 
make package.

Note that you can always rebuild installed packages, using:
for DIR in /var/db/pkg/*; do
pkg_create -vb ${DIR##*pkg/} /path/${DIR##*pkg/}.tbz
done
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Gnome & FreeBSD from putty

2007-09-23 Thread Mel
On Sunday 23 September 2007 15:35:00 Timothy McGee wrote:

> Any way of running Gnome or Firefox from putty remotely?  What's the best
> way to test for the displays setup, etc?
>
> I'd like to keep it really simple for rebooting radios & equipment that
> require a web interface.  My first attempt simply so display not configured
> and am really rusy on my unix.  FreeBSD & I'm very rusty.

If all you need is access to web interfaces on localhost of the remote 
machine, setup a portforward and access it with your local browser. Putty 
being a windows program, you probably won't get remote X to work anyway.

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


Re: SoftMaker missing from ports for any version.

2007-09-23 Thread Rod Person
On Sat, 2007-09-22 at 15:22 -1000, NetOpsCenter wrote:
> Aloha,
> 
> Ports seems broken to download SoftMaker.
> Also cant download from the SoftMaker website either.
> Is this a viable program or dead? Anybody know or ever used this?
> 

I use SoftMaker Office, I bought a license for it late last year and it
works fine. Seems to have better excel support than OpenOffice.

I believe the port is for the trial version, I'm not sure of the ports
status. I downloaded it from the softmaker site:
http://www.softmaker.com/english/ofldemo_en.htm

HTH,

Rod

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


Re: Netatalk

2007-09-23 Thread Martin Hepworth
Why you need netatalk - you still got some old MacOS 8/9 machines about?

--
martin

On 9/22/07, Gabriel Dragffy <[EMAIL PROTECTED]> wrote:
>
> I've been following several different tutorials on the net for
> getting netatalk working. I've compiled in the neccessary option to
> the kernel, installed the port. Added various things to rc.conf, run /
> usr/local/etc/rc.d/netatalk start  and... nothing :( I think the
> problem is that all the tutorials I have found are years our of date.
> Does someone know how to get the modern port of netatalk on 6.2 working?
>
> Many thanks
>
> Gabriel
> ___
> 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]"


Getting pidgin(1) to run...

2007-09-23 Thread Christian Baer
Hi there people!

I may be posting this question (which is rather lengthy, I know) on the
sparc64 mailing list too, as it might be an issue with this architecture.
Please don't complain, just answer where you think the answer belongs.

I know that running FreeBSD on a Sun is a rather exotic choice but I like
FreeBSD and didn't want to install SunOS (Solaris). This is an Ultra 60
with 2GB RAM and two 74GB SCA-HDs, running 6.2-RELEASE-p7). Everything
else is NOT an issue as this machine has no monitor, keyboard or mouse but
is accessed only over the Network (yes, X and esd too). Since the result
has to work with both WinXP and another FreeBSD-box, I am currenty
experimenting with Xming. I don't however think that this is relevant,
just giving the info in case I missed something.

This constellation works fine so far. I can run all of KDE or single apps
without KDE (like the konqueror). Even xmms works fine - including sound
and the OpenGL visualisation, although that's a little bumpy over the
network. :-)

Because the binary packages for sparc64 are always out of date, I compiled
Pidgin (2.2.0) myself using the ports. Here are the options I used:

 [X] SILC   Secure Internet Live Conferencing support
 [X] GNUTLS GNUTLS encryption support
 [X] NSSMozilla NSS encryption support
 [X] SASL   Cyrus SASL support (for jabberd)
 [X] DBUS   Enable DBUS bindings
 [X] PERL   Perl scripting
 [X] BONJOUREnable mDNS support
 [ ] SAMETIME   Enable Sametime client support
 [ ] TCLTK  Tcl/Tk scripting
 [X] GTKSPELL   Spell checking support
 [X] GSTREAMER  Use GStreamer for playing sounds
 [X] CAPEnable Contact Availability Prediction plugin

After a while [ a few hours :-) ] the computer was done.

Starting Pidgin from KDE resulted in it being shown in the task bar at the
bottom for about 20 seconds and after that it just disappears. It could
however still be found with "ps ax". Pidgin does *not* minimize itself
into the tray. It just "disappears". So I decided to start it from the
console. It started and kept running, just no window on the server ever
appeared for it. ctrl-c did terminate it. Note that in this case I didn't
start KDE or any other X application for that matter. I just started
Pidgin and had Xming listening on another computer.

Since that didn't get me anywhere, I started Pidgin with the -d option.
The last three lines you get to see are these (I cut out the time):

nat-pmp: found a default gateway
nat-pmp: Attempting to retrieve the public ip address for the
   NAT device at: 192.168.x.x
nat-pmp: Timeout: 0s 25us

Pidgin can still be terminated using ctrl-c. Since I didn't want to
bombard the list with the log, I put it here:

http://dresden.icerats.de/specials/pidgin-debug.txt

I inserted the line after the ctrl-c.

My router is an AVM Fritz! Box Fon 5012. I have not opened any ports for
any IM (yet) - at least not for this machine.

Because of the last message I see when starting it with -d, I guess that
it could be a router problem - I consider UPnP to be evil and therefore it
is off. A friend of mine however also uses Pidgin (under Windows) behind a
similar router without any problems.

nat-pmp could be the problem, as I am not aware of anyone other than Apple
having a working implementation of this. So I used kdump(1) to find out
what is going on. I don't want to post the whole file here (it is rather
long). But a few things I did notice...

 90378 dbus-daemon RET   read 144/0x90
 90378 dbus-daemon CALL  read(0xb,0x2a1000,0x800)
 90378 dbus-daemon RET   read -1 errno 35 Resource temporarily unavailable
 90378 dbus-daemon CALL  gettimeofday(0x7fde240,0)
 90378 dbus-daemon RET   gettimeofday 0
 90378 dbus-daemon CALL  poll(0x7fde540,0x3,0)
 90378 dbus-daemon RET   poll 0
 90378 dbus-daemon CALL  poll(0x282000,0x3,0)
 90378 dbus-daemon RET   poll 0
 90378 dbus-daemon CALL  poll(0x282000,0x4,0x)
 90373 pidgin   CALL  setitimer(0x2,0x7fdd0d0,0)
 90373 pidgin   RET   setitimer 0
 90373 pidgin   CALL  close(0x3)
 90373 pidgin   RET   close 0
 90373 pidgin   CALL  close(0x4)
 90373 pidgin   RET   close 0
 90373 pidgin   CALL  fcntl(0,0x3,0)
 90373 pidgin   RET   fcntl 6
 90373 pidgin   CALL  fcntl(0,0x4,0x2)
 90373 pidgin   RET   fcntl 0
 90373 pidgin   CALL  fcntl(0x1,0x3,0)
 90373 pidgin   RET   fcntl 2
 90373 pidgin   CALL  fcntl(0x1,0x4,0x2)
 90373 pidgin   RET   fcntl 0
 90373 pidgin   CALL  fcntl(0x2,0x3,0)
 90373 pidgin   RET   fcntl 2
 90373 pidgin   CALL  fcntl(0x2,0x4,0x2)
 90373 pidgin   RET   fcntl 0
 90373 pidgin   CALL  fcntl(0x6,0x3,0)
 90373 pidgin   RET   fcntl 6
 90373 pidgin   CALL  fcntl(0x6,0x4,0x2)
 90373 pidgin   RET   fcntl 0
 90373 pidgin   CALL  fcntl(0x7,0x3,0)
 90373 pidgin   RET   fcntl 6
 90373 pidgin   CALL  fcntl(0x7,0x4,0x2)
 90373 pidgin   RET   fcntl 0
 90373 pidgin   CALL  fcntl(0x8,0x3,0)
 90373 pidgin   RET   fcntl 6
 90373 pidgin   CALL  fcntl(0x8,0x4,0x2)
 90373 pidgin   RET   fcntl 0
 90373 

Re: packages compiled from source

2007-09-23 Thread Karol Kwiatkowski
Kris Kennaway wrote:
> Gabriel Dragffy wrote:
>> Hi, trying to find out where the complete packge files are for the
>> packges that I compiled from ports. I wanted to save these somewhere
>> so I wouldn't have to recompile them in the future. The handbook
>> doesn't shed any light on this:(
> 
> They are not saved separately but you can create backups using
> pkg_create -b.

In addition, you can use 'package' (or 'package-recursive') target
instead of 'install' to create packages automagically. In that case
target directory is set by PACKAGES variable.

Have a look at ports(7) manpage for details.

Cheers,

Karol

-- 
Karol Kwiatkowski   
OpenPGP 0x06E09309



signature.asc
Description: OpenPGP digital signature


Re: packages compiled from source

2007-09-23 Thread Kris Kennaway

Gabriel Dragffy wrote:
Hi, trying to find out where the complete packge files are for the 
packges that I compiled from ports. I wanted to save these somewhere so 
I wouldn't have to recompile them in the future. The handbook doesn't 
shed any light on this:(


They are not saved separately but you can create backups using 
pkg_create -b.



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


packages compiled from source

2007-09-23 Thread Gabriel Dragffy
Hi, trying to find out where the complete packge files are for the  
packges that I compiled from ports. I wanted to save these somewhere  
so I wouldn't have to recompile them in the future. The handbook  
doesn't shed any light on this:(


Best regards

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


Gnome & FreeBSD from putty

2007-09-23 Thread Timothy McGee
Hello Everyone,

Any way of running Gnome or Firefox from putty remotely?  What's the best
way to test for the displays setup, etc?  

I'd like to keep it really simple for rebooting radios & equipment that
require a web interface.  My first attempt simply so display not configured
and am really rusy on my unix.  FreeBSD & I'm very rusty.

Thanks,
Tim McGee

___
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: migrate from postfix to qmail

2007-09-23 Thread Christian Baer
On Sun, 23 Sep 2007 08:31:34 -0500 Eric wrote:

>> Don't tell me, tell Dan Berstein (happy hunting):
>> http://cr.yp.to/qmail/guarantee.html
>> Observe point 5.

> DJB has not honored at least one vulnerability in qmail. read the link i 
> posted early in this thread and decide for yourself.  theres a word for 
> people who say one thing and do another...

Why do you think I put the "happy hunting" there? Didn't travel quite as
sarcastic as the smile on my face when I wrote it. :-)

I don't like qmail much and I certainly don't like DJB's attitude in many
cases. He had a few good ideas however and it certainly is not my part to
try and take that away from him. Besides, I wasn't trying to prove
anything about qmail being good or bad but just something about the
configuration and the parsing.

I haven't looked at qmail in years. Funny that the Version is still the
same as when I used it (that could well be 10 years ago). Today I don't
really care if qmail is secure. That would be a typical case of SEP. :-)

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


Re: migrate from postfix to qmail

2007-09-23 Thread Eric

Christian Baer wrote:

On Sat, 22 Sep 2007 19:18:53 +0200 Heiko Wundram (Beenic) wrote:


The qmail-configuration can be read an evaluated *without* a parser.


Excuse my spelling in the last message! :-) I corrected it in this quote.


Sorry, but that's BS (IMHO).


Don't tell me, tell Dan Berstein (happy hunting):
http://cr.yp.to/qmail/guarantee.html

Observe point 5.




DJB has not honored at least one vulnerability in qmail. read the link i 
posted early in this thread and decide for yourself.  theres a word for 
people who say one thing and do another...


he changes the rules as needed to ensure his bunk guarantee stands. Even 
if someone found another one he would blame the person who configured 
it, or make up some other excuse.


none of his software is worth running these days. maybe 10 years ago, 
but now? no way


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


Re: Why is sendmail in the core of FreeBSD?

2007-09-23 Thread Gabriel Dragffy


On 23 Sep 2007, at 11:22, cpghost wrote:


On Sat, 22 Sep 2007 19:30:59 +0300
"Abdullah Ibn Hamad Al-Marri" <[EMAIL PROTECTED]> wrote:


On 9/22/07, Wojciech Puchar <[EMAIL PROTECTED]> wrote:

i personally use only sendmail.



Yep... if it works, don't 'fix' it.


same with any other things :)


I would prefer to have postfix vs sendmail since it built with
security in mind


Ditto here. I've switched to postfix after a talk by
Wietse Venema at the SANE 1998:
  http://www.sane.nl/events/sane98/daily/19/venema.html
(postfix was still named VMailer back then)
and never looked back since. I was lucky doing so, because
soon after, there had been a flurry of sendmail exploits,
while postfix kept chugging along undisturbed. But more
importantly, its behaviour under stress and huge traffic
bursts is excellent.


I have a russian friend, he's a sysadmin, works exclusively with  
FreeBSD. He reckon Postfix is also great under pressure. Since  
sendmail is in the core of FreeBSD, does that mean it will quickly  
get security updates when exploits are found?

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


Re: migrate from postfix to qmail

2007-09-23 Thread Bill Vermillion
[EMAIL PROTECTED] said Obscurity in the face
of adversity is no dice and while we were trying to figure that
out on Sat, Sep 22, 2007 at 20:47 he continued with:

> Date: Sat, 22 Sep 2007 14:46:02 +0200 (CEST)
> From: Christian Baer <[EMAIL PROTECTED]>
> Subject: Re: migrate from postfix to qmail

> On Sat, 22 Sep 2007 02:47:09 +0200 Lotfi kecir wrote:

> > hello. i'm newbbie in Unix especially in in FreeBSD. Recently
> > i have setup one mail server with postfix-dovecot and i would
> > like to migrate it to Qmail server. but i didn't know how to
> > do it. Someone can give help me?

> Why in heaven's name would *anyone* want to do that? I have been
> using Postfix for years now and before that I used qmail - when
> it was new. qmail sucked *bigtime*! It was slow, picky about
> the filesystem it worked on (ReiserFS cause very interresting
> results), a license that doesn't deserve the name and one
> mistake in the configuration didn't cause an error message but
> instead sent incoming mail directly to the happy bit grounds.

Don't I recall that when a mail is sent to several people at
the same domain that qmail generates separate emails for each
person instead of the standard way of sending one email with all
addresses to the destination machine and letting that machine
distribute the emails.

That's just bizarre - unles you own the transport provider and make
money on all the data transmitted :-(

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: migrate from postfix to qmail

2007-09-23 Thread Christian Baer
On Sat, 22 Sep 2007 19:18:53 +0200 Heiko Wundram (Beenic) wrote:

>> The qmail-configuration can be read an evaluated *without* a parser.

Excuse my spelling in the last message! :-) I corrected it in this quote.

> Sorry, but that's BS (IMHO).

Don't tell me, tell Dan Berstein (happy hunting):
http://cr.yp.to/qmail/guarantee.html

Observe point 5.

> Any program interpreting some form of input is called a parser, and the
> only distinction is the algorithm you need, i.e.  whether you need a
> "full-blown" stack-machine to interpret the input (think of recursive
> declarations), or not.

[...]

I know what the Postfix configuration looks like, I've been over it a
countless number of times. I know it is simple, even to parse, but there
is still no real comparision to qmail's configuration. qmail has several
settings that come "one setting per file". IIRC the other settings go "one
per line", no comments, no spaces, no quotation marks.

I'm not saying the Postfix configuration is not as good or even complex.
qmail's configuration is just easier to read and write if both are done be
an automation, rather than a human.

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


Re: Why is sendmail in the core of FreeBSD?

2007-09-23 Thread cpghost
On Sat, 22 Sep 2007 19:30:59 +0300
"Abdullah Ibn Hamad Al-Marri" <[EMAIL PROTECTED]> wrote:

> On 9/22/07, Wojciech Puchar <[EMAIL PROTECTED]> wrote:
> > >> i personally use only sendmail.
> > >>
> > >
> > > Yep... if it works, don't 'fix' it.
> > >
> > same with any other things :)
> 
> I would prefer to have postfix vs sendmail since it built with
> security in mind

Ditto here. I've switched to postfix after a talk by
Wietse Venema at the SANE 1998:
  http://www.sane.nl/events/sane98/daily/19/venema.html
(postfix was still named VMailer back then)
and never looked back since. I was lucky doing so, because
soon after, there had been a flurry of sendmail exploits,
while postfix kept chugging along undisturbed. But more
importantly, its behaviour under stress and huge traffic
bursts is excellent.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: gdb question

2007-09-23 Thread Ghirai
On Sun, 23 Sep 2007 11:59:14 +0400
Dmitry Gorbik <[EMAIL PROTECTED]> wrote:

> You can start gdb session like this:
> $gdb program
> break main
> set disassembly-flavor intel
> disassemble main
> 
> Now you can use "nexti" to run program till break & "next" will step one 
> instruction (if there were no debugging symbols". That was tested on a 
> program, compiled with nasm.

Thanks for the info :)

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


Re: Software

2007-09-23 Thread Erich Dollansky

Hi,

looking for other things, I found this:

http://appdb.winehq.org/objectManager.php?sClass=version&iId=5774

Wine is working nicely for me but I do not use iTunes.

Erich

Kellen Dale wrote:

I was wondering what kind of software freeBSD can support.  I am currently a
windows user but I would like to switch to a Unix operating system.  The one
thing that I am concerned about however, is that since I am still a student I
must have access to software that will allow me to make/view word docs.  Also,
I need to be able to run iTunes for my iPod.  Now I am aware that there is a
lot of shareware available so the word processor wouldn't be hard to find but
do you support iTunes?  I know I could switch to a Mac, but I would rather not
have to spend the money on a specific computer...  Thank you.

--Kellen--
___
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: gdb question

2007-09-23 Thread Dmitry Gorbik
On Sun, 23 Sep 2007 00:29:23 +
Ghirai <[EMAIL PROTECTED]> wrote:

> Hello list,
> 
> I'm playing with a small nasm executable, is there any way
> i can get gdb to show me the deadlisting, and allow me to
> break at a certain offset, without any debugging symbols?
> 
> Since my code is raw assembly, seeing the sourcecode file
> or the deadlisting is the exact same.
> 
> Atm i'm doing like this, and it doesn't seem to work:
> 
> (gdb) file wp
> Reading symbols from wp...(no debugging symbols found)...done.
> (gdb) break 0x8048099
> No symbol table is loaded.  Use the "file" command.
> (gdb) run
> Starting program: wp 
> warning: shared library handler failed to enable breakpoint
> 
> Program exited with code 0267.
> 
> 
> Using gdbtui seems yield the exact same result.
> 
> What i really want is to see the deadlisting and be able to step through
> it, seeing what happens with the registers, stack, etc.
> 
> Can gdb do that?
> 
> And are there any other usermode debuggers i could use?
> 
> Thanks for reading.
> 
> -- 
> Regards,
> Ghirai.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

You can start gdb session like this:
$gdb program
break main
set disassembly-flavor intel
disassemble main

Now you can use "nexti" to run program till break & "next" will step one 
instruction (if there were no debugging symbols". That was tested on a program, 
compiled with nasm.

-- 
Dmitry Gorbik <[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: How to know who use NFS.

2007-09-23 Thread Martin Alejandro Paredes Sanchez
El Vie 21 Sep 2007, Albert Shih escribió:
>  Le 21/09/2007 à 13:59:35-0500, Dan Nelson a écrit
> > In the last episode (Sep 21), Le Cocq Michel said:
> > > Albert Shih a écrit :
> > > > How can I known at un precise moment who charge my NFS server (I'm
> > > > root in both side : client and server).
> > > 
> > > With some info student it also happen some times in here, and the way i 
> > > find is to launch a tcpdum or ethereal on the server and look at which
> > > ip appear the more often
> > 
> > I think ethereal/wireshark is your best bet too.  At least with it you 
> > can filter on the userid making an NFS request (it's rpc.auth.uid).
> > Unfortunately it doesn't look like there's a summary or analysis option
> > for NFS, so you'll have to count packets maually...
> 
> But my problem is the NFS traffic is heavy in standard time, and wireshark 
> or tcpdump give my lot of lot of data.
>

Use the force luke

You only need 100 packets (you may decide to increase) that are directed to 
your server, to the NFS daemon.

tcpdump -c 100 -nq dst port nfs and dst host $HOST

You don't need to interpret this info, you need to know who is originating the 
traffic, lets extract the ip that are originating the traffic

nawk 'BEGIN {FS="[ .]"; OFS="."} {print $4,$5,$6,$7}'

But, who generate more traffic?
Lets count how many packets are originating each one of those ip

nawk '{packets[$1]++} END{for (ip in packets){print packets[ip], ip}}'

And order it

sort -rn

Use pipes to connect all the commands, if this situation is very common, 
create a shell.

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