Re: Trouble with setting up Netgear WG311v3

2006-09-30 Thread Frank Staals

Sunjae Park wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi, I've installed FreeBSD 6.1 and am trying to get my wireless adapter
working. It's a Netgear WG311v3, so unfortunately ath(4) will not work
(It uses a Marvell chipset). I've tried various options (honest!).

1. The Yukon driver from Marvell. They have one for 6, and I've tried
loading it with kldload, and it loads alright, but the adapter won't
come up. The driver says it's for Yukon and I have a Ethernet
controller: Marvell Technology Group Ltd. 88w8335 [Libertas] (output
from Linux). Maybe it's for a different chipset?

Their Readme says I should remove module sk from the kernel, so I
rebuilt it; still no luck.

2. ndis-gen with the Netgear drivers. The adapter comes up now, but I
cannot associate with any AP.

  ifconfig ndis0 up scan
  ifconfig ndis0 ssid ssid_of_ap
  ifconfig ndis0 ssid ssid_of_ap bssid 00:00:...

all exit with a

  ndis0: bssid_list failed

Thanks

- --
Sunjae Park.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFHej9F5GVw6qpYDcRApA6AJ9vnYrh8ZR/V8SjcZVh4qCie9M0zgCcCTz8
l/x02ayNp2EN4eikse1P5Q0=
=/4C+
-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]


  
I have the same NIC here and I had it working ( allthough there were 
some issues ...  :  after some uptime, say a week, the NIC didn't react 
anymore so you had to unload the kernelmodule most of the time resulting 
in a system-hang :S ). I used it for adhoc-connections only so I'm not 
sure if it would have the same problems, but at least I could scan. 
Anyway, you're free to use the kernel-module I build if you want to : 
http://fstaals.net/junk/wg311v3xp/


Good luck,

--
-Frank Staals


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


Question:socket sources

2006-09-30 Thread vpaces
Dear FreeBSD team,
I decided to contact you because I cannot find some system call C modules for a 
very long time.
I'd like to ask you where can I find sources containing code for socket related 
system calls like
socket, accept, bind, connect  with interfaces described on FreeBSD  MAN 
pages (system calls).
For example:
int socket(int domain, int type, int protocol);
int bind(int s, const struct sockaddr *addr, socklen_t addrlen);

Browsing through your WWW CVS repository I'm just finding sources for MAN pages 
in directory / src / lib / libc / sys: 
access.2, connect.2 and so on. 
But where are the C sources of these calls? Or are the sources of these system 
calls not available?

Thanks for your answer.

Best regards,
Viliam Paces.

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


Re: backup existing sata drive

2006-09-30 Thread Dino Vliet
Thanks for your answer.

I can mount all the partitions (ubuntu via the
mount_ext2fs command).

So, I could use DD, but then I would have to do this
every time I want to be synchronized.

This would be the firts thing I could try, when the
disk drive arrives. Then I would know I have at least
a  copy of the full disk.

Hmm, I have to think this over, but nice knowing this
is an option.

--- Peter A. Giessel [EMAIL PROTECTED] wrote:

 On 2006/09/29 14:08, Dino Vliet seems to have typed:
  I waant to use this extra drive as a backup
 solution.
  What options do I have?
 
 
 Dump is an excellent solution if you can mount all
 partitions
 (see

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/backup-basics.html
 for details on using dump)
 
 DD would be another option that would copy the
 entire hard drive sector
 by sector, regardless of the partitions.  If you are
 interested in
 basically a mirror sort of situation without
 running RAID, dd is what
 you are looking for.
 
 dd doesn't care what the partitions are, indeed you
 could even backup
 Microsoft partitions with it.
 

http://www.freebsd.org/cgi/man.cgi?query=ddapropos=0sektion=0manpath=FreeBSD+6.1-RELEASEformat=html
 
 basically:
 dd if=/dev/sourcedisk of=/dev/backupdisk bs=1m
 


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


USB IrDA Adapter

2006-09-30 Thread Luchezar Petkov
Hello all,
  I really need your help. I've just brought my first USB IrDA
  adapter to conncect my phone (Sony Ericsson K300i) to my computer.
  It is recognized by FreeBSD (6.2 beta 1) ::
  ugen0: Prolific Technology Inc. USB-Serial Controller, rev
  1.10/3.00, addr 2
  --
  addr 1: OHCI root hub, SiS
 uhub1
   addr 2: USB-Serial Controller, Prolific Technology Inc.
ugen0

   And... What to do now? How to take the pictures from my photo
   camera? How to put files on my phone? I don't know what to do..
   Any ideas?
Thank you.
  -- Luchezar P. Petkov
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


What linux_base for Oracle on AMD64?

2006-09-30 Thread stan
The handbook says that I need to install the emulators/linux_base port in order 
to install
Oracle. But when I try to install this port, it says that it is depricated.

What ports do I need to install in order to install Oracle on FreeBSD 6.x
on an AMD64 architecture machine?

-- 
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Trouble with Berkeley DB version 4.4.20?

2006-09-30 Thread Mark

Hello,

I realize this is probably not the most flashy issue, but, if possible, I
would really like an answer to this question. I compiled BerkeleyDB 4.4.20
with the following in config.in:

INCLUDE = /usr/local/include/db44
LIB = /usr/local/lib# also tried /usr/local/lib/db44 directly
DBNAME = -ldb-4.4

# end of file config.in

I have done this upgrade path for BerkeleyDB and Perl several times; from
1.85 - 4.1 - 4.2, and now - 4.4.20. It has always worked well. Even now
it compiles just fine. It just isn't stable anymore.

If someone out there has an idea, I'd really like to know.

Thanks,

- Mark


 -Original Message-
 From: Mark [mailto:[EMAIL PROTECTED]
 Sent: vrijdag 29 september 2006 20:29
 To: 'FreeBSD-Questions Questions'
 Subject: Trouble with Berkeley DB version 4.4.20?

 Hello,

 Am I the only person having trouble with Berkeley DB version 4.4.20?
 I've been using 4.2 for quite a while. Then I upgraded, a few days back.
 But a Perl process that actually uses it (BerkeleyDB-0.30) has become
 unstable. I've been ktracing it, and setting log-points myself, but it
 keeps core dumping at places where it accesses BerkeleyDB. Sporadically,
 but often enough.

 Naturally I compiled BerkeleyDB-0.30 against the correct libraries (in
 config.in). And it seems more or less ok, but not always. Finally, this
 morning, I just did a full restore from an earlier date; db44 is not
 working out for me, obviously.

 I'm not sure whether it's Berkeley DB version 4.4.20 or BerkeleyDB-0.30,
 or a combination of the two; but I wonder if someone else has had trou-
 ble with it, too? Sometimes I got a weird lock error notice; but other-
 wise it remains a mystery.

 - Mark

___
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 ping localhost?

2006-09-30 Thread Chuck Swiger

Laurence Sanford wrote:

Anyone got any ideas on this?

[EMAIL PROTECTED](~)$ ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1): 56 data bytes
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
^C
--- 127.0.0.1 ping statistics ---
6 packets transmitted, 0 packets received, 100% packet loss


