FreeBSD 6.0 - install critiques - install issues

2006-01-24 Thread F. Even - fbsd-questions
OK...I've been running FreeBSD since 4.0...and I've always noticed 
installation issues here and there.  Mostly though, I've always been 
good to go after a good dry run (which I always recommend to everyone I 
recommend FreeBSD to) and usually on a 2nd run all the options are fine.


I've pretty much ran 4.x boxes for quite awhile...dabbled with 5.x, but 
didn't run it on anythingbut I do believe I installed the box a 
couple times to get my options correct.


But now I've installed 6.0 for the first time on a machine that I plan 
on making a production box, and I've still noticed some of the 
installation oddities.


One big nuisance is that you cannot safely cancel out of many/some of 
the sysinstall options during install.  During install of fxp1 (the 
first and only NIC I chose), I chose to let it grab a DHCP address, then 
cancelled out of the NIC config.  Instead of dropping me back to choose 
another NIC, or the same NIC, the install just proceeded on, as if I'd 
completed my network config (I did revisit it at the end of the install, 
but still...esp. for a newbie, that's an unnecessary stumbling block).


The one that really hit me though was the mail config.  There were more 
mail config options than I'm used to from previous 4.x and 5.x installs, 
I cancelled out of it without choosing.  Post-install, sendmail was 
running.  I figured...fine...it installed a default.  No big deal.


So...I fired up sysinstall, navigated to: Configure  Networking  Mail 
 Postfix (using FTP server as the source...didn't feel like putting in 
the CD).


Well...it installed Postfix and it's dependencies, message popped up 
that it was the default MTAbut sendmail is still there, and 
postfix is not running (I don't see an RC script either to start it and 
/etc/mailer.conf is unchanged).  So...I went through, and picked No 
MTA in sysinstall.  Well...sendmail is still running, and postfix is 
still installed (can't say I expected removalbut the behavior for 
defaulting to sendmail and then going back and picking postfix later 
doesn't make sense).


I'd like to figure out how to correct this in the base OS structure 
without going back and re-installing (really shouldn't have to) OR going 
to ports (does the postfix port still have the make replace 
target...that was great).  Any hints?


Any help would be appreciated (granted, I haven't gotten that far to 
where I absolutely cannot re-install...but I really shouldn't have to. 
If sendmail was in some kind of a pkg_db or something, I could simply 
remove sendmail and hopefully picking postfix as the MTA from sysinstall 
would install it insteadbut it doesn't appear to be like that).


Thanks for any help in advance,
Frank

Currently, my rc.conf (with some output) looks like this:

[EMAIL PROTECTED] cat /etc/rc.conf

# -- sysinstall generated deltas -- # Sat Jan 21 22:28:55 2006
# Created: Sat Jan 21 22:28:55 2006
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
#REMOVED: usbd_enable=YES
defaultrouter=192.168.X.X
hostname=hostname
ifconfig_fxp1=inet 192.168.X.X  netmask 255.255.255.0
linux_enable=YES
local_startup=/usr/local/etc/rc.d
moused_enable=NO
moused_type=NO
ntpdate_enable=YES
ntpdate_flags=us.pool.ntp.org
saver=green
sshd_enable=YES
usbd_enable=NO
# -- sysinstall generated deltas -- # Tue Jan 24 01:22:02 2006
sendmail_msp_queue_enable=NO
sendmail_outbound_enable=NO
sendmail_submit_enable=NO
sendmail_flags=-bd
sendmail_enable=YES
# -- sysinstall generated deltas -- # Tue Jan 24 01:27:09 2006
sendmail_enable=NONE

[EMAIL PROTECTED] pkg_info
bash-3.0.16_1   The GNU Project's Bourne Again SHell
gettext-0.14.5  GNU gettext package
libiconv-1.9.2_1A character set conversion library
libtool-1.5.18  Generic shared library support script (1.5)
linux_base-8-8.0_6  Base set of packages needed in Linux mode (only for 
i386)

pcre-6.2Perl Compatible Regular Expressions library
postfix-2.2.5,1 A secure alternative to widely-used Sendmail

[EMAIL PROTECTED] cat /etc/mail/mailer.conf
# $FreeBSD: src/etc/mail/mailer.conf,v 1.3 2002/04/05 04:25:12 gshapiro 
Exp $

#
# Execute the real sendmail program, named /usr/libexec/sendmail/sendmail
#
sendmail/usr/libexec/sendmail/sendmail
send-mail   /usr/libexec/sendmail/sendmail
mailq   /usr/libexec/sendmail/sendmail
newaliases  /usr/libexec/sendmail/sendmail
hoststat/usr/libexec/sendmail/sendmail
purgestat   /usr/libexec/sendmail/sendmail
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


NIC ON FREEBSD 6.0

2006-01-24 Thread michael paquette
HOW DO i GET MY NIC CARD TO WORK ON MY LAPTOP USING FREEBSD ?

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


Where are the config files stored?

2006-01-24 Thread Guillaume R.
Hello
I'm posting here coz I got this problem since a while and it's very disturbing.
I install a soft like postfix for example and I cant find the sample
config files which normally comes with the packages. Under linux the
sample are stored either in there right place (i.e.
/etc/postfix/main.cf) or in /usr/share/doc/myapp.
That's not right for freebsd and I cant find those sample for procmail
fetchmail or mutt for example. Is it normal or did I miss something?
If I miss something could anyone tell me what so that I correct that
to got my samples at new?
Many thx :)
--
Powered by FreeBSD 6.O
http://www.freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Setting up a microphone

2006-01-24 Thread Keith Beattie

Hello,

I'd like to try recording through the microphone both for skype and for 
general audio recording but can't figure out how to get sound out of the 
 microphone.


The Handbook's 7.2.2 Testing the Sound Card section is a great set of 
simple instructions for testing of playback (cat /dev/sndstat, cat 
filename  /dev/dsp) but I can't seem to find an equivalent for getting 
my microphone going.


Does anyone have a similar set of checks for testing microphone input?

$ uname -r
5.4-RELEASE-p3

$ cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: Creative CT5880-E at io 0xb000 irq 20 kld snd_es137x (1p/1r/0v 
channels duplex default)


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

Re: Where are the config files stored?

2006-01-24 Thread Olivier Nicole
 I install a soft like postfix for example and I cant find the sample
 config files which normally comes with the packages. Under linux the

Depending how you installed the soft. If it is through the ports,
samples usually go into /usr/local/etc

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


Re: Where are the config files stored?

2006-01-24 Thread Pietro Cerutti
On 1/24/06, Guillaume R. [EMAIL PROTECTED] wrote:
 Hello

Hallo,

 I install a soft like postfix for example and I cant find the sample
 config files which normally comes with the packages. Under linux the
 sample are stored either in there right place (i.e.
 /etc/postfix/main.cf) or in /usr/share/doc/myapp.

should be in /usr/local/share/doc/postfix/, but you can always use
pkg_info -L to list the files installed by a port...

for example, on my system:

 pkg_info -L /var/db/pkg/postfix-2.2.8_2,1/
Information for postfix-2.2.8_2,1:

Files:
/usr/local/man/man1/postalias.1.gz
/usr/local/man/man1/postcat.1.gz
...


Hope this helps,

--
Pietro Cerutti
[EMAIL PROTECTED]

   Non lasciar calpestare i TUOI diritti!
   Don't let 'em take YOUR rights!

   NO al Trusted Computing!
   Say NO to Trusted Computing!

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


gunzip : invalid compressed data

2006-01-24 Thread synack
Hi,
 I have recently downloaded a .tgz file to an m.s XP machine then ftp'd it to 
my BSD laptop. When I try to open the file with tar or gunzip, I get the 
following;
file.tgz : invalid compressed data--format violated. Is this due to the file 
being transfered from a NTFS? Pls cc me if you can help

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


Re: NIC ON FREEBSD 6.0

2006-01-24 Thread Daniel A.
HOW DO I MAKE MY GIRLFRIEND GIVE ME MORE TIME TO BE AT THE COMPUTER?

THX DANIEL A. A.
LDRADA[AT]GMAIL.COM

On 1/24/06, michael paquette [EMAIL PROTECTED] wrote:
 HOW DO i GET MY NIC CARD TO WORK ON MY LAPTOP USING FREEBSD ?

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

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


Re: Port forwarding.

2006-01-24 Thread Igor Robul
On Tue, Jan 24, 2006 at 06:41:27AM +0100, Daniel A. wrote:
 sis0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 options=8VLAN_MTU
 inet6 fe80::20a:e6ff:fe53:fc1e%sis0 prefixlen 64 scopeid 0x2
 inet 192.168.0.1 netmask 0xff00 broadcast 192.168.0.255
 ether 00:0a:e6:53:fc:1e
 media: Ethernet autoselect (100baseTX full-duplex)
 status: active
 rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 options=8VLAN_MTU
 inet6 fe80::2b0:2ff:fe00:27f3%rl0 prefixlen 64 scopeid 0x3
 inet 87.50.69.60 netmask 0xff80 broadcast 87.50.69.127
 ether 00:b0:02:00:27:f3
 media: Ethernet autoselect (100baseTX full-duplex)
 status: active
 
 I have been googling and reading ifconfig papers all day yesterday, in
 the search for how to do simple port-forwarding, but nothing have
 worked.
 So, this is my final resort: How would I forward the ports 9541 (TCP)
 and 9542 (UDP) to 192.168.0.2 on my LAN?
/etc/ipnat.conf:
rdr rl0 0/0 port 9541 - 192.168.0.2 port 9541 tcp
rdr rl0 0/0 port 9542 - 192.168.0.2 port 9542 udp

somewhere on top of file (before map).

Also you need something like this in your /etc/ipf.rules:

pass in quick on rl0 proto tcp from any to 192.168.0.2/32 port = 9541 keep state
pass in quick on rl0 proto udp from any to 192.168.0.2/32 port = 9542 keep state
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Port forwarding.

2006-01-24 Thread Daniel A.
Ah, thanks a lot! It finally works!

*Does a happy dance*

All the other guides to ipfilter / ipnat only listed changes to ONE of
the files (either ipf.rules or ipnat.rules), and never mentioned
putting the changes before mapping, even though they did cover that
topic.

On 1/24/06, Igor Robul [EMAIL PROTECTED] wrote:
 On Tue, Jan 24, 2006 at 06:41:27AM +0100, Daniel A. wrote:
  sis0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
  options=8VLAN_MTU
  inet6 fe80::20a:e6ff:fe53:fc1e%sis0 prefixlen 64 scopeid 0x2
  inet 192.168.0.1 netmask 0xff00 broadcast 192.168.0.255
  ether 00:0a:e6:53:fc:1e
  media: Ethernet autoselect (100baseTX full-duplex)
  status: active
  rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
  options=8VLAN_MTU
  inet6 fe80::2b0:2ff:fe00:27f3%rl0 prefixlen 64 scopeid 0x3
  inet 87.50.69.60 netmask 0xff80 broadcast 87.50.69.127
  ether 00:b0:02:00:27:f3
  media: Ethernet autoselect (100baseTX full-duplex)
  status: active
 
  I have been googling and reading ifconfig papers all day yesterday, in
  the search for how to do simple port-forwarding, but nothing have
  worked.
  So, this is my final resort: How would I forward the ports 9541 (TCP)
  and 9542 (UDP) to 192.168.0.2 on my LAN?
 /etc/ipnat.conf:
 rdr rl0 0/0 port 9541 - 192.168.0.2 port 9541 tcp
 rdr rl0 0/0 port 9542 - 192.168.0.2 port 9542 udp

 somewhere on top of file (before map).

 Also you need something like this in your /etc/ipf.rules:

 pass in quick on rl0 proto tcp from any to 192.168.0.2/32 port = 9541 keep 
 state
 pass in quick on rl0 proto udp from any to 192.168.0.2/32 port = 9542 keep 
 state
 ___
 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]


Dell DRAC Questions

2006-01-24 Thread Alex Zbyslaw

David Dean wrote:


As I understand it, the DRAC has a seperate IP, which you can connect
to and issue commands through some kind of web interface - is that
entirely wrong?

I'm wondering if you can shed some light on what you actually GET out
of a DRAC card in terms of functionality on FreeBSD?

It seems like your post suggets it binds as the main terminal on the
machine - if so, I'll get one on the next box we order!
 

I help run two Dell 2850s, both several hundred miles from me, both with 
DRACs.


The DRACs do indeed have a separate IP and you can connect to them 
either through a Web interface or via SSH (but you might need to upgrade 
the firmware - for whatever reason Dell doesn't necessarily do this when 
they build your machine).


The main thing we get out of it, is that the DRAC is capable of being a 
virtual serial console.  There's a java app on the Web interface that 
allows a console window to pop up.  This works all the time - whether 
the machine is running FreeBSD, booting, in the BIOS, or even powered 
down (but not unplugged!).  It's pretty much like being sat at a console 
without actually having to b anywhere near the machine.


The DRAC also has a virtual CD which allows you to use the CD drive on 
your (Windows) PC as if it were on the Dell.  Just for the heck of it, I 
actually installed FreeBSD on one of these machines from the virtual CD 
-- I had the CD in my local PC and was able to install 5.4 on the Dell 
just as if the CD were in the Dell.  (I'll admit that at the time the 
machines were three feet apart and connected by a Gigabit network, but 
in principle they could have been hundreds or thousands of miles apart).


The DRAC does have other features.  In theory it can do notifications of 
various events, and can be used to check the state of the machine and 
reboot it or power it off.  But for the latter to work you need to be 
running Dell's OpenManage software, which isn't open at all and doesn't, 
as far as I can find out, stand a hope of running on FreeBSD.


However, just for the remote console, it is great.  The only gotcha we 
have found, is that if the Dell (and the DRAC) are hidden on a NATed 
network, then you have to VNC or PPP in to the local network before the 
console app will work.  I.e. you need your web browser to be able to 
connect directly to the DRAC -- we have had no success trying to tunnel 
through a firewall to it for reasons whose exact details now escape me.


Hope that helps,

--Alex

PS CCed to freebsd-questions, since the message which spawned this 
question appeared there, and it's the kind of info I was looking for 
when we were thinking of getting Dells.


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


Messed up CUPS configuration

2006-01-24 Thread Charlie Clark

Dear list,

I'm currently switching to FreeBSD. Most things are going very well but  
every now and then I hit something which I can't solve on my own. I had  
managed to configure CUPS correctly and print with it but - if I'm correct  
this is the thing to do if you want to use modern printers rather than  
writing filters for lpr - but now the configuration is slightly incorrect  
and I'm getting the following message


lpd[408]: /dev/lp: No such file or directory

I know this means that the wrong device (/dev/lp as opposed to /dev/lpt0)  
has been specified and as a result the service won't start but I haven't  
been able to find the offending file.


Thanks for any pointers

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


Re: Where are the config files stored?

2006-01-24 Thread chris
Check /usr/local/etc


 Hello
 I'm posting here coz I got this problem since a while and it's very
 disturbing.
 I install a soft like postfix for example and I cant find the sample
 config files which normally comes with the packages. Under linux the
 sample are stored either in there right place (i.e.
 /etc/postfix/main.cf) or in /usr/share/doc/myapp.
 That's not right for freebsd and I cant find those sample for procmail
 fetchmail or mutt for example. Is it normal or did I miss something?
 If I miss something could anyone tell me what so that I correct that
 to got my samples at new?
 Many thx :)
 --
 Powered by FreeBSD 6.O
 http://www.freebsd.org
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]



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


