Problem with IPSec setup

2013-10-03 Thread fbsd-mbox

Hello.

Does anyone have a clue why kernel always directs ESP packets via 
default route (or default gateway in FIB 0), even if there are other 
FIBs with per-interface routes?


I'm stuck with the gateway, which is connected to 2 ISPs and the 
necessity to configure IPSec tunnels on both external channels. Using 
setfib(8) I've managed to successfully establish an IKE session via both 
channels (using a separate instance of racoon per each channel), but the 
tunnel is just not working.

Using IPFW's setfib option does not make any difference.

Is this a bug or I'm missing some point?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: gPXE booting FreeBSD?

2012-12-04 Thread FBSD UG
Hey Rick,


I've managed to setup an gPXE boot where a
diskless client booted OpenSUSE over AoE
from a FreeBSD server. Not exactly what you
want, yet the setup is mostly the same for all
OS's... 

My main source of info came from this site:
http://etherboot.org/wiki/howtos


greets

Arno Beekman



On 4 dec 2012, at 16:55, Rick Miller wrote:

 Hi All,
 
 Does anyone have any experience booting FreeBSD via gPXE and have
 pointers to relevant documentation and/or blog posts?
 
 -- 
 Take care
 Rick Miller
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

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


AoE vblade reporting size 0

2012-11-04 Thread FBSD UG
Hello,


I'm trying to export a disk on FreeBSD 9.0-R4
over AoE (ATA over Ethernet) using vblade from
ports.

I run this as root:
# vblade 1 1 em0 /dev/ada1

and the system returns this:

  ioctl returned -1
  0 bytes
  pid 2629: e1.1, 0 sectors O_RDWR


The drive nicely shows up on OSX and Linux as
e1.1 but is has size 0 bytes and thus unusable.

Has anyone successfully export a disk using AoE
on FreeBSD that can shed some light on what I might
be doing wrong? How do i get it to export the disk
as 230 GB, the size of the disk?

thanks in advance,

Arno Beekman
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: af_atalk.c error FBSD 9.0Rp4

2012-08-13 Thread FBSD UG
aaah nevermind... sigh...

just for the archive, I'm learning C and had
setenv GCC_EXEC_PREFIX c-program
setenv C_INCLUDE_PATH=/usr/local/include
which were preventing certain things to compile...

and then 'Computer says no'

gr
arno




On 10 aug 2012, at 15:40, FBSD UG wrote:

 hello!
 
 I'm trying to buildworld on my FreeBSD 9.0-RELEASE-p4
 server after successfully installing the kernel, but keep
 running into the same error no matter what I do.
 
 I've been googling for days now and must either be looking
 in the wrong directions or it's not there.
 
 The error I get is the following:
 
 cc -O2 -pipe  -DINET6 -DINET -Wall -Wmissing-prototypes -Wcast-qual 
 -Wwrite-strings -Wnested-externs -DRESCUE -std=gnu99 -fstack-protector 
 -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized 
 -Wno-pointer-sign -c /usr/src/sbin/ifconfig/af_atalk.c
 /usr/src/sbin/ifconfig/af_atalk.c: In function 'at_status':
 /usr/src/sbin/ifconfig/af_atalk.c:94: error: 'struct sockaddr_at' has no 
 member named 'sat_range'
 /usr/src/sbin/ifconfig/af_atalk.c: In function 'at_getaddr':
 /usr/src/sbin/ifconfig/af_atalk.c:123: error: 'struct sockaddr_at' has no 
 member named 'sat_len'
 /usr/src/sbin/ifconfig/af_atalk.c: In function 'at_postproc':
 /usr/src/sbin/ifconfig/af_atalk.c:152: error: 'struct sockaddr_at' has no 
 member named 'sat_range'
 *** Error code 1
 
 Stop in /usr/src/sbin/ifconfig.
 *** Error code 1
 
 Stop in /usr/obj/usr/src/rescue/rescue.
 *** Error code 1
 
 Stop in /usr/src/rescue/rescue.
 *** Error code 1
 
 Stop in /usr/src/rescue.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 
 
 I do also get this when I cd into /usr/src/sbin/ifconfig and type make.
 
 
 This is my kernelconfig I compiled the kernel with:
 
 cpu   I686_CPU
 ident KERNEL9
 
 options   SCHED_ULE   # ULE 
 scheduler
 options   PREEMPTION  # 
 Enable kernel thread preemption
 options   INET
 # InterNETworking
 options   INET6   
 # IPv6 communications protocols
 options   SCTP
 # Stream Control Transmission Protocol
 options   FFS 
 # Berkeley Fast Filesystem
 options   SOFTUPDATES # 
 Enable FFS soft updates support
 options   UFS_ACL # 
 Support for access control lists
 options   UFS_DIRHASH # 
 Improve performance on big directories
 options   UFS_GJOURNAL# Enable 
 gjournal-based UFS journaling
 options   MD_ROOT # MD is 
 a potential root device
 options   NFSCL   
 # New Network Filesystem Client
 options   NFSD
 # New Network Filesystem Server
 options   NFSLOCKD
 # Network Lock Manager
 options   NFS_ROOT
 # NFS usable as /, requires NFSCLIENT
 options   MSDOSFS # MSDOS 
 Filesystem
 options   CD9660  
 # ISO 9660 Filesystem
 options   PROCFS  # 
 Process filesystem (requires PSEUDOFS)
 options   PSEUDOFS
 # Pseudo-filesystem framework
 options   GEOM_PART_GPT   # GUID 
 Partition Tables.
 options   GEOM_LABEL  # 
 Provides labelization
 options   COMPAT_FREEBSD4 # Compatible with 
 FreeBSD4
 options   COMPAT_FREEBSD5 # Compatible with 
 FreeBSD5
 options   COMPAT_FREEBSD6 # Compatible with 
 FreeBSD6
 options   COMPAT_FREEBSD7 # Compatible with 
 FreeBSD7
 options   SCSI_DELAY=1000 # Delay (in ms) 
 before probing SCSI
 options   KTRACE  # 
 ktrace(1) support
 options   STACK   
 # stack(9) support
 options   SYSVSHM # 
 SYSV-style shared memory
 options   SYSVMSG # 
 SYSV-style message queues
 options   SYSVSEM

af_atalk.c error FBSD 9.0Rp4

2012-08-10 Thread FBSD UG
hello!

I'm trying to buildworld on my FreeBSD 9.0-RELEASE-p4
server after successfully installing the kernel, but keep
running into the same error no matter what I do.

I've been googling for days now and must either be looking
in the wrong directions or it's not there.

The error I get is the following:

cc -O2 -pipe  -DINET6 -DINET -Wall -Wmissing-prototypes -Wcast-qual 
-Wwrite-strings -Wnested-externs -DRESCUE -std=gnu99 -fstack-protector 
-Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized 
-Wno-pointer-sign -c /usr/src/sbin/ifconfig/af_atalk.c
/usr/src/sbin/ifconfig/af_atalk.c: In function 'at_status':
/usr/src/sbin/ifconfig/af_atalk.c:94: error: 'struct sockaddr_at' has no member 
named 'sat_range'
/usr/src/sbin/ifconfig/af_atalk.c: In function 'at_getaddr':
/usr/src/sbin/ifconfig/af_atalk.c:123: error: 'struct sockaddr_at' has no 
member named 'sat_len'
/usr/src/sbin/ifconfig/af_atalk.c: In function 'at_postproc':
/usr/src/sbin/ifconfig/af_atalk.c:152: error: 'struct sockaddr_at' has no 
member named 'sat_range'
*** Error code 1

Stop in /usr/src/sbin/ifconfig.
*** Error code 1

Stop in /usr/obj/usr/src/rescue/rescue.
*** Error code 1

Stop in /usr/src/rescue/rescue.
*** Error code 1

Stop in /usr/src/rescue.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


I do also get this when I cd into /usr/src/sbin/ifconfig and type make.


This is my kernelconfig I compiled the kernel with:

cpu I686_CPU
ident   KERNEL9

options SCHED_ULE   # ULE 
scheduler
options PREEMPTION  # 
Enable kernel thread preemption
options INET
# InterNETworking
options INET6   
# IPv6 communications protocols
options SCTP
# Stream Control Transmission Protocol
options FFS 
# Berkeley Fast Filesystem
options SOFTUPDATES # 
Enable FFS soft updates support
options UFS_ACL # 
Support for access control lists
options UFS_DIRHASH # 
Improve performance on big directories
options UFS_GJOURNAL# Enable 
gjournal-based UFS journaling
options MD_ROOT # MD is 
a potential root device
options NFSCL   
# New Network Filesystem Client
options NFSD
# New Network Filesystem Server
options NFSLOCKD
# Network Lock Manager
options NFS_ROOT
# NFS usable as /, requires NFSCLIENT
options MSDOSFS # MSDOS 
Filesystem
options CD9660  
# ISO 9660 Filesystem
options PROCFS  # 
Process filesystem (requires PSEUDOFS)
options PSEUDOFS
# Pseudo-filesystem framework
options GEOM_PART_GPT   # GUID 
Partition Tables.
options GEOM_LABEL  # 
Provides labelization
options COMPAT_FREEBSD4 # Compatible with 
FreeBSD4
options COMPAT_FREEBSD5 # Compatible with 
FreeBSD5
options COMPAT_FREEBSD6 # Compatible with 
FreeBSD6
options COMPAT_FREEBSD7 # Compatible with 
FreeBSD7
options SCSI_DELAY=1000 # Delay (in ms) 
before probing SCSI
options KTRACE  # 
ktrace(1) support
options STACK   
# stack(9) support
options SYSVSHM # 
SYSV-style shared memory
options SYSVMSG # 
SYSV-style message queues
options SYSVSEM # 
SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time 
extensions
options PRINTF_BUFR_SIZE=128# Prevent printf output 
being interspersed.
options KBD_INSTALL_CDEV# install a 
CDEV entry in /dev
options 

Re: oops, now: bsd question: how to record a tv stream?

2012-03-13 Thread FBSD UG
doesn't VLC do that too?



On 11 mrt 2012, at 21:28, Gary Kline wrote:

 guys,
 
 i made the mistake that conrad did when replying.  i could make e
 excuse liked only getting five hours sleep, etc, bujt i wont.
 
 here us a FBSD qauestion how can i capture any tv stream---or
 radio stream for later replay?  or is that illegal, too?
 
 gray
 
 
 
 -- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
Voice By Computer (for Universal Access): http:/www.thought.org/vbc
 The 8.57a release of Jottings: http://jottings.thought.org
Twenty-five years of service to the Unix community.
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

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


Re: net/netatalk afpd causes abort on amd64?

2011-08-08 Thread FBSD UG
Heya,

I just struggled with this the last few days and found that
the problem lies in zeroconf. I didn't get any error message at all.

Adding the flag -nozeroconf  to the share the afpd.conf file 
made it work for me.

I use avahi now to make the share available on the network.


greets

Arno Beekman

On 8 aug 2011, at 13:46, Kouichiro Iwao wrote:

 Hi. After upgraded to current portversion of netatalk, 
 I cannot start netatalk. I do rc.d/netatalk start then afpd
 fails SIGABRT. On i386 freebsd, netatalk/afpd works fine.
 Any solutions to use netatalk on amd64?
 
 pid 19160 (afpd), uid 0: exited on signal 6 (core dumped)
 pid 19175 (afpd), uid 0: exited on signal 6 (core dumped)
 pid 19188 (afpd), uid 0: exited on signal 6 (core dumped)
 
 -- 
 kiwao m...@club.kyutech.ac.jp
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 
 

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


Re: BSD logo

2010-07-27 Thread FBSD UG

On 27 jul 2010, at 11:10, Bulk wrote:

 On Mon, Jul 26, 2010 at 06:20:48PM -0600, Chad Perrin typed:
 
 You're a self-righteous git, and probably personally offended by the
 appearance of an attack on Christianity (which is never what was
 intended, nor even what happened, at least in the case of the specific
 email to which you replied).  Try stepping back, reading more closely,
 and responding to what was *actually* said.
 
 But in my honest opinion, all religion is evil.
 That's why I like beasty :D
 

lol yeah and FreeBSD means
'Free Beelzebub, Satan, Devil'

;)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Upgrade to 7.2 broke network connections-SOLVED

2009-10-09 Thread fbsd-ml
I tried booting up with ACPI disabled, and suddenly the network
connections worked like a charm.

Thanks,
Renee Gehlbach


 Today I updated a server from 6.4 to 7.2.  I cvsup'ed, built world, built
 kernel, installed kernel, installed world, mergemastered, and rebooted.
 And sat there, while ntpdate timed out trying to connect to four different
 servers, while interface status messages slowly scrolled:
 tx0: device timeout 2 packets
 tx0: seems we can continue normally
 rl0: watchdog timeout

 When it finally timed out, and I logged in, I found that I could ping
 127.0.0.1, I could ping 192.168.50.7 (tx0 interface), I could ping the rl0
 wan interface, I could not ping the gateway or anything outside of the
 machine.

 Looking at dmesg later, I found the same timeout messages repeated again
 and again, and I found further error messages:
 tx0: reinitialization
 tx0: ERROR! Can't stop TxDMA
 tx0: ERROR! Unknown PHY selected

 and repeated periodically:
 tx0: reinitialization
 tx0: ERROR! Unknown PHY selected


 I built and installed the generic kernel, and tried again.  Same deal.  I
 disabled ipfilter and ntp in rc.conf, removed the configuration lines for
 all but one interface, and rebooted.  Same deal, just shorter boot time
 without having to wait for ntpdate (grin)

 I thought, ok.really old NICs.  There were some warnings about
 deprecated features in bootup.  I took out both NICs and put in an Intel
 Pro 10/100/1000 -- obviously supported.  Same deal.

 I previously attempted to update this server several months ago, going
 from 6.something to 7.1, and had this same problem.  After several
 frustrating days, I restored from backup and updated to latest 6.x, which
 worked fine.

 So I assume that I have something configured wrong.  If there were
 hardware compatibility issues this big, this version would never have gone
 to stable, and people would be screaming about it all over the mailing
 lists.  So my question is.what should be my next troubleshooting step?

 Thanks for your time,
 Renee Gehlbach

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

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




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


Upgrade to 7.2 broke network connections

2009-10-08 Thread fbsd-ml
Today I updated a server from 6.4 to 7.2.  I cvsup'ed, built world, built
kernel, installed kernel, installed world, mergemastered, and rebooted. 
And sat there, while ntpdate timed out trying to connect to four different
servers, while interface status messages slowly scrolled:
tx0: device timeout 2 packets
tx0: seems we can continue normally
rl0: watchdog timeout

When it finally timed out, and I logged in, I found that I could ping
127.0.0.1, I could ping 192.168.50.7 (tx0 interface), I could ping the rl0
wan interface, I could not ping the gateway or anything outside of the
machine.

Looking at dmesg later, I found the same timeout messages repeated again
and again, and I found further error messages:
tx0: reinitialization
tx0: ERROR! Can't stop TxDMA
tx0: ERROR! Unknown PHY selected

and repeated periodically:
tx0: reinitialization
tx0: ERROR! Unknown PHY selected


I built and installed the generic kernel, and tried again.  Same deal.  I
disabled ipfilter and ntp in rc.conf, removed the configuration lines for
all but one interface, and rebooted.  Same deal, just shorter boot time
without having to wait for ntpdate (grin)

I thought, ok.really old NICs.  There were some warnings about
deprecated features in bootup.  I took out both NICs and put in an Intel
Pro 10/100/1000 -- obviously supported.  Same deal.

I previously attempted to update this server several months ago, going
from 6.something to 7.1, and had this same problem.  After several
frustrating days, I restored from backup and updated to latest 6.x, which
worked fine.

So I assume that I have something configured wrong.  If there were
hardware compatibility issues this big, this version would never have gone
to stable, and people would be screaming about it all over the mailing
lists.  So my question is.what should be my next troubleshooting step?

Thanks for your time,
Renee Gehlbach

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


Re: ZFS or UFS for 4TB hardware RAID6?

2009-07-13 Thread FBSD UG


A bit of reading shows that ZFS, if it's stable enough, has some  
really great features that would be nice on such a large pile o'  
drives.


See http://wiki.freebsd.org/ZFSQuickStartGuide

I guess the last question I'll ask (as any more may uncover my  
ignorance) is if you need to use hardware RAID at all?  It seems  
both UFS2 and ZFS can do software RAID which seems to be quite  
reasonable with respect to performance and in many ways seems to be  
more robust since it is a bit more portable (no specialized  
hardware).


I've thought about this one a lot. In my case, the hard drives are in
a separate enclosure from the server and the two had to be connected
via SAS cables. The 9690SA-8E card was the best choice I could find
for accessing an external SAS enclosure with support for 8 drives.

I could configure it in JBOD mode and then use software to create a
RAID array. In fact, I will likely do this to compare performance of a
hardware vs. software RAID5 solution. The ZFS RAID-Z option does not
appeal to me, because the read performance does not benefit from
additional drives, and I don't think RAID6 is available in software.
For those reasons I'm leaning toward a hardware implementation.




Hi Maxim,

RAID-Z2 is the RAID6 double parity option in ZFS.


gr
Arno
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: AFP Client in FreeBSD

2009-06-11 Thread FBSD UG


On 10 jun 2009, at 21:09, Roland Smith wrote:


On Wed, Jun 10, 2009 at 02:52:06PM -0400, Greg Larkin wrote:


Chris Maness wrote:
On Wed, Jun 10, 2009 at 11:24 AM, Greg Larkinglar...@freebsd.org  
wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chris Maness wrote:
Is there an AFP client for FreeBSD?  I have a mac with a  
gargantuan
hard drive, and I would like to back up my FreeBSD server to it,  
and
back up my mac to my FreeBSD server.  I have seen where FreeBSD  
can be

an AFP server, but there is little information on the client.  Any
suggestions?


If you want to transfer dumps, netcat (nc) is the fastest way to go. I
guess it doesn't come with OS X, since it is available from macports  
or

darwinports.

I was able to saturate the 10 Mbit connection between a laptop and a
desktop when transferring a dump file. :-)

Of course you can also pipe the dump output directly to netcat, but in
that case the speed of the dump is the bottleneck.


netcat (nc) comes with Leopard (10.5).
so no need to get it from macports anymore

gr
Arno
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: AFP Client in FreeBSD

2009-06-11 Thread FBSD UG


On 11 jun 2009, at 03:19, patrick wrote:


Oh, I don't know about 10.4. Looks easy enough in 10.5:
http://www.macresearch.org/nfs-exports-leopard


It didn't change in the way it's described on that site from 10.4 to  
10.5


the other, more OSX way of doing it using NetInfo changed though.
NetInfo was replaced with OpenDirectory from 10.4 to 10.5


gr
Arno

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


Re: Streaming server / YouTube

2009-05-25 Thread FBSD UG


On 25 mei 2009, at 19:16, Wojciech Puchar wrote:

I have some short movies (a la YouTube) that I would like to show  
as video streams. Presenting them by download is messing up my  
bandwidth (...).

^
Can someone tell me if there is a simple solution installing such a  
stream service/server into FreeBDS 7.2?


somehow i can't understand you

do you mean installing FreeBSD for this will use less bandwidth?


about your question - simply use FTP or HTTP for this. This will be  
RIGHT solution, contrary to youtube nonsense that prevents any  
caching or simply

downloading movie by forcing you to use their flash player.

fortunately we have /usr/ports/www/youtube_dl :)


without that youtube nonsense there wouldn't be a youtube anymore
it's a copyright agreement not to store the videos on someone's  
harddrive

while watching...

they even offer their own download options at
http://www.kissyoutube.com


gr
Arno
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Ports on Macbook

2009-03-03 Thread FBSD UG


On 2 mrt 2009, at 20:22, Bernt Hansson wrote:


FBSD UG skrev:


You're not buying the software, you buy a license to use it on one
Apple computer.


Mostly semantics,  if I name my computer APPLE Then it's legal to
install. Crap, if I buy it I can install it on ANY computer. Does not
have to be a computer named APPLE it could be IBM, HP or any  
other

brand or non brand.



did you sign all Swedish laws then?

How is Apple going to prevent illegal copying?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Ports on Macbook

2009-03-02 Thread FBSD UG


On 28 feb 2009, at 17:26, Bernt Hansson wrote:


Sean Cavanaugh said the following on 2009-02-28 16:25:

-
From: Bernt Hansson be...@bah.homeip.net
Sent: Saturday, February 28, 2009 9:32 AM
To: FBSD UG free...@rgbaz.eu
Cc: freebsd-questions questi...@freebsd.org
Subject: Re: Ports on Macbook

FBSD UG said the following on 2009-02-28 10:50:


On 27 feb 2009, at 13:39, Sergio de Almeida Lenzi wrote:


Em Sex, 2009-02-27 às 14:45 +0300, z...@zaa.pp.ru escreveu:

On Fri, Feb 27, 2009 at 03:04:09PM +0530, Nataraj S Narayan  
wrote:

Hi

I hear that Mac OS X and later ones are based on FreeBSD. My  
wife is

planning to get a Macbook , which I don't quite approve. Mainly
because we need to pay for any upgrade or new add ons.



Hello...


I use a free version of the Leopard based on darwin (freebsd6)  
named

hackintosh  it is the google,
it is free, and just works...

You can even buy a standard notebook, and install.  I will  
transform

the notebook in an
apple leopard 10.


Tha's, ehm, quite illegal to say the least...


Of course it isn't illegal. You can run any system you like on  
your own hardware.
unless you actually READ the licensing on OSX that says It can only  
be installed on apple brand hardware


It doesn't really matter much what they say in their eula. If i  
bought a copy then i can do/install whatever I want since there  
isn't any agreement between apple and me. For the agreement to be  
binding I must sign a contract with apple.




You're not buying the software, you buy a license to use it on one  
Apple computer.


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


Re: Ports on Macbook

2009-03-02 Thread FBSD UG


On 1 mrt 2009, at 07:37, Charles Oppermann wrote:

That depends on where you are domiciled. Under certain scenarios,  
simply
open the box, or installing the software constitutes acceptance of  
the

EULA.


Yes I'm aware of that, but that kind of agreement isn't valid in  
Sweden.


That would be tantamount to allowing software piracy in Sweden.  The  
Mac OS X

license agreements are contained in a PDF file here:

http://images.apple.com/legal/sla/docs/macosx105.pdf

There is a Swedish language agreement for sales in Sweden.  Using on- 
line
translation tools, it appears to be similar to what's already been  
stated;
use of the software consistutes acceptance of the agreement.  If you  
do not
agree, you are requested to return the software.  Presumably, the  
retail
materials contain this agreement, and I'm sure there is digital copy  
that is

presented and must be agreed to before use.

I'm sure that Apple has very good lawyers who drafted the license  
agreements
and are aware of Swedish law.  While what you are doing may or may  
not be in
violation of any licenses, your position that clicking yes or no is  
not a

handshake or oral agreement acording to Swedish law seems dubious and
ill-advised.

Consider what you're suggesting:  If EULA's and license agreements  
simply

weren't valid in Sweden, then what would prevent massive piracy from
occuring?  I would assume that if license agreements in Sweden weren't
enforcable, someone would be setting up their own software copying  
business.


...and if that happened, I would expect software companies to change  
their

license agreements in order to prevent it.


If you are under 18 you can't make any
legally binding agreements without your legal guardians permission.


That might be true, but at least in the United States, parents or  
guardians

are usually held responsible.
___


it's probably why this is happening in Sweden:
http://www.ukfast.co.uk/internet-news/pirate-bay-court-case-starts.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Ports on Macbook

2009-02-28 Thread FBSD UG


On 27 feb 2009, at 13:39, Sergio de Almeida Lenzi wrote:


Em Sex, 2009-02-27 às 14:45 +0300, z...@zaa.pp.ru escreveu:


On Fri, Feb 27, 2009 at 03:04:09PM +0530, Nataraj S Narayan wrote:

Hi

I hear that Mac OS X and later ones are based on FreeBSD. My wife is
planning to get a Macbook , which I don't quite approve. Mainly
because we need to pay for any upgrade or new add ons.



Hello...


I use a free version of the Leopard based on darwin (freebsd6) named
hackintosh  it is the google,
it is free, and just works...

You can even buy a standard notebook, and install.  I will transform
the notebook in an
apple leopard 10.


Tha's, ehm, quite illegal to say the 
least...___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Why FreeBSD not popular on hardware vendors

2008-12-14 Thread FBSD UG


On 12 dec 2008, at 20:32, Wojciech Puchar wrote:

I disagree.  I believe, rather, that support for closed hardware  
specs

isn't *as* important -- but is still at least somewhat important.



My reservation to the 3D driver thing is it is setting a very  
dangerous

precedent if the solution involves allowing a third party commercial
enterprise to dictate features FreeBSD must include before they  
will

support it.


NVidia MUST INCLUDE full documentation of their hardware.
this is normal - hardware manufacturer produces hardware,  
programmers do make support for it.


what is common today isn't normal.


did FreeBSD change to GPL?

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


Re: Why FreeBSD not popular on hardware vendors

2008-12-14 Thread FBSD UG


On 12 dec 2008, at 21:54, dick hoogendijk wrote:


On Fri, 12 Dec 2008 21:35:59 +0100 (CET)
Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote:


They do this to hide their hardware faults that way - that's the true
reason they do this.

With new hardware produced every year it MUST be buggy and certainly
there are thousands of hardware bugs.

with secret drivers - they can easily hide them. AFAIK at least
half of their driver code are to do workaround of their hardware  
bugs.


Your talking about things without providing any evidence as usual.
It's just bollocks. NVidia has fabulous 3dgraphics cards and their
drivers work very very well. At least they do on solaris (32/64bit).



...and Mac OSX and Linux and even Windows
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Why FreeBSD not popular on hardware vendors

2008-12-14 Thread FBSD UG


SO - please just stop ALL NTG topics here. this group really lacks
moderator. not someone that will remove posts he considers lame  
but all

that is off topic.

Off topic=not about FreeBSD OS.


I'm amazed that you seem to think that making FreeBSD do what one  
wants

it to do isn't a FreeBSD topic.


exactly...
when is something part of FBSD and when not?

all the ports aren't?
so dhcpd is not part of FBSD either?

where does that philosophy ends then?
is sendmail part of FBSD...?
maybe the whole userland isn't and FreeBSD is just a kernel?


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


Re: Why FreeBSD not popular on hardware vendors

2008-12-11 Thread FBSD UG


On 11 dec 2008, at 12:28, Wojciech Puchar wrote:



The possibility here is the bells and whistles strangely enough DO  
work

in tune and without sore lips... FreeBSD could be THAT good.


in bells and whistles windows is best. for those who require it  
paying a bit for windows is not a problem.


Those who need to do actual work, we have FreeBSD for example



that's the most narrow minded post i've seen here since i'm on this  
group
As if the only work that can be considered real work is the work you  
do...


The reason why I CAN'T do any serious work on FreeBSD is because it  
lacks

the NVidia drivers (i'm in the film/commercial industry).
I've tried to maintain a FreeBSD server among all the linux workstations
but gave up because it's too much trouble, just for one OS...

I've had a chat with some developers for the software I use in the past
about what they thought about supporting FreeBSD (Autodesk discreet).
And all they could say is it'll never be supported because of the lack  
of drivers.


So.. if I need to do actual work, I can use anything BUT FreeBSD...

greetings
Arno

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


Re: Official FreeBSD Forums

2008-11-16 Thread FBSD UG

Great, very useful!

Thanks a lot!

gr
Arno



On 16 nov 2008, at 17:04, Brad Davis wrote:


Dear FreeBSD users,

The FreeBSD project is finally, after much work, pleased to announce  
the

availability of an official FreeBSD web based discussion forum.  It is
our hope that this forum will serve as a public support channel for
FreeBSD users around the world and as a complement to our fine mailing
lists.

You can register and start using our new service here:

http://forums.FreeBSD.org

The structure of the forum is still in a late beta stage, so if you  
have

ideas, suggestions for improvements or bug reports, send them to:
forum-moderators at FreeBSD dot org.

Please also have a look at our rules before you create your first  
thread

or post your first message.  You can find our official list of forum
rules here:

http://forums.freebsd.org/faq.php?faq=vb_faq#faq_rules

Also, FreeBSD developers (people with commit access to our CVS/SVN  
trees)

can be distinguished by having an '@' character at the end of their
username.

It is our hope that both users and developers will find this new  
service

useful.  Please help spread the word.

Sincerely,
The FreeBSD Forums Admin Team
___
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: Official FreeBSD Forums

2008-11-16 Thread FBSD UG


On 17 nov 2008, at 01:02, Wojciech Puchar wrote:


Well, it sounds like Minix may be gaining a new user soon then ;)


I cannot begin to express how disappointed I am that a potential
user's question turned into a flamewar.


actually it's NOT a flamewar.

it's my WARNING to all current FreeBSD community about the effect of  
doing such nonsense like trying to get as much users as possible.


if You ignore this, after 2-3 years read my posts again. just to see

Oh well, he was right, but it's too late.

Learn from other's mistakes (like linux,netbsd), instead of  
repeating and repeating the same mistake again.



why not learn from where it went wrong and do it better?
If FreeBSD becomes popular we'll have to deal with it sooner or later


I strongly recommend all of You to stop this bad trend.



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


Re: Amanda port update

2008-07-04 Thread FBSD

 David Robillard [EMAIL PROTECTED] wrote:

   I need to install the current version of Amanda (misc/amanda-client and
   misc/amanda-server) and would like to install from the ports collection.
   However the port maintainer has not updated Amanda in quite some time. Can
   someone give me some advice on how to roll my own ports install from the
   source tarball?  Thanks.
 
  Did you try to contact the port maintainer? You probably want to check
  with him/her before you update the port no?
 
  In any case, it's a good idea to update the port because we're going
  to need it here too!

 It's nice to contact the maintainer to ensure you don't duplicate efforts.
 But no need to ask permission to create an update patch. :)

 --
 Sahil Tandon [EMAIL PROTECTED]


I did contact the port maintainer, but he didn't respond at all. :(

Any help in getting this port updated would be greatly appreciated!


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


Amanda port update

2008-07-03 Thread FBSD
I need to install the current version of Amanda (misc/amanda-client and 
misc/amanda-server) and would like to install from the ports collection. 
However the port maintainer has not updated Amanda in quite some time. Can 
someone give me some advice on how to roll my own ports install from the source 
tarball?  Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: media conversion utilities in the ports

2008-03-23 Thread fbsd

Robert Huff wrote:

=?ISO-8859-1?Q?Micha=EBl_Gr=FCnewald?= writes:

  

  A few quick searches on freshports.org didn't turn up much so I'm
  hoping that the knowledge here will eclipse it.  Are there any good,
  or workable, scriptable WMA to MP3 converter programs in ports?
 
 Mplayer pretends it can handle WMA files, however I did not try this 
 feature. See multimedia/mplayer, it installs an `mencoder' program you 
 might be interested in.



In my experience, mplayer has been able to handle WMA files
... _except_ for those that require Windows Media Player 10 due to
DRM.
(If someone knows how to get mplayer over that obstacle, please
share.)


Robert Huff


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


  

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


accessing mysql server remotely

2007-07-10 Thread fbsd
Just a general question about mysql remote access.

Is it possible to login to my remote mysql server and create a 
new db  table using a file on the local system which contains 
the definition statements?

Thanks

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


Re: Intel Pro/Wireless 3945ABG - if_ipw not working

2007-05-18 Thread fbsd

Vince wrote:

Justin Muir wrote:
  

Hello,

I load the module and I'm not getting the ipw0 device.
If I'm reading the instructions
(damien.bergamini.free.fr/ipw/ipw-freebsd.html)
correctly, I should be able to:

1. load the driver
2. see the ipw0 device 
3. load the firmware into the device with ipwcontrol.





The 3945ABG needs the wpi driver (ipw is for 2100 chipset)
Damien's freebsd wpi driver has been discontinued (for some time see
http://kerneltrap.org/node/6497/ .)
The page for the driver currently being developed is
http://www.clearchain.com/wiki/Wpi but sadly
a) the tarballed versions are old and wont compile on -STABLE or
-CURRENT (dont know about 6.2-RELEASE though)
b) Unless you have perforce access you can only download the more recent
development version file by file (from
http://perforce.freebsd.org/depotTreeBrowser.cgi?FSPC=//depot/user/benjsc/wpi)
c) it doesnt work for me anyway ;)

sorry its not better news

regards,
Vince

  

The if_ipw kernel module loads without errors.

I checked the device/driver under windows and that's
what it's showing - Intel Pro/Wireless 3945ABG, IRQ 17

I checked my dmesg output and there is a network
device with IRQ 17, but it states there is no driver
loaded.

Not sure what I'm doing wrong here

Any suggestions?


Thx,


jkm

ps - dmesg and uname output attached



  Be smarter than spam. See how smart SpamGuard is at giving junk email the 
boot with the All-new Yahoo! Mail at http://mrd.mail.yahoo.com/try_beta?.intl=ca




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



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


  

Hi,

I agree with Vince that the latest drivers do not work at least on 
FreeBSD 6.1 (I'm using PC-BSD 1.3 which is based on 6.1). I tried them 
all with no luck. But I tried an older version which does, albeit with 
some error messages. I don't remember where I found it and I don't 
remember how I installed it (That will teach me to document everything 
properly!) but please find it attached and good luck!


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

Re: about Geforce Go 7700

2007-05-16 Thread fbsd

Federico Lorenzi wrote:

On 5/15/07, Roland Smith [EMAIL PROTECTED] wrote:

On Tue, May 15, 2007 at 08:47:25AM +0200, Runner on the Road wrote:
  Hi

  i  have an asus a8js with a 7700 Go gefroce in it

  i ve tryed seveal times to confi my xorg.conf but still not working

Try the nv(4) driver in your device section:

Section Device
Identifier  Card0
Driver  nv
EndSection

Having experience with Nvidia graphics cards in laptops (I have a
7600GT go) The normal nv driver DOES NOT seem to work with them, try
install the binary driver from ports, and give that a shot, it works
great for me at native res!

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



I also have Asus A8JS. I can confirm that the nv driver does not work 
with the Nvidia 7700. You need to use the vesa driver to get a display 
and then install the nvidia driver from ports (or if you use PC-BSD, a 
PBI). It works well.

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


Module for Realtek RTL8111B ethernet NIC

2007-04-19 Thread fbsd

Hi All,

I have just installed PC-BSD on an Asus A8JS laptop. The Realtek 
RTL8111B ethernet NIC does not work so I'm looking for a bit of help.


As far as I can tell the driver for this NIC is the rl driver (the 
module is called if_rl.ko), but I also found a place where the driver 
was listed as the re driver. So the first question is whether someone 
can clarify this?


The NIC is not recognised during boot as there is no mention of it in 
dmesg, which leads me to think that maybe this NIC is not supported by 
the version of the driver in PC-BSD 1.3 (based on FreeBSD 6.1). Realtek 
provide a FreeBSD driver on their site and the Readme says to install by 
either of two methods: 1. Put the if_rl.ko module in /modules folder, 
etc but  the if_rl.ko file is not provided or 2. place new versions of 
the source code files into source and compile  the module but since I 
have no connectivity I can't download source to do this.


I have thought about how to get around these problems and have a couple 
of ideas.
1. Someone could email me an up to date version of the module. The re 
and rl drivers are compiled in the kernel according to the PC-BSD kernel 
configuration file. Will this conflict with any module I load?
2. Is it possible to download source on another pc and transfer it to 
the laptop on cd or usb drive so I can try the compile route. Please 
note that I have tried the source code PBI from the PC-BSD website, but 
some of the directories that should then exist according to the readme 
file are missing so that doesn't work.


Thanks for any help.

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


IBM T60 laptop?

2007-02-14 Thread fbsd

Hi All,

I am looking for a good laptop to put FreeBSD (PCBSD) on. The general 
consensus seems to be that IBM make good units and that the T60 is a 
good choice. But when I look at the three components  that seem to cause 
most trouble in laptops 1. Graphics cards, 2. high definition audio and 
3. wireless cards, the T60 doesn't look so good.


So I'm a bit confused.

Ok, I know that some people are having success with a driver for the 
Intel 3945abg wireless, but it is still in development and not yet in 
the base system yet. In the short term, a wireless card can be used so 
this area can be overcome.


I don't know what is happening on the high definition audio front. I 
think a driver is being worked on but there is no work around until it 
becomes available. So for the moment there is no sound.


All the T60 models have either Intel or ATI graphic cards which don't 
have good support in FreeBSD (so I hear). In fact, a lot of people say 
always go for nVidia cards. This does not seem likely to change.


So the T60 seems to strike out in all three areas. In fact most modern 
laptops have the same problems.


So is my assessment correct? Or is there hope yet for the T60.

Thanks for any input.

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


problem with phpMyAdmin port

2006-08-30 Thread fbsd
Just downloaded phpMyAdmin port make files on 6.1 system and ran
make install clear.

Already had php5 and mysql5 previously installed and working.

The phpMyAdmin port installed fine.

Problem is the phpMyAdmin directory was installed as /www/phpMyAdmin
and it should have been /usr/local/www/phpMyAdmin.
This looks to me like port error to me.

I tried to do work around by cp -R /www/phpMyAdmin /usr/local/www/
This copied all the files and subdirectories ok.

When I try to run phpMyAdmin I get this error
Fatal error: Call to undefined function preg_replace() in
/usr/local/www/phpMyAdmin/libraries/sanitizing.lib.php on line 37

This again looks like another port error.

Is the phpMyAdmin port broken

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


RE: problem with phpMyAdmin port

2006-08-30 Thread fbsd


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bill Moran
Sent: Wednesday, August 30, 2006 1:14 PM
To: Daniel Gerzo
Cc: fbsd; [EMAIL PROTECTED] ORG
Subject: Re: problem with phpMyAdmin port


In response to Daniel Gerzo [EMAIL PROTECTED]:

  When I try to run phpMyAdmin I get this error
  Fatal error: Call to undefined function preg_replace() in
  /usr/local/www/phpMyAdmin/libraries/sanitizing.lib.php on line
37

 this is not error of the port. You are missing PCRE php extension.
 Install the lang/php4-extensions or php5-extensions port.

Actually, this _is_ an error in the port.  The port should properly
specify the pcre extension as a dependency.  The workaround
suggested
will get you going, however.

If this problem is reproducible, you should file a PR.

Are you sure the port installed successfully?  I just installed this
port a few weeks ago and it worked fine.  If you're ports tree is
up to date, then these bugs are newly introduced.

--
Bill Moran
Collaborative Fusion Inc.

**

pkg_info shows php5-pcre-5.1.4 installed so is this not
the correct pcre dependency?



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


php5/mysql5

2006-08-30 Thread fbsd
Production server is running apache13/php4/mysql4.
Have fresh 6.1 install on workbench PC.
Workbench PC is being used to build apache13/php5/mysql51
environment
for working php web application writing and reading mysql database.

Installed mysql51-server then php5 and made sure make config had
apache support.

When I executed the web application I get
Fatal error: Call to undefined function mysql_pconnect() in
/usr/local/www/mls/signup.php on line 348.

Is there some other port now required to get php to talk to mysql???


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


RE: php5/mysql5

2006-08-30 Thread fbsd



 Production server is running apache13/php4/mysql4.
 Have fresh 6.1 install on workbench PC.
 Workbench PC is being used to build apache13/php5/mysql51
 environment
 for working php web application writing and reading mysql
database.

 Installed mysql51-server then php5 and made sure make config had
 apache support.

 When I executed the web application I get
 Fatal error: Call to undefined function mysql_pconnect() in
 /usr/local/www/mls/signup.php on line 348.

 Is there some other port now required to get php to talk to
mysql???

databases/php5-mysql

-Original Message-
From: Philip Hallstrom [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 30, 2006 5:54 PM
To: fbsd
Cc: [EMAIL PROTECTED] ORG
Subject: Re: php5/mysql5


That was the correct solution.   Thanks

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


RE: PHP5 and MySQL

2006-08-27 Thread fbsd
I just installed PHP5  Mysql5 from the ports collection without any
problems.
And yes this is correct place to ask question about installing PHP5
 Mysql5
on Freebsd 6.1 system.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Muhammad
Omer
Iqbal
Sent: Sunday, August 27, 2006 6:08 AM
To: freebsd-questions@freebsd.org
Subject: PHP5 and MySQL


Hi folks,

I have problems with PHP5 and MySQL running together. I know this is
a
freebsd mailing list, not PHP/MySQL, but I am unable to find an
appropriate
mailing list for getting my problem resolved. Can someone help and
let me
know what the right mailing list is?

Thanks
Omer

(Please do include me in the reply as I am not on the
freebsd-questions
mailing list.)

___
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: PHP5 and MySQL

2006-08-27 Thread fbsd
I have HTML/php5 web site that connects to mysql5 database
and adds new records, deletes records and searches.

Sounds to me like you did not do make options and select
php-mysql interface of php5 before doing make install.
For some reason in Freebsd 6.1 they removed php-mysql
interface as default.
This was discussed in detail before on questions list.
Check archives for the details.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Muhammad
Omer
Iqbal
Sent: Sunday, August 27, 2006 10:41 AM
To: [EMAIL PROTECTED]; freebsd-questions@freebsd.org
Subject: RE: PHP5 and MySQL


My installation also completed without any problems. However, it is
the
php5-mysql/mysqli libraries that are missing. This will show up as a
problem
only when you try to connect to mysql from a php web-page.

Otherwise, my server runs php just fine, and I am also able to run
mysql and
issue queries to it from a command line.

-Original Message-
From: fbsd [mailto:[EMAIL PROTECTED]
Sent: Sunday, August 27, 2006 7:31 AM
To: Muhammad Omer Iqbal; freebsd-questions@freebsd.org
Subject: RE: PHP5 and MySQL

I just installed PHP5  Mysql5 from the ports collection without any
problems.
And yes this is correct place to ask question about installing PHP5
 Mysql5
on Freebsd 6.1 system.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Muhammad
Omer Iqbal
Sent: Sunday, August 27, 2006 6:08 AM
To: freebsd-questions@freebsd.org
Subject: PHP5 and MySQL


Hi folks,

I have problems with PHP5 and MySQL running together. I know this is
a
freebsd mailing list, not PHP/MySQL, but I am unable to find an
appropriate
mailing list for getting my problem resolved. Can someone help and
let me
know what the right mailing list is?

Thanks
Omer

(Please do include me in the reply as I am not on the
freebsd-questions
mailing list.)

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

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

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


RE: PHP5 and MySQL

2006-08-27 Thread fbsd
Review the questions archives for details on how to correct this
problem.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Muhammad
Omer
Iqbal
Sent: Sunday, August 27, 2006 12:48 PM
To: 'Matthew Seaman'
Cc: freebsd-questions@freebsd.org
Subject: RE: PHP5 and MySQL


Thank you for the help!

It seems strange to have to install it again especially when I
installed
php5-extensions with mysql and mysqli extensions.

When I tried to make, it tries to fetches MySQL 4.1 whereas I have
5.0
installed. How can I update the version?

I have updated Makefile.ext in PHP5 directory with
DEFAULT_MYSQL_VER=50, but
to no avail.

-Original Message-
From: Matthew Seaman [mailto:[EMAIL PROTECTED]
Sent: Sunday, August 27, 2006 7:13 AM
To: Muhammad Omer Iqbal
Cc: freebsd-questions@freebsd.org
Subject: Re: PHP5 and MySQL

Muhammad Omer Iqbal wrote:

 Looking through phpinfo, I do not find mysql or mysqli installed,
 even though I have enabled, remade and reinstalled both MySQL and
 PHP5. In fact, I think that my PHP5 is no longer remade, it just
 reconfigures it and reinstalls it because the build date shows as
Aug
 22 even though I did it today and my server date shows as Aug 27.
I
 installed both of these using the ports collection, but then I
had to
 manually download MySQL because of versioning issues, and untar
and
 install it

The PHP5 port has been divided into a fairly large number of
modules.  To
add MySQL support within PHP5, simply install the
databases/php5-mysql port.
(Or php5-mysqli, but only if you're running mysql-4.1.x)

Note that php5-mysql will cause one of the mysql-client ports to be
installed as a dependency -- unless you install one of the other
versions
before hand, that will get you the mysql 5.0.x client.  You will
still need
to install one of the mysql server ports, unless your DB is
physically
hosted on a different machine.

Oh -- and the other trap for newbies is that you need to 'make
config'
in the lang/php5 port and make sure the 'Apache' box is checked
before
you'll get the Apache PHP5 module built and installed.

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


___
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: A webhosting script?

2006-08-25 Thread fbsd
Check the questions archives for subject Scripts to Manage Virtual
Hosts and
subject Apache 2 hosts and apache www/data directory and
directory structuer for a web server and Apache vhost directive
problem and Virtual Host.

Bottom line here is search the archives for answers.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Kyrre
Nygard
Sent: Friday, August 25, 2006 9:13 AM
To: [EMAIL PROTECTED]
Subject: A webhosting script?



Hello!

Does anybody run a webhosting business, where they've written
a simple Bash script to add new users to the system and set up their
domains, Apache virtual hosts, databases etc. all in one go?

I am looking for inspiration for my own script.

Thank you!

I truly wish to keep it real and avoid solutions like cPanel or
Webmin.

All the best,
Kyrre

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

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


RE: problems with acer aspire

2006-08-22 Thread fbsd
bois will also die if battery on motherboard because dislodged or
went dead.
open the pc case and look for battery and replace it.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Derek
Ragona
Sent: Tuesday, August 22, 2006 9:28 AM
To: [EMAIL PROTECTED]; freebsd-questions@freebsd.org
Subject: Re: problems with acer aspire


Sounds like your motherboard went bad.  You can try flashing the
BIOS with
a floppy to see if that brings it back.

 -Derek


At 10:10 PM 8/21/2006, [EMAIL PROTECTED] wrote:
After moving this computer from one location to another it will not
operate
correctly.  I get this on screenIRQ 3 conflicts on  board   Can
go to
setup screen but then only f1 works and that takes  me to a blank
screen
with a
flashing _???
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]

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

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

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

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


RE: Any idea how to stress test our bandwidth?

2006-08-11 Thread fbsd
Your client has major flaw in their test plan. Just because they
have large bandwidth to you does not mean the public websites that
want to test with also have that size bandwidth. So any time they
test loading up targeting some public website they will be limited
to some portion of the targeted website max bandwidth.  Both sending
and receiving sites must have same bandwidth for their test plan to
have meaning. Like when client tests with you who is their ISP.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of jay alvarez
Sent: Friday, August 11, 2006 4:02 AM
To: freebsd-questions@freebsd.org
Subject: Any idea how to stress test our bandwidth?


I hope you don't mind my asking this here.

I'm working in an ISP right now. We are using mrtg for
each client connected to us. They can view their mrtg
statistics. Their way to the internet is to us. Say a
client connects to us via E1, they are guaranteed of
2.048Mbps because our uplink to the Internet is more
than the total of all the clients link's bandwidth
that are connected to us. Now one client wants to make
sure that they will be able to reach their guaranteed
bandwidth through the mrtg graphs. If we transfer huge
data from their site only up to us, we can
theoretically stress out their bandwidth. However,
they want to try increasing their consumption and see
for their self if they will reach the desired
bandwidth if they are actually connecting to any site
in the Internet, outside our network. Running iperf
from their site to us doesn't seem to reflect to the
MRTG. Any idea how to explain this to our client?


Thank you very much for your help
-JaY


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

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


RE: Best POP daemon to use with Postfix

2006-08-08 Thread fbsd
I use qpopper with windows office outlook  outlook express without
any problems.
My guess is you don't have outlook configured correctly.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Philip
Radford
Sent: Tuesday, August 08, 2006 8:52 AM
To: freebsd-questions@freebsd.org
Subject: Best POP daemon to use with Postfix


Hi All,

I have an issue which is starting to get annoying.

I am currently running Postfix 2.3.2 under FreeBSD 5.4.

Which POP3 daemons are people using to provide remote access to mail
folders
via POP3.

I have just installed qpopper via ports which all seemed to go well
until
actually acessing the server via a windows mail client (Outlook
Express).
The client connects and just sits there.

Examing /var/log/messages returns a EOF or I/O error.

Anyone know why this is happening or what I can do to identify
further.

Regards
Phil.


___
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: FreeBSD from Scratch

2006-08-04 Thread fbsd
The install guide at www.a1poweruser.com  may be what you are
looking for.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Rich Mayo
Sent: Friday, August 04, 2006 9:24 AM
To: FreeBSD Questions
Subject: FreeBSD from Scratch


Is anyone on the list familiar with the Linux from Scratch
project?
More to the point, is anybody aware if there is anything like a
FreeBSD
from Scratch project??



Rich Mayo
SRI International
732-389-1003


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


RE: OpenBSD PF firewall in Freebsd

2006-07-25 Thread fbsd
yes OpenBSD pf is part of the FreeBSD base release.
Read the firewall section of the handbook for
instructions on how to activate.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ivan
Levchenko
Sent: Tuesday, July 25, 2006 11:53 AM
To: freebsd-questions@freebsd.org
Subject: OpenBSD PF firewall in Freebsd


Hello all,

Is PF installed with the base system in FreeBSD 6.1? I see that
there
is IPF, is it the same thing? I didn't find PF in the ports tree, so
thats why i'm asking.

Thanks!
___
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: pf firewall for a server

2006-07-25 Thread fbsd
why don't you try reading the firewall section of the handbook.
it has working example rule set you can copy

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jonathan
Horne
Sent: Tuesday, July 25, 2006 9:31 PM
To: freebsd-questions@freebsd.org
Subject: pf firewall for a server


ive been googling for a while now this evening, but have
unsuccesfully found
any examples on how to firewall a server.  i do *not* want to build
a router,
and unfortunatly, every article i seem to find wants to tell me how
to build
a router!

i just want to learn how to build a simple pf config suitable for a
server.
if anyone knows of a website where such an example might be found,
that would
be awesome (but direct config examples in a reply will also be duely
appreicated as well :)

thanks,
jonathan
___
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: pppNAT woes =(

2006-07-21 Thread fbsd
You say that in current configuration you can get on internet from
all 3 pc's at same time, this means your ADSL modem is already
performing NAT function for you. There is no need to do NAT on
FreeBSD box unless you want to run one of the 3 FreeBSD firewalls to
protect your LAN. In that case you will have to get additional NIC
card and cable like explained in previous post. Adding NAT to your
FreeBSD box using your current cable layout will not work as you
have all ready found out. Your current network is cabled together
wrong for that to work. How LAN is cabled is too large of subject to
explain here. Use google and search internet for 'LAN hardware
config'.
The FreeBSD install guide covers building simple home LAN in detail.
www.a1poweruser.com


-Original Message-
From: Ivan Levchenko [mailto:[EMAIL PROTECTED]
Sent: Friday, July 21, 2006 6:22 AM
To: [EMAIL PROTECTED]
Subject: Re: pppNAT woes =(


Its a little bit different. I can power up all the pc's at the same
time.

Is it possible to get it working without two ethernet cards?

currently, the internet connection works from any computer, but I
would like to get it go through my freebsd box without rebuilding
the
lan.

On 7/21/06, fbsd [EMAIL PROTECTED] wrote:
 If your saying that in your current network configuration you can
 only power up and use one of the 3 PC's on the switch at a time?
 That you can not use all 3 pc's at the same time?

 If that is correct. Then you need to cable the FreeBSD pc direct
to
 the ADSL cable like the switch is now. Then add a second LAN card
to
 the FreeBSD box and cable it to the input port on the switch.
Switch
 stays cabled to the 2 window pc's.

 Add gateway_enable=YES and ifconfig_xl0=inet 10.0.10.2  to
 rc.conf,  You can install dhcp server to auto assign ip address to
 pc's on LAN or manually assign un-routable ip address in each
 windows network window.



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Ivan
 Levchenko
 Sent: Thursday, July 20, 2006 9:27 PM
 To: freebsd-questions@freebsd.org
 Subject: pppNAT woes =(


 Hello All,

 Internet adsl - PPPoE. ( i don't have access to the router/modem)

 Current setup:

 One ethernet cord that I got from the ISP that is connected to a
 switch
 three computers (one freebsd and 2 windows) connected to the same
 switch

 I am able to connect to the internet from any of my boxes. I want
to
 setup a pppnat on freebsd so that all of my computers can use the
 same
 connection.

 When i connect from freebsd, internet works, but when i add the ip
 address of my freebsd box as the default gateway to the connection
 in
 windows, it doesn't work. Here are my configs:

 /etc/ppp/ppp.conf

 default:
   #set log Phase tun command # you can add more detailed logging
if
 you wish
   #set ifaddr 0.0.0.0 0.0.0.0
   set log Phase Chat LCP IPCP CCP tun command
 wp:
   set device PPPoE:rl0 # replace xl1 with your Ethernet device
   set authname 
   set authkey 
   #set dial
   set ctsrts off
   #set login
   add default HISADDR
   #enable dns
   set mru 1492
   set mtu 1492
   set timeout 0
   set redial 0 0
   enable lqr

 /etc/rc.conf
 font8x14=cp866-8x14
 font8x16=cp866b-8x16
 font8x8=cp866-8x8
 #gateway_enable=YES
 hostname=proxy1
 ifconfig_rl0=inet 192.168.0.236  netmask 255.255.255.0
 inetd_enable=YES
 keymap=ru.koi8-r
 linux_enable=YES
 mousechar_start=3
 scrnmap=koi8-r2cp866
 sshd_enable=YES
 usbd_enable=YES
 #We do not need sendmail
 sendmail_enable=NO
 #PPP nat enable
 ppp_enable=YES
 ppp_mode=ddial
 ppp_nat=YES
 ppp_profile=wp
 ppp_user=root

 /boot/loader.conf
 ng_UI_load=YES
 ng_ether_load=YES
 ng_ppp_load=YES# PPP protocol netgraph node type
 ng_pppoe_load=YES  # RFC 2516 PPPOE protocol netgraph node
 type
 ng_socket_load=YES

 custom kernal:
 machine i386
 cpu I686_CPU
 ident   MYKERNEL


 makeoptions DEBUG=-g# Build kernel with gdb(1)
 debug symbols

 options SCHED_ULE   # ULE scheduler
 options PREEMPTION  # Enable kernel thread
 preemption
 options INET# InterNETworking
 options FFS # Berkeley Fast Filesystem
 options SOFTUPDATES # Enable FFS soft updates
 support
 options UFS_ACL # Support for access
control
 lists
 options UFS_DIRHASH # Improve performance on
big
 directories
 options MD_ROOT # MD is a potential root
 device
 options NFSCLIENT   # Network Filesystem
Client
 options NFSSERVER   # Network Filesystem
Server
 options NFS_ROOT# NFS usable as /,
requires
 NFSCLIENT
 options MSDOSFS # MSDOS Filesystem
 options CD9660  # ISO 9660 Filesystem
 options PROCFS  # Process filesystem
 (requires PSEUDOFS)
 options PSEUDOFS

RE: pppNAT woes =(

2006-07-21 Thread fbsd
NO  NO   NO you can not do what you want without changing your
cabling layout like I have told you before.  internet to FreeBSD
box, add second NIC card to FreeBSD box and cable it to switch. Then
FreeBSD box is common gateway to internet for all pc on LAN and all
LAN PCs will share your single ISP user account just like you want.

If you can not make this change you are SOL.

-Original Message-
From: Ivan Levchenko [mailto:[EMAIL PROTECTED]
Sent: Friday, July 21, 2006 7:27 AM
To: [EMAIL PROTECTED]
Subject: Re: pppNAT woes =(


Internet works on all of them when i connect via pppoeconf and pon
dsl-provider in linux and ppp -ddial n freebsd or via a windows
connection. To connect on each box, i have to enter my username and
password.

Thats why i want to connect to the internet on my freebsd box and
then
have the windows computers connect through it via the internet.

Is it even possible to do it with this kind of lan configuration:

(internet)--(switch)-(three computers connected to the
switch)
(instead of internet, there probably should be an adsl modem, but i
don't have access to it, nor do i know its IP address, so it doesn't
matter)

right now, i have acccess from any  of the computers if i *connect*,
but that eliminates the possiblity for my three computers to use the
same connection at the same time.

On 7/21/06, fbsd [EMAIL PROTECTED] wrote:
 You say that in current configuration you can get on internet from
 all 3 pc's at same time, this means your ADSL modem is already
 performing NAT function for you. There is no need to do NAT on
 FreeBSD box unless you want to run one of the 3 FreeBSD firewalls
to
 protect your LAN. In that case you will have to get additional NIC
 card and cable like explained in previous post. Adding NAT to your
 FreeBSD box using your current cable layout will not work as you
 have all ready found out. Your current network is cabled together
 wrong for that to work. How LAN is cabled is too large of subject
to
 explain here. Use google and search internet for 'LAN hardware
 config'.
 The FreeBSD install guide covers building simple home LAN in
detail.
 www.a1poweruser.com


 -Original Message-
 From: Ivan Levchenko [mailto:[EMAIL PROTECTED]
 Sent: Friday, July 21, 2006 6:22 AM
 To: [EMAIL PROTECTED]
 Subject: Re: pppNAT woes =(


 Its a little bit different. I can power up all the pc's at the
same
 time.

 Is it possible to get it working without two ethernet cards?

 currently, the internet connection works from any computer, but I
 would like to get it go through my freebsd box without rebuilding
 the
 lan.

 On 7/21/06, fbsd [EMAIL PROTECTED] wrote:
  If your saying that in your current network configuration you
can
  only power up and use one of the 3 PC's on the switch at a time?
  That you can not use all 3 pc's at the same time?
 
  If that is correct. Then you need to cable the FreeBSD pc direct
 to
  the ADSL cable like the switch is now. Then add a second LAN
card
 to
  the FreeBSD box and cable it to the input port on the switch.
 Switch
  stays cabled to the 2 window pc's.
 
  Add gateway_enable=YES and ifconfig_xl0=inet 10.0.10.2  to
  rc.conf,  You can install dhcp server to auto assign ip address
to
  pc's on LAN or manually assign un-routable ip address in each
  windows network window.
 
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of Ivan
  Levchenko
  Sent: Thursday, July 20, 2006 9:27 PM
  To: freebsd-questions@freebsd.org
  Subject: pppNAT woes =(
 
 
  Hello All,
 
  Internet adsl - PPPoE. ( i don't have access to the
router/modem)
 
  Current setup:
 
  One ethernet cord that I got from the ISP that is connected to a
  switch
  three computers (one freebsd and 2 windows) connected to the
same
  switch
 
  I am able to connect to the internet from any of my boxes. I
want
 to
  setup a pppnat on freebsd so that all of my computers can use
the
  same
  connection.
 
  When i connect from freebsd, internet works, but when i add the
ip
  address of my freebsd box as the default gateway to the
connection
  in
  windows, it doesn't work. Here are my configs:
 
  /etc/ppp/ppp.conf
 
  default:
#set log Phase tun command # you can add more detailed logging
 if
  you wish
#set ifaddr 0.0.0.0 0.0.0.0
set log Phase Chat LCP IPCP CCP tun command
  wp:
set device PPPoE:rl0 # replace xl1 with your Ethernet device
set authname 
set authkey 
#set dial
set ctsrts off
#set login
add default HISADDR
#enable dns
set mru 1492
set mtu 1492
set timeout 0
set redial 0 0
enable lqr
 
  /etc/rc.conf
  font8x14=cp866-8x14
  font8x16=cp866b-8x16
  font8x8=cp866-8x8
  #gateway_enable=YES
  hostname=proxy1
  ifconfig_rl0=inet 192.168.0.236  netmask 255.255.255.0
  inetd_enable=YES
  keymap=ru.koi8-r
  linux_enable=YES
  mousechar_start=3
  scrnmap=koi8-r2cp866
  sshd_enable=YES
  usbd_enable=YES
  #We do not need sendmail
  sendmail_enable

RE: pppNAT woes =(

2006-07-20 Thread fbsd
If your saying that in your current network configuration you can
only power up and use one of the 3 PC's on the switch at a time?
That you can not use all 3 pc's at the same time?

If that is correct. Then you need to cable the FreeBSD pc direct to
the ADSL cable like the switch is now. Then add a second LAN card to
the FreeBSD box and cable it to the input port on the switch. Switch
stays cabled to the 2 window pc's.

Add gateway_enable=YES and ifconfig_xl0=inet 10.0.10.2  to
rc.conf,  You can install dhcp server to auto assign ip address to
pc's on LAN or manually assign un-routable ip address in each
windows network window.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ivan
Levchenko
Sent: Thursday, July 20, 2006 9:27 PM
To: freebsd-questions@freebsd.org
Subject: pppNAT woes =(


Hello All,

Internet adsl - PPPoE. ( i don't have access to the router/modem)

Current setup:

One ethernet cord that I got from the ISP that is connected to a
switch
three computers (one freebsd and 2 windows) connected to the same
switch

I am able to connect to the internet from any of my boxes. I want to
setup a pppnat on freebsd so that all of my computers can use the
same
connection.

When i connect from freebsd, internet works, but when i add the ip
address of my freebsd box as the default gateway to the connection
in
windows, it doesn't work. Here are my configs:

/etc/ppp/ppp.conf

default:
  #set log Phase tun command # you can add more detailed logging if
you wish
  #set ifaddr 0.0.0.0 0.0.0.0
  set log Phase Chat LCP IPCP CCP tun command
wp:
  set device PPPoE:rl0 # replace xl1 with your Ethernet device
  set authname 
  set authkey 
  #set dial
  set ctsrts off
  #set login
  add default HISADDR
  #enable dns
  set mru 1492
  set mtu 1492
  set timeout 0
  set redial 0 0
  enable lqr

/etc/rc.conf
font8x14=cp866-8x14
font8x16=cp866b-8x16
font8x8=cp866-8x8
#gateway_enable=YES
hostname=proxy1
ifconfig_rl0=inet 192.168.0.236  netmask 255.255.255.0
inetd_enable=YES
keymap=ru.koi8-r
linux_enable=YES
mousechar_start=3
scrnmap=koi8-r2cp866
sshd_enable=YES
usbd_enable=YES
#We do not need sendmail
sendmail_enable=NO
#PPP nat enable
ppp_enable=YES
ppp_mode=ddial
ppp_nat=YES
ppp_profile=wp
ppp_user=root

/boot/loader.conf
ng_UI_load=YES
ng_ether_load=YES
ng_ppp_load=YES# PPP protocol netgraph node type
ng_pppoe_load=YES  # RFC 2516 PPPOE protocol netgraph node
type
ng_socket_load=YES

custom kernal:
machine i386
cpu I686_CPU
ident   MYKERNEL


makeoptions DEBUG=-g# Build kernel with gdb(1)
debug symbols

options SCHED_ULE   # ULE scheduler
options PREEMPTION  # Enable kernel thread
preemption
options INET# InterNETworking
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates
support
options UFS_ACL # Support for access control
lists
options UFS_DIRHASH # Improve performance on big
directories
options MD_ROOT # MD is a potential root
device
options NFSCLIENT   # Network Filesystem Client
options NFSSERVER   # Network Filesystem Server
options NFS_ROOT# NFS usable as /, requires
NFSCLIENT
options MSDOSFS # MSDOS Filesystem
options CD9660  # ISO 9660 Filesystem
options PROCFS  # Process filesystem
(requires PSEUDOFS)
options PSEUDOFS# Pseudo-filesystem
framework
options GEOM_GPT# GUID Partition Tables.
options COMPAT_43   # Compatible with BSD 4.3
[KEEP THIS!]
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options COMPAT_FREEBSD5 # Compatible with FreeBSD5
options SCSI_DELAY=5000 # Delay (in ms) before
probing SCSI
options KTRACE  # ktrace(1) support
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B
real-time
extensions
options KBD_INSTALL_CDEV# install a CDEV entry in
/dev
options AHC_REG_PRETTY_PRINT# Print register bitfields
in debug
# output.  Adds ~128k to
driver.
options AHD_REG_PRETTY_PRINT# Print register bitfields
in debug
# output.  Adds ~215k to
driver.
options ADAPTIVE_GIANT  # Giant mutex is adaptive.

device  apic# I/O APIC

device  eisa
device  pci

device  fdc

device  ata
device  atadisk # ATA disk 

RE: stop apache processing connect requests

2006-07-19 Thread fbsd
This is a vanilla install of apache13 with php4 port running on a
6.0 release of FreeBSD.
Are you saying the php4 port is allowing these connection
transaction requests through?
If so would this not be considered a bug in the php4 port?

-Original Message-
From: Lowell Gilbert
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 19, 2006 8:47 AM
To: [EMAIL PROTECTED]
Subject: Re: stop apache processing connect requests


fbsd [EMAIL PROTECTED] writes:

 In my httpd-access.log I have started to see a lot of these
 messages.
 How do I tell Apache server to not allow this kind of input?
 I have already commented out proxy_module in httpd.config.

 219-86-33-41 - - [18/Jul/2006:12:18:55 -0400] CONNECT
 168.95.5.101:25 HTTP/1.0 200 6989 - -
 219-86-33-41 - - [18/Jul/2006:12:18:56 -0400] CONNECT
 168.95.5.103:25 HTTP/1.0 200 6989 - -
 219-86-33-41 - - [18/Jul/2006:12:18:57 -0400] CONNECT
 168.95.5.105:25 HTTP/1.0 200 6989 - -

You might do better to go to the Apache lists for this question.
This shouldn't happen with a default configuration, so it's
probably something you've modified locally.

Make sure you reloaded the configuration after changing it, and that
the daemon is loading the configuration file you edited...

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


stop apache processing connect requests

2006-07-18 Thread fbsd
In my httpd-access.log I have started to see a lot of these
messages.
How do I tell Apache server to not allow this kind of input?
I have already commented out proxy_module in httpd.config.

219-86-33-41 - - [18/Jul/2006:12:18:55 -0400] CONNECT
168.95.5.101:25 HTTP/1.0 200 6989 - -
219-86-33-41 - - [18/Jul/2006:12:18:56 -0400] CONNECT
168.95.5.103:25 HTTP/1.0 200 6989 - -
219-86-33-41 - - [18/Jul/2006:12:18:57 -0400] CONNECT
168.95.5.105:25 HTTP/1.0 200 6989 - -

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


RE: Start dhcpd on boot

2006-07-16 Thread fbsd

Try the 8.0 dhcp server section of the install guide at
www.a1poweruser.com

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Chris Hill
Sent: Sunday, July 16, 2006 5:56 PM
To: FreeBSD Questions List
Subject: Start dhcpd on boot


I installed net/isc-dhcp3-server from ports, butI can't seem to
persuade
it to start when the machine boots. After boot I can do a
# /usr/local/etc/rc.d/isc-dhcpd.sh start
...and the daemon runs and works, but I would like for it to start
automatically on boot, with no manual intervention. Any thoughts on
how
to do this?

Google didn't find anything useful, nor did a search of
the -questions
archive. On a hunch, I renamed /usr/local/etc/rc.d/isc-dhcpd.sh to
/usr/local/etc/rc.d/dhcpd.sh, but still no love, so I put it back.

In /etc/rc.conf I have
dhcpd_enable=YES  # Run the DHCP daemon...
dhcpd_ifaces=rl1  # ...on this interface...
dhcpd_flags=-q# ...in quiet mode.

# grep dhc /var/log/messages
shows only the usual rash of intrusion attempts from 0wn3d Windows
machines, e.g.
May 19 22:28:00 mail sshd[22367]: error: PAM: authentication error
for
root from 24-231-195-180.dhcp.bycy.mi.charter.com

Other pertinent info:
# uname -a
FreeBSD mail.monochrome.org 6.1-RELEASE-p3 FreeBSD 6.1-RELEASE-p3
#0:
Sat Jul 15 20:50:20 EDT 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386

# pkg_info | grep isc-dhcp3-server
isc-dhcp3-server-3.0.3 The ISC Dynamic Host Configuration Protocol
server
...a little out of date, I know, but that has no bearing on the
issue at
hand.

Thanks in advance.

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

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


RE: sshd/mysql errors.

2006-07-06 Thread fbsd
First host73.maxim.net is an individual PC on the maxim.net domain.
You want to find the domain IP address.
nslookup maxim.net gives 192.168.48.66
or use dig maxim.net or whois maxim.net

Looks more and more like the packets are spoofed and maxim.net is as
much a victim as you are.

Adding a firewall deny rule for will 192.168.48.66 stop all traffic
from that domain.


The real question is, do you really have real remote users who ssh
into your system and or have remote users who access your mysql
system?

If not then add a firewall rule to deny the sshd  mysql port
numbers
from entering your system from the public internet.

-Original Message-
From: Marwan Sultan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 05, 2006 11:53 PM
To: [EMAIL PROTECTED]; freebsd-questions@freebsd.org
Subject: RE: sshd/mysql errors.



hello,

  and how to get an ip of unkown hostname, as you knowm i should add
an IP
addresses to the firewall not hostnames,

# nslookup host73.maxim.net
***  can't find host73.hostname_net: Non-existent host/domain

I found hundreds of this line to in my logs

mysqld[28598]: warning: /etc/hosts.allow, line 25: can't verify
hostname:
getaddrinfo(IP-216-185-173-58.mtntel.net, AF_INET) failed

Any advise? please.



First thoughts is you are under attack and hosts.allow is
doing it's job of denying access.

Add the ip address from the warning message to your firewall
to stop those attack packets from entering your system.

Good chance attack packets are spoofed.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Marwan
Sultan
Sent: Tuesday, July 04, 2006 6:40 AM
To: freebsd-questions@freebsd.org
Subject: sshd/mysql errors.


Hello gurus,

my logs full of hundreds of these lines..i starts since few days
and
up to
day ..

-
Jul  2 00:00:03 server mysqld[28598]: warning: /etc/hosts.allow,
line 25:
can't verify hostname: getaddrinfo(host73.hostname_net, AF_INET)
failed

Jul  2 00:00:27 server sshd[83738]: warning: /etc/hosts.allow, line
25:
can't verify hostname: getaddrinfo(host73.hostname_net, AF_INET)
failed
--
Where hostname_net is the former ISP name for the my server hosting
ISP.
but i have the same DNS and routings, the name is changed since
almost 1
year and few months.

Also line 25 had nothing to do with this hostname its just the
first
active
line in my hosts.allow file
anyhow i have replaced the line to:
ALL : .hostname_net : allow

But still same errors everyday every minute! anyadvise please?

Its FreeBSD 4.8R

thank you
Marwan

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


RE: sshd/mysql errors.

2006-07-04 Thread fbsd
First thoughts is you are under attack and hosts.allow is
doing it's job of denying access.

Add the ip address from the warning message to your firewall
to stop those attack packets from entering your system.

Good chance attack packets are spoofed.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Marwan
Sultan
Sent: Tuesday, July 04, 2006 6:40 AM
To: freebsd-questions@freebsd.org
Subject: sshd/mysql errors.


Hello gurus,

my logs full of hundreds of these lines..i starts since few days and
up to
day ..

-
Jul  2 00:00:03 server mysqld[28598]: warning: /etc/hosts.allow,
line 25:
can't verify hostname: getaddrinfo(host73.hostname_net, AF_INET)
failed

Jul  2 00:00:27 server sshd[83738]: warning: /etc/hosts.allow, line
25:
can't verify hostname: getaddrinfo(host73.hostname_net, AF_INET)
failed
--
Where hostname_net is the former ISP name for the my server hosting
ISP.
but i have the same DNS and routings, the name is changed since
almost 1
year and few months.

Also line 25 had nothing to do with this hostname its just the first
active
line in my hosts.allow file
anyhow i have replaced the line to:
ALL : .hostname_net : allow

But still same errors everyday every minute! anyadvise please?

Its FreeBSD 4.8R

thank you
Marwan

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

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


RE: mod_proxy missing under freebsd

2006-07-04 Thread fbsd
In apache13 it comes preinstalled as default.
May be same in apache22.

look in httpd.config for mod statements to verify what is
preinstalled.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of npy
Sent: Tuesday, July 04, 2006 11:45 AM
To: freebsd-questions@freebsd.org
Subject: mod_proxy missing under freebsd


Hi,

I need to get mod_proxy running under apache and can't seem to find
the
ports. Anyone knows where mod_proxy is located?

Thanks.

___
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: Enermax USB enclosure

2006-07-03 Thread fbsd
Try putting it on a windows box and try to run fdisk on it.
If fdisk don't work throw it away as no good.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of mal content
Sent: Monday, July 03, 2006 4:22 PM
To: freebsd-questions@freebsd.org
Subject: Re: Enermax USB enclosure


 I've noticed that even Mac OS X seems to get the disk sizes wrong
for
 this disk, it thinks that it's a 2TB (!) drive when it's actually
160gb.

I've just tried a couple of other disks and I'm beginning to suspect
that
the culprit is actually this crappy Maxtor disk. I've managed to
mount
an old Seagate drive without problems.

Jul  3 21:18:25 logik kernel: umass0: Macpower Tytech Tech USB2.0
Enclosure, rev 2.00/1.00, addr 2
Jul  3 21:18:26 logik kernel: da0 at umass-sim0 bus 0 target 0 lun 0
Jul  3 21:18:26 logik kernel: da0: QUANTUM 04619053 0D00 Fixed
Direct Access SCSI-2 device
Jul  3 21:18:26 logik kernel: da0: 1.000MB/s transfers
Jul  3 21:18:26 logik kernel: da0: 6149MB (12594960 512 byte
sectors:
255H 63S/T 784C)

cheers!
MC
___
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: How to disconnect ADSL

2006-07-02 Thread fbsd
kill -1 $(cat /var/run/tun0.pid)

Or

You stop user PPP by killing the task; there is no hang up command.

killall ppp


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Benny Au
Sent: Sunday, July 02, 2006 11:18 AM
To: [EMAIL PROTECTED]
Subject: How to disconnect ADSL


Hello,
I'm a novice of FreeBSD. I just can use ppp -ddial adsl to connect
to my ISP, but can't disconnect it. Could u tell me the command?
Additionally, where can I get a GUI tool for PPPoE?
Thanks!

Best regards,

Benny Au
___
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: vgetty Help

2006-06-28 Thread fbsd
Configure Modem to answer call
using HAYES Commands

ALL external and internal PCI voice modems since they were first
developed have been manufactured to comply to the Hayes standard.
When you turn on your modem or reset it, your modem loads the
‘active configuration profile’ into non-volatile memory (NVRAM). The
active configuration profile is a group of configuration settings,
derived from the values of the modem’s internal S registers, that
define how the modem will operate. The active configuration profile
can be either the factory default, or one of two user defined
profiles. The first time your modem is turned on, the factory
default profile is loaded into the ‘active profile' in non-volatile
memory (NVRAM). The factory default profile is stored in the modem’s
read-only memory (ROM) and cannot be changed. The factory default
profile contains standard settings which allow the majority of users
to use their modem without ever knowing about the Hayes standard.
Modems are not factory configured to answer incoming calls by
default, so you will have to manually create your own user profile,
enable auto answer on first ring, save it to one of the user
profiles in NVRAM, and tell the modem to use it as the default
profile on power up and reset.

Use the 'tip' command to send Hayes commands to permanently
configure the modem to answer incoming calls.

Note: The Hayes modem commands are capital letters and the '0' is a
zero.


On the command line enter

tip comX   # where X is the com port your modem is on.
ATF0  # load the factory default profile0 into current profile.
ATS0=1 # tell current profile to answer on first ring.
ATW0  # write current profile to saved user profile0.
ATY0  # tell modem to load user profile0 as default on power
up.


Use the keyboard ~ key followed by the . key to exit tip.


The above is from the FreeBSD install guide at www.a1poweruser.com

Now I know nothing about vgetty so this is a shot in the dark, But I
would think
changing your init-string handed to the modem via mgetty.config:
from this

ATS0=0Q0D3C1

to this

ATS0=1   should do the trick if you have configured vgetty
correctly.

Or just follow the above instructions and update the modems internal
config and
remove the init string statement from vgetty and be done with it.

Good luck.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Robert
McIntosh
Sent: Tuesday, June 27, 2006 11:09 PM
To: freebsd-questions@freebsd.org
Subject: Re: vgetty Help


Thanks fbsd,

It seems that the init string command gives to this modem (which has
a
Conexant chipset, according to Creative's website) is incorrect.

This init-string handed to the modem via mgetty.config: (again, this
is
for vgetty)

ATS0=0Q0D3C1

I'm not familiar with Hayes compatible commands and hoping someone
has
some tips for me out there.

Thanks again,
Robert

fbsd wrote:
 you have to use your modems native AT commands to tell it to
 answer inbound calls and then save that config on the modem and
set
 it as the default config to use when the modem is powered on.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Robert
 McIntosh
 Sent: Monday, June 26, 2006 2:49 PM
 To: freebsd-questions@freebsd.org
 Subject: vgetty Help


 Hi,

 I'm running into problems getting vgetty to function as an
answering
 machine.  I've got a Creative ModemBlaster V.92 Serial DE5621 on
 /dev/cuaa1

 I'll call my number and the modem simply does not pick up.

 I the modem reports to be a voice modem from minicom, so I know it
 has
 this capability.

 Here's my configuration and log sample.

 Thanks in advance for any pointers,
 Robert

 #cat /usr/local/etc/mgetty+send/voice.conf (comments removed)


 part generic
 ###
 voice_log_level 4
 voice_shell_log /var/log/vgetty_voice_shell.%s
 voice_dir /var/spool/voice
 phone_owner root
 phone_group phone
 phone_mode 0660
 message_flag_file .flag
 receive_dir incoming
 message_dir messages
 message_list Index
 backup_message standard.rmd
 port_speed 38400
 voice_shell /bin/sh
 port_timeout 10
 dial_timeout 90
 command_delay 100
 dtmf_len 30
 dtmf_threshold 40
 dtmf_wait 7
 ignore_fax_dle false
 raw_data false
 rec_compression 0
 rec_speed 0
 rec_silence_len 70
 rec_silence_threshold 40
 rec_remove_silence false
 rec_max_len 300
 rec_min_len 0
 do_hard_flow true
 beep_frequency 933
 beep_length 1500
 max_tries 3
 retry_delay 5
 watchdog_timeout 60
 receive_gain -1
 transmit_gain -1
 enable_command_echo false
 poll_interval 10
 enable_compression_mapping_querry TRUE
 compression_8bit_linear_signed 0
 compression_16bit_linear_signed 0
 compression_8bit_linear_unsigned 1
 compression_8bit_ulaw4
 compression_8bit_alaw5
 compression_2bit_adpcm 140
 compression_4bit_adpcm 141
 compression_4bit_ima_adpcm 129

 program vgetty
 ###
 rings 3
 answer_mode voice:fax:data
 force_autodetect false
 toll_saver_rings 0
 rec_always_keep true
 button_program
 call_program

RE: Chrooted ftpd users can't access system time.

2006-06-28 Thread fbsd
I have same setup and use /etc/ftpchroot

See man ftpchroot  for details.


How did you chroot your ftp users?


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of nocturnal
Sent: Wednesday, June 28, 2006 9:58 AM
To: freebsd-questions@freebsd.org
Subject: Chrooted ftpd users can't access system time.


Hi

I'm using the ftpd server that ships with FreeBSD and when i chroot
a
user i notice that all created directories and files have GMT time
on
them as if the process can't access the system time because it's
chrooted. That's only my theory. I would love a way to solve this, i
just can't imagine that people have had this problem for so long
without
solving it.
--



Med vänliga hälsningar

Stefan Midjich aka nocturnal
[Swehack] http://swehack.se

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


problems installing 6.1-RELEASE on Dell PowerEdge 1855

2006-06-27 Thread FBSD
I’m trying to do a fresh install of FreeBSD 6.1-RELEASE on a new
Dell PowerEdge 1855 blade server.  The hardware notes for 6.1 say
the Dell PERC 4/IM SCSI raid controller is supported by the amr
driver.  The problem I’m having is that the kernel on the install cd
is trying to load the mpt driver, which sees the controller and then
fails to load with a timeout error.  How do I install FreeBSD with
just the amr driver and not the mpt driver?

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


RE: vgetty Help

2006-06-26 Thread fbsd
you have to use your modems native AT commands to tell it to
answer inbound calls and then save that config on the modem and set
it as the default config to use when the modem is powered on.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Robert
McIntosh
Sent: Monday, June 26, 2006 2:49 PM
To: freebsd-questions@freebsd.org
Subject: vgetty Help


Hi,

I'm running into problems getting vgetty to function as an answering
machine.  I've got a Creative ModemBlaster V.92 Serial DE5621 on
/dev/cuaa1

I'll call my number and the modem simply does not pick up.

I the modem reports to be a voice modem from minicom, so I know it
has
this capability.

Here's my configuration and log sample.

Thanks in advance for any pointers,
Robert

#cat /usr/local/etc/mgetty+send/voice.conf (comments removed)


part generic
###
voice_log_level 4
voice_shell_log /var/log/vgetty_voice_shell.%s
voice_dir /var/spool/voice
phone_owner root
phone_group phone
phone_mode 0660
message_flag_file .flag
receive_dir incoming
message_dir messages
message_list Index
backup_message standard.rmd
port_speed 38400
voice_shell /bin/sh
port_timeout 10
dial_timeout 90
command_delay 100
dtmf_len 30
dtmf_threshold 40
dtmf_wait 7
ignore_fax_dle false
raw_data false
rec_compression 0
rec_speed 0
rec_silence_len 70
rec_silence_threshold 40
rec_remove_silence false
rec_max_len 300
rec_min_len 0
do_hard_flow true
beep_frequency 933
beep_length 1500
max_tries 3
retry_delay 5
watchdog_timeout 60
receive_gain -1
transmit_gain -1
enable_command_echo false
poll_interval 10
enable_compression_mapping_querry TRUE
compression_8bit_linear_signed 0
compression_16bit_linear_signed 0
compression_8bit_linear_unsigned 1
compression_8bit_ulaw4
compression_8bit_alaw5
compression_2bit_adpcm 140
compression_4bit_adpcm 141
compression_4bit_ima_adpcm 129

program vgetty
###
rings 3
answer_mode voice:fax:data
force_autodetect false
toll_saver_rings 0
rec_always_keep true
button_program
call_program
dtmf_program dtmf.sh
message_program
do_message_light false
ring_report_delay 15

program vm
###
voice_devices cuaa1
dialout_timeout 90
ringback_goes_away 70
ringback_never_came 100

program pvf
###
port cuaa1
rings 3
ring_type ring
answer_mode voice:fax:data


Output from the log...
#tail -f /var/log/vgetty.cuaa1
06/26 11:38:52 aa1  waiting...
06/26 11:39:11 aa1  wfr: waiting for ``RING''
06/26 11:39:11 aa1  wfr: waiting for ``RING''
06/26 11:39:17 aa1  wfr: waiting for ``RING''
06/26 11:39:23 aa1  reading ring_type ring configuration from config
file /usr/local/etc/mgetty+sendfax/voice.conf
06/26 11:40:04 aa1  vgetty: timeout while reading character from
voice modem
06/26 11:40:15 aa1  vgetty: timeout while reading character from
voice modem
06/26 11:40:15 aa1  vgetty: Could not answer the phone. Strange...
--
06/26 11:40:15 aa1  vgetty: experimental test release 0.9.32 / with
duplex patch
06/26 11:40:15 aa1  mgetty: interim release 1.1.34-Nov30
06/26 11:40:15 aa1  reading generic configuration from config file
/usr/local/etc/mgetty+sendfax/voice.conf
06/26 11:40:15 aa1  reading program vgetty configuration from config
file /usr/local/etc/mgetty+sendfax/voice.conf
06/26 11:40:15 aa1  reading port cuaa1 configuration from config
file
/usr/local/etc/mgetty+sendfax/voice.conf
06/26 11:40:15 aa1  check for lockfiles
06/26 11:40:15 aa1  locking the line
06/26 11:40:15 aa1  lowering DTR to reset Modem
06/26 11:40:16 aa1  send: ATS0=0Q0D3C1[0d]
06/26 11:40:16 aa1  waiting for ``OK'' ** found **
06/26 11:40:16 aa1  mdm_send: 'ATI'
06/26 11:40:16 aa1  Generic Rockwell modem (56000)
06/26 11:40:16 aa1  mdm_send: 'ATI3'
06/26 11:40:16 aa1  mdm_send: 'ATI4'
06/26 11:40:16 aa1  additional info: 'a007040284C6002F'
06/26 11:40:16 aa1  modem quirks: 0004
06/26 11:40:16 aa1  mdm_send: 'AT+FCLASS=2' - OK
06/26 11:40:16 aa1  mdm_send: 'AT+FCLASS=0' - OK
06/26 11:40:16 aa1  mdm_send: 'AT+FAA=1;+FCR=1' - OK
06/26 11:40:16 aa1  mdm_send: 'AT+FBOR=0' - OK
06/26 11:40:16 aa1  mdm_send: 'AT+FLID=503.244.7197' - OK
06/26 11:40:17 aa1  mdm_send: 'AT+FDCC=1,5,0,2,0,0,0,0' - OK
06/26 11:40:17 aa1  detecting voice modem type
06/26 11:40:18 aa1  Rockwell detected
06/26 11:40:30 aa1  vgetty: timeout while reading character from
voice modem
06/26 11:40:30 aa1  initializing ROCKWELL voice modem
06/26 11:40:30 aa1  vgetty: Modem returned ERROR
06/26 11:40:30 aa1  can't set silence period
06/26 11:40:30 aa1  vgetty: Modem returned ERROR
06/26 11:40:30 aa1  can't set transmit gain
06/26 11:40:30 aa1  vgetty: Modem returned ERROR
06/26 11:40:30 aa1  can't set record gain
06/26 11:40:30 aa1  vgetty: Modem returned ERROR
06/26 11:40:31 aa1  can't disable silence deletion
06/26 11:40:31 aa1  vgetty: Modem returned ERROR
06/26 11:40:31 aa1  can't set DLE responses
06/26 11:40:31 aa1  vgetty: Modem returned ERROR
06/26 11:40:31 aa1  can't set silence threshold
06/26 11:40:31 aa1  vgetty: Modem returned ERROR
06/26 11:40:32 aa1  waiting...

RE: nat question

2006-06-19 Thread fbsd
There is no way your ISP can cut out NATted traffic.

You would be better off following the handbook firewall section.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Vlad GURDIGA
Sent: Monday, June 19, 2006 7:16 PM
To: freebsd-questions@freebsd.org
Subject: nat question


Hello,

I could not figureout the answer to a question. Here is the situation:

PC A: Windows XP Pro.
PC B: FreeBSD 6.1, connected to internet, acting as a gateway for PC
A, with NAT (built by hanbook instructions
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-natd.html),
open firewall, no restrictions.

For long time I have used the PC A with PC B as gateway and everything
worked just fine, but now PC A can only ping any host (by IP) in
Internet. No other traffic (DNS queries, FTP or HTTP) does not reach
the Internet comming back with TTL exceeded response apparently from
de destination host (I've seen this on PC B with Ethereal).

Question: Is there any way my ISP can 'see' and cut out NATted traffic
from PC A letting only the traffic from PC B pass?! How?!
___
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: Multiple gateways

2006-06-14 Thread fbsd
First problem is you can not run an dhcp server for your ISP IP
address.
You should be using dhclient on the NIC interface name facing the
public ISP.
ifconfig_rl0=DHCP# adsl 0
ifconfig_rl1=DHCP# adsl 1
ifconfig_rl2=DHCP# adsl 2

This will cover both dynamic and static IP address assigned by your
ISP to you.

The dhcp server on your gateway box should only contain lease info
for the 3 separate legs of your local LAN (192.168.2. 192.168.3.
192.168.4.).


The simplest way to utilize your 3 adsl connections to your ISP is
to allocate one adsl line per local LAN leg.

nat on $adsl0 from $net1:network to any - ($adsl0)

nat on $adsl1 from $net2:network to any - ($adsl1)

nat on $adsl2 from $net3:network to any - ($adsl2)





-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Luis José
Da
Silva González
Sent: Wednesday, June 14, 2006 12:56 PM
To: freebsd-questions@freebsd.org
Subject: Multiple gateways


Greetings,

I'm having bad times trying to set up a kind of advance router with
FreeBSD 6.1.
The system has 6 Network interfaces, 3 for adsl connections (one nic
for each adsl, same ISP) and other 3 for 3 sub networks class C
(192.168.2. 192.168.3. 192.168.4.)

The server is running Squid and is using only the first adsl
connection and thats ok.

I'm doing NAT with PF but the problem is when i try to nat each sub
network by each adsl connection.



nat on $adsl1 from $net1:network to any - ($adsl1)

nat on $adsl2 from $net2:network to any - ($adsl3)

nat on $adsl3 from $net3:network to any - ($adsl3)

but that doesn't' work, right now I'm NATing all sub networks with
adsl1 only and the others 2 adsl are being waste without use.

these adsl use dhcp to get the IP and here is the info

lease {
  interface adsl1;
  fixed-address 201.242.241.180;
  option subnet-mask 255.255.248.0;
  option routers 201.242.240.1;
  option domain-name-servers 200.44.32.13,200.44.32.12;
  option domain-name cantv.net;
  option broadcast-address 201.242.247.255;
  option dhcp-lease-time 11637;
  option dhcp-message-type 5;
  option dhcp-server-identifier 200.109.126.37;
  renew 3 2006/6/14 16:56:54;
  rebind 3 2006/6/14 18:09:37;
  expire 3 2006/6/14 18:33:53;
}


lease {
  interface adsl2;
  fixed-address 201.242.241.149;
  option subnet-mask 255.255.248.0;
  option routers 201.242.240.1;
  option domain-name-servers 200.44.32.13,200.44.32.12;
  option domain-name cantv.net;
  option broadcast-address 201.242.247.255;
  option dhcp-lease-time 19174;
  option dhcp-message-type 5;
  option dhcp-server-identifier 200.109.126.37;
  renew 3 2006/6/14 17:59:58;
  rebind 3 2006/6/14 19:59:47;
  expire 3 2006/6/14 20:39:45;
}

lease {
  interface adsl3;
  fixed-address 201.242.241.150;
  option subnet-mask 255.255.248.0;
  option routers 201.242.240.1;
  option domain-name-servers 200.44.32.13,200.44.32.12;
  option domain-name cantv.net;
  option broadcast-address 201.242.247.255;
  option dhcp-lease-time 11627;
  option dhcp-message-type 5;
  option dhcp-server-identifier 200.109.126.37;
  renew 3 2006/6/14 16:57:13;
  rebind 3 2006/6/14 18:09:52;
  expire 3 2006/6/14 18:34:07;
}

Note that the 3 adsl interfaces have the same gateway, but now, how
i
can load balance or at least define the usage of each adsl
connection
for my sub networks? I tried using route but the routing table
always
use the interface of the first adsl.

Any ideas, suggestion?
thanks in advance.
--
Luis José Da Silva G.
___
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: Python port problems

2006-06-14 Thread fbsd
Try reloading the cvs base for changes / updates before reinstalling
both Python and Mailman.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Joe Auty
Sent: Wednesday, June 14, 2006 12:11 PM
To: Alex Zbyslaw
Cc: FreeBSD Questions
Subject: Re: Python port problems



On Jun 14, 2006, at 6:01 AM, Alex Zbyslaw wrote:

 Joe Auty wrote:


 Sorry for the delay in response here. This is still a problem for
 me,  and I would still like this problem resolved.

 Yes, I've tried reinstalling both Python and Mailman, and
upgraded
 to  newer port revisions of Mailman which have been released
since
 this  message. I'm still getting the same error message when I go
 to start  Mailman via its rc script:

 ... snip
 Traceback (most recent call last):
 :
 : No module named getopt  File /usr/local/mailman/bin/qrunner,
 line  76, in ?

 ImportErrorimport getopt
 No module named getopt:
 No module named getopt
 ImportErrorCould not find platform independent libraries prefix
 Could not find platform dependent libraries exec_prefix
 Consider setting $PYTHONHOME to prefix[:exec_prefix]
 'import site' failed; use -v for traceback
 : No module named getopt
 Traceback (most recent call last):
   File /usr/local/mailman/bin/qrunner, line 76, in ?
 import getopt
 ImportError: No module named getopt

 Honestly, this looks like a screwed python install or some screw
up
 when mailman compiled.  Can you do a few basic info things?


Sure, happy to do so!

 which python


/usr/local/bin/python

 whereis python


python: /usr/local/bin/python /usr/local/man/man1/python.1.gz /usr/
ports/lang/python

 python
 # and to the command interpreter type
 import getopt
 # and exit with ^D (control D)


# python
Python 2.4.3 (#2, Jun 13 2006, 21:29:49)
[GCC 3.4.2 [FreeBSD] 20040728] on freebsd5
Type help, copyright, credits or license for more
information.
  import getopt
 

(I'm assuming this means no issues here)


 egrep -i -A 2 -B 2 python /usr/local/etc/pkgtools.conf
/etc/make.conf


# egrep -i -A 2 -B 2 python /usr/local/etc/pkgtools.conf
/etc/make.conf
/usr/local/etc/pkgtools.conf-  # 'perl',
/usr/local/etc/pkgtools.conf-  # 'ruby',
/usr/local/etc/pkgtools.conf:  #'python',
/usr/local/etc/pkgtools.conf-  #   ]
/usr/local/etc/pkgtools.conf-  #


 egrep -i -A 2 -B 2 mailman /usr/local/etc/pkgtools.conf
/etc/make.conf


# egrep -i -A 2 -B 2 mailman /usr/local/etc/pkgtools.conf
/etc/make.conf
/usr/local/etc/pkgtools.conf-'security/clamav' = 'CLAMAVUSER?
=vscan CLAMAVGROUP?=vscan',
/usr/local/etc/pkgtools.conf-'www/MT' = '-DWITH_MYSQL',
/usr/local/etc/pkgtools.conf:'mail/mailman' =
'MAIL_GID=mailman'
/usr/local/etc/pkgtools.conf-  }
/usr/local/etc/pkgtools.conf-



 head -5 /usr/local/mailman/bin/qrunner


# head -5 /usr/local/mailman/bin/qrunner
#! /usr/local/bin/python

# Copyright (C) 2001-2006 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or




 --Alex




 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-
 [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: error 127

2006-06-14 Thread fbsd
pdflib port is broken and affects all other ports that have it as a
dependant.
before running make install on the parent port try make config
to see if you
can deselect pdflib.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of kalin
mintchev
Sent: Wednesday, June 14, 2006 5:38 PM
To: freebsd-questions@freebsd.org
Subject: error 127



  i'm getting a lot of this crap latle with the ports... what is
going on?!!

===  Patching for pdflib-6.0.3
-e: not found
*** Error code 127

Stop in /usr/ports/print/pdflib.


what is not found?!!??!?!?!



___
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: FreeBSD firewall, nat, kernel

2006-06-13 Thread fbsd
All 3 FreeBSD 6.1 firewall software products IPF, IPFW, PF and their
NAT components all work without having to be compiled into the
kernel.

Read the handbook closer for details on how to activate which ever
one you want to use.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, June 13, 2006 9:35 AM
To: [EMAIL PROTECTED]
Subject: FreeBSD firewall, nat, kernel


Hi,

I've just installed a FBSD 6.1 box and I want to install Firewall
and NAT services.
The handbook Firewall chapter indicates to compile Firewall if you
want NAT.
But, I could not find in the GENERIC file the IPFIREWALL options.

Do you have an idea ?

Thanks,
Regi
___
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: Deny large number of IPs via ipfw

2006-06-11 Thread fbsd
Using such an list of ip address from a major rbl is flawed at the
core of the idea.
Over 85% of those 3 million ip address are spoofed in the first
place.
Most are what would be called false positives.

Reread the info at the source cbl.abuseat.org it says the data is
not intended to be used the way you are trying to use it.

You really need to rethink what you are doing.




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Dan
Mahoney,
System Admin
Sent: Sunday, June 11, 2006 8:36 AM
To: [EMAIL PROTECTED]
Subject: Deny large number of IPs via ipfw


Hey all,

I've got a file that I just synced from a major RBL, and I'd like to
just
use it to globally deny access to my system.  Is there an easy way
to do
this within ipfw -- the file is about 3 *million* lines, and is from
cbl.abuseat.org.

-Dan

--

SOY BOMB!

-The Chest of the nameless streaker of the 1998 Grammy Awards' Bob
Dylan
Performance.

Dan Mahoney
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---

___
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: Deny large number of IPs via ipfw

2006-06-11 Thread fbsd
This is still wasted busy work. There are much simpler ways to stop
ssh false login attempts and garbage to website guest books.

In ipfw use rule limit option or change port number ssh uses and
only give your ssh port number to your user group. And for all
websites add a noise image to stop robots from auto entering
garbage.  You should use the correct tools instead of some over kill
method.
3 million ip table entry's is plain stupid. I fired my system admin
when I caught him trying to do the same stupid thing.

-Original Message-
From: Dan Mahoney, System Admin [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 11, 2006 10:43 AM
To: fbsd
Cc: [EMAIL PROTECTED]
Subject: RE: Deny large number of IPs via ipfw


On Sun, 11 Jun 2006, fbsd wrote:

 Using such an list of ip address from a major rbl is flawed at the
 core of the idea.
 Over 85% of those 3 million ip address are spoofed in the first
 place.
 Most are what would be called false positives.

 Reread the info at the source cbl.abuseat.org it says the data is
 not intended to be used the way you are trying to use it.

All it says is: We're getting a lot of reports of spurious blocking
caused by sites using the CBL to block authenticated access to
smarthosts
/ outgoing mail servers. THE CBL is only designed to be used on
INCOMING
mail, i.e. on the hosts that your MX records point to.

Which I take to mean, yeah, if you're using it on sendmail, you
allow SMTP
AUTH to override blacklists (this is the case by default.)

Whereas my intention would be to use it to block ports such as 80
and 22.
Every system I've found trying to brute-force SSH on my box has
already
been in this database, and by using mod_access_rbl for apache I was
able
to catch and block a dozen or so attempts to post spammish content
to
guestbooks and the like (but I'd like to do this without the
overhead of
apache DNS lookups).

Thanks for your input, though.

-Dan


 You really need to rethink what you are doing.




 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Dan
 Mahoney,
 System Admin
 Sent: Sunday, June 11, 2006 8:36 AM
 To: [EMAIL PROTECTED]
 Subject: Deny large number of IPs via ipfw


 Hey all,

 I've got a file that I just synced from a major RBL, and I'd like
to
 just
 use it to globally deny access to my system.  Is there an easy way
 to do
 this within ipfw -- the file is about 3 *million* lines, and is
from
 cbl.abuseat.org.

 -Dan

 --

 SOY BOMB!

 -The Chest of the nameless streaker of the 1998 Grammy Awards' Bob
 Dylan
 Performance.

 Dan Mahoney
 Techie,  Sysadmin,  WebGeek
 Gushi on efnet/undernet IRC
 ICQ: 13735144   AIM: LarpGM
 Site:  http://www.gushi.org
 ---

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


--

I am a professional drinker, and I know that that was NOT Jose
Cuervo!

Well, what was it then?

I think it was some mixture of Rubbing Alcohol, and Desenex(TM)
Foot
Powder, because my feet feel okay, and my back doesn't hurt, but my
stomach is killing me!

-Dan Mahoney, Costa Rica, August 12th, 1994

Dan Mahoney
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---

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


RE: FBSD 6.0 and ppp

2006-06-09 Thread fbsd
You have to use modem AT commands to tell FreeBSD modem to answer
in coming calls.

I complete detailed write up on 'user ppp' for answering incoming
calls can be found in the install guide at www.a1poweruser.com.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Friday, June 09, 2006 2:07 PM
To: freebsd-questions@freebsd.org
Subject: FBSD 6.0 and ppp


I am trying to setup a remote FreeBSD server to allow me to dial in
and
check the network in case the WAN link goes does.  I accomplished
this
with 5.3, and cannot figure out what I am doing wrong on FBSD 6.0.
I am
dialing using WIndows XP to establish a PPP connection

I am using the second method outlined in man ppp.

I added the following line to /etc/gettytab.
:pp=/usr/local/bin/ppplogin:\

/etc/ttys was changed to
ttyd0 /usr/libexec/getty std.38400 dialup on secure

/usr/local/bin/ppplogin was created and permissions are 775.

The following was added to /etc/ppp/ppp.conf

incoming:
   set device /dev/cuad0
   set ifaddr 10.0.0.1 10.0.0.0/24
   enable pap
   enable chap
   allow users 

/etc/ppp/ppp.secret
TABpasswordTAB10.0.0.95

When the connection is initially dialed, I see tun1 opened (tun0 is
a DSL
connection) and the PID displayed.  However, the Windows system
hangs with
Verifying Password and will eventually report error 721.

Firewall rules are in place and allow all traffic from tun1.

Any suggestions would be greatly appreciated.

Thanks,



Jay



___
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: restoring deleted files

2006-06-09 Thread fbsd
Only option is to restore from backup.

YOU DO backup your data?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Phil
Sweeney
Sent: Thursday, June 08, 2006 7:37 PM
To: [EMAIL PROTECTED]
Subject: restoring deleted files


Can you tell me a simple way of retrieving recently deleted files?

Regards
Phil Sweeney
Superior Pest Management
P.O Box 68
www.superiorpest.com.au
[EMAIL PROTECTED]
H.R.M.C NSW 2310
___
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: Ipfilter 4.1.13 and freebsd 6.1

2006-06-08 Thread fbsd
I run 6.1 with ipfilter and LAN full of window boxes  NO PROBLEM.

You need to provide a much greater level of details before making
such unfounded statements as ipfilter is broken.

Your rule set is most likely incorrect.

Post description of your firewall/LAN setup along with your complete
rule set for review by list.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Nicholas
von
Waltsleben
Sent: Thursday, June 08, 2006 3:16 AM
To: freebsd-questions@freebsd.org
Subject: Ipfilter 4.1.13 and freebsd 6.1


I am currently running a couple of 6.1 and 5.4 servers as firewall /
routers for my company.  I am experiencing some problems on the 6.1
server with ipfilter where it blocks oow (out of window) packets.  I
have tried to update to the latest version of ipfilter but was
unable to
compile my kernel after running the kupgrade script in the ipf
source
folder.  Does anyone have any hacks / patches that they have used to
get
ipfilter version 4.1.13 running on FreeBSD 6.1-Release?

Regards,
Nicholas
___
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: USB-Serial ??

2006-06-08 Thread fbsd
Sorry dud but what you have is a winmodem.
XP has special driver for that external modem to work.
It is not supported in FreeBSD as far as I have seen.
There is no such thing as USB-serial modem.
External modem is connected to motherboard by serial cable or USB
cable.
Serial external modem works right out of the box and USB external
modem are all winmodems.
There is a port ltmdm which works for a limited number of PCI
winmodems but nothing for USB-winmodems.

You are SOL.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Warren
Block
Sent: Thursday, June 08, 2006 9:29 AM
To: Steve Bertrand
Cc: 'John Andrewartha'; 'freebsd-questions@FreeBSD.ORG'
Subject: RE: USB-Serial ??


On Wed, 7 Jun 2006, Steve Bertrand wrote:

 The saga of the 3G modem.  Labeled in AU as the Maxon MM 5500c.
 This device is a modem on the usb bus, it looks like and
 understands the at commands. Under XP.
 I am using fbsd 6.1.
 How do I get ppp to talk to it?
 The man pages keep pointing to /dev/cuaU? A device that does
 not exist yet.

 Don't know about the rest, but in FBSD 6+, the serial devices are
 /dev/cuad0 for COM1 and /dev/cuad1 for COM2.

 Try a:

 # cu -l /dev/cuad0 to see if you can connect to the device.

He said it was USB, which should be /dev/ucom0.

-Warren Block * Rapid City, South Dakota USA
___
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: FreeBSd 6.1 hylafax and Acorp modem...

2006-06-07 Thread fbsd
I believe your modem is a winmodem. 
This modem is manufactured for ms/window boxes.
Some people have luck using the ltmdm port to get some winmodems to work with 
FreeBSD.

You would be far better off using an external serial modem. 
These all work with FreeBSD right out of the box and is best 
solution for a reliable fax server setup.

You will not be satisified with performance or reliability shoe horning 
a cheap winmodem into a fax server.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Casper
Sent: Wednesday, June 07, 2006 1:34 PM
To: freebsd-questions@freebsd.org
Subject: FreeBSd 6.1 hylafax and Acorp modem...



  Hi,

  I tryed to setup hylafax fax server with Acorp internal modem with 
conexant-RH56D-PCI chip set.


I installed from ports hylafax and try to setup it:

fax# faxsetup

Setup program for HylaFAX (tm) 4.2.5.
Created for i386-unknown-freebsd6.1 on Wed Mar 15 17:04:26 UTC 2006.
Checking system for proper client configuration.
Checking system for proper server configuration.

Warning: /bin/vgetty does not exist or is not an executable program!

The file:

 /bin/vgetty

does not exist or this file is not an executable program.  The
HylaFAX software optionally uses this program and the fact that
it does not exist on the system is not a fatal error.  If the
program resides in a different location and you do not want to
install a symbolic link for /bin/vgetty that points to your program
then you must reconfigure and rebuild HylaFAX from source code.


Warning: /bin/egetty does not exist or is not an executable program!

The file:

 /bin/egetty

does not exist or this file is not an executable program.  The
HylaFAX software optionally uses this program and the fact that
it does not exist on the system is not a fatal error.  If the
program resides in a different location and you do not want to
install a symbolic link for /bin/egetty that points to your program
then you must reconfigure and rebuild HylaFAX from source code.


Warning: Font metric information files were not found!

The font metric information file for the Courier font was not found in
the /usr/local/lib/afm path.  This means that client HylaFAX applications
that use this information to format ASCII text for submission as fax will
use incorrect information and generate potentially illegible facsimile.

If font metric information is present on your system in a directory other
than /usr/local/lib/afm then you can setup a symbolic link to the 
appropriate
directory or you can specify the appropriate pathname in the configuration
file /usr/local/lib/fax/hyla.conf with a line of the form:

FontPath:   someplace_unexpected

If you do not have the font metric information files loaded on your system
system you can obtain them by public FTP from the place where you obtained
the HylaFAX software or from the master FTP site at ftp.sgi.com.

FATAL ERROR: /usr/local/bin/gs does not exist or is not an executable 
program!

The file:

 /usr/local/bin/gs

does not exist or this file is not an executable program.  The HylaFAX
software expects this program to exist and be in this location.  If the
program resides in a different location then you must either reconfigure
and rebuild HylaFAX or override the default pathnames in the distributed
software through one of the HylaFAX configuration files (consult the
HylaFAX documentation).



So one problem, by default it has not in dependency list getty and 
ghostscript...


I tried to install mgetty and found that there is no /dev/cuaa1.


I`m in dead end with this modem?