[EMAIL PROTECTED](~)$ ifconfig lo0
lo0: flags=8008LOOPBACK,MULTICAST mtu 16384


If there isn't an inet 127.0.0.1 entry following, the loopback isn't 
properly configured.  Perhaps you have a network_interfaces entry listed in 
/etc/rc.conf which does not mention lo0...?


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


thai keyboard and blackbox

2006-09-30 Thread pirat sriyotha
hi sirs,

am using blackbox version 0.70.1 with my box
%uname -a
FreeBSD siting.oaep.go.th 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Thu Jun 22
10:32:26 ICT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
%
since i have thai language keyboard and i want to using thai for some time, 
thai can be displayed correctly and clearly with blackbox, but i do not know
what key (or keys) combination to switch from english to thai  and vise versa ?

thanks in advance for any helps and hints.

--

with best regards,
psr

http://www.thai-aec.org


This message was sent using Inet-Webmail.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What linux_base for Oracle on AMD64?

2006-09-30 Thread Boris Samorodov
On Sat, 30 Sep 2006 08:56:53 -0400 stan wrote:
 The handbook says that I need to install the emulators/linux_base port in 
 order to install
 Oracle. But when I try to install this port, it says that it is depricated.

 What ports do I need to install in order to install Oracle on FreeBSD 6.x
 on an AMD64 architecture machine?

Current default (maintained) linux base port is linux_base-fc4.


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


/etc/exports question

2006-09-30 Thread stan
I'm trying to allow al machines in a 1/2 class C subnet to mount
a given NFS mount point. I've put the following line in /etc/exports:

/data   maproot=root -network aaa.bbb.ccc.128 -mask 255.255.255.128

The NFS server is actually on network aaa.bbb.eee.0 netmask 255.244.255.128
But I get permission denied when I try to mount this filesystem
from a machine on the aaa.bbb.ccc.128 netwokr. If I change the 
line in /etc/exports to:

/data   maproot=root hostname.example.com

I can mount this filesystem. Is there an issue with the server
not being directly on the target network?


-- 
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Question:socket sources

2006-09-30 Thread Chuck Swiger

[EMAIL PROTECTED] wrote:
[ ... ]

For example:
int socket(int domain, int type, int protocol);
int bind(int s, const struct sockaddr *addr, socklen_t addrlen);

Browsing through your WWW CVS repository I'm just finding sources for MAN pages in directory / src / lib / libc / sys: 
access.2, connect.2 and so on. 
But where are the C sources of these calls? Or are the sources of these system calls not available?


C functions from section 2 of the manpages are system calls, which means 
that a stub function is generated in libc via makesyscalls.sh, but most of the 
work in done in the kernel:


http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/kern/uipc_syscalls.c?rev=1.221.2.4
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/kern/uipc_socket.c?rev=1.283

--
-Chuck
___
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 ping localhost?

2006-09-30 Thread Laurence Sanford

Chuck Swiger wrote:

Laurence Sanford wrote:

Anyone got any ideas on this?

[EMAIL PROTECTED](~)$ ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1): 56 data bytes
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
^C
--- 127.0.0.1 ping statistics ---
6 packets transmitted, 0 packets received, 100% packet loss


[EMAIL PROTECTED](~)$ ifconfig lo0
lo0: flags=8008LOOPBACK,MULTICAST mtu 16384


If there isn't an inet 127.0.0.1 entry following, the loopback isn't 
properly configured.  Perhaps you have a network_interfaces entry 
listed in /etc/rc.conf which does not mention lo0...?


Thanks for even bothering to reply Chuck. Honestly, at my age, I should 
know better than to post to mailing lists while too tired to be 
coherent. The actual point of my question was, how exactly does a system 
come to boot up without having lo0 configured as 127.0.0.1? I do have a 
network interfaces line in rc.conf that specifies nve0, but that's the 
way it's always been on this box, and this is only a recent development 
that it's not been assigned correctly at boot time. I was looking into 
several other issues I've been seeing (not getting emails from this box 
for periodic tasks, etc) and finally ran it down to this. Did something 
change recently? My last update was sept 2nd, and this stopped working 
for me only about a week ago, maybe two, so it didn't coincide with that 
update. Now that I've got a little more mental capacity to work with, 
anyone got something to point me in the right direction? Is it a good 
idea to configure lo0 in rc.conf even though it should happen 
automatically? Thanks again.

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


'File too large' mail delivery error

2006-09-30 Thread Gerard Seibert
What could cause Postfix/Dovecot to suddenly start failing to deliver
mail and issue this error message in the /var/log/maillog:


Sep 30 09:45:24 scorpio postfix/local[1439]: 80E65C613: to=[EMAIL PROTECTED]
st.seibercom.net, relay=local, delay=6.5, delays=6.4/0.01/0/0.03, dsn=5.2.2, st
atus=bounced (cannot update mailbox /var/mail/gerard-gmail for user gerard-gmail
. error writing message: File too large)


The dovecot.log had similar entries. A total of 122 messages were hung
up before I caught it.

The mailbox was 49M in size; however, it has been far larger and yet
never was any problem encountered. I had to remove all of the mail
before delivery would start again. Other than upgrading to FreeBSD 6.1
P8 yesterday, nothing has changed on the system.


-- 
Gerard Seibert
[EMAIL PROTECTED]

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


Re: 'File too large' mail delivery error

2006-09-30 Thread Chuck Swiger

Gerard Seibert wrote:

What could cause Postfix/Dovecot to suddenly start failing to deliver
mail and issue this error message in the /var/log/maillog:


Sep 30 09:45:24 scorpio postfix/local[1439]: 80E65C613: to=[EMAIL PROTECTED]
st.seibercom.net, relay=local, delay=6.5, delays=6.4/0.01/0/0.03, dsn=5.2.2, st
atus=bounced (cannot update mailbox /var/mail/gerard-gmail for user gerard-gmail
. error writing message: File too large)


Perhaps you set up user quotas or process limits (there's one for max 
filesize)...?


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


Re: 'File too large' mail delivery error

2006-09-30 Thread Gerard Seibert
Chuck Swiger wrote:

[...]

 Perhaps you set up user quotas or process limits (there's one for max 
 filesize)...?

I haven't done any such thing. This just happened after updating FBSD.
Perhaps there are different default settings in the newer version.

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