Broadcomm BCM4401-B0 and memory upgrade issue.

2006-01-24 Thread Mykhailo Lyubich
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

After the memory upgrade on my Laptop (HP nx5000) FreeBSD 6.0 stable,
the driver for NIC bfe0 (Broadcom BCM4401-B0) stops working. The NIC LED
lights are on. The bfe0 interface is up and active. However, I got a
permanent message on the console:

bfe0: watching timeout -- resetting.

This occurs in the case when I compile the new kernel without bfe driver
and load the bfe driver as module (if_bfe.ko). In the case when the
driver is compiled into the kernel, the system stalls during the boot or
whenever I try to configure the interface.

This behavior is reproducible on FreeBSD 6.0 RELENG_6 stable compiled
from checkout on 02.11.2005 and also from checkout on 23.01.2006. 

The problem occur only if the upgraded memory (RAM) exceeds 1GB. It does
not depend on the manufacturer of the memory chips and the number of
occupied slots. I already tried 2 1GB modules from Infineon DDR400 CL3
and two modules from Crucial DDR333, CL2.5. It also does not depend on
ACPI.

The problem does not occur under Windows XP.

What should be my next steps, in order to get NIC working?
Can I try NDIS for this NIC?

Any ideas are welcome. Thank you.

Here is the dmesg output before upgrade and after.

Befor:
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights
reserved.
FreeBSD 6.0-STABLE #0: Mon Jan 23 17:00:54 CET 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL60
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) M processor 1500MHz (1495.16-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x695  Stepping = 5
 
Features=0xa7e9fbbfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,APIC,SEP,MTRR,PGE,MCA
,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE
  Features2=0x180EST,TM2
real memory  = 1065156608 (1015 MB)
avail memory = 1033392128 (985 MB)
ACPI APIC Table: COMPAQ CPQ0058 
ioapic0: Changing APIC ID to 1
ioapic0 Version 2.0 irqs 0-23 on motherboard
kqemu version 0x00010200
kqemu: KQEMU installed, max_instances=4 max_locked_mem=128932kB.
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: COMPAQ CPQ0058 on motherboard
acpi0: Power Button (fixed)
acpi_ec0: Embedded Controller: GPE 0x10 port 0x62,0x66 on acpi0
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0
cpu0: ACPI CPU on acpi0
est0: Enhanced SpeedStep Frequency Control on cpu0
p4tcc0: CPU Frequency Thermal Control on cpu0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pci0: base peripheral at device 0.1 (no driver attached)
pci0: base peripheral at device 0.3 (no driver attached)
agp0: Intel 8285xM (85xGM GMCH) SVGA controller port 0x2c30-0x2c37 mem
0x9800-0x9fff,0x9040-0x9047 irq 16 at device 2.0 on pci0
agp0: detected 8060k stolen memory
agp0: aperture size is 128M
pci0: display at device 2.1 (no driver attached)
uhci0: Intel 82801DB (ICH4) USB controller USB-A port 0x28c0-0x28df
irq 16 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: Intel 82801DB (ICH4) USB controller USB-A on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: Intel 82801DB (ICH4) USB controller USB-B port 0x28e0-0x28ff
irq 19 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: Intel 82801DB (ICH4) USB controller USB-B on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: Intel 82801DB (ICH4) USB controller USB-C port 0x2c00-0x2c1f
irq 18 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: Intel 82801DB (ICH4) USB controller USB-C on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0: Intel 82801DB/DBL/DBM (ICH4) USB 2.0 controller mem
0x9050-0x905003ff irq 23 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
usb3: EHCI version 1.0
usb3: companion controllers, 2 ports each: usb0 usb1 usb2
usb3: Intel 82801DB/DBL/DBM (ICH4) USB 2.0 controller on ehci0
usb3: USB revision 2.0
uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
pcib1: ACPI PCI-PCI bridge at device 30.0 on pci0
pci1: ACPI PCI bus on pcib1
pci1: network at device 4.0 (no driver attached)
cbb0: PCI-CardBus Bridge mem 0x9018-0x90180fff irq 18 at device
6.0 on pci1
cardbus0: CardBus bus on cbb0
pccard0: 16-bit PCCard bus on cbb0
cbb1: PCI-CardBus Bridge mem 0x9020-0x90200fff irq 18 at device
6.1 on pci1
cardbus1: CardBus bus on cbb1
pccard1: 16-bit PCCard bus on cbb1
pci1: mass storage at device 6.3 (no driver attached)
fwohci0: Texas Instruments TSB43AB22/A mem
0x9030-0x903007ff,0x9000-0x90003fff irq 23 at device 13.0 on
pci1
fwohci0: OHCI version 1.10 (ROM=0)

Broadcom BCM4401-B0 and memory upgrade issue.

2006-01-24 Thread lyubich_freebsd
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

After the memory upgrade on my Laptop (HP nx5000) FreeBSD 6.0 stable, the
driver for NIC bfe0 (Broadcom BCM4401-B0) stops working. The NIC LED lights
are on. The bfe0 interface is up and active. However, I got a permanent
message on the console:

bfe0: watching timeout -- resetting.

This occurs in the case when I compile the new kernel without bfe driver and
load the bfe driver as module (if_bfe.ko). In the case when the driver is
compiled into the kernel, the system stalls during the boot or whenever I
try to configure the interface.

This behavior is reproducible on FreeBSD 6.0 RELENG_6 stable compiled from
checkout on 02.11.2005 and also from checkout on 23.01.2006. 

The problem occur only if the upgraded memory (RAM) exceeds 1GB. It does not
depend on the manufacturer of the memory chips and the number of occupied
slots. I already tried 2 1GB modules from Infineon DDR400 CL3 and two
modules from Crucial DDR333, CL2.5. It also does not depend on ACPI.

The problem does not occur under Windows XP.

What should be my next steps, in order to get NIC working?
Can I try NDIS for this NIC?

Any ideas are welcome. Thank you.

Here is the dmesg output before upgrade and after.

Befor:
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 6.0-STABLE #0: Mon Jan 23 17:00:54 CET 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL60
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) M processor 1500MHz (1495.16-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x695  Stepping = 5
 
Features=0xa7e9fbbfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMO
V,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE
  Features2=0x180EST,TM2
real memory  = 1065156608 (1015 MB)
avail memory = 1033392128 (985 MB)
ACPI APIC Table: COMPAQ CPQ0058 
ioapic0: Changing APIC ID to 1
ioapic0 Version 2.0 irqs 0-23 on motherboard kqemu version 0x00010200
kqemu: KQEMU installed, max_instances=4 max_locked_mem=128932kB.
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: COMPAQ CPQ0058 on motherboard
acpi0: Power Button (fixed)
acpi_ec0: Embedded Controller: GPE 0x10 port 0x62,0x66 on acpi0
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0
cpu0: ACPI CPU on acpi0
est0: Enhanced SpeedStep Frequency Control on cpu0
p4tcc0: CPU Frequency Thermal Control on cpu0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pci0: base peripheral at device 0.1 (no driver attached)
pci0: base peripheral at device 0.3 (no driver attached)
agp0: Intel 8285xM (85xGM GMCH) SVGA controller port 0x2c30-0x2c37 mem
0x9800-0x9fff,0x9040-0x9047 irq 16 at device 2.0 on pci0
agp0: detected 8060k stolen memory
agp0: aperture size is 128M
pci0: display at device 2.1 (no driver attached)
uhci0: Intel 82801DB (ICH4) USB controller USB-A port 0x28c0-0x28df irq 16
at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: Intel 82801DB (ICH4) USB controller USB-A on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: Intel 82801DB (ICH4) USB controller USB-B port 0x28e0-0x28ff irq 19
at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: Intel 82801DB (ICH4) USB controller USB-B on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: Intel 82801DB (ICH4) USB controller USB-C port 0x2c00-0x2c1f irq 18
at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: Intel 82801DB (ICH4) USB controller USB-C on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0: Intel 82801DB/DBL/DBM (ICH4) USB 2.0 controller mem
0x9050-0x905003ff irq 23 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
usb3: EHCI version 1.0
usb3: companion controllers, 2 ports each: usb0 usb1 usb2
usb3: Intel 82801DB/DBL/DBM (ICH4) USB 2.0 controller on ehci0
usb3: USB revision 2.0
uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
pcib1: ACPI PCI-PCI bridge at device 30.0 on pci0
pci1: ACPI PCI bus on pcib1
pci1: network at device 4.0 (no driver attached)
cbb0: PCI-CardBus Bridge mem 0x9018-0x90180fff irq 18 at device 6.0 on
pci1
cardbus0: CardBus bus on cbb0
pccard0: 16-bit PCCard bus on cbb0
cbb1: PCI-CardBus Bridge mem 0x9020-0x90200fff irq 18 at device 6.1 on
pci1
cardbus1: CardBus bus on cbb1
pccard1: 16-bit PCCard bus on cbb1
pci1: mass storage at device 6.3 (no driver attached)
fwohci0: Texas Instruments TSB43AB22/A mem
0x9030-0x903007ff,0x9000-0x90003fff irq 23 at device 13.0 on pci1
fwohci0: OHCI version 1.10 (ROM=0)

Problems with pgsql 8.0.4 freebsd 6: partially solved

2006-01-24 Thread Vittorio
I have been using a postgresql 8.0.4 server under freebsd 5.4 like a 
charm for a long time .
Yesterday, I upgraded freebsd from 5.4 to 6 via 
the CD (the iso was downloaded from ftp.freebsd.org).

Restating 
postgresql it happened:

# /usr/local/etc/rc.d/010.pgsql.sh start
--: 
not found
FATAL:  XX000: failed to initialize lc_messages to 
LOCATION:  InitializeGUCOptions, guc.c:3699
#

And the server was down

After many attempts I discovered that the problem was connected to the
setenv LC_ALL it_IT.ISO_8859-1 I had introduced in /usr/local/pgsql/.
cshrc
which corrupted something in the system and, even removing the 
line, 010.pgsql.sh went on failing to start the server

Having 
pg_dumped the data before the upgrading to 6, I have solved the problem 
by
1) eliminating the /usr/local/pgsql/data directory (BY THE WAY, 
remember to backup the pgsql *.conf files somewhere!!);
2) deinstalling 
the postgresql 8.0.4 server by means of make deinstall;
3) removing 
the pgsql user;
4) reinstalling the postgresql 8.0.4 server;
5) copying 
the *.conf files under the data directory
6) pg_restoring the data

Now, of course I have left unmodified the .cshrc file (take notice that 
any attempt of modyfying the locale corrupts the postgresql server and 
you should start with a new reinstallation! I failed both adding a line 
setenv LC_ALL it_IT.ISO_8859-1 and setenv LC_ALL it_IT.ISO8859-1)

Now it all works even though an inoffensive warning comes up

# 
/usr/local/etc/rc.d/010.pgsql.sh start
--: not found

Is there anything 
else I could do?

Ciao
Vittorio

  


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


smbclient failure

2006-01-24 Thread Gerard Seibert
I have posted this on the SAMBA forum, but without results. Perhaps
someone here can assist me.

I am networking three WinXP Pro machines with one FreeBSD 5.4 PC. The
network seems to work correctly; however, I am still unable to get the
following command to work correctly. The x's replace the correct entry
obviously. This problem exists no matter which WinXP machine I attempt
to view the shares on. In this particular case, one WibXP machine is
named 'boss'. This is not a domain but rather a simple peer to peer
setup.

smbclient -Lboss -Uxx%

I decided to run the command as root preceeded by 'truss' so I could
generate a debug output.

This is the output from the command without 'truss'

Domain=[BOSS] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

Sharename   Type  Comment
-     ---
Error returning browse list: NT_STATUS_OK

Server   Comment
----

WorkgroupMaster
----


This is the output from 'truss'

mmap(0x0,3920,(0x3)PROT_READ|PROT_WRITE,(0x1000)MAP_ANON,-1,0x0) = 672452608 
(0x2814d000)
munmap(0x2814d000,0xf50) = 0 (0x0)
__sysctl(0xbfbfea78,0x2,0x28149a58,0xbfbfea74,0x0,0x0) = 0 (0x0)
mmap(0x0,32768,(0x3)PROT_READ|PROT_WRITE,(0x1002)MAP_ANON|MAP_PRIVATE,-1,0x0) = 
672452608 (0x2814d000)
issetugid()  = 0 (0x0)
open(/etc/libmap.conf,0x0,0666)ERR#2 'No such file or 
directory'
open(/var/run/ld-elf.so.hints,0x0,00)  = 4 (0x4)
read(0x4,0xbfbfeb20,0x80)= 128 (0x80)
lseek(4,0x80,SEEK_SET)   = 128 (0x80)
read(0x4,0x28151000,0x7a)= 122 (0x7a)
close(4) = 0 (0x0)
access(/lib/libreadline.so.5,0)= 0 (0x0)
open(/lib/libreadline.so.5,0x0,00) = 4 (0x4)
fstat(4,0xbfbfeb70)  = 0 (0x0)
read(0x4,0x281489a0,0x1000)  = 4096 (0x1000)
mmap(0x0,192512,(0x5)PROT_READ|PROT_EXEC,(0x20002)MAP_NOCORE|MAP_PRIVATE,4,0x0) 
= 672485376 (0x28155000)
mprotect(0x2817e000,4096,(0x7)PROT_READ|PROT_WRITE|PROT_EXEC) = 0 (0x0)
mprotect(0x2817e000,4096,(0x5)PROT_READ|PROT_EXEC) = 0 (0x0)
mmap(0x2817f000,20480,(0x3)PROT_READ|PROT_WRITE,(0x12)MAP_FIXED|MAP_PRIVATE,4,0x29000)
 = 672657408 (0x2817f000)
close(4) = 0 (0x0)
access(/lib/libncurses.so.5,0) = 0 (0x0)
open(/lib/libncurses.so.5,0x0,027757765560)= 4 (0x4)
fstat(4,0xbfbfeb70)  = 0 (0x0)
read(0x4,0x281489a0,0x1000)  = 4096 (0x1000)
mmap(0x0,274432,(0x5)PROT_READ|PROT_EXEC,(0x20002)MAP_NOCORE|MAP_PRIVATE,4,0x0) 
= 672677888 (0x28184000)
mprotect(0x281bd000,4096,(0x7)PROT_READ|PROT_WRITE|PROT_EXEC) = 0 (0x0)
mprotect(0x281bd000,4096,(0x5)PROT_READ|PROT_EXEC) = 0 (0x0)
mmap(0x281be000,32768,(0x3)PROT_READ|PROT_WRITE,(0x12)MAP_FIXED|MAP_PRIVATE,4,0x3a000)
 = 672915456 (0x281be000)
mmap(0x281c6000,4096,(0x3)PROT_READ|PROT_WRITE,(0x1012)MAP_ANON|MAP_FIXED|MAP_PRIVATE,-1,0x0)
 = 672948224 (0x281c6000)
