Trading cautiously on new ports

2006-02-25 Thread Chandan Haldar

I managed to recover from my misadventures (trying to upgrade
gnome) the dumb way, namely, by reinstalling FreeBSD (6.0
Release) and the ports from the ISO CD images.  Fortunately the
process is fast and painless.  Hats off to the folks who make the
ISO images.  I have over 300 ports installed. The only inconsistency
I encountered so far was the unavailability of pdflib 6.0.1 as a
dependency for gnuplot.  Looks like only pdflib 6.0.2 is available
on the net at the moment and gnuplot port in the ISO CD refuses
to build with pdflib 6.0.2 sources.

This led me to find out how to check out the effects of installing a new
port or new versions of installed ports (from a portsnap fetch or cvsup
download) non-destructively by extracting the new version of a port
PATH as a non-root user in a different ports directory, for example:

   portsnap -p /home/myports extract print/pdflib

and by attempting to build the new port version with make rather
than with make install clean.  This way I have no risk of upsetting
my installed ports (installed as root) since anyway I cannot write in
/usr/local or /usr/X11R6 etc as the non-root user.  Once I see that
the new port build finds all the installed dependency ports in order
and the build completes without surprises, I rebuild it as root,
deinstall the previous port version, and install the new one or can
do a portsnap extract followed by a portupgrade (this time into
/usr/ports) safely.  I did this for pdflib+gnuplot.  Have to try this on
a large and complex port such as gnome.

I understand that there is no such thing as solving the stale dependency
problem once and for all (thanks for all the illuminating discussion on the
ports/packages).  But is there a clean command for reporting the
dependencies (with versions) of a new port or a new port version
without actually attempting to make/install/ or upgrade it?  And may be
such a command also shows the versions of these dependencies installed
on the system at the moment, so that one can have a sneak preview of
any upgrade trouble brewing?  The closest to this I see is pkg_add -n
but it requires a built package.  I was hoping that there was a way
to do this kind of dependency analysis by extracting the dependencies
from the ports descriptions, but I haven't been able to figure out the
commands necessary for that.

Sometimes a potentially complex upgrade is not life-critical and may be
I want to upgrade only if I'm sure that it won't lead to the kind of chaos
I landed myself into with my gnome upgrade attempt.  Until I see a safe
way such as the above, I'll probably wait till the next suitable ISO CDs
to upgrade major stuff such as FreeBSD itself, X11, and Gnome.

Chandan

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


Re: AVerMedia AVerTV Hybrid+FM Cardbus

2006-02-25 Thread Konstantin Dimitrov
according to

http://www.ixbt.com/monitor/aver-cardbus-hybrid.shtml

AverTV Hybrid+FM Cardbus uses Xceive XC3018 Silicon Tuner (
http://www.xceive.com ) and that chip is not supported from the saa.ko:

Makevars:

# Onboard Tuner Selection flags
#
# Default tuner API type is TUNER_APITYPE_PHILIPS
#
#Use one of the following,
#
TUNER_FLAGS+= -DTUNER_APITYPE_PHILIPS
#TUNER_FLAGS+= -DTUNER_APITYPE_LG
#TUNER_FLAGS+= -DTUNER_APITYPE_TEMIC
#TUNER_FLAGS+= -DTUNER_APITYPE_ALPS
#TUNER_FLAGS+= -DTUNER_APITYPE_PHILIPS_MK3

On 2/24/06, Ludo Koren [EMAIL PROTECTED] wrote:


  [EMAIL PROTECTED] writes:

   bktr.ko is for Conexant (formerly Rockwell) Booktree (Fussion)
   8x8/8x9 based cards and you have Philips saa713x based, so you
   should try with the correct driver and applications. You can
   download them from here:

   http://download.purpe.com/

   I don't know why the driver from the link above is not
   included, like bktr.ko, into the FreeBSD, and if it will work
   with your device, but with my saa7134 based ECS EZ-TV (TVP3XP)
   TVFM Tuner card, everything works great and I am able to watch
   analog TV and capture under FreeBSD 5.x :

   [EMAIL PROTECTED]:11:0: class=0x048000 card=0x4cb41019 chip=0x71341131
   rev=0x01 hdr=0x00 vendor = 'Philips Semiconductors' device =
   'SAA7134HL Multi Media Capture Device' class = multimedia



 after applying proposed driver I get:

 [EMAIL PROTECTED]:0:0:  class=0x048000 card=0xf4361461 chip=0x71331131 
 rev=0xd1
 hdr=0x00
 vendor   = 'Philips Semiconductors'
 device   = 'SAA7135HL Multi Media Capture Device'
 class= multimedia

 and running ftvv application in source Tab after pressing Tune
 Channels I get:

 Error changing to frequency: 48.25: Input/output error


 and in the log appears:

 iicbus0: START: bus error (status 0x9 loop:13)

 Here is the kldstat output:

 Id Refs AddressSize Name
 1   23 0xc040 380600   kernel
 21 0xc0781000 64cc linprocfs.ko
 32 0xc0788000 1b40c linux.ko
 42 0xc07a4000 1d4fcsound.ko
 51 0xc07c2000 5a44 snd_ich.ko
 61 0xc07c8000 8740 ng_ubt.ko
 72 0xc07d1000 dd4c netgraph.ko
 81 0xc07df000 580b4acpi.ko
 91 0xc27d2000 3000 est.ko
 101 0xc29cf000 17000radeon.ko
 111 0xc3801000 2c000nfsclient.ko
 121 0xc6e38000 8000 saa.ko
 132 0xc6e4 3000 iicbus.ko
 141 0xc6e54000 3000 iic.ko

 Anyone any hints what could be wrong?

 Thanks.

 Regards,
 lk
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia
 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]


Install USB Printer on FreeBSD

2006-02-25 Thread Alin Tuhut

Hello,

I am trying with no luck setting up a an USB Xerox Phaser 3116 printer 
on FreeBSD 6.0
I have installed and enabled CUPS and from the CUPS web admin area I 
have added the printer as USB Printer #1.
When I try to print a test page the printer makes a normal noise like it 
is trying to get paper but it does not print. Just stops.

If I try to print a file nothing happens.
As far as I know the printer knows Postcript but in CUPS I could only 
choose RAW when it asked about the driver.


What should I do?

Thanks.

P.S. I'm sorry, I sent this without a subject in previous email.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Install USB Printer on FreeBSD

2006-02-25 Thread David J Brooks
On Saturday 25 February 2006 03:23, Alin Tuhut wrote:
 Hello,

 I am trying with no luck setting up a an USB Xerox Phaser 3116 printer
 on FreeBSD 6.0
 I have installed and enabled CUPS and from the CUPS web admin area I
 have added the printer as USB Printer #1.
 When I try to print a test page the printer makes a normal noise like it
 is trying to get paper but it does not print. Just stops.
 If I try to print a file nothing happens.
 As far as I know the printer knows Postcript but in CUPS I could only
 choose RAW when it asked about the driver.

 What should I do?

Do you have ghostscript properly installed and configured? 

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


pf binat problem

2006-02-25 Thread Leon Botes

# network diagram
#__
#   |  | dsl1_if---dsl1_rt
#   |  |
#   pri_net---pri_if| freebsd  | dsl2_if---dsl2_rt
#   |pf|
#   dmz_srv---dmz_if| firewall | dig_ifdig_rt
#   |  |
#   (internal nets) |__| (external nets)

Default Gateway is dig_rt.
When a connection arrives on one of the dsl_if's it is redirected to the 
correct port on the dms_srv, traced via tcpdump.
The dmz_srv responds but tries to send its reply out the default gateway 
instead of via the interface the connection arrived on.

The dmz server is actually a LVS cluster masqueraded.
All connections coming in via the dig_if get redirected and work fine.

How can i tell pf to return connections out the same interface they 
arrived on and not use the default route out dig_if?


dsl1_if = rl3
dsl1_rt = 172.16.3.1
dsl1_ip = 172.16.3.2
dsl2_if = rl1
dsl2_rt = 172.16.4.1
dsl2_ip = 172.16.4.2
dmz_if = rl0
dmz_srv = 172.16.2.4
dmz_if_ip = 172.16.2.3
pri_if = rl2
pri_ip = 192.168.254.1

binat on $dig_if from $dmz_srv to any - $dig_ip
binat on $dsl1_if from $dmz_srv to any - $dsl1_ip
binat on $dsl2_if from $dmz_srv to any - $dsl2_ip
nat on $dig_if from pri_net to any - $dig_ip
nat on $dsl1_if from pri_net to any - $dsl1_ip
nat on $dsl2_if from pri_net to any - $dsl2_ip

rdr on $dsl1_if inet proto tcp from any to $dsl1_ip port { 25, 80, 110 } 
- $dmz_srv
rdr on $dsl2_if inet proto tcp from any to $dsl2_ip port { 25, 80, 110 } 
- $dmz_srv


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


Re: Install USB Printer on FreeBSD

2006-02-25 Thread robert
On Sat, 2006-02-25 at 12:28 +0200, Alin Tuhut wrote:
 
 
 robert wrote: 
  On Sat, 2006-02-25 at 11:23 +0200, Alin Tuhut wrote:

   Hello,
   
   I am trying with no luck setting up a an USB Xerox Phaser 3116 printer 
   on FreeBSD 6.0
   I have installed and enabled CUPS and from the CUPS web admin area I 
   have added the printer as USB Printer #1.
   When I try to print a test page the printer makes a normal noise like it 
   is trying to get paper but it does not print. Just stops.
   If I try to print a file nothing happens.
   As far as I know the printer knows Postcript but in CUPS I could only 
   choose RAW when it asked about the driver.
   
   What should I do?
   
   Thanks.
   
   P.S. I'm sorry, I sent this without a subject in previous email.
   
  
  Have you tried googling for this?
  
  A 10 second search found that it uses the same drivers as the Samsung
  ML1210 (probably re badged Xerox) which is listed on the linux printing
  site.
  

 I have searched on google for various terms but have not found that. I
 probably searched using other keywords.
 Ok, so if I find the Samsung driver, can this be added and selected
 from CUPS?
  Rob

Alin

Try http://www.linuxprinting.org/ it should give you all the info you
need.

Rob
  

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


winmodem driver

2006-02-25 Thread kalin mintchev
hi all...

is there a win modem driver in 6.0 that can be used with the build-in
modem on ibm thinkpads?

thanks...




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


Re: winmodem driver

2006-02-25 Thread Robert Slade
On Sat, 2006-02-25 at 11:21, kalin mintchev wrote:
 hi all...
 
 is there a win modem driver in 6.0 that can be used with the build-in
 modem on ibm thinkpads?
 
 thanks...

Kalin,

Probably not as the Win bit normally stands for windows..


Have you looked in the supported HW list:

http://www.freebsd.org/releases/6.0R/hardware-i386.html

Rob 

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


Re: winmodem driver

2006-02-25 Thread David J Brooks
On Saturday 25 February 2006 05:21, kalin mintchev wrote:
 hi all...

 is there a win modem driver in 6.0 that can be used with the build-in
 modem on ibm thinkpads?

Have you tried /usr/ports/comms/mwavem ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


queries providing write support to ufs2 in linux

2006-02-25 Thread rachana maniyar
  hello,
  
Currently I am trying to give write support to the UFS2 file system in linux 
2.6.10 which is a native file system for FreeBSD operating system.Right now the 
UFS2 has just read-only support in linux.
  
The current status is that i have been able to create the directories 
successfully in linux partition with UFS2 mounted on it without the freebsd 
partition getting corrupted. 
So whenever i try to open a file or write sm data into it,the process 
terminates out giving segmentation fault n this fault is sm divide by 0 error.
  
I have been able to trace out this error also,where does it come from.its the 
following macro which uses s_spc which has 0 value right at the time of file 
system getting registered.n hence the divide by 0 error occurs.
   
  /* linux-2.6.10/include/linux/ufs_fs.h */
   
  #define ufs_cbtocylno(bno) \
266 ((bno) * uspi-s_nspf / uspi-s_spc)
   
  so here the uspi-s_spc which is sectors per cylinder has value zero..
  Also one thing i noticed while tracing down all the parameters of the 
superblock and cylinder group is that most of them have zero values assigned 
right from the start when the file system is mounted on linux.
so wht can be done in regards to this problem?? 
   
  n the other thing it that while opening a file or writing data into a file 
wht care is to be taken or wht is the procedure??
  Well i would also like to know wht is the exact disk layout of the UFS2 file 