tnx,

Casper
___
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: 6.1 doesn't recognize IDE HD

2006-06-07 Thread fbsd
Try turning off power management in motherboard bios.
Also check that bios ide use auto setting.
Set bios boot from floppy then drive c, not just floppy alone.
If bios has system setting, set to unix or other, not windows.

Try posting to freebsd-mobile list for better support.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, June 07, 2006 1:23 PM
To: freebsd-questions@freebsd.org
Subject: 6.1 doesn't recognize IDE HD


All,

I'm trying to install i386 FreeBSD 6.1 onto an HP Omnibook 800CT (Pentium 166 
MMX, 80 MB RAM, 4.3. GB HD).  I'm booting from floppy because the onlyCDROM is 
a SCSI CDROM that is not bootable.  Everything seems to go well (even the 
recognization of the SCSI controller and CDROM) except that it does not 
recognize the IDE HD.  Note that the on-board ISA controlleris recognized 
(isa0) and there are various spewings about ata0.

The laptop works fine.  There RH9.0 bootable, and I've been playing around with 
other installations in the last week or so.

I did some Google searching and found a simialar problem described in this two y
ear old bug: http://lists.freebsd.org/pipermail/freebsd-bugs/2004-October/009946
.html.  However, I could not find this bug by searching freebsd.org.