close(4) = 0 (0x0)
access(/lib/libcrypt.so.2,0)   = 0 (0x0)
open(/lib/libcrypt.so.2,0x0,027757765560)  = 4 (0x4)
fstat(4,0xbfbfeb70)  = 0 (0x0)
read(0x4,0x281489a0,0x1000)  = 4096 (0x1000)
mmap(0x0,102400,(0x5)PROT_READ|PROT_EXEC,(0x20002)MAP_NOCORE|MAP_PRIVATE,4,0x0) 
= 672952320 (0x281c7000)
mprotect(0x281cd000,4096,(0x7)PROT_READ|PROT_WRITE|PROT_EXEC) = 0 (0x0)
mprotect(0x281cd000,4096,(0x5)PROT_READ|PROT_EXEC) = 0 (0x0)
mmap(0x281ce000,4096,(0x3)PROT_READ|PROT_WRITE,(0x12)MAP_FIXED|MAP_PRIVATE,4,0x7000)
 = 672980992 (0x281ce000)
mmap(0x281cf000,69632,(0x3)PROT_READ|PROT_WRITE,(0x1012)MAP_ANON|MAP_FIXED|MAP_PRIVATE,-1,0x0)
 = 672985088 (0x281cf000)
close(4) = 0 (0x0)
access(/lib/libiconv.so.3,0)   ERR#2 'No such file or 
directory'
access(/usr/lib/libiconv.so.3,0)   ERR#2 'No such file or 
directory'
access(/usr/lib/compat/libiconv.so.3,0)ERR#2 'No such file or 
directory'
access(/usr/X11R6/lib/libiconv.so.3,0) ERR#2 'No such file or 
directory'
access(/usr/local/lib/libiconv.so.3,0) = 0 (0x0)
open(/usr/local/lib/libiconv.so.3,0x0,027757765560) = 4 (0x4)
fstat(4,0xbfbfeb70)  = 0 (0x0)
read(0x4,0x281489a0,0x1000)  = 4096 (0x1000)
mmap(0x0,1007616,(0x5)PROT_READ|PROT_EXEC,(0x20002)MAP_NOCORE|MAP_PRIVATE,4,0x0)
 = 673054720 (0x281e)
mprotect(0x282d4000,4096,(0x7)PROT_READ|PROT_WRITE|PROT_EXEC) = 0 (0x0)
mprotect(0x282d4000,4096,(0x5)PROT_READ|PROT_EXEC) = 0 (0x0)
mmap(0x282d5000,4096,(0x3)PROT_READ|PROT_WRITE,(0x12)MAP_FIXED|MAP_PRIVATE,4,0xf5000)
 = 674058240 (0x282d5000)
close(4)   

Re: Post-Install update steps?

2006-01-24 Thread Xn Nooby
Is there a way to tell which are available as packages?  I would have
guessed gqview would have been, but apparently it is not.  I'm also not
certain I am doing the commands right, though I was able to install
subversion successfully via packages.

thanks!

On 1/24/06, Robert Huff [EMAIL PROTECTED] wrote:


 Xn Nooby writes:

   I assume the available packages are a subset of the available
   ports, probably just the most popular ones.  Or are they all
   supposed to be available?

 Some ports are unavailable as packages due to licensing
 restrictions, most notably many versions of Java.


 Robert Huff





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

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


Re: NIC ON FREEBSD 6.0

2006-01-24 Thread Alex Zbyslaw

michael paquette wrote:


HOW DO i GET MY NIC CARD TO WORK ON MY LAPTOP USING FREEBSD ?

 


Why don't you tell us what the NIC actually is?  And please STOP SHOUTING.

--Alex

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


Re: NIC ON FREEBSD 6.0

2006-01-24 Thread Thomas T. Veldhouse

Alex Zbyslaw wrote:


michael paquette wrote:


HOW DO i GET MY NIC CARD TO WORK ON MY LAPTOP USING FREEBSD ?

 

Why don't you tell us what the NIC actually is?  And please STOP 
SHOUTING.



And consider http://www.freebsd.org and the documentation listed there.

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


Blogin software recoendations

2006-01-24 Thread stan
I would like to set up a internal bloging system at work for people to use
as a sort of daily journal.

I want to host this on FreeBSD, preferably by using something that;s in the
ports tree. I've installed and got working wordpress, but it doesn't seem
to have the ability to allow me to define individual blogs for each person,
which is what I need. I'd like for each persons blog to have a unique URL.

Am I missing how to do this in wordpress? Or is there a more appropriate
choice?


-- 
U.S. Encouraged by Vietnam Vote - Officials Cite 83% Turnout Despite Vietcong 
Terror 
- New York Times 9/3/1967
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Dell DRAC Questions

2006-01-24 Thread Ken Stevenson
On Tue, Jan 24, 2006 at 11:24:55AM +, Alex Zbyslaw wrote:
 I help run two Dell 2850s, both several hundred miles from me, both with 
 DRACs.
 
 The DRACs do indeed have a separate IP and you can connect to them 
 either through a Web interface or via SSH (but you might need to upgrade 
 the firmware - for whatever reason Dell doesn't necessarily do this when 
 they build your machine).
 
 The main thing we get out of it, is that the DRAC is capable of being a 
 virtual serial console.  There's a java app on the Web interface that 
 allows a console window to pop up.  This works all the time - whether 
 the machine is running FreeBSD, booting, in the BIOS, or even powered 
 down (but not unplugged!).  It's pretty much like being sat at a console 
 without actually having to b anywhere near the machine.
 
 
What software did you have to install (if any) on the 2850's in order to
use the serial console? I have a couple 2650's with DRAC's, and I can
connect to the Web interface on the DRAC port, but the serial console never
connects.

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


FreeBSD 6.0 and PX-716SA

2006-01-24 Thread Phusion
I tried to install FreeBSD 6.0 on my system last night and couldn't
finish the install. The system has a SATA hard drive and SATA DVD
drive. I started the install and it let me create partitions and
format the drives fine, but when I got to the part where it asked for
installation media, it would recognize my Plextor PX-716SA. Does
anyone have any information related to if the PX-716SA is recognized
under FreeBSD 6.0? Let me know.

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


Re: install help? make: don't know how to make package-depends-list. Stop

2006-01-24 Thread Lowell Gilbert
Joseph Vella [EMAIL PROTECTED] writes:

 I tried to install bluefish. I might have made a mess.  

Apparently, but you can always clean up with pkg_delete(8).
That's one of the good things about sticking with the ports system.

 I first downloaded the package from the freebsd ftp site.  I did pkg_add.  It 
 complained about cairo and weblint.  So I downloaded those.  pkg_add 
 installed but with errors.  Then when I tried to run it, it had incompatible 
 libraries errors.

Sounds like you got packages for the wrong FreeBSD version.  If you
wanted help with that, we would need more information.  But pkg-add -r
should get it right for basic installs.

 So I found /usr/ports/www/bluefish and did make install which told me to make 
 deinstall then make reinstall.  I did those.
 
 This was the final outcome:
 .
 .
 ===   Compressing manual pages for bluefish-1.0.1
 ===   Registering installation for bluefish-1.0.1
 make: don't know how to make package-depends-list. Stop

Just make install, perhaps?  

 Prajipati-FreeBSD# type bluefish
 type: Command not found.

bluefish isn't the Command not found.  type is the command it can't
find.  type isn't a program; it's a builtin on sh-style shells, but
not on csh-style shells, which you appear to be using.  Try the
standard Unix command which instead.  [Not that I think it will help
in this case, because I don't think bluefish actually is installed at
that point.  But pkg_info(1) will tell you.]

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


Re: Dell DRAC Questions

2006-01-24 Thread Alex Zbyslaw

Ken Stevenson wrote:


What software did you have to install (if any) on the 2850's in order to
use the serial console? I have a couple 2650's with DRAC's, and I can
connect to the Web interface on the DRAC port, but the serial console never
connects.

 

None.  For me they just worked out of the box.  I had to upgrade the 
firmware in order to get SSH connections to work, but the java serial 
console just worked.


I would first make sure that you have the DRAC configured correctly 
especially gateway and DNS server IPs, then start by running a Web 
browser on the Dell itself and connecting to the DRAC.


The other thing is that I do get lots of warnings about certificates, so 
maybe over-aggressive browser security settings are your problem.


I realise I should have said that these are DRAC4s.  I don't believe 
that the underlying OS should matter a jot, but we have 5.4-RELEASE.  I 
can connect from a Mozilla browser with native java 1.4.  You do have 
Java installed, right?


--Alex

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


Re: understanding virtual memory

2006-01-24 Thread Michael P. Soulier
On 23/01/06 Lowell Gilbert said:

 Michael P. Soulier [EMAIL PROTECTED] writes:
 
  [EMAIL PROTECTED] ~]$ sysctl -a | grep Memory
  Virtual Memory: (Total: 724K, Active 545156K)
  Real Memory:(Total: 232508K Active 124272K)
  Shared Virtual Memory:  (Total: 24684K Active: 11880K)
  Shared Real Memory: (Total: 12124K Active: 6756K)
  Free Memory Pages:  14852K
  
  How can I have 724K of virtual memory with 545156K active? Am I reading this
  wrong?
 
 On a quick look, it seems like a wraparound bug...

Does anyone know if it's a known problem? If not, I'd like to open a bug
report. 

Mike

-- 
Michael P. Soulier [EMAIL PROTECTED]
Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction.
--Albert Einstein


pgpWbC6OZCgCb.pgp
Description: PGP signature


Re: Post-Install update steps?

2006-01-24 Thread Xn Nooby
On 1/24/06, Xn Nooby [EMAIL PROTECTED] wrote:

 Is there a way to tell which are available as packages?  I would have
 guessed gqview would have been, but apparently it is not.  I'm also not
 certain I am doing the commands right, though I was able to install
 subversion successfully via packages.


I may have found the answer to my question (sortof):

ftp://ftp.freebsd.org/pub/FreeBSD/ports/packages

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


Re: Subversion Port

2006-01-24 Thread K. Workman



Giorgos Keramidas wrote:

On 2006-01-23 14:39, K. Workman [EMAIL PROTECTED] wrote:
  

Giorgos Keramidas wrote:


On 2006-01-23 14:09, K. Workman [EMAIL PROTECTED] wrote:
  

Giorgos Keramidas wrote:


subversion/svnversion/svnversion . /repos/svn/trunk 
/usr/local/include/subversion-1/svn-revision.txt
/libexec/ld-elf.so.1: /usr/lib/libkrb5.so: Undefined symbol
initialize_asn1_error_table_r
*** Error code 1


Other programs are going to have problems too, if you don't have a
proper libasn1.so installed.  I have a debugging world installed here,
so I can see that:

[EMAIL PROTECTED]:/root# nm /usr/lib/libasn1* | grep
initialize_asn1_error_table_r
 T initialize_asn1_error_table_r
00014fb0 T initialize_asn1_error_table_r
00014fb0 T initialize_asn1_error_table_r
 T initialize_asn1_error_table_r
[EMAIL PROTECTED]:/root#

Are you using any special options in /etc/make.conf to build your
userland?
  

No, I'm not using any special options. In fact, I've not formally
re-built all of userland since installing 5.4. Although, I have been
continually upgrading the various ports as they become available. So,
prior to the subversion upgrade, pkg_version reports all other ports
up-to-date.


Ok.  Do you have libasn1.so though?
  

Yes.

lrwxrwxrwx  1 root  wheel  12 Nov 15 17:24 libasn1.so - libasn1.so.7
-r--r--r--  1 root  wheel  132788 May  8  2005 libasn1.so.7



That's odd.  You seem to have libasn1.so, but for some reason
svnversion can't find it at runtime.  Are you, by any chance
using any of the ldconfig-related options in your /etc/rc.conf
file, i.e.:

ldconfig_paths=...

This could explain why some binaries cannot locate system libraries.
  


Yeah, it is pretty strange. My /etc/rc.conf file is clear of any 
ldconfig issues. I'll probably take another hard look at the make file 
and see what I can find. It could be there is a problem in the make file 
that I've missed. All things being equal, at this point in time I see 
only two alternatives:


1) The make file isn't pointing to the proper library
2) The library is old and doesn't contain the proper symbol.




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


VPN / Bridge

2006-01-24 Thread Bob Kersten

Hello,

I've been trying to create a tunnel/bridge between two networks which  
both reside behind a FreeBSD router using NAT. I've achieved it using  
the handbook example in chapter 14.10. Clients on network A are able  
to ping clients on network B and clients on network A are able to map  
samba shares on the NAT box/gateway of network B. The example however  
uses two different subnets to route traffic between both networks.  
Unfortunately broadcasts will not travel through the tunnel which  
causes Apple's bonjour (called rendezvous earlier) not being able to  
discover clients on the other network.


What I want to achieve is what I believe a bridge between both  
networks. The entire network A should be on the same subnet as  
network B:


network A
range 192.168.100.100 - 192.168.100.199 / 255.255.255.0
  |
FreeBSD gateway A
en1: IP: 192.168.100.101 / 255.255.255.0
en0: public IP: 25.25.25.1
  |
Internet
  |
FreeBSD gateway B
en0: public IP: 25.25.25.2
en1: IP: 192.168.100.1 / 255.255.255.0
  |
Network B
range 192.168.100.1 - 192.168.100.99 / 255.255.255.0

Using the example from the handbook there was no additional  
configuration necessary on the clients on both networks, the FreeBSD  
gateways handled all the necessary routing. It would be great if this  
new setup should also not require any additional settings on the  
clients aswell.


Can anyone give me an example or the necessary steps to create this  
kind of VPN?


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


azureus core dumps

2006-01-24 Thread mcg
hi

after upgrading linux_base and xorg-server azureus won't work anymore,i tried 
to reinstall all including java but no help.this is the log what azureus prints 
out after crashing,any help?thanks!


An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x28745FB3
Function=inflate_fast+0x7B
Library=/usr/local/jdk1.4.2/jre/lib/i386/libzip.so

Current Java thread:
at org.eclipse.swt.internal.gtk.OS._gtk_widget_size_request(Native Method)
at org.eclipse.swt.internal.gtk.OS.gtk_widget_size_request(OS.java:7289)
at org.eclipse.swt.widgets.Control.forceResize(Control.java:398)
at org.eclipse.swt.widgets.Label.computeSize(Label.java:109)
at org.eclipse.swt.layout.GridData.computeSize(GridData.java:478)
at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:207)
at org.eclipse.swt.layout.GridLayout.computeSize(GridLayout.java:155)
at org.eclipse.swt.widgets.Composite.computeSize(Composite.java:192)
at org.eclipse.swt.widgets.Control.pack(Control.java:852)
at org.eclipse.swt.widgets.Control.pack(Control.java:827)
at org.gudy.azureus2.ui.swt.mainwindow.SplashWindow.init(Unknown Source)
at org.gudy.azureus2.ui.swt.mainwindow.SplashWindow.init(Unknown Source)
at org.gudy.azureus2.ui.swt.mainwindow.SplashWindow$1.runSupport(Unknown Source)
at org.gudy.azureus2.core3.util.AERunnable.run(Unknown Source)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
- locked 0x2ca43300 (a org.eclipse.swt.widgets.RunnableLock)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2844)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2575)
at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.init(Unknown Source)
at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(Unknown Source)
at org.gudy.azureus2.ui.swt.mainwindow.Initializer.init(Unknown Source)
at org.gudy.azureus2.ui.swt.Main.init(Unknown Source)
at org.gudy.azureus2.ui.swt.Main.main(Unknown Source)

