Re: no libphp5.so

2007-04-02 Thread patrick

You should just install it from the ports. As root, type:

cd /usr/ports/lang/php5
make all install clean

Be sure to check the APACHE option to build the Apache module.
You'll probably also want to install some of the extensions from
/usr/ports/lang/php5-extensions and /usr/ports/www/php-session.

Patrick


On 4/1/07, jekillen [EMAIL PROTECTED] wrote:

Hello agian;
I have been gripping about
php not producing libphp5.so
for use as a DSO with Apache
on FreeBSD v 6.2
  good news 
I solved it.
By re installing the system
and starting all over again.
After reading the output of ./configure
in the php source dir, it was reporting
that it could not find a compatible version
of Bison.
I cannot say that that is THE cause, but
whatever it was re installing solved it.
I did not get any responses so there
is no one in particular to thank but
thanks all, FreeBSD is free software
and what works is far greater in volume
and value than what does not
Now if only we could get to the developers
of the human (user level) mind, maybe we could
debug that and be better off.
Jeff K

___
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: xorg broken after using portupgrade

2007-03-30 Thread Patrick Lamaizière
Le vendredi 30 mars 2007, E. J. Cerejo a écrit :

 I'm running FBSD release 6.2 and after updating my ports with portupgrade
 I can start xorg.  I'm getting this error message:

 waiting for X server to shut down FreeFontPath: FPE
 /usr/X11R6/lib/X11/fonts/misc/:unscaled refcount is 2, should be 1;
 fixing. X connection to :0.0 broken (explicit kill or server shutdown).


 Has anyone any idea what might be the problem?

Look at : /var/log/Xorg.0.log

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


Assemblers for FreBSD

2007-03-11 Thread Patrick Bowen
If one wanted to learn Assembly Language Programming, would he be better 
served starting with as(1) or nasm(1)? Also, are either of those 
applicable to AMD64, or just i386?


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


Re: polling my FreeBSD compariots...

2007-03-11 Thread Patrick Bowen

Jonathan Horne wrote:
ive been a KDE user for as long as i can remember.  this week, im off from 
work, and want to spend some time trying something new with my laptop.  so 
far i have it built with 6.2-RELEASE-p2, and xorg up to the minimal desktop.


id like to try to try something thats not gnome, or basically id like to try 
some of the lesser known, but still just as functional desktops.


can i get some recommendations, as well as what graphical mail reader and web 
browser works best with your recommendation?


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

  


Jonathan;

Take a look at WindowMaker, or BlackBox if you want to get real minimal. 
Both are excellent window managers (not desktops) and can be found in 
ports. Firefox, Thunderbird, and all the rest work just fine.


Patrick

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


Re: PRISM3(PCMCIA) and/or wi(4) driver unable to do WPA?

2007-03-07 Thread Patrick Bowen

Doug Poland wrote:

Hello,

I have just acquired a Linksys Instant Wireless Network PC Card
802.11b wireless NIC.  When plugged into a 6.2 i386 laptop, dmesg
reports:

wi0: The Linksys Group, Inc. Instant Wireless Network PC Card at
port 0x100-0x13f irq 11 function 0 config 1 on pccard1
wi0: using RF:PRISM3(PCMCIA)
wi0: Intersil Firmware: Primary (1.1.0), Station (1.4.2)
wi0: Ethernet address: 00:06:25:18:6e:1d

When I attempted to connect to my WPA-PSK WAP, wpa_supplicant(8) just
hangs.  When I turned off encryption on the WAP, and enter:

# dhclient wi0

Then the NIC connects just fine.  So the question is, is the NIC or the
wi(4) driver incapable of WPA encryption?

Thanks for the help.

  



Try adding;

ifconfig_wi0=DHCP

to /etc/rc.conf.

That way it will run dhclient automatically whenever you plug the card in.

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


Re: PRISM3(PCMCIA) and/or wi(4) driver unable to do WPA?

2007-03-07 Thread Patrick Bowen

Doug Poland wrote:

On Wed, March 7, 2007 17:57, Patrick Bowen wrote:
  

Doug Poland wrote:


Hello,

I have just acquired a Linksys Instant Wireless Network PC Card
802.11b wireless NIC.  When plugged into a 6.2 i386 laptop, dmesg
reports:

wi0: The Linksys Group, Inc. Instant Wireless Network PC Card at
port 0x100-0x13f irq 11 function 0 config 1 on pccard1
wi0: using RF:PRISM3(PCMCIA)
wi0: Intersil Firmware: Primary (1.1.0), Station (1.4.2)
wi0: Ethernet address: 00:06:25:18:6e:1d

When I attempted to connect to my WPA-PSK WAP, wpa_supplicant(8)
just hangs.  When I turned off encryption on the WAP, and enter:

# dhclient wi0

Then the NIC connects just fine.  So the question is, is the NIC or
the wi(4) driver incapable of WPA encryption?

  

Try adding;

ifconfig_wi0=DHCP

to /etc/rc.conf.

That way it will run dhclient automatically whenever you plug the card
in.


I don't have a problem running dhclient, I have a problem with WPA. 
Initially, my rc.conf said:


ifconfig_wi0=WPA DHCP

and I had the correct entry in my /etc/wpa_supplicant.conf.  I could
not connect to my WAP until I turned off WPA, as I stated in my OP.

  


Doug:

Sorry, I misunderstood. Please excuse the noise...

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


[portupgrade] pkgdb -L

2007-03-03 Thread Patrick Lamaizière
Hello,

I'm asking about the goal of the new option -L of pkgdb :
 -L --fix-lost Check and restore lost dependencies against the ports tree.

What is a lost dependency ?

# pkgdb -L
Look for lost dependencies:
ImageMagick-6.3.2.0: found
  print/ghostscript-afpl
- Fixed.
ORBit2-2.14.6: ok
[...]

But i use ghostscript-gnu-7.07_15

So :
# pkgdb -F
---  Checking the package registry database
Stale dependency: ImageMagick-6.3.2.0 - ghostscript-afpl-8.54,1 
(print/ghostscript-afpl):
ghostscript-gnu-7.07_15 (score:70%) ? ([y]es/[n]o/[a]ll) [a]

And then i've got the same lost dependency again.

I do not understand the goal and the utility of this option -L, a sample ?

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


Re: Linux equivalent to freebsd

2007-02-28 Thread Patrick Bowen

[EMAIL PROTECTED] wrote:

Hi,

Sorry this question is a little off-topic...

We've been using Freebsd for many years and all of our servers are running
freebsd.

The only thing that is a pain with freebsd, is poor commercial support :(

We are running in a situation where a customer needs Zend platform 3
(http://www.zend.com/products/zend_platform) which won't be available for
freebsd until the end of the year...

So I will need to setup a machine with linux.

I don't know much about linux distributions, could someone recommend one to
me please.

We are looking for a platform that will support amd64 extensions, will act
as a console only server and that has a good way to install ports and
upgrade. We want something secure and stable. We don't wanna go with Redhat
or any commercial distribution.

I really like the cvsup/make install/portupgrade way of dealing with
software installation and updates and I am looking for something equivalent
on a linux distribution.

Could you recommend a distribution you are using in production, we've check
ubuntu, fedora and Debian, but I wonder what freebsd users recommend...

Thanks 




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

  


Take a look at Slackware.

http://www.slackware.com

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


Re: Linux equivalent to freebsd

2007-02-28 Thread Patrick Bowen

Patrick Bowen wrote:

[EMAIL PROTECTED] wrote:

Hi,

Sorry this question is a little off-topic...

We've been using Freebsd for many years and all of our servers are 
running

freebsd.

The only thing that is a pain with freebsd, is poor commercial 
support :(


We are running in a situation where a customer needs Zend platform 3
(http://www.zend.com/products/zend_platform) which won't be available 
for

freebsd until the end of the year...

So I will need to setup a machine with linux.

I don't know much about linux distributions, could someone recommend 
one to

me please.

We are looking for a platform that will support amd64 extensions, 
will act

as a console only server and that has a good way to install ports and
upgrade. We want something secure and stable. We don't wanna go with 
Redhat

or any commercial distribution.

I really like the cvsup/make install/portupgrade way of dealing with
software installation and updates and I am looking for something 
equivalent

on a linux distribution.

Could you recommend a distribution you are using in production, we've 
check

ubuntu, fedora and Debian, but I wonder what freebsd users recommend...

Thanks


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


  


Take a look at Slackware.

http://www.slackware.com

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




Sorry, my bad. Slackware doesn't support amd64 extensions. However, 
there is a  an unofficial port of Slackware to amd64 at 
http://slamd64.com/home.html.


Patrick

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


mysql50-server on FreeBSD 6.2 w/ LINUX_THREADS?

2007-02-27 Thread patrick

Is it still advisable to build the mysql50-server on FreeBSD 6.2 using
the LINUX_THREADS option? I'm using the SMP kernel on an older dual
1.0GHz Pentium III. This page http://wiki.freebsd.org//MySQL
suggests that the libthr library in FreeBSD 6.x is optimized for MySQL
and perhaps better than using linuxthreads.

Any thoughts?

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


Re: burning a cd or dvd doesn't work

2007-02-25 Thread Patrick Bowen

Dino Vliet wrote:

Hi folks,

I thought I followed all the steps in the handbook to try to burn a cd or dvd 
from my freebsd 6.1 amd64 system but these commands show the problems I'm 
experiencing:

[EMAIL PROTECTED] /usr/ports/devel/g-wrap]# camcontrol devlist
LITE-ON DVD SOHD-16P9S FS09  at scbus1 target 0 lun 0 (cd0,pass0)
PHILIPS DVDR1640P P3.4   at scbus1 target 1 lun 0 (cd1,pass1)

[EMAIL PROTECTED] /usr/ports/devel/g-wrap]# cdrecord dev=1,1,0 -checkdrive
Cdrecord-Clone 2.01 (amd64-unknown-freebsd6.1) Copyright (C) 1995-2004 J�rg 
Schilling
scsidev: '1,1,0'
scsibus: 1 target: 1 lun: 0
cdrecord: Operation not permitted. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.

[EMAIL PROTECTED] /usr/ports/devel/g-wrap]# cdrecord -scanbus
Cdrecord-Clone 2.01 (amd64-unknown-freebsd6.1) Copyright (C) 1995-2004 J�rg 
Schilling
cdrecord: Operation not permitted. Error opening /dev/pass0 Cam error 
'cam_real_open_device: couldn't open passthr. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.

[EMAIL PROTECTED] /usr/ports/devel/g-wrap]# dmesg | grep cd1
acd1: DVDR PHILIPS DVDR1640P/P3.4 at ata1-slave UDMA33
cd1 at ata1 bus 0 target 1 lun 0
cd1: PHILIPS DVDR1640P P3.4 Removable CD-ROM SCSI-0 device 
cd1: 33.000MB/s transfers

cd1: Attempt to query device size failed: NOT READY, Medium not present


What am I missing?








 


Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.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]

  


You'll probably need to load the atapicam module.

   kldload atapicam

as root, of course.

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


Re: CVSup question

2007-02-21 Thread Patrick Bowen

Simon Gao wrote:
What if I just want to update ports for 5 stable tree? If using HEAD, 
then may some ports being updated be current but not stable? Or there 
is no such things as stable or current ports?

Simon


Joe Holden wrote:

Simon Gao wrote:

Hi,

I have some machines running FreeBSD 5.2.1. Is it safe to update 
ports to 5.4_stable via CVSup? Or should I use 5_stable?




Ports are independant of base branch, ports should generally be HEAD 
(tag=.).


HTH,
Joe

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




No such thing as -stable or -current ports.

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


Re: 64-bits platform question

2007-02-21 Thread Patrick Bowen

Aard Nerd wrote:
Hi list, as far as I know Intel 64 architecture (formerly known as 
Intel Extended Memory 64 Technology, or Intel EM64T) enables 64-bit 
computing on desktop when combined with supporting software. If I am 
right, 64-bit computing (on Intel architecture) requires a computer 
system with a processor, chipset, BIOS, operating system, device 
drivers and applications enabled for Intel EM64T architecture. So I 
bought an ASUS P4P800-VM with a 3.0GHz processor that supports Intel 
EM64T and 1Gb of Infineon PC3200 RAM memory. The system is ok...so why 
I can't install BSD 64 bits with my system ???


Any clues, thanks in advance.


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




Did you use the amd64 isos for the installation?

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


ASUS M2n - AMD64 supported by FreeBSD 6.2?

2007-02-17 Thread Gelsema, P \(Patrick\) - FreeBSD
Dear list,

i am currently deciding on hardware for a server at home which will manage
my email (Mailtoaster), website, dns, dhcp and samba. It will replace 2
boxes. The load is currently average 0.4 on a Dual Pentium 3 800mhz (thats
the old mailserver - FreeBSD 5.4) and the other is just a windows 2003
file/ad/dns server. So no need for a lot of muscle.

I don't want to buy the bleeding edge and not the most expensive stuff. I
want reliable equipment which also doesnt generate a lot of heat and
noise. (Picky, i know ;-) )

