Re: 7.0 kde 3 build patch error

2008-03-08 Thread Matthias Apitz
El día Thursday, March 06, 2008 a las 02:36:05PM +0100, Matthias Apitz escribió:

 I got the kde3 port installed fine after only updating the cups-base
 port to cups-base-1.3.6 (as I wrote yesterday). Now I followed your hint,
 removed all the system again (it's only a test machine), installed this
 way the ports tree which comes with the 7.0R disk1, did portsnap and
 I'm just doing 'make install BATCH=yes' in /usr/ports/x11/kde3;
 will let you know if I run into the same problem now;

...

As I said I did 'portsnap fetch' and 'portsnap extract'; later
I want install a second laptop with exactly the same port versions
and based on what I have as downloads in /usr/ports/distfile;
is it possible to move that portsnap from one laptop to the other,
for example just moving /var/db/portsnap to the 2nd machine and
run again 'portsnap extract' on this 2nd laptop?

thx

matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e [EMAIL PROTECTED] - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: wireless low speed

2008-03-08 Thread Christian Walther
Hi Anatoli,

On 07/03/2008, Anatoli Marinov [EMAIL PROTECTED] wrote:
 Hi guys,
[...]
  [EMAIL PROTECTED]:/usr/local/www/data#ifconfig ral0
  ral0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 2290
 ether 00:0e:2e:ec:e1:3d
 inet 172.16.4.1 netmask 0xff00 broadcast 172.16.4.255
 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g hostap
[...]

You need to specify something like media OFDM/54Mbps in the ifconfig
command you configure the interface with. You can change this setting
during operation, too.
See the ifconfig manpage for more information on the media option
and what settings are possible. man ral should contain some
information on this topic, too.

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


Re: wireless low speed

2008-03-08 Thread Anatoli Marinov


 You need to specify something like media OFDM/54Mbps in the ifconfig
 command you configure the interface with. You can change this setting
 during operation, too.
 See the ifconfig manpage for more information on the media option
 and what settings are possible. man ral should contain some
 information on this topic, too.

 I tried this and now my ifconfig is :
ral0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 2290
ether 00:0e:2e:ec:e1:3d
inet 172.16.4.1 netmask 0xff00 broadcast 172.16.4.255
media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11g hostap
status: associated
ssid freebsdap channel 1 (2412 Mhz 11g) bssid 00:0e:2e:ec:e1:3d
authmode WPA privacy MIXED deftxkey 2 TKIP 2:128-bit txpower 50
scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi11g 7
roam:rate11g 5 protmode CTS dtimperiod 1

Unfortunately there is not such information in ral(4), ifconfig(8) or
wlan(4). The issue still exist. I set the media to OFDM/54Mbps and can do
only 180 KBps. Very bad.
Any ideas?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: syslogd and bzip2 hogs after 6.3 to 7.0 upgrade

2008-03-08 Thread Neil Darlow

Hi,

I've caught bzip2 misbehaving. The following top output is for 
compression of /var/log/messages (just over 100kB size) and it's not 
finished yet:


21172 root 1 1180 11360K  8248K RUN 11:02 100.00% bzip2

Over 11 minutes, and still going, at 100% CPU. Now that's definitely not 
right. Anyone else seeing this?


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


Re: syslogd and bzip2 hogs after 6.3 to 7.0 upgrade

2008-03-08 Thread Kris Kennaway

Neil Darlow wrote:

Hi,

I've caught bzip2 misbehaving. The following top output is for 
compression of /var/log/messages (just over 100kB size) and it's not 
finished yet:


21172 root 1 1180 11360K  8248K RUN 11:02 100.00% bzip2

Over 11 minutes, and still going, at 100% CPU. Now that's definitely not 
right. Anyone else seeing this?


Again, it's not bzip2 that is your underlying problem.

Kris

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


Re: Please help me with my PF config

2008-03-08 Thread Alaor Barroso de Carvalho Neto
2008/3/7, Preston Hagar [EMAIL PROTECTED]:

 It looks like you already have your problem solved.  One utility you
 might want to look at is pftop.  With it, you can see pretty much in
 real time what is going through pf and what is being blocked.  This
 has helped me a lot to find out which rule in blocking something I
 need to let through.  If you run pftop, then hit the right arrow key,
 it will have the rule that is being applied for a given connection on
 the far right-hand side.  If you hit SHIFT+S it will order the
 connections by source ip to help you find what you are looking for.
 Once you have the rule number that is blocking the connection you need
 to let through, hit the right arrow 4 more times to see the list of
 rules and their corresponding numbers.

 It may or may not be of much use to you, but I have found pftop to be
 indispensable when setting up pf firewalls.

 Preston

It looks great. I was looking for something like this because I would like
to see what is happening in the network. I'm gonna install this on monday.
Thankz for the tip.

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


Re: Mathematica 6.01 + FBSD 6.3-release

2008-03-08 Thread Tijl Coosemans
On Saturday 08 March 2008 00:05:11 Rich Winkel wrote:
 I'm having problems getting the frontend running.  The kernel seems
 to run fine.  Initially the linux loader wasn't seeing the libraries
 under SystemFiles/Libraries/Linux (or at least
 
 /compat/linux/usr/bin/ldd
 couldn't find them when run on
 SystemFiles/FrontEnd/Binaries/Linux/Mathematica )

I don't have any experience with Mathematica, but this happens with
Maple and Matlab too, so it's probably nothing to worry about.

Maple and Matlab are started with a shell script which sets up a proper
environment (where to find libs and such other variables) before
starting the real program. In my experience it's better to run them
with /compat/linux/bin/sh and not the FreeBSD /bin/sh used by default.
So to run Matlab for instance I use:

/compat/linux/bin/sh /compat/linux/opt/matlab-7.0.1/bin/matlab

If Mathematica uses such a startup script as well, it could be worth a
try. In that case you should also try if you can run
/compat/linux/bin/ls. If you get an error related to librt, you need to
create this softlink:

ln -s ../../lib/librt-2.3.6.so /compat/linux/usr/lib/librt.so.1
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSDstats: February Statistics - 18 494 Hosts Reported In

2008-03-08 Thread Abdullah Ibn Hamad Al-Marri
Hey Marc,

These links don't work.

Drivers/HW Stats CPU Stats Port Stats

Do you know why?

 
Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/

- Original Message 
 From: Marc G. Fournier [EMAIL PROTECTED]
 To: freebsd-questions@freebsd.org; [EMAIL PROTECTED]; [EMAIL PROTECTED]; 
 [EMAIL PROTECTED]; Thorsten Glaser [EMAIL PROTECTED]; Gonzalo Martinez - 
 Sanjuan Sanchez [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; 
 [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Sent: Saturday, March 8, 2008 6:43:11 AM
 Subject: BSDstats: February Statistics - 18 494 Hosts Reported In
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 
 As of March 7th, 2008, the project is seeing 18 494 hosts reporting in, with 
 a 
 break down as follows:
 
DesktopBSD   3 242 hosts
DragonFly   27 hosts
FreeBSD  6 260 hosts
GNU/kFreeBSD 5 hosts
MidnightBSD  6 hosts
MirBSD  14 hosts
NetBSD 109 hosts
OpenBSD 56 hosts
PC-BSD   8 775 hosts
 
 Top 10 Countries reporting in (out of 85 Countries total):
 
United States 23.5%
Russian Federation 7.4%
Australia  6.4%
Brazil 6.3%
Germany6.2%
France 3.4%
Ukraine3.2%
Japan  3.2%
United Kingdom 3.0%
Canada 2.7%
 
 
 Project Objective:
 
 The mission of this site is to compile semi-accurate numbers for advocacy and
 marketing of the *BSD operating systems.
 
 
 PC-BSD, to the best of our knowledge, is the only one that defaults to 
 enabled,
 while the rest have to be enabled manually.
 
 For FreeBSD users, you just need to install /usr/ports/sysutils/bsdstats to 
 set
 things up.
 
 If you aren't participating, we very much encourage you to start ... the 
 report
 script is a shell script, so you can scan it to figure out what, exactly, is
 being sent in .. and there is only one level of reporting that is  required,
 and that is Operating System + Version ... Device and Ports reporting are 100%
 optional ...
 
 For those that are participating ... once more, thank you ... and spread the
 word, we need more ...
 
 
 - 
 Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
 Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
 Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.4 (FreeBSD)
 
 iD8DBQFH0gtP4QvfyHIvDvMRAm1PAJ0XjcSfic/7909xzOLwQu0/3gty5wCeJU6A
 aDhVlpvMy9flKZYl3Cyysi0=
 =kmn9
 -END PGP SIGNATURE-
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 






  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: syslogd and bzip2 hogs after 6.3 to 7.0 upgrade

2008-03-08 Thread Neil Darlow

Hi,

Kris Kennaway wrote:

Again, it's not bzip2 that is your underlying problem.


I can't see what else it could be. I watched newsyslog kick-in at 
11:00UTC to rotate logs and that's what happened.


There was no esoteric hardware access, e.g. writing to DVD, happening at 
the time so I'm at a loss to explain what's happening.


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


Re: syslogd and bzip2 hogs after 6.3 to 7.0 upgrade

2008-03-08 Thread Kris Kennaway

Neil Darlow wrote:

Hi,

Kris Kennaway wrote:

Again, it's not bzip2 that is your underlying problem.


I can't see what else it could be. I watched newsyslog kick-in at 
11:00UTC to rotate logs and that's what happened.


There was no esoteric hardware access, e.g. writing to DVD, happening at 
the time so I'm at a loss to explain what's happening.


Did you track down the cause of your interrupt storm?

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


Re: BSDstats: February Statistics - 18 494 Hosts Reported In

2008-03-08 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Go under the individual OS ... the site needs a bunch of work as far as the 
sub-pages are concerned :(


- --On Saturday, March 08, 2008 04:36:55 -0800 Abdullah Ibn Hamad Al-Marri 
[EMAIL PROTECTED] wrote:

 Hey Marc,

 These links don't work.

 Drivers/HW Stats CPU Stats Port Stats

 Do you know why?


 Regards,

 -Abdullah Ibn Hamad Al-Marri
 Arab Portal
 http://www.WeArab.Net/

 - Original Message 
 From: Marc G. Fournier [EMAIL PROTECTED]
 To: freebsd-questions@freebsd.org; [EMAIL PROTECTED];
 [EMAIL PROTECTED]; [EMAIL PROTECTED]; Thorsten Glaser
 [EMAIL PROTECTED]; Gonzalo Martinez - Sanjuan Sanchez [EMAIL PROTECTED];
 [EMAIL PROTECTED]; [EMAIL PROTECTED];
 [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Sent: Saturday, March 8, 2008 6:43:11 AM
 Subject: BSDstats: February Statistics - 18 494 Hosts Reported In

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1


 As of March 7th, 2008, the project is seeing 18 494 hosts reporting in, with
 a  break down as follows:

DesktopBSD   3 242 hosts
DragonFly   27 hosts
FreeBSD  6 260 hosts
GNU/kFreeBSD 5 hosts
MidnightBSD  6 hosts
MirBSD  14 hosts
NetBSD 109 hosts
OpenBSD 56 hosts
PC-BSD   8 775 hosts

 Top 10 Countries reporting in (out of 85 Countries total):

United States 23.5%
Russian Federation 7.4%
Australia  6.4%
Brazil 6.3%
Germany6.2%
France 3.4%
Ukraine3.2%
Japan  3.2%
United Kingdom 3.0%
Canada 2.7%


 Project Objective:

 The mission of this site is to compile semi-accurate numbers for advocacy
 and marketing of the *BSD operating systems.


 PC-BSD, to the best of our knowledge, is the only one that defaults to
 enabled, while the rest have to be enabled manually.

 For FreeBSD users, you just need to install /usr/ports/sysutils/bsdstats to
 set things up.

 If you aren't participating, we very much encourage you to start ... the
 report script is a shell script, so you can scan it to figure out what,
 exactly, is being sent in .. and there is only one level of reporting that
 is  required, and that is Operating System + Version ... Device and Ports
 reporting are 100% optional ...

 For those that are participating ... once more, thank you ... and spread the
 word, we need more ...


 - 
 Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
 Email . [EMAIL PROTECTED]  MSN . [EMAIL 
 PROTECTED]
 Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.4 (FreeBSD)

 iD8DBQFH0gtP4QvfyHIvDvMRAm1PAJ0XjcSfic/7909xzOLwQu0/3gty5wCeJU6A
 aDhVlpvMy9flKZYl3Cyysi0=
 =kmn9
 -END PGP SIGNATURE-

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








 _
 ___ Never miss a thing.  Make Yahoo your home page.
 http://www.yahoo.com/r/hs



- 
Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFH0pLi4QvfyHIvDvMRAuY3AJ43f2ZGevI95d1sZpLVnmxaFWJ7mQCguENc
Py6KYxhLKWz62flZ4RlRH2Q=
=Vw0j
-END PGP SIGNATURE-

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


Re: Variable Substitution

2008-03-08 Thread Victor Subervi
No, no, I have made myself misunderstood. I am looking for a %x where x is
some letter that will enable me to substitute a file. Also, I am looking for
a howto to brush up on that. What is this called if not variable
substitution, which is not google-friendly?
TIA,
Victor


On 3/4/08, Mel [EMAIL PROTECTED] wrote:

 On Monday 03 March 2008 15:52:51 Victor Subervi wrote:

  Forgive this basic question, but can´t figure out how to google it. If I
  want to substitute strings in an expression, I can use %s for string, or
 %d
  for digit. What about file? What is this process called, so I can find a
  howto?

 printf(1) or printf(3), pending what language you want.
 --
 Mel

 Problem with today's modular software: they start with the modules
and never get to the software part.

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


Re: Variable Substitution

2008-03-08 Thread Erik Trulsson
On Sat, Mar 08, 2008 at 02:48:52PM +0100, Victor Subervi wrote:
 No, no, I have made myself misunderstood. I am looking for a %x where x is
 some letter that will enable me to substitute a file.

What do you mean by substitute a file. Do you mean the name of a file?
Or the contents of a file? Or a file handle? Or something else?

Also: what language/tool are you using?  '%x' (for various values of x) is
primarily used by printf() and scanf().  They do not have any special formats
for files of any kind.

You will have to explain in more detail what it is you are actually trying
to do, because that is not clear at all.



 Also, I am looking for
 a howto to brush up on that. What is this called if not variable
 substitution, which is not google-friendly?
 TIA,
 Victor
 
 
 On 3/4/08, Mel [EMAIL PROTECTED] wrote:
 
  On Monday 03 March 2008 15:52:51 Victor Subervi wrote:
 
   Forgive this basic question, but can´t figure out how to google it. If I
   want to substitute strings in an expression, I can use %s for string, or
  %d
   for digit. What about file? What is this process called, so I can find a
   howto?
 
  printf(1) or printf(3), pending what language you want.
  --
  Mel
 


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


Re: slow internet - 7.0 release

2008-03-08 Thread Mitja
On Saturday 08 March 2008 01:37:00 Wojciech Puchar wrote:
  speed of internet.
 
  None of them explains what speed of internet is.
 
  If I am lucky maybe 30 seconds to one minute. Now on www.cnn.com I am
  waiting still (about two minutes)...okay now is done: 2 minutes 27
  second. I am lucky: www.freebsd.org ju8st one minute and ten seconds.
  I am sorry that I didn't wrote time before.

 you must have network problem like heavy packet loss. check with ping -s
 1450


Problem is (was) resolv.conf (it help me on bsdforums.org). I had in 
resolv.conf search domain and 192.168..0.1. It didn't found nameserver.


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


unsetting a Port's configuration

2008-03-08 Thread Don Wilde
Hello, all -

When building a port, specifically in this case qdvdauthor, I run into a
setup issue that makes me want to redo the configuration  of the port. Is
there a simple way to disable the use of the saved configuration and
restart the port from the CURSES menu?

I was able to blast it  by wiping the makefile and re-CVSupping, but that
does seem like the long way 'round.

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


Re: unsetting a Port's configuration

2008-03-08 Thread D Hill

On Sat, 8 Mar 2008 at 09:32 -0600, [EMAIL PROTECTED] confabulated:


Hello, all -

When building a port, specifically in this case qdvdauthor, I run into a
setup issue that makes me want to redo the configuration  of the port. Is
there a simple way to disable the use of the saved configuration and
restart the port from the CURSES menu?

I was able to blast it  by wiping the makefile and re-CVSupping, but that
does seem like the long way 'round.


You can do a 'make config' within the port directory and it should present 
the configure menu again. If you want to remove the configuration to start 
again, you can do a 'make rmconfig'.


'man ports' should show all the options you can make.

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


Re: unsetting a Port's configuration

2008-03-08 Thread Giorgos Keramidas
On 2008-03-08 09:32, Don Wilde [EMAIL PROTECTED] wrote:
 Hello, all -

 When building a port, specifically in this case qdvdauthor, I run into a
 setup issue that makes me want to redo the configuration  of the port. Is
 there a simple way to disable the use of the saved configuration and
 restart the port from the CURSES menu?

 I was able to blast it  by wiping the makefile and re-CVSupping, but that
 does seem like the long way 'round.

Yes, there is a simpler way.

make rmconfig

You can recursively remote the stored configuration of the current port
and *all* its dependencies too, by using:

make rmconfig-recursive

The `rmconfig' target should be documented already in your `ports'
manpage.  If you don't see it described in the output of `man ports',
then it's a documentation bug.  In that case, let us know, so we can
fix the manpage :)

Cheers,
Giorgos

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


Re: unsetting a Port's configuration

2008-03-08 Thread Schiz0
On Sat, Mar 8, 2008 at 10:32 AM, Don Wilde [EMAIL PROTECTED] wrote:
 Hello, all -

  When building a port, specifically in this case qdvdauthor, I run into a
  setup issue that makes me want to redo the configuration  of the port. Is
  there a simple way to disable the use of the saved configuration and
  restart the port from the CURSES menu?

  I was able to blast it  by wiping the makefile and re-CVSupping, but that
  does seem like the long way 'round.

  Thanks in advance!
  --
  Don Wilde
  ___

Configuration data is stored in /var/db/ports/. You can just rm -rf
./* in that directory to remove the options file(s), thus
destroying the configuration for ports.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: unsetting a Port's configuration

2008-03-08 Thread Don Wilde
On Sat, Mar 8, 2008 at 10:06 AM, D Hill [EMAIL PROTECTED] wrote:

 On Sat, 8 Mar 2008 at 09:32 -0600, [EMAIL PROTECTED] confabulated:

  Hello, all -
 
  When building a port, specifically in this case qdvdauthor, I run into a
  setup issue that makes me want to redo the configuration  of the port.
 Is
  there a simple way to disable the use of the saved configuration and
  restart the port from the CURSES menu?
 
  I was able to blast it  by wiping the makefile and re-CVSupping, but
 that
  does seem like the long way 'round.

 You can do a 'make config' within the port directory and it should present
 the configure menu again. If you want to remove the configuration to start
 again, you can do a 'make rmconfig'.

 'man ports' should show all the options you can make.


Thanks to all who responded. It appears that there are no options that will
allow that port to build due to a showstopper in libxine that portaudit
complains about. The weblink appears to say that it's fixed in this version,
but it appears that there's no way around it. I tried ports, packages, etc.,
and can't get it to be happy with libxine.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: unsetting a Port's configuration

2008-03-08 Thread Schiz0
On Sat, Mar 8, 2008 at 11:22 AM, Don Wilde [EMAIL PROTECTED] wrote:
 On Sat, Mar 8, 2008 at 10:06 AM, D Hill [EMAIL PROTECTED] wrote:

   On Sat, 8 Mar 2008 at 09:32 -0600, [EMAIL PROTECTED] confabulated:
  
Hello, all -
   
When building a port, specifically in this case qdvdauthor, I run into a
setup issue that makes me want to redo the configuration  of the port.
   Is
there a simple way to disable the use of the saved configuration and
restart the port from the CURSES menu?
   
I was able to blast it  by wiping the makefile and re-CVSupping, but
   that
does seem like the long way 'round.
  
   You can do a 'make config' within the port directory and it should present
   the configure menu again. If you want to remove the configuration to start
   again, you can do a 'make rmconfig'.
  
   'man ports' should show all the options you can make.


  Thanks to all who responded. It appears that there are no options that will
  allow that port to build due to a showstopper in libxine that portaudit
  complains about. The weblink appears to say that it's fixed in this version,
  but it appears that there's no way around it. I tried ports, packages, etc.,
  and can't get it to be happy with libxine.



You obviously didn't read man ports 

DISABLE_VULNERABILITIES
   If defined, disable check for security vulnerabilities
   using portaudit(1) (ports/ports-mgmt/portaudit) when
   installing new ports.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


configure Boot with 2 hard drives

2008-03-08 Thread Luigi

Hi everyone,

I've got two hard drives on my pc:

Master /dev/hda1,hda2,hda3

and

slave /dev/hdb where I've installed PC-BSD.

I want to configure a grub who propose me to boot on my first drive of 
my second drive.


Is it possible? How can I do it?

Thanks for your answers.

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



Re: configure Boot with 2 hard drives

2008-03-08 Thread E. J. Cerejo

Luigi wrote:

Hi everyone,

I've got two hard drives on my pc:

Master /dev/hda1,hda2,hda3

and

slave /dev/hdb where I've installed PC-BSD.

I want to configure a grub who propose me to boot on my first drive of 
my second drive.


Is it possible? How can I do it?

Thanks for your answers.

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




I don't get your question, how to boot from your first drive of your 
second drive, do you mean boot the first partition of your second drive?

I think you would have to edit the grub file inside /boot directory.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: unsetting a Port's configuration

2008-03-08 Thread Giorgos Keramidas
On 2008-03-08 11:12, Schiz0 [EMAIL PROTECTED] wrote:
On Sat, Mar 8, 2008 at 10:32 AM, Don Wilde [EMAIL PROTECTED] wrote:
  When building a port, specifically in this case qdvdauthor, I run into a
  setup issue that makes me want to redo the configuration  of the port. Is
  there a simple way to disable the use of the saved configuration and
  restart the port from the CURSES menu?

  I was able to blast it  by wiping the makefile and re-CVSupping, but that
  does seem like the long way 'round.

  Thanks in advance!
 
 Configuration data is stored in /var/db/ports/. You can just rm -rf
 ./* in that directory to remove the options file(s), thus
 destroying the configuration for ports.

Destroying the stored configuration for *ALL* ports, in the process.

This may be undesirable, and it includes the risk of wiping out
important configuration options, that have taken _hours_ to get right.

It's a risk I'm willing to take at times, but we should at least make it
clear :)

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


Re: unsetting a Port's configuration

2008-03-08 Thread Don Wilde
I DID see that whoopsie in the previous post, thanks Giorgos!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: unsetting a Port's configuration

2008-03-08 Thread Giorgos Keramidas
On 2008-03-08 11:34, Don Wilde [EMAIL PROTECTED] wrote:
 I DID see that whoopsie in the previous post, thanks Giorgos!

All's fine then :)

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


Re: Variable Substitution

2008-03-08 Thread Mel
On Saturday 08 March 2008 14:48:52 Victor Subervi wrote:

 No, no, I have made myself misunderstood. I am looking for a %x where x is
 some letter that will enable me to substitute a file. Also, I am looking
 for a howto to brush up on that. What is this called if not variable
 substitution, which is not google-friendly?

Ah you can't. %x substitution only works on primitives and char arrays, 
meaning, numbers of various sizes, letters and strings of letters.
There's also date formatting (strftime), but that's about as far as it goes.

A file is not a 'thing', it's a container of things, so it's very 
hard 'format'.

But like Eric said, it helps to know what language you're using and what you 
got so far and what you want to do.
-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: FreeBSD bind performance in FreeBSD 7

2008-03-08 Thread Ted Mittelstaedt


 -Original Message-
 From: Simon Dircks [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 07, 2008 8:27 AM
 To: Ted Mittelstaedt
 Cc: Peter Losher; [EMAIL PROTECTED];
 freebsd-questions@freebsd.org
 Subject: Re: FreeBSD bind performance in FreeBSD 7
 
 
 Ted Mittelstaedt wrote:

  -Original Message-
  From: Peter Losher [mailto:[EMAIL PROTECTED]
  Sent: Monday, March 03, 2008 10:18 PM
  To: Ted Mittelstaedt
  Cc: [EMAIL PROTECTED]; freebsd-questions@freebsd.org
  Subject: Re: FreeBSD bind performance in FreeBSD 7
 
 
  Yeah, ISC just hates FreeBSD... rolls eyes
  
 
  This final report here:
 
  ftp://ftp.isc.org/isc/dns_perf/ISC-TN-2008-1.pdf
 
  is LIGHTYEARS different than the draft here:
 
  http://new.isc.org/proj/dnsperf/OStest.html
 
 
  The draft contains the conclusion:
 

 
 You change your underpants once a year?
 

I just throw them against the wall - if they stick, it's time
for a change.

Seriously if you think HP only changes it's product lineup
once a year you haven't bought much HP.  It's a very common
occurance for us to make up a quote for a new HP server then
by the time the customer signs off on it and we are able
to go order the server, we find it on the constrained list
because they are replacing it with yet another model change.

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


RE: excange server features

2008-03-08 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Vano
 Tsertsvadze
 Sent: Friday, March 07, 2008 1:18 AM
 To: freebsd-questions@freebsd.org
 Subject: excange server features
 
 
 Does freebsd support features like shared folders, calendars, as 
 MS exchange
 Server does?
 I use Windows and Exchange Server in LAN, but for extranet, the mail and
 web-aplications are running under Freebsd.
 It'd be great to have posibilities to build exchange like system 
 on freebsd
 and sendmail.
 Did anyone hear something about exchange-like soft under freebsd?
  

There have been various attempts to build a server that runs
on UNIX that interfaces directly with the Microsoft Exchange
connector under Outlook, so that you don't need to use the
IMAP or POP3 connectors under Outlook.  The obvious advantage is
shared calendars.  Is this what your looking for?  Note that
the Exchange connector itself doesen't work through a translator
and as a result Microsoft is moving towards RCP-over-HTTP now
for the remote Exchange/Outlook clients.

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


Re: Upgrading from 6.2 to 7.0

2008-03-08 Thread Andrey O.Sokolov
On Sat, Mar 08, 2008 at 07:48:40PM +, Adam J Richardson wrote:
Jay Deiman wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I have a couple of 6.2 machines that I would like to upgrade to the 7.0
release.  Is there an official set of instructions for this process?

1.cvsup new source (src  port)
2.cd /usr/src
3.make buildworld
4.change you KERNCONF
5.make KERNCONF=yourKERN
6.shutdown -r now (reboot in single mode)
7.mergemaster -p
8.make delete-old
9.make installworld
10.mergemaster
11.reboot
12.cd /usr/port/ports-mgmt/portmanager
13.make deinstall  make install clean (if portmanager was install)
14. portmanager -u -f 
15. cd /usr/src
16. make delete-old-libs
17.shutdown -r now

Thanks,

Jay Deiman
Hi Jay,

This isn't a recommendation or anything, but I did manage to upgrade one 
of my boxes from 6.3-SOMETHING to 7.0-BETA4 using the standard make 
{build{world,kernel},install{kernel,world}} process. I didn't have any 
problems with it, but it's not a supported method, so only do this if 
you're a crazy like me with no regard for his data. Actually you're 
probably best off backing up all your data and doing a clean install.

Since I'm a crazy with no regard for his data, I'm doing it again 
tonight, this time to 7.0-RELEASE with a GENERIC kernel. I'll let you 
know how it goes.

YMMV
#include disclaimer.h
etc.

Regards,
Adam J Richardson

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

-- 
___
С уважением,
 Андрей Соколов
 ***AOS224-RIPE***   mailto:[EMAIL PROTECTED]
 Phone +38(056)3728047
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading from 6.2 to 7.0

2008-03-08 Thread Adam J Richardson

The-IRC Hosting Administration Team wrote:

There is nothing wrong with obtaining the source code of 7.X and doing a
full recompile to upgrade your version sanely.


Ah, really? Good news. I heard somewhere there were problems upgrading 
like that across a major version boundary. Or was it to a BETA? That 
might have been it.


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


RE: Upgrading from 6.2 to 7.0

2008-03-08 Thread The-IRC Hosting Administration Team
One way to make the system unstable ;)

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andrey O.Sokolov
Sent: Saturday, March 08, 2008 3:09 PM
To: freebsd-questions@freebsd.org
Cc: Jay Deiman; freebsd-questions@freebsd.org
Subject: Re: Upgrading from 6.2 to 7.0

On Sat, Mar 08, 2008 at 07:48:40PM +, Adam J Richardson wrote:
Jay Deiman wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I have a couple of 6.2 machines that I would like to upgrade to the 7.0
release.  Is there an official set of instructions for this process?

1.cvsup new source (src  port)
2.cd /usr/src
3.make buildworld
4.change you KERNCONF
5.make KERNCONF=yourKERN
6.shutdown -r now (reboot in single mode)
7.mergemaster -p
8.make delete-old
9.make installworld
10.mergemaster
11.reboot
12.cd /usr/port/ports-mgmt/portmanager
13.make deinstall  make install clean (if portmanager was install)
14. portmanager -u -f 
15. cd /usr/src
16. make delete-old-libs
17.shutdown -r now

Thanks,

Jay Deiman
Hi Jay,

This isn't a recommendation or anything, but I did manage to upgrade one 
of my boxes from 6.3-SOMETHING to 7.0-BETA4 using the standard make 
{build{world,kernel},install{kernel,world}} process. I didn't have any 
problems with it, but it's not a supported method, so only do this if 
you're a crazy like me with no regard for his data. Actually you're 
probably best off backing up all your data and doing a clean install.

Since I'm a crazy with no regard for his data, I'm doing it again 
tonight, this time to 7.0-RELEASE with a GENERIC kernel. I'll let you 
know how it goes.

YMMV
#include disclaimer.h
etc.

Regards,
Adam J Richardson

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

-- 
___
С уважением,
 Андрей Соколов
 ***AOS224-RIPE***   mailto:[EMAIL PROTECTED]
 Phone +38(056)3728047
___
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: Upgrading from 6.2 to 7.0

2008-03-08 Thread [EMAIL PROTECTED]
On 08/03/2008, Adam J Richardson [EMAIL PROTECTED] wrote:
 The-IRC Hosting Administration Team wrote:
   There is nothing wrong with obtaining the source code of 7.X and doing a
   full recompile to upgrade your version sanely.


 Ah, really? Good news. I heard somewhere there were problems upgrading
  like that across a major version boundary. Or was it to a BETA? That
  might have been it.

AFIK, that was 4.x - 5/6
OR
Ports, which are bound to be a problem across
major versions.*
Also, 8.x has a recent change which prevents
easy upgrading from early versions of 5/6(/7?).

In any case, I had no problems upgrading to 7 via
normal methods as outlined in /usr/src/UPDATING
for two machines running 6.x



* literally everything explodes and your fish dies.

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


Re: FreeBSD bind performance in FreeBSD 7

2008-03-08 Thread Al Plant

Ted Mittelstaedt wrote:
  

-Original Message-
From: Simon Dircks [mailto:[EMAIL PROTECTED]
Sent: Friday, March 07, 2008 8:27 AM
To: Ted Mittelstaedt
Cc: Peter Losher; [EMAIL PROTECTED];
freebsd-questions@freebsd.org
Subject: Re: FreeBSD bind performance in FreeBSD 7


Ted Mittelstaedt wrote:

  
  

-Original Message-
From: Peter Losher [mailto:[EMAIL PROTECTED]
Sent: Monday, March 03, 2008 10:18 PM
To: Ted Mittelstaedt
Cc: [EMAIL PROTECTED]; freebsd-questions@freebsd.org
Subject: Re: FreeBSD bind performance in FreeBSD 7


Yeah, ISC just hates FreeBSD... rolls eyes



This final report here:

ftp://ftp.isc.org/isc/dns_perf/ISC-TN-2008-1.pdf

is LIGHTYEARS different than the draft here:

http://new.isc.org/proj/dnsperf/OStest.html


The draft contains the conclusion:

  
  

You change your underpants once a year?




I just throw them against the wall - if they stick, it's time
for a change.

Seriously if you think HP only changes it's product lineup
once a year you haven't bought much HP.  It's a very common
occurance for us to make up a quote for a new HP server then
by the time the customer signs off on it and we are able
to go order the server, we find it on the constrained list
because they are replacing it with yet another model change.

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

  

Aloha Ted,

Dell sends  many of its products in a single purchase  out with nic 
cards and other components that are not the same in every box too.


~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
 + http://hawaiidakine.com + http://freebsdinfo.org + 
 + http://aloha50.net   - Supporting - FreeBSD 6.* - 7.* - 8.* +

  email: [EMAIL PROTECTED] 
All that's really worth doing is what we do for others.- Lewis Carrol


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


RE: Upgrading from 6.2 to 7.0

2008-03-08 Thread The-IRC Hosting Administration Team
There is nothing wrong with obtaining the source code of 7.X and doing a
full recompile to upgrade your version sanely.

Just use a cvsup file like this and run it with cvsup -g -L 2 cvs-supfile
*default host=cvsup4.us.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_7
*default delete
*default compress
*default use-rel-suffix
src-all

After you've obtained the new sourcecode do the following.

`cd /usr/src'   (or to the directory containing your source tree).
`make buildworld'
`make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC).
`make installkernel KERNCONF=YOUR_KERNEL_HERE'   (default is GENERIC).
`reboot'(in single user mode: boot -s from the loader prompt).
`mergemaster -p'
`make installworld'
`mergemaster'
`reboot'

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adam J Richardson
Sent: Saturday, March 08, 2008 2:49 PM
To: Jay Deiman
Cc: freebsd-questions@freebsd.org
Subject: Re: Upgrading from 6.2 to 7.0

Jay Deiman wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 I have a couple of 6.2 machines that I would like to upgrade to the 7.0
 release.  Is there an official set of instructions for this process?

 Thanks,

 Jay Deiman
Hi Jay,

This isn't a recommendation or anything, but I did manage to upgrade one 
of my boxes from 6.3-SOMETHING to 7.0-BETA4 using the standard make 
{build{world,kernel},install{kernel,world}} process. I didn't have any 
problems with it, but it's not a supported method, so only do this if 
you're a crazy like me with no regard for his data. Actually you're 
probably best off backing up all your data and doing a clean install.

Since I'm a crazy with no regard for his data, I'm doing it again 
tonight, this time to 7.0-RELEASE with a GENERIC kernel. I'll let you 
know how it goes.

YMMV
#include disclaimer.h
etc.

Regards,
Adam J Richardson

___
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: Upgrading from 6.2 to 7.0

2008-03-08 Thread Adam J Richardson

Jay Deiman wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I have a couple of 6.2 machines that I would like to upgrade to the 7.0
release.  Is there an official set of instructions for this process?

Thanks,

Jay Deiman

Hi Jay,

This isn't a recommendation or anything, but I did manage to upgrade one 
of my boxes from 6.3-SOMETHING to 7.0-BETA4 using the standard make 
{build{world,kernel},install{kernel,world}} process. I didn't have any 
problems with it, but it's not a supported method, so only do this if 
you're a crazy like me with no regard for his data. Actually you're 
probably best off backing up all your data and doing a clean install.


Since I'm a crazy with no regard for his data, I'm doing it again 
tonight, this time to 7.0-RELEASE with a GENERIC kernel. I'll let you 
know how it goes.


YMMV
#include disclaimer.h
etc.

Regards,
Adam J Richardson

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


What is a EOF or NL

2008-03-08 Thread Bob Falanga
I have been a long time trying to print anything on freebsd, as some know.
Everything seems to be working new but nothing is printed. Today I reboot
the computer and behold a page printed.  This implied to me that the printer
never receives a New Line or EOF or whatever the printer requires to proceed
printing what it has just received.
My question is where do I configure an option to print.

Thank you so much,

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


ZFS (not sure if this is the place)

2008-03-08 Thread Jeffrey Smith
I get this on reboot of my system

# zpool status
  pool: pool
 state: UNAVAIL
status: One or more devices could not be opened.  There are insufficient
replicas for the pool to continue functioning.
action: Attach the missing device and online it using 'zpool online'.
   see: http://www.sun.com/msg/ZFS-8000-D3
 scrub: none requested
config:

NAMESTATE READ WRITE CKSUM
poolUNAVAIL  0 0 0  insufficient replicas
  da0s2 UNAVAIL  0 0 0  cannot open

An import and export fixes this

# zpool export pool
# zpool import pool
# zpool status
  pool: pool
 state: ONLINE
 scrub: none requested
config:

NAMESTATE READ WRITE CKSUM
poolONLINE   0 0 0
  da0s2 ONLINE   0 0 0

errors: No known data errors

# uname -a
FreeBSD xxx.futurecis.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24
10:35:36 UTC 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  amd64

I have another system running the i386 version of 7.0 and am not having
this issue.  Is this a bug in the 64 bit version, and I was not sure if
this was the place for this post but I didn't see a dedicated ZFS list.
Any help will be much appreciated.

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


how to respond to possible attacks

2008-03-08 Thread Robin Becker
Sorry if this is too off topic, but I would like to find out what to do 
when you suspect a possible dos attack on your system. I know there are 
many experienced sysadmins here.
Although my system (freebsd 6.0/apache 2.0.x) did in fact hold up, what 
steps should I be taking? The originating ip doesn't seem to be reverse 
mappable.

--
Robin Becker
___
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 respond to possible attacks

2008-03-08 Thread Bill Campbell
On Sat, Mar 08, 2008, Robin Becker wrote:
Sorry if this is too off topic, but I would like to find out what to do 
when you suspect a possible dos attack on your system. I know there are 
many experienced sysadmins here.
Although my system (freebsd 6.0/apache 2.0.x) did in fact hold up, what 
steps should I be taking? The originating ip doesn't seem to be reverse 
mappable.

The first thing to do is ``whois ipaddress'' which probably will
identify the owner of the ip block.

One can also identify name servers by reversing the octets in the
IP address, then querying for the name server(s) responsible for
the reverse dns.  This if the IP address is 1.2.3.4, one would
try the following searches until one returns something useful.

dig 4.3.2.in-addr.arpa. ns
dig 3.2.in-addr.arpa. ns
dig 2.in-addr.arpa. ns

The next step would be to attempt to contact the owners of the
name servers.

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

We'll show the world we are prosperous, even if we have to go broke to do
it. -- Will Rogers
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


IPv6 6to4

2008-03-08 Thread Ofloo

When using 6to4 extensively the system crashes I've never had this with gif
tunnels though every since I've started using 6to4 and stf interface this
happens especially when the v6 gateway is unreachable for short time, ..

I haven't seen the error yet but I do know i had this before,  well it's not
showing in the /var/log/all.log nor /var/log/messages, however I do remember
something about non-sleeping thread or something..

If anyone needs more info let me know I'll be more then happy to provide a
system to test on if required currently i have 3 exact systems which have
this issue.

Regards, ..
-- 
View this message in context: 
http://www.nabble.com/IPv6-6to4-tp15921128p15921128.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

___
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 respond to possible attacks

2008-03-08 Thread Mel
On Saturday 08 March 2008 23:34:56 Robin Becker wrote:

 The originating ip doesn't seem to be reverse
 mappable.

sure it is: whois(1) is your friend.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
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 respond to possible attacks

2008-03-08 Thread Siraj Shaikh
On 08/03/2008, Robin Becker [EMAIL PROTECTED] wrote:
 Sorry if this is too off topic, but I would like to find out what to do
 when you suspect a possible dos attack on your system. I know there are
 many experienced sysadmins here.
 Although my system (freebsd 6.0/apache 2.0.x) did in fact hold up, what
 steps should I be taking? The originating ip doesn't seem to be reverse
 mappable.
 --

Robin

Are you only interested in finding out about the source of these
attacks, have you got some firewall configured? Is there any
particular service being targeted, what kind of packets are coming
through?

Also, making sure if the same ip is targetting any other hosts on your
network, or any previous attempts at probing this machine or other
hosts.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading from 6.2 to 7.0

2008-03-08 Thread Adam J Richardson

The-IRC Hosting Administration Team wrote:

Just use a cvsup file like this and run it with cvsup -g -L 2 cvs-supfile
*default host=cvsup4.us.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_7
*default delete
*default compress
*default use-rel-suffix
src-all

After you've obtained the new sourcecode do the following.

`cd /usr/src'   (or to the directory containing your source tree).
`make buildworld'
`make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC).
`make installkernel KERNCONF=YOUR_KERNEL_HERE'   (default is GENERIC).
`reboot'(in single user mode: boot -s from the loader prompt).
`mergemaster -p'
`make installworld'
`mergemaster'
`reboot'


Hi all,

I mentioned I'd report back. I followed the usual upgrade instructions 
provided above. Everything built and installed smoothly.


Before:
%uname -rims
FreeBSD 6.3-PRERELEASE i386 GENERIC

After:
%uname -rims
FreeBSD 7.0-STABLE i386 GENERIC

So all seems well. I won't mention ports here, I am just concerned with 
kernel and world for now.


That said... YMMV, #include disclaimer.h, etc

Regards,
Adam J Richardson

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


Re: What is a EOF or NL

2008-03-08 Thread Paul A. Procacci

Bob Falanga wrote:

I have been a long time trying to print anything on freebsd, as some know.
Everything seems to be working new but nothing is printed. Today I reboot
the computer and behold a page printed.  This implied to me that the printer
never receives a New Line or EOF or whatever the printer requires to proceed
printing what it has just received.
My question is where do I configure an option to print.


Sounds like to me your print daemon wasn't running.  The reboot started 
it automagically, and henceforth started the job.

As for configuration this depends entirely on the daemon you are using.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Help: downloading a file causes kernel panic w/ 7.0-R and rum

2008-03-08 Thread Alphons Fonz van Werven

Can somebody please help me with the following:

I'm connecting to the Internet using a (Cisco) Linksys WUSB54GC wireless USB
adapter with FreeBSD 7.0-RELEASE and its rum driver.

The device gets recognized, wpa_supplicant can associate to the WLAN, DHCP
obtains an IP address, all works fine. I can browse the Web with Lynx no
problems. But when I try to download a larger file (e.g. fetch a port or
package...), sooner or later (and usually sooner rather than later) a page
fault occurs and the kernel panics.

I've examined several crash dumps and they all mention the same instruction
pointer (for the standard GENERIC kernel that comes with 7.0-RELEASE):

Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x12
fault code  = supervisor read, page not present
instruction pointer = 0x20:0xc06b9e7a
stack pointer   = 0x28:0xe58f2be4
frame pointer   = 0x28:0xe58f2bfc
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = 23 (irq23: uhci0 ehci0)
trap number = 12
panic: page fault
cpuid = 0
Uptime: 1m9s
Physical memory: 2033 MB
Dumping 179 MB: 164 148 132 116 (CTRL-C to abort)  100 84 68 52 36 20 4

#0  doadump () at pcpu.h:195
195 pcpu.h: No such file or directory.
in pcpu.h

This can be traced back to somewhere within the rum driver:

(kgdb) list *0xc06b9e7a
0xc06b9e7a is in rum_txeof (/usr/src/sys/dev/usb/if_rum.c:842).
837 {
838 struct rum_tx_data *data = priv;
839 struct rum_softc *sc = data-sc;
840 struct ifnet *ifp = sc-sc_ic.ic_ifp;
841
842 if (data-m-m_flags  M_TXCB)
843 ieee80211_process_callback(data-ni, data-m,
844 status == USBD_NORMAL_COMPLETION ? 0 : 
ETIMEDOUT

);
845
846 if (status != USBD_NORMAL_COMPLETION) {
(kgdb)

Thanks in advance for any help,

Alphons

--
All right, that does it Bill [Donahue]. I'm pretty sure that killing Jesus
is not very Christian.
 -- pope Benedict XVI, South Park episode #158

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


[7.0] Stuck at md0: Preloaded image /boot/msfroot

2008-03-08 Thread Gilles
Hello

I looked at the archives and the FAQ, but didn't find a solution:
Using a 7.0 boot CD, FreeBSD gets stuck right after this message
trying to install itself on a 80GB Hitachi Deskstart IDE drive:

hptrr: no controller detected
md0: Preloaded image /boot/mfsroot ... bytes at 0x...

I can successfully run and install FreeBSD 6.2 on the same
host/hard-disk. Any idea what could cause this?

Thank you.

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


Sophos Puremessage

2008-03-08 Thread Peter Toth
Anyone is running Sophos Puremessage out there on FreeBSD 6.3 or 7.0?
Sophos has official support for 6.2 and just wondering if it's worth to
risk 6.3 or 7.0 for a big production box.

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


Re: subversion -make error

2008-03-08 Thread comperr
make distclean  make
returns the same exact erro

On Mar 7, 7:50 pm, David Kelly [EMAIL PROTECTED] wrote:
 On Fri, Mar 07, 2008 at 10:34:55AM -0800, comperr wrote:
  Hey - when I try make install clean on subversion I get

 make install clean usually works but it only says to build the install
 and clean targets, doesn't say in what order.

 make install  make clean resolves the ambiguity.

 --
 David Kelly N4HHE, [EMAIL PROTECTED]
 
 Whom computers would destroy, they must first drive mad.
 ___
 [EMAIL PROTECTED] mailing 
 listhttp://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: Printing with a laserjet 1018

2008-03-08 Thread Martin Alejandro Paredes Sanchez
El Mié 05 Mar 2008, Modulok escribió:
 Did you upload the firmware to the printer?

 I'm not sure if this printer is the same as mine (1020), but I think
 this is a dumb printer, which requires a firware upload each time it
 is power cycled. Unfortunately in my case, the FreeBSD USB driver had
 to be modified in order to talk with the printer, as it was not
 capable of communicating in a USB compliant manner, prior to the
 firmware upload. (Genius.)

 -Modulok-


I had the LaserJet 1018 and have the problem with the upload of the firmware, 
can you share what modification made to the USB driver?

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


Re: Printing with a laserjet 1018

2008-03-08 Thread Martin Alejandro Paredes Sanchez
El Mié 05 Mar 2008, Peter escribió:

 cat /usr/local/share/foo2zjs/firmware/sihp1018.dl  /dev/ugen0.1

 you might need to change your 'ugen0.1' to whatever USB port your printer
 is plugged into.  Before you can use the printer, you have to do that
 above 'cat' command to load firmware.

 make sure regular users can use the printer: [chmod 666]
 dsl:#ls -l /dev/ugen0.1
 crw-rw-rw-  1 root  operator0,  40 Mar  4 23:32 /dev/ugen0.1


Since your printer is attached to ugen, this mean that you made a custom 
kernel where you take off the ulpt driver

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


[6.2] Fails downloading packages

2008-03-08 Thread Gilles
Hello

Since 7.0 fails installing on a Hitachi IDE drive, I installed a
Minimal 6.2, but once done, its fails downloading packages:

freebsd# pkg_add -r bash

Error: FTP Unable to get
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.2-release/Latest/bash.tbz:
File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.2-release/Latest/bash.tbz'
by URL

Indeed, there's no
/pub/FreeBSD/ports/i386/packages-6.2-release/Latest/

Found it under /pub/FreeBSD/ports/i386/packages-6-stable/shells/

So...
1. cd /tmp
2. fetched bash-3.2.33.tbz
3. pkg_add -r ./bash-3.2.33.tbz
Error: FTP Unable to get
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.2-release/Latest/./bash-3.2.33.tbz:
File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.2-release/Latest/./bash-3.2.33.tbz'
by URL

Am I missing some configuration somewhere that would explain why 6.2
is having a hard time finding packages on the official site?

Thank you.

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


The FreeBSD Diary: 2008-02-17 - 2008-03-08

2008-03-08 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to freebsd-questions@freebsd.org with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives http://www.freebsd.org/search/search.html#mailinglists 
and/or The FreeBSD Diary http://www.freebsddiary.org/. 


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

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


Internal SD/MMC Card Slot Driver

2008-03-08 Thread Anish Mistry
I've got an internal O2 Micro SD/MMC Card Slot on my Fujitsu P8010 I'd 
like to get working.  I'm running 7.0-RELEASE amd64.  I've got the 
mmcsd and mmc devices loaded.  But these aren't attaching to the pci 
device.  Is there something else that needs to be load for it work?

http://am-productions.biz/docs/pciconf.txt

[EMAIL PROTECTED]:28:3:2:   class=0x080501 card=0x143d10cf chip=0x71201217 
rev=0x02 hdr=0x00
vendor = 'O2 Micro Inc'
device = 'Unknown device O2Micro Integrated MMC/SD controller'
class  = base peripheral

-- 
Anish Mistry


signature.asc
Description: This is a digitally signed message part.


7.0-RELEASE panics in ip_output

2008-03-08 Thread Nick Sayer
Since upgrading to 7.0-RELEASE, I seem to get a panic about once a  
week or so.


I have 6to4 set up on this machine, and the stack trace I get from  
kgdb usually looks something like this:


#0  doadump () at pcpu.h:195
#1  0xc062e2a7 in boot (howto=260) at /usr/src/sys/kern/ 
kern_shutdown.c:409

#2  0xc062e569 in panic (fmt=Variable fmt is not available.
) at /usr/src/sys/kern/kern_shutdown.c:563
#3  0xc084ce2c in trap_fatal (frame=0xe679875c, eva=76)
at /usr/src/sys/i386/i386/trap.c:899
#4  0xc084d0b0 in trap_pfault (frame=0xe679875c, usermode=0, eva=76)
at /usr/src/sys/i386/i386/trap.c:812
#5  0xc084da5c in trap (frame=0xe679875c) at /usr/src/sys/i386/i386/ 
trap.c:490

#6  0xc0833d3b in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#7  0xc06f23b9 in ip_output (m=0xc4494e00, opt=0x0, ro=0xc3eabbc4,  
flags=0,

imo=0x0, inp=0x0) at /usr/src/sys/netinet/ip_output.c:169
#8  0xc06ca751 in stf_output (ifp=0xc3ee1000, m=0xc4494e00,  
dst=0xc3ee5bdc,

rt=0xc3fb5780) at /usr/src/sys/net/if_stf.c:533
#9  0xc02d in nd6_output (ifp=0xc3ee1000, origifp=0xc3ee1000,
m0=0xc4494e00, dst=0xc3ee5bdc, rt0=0xc3fb5780)
at /usr/src/sys/netinet6/nd6.c:2123
#10 0xc07749f2 in ip6_output (m0=0xc4494e00, opt=0xc4089c80,  
ro=0xe6798a0c,

flags=0, im6o=0x0, ifpp=0x0, inp=0xc3fb2924)
at /usr/src/sys/netinet6/ip6_output.c:927
#11 0xc0785a27 in udp6_send (so=0xc424d630, flags=0, m=0xc4494e00,
addr=0xc3e4d880, control=0x0, td=0xc4246210)
at /usr/src/sys/netinet6/udp6_usrreq.c:675
#12 0xc0681785 in sosend_generic (so=0xc424d630, addr=0xc3e4d880,
uio=0xe6798bd4, top=0xc4494e00, control=0x0, flags=0,  
td=0xc4246210)

at /usr/src/sys/kern/uipc_socket.c:1240
#13 0xc067d74f in sosend (so=0xc424d630, addr=0xc3e4d880,  
uio=0xe6798bd4,

top=0x0, control=0x0, flags=0, td=0xc4246210)
at /usr/src/sys/kern/uipc_socket.c:1286
#14 0xc0683ed6 in kern_sendit (td=0xc4246210, s=27, mp=0xe6798c58,  
flags=0,
control=0x0, segflg=UIO_USERSPACE) at /usr/src/sys/kern/ 
uipc_syscalls.c:789

#15 0xc0686f91 in sendit (td=0xc4246210, s=27, mp=0xe6798c58, flags=0)
at /usr/src/sys/kern/uipc_syscalls.c:730
#16 0xc0687031 in sendmsg (td=0xc4246210, uap=0xe6798cfc)
at /usr/src/sys/kern/uipc_syscalls.c:922
#17 0xc084d405 in syscall (frame=0xe6798d38)
at /usr/src/sys/i386/i386/trap.c:1035
#18 0xc0833da0 in Xint0x80_syscall () at /usr/src/sys/i386/i386/ 
exception.s:196

#19 0x0033 in ?? ()
Previous frame inner to this frame (corrupt stack?)

The exact details can vary, but the line where things seem to blow up  
is always in this code in ip_output.c:


/*
 * If there is a cached route,
 * check that it is to the same destination
 * and is still up.  If not, free it and try again.
 * The address family should also be checked in case of  
sharing the

 * cache with IPv6.
 */
if (ro-ro_rt  ((ro-ro_rt-rt_flags  RTF_UP) == 0 ||
  dst-sin_family != AF_INET ||
  dst-sin_addr.s_addr != ip-ip_dst.s_addr)) {
RTFREE(ro-ro_rt);
ro-ro_rt = (struct rtentry *)NULL;
}


on the RTFREE line.

Is it just me, or is this something other folks have seen as well?

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