Dynamic libraries:
0x8048000 /usr/local/jdk1.4.2/bin/java
0x2808 /usr/lib/libpthread.so.2
0x280a9000 /lib/libc.so.6
0x281ad000 /usr/local/jdk1.4.2/jre/lib/i386/client/libjvm.so
0x28605000 /usr/lib/libstdc++.so.5
0x286db000 /lib/libm.so.4
0x286f4000 /usr/local/jdk1.4.2/jre/lib/i386/native_threads/libhpi.so
0x28702000 /usr/local/jdk1.4.2/jre/lib/i386/libverify.so
0x28718000 /usr/local/jdk1.4.2/jre/lib/i386/libjava.so
0x28736000 /usr/local/jdk1.4.2/jre/lib/i386/libzip.so
0x34ac6000 /usr/local/jdk1.4.2/jre/lib/i386/libnet.so
0x34c0 /usr/local/jdk1.4.2/jre/lib/i386/libnio.so
0x34c06000 /usr/local/lib/libswt-pi-gtk-3138.so
0x34c51000 /usr/X11R6/lib/libgtk-x11-2.0.so.0
0x34f4f000 /usr/local/lib/libgthread-2.0.so.0
0x34f53000 /usr/X11R6/lib/libXtst.so.6
0x34f58000 /usr/X11R6/lib/libgdk_pixbuf-2.0.so.0
0x34f6e000 /usr/X11R6/lib/libgdk-x11-2.0.so.0
0x34ffc000 /usr/X11R6/lib/libXrandr.so.2
0x3500 /usr/X11R6/lib/libXrender.so.1
0x35009000 /usr/X11R6/lib/libXi.so.6
0x2c4cd000 /usr/X11R6/lib/libXinerama.so.1
0x35011000 /usr/X11R6/lib/libXext.so.6
0x3502 /usr/X11R6/lib/libX11.so.6
0x3510 /usr/X11R6/lib/libpangocairo-1.0.so.0
0x35107000 /usr/X11R6/lib/libpangoft2-1.0.so.0
0x35134000 /usr/X11R6/lib/libfontconfig.so.1
0x35166000 /usr/local/lib/libfreetype.so.9
0x351ea000 /lib/libz.so.3
0x351ff000 /usr/X11R6/lib/libpango-1.0.so.0
0x3523a000 /usr/local/lib/libatk-1.0.so.0
0x35254000 /usr/local/lib/libgobject-2.0.so.0
0x3528f000 /usr/local/lib/libgmodule-2.0.so.0
0x35292000 /usr/local/lib/libglib-2.0.so.0
0x35319000 /usr/local/lib/libiconv.so.3
0x35408000 /usr/local/lib/libcairo.so.2
0x3546a000 /usr/local/lib/libintl.so.6
0x35474000 /usr/X11R6/lib/libXcursor.so.1
0x3547f000 /usr/X11R6/lib/libXfixes.so.3
0x35484000 /usr/local/lib/libexpat.so.5
0x354a2000 /usr/local/lib/libpng.so.5
0x354c5000 /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2
0x354c8000 /usr/local/lib/libswt-gtk-3138.so
0x354fc000 /usr/X11R6/lib/gtk-2.0/2.4.0/engines/libpixmap.so
0x35505000 /usr/X11R6/lib/gtk-2.0/2.4.0/engines/libsvg.so
0x3550e000 /usr/X11R6/lib/librsvg-2.so.2
0x3553e000 /usr/local/lib/libart_lgpl_2.so.5
0x3555b000 /usr/local/lib/libcroco-0.6.so.3
0x35591000 /usr/local/lib/libxml2.so.5
0x356bd000 /usr/X11R6/lib/libgsf-1.so.113
0x356eb000 /usr/lib/libbz2.so.2
0x2804e000 /libexec/ld-elf.so.1

Heap at VM Abort:
Heap
def new generation total 576K, used 85K [0x2c4d, 0x2c57, 0x2c9b)
eden space 512K, 11% used [0x2c4d, 0x2c4dea80, 0x2c55)
from space 64K, 42% used [0x2c55, 0x2c556bc0, 0x2c56)
to space 64K, 0% used [0x2c56, 0x2c56, 0x2c57)
tenured generation total 1408K, used 1320K [0x2c9b, 0x2cb1, 0x304d)
the space 1408K, 93% used [0x2c9b, 0x2cafa2e8, 0x2cafa400, 0x2cb1)
compacting perm gen total 5632K, used 5491K [0x304d, 0x30a5, 0x344d)
the space 5632K, 97% used [0x304d, 0x30a2cc90, 0x30a2ce00, 0x30a5)

Local Time = Mon Jan 23 19:47:47 2006

Re: Setting up a microphone

2006-01-24 Thread uidzero

Keith Beattie wrote:

Hello,

I'd like to try recording through the microphone both for skype and 
for general audio recording but can't figure out how to get sound out 
of the  microphone.


The Handbook's 7.2.2 Testing the Sound Card section is a great set 
of simple instructions for testing of playback (cat /dev/sndstat, cat 
filename  /dev/dsp) but I can't seem to find an equivalent for 
getting my microphone going.


Does anyone have a similar set of checks for testing microphone input?

$ uname -r
5.4-RELEASE-p3

$ cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: Creative CT5880-E at io 0xb000 irq 20 kld snd_es137x (1p/1r/0v 
channels duplex default)


Thanks,
ksb


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



newpc# uname -a
FreeBSD newpc 5.4-RELEASE-p8 FreeBSD 5.4-RELEASE-p8 #1: Mon Jan  9 
12:38:02 CST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BSD  i386

newpc# cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: Creative EMU10K1 at io 0xd800 irq 16  (4p/2r/0v channels duplex 
default)

newpc#

It's worked flawlessly for me after I add recompiled the kernel with 
sound support. (I use Skype as well.)


Maybe try updating to RELEASE-p8?

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


Re: [GENERAL] Problems with pgsql 8.0.4 freebsd 6: partially solved

2006-01-24 Thread Tom Lane
Vittorio [EMAIL PROTECTED] writes:
 FATAL:  XX000: failed to initialize lc_messages to 
 LOCATION:  InitializeGUCOptions, guc.c:3699

We've seen that reported before, on more than one platform (I recall
hearing about it on OS X, for instance).  But no one's ever been able
to explain what causes it.  It's interesting to hear that a full
database reinstall made it go away for you, but that was certainly
overkill.  Do you have the time to experiment with the locale settings
and see if you can identify the difference between the cases where it
happens and those where it doesn't?

 After many attempts I discovered that the problem was connected to the
 setenv LC_ALL it_IT.ISO_8859-1 I had introduced in /usr/local/pgsql/.cshrc

Do you have any other LC_xxx variables set?  How about LANG?  Is that
string still a valid locale name on your updated platform?

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


Application

2006-01-24 Thread beckey
In FreeBSD, are it that commercial softwares such as Oracle,
VeritasVCS, and LifeKeeper are fewer than that of Linux why?


--
GANBARE! NIPPON!
Yahoo! JAPAN JOC OFFICIAL INTERNET PORTAL SITE PARTNER
http://pr.mail.yahoo.co.jp/ganbare-nippon/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


upgrading apache+modssl

2006-01-24 Thread ET Support
I am having problems upgrading from

apache+mod_ssl-1.3.34+2.8.25

to

apache+mod_ssl-1.3.34+2.8.25_2

First I tried using this

portupgrade -R apache+mod_ssl-1.3.34+2.8.25

which gives me this error;

===  Applying FreeBSD patches for apache+mod_ssl-1.3.34+2.8.25_1
/usr/bin/perl: not found
*** Error code 127
Stop in /usr/ports/www/apache13-modssl

The correct path to my perl is /usr/local/bin/perl... how/where can I
specify that so portupgrade acknowledges that fact?

Alternatively, I tried installing with 'make install clean' from
/usr/ports/www/apache13-modssl, and get this error;

===  Applying FreeBSD patches for apache+mod_ssl-1.3.34+2.8.25_1
Ignoring previously applied (or reversed) patch.
2 out of 2 hunks ignored--saving rejects to configure.rej
= Patch patch-aa failed to apply cleanly.
*** Error code 1
Stop in /usr/ports/www/apache13-modssl.

Anyone know what I need to do to get this working?

Thanks,
Ben King

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


Re: understanding virtual memory

2006-01-24 Thread Lowell Gilbert
Michael P. Soulier [EMAIL PROTECTED] writes:

 On 23/01/06 Lowell Gilbert said:
 
  Michael P. Soulier [EMAIL PROTECTED] writes:
  
   [EMAIL PROTECTED] ~]$ sysctl -a | grep Memory
   Virtual Memory: (Total: 724K, Active 545156K)
   Real Memory:(Total: 232508K Active 124272K)
   Shared Virtual Memory:  (Total: 24684K Active: 11880K)
   Shared Real Memory: (Total: 12124K Active: 6756K)
   Free Memory Pages:  14852K
   
   How can I have 724K of virtual memory with 545156K active? Am I reading 
   this
   wrong?
  
  On a quick look, it seems like a wraparound bug...
 
 Does anyone know if it's a known problem? If not, I'd like to open a bug
 report. 

I only did a three-minute code inspection to reach my conclusion.  For
me, I'd want to be a little more sure what's going on before logging a
bug.  Preferably have a fix, too.  I don't have time for that right
now, but feel free to do it yourself.  Try changing sysctl.c so that
the memory calculation is done in a wider data type...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Submit a bug for broken PicoBSD Dummynet/bridge?

2006-01-24 Thread Ceri Davies


On 23 Jan 2006, at 21:27, Tyler T wrote:


I posted about this earlier but no replies. Since then I wiped my hard
drive and reinstalled FreeBSD 6 from scratch. I still get this error
when trying to make a PicoBSD Dummynet bridge floppy

http://i1.tinypic.com/mhwvux.gif

Should I go ahead and submit a bug for it?



That depends if you rolled your own crunchgen configuration or not.
Are you following a standard document to do this?

Ceri
--
That must be wonderful!  I don't understand it at all.
  -- Moliere





PGP.sig
Description: This is a digitally signed message part


I still obtain error when compile /usr/ports/math/scilab

2006-01-24 Thread cblasius

Hello!

Thank you for previous help  :-) !

I upgrade my port tree (cvsup) and all instaled ports (portupgrade
-a) and still  is problem with compiling /usr/ports/math/scilab. 
Especially with  port: /usr/ports/textproc/sablotron. Could someone help 
me with this issue. I want to use scilab for my work at university.


Thanks in advance.
Here is the output when I compiled sablotron.

===  Building for Sablot-1.0.2
Making all in src
gmake[1]: Entering directory
`/usr/ports/textproc/sablotron/work/Sablot-1.0.2/src'
Making all in engine
gmake[2]: Entering directory
`/usr/ports/textproc/sablotron/work/Sablot-1.0.2/src/engine'
if /bin/sh /usr/local/bin/libtool15 --mode=compile --tag=CXX c++
-DHAVE_CONFIG_H
-I. -I. -I../../autocfg   -I/usr/local/include  -O2
-fno-strict-aliasing -pipe
-march=pentiumpro  -MT encoding.lo -MD -MP -MF
.deps/encoding.Tpo -c -o
encoding.lo encoding.cpp; \
then mv -f .deps/encoding.Tpo .deps/encoding.Plo; else rm -f
.deps/encoding.Tpo; exit 1; fi
 c++ -DHAVE_CONFIG_H -I. -I. -I../../autocfg -I/usr/local/include