system..??
  
if anyone can give answers to the above questions ,it will be really helpful 
for me..
  thanking you in advance..

 Rachana.
  

-- 
The only thing Constant is Change !!!
So try to be constant :-) \n\n,0] ); D([ce]);  //--  


-
Yahoo! Mail
Bring photos to life! New PhotoMail  makes sharing a breeze. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ping timeout

2006-02-25 Thread Ken Stevenson

Gargi Bodke wrote:

Hi
  I am new to this list and new to freebsd also. I have  a Freebsd server
set up with apache and qmail on it, with an ADSL connection to the
internet.  Most of the time the server works fine but it is not available
early mornings and weekends. The machine is physically at my workplace and
has a static IP mapped to it by a Service provider. When I say not available
I am unable to ping it from home and a tracert also fails. When it started
happening I went to my work place to see if the server was down, But it has
always been up and running.  Also even if the server is not rebooted the
machine becomes accessible after some time. Thinking it to be a network
problem I have complained to the ISP but they are unable to provide any
solution.

Is it possible that a freebsd machine sleeps after being idle for some time?
Early mornings and weekends is the time when no one is in office that's why
am asking. Sorry if this sounds stupid but I ab unable to figure out the
cause so though I  should give it a try on this list.


I bet that your initial diagnosis is correct: your Internet connection 
at work is going down periodically. You need to try to get to work 
early or on the weekend when the problem is happening, and ideally 
have somebody at home or wherever you're doing the tracert from.


It could also be a DNS problem. When you ping your server, are you 
pinging it by name or by IP address?


Also, do you manage the firewall that your server sits behind? It 
sounds like the firewall may be programmed to block traffic during 
non-work hours.


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


Mailinglist via news-server

2006-02-25 Thread Kees Plonsz
This mailinglist is also accessible through:

news://jeremina.homeunix.net/list.fbsd.questions

reading and writing


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


increase semon

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

RE: winmodem driver

2006-02-25 Thread fbsd_user


Modems are manufactured for two target markets, MS/Windows and
every thing else. Winmodems are cheep because the hardware controller
function is handled by the software you have to install into windows.
This hardware controller function is contained in a chip on the modem
circuit board. Winmodems are missing this chip and have a replacement
chip that directs the modem to use driver software running in the
windows system to perform the controller function. The most common
replacement chip is manufactured by Lucent. There are many versions of
this Lucent chip each version needing a different software driver
version.

Up until version 4.4, FBSD did not have any solution to using
Winmodems, but with the release of 4.4 the ports collection contains
the  Linux Winmodem 'ltmdm' driver which was ported to FBSD.
This port is very poorly documented, only works with a limited
number of Lucent chip version.



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of kalin
mintchev
Sent: Saturday, February 25, 2006 6:21 AM
To: freebsd-questions@freebsd.org
Subject: winmodem driver


hi all...

is there a win modem driver in 6.0 that can be used with the build-in
modem on ibm thinkpads?

thanks...



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


wireless question

2006-02-25 Thread dick hoogendijk
Up 'till now all my (home) netwrok computers are cabled.
My FreeBSD-6.1PR is hidden in the closet (I want no noise!)

The problem is my new notebook -- it's wireless. so now I have to learn
how to deal with this.

I don't want my server leaving the closet (too much noise).
Can someone give me some reading pointers on how to tackle this problem?

I.e.: is it possible to connect an wireless access point to my router?
Or is it better to change the router into a wireless router (can
signals go through wooden doors?. It's all very confusing and I'm
willing to learn! ;-)

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 6.1 ++ The Power to Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Asus P5MT-M and FreeBSD 6.0

2006-02-25 Thread fbsd_user
Sounds like a bug to me.
Submit a problem report on it.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ben House
Sent: Saturday, February 18, 2006 2:13 AM
To: freebsd-questions@freebsd.org
Subject: Asus P5MT-M and FreeBSD 6.0


I am attempting to install 6.0 Stable on an Asus P5MT-M motherboard
(Intel
ICH7R), which contains onboard SATA RAID bios (LSI MegaRAID).
Standard
sysinstall in call cases.  I am noticing several inconsistencies:

1) When SATA is in Enhanced mode, no drives are detected.  5.4 detects
both
drives just fine

2) When SATA is in RAID mode, no drives are detected, 5.4 yields the
same
results.

3) When SATA is in Compatible mode, *one* drive is detected, AND a
raid
volume is also detected (but in degraded status).  5.4 detects these
just
fine.

Ideally, installing 6.0 (or even 5.4) using the RAID function would be
preferred.

Any suggestions?




Ben House
Unified Network Services Inc.
(519)624-9405 Ext. 33
[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: Bandwidth Problems with Freebsd 5.x

2006-02-25 Thread fbsd_user
Your testing is way to general to make the blanket statement
that something is wrong with FreeBSD.

You say you did a transfer between boxes but give no details how you
did it or what operating system is on the sending and receiving boxes.
Did you use FTP or ssh? Ssh has know buffer size problems between
un-like operating system a each end that cause massive slowness.

Check the list archives for the last 5 days for subject High
Performance SSH/SCP - HPN-SSH to get the thread.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of ptitoliv
Sent: Sunday, February 19, 2006 12:55 PM
To: Mathieu CHATEAU; freebsd-questions@freebsd.org
Subject: Re: Bandwidth Problems with Freebsd 5.x


Mathieu CHATEAU a écrit :

try this:
ping -c 1000 -s 1500 IP_TO_PING

wait for the 1000 ping to go trough. You should not have more than
0,5% of loss (is the servers aren't overload). If it's more or equal
than 0,5%, it comes from the network (cables or switches fault).
Each host would be in 100 full (via autoselect to be sure the conf is
ok on the switch).

I made the tests on the two boxes = 0 % packet loss.

I man an other interesting test. I try to transfert between the BSD
Box
and a server located at home behind my 1MB/s ADSL Line. Here are the
results :

FreeBSD box = Workstation at home : 300 kB/s
Debian box on the same network  = Workstation at home : 950 kB/s.

This test confirms cleraly that there is a problem with the BSD, I
guess.

Could it be a bug from the VR driver ?

Regards,
Ptitoliv
___
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: 10 years of The Complete FreeBSD

2006-02-25 Thread Giorgos Keramidas
On 2006-02-25 11:51, Greg 'groggy' Lehey [EMAIL PROTECTED] wrote:
On Friday, 24 February 2006 at 14:10:59 +0200, Giorgos Keramidas wrote:
 On 2006-02-24 16:50, Greg 'groggy' Lehey [EMAIL PROTECTED] wrote:
 That's probably a good idea.  Can somebody from the doc project
 comment?

 Yes.  I would very much like to see this published online at least as
 part of our publish.html page.

 Greg,

 if I have your approval, the following patch is the least I can to thank
 you for all the work you've put into the book all these years, and for
 releasing it now:

 You, too, are welcome :-)

 --- publish.sgml 4 Oct 2005 21:58:59 -   1.66
 +++ publish.sgml 24 Feb 2006 12:07:48 -
 @@ -188,13 +188,21 @@
tr
  tda href=http://www.freebsdmall.com/cgi-bin/fm/bsdcomp;IMG 
 SRC=gifs/bsdcomp-4.2.gif WIDTH=200 HEIGHT=220 alt=book 
 cover/a/td
  td
 -The Complete FreeBSD with CDs, 3rd Ed, FreeBSD 4.2.
 +pThe Complete FreeBSD with CDs, 3rd Ed, FreeBSD 4.2.

 Well, the current version is the 4th edition, and it covers FreeBSD
 5.0.  It also doesn't have CDs.

I think we may have to add a new entry to the book list then.
I'll look into getting this done.

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


Re: wireless question

2006-02-25 Thread Fabian Keil
dick hoogendijk [EMAIL PROTECTED] wrote:

 Up 'till now all my (home) netwrok computers are cabled.
 My FreeBSD-6.1PR is hidden in the closet (I want no noise!)
 
 The problem is my new notebook -- it's wireless. so now I have to
 learn how to deal with this.
 
 I don't want my server leaving the closet (too much noise).
 Can someone give me some reading pointers on how to tackle this
 problem?

man ifconfig
man ath
man if_bridge
 
 I.e.: is it possible to connect an wireless access point to my router?

It's possible and probably the easiest solution,
but neither the cheapest nor the best.

 Or is it better to change the router into a wireless router (can
 signals go through wooden doors?. It's all very confusing and I'm
 willing to learn! ;-)

If you already have a FreeBSD-based router, just add a wlan nic which
has hostap support. You will pay less and get a far more powerful
system.

Wooden doors shouldn't be a problem, but you'll have to see for
yourself.

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


signature.asc
Description: PGP signature


Re: Bandwidth Problems with Freebsd 5.x

2006-02-25 Thread Donald J. O'Neill
On Sunday 19 February 2006 11:54, ptitoliv wrote:
 Mathieu CHATEAU a écrit :
 try this:
 ping -c 1000 -s 1500 IP_TO_PING
 
 wait for the 1000 ping to go trough. You should not have more than
 0,5% of loss (is the servers aren't overload). If it's more or equal
 than 0,5%, it comes from the network (cables or switches fault).
 Each host would be in 100 full (via autoselect to be sure the conf
  is ok on the switch).

 I made the tests on the two boxes = 0 % packet loss.

 I man an other interesting test. I try to transfert between the BSD
 Box and a server located at home behind my 1MB/s ADSL Line. Here are
 the results :

 FreeBSD box = Workstation at home : 300 kB/s
 Debian box on the same network  = Workstation at home : 950 kB/s.

 This test confirms cleraly that there is a problem with the BSD, I
 guess.

 Could it be a bug from the VR driver ?

 Regards,
 Ptitoliv
 ___

Not hardly. I'll bet that 950kB/s for the Debian box was the peak 
download speed and it didn't maintain it through the entire download. 

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


Re: 10 years of The Complete FreeBSD

2006-02-25 Thread ivan . roth
Greg 'groggy' Lehey wrote:
 Ten years ago today, on 24 February 1996, I submitted for publication
 the final version of the first ever book on FreeBSD, Installing and
 Using FreeBSD.  It was later renamed to The Complete FreeBSD.

 I have always retained full rights to the book, and for today I've
 decided to release it for download under the Creative Commons
 license.  See more at http://www.lemis.com/grog/Documentation/CFBSD/.

 Greg
 --
 Finger [EMAIL PROTECTED] for PGP public key.
 See complete headers for address and phone numbers.


Of course, the only thing I can do is to follow the community by sending you a
big thank! Well, the only thing I could regret now is having bought it one
month ago and not started to read it... :)

Hope it is as great as people say! :)

Sincerly, thank you very much.

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


Re: no usb detection during load