At the moment I have come up with the following:
* Asus M2N with nVidia NForce 430 chipset
* AMD Athlon 64 X2 EE 3800+
* 2 Gigabyte of memory (DDR2 800mhz)
* Adaptec 390320D SCSI for systemdisks (3 x U320 15k drives (got these
spare - better use them)
* 4 x 500GB SATA 2 drives from Western Digital (Raid 5)

I got the following questions;

Question 1: is the SATA2 Raid 5 setup supported for the Nvidia 430
chipset? In my searches in basically all lists of Freebsd it seems there
were issues reported?

Question 2: Is the Hostraid functionality of the Adaptec card supported by
FreeBSD? For windows boxes additional software is required, will it be
supported out of the box by FreeBSD?

Question 3: Nvidia Nforce5 is this supported by FreeBSD 6.2 and will I be
able to build a RAID 5 set and use this in FreeBSD? I have seen emails in
lists which show issues.

Of course any suggestions regarding hardware is also appreciated.

Many thanks for allowing me to use your bandwidth!

Regards,

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


Re: gtk-2.10.9 doesn't compile

2007-02-12 Thread Patrick Bowen

On Mon, 12 Feb 2007 13:52:05 +0100 (GMT+01:00), Vittorio
[EMAIL PROTECTED] said:
 Dear All,
 
 Under a fresh installation of 6.2 I recently updated via 
 portsnap the ports tree and recompiled what was needed (including 
 portupgrade!), BUT after issuing as root:
 
 portupgrade gtk
 I obtain the 
 following obscure, esoteric diagnostic:
 snip
 gmake[2]: Leaving 
 directory `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.10.9/gdk'
 gmake
 [1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory 
 `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.10.9'
 gmake: *** [all] Error 
 2
 *** Error code 2
 
 Stop in /usr/ports/x11-toolkits/gtk20.
 ** Command 
 failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.55166.1 env 
 UPGRADE_TOOL=portupgrade UPGRADE_PORT=gtk-2.10.7 UPGRADE_PORT_VER=2.
 10.7 make
 ** Fix the problem and try again.
 /snip
 
 What shall I do?
 Ciao from Rome - Vittorio
 
 Ciao
 Vittorio
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 


You'll need to upgrade portupgrade(1) to the latest version (2.2.2_4 if
memory serves). See /usr/ports/UPDATING and grep for portupgrade.

Patrick
-- 
  Patrick Bowen
  [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 5.2.1 won't run with ATI RADEON

2007-01-28 Thread Patrick Lamaizière
Le dimanche 28 janvier 2007 03:11, [EMAIL PROTECTED] a écrit :

 I am new to Unix and purchased a copy of FreeBSD 5.2.1 

Well, FreeBSD 5.2.1 is outdated! You should update to a recent release i 
think.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to know what DNS server is being used

2007-01-22 Thread patrick

On 10/28/06, Matthew Seaman [EMAIL PROTECTED] wrote:


On recent FreeBSD, the resolver actually iterates through the listed
nameserver lines in order, sending the query out to each in turn until
it gets a response.  It used to be that the resolver would wait for the
full 30s DNS timeout before trying the next server (hence the cry dreaded
by sysadmins everywhere that the Internet is slow today), but nowadays


Is there any way to configure this 30 second delay for older versions
of FreeBSD (eg. 4.11)?

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


Re: general question re: performance

2007-01-21 Thread Patrick Lamaizière
Glenn Becker :

 I'm running 6.2 on an old but not ancient Dell laptop, PIII 1000MHz,
 which now has seven operating systems on it. I have noticed recently that
 the graphics-heavy planetarium program Stellarium -- which runs great on
 my Debian GNU/Linux system -- barely creaks along on FreeBSD and is
 basically unusable.

You need direct rendering to be enabled from Xorg.
Check it with glxinfo
$ glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes === must be yes

What is your graphics card ?

 Is it generally accepted that a custom kernel with all the fat
 trimmed will help?

No.
(stellarium is very nice!)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Manufacturer documented wireless NIC's

2007-01-21 Thread Patrick Bowen
I'm looking to replace the Realtek rtl8185 mini-PCI wireless NIC in my 
laptop, and I was wondering about what to replace it with.


Could anyone tell me who the manufacturers are that support their chips 
with documentation available to FreeBSD for the writing of drivers, 
please. I believe that Ralink and Atmel are in that category, according 
to the googling I've been able to do.


I'd like to support those manufacturers that support FreeBSD.

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


Re: Improvement to IPFilter / nfsd in FBSD (6.2+?)

2007-01-12 Thread Patrick Lamaizière
Garrett Cooper :

Hello,

 Just wondering if anyone has IPFilter / nfsd setup properly on their
 boxes with any beta versions of FBSD.

 I am having loads of issues transferring large files (~300MB apiece) or
 issues transferring a large number of smaller files (3MB ~ 10MB apiece)
 from a FBSD 6.1 client to a FBSD 6.1 server, where it transfers part of
 the files, then cp / mv get stuck indefinitely on the client system. The
 stuck cp / mv processes cause the client to hang on reboot, and then
 terminate before all of the buffers are written to disk (which forces
 fsck on next boot).

Did you try to use tcp transport with NFS ? See the '-T' option of 
mount_nfs(8). See also the -i option (Make the mount interruptible).

Regards.
___
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 clear strage route in routing table?

2007-01-12 Thread Patrick Dung
[EMAIL PROTECTED] ~]# ifconfig -a
lnc0: flags=108843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,NEEDSGIANT
mtu 1500
inet6 fe80::20c:29ff:fec4:3bd3%lnc0 prefixlen 64 scopeid 0x1
inet 172.16.21.62 netmask 0xff00 broadcast 172.16.21.255
ether 00:0c:29:c4:3b:d3
lnc1: flags=108802BROADCAST,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500
ether 00:0c:29:c4:3b:dd
plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
inet 127.0.0.1 netmask 0xff00
[EMAIL PROTECTED] ~]# route add 192.168.3.0 255.255.255.0 172.16.21.1
add net 192.168.3.0: gateway 255.255.255.0
[EMAIL PROTECTED] ~]# netstat -nr
Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif
Expire
default172.16.21.1UGS 1  338   lnc0
127.0.0.1  127.0.0.1  UH  0  426lo0
128.0.10xac101501 255.255.255.0  UGS 00   lnc0
172.16.21/24   link#1 UC  00   lnc0
172.16.21.100:50:56:c0:00:08  UHLW211381   lnc0  
1152
172.16.21.62   00:0c:29:c4:3b:d3  UHLW1   26lo0

Internet6:
Destination   Gateway   Flags  
   Netif Expire
::1   ::1   UH 
lo0
fe80::%lnc0/64link#1UC 
   lnc0
fe80::20c:29ff:fec4:3bd3%lnc0 00:0c:29:c4:3b:d3 UHL
lo0
fe80::%lo0/64 fe80::1%lo0   U  
lo0
fe80::1%lo0   link#4UHL
lo0
ff01:1::/32   link#1UC 
   lnc0
ff01:4::/32   ::1   UC 
lo0
ff02::%lnc0/32link#1UC 
   lnc0
ff02::%lo0/32 ::1   UC 
lo0
[EMAIL PROTECTED] ~]# route delete 192.168.3.0 255.255.255.0
route: writing to routing socket: No such process
delete net 192.168.3.0: gateway 255.255.255.0: not in table
[EMAIL PROTECTED] ~]# route delete 192.168.3.0 255.255.255.0 172.16.21.1
route: writing to routing socket: No such process
delete net 192.168.3.0: gateway 255.255.255.0: not in table
[EMAIL PROTECTED] ~]# route delete -net 192.168.3.0 255.255.255.0 172.16.21.1
route: writing to routing socket: No such process
delete net 192.168.3.0: gateway 255.255.255.0: not in table
[EMAIL PROTECTED] ~]# route delete 128.0.10xac101501 255.255.255.0
route: bad address: 128.0.10xac101501
[EMAIL PROTECTED] ~]# route delete 128.0.1 255.255.255.0
route: writing to routing socket: No such process
delete host 128.0.1: gateway 255.255.255.0: not in table


--- Oliver Fromme [EMAIL PROTECTED] wrote:

 Patrick Dung wrote:
   Suppose I have mistype a command:
   # route add 192.168.3.0 255.255.255.0 192.168.3.1
 
 So you swapped gateway and netmask.  Nasty mistake.  :-)
 
 It's usually better to use CIDR notation (with a slash
 followed by the number of network bits), to avoid any
 confusion.  It's also less typing.
 # route add 192.168.3.0/24 192.168.3.1
 
   There is a strange routing table and I am unable to remove it
 unless
   reboot:
   
   192.168.00xc0a80301 255.255.255.0  UGS 0   86  
 fxp0
 
 How did you try to remove it (exact comand line, please),
 and what was the error message that you got?  You should
 enter exactly the same line you used to add the route,
 only replace add with delete.
 
 It works fine for me, so I assume you did a syntax error
 when trying to remove it.
 
 Best regards
Oliver
 
 -- 
 Oliver Fromme,  secnetix GmbH  Co. KG, Marktplatz 29, 85567 Grafing
 Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd
 Any opinions expressed in this message may be personal to the author
 and may not necessarily reflect the opinions of secnetix in any way.
 
 The last good thing written in C was
 Franz Schubert's Symphony number 9.
 -- Erwin Dieterich
 



 

Sucker-punch spam with award-winning protection. 
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html
___
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 clear strage route in routing table?

2007-01-12 Thread Patrick Dung
Thanks Nikos for reply

I have figure out how to remove that route
It was consider 192.168.3.0 as host instead of net

[EMAIL PROTECTED] ~]# route add 192.168.3.0 255.255.255.0 192.168.3.1
add net 192.168.3.0: gateway 255.255.255.0
[EMAIL PROTECTED] ~]# route delete -net 192.168.3.0
route: writing to routing socket: No such process
delete net 192.168.3.0: not in table
[EMAIL PROTECTED] ~]# route delete -host 192.168.3.0
delete host 192.168.3.0

--- Nikos Vassiliadis [EMAIL PROTECTED] wrote:

 On Thursday 11 January 2007 19:01, Patrick Dung wrote:
  Hi
  
  Suppose I have mistype a command:
  # route add 192.168.3.0 255.255.255.0 192.168.3.1
  
  There is a strange routing table and I am unable to remove it
 unless
  reboot:
  
  192.168.00xc0a80301 255.255.255.0  UGS 0   86  
 fxp0
  
  Any ideas?
 
 Use route flush. And add your static routes again
 either by hand or with the help of /etc/rc.d/routing start
 
 Nikos
 



 

TV dinner still cooling? 
Check out Tonight's Picks on Yahoo! TV.
http://tv.yahoo.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to clear strage route in routing table?

2007-01-11 Thread Patrick Dung
Hi

Suppose I have mistype a command:
# route add 192.168.3.0 255.255.255.0 192.168.3.1

There is a strange routing table and I am unable to remove it unless
reboot:

192.168.00xc0a80301 255.255.255.0  UGS 0   86   fxp0

Any ideas?


 

Any questions? Get answers on any topic at www.Answers.yahoo.com.  Try it now.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to clear strage route in routing table?

2007-01-11 Thread Patrick Dung
Hi

Suppose I have mistype a command:
# route add 192.168.3.0 255.255.255.0 192.168.3.1

There is a strange routing table and I am unable to remove it unless
reboot:

192.168.00xc0a80301 255.255.255.0  UGS 0   86   fxp0

Any ideas?


 

Need a quick answer? Get one in minutes from people who know.
Ask your question on www.Answers.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which version of BIND to use on FreeBSD 6.1?

2007-01-07 Thread patrick

I think I'll rephrase my question. What real advantage is there for me
running BIND 9 over BIND 8? Version 9 seems to require a lot more
memory and is still giving me this really annoying problem of using
all my CPU time when it hits the max_cache_size. I'm not using DNSSEC
or IPV6...

Patrick

On 1/3/07, patrick [EMAIL PROTECTED] wrote:

I'm trying to figure out which is the best version of BIND to use on
FreeBSD 6.1? I've always stuck with FreeBSD's base version, and since
upgrading from FreeBSD 4.x to 6.1, that meant moving from BIND 8.3.x
to 9.3.2. I've encountered numerous problems since moving to 9.3.2
which primarily revolve around exponential increases in memory and CPU
usage.

On our BIND 8.3.x setup, we have 750 master domains. Memory usage is
just shy of 70MBs. On our new server with BIND 9.3.2, we have
currently 140 master domains, and memory usage continually grows until
FreeBSD cuts it off. I have discovered the max-cache-size option
which allows me set an upper limit, but when the named process hits
that limit, it starts eating up all available CPU cycles. I've seen
some similar reports from other users, but haven't found any real
solutions.

While browsing the ports tree, I found I have my pick of BIND 8.3.x,
8.4.x, and a ports version of 9.3.x (not sure exactly how this differs
from base -- more current?). Our needs are fairly basic -- we have a
few DNS servers, and each are masters and slaves, helping one another
out. We're not using DNSSEC or anything. I'm wondering what other
people are generally using, and which version works best for them?

Thanks,

Patrick


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


Which version of BIND to use on FreeBSD 6.1?

2007-01-03 Thread patrick

I'm trying to figure out which is the best version of BIND to use on
FreeBSD 6.1? I've always stuck with FreeBSD's base version, and since
upgrading from FreeBSD 4.x to 6.1, that meant moving from BIND 8.3.x
to 9.3.2. I've encountered numerous problems since moving to 9.3.2
which primarily revolve around exponential increases in memory and CPU
usage.

On our BIND 8.3.x setup, we have 750 master domains. Memory usage is
just shy of 70MBs. On our new server with BIND 9.3.2, we have
currently 140 master domains, and memory usage continually grows until
FreeBSD cuts it off. I have discovered the max-cache-size option
which allows me set an upper limit, but when the named process hits
that limit, it starts eating up all available CPU cycles. I've seen
some similar reports from other users, but haven't found any real
solutions.