-O2
-fno-strict-aliasing -pipe -march=pentiumpro -MT encoding.lo -MD
-MP -MF
.deps/encoding.Tpo -c encoding.cpp  -fPIC -DPIC
-o .libs/encoding.o
encoding.cpp: In member function `Bool Recoder::conv(Situation,
ConvInfo*,
const char*, size_t, char*, size_t, EncResult)':
encoding.cpp:285: error: invalid conversion from `char**' to
`const char**'
encoding.cpp:285: error:   initializing argument 2 of `size_t
libiconv(void*,
const char**, size_t*, char**, size_t*)'
gmake[2]: *** [encoding.lo] Error 1
gmake[2]: Leaving directory
`/usr/ports/textproc/sablotron/work/Sablot-1.0.2/src/engine'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/textproc/sablotron/work/Sablot-1.0.2/src'
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop in /usr/ports/textproc/sablotron.

Best regards,
cblasius


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


Sharing internet connection, how?

2006-01-24 Thread cblasius

Hello!

I have two ethernet cards on my computer. The first is rl0 - with
the adrress from my ISP xxx.xxx.xxx.xxx (DSL 1M), and the second is vr0 
- with the address 192.168.1.1.


I want to use my computer as gateway to internet for the other
computers in my home. How I can sharing internet connection on my 
computer to the rest computers in my home? I hve 2 computers (my and my 
wife (rl0 192.168.1.2)).


Could somone help me, I'm beginner?

I have the following rc.conf file:

defaultrouter=vvv.vvv.vvv.vvv
gateway_enable=YES
natd_enable=YES
hostname=myhost
ifconfig_rl0=inet xxx.xxx.xxx.xxx  netmask 255.255.255.0
ifconfig_vr0=inet 192.168.1.1 netmask 255.255.255.0
linux_enable=YES
moused_enable=YES
moused_flags=-3
sshd_enable=YES
usbd_enable=YES

What I must to do else, because my wife could not connect to the
internet?
FreeBSD 6.0-RELEASE

I'm sorry for my English.

Best regards,
cblasius


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


Re: Submit a bug for broken PicoBSD Dummynet/bridge?

2006-01-24 Thread Tyler T
  I still get this error
  when trying to make a PicoBSD Dummynet bridge floppy
 
  http://i1.tinypic.com/mhwvux.gif

 That depends if you rolled your own crunchgen configuration or not.
 Are you following a standard document to do this?

Thanks for the reply!! I'm using

http://people.freebsd.org/~picobsd/picobsd/doc/how2build.html

and

http://63.249.85.132/pico_notes.htm

If there is a better document, I'll certainly try it.

I didn't do anything with crunchgen, I just left everything at the
default settings. Basically, I installed FreeBSD and then ran the
'picobsd bridge' script, and finally chose Build it from the menu
without doing or changing anything else.

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


Re: VPN / Bridge

2006-01-24 Thread Fabian Keil
Bob Kersten [EMAIL PROTECTED] wrote:

 I've been trying to create a tunnel/bridge between two networks
 which both reside behind a FreeBSD router using NAT. I've achieved it
 using the handbook example in chapter 14.10. Clients on network A are
 able to ping clients on network B and clients on network A are able
 to map samba shares on the NAT box/gateway of network B. The example
 however uses two different subnets to route traffic between both
 networks. Unfortunately broadcasts will not travel through the tunnel
 which causes Apple's bonjour (called rendezvous earlier) not being
 able to discover clients on the other network.
 
 What I want to achieve is what I believe a bridge between both  
 networks. The entire network A should be on the same subnet as  
 network B:
 
 network A
 range 192.168.100.100 - 192.168.100.199 / 255.255.255.0
|
 FreeBSD gateway A
 en1: IP: 192.168.100.101 / 255.255.255.0
 en0: public IP: 25.25.25.1
|
 Internet
|
 FreeBSD gateway B
 en0: public IP: 25.25.25.2
 en1: IP: 192.168.100.1 / 255.255.255.0
|
 Network B
 range 192.168.100.1 - 192.168.100.99 / 255.255.255.0
 
 Using the example from the handbook there was no additional  
 configuration necessary on the clients on both networks, the FreeBSD  
 gateways handled all the necessary routing. It would be great if
 this new setup should also not require any additional settings on
 the clients aswell.
 
 Can anyone give me an example or the necessary steps to create this  
 kind of VPN?

If you use FreeBSD 6.0 see man if_bridge, else see man bridge.

Fabian
-- 
http://www.fabiankeil.de/


signature.asc
Description: PGP signature


Re: Post-Install update steps?

2006-01-24 Thread Chuck Swiger

Xn Nooby wrote:

Is there a way to tell which are available as packages?  I would have
guessed gqview would have been, but apparently it is not.  I'm also not
certain I am doing the commands right, though I was able to install
subversion successfully via packages.


You can look at /usr/ports/LEGAL and gain some idea, also consider:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/porting-restrictions.html

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


Re: Blogin software recoendations

2006-01-24 Thread Chuck Swiger

stan wrote:

I want to host this on FreeBSD, preferably by using something that;s in the
ports tree. I've installed and got working wordpress, but it doesn't seem
to have the ability to allow me to define individual blogs for each person,
which is what I need. I'd like for each persons blog to have a unique URL.

Am I missing how to do this in wordpress? Or is there a more appropriate
choice?


Read the fine documentation :-):

http://codex.wordpress.org/Installing_Multiple_Blogs
http://codex.wordpress.org/WordPressMU

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


Re: Submit a bug for broken PicoBSD Dummynet/bridge?

2006-01-24 Thread Ceri Davies
On Tue, Jan 24, 2006 at 09:24:00AM -0700, Tyler T wrote:
   I still get this error
   when trying to make a PicoBSD Dummynet bridge floppy
  
   http://i1.tinypic.com/mhwvux.gif
 
  That depends if you rolled your own crunchgen configuration or not.
  Are you following a standard document to do this?
 
 Thanks for the reply!! I'm using
 
 http://people.freebsd.org/~picobsd/picobsd/doc/how2build.html

That document could do with deleting.  Could you take a look at
http://www.freebsd.org/projects/nanobsd/index.html and see if it fits
any better; PicoBSD should be considered obsolete.

Cheers,

Ceri
-- 
That must be wonderful!  I don't understand it at all.
  -- Moliere


pgpzKhxWith3G.pgp
Description: PGP signature


Re: Sharing internet connection, how?

2006-01-24 Thread Kilian Hagemann
On Tuesday 24 January 2006 18:19, cblasius pondered:
 Hello!

 I have two ethernet cards on my computer. The first is rl0 - with
 the adrress from my ISP xxx.xxx.xxx.xxx (DSL 1M), and the second is vr0
 - with the address 192.168.1.1.

 I want to use my computer as gateway to internet for the other
 computers in my home. How I can sharing internet connection on my
 computer to the rest computers in my home? I hve 2 computers (my and my
 wife (rl0 192.168.1.2)).

 Could somone help me, I'm beginner?

 I have the following rc.conf file:

 defaultrouter=vvv.vvv.vvv.vvv
 gateway_enable=YES
 natd_enable=YES
 hostname=myhost
 ifconfig_rl0=inet xxx.xxx.xxx.xxx  netmask 255.255.255.0
 ifconfig_vr0=inet 192.168.1.1 netmask 255.255.255.0
 linux_enable=YES
 moused_enable=YES
 moused_flags=-3
 sshd_enable=YES
 usbd_enable=YES

 What I must to do else, because my wife could not connect to the
 internet?
 FreeBSD 6.0-RELEASE

Until recently I managed a very similar setup. I think all you need is

natd_interface=rl0
natd_flags=-log_ipfw_denied -log_denied

The latter is just so that you can see spurious connection attempts 
in /var/log/security. Check man natd for more info.

Also, you'll have to either statically configure your wife's PC to use 
192.168.1.2 (or whatever), default gateway/route 192.168.1.1 and proper DNS. 
Alternatively install and configure dhcpd, or, which I like more for a simple 
application like that, dnsmasq. Google will tell you more :-)

-- 
Kilian Hagemann

Climate Systems Analysis Group
University of Cape Town
Republic of South Africa
Tel(w): ++27 21 650 2748
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Sharing internet connection, how?

2006-01-24 Thread fbsd_user

What you want to do is covered step by step in
 the install guide  at www.a1poweruser.com

or at http://www.unixguide.net/freebsd/fbsd_installguide/index.php

good luck


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of cblasius
Sent: Tuesday, January 24, 2006 11:20 AM
To: freebsd-questions@freebsd.org
Subject: Sharing internet connection, how?


Hello!

I have two ethernet cards on my computer. The first is rl0 - with
the adrress from my ISP xxx.xxx.xxx.xxx (DSL 1M), and the second is
vr0
- with the address 192.168.1.1.

I want to use my computer as gateway to internet for the other
computers in my home. How I can sharing internet connection on my
computer to the rest computers in my home? I hve 2 computers (my and
my
wife (rl0 192.168.1.2)).

Could somone help me, I'm beginner?

I have the following rc.conf file:

defaultrouter=vvv.vvv.vvv.vvv
gateway_enable=YES
natd_enable=YES
hostname=myhost
ifconfig_rl0=inet xxx.xxx.xxx.xxx  netmask 255.255.255.0
ifconfig_vr0=inet 192.168.1.1 netmask 255.255.255.0
linux_enable=YES
moused_enable=YES
moused_flags=-3
sshd_enable=YES
usbd_enable=YES

What I must to do else, because my wife could not connect to the
internet?
FreeBSD 6.0-RELEASE

I'm sorry for my English.

Best regards,
cblasius


___
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: Application

2006-01-24 Thread Lorin Lund
beckey wrote:

In FreeBSD, are it that commercial softwares such as Oracle,
VeritasVCS, and LifeKeeper are fewer than that of Linux why?


--
GANBARE! NIPPON!
Yahoo! JAPAN JOC OFFICIAL INTERNET PORTAL SITE PARTNER
http://pr.mail.yahoo.co.jp/ganbare-nippon/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

  

I would guess that the main reason is that there are more Linux boxes in
the world than there are FreeBSD boxes.

Secondarily, since FreeBSD has pretty good Linux emulation any package
that has been ported to Linux might run on FreeBSD. So there is less
motivation/reason to make a native FreeBSD port.


___
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 tell if IPF is running?

2006-01-24 Thread Peter N. M. Hansteen
jdow [EMAIL PROTECTED] writes:

 Which tool would be able to do this sort of thing best and how might it
 have been done.

PF has most of the bits you need built in, see eg
http://www.bgnett.no/~peter/pf/en/bruteforce.html (part of a PF
tutorial).  

For weeding out old table entries, you might want to look at
the expiretable utility (http://expiretable.fnord.se/).

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://www.blug.linux.no/rfc1149/ http://www.datadok.no/ http://www.nuug.no/
First, we kill all the spammers The Usenet Bard, Twice-forwarded tales

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


Re: Submit a bug for broken PicoBSD Dummynet/bridge?

2006-01-24 Thread Tyler T
I still get this error
when trying to make a PicoBSD Dummynet bridge floppy
http://i1.tinypic.com/mhwvux.gif
 
   Are you following a standard document to do this?
 
  Thanks for the reply!! I'm using
 
  http://people.freebsd.org/~picobsd/picobsd/doc/how2build.html

 That document could do with deleting.  Could you take a look at
 http://www.freebsd.org/projects/nanobsd/index.html and see if it fits
 any better; PicoBSD should be considered obsolete.

Well, then perhaps PicoBSD should be entirely removed from FreeBSD to
prevent confusing the newbies (like myself ;) ). I'll give NanoBSD a
shot. Thanks again.

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


Re: Blogin software recoendations

2006-01-24 Thread stan
On Tue, Jan 24, 2006 at 11:40:18AM -0500, Chuck Swiger wrote:
 stan wrote:
 I want to host this on FreeBSD, preferably by using something that;s in the
 ports tree. I've installed and got working wordpress, but it doesn't seem
 to have the ability to allow me to define individual blogs for each person,
 which is what I need. I'd like for each persons blog to have a unique URL.
 
 Am I missing how to do this in wordpress? Or is there a more appropriate
 choice?
 
 Read the fine documentation :-):
 
 http://codex.wordpress.org/Installing_Multiple_Blogs
 http://codex.wordpress.org/WordPressMU
 
I did run across both of these, in looking at the documentation.

The first choice, while seeming to be the better of the 2 looked to be a
bit heavyweight, as each user would have his own complete install of
wrodpress. Seems like an admin nightmare to me.

The 2nd is listed as alpha quality software. Doesn't sound like a great
idea to me.

Am I thinkining incorectly here?

-- 
U.S. Encouraged by Vietnam Vote - Officials Cite 83% Turnout Despite Vietcong 
Terror 
- New York Times 9/3/1967
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sharing internet connection, how?

2006-01-24 Thread Lorin Lund

cblasius wrote:


Hello!

I have two ethernet cards on my computer. The first is rl0 - with
the adrress from my ISP xxx.xxx.xxx.xxx (DSL 1M), and the second is 
vr0 - with the address 192.168.1.1.


I want to use my computer as gateway to internet for the other
computers in my home. How I can sharing internet connection on my 
computer to the rest computers in my home? I hve 2 computers (my and 
my wife (rl0 192.168.1.2)).


Could somone help me, I'm beginner?

I have the following rc.conf file:

defaultrouter=vvv.vvv.vvv.vvv
gateway_enable=YES
natd_enable=YES
hostname=myhost
ifconfig_rl0=inet xxx.xxx.xxx.xxx  netmask 255.255.255.0
ifconfig_vr0=inet 192.168.1.1 netmask 255.255.255.0
linux_enable=YES
moused_enable=YES
moused_flags=-3
sshd_enable=YES
usbd_enable=YES

What I must to do else, because my wife could not connect to the
internet?
FreeBSD 6.0-RELEASE

I'm sorry for my English.

Best regards,
cblasius


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



Is your wife's PC running Windows or FreeBSD?

Can your wife's PC ping your PC?
   If not then that is the first problem to solve.
Can your wife's PC ping an outside address given as numbers?
 (Like ping -c 4 18.7.22.69)
 If she can ping by number address but not by host name then the 
problem is her DNS

 configuration.
 If she can't ping by number address and you can then your PC is not 
forwarding
 things correctly - I've done that before but I don't remember all the 
details.


The more information you can give us the more likely we will be able to 
help.


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


Why did symlinks fix libgmodule-2.0.so.600 not found error?

2006-01-24 Thread Joseph Vella
I tried to install firefox from ports.  It didn't work, and after that kscd (a 
KDE cd player) stopped working.  Kscd would complain libgmodule-2.0.so.600 
not found.  Some searching led me to creating sysmlinks from 
libmodule-2.0.so.0 to it.  Then kscd complained about libgthread-2.0.so.600. 
After creating that symlink kscd now works.

Why did the borked firefox install do that?

Was that the right fix, should I do something different?

Most importantly, what else might be screwed up that I don't know about?


Anyone know of some good tutorials about installation trouble-shooting?  I'm 
having mostly failures so far and don't know how to recover or what I might 
be damaging?

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


Re: Blogin software recoendations

2006-01-24 Thread DAve

stan wrote:

On Tue, Jan 24, 2006 at 11:40:18AM -0500, Chuck Swiger wrote:


stan wrote:


I want to host this on FreeBSD, preferably by using something that;s in the
ports tree. I've installed and got working wordpress, but it doesn't seem
to have the ability to allow me to define individual blogs for each person,
which is what I need. I'd like for each persons blog to have a unique URL.

Am I missing how to do this in wordpress? Or is there a more appropriate
choice?


Read the fine documentation :-):

http://codex.wordpress.org/Installing_Multiple_Blogs
http://codex.wordpress.org/WordPressMU



I did run across both of these, in looking at the documentation.

The first choice, while seeming to be the better of the 2 looked to be a
bit heavyweight, as each user would have his own complete install of
wrodpress. Seems like an admin nightmare to me.

The 2nd is listed as alpha quality software. Doesn't sound like a great
idea to me.

Am I thinkining incorectly here?



While not the final word, I found this page worthwhile in deciding.

http://www.asymptomatic.net/blogbreakdown.htm

DAve


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


Re: Blogin software recoendations

2006-01-24 Thread Chuck Swiger

stan wrote:

On Tue, Jan 24, 2006 at 11:40:18AM -0500, Chuck Swiger wrote:

stan wrote:

I want to host this on FreeBSD, preferably by using something that;s in the
ports tree. I've installed and got working wordpress, but it doesn't seem
to have the ability to allow me to define individual blogs for each person,
which is what I need. I'd like for each persons blog to have a unique URL.

Am I missing how to do this in wordpress? Or is there a more appropriate
choice?

Read the fine documentation :-):

http://codex.wordpress.org/Installing_Multiple_Blogs
http://codex.wordpress.org/WordPressMU


I did run across both of these, in looking at the documentation.

The first choice, while seeming to be the better of the 2 looked to be a
bit heavyweight, as each user would have his own complete install of
wrodpress. Seems like an admin nightmare to me.

The 2nd is listed as alpha quality software. Doesn't sound like a great
idea to me.

Am I thinkining incorectly here?


I'm sure you could pay for commercial blog software or blog hosting instead, if 
you preferred to do that.  Or perhaps there are some other open-source blog 
suites which are more suited to your multiuser requirements than Wordpress.


(Multiple user homepages, one blog with multiple users per company, works fine 
for me, although I have tried making a copy or two and it would take about 3 MB 
per extra user if you wanted to do it the heavyweight way.)


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


Re: gunzip : invalid compressed data

2006-01-24 Thread Lowell Gilbert
[EMAIL PROTECTED] writes:

  I have recently downloaded a .tgz file to an m.s XP machine then ftp'd it to 
 my BSD laptop. When I try to open the file with tar or gunzip, I get the 
 following;
 file.tgz : invalid compressed data--format violated. Is this due to the file 
 being transfered from a NTFS? Pls cc me if you can help 

One way or another, the file got corrupted.  It won't have anything to
do with having been on NTFS for part of its life; much more likely it
got corrupted in one of the network transfers (e.g., FTP in text mode). 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Setting up a microphone

2006-01-24 Thread Keith Beattie

On 01/24/06 07:11, uidzero wrote:


It's worked flawlessly for me after I add recompiled the kernel with 
sound support. (I use Skype as well.)


Thanks and glad to hear that Skype is working.  Listening to music, etc. 
works just fine for me too, it's how to get input from the mic which I'm 
stuck on.  The machine is dual boot so I know the hardware works and the 
things are plugged into the right place (Skype works when running XP). 
This must be a FreeBSD config thing.


I've tried, unsuccessfully, working with mixer, rawrec, wmrecord and 
audacity to capture sound, so I'm now looking for a simple 'is your 
microphone working' test akin to the 'cat some_small_file  /dev/dsp' 
for testing noise coming out of the speakers (which still works).


'cat /dev/dsp  foo', speaking for a bit into the mic, then cntl-c to 
stop, does create a non-empty file but then a 'cat foo  /dev/dsp' 
doesn't produce any sound.  The rawrec port seems promising but no love 
from 'rawrec foo.raw' / 'rawplay foo.raw'.  All this with mixer showing 
non-zero levels for all channels and trying it with the recording source 
as mic and then line.  Something's gotta give here.



Maybe try updating to RELEASE-p8?


Indeed I'll update anyway but I don't believe any of those patches are 
sound related.


Thanks,
ksb

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

courier-imap and different logging in jail

2006-01-24 Thread Giovanni P. Tirloni

Hi,

 I installed courier-imap 4.0.6 in a jail recently and it's logging to 
/var/log/maillog as 'couriertcpd'. That means I cannot use !pop3d and 
!imapd in syslog.conf to redirect those logs to another file. Strange 
enough this isn't how it works in other servers that aren't using jails.


 Could it be related to the jail ? I copied and pasted the same 
configuration from another non-jail server to this one.


Thanks in advance,

--
Giovanni P. Tirloni
http://blog.tirloni.org

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


What'a a stale dependancy and how to fix?

2006-01-24 Thread Joseph Vella
portupgrade -a told me to do pkgdb -F.

pkgdb -F asked me what to do with stale dependancies and I didn't know what 
to do.

What should I do?
Most of these are the same items that my attempts at a firefox install hangs 
up at.

Below is the dialog:


Prajipati-FreeBSD# portupgrade -a
[Rebuilding the pkgdb format:bdb1_btree in /var/db/pkg ... - 250 packages 
found (-0 
+250) ...
...


 
done]
Stale dependency: linuxpluginwrapper-20051113 -- libdrm-2.0 -- manually run 
'pkgdb -F' to fix, or specify -O to force.


Prajipati-FreeBSD# pkgdb -F
---  Checking the package registry database
Duplicated origin: x11-toolkits/pango - pango-1.8.2 pango-1.10.2
Unregister any of them? [no]
Duplicated origin: accessibility/atk - atk-1.9.1 atk-1.10.3
Unregister any of them? [no]
Stale dependency: linuxpluginwrapper-20051113 - libdrm-2.0 (graphics/libdrm):
libdvdread-0.9.4_1 (score:28%) ? ([y]es/[n]o/[a]ll) [no]
New dependency? (? to help): ?
 [Enter] to skip, [Ctrl]+[D] to delete,  [.][Enter] to abort, [Tab] to 
complete
New dependency? (? to help):
Skip this? ([y]es/[n]o/[a]ll) [yes]
Skipped.
Stale dependency: pango-1.10.2 - cairo-1.0.2_1 (graphics/cairo):
New dependency? (? to help):
Skip this? ([y]es/[n]o/[a]ll) [yes]
Skipped.
Stale dependency: pango-1.10.2 - libdrm-2.0 (graphics/libdrm):
Skip this? ([y]es/[n]o/[a]ll) [yes]



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


Re: FreeBSD 6.0-RELEASE apache13-modssl signal 11s

2006-01-24 Thread Adi Pircalabu
On Mon, 23 Jan 2006 13:38:56 +0200
Omer Faruk Sen [EMAIL PROTECTED] wrote:

 I have installed  apache13-modssl 1.3.34+2.8.25_2 to my FreeBSD
 6.0-RELEASE. But when I try to start server using -DSSL I get signal
 11s. But when I disable mod_ssl httpd works fine. Does anybody lived
 something like that with FreeBSD 6.0-RELEASE 

I've got something similar on 5.4, not tested on 6.0. The fix in my
case was building the port against openssl-stable (i.e. 0.9.7i)
Try building the port using WITH_OPENSSL_STABLE=YES

Cheers

-- 
Adi Pircalabu (PGP Key ID 0x04329F5E)


-- 
This message was scanned for spam and viruses by BitDefender.
For more information please visit http://www.bitdefender.com/

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


Debian apt-get / FreeBSD ports

2006-01-24 Thread [EMAIL PROTECTED]
Hello,
I come from a Debian background, i normally 'apt-get update' the list of
the packages that apt-get mirrors serve before 'apt-get install'ing any
package. Is there anything like that while using FreeBSD ports? If no,
How does ports know what are the versions of the latest packages?

thanks,
Sincerely,
-- 
[EMAIL PROTECTED] [EMAIL PROTECTED]

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


FBSD5 and FBSD6 aren't too keen on the SFU/AD NIS server

2006-01-24 Thread Jim Hatfield
My current situation is that I have a Solaris based NIS server
and various client machines, including FreeBSD.

A production FreeBSD 5 machine and a test FreeBSD 6 machine work just
fine with it, except for a small glitch on the FreeBSD 6 machine:

speyburn# ypwhich
panther.internal.local
speyburn# ypwhich -m
ypwhich: can't find the master of ``: reason: No such map in server's domain

The FreeBSD 5 machine correctly lists all the maps.

I want to move to a NIS server provided by Microsoft's Services for
Unix running on an Active Directory domain controller. FreeBSD 6 seems
to work OK, though the error message changes slightly:

speyburn# ypwhich
axiom.internal.local
speyburn# ypwhich -m
ypwhich: can't find the master of `: reason: No such map in server's domain