Re: Trouble with Berkeley DB version 4.4.20?

2006-09-30 Thread Alex Zbyslaw

Mark wrote:


Hello,

I realize this is probably not the most flashy issue, but, if possible, I
would really like an answer to this question. I compiled BerkeleyDB 4.4.20
with the following in config.in:

INCLUDE = /usr/local/include/db44
LIB = /usr/local/lib# also tried /usr/local/lib/db44 directly
DBNAME = -ldb-4.4

# end of file config.in

I have done this upgrade path for BerkeleyDB and Perl several times; from
1.85 - 4.1 - 4.2, and now - 4.4.20. It has always worked well. Even now
it compiles just fine. It just isn't stable anymore.

If someone out there has an idea, I'd really like to know.
 

I don't have any good answers for you, sorry.  Probably no-one is 
answering because no-one active is doing anything with these particular 
package versions.


But, there is a port of BerkeleyDB (databases/p5-BerkeleyDB) which would 
save you from having to mess around configuring config.in yourself.  
Just set something like WITH_BDB_VER=44 (or 42 or...) in pkgtools.conf 
(for portupgrade) or make.conf or on the command line.  The port doesn't 
seem to do any local patches so I wouldn't expect it to work any better 
for you, unless you have been doing something wrong.


I use 4.2 with p5-BerkeleyDB and no problems for me, but I do nothing 
complicated - really just pretend it's 1.85 without bugs!


What about 4.3?

If you don't need the functionality of 4.4 then downgrade back to 4.2 
and keep an eye on the 4.4 and p5-BerkeleyDB ports, and try again in a 
few months.  Other than that, try google as your problem may not have 
anything to do with FreeBSD, or try asking the p5-BerkeleyDB author - 
maybe they have other feedback like yours.


--Alex


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


Jakarta Slide

2006-09-30 Thread Frank Jahnke
I have an intern doing a project for me that uses Jakarta Tomcat and
Slide.  He is unable to find where exactly in ports he might find Slide
(or where else, for that matter).  Both he and I are unfamiliar with
this whole branch of software, the names, and what is contained where.
I don't know the details (as you can tell), but I am very familiar with
FreeBSD.  Could someone give me a few pointers on how we might find and
install Slide?  Thanks!

Frank

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


Problems properly setting up /etc/exports

2006-09-30 Thread stan
I've  got a FBSD 6 machine built from a 6.2 PRERELEASE set of sources
that I need to use as an NFS server for some other similar machines.
If I specify the machines by host name, or IP address in /etc/exports,
I can mount the requisite directories from the test client.

However, I really need to be able to allow 2 whole 1/2 class C's
to mount these directories. My reading of the /etc/exports man page 
leads me to believe that I should be able to use a line like this:

/usr/ports/distfiles   maproot=root -network aaa.bbb.ccc.0 -mask 
255.255.255.128

When I do this, and start mountd with the -d flag, I get:

ountd: getting export list
mountd: got line /usr/ports/distfiles   maproot=root -network aaa.bbb.ccc.0 
-mask
255.255.255.128mountd: making new ep fs=0x3e331e2f,0xe47d1981

But when I try to mount from a client n this network, it reports
premission denied.

I also tried putting a line like this in /etc/exports:

/usr/ports/distfiles   maproot=root -network mine

and putting the following in /etc/networks:

mineaaa.bbb

But I still get the same error.

What am I doing wrong?


-- 
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What linux_base for Oracle on AMD64?

2006-09-30 Thread stan
On Sat, Sep 30, 2006 at 05:51:38PM +0400, Boris Samorodov wrote:
 On Sat, 30 Sep 2006 08:56:53 -0400 stan wrote:
  The handbook says that I need to install the emulators/linux_base port in 
  order to install
  Oracle. But when I try to install this port, it says that it is depricated.
 
  What ports do I need to install in order to install Oracle on FreeBSD 6.x
  on an AMD64 architecture machine?
 
 Current default (maintained) linux base port is linux_base-fc4.
 
Thanks, I got that installed.

Now what about the linux_devtools port the Handbook referes to? 
I can't find such a port.

-- 
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Trouble with new poweredge 2950 - solved

2006-09-30 Thread Jerry Bell
When I disabled hyperthreading (labelled logical processors in BIOS),
the system started booting.  Strange that HT would cause the system to
hang at boot.  The correct number of processors shows and the amount of
CPU time being used is properly represented.

Jerry

 I just got a PE 2950 and I'm having some problems.

 I installed 6.2PRE and it went well.  The first thing I noticed is that
 immediate as BSD start to load, a bold/highlighted message says 768xxx
 bytes above 4G ignore or something like that (don't recall what xxx was.

 Next thing I noticed whilest trying a buildworld against the latest stable
 sources.  My system detects 8 cpus.  It actually only has 4 - 2 dual core
 xeons.  I'm guessing that the others are from hyperthreading, but I'm not
 certain.  Hyperthreading is disabled by default, I believe.  So, in the
 process of make buildworld -j 32, I noticed that only even numbered CPUs
 are being used (0,2,4,6).  Is that because BSD is ignoring the HT CPUs,
 which would be 1,3,5,7?  top and iostat both show that I was never able to
 exceed 50% overall CPU usage.  Is that because even though I have the HT
 representations disabled, the OS is using their availabilty in calculating
 % idle time?  Is there any way to get an accurate number?  The PE doesn't
 let me disable HT, I don't believe.

 Finally, after the upgrade, I'm having a problem with the system hanging
 on startup right after the firewall message, and sometimes right after the
 CD ROM detection message.  I believe that the SAS controller is supposed
 to be detected next, and I'm assuming that's the problem.  When I first
 tried to install, I used 6.1, and it completely didn't recognize my SAS
 controller.  I found a message in the archives that suggested trying the
 latest stable source, so I tried 6.2 and it worked.  Any ideas what could
 be causing the problem?  When I was using the 6.2PRE ISO, I had to restart
 a few times before it got past that stage also.

 Thanks much!

 ___
 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: What linux_base for Oracle on AMD64?

2006-09-30 Thread Boris Samorodov
Moving the thread to [EMAIL PROTECTED]

On Sat, 30 Sep 2006 14:43:59 -0400 stan wrote:
 On Sat, Sep 30, 2006 at 05:51:38PM +0400, Boris Samorodov wrote:
  On Sat, 30 Sep 2006 08:56:53 -0400 stan wrote:
   The handbook says that I need to install the emulators/linux_base port in 
   order to install
   Oracle. But when I try to install this port, it says that it is 
   depricated.
  
   What ports do I need to install in order to install Oracle on FreeBSD 6.x
   on an AMD64 architecture machine?
  
  Current default (maintained) linux base port is linux_base-fc4.
  
 Thanks, I got that installed.

 Now what about the linux_devtools port the Handbook referes to? 
 I can't find such a port.

Oops, The handbook seems to be staled at that point.

Linux_devtools was removed. It was used with unsupported linux_base
port (which may be removed any time now). It is recommended to use
linux_dist ports for development.

You may consider searching mail archieves on Oracle installing. There
were some threads about it recently (though I don't recall exact
mailing list, but it may be emulation@, current@, stable@).

May be somebody at freebsd-emulation@ list may help you.


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: [FreeBSD-Announce] FreeBSD Security AdvisoryFreeBSD-SA-06:23.openssl [REVISED]

2006-09-30 Thread Pascal Bleyler
HI,

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 FreeBSD Security Advisories
 Sent: Friday, September 29, 2006 4:00 PM
 To: FreeBSD Security Advisories
 Subject: [FreeBSD-Announce] FreeBSD Security 
 AdvisoryFreeBSD-SA-06:23.openssl [REVISED]
 
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 ==
 ===
 FreeBSD-SA-06:23.openssl
 Security Advisory
   The 
 FreeBSD Project
 
 Topic:  Multiple problems in crypto(3)
..snip.. 
 1) Upgrade your vulnerable system to 4-STABLE, 5-STABLE, or 
 6-STABLE, or to the RELENG_6_1, RELENG_6_0, RELENG_5_5, 
 RELENG_5_4, RELENG_5_3, or RELENG_4_11 security branch dated 
 after the correction date.
 
 2) To patch your present system:
 
 The following patch has been verified to apply to FreeBSD 
 4.11, 5.3, 5.4, 5.5, 6.0, and 6.1 systems.
 
 a) Download the patch from the location below, and verify the 
 detached PGP signature using your PGP utility.
 
 # fetch http://security.FreeBSD.org/patches/SA-06:23/openssl.patch
 # fetch http://security.FreeBSD.org/patches/SA-06:23/openssl.patch.asc
 b) Execute the following commands as root:
 
 # cd /usr/src
 # patch  /path/to/patch
 
 c) Recompile the operating system as described in
 URL: http://www.freebsd.org/handbook/makeworld.html and 
 reboot the system.