While browsing the ports tree, I found I have my pick of BIND 8.3.x,
8.4.x, and a ports version of 9.3.x (not sure exactly how this differs
from base -- more current?). Our needs are fairly basic -- we have a
few DNS servers, and each are masters and slaves, helping one another
out. We're not using DNSSEC or anything. I'm wondering what other
people are generally using, and which version works best for them?

Thanks,

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


BIND 9.3.2 on FreeBSD 6.1-release-p2

2007-01-02 Thread patrick

I'm running BIND 9.3.2 on FreeBSD 6.1, and am noticing that it gets
out of control after running for a while.

 PIDUID   THR PRI NICE   SIZERES STATETIME   WCPU COMMAND
60480 53 1 1320   195M   194M RUN 41.7H 75.54% named

After restarting it, its CPU usage goes back down to what it should
be, as does its memory usage. I really don't want to babysit this
process, so I'm trying to find the cause of this. I have
max-cache-size set to 150M, as before I turned this on, this
process would just grow and grow until it hit FreeBSD's limit and
would stop responding all together, not to mention eating up as much
CPU time as it could.

I never had this problem at all with BIND 8, and am wondering if
there's something I'm doing wrong with BIND 9 to have this problem?
Has anyone else experienced this?

Any help would be greatly appreciated.

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


Re: devd usage

2006-12-17 Thread Patrick Lamaizière
Maxim Vetrov :
 Hi,

Hello,

   I'm running 6.1 on Toshiba notebook SAtellite L100. Get stuck with
 auto config of wireless cardbus adapter (D-Link DWL-G650). I want to
 load kernel module (if_ath.ko) automatically when I insert it into the
 slot. I found that I need /etc/devd.conf to be configured properly.
 There is a Deqna example that is quite self-explaining excluding those
 magic numbers assigned to manufacturer and product. Where I can get
 these?

I think with the devd's socket : 
By sample i insert my usb mouse :

# cat /var/run/devd.pipe
? at port=0 vendor=0x0458 product=0x0036 devclass=0x00 devsubclass=0x00 
release=0x0110 sernum= on uhub1
+ums0 vendor=0x0458 product=0x0036 devclass=0x00 devsubclass=0x00 
release=0x0110 sernum= intclass=0x03 intsubclass=0x01 at port=0 
interface=0 vendor=0x0458 product=0x0036 devclass=0x00 devsubclass=0x00 
release=0x0110 sernum= intclass=0x03 intsubclass=0x01 on uhub1

There are two events here, first an unknown device is detected '?' and then 
a new device is inserted '+ums0'.
  
See man devctl

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


Any way to tell what the RAM configuration is?

2006-12-06 Thread patrick

I'm wondering if there's any way in FreeBSD (4.x on i386) to tell what
the RAM configuration in the system is? ie. Can it show me if I have
four 256MB modules versus two 512MB's? Obviously it would be possible
to just open up the computer and see for my self, I'm hoping I can
save myself a trip and wrecking an uptime of 670 days. :)

Thanks,

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


Re: Re: Any way to tell what the RAM configuration is?

2006-12-06 Thread patrick

Awesome, that works like a charm!

Thanks,

Patrick

On 12/6/06, Chuck Swiger [EMAIL PROTECTED] wrote:

On Dec 6, 2006, at 11:00 AM, patrick wrote:
 I'm wondering if there's any way in FreeBSD (4.x on i386) to tell what
 the RAM configuration in the system is? ie. Can it show me if I have
 four 256MB modules versus two 512MB's? Obviously it would be possible
 to just open up the computer and see for my self, I'm hoping I can
 save myself a trip and wrecking an uptime of 670 days. :)

Sure.  Install the dmidecode port (from /usr/ports/sysutils/
dmidecode), and run:

   dmidecode -t memory

 # dmidecode 2.8
 SMBIOS 2.3 present.

 Handle 0x1000, DMI type 16, 15 bytes
 Physical Memory Array
 Location: System Board Or Motherboard
 Use: System Memory
 Error Correction Type: Single-bit ECC
 Maximum Capacity: 4 GB
 Error Information Handle: No Error
 Number Of Devices: 4

 Handle 0x1100, DMI type 17, 23 bytes
 Memory Device
 Array Handle: 0x1000
 Error Information Handle: No Error
 Total Width: 72 bits
 Data Width: 64 bits
 Size: 128 MB
 Form Factor: DIMM
 Set: 1
 Locator: DIMM_A
 Bank Locator: BANK_1
 Type: SDRAM
 Type Detail: Synchronous
 Speed: 133 MHz (7.5 ns)
 [ ... ]

--
-Chuck



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


Re: sources version file?

2006-11-23 Thread Gelsema, P \(Patrick\) - FreeBSD
On Thu, November 23, 2006 16:46, Jonathan Horne wrote:
 ive searched the archives over the past 2 weeks or so unsuccessfully for
 this
 tidbit, which i have seen mentioned here before.  so, i re-ask:

 what is the path/filename of the sources file that says what version of
 the
 cvs sources have been downloaded?

# egrep REVISION|BRANCH /usr/src/sys/conf/newvers.sh
REVISION=5.4
BRANCH=RELEASE-p22
RELEASE=${REVISION}-${BRANCH}

Cheers

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


make.conf FreeBSD 6.2 RC1

2006-11-19 Thread Gelsema, P \(Patrick\) - FreeBSD
Hi,

I've recently installed 6.2-Beta3 and got KDE working with Xorg. As RC1 is
now released I want to upgrade to this version as I have been witnessing
some kernel errors and also want to 'play' with the system.

I've installed Xorg and KDE from the ports.

I am currently creating a make.conf file which should build the world but
nothing more than required. I have come up with the following but I am
unsure if certain lines shouldn't be commented out.
Such as NO_X. As I have build Xorg from the port, should I not build it
with the world?

Any suggestions are welcome.
Thank and regards,

Patrick

Start of /etc/make.conf
NO_I4B= true# do not build isdn4bsd package
NO_SHAREDOCS=   true# do not build the 4.4BSD legacy docs
NO_X=   true# do not compile in XWindows support (e.g. doscmd)
NOGAMES=true# do not build games (games/ subdir)
NOINFO= true# do not make or install info files
NO_BLUETOOTH=   true# do not build Bluetooth related stuff
NO_IPFILTER=true# do not build IP Filter package
NO_FORTRAN= true# do not build g77 and related libraries

COMPAT4X=   yes

NOPROFILE=true
NO_SENDMAIL=true
NO_LPR=true
NO_BIND=true

# added by use.perl 2006-11-15 21:59:37
PERL_VER=5.8.8
PERL_VERSION=5.8.8
end of /etc/make.conf
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make.conf FreeBSD 6.2 RC1

2006-11-19 Thread Gelsema, P (Patrick)
On Sunday 19 November 2006 23:06, Kris Kennaway wrote:
 On Sun, Nov 19, 2006 at 10:58:06PM +0100, Gelsema, P (Patrick) - FreeBSD 
wrote:
  Hi,
 
  I've recently installed 6.2-Beta3 and got KDE working with Xorg. As RC1
  is now released I want to upgrade to this version as I have been
  witnessing some kernel errors and also want to 'play' with the system.
 
  I've installed Xorg and KDE from the ports.
 
  I am currently creating a make.conf file which should build the world but
  nothing more than required. I have come up with the following but I am
  unsure if certain lines shouldn't be commented out.
  Such as NO_X. As I have build Xorg from the port, should I not build it
  with the world?

 The only thing in the world that was affected by NO_X was doscmd (per
 the command), but this was removed from the tree some time ago.

 In fact, so was the NO_X entry from the example make.conf, so I guess
 you're basing off an old version.

True. I got FreeBSD 5.4 running on another box and used the make.conf as a 
starter. I have amended the make.conf file. My err.

What I basically want is a make.conf with just enough to start FreeBSD, with 
SSH. Everything else to be installed from ports. Is this feasible? And if 
yes, which options are required? Crypto, CCX and OPENSSH? Any pointer in any 
direction much appreciated.

Cheers

Patrick


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


Re: networking question.

2006-11-13 Thread Gelsema, P \(Patrick\) - FreeBSD
This is more a windows problem and specific more a WINS/NETBios/name
resolution problem.
Do you got a dns server? Some kind of domain?

What I understand from your story the following happens: Client queries on
netbios level; who is \\computername to the masterbrowser list, can't find
on local subnet, hence not found. Broadcasts don't travel beyond own
subnet unless otherwise configured.

What you should do is either connect via \\ip\share or get yourself some
kind of AD DNS or a WINS Server and tell your clients to use WINS/DNS for
name resolution. Then it should work.

Hope this helps

Patrick

On Mon, November 13, 2006 22:38, Marwan Sultan wrote:

 Hello Gurus,

192.168.0.1 is the internet server dialer (winXP) --- switch --
 192.168.0.2 FreeBSD 6.1 NAT 192.168.1.1
clients are 192.168.1.xxx everything works great, Internet goes to
 clients from the fbsd server
all IPs can ping each other.. 192.168.1.5 can ping 192.168.0.1
To here and its great.

 But when any client 192.168.1.x tries to access the shared files on
 192.168.0.1
 it cannot. it says not a correct path, and it cannot see it, although
 it
 can PING it.
 I asume the diffrences in IPs although its on same LAN makes this
 class
 cannot access the other.

 Can someone kindly shade a light, on what should I do ?


Thank you
Marwan Sultan.

 _
 FREE pop-up blocking with the new MSN Toolbar - get it now!
 http://toolbar.msn.click-url.com/go/onm00200415ave/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]


Installing DHCP server in a jail

2006-11-06 Thread Gelsema, P \(Patrick\) - FreeBSD
Hi,

I would like to install a DHCP server in a jail. Is this possible? I am
not sure as the DHCP server should be listening to broadcasts on the
network with a certain content (DHCP_DISCOVER if I am not mistaken). I am
currently running 5.4 but will be upgrading to 6.2 if released.

Furthermore which DHCP server should I use? Is there one in the ports?

Thanks

Patrick


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


Slow boot from btx load to kernel.

2006-10-24 Thread Patrick Bowen

Second try...

I have a triple boot setup ( WinXP, FreeBSD, and Ubuntu Linux) on which
I upgraded the Ubuntu from 6.06 to 6.10.

Now, when I boot the FreeBSD slice, it will take tens of seconds to load
/boot/loader and the sound modules I use. It used to go by so fast I
couldn't even see what exactly was happening.

I tried using fdisk -B -b /boot/boot0 /dev/ad0 and boot0cfg -B
/dev/ad0, thinking that moving back to the FreeBSD booter might do it,
but to no avail.

Can anyone tell me what I might have hosed, and how I might regain the
previous booting speed?

Thanks,
Patrick

___
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: Wireless Inspiron 6400 anyone?

2006-10-21 Thread Patrick Bowen

Lane wrote:

Hello,

I've a new inspiron 6400 running FreeBSD 6.1 and I can't get Wireless to work.  
It works on WXP using the Dell WLAN drivers at 
http://ftp.us.dell.com/network/R115321.EXE


I've followed the instructions at 
http://dannyman.toldme.com/2005/01/05/freebsd-howto-ndisulate-windows-drivers/
but no ndis driver shows up after kldload if_ndis.  


ifconfig -a looks like:

bfe0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=8VLAN_MTU
inet6 fe80::215:c5ff:feb8:39e%bfe0 prefixlen 64 scopeid 0x1
inet 172.16.1.42 netmask 0xff00 broadcast 172.16.1.255
ether 00:15:c5:b8:03:9e
media: Ethernet autoselect (100baseTX full-duplex)
status: active
fwe0: flags=108943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,NEEDSGIANT 
mtu 1500

options=8VLAN_MTU
inet6 fe80::304f:c0ff:fe9c:7541%fwe0 prefixlen 64 scopeid 0x2
inet 0.0.0.0 netmask 0xff00 broadcast 255.255.255.255
ether 32:4f:c0:9c:75:41
ch 1 dma 0
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet 127.0.0.1 netmask 0xff00

It seems as if the fwe0 devices wants to be the wireless, as the bfe0 driver 
is my wired ethernet card.
  

...snip...

Any help is appreciated.

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


Lane;

When I did the same thing for a Broadcom wireless card the resulting 
loadable module was named bcmwl5_sys. Did you end up with something 
appropriate to your .sys and .inf files?


Also, the .sys and .inf files that came on the disk that came with the 
card either wouldn't work with ndisgen, or gave a file that didn't work 
with the card. I ended up using the .sys and .inf files from the Dell 
website that were reference in another ndis article.


Good Luck.

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


Re: Wireless Inspiron 6400 anyone?

2006-10-21 Thread Patrick Bowen

Lane wrote:

On Sunday 22 October 2006 00:06, Patrick Bowen wrote:
  

Lane wrote:


Hello,

I've a new inspiron 6400 running FreeBSD 6.1 and I can't get Wireless to
work. It works on WXP using the Dell WLAN drivers at
http://ftp.us.dell.com/network/R115321.EXE

I've followed the instructions at
http://dannyman.toldme.com/2005/01/05/freebsd-howto-ndisulate-windows-dri
vers/ but no ndis driver shows up after kldload if_ndis.

ifconfig -a looks like:

bfe0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=8VLAN_MTU
inet6 fe80::215:c5ff:feb8:39e%bfe0 prefixlen 64 scopeid 0x1
inet 172.16.1.42 netmask 0xff00 broadcast 172.16.1.255
ether 00:15:c5:b8:03:9e
media: Ethernet autoselect (100baseTX full-duplex)
status: active
fwe0:
flags=108943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,NEEDSGIANT
mtu 1500
options=8VLAN_MTU
inet6 fe80::304f:c0ff:fe9c:7541%fwe0 prefixlen 64 scopeid 0x2
inet 0.0.0.0 netmask 0xff00 broadcast 255.255.255.255
ether 32:4f:c0:9c:75:41
ch 1 dma 0
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet 127.0.0.1 netmask 0xff00

It seems as if the fwe0 devices wants to be the wireless, as the bfe0
driver is my wired ethernet card.
  

...snip...



Any help is appreciated.

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

Lane;

When I did the same thing for a Broadcom wireless card the resulting
loadable module was named bcmwl5_sys. Did you end up with something
appropriate to your .sys and .inf files?

Also, the .sys and .inf files that came on the disk that came with the
card either wouldn't work with ndisgen, or gave a file that didn't work
with the card. I ended up using the .sys and .inf files from the Dell
website that were reference in another ndis article.

Good Luck.

Patrick
___

Patrick, 


Thanks for your attention.

Yes, when I tried ndisgen the file bcmwl5_sys.ko was created, but I got a 
kernel panic when I tried to kldload it.


Do you remember the filename that you downloaded from DELL?  Did you save it?  
Or do you have the link for the other ndis article you mentioned?


What about pciconf on your system?  Does it show this card and chip 
combination?


[EMAIL PROTECTED]:0:0:class=0x028000 card=0x00071028 chip=0x431114e4 
rev=0x01 hdr=0x00

vendor   = 'Broadcom Corporation'
class= network

Thanks, again

lane
If nothing else, your response tells me that I'm on the right track.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

  


Lane;

I can't find the article, but the file is R50907.EXE. You can find it by 
googling dell R50907. Heres a link


http://ftp1.us.dell.com/network/R90507.EXE

It's a self-extracting Windows archive.

BTW, you asked about my pciconf. Here ya go...

[EMAIL PROTECTED]:4:0: class=0x028000 card=0x000617f9 chip=0x431814e4 rev=0x02 
hdr=0x00

   vendor   = 'Broadcom Corporation'
   class= network

Also, if this is on a mini-card, you should be able to crack the case 
and look at the card and see exactly what the chipset is.  Mine is a 
BCM94318.



Hope this helps some.

Patrick


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


Re: Downloading files from -CURRENT, How?

2006-10-21 Thread Patrick Bowen

Nikolas Britton wrote:

I'm trying grab a copy of /usr/src/sys/dev/sound and
/usr/src/sys/modules/sound from HEAD so I can MFC a few things. I
tried this, but it didn't work:

$ more current-supfile
*default host=cvsup12.us.FreeBSD.org
*default base=/usr/src/HEAD/var/db
*default prefix=/usr/src/HEAD/usr
*default release=cvs tag=HEAD
*default delete use-rel-suffix
*default compress
src-sys

I'm not really sure of the best way to do it. Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]



Shouldn't that be *default release=cvs tag=.

That is, a period instead of the word HEAD.

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


Slow boot from btx load to kernel.

2006-10-21 Thread Patrick Bowen

I have a triple boot setup ( WinXP, FreeBSD, and Ubuntu Linux) on which
I upgraded the Ubuntu from 6.06 to 6.10.

Now, when I boot the FreeBSD slice, it will take tens of seconds to load
/boot/loader and the sound modules I use. It used to go by so fast I
couldn't even see what exactly was happening.

I tried using fdisk -B -b /boot/boot0 /dev/ad0 and boot0cfg -B
/dev/ad0, thinking that moving back to the FreeBSD booter might do it,
but to no avail.

Can anyone tell me what I might have hosed, and how I might regain the 
previous booting speed?


Thanks,
Patrick

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


localhost = ::1

2006-08-28 Thread patrick

I upgraded BIND on one of our DNS servers (running FreeBSD 4.x) to
version 9, and now all of our other machines that use this server for
DNS resolution is experiencing a problem where localhost seems to be
resolving to ::1. For example, if I previously typed:

telnet localhost 25

I would get:

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
...

But now, I get:

Trying ::1...

Which takes forever to timeout.

In my /etc/hosts file, I have

::1 localhost
127.0.0.1   localhost


We don't use IPV6 at all, and I do have the localhost.rev and
localhost-v6.rev added into the new BIND 9 server. Does anyone have an
idea of how I can get this to work the way it used to?

Thanks,

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


Re: Showstopping FreeBSD 6.1 bug

2006-08-20 Thread PATRICK CARTER
Jeff,

I hate to state (or rather ask) the obvious but are you sure you selected the 
appropriate options to install the kernel?  One of the people were I work swore 
they had the exact same problem on an x86 they were installing on and it turned 
out that she was just forgetting to select an installation configuration that 
included the kernel.

--Patrick

- Original Message -
From: Jeff Rollin [EMAIL PROTECTED]
Date: Sunday, August 20, 2006 6:05 pm
Subject: Showstopping FreeBSD 6.1 bug
To: freebsd-questions@freebsd.org

 Hello all
 
 I need to report a serious bug in 6.1-RELEASE. On both AMD64 and x86,
 sysinstall appears to work correctly but fails to install a kernel 
 on the
 target filesystem. This has the additional effect of rendering the -
 bootonly.iso almost useless since if the error is not caught before 
 rebooting, there
 is no live filesystem to repair the damage, and the emergency shell 
 cannotfind any executables (it can, however, find executables 
 directly after
 installing the system).
 
 Yours
 
 
 
 Jeff Rollin.
 ___
 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: iir(4) driver (Was: Re: Safe card to replace for ICP Vortex GDT851...)

2006-08-02 Thread Patrick M. Hausen
Hi, Scott!

 Ok guys, time for a small breather here.  All these claims about
 EoE and orphanage and whatnot are a bit premature and underinformed.

I only stated that according to ICP Vortex Germany the
GDT products are EOE and ICP Vortex will not provide an
updated driver for FreeBSD. Nothing more.
I talked to the person on the phone right before I sent my mail
to the list.

And that orphanage part depended on a big IF nobody is willing
to work on it.

Regards,

Patrick M. Hausen
Leiter Netzwerke und Sicherheit
-- 
punkt.de GmbH Internet - Dienstleistungen - Beratung
Vorholzstr. 25Tel. 0721 9109 -0 Fax: -100
76137 Karlsruhe   http://punkt.de
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Safe card to replace for ICP Vortex GDT8514RZ ...

2006-08-01 Thread Patrick M. Hausen
Hi!

On Mon, Jul 31, 2006 at 10:49:27PM -0300, User Freebsd wrote:

 Official word from Adaptec is that FreeBSD is no longer a supported 
 platform, so, I either live with the deadlocks, or try and figure out a 
 suitable replacement for the card ...

That's really really bad news. Oddly, ICP Vortex Germany told me
the opposite wr/t to their new line of cards. They said, they
were working on full FreeBSD support. I'll check what they have
to say about the GDT controllers. We run typo3.org on four
heavily loaded systems with these cards. We did not update to
6.x yet, because of fear of the mythical NFS deadlocks.
Now things seem to get even worse.

 So, can anyone recommend a card to replace this with?  Its a remote 
 server, so I'm looking for something that will be plug-n-play, same slot 
 that the GDT is in ... I realize that I'll have to reformat the server 
 afterwards ...

We just ordered this box here:

http://www.intel.com/design/servers/storage/ssr212cc/

It contains two Intel SRCS28X RAID Controllers, that are supposedly
supported by the amr driver and the Linux Megamgr utility.

The system should arrive in about two weeks - if you're interested,
I'll keep you updated.

Regards,

Patrick M. Hausen
Leiter Netzwerke und Sicherheit
-- 
punkt.de GmbH Internet - Dienstleistungen - Beratung
Vorholzstr. 25Tel. 0721 9109 -0 Fax: -100
76137 Karlsruhe   http://punkt.de
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Safe card to replace for ICP Vortex GDT8514RZ ...

2006-08-01 Thread Patrick M. Hausen
Hello!

On Tue, Aug 01, 2006 at 09:51:59AM +0200, Patrick M. Hausen wrote:

 That's really really bad news. Oddly, ICP Vortex Germany told me
 the opposite wr/t to their new line of cards. They said, they
 were working on full FreeBSD support. I'll check what they have
 to say about the GDT controllers.

OK - so here's the deal:

The GDT products are officially EOE (End Of Engineering).
ICP Vortex will not provide capacity to update their own
driver for FreeBSD 6.

The new products will feature full FreeBSD support, eventually.
(couple of weeks, he said)

Technically, the ICP guy was quite confident, that ICP's
own driver for FreeBSD 4.x and 5.x didn't show the problems
we have on FreeBSD 6 with the FreeBSD iir driver.
He recommended using ICP's driver source as a reference when
trying to fix the FreeBSD 6 driver.

I'm not a kernel developer so I cannot really comment on this.


HTH,

Patrick M. Hausen
Leiter Netzwerke und Sicherheit
-- 
punkt.de GmbH Internet - Dienstleistungen - Beratung
Vorholzstr. 25Tel. 0721 9109 -0 Fax: -100
76137 Karlsruhe   http://punkt.de
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: iir(4) driver (Was: Re: Safe card to replace for ICP Vortex GDT851...)

2006-08-01 Thread Patrick M. Hausen
Hello!

 'k, just to clarify here ... the new products won't be based on the iir(4) 
 driver then?

Yes, they won't.

 Basically, should the iir(4) driver be considered EOE also?

As far as Adaptec and ICP Vortex are concerned, yes. Since the
driver is Open Source, there is no enforced EOE, just orphanage,
if nobody is willing to work on it.

Regards,

Patrick M. Hausen
Leiter Netzwerke und Sicherheit
-- 
punkt.de GmbH Internet - Dienstleistungen - Beratung
Vorholzstr. 25Tel. 0721 9109 -0 Fax: -100
76137 Karlsruhe   http://punkt.de
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Promise Technology RAID Controller

2006-07-27 Thread PATRICK CARTER
Hey all,

I was looking at getting a hardware RAID controller (that supports RAID 5) for 
my system and I saw the FastTrak SX4100 from Promise Technology.  I didn't see 
FreeBSD listed under their list of supported operating systems and I was 
wondering if anyone knew weather or not anyone knew if there exists a driver 
that works for FreeBSD.

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


Re: Promise Technology RAID Controller