I realize that the IDE/ISA controller was probably a one-of for HP, but 
thereseems to have been support in the past (see bug report).  Is this a known 
problem?  Is there a workaround?

Any help would be apprecitated.

Thanks in advance.

Michael White
___
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: Dial Up To ASDL Router

2006-06-06 Thread fbsd
Your post is missing a lot of description. I will try to fill in the
missing info.

Your general wish is to use your personal mobile phone and connect
it to your work provided laptop which is running win/xp and be able
to dial a landline phone number to your FreeBSD server which is
currently connected to the public internet over a 24/7 ADSL line.

You need hardware to do this. The laptop needs a winmodem with a
telecom phone line that connects to your mobile phone. If your
mobile phone does not have i/o jack which most do not, you are dead
in the water. You could still plug the laptop winmodem telecom phone
line into any hotel or airport public access port and dial the
landline phone number to your FreeBSD server.

Your home FreeBSD server would need a separate FreeBSD modem (IE not
winmodem) and you would use user ppp to answer the incoming call.
In this mode your home FreeBSD server would be acting as an gateway
LAN box so your dial in connection could have access to your
internet connection to public internet.

Speed of this laptop/modem to server/modem is limited to 33k under
best conditions as 56k is only possible when connecting to ISP which
supports 56k. Speed over mobile would be considerable slower.