I have done these 3 steps already:
# make buildworld
# make buildkernel
# make installkernel

Do i need to do these steps too?
# mergemaster -p
# make installworld
# mergemaster

I have FreeBSD 6.1 Release

Thanks for your help
Pascal Bleyler

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


Re: [FreeBSD-Announce] FreeBSD Security AdvisoryFreeBSD-SA-06:23.openssl [REVISED]

2006-09-30 Thread Matthew Seaman
Pascal Bleyler wrote:
 ==
 ===
 FreeBSD-SA-06:23.openssl
 Security Advisory

[snip]

 I have done these 3 steps already:
 # make buildworld
 # make buildkernel
 # make installkernel
 
 Do i need to do these steps too?
 # mergemaster -p
 # make installworld
 # mergemaster
 
 I have FreeBSD 6.1 Release

Yes, you absolutely do need to do those steps.  The OpenSSL
vulnerabilities were in various shared libraries installed as part of
the base system.  Just replacing the kernel won't do a thing to fix
those shlibs.  'make installworld' will, and you need to run mergemaster
to keep your /etc files in sync with the rest of the world.

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



signature.asc
Description: OpenPGP digital signature


Building Python From Ports

2006-09-30 Thread Ted Johnson
Hi;
The latest and greatest Python is version 2.5; however, I seem to only be able 
to build version 2.4.3  from the port. I ran my standard battery of clean-up 
and get ready commands:

portupgrade -a
portsclean -C
portsclean -D
portaudit -F /usr/ports/lang/python

but that didn't change things. How do I upgrade to python 2.5.0?
TIA,
Ted
2

-
Get your email and more, right on the  new 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: Building Python From Ports

2006-09-30 Thread Kris Kennaway
On Sat, Sep 30, 2006 at 01:06:48PM -0700, Ted Johnson wrote:
 Hi;
 The latest and greatest Python is version 2.5; however, I seem to only be 
 able to build version 2.4.3  from the port. I ran my standard battery of 
 clean-up and get ready commands:
 
 portupgrade -a
 portsclean -C
 portsclean -D
 portaudit -F /usr/ports/lang/python
 
 but that didn't change things. How do I upgrade to python 2.5.0?
 TIA,

Why do you expect that to give you python 2.5?  That port lives in
python-devel.

Kris


pgppLE6ikM6TX.pgp
Description: PGP signature


Re: Building Python From Ports

2006-09-30 Thread Bill Campbell
On Sat, Sep 30, 2006, Ted Johnson wrote:
Hi;
The latest and greatest Python is version 2.5; however, I seem to only be able 
to build version 2.4.3  from the port. I ran my standard battery of clean-up 
and get ready commands:

...
but that didn't change things. How do I upgrade to python 2.5.0?

Personally I would wait a bit as the .0 releases often have
``interesting'' problems (e.g. python-2.4.0 had major problems
with the Berkeley database routines).

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

``We maintain that the very foundation of our way of life is what we call
free enterprise,'' said Cash McCall, but when one of our citizens
show enough free enterprise to pile up a little of that profit, we do
our best to make him feel that he ought to be ashamed of himself.
-- Cameron Hawley
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Restoring FreeBSD grub loader

2006-09-30 Thread Ivan \Rambius\ Ivanov

Hello,

I installed FreeBSD 6.1 on one machine with grub boot loader. In the
beginning there was only one entry in grub - namely FreeBSD. Later, I
had to install Windows XP on the machine and of course, it destroyed
grub and now I cannot boot FreeBSD.

I tried with booting from the FreeBSD installation disk choosing Fixit
option, but I could not use successfully grub-install command.

My question is: how can I restore the FreeBSD grub loader? Could you
please give me any hints or advance. Thank you very much in advance.

Regards
Ivan

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


RE: Trouble with Berkeley DB version 4.4.20?