2006-07-27 Thread PATRICK CARTER
I did not see it listed and afaik there is no official support.  The nearest 
thing I saw was a manual entry on ataraid from quite a while back suggesting 
that RAID 5 wasn't supported, but I was wondering if anyone had managed to get 
any success with the card (since from my understanding ataraid is for OS 
controlled RAID and I'm looking at a hardware/firmware controller). Also, I did 
forget to mention that the system in question is FreeBSD 6.1 and I'm looking to 
boot off of this array (although if anyone was a working system that won't boot 
from the array I'm still interested).


Thanks
--Patrick

- Original Message -
From: Richard Collyer [EMAIL PROTECTED]
Date: Thursday, July 27, 2006 11:52 am
Subject: Re: Promise Technology RAID Controller

 PATRICK CARTER wrote:
  Hey all,
  
  I was looking at getting a hardware RAID controller (that 
 supports RAID 5) for my system and I saw the FastTrak SX4100 from 
 Promise Technology.  I didn't see FreeBSD listed under their list 
 of supported operating systems and I was wondering if anyone knew 
 weather or not anyone knew if there exists a driver that works for 
 FreeBSD.
 http://www.freebsd.org/relnotes/5-
 STABLE/hardware/i386/support.html#DISK
 change 5-STABLE for OS of choice and take a look. I'd hazard a 
 guess at 
 it is simply by the number of other adaptec cards listed.
 
 Richard
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Security Run Output E-mail

2006-07-20 Thread PATRICK CARTER
I'm relatively ne to FreeBSD (~6 months of usage) and I have been administering 
my own system for approximately the last 2 months.  Recently my system has 
received many ssh login attempts on standard user accounts as someone has been 
attempting to break into my system.  I usually read the Security Run Output 
e-mails to see if the attacker(s) had made any headway, and took necessary 
precautions (limiting ssh logins etc).  However, last week (after it seemed 
that the attacks had let up somewhat) I stopped receiving the e-mails (as well 
as the daily run output e-mails).  I still read the auth.log file to see login 
information and it did not appear as though anyone had successfully managed to 
break into the system.  Today the both sets of e-mails started again and I 
received the e-mails for today and yesterday (I am still missing 5 days worth 
and one weekly run output).  I was wondering if anyone might know how to ensure 
that I continue to receive these e-mails without interrupti
on.

If it matters (and I suspect it does) I have all my root e-mails aliased to a 
locked, nologin dummy account that forwards e-mail to my account, my boss' 
account, and retains a copy in the dummy account (.forward was not working to 
forward root's mail).  Root's mail client is set to read the dummy account 
inbox as well as anything that somehow winds up in the regular root mailbox.  
This setup worked fine until the e-mails stopped last week (none of the listed 
accounts received the e-mail).

Any advice would be greatly appreciated.

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


Re: RE: Multiple IP in jail?

2006-07-06 Thread patrick

Hi Ruben, I was was wondering if you had an example of using NAT to
support multiple inbound IP's directing into a jail?

Patrick

On 1/14/06, Ruben Bloemgarten [EMAIL PROTECTED] wrote:

If you use nat in conjuction with jails there is no need to add multiple
ip's to the jails to be able to reach apache on multiple ip's, although I
agree that it would be nice to be able to assign multiple ip's to a jail.
Anyone ?

Regards,

Ruben
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Petr Murmak
Sent: January 14, 2006 7:11 PM
To: freebsd-questions@freebsd.org
Subject: Multiple IP in jail?

Hi!

Is it possible to assign multiple IP to one jail on FreeBSD 6.0-STABLE? I
want to use in jail apache for which i really need more than one IP. I found
some patches for 5.0 but they are more than 2 years old without maintaining,
so I didn't tried them.

Petr

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


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.17/229 - Release Date: 01/13/2006


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.17/229 - Release Date: 01/13/2006


___
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: jail login and replication problems

2006-07-06 Thread patrick

Hi Dan,

Did you ever find a solution to this problem? I've had the exact same
problem, and have tried various different things to resolve it... all
to no avail. It's really annoying have to remake the jail from scratch
every time, as I'd much rather do the configuration once, and use it
as a cookie-cutter for future jails.

Patrick

On 7/26/05, Dan Rue [EMAIL PROTECTED] wrote:

Greetings,

I am setting up multiple jails on a machine.  The first jail, everything
works fine.  If I add a user, that user can log in.  If I tar cvzpf the
jail, tar xvzpf to create a new one, some people can log into the new
jail, and some can not.

The user that can log in to the new one was the first user created (me),
but any subsequent users can not log into new jails..

The symptom is right after accepting the password via ssh, the
connection will just get dropped.  I could not find any good error
messages using ssh..  But if I enable telnet and try to telnet in, I
receive this error in /var/log/messages:

Jul 26 16:11:46 jail3 login: _secure_path: cannot stat /home/user3/.login_conf: 
Permission denied
Jul 26 16:11:46 jail3 login: _secure_path: cannot stat /etc/login.conf: 
Permission denied
Jul 26 16:11:46 jail3 login: _secure_path: cannot stat /home/user3/.login_conf: 
Permission denied
Jul 26 16:11:46 jail3 login: _secure_path: cannot stat /etc/login.conf: 
Permission denied

The permissions on those files are fine.

So what would cause that error in jails that have been replicated using
tar, but only to some users?  I'm stumped..

Here's my rc.conf exerpt:

jail_enable=YES
jail_list=jail3
jail_socket_unixiproute_only=NO
jail_sysvipc_allow=YES  # allow shared mem on all jails

jail_jail3_rootdir=/jails/jail3
jail_jail3_hostname=jail3.example.com
jail_jail3_ip=10.0.0.203
jail_jail3_procfs_enable=YES
jail_jail3_devfs_enable=YES
jail_jail3_devfs_ruleset=devfsrules_jail

tia,
Dan
___
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: quota and /var/mail

2006-05-24 Thread patrick

If you want to only have one set of quotas, you might consider
switching to a Postfix/Maildir setup where your users' inboxes will be
located in their home folder rather than in /var/mail.

It's a fairly easy switch: install Postfix from
/usr/ports/mail/postfix, and then you just need to configure one line
in your Postfix's main.cf to turn on Maildir support:

http://www.postfix.org/faq.html#maildir

Though, there might be a bit of a learning curve with respect to the
differences between Sendmail and Postfix to convert the rest of your
configuration over. It all depends on how complicated your current
setup is.

Patrick


On 5/23/06, Marwan Sultan [EMAIL PROTECTED] wrote:

Hello Mike,

  Thank you again for your support, this is the output of mount and fstab

# DeviceMountpoint  FStype  Options Dump
Pass#
/dev/ad0s1b noneswapsw  0   0
/dev/ad0s1a /   ufs rw  1   1
/dev/ad0s1e /tmpufs rw  2   2
/dev/ad0s1f /usrufs rw,userquota,groupquota
2   2
/dev/ad0s1g /varufs rw  2   2
/dev/acd0c  /cdrom  cd9660  ro,noauto   0   0
proc/proc   procfs  rw  0   0
$ mount
/dev/ad0s1a on / (ufs, local)
/dev/ad0s1e on /tmp (ufs, local, soft-updates)
/dev/ad0s1f on /usr (ufs, local, with quotas, soft-updates)
/dev/ad0s1g on /var (ufs, local, soft-updates)
procfs on /proc (procfs, local)

I just want the quota to read the Shell user (home directory) size plus the
INBOX mails
which stay in /var/mail/$UserName

  Currently the quota reads the home directory and ignores the $inbox
  Thak you mike

  Marwan

At 07:37 PM 21/05/2006, Marwan Sultan wrote:


  No when I enabled quota I did the configuration on /usr
  shall i enable it on /var to?
  then how to make the sendmail or the shell reads the user quota on his
home directory and
  his /var/mail/$username ?


Hi,
 It all depends on how you have it mounted.  Quotas follow the
partition. So if you have /var/mail as its own partition, you need to do it
there. If you have /var/mail as a subdirectory of /var than do it on /var.

What is the contents of /etc/fstab on the box ?

  if webmin can read the home directory quota and add to it the
/var/mail/$userInbox size
  then for sure I can do it some how?

I dont use webmin so I am not sure how it calculates things.

 ---Mike

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

_
Don't just search. Find. Check out the new MSN Search!
http://search.msn.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]


FreeBSD 6.1 and MATLAB R2006a problem

2006-05-11 Thread patrick w. dondl

Hello,

I can more or less successfully run the current MATLAB version, however I do
get the following error message on startup:

--
  M A T L A B 
 Copyright 1984-2006 The MathWorks, Inc.
Version 7.2.0.294 (R2006a)
 January 27, 2006

??? Can't load '/usr/compat/linux/opt/matlab/bin/glnx86/libmwbuiltins.so':
/usr/compat/linux/opt/matlab/bin/glnx86/libmwbuiltins.so: symbol dlinfo,
version GLIBC_2.3.3 not defined in file libdl.so.2 with link time reference

Error in == matlabrc at 58
   str = sprintf('%s', lasterr);




---

it seems that the symbol GLIBC_2.3.3 is defined in
/usr/compat/linux/lib/libdl.so.2, but I'm no expert at those things. Any
advice on what I could try, or what that message means?

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


Re: BIND inside a jail on FreeBSD 6.0

2006-05-02 Thread patrick

Thanks, that did the trick. I'm not running this in a jail because I'm
paranoid or anything -- I just need a test environment, and I don't
have an extra machine kicking around. :)

Patrick

On 5/1/06, David Robillard [EMAIL PROTECTED] wrote:


BIND is trying to setup a chroot(8) before it starts. If you're
already inside a jail, then IMHO it is a little overkill (i.e. Running
BIND in a chroot inside a jail).

Check the BIND related values in rc.conf(5). The chroot(8) startup is
triggered via this one:

named_chrootdir=/var/named# Chroot directory (or  not to auto-chroot it)

So try setting it to

named_chrootdir=

and it should disable the chroot code from the startup script.

Of course, if you still need to chroot(8) your named(8) install inside
your jail, then you're at the same point. Consider running another
jail perhaps? Or use BIND's view feature.

Hope this helps,

David


 Thanks,

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

--
David Robillard
UNIX systems administrator, CISSP
Montreal: +1 514 966 0122


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


BIND inside a jail on FreeBSD 6.0

2006-04-28 Thread patrick

I'm trying to run BIND inside a jail on FreeBSD 6.0, and I'm
encountering the following problem:

[EMAIL PROTECTED] /var/named]# /etc/rc.d/named start
mount_devfs: Operation not permitted
/etc/rc.d/named: WARNING: devfs_domount(): Unable to mount devfs on
/var/named/dev
devfs rule: ioctl DEVFSIO_RAPPLY: Operation not permitted
devfs rule: ioctl DEVFSIO_RAPPLY: Operation not permitted
Starting named.

And then it doesn't start...

(I realize that BIND already runs in a chroot'd environment, but I'm
running a second copy of BIND on an existing development server as a
secondary test environment.)

The problem looks like it originates in /etc/rc.d/named:

   # Mount a devfs in the chroot directory if needed
   #
   umount ${named_chrootdir}/dev 2/dev/null
   devfs_domount ${named_chrootdir}/dev devfsrules_hide_all
   devfs -m ${named_chrootdir}/dev rule apply path null unhide
   devfs -m ${named_chrootdir}/dev rule apply path random unhide

I tried mounting the devfs outside the jail to the jail's
/var/named/dev, and then commenting out these lines above, but named
will still not start. Does anyone have any suggestions?

Thanks,

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


Re: How do uninstall a package and all it's dependencies ?

2006-04-22 Thread Patrick Bowen
Low Kian Seong wrote:

 The problem about the -R option is that normally that takes off stuff 
 like xorg-server and friends too ! Really not nice, or am I doing 
 something wrong ?

 On 4/20/06, *Patrick Bowen* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 Low Kian Seong wrote:

 Dear all,
 
 Been digging around but never really found the answer to this
 one, say if i
 install xfce4 package and then later I want to uninstall xfce4
 and *all*
 it's dependencies, how do i do it ?
 
 Thank you all in advance.
 ___
 freebsd-questions@freebsd.org
 mailto:freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
 
 
 

 Seong;

 I do that fairly often when I'm just looking at packages. Try
 pkg_deinstall -R package-name, where package-name is replaced
 with the
 name of the package you want to delete, in your case xfce4.

 pkg_deinstall -R xfce4.

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



If the dependancy pkg is required by something else, then pkg_deinstall 
will tell me that it can't delete the dependancy pkg because its used by 
another pkg. Works like a charm.

Patrick

-- 
  Patrick Bowen
  [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.0 and fsck_snapshot

2006-04-20 Thread patrick
Does anyone have any knowledge about this fsck_snapshot file? I've
Googled it, but haven't found anything useful. I'm somewhat concerned
that FreeBSD/fsck could destroy the entire contents of a drive like
this.

Patrick

On 4/19/06, patrick [EMAIL PROTECTED] wrote:
 I used smartctl (part of /usr/ports/sysutils/smartmontools) to run a
 diagnostic on the disk, and while it does acknowledge an error, it
 seems to think the drive is okay. However, given that all of my files
 are still missing, I'm still a bit skeptical.

 Error 1 occurred at disk power-on lifetime: 2920 hours (121 days + 16 hours)
   When the command that caused the error occurred, the device was
 active or idle.

   After command completion occurred, registers were:
   ER ST SC SN CL CH DH
   -- -- -- -- -- -- --
   84 51 0f b0 bc 5d 4f  Error: ICRC, ABRT 15 sectors at LBA =
 0x0f5dbcb0 = 257801392

   Commands leading to the command that caused the error were:
   CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
   -- -- -- -- -- -- -- --    
   c8 00 20 9f bc 5d 4f 00  00:02:34.209  READ DMA
   c8 00 20 7f fe 57 4f 00  00:02:34.202  READ DMA
   c8 00 20 5f 40 52 4f 00  00:02:34.191  READ DMA
   c8 00 20 3f 82 4c 4f 00  00:02:30.735  READ DMA
   c8 00 20 1f c4 46 4f 00  00:02:34.965  READ DMA

 SMART Self-test log structure revision number 1
 Num  Test_DescriptionStatus  Remaining
 LifeTime(hours)  LBA_of_first_error
 # 1  Extended offlineCompleted without error   00%  3300 -



 On 4/19/06, patrick [EMAIL PROTECTED] wrote:
  I rebooted out FreeBSD 6.0 server today. I noticed that it froze
  during the shutdown, so I had to do a hard reset. After it reboot, I
  did an ls on one of our filesystems (250GB SATA drive). Instead of all
  of the files that would normally be there, all there was was a .snap
  folder. When I did an ls in there, the process hung. I rebooted once
  again, and I can get into the .snap folder just fine. Except that all
  of my files are still missing, and instead it appears I have one big
  fsck_snapshot file.
 
  Is there any way I can recover from this and restore my files? Looking
  through my logs, I see a couple errors just before I did the initial
  reboot:
 
  Apr 19 12:12:29 pompom kernel: g_vfs_done():ad8s1d[READ(offset=114688,
  length=16384)]error = 6
  Apr 19 12:12:29 pompom kernel: g_vfs_done():ad8s1d[READ(offset=114688,
  length=16384)]error = 6
 
  Any help would be greatly appreciated.
 
  Thanks,
 
  Patrick
 

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


6.0 and fsck_snapshot

2006-04-19 Thread patrick
I rebooted out FreeBSD 6.0 server today. I noticed that it froze
during the shutdown, so I had to do a hard reset. After it reboot, I
did an ls on one of our filesystems (250GB SATA drive). Instead of all
of the files that would normally be there, all there was was a .snap
folder. When I did an ls in there, the process hung. I rebooted once
again, and I can get into the .snap folder just fine. Except that all
of my files are still missing, and instead it appears I have one big
fsck_snapshot file.

Is there any way I can recover from this and restore my files? Looking
through my logs, I see a couple errors just before I did the initial
reboot:

Apr 19 12:12:29 pompom kernel: g_vfs_done():ad8s1d[READ(offset=114688,
length=16384)]error = 6
Apr 19 12:12:29 pompom kernel: g_vfs_done():ad8s1d[READ(offset=114688,
length=16384)]error = 6

Any help would be greatly appreciated.

Thanks,

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


Re: 6.0 and fsck_snapshot

2006-04-19 Thread patrick
I used smartctl (part of /usr/ports/sysutils/smartmontools) to run a
diagnostic on the disk, and while it does acknowledge an error, it
seems to think the drive is okay. However, given that all of my files
are still missing, I'm still a bit skeptical.

Error 1 occurred at disk power-on lifetime: 2920 hours (121 days + 16 hours)
  When the command that caused the error occurred, the device was
active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  84 51 0f b0 bc 5d 4f  Error: ICRC, ABRT 15 sectors at LBA =
0x0f5dbcb0 = 257801392

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --    
  c8 00 20 9f bc 5d 4f 00  00:02:34.209  READ DMA
  c8 00 20 7f fe 57 4f 00  00:02:34.202  READ DMA
  c8 00 20 5f 40 52 4f 00  00:02:34.191  READ DMA
  c8 00 20 3f 82 4c 4f 00  00:02:30.735  READ DMA
  c8 00 20 1f c4 46 4f 00  00:02:34.965  READ DMA

SMART Self-test log structure revision number 1
Num  Test_DescriptionStatus  Remaining 
LifeTime(hours)  LBA_of_first_error
# 1  Extended offlineCompleted without error   00%  3300 -



On 4/19/06, patrick [EMAIL PROTECTED] wrote:
 I rebooted out FreeBSD 6.0 server today. I noticed that it froze
 during the shutdown, so I had to do a hard reset. After it reboot, I
 did an ls on one of our filesystems (250GB SATA drive). Instead of all
 of the files that would normally be there, all there was was a .snap
 folder. When I did an ls in there, the process hung. I rebooted once
 again, and I can get into the .snap folder just fine. Except that all
 of my files are still missing, and instead it appears I have one big
 fsck_snapshot file.

 Is there any way I can recover from this and restore my files? Looking
 through my logs, I see a couple errors just before I did the initial
 reboot:

 Apr 19 12:12:29 pompom kernel: g_vfs_done():ad8s1d[READ(offset=114688,
 length=16384)]error = 6
 Apr 19 12:12:29 pompom kernel: g_vfs_done():ad8s1d[READ(offset=114688,
 length=16384)]error = 6

 Any help would be greatly appreciated.

 Thanks,

 Patrick

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


Re: How do uninstall a package and all it's dependencies ?

2006-04-19 Thread Patrick Bowen

Low Kian Seong wrote:


Dear all,

Been digging around but never really found the answer to this one, say if i
install xfce4 package and then later I want to uninstall xfce4 and *all*
it's dependencies, how do i do it ?

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

 



Seong;

I do that fairly often when I'm just looking at packages. Try 
pkg_deinstall -R package-name, where package-name is replaced with the 
name of the package you want to delete, in your case xfce4.


pkg_deinstall -R xfce4.

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


Re: where/under what do I look for relaxing the privlege requirements for mounting/accessing devices?

2006-04-19 Thread Patrick Bowen

Jim Stapleton wrote:


Sorry, my reply got bounced back, didn't realize it, but I sent a
second reply, here it is again:


It's different this time though:

mount_smbfs: can not setup kernel iconv table (ISO8859-1:tolower):
syserr = Operation not permitted



On 4/18/06, Patrick Bowen [EMAIL PROTECTED] wrote:
 


Jim Stapleton wrote:

   


That did not work either.



 


Jim;

Unless I'm mistaken, smbfs_load=YES should go into
/boot/loader.conf. Use kldstat to see if the module is loaded.

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



   


Jim;

not work how? Didn't load (wasn't listed by kldstat), or didn't work
when it *was* loaded?

Patrick

   


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

 



I'm over my head here, but i did some googling on mount_smbfs: can not 
setup kernel iconv table and got 216 hits. In a few of the solutions it 
states that you must be root to mount_smbfs. Check out google, it'll be 
more help than me at this point.


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


Re: Window Manager Opinions

2006-04-19 Thread Patrick Bowen

Huy Ton That wrote:


Just a general question; not sure if it belongs in questions but let me know
otherwise.  I'm currently using gnome2 as my desktop environment on RC
6.1but it is a little dry;  What are you all using out there and any
reasons as
to behind the decision and such.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

 



I use WindowMaker (/usr/ports/x11-wm/windowmaker). It's very fast to 
load, configurable/theme-able, and has a nice clean desktop. Check out 
their website at http://www.windomaker.org.


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


Re: where/under what do I look for relaxing the privlege requirements for mounting/accessing devices?

2006-04-18 Thread Patrick Bowen

Jim Stapleton wrote:


Works great so far, except I get the following error when trying to
mount SMB files still:


mount_smbfs: can not setup kernel iconv table (ISO8859-1:tolower):
syserr = Operation not permitted


Also, I still have to manually do a root 'kldload smbfs' before
mounting samba, I tried adding these two lines to rc.conf to no avail:

smbfs_load=YES
smbfs_enable=YES

Any other suggestions?

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

 



Jim;

Unless I'm mistaken, smbfs_load=YES should go into 
/boot/loader.conf. Use kldstat to see if the module is loaded.


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


Re: getting a user's home dir (sed/awk?)

2006-04-17 Thread Patrick Bowen

Erik Norgaard wrote:


Hi:

I am trying to create a script, the idea is to host a number of web
services, each running as a different process owned by a different user
bound to a non privileged port on localhost. The point is that each
service can be restarted without affecting other services and that any
security compromise does not propagate to other services.

Now, to start all servers I want to create a master script that looks up
the user's home directory and runs a script in a predefined path.

So the question is: given a username, how do I get the homedir?

I have found pw usershow user1 will return a line from the passwd
file, but that needs to be split chewed, and spit out. Seems awk can do
it but I have no clue.

Thanks, Erik

PS: Yes, I know, I could just create a perl script - but this time I
want to do it all using the tools in base.
 



Erik;

How 'bout something like;

pw usershow user1 | awk -F: ' { print $9 } '

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


Re: rc.local

2006-04-17 Thread Patrick Bowen

riko saputra wrote:


in my freebsd 6.0 there is no rc.local ,
how i can get rc.local ??
thanks.

 



riko;

man 8 rc should have the information you're looking for.

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


Re: wifi ath

2006-04-16 Thread Patrick Bowen

dick hoogendijk wrote:


Bought a WiFi D-Link with atheros chipset.
I use a non-default kernel, so I guess I have to put some options back in
and recompile. Will upgrade to 6.1-rc at the same time ;-)