2006-02-25 Thread Lowell Gilbert
Peter de Rooij [EMAIL PROTECTED] writes:

 More symptoms:
 - the detection of the usb drive after adding to fstab was a fluke. 
 The next few boots it was missing again...
 - I have seen the usb mouse and printer appear at boot twice now; each
 time after changing boot parameters (boot verbose, boot with ACPI). 
 The usb key appear every time(?)
 - when the usb mouse is not found there is a 30sec delay after
 detecting the keyboard and before the message about failure to
 allocate an IRQ for psm0 (no surprise, there's nothing there.)

Hmm.  Definitely try to use ACPI if you can...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ping timeout

2006-02-25 Thread Gargi Bodke
I ping the IP.  DNS is fine. I use the same ISP as the server. So when it
works the server is 2 hops away. Will check out on Freebsd firewalls.

On 2/25/06, Ken Stevenson [EMAIL PROTECTED] wrote:

 Gargi Bodke wrote:
  Hi
I am new to this list and new to freebsd also. I have  a Freebsd
 server
  set up with apache and qmail on it, with an ADSL connection to the
  internet.  Most of the time the server works fine but it is not
 available
  early mornings and weekends. The machine is physically at my workplace
 and
  has a static IP mapped to it by a Service provider. When I say not
 available
  I am unable to ping it from home and a tracert also fails. When it
 started
  happening I went to my work place to see if the server was down, But it
 has
  always been up and running.  Also even if the server is not rebooted the
  machine becomes accessible after some time. Thinking it to be a network
  problem I have complained to the ISP but they are unable to provide any
  solution.
 
  Is it possible that a freebsd machine sleeps after being idle for some
 time?
  Early mornings and weekends is the time when no one is in office that's
 why
  am asking. Sorry if this sounds stupid but I ab unable to figure out the
  cause so though I  should give it a try on this list.
 
 
 I bet that your initial diagnosis is correct: your Internet connection
 at work is going down periodically. You need to try to get to work
 early or on the weekend when the problem is happening, and ideally
 have somebody at home or wherever you're doing the tracert from.

 It could also be a DNS problem. When you ping your server, are you
 pinging it by name or by IP address?

 Also, do you manage the firewall that your server sits behind? It
 sounds like the firewall may be programmed to block traffic during
 non-work hours.

 --
 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: setting up french keyboard

2006-02-25 Thread Webster, Andrew
 -Original Message-
 From: Peter [mailto:[EMAIL PROTECTED]
 Sent: Friday, February 24, 2006 10:34
 To: Webster, Andrew; freebsd-questions
 Subject: RE: setting up french keyboard
 
 
 --- Webster, Andrew [EMAIL PROTECTED] wrote:
 
   -Original Message-
   From: [EMAIL PROTECTED] [mailto:owner-freebsd-
   [EMAIL PROTECTED] On Behalf Of Peter
   Sent: Thursday, February 23, 2006 22:19
   To: freebsd-questions
   Subject: setting up french keyboard
  
   Hi.  Does anyone know how I can set up my 5.4 system to output
French
   characters?  If so, how?
 
  You can set the LANG environment variable.  For example setting it
to
  fr_CA.ISO8859-1 will produce French Canadian error messages with
  ISO8859-1 characters.
  You can see all the available locales with 'locale -a' command.
  You might need to change the screen fonts for other languages, but
the
  default ISO8859-1 set works fine.
  Only programs that are locale aware will actually output French,
others
  will continue to output English.
 
 Well I changed the LANG variable and my keyboard still outputs
English.
 Ideally I would like to toggle between an English keyboard and a
French
 one.  I got one suggestion to use the kbdcontrol command but that too
does
 has no effect.  Although when I tried the equivalent method of setting
it
 up in /etc/rc.conf via the keymap variable and rebooted, the console
 (before startx) was affected (the key bindings were still wrong) but
when
 I entered X-windows I was back to where I started.
 

Try this when X is running:
setxkbmap -model pc104 -layout ca -variant basic

 --
 Peter
 
 
 
 
 
 
 __
 Find your next car at http://autos.yahoo.ca

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


FreeBSD and HP DV4000

2006-02-25 Thread Nelson Carnauba
Hi, Everyone,

I am MSC candidate, and i have been doing a study on open source and
distributed software development, and for this, i am searching for learning
more about open source communities and their best practices applied in this
development environment. So, i am migrating to freebsd community, but i am
searching for freebsd users who uses this OS in notebook, more specially in
DV4000 HP model. I would like to know if someone have used the freebsd in
this notebook model or if there is some has references where i can find
informations about this doubt.

Best regards,

--
Nelson Carnaúba Tenório
[EMAIL PROTECTED]
Mundo, vasto mundo,
Se eu me chamasse Raimundo,
Seria rima, não seria solução
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Is it hack? How to prevent!

2006-02-25 Thread The Happy

Hello everyone,

   I'm on freebsd 4.8R acting as a webserver and email server, I keep 
getting

   In my /var/log/messages a strange 3 type of messages,

1)
  mysqld[8541]: error: /etc/hosts.allow, line 212: twist option in resident 
process

  last message repeated 73 times

2)
 inetd[50977]: warning: /etc/hosts.allow, line 25: host name/address 
mismatch: 208.34.235.251 !=

 mail.nrms.org

3)
 sshd[40712]: warning: /etc/hosts.allow, line 25: can't verify hostname: 
getaddrinfo(na-163-

 219.na.avantel.net.mx, AF_INET) failed
 (I keep getting differnt host everytime)

 about messages 2 and 3 i think its some hacks attempts How i can preven 
this type of

 access? unmatched IPs?

 what about messages number 1? what doest mean is it hack attempt?

 My logs are full of these messages, please help
 Note line 25 in /etc/hosts.allow is ALL : .temma.net : deny and has 
nothing to do with these logs

 its just the first rule in the file.

 Thank you in advance.

 Marwan

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


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


Re: Bandwidth Problems with Freebsd 5.x

2006-02-25 Thread chris
If you are testing it through your home this test is irrelevant as there
is a lot that could cause it to slow down if you test it from the freebsd
box to another freebsd box on the same switch i bet it would be faster
then the shity debian box the internet is a weird place one momment its
quick another its slow try doing atraceroute on your DSL as i guarantee
it's a problem with your DSL or whatever the box is connected to not the
BSD box itself.
 On Sunday 19 February 2006 11:54, ptitoliv wrote:
 Mathieu CHATEAU a écrit :
 try this:
 ping -c 1000 -s 1500 IP_TO_PING
 
 wait for the 1000 ping to go trough. You should not have more than
 0,5% of loss (is the servers aren't overload). If it's more or equal
 than 0,5%, it comes from the network (cables or switches fault).
 Each host would be in 100 full (via autoselect to be sure the conf
  is ok on the switch).

 I made the tests on the two boxes = 0 % packet loss.

 I man an other interesting test. I try to transfert between the BSD
 Box and a server located at home behind my 1MB/s ADSL Line. Here are
 the results :

 FreeBSD box = Workstation at home : 300 kB/s
 Debian box on the same network  = Workstation at home : 950 kB/s.

 This test confirms cleraly that there is a problem with the BSD, I
 guess.

 Could it be a bug from the VR driver ?

 Regards,
 Ptitoliv
 ___

 Not hardly. I'll bet that 950kB/s for the Debian box was the peak
 download speed and it didn't maintain it through the entire download.

 Don
 ___
 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: 10 years of The Complete FreeBSD (5150)

2006-02-25 Thread Kevin Kinsey

Bill Schoolcraft wrote:


Greg,

I want to thank you for you help in making FreeBSD what it is today.

I first met Greg on a fluke and a weird one that that too.

While working in techsupport at Linuxcare, and the only one to my
knowledge doing so running FreeBSD, I was sitting there one day and
this fellow comes in, scans the room and makes a bee-line to my work
area.  I at the time was the only techsupport with my personal
library of Unix/Linux tech books.  Having just left the Machinist
Union for the 'dot-com' I was alway one for self help.

This guy, with the scraggly beard reaches over me, grabs the first
FreeBSD book written by Greg Lehey and opens it.

At that time in San Francisco we were having alot of homeless people
getting into the office building and sometimes wandering the halls
on drugs, drunk or whatever.

When I asked him Hey..., can I help you?  He said, I wrote this
book!

At that time I was sure he was 5150 (the penal code for being
nuts) and I was about to get up and escort him out when one of my
co-workers, knowing my background as an ex-steelworker at the San
Francisco waterfront quickly jumped in and introduced Greg Lehey
to me, I then realized it was not a joke, Greg was not a homeless
person, and I've felt honored ever since to have been a co-worker of
his, briefly sharing the same domain name in our work's email
address.

A few weeks later Richard Stallman came through the office...  I
had the exact same inkling this time but jumped up pre-emptively and
again my co-worker came to the rescue.  


I could write a book of the stuff that I've experienced, maybe call
it From the Shipyards to Silicon Valley or something

The one thing I've learned (besides FreeBSD kicks ass) is that in
this industry you can NEVER, EVER judge a book by it's cover!
 



Fine story; and demonstrates a point: something to the effect of,
Free software is *real* software, made for use by people, *real* people,
by people, *real* people, who at least have the courage to care
about **something** and want to make the world a better place with
the skills they have.

So, kudos to Grog for this move, and for his advocacy, authorship,
coding, community participation ... and whatever else; I'm sure
there's been lots of stuff (and also that you can probably read about
lots of it in his diary).

And to the rest of the hackers. 


It's said that you can't get something for nothing, but, in the case
of FreeBSD, we've almost proved that the saying isn't true - at least
for those willing to not judge an OS by its cover 

Kevin Kinsey

--
I never expected to see the day when girls would get sunburned in the
places they do today.
-- Will Rogers

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


Re: winmodem driver

2006-02-25 Thread kalin mintchev

 Have you tried /usr/ports/comms/mwavem ?

thanks David... i'll try it but this one is way newer - it's a t30...



 ___
 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: Trading cautiously on new ports

2006-02-25 Thread Parv
in message [EMAIL PROTECTED],
wrote Chandan Haldar thusly...

 This led me to find out how to check out the effects of installing
 a new port or new versions of installed ports (from a portsnap
 fetch or cvsup download) non-destructively by extracting the new
 version of a port PATH as a non-root user in a different ports
 directory
...
 and by attempting to build the new port version with make rather
 than with make install clean.  This way I have no risk of
 upsetting my installed ports (installed as root) since anyway I
 cannot write in /usr/local or /usr/X11R6 etc as the non-root user.
 Once I see that the new port build finds all the installed
 dependency ports in order and the build completes without
 surprises, I rebuild it as root, deinstall the previous port
 version, and install the new one

Alternatively, you could change the owner of $PORTS/distfiles 
$WRKDIRPREFIX to your own user id;  run make build in the
directory of desired port.  If successful, run make install as
root.  That way, you would save time and unnecessary compilation.


 But is there a clean command for reporting the dependencies (with
 versions) of a new port or a new port version without actually
 attempting to make/install/ or upgrade it?

One way is by parsing 'INDEX*' (see textproc/p5-FreeBSD-Ports) which
lists the dependency of ports.  Other is running 'make
pretty-print-run-depends-list pretty-print-build-depends-list' in a
port directory[0].  Yet another method is to run make -V
RUN_DEPENDS; make -V BUILD_DEPENDS


 And may be such a command also shows the versions of these
 dependencies installed on the system at the moment, so that one
 can have a sneak preview of any upgrade trouble brewing?  The
 closest to this I see is pkg_add -n but it requires a built
 package.

You need pkg_info(1) command listed in SEE ALSO section of
pkg_add(1) man page.  Use the -r option to list dependencies of a
installed port/package.


[0] Oddly, pretty-print-run-depends-list target is listing no
dependencies in print/teTex ...

  This port requires package(s)  to run.

... which is just absurd as indicated by make -V RUN_DEPENDS ...

  /misc/local/share/texmf-local/ls-R:/misc/ports/print/tex-texmflocal \
  /misc/local/share/texmf-dist/LICENSE.texmf:/misc/ports/print/teTeX-texmf \
  latex:/misc/ports/print/teTeX-base \
  dvips:/misc/ports/print/dvipsk-tetex \
  xdvi:/misc/ports/print/xdvik


  - Parv

-- 

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


Re: Haven't been able to make world in about a year

2006-02-25 Thread Kristian Vaaf

At 16:59 24.02.2006, Giorgos Keramidas wrote:

On 2006-02-24 16:45, Kristian Vaaf [EMAIL PROTECTED] wrote:
At 19:47 21.02.2006, Kris Anderson wrote:
--- Kristian Vaaf [EMAIL PROTECTED] wrote:

 Hello!

 I don't know what's wrong. But all my makes error out.  I've tried
 over and over again. And sent about a dozen e-mails to this list.

 http://www.home.no/hedhnta/result.txt

 When doing:

 cvsup -g -L 2 /etc/cvsupfile