2006-09-30 Thread Mark

 -Original Message-
 From: Alex Zbyslaw [mailto:[EMAIL PROTECTED]
 Sent: zaterdag 30 september 2006 20:14
 To: Mark
 Cc: 'FreeBSD-Questions Questions'
 Subject: Re: Trouble with Berkeley DB version 4.4.20?

  I have done this upgrade path for BerkeleyDB and Perl several times;
  from 1.85 - 4.1 - 4.2, and now - 4.4.20. It has always worked well.
  Even now it compiles just fine. It just isn't stable anymore.
 
  If someone out there has an idea, I'd really like to know.

 I don't have any good answers for you, sorry. Probably no-one is answer-
 ing because no-one active is doing anything with these particular pack-
 age versions.

 But, there is a port of BerkeleyDB (databases/p5-BerkeleyDB) which would
 save you from having to mess around configuring config.in yourself. Just
 set something like WITH_BDB_VER=44 (or 42 or...) in pkgtools.conf (for
 portupgrade) or make.conf or on the command line. The port doesn't seem
 to do any local patches so I wouldn't expect it to work any better for
 you, unless you have been doing something wrong.

Thanks for answering. Really appreciate it.

I actually already tried p5-BerkeleyDB too. Had high hopes for it. It took
a good 10 minutes or so to compile a new gcc, 3.2.23, first; but after
that, everything went well. Except that it shows the same behavior.
Compile goes fine; make tests too. But my app core dumps every, say,
30 times it accesses BerkeleyDB.

 I use 4.2 with p5-BerkeleyDB and no problems for me, but I do nothing
 complicated - really just pretend it's 1.85 without bugs!

My BerkeleyDB 4.2 with Perl is rock-stable, too. Never a glitch of any kind.

 If you don't need the functionality of 4.4 then downgrade back to 4.2
 and keep an eye on the 4.4 and p5-BerkeleyDB ports, and try again in a
 few months.

I think I'll do that. I believe BerkeleyDB 4.5 has just been released
already. I'll wait for it to appear in the ports. I do not actually need
the functionality of 4.4. Like you, I just use 4.2 as 1.85 without the
bugs. :) Upgrading just seemed like the thing to do. If you look at the
Sleepycat bug-list, it seems they fixed a whole lot of them since 4.2; but
I cannot say I ever really ran into one.

So, I'll wait for 4.5. Not much I can do. Should have been a pretty
straightforward upgrade; but it isn't. And analyzing a Perl core dump
without symbolic information is pretty useless too. Besides, from my own
debug markers I set, it does not core dump in the same place each time.
So, it's just that: unstable.

Thanks,

- Mark

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


Re: Problems properly setting up /etc/exports

2006-09-30 Thread Donald J. O'Neill
On Saturday 30 September 2006 13:39, stan wrote:
 I've  got a FBSD 6 machine built from a 6.2 PRERELEASE set of sources
 that I need to use as an NFS server for some other similar machines.
 If I specify the machines by host name, or IP address in /etc/exports,
 I can mount the requisite directories from the test client.

 However, I really need to be able to allow 2 whole 1/2 class C's
 to mount these directories. My reading of the /etc/exports man page
 leads me to believe that I should be able to use a line like this:

 /usr/ports/distfiles   maproot=root -network aaa.bbb.ccc.0 -mask
 255.255.255.128

 When I do this, and start mountd with the -d flag, I get:

 ountd: getting export list
 mountd: got line /usr/ports/distfiles   maproot=root -network
 aaa.bbb.ccc.0 -mask 255.255.255.128mountd: making new ep
 fs=0x3e331e2f,0xe47d1981

 But when I try to mount from a client n this network, it reports
 premission denied.

 I also tried putting a line like this in /etc/exports:

 /usr/ports/distfiles   maproot=root -network mine

 and putting the following in /etc/networks:

 mineaaa.bbb

 But I still get the same error.

 What am I doing wrong?

Try this line in /etc/exports: 
/usr /usr/ports /usr/ports/distfiles -maproot=root \
-network aaa.bbb.ccc -mask 255.255.255.128

Do you have something like this in /etc/rc.conf:
rpcbind_enable=YES
nfs_server_enable=YES
mountd_flags=-r

That should help you.

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


Re: Restoring FreeBSD grub loader

2006-09-30 Thread backyard


--- Ivan \Rambius\ Ivanov
[EMAIL PROTECTED] wrote:

 Hello,
 
 I installed FreeBSD 6.1 on one machine with grub
 boot loader. In the
 beginning there was only one entry in grub - namely
 FreeBSD. Later, I
 had to install Windows XP on the machine and of
 course, it destroyed
 grub and now I cannot boot FreeBSD.
 
 I tried with booting from the FreeBSD installation
 disk choosing Fixit
 option, but I could not use successfully
 grub-install command.
 
 My question is: how can I restore the FreeBSD grub
 loader? Could you
 please give me any hints or advance. Thank you very
 much in advance.
 
 Regards
 Ivan
 
 -- 

I would suggest you make a grub booting floppy disk
then you can escape to command mode once the disk
loades and install grub with