Any pitfalls?
What options exactly do I need to have my ath based wifi card up and
running?

 


Dick;

Test the card with kldload if_ath as root, then ifconfig and dhcp, 
before you re-compile the kernel. If that works then you can just  add 
the modules at startup. Saves time recompiling.


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


Re: wireless setup help

2006-04-16 Thread Patrick Bowen

[EMAIL PROTECTED] wrote:


Hi,

I'm having difficulties connecting to my roommate's apple airport.

Following the guide I tried using a fixed IP:
ifconfig ath0 10.0.1.5 netmask 0xff00 ssid True That
but got status: no carrier and obviously couldn't ping anything.

I believe WEP is turned off at the moment as my roommate joins without any
password.

next I tried the dhcp method from someone in the mailing list.  I added
these lines to rc.conf then rebooted:
ifconfig_ath0=DHCP
ifconfig ath0 ssid True That

at reboot dhcp wasn't able to pick up any leases and I saw status: no
carrier on ifconfig ath0.

FreeBSD wireless setup is new to me, so I'm probably missing something
obvious.  The card is a DLink Airplus G and I have the if_ath.ko loading
at boot without any problems.  Any hints are most appreciated. Thanks,
Nathan

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

 



Nathan;

Unless the Apple device is running a DHCP server (you didn't mention if 
you knew that to be true), setting ifconfig_ath=DHCP in rc.conf will 
have no effect. Have you tried setting the IP and netmask and ssid to 
what your roommate's machine is using (just to see if it works)?


Also, the line in your rc.conf, ifconfig ath0 ssid True That is, I 
suspect, wrong. I'll bet it needs to be something like 
ifconfig_ath0_ssid=True That.


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


Re: a favorite graphical ftp client?

2006-04-16 Thread Patrick Bowen

Jonathan Horne wrote:


On Sunday 16 April 2006 20:17, [EMAIL PROTECTED] wrote:
 


i would like to ask the list for opinions on a good graphical ftp client
 


for a

   


freebsd desktop.  before i try them all, id like to get a few
recomendations :)
 


gftp is quite nice imho -- http://gftp.seul.org/
   



sorry, i should have mentioned i use KDE.  will gftp be any trouble to 
compile, or is it going to pull down the entire gnome to go with it?  im 
really looking for something that works well under KDE.


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

 



Jonathan;

No, it won't. I use it with WindowMaker. It pulled some stuff down with 
it, but not much.


BTW, if you're using KDE, there is a kftpgrabber graphical ftp client 
for KDE in the ports collection.


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


Re: ISO Image for FreeBSD5.4 that is Current

2006-04-02 Thread Patrick Bowen

Martin McCormick wrote:


The FreeBSD site has an installation ISO image for FreeBSD5.4
but it is dated last May.  There have been several core security
updates since then.  should I be looking in a different place to find
a stable 5.x ISO image that is current?

Thank you very much.

Martin McCormick WB5AGZ  Stillwater, OK 
Systems Engineer

OSU Information Technology Department Network Operations Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

 


Martin:

You'll need to install 5.4 from the iso, then use cvsup to update your 
sources with the updates. Then read the handbook and /usr/src/UPDATING 
for the instructions on how to recompile your world and kernel. Your 
other option is to wait for 5.5 which should be out any day now.


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


Re: flash plugins question

2006-04-01 Thread Patrick Bowen

Marlon Martin wrote:


linuxpluginwrapper is installed from ports, and linux-flashplugin7 after
that i copy libmap.conf-FreeBSD6
fromfile:///usr/local/share/examples/linuxpluginwrapper/libmap.conf-FreeBSD6
/usr/local/share/examples/linuxpluginwrapper/  to /etc/ and rename it as
libmap.conf but still no plugins for flash: when typing:
about:plugins

anyone can help fixing this? im running FBSD 6.1PRE
 



Marlon;

I had the same problem with FreeBSD-native mozilla. My final solution 
was to de-install mozilla and install linux-mozilla from ports. This 
solved all my problems, and now I can use flash, realplayer, 
mplayer-plugins, acroread, etc.


BTW, I'm running -current.

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


Re: Sound Wireless

2006-04-01 Thread Patrick Bowen

Zaid Dashti wrote:


Hello



I have installed FreeBSD v6.0R on my Toshiba satellite pro M30 laptop.

Everything works fine except and wireless.



The wireless card is identified, but I don't know how to find the access
points, is there a good tool for kde or consol that does a job?

Also, my sound driver is not identified, how do I do it?





Regards,

Zaid Dashti





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

 


Zaid;

What does your dmesg look like?

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


Re: List Etiquette Question - Thank yous

2006-03-24 Thread Patrick Bowen

On Fri, 24 Mar 2006 12:05:35 -0800, Oliver Iberien
[EMAIL PROTECTED] said:
 I have never been on a list from which I have received as much help as
 this 
 one, which raises a question for me. I would like to thank the people who 
 post questions to my answers, such as the fellow below, but don't want to 
 spam people's inboxes and/or the with thank-you notes that may be
 archived 
 for all time. Do people generally expect a note of thanks?
 
 Oliver
 
 
 On Friday 24 March 2006 11:47, Dan Nelson wrote:
  In the last episode (Mar 24), Oliver Iberien said:
   This may be a silly question, but I wanted to make sure:
  
   I have a SCSI R/W CD-ROM drive and an IDE DVD read-only drive. There
   have been times with linux where enabling SCSI emulation made the
   actual SCSI drive unavailable to k3b. I just want to make sure that
   adding ATAPICAM won't somehow get in the way of the actual SCSI
   device. Will it?
 
  At worst it may shuffle the device number if the atapi drive gets
  probed first.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

Oliver:

I think it's generally expected that you reply to their help with
something like Bummer, that didn't work. or That fixed my problem!
Thanks so much!! I don't know, however, whether thank you's should be
privately or to the list. I usually say my thanks on the list. I guess I
feel that public help should receive public praise.

Patrick
-- 
  Patrick Bowen
  [EMAIL PROTECTED]

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


Kernel mixup after dump/restore

2006-03-13 Thread Patrick Bowen

List;

I have a slice on ad0s1 mounting the root FS from ad0s2a, and 
vice-verse. Here's what I did.


1.  Started out with a 20 Gig drive with two equal slices, ad0s1 (blank) 
and ad0s2 (FreeBSD).


2.  Used sysinstalls fdisk and bsdlabel to create /, /var, /tmp, and 
/usr partitions on ad0s1 equal in size to those on ad0s2.


3.  Used the following command to copy partitions from ad0s2 to ad0s1;

  dump -L -0 -f- /usr | (cd /mnt/hd/usr; restore -r -v -f-)

/usr is on ad0s2 and /mnt/hd/usr is ad0s1.

4.  Changed /mnt/hd/etc on ad0s1 to mount partitions on ad0s1, rather 
than ad0s2.


5.  Used grub to boot either to ad0s1 or ad0s2.

When I boot the first slice (ad0s1), df(1) shows all the partitions to 
be ad0s1, except root, which is ad0s2. When I boot the second slice 
(ad0s2), df(1) shows all partitions to be ad0s2, except root, which is 
ad0s1.


Can anyone explain this behaviour, and why it might have happened?

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


Re: Kernel mixup after dump/restore

2006-03-13 Thread Patrick Bowen

Patrick Bowen wrote:


List;

I have a slice on ad0s1 mounting the root FS from ad0s2a, and 
vice-verse. Here's what I did.


1.  Started out with a 20 Gig drive with two equal slices, ad0s1 
(blank) and ad0s2 (FreeBSD).