Configuring user ppp for dial in support is covered in the install
guide at www.a1poweruser.com
give it a read for the details.




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Richard
Collyer
Sent: Tuesday, June 06, 2006 12:59 PM
To: freebsd-questions@freebsd.org
Subject: Dial Up To ASDL Router


Hello,

I've been given a company laptop which is ok but they dont supply
data
cards. Instead I have been given a 0845 number to dial when at a
place
with no Internet.

Instead I would like to use my mobile to dial my home phone number
which
is not 0845 therefore included in the thousands of free minutes that
I
get each month.

The only thing that is on in my house is the Freebsd server so how
can I
set this up to use the dial up modem to answer the phone and connect
it
to the Internet through the ADSL it is plugged into.

I've googled but as I dont know what this type of software is called
I
didn't find much. Anyone know of any software that will do this?

Cheers
Richard
___
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: Virtual hosts and PHP downloads: php5 and apache22 on FreeBSD6.1-STABLE

2006-06-06 Thread fbsd
The php5 port is broken in 6.1.
It no longer defaults to activating the php/apache module.

This has been covered in great detail on this list in the past 6
weeks which you would have found out if you reviewed the list
archives before posting this question.

After downloading the 6.1 version php5 port config files you have to
do make config and select the apache module. The make install
will automatically make the correct changes to your httpd-config
file for serving up php pages correctly. php5-extensions is not
normally needed.

Your other httpd-config problems are due to you using apache22
instead of apache13 which is the rock hard production version of
Apache web server. Apache22 is generally considered as the
developmental version.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of John
DeStefano
Sent: Tuesday, June 06, 2006 3:46 PM
To: freebsd-questions@freebsd.org
Subject: Virtual hosts and PHP downloads: php5 and apache22 on
FreeBSD6.1-STABLE


I upgraded my system from 5.4-RELEASE to 6.1-STABLE last week, and
my
web server immediately stopped serving PHP pages, where I had no
problem doing so before.  Instead of processing the PHP code on the
server and displaying the result in a browser, browsing to any page
containing PHP code resulted in a prompt to download the PHP page as
a
file.

/usr/ports/UPGRADING mentions that PHP has been streamlined and must
be recompiled to work with Apache and other packages. After
deinstalling, configuring (where applicable), and reinstalling PHP5,
php5-extensions, and apache2 to the latest versions, not only were
PHP
files not being served, but my web server was toast:
Forbidden You don't have permission to access / on this server.

I edited the new apache config file (now located in
/usr/local/etc/apache22/httpd.conf) with my system information,
including a DocumentRoot path. But when I started apache, I got some
very peculiar errors:
Warning: DocumentRoot [/www/docs/dummy-host.example.com] does not
exist
Warning: DocumentRoot [/www/docs/dummy-host2.example.com] does not
exist

Not only did I confirm beforehand that I had set the DocumentRoot
path, and that apache was using the correct config file... but these
dummy paths didn't exist in the config file!  I learned eventually
that a new apache directive splits out virtual host directives to a
new include file (/usr/local/etc/apache22/extra/httpd-vhosts.conf).
Then I learned after getting a server warning (NameVirtualHost *:80
has no VirtualHosts) that the syntax has been slightly modified, so
that the IP/port value of each VirtualHost specification must match
that of the NameVirtualHost directive (i.e., NameVirtualHost *:80
and VirtualHost *:80).

Still having trouble though: my main site loads properly, but the
other virtual hosts aren't. Browsing to any virtual host address
other
than the default results in either the wrong content or an error.
Here's what my httpd-vhosts.conf looks like:

NameVirtualHost *:80

VirtualHost *:80
ServerName www.SiteA.com
ServerAlias SiteA.com *.SiteA.com
DocumentRoot /usr/www
ErrorLog /var/log/httpd-SiteA-error.log
CustomLog /var/log/httpd-SiteA-access.log combined
/VirtualHost

VirtualHost *:80
ServerName www.SiteB.com
ServerAlias SiteB.com *.SiteB.com
DocumentRoot /usr/www2
ErrorLog /var/log/httpd-SiteB-error.log
CustomLog /var/log/httpd-SiteB-access.log combined
/VirtualHost

So, what's happening is that SiteA works as expected, but browsing
to
SiteB brings you to SiteA, or doesn't load at all (403 error).

In addition, I'm back to my original problem, where PHP files are
not
loading, and browsing to a PHP page prompts the user to download the
page as a file.

Any help on either the virtual hosts or the PHP download issue would
be greatly appreciated.

Thanks,
~John
___
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: Virtual hosts and PHP downloads: php5 and apache22 on FreeBSD6.1-STABLE

2006-06-06 Thread fbsd

First and foremost, thanks for the reply.

On 6/6/06, fbsd [EMAIL PROTECTED] wrote:
 The php5 port is broken in 6.1.
 It no longer defaults to activating the php/apache module.

Thanks for that. I do appreciate it.


 This has been covered in great detail on this list in the past 6
 weeks which you would have found out if you reviewed the list
 archives before posting this question.

I may have missed a week or two, but the only responses I've seen
personally have been see /usr/ports/UPDATING, which I did.  I'm
not
thrilled with the stock RTFM post, but I guess that's par for the
course.


 After downloading the 6.1 version php5 port config files you have
to
 do make config and select the apache module. The make install
 will automatically make the correct changes to your httpd-config
 file for serving up php pages correctly. php5-extensions is not
 normally needed.

I did that.  That's pointed out in /usr/ports/UPDATING.
Unfortunately, it didn't automatically fix the issue for me.

**  thats because you are using the devel version of apache.
php4  php5 are designed to auto update apache13  not apache22
you are on your own when you use devel apache22

Blow away apache22 and you can use the apache13 package for quick
install
then php5 port like said before. if you have previous working
apache13 httpd-config restore it to correct path after apache13
package install, then php5 port make will update it correctlly.
**




 Your other httpd-config problems are due to you using apache22
 instead of apache13 which is the rock hard production version of
 Apache web server. Apache22 is generally considered as the
 developmental version.

I was running 1.3 before my BSD upgrade to 6.1-STABLE.  There were
security issues with 1.3 that were not resolved at the time of my
upgrade.  And I assumed with the package changes to PHP5 in 6.1 that
going with an updated version of apache as well would be the best
method.  If you're saying I should revert back to 1.3, should I also
revert to an earlier version of PHP5, or is the latest and greatest
still best compatible with apache13?

*** I know of no security issues in apache13 in 6.1 release. your
6.1 install will give you the correct port version of php5. The
package php5 is broken because it does not contain the apache module
by default as in previous freebsd releases. you do have to cvs the
php5 config files plus the base make control files. go with it.
*


* warning side note: be sure to comment out proxy module
statements in both places in httpd-conf. this will stop your web
server from being used to attack other systems without your
knowledge. 

Thank you,
~John
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of John
 DeStefano
 Sent: Tuesday, June 06, 2006 3:46 PM
 To: freebsd-questions@freebsd.org
 Subject: Virtual hosts and PHP downloads: php5 and apache22 on
 FreeBSD6.1-STABLE


 I upgraded my system from 5.4-RELEASE to 6.1-STABLE last week, and
 my
 web server immediately stopped serving PHP pages, where I had no
 problem doing so before.  Instead of processing the PHP code on
the
 server and displaying the result in a browser, browsing to any
page
 containing PHP code resulted in a prompt to download the PHP page
as
 a
 file.

 /usr/ports/UPGRADING mentions that PHP has been streamlined and
must
 be recompiled to work with Apache and other packages. After
 deinstalling, configuring (where applicable), and reinstalling
PHP5,
 php5-extensions, and apache2 to the latest versions, not only were
 PHP
 files not being served, but my web server was toast:
 Forbidden You don't have permission to access / on this server.

 I edited the new apache config file (now located in
 /usr/local/etc/apache22/httpd.conf) with my system information,
 including a DocumentRoot path. But when I started apache, I got
some
 very peculiar errors:
 Warning: DocumentRoot [/www/docs/dummy-host.example.com] does not
 exist
 Warning: DocumentRoot [/www/docs/dummy-host2.example.com] does not
 exist

 Not only did I confirm beforehand that I had set the DocumentRoot
 path, and that apache was using the correct config file... but
these
 dummy paths didn't exist in the config file!  I learned
eventually
 that a new apache directive splits out virtual host directives to
a
 new include file
(/usr/local/etc/apache22/extra/httpd-vhosts.conf).
 Then I learned after getting a server warning (NameVirtualHost
*:80
 has no VirtualHosts) that the syntax has been slightly modified,
so
 that the IP/port value of each VirtualHost specification must
match
 that of the NameVirtualHost directive (i.e., NameVirtualHost
*:80
 and VirtualHost *:80).

 Still having trouble though: my main site loads properly, but
the
 other virtual hosts aren't. Browsing to any virtual host address
 other
 than the default results in either the wrong content or an error.
 Here's what my httpd-vhosts.conf looks like:

 NameVirtualHost *:80

 VirtualHost *:80

RE: phpMyAdmin problem - no Edit/Delete on Browse

2006-06-02 Thread fbsd
I use phpMyAdmin on freebsd 6.1 and it has working edit/delete on
browsed rows.
I did pkg_add -r for mysql5 then had to run port for php5 doing make
config first to select apache module. The package version on
phpmyadmin is broken because it needs some other dependant wicch is
broken. Use port version of phpmyadmin first run make config and
de-select all options then make install. It will use php5 and mysql5
because it finds them all ready installed.This should also work on
your 5.4 system


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ian Smith
Sent: Friday, June 02, 2006 12:48 PM
To: Matthew Seaman
Cc: [EMAIL PROTECTED]
Subject: Re: phpMyAdmin problem - no Edit/Delete on Browse


On Sun, 28 May 2006 at 18:26:46 +0100, Matthew Seaman wrote:
  Ian Smith wrote:
   On Sun, 28 May 2006, Matthew Seaman wrote:
 Ian Smith wrote:
  running 5.4-RELEASE and installed phpMyAdmin 2.6.1.3 with
pkg_add -r
   [..]
 
  You would be well advised to upgrade to the latest phpMyAdmin,
which is
  version 2.8.1, and is in the current ports. There are a number of
security
  problems that affect many earlier versions.  If you look at the
list of
  security announcements at
http://www.phpmyadmin.net/home_page/security.php
  then with version 2.6.1pl3 you're potentially vulnerable to
anything announced
  after PMASA-2005-1

It's good advice for sure, however not practicable at the moment.
As I
said, this laptop is not net-accessible, and I just needed to get a
job
done.  According to the requirement list, I'd have to update php,
expat,
mysql version! - surely a case of the tail wagging the dog? - and
even
xorg, pretty much everything.  Not really doable on a 28.8k modem
link.

So, given my broadband application is on 'hold' awaiting local
enabling
which might take months, I'm going for a 6.1 4-CD set as soon as
they're
available; packages and/or distfiles is really the only way to go
for
those (still many) parts of the planet without fast, cheap
connections.

   Think I'll start again with the installed config.  I really
can't recall
   if this problem was there since installation, but as mentioned
all other
   import/export, create/drop/copy database/table, adding rows etc
all just
   works well so far, excepting edit/delete availability on
browse.

I did start again from scratch; no difference.  Still can't believe
that
such a show-stopper bug wouldn't have obviously affected many
phpmyadmin
users on 5.4 - people do use it to edit records, don't they? - so
still
have to suspect some local config issue.  Tried another browser and
all.

  I have a vague memory that I've seen something like this
mentioned as a
  bugfix in the release notes for phpMyAdmin, but I can't put my
finger on
  exactly where.  You can see the release notes for most phpMyAdmin
versions
  here:
 
 
https://sourceforge.net/project/showfiles.php?group_id=23067package
_id=16462
 
  but the formatting is all wrong before the 2.8.x series.

Yes, read every one since 2.6.1; nothing that struck me as even
similar.

Anyway, thankyou Matthew for your helpful advice and clues.

Cheers, Ian

___
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: Firewall with 3 NIC (1 wireless) problem

2006-05-24 Thread fbsd
This may be a wild shot in the dark.
Netgear WPN311  WG311T are both CLIENT RangeMax Wireless PCI
Adapter cards.
Looks to me like you are missing hardware needed to make your wanted
wireless network to work.