root (hd0,0,a)   # or wherever it is
setup (hd0   # again wherever it is

assuming you have already placed the grub bootfiles on
your hard drive and configured menu.lst you should be
all set. I have only encountered one computer this
method failed.

you could alternatively flip the kernel tunable that
allows raw writes to the boot sectors of the disks. I
don't recall what it is but I think the grub docs talk
about it in the man or info pages.

I'm supprised XP messed it up, 2000 seemed to respect
existing bootloaders...


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


Re: Problems properly setting up /etc/exports

2006-09-30 Thread stan
On Sat, Sep 30, 2006 at 04:21:23PM -0500, Donald J. O'Neill wrote:
 On Saturday 30 September 2006 13:39, stan wrote:
  I've  got a FBSD 6 machine built from a 6.2 PRERELEASE set of sources
  that I need to use as an NFS server for some other similar machines.
  If I specify the machines by host name, or IP address in /etc/exports,
  I can mount the requisite directories from the test client.
 
  However, I really need to be able to allow 2 whole 1/2 class C's
  to mount these directories. My reading of the /etc/exports man page
  leads me to believe that I should be able to use a line like this:
 
  /usr/ports/distfiles   maproot=root -network aaa.bbb.ccc.0 -mask
  255.255.255.128
 
  When I do this, and start mountd with the -d flag, I get:
 
  ountd: getting export list
  mountd: got line /usr/ports/distfiles   maproot=root -network
  aaa.bbb.ccc.0 -mask 255.255.255.128mountd: making new ep
  fs=0x3e331e2f,0xe47d1981
 
  But when I try to mount from a client n this network, it reports
  premission denied.
 
  I also tried putting a line like this in /etc/exports:
 
  /usr/ports/distfiles   maproot=root -network mine
 
  and putting the following in /etc/networks:
 
  mineaaa.bbb
 
  But I still get the same error.
 
  What am I doing wrong?
 
 Try this line in /etc/exports: 
 /usr /usr/ports /usr/ports/distfiles -maproot=root \
 -network aaa.bbb.ccc -mask 255.255.255.128
 
 Do you have something like this in /etc/rc.conf:
 rpcbind_enable=YES
 nfs_server_enable=YES
 mountd_flags=-r
 
Thanks.

Turns out I needed a : after the maproot clause.

-- 
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


More NFS exports questions :-(

2006-09-30 Thread stan
Sorry, this should be simpople, but i'm having a bad day with it :-(

Given and /etc/exports file that looks like this:

cvsup# cat /etc/exports
/data/FreeBSD/distfiles  -maproot=root:   -network 170.85.113.0 -mask 
255.255.255.128
/data/FreeBSD/distfiles  -maproot=root:   -network 170.85.109.0 -mask 
255.255.255.128
/data/FreeBSD/distfiles  -maproot=root:   -network 170.85.106.128 -mask 
255.255.255.128
/data/OpenBSD/distfiles  -maproot=root:   -network 170.85.113.0 -mask 
255.255.255.128
/data/OpenBSD/distfiles  -maproot=root:   -network 170.85.109.0 -mask 
255.255.255.128
/data/OpenBSD/distfiles  -maproot=root:   -network 170.85.106.128 -mask 
255.255.255.128
/data/OpenBSD/packages  -maproot=root:   -network 170.85.113.0 -mask 
255.255.255.128
/data/OpenBSD/packages  -maproot=root:   -network 170.85.109.0 -mask 
255.255.255.128
/data/OpenBSD/packages  -maproot=root:   -network 170.85.106.128 -mask 
255.255.255.128

And a filesystem structure that looks like this:

cvsup# ls -ld /data
drwxr-xr-x  7 root  wheel  512 Sep 30 17:58 /data

cvsup# ls -l /data/OpenBSD
total 4
drwxr-xr-x  2 root  wheel  512 Sep 30 17:58 distfiles
drwxr-xr-x  2 root  wheel  512 Sep 30 19:34 packages

Can anyone tell me why mountd gives me this error?

mountd: got line /data/OpenBSD/packages  -maproot=root:   -network 
170.85.106.128 -mask
255.255.255.128
mountd: found ep fs=0x3e331d82,0xb21e5b03
mountd: doing opt -maproot=root:   -network 170.85.106.128 -mask 255.255.255.128
mountd: doing opt -network 170.85.106.128 -mask 255.255.255.128
get_net: v4 addr 170.85.106.128
mountd: doing opt -mask 255.255.255.128
get_net: v4 addr 255.255.255.128
mountd: can't change attributes for /data/OpenBSD/packages




-- 
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: More NFS exports questions :-(

2006-09-30 Thread Jonathan Horne
On Saturday 30 September 2006 18:56, stan wrote:
 Sorry, this should be simpople, but i'm having a bad day with it :-(

 Given and /etc/exports file that looks like this:

 cvsup# cat /etc/exports
 /data/FreeBSD/distfiles  -maproot=root:   -network 170.85.113.0 -mask
 255.255.255.128 /data/FreeBSD/distfiles  -maproot=root:   -network
 170.85.109.0 -mask 255.255.255.128 /data/FreeBSD/distfiles  -maproot=root: 
  -network 170.85.106.128 -mask 255.255.255.128 /data/OpenBSD/distfiles 
 -maproot=root:   -network 170.85.113.0 -mask 255.255.255.128
 /data/OpenBSD/distfiles  -maproot=root:   -network 170.85.109.0 -mask
 255.255.255.128 /data/OpenBSD/distfiles  -maproot=root:   -network
 170.85.106.128 -mask 255.255.255.128 /data/OpenBSD/packages  -maproot=root:
   -network 170.85.113.0 -mask 255.255.255.128 /data/OpenBSD/packages 
 -maproot=root:   -network 170.85.109.0 -mask 255.255.255.128
 /data/OpenBSD/packages  -maproot=root:   -network 170.85.106.128 -mask
 255.255.255.128

 And a filesystem structure that looks like this:

 cvsup# ls -ld /data
 drwxr-xr-x  7 root  wheel  512 Sep 30 17:58 /data

 cvsup# ls -l /data/OpenBSD
 total 4
 drwxr-xr-x  2 root  wheel  512 Sep 30 17:58 distfiles
 drwxr-xr-x  2 root  wheel  512 Sep 30 19:34 packages

 Can anyone tell me why mountd gives me this error?

 mountd: got line /data/OpenBSD/packages  -maproot=root:   -network
 170.85.106.128 -mask 255.255.255.128
 mountd: found ep fs=0x3e331d82,0xb21e5b03
 mountd: doing opt -maproot=root:   -network 170.85.106.128 -mask
 255.255.255.128 mountd: doing opt -network 170.85.106.128 -mask
 255.255.255.128
 get_net: v4 addr 170.85.106.128
 mountd: doing opt -mask 255.255.255.128
 get_net: v4 addr 255.255.255.128
 mountd: can't change attributes for /data/OpenBSD/packages

to help make some sense, it might help to see the output of 'df -h' on your 
system.  my first inclination is that you might be vearing off the 
configuration rules path.  take a look at section '25.3.2 Configuring NFS' of 
the handbook, at the paragraph starting with:

The following is an example of a valid export list...

in the example, notice how /usr/src and /usr/ports are exported on the same 
line?  i have a strong feeling (again, based on your filesystem setup) that 
you might need to explore this area to solve your issue.

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


triouble with my Deskjet 500

2006-09-30 Thread Gary Kline

The trouble is that it only prints in ASCII Aand fails to fails
to print xv images or anything else PostScript.  I'm playing
around withthe following in /usr//local/libexec:

#!/bin/sh
#
# hpif - Simple text input filter for lpd for HP-PCL based printers
# Installed in /usr/local/libexec/hpif
#
# Simply copies stdin to stdout.  Ignores all filter arguments.
# Tells printer to treat LF as CR+LF. Writes a form feed character
# after printing job.

###printf \033k2G  cat  printf \f  exit 0

#
#  ifhp - Print Ghostscript-simulated PostScript on a DeskJet 500
#  Installed in /usr/local/libexec/ifhp

#
#  Treat LF as CR+LF:
#
###printf \033k2G || exit 2

#
#  Read first two characters of the file
#
IFS= read -r first_line
first_two_chars=`expr $first_line : '\(..\)'`

if [ $first_two_chars = %! ]; then
#
#  It is PostScript; use Ghostscript to scan-convert and print it.
#
#  Note that PostScript files are actually interpreted programs,
#  and those programs are allowed to write to stdout, which will
#  mess up the printed output.  So, we redirect stdout to stderr
#  and then make descriptor 3 go to stdout, and have Ghostscript
#  write its output there.  Exercise for the clever reader:
#  capture the stderr output from Ghostscript and mail it back to
#  the user originating the print job.
#
exec 31 12
/usr/local/bin/gs -dSAFER -dNOPAUSE -q -sDEVICE=djet500 \
-sOutputFile=/dev/fd/3 -  exit 0
else
#
#  Plain text or HP/PCL, so just print it directly; print a form feed
#  at the end to eject the last page.
#
echo $first_line  cat  printf \033l0H 
exit 0
fi

It's pretty obviouslythat I can toss the first several lines that
came from the originl hpif file; this was before I cared about
graphics.  I lost the ghostscript part when my system had its 
fatal trap.   Anybody out there who has an ancient hp djet500?
or can help otherwise.  I'm out of ideas.

thanks much,

gary

PS:  I tried printing a graphic file remote; my printer spat out 
 hex.  Now I tried small graphic with xv and Print.  Same
 thing .




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

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


Re: More NFS exports questions :-(

2006-09-30 Thread stan
On Sat, Sep 30, 2006 at 07:11:14PM -0500, Jonathan Horne wrote:
 On Saturday 30 September 2006 18:56, stan wrote:
  Sorry, this should be simpople, but i'm having a bad day with it :-(
 
  Given and /etc/exports file that looks like this:
 
  cvsup# cat /etc/exports
  /data/FreeBSD/distfiles  -maproot=root:   -network 170.85.113.0 -mask
  255.255.255.128 /data/FreeBSD/distfiles  -maproot=root:   -network
  170.85.109.0 -mask 255.255.255.128 /data/FreeBSD/distfiles  -maproot=root: 
   -network 170.85.106.128 -mask 255.255.255.128 /data/OpenBSD/distfiles 
  -maproot=root:   -network 170.85.113.0 -mask 255.255.255.128
  /data/OpenBSD/distfiles  -maproot=root:   -network 170.85.109.0 -mask
  255.255.255.128 /data/OpenBSD/distfiles  -maproot=root:   -network
  170.85.106.128 -mask 255.255.255.128 /data/OpenBSD/packages  -maproot=root:
-network 170.85.113.0 -mask 255.255.255.128 /data/OpenBSD/packages 
  -maproot=root:   -network 170.85.109.0 -mask 255.255.255.128
  /data/OpenBSD/packages  -maproot=root:   -network 170.85.106.128 -mask
  255.255.255.128
 
  And a filesystem structure that looks like this:
 
  cvsup# ls -ld /data
  drwxr-xr-x  7 root  wheel  512 Sep 30 17:58 /data
 
  cvsup# ls -l /data/OpenBSD
  total 4
  drwxr-xr-x  2 root  wheel  512 Sep 30 17:58 distfiles
  drwxr-xr-x  2 root  wheel  512 Sep 30 19:34 packages
 
  Can anyone tell me why mountd gives me this error?
 
  mountd: got line /data/OpenBSD/packages  -maproot=root:   -network
  170.85.106.128 -mask 255.255.255.128
  mountd: found ep fs=0x3e331d82,0xb21e5b03
  mountd: doing opt -maproot=root:   -network 170.85.106.128 -mask
  255.255.255.128 mountd: doing opt -network 170.85.106.128 -mask
  255.255.255.128
  get_net: v4 addr 170.85.106.128
  mountd: doing opt -mask 255.255.255.128
  get_net: v4 addr 255.255.255.128
  mountd: can't change attributes for /data/OpenBSD/packages
 
 to help make some sense, it might help to see the output of 'df -h' on your 
 system.  my first inclination is that you might be vearing off the 
 configuration rules path.  take a look at section '25.3.2 Configuring NFS' of 
 the handbook, at the paragraph starting with:

cvsup# df -h
Filesystem   SizeUsed   Avail Capacity  Mounted on
/dev/amrd0s1a496M 64M392M14%/
devfs1.0K1.0K  0B   100%/dev
/dev/amrd0s1g969G1.2G890G 0%/data
/dev/amrd0s1e989M 12K910M 0%/tmp
/dev/amrd0s1f 85G6.5G 72G 8%/usr
/dev/amrd0s1d 19G100M 18G 1%/var
procfs   4.0K4.0K  0B   100%/proc
cvsup:/data/FreeBSD/distfiles969G1.2G890G 0%
/usr/ports/distfiles


 
 The following is an example of a valid export list...
 
 in the example, notice how /usr/src and /usr/ports are exported on the same 
 line?  i have a strong feeling (again, based on your filesystem setup) that 
 you might need to explore this area to solve your issue.

I thought I had tried that but


/data/FreeBSD/distfiles /data/OpenBSD/packages  -maproot=root:   -network 
aaa.bbb.113.0 -mask
255.255.255.128

Fixes the problem. 

Thanks VERY MUCH!




-- 
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Adding an OpenBSD cvsup mirror to an existing FreeBSD cvsup mirror

2006-09-30 Thread stan
I'd like to be able to use my exsitig FreeBSD cvsup mirror, which 
I used the cvsup_mirror port to set up, to also mirror the cvsup
tree for OpenBSD.

Any sugestions as to how to do this?
Looks like I need to clone (or modify) /usr/local/etc/cvsup/config.sh.
I don't want to break the FreeBSD cvsup mirror, as I'm in the middle of a major 
upgrade.

Thanks

-- 
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problems with installation

2006-09-30 Thread Michael Dreiding
I have downloaded the AMD64 version 6.1
Every time I start with the boot disk loader, I get a
menu with 7 options.  Whenever I select 1 through 5
(Boot FreeBSD . . .) my laptop shuts down.

I am running on a Laptop AMD64 3400+

What do I need to do to get this to install?

[EMAIL PROTECTED]

__
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: 'File too large' mail delivery error

2006-09-30 Thread Giorgos Keramidas
On 2006-09-30 11:46, Gerard Seibert [EMAIL PROTECTED] wrote:
 What could cause Postfix/Dovecot to suddenly start failing to deliver
 mail and issue this error message in the /var/log/maillog:

 Sep 30 09:45:24 scorpio postfix/local[1439]: 80E65C613: to=[EMAIL PROTECTED]
 st.seibercom.net, relay=local, delay=6.5, delays=6.4/0.01/0/0.03, dsn=5.2.2, 
 st
 atus=bounced (cannot update mailbox /var/mail/gerard-gmail for user 
 gerard-gmail
 . error writing message: File too large)

What does postconf have to say about mailbox size limit?

# postconf mailbox_size_limit
mailbox_size_limit = 5120
#

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


Re: 'File too large' mail delivery error

2006-09-30 Thread Gerard Seibert
On Saturday 30 September 2006 23:27, Giorgos Keramidas wrote:

 What does postconf have to say about mailbox size limit?

 # postconf mailbox_size_limit
 mailbox_size_limit = 5120
 #

Yes, that is the same number I get. So why did this mysteriously just start 
after I updated FBSD? I am using dovecot as the LDA so I would not have 
thought that a size limit set in postfix would have an bearing on dovcot's 
ability to deliver mail. In any case, I have had mail folders over 75M in 
size and neither dovecot nor postfix complained.

-- 
Gerard Seibert
[EMAIL PROTECTED]

A man is known by the company he organizes.

A. Bierce


pgpIRHKZ2imhF.pgp
Description: PGP signature


Re: 'File too large' mail delivery error

2006-09-30 Thread Giorgos Keramidas
On 2006-09-30 22:02, Gerard Seibert [EMAIL PROTECTED] wrote:
 On Saturday 30 September 2006 23:27, Giorgos Keramidas wrote:
  What does postconf have to say about mailbox size limit?
 
  # postconf mailbox_size_limit
  mailbox_size_limit = 5120
  #
 
 Yes, that is the same number I get. So why did this mysteriously just
 start after I updated FBSD?

I don't think I can answer this, since I don't know what the
configuration of your Postfix was before and what it is now.

Nothing happens 'mysteriously' though.

For example:

  * Did you recently update FreeBSD *AND* update all your ports with
portupgrade or similar?

  * If yes, did you backup your Postfix configuration?

  * If you really did keep backup copies, can you show me the output of
diff(1) on the old main.cf and the new one?

 I am using dovecot as the LDA so I would not have thought that a size
 limit set in postfix would have an bearing on dovcot's ability to
 deliver mail. In any case, I have had mail folders over 75M in size
 and neither dovecot nor postfix complained.

Well, they do now.

Even if we can't find out why they didn't before, we currently know how
to fix this :)

___
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 ping localhost?

2006-09-30 Thread P.U.Kruppa

On Sat, 30 Sep 2006, Chuck Swiger wrote:


Laurence Sanford wrote:

Anyone got any ideas on this?

[EMAIL PROTECTED](~)$ ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1): 56 data bytes
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
^C
--- 127.0.0.1 ping statistics ---
6 packets transmitted, 0 packets received, 100% packet loss


[EMAIL PROTECTED](~)$ ifconfig lo0
lo0: flags=8008LOOPBACK,MULTICAST mtu 16384


If there isn't an inet 127.0.0.1 entry following, the loopback isn't 
properly configured.  Perhaps you have a network_interfaces entry listed in 
/etc/rc.conf which does not mention lo0...?

I think this entry should live in /etc/defaults/rc.conf

ifconfig_lo0=inet 127.0.0.1   # default loopback device
# configuration.

Regards,

Uli



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





Peter Ulrich Kruppa
Wuppertal
Germany

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


networking question

2006-09-30 Thread Marwan Sultan

Hello All,

  Well, I have FBSD 6.1-R server acting as NAT, and wired Internet HotSpot 
by chillispot and freerad

  for a building of 66 rj45 wall socket.

  The problem is, whenever someone having an internet account, he is able 
to give it to his friends

  to connect in the time he is not connected.. because one user at a time.
  but this account ment to be for a certain socket..its a personal account 
for 1 room.


   is there any way that i can controll the internet in this sockets?
   like to block all the sockets and unblock whatever i want..
   so I will make sure this account will not run from any other socket 
outside the person room.


   those sockets are connected to each others throu 4 belkin switches hub.

   Well technically I knew I can Controll it by the MAC adres which 
chillispot already

   has this feature.. but i dunt want to use Mac Adrs

   Anyone has anyway to controll the sockets over the switches?
   impossible?

   Marwan Sultan

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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


Question on when to submit PRs (a reboot hang)

2006-09-30 Thread Chris
I have what seems to be a mostly stable 6.2 PRERELEASE that I  
couldn't take backward to RELENG_6_1 for reasons I couldn't figure  
out. Unimportant because it's being loaded with data and going to  
test production right now. The mostly part is that in cvsupping I  
picked up a nasty reboot problem where reboot would stop at Uptime  
and hang about 75% of the time. If the system runs like I've come to  
expect FreeBSD to run over the years, I don't really care plus I'm  
installing a remote Power Tower to overcome such issues next week. On  
6.2 PR, it ran through about 50 reboots without a problem until I  
stupidly updated once more. Yesterday I updated yet another time and  
the frequency of the problem dropped to the point where it didn't do  
it but 1 in 10 intentional reboots. But since I am still seeing it.  
I'm wondering if it's worthwhile putting in a problem report? I  
dislike troubling people if I am the only one who's going to  
experience a problem, especially one which I will soon be able to  
manage it by cycling grouped power inputs (if it even happens again  
now, since I won't be rebooting a production system).


It's AMD64 on an s4882 Tyan.

The question is probably best stated as what is whining and what is  
helping? For all I know it's a timing problem with bios version I'm  
running.

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


Good networking books for a beginner?

2006-09-30 Thread Rob

Does anyone happen to know of any good books that explain all about
networking in detail (such as gateways, netmasks, etc)?  I know the 'basics'
but would like to dig in a little deeper.

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


Re: Good networking books for a beginner?

2006-09-30 Thread Beech Rintoul
On Saturday 30 September 2006 20:12, Rob wrote:
 Does anyone happen to know of any good books that explain all about
 networking in detail (such as gateways, netmasks, etc)?  I know the
 'basics' but would like to dig in a little deeper.

 Thanks,
 rob

I found Computer Networks: A Systems Approach a really good reference (still 
use it from time to time). It's a bit pricey, but you can probably find a 
used copy on Amazon.

Beech
-- 

---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | Alaska Paradise
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://www.alaskaparadise.com
---













pgpfdk2UnapOH.pgp
Description: PGP signature


Re: Good networking books for a beginner?

2006-09-30 Thread Garrett Cooper
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Beech Rintoul wrote:
 On Saturday 30 September 2006 20:12, Rob wrote:
 Does anyone happen to know of any good books that explain all about
 networking in detail (such as gateways, netmasks, etc)?  I know the
 'basics' but would like to dig in a little deeper.

 Thanks,
 rob
 
 I found Computer Networks: A Systems Approach a really good reference 
 (still 
 use it from time to time). It's a bit pricey, but you can probably find a 
 used copy on Amazon.
 
 Beech

Internet Core Protocols : The Definitive Guide is pretty good too for a
more quantifiable analysis of networks than the Computer Networks : A
Systems Approach book is in some ways. Maybe you should read this book
after you read Computer Networks : A Systems Approach?
- -Garrett
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFH0gY6CkrZkzMC68RAjYUAJsEVUUJtYVxsrCPKagFmPjFLXBLaQCeIh0w
Jg2PQoY6K9WXAeztiaECuQ4=
=eL6G
-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: Good networking books for a beginner?

2006-09-30 Thread Chris Hill

On Sun, 1 Oct 2006, Rob wrote:

Does anyone happen to know of any good books that explain all about 
networking in detail (such as gateways, netmasks, etc)?  I know the 
'basics' but would like to dig in a little deeper.


For me, the old standby is TCP/IP Network Administration by Craig Hunt 
(aka the crab book). Published by O'Reilly. I learned a lot from it.


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