(only one quote rather than two). But it actually functions fine:

speyburn# id jhatfield
uid=115(jhatfield) gid=100(Domain Users) groups=100(Domain Users), 0(wheel)

I can log in with no problem. Unfortunately the FreeBSD 5 machine does
not work fine at all. Firstly it can only find one map:

banff# ypwhich
axiom.internal.local
banff# ypwhich -m
ypservers axiom

And it can't convert login names to UIDs:

banff# id jhatfield
id: jhatfield: no such user

If anyone has experience of pointing FreeBSD at an SFU/AD NIS server
I'd like to know if they had this problem and if so how it was solved.
I really want to move to the AD NIS so if I have to I'll replace the
machine with one running FreeBSD 6, but I'd prefer not to have to.

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


Re: FreeBSD 6.0 - install critiques - install issues

2006-01-24 Thread Dan O'Connor
But now I've installed 6.0 for the first time on a machine that I plan 
on making a production box, and I've still noticed some of the 
installation oddities.


I've noticed zero oddities, if you're prepared as recommended in the 
Handbook 
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-pre.html)...


Installation of 6.0 was dirt simple. Here's how i did it: 
http://www.mostgraveconcern.com/freebsd/sheet.cgi?install



One big nuisance is that you cannot safely cancel out of many/some 
of the sysinstall options during install.  During install of fxp1 (the 
first and only NIC I chose), I chose to let it grab a DHCP address, 
then cancelled out of the NIC config.  Instead of dropping me back to 
choose another NIC, or the same NIC, the install just proceeded on, as 
if I'd completed my network config (I did revisit it at the end of the 
install, but still...esp. for a newbie, that's an unnecessary 
stumbling block).


When setup asks if you want to go back and change anything (before it 
installs the system), if you say yes, you get sysintall's menu--where 
you can configure/reconfigure your network interfaces, as well as all 
the other options that you were asked about.


Or, you can finish the install and edit /etc/rc.conf manually...it's one 
line to configure a network card:


   ifconfig_xl0=inet 123.45.67.89 netmask 255.255.255.0


The one that really hit me though was the mail config.  There were 
more mail config options than I'm used to from previous 4.x and 5.x 
installs, I cancelled out of it without choosing.  Post-install, 
sendmail was running.  I figured...fine...it installed a default.  No 
big deal.


Sendmail is *always* installed as part of the base system, since so many 
programs rely on it being there.



So...I fired up sysinstall, navigated to: Configure  Networking  
Mail
 Postfix (using FTP server as the source...didn't feel like putting 
 in

the CD).

Well...it installed Postfix and it's dependencies, message popped up 
that it was the default MTAbut sendmail is still there, and 
postfix is not running (I don't see an RC script either to start it 
and /etc/mailer.conf is unchanged).  So...I went through, and picked 
No MTA in sysinstall.  Well...sendmail is still running, and postfix 
is still installed (can't say I expected removalbut the behavior 
for defaulting to sendmail and then going back and picking postfix 
later doesn't make sense).


You should install Postfix via the ports once your base system is up and 
running.


If you do that, it will prompt you if you want Postfix to edit 
/etc/mailer.conf. At the end of the install, it gives you the exact 
lines you need to put in /etc/rc.conf to disable sendmail and use 
Postfix.


Here's how I do it: 
http://www.mostgraveconcern.com/freebsd/sheet.cgi?mail



 I'd like to figure out how to correct this in the base OS structure
without going back and re-installing (really shouldn't have to) OR 
going to ports (does the postfix port still have the make replace 
target...that was great).  Any hints?


Don't be afraid of the ports collection. Ports are your friend!


Any help would be appreciated (granted, I haven't gotten that far to 
where I absolutely cannot re-install...but I really shouldn't have to. 
If sendmail was in some kind of a pkg_db or something, I could simply 
remove sendmail and hopefully picking postfix as the MTA from 
sysinstall would install it insteadbut it doesn't appear to be 
like that).


There's no need to go back and reinstall.

You should consider the installation procedure as nothing more than a 
means of getting all the files off the CD and onto your hard drive. From 
that point forward, FreeBSD is easily configured without using 
sysinstall. All you need to know how to do is use a keyboard. :-)


Again, sendmail is part of the base system and is always installed. No 
need to remove it--you can easily run Postfix without having to remove 
sendmail.


I invite you to check out my FreeBSD Cheat Sheets; you'll find FreeBSD 
isn't nearly that hard to setup and use.


~Dan

--
FreeBSD Cheat Sheets
  http://www.mostgraveconcern.com/freebsd/ 



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


Debian apt-get / FreeBSD ports

2006-01-24 Thread [EMAIL PROTECTED]
Hello,
I come from a Debian background, i normally 'apt-get update' the list of
the packages that apt-get mirrors serve before 'apt-get install'ing any
package. Is there anything like that while using FreeBSD ports? If no,
How does ports know what are the versions of the latest packages?

thanks,
Sincerely,
-- 
[EMAIL PROTECTED] [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: Blogin software recoendations

2006-01-24 Thread stan
On Tue, Jan 24, 2006 at 12:22:00PM -0500, DAve wrote:
 stan wrote:
 On Tue, Jan 24, 2006 at 11:40:18AM -0500, Chuck Swiger wrote:
 
 stan wrote:
 
 I want to host this on FreeBSD, preferably by using something that;s in 
 the
 ports tree. I've installed and got working wordpress, but it doesn't seem
 to have the ability to allow me to define individual blogs for each 
 person,
 which is what I need. I'd like for each persons blog to have a unique 
 URL.
 
 Am I missing how to do this in wordpress? Or is there a more appropriate
 choice?
 
 Read the fine documentation :-):
 
 http://codex.wordpress.org/Installing_Multiple_Blogs
 http://codex.wordpress.org/WordPressMU
 
 
 I did run across both of these, in looking at the documentation.
 
 The first choice, while seeming to be the better of the 2 looked to be a
 bit heavyweight, as each user would have his own complete install of
 wrodpress. Seems like an admin nightmare to me.
 
 The 2nd is listed as alpha quality software. Doesn't sound like a great
 idea to me.
 
 Am I thinkining incorectly here?
 
 
 While not the final word, I found this page worthwhile in deciding.
 
 http://www.asymptomatic.net/blogbreakdown.htm
 

Thanks, lots of useful info there. Now to digest it :-)
-- 
U.S. Encouraged by Vietnam Vote - Officials Cite 83% Turnout Despite Vietcong 
Terror 
- New York Times 9/3/1967
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Debian apt-get / FreeBSD ports

2006-01-24 Thread Bill Schoolcraft
At Tue, 24 Jan 2006 it looks like [EMAIL PROTECTED] composed:

 Hello,
 I come from a Debian background, i normally 'apt-get update' the list of
 the packages that apt-get mirrors serve before 'apt-get install'ing any
 package. Is there anything like that while using FreeBSD ports? If no,
 How does ports know what are the versions of the latest packages?
 
 thanks,
 Sincerely,
 

Just cd into the /usr/ports/category/package

and type make install clean

It will fetch all the needed dependencies, kinda fun to watch if
your new to it :)

-- 
Bill Schoolcraft
PO Box 210076
San Francisco, CA 94121
UNIX, A Way of Life.
http://wiliweld.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Debian apt-get / FreeBSD ports

2006-01-24 Thread David Stanford
The traditional way is to use
CVSuphttp://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html,
but I prefer portsnap.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/portsnap.html

-David

On 1/24/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 Hello,
 I come from a Debian background, i normally 'apt-get update' the list of
 the packages that apt-get mirrors serve before 'apt-get install'ing any
 package. Is there anything like that while using FreeBSD ports? If no,
 How does ports know what are the versions of the latest packages?

 thanks,
 Sincerely,
 --
 [EMAIL PROTECTED] [EMAIL PROTECTED]

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

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


Re: Debian apt-get / FreeBSD ports

2006-01-24 Thread Mehmet Fatih AKBULUT
hi,
just use cvsup frequently to update your ports tree ;)
by this, u can get latest packages on ports.
regards,
bye.

[ps: i use debian + freebsd. apt-get is my favourite :)]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Debian apt-get / FreeBSD ports

2006-01-24 Thread Dan O'Connor

Hello,
I come from a Debian background, i normally 'apt-get update' the list 
of
the packages that apt-get mirrors serve before 'apt-get install'ing 
any

package. Is there anything like that while using FreeBSD ports? If no,
How does ports know what are the versions of the latest packages?


Welcome to FreeBSD!

In FreeBSD, we use the CVS system to keep the ports tree up to date. You 
can use Ananymous CVS, CVSup, or Portsnap to keep your ports collection 
up to date.


More info can be found in the Handbook:
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/anoncvs.html
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/portsnap.html

Personally, I use CVSup. Here's a Cheat Sheet on how to set it up (for 
both FBSD sources and ports tree):

   http://www.mostgraveconcern.com/freebsd/sheet.cgi?cvsup

~Dan

--
FreeBSD Cheat Sheets
  http://www.mostgraveconcern.com/freebsd/



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


Re: Debian apt-get / FreeBSD ports

2006-01-24 Thread Luke Bakken
 I come from a Debian background, i normally 'apt-get update' the list of
 the packages that apt-get mirrors serve before 'apt-get install'ing any
 package. Is there anything like that while using FreeBSD ports? If no,
 How does ports know what are the versions of the latest packages?

I have had good results using the portsnap and portupgrade/portinstall
utilities. The other responses you've received point to the relevant
parts of the FreeBSD handbook/manual pages.

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


make index

2006-01-24 Thread Michael P. Soulier
After running CVSup, I've seen people build their index via

cd /usr/ports
make index
# wait a frickin' long time

What is the index, and does it really require rebuilding after each CVSup?

Thanks,
Mike

-- 
Michael P. Soulier [EMAIL PROTECTED]
Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction.
--Albert Einstein


pgp84mLJXMCY8.pgp
Description: PGP signature


Re: Sharing internet connection, how?

2006-01-24 Thread Dan O'Connor

I have two ethernet cards on my computer. The first is rl0 - with
the adrress from my ISP xxx.xxx.xxx.xxx (DSL 1M), and the second is 
vr0 - with the address 192.168.1.1.


I want to use my computer as gateway to internet for the other
computers in my home. How I can sharing internet connection on my 
computer to the rest computers in my home? I hve 2 computers (my and 
my wife (rl0 192.168.1.2)).


You need to configure a firewall and network address translation (NAT).

Here's how I do it: 
http://www.mostgraveconcern.com/freebsd/sheet.cgi?ipfw