On your wired LAN you cable a Nic card in your gateway box to
a hub/router/switch through which all other PC's on the LAN are
connected into.

A wireless system works much the same way. Your gateway box should
have a Nic cabled to an wireless base/router through which all other
PC's on the wireless LAN broadcast/communicate with.

You need a Netgear RangeMax Wireless Router WPN824 which is a
stand-a-lone piece of equipment cabled to your gateway box. The
Netgear WPN311 card you have in the gateway box is useless. Use it
for some other PC you want on your wireless LAN.

Please take note that the built in hardware wireless wep/wpa
encryption security is a laugh. Any body with some free software off
the internet can drive down your street and pick up your wireless
base broadcast and gain access to your network and the public
internet through you if you only rely on wep/wpa encryption for
access security. There are many solutions out there. Review the
questions list archives on wireless security for many suggestion on
how to protect your wireless network.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Mark
Moellering
Sent: Wednesday, May 24, 2006 10:33 AM
To: freebsd-questions@freebsd.org
Subject: Firewall with 3 NIC (1 wireless) problem


I am attempting to add a wireless capabilities to an existing
network /
firewall structure.  I added a wireless NIC card to the firewall
(Netgear
WPN311) and followed the wireless instructions.  I also added a
similar card
to an existing computer (Netgear WG311T).
The Firewall's internal wired network is on 192.168.1.1 and the
Wireless card
is set to 192.168.2.1
The client computer can find the wireless network and I can ping
the wireless
card (192.168.2.1)  However, I can get nowhere else.  I cannot get
to the
wired subnet nor outside access to the internet.  I tried adding a
bridge
from the wired to the wireless network interfaces but that did
nothing.  I
tried putting the wireless Nic to 192.168.1.249 but that made things
worse.
Any help would be greatly appreciated.
Both client and firewall are running Freebsd 6.1  Relevant (that I
can think
of) files from the firewall are included...

Thanks in Advance.

Mark

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


RE: Best Practices - interrupt storm

2006-05-23 Thread fbsd
Stray irq 7 messages
The FBSD FAQ entry says

5.24. What does ``stray IRQ'' mean?

Stray IRQs are indications of hardware IRQ glitches, mostly from
hardware that removes its interrupt request in the middle of the
interrupt request acknowledge cycle.

One has three options for dealing with this:

1. Live with the warnings. All except the first 5 per IRQ are
suppressed anyway.

2. Break the warnings by changing 5 to 0 in isa_strayintr() so that
all the warnings are suppressed.

3. Break the warnings by installing parallel port hardware that uses
IRQ 7 and the PPP driver for it (this happens on most systems), and
install an IDE drive or other hardware that uses IRQ 15 and a
suitable driver for it.

** End of FAQ # 5.24 *

The number 3 item above is false, the ATA IDE standard is the
primary IDE channel master and slave devices use IRQ 14 and the
secondary IDE channel master and slave devices use IRQ 15. IRQ 15 is
also used by many NIC cards. A printer attached to the parallel port
uses IRQ 7, and the annoying bogus stray IRQ 7 messages still gets
issued. So you are left with two options, learn to deal with it, or
hack the code to make it go away.

To stop the annoying bogus stray IRQ 7 messages you can hack the
source where these messages originate from and change the counter
value 5 to 0 so the messages will no longer be issued.

isa_strayintr lives in   /usr/src/sys/i386/isa/intr_machdep.c

cd /usr/src/sys/i386/i386/

cp intr_machdep.c intr_machdep.c.org  # make backup of original

ee intr_machdep.c



Find isa_strayintr to locate the start of the stray IRQ 7 logic

change this

if (intrcnt[1 + intr] = 5)

To this

if (intrcnt[1 + intr] = 0)

Recompile your kernel source and those stray IRQ 7 messages are
gone. Document this some place for yourself just in case you
reinstall from CDROM. Remember that if you cvsup update your source
to upgrade to next stable release, your 'stray IRQ 7 hack' will be
stepped on and return back to the official FBSD version. You will
have to reapply this hack.




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Charles
Howse
Sent: Tuesday, May 23, 2006 10:14 AM
To: FreeBSD Questions
Subject: Best Practices - interrupt storm


Hi,
FreeBSD 6.1-RELEASE, cups-1.1.23.0_1, HP 1100 LaserJet

I've found quite a bit of information about how to deal with:
Interrupt storm detected in irq7:; throttling interrupt source

Problem is, it's a little confusing.
 From what I've gathered, the options are:
Use the BIOS to set the printer port to ECP,
Use lptcontrol to set the port to polled mode,
Use device.hints to do both

IIRC, in the past, I have used lptcontrol to set polled mode, but
that resulted in:
too many stray irq7's, not logging any more

Can anyone suggest a method to make both interrupt storm and too
many stray irq7's go away?

--
Thanks,
Charles
http://bubbabbq.homeunix.net


___
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: setting host name during install?

2006-05-21 Thread fbsd
First of all you are not the owner of the shawcable.net domain name
so you have no control over the DNS server to point
beastie.gv.shawcable.net to the ip address which is your pc.

Commerisal users have static ip address assigned to them by their
ISP.
Thay can then purchase  register an domain name to point to their
static ip address. And in this case that registered domain name
would
go in the hostname=  of rc.conf.

This is not your case. So you should follow this

Assigning a Host name to your FBSD system
Your FBSD operating system has internal software applications (like
sendmail for one) that needs to know the fully qualified domain name
of the PC it's running on. You do this by adding the option
statement hostname= to /etc/rc.conf.

This is the format to use.

thisPCname.fakeDOMAINname.tld

Where thisPCname came be any name you want to identify this
particular PC on your LAN. Since the goal of this Installation Guide
is to build a FBSD gateway server, the name of this PC should be
gateway.

Where .fakeDOMAINname can be any name you want as long as it's not a
registered domain name on the public Internet (unless of course it's
registered to you). Using FBSDyourlastname is a safe fake domain
name to use here. So if your name was Tom Jones, you should use
fbsdjones.

Where .tld can be any of the standard TLD's currently in use. Such
as .com or .usa or .info or .cc, but since .com is the most commonly
used TLD, I recommend using .com.

gateway.fbsdjones.com is a very acceptable fake host name to use.

ee /etc/rc.conf

and add this option statement to the file:


hostname=gateway.fbsdjones.com


Save the changed file and ‘reboot’ your system for your edit changes
to take effect.

When the reboot stops at the login prompt, the line displayed just
above it will now contain your host name you just added to rc.conf.

Installer Note: If you have an official registered domain name that
you want to use for your email sendmail server, then use that in the
hostname= statement. Example, if my registered domain name was
cyberman.com then hostname=’cyberman.com’ is what I would code.


Now for the hostname to be found on the gateway box you will have to
add the hostname you coded to the /etc/hosts file.




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Peter
Michaux
Sent: Sunday, May 21, 2006 12:17 AM
To: SM X; freebsd-questions@freebsd.org
Subject: Re: setting host name during install?


Hi,

Thanks for the info. I reversed what I had done and then used
sysinstall. Going through sysinstall let me enter
beastie.gv.shawcable.net as my host name. However when I try the
following two url's i get and unknown host.

http://beastie:3000/
http://beastie.gv.shawcable.net:3000/

Any other ideas?

Thanks,
Peter


On 5/20/06, SM X [EMAIL PROTECTED] wrote:
 For changing hostname (and/or IP), I found that the best way is to
use
 sysinstall and change it from there (Configure -- Networking --
 Interfaces -- your NIC), since that one will change not only
 rc.conf file, but also the hosts file (so that your browser can
 actually resolve name beastie in the http request), and