2.  Used sysinstalls fdisk and bsdlabel to create /, /var, /tmp, and 
/usr partitions on ad0s1 equal in size to those on ad0s2.


3.  Used the following command to copy partitions from ad0s2 to ad0s1;

  dump -L -0 -f- /usr | (cd /mnt/hd/usr; restore -r -v -f-)

/usr is on ad0s2 and /mnt/hd/usr is ad0s1.

4.  Changed /mnt/hd/etc on ad0s1 to mount partitions on ad0s1, rather 
than ad0s2.


5.  Used grub to boot either to ad0s1 or ad0s2.

When I boot the first slice (ad0s1), df(1) shows all the partitions to 
be ad0s1, except root, which is ad0s2. When I boot the second slice 
(ad0s2), df(1) shows all partitions to be ad0s2, except root, which is 
ad0s1.


Can anyone explain this behaviour, and why it might have happened?

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


I should have mentioned that I modified the dump/restore command in #3 
above to reflect all the different partitions.


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


Re: gmirror on a laptop.

2006-03-12 Thread Patrick Bowen

Chuck Swiger wrote:


Patrick Bowen wrote:
 


I wanted to fiddle around with gmirror(8) on a Dell C-600 Laptop. It has
a 2-slice, 20 Gig HD, and I essentially wanted to mirror ad0s1 to ad0s2.
I realize this will put the HD under stress, but otherwise it seems
do-able.

What I want to know is whether this is such an incredibly bad idea I
shouldn't even consider it --or-- it seems like a good way to get
familiar with gmirror, so go for it.
   



If you want to do this for the sake of practice, by all means, feel free.

However, mirroring onto the same device is going to result in almost no benefit
to reliability and will cause a very large performance hit, as well as reducing
the usable amount of disk space in half.  (In other words, actually leaving the
machine set up that way would be an incredibly bad idea.)

 


Mr. Swiger;

I agree, except that I had anticipated absolutely *no* benefit to 
reliability. If the disk goes bad, then having a mirror on the same 
disk, different slice, would still give me...no disk. I simply wanted to 
get the practice by actually doing, instead of just reading about it. 
I'll probably re-install Slackware on the other slice when I get done 
playing around.


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


gmirror on a laptop.

2006-03-11 Thread Patrick Bowen

List;

I wanted to fiddle around with gmirror(8) on a Dell C-600 Laptop. It has 
a 2-slice, 20 Gig HD, and I essentially wanted to mirror ad0s1 to ad0s2. 
I realize this will put the HD under stress, but otherwise it seems do-able.


What I want to know is whether this is such an incredibly bad idea I 
shouldn't even consider it --or-- it seems like a good way to get 
familiar with gmirror, so go for it.


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


Trying to build for apache 2 not apache 1

2006-03-01 Thread Patrick Donelan

Hi,

I am having trouble installing a port/package because it wants to use 
Apache 1.3 whereas I am running Apache 2 on the server in question.


As far as I can tell, I should install by building the port rather than 
using the package because the package is obviously pre-compiled for 
Apache 1.3. Fair enough, but how can I build the port for apache 2 if 
there aren't any makefile options regarding apache? The port in question 
is php4-mysql.


Thanks,

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


Re: Shell Script Help

2006-01-29 Thread Proniewski Patrick

On 29 janv. 06, at 16:10, Angelo Christou wrote:


list.txt contains:

bob home 9002
jim data 9005



Running the following for each line is what I'm trying to do:
myprogram bob home 9002
myprogram jim data 9005
and so on..


give this a try:

while read myline; do
   set -- $myline
   myprogram $1 $2 $3
done  list.txt



Patrick PRONIEWSKI
--
Administrateur Système - SENTIER - Université Lumière Lyon 2



Re: truss and procfs strange problem.

2006-01-27 Thread Proniewski Patrick

On 26 janv. 06, at 23:33, Dan Nelson wrote:


in that case, the command issued as a truss argument (ls, ...) is
stuck in state D. `man ps` says it Marks a process in disk (or
other short term, uninterruptible) wait.
these process wont be killed, I'll have to reboot. (procctl won't
clear the processes...)


You can continue tracing these processes if you run truss -p pid,
since that's pretty much what they're waiting for :)


you are right, thanks.

Apart from that, I've recompiled my system from 5.4p8 to 5.4p10, and  
the problem is still here...




Patrick PRONIEWSKI
--
Administrateur Système - SENTIER - Université Lumière Lyon 2

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


truss and procfs strange problem.

2006-01-26 Thread Proniewski Patrick

Hello,

I experience a strange problem with truss on FreeBSD 5.4 p8 :

$ truss ls
truss: cannot open /proc/4509/mem: No such file or directory
$ truss ls
truss: PIOCWAIT: Input/output error


of course, PROCFS is mounted :

$ df procfs
Filesystem 1K-blocks Used Avail Capacity  Mounted on
procfs 44 0   100%/proc


but, if I count `ls -1 /proc/ | wc -l` the result will always be limited
to 128, even if I have more than 200 lines in ps aux output :

$ ls -1 /proc/ | wc -l
 128
$ ps aux | wc  -l
 207

It really looks like a power of 2 limit, this is very strange.

The box is a PIV 3GHz, with HTT enabled  
(machdep.hyperthreading_allowed=1). Complete sysctl available at  
http://boleskine.patpro.net/~patpro/sysctl.txt, Kernel config below.


$ uname -a
FreeBSD my_box 5.4-RELEASE-p8 FreeBSD 5.4-RELEASE-p8 #0: Sun Oct 16
17:12:30 CEST 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/PATPRO-20050829  i386

# egrep -v ^# /usr/src/sys/i386/conf/PATPRO-20050829

machine i386
cpu I686_CPU
ident   PATPRO-20050829

options SCHED_4BSD
options INET
options FFS
options SOFTUPDATES
options UFS_ACL
options UFS_DIRHASH
options MD_ROOT
options NFSCLIENT
options NFSSERVER
options NFS_ROOT
options MSDOSFS
options CD9660
options PROCFS
options PSEUDOFS
options GEOM_GPT
options COMPAT_43
options COMPAT_FREEBSD4
options SCSI_DELAY=15000
options KTRACE
options SYSVSHM
options SYSVMSG
options SYSVSEM
options _KPOSIX_PRIORITY_SCHEDULING
options KBD_INSTALL_CDEV
options AHC_REG_PRETTY_PRINT
options AHD_REG_PRETTY_PRINT
options ADAPTIVE_GIANT
options ALTQ
options ALTQ_CBQ
options ALTQ_RED
options ALTQ_RIO
options ALTQ_HFSC
options ALTQ_PRIQ
options ALTQ_NOPCC
options SMP
options MPTABLE_FORCE_HTT

device  apic
device  isa
device  eisa
device  pci
device  fdc
device  ata
device  atadisk
device  ataraid
device  atapicd
device  atapifd
device  atapist
options ATA_STATIC_ID
device  atkbdc
device  atkbd
device  psm
device  vga
device  splash
device  sc
device  agp
device  npx
device  pmtimer
device  sio
device  ppc
device  ppbus
device  ppi
device  em
device  miibus
device  fxp
device  ex
device  loop
device  mem
device  io
device  random
device  ether
device  tun
device  pty
device  md
device  bpf
device  uhci
device  ohci
device  ehci
device  usb
device  ugen
device  uhid
device  ukbd

Patrick PRONIEWSKI
--
Administrateur Système - SENTIER - Université Lumière Lyon 2

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


Re: truss and procfs strange problem.

2006-01-26 Thread Proniewski Patrick

Hi,

On 26 janv. 06, at 18:13, Dan Nelson wrote:


$ truss ls
truss: cannot open /proc/4509/mem: No such file or directory
$ truss ls
truss: PIOCWAIT: Input/output error


The child process probably hasn't been fully started by the time the
parent tries to attach to it.  Adding a sleep(1) inside
setup_and_wait() in setup.c just before it tries to open /proc/%d/mem
is a quick hack that works.  A better solution would be to retry the
open and ioctl calls if they fail, after a short wait (but only doing
so for a couple seconds in case there was a problem starting the child
process).


hmmm I see. In fact, I have the cannot open error for a normal  
truss usage, and if I repeat the truss command very fast, I got the  
second error (PIOCWAIT: Input/output error). Slowing down the process  
is an interesting workaround :


truss ls - fails 100% of the time
ktrace truss ls - fail most of the time
truss `which ls` - works great.



I have no idea why the PIOCWAIT ioctl would fail like that


neither have I... In fact, the 128 items limitation of my procfs  
puzzles me even more.


thanks

Patrick PRONIEWSKI
--
Administrateur Système - SENTIER - Université Lumière Lyon 2

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


Re: truss and procfs strange problem.

2006-01-26 Thread Proniewski Patrick

I have some new details :


$ truss ls
truss: cannot open /proc/4509/mem: No such file or directory



in that case, the command issued as a truss argument (ls, ...) is  
stuck in state D.
`man ps` says it Marks a process in disk (or other short term,  
uninterruptible) wait.


these process wont be killed, I'll have to reboot. (procctl won't  
clear the processes...)


Patrick PRONIEWSKI
--
Administrateur Système - SENTIER - Université Lumière Lyon 2

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


Re: ipfw divert with exception?

2006-01-03 Thread patrick
That's what I thought too, but it doesn't seem to be the case. Here's
what I have:

ipfw -f flush
ipfw add 70 allow tcp from 10.0.1.254 to any
ipfw add accept tcp from any to any 22 in via ${ext_if}
ipfw add 6000 allow all from any to any via lo0
ipfw add 6100 allow all from any to any via ${int_if}
ipfw add 7000 divert natd all from any to any via ${ext_if}
ipfw add 7100 check-state
ipfw add pass all from any to any via ${ext_if}
ipfw add pass all from any to any via ${int_if}
ipfw add 65534 allow ip from any to any

Patrick

On 1/2/06, Foo Ji-Haw [EMAIL PROTECTED] wrote:
 I've not tried it myself, but putting the exception rules before the
 'divert' rule should help, since ipfw exits the rule matching upon first
 match.

 - Original Message -
 From: patrick [EMAIL PROTECTED]
 To: freebsd-questions@freebsd.org
 Sent: Tuesday, January 03, 2006 4:56 AM
 Subject: ipfw divert with exception?


  I have a FreeBSD 6.0 machine acting as a router for our office. We use
  natd for address translation, and I have rule like so:
 
  ipfw add divert natd all from any to any via ${ext_if}
 
  To allow incoming SSH access, I have a redirect_port line setup in my
  /etc/natd.conf file, and while it works just fine, I don't like that
  natd has to be running in order for me to SSH into the server.
  (Because, if -- hypothetically of course -- one were to *cough*
  accidentally kill the natd process without realizing this, then
  *ahem*, one would be locked out remotely without any means of fixing
  it. And I'd like to stress that this situation is indeed, uh,
  hypothetical. ;) )
 
  So, I'm sure there is a way for me to create some ipfw rules above the
  divert line to accept incoming SSH traffic and not having it get
  diverted, but I'm at a bit of a loss as to how I can achieve this. The
  current rule I have above this does not do anything to stop the
  traffic from being diverted:
 
  ipfw add accept tcp from any to any 22 in via ${ext_if}
 
  Any help or insight would be greatly appreciated.
 
  Thanks,
 
  Patrick
  ___
  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]


ipfw divert with exception?

2006-01-02 Thread patrick
I have a FreeBSD 6.0 machine acting as a router for our office. We use
natd for address translation, and I have rule like so:

ipfw add divert natd all from any to any via ${ext_if}

To allow incoming SSH access, I have a redirect_port line setup in my
/etc/natd.conf file, and while it works just fine, I don't like that
natd has to be running in order for me to SSH into the server.
(Because, if -- hypothetically of course -- one were to *cough*
accidentally kill the natd process without realizing this, then
*ahem*, one would be locked out remotely without any means of fixing
it. And I'd like to stress that this situation is indeed, uh,
hypothetical. ;) )

So, I'm sure there is a way for me to create some ipfw rules above the
divert line to accept incoming SSH traffic and not having it get
diverted, but I'm at a bit of a loss as to how I can achieve this. The
current rule I have above this does not do anything to stop the
traffic from being diverted:

ipfw add accept tcp from any to any 22 in via ${ext_if}

Any help or insight would be greatly appreciated.

Thanks,

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


Device needed to manage several FreeBSD servers

2005-12-17 Thread patrick
I have a bunch of FreeBSD servers to manage, and I'm wanting to find a
device that lets you SSH/telnet in, and access the servers connected
to it via serial cables. I know such a device exists, but it was a
long time ago since I last saw one, and I'm not really sure what one
of these would be called. Has anyone had any experience with such a
device?

Thanks,

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


FreeBSD6 NATT L2TP IPSEC

2005-11-28 Thread Patrick Dung
Hi

I have ipsec-tools's freebsd6 natt patch on the kernel.
Run ipsec-tools(racoon with natt).