Good luck and have fun!

~Dan

--
FreeBSD Cheat Sheets
  http://www.mostgraveconcern.com/freebsd/ 



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


Re: make index

2006-01-24 Thread Dan O'Connor

After running CVSup, I've seen people build their index via

cd /usr/ports
make index
# wait a frickin' long time

What is the index, and does it really require rebuilding after each 
CVSup?


It's the index that's used to determine if installed ports are up to 
date. And yes, it takes a frickin' long time to generate...


I've automated it in my CVSup script, and run it at night, when I don't 
that it takes a long time. Here's what I do: 
http://www.mostgraveconcern.com/freebsd/sheet.cgi?cvsup


Have fun!

~Dan

--
FreeBSD Cheat Sheets
  http://www.mostgraveconcern.com/freebsd/ 



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


Re: make index

2006-01-24 Thread Matthew Seaman
Michael P. Soulier wrote:
 After running CVSup, I've seen people build their index via
 
 cd /usr/ports
 make index
 # wait a frickin' long time
 
 What is the index, and does it really require rebuilding after each CVSup?

The index is a list of all of the ports, what each port depends on, who
the maintainer is and various other data.  It's used by the 'make search'
command (see ports(7)) an a few other make targets you can invoke from
/usr/ports, plus it's used quite extensively by portupgrade(8).  Other
port maintenance software does not need an index file -- generally they
work out the dependency relations between different packages on the fly.

You don't need to keep running 'make index' all the time.  Firstly, you
can download a freshly build index by 'make fetchindex' -- which is
sufficient for most uses. If you use the new portsnap(1) facility
instead of cvsup(1), you'll get a freshly built index file included
automatically.  Or (blowing my own trumpet here...) you can install
sysutils/p5-FreeBSD-Portindex which gives you a method of incrementally
updating your index file based on what was modified during the previous
cvsup session (or however you choose to upgrade your ports).

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   Flat 3
  7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW, UK



signature.asc
Description: OpenPGP digital signature


Re: Problems with pgsql 8.0.4 freebsd 6: partially solved

2006-01-24 Thread Vivek Khera


On Jan 24, 2006, at 7:47 AM, Vittorio wrote:


Yesterday, I upgraded freebsd from 5.4 to 6 via
the CD (the iso was downloaded from ftp.freebsd.org).


I've done this many times with no problems.

However.

You serve yourself very well by recompiling all your ports or  
reinstalling the packages to be the ones built against 6.0.  This is  
especially necessary for libraries and programs that link against  
those libraries and those programs that dynamically load extensions  
(such as postgres).  Otherwise you're forcing two copies of libc to  
load at the same time in some cases and that causes no end of confusion.




auth.log intruder prevention

2006-01-24 Thread Ilias Sachpazidis
Hi Everyone,

In auth.log of my FreeBSD boxes I got many requests to port 22, as you can
see below.
begin of snippet
Jan 22 11:21:50 zeus sshd[92900]: Failed password for illegal user cracking
from 65.208.188.105 port 58344 ssh2
Jan 22 11:21:53 zeus sshd[92902]: Failed password for illegal user hacking
from 65.208.188.105 port 58443 ssh2
Jan 22 11:21:55 zeus sshd[92904]: Failed password for illegal user lol from
65.208.188.105 port 58543 ssh2
Jan 22 11:21:57 zeus sshd[92906]: Failed password for illegal user pgl from
65.208.188.105 port 58640 ssh2
Jan 22 11:22:00 zeus sshd[92908]: Failed password for illegal user player
from 65.208.188.105 port 58741 ssh2
Jan 22 11:22:02 zeus sshd[92910]: Failed password for illegal user root4me
from 65.208.188.105 port 58842 ssh2
end of snippet

I am wondering if any script is available to prevent hundreds of attempts on
port 22 from external IPs that constantly checking user  passwords on my
FreeBSD PCs.

What I am looking for is a deamon application/script that receives the
recorded data from auth.log and detects if any remote client (IP address) is
checking user and passwords (Detection pattern: 5 missing attempts in 1
min). On a successful detection, the script should add an ipfw rule
rejecting further IP packets from the specific remote address.

Is any script or something similar available so far? 

All the best,

Ilias
 


 


___
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 tell if IPF is running?

2006-01-24 Thread jdow

Ack, it looks like it would limp through doing the simple job wanted.
The good news is that I can make it work. The bad news is that it's
apparently so much simpler with the Linux iptables facilities. I can
see I have a bunch of reading to do before setting up to replace the
firewall machine.

Thanks. I like your tutorial. That will get me up with it faster.
{^_^}Joanne
- Original Message - 
From: Peter N. M. Hansteen [EMAIL PROTECTED]




jdow [EMAIL PROTECTED] writes:


Which tool would be able to do this sort of thing best and how might it
have been done.


PF has most of the bits you need built in, see eg
http://www.bgnett.no/~peter/pf/en/bruteforce.html (part of a PF
tutorial).  