potentially
 resolv.conf (where your name server entries (not in your case,
since
 you are on DHCP, therefore you get the DNS server entries
 automatically) are stored.

 Obviously, the remedy in your case is to manually edit the hosts
file
 and assign the appropriate values there.

 Or you can always just use http://localhost:3000 and that should
work.
 Hope this helps,
 smx

 P.S. I would not consider myself an expert, so , if I made any
 mistakes above, hopefully others will alert us all about those.
What I
 can tell you is that I did try the procedure above several times
and
 it was working for me.

 On 5/20/06, Peter Michaux [EMAIL PROTECTED] wrote:
  Hi,
 
  During install, I don't quite understand the host parameter
that I
  supplied for my networking configuration.
 
  I used DHPC and most of the parameters were filled in for me
 
  Host:
  Domain: gv.shawcable.net
  IPv4 Gateway: 192.168.0.1
  Name server: 192.168.0.1
  IPv4 Address: 192.168.0.103
  Netmask: 255.255.255.0
  Extra options to ifconfig (usually empty):
 
  When I pressed tab in the Host box it automatically filled in
with
  .gv.shawcable.net which make sense since I have a cable modem
from
  Shaw in Greater Victoria. But it seems like something should
have gone
  before the first dot. Is there an opportunity here to give my
computer
  a cool name like beastie so I can type things like
  http://beastie:3000; instead of http://192.168.0.103:3000; ?
Or is
  this host name supposed to be some server at my ISP?
 
  I changed the hostname using the following steps but I don't
know what
  I really gained.
 
  1. vi /etc/rc.conf
  2. change
   hostname=.gv.shawcable.net
 to
   hostname=beastie
  3. restart computer so change becomes reality.
  4. now the command prompt says [EMAIL PROTECTED]
 
  When I tried http://beastie:3000; I ended up

RE: 6.1 CD is Hanging on Install

2006-05-20 Thread fbsd
Trouble shooting 101.

1. If you burned the install cd from the iso file, did you 
first check that what you downloaded is correct by running 
md5 and comparing the hash number against the checksum value?

2. Check the motherboard bio settings. 
Turn off all power management options.
If there is an option to select the operation system, 
select anything other than windows. 
Check that irq number assignments are set to auto.
Check that hard drive master/slave is set to auto.

3. If nothing works to fix problem them post your question to 
the FreeBSD mobile list. The mobile list is just for laptop 
questions so you should get better help there. 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Justin
Sent: Friday, May 19, 2006 1:31 PM
To: freebsd-questions@freebsd.org
Subject: 6.1 CD is Hanging on Install


Hello,

I'm trying to venture into the world of BSD.  Thus, I have just
recently joined the mailing list and this is my first message.  I have
tried to research my question and found a similar problem, but I was
unable to find any type of solution.

Here's What's Happening:

After I boot my laptop to the installer CD and select what I'd like to
boot (I've tried the default, no acpi, and safe mode with the same
results), the installer seems to lock up the computer after the
following two lines:

  Timecounter TSC frequency 1600070929 Hz quality 800
  Timecounters tick every 1.000 msec

 At this point the computer responds to nothing but holding down the
power button, which obviously kills the power.  Just in case it was
trying to work something out (after all, the thinking light was on),
I let my laptop sit for almost four hours with still no change.

I have used Debian and Fedora on this computer previously with no
problems (and obviously Windows works also).

Since there are really no other options as far as booting goes, I
really don't know what I've done wrong or what I can do.

Just is case it helps, here is some information about my system:
Compaq Presario M2105US
  AMD Mobile Sempron processor
  1GB RAM
  ATI Express 200M graphics card w/ shared memory

Also, I've tried to use the 2CD set and Boot Only CD for the i386.

Thanks in advance for your help.

~Justin
___
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: installing MySQL with FreeBSD pkg_add

2006-05-20 Thread fbsd
The pkg_add -r msql41-server auto installs mysql41-client
as a dependaent so when you ran pkg_add -r mysql41-client
it found it was all ready there just like it should.
This is not an error.

Next you have to do rehash command or reboot box so system
can find those new modules.

Then run
mysql_install_db --user=mysql
from the command line to tell mysql to create its internel control
db.

Then mysql -u root   should work.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Peter
Michaux
Sent: Saturday, May 20, 2006 11:58 AM
To: freebsd-questions@freebsd.org
Subject: installing MySQL with FreeBSD pkg_add


Hi,

I am happy to have FreeBSD 6.1-RELEASE and KDE running on my intel
box. I am now trying to install MySQL. I logged in as root and ran
the
following commands

# pkg_add -r msql41-server
 Added group mysql
 Added user mysql
# pkg_add -r mysql41-client
mysql-client-4.1.18_1 or its older version already installed
# mysql -uroot
ERROR 2002 (HY000): Can't connect to local MySQL server through
socket
'tmp/mysql.sock' (2)


What to do?

Thanks,
Peter
___
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: PCI card not recognised

2006-05-19 Thread fbsd
Try the card in different expansion slots on the motherboard.
Check bios for PCI slots are not assign irq numbers but use auto
setting.
Turn off plug_n_play option in bios.
If PCI card has lights do they blink? Is red or green lights on all
the time?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Mike Tancsa
Sent: Friday, May 19, 2006 9:44 PM
To: Chris Hastie
Cc: freebsd-questions@freebsd.org
Subject: Re: PCI card not recognised


On Fri, 19 May 2006 09:29:19 +0100, in
sentex.lists.freebsd.questions
you wrote:

I've just received an OEM Wildcard X100P FXO card. Installing into
my
FreeBSD 5.4-RELEASE box it doesn't appear to be recognised at all.
Since
it's the first time I've put a PCI card in this machine I've just
dropped a Netgear ethernet card in to make sure there isn't
something
fundamentally wrong with the motherboard, but that works fine.

Hi,
Even if a driver did not attach, the card should show up in the
pciconf -lv.  I would say the card is cooked.

---Mike

Mike Tancsa, Sentex communications http://www.sentex.net
Providing Internet Access since 1994
[EMAIL PROTECTED], (http://www.tancsa.com)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]

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


RE: php5 port broken???

2006-05-17 Thread fbsd


 The php5 port is broken. The port's distro file contains incorrect
size hash's.
Delete the ports distro file and do make config to get options
screen.
Only option that should be on is the create apache module option.
Then do make install clean

Since this problem was reported to the ports group last week the
port
config files may have been fix already.
Try rm -rf /usr/ports/lang/php5  to delete the old ports config
files and
then do cvsup to get most current php5 port config files.


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


RE: phpMyAdmin Question from user

2006-05-17 Thread fbsd
The  phpMyAdmin package is broken in Freebsd 6.1 because the  pdflib
dependent in the port is broken.
You have to run the port version of phpMyAdmin.  First do a port
make config and disable all the options.
You will see pdflib as one of those. Then do make install clean and
it will build just fine.
Please submit bug PR so ports group will see it needs attention.

This problem is conponded even more because phpMyAdmin defaults to
using php4 and mysql4.
If you install mysql5 package first then phpMyAdmin will use it over
mysql4.

phpMyAdmin also defaults to using php4 which is also broken.
So follow the instruction in the post on this list about php4/php5
not working.
Followed by phpMyAdmin and then phpMyAdmin will use php5.

In 6.0 the php4/php5 packages are not broken. Just the phpMyAdmin
port/package is which can
 be worked around as said above.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Николай
Пашин
Sent: Wednesday, May 17, 2006 4:13 AM
To: freebsd-questions@FreeBSD.org
Subject: Question from user


Good afternoon! I`m from Russia. My name is Nick Pashin. I have some
questions about installation phpMyAdmin. During installation freebsd
5.3 (with updated ports) tried to download pdflib-lite-6.0.2.tar.gz
but can`t find this file. Where I can get this file. I could`t find
it on your ftp-server. In advance thank you very 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]


6.1 new sysinstall country panel?

2006-05-17 Thread fbsd
While installing fresh virgin 6.1 from cdrom, the first thing 
I get is a new panel asking for me to select the country I am from.

What is the purpose of this new country selection screen?
Why was it added to sysinstall in 6.1?

How can I bypass selecting a country?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Is there a method to not probe certain devices at startup?

2006-05-17 Thread fbsd


Check that the pc bios has USB disabled.
Also check that rc.conf does not have statement to enable USB.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Danny
MacMillan
Sent: Wednesday, May 17, 2006 1:16 PM
To: freebsd-questions@freebsd.org
Subject: Is there a method to not probe certain devices at startup?


Hi,

I have a FreeBSD 4.11 box (monowall, actually) that has apparently
had a
bit of a crisis with its USB controller hardware.  This is
completely
irrelevant to me as it is a purpose-built box with no need to use
USB
now or in the future.  The only problem is that when the box boots,
it
hangs for about 5 to 10 minutes trying to talk to the USB device.

Here is an excerpt from dmesg (pardon the wrapping):

uhci0: VIA 83C572 USB controller port 0xd400-0xd41f irq 11 at
device
16.0 on pci0
usb0: VIA 83C572 USB controller on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: VIA 83C572 USB controller port 0xd800-0xd81f irq 11 at
device
16.1 on pci0
usb1: VIA 83C572 USB controller on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: VIA 83C572 USB controller port 0xdc00-0xdc1f irq 9 at
device
16.2 on pci0
usb2: VIA 83C572 USB controller on uhci2
usb2: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhub2: device problem, disabling port 2

Immediately before the last line of output above is where it hangs.

I found some oblique references to device.hints on google but I
couldn't
find anything that describes exactly what needs to go in that file.

Thanks,

--
Danny MacMillan
___
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: Cluster solution

2006-05-17 Thread fbsd
 Take a look at port net/freevrrpd.

http://redundancy.redundancy.org/fbsd_lb.html

http://www.freebsd.org.hk/html/sgcluster/

http://pf4freebsd.love2party.net/carp.html


http://blizzard.rwic.und.edu/~nordlie/miniwulf/

It uses MPICH and LAM/MPI


Have a look at HUT (High Uptime Project) :
http://www.bsdshell.net
and
http://www.aims.com.au/chris/cluster/
and
http://sporner.dyndns.org/freebsdcluster/ (sometimes down ;))


http://nrez.net/~rmger/fbsdcluster/cluster-doc.html
http://acme.ecn.purdue.edu/


http://www.leidinger.net/cgi-bin/search.pl?q=clusternum=10



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Derek
Ragona
Sent: Wednesday, May 17, 2006 12:23 PM
To: Ludovit Koren; freebsd-questions@freebsd.org
Cc: freebsd-net@freebsd.org
Subject: Re: Cluster solution


You'd need to be more specific particularly with how much money you
want to
spend.  HA Clusters are expensive to build.

 -Derek

At 10:18 AM 5/17/2006, Ludovit Koren wrote:


Hi,

I need help in designing of cluster solution based on FreeBSD. I
tried
carp for switching IP addresses, it seems to work ok. The solution
is
suitable for DNS, MTA, static web pages, web proxy and reverse
proxy.

I didn't find anything quite suitable for dynamic web pages with
PHP
and MySQL backend. I found just master and slave replication and
clustering in MySQL. There could be problem if master fails with
automatic promotion of slave to master and with the
resynchronization
of database after recovery of master database.

Has anybody any experience with described setup. Howtos, pointers,
links about configuration and software solutions are very
appreciated.

Thanks in advance.

Regards,

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

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

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

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

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


RE: Kids from Indonesia (sorry, the 1st was wrong!)

2006-05-17 Thread fbsd


Your modem is an winmodem.
It's specially manufactured for windows operating systems.
It does not work on FreeBSD.
There is a port which works for some winmodems on FreeBSD called
ltmdm.
ltmdm may or may not work for your modem.
Giving it a try is the only way to find out.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Kevin
Kinsey
Sent: Wednesday, May 17, 2006 3:31 PM
To: Daniel A.
Cc: freebsd-questions@freebsd.org; Dean Darmawan
Subject: Re: Kids from Indonesia (sorry, the 1st was wrong!)


Daniel A. wrote:

 Hi there, I'm Dean Darmawan and still 18y/o. Well, i get
interested
 with Free BSD, but the main problem are can this distro Linux
 recognize my internal modem 56k that I ussally use to get
connected to
 the Internet? For that kind of reason, i got confuse and step
back!!
 My modem now is D-Link DFM-562IS HSFi PCI Modem. Thanx

 FreeBSD is not a Linux distribution. And yes, it does support your
modem.

I googled a bit, but have to ask, since this has to
be new and against conventional wisdom ... how exactly
does FreeBSD support this modem?  It appears to be
Conexant based, not Lucent.

Looking for pointers.

KDK

--
In 1914, the first crossword puzzle was printed in a newspaper.  The
creator received 000 down ... and 000 across.

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


Help to find cause of recurring crash

2006-05-16 Thread fbsd

Hello All,

I'm  running a home email server and twice in the last week it has 
rebooted itself and been unable to restart due to corruption of the 
filesystem. I found the following in /var/log/messages


May 16 17:46:07 hpvectra syslogd: kernel boot file is /boot/kernel/kernel
May 16 17:46:07 hpvectra kernel:
May 16 17:46:07 hpvectra kernel:
May 16 17:46:07 hpvectra kernel: Fatal trap 12: page fault while in 
kernel mode

May 16 17:46:07 hpvectra kernel: fault virtual address= 0x1c
May 16 17:46:07 hpvectra kernel: fault code= supervisor write, 
page not present

May 16 17:46:07 hpvectra kernel: instruction pointer= 0x20:0xc062c5e8
May 16 17:46:07 hpvectra kernel: stack pointer= 0x28:0xe5079c50
May 16 17:46:07 hpvectra kernel: frame pointer= 0x28:0xe5079c64
May 16 17:46:07 hpvectra kernel: code segment= base 0x0, limit 
0xf, type 0x1b

May 16 17:46:07 hpvectra kernel: = DPL 0, pres 1, def32 1, gran 1
May 16 17:46:07 hpvectra kernel: processor eflags= interrupt 
enabled, resume, IOPL = 0

May 16 17:46:07 hpvectra kernel: current process= 52 (vnlru)
May 16 17:46:07 hpvectra kernel: trap number= 12
May 16 17:46:07 hpvectra kernel: panic: page fault
May 16 17:46:07 hpvectra kernel: Uptime: 5d7h4m50s
May 16 17:46:07 hpvectra kernel: Dumping 1023 MB (2 chunks)
May 16 17:46:07 hpvectra kernel: chunk 0: 1MB (159 pages) ... ok
May 16 17:46:07 hpvectra kernel: chunk 1: 1023MB (261872 pages) 1007 991 
975 959 943 927 911 895 879 863 847 831 815 799 783 767 751 735 719 703 
687 671 655 639 623 607 591 575 559 543 527 511 495 479 463 447 431 415 
399 383 367 351 335 319 303 287 271 255 239 223 207 191 175 159 143 127 
111 95 79 63 47 31 15 ... ok

May 16 17:46:07 hpvectra kernel:
May 16 17:46:07 hpvectra kernel: Dump complete
May 16 17:46:07 hpvectra kernel: Automatic reboot in 15 seconds - press 
a key on the console to abort

May 16 17:46:07 hpvectra kernel: Rebooting...

When I turn on the monitor I see that the reboot has not been successful 
due to / was not properly dismounted and it is asking for fsck to be 
run manually. When I do that everything is fine again.


Can anybody help me find the cause of the crash? What extra information 
is needed and how do I find that information? I'm relatively new to FreeBSD.


Thanks in advance,

Ron



PS Other information that may be of help:

I'm running 6.0 release,
X is not running
no users are logged in, cursor sits at the login screen
running programs include, fetchmail daemon, dovecot, procmail, 
clamassassin, clamd,

only strange behaviour noted  is the following error messages

May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf: 
cannot open ./dfk49H9AXd016830: No such file or directory
May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf: 
cannot open ./dfk49H9Ahr016830: No such file or directory
May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf: 
cannot open ./dfk49H9Amm016830: No such file or directory
May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf: 
cannot open ./dfk49H9A5E016830: No such file or directory
May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf: 
cannot open ./dfk49H9AHZ016830: No such file or directory
May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf: 
cannot open ./dfk49Hlokm016830: No such file or directory
May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf: 
cannot open ./dfk49HrgQC016830: No such file or directory
May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf: 
cannot open ./dfk49HrgiD016830: No such file or directory
May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf: 
cannot open ./dfk45HuHZj028031: No such file or directory
May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf: 
cannot open ./dfk45H9Q8H028031: No such file or directory
May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf: 
cannot open ./dfk45H9QIF028031: No such file or directory
May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf: 
cannot open ./dfk45H9Q2k028031: No such file or directory
May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf: 
cannot open ./dfk45H9Q3g028031: No such file or directory
May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf: 
cannot open ./dfk45H9Q8I028031: No such file or directory
May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf: 
cannot open ./dfk44HetDK015554: No such file or directory
May 11 03:02:52 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf: 
cannot open ./dfk44HkTLo015554: No such file or directory
May 11 03:02:53 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf: 
cannot open ./dfk44HuiTU015554: No such file or directory
May 11 03:02:56 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf: 
cannot open ./dfk44IA0GF016123: No such file or directory

Re: Help to find cause of recurring crash

2006-05-16 Thread fbsd

Pietro Cerutti wrote:

On 5/16/06, fbsd [EMAIL PROTECTED] wrote:

Hello All,

I'm  running a home email server and twice in the last week it has
rebooted itself and been unable to restart due to corruption of the
filesystem. I found the following in /var/log/messages

May 16 17:46:07 hpvectra syslogd: kernel boot file is 
/boot/kernel/kernel

May 16 17:46:07 hpvectra kernel:
May 16 17:46:07 hpvectra kernel:
May 16 17:46:07 hpvectra kernel: Fatal trap 12: page fault while in
kernel mode
May 16 17:46:07 hpvectra kernel: fault virtual address= 0x1c
May 16 17:46:07 hpvectra kernel: fault code= supervisor write,
page not present
May 16 17:46:07 hpvectra kernel: instruction pointer= 
0x20:0xc062c5e8
May 16 17:46:07 hpvectra kernel: stack pointer= 
0x28:0xe5079c50
May 16 17:46:07 hpvectra kernel: frame pointer= 
0x28:0xe5079c64

May 16 17:46:07 hpvectra kernel: code segment= base 0x0, limit
0xf, type 0x1b
May 16 17:46:07 hpvectra kernel: = DPL 0, pres 1, def32 1, gran 1
May 16 17:46:07 hpvectra kernel: processor eflags= interrupt
enabled, resume, IOPL = 0
May 16 17:46:07 hpvectra kernel: current process= 52 (vnlru)
May 16 17:46:07 hpvectra kernel: trap number= 12
May 16 17:46:07 hpvectra kernel: panic: page fault
May 16 17:46:07 hpvectra kernel: Uptime: 5d7h4m50s
May 16 17:46:07 hpvectra kernel: Dumping 1023 MB (2 chunks)
May 16 17:46:07 hpvectra kernel: chunk 0: 1MB (159 pages) ... ok
May 16 17:46:07 hpvectra kernel: chunk 1: 1023MB (261872 pages) 1007 991
975 959 943 927 911 895 879 863 847 831 815 799 783 767 751 735 719 703
687 671 655 639 623 607 591 575 559 543 527 511 495 479 463 447 431 415
399 383 367 351 335 319 303 287 271 255 239 223 207 191 175 159 143 127
111 95 79 63 47 31 15 ... ok
May 16 17:46:07 hpvectra kernel:
May 16 17:46:07 hpvectra kernel: Dump complete
May 16 17:46:07 hpvectra kernel: Automatic reboot in 15 seconds - press
a key on the console to abort
May 16 17:46:07 hpvectra kernel: Rebooting...


The only thing I can see (read: understand) is:
the process that caused the kernel panic is vnlru:

vnlru flushes and frees vnodes when the system hits the
kern.maxvnodes limit. This kernel thread sits mostly idle, and only
activates if you have a huge amount of RAM and are accessing tens of
thousands of tiny files.

(from http://www.unixguide.net/freebsd/faq/10.31.shtml)

So, consider increasing kern.maxvnodes if your system deals with such
a huge amount of files.






Thanks in advance,


Hope this helps,



Ron




Thanks Pietro,

I will do that. However I don't think 1GB of RAM is so big and as a home 
server I would be lucky to deal with more than a couple of hundred 
emails per day. So if anyone can shed any more light it will be 
appreaciated.


Thanks

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


imagecreate command PHP5

2006-05-16 Thread fbsd
How do I add imagecreate command support to PHP5??
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Loading php5 and apache 1.3

2006-05-16 Thread fbsd
I am fighting that same battle my self on a 6.1 system.
I use the packages to do this.
apache, php5, mysql5   Have no problem with the mysql5 part.

I reported the default had changed for php5 port not to
include the apache module on last Thursday. Today it looks
like the port default has been changed back to including
the apache module.  The package of php5 has not been recreated
yet so you have to use the port version.

Best to delete the /usr/ports/lang/php5 directories and
download the php5 port config files anew to get the most
current version from the cvsup server. Also saw some updates
to the ports base come down which may also effect the
correction of this problem

Then do make config to verify the apache module
build option is selected.

Then make install clean on php5.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ron Clark
Sent: Tuesday, May 16, 2006 10:40 AM
To: freebsd-questions@freebsd.org
Subject: Loading php5 and apache 1.3



   Hello all,


   Two weeks ago I buid a FreeBSD 5.x b=x for work and load apache
1.3
   and php5 with no issues. A week later, I tr= and build another
   server for the house and I am having all kinds of isues=ith php.
I
   understand the ports have changed and libphp5.so is no longer
compiled by default when ports/lang/php5-extensions is loaded, so
how
   does =ne go about setting up a web server with php5, easily? Has
   anyone done thi= yet, either 5.x or 6.x?


   I need help! Thanks in a=vance.

   Ron ___
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: php5 port error

2006-05-16 Thread fbsd
Yes I just went through this this morning. 
The md5 size count is not correct in the php5 port.
See /usr/ports/lang/php5/distro
I renamed the distro to distro.org and did 
make install clean and it found source to download.

Warning.  You have to download a new copy of the php5 
port config files to get version that changes back to 
defaulting to including the apache module. 

Do make config before make install so you can 
verify the compile time options are set to 
include the apache module.

Please submit bug PR on this.  

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ashley Moran
Sent: Tuesday, May 16, 2006 10:01 AM
To: freebsd-questions@freebsd.org
Subject: Re: php5 port error


Has anyone installed PHP5 on 6.1 yet?

I've tried fetching a file off a mirror and copying it to /usr/ports/distfiles 
but I still get php-5.1.4.tar.bz2 doesn't seem to exist 
in /usr/ports/distfiles/

Ashley

-- 
If you do it the stupid way, you will have to do it again
  - Gregory Chudnovsky
___
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: imagecreate command PHP5

2006-05-16 Thread fbsd
Thank you.  That was the info I needed. Got it working now.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Daniel A.
Sent: Tuesday, May 16, 2006 10:01 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED] ORG
Subject: Re: imagecreate command  PHP5


fbsd wrote:
 How do I add imagecreate command support to PHP5??
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]
Firstly, you lookup the function on php.net and see what it depends
on.
In this case, imagecreate depends on GD. So, this means you have to
install the graphics/php5-gd port.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]

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


Re: Help to find cause of recurring crash

2006-05-16 Thread fbsd

Bill Moran wrote:

On Tue, 16 May 2006 21:09:20 +1000
fbsd [EMAIL PROTECTED] wrote:

  

Hello All,

I'm  running a home email server and twice in the last week it has 
rebooted itself and been unable to restart due to corruption of the 
filesystem. I found the following in /var/log/messages


May 16 17:46:07 hpvectra syslogd: kernel boot file is /boot/kernel/kernel
May 16 17:46:07 hpvectra kernel:
May 16 17:46:07 hpvectra kernel:
May 16 17:46:07 hpvectra kernel: Fatal trap 12: page fault while in 
kernel mode

May 16 17:46:07 hpvectra kernel: fault virtual address= 0x1c
May 16 17:46:07 hpvectra kernel: fault code= supervisor write, 
page not present

May 16 17:46:07 hpvectra kernel: instruction pointer= 0x20:0xc062c5e8
May 16 17:46:07 hpvectra kernel: stack pointer= 0x28:0xe5079c50
May 16 17:46:07 hpvectra kernel: frame pointer= 0x28:0xe5079c64
May 16 17:46:07 hpvectra kernel: code segment= base 0x0, limit 
0xf, type 0x1b

May 16 17:46:07 hpvectra kernel: = DPL 0, pres 1, def32 1, gran 1
May 16 17:46:07 hpvectra kernel: processor eflags= interrupt 
enabled, resume, IOPL = 0

May 16 17:46:07 hpvectra kernel: current process= 52 (vnlru)
May 16 17:46:07 hpvectra kernel: trap number= 12
May 16 17:46:07 hpvectra kernel: panic: page fault
May 16 17:46:07 hpvectra kernel: Uptime: 5d7h4m50s
May 16 17:46:07 hpvectra kernel: Dumping 1023 MB (2 chunks)
May 16 17:46:07 hpvectra kernel: chunk 0: 1MB (159 pages) ... ok
May 16 17:46:07 hpvectra kernel: chunk 1: 1023MB (261872 pages) 1007 991 
975 959 943 927 911 895 879 863 847 831 815 799 783 767 751 735 719 703 
687 671 655 639 623 607 591 575 559 543 527 511 495 479 463 447 431 415 
399 383 367 351 335 319 303 287 271 255 239 223 207 191 175 159 143 127 
111 95 79 63 47 31 15 ... ok

May 16 17:46:07 hpvectra kernel:
May 16 17:46:07 hpvectra kernel: Dump complete
May 16 17:46:07 hpvectra kernel: Automatic reboot in 15 seconds - press 
a key on the console to abort

May 16 17:46:07 hpvectra kernel: Rebooting...

When I turn on the monitor I see that the reboot has not been successful 
due to / was not properly dismounted and it is asking for fsck to be 
run manually. When I do that everything is fine again.



You can save yourself some hassle by enabling fsck_y_enable=yes in
/etc/rc.conf.  If the initial fsck fails, it will try again with fsck -y.
If that fails, you've got serious trouble.

That will make the reboots a _little_ less of a problem for you, but it's
only paint over the rust.  What you really need to do is set up your
system for kernel debugging:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html
This will allow you to collect enough information that a developer can
help.

However, before doing that, I would upgrade to 6.1, in case the problem
has already been fixed.  Additionally, FreeBSD is heavily tested enough
that kernel panics are _usually_ the result of failing hardware.  I'd
get ahold of a memtest86 CD and test your RAM before doing much else.

  

Good tip Bill re fsck. I'll do that.

I'll also upgrade and run memtest.

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


Re: Help to find cause of recurring crash

2006-05-16 Thread fbsd

Ted Mittelstaedt wrote:

Ron,

  Is this the HP Vectra server that has the onboard Adaptec
SCSI controller, and are you running SCSI drives on it?

  If so, there's another guy that has one of these servers
and was complaining about bugs in the adaptec driver sometime
last year causing a similar issue.  I told him to send-pr it
but I don't think anything came of that.

  I would say you have a 80% chance it's what they call:
non-compliant hardware  It is well known that HP has a microcode
license from Adaptec, they and Compaq have modified Adaptec's microcode
before.  It is really annoying when they do it and put their modded
microcode into Adaptec's cards - I have had before on my desk,
2 identical Adaptec SCSI cards, that when both placed in a Compaq
desktop will boot up with identical firmware version numbers with
one exception - one of them has a trailing S on the firmware version
number - and both work exactly the same in the Compaq, yet take
the Adaptec card that was purchased from retail and put it in
another system and it works fine, but take the adaptec card
that was purchased from Compaq/HP spares and it will not work in
any other system.

  It's enough to piss off an idiot.

Ted

  

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of fbsd
Sent: Tuesday, May 16, 2006 4:09 AM
To: freebsd-questions@freebsd.org
Subject: Help to find cause of recurring crash


Hello All,

I'm  running a home email server and twice in the last week it has
rebooted itself and been unable to restart due to corruption of the
filesystem. I found the following in /var/log/messages

May 16 17:46:07 hpvectra syslogd: kernel boot file is
/boot/kernel/kernel
May 16 17:46:07 hpvectra kernel:
May 16 17:46:07 hpvectra kernel:
May 16 17:46:07 hpvectra kernel: Fatal trap 12: page fault while in
kernel mode
May 16 17:46:07 hpvectra kernel: fault virtual address= 0x1c
May 16 17:46:07 hpvectra kernel: fault code= supervisor write,
page not present
May 16 17:46:07 hpvectra kernel: instruction pointer=
0x20:0xc062c5e8
May 16 17:46:07 hpvectra kernel: stack pointer=
0x28:0xe5079c50
May 16 17:46:07 hpvectra kernel: frame pointer=
0x28:0xe5079c64
May 16 17:46:07 hpvectra kernel: code segment= base 0x0, limit
0xf, type 0x1b
May 16 17:46:07 hpvectra kernel: = DPL 0, pres 1, def32 1, gran 1
May 16 17:46:07 hpvectra kernel: processor eflags= interrupt
enabled, resume, IOPL = 0
May 16 17:46:07 hpvectra kernel: current process= 52 (vnlru)
May 16 17:46:07 hpvectra kernel: trap number= 12
May 16 17:46:07 hpvectra kernel: panic: page fault
May 16 17:46:07 hpvectra kernel: Uptime: 5d7h4m50s
May 16 17:46:07 hpvectra kernel: Dumping 1023 MB (2 chunks)
May 16 17:46:07 hpvectra kernel: chunk 0: 1MB (159 pages) ... ok
May 16 17:46:07 hpvectra kernel: chunk 1: 1023MB (261872 pages)
1007 991
975 959 943 927 911 895 879 863 847 831 815 799 783 767 751 735 719 703
687 671 655 639 623 607 591 575 559 543 527 511 495 479 463 447 431 415
399 383 367 351 335 319 303 287 271 255 239 223 207 191 175 159 143 127
111 95 79 63 47 31 15 ... ok
May 16 17:46:07 hpvectra kernel:
May 16 17:46:07 hpvectra kernel: Dump complete
May 16 17:46:07 hpvectra kernel: Automatic reboot in 15 seconds - press
a key on the console to abort
May 16 17:46:07 hpvectra kernel: Rebooting...

When I turn on the monitor I see that the reboot has not been
successful
due to / was not properly dismounted and it is asking for fsck to be
run manually. When I do that everything is fine again.

Can anybody help me find the cause of the crash? What extra information
is needed and how do I find that information? I'm relatively
new to FreeBSD.

Thanks in advance,

Ron



PS Other information that may be of help:

I'm running 6.0 release,
X is not running
no users are logged in, cursor sits at the login screen
running programs include, fetchmail daemon, dovecot, procmail,
clamassassin, clamd,
only strange behaviour noted  is the following error messages

May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf:
cannot open ./dfk49H9AXd016830: No such file or directory
May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf:
cannot open ./dfk49H9Ahr016830: No such file or directory
May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf:
cannot open ./dfk49H9Amm016830: No such file or directory
May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf:
cannot open ./dfk49H9A5E016830: No such file or directory
May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf:
cannot open ./dfk49H9AHZ016830: No such file or directory
May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf:
cannot open ./dfk49Hlokm016830: No such file or directory
May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf:
cannot open ./dfk49HrgQC016830: No such file or directory
May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE

RE: Has the port collection become to large to handle.

2006-05-15 Thread fbsd

Keep the ports tree how it is, as others have said the size is small
on modern hard drives and bandwidth trivial, once the initial ports
tree is in place keeping it up to date needs very little bandwidth
and
its only distfiles that tend to be large, but you only download
distfiles for ports you install so this is a very good system.  If
at
least one person uses a port it is justified and I very much like
that
most tiny apps I search for in the ports tree do indeed exist.  How
would you define commonly used ports? we would end up with a
favouritism system in place and many arguments about which ports
would
be included in the commonly used group, you also forget that many
ports that may look meaningless from where you sit are necessary as
dependants to other ports.

Is php4 out of date? no its still been maintained and is more
suitable
for many people, likewise with mysql 4.1.  Openssl 0.9.7 all are
older
branches but not out of date.  The ports system is very clever in
how
it is so adaptive eg. Ruby needs openssl and if you have 0.9.7 it
sets
that as the dependency rather then 0.9.8.  No hacking of makefiles
needed.

Chris

** The point being made by the OP is the packages are
not
being kept up to date and the usage of packages  ports don't work
together
because of the overall size of the collection.
How does what you posted address the packages? ***

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


RE: Newbie File system

2006-05-15 Thread fbsd

  Look in /usr/home

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Maan Jee
Sent: Monday, May 15, 2006 11:21 AM
To: freebsd-questions@freebsd.org
Subject: Newbie File system


Hi

Can someone explane that at which filesystem is my /home directory
located?


Filesystem  1K-blocksUsedAvail Capacity  Mounted on
/dev/ad0s1a50763055002   412018  12%/
devfs   1   1   0 100%
/dev
/dev/ad0s1e507630  12   467008   0%/tmp
/dev/ad0s1f  34336100 1564298 30024914 5%/usr
/dev/ad0s1d   150619024892  1360804  2%/var

thanks/mj
___
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]


  1   2   >