NATT should work (I see phase 2 message pass between client (XP) and
the FreeBSD server. Windows behind NAT (registry changed to do NATT)
It seems the l2tpd (from ports 0.69) does not start (which call pppd).

Has anyone get success with FreeBSD6+NATT+L2TP-IPSEC ?



__ 
Yahoo! Music Unlimited 
Access over 1 million songs. Try it free. 
http://music.yahoo.com/unlimited/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Logo

2005-11-11 Thread Patrick Smith
I made you this new logo for your free bsd operating system, its kinda like
the old one what do you think?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Jail cloning problem

2005-11-10 Thread patrick
I built a jail, and then I tar'd it up after some setup so that I
could create new jails quickly. When I start up a cloned jail,
everything works except SSH. If I try to ssh outside of the jail, I
just get: Host key verification failed.. I know from past experience
that if I rebuild the second jail the make world way, everything
works fine, so I suspect that there is some permissions or dev issue
after untarring. I'm 100% certain that it does not have to do with any
actual host key verification. I've rebuilt the dev folder using
MAKEDEV jail, and have also tried ensuring that permissions are
correct in /tmp and /var, but to no avail.

Can anyone think of any reason why SSH wouldn't work in a cloned jail like this?

Thanks,

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


Re: Jail cloning problem

2005-11-10 Thread patrick
So is it a repairable permissions issue, or is it something that I
could never fix? The jail wasn't built on its own filesystem, and
because I don't have a spare drive to do that, I'm hoping that there
is some way possible to make cloning work using tar.

Thanks,

Patrick

On 11/10/05, Glenn's mailing lists [EMAIL PROTECTED] wrote:
 On Thu, 10 Nov 2005, patrick wrote:

  I built a jail, and then I tar'd it up after some setup so that I
  could create new jails quickly. When I start up a cloned jail,
  everything works except SSH. If I try to ssh outside of the jail, I
  just get: Host key verification failed.. I know from past experience
  that if I rebuild the second jail the make world way, everything
  works fine, so I suspect that there is some permissions or dev issue
  after untarring. I'm 100% certain that it does not have to do with any
  actual host key verification. I've rebuilt the dev folder using
  MAKEDEV jail, and have also tried ensuring that permissions are
  correct in /tmp and /var, but to no avail.
 
  Can anyone think of any reason why SSH wouldn't work in a cloned jail like 
  this?

 Use dump and restore, and things will work as expected.  The initial jail
 has to be built on it's own file system though.

 -Glenn

 
  Thanks,
 
  Patrick
  ___
  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: Jail cloning problem

2005-11-10 Thread patrick
Whoops, that's something I should have mentioned. :) I'm on FreeBSD 4.11.

Patrick

On 11/10/05, Kirk Strauser [EMAIL PROTECTED] wrote:
 On Thursday 10 November 2005 13:01, patrick wrote:

  I've rebuilt the dev folder using MAKEDEV jail, and have also tried
  ensuring that permissions are correct in /tmp and /var, but to no avail.

 Which version of FreeBSD?  5.x and onward use devfs and not MAKEDEV; perhaps
 your device nodes aren't being created correctly?

 Also, running /usr/sbin/sshd -ddd and trying to connect can give lots of
 useful information.
 --
 Kirk Strauser



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


FreeBSD 4.11 + imap-uw = PAM problems

2005-10-28 Thread patrick
I'm getting the following errors with imap-uw on FreeBSD 4.11 when I
connect to the POP3 or IMAP server:

Oct 28 15:57:56 bubs imapd[16913]: unable to resolve symbol: pam_sm_open_session
Oct 28 15:57:56 bubs imapd[16913]: unable to resolve symbol:
pam_sm_close_session

I installed imap-uw from the ports collection, and my pam.conf has:

imapauthrequiredpam_unix.so
imapaccount requiredpam_unix.so
imapsession requiredpam_unix.so
pop3authrequiredpam_unix.so
pop3account requiredpam_unix.so
pop3session requiredpam_unix.so

I don't know a lot about PAM, so I'm not even sure where to start to
fix this. I have a similar setup going on a FreeBSD 4.62 machine, and
it works fine.

Any help would be greatly appreciated.

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


Re: FreeBSD 4.11 + imap-uw = PAM problems

2005-10-28 Thread patrick
Thanks, that did the trick. I wonder why the installation instructions
on the port said to add all of those other lines?

Patrick

On 10/28/05, Gary Hayers [EMAIL PROTECTED] wrote:
 On my 4.11-STABLE box I dont get this in my logs, I have enclosed my
 pam.cof for your consideration.

 # Mail services
 imapauthrequiredpam_unix.so try_first_pass
 pop3authrequiredpam_unix.so try_first_pass
 #imapauthrequiredpam_unix.so
 #imapaccount requiredpam_unix.so
 #imapsession requiredpam_unix.so
 #pop3authrequiredpam_unix.so
 #pop3account requiredpam_unix.so
 #pop3session requiredpam_unix.so

 patrick wrote:
  I'm getting the following errors with imap-uw on FreeBSD 4.11 when I
  connect to the POP3 or IMAP server:
 
  Oct 28 15:57:56 bubs imapd[16913]: unable to resolve symbol: 
  pam_sm_open_session
  Oct 28 15:57:56 bubs imapd[16913]: unable to resolve symbol:
  pam_sm_close_session
 
  I installed imap-uw from the ports collection, and my pam.conf has:
 
  imapauthrequiredpam_unix.so
  imapaccount requiredpam_unix.so
  imapsession requiredpam_unix.so
  pop3authrequiredpam_unix.so
  pop3account requiredpam_unix.so
  pop3session requiredpam_unix.so
 
  I don't know a lot about PAM, so I'm not even sure where to start to
  fix this. I have a similar setup going on a FreeBSD 4.62 machine, and
  it works fine.
 
  Any help would be greatly appreciated.
 
  Patrick
  ___
  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]


Trouble accessing da-devices on Supermicro X6DH8-G2

2005-08-24 Thread Patrick van Iersel
Hi guys (and girls?),

I have an interesting yet frustating problem trying to get FreeBSD to
access a logical drive/lun's on a raid array.
Let me describe the system first.
The server has a Supermicro X6DH8-G2 mainboard. This thing has an
on-board Adaptec AIC-7902 controller (ahd) which we are not using.
Other cards installed, on a riser, are a LSILogic MegaRAID SCSI 320-1
and a Qlogic 2300 fibre channel adapter. The Qlogic has a raid array
attached which shows up during post and syncs nicely at 2 Gb.

The logical volumes created with the Megaraid can be accessed just fine,
even though they don't show up with camcontrol.
The lun's on the raid array simply don't show up anywhere. However when I
go into the QL menu upon boot I can 'see' the lun's so that indicates
there is no problem with the hardware and/or link.
I've tried everything from changing irq's (didn't work, the two mentioned
cards keep sharing the same no matter what I do with device.hints etc.),
different FreeBSD versions, to taking the Megaraid out of the system.
No dice.
I cannot help but think there is something about this mainboard that messes
up the CAM subsystem (the volumes on the Lsilogic show up as amrd* so I
guess that thing does it's own magic and doesn't need CAM?).
I don't mind if FreeBSD cannot work with this combination of hardware but
I'd like to be sure that that's the problem.
Any pointers/suggestions are welcome :)

Do let me know what additional info could be useful here. For now I've put
up dmesg and pciconf output here: http://home.caiw.nl/~pviersel/freebsd/ .

The system is currently running 5.4 STABLE/amd64 with a generic kernel. The
only change in the kernel is that I've taken out the ahd driver.

Please cc me if you reply (I use the digest version of the mailinglist).

Thanks,

Patrick.

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


Routing problem?

2005-08-24 Thread Patrick Lindholm

Ok, here´s the deal

I have my Freebsd 4.10 gateway/nat/firewall on my network.

On my LAN i have couple WIN machines and a Linux Redhat machine  working ok 
to outside and other machine´s with IP 192.168.255.252   eth0


I have one software running on Redhat Machine that uses SLIP and i have 
configured sl0  with 192.168.255.252 P-t-P 192.168.0.6


The 192.168.0.6 is the IP of that Software

Ok  with these configurations i can connect from my Linuxbox locally to the 
software with 192.168.0.6


But the 192.168.0.6 Does´nt appear to be available for other computers on 
my LAN


So i checked out some manuals and used command: ARP -Ds 192.168.0.6 sl0 
pub  and 92.168.0.6 came visible to other computers on my LAN.


So now i thought that all i have to do is to put on my BSDBOX 
natd.confto redirect  all requests from 23 and 81 to 
192.168.0.6  right? and allow of course ports from Firewall  (My software 
with the SLIP has entrance via HTTP and TELNET)


Well nobody can´t still connect to my Linux software from outside?From 
my LAN it´works ok.


I tried also  adding  allow ip from any to 192.168.0.6 via ep0   and that 
worked for a while (now anybody from outside can connect to  my 
software)   It works only for couple hours and the no response?   I´cant 
understand how the allow ip from any to 192.168.0.6 can help.


Well if anyone has understood what i´m trying to do here and wants to send 
couple hints i would be glad.  :-)


Thanks for your reply.
 


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


Zyxel Prestige ADSL

2005-08-24 Thread Patrick Lindholm

Hello i have Zyxel Prestige 623R-T1  ADSL modem

There is no NAT or other DHCP services running on the modem. Access via 
http address 192.168.1.1


When i plug it into my Windows machine everything works.


Well i want to of course use my Freebsd machine wich is my NATD / Firewall 
box  for my LAN.


I do not want to use the ADSL modem for NAT.

With another ADSL modem (it´s rental and now i want my own Zyxel to work) 
everything works ok.  My outer ethernet card get´s its IP from ISP.  But 
with zyxel no.  INET 0.0.0.0 ?When i plug Zyxel to Windows everything 
works.  I do not understand?


Thanks in advance.

Patrick


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


how to map metakey to ALT in Emacs

2005-07-31 Thread Patrick Hamal
Hi,
I would like to use my META (ALT in my keyboard) key instead of ESC.
I'm using uk.cp850 keyboard and my ALT key doesn't work  on my
console. I've tried to alter uk.cp850.kbd in
/usr/share/syscons/keymaps, but I was unsuccessful.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 4.11 + named + sandbox options

2005-07-14 Thread patrick
I've enabled the commented out named_flags=-u bind -g bind in my
rc.conf to start named in a sandbox, but whenever I do a
named.reload, I get the following message in my logs:

Jul 14 14:20:55 pompom named[34352]: couldn't create pid file
'/var/run/named.pid'

It doesn't really seem to be a big deal because doing a reload doesn't
create a new PID anyway, but it is nevertheless annoying to have these
messages showing up.

Is this a bug in ndc?

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


Re: php/apache/ssl core dumps

2005-05-31 Thread patrick
Hi Ruben,

I have been experiencing the same thing, both by using the ports and
by building manually from source. I prefer to build from source, as I
find the ports tree to be a bit difficult to use when it comes to the
way it handles PHP stuff.

At any rate, I solved my problem by not building mod_ssl as a shared
module. Statically compiled, I no longer get the crashes. Perhaps the
ports tree has an option to build mod_ssl this way...

Patrick 


On 5/16/05, Ruben Bloemgarten [EMAIL PROTECTED] wrote:
 
 
 Hi all,
 
 
 
 I'm trying to get Apache to work with both ssl and php. However, when ssl
 apache and php are installed and the php module is set to be loaded into
 apache, apache core dumps (11). I'm using the latest ports tree. Also I've
 tried any number of combinations of mod_php, php-extensions,
 apache13-mod_ssl, apache13-ssl, apache then openssl etc etc. This problem
 has been discussed before but none of the solutions seem to be working.
 Could anyone help ?
 
 
 
 Thanks,
 
 
 
 Ruben
 
 
 --
 No virus found in this outgoing message.
 Checked by AVG Anti-Virus.
 Version: 7.0.308 / Virus Database: 266.11.10 - Release Date: 05/13/2005
 
 
 
 --
 No virus found in this outgoing message.
 Checked by AVG Anti-Virus.
 Version: 7.0.308 / Virus Database: 266.11.10 - Release Date: 05/13/2005
 
 ___
 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]


Using cvsup + make world, and keeping custom patches

2005-05-09 Thread patrick
I recently had a need to patch the FreeBSD's jail utility to support
multiple IP addresses. On a recent make update using cvsup, my
patched versions of the jail files were blown away, and now I'll need
to reapply the patches.

Does anyone have a good strategy for including some custom patches
when doing a make update in /usr/src?

Thanks,

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


Forwarding external-bound packets internally with ipfw

2005-04-21 Thread patrick
I have a few servers, and I'd like to force secondary servers to
deliver mail to the primary via a private network (each server is
dual-homed). Mail would be deemed local (destined for my LAN) by
specifying a bunch of CIDRs. I would like to accomplish this using
ipfw's forwarding support, but I am having a problem getting the rule
right. I first tried using ipfw forward, but after reading the man
page in greater detail, it seems like this likely won't work.

My next thought is to use ipfw's divert functionality in conjunction
with natd, but it is not clear to me how I could tell natd to forward
to the correct internal server using the redirect_port option.
Ideally, I would like to maintain only one list of IP blocks.
Additionally, it seems like natd wants you define a rule per IP, which
will get to be rather annoying when dealing with hundreds of IPs that
could easily be classified using a mask.

An example of what I want to do follows:

Server A: public IPs: 1.2.3.0/24, private IP: 192.168.0.1
Server B: public IPs: 2.3.4.0/24, private IP: 192.168.0.2
Server C: public IPs: 3.4.5.0/24, private IP: 192.168.0.3

When Server B accepts mail destined for Server A, I would like it to
route through 192.168.0.1 rather than the public IP.

The same goes for if Server C accepts mail for Server A or B using the
respective internal IP.

This isn't really relevant, but I'm using Postfix as my mailer. It
does have an option to force a relay_host, but it will not let you
differentiate destinations. This works fine with two hosts on the
network, but not for three or more.

Any ideas of how I could accomplish this?

Thanks very much,

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


<    1   2   3   4   5   6   >