For weeding out old table entries, you might want to look at
the expiretable utility (http://expiretable.fnord.se/).



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


Re: Debian apt-get / FreeBSD ports

2006-01-24 Thread [EMAIL PROTECTED]
Thanks to everybody, i'll check it out

-- 
[EMAIL PROTECTED] [EMAIL PROTECTED]
---BeginMessage---
The traditional way is to use
CVSuphttp://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html,
but I prefer portsnap.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/portsnap.html

-David

On 1/24/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 Hello,
 I come from a Debian background, i normally 'apt-get update' the list of
 the packages that apt-get mirrors serve before 'apt-get install'ing any
 package. Is there anything like that while using FreeBSD ports? If no,
 How does ports know what are the versions of the latest packages?

 thanks,
 Sincerely,
 --
 [EMAIL PROTECTED] [EMAIL PROTECTED]

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

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

Is A Sound Card Required For Music Player Daemon?

2006-01-24 Thread Drew Tomlinson
I am running FBSD 6.0 on a headless system with no sound card.  What I 
had hoped to do was get Music Player Daemon running on this box and then 
send it's output to Icecast2.  The actual sound would be generated by 
other devices with sound cards.


But in looking over the mpd.conf file, it appears a sound card is 
needed.  Does Icecast then take the sound and re-digitize it in its 
own format?  I'm confused.


Thanks for a kick in the right direction.

Drew

--
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books,  More!

http://www.alchemistswarehouse.com

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


Re: Broadcomm BCM4401-B0 and memory upgrade issue.

2006-01-24 Thread Mark Tinguely
On  Date: Tue, 24 Jan 2006 13:05:16 +0100, Mykhailo Lyubich [EMAIL 
PROTECTED] said:

  After the memory upgrade on my Laptop (HP nx5000) FreeBSD 6.0 stable,
  the driver for NIC bfe0 (Broadcom BCM4401-B0) stops working. The NIC LED
  lights are on. The bfe0 interface is up and active. However, I got a
  permanent message on the console:

  bfe0: watching timeout -- resetting.

  This occurs in the case when I compile the new kernel without bfe driver
  and load the bfe driver as module (if_bfe.ko). In the case when the
  driver is compiled into the kernel, the system stalls during the boot or
  whenever I try to configure the interface.
-
I am CC this to a few people on the freebsd-current list that had
somewhat simular symptoms with other hardware.
-
Have you tried to boot with the old contigmalloc using the sysctl
option vm.old_contigmalloc=1?

Some people are seeing slow boot/configuration with new style
vm_page_alloc_contig/contigmalloc.

I am doing some profiling of vm_page_alloc_contig() and have found
that larger physical memory configurations makes these problems much worse.

I identified 4-5 places that can be changed to decrease the number
of page tables that is needed to be checked before an allocating a range.
Some of the changes will only occasionally save a few page checks, but
others changes could save several hundred or more page checks on every call.

The old contigmalloc could be optimized also, but it uses the lower
addressed physical pages, which turns out to be used less during the
boot process than the upper addressed physical pages.

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


Re: Broadcomm BCM4401-B0 and memory upgrade issue.

2006-01-24 Thread Steve Kargl
On Tue, Jan 24, 2006 at 03:12:17PM -0600, Mark Tinguely wrote:
 Have you tried to boot with the old contigmalloc using the sysctl
 option vm.old_contigmalloc=1?

Yes.  This makes an enormous difference in boot up times.
With vm.old_contigmalloc=1, fxp0 probes within a few seconds.
Without it, fxp0 takes more than 7 minutes to probe.

 Some people are seeing slow boot/configuration with new style
 vm_page_alloc_contig/contigmalloc.

yep.

 I am doing some profiling of vm_page_alloc_contig() and have found
 that larger physical memory configurations makes these problems much worse.

yep.  I have 12 GB.

 I identified 4-5 places that can be changed to decrease the number
 of page tables that is needed to be checked before an allocating a range.
 Some of the changes will only occasionally save a few page checks, but
 others changes could save several hundred or more page checks on every call.

If you come up with a patch, I'm more than willing to test it.

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


shell scripting question (mdconfig device choosing)

2006-01-24 Thread Ensel Sharon

Hello,

When I mdconfig a device and _do not_ specify a particular numbered md
device (with the -u flag), it just chooses an unused device number for
me.  Which makes me happy.

Unfortunately, mdconfig chooses the next available device, from the
highest device currently in use, regardless of whether or not there are
much lower devices unused.

For instance, if I have md0 and md1 in use, mdconfig will auto choose
md2.  Good.  However if I only have md10 and md11 in use, mdconfig will
NOT choose md0, it will choose md12.

I need it to choose the lowest available unused device.

How can I do this in a bit of /bin/sh shell code ?  I can check what
devices are in use with `mdconfig -l`, like so:

# mdconfig -l
md0

and I know how to use awk to strip away the leading md from each piece
of the output ... but I do not know how to take output like:

8 9 11 14

and decide that the lowest available number is 0.  How can I do this ?

Thank you.

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


Re: shell scripting question (mdconfig device choosing)

2006-01-24 Thread Chuck Swiger

Ensel Sharon wrote:

and I know how to use awk to strip away the leading md from each piece
of the output ... but I do not know how to take output like:

8 9 11 14

and decide that the lowest available number is 0.  How can I do this ?


% echo '9 8 11 14' | sort -nt ' ' | head -1
8

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


Re: make index

2006-01-24 Thread Kent Stewart
On Tuesday 24 January 2006 11:19, Matthew Seaman wrote:
 Michael P. Soulier wrote:
  After running CVSup, I've seen people build their index via
 
  cd /usr/ports
  make index
  # wait a frickin' long time
 
  What is the index, and does it really require rebuilding after each
  CVSup?

 The index is a list of all of the ports, what each port depends on,
 who the maintainer is and various other data.  It's used by the 'make
 search' command (see ports(7)) an a few other make targets you can
 invoke from /usr/ports, plus it's used quite extensively by
 portupgrade(8).  Other port maintenance software does not need an
 index file -- generally they work out the dependency relations
 between different packages on the fly.

 You don't need to keep running 'make index' all the time.  Firstly,
 you can download a freshly build index by 'make fetchindex' -- which
 is sufficient for most uses. If you use the new portsnap(1) facility
 instead of cvsup(1), you'll get a freshly built index file included
 automatically.  Or (blowing my own trumpet here...) you can install
 sysutils/p5-FreeBSD-Portindex which gives you a method of
 incrementally updating your index file based on what was modified
 during the previous cvsup session (or however you choose to upgrade
 your ports).


You might wonder what Portindex buys you. You have to appreciate that 
you can cvsup, create an HTML listing to the cvsweb cgi facility using 
a log of the cvsup session, create a new INDEX, and an INDEX.db 
relatively quickly. The process is all automated via a shell script.

A typical time for the entire sequence of processing steps using a local 
cvsup mirror is 2 minutes. I had an occasion to time the script because 
of a recent question on the es.freebsd list. I think that 2 minutes is 
as fast as it will run on my systems and do something.

The network is 1000baseT but that doesn't make cvsup run any faster than 
a 100baseT connection. The port people have been playing with some of 
the make features and that adds 5-10 minutes or so because the cache 
entries needs to be updated for all of the ports that use the make file 
that was modified. Occasionally you have to update the entire cache and 
that process is slower than a make index.

Kent

-- 
Kent Stewart
Richland, WA

http://www.soyandina.com/ I am Andean project.
http://users.owt.com/kstewart/index.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: auth.log intruder prevention

2006-01-24 Thread Ilias Sachpazidis
We are talking about a few users and nobody has a permanent IP. 

-IS


-Original Message-
From: Dan O'Connor [mailto:[EMAIL PROTECTED] 
Sent: Dienstag, 24. Januar 2006 22:29
To: [EMAIL PROTECTED]
Subject: Re: auth.log  intruder prevention

 I am wondering if any script is available to prevent hundreds of 
 attempts on
 port 22 from external IPs that constantly checking user  passwords on 
 my
 FreeBSD PCs.

I can't help you with a greylist solution, but how many users do you 
have that ssh in from the outside?

If you don't have too many, and they come from stable IP addresses, you 
could always set up firewall rules to allow specific connections and 
block other attempts to connect to port 22:

# My Trusted SSH Sites
dan=123.45.67.89
jim=234.56.78.90
. . .

# SSH Login - Allow only trusted incoming on outside interface
${fwcmd} add pass log tcp from ${dan} to any 22 in via ${oif} setup
${fwcmd} add pass log tcp from ${jim} to any 22 in via ${oif} setup
. . .
${fwcmd} add deny log tcp from any to any 22 in via ${oif} setup

~Dan

--
FreeBSD Cheat Sheets
   http://www.mostgraveconcern.com/freebsd/ 



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


Re: shell scripting question (mdconfig device choosing)

2006-01-24 Thread Ensel Sharon


On Tue, 24 Jan 2006, Chuck Swiger wrote:

 Ensel Sharon wrote:
  and I know how to use awk to strip away the leading md from each piece
  of the output ... but I do not know how to take output like:
  
  8 9 11 14
  
  and decide that the lowest available number is 0.  How can I do this ?
 
 % echo '9 8 11 14' | sort -nt ' ' | head -1
 8


Yeah, but I am looking for 0 ... 8,9,11,14 are all in use ... but 0-7
are not.  I want to:

starting with zero, find the lowest number that is NOT in this list

(where this list is the output of mdconfig -l, which shows which md
devices are currently in use)

Thanks.

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


Re: Sound driver for Compaq Presario?

2006-01-24 Thread Ariff Abdullah
On Tue, 24 Jan 2006 23:44:56 +0100 (CET)
Andreas Davour [EMAIL PROTECTED] wrote:
 
 Considering what kind of memory for detail you have in these cases,
 I  bet that you remember correct and considering the name
 snd_atiixp it  wouldn't surprise me if that can solve the problem.
 Time to leave  FreeBSD 5.x aparantly.
 
You don't have to.

http://people.freebsd.org/~ariff/ .

--
Ariff Abdullah
FreeBSD


pgpEuXyTTJjcG.pgp
Description: PGP signature


Re: Sound driver for Compaq Presario?

2006-01-24 Thread Erik Trulsson
On Tue, Jan 24, 2006 at 11:44:56PM +0100, Andreas Davour wrote:
 On Sun, 22 Jan 2006, Erik Trulsson wrote:
 
 The computer behaves as if there is no card there! If I didn't remember
 hearing the Windows XP jolly sound when starting the computer I would be
 tempted to think it broken.
 
 The only remaining information I have is that pciconf tells me there is
 a device multimedia/sound from ATI Technologies as device 20.5 in its
 output. :(
 
 What is the *complete* output of 'pciconf -lv' ?  Not just the lines you
 think are relevant, but all of them.
 
 Attached at the end.
 
 Maybe FreeBSD just lacks support for the built in devices on this
 laptop. I would hate to have to tell my wife that she has to use Windows
 XP after all...
 
 That is of course a possibility.  Another possibility is that you just need
 to try a newer version of FreeBSD.
 I think support for audio on some ATI chipsets were added to RELENG_6 just 
 a
 few weeks ago (and is thus not in any -RELEASE yet.)
 
 If you have the 'snd_atiixp' driver on your system I would try it.
 
 Considering what kind of memory for detail you have in these cases, I 
 bet that you remember correct

Not only do I have a fairly good memory -- I also know how to check the CVS 
logs to
make sure I get the details correct. :-)


 and considering the name snd_atiixp it 
 wouldn't surprise me if that can solve the problem. Time to leave 
 FreeBSD 5.x aparantly.

It is all too often the case that if one wants support for the latest
hardware, one has to run the latest version of an OS.

Luckily for you, the transition from 5.x to 6.x is fairly painless.



 
 /andreas
 
 pciconf -lv output:

[...]

 [EMAIL PROTECTED]:20:5:   class=0x040100 card=0x3091103c chip=0x43701002 
 rev=0x02 hdr=0x00
 vendor   = 'ATI Technologies Inc.'
 class= multimedia
 subclass = audio

Checking the source code this chip does seem to be one of those supported 
by the snd_atiixp driver in -CURRENT and 6-STABLE.


-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Setting up a microphone

2006-01-24 Thread Danny Pansters
mixer recsrc must be mic, do you have that?

Dan

On Tuesday 24 January 2006 17:35, Keith Beattie wrote:
 On 01/24/06 07:11, uidzero wrote:
  It's worked flawlessly for me after I add recompiled the kernel with
  sound support. (I use Skype as well.)

 Thanks and glad to hear that Skype is working.  Listening to music, etc.
 works just fine for me too, it's how to get input from the mic which I'm
 stuck on.  The machine is dual boot so I know the hardware works and the
 things are plugged into the right place (Skype works when running XP).
 This must be a FreeBSD config thing.

 I've tried, unsuccessfully, working with mixer, rawrec, wmrecord and
 audacity to capture sound, so I'm now looking for a simple 'is your
 microphone working' test akin to the 'cat some_small_file  /dev/dsp'
 for testing noise coming out of the speakers (which still works).

 'cat /dev/dsp  foo', speaking for a bit into the mic, then cntl-c to
 stop, does create a non-empty file but then a 'cat foo  /dev/dsp'
 doesn't produce any sound.  The rawrec port seems promising but no love
 from 'rawrec foo.raw' / 'rawplay foo.raw'.  All this with mixer showing
 non-zero levels for all channels and trying it with the recording source
 as mic and then line.  Something's gotta give here.

  Maybe try updating to RELEASE-p8?

 Indeed I'll update anyway but I don't believe any of those patches are
 sound related.

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


Re: Dell DRAC Questions

2006-01-24 Thread Ken Stevenson
On Tue, Jan 24, 2006 at 02:32:32PM +, Alex Zbyslaw wrote:
 Ken Stevenson wrote:
 
 What software did you have to install (if any) on the 2850's in order to
 use the serial console? I have a couple 2650's with DRAC's, and I can
 connect to the Web interface on the DRAC port, but the serial console never
 connects.
 
  
 
 None.  For me they just worked out of the box.  I had to upgrade the 
 firmware in order to get SSH connections to work, but the java serial 
 console just worked.
 
 I would first make sure that you have the DRAC configured correctly 
 especially gateway and DNS server IPs, then start by running a Web 
 browser on the Dell itself and connecting to the DRAC.
 
 The other thing is that I do get lots of warnings about certificates, so 
 maybe over-aggressive browser security settings are your problem.
 
 I realise I should have said that these are DRAC4s.  I don't believe 
 that the underlying OS should matter a jot, but we have 5.4-RELEASE.  I 
 can connect from a Mozilla browser with native java 1.4.  You do have 
 Java installed, right?
 
 --Alex
 
I got it working once I quit kdm. Apparently the remote console is only
available if the graphics adapter is in a text mode. Thanks for your help.

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


Re: make index

2006-01-24 Thread Donald J. O'Neill
What version of FreeBSD are you using. It can make a difference as to 
which way want to you go. If you are using 6.0, you can use portsnap, 
which is so much faster than anything else, it's laughable. I only use 
cvsup for updating src.

Don



On Tuesday 24 January 2006 13:01, Michael P. Soulier wrote:
 After running CVSup, I've seen people build their index via

 cd /usr/ports
 make index
 # wait a frickin' long time

 What is the index, and does it really require rebuilding after each
 CVSup?

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


Re: auth.log intruder prevention

2006-01-24 Thread Daniel Gerzo
On Tue, Jan 24, 2006 at 10:02:26PM +0100, Ilias Sachpazidis wrote:
 Hi Everyone,

hello,
   
 
 In auth.log of my FreeBSD boxes I got many requests to port 22, as you can
 see below.
 begin of snippet
 Jan 22 11:21:50 zeus sshd[92900]: Failed password for illegal user cracking
 from 65.208.188.105 port 58344 ssh2
 Jan 22 11:21:53 zeus sshd[92902]: Failed password for illegal user hacking
 from 65.208.188.105 port 58443 ssh2
 end of snippet
 
 I am wondering if any script is available to prevent hundreds of attempts on
 port 22 from external IPs that constantly checking user  passwords on my
 FreeBSD PCs.
 
 What I am looking for is a deamon application/script that receives the
 recorded data from auth.log and detects if any remote client (IP address) is
 checking user and passwords (Detection pattern: 5 missing attempts in 1
 min). On a successful detection, the script should add an ipfw rule
 rejecting further IP packets from the specific remote address.
 
 Is any script or something similar available so far? 

I've written a BruteForceBlocer, you can install it from ports as well,
check security/bruteforceblocker.

Hope you will like it.

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


IPsec, VPN and FreeBSD

2006-01-24 Thread gahn
Hi:

We intend to build IPSec based VPN server on FreeBSD
platform so that we can access internal network of a
lab. The remote side will use VPN client and could be
from anywhere of the Internet, or may be from the
another site of the company. From the hnadbook, I saw
the sample of site-to-site configurations and we do
have one FreeBSD firewall (running ipfw) on both site
and another one on another site (both have firewalls
on them), can we do that?  Also what about the
client-server model? What kind of clients do we need
in order to connect to the FreeBSD/IPsec/VPN? Any
tips/information for the configuration of the
clients/server model on internet?

Any help will be greatly appreciated.

Thanks



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


RE: auth.log intruder prevention

2006-01-24 Thread Ilias Sachpazidis
Thanks Daniel,

I was about to develop a perl script.
It, however, seems that bruteforceblocker does what I was looking for.

Thanks again,

Ilias


-Original Message-
From: Daniel Gerzo [mailto:[EMAIL PROTECTED] 
Sent: Mittwoch, 25. Januar 2006 00:58
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: auth.log  intruder prevention

On Tue, Jan 24, 2006 at 10:02:26PM +0100, Ilias Sachpazidis wrote:
 Hi Everyone,

hello,
   
 
 In auth.log of my FreeBSD boxes I got many requests to port 22, as you can
 see below.
 begin of snippet
 Jan 22 11:21:50 zeus sshd[92900]: Failed password for illegal user
cracking
 from 65.208.188.105 port 58344 ssh2
 Jan 22 11:21:53 zeus sshd[92902]: Failed password for illegal user hacking
 from 65.208.188.105 port 58443 ssh2
 end of snippet
 
 I am wondering if any script is available to prevent hundreds of attempts
on
 port 22 from external IPs that constantly checking user  passwords on my
 FreeBSD PCs.
 
 What I am looking for is a deamon application/script that receives the
 recorded data from auth.log and detects if any remote client (IP address)
is
 checking user and passwords (Detection pattern: 5 missing attempts in 1
 min). On a successful detection, the script should add an ipfw rule
 rejecting further IP packets from the specific remote address.
 
 Is any script or something similar available so far? 

I've written a BruteForceBlocer, you can install it from ports as well,
check security/bruteforceblocker.

Hope you will like it.

-- 
Sincerely,
   Daniel Gerzo

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


Your gs version doesn't have driver hpdj

2006-01-24 Thread David Banning
I recently upgrade apsfilter and all support packages. On install, while
attempting to configure for an older HP deskjet printer I get the apsfilter
configuration error;

Your gs version doesn't have driver hpdj

While installing ghostscript-gnu, I noticed that -all- print drivers are 
selected
for install. Maybe they take up little room. Fine, I thought. I'll install
them all.

It seems like the older hpdj files are -not- bundled into version 
ghostscript-gnu-7.07_14

Any pointers would be helpful.

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


inetd and security

2006-01-24 Thread Playnet
Hello freebsd-questions,

  What better for security reasons?
Inetd, xinetd, standalone? As sample -- vsftpd.
As i know, inetd insecure and deprecated. But what better, xinetd or
standalone?

-- 
Best regards,
Playnet  mailto:[EMAIL PROTECTED]

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


samba: add mashine script and other

2006-01-24 Thread Playnet
Hello freebsd-questions,

  Who have subj for LDAP? As i understand, i can use smbldap-tools.
But which params?
Who can give part of smb.conf with add... ?

-- 
Best regards,
Playnet  mailto:[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: IPsec, VPN and FreeBSD

2006-01-24 Thread Julian Elischer

gahn wrote:


Hi:

We intend to build IPSec based VPN server on FreeBSD
platform so that we can access internal network of a
lab. The remote side will use VPN client and could be
from anywhere of the Internet, or may be from the
another site of the company. From the hnadbook, I saw
the sample of site-to-site configurations and we do
have one FreeBSD firewall (running ipfw) on both site
and another one on another site (both have firewalls
on them), can we do that?  Also what about the
client-server model? What kind of clients do we need
in order to connect to the FreeBSD/IPsec/VPN? Any
tips/information for the configuration of the
clients/server model on internet?

Any help will be greatly appreciated.
 


there are almost too many options to mention..

however you should be able to implement pptp
tunnels (as used on windows) using mpd (in ports)
alternatively there is always ssh or ipsec.
(or a combination of them)

If as you suggest, both ends are freebsd, then I've used mpd over ssh 
with great effect.

use the 'tcp transport' option of mpd and connect it through an ssh tunnel.

is the 'client' roaming or at a fixed address? if a fixed address then 
ipsec becomes easier.





Thanks



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

freebsd-security@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
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]


ntop segfault

2006-01-24 Thread Michael P. Soulier
Hey people,

So I built ntop, but it's dying on me. 

Tue Jan 24 20:34:51 2006  RRD: Created base directory (/var/db/ntop/rrd)
Tue Jan 24 20:34:51 2006  RRD: Created directory (/var/db/ntop/rrd/graphics)
Tue Jan 24 20:34:51 2006  RRD: Created directory (/var/db/ntop/rrd/flows)
Tue Jan 24 20:34:51 2006  RRD: Created directory (/var/db/ntop/rrd/interfaces)
Tue Jan 24 20:34:51 2006  THREADMGMT[t150506496]: RRD: Started thread for
throughput data collection
Tue Jan 24 20:34:51 2006  THREADMGMT[t150504448]: RRD: Data collection thread
running [p83425]
Tue Jan 24 20:34:51 2006  THREADMGMT[t150506496]: RRD: Throughput data
collection: Thread starting [p83425]
Tue Jan 24 20:34:51 2006  THREADMGMT[t150506496]: RRD: Throughput data
collection: Thread running [p83425]
Tue Jan 24 20:34:51 2006  NOTE: -L | --use-syslog=facility not specified,
child processes will log to the default (24).
Segmentation fault

It worked initially. I love the output, but I clicked on Hosts, and it died. 

Anyone else seeing this?

Mike

-- 
Michael P. Soulier [EMAIL PROTECTED]
Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction.
--Albert Einstein


pgpW1nxIyiLeg.pgp
Description: PGP signature


Re: make index

2006-01-24 Thread Michael P. Soulier
On 24/01/06 Donald J. O'Neill said:

 What version of FreeBSD are you using. It can make a difference as to 
 which way want to you go. If you are using 6.0, you can use portsnap, 
 which is so much faster than anything else, it's laughable. I only use 
 cvsup for updating src.

At the moment I'm using 5.4. 

Mike

-- 
Michael P. Soulier [EMAIL PROTECTED]
Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction.
--Albert Einstein


pgpI1gtRBWFLo.pgp
Description: PGP signature


thread hijacking, was: auth.log intruder prevention

2006-01-24 Thread Michael P. Soulier
On 24/01/06 Ilias Sachpazidis said:

 Hi Everyone,
 
 In auth.log of my FreeBSD boxes I got many requests to port 22, as you can
 see below.

It's considered poor mailing list ettiquette to hijack a thread. Please start
a new post instead. Some of us are using threaded mail readers. 

Thanks,
Mike

-- 
Michael P. Soulier [EMAIL PROTECTED]
Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction.
--Albert Einstein


pgpdju6GjzkeB.pgp
Description: PGP signature


Re: IPsec, VPN and FreeBSD

2006-01-24 Thread gahn
Thanks Julian:

Well, the another site is using a linux box for
firewall. We have extra PCs available so we could
build another FreeBSD box. That probably makes the VPN
setup a lot easier between two sites.

As to the roaming users, very unlikely there will be
dial-up line, but those users could be on road and
using ISPs to connect the internal lab. both sites are
labs.

I will try the roaming clients---freebsd vpn server
first.



--- Julian Elischer [EMAIL PROTECTED] wrote:

 gahn wrote:
 
 Hi:
 
 We intend to build IPSec based VPN server on
 FreeBSD
 platform so that we can access internal network of
 a
 lab. The remote side will use VPN client and could
 be
 from anywhere of the Internet, or may be from the
 another site of the company. From the hnadbook, I
 saw
 the sample of site-to-site configurations and we do
 have one FreeBSD firewall (running ipfw) on both
 site
 and another one on another site (both have
 firewalls
 on them), can we do that?  Also what about the
 client-server model? What kind of clients do we
 need
 in order to connect to the FreeBSD/IPsec/VPN? Any
 tips/information for the configuration of the
 clients/server model on internet?
 
 Any help will be greatly appreciated.
   
 
 there are almost too many options to mention..
 
 however you should be able to implement pptp
 tunnels (as used on windows) using mpd (in ports)
 alternatively there is always ssh or ipsec.
 (or a combination of them)
 
 If as you suggest, both ends are freebsd, then I've
 used mpd over ssh 
 with great effect.
 use the 'tcp transport' option of mpd and connect it
 through an ssh tunnel.
 
 is the 'client' roaming or at a fixed address? if a
 fixed address then 
 ipsec becomes easier.
 
 
 
 Thanks
 
 
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam
 protection around 
 http://mail.yahoo.com 
 ___
 freebsd-security@freebsd.org mailing list

http://lists.freebsd.org/mailman/listinfo/freebsd-security
 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]
 


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


  1   2   >