Kristian, you would have to show us your cvsupfile.  It's possible that
you are missing some of the sources, so the source tree you download is
not exactly buildable.

 And then running:

 cd /usr/src \
  make buildworld \
  make buildkernel KERNCONF=ARBA \
  make installkernel KERNCONF=ARBA \
  make installworld \
  mergemaster \
  make clean \
  rm -rf /usr/obj/*

 This is how it's done, no?

Not quite.

 Sort of done like that. Looking at the FreeBSD handbook it says:

make buildworld
make buildkernel KERNCONF=ARBA
make installkernel KERNCONF=ARBA
reboot

 Note: There are a few rare cases when an extra run of mergemaster -p
 is needed before the buildworld step. These are described in
 UPDATING. In general, though, you can safely omit this step if you
 are not updating across one or more major FreeBSD versions.

This is also suggested in /usr/src/UPDATING.

 The point is I've been having this problem for so long, and none of
 the developers are willing to help me.

Patience, please.  It's not the end of the world.  There is a sane,
logical explanation why you can't build the system.  We just have to
find it :)

 This is one of the reason I think, why most people these days seem to
 go (back) to DragonflyBSD.

This is very uncalled for.  If you really want help, then please spare
us the (in my opinion) unsupported, unwarranted rhetoric about why
FreeBSD is not for you.  The helpful people of this list don't deserve
this, and you don't deserve the flames such inflammatory material can
start.

 I certainly am going to.

Ultimately, this is your choise to make, of course.  We can't force to
use something that you don't like.

Before that happens, I'd like to see at least the following though:

- Your cvsupfile

- The error messages you get.  The URL in the previous paragraphs
  that is supposed to show the errors, is not fetchable:

  $ cd /tmp
  $ fetch http://www.home.no/hedhnta/result.txt
  fetch: http://www.home.no/hedhnta/result.txt: Not Found
  $


Dear Giorgos,

Here is my /etc/cvsupfile:

*default host=cvsup.no.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=RELENG_6
*default delete use-rel-suffix

src-all
ports-all tag=.
doc-all tag=.

I'll have result.txt back on that URL first thing tomorrow morning.

I'm not going to DragonflyBSD because FreeBSD works just fine at the 
time being,

except this though it isn't killing me.

Talk to you later,
Thanks!

--
vaaf

___
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 ensure one blank line on top of ASCII files?

2006-02-25 Thread Kristian Vaaf

At 01:51 14.02.2006, Randy Pratt wrote:

Hi,

I'm replying offlist since this isn't particularly a FreeBSD
question.

Something like this may work for you:

addline.sh:
==
#!/bin/sh
#Check if file begins with blank line, if not, insert a blank line

firstline=`head -1 ${1}`

if [ ${firstline} =  ]; then
   #echo its a blank
else
   #echo insert line
   sed -i  '1{s/^/\
/;}' ${1}
fi
=

Usage: addline.sh somefile.txt

If you needed to do many files, then make a loop to do each one

for i in *.txt; do addline.sh $i; done

or whatever syntax you need for the shell you are using.  I missed
the beginning of the thread so I'm not sure of all the details.

Caveat: This should be checked with some sample files before
using on your good files.  I just did a few minimal tests.

Note that this:

   sed -i  '1{s/^/\
/;}' ${1}

is not a typographical error.  It is adding the newline after
the blank line.  Check some of the online sed tutorials
for an explanation of the syntax.  The manual page for sed
is a bit terse ;-)

Hope this helps more than it confuses!

Randy




--


Hello Randy!

Sorry to disturb, but how can I make this script add a blank line to the top
of all ASCII files except the ones that contain at the beginning #!?

It would also be nice to rule out certain filetypes.

#!/usr/local/bin/bash
#
#   Add blank line to the top of text files.
#   $ARBA: blank.sh,v 1.0 2007/11/11 15:09:05 vaafExp $
#
#   Use: blank
for file in `find -s . -type f -not -name .*`; do
if file -b $file | grep -q 'text'; then
echo  blank
mv $file $file.tmp
cat blank $file.tmp  $file
rm -f $file.tmp
rm -f blank
echo $file: Done
fi
done

Thanks!

Vaaf

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


RE: Is it hack? How to prevent!

2006-02-25 Thread fbsd_user
What this means is you have no firewall blocking
the port numbers those services use.

Or you really do have mysql, and SSH installed and people are
trying to remotely login and your box is doing its job of
denying the unauthorized login attempt.

But my money is on the firewall.
You have none or it's rules are not correct.

Read the firewall section of the FreeBSD handbook and
use the ipfilter example rule set.

As an after though, 4.8 is an unsupported system
and 6.0 is the current production version.
Time to upgrade by installing from scratch 6.0.

Give the Install Guide at www.a1poweruser.com a look.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of The Happy
Sent: Saturday, February 25, 2006 10:46 AM
To: freebsd-questions@freebsd.org
Subject: Is it hack? How to prevent!


Hello everyone,

I'm on freebsd 4.8R acting as a webserver and email server, I keep
getting
In my /var/log/messages a strange 3 type of messages,

1)
   mysqld[8541]: error: /etc/hosts.allow, line 212: twist option in
resident
process
   last message repeated 73 times

2)
  inetd[50977]: warning: /etc/hosts.allow, line 25: host name/address
mismatch: 208.34.235.251 !=
  mail.nrms.org

3)
  sshd[40712]: warning: /etc/hosts.allow, line 25: can't verify
hostname:
getaddrinfo(na-163-
  219.na.avantel.net.mx, AF_INET) failed
  (I keep getting differnt host everytime)

  about messages 2 and 3 i think its some hacks attempts How i can
preven
this type of
  access? unmatched IPs?

  what about messages number 1? what doest mean is it hack attempt?

  My logs are full of these messages, please help
  Note line 25 in /etc/hosts.allow is ALL : .temma.net : deny and has
nothing to do with these logs
  its just the first rule in the file.

  Thank you in advance.

  Marwan

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

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

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


RE: pf binat problem

2006-02-25 Thread fbsd_user
This question was just covered on this list during the last 7 days.
Search the questions archives at http://freebsd.rambler.ru/


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Leon Botes
Sent: Saturday, February 25, 2006 5:15 AM
To: freebsd-questions@freebsd.org
Subject: pf binat problem


# network diagram
#__
#   |  | dsl1_if---dsl1_rt
#   |  |
#   pri_net---pri_if| freebsd  | dsl2_if---dsl2_rt
#   |pf|
#   dmz_srv---dmz_if| firewall | dig_ifdig_rt
#   |  |
#   (internal nets) |__| (external nets)

Default Gateway is dig_rt.
When a connection arrives on one of the dsl_if's it is redirected to
the
correct port on the dms_srv, traced via tcpdump.
The dmz_srv responds but tries to send its reply out the default
gateway
instead of via the interface the connection arrived on.
The dmz server is actually a LVS cluster masqueraded.
All connections coming in via the dig_if get redirected and work fine.

How can i tell pf to return connections out the same interface they
arrived on and not use the default route out dig_if?

dsl1_if = rl3
dsl1_rt = 172.16.3.1
dsl1_ip = 172.16.3.2
dsl2_if = rl1
dsl2_rt = 172.16.4.1
dsl2_ip = 172.16.4.2
dmz_if = rl0
dmz_srv = 172.16.2.4
dmz_if_ip = 172.16.2.3
pri_if = rl2
pri_ip = 192.168.254.1

binat on $dig_if from $dmz_srv to any - $dig_ip
binat on $dsl1_if from $dmz_srv to any - $dsl1_ip
binat on $dsl2_if from $dmz_srv to any - $dsl2_ip
nat on $dig_if from pri_net to any - $dig_ip
nat on $dsl1_if from pri_net to any - $dsl1_ip
nat on $dsl2_if from pri_net to any - $dsl2_ip

rdr on $dsl1_if inet proto tcp from any to $dsl1_ip port { 25, 80,
110 }
- $dmz_srv
rdr on $dsl2_if inet proto tcp from any to $dsl2_ip port { 25, 80,
110 }
- $dmz_srv

Thanks
Leon
___
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: winmodem driver

2006-02-25 Thread James Long
 Date: Sat, 25 Feb 2006 06:21:12 -0500 (EST)
 From: kalin mintchev [EMAIL PROTECTED]
 Subject: winmodem driver
 To: freebsd-questions@freebsd.org
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain;charset=iso-8859-1
 
 hi all...
 
 is there a win modem driver in 6.0 that can be used with the build-in
 modem on ibm thinkpads?
 
 thanks...

You forgot to tell us WHICH model of ThinkPad concerns you.  Modems in 
older ThinkPads, such as a T21 or A20m may be supported by the 
comms/ltmdm port.

I have been unable to find any support for modems in newer ThinkPads, 
such as the T30 and later.  However, somewhere around here I have a
modem-only mini-PCI card that came out of my A20m when I upgraded it
to a mini-PCI combo card with modem and 10/100 fxp NIC.  Both the 
modem-only card and the combo modem/NIC card had supported modem 
chipsets.  Once I can locate the modem-only PCI card I have 
(somewhere), I will try to install it in my T30 and see whether I can 
get modem functionality back.

Now, don't blame me if this fries your laptop or causes other mayhem, 
but if you want to try, you can buy these modem cards pretty cheap on 
eBay.  Based on the part numbers found on IBM's site at

http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=ibmlndocid=MIGR-4K6L7B

I would try looking for part number 10L1305 or 08K3146.  You want a
Lucent chipset, since that is what the comms/ltmdm port is written to
support.

Good luck, and please follow up if you find a solution.

Jim


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


install-info: menu item '...' already exists (was Re: Unable to install 'dirmngr')

2006-02-25 Thread Jonathan Noack
 When attempting to install 'dirmngr', I am greeted with this error
 message:
 
 gmake[2]: Nothing to be done for `install-exec-am'.
 gmake[2]: Nothing to be done for `install-data-am'.
 gmake[2]: Leaving directory
 `/usr/ports/security/dirmngr/work/dirmngr-0.9.3/tests'
 gmake[1]: Leaving directory
 `/usr/ports/security/dirmngr/work/dirmngr-0.9.3/tests'
 gmake[1]: Entering directory
 `/usr/ports/security/dirmngr/work/dirmngr-0.9.3'
 gmake[2]: Entering directory
 `/usr/ports/security/dirmngr/work/dirmngr-0.9.3'
 gmake[2]: Nothing to be done for `install-exec-am'.
 gmake[2]: Nothing to be done for `install-data-am'.
 gmake[2]: Leaving directory
 `/usr/ports/security/dirmngr/work/dirmngr-0.9.3'
 gmake[1]: Leaving directory
 `/usr/ports/security/dirmngr/work/dirmngr-0.9.3'
 install-info --quiet /usr/local/info/dirmngr.info /usr/local/info/dir
 install-info: menu item `dirmngr-client' already exists, for file `gnupg'
 *** Error code 1
 
 Stop in /usr/ports/security/dirmngr.
 *** Error code 1
 
 Stop in /usr/ports/security/dirmngr.
 
 Those are the last few lines. I have the entire script; however, there
 really does not seem to be anything of use in it. Perhaps someone has
 an idea what I should try doing.
 
 I can't reproduce the exat problem, but it looks like the info file
 installs for the port aren't quite right.  Try contacting the port
 maintainer.  

I ran into this problem as well.  I was only able to figure it out when
I tracked down install-info:

$ which install-info
/usr/local/bin/install-info
$ pkg_which install-info
texinfo-4.8_3
$ locate install-info
/usr/bin/install-info
...
/usr/local/bin/install-info

There are two versions installed!  One is part of the base system
(/usr/bin/install-info) and the other was installed with the texinfo
port (/usr/local/bin/install-info).  I changed my $PATH long ago to put
/usr/local/bin in front of /usr/bin.  Because of this, the wrong
install-info was being used.  Changing $PATH back to the default or
uninstalling texinfo allowed me to install dirmngr (and other ports...).

-Jonathan

-- 
Jonathan Noack | [EMAIL PROTECTED] | OpenPGP: 0x991D8195



signature.asc
Description: OpenPGP digital signature


Re: 10 years of The Complete FreeBSD

2006-02-25 Thread Kris Anderson
--- [EMAIL PROTECTED] wrote:

 Greg 'groggy' Lehey wrote:
  Ten years ago today, on 24 February 1996, I
 submitted for publication
  the final version of the first ever book on
 FreeBSD, Installing and
  Using FreeBSD.  It was later renamed to The
 Complete FreeBSD.
 
  I have always retained full rights to the book,
 and for today I've
  decided to release it for download under the
 Creative Commons
  license.  See more at
 http://www.lemis.com/grog/Documentation/CFBSD/.
 
  Greg
  --
  Finger [EMAIL PROTECTED] for PGP public key.
  See complete headers for address and phone
 numbers.
 
 
 Of course, the only thing I can do is to follow the
 community by sending you a
 big thank! Well, the only thing I could regret now
 is having bought it one
 month ago and not started to read it... :)
 
 Hope it is as great as people say! :)
 
 Sincerly, thank you very much.
 
 -- 
 Ivan
As Ivan said, thank you. I've been working with
Freebsd  for only a short time (8 years or so), and
I'm still learning more with every cvsup (When I see
files go flying by I sometimes wonder what this or
that widget does and hit the man pages).

Again thanks.

~Mr. Anderson

__
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: Redirecting Traffic with PF

2006-02-25 Thread Frank Staals

Noel Jones wrote:


On 2/24/06, Frank Staals [EMAIL PROTECTED] wrote:
 


Hey,

I have an FreeBSD server/firewall running 5-Stable with PF. I want to
redirect all udp traffic on port 27902 from the internet to a computer
in my network. I used this rule but I have some problem with it:
sometimes connections on that port are refused and I can't connect with
other players ( it's for a online game ) :

rdr on $extif inet proto udp from any port 27902 - 192.168.2.11 port 27902

I think the problem might have something to do with the different
network interfaces since the traffic is comming in on $extif and has to
go to an computer connected to $intif ? And how can I do that ? Can I
change it to:

rdr on $extif inet proto udp from any port 27902 - $intif 192.168.2.11
port 27902

? Or what do I have to do to fix it.

Thanks in advance,

--
-Frank Staals


   



I think you want something like
rdr on $extif inet proto udp from any to self port 27902 -
192.168.2.11 port 27902

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


 

Hmm that doesn't realy seem to work, allthough I ran tcpdump on both 
network-interfaces ( on $intif and $extif ) this is what the logs said:


[EMAIL PROTECTED] cat server/zh2_extif.log | grep 27902
21:01:53.784189 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:53.846934 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:54.202084 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:54.359296 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:54.393664 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:54.459930 IP 80.127.89.1.16660  10.0.0.1.27902: UDP, length: 13
21:01:54.543990 IP 80.127.89.1.16660  10.0.0.1.27902: UDP, length: 13
21:01:54.871197 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:55.266638 IP 80.127.89.1.16660  10.0.0.1.27902: UDP, length: 13
21:01:55.416378 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:55.458319 IP 80.127.89.1.16660  10.0.0.1.27902: UDP, length: 13
21:01:55.929734 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:56.476575 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:56.986877 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:57.532158 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:58.042995 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:58.587091 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:59.097693 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13

[EMAIL PROTECTED] cat server/zh2_intif.log | grep 27902
21:01:53.784062 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:53.846829 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:54.202050 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:54.359182 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:54.393597 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:54.871080 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:55.416259 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:55.929615 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:56.476459 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:56.986756 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:57.532041 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:58.042885 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:58.586980 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13
21:01:59.097572 IP 192.168.2.11.27902  80.127.89.1.16660: UDP, length: 13

So the packets aren't forwarded, I used this rule to get that done but 
it won't work:



rdr on $extif inet proto udp from any to 10.0.0.1 port 27902 - 
192.168.2.11 port 27902


I also tried:

rdr on $extif inet proto udp from any to any port 27902 - 192.168.2.11 
port 27902


but that wouldn't work either.

I hope this will help ?



--
-Frank Staals


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


Re: 10 years of The Complete FreeBSD (5150)

2006-02-25 Thread James S Blankenship
Another note of thanks for The Complete FreeBSD.  I first bought the 
third edition published by Walnut Creek CDROM.  In fact, it's sitting on 
my desk now.  It's the book that kept me at FreeBSD when I was most 
frustrated.  I'm still relatively new at this, but I love learning all I 
can about the OS of all OSes ^_^


Regards,
James
---BeginMessage---

Bill Schoolcraft wrote:


Greg,

I want to thank you for you help in making FreeBSD what it is today.

I first met Greg on a fluke and a weird one that that too.

While working in techsupport at Linuxcare, and the only one to my
knowledge doing so running FreeBSD, I was sitting there one day and
this fellow comes in, scans the room and makes a bee-line to my work
area.  I at the time was the only techsupport with my personal
library of Unix/Linux tech books.  Having just left the Machinist
Union for the 'dot-com' I was alway one for self help.

This guy, with the scraggly beard reaches over me, grabs the first
FreeBSD book written by Greg Lehey and opens it.

At that time in San Francisco we were having alot of homeless people
getting into the office building and sometimes wandering the halls
on drugs, drunk or whatever.

When I asked him Hey..., can I help you?  He said, I wrote this
book!

At that time I was sure he was 5150 (the penal code for being
nuts) and I was about to get up and escort him out when one of my
co-workers, knowing my background as an ex-steelworker at the San
Francisco waterfront quickly jumped in and introduced Greg Lehey
to me, I then realized it was not a joke, Greg was not a homeless
person, and I've felt honored ever since to have been a co-worker of
his, briefly sharing the same domain name in our work's email
address.

A few weeks later Richard Stallman came through the office...  I
had the exact same inkling this time but jumped up pre-emptively and
again my co-worker came to the rescue.  


I could write a book of the stuff that I've experienced, maybe call
it From the Shipyards to Silicon Valley or something

The one thing I've learned (besides FreeBSD kicks ass) is that in
this industry you can NEVER, EVER judge a book by it's cover!
 



Fine story; and demonstrates a point: something to the effect of,
Free software is *real* software, made for use by people, *real* people,
by people, *real* people, who at least have the courage to care
about **something** and want to make the world a better place with
the skills they have.

So, kudos to Grog for this move, and for his advocacy, authorship,
coding, community participation ... and whatever else; I'm sure
there's been lots of stuff (and also that you can probably read about
lots of it in his diary).

And to the rest of the hackers. 


It's said that you can't get something for nothing, but, in the case
of FreeBSD, we've almost proved that the saying isn't true - at least
for those willing to not judge an OS by its cover 

Kevin Kinsey

--
I never expected to see the day when girls would get sunburned in the
places they do today.
-- Will Rogers

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

Re: Bandwidth Problems with Freebsd 5.x

2006-02-25 Thread ptitoliv
Mathieu CHATEAU a écrit :

Are the debian  freebsd on the same segment ?
if so, are they using the same router/gateway ?
  

No, there is the same CISCO Router between the two boxes.

did you customize/set up things, like ipfw or set specific things via
sysctl ?
  

I tried to modify the tcp window size but the problem is stille here.

What tcp trace will be useful to understand this problem ?

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


Re: Bandwidth Problems with Freebsd 5.x

2006-02-25 Thread ptitoliv
Donald J. O'Neill a écrit :

Not hardly. I'll bet that 950kB/s for the Debian box was the peak 
download speed and it didn't maintain it through the entire download. 

Don

The Debian Box is capable to make a 5 MB/s stable connection easily.

Regards,
Ptitoliv

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


Re: Haven't been able to make world in about a year

2006-02-25 Thread Giorgos Keramidas
On 2006-02-25 21:22, Kristian Vaaf [EMAIL PROTECTED] wrote:
At 16:59 24.02.2006, Giorgos Keramidas wrote:
On 2006-02-24 16:45, Kristian Vaaf [EMAIL PROTECTED] wrote:
 This is one of the reason I think, why most people these days seem to
 go (back) to DragonflyBSD.

This is very uncalled for.  If you really want help, then please spare
us the (in my opinion) unsupported, unwarranted rhetoric about why
FreeBSD is not for you.  The helpful people of this list don't deserve
this, and you don't deserve the flames such inflammatory material can
start.

 I certainly am going to.

Ultimately, this is your choise to make, of course.  We can't force to
use something that you don't like.

Before that happens, I'd like to see at least the following though:

- Your cvsupfile

- The error messages you get.  The URL in the previous paragraphs
  that is supposed to show the errors, is not fetchable:

  $ cd /tmp
  $ fetch http://www.home.no/hedhnta/result.txt
  fetch: http://www.home.no/hedhnta/result.txt: Not Found
  $

 Dear Giorgos,

 Here is my /etc/cvsupfile:

 *default host=cvsup.no.FreeBSD.org
 *default base=/usr
 *default prefix=/usr
 *default release=cvs tag=RELENG_6
 *default delete use-rel-suffix

 src-all
 ports-all tag=.
 doc-all tag=.

This looks fine so far.  You are not using compression, which is
probably going to be slightly evil, but other than that I see no
problems.

 I'll have result.txt back on that URL first thing tomorrow morning.

Be sure to include at least the following:

- The environment of the root shell, i.e. the output of:

  # env | sort

- The contents of your /etc/make.conf file.

- The *EXACT* commands you used to build the userland  kernel.

- The *EXACT* error messages.

 I'm not going to DragonflyBSD because FreeBSD works just fine at the
 time being, except this though it isn't killing me.

This is, ultimately, none of by business.  Do as you wish.

 Talk to you later,
 Thanks!

Sure thing,

Regards,
Giorgos

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


Re: Bandwidth Problems with Freebsd 5.x

2006-02-25 Thread ptitoliv
Danial Thom a écrit :

It seems unlikely that he'd get  good throughput
in one direction if the link was hosed. One
dropped packets and you're shot. The easy way to
test this is to eliminate the switch..hook the
Freebsd box directly to the linux box.

  

Impossible to do that because the boxes are rented by an hosting company.

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


Re: Bandwidth Problems with Freebsd 5.x

2006-02-25 Thread ptitoliv
fbsd_user a écrit :

On one side there is a Debian Sarge 3.0 box
On the other side there is a FreeBSD 5.3.

I made the same tests on another network  (same architecture but on a
different hosting service network)

On one side there is a Debian Sarge 3.1
On the other side there is a FreeBSD 5.4

Did you use FTP or ssh? Ssh has know buffer size problems between
un-like operating system a each end that cause massive slowness.
  

  

I use FTP and SSH.

Regards,
ptitoliv


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


Unable to find 'automake'

2006-02-25 Thread Gerard Seibert

Using FreeBSD 5.4

While building 'portmanager', I noticed this error message:

Making all in libMG
Making all in src
cd ../..   /bin/sh 
/usr/ports/sysutils/portmanager/work/portmanager-0.4.1/missing --run 
automake --gnu  libMG/src/Makefile

automake: not found
WARNING: `automake' is missing on your system.  You should only need it if
 you modified `Makefile.am', `acinclude.m4' or `configure.ac'.
 You might want to install the `Automake' and `Perl' packages.
 Grab them from any GNU archive site.

I checked the /var/db/pkg directory and found this listing:

drwxr-xr-x2 root  wheel  -  512 Feb 22 21:26 automake-1.4.6_2/
drwxr-xr-x2 root  wheel  -  512 Feb 22 21:26 automake-1.5_2,1/
drwxr-xr-x2 root  wheel  -  512 Feb 22 21:26 automake-1.9.6/

Since the build finished without and problems, I assume that it is a 
harmless error message. I was wondering though why it was displayed 
however? Am I looking in the wrong place for the 'automake' program? I 
have Perl 5.8.8 installed if that means anything.


Thanks!

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


Re: Bandwidth Problems with Freebsd 5.x

2006-02-25 Thread Donald J. O'Neill
On Saturday 25 February 2006 16:30, ptitoliv wrote:
 Donald J. O'Neill a écrit :
 Not hardly. I'll bet that 950kB/s for the Debian box was the peak
 download speed and it didn't maintain it through the entire
  download.
 
 Don

 The Debian Box is capable to make a 5 MB/s stable connection easily.

 Regards,
 Ptitoliv


Maybe, but not to the internet on an  1.5Mb/s connection. Your aDSL line 
is only good for at most 1.5M and that's not guaranteed to happen all 
the time. There are a lot of things that go on to throttle that. At 
home I can connect between computers at 100 Mb/s, so what. I can't 
connect to the internet at faster than what's capable of being supplied 
by the ISP.

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


Re: Bandwidth Problems with Freebsd 5.x

2006-02-25 Thread ptitoliv
Donald J. O'Neill a écrit :

Maybe, but not to the internet on an  1.5Mb/s connection. Your aDSL line 
is only good for at most 1.5M and that's not guaranteed to happen all 
the time. There are a lot of things that go on to throttle that. At 
home I can connect between computers at 100 Mb/s, so what. I can't 
connect to the internet at faster than what's capable of being supplied 
by the ISP.


  

I think there is a misunderstanding : boxes are not on my ADSL line but
on a datacenter with 100 Mbits/s connectivity.

When I say the Debian is able to make a 5 MB/s connexion it is not with
my adsl line but another server located on the internet.

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


pork missing a perl library

2006-02-25 Thread Anthony Philipp
Hello everyone,

When I try to run pork, I get this error:

$ pork
/libexec/ld-elf.so.1: Shared object libperl.so not found, required
by pork

It used to work, and I certainly didn't manually remove the library,
so I'm not quite sure what to do. This might help:

$ uname -a
FreeBSD lupin.angrypanda.net 6.0-RELEASE-p3 FreeBSD 6.0-RELEASE-p3
#3: Thu Jan 19 01:11:19 CST 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/LUPIN  i386

As might the description for pork on the ports page:

http://www.freebsd.org/cgi/url.cgi?ports/net-im/pork/pkg-descr

Any help is appreciated,

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


Re: Bandwidth Problems with Freebsd 5.x

2006-02-25 Thread Donald J. O'Neill
On Saturday 25 February 2006 18:00, ptitoliv wrote:
 Donald J. O'Neill a écrit :
 Maybe, but not to the internet on an  1.5Mb/s connection. Your aDSL
  line is only good for at most 1.5M and that's not guaranteed to
  happen all the time. There are a lot of things that go on to
  throttle that. At home I can connect between computers at 100 Mb/s,
  so what. I can't connect to the internet at faster than what's
  capable of being supplied by the ISP.

 I think there is a misunderstanding : boxes are not on my ADSL line
 but on a datacenter with 100 Mbits/s connectivity.

 When I say the Debian is able to make a 5 MB/s connexion it is not
 with my adsl line but another server located on the internet.

 Ptitoliv


I guess you're right to say there's a misunderstanding. I was going by 
what you said here:

===
I made the tests on the two boxes = 0 % packet loss.

I man an other interesting test. I try to transfert between the BSD Box
and a server located at home behind my 1MB/s ADSL Line. Here are the
results :

FreeBSD box = Workstation at home : 300 kB/s
Debian box on the same network  = Workstation at home : 950 kB/s.

This test confirms cleraly that there is a problem with the BSD, I 
guess.

Could it be a bug from the VR driver ?

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


Updating OpenSSH

2006-02-25 Thread Daniel A.
Hi, quick question.
How do I update the OpenSSH which ships with FreeBSD6.0-RELEASE by default?

It's just that I dont feel secure running an old version (4.2p1) of
OpenSSH when there is a newer (4.3) version available.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unable to find 'automake'

2006-02-25 Thread Michael C. Shultz
On Saturday 25 February 2006 15:23, Gerard Seibert wrote:
 Using FreeBSD 5.4

 While building 'portmanager', I noticed this error message:

 Making all in libMG
 Making all in src
 cd ../..   /bin/sh
 /usr/ports/sysutils/portmanager/work/portmanager-0.4.1/missing --run
 automake --gnu  libMG/src/Makefile
 automake: not found
 WARNING: `automake' is missing on your system.  You should only need it if
   you modified `Makefile.am', `acinclude.m4' or `configure.ac'.
   You might want to install the `Automake' and `Perl' packages.
   Grab them from any GNU archive site.

 I checked the /var/db/pkg directory and found this listing:

 drwxr-xr-x2 root  wheel  -  512 Feb 22 21:26 automake-1.4.6_2/
 drwxr-xr-x2 root  wheel  -  512 Feb 22 21:26 automake-1.5_2,1/
 drwxr-xr-x2 root  wheel  -  512 Feb 22 21:26 automake-1.9.6/

 Since the build finished without and problems, I assume that it is a
 harmless error message. I was wondering though why it was displayed
 however? Am I looking in the wrong place for the 'automake' program? I
 have Perl 5.8.8 installed if that means anything.

 Thanks!

There is no reason for automake to run if nothing in the ports package
has been modified. I think it is safe to ignore.  There is a recent change to 
portmanager in FreeBSD that isn't by me, if anything in that change effected 
the files in the warning notice that might be the explanation.

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


Dummynet with Dynamic IPFW Rules

2006-02-25 Thread RW
I've been looking into using Dummynet for outgoing traffic, and I've found it 
hard going because the tutorials and how-to's deal with it in isolation, 
without indicating how it would be used in a real firewall.  They generally 
suggest setting  net.inet.ip.fw.one_pass=1, which as I understand it, implies 
that any packet passed into dummynet is passed statically though the 
firewall.  

I want to keep my existing dynamic rules, and it seems that one way would be 
to keep net.inet.ip.fw.one_pass=0 and follow each dummynet rule with a skipto 
rule that uses an identical  test. So when the packet emerges from dummynet 
it skips the other pipe and queue rules, and hits the check-state.

Something like this:
--
...
#prioritize small ack packets
0500 queue 1  tcp from any to any out via vr0  tcpflags ack iplen 0-80 
0501 skipto 1000 tcp from any to any out via vr0  tcpflags ack iplen 0-80 
#prioritize ntp
0600 queue 1   tcp from any to any out ntp via vr0   
0601 skipto 1000  tcp from any to any out ntp via vr0

other queuing rules

1000 check-state
1010 deny tcp from any to any in established
1020 allow tcp from any to any out setup keep-state
1030 allow udp from any to any ntp out keep-state

other statefull rules
--

Will this work? And is it the best way to handle this problem?  It seems a bit 
clumsy. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Updating OpenSSH

2006-02-25 Thread Giorgos Keramidas
On 2006-02-26 01:25, Daniel A. [EMAIL PROTECTED] wrote:
 Hi, quick question.
 How do I update the OpenSSH which ships with FreeBSD6.0-RELEASE by default?

 It's just that I dont feel secure running an old version (4.2p1) of
 OpenSSH when there is a newer (4.3) version available.

To get security fixes, you have to update the base system to at least
one of the security branches or 6-STABLE.

The differences of /usr/src/UPDATING between RELENG_6_0_0_RELEASE (which
marks the 6.0-RELEASE in CVS) and the RELENG_6_0 branch are currently:

# Index: UPDATING
# ===
# RCS file: /home/ncvs/src/UPDATING,v
# retrieving revision 1.416.2.3.2.5
# retrieving revision 1.416.2.3.2.9
# diff -u -r1.416.2.3.2.5 -r1.416.2.3.2.9
# --- UPDATING1 Nov 2005 23:43:49 -   1.416.2.3.2.5
# +++ UPDATING25 Jan 2006 10:01:25 -  1.416.2.3.2.9
# @@ -8,6 +8,37 @@
#  /usr/ports/UPDATING.  Please read that file before running
#  portupgrade.
#
# +20060125:  p4  FreeBSD-SA-06:06.kmem, FreeBSD-SA-06:07.pf
# +   Make sure buffers in if_bridge are fully initialized before
# +   copying them to userland.  Correct a logic error which could
# +   allow too much data to be copied into userland. [06:06]
# +
# +   Correct an error in pf handling of IP packet fragments which
# +   could result in a kernel panic. [06:07]
# +
# +20060118:  p3  FreeBSD-SA-06:05.80211
# +   Correct a buffer overflow when scanning for 802.11 wireless
# +   networks which can be provoked by corrupt beacon or probe
# +   response frames.
# +
# +20060111:  p2  FreeBSD-SA-06:01.texindex, FreeBSD-SA-06:02.ee,
# +   FreeBSD-SA-06:03.cpio, FreeBSD-SA-06:04.ipfw
# +   Correct insecure temporary file usage in texindex. [06:01]
# +
# +   Correct insecure temporary file usage in ee. [06:02]
# +
# +   Correct a race condition when setting file permissions,
# +   sanitize file names by default, and fix a buffer overflow
# +   when handling files larger than 4GB in cpio. [06:03]
# +
# +   Fix an error in the handling of IP fragments in ipfw which
# +   can cause a kernel panic. [06:04]
# +
# +20051219:  p1  FreeBSD-EN-05:04.nfs
# +   Correct a locking issue in nfs_lookup() where a call to vrele()
# +   might be made while holding the vnode mutex, which resulted
# +   in kernel panics under certain load patterns.
# +
#  20051101:
# FreeBSD 6.0-RELEASE
#
# @@ -404,4 +435,4 @@
#  Contact Warner Losh if you have any questions about your use of
#  this document.
#
# -$FreeBSD: src/UPDATING,v 1.416.2.3.2.5 2005/11/01 23:43:49 scottl Exp $
# +$FreeBSD: src/UPDATING,v 1.416.2.3.2.9 2006/01/25 10:01:25 cperciva Exp $

Since there haven't been any security fixes for OpenSSH in the RELENG_6_0
branch, I think you can safely assume it's ok to keep using this OpenSSH
version.

As a general principle though, you should definitely check the announcements
of the security team, at:

http://www.FreeBSD.org/security/

and decide for yourself when you need to update, how to update, etc.

- Giorgos

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


Re: Unable to find 'automake'

2006-02-25 Thread Kris Kennaway
On Sat, Feb 25, 2006 at 06:23:42PM -0500, Gerard Seibert wrote:
 Using FreeBSD 5.4
 
 While building 'portmanager', I noticed this error message:
 
 Making all in libMG
 Making all in src
 cd ../..   /bin/sh 
 /usr/ports/sysutils/portmanager/work/portmanager-0.4.1/missing --run 
 automake --gnu  libMG/src/Makefile
 automake: not found
 WARNING: `automake' is missing on your system.  You should only need it if
  you modified `Makefile.am', `acinclude.m4' or `configure.ac'.
  You might want to install the `Automake' and `Perl' packages.
  Grab them from any GNU archive site.

Verify that your system clock is correct.

Kris


pgpJ1ZYJXX9gc.pgp
Description: PGP signature


Re: Updating OpenSSH

2006-02-25 Thread Daniel A.
So, basically, if I want the newest version of OpenSSH running on my
system, I have to not use the one shipped with 6.0-RELEASE, and
install OpenSSH from ports?

On 2/26/06, Giorgos Keramidas [EMAIL PROTECTED] wrote:
 On 2006-02-26 01:25, Daniel A. [EMAIL PROTECTED] wrote:
  Hi, quick question.
  How do I update the OpenSSH which ships with FreeBSD6.0-RELEASE by default?
 
  It's just that I dont feel secure running an old version (4.2p1) of
  OpenSSH when there is a newer (4.3) version available.

 To get security fixes, you have to update the base system to at least
 one of the security branches or 6-STABLE.

 The differences of /usr/src/UPDATING between RELENG_6_0_0_RELEASE (which
 marks the 6.0-RELEASE in CVS) and the RELENG_6_0 branch are currently:

 # Index: UPDATING
 # ===
 # RCS file: /home/ncvs/src/UPDATING,v
 # retrieving revision 1.416.2.3.2.5
 # retrieving revision 1.416.2.3.2.9
 # diff -u -r1.416.2.3.2.5 -r1.416.2.3.2.9
 # --- UPDATING1 Nov 2005 23:43:49 -   1.416.2.3.2.5
 # +++ UPDATING25 Jan 2006 10:01:25 -  1.416.2.3.2.9
 # @@ -8,6 +8,37 @@
 #  /usr/ports/UPDATING.  Please read that file before running
 #  portupgrade.
 #
 # +20060125:  p4  FreeBSD-SA-06:06.kmem, FreeBSD-SA-06:07.pf
 # +   Make sure buffers in if_bridge are fully initialized before
 # +   copying them to userland.  Correct a logic error which could
 # +   allow too much data to be copied into userland. [06:06]
 # +
 # +   Correct an error in pf handling of IP packet fragments which
 # +   could result in a kernel panic. [06:07]
 # +
 # +20060118:  p3  FreeBSD-SA-06:05.80211
 # +   Correct a buffer overflow when scanning for 802.11 wireless
 # +   networks which can be provoked by corrupt beacon or probe
 # +   response frames.
 # +
 # +20060111:  p2  FreeBSD-SA-06:01.texindex, FreeBSD-SA-06:02.ee,
 # +   FreeBSD-SA-06:03.cpio, FreeBSD-SA-06:04.ipfw
 # +   Correct insecure temporary file usage in texindex. [06:01]
 # +
 # +   Correct insecure temporary file usage in ee. [06:02]
 # +
 # +   Correct a race condition when setting file permissions,
 # +   sanitize file names by default, and fix a buffer overflow
 # +   when handling files larger than 4GB in cpio. [06:03]
 # +
 # +   Fix an error in the handling of IP fragments in ipfw which
 # +   can cause a kernel panic. [06:04]
 # +
 # +20051219:  p1  FreeBSD-EN-05:04.nfs
 # +   Correct a locking issue in nfs_lookup() where a call to vrele()
 # +   might be made while holding the vnode mutex, which resulted
 # +   in kernel panics under certain load patterns.
 # +
 #  20051101:
 # FreeBSD 6.0-RELEASE
 #
 # @@ -404,4 +435,4 @@
 #  Contact Warner Losh if you have any questions about your use of
 #  this document.
 #
 # -$FreeBSD: src/UPDATING,v 1.416.2.3.2.5 2005/11/01 23:43:49 scottl Exp $
 # +$FreeBSD: src/UPDATING,v 1.416.2.3.2.9 2006/01/25 10:01:25 cperciva Exp $

 Since there haven't been any security fixes for OpenSSH in the RELENG_6_0
 branch, I think you can safely assume it's ok to keep using this OpenSSH
 version.

 As a general principle though, you should definitely check the announcements
 of the security team, at:

 http://www.FreeBSD.org/security/

 and decide for yourself when you need to update, how to update, etc.

 - Giorgos


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


Re: Updating OpenSSH

2006-02-25 Thread Giorgos Keramidas
On 2006-02-26 03:32, Daniel A. [EMAIL PROTECTED] wrote:
 So, basically, if I want the newest version of OpenSSH running on my
 system, I have to not use the one shipped with 6.0-RELEASE, and
 install OpenSSH from ports?

Maybe.

But do you *want* the latest version?

If the base-system version is ok enough for your purpose, why spend the
time and effort to install the post, and make sure that the users don't
accidentally run the base-sustem version?

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


anyone recognize this panic?

2006-02-25 Thread Robert Huff

I just had my -CURRENT* machine crash under moderate load.  No
dump is available because the machine locked hard, but I did copy
this off the screen:

re0: diagnostic failed to receive packet in loopback mode
re0: attach aborted due to hardware diagnostic failure
panic: mtx_lock() of spin mutex (null) @ /usr/src/sys/netinet/in_pcb,c:862

re0 is a Linksys EG-1032, less than two months old.  It was
connected, but had zero traffic at the time of the crash.
Before I take this to current@ - has anyone seen anything like
this before?  A quick check of the archives and the web in general
didn't show anything.
Thanks.


Robert Huff


* - FreeBSD 7.0-CURRENT #0: Fri Jan 13 13:21:14 EST 2006
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


changing Sendmail server's IP address, nightmare!

2006-02-25 Thread Curtis Hart
 
  Does anyone have any specific information on making IP address changes to 
Sendmail servers since I have found that this situation is a lot more 
difficult/tedious than I had thought.  The Sendmail server in question is also 
providing DNS for a web server, but I would like to use our new ISP's DNS info 
for our web domains and for the mail server.  In a nutshell, I recently started 
working for a small business that has a mail server and web server, this 
occurred just after they had already begun switching to a new ISP (Mpower).  I 
thought I knew enough UNIX/sys admin info to make this happen but this has 
turned into a minor nightmare for me, since Sendmail has so many files that may 
contain the old IP info.  
   


-
Yahoo! Mail
Bring photos to life! New PhotoMail  makes sharing a breeze. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: anyone recognize this panic?

2006-02-25 Thread Kris Kennaway
On Sat, Feb 25, 2006 at 10:33:06PM -0500, Robert Huff wrote:
 
   I just had my -CURRENT* machine crash under moderate load.  No
 dump is available because the machine locked hard, but I did copy
 this off the screen:
 
 re0: diagnostic failed to receive packet in loopback mode
 re0: attach aborted due to hardware diagnostic failure
 panic: mtx_lock() of spin mutex (null) @ /usr/src/sys/netinet/in_pcb,c:862
 
   re0 is a Linksys EG-1032, less than two months old.  It was
 connected, but had zero traffic at the time of the crash.
   Before I take this to current@ - has anyone seen anything like
 this before?  A quick check of the archives and the web in general
 didn't show anything.

You need to at least get a traceback from the panic, and preferably a
crashdump.

Kris


pgpCNODcmLjPt.pgp
Description: PGP signature


Re: Some SMP questions

2006-02-25 Thread Paul Schmehl
--On February 23, 2006 7:23:53 PM -0500 Jerry Bell [EMAIL PROTECTED] 
wrote:



The default kernel doesn't support SMP.  You have to recompile with the
SMP config and it'll start getting your other processor.

Thanks, Jerry.  I've compiled a few Linux kernels, and I can tell you, 
compiling the FreeBSD kernel was a breeze in comparison.


Thanks for the quick (and correct) response.

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: changing Sendmail server's IP address, nightmare!

2006-02-25 Thread Giorgos Keramidas
On 2006-02-25 19:35, Curtis Hart [EMAIL PROTECTED] wrote:

 Does anyone have any specific information on making IP address changes
 to Sendmail servers since I have found that this situation is a lot
 more difficult/tedious than I had thought.  The Sendmail server in
 question is also providing DNS for a web server, but I would like to
 use our new ISP's DNS info for our web domains and for the mail
 server.  In a nutshell, I recently started working for a small
 business that has a mail server and web server, this occurred just
 after they had already begun switching to a new ISP (Mpower).  I
 thought I knew enough UNIX/sys admin info to make this happen but this
 has turned into a minor nightmare for me, since Sendmail has so many
 files that may contain the old IP info.

Not necessarily.  The Sendmail configuration in all the systems I use
doesn't have hardcoded IP addresses _anywhere_.

Sendmail can rely and usually *does* rely heavily on DNS for providing
information about the IP addresses.  The default FreeBSD setup uses the
file /etc/mail/local-host-names as a list of hostnames or domain names
for which delivery will be done 'locally', but that's pretty much all of
it.

Can you provide more information about the particular email  DNS setup?

If yes, then after you give us all the details of the setup you
currently have, what you are trying to achieve, whaty you have tried so
far and what has failed (including any interesting logs, configuration
files, etc.) we will certainly be able to give you more substantial, to
the point and correct help :)

- Giorgos

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


Re: anyone recognize this panic?

2006-02-25 Thread Robert Huff

Kris Kennaway writes:

  Before I take this to current@ - has anyone seen anything like
   this before?  A quick check of the archives and the web in general
   didn't show anything.
  
  You need to at least get a traceback from the panic, and preferably a
  crashdump.

Understood.  There was no dump for reasons provided, and the
console as I found it had no traceback.  (Yeah.  Wierd.)


Robert Huff

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


Re: pork missing a perl library

2006-02-25 Thread Jonathan Chen
On Sat, Feb 25, 2006 at 06:07:36PM -0600, Anthony Philipp wrote:
 Hello everyone,
 
 When I try to run pork, I get this error:
 
 $ pork
 /libexec/ld-elf.so.1: Shared object libperl.so not found, required
 by pork
 
 It used to work, and I certainly didn't manually remove the library,
 so I'm not quite sure what to do. This might help:

Let me guess. When you upgraded to FreeBSD 6, you forgot to rebuilt
all your ports.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
Only the meek get pinched. The bold survive.
  - Ferris Bueller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


error to build scilab-3.1.1 from port

2006-02-25 Thread lveax
hey all

i have freebsd6.0 installed

$ uname -rsm
FreeBSD 6.0-STABLE i386

i can't build scilab-3.1.1from port

i got this error


Creation of ../../libs/tclsci.a
making all in routines/pvm...
cc -O2 -fno-strict-aliasing -pipe  -Dfreebsd -DWITH_ATLAS 
-I/usr/local/include -c pvm_grp.c
cc -O2 -fno-strict-aliasing -pipe  -Dfreebsd -DWITH_ATLAS 
-I/usr/local/include -c pvm_proc_ctrl.c
cc -O2 -fno-strict-aliasing -pipe  -Dfreebsd -DWITH_ATLAS 
-I/usr/local/include -c pvm_send.c
cc -O2 -fno-strict-aliasing -pipe  -Dfreebsd -DWITH_ATLAS 
-I/usr/local/include -c pvm_info.c
cc -O2 -fno-strict-aliasing -pipe  -Dfreebsd -DWITH_ATLAS 
-I/usr/local/include -c pvm_recv.c
cc -O2 -fno-strict-aliasing -pipe  -Dfreebsd -DWITH_ATLAS 
-I/usr/local/include -c scipvmf77.c
cc -O2 -fno-strict-aliasing -pipe  -Dfreebsd -DWITH_ATLAS 
-I/usr/local/include -c varpack.c
cc -O2 -fno-strict-aliasing -pipe  -Dfreebsd -DWITH_ATLAS 
-I/usr/local/include -c intpvm.c
f77   -O -Dfreebsd -c mycmatptr.f
Creation of ../../libs/pvm.a
linking
f77: /usr/local/lib/libcblas.a: No such file or directory
f77: /usr/local/lib/libf77blas.a: No such file or directory
f77: /usr/local/lib/libatlas.a: No such file or directory
*** Error code 1

Stop in /usr/ports/math/scilab/work/scilab-3.1.1.
*** Error code 1

Stop in /usr/ports/math/scilab.

---

there is only libcblas.so,libf77blas.so,libatlas.so in /usr/local/lib/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: anyone recognize this panic?

2006-02-25 Thread Garrett Cooper

Kris Kennaway wrote:


On Sat, Feb 25, 2006 at 10:33:06PM -0500, Robert Huff wrote:
 


I just had my -CURRENT* machine crash under moderate load.  No
dump is available because the machine locked hard, but I did copy
this off the screen:

re0: diagnostic failed to receive packet in loopback mode
re0: attach aborted due to hardware diagnostic failure
panic: mtx_lock() of spin mutex (null) @ /usr/src/sys/netinet/in_pcb,c:862

re0 is a Linksys EG-1032, less than two months old.  It was
connected, but had zero traffic at the time of the crash.
Before I take this to current@ - has anyone seen anything like
this before?  A quick check of the archives and the web in general
didn't show anything.
   



You need to at least get a traceback from the panic, and preferably a
crashdump.

Kris
 

Probably should pass this onto some devs. It seems like a null value was 
passed for locking a mutex in the OS, which is important. Having a 
traceback would be good though... but at least mentioning that the issue 
laid with the re (?) kernel driver would be a start.

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


Re: anyone recognize this panic?

2006-02-25 Thread Kris Kennaway
On Sat, Feb 25, 2006 at 10:08:47PM -0800, Garrett Cooper wrote:
 Kris Kennaway wrote:
 
 On Sat, Feb 25, 2006 at 10:33:06PM -0500, Robert Huff wrote:
  
 
 I just had my -CURRENT* machine crash under moderate load.  No
 dump is available because the machine locked hard, but I did copy
 this off the screen:
 
 re0: diagnostic failed to receive packet in loopback mode
 re0: attach aborted due to hardware diagnostic failure
 panic: mtx_lock() of spin mutex (null) @ /usr/src/sys/netinet/in_pcb,c:862
 
 re0 is a Linksys EG-1032, less than two months old.  It was
 connected, but had zero traffic at the time of the crash.
 Before I take this to current@ - has anyone seen anything like
 this before?  A quick check of the archives and the web in general
 didn't show anything.

 
 
 You need to at least get a traceback from the panic, and preferably a
 crashdump.
 
 Kris
  
 
 Probably should pass this onto some devs. It seems like a null value was 
 passed for locking a mutex in the OS, which is important. Having a 
 traceback would be good though... but at least mentioning that the issue 
 laid with the re (?) kernel driver would be a start.

Unfortunately without a traceback the panic string is useless since it
gives you no clue about how the system got into that state.  This kind
of panic is often a secondary effect of some other problem.

Kris


pgpAr5xdAfFC5.pgp
Description: PGP signature


Re: pork missing a perl library

2006-02-25 Thread Anthony Philipp
On Sun, Feb 26, 2006 at 04:49:42PM +1300, 
Jonathan Chen [EMAIL PROTECTED] wrote:

 On Sat, Feb 25, 2006 at 06:07:36PM -0600, Anthony Philipp wrote:
  Hello everyone,
  
  When I try to run pork, I get this error:
  
  $ pork
  /libexec/ld-elf.so.1: Shared object libperl.so not found, required
  by pork
  
  It used to work, and I certainly didn't manually remove the library,
  so I'm not quite sure what to do. This might help:
 
 Let me guess. When you upgraded to FreeBSD 6, you forgot to rebuilt
 all your ports.

Yes I did both of those things, but nearly two months ago.

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


Re: anyone recognize this panic?

2006-02-25 Thread Garrett Cooper

Kris Kennaway wrote:


On Sat, Feb 25, 2006 at 10:08:47PM -0800, Garrett Cooper wrote:
 


Kris Kennaway wrote:

   


On Sat, Feb 25, 2006 at 10:33:06PM -0500, Robert Huff wrote:


 


I just had my -CURRENT* machine crash under moderate load.  No
dump is available because the machine locked hard, but I did copy
this off the screen:

re0: diagnostic failed to receive packet in loopback mode
re0: attach aborted due to hardware diagnostic failure
panic: mtx_lock() of spin mutex (null) @ /usr/src/sys/netinet/in_pcb,c:862

re0 is a Linksys EG-1032, less than two months old.  It was
connected, but had zero traffic at the time of the crash.
Before I take this to current@ - has anyone seen anything like
this before?  A quick check of the archives and the web in general
didn't show anything.
 

   


You need to at least get a traceback from the panic, and preferably a
crashdump.

Kris


 

Probably should pass this onto some devs. It seems like a null value was 
passed for locking a mutex in the OS, which is important. Having a 
traceback would be good though... but at least mentioning that the issue 
laid with the re (?) kernel driver would be a start.
   



Unfortunately without a traceback the panic string is useless since it
gives you no clue about how the system got into that state.  This kind
of panic is often a secondary effect of some other problem.

Kris
 

True, but at least you'd be able to find a way to the affected code... 
After that it's just tests and debugging =\...

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


Re: pork missing a perl library

2006-02-25 Thread Jonathan Chen
On Sun, Feb 26, 2006 at 12:18:41AM -0600, Anthony Philipp wrote:
 On Sun, Feb 26, 2006 at 04:49:42PM +1300, 
 Jonathan Chen [EMAIL PROTECTED] wrote:
 
  On Sat, Feb 25, 2006 at 06:07:36PM -0600, Anthony Philipp wrote:
   Hello everyone,
   
   When I try to run pork, I get this error:
   
   $ pork
   /libexec/ld-elf.so.1: Shared object libperl.so not found, required
   by pork
   
   It used to work, and I certainly didn't manually remove the library,
   so I'm not quite sure what to do. This might help:
  
  Let me guess. When you upgraded to FreeBSD 6, you forgot to rebuilt
  all your ports.
 
 Yes I did both of those things, but nearly two months ago.

Force a rebuild of your port. The error you've shown commonly indicates
an upgrade from FreeBSD-5 to FreeBSD-6 without a *COMPLETE* rebuild of
all installed ports.

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


Re: VPN Jail(s) ...

2006-02-25 Thread Igor Robul
On Wed, Feb 22, 2006 at 09:03:26PM -0400, Marc G. Fournier wrote:
 
 I asked this a little while ago, and had alot of good answers ... but, 
 after doing some thinking, I'm wondering if there might be a better way of 
 doing it, that removed the requirement for 'hitting' the base operating 
 system ...
 
 If I ran something like FreeBSD in VMWare, would that work?  Are there any 
 OSS VMWare-like solutions available out there?
emulators/qemu 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: A question on console and UTF-8

2006-02-25 Thread Igor Robul
On Wed, Feb 22, 2006 at 09:35:51PM +0200, a wrote:
 How to force a console to use a multibyte character set (UTF-8)? 
 I use FreeBSD 6.0-STABLE. 
AFAIK, FreeBSD does not support UTF-8 locales on text console.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


libtool port directory error during portupgrade

2006-02-25 Thread Xn Nooby
I was trying to update my system from FreeBSD 6.1 P#1 to FreeBSD 6.1 P#2,
and after I did a portupgrade -arR, the following text was in the output:

snip
---  Cleaning out obsolete shared libraries
[Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 196 packages
found
(-0 +1) . done]
---  Skipping 'x11-toolkits/wxgtk26' (wxgtk2-2.6.2_3) because a requisite
packa
ge 'wxgtk2-common-2.6.2_2' (x11-toolkits/wxgtk26-common) failed (specify -k
to f
orce)
---  Skipping 'devel/gnomevfs2' (gnomevfs2-2.12.2_1) because a requisite
packag
e 'libbonobo-2.10.1_2' (devel/libbonobo) failed (specify -k to force)
---  Skipping 'x11-fm/rox-filer' (rox-2.4.1_1) because a requisite package
'lib
bonobo-2.10.1_2' (devel/libbonobo) failed (specify -k to force)
---  Skipping 'multimedia/vlc' (vlc-0.8.4a_2) because a requisite package
'gnom
evfs2-2.12.2_1' (devel/gnomevfs2) failed (specify -k to force)
---  Skipping 'x11/libgnome' (libgnome-2.12.0.1) because a requisite
package 'l
ibbonobo-2.10.1_2' (devel/libbonobo) failed (specify -k to force)
---  Skipping 'multimedia/libxine' (libxine-1.1.1_2) because a requisite
packag
e 'libbonobo-2.10.1_2' (devel/libbonobo) failed (specify -k to force)
---  Skipping 'multimedia/xine' (xine-0.99.4_3) because a requisite package
'li
bbonobo-2.10.1_2' (devel/libbonobo) failed (specify -k to force)
---  Skipping 'x11-toolkits/libbonoboui' (libbonoboui-2.10.1_1) because a
requi
site package 'libbonobo-2.10.1_2' (devel/libbonobo) failed (specify -k to
force)
---  Skipping 'x11-toolkits/libgnomeui' (libgnomeui-2.12.1) because a
requisite
 package 'libbonobo-2.10.1_2' (devel/libbonobo) failed (specify -k to force)
---  Skipping 'editors/abiword' (abiword-2.4.2) because a requisite package
'li
bbonobo-2.10.1_2' (devel/libbonobo) failed (specify -k to force)
---  Skipping 'editors/abiword-plugins' (abiword-plugins-2.4.2) because a
requi
site package 'abiword-2.4.2' (editors/abiword) failed (specify -k to force)
---  Skipping 'devel/anjuta' (anjuta-1.2.4_3) because a requisite package
'libb
onobo-2.10.1_2' (devel/libbonobo) failed (specify -k to force)
** Listing the failed packages (*:skipped / !:failed)
!  (libtool-1.3.5_2)(port directory error)
! textproc/scrollkeeper (scrollkeeper-0.3.14_3,1)   (unknown
build e
rror)
* audio/sdl_mixer (sdl_mixer-1.2.6_1)
* games/race (race-0.5_2)
! devel/libbonobo (libbonobo-2.10.1_2)  (configure error)
! print/libgnomeprint (libgnomeprint-2.12.1)(configure error)
* www/nvu (nvu-1.0_1)
* x11-toolkits/vte (vte-0.11.18)
* security/gnomekeyring (gnomekeyring-0.4.7)
* x11/nvidia-settings (nvidia-settings-1.0_8)
* x11-toolkits/wxgtk26-common (wxgtk2-common-2.6.2_2)
* graphics/gqview (gqview-2.0.1_1)
* misc/gnome-icon-theme (gnome-icon-theme-2.12.1_2)
* devel/libglade2 (libglade2-2.5.1_3)
* graphics/libgnomecanvas (libgnomecanvas-2.12.0)
* x11-toolkits/libgnomeprintui (libgnomeprintui-2.12.1)
* x11-toolkits/wxgtk26 (wxgtk2-2.6.2_3)
* devel/gnomevfs2 (gnomevfs2-2.12.2_1)
* x11-fm/rox-filer (rox-2.4.1_1)
* multimedia/vlc (vlc-0.8.4a_2)
* x11/libgnome (libgnome-2.12.0.1)
* multimedia/libxine (libxine-1.1.1_2)
* multimedia/xine (xine-0.99.4_3)
* x11-toolkits/libbonoboui (libbonoboui-2.10.1_1)
* x11-toolkits/libgnomeui (libgnomeui-2.12.1)
* editors/abiword (abiword-2.4.2)
* editors/abiword-plugins (abiword-plugins-2.4.2)
* devel/anjuta (anjuta-1.2.4_3)
---  Packages processed: 6 done, 162 ignored, 24 skipped and 4 failed


If I force it by using portupgrade -arRf, is there a chance I will break
it?

I know I've asked in the past, but if anyone knows of a foolproof way of
updating FreeBSD, I would love to learn it.

I did a cvsup, make buildworld, make buildkernel, etc, then portsdb
-uU, and finally the portupgrade -arR.   I can post my update procedure
if required (I also posted it 2 weeks ago when I was trying to get portsnap
to work).

Any suggestions on how to build the skipped and failed ports? And any
suggestions on making a foolproof update procedure?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: anyone recognize this panic?

2006-02-25 Thread Kris Kennaway
On Sat, Feb 25, 2006 at 10:22:59PM -0800, Garrett Cooper wrote:

 re0: diagnostic failed to receive packet in loopback mode
 re0: attach aborted due to hardware diagnostic failure
 panic: mtx_lock() of spin mutex (null) @ 
 /usr/src/sys/netinet/in_pcb,c:862
 
   re0 is a Linksys EG-1032, less than two months old.  It was
 connected, but had zero traffic at the time of the crash.
   Before I take this to current@ - has anyone seen anything like
 this before?  A quick check of the archives and the web in general
 didn't show anything.
  
 

 
 You need to at least get a traceback from the panic, and preferably a
 crashdump.
 
 Kris
 
 
  
 
 Probably should pass this onto some devs. It seems like a null value was 
 passed for locking a mutex in the OS, which is important. Having a 
 traceback would be good though... but at least mentioning that the issue 
 laid with the re (?) kernel driver would be a start.

 
 
 Unfortunately without a traceback the panic string is useless since it
 gives you no clue about how the system got into that state.  This kind
 of panic is often a secondary effect of some other problem.
 
 Kris
  
 
 True, but at least you'd be able to find a way to the affected code... 
 After that it's just tests and debugging =\...

I don't understand what you're suggesting; how do you find the
affected code without a traceback?

Kris

pgpdVvOcWJEZU.pgp
Description: PGP signature


Re: anyone recognize this panic?

2006-02-25 Thread Garrett Cooper

Kris Kennaway wrote:


On Sat, Feb 25, 2006 at 10:22:59PM -0800, Garrett Cooper wrote:

 


re0: diagnostic failed to receive packet in loopback mode
re0: attach aborted due to hardware diagnostic failure
panic: mtx_lock() of spin mutex (null) @ 
/usr/src/sys/netinet/in_pcb,c:862


re0 is a Linksys EG-1032, less than two months old.  It was
connected, but had zero traffic at the time of the crash.
Before I take this to current@ - has anyone seen anything like
this before?  A quick check of the archives and the web in general
didn't show anything.


 

   


You need to at least get a traceback from the panic, and preferably a
crashdump.

Kris


   

 

Probably should pass this onto some devs. It seems like a null value was 
passed for locking a mutex in the OS, which is important. Having a 
traceback would be good though... but at least mentioning that the issue 
laid with the re (?) kernel driver would be a start.
 

   


Unfortunately without a traceback the panic string is useless since it
gives you no clue about how the system got into that state.  This kind
of panic is often a secondary effect of some other problem.

Kris


 

True, but at least you'd be able to find a way to the affected code... 
After that it's just tests and debugging =\...
   



I don't understand what you're suggesting; how do you find the
affected code without a traceback?

Kris

I'm thinking of the old fashioned way of doing things... reading tons 
of code. Lol.

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


Re: libtool port directory error during portupgrade

2006-02-25 Thread Kris Kennaway
On Sun, Feb 26, 2006 at 01:55:44AM -0500, Xn Nooby wrote:
 I was trying to update my system from FreeBSD 6.1 P#1 to FreeBSD 6.1 P#2,
 and after I did a portupgrade -arR, the following text was in the output:

Read /usr/ports/UPDATING.

Kris


pgpwnhNOoN4HU.pgp
Description: PGP signature


Re: libtool port directory error during portupgrade

2006-02-25 Thread Xn Nooby
Thanks, that indeed had the answer.  I guess I will reinstall.

On 2/26/06, Kris Kennaway [EMAIL PROTECTED] wrote:

 On Sun, Feb 26, 2006 at 01:55:44AM -0500, Xn Nooby wrote:
  I was trying to update my system from FreeBSD 6.1 P#1 to FreeBSD 6.1P#2,
  and after I did a portupgrade -arR, the following text was in the
 output:

 Read /usr/ports/UPDATING.

 Kris



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


Smbfs hang when connection broken

2006-02-25 Thread Jonathan Wallace

Processes that access a share from a remote machine hang if the connection
goes away.  I'm using FBSD V5.4 and mount_smbfs.  This can be replicated
by the following sequence:

1) Share a file system from a remote Windows machine.
2) Mount the share using mount_smbfs
3) Start a tar() command to copy the data from the windows share.
4) Unplug the network cable from the windows box

The ps() command shows that smbiod has a stat of SL (sleeping and waiting to
acquire a lock) and the tar() process stat is D (uniterruptable wait).  If
you kill smbiod, the FBSD system hangs and has to be rebooted.

Is there any workaround to this issue?

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