Donkeys crash FreeBSD6

2005-12-22 Thread Erik Norgaard

Hi:

I have tried using both mldonkey and xmule on my FreeBSD6, and both are 
able to crash the system.


I have used mostly mldonkey, and even running only the core the system 
crashes at unknown events: It has happened on FBSD 5.4 and 6.0 with & 
without X and other applications running. I also suspect mldonkey to 
have destroyed one disk.


Yesterday I tried xmule, but it only ran 4 hours then the system crashed.

I am fairly certain that no other program is causing the crash, it 
happens only if one of these are running and independent on what other 
applications are running. Without xmule or mldonkey running my system is 
stable as rock.


Any ideas of what is going on? Did IFPI add some evil patch? Any working 
alternatives?


Thanks, Erik
--
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt
Subject ID:  9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72
Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Could notconnect to port 3690

2005-12-22 Thread Georg Auernhammer
Thanks for your help.
started it in inetd.conf as tcp
now it's working
-- 
Georg Auernhammer
http://www.isnochys.de
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Group membership above 15 of them

2005-12-22 Thread Valerio daelli
On 12/21/05, Feczak Szabolcs <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I would like to have users with more than 15 groups. The default
> kern.ngroups: is 16 by default and readonly, and not even /etc/sysctl.conf
> allows to modify it after reboot, although securelevel is -1. I read
> somewhere
> that I need the modify the source and rebuild world for this. If I put
> myself
> into more than 15 groups I cannot login anymore and only
> sshd[52178]: initgroups(username,100): Invalid argument message
> in the syslog warns me about this - I think more warnings needed
> at some other point since you can easily lock out yourself from
> a remote system.
>
> So what steps should I take to let this configuration work.
> Isn't there an easier way  then rebuild wolrd ?


We have a configuration with 64 groups and it is pretty stable.
We modified the sources:

/usr/include/sys/syslimits.h
/usr/src/sys/sys/syslimits.h

and put the NGROUPS_MAX to 64.
Then we rebuilt everything and now it just works.

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


Re: KDE - how to?

2005-12-22 Thread Robert Slade
On Thu, 2005-12-22 at 07:30, Sasa Stupar wrote:
> --On 21. december 2005 19:43 +0100 Jorn Argelo <[EMAIL PROTECTED]> wrote:
> 
> > Sasa Stupar wrote:
> >
> >> Hi!
> >>
> >> I have been searching and trying to build a FreeBSD with KDE desktop
> >> but I have not luck. The X starts but only the xdm.
> >> Is there some nice step by step guide for it? Don't tell me for
> >> handbook since I have tried to do it without success.
> >>
> >> Regards,
> >
> > Open /etc/ttys with your favourite editor and search for this line:
> >
> > ttyv8   "/usr/X11R6/bin/xdm -nodaemon"  xterm   off secure
> >
> > Change this into:
> >
> > ttyv8   "/usr/X11R6/bin/kdm"  xterm   on secure
> >
> > And voila, KDM will start at boot.
> >
> > Best regards,
> >
> > Jorn
> 
> OK. KDE is starting on boot but it won't let me to log in as root nor I 
> can't su after I have logged in as normal user.
> And another thing: I have configure X with "xorgcfg -textmode" and I have 
> specified my card, monitor, resolution. Hence, after the log into my 
> account I have 640*480 only resolution. I have tried to change in 
> preferences>peripheral>display but I have only one choose 640*480.
> What am I missing here?

Sasa,

Setting up X-Windows with XDM and KDE is covered in detail in the
manual. You really should read it as unlike Windows or some flavors of
Linux you will not get far. You could have found the answers to the
questions you have asked in the manual, including this.

The section is:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html

KDE is generic and does not always sit well with FreeBSD which is better
run from the command line as it is more suited to server applications
which can do without the overhead of the GUI.

BTW I have found that the easiest way of setting the screen resolution
is to delete the unused settings so hat the scree section only has one
in it.

Rob

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


Re: Donkeys crash FreeBSD6

2005-12-22 Thread Jay
On 12/22/05, Erik Norgaard <[EMAIL PROTECTED]> wrote:
> Hi:
>
> I have tried using both mldonkey and xmule on my FreeBSD6, and both are
> able to crash the system.
>
> I have used mostly mldonkey, and even running only the core the system
> crashes at unknown events: It has happened on FBSD 5.4 and 6.0 with &
> without X and other applications running. I also suspect mldonkey to
> have destroyed one disk.
>
> Yesterday I tried xmule, but it only ran 4 hours then the system crashed.
>
> I am fairly certain that no other program is causing the crash, it
> happens only if one of these are running and independent on what other
> applications are running. Without xmule or mldonkey running my system is
> stable as rock.
>
> Any ideas of what is going on? Did IFPI add some evil patch? Any working
> alternatives?
>
> Thanks, Erik
> --
> Ph: +34.666334818  web: www.locolomo.org
> S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt
> Subject ID:  9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72
> Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>

In my case, it was bad capacitor on mobo which freezed system when
there were *heavy* hdd activity.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Connecting to internet.

2005-12-22 Thread arden
On Wed, 21 Dec 2005 23:41:57 -0500
"Chris Saunders" <[EMAIL PROTECTED]> wrote:

> Thanks for the reply Ruben (and others).  I did see these sections when 
> having a
> cursory look at the docs but was hoping for something simpler.  On some 
> older
> versions of Linux that I have installed there was a program called 
> adsl-setup
> that I used to get connected.  I thought FreeBSD would have something 
> similar
> and I was just not finding it.
> 
> Thanks again.
> Regards
> Chris Saunders

how is the internet connecting to your machine? usb or ethernet ?

Im guessing since you are using usb as far as I understand adsl-setup is a 
scipt 
to make setting up a usb device easier 

you would find it alot easier if you have an ethernet device just put in the 
log in details over a web browser interface connect to your machine(s) via dhcp 
and it dose all the work for you

I dosnt care if the client attached of the bds linux mac skyOS (off topic has 
anyone tryed skyos)  windows BeOS or something you've roled yourself as long as 
its "talking " the correct standard 

Arden

> 
> - Original Message - 
> From: "Ruben Bloemgarten" <[EMAIL PROTECTED]>
> To: "'Chris Saunders'" <[EMAIL PROTECTED]>; 
> 
> Sent: Wednesday, December 21, 2005 11:17 PM
> Subject: RE: Connecting to internet.
> 
> 
> > Chris,
> >
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/config-network-set
> > up.html
> >
> > and
> >
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-confi
> > gfiles.html
> >
> > Do try to take a *slightly* closer look next time, preferably before you
> > post a question. Thanks.
> >
> > Regards,
> > Ruben
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: FreeBSD router two DSL connections

2005-12-22 Thread Ted Mittelstaedt


>-Original Message-
>From: Danial Thom [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, December 21, 2005 9:56 AM
>To: Loren M. Lang; Ted Mittelstaedt
>Cc: Yance Kowara; freebsd-questions@freebsd.org
>Subject: Re: FreeBSD router two DSL connections
>
>
>All upstream ISPs are
>connected to everyone on the internet, so it
>doesn't matter which you send your packets to
>(the entire point of a "connectionless" network.
>They both can forward your traffic to wherever
>its going.

They aren't going to forward your traffic unless
it's sourced by an IP number they assign.  To
do otherwise means they would permit you to spoof IP
numbers.  And while it's possible some very small
ISP's run by idiots that don't know any better might
still permit this, their feeds certainly will not.

>For efficiencies sake, you may argue
>that sending to the ISP that sent you the traffic
>will be a "better path", but if one of your pipes
>is saturated and the other running at 20% 

letsseenow, these are full duplex 'pipes', can
we have some direction this saturation is taking
place in?  I mean, since you are at least trying to
make a senseless explanation sound right, you might
as well try a bit harder.

>then
>its likely more efficient to keep your pipes
>filled and send to "either" isp. You can achieve
>this with per-packet load-balancing with ciscos,

per packet load balancing is for parallel links
between 2 endpoints.  Not three, as in you,
your first ISP, and your second ISP.

Surprising you would drag up a Ciscoism as
your such a big fan of BSD-based routers.

>or bit-balancing with a product like ETs for
>FreeBSD. Unless your 2 isps are connected
>substantially differently (say if one is in
>Europe and one in the US),  you'll do better
>keeping your pipes balanced, as YOU are the
>bottleneck, not the upstream, assuming you have
>quality upstream providers.
>

Sometimes you run into someone who is so ignorant
of the subject of which he is trying to speak,
 - routing in this case - that you can't even
argue with the person.  Kind of like trying to
explain the concept of the fossil record to a
creationist.  This is one of these times.

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


RE: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song)

2005-12-22 Thread Ted Mittelstaedt

actually, I tested the ping-flooder from the my-security.net
link and surprisingly it works under W2K.  At least, enough
to be able to get the FreeBSD system it was targeted at to
start instituting ICMP limiting.  I have no idea if it could
in fact actually saturate a 100BaseT connection, or in fact if
any Win2K system could.  The presumption was that if Sasa
was indeed interesting in running it, we could move on to
a bit more sophistication, such as packet-counting access lists
on the FreeBSD router that he's publishing stats from.  Once
we get some numbers from that, we could begin doing some
rudimentary math to see what we have.

Unfortunately, though, looks like Sasa has lost interest in
the project when it started to require some effort to do. :-(

Ted

>-Original Message-
>From: Danial Thom [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, December 20, 2005 10:32 AM
>To: Ted Mittelstaedt; Sasa Stupar; freebsd-questions@freebsd.org
>Subject: RE: Polling For 100 mbps Connections? (Was Re: Freebsd Theme
>Song)
>
>
>LOL. Trying to dig ditches with ice cream sticks
>boys?
>
>--- Ted Mittelstaedt <[EMAIL PROTECTED]>
>wrote:
>
>> 
>> Sasa,
>> 
>>   Try this ping flooder then:
>> 
>>
>http://my-security.net/outofsite/ICMP%20Ping%20Flood.zip
>> 
>> Ted
>> 
>> >-Original Message-
>> >From: Sasa Stupar
>> [mailto:[EMAIL PROTECTED]
>> >Sent: Monday, December 19, 2005 12:00 AM
>> >To: Ted Mittelstaedt;
>> freebsd-questions@freebsd.org
>> >Subject: RE: Polling For 100 mbps Connections?
>> (Was Re: Freebsd Theme
>> >Song)
>> >
>> >
>> >It doesn't work on winxp. I am going to build
>> another machine
>> >with FreeBSD
>> >5.4 and I'll try it then and let you know the
>> results.
>> >
>> >Sasa
>> >
>> >--On 18. december 2005 14:02 -0800 Ted
>> Mittelstaedt
>> ><[EMAIL PROTECTED]>
>> >wrote:
>> >
>> >>
>> >> In looking at this again, I didn't realize
>> you were pinging from
>> >> Win2K
>> >>
>> >> Win2K uses the -f option to set the Do Not
>> Fragment bit, UNIX uses
>> >> the -f option to flood ping.  Win2k ping
>> does not have a flood ping
>> >> option.  You can download a ping for Windows
>> from Microsoft here:
>> >>
>> >>
>>
>http://research.microsoft.com/barc/mbone/mping.aspx
>> >>
>> >> that does have an option for flooding
>> traffic. ( set the milliseconds
>> >> between packets very low) but I have not
>> tested it.  Doubtless
>> >> others are available on the Internet.
>> >>
>> >> Ted
>> >>
>> >>> -Original Message-
>> >>> From: [EMAIL PROTECTED]
>> >>>
>> [mailto:[EMAIL PROTECTED]
>> Behalf Of Sasa Stupar
>> >>> Sent: Sunday, December 18, 2005 6:07 AM
>> >>> To: Ted Mittelstaedt;
>> freebsd-questions@freebsd.org
>> >>> Subject: RE: Polling For 100 mbps
>> Connections? (Was Re: Freebsd Theme
>> >>> Song)
>> >>>
>> >>>
>> >>> Nothing. From the GUI view it is at 0% of
>> utilisation.
>> >>>
>> >>> Sasa
>> >>>
>> >>> --On 18. december 2005 3:51 -0800 Ted
>> Mittelstaedt
>> >>> <[EMAIL PROTECTED]>
>> >>> wrote:
>> >>>
>> 
>>  what does the CPU of the router do when
>> your doing that?
>> 
>>  Ted
>> 
>> > -Original Message-
>> > From: [EMAIL PROTECTED]
>> >
>> [mailto:[EMAIL PROTECTED]
>> Behalf Of
>> >Sasa Stupar
>> > Sent: Sunday, December 18, 2005 3:00 AM
>> > To: Ted Mittelstaedt;
>> freebsd-questions@freebsd.org
>> > Subject: RE: Polling For 100 mbps
>> Connections? (Was Re:
>> >Freebsd Theme
>> > Song)
>> >
>> >
>> >
>> >
>> > --On 18. december 2005 2:32 -0800 Ted
>> Mittelstaedt
>> > <[EMAIL PROTECTED]>
>> > wrote:
>> >
>> >>
>> >>
>> >>> -Original Message-
>> >>> From:
>> [EMAIL PROTECTED]
>> >>>
>> [mailto:[EMAIL PROTECTED]
>> Behalf Of
>> >>> Sasa Stupar
>> >>> Sent: Sunday, December 18, 2005 2:21 AM
>> >>> To: Ted Mittelstaedt;
>> freebsd-questions@freebsd.org
>> >>> Subject: RE: Polling For 100 mbps
>> Connections? (Was Re: Freebsd
>> >>> Theme Song)
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> --On 18. december 2005 1:33 -0800 Ted
>> Mittelstaedt
>> >>> <[EMAIL PROTECTED]>
>> >>> wrote:
>> >>>
>> 
>> 
>> > -Original Message-
>> > From: Sasa Stupar
>> [mailto:[EMAIL PROTECTED]
>> > Sent: Friday, December 16, 2005 5:25
>> AM
>> > To: Ted Mittelstaedt;
>> [EMAIL PROTECTED]; Drew Tomlinson
>> > Cc: freebsd-questions@freebsd.org
>> > Subject: RE: Polling For 100 mbps
>> Connections? (Was Re: Freebsd
>> > Theme Song)
>> >
>> >
>> >
>> >
>> > --On 16. december 2005 3:36 -0800 Ted
>> Mittelstaedt
>> > <[EMAIL PROTECTED]>
>> > wrote:
>> >
>> >>
>> >>
>> >>> -Original Message-
>> >>> From: Sasa Stupar
>> [mailto:[EMAIL PROTECTED]
>> >>> Sent: Thursday, December 15, 2005
>> 12:34 AM
>> >>> To: Ted Mittelstaedt;
>> [EMAIL PROTECTED]; Drew Tomlinso

kern.mxdsiz option and ld-elf incompatibility

2005-12-22 Thread Xavier Otazu


Hello:

I am a newbie in FreeBSD. For the last days I am installing
FreeBSD 6.0 and the usual tools I use in Linux. I installed 'wine' and
it worked perfectly, but a problem appeared when changing a kernel boot
option.

I defined  ' kern.maxdsiz="1500M" ' in the /boot/loader.conf
file in order to enlarge available data for my programs. My computer
has 750Mb physical RAM and 1521Mb swap space. When defining high
amounts of datasize using this kernel option, wine complains with a
"/libexec/ld-elf.so.1 not found". But when defining moderated amounts
of datasize, for example kern.maxdsiz="700M", it works fine.

Is it a kernel bug, or do I have to tweak some other kernel
options?

Thanks in advance

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


RE: HP Pavillion laptop can't boot FreeBSD

2005-12-22 Thread Ted Mittelstaedt


>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Derrick Ryalls
>Sent: Wednesday, December 21, 2005 10:26 AM
>To: Ted Mittelstaedt
>Cc: FreeBSD Questions
>Subject: Re: HP Pavillion laptop can't boot FreeBSD
>
>
>> >-Original Message-
>> >From: [EMAIL PROTECTED]
>> >[mailto:[EMAIL PROTECTED] Behalf Of
>Derrick Ryalls
>> >Sent: Tuesday, December 20, 2005 9:02 PM
>> >To: FreeBSD Questions
>> >Subject: HP Pavillion laptop can't boot FreeBSD
>> >
>> >
>> >Greetings,
>> >
>> >I recently purchased an HP Pavillion laptop (dv8000) that has
>> >an AMD-64 CPU,
>> >with the intent on running FreeBSD 6.0 (i386) as a dual boot
>> >option.  I have
>> >installed BSD numerous times on various desktops, but this
>is my first
>> >attempt on a laptop.
>> >
>> >When I boot off the CD, before the boot menu comes up, an
>error message
>> >comes up: elf32_lookup_symbol: corrupt symbol table.  Then the
>> >normal boot
>> >menu comes up, at which point selecting option 1 (normal) or option 2
>> >(without ACPI) causes the BTX loader to halt after
>displaying some hex
>> >errors.  I even tried hitting option 6, unsettng acpi_load,
>> >then booting,
>> >but the same error comes up.
>> >
>> >I tried 6.0 AMD-64 and didn't get as far.  Before the boot menu
>> >could come
>> >up, it continually spews what appears to be the same/similar
>> >hex errors and
>> >didn't even respond to Cntrl-Alt-Delete.  Trying 5.4, I don't
>> >get the elf32
>> >error before the boot menu, but if I select option 1 it has
>> >trouble loading
>> >ACPI and then shuts down.  Selecting option 2 (with the 5.4
>cd) does not
>> >bring up an error, the system just shuts down.  Out of
>> >curiousity, I tried a
>> >Knoppix 4.0 CD and was able to fully boot and get a functioning
>> >system up
>> >(albeit running off the CD).
>> >
>> >My bios has painfully few options, such as boot order and
>disabling the
>> >onboard wireless nic, nothing else.
>> >
>> >Is there something else I should try, or do I have to wait
>for the time
>> >being?
>> >
>> >TIA for any suggestions.
>> >
>> >-Derrick
>> On 12/21/05, Ted Mittelstaedt <[EMAIL PROTECTED]> wrote:
>> >
>> > boot off floppies and try a ftp install.  Or, boot windows
>> > and burn the freebsd cd in the laptop (i assume the laptop has
>> > a cd burner) sounds like a media error.
>> >
>> > Ted
>>
>>
>I don't have a floppy drive to use, but in any case I used 3 different
>FreeBSD CDs, all failed.  One of the CDs I had previously used
>to install on
>a desktop, so I doubt it is a media issue.
>

Try booting a 4.11 CD, I have systems which will boot 4.11 fine
but will not boot 5.4 or later.  If an install works on that, I would
send-pr the bug.

Also, make sure to firmware/bios update the laptop.

Ted

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


Re: Donkeys crash FreeBSD6

2005-12-22 Thread Erik Norgaard

Jay wrote:

On 12/22/05, Erik Norgaard <[EMAIL PROTECTED]> wrote:


Hi:

I have tried using both mldonkey and xmule on my FreeBSD6, and both are
able to crash the system.

I have used mostly mldonkey, and even running only the core the system
crashes at unknown events: It has happened on FBSD 5.4 and 6.0 with &
without X and other applications running. I also suspect mldonkey to
have destroyed one disk.

Yesterday I tried xmule, but it only ran 4 hours then the system crashed.

I am fairly certain that no other program is causing the crash, it
happens only if one of these are running and independent on what other
applications are running. Without xmule or mldonkey running my system is
stable as rock.


In my case, it was bad capacitor on mobo which freezed system when
there were *heavy* hdd activity.


Interesting, I can't really talk about heavy disk activity:

With mldonkey it appears to be big files, and system may run out of 
memory to handle this? With xmule I see no such indication, I got just 
2.5MB of an ISO. Is this a problem with all ed2k clients?


Is bittorrent more stable protocol/implementation? Which client is 
recomendable?


Thanks, Erik

--
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt
Subject ID:  9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72
Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


libm.so.3 problem

2005-12-22 Thread Frank Bonnet

Hello

I compiled xtraceroute from ports without noise but when I started it I 
get this error message.


> xtraceroute
/libexec/ld-elf.so.1: Shared object "libm.so.3" not found, required by 
"libGL.so.1"


of course this file is not present there is a libm.so.2 instead ...

I am at 6.0-R

any help welcome !

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


sysctl kern.cp_time: calculating output

2005-12-22 Thread Russell J. Wood
Hi all,

I have a question regarding the output from sysctl kern.cp_time.

I know that the output is in the form of:

  user nice sys interrupt idle

and that the numbers are incremental, but what I don't know is what
these numbers and increments mean.

If someone could explain this, it is greatly appreciated.

Regards,

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


Re: Donkeys crash FreeBSD6

2005-12-22 Thread Andrew P.
On 12/22/05, Erik Norgaard <[EMAIL PROTECTED]> wrote:
> Jay wrote:
> > On 12/22/05, Erik Norgaard <[EMAIL PROTECTED]> wrote:
> >
> >>Hi:
> >>
> >>I have tried using both mldonkey and xmule on my FreeBSD6, and both are
> >>able to crash the system.
> >>
> >>I have used mostly mldonkey, and even running only the core the system
> >>crashes at unknown events: It has happened on FBSD 5.4 and 6.0 with &
> >>without X and other applications running. I also suspect mldonkey to
> >>have destroyed one disk.
> >>
> >>Yesterday I tried xmule, but it only ran 4 hours then the system crashed.
> >>
> >>I am fairly certain that no other program is causing the crash, it
> >>happens only if one of these are running and independent on what other
> >>applications are running. Without xmule or mldonkey running my system is
> >>stable as rock.
> >>
> > In my case, it was bad capacitor on mobo which freezed system when
> > there were *heavy* hdd activity.
>
> Interesting, I can't really talk about heavy disk activity:
>
> With mldonkey it appears to be big files, and system may run out of
> memory to handle this? With xmule I see no such indication, I got just
> 2.5MB of an ISO. Is this a problem with all ed2k clients?
>
> Is bittorrent more stable protocol/implementation? Which client is
> recomendable?
>
> Thanks, Erik
>
> --
> Ph: +34.666334818  web: www.locolomo.org
> S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt
> Subject ID:  9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72
> Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>

The problem with a bad capacitor causing random crashes
may or may not apply to any application on any PC.

We've got mldonkey here running for months on end. It has
never crashed itself or caused a system crash. 10 people
are using it through its web interface. It handles literally
terabytes of ed2k/bittorrent downloads.

Good luck!

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


RE: FreeBSD router two DSL connections

2005-12-22 Thread pretenda
> Which is not redundant.

 

> Considering the OP asked for specifics on how to do this and your 

> response as been a bunch of theoretical gobbdleygook that is flat out 

> wrong network theory, you haven't done anything to help the poor bastard.

 

Hi,

 

This is a pretty firey debate.

 

I have a question along the lines of this thread. I currently have a 1.5Mbit
ADSL tail at the school that I work for. This tail connects to the Education
Office which hosts a variety of websites, we then get internet access
through the education office.

 

We currently also have 230 PCs, and the connection is slowing down
significantly. What I planned on doing was purchasing a 20Mbit ADSL 2+
connection and setting up a FreeBSD router which forwards all internet
traffic through the ADSL2+ connection, and the Education Office traffic
would be forwarded through the existing connection. Is this feasible? I
would assume that it would be a simple matter of letting the router know
what ranges need to be forwarded to the existing connection, and defaulting
the rest to the new connection.

 

Note there is NO load balancing in this scenario, so don't flame my head
off. 

 

Sorry if this is not making sense, I've had a long day.

 

Cheers,

Matt

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


Cflags and other compiling questions.

2005-12-22 Thread Kristian M / Struer.Net / Drift
Hi Folks

I'm kinda new to freebsd, i have been running Gentoo linux for a long time, and 
know you can optimize your programs if you compile them your self, i have 
already an portage collection, (witch i update with cvsup-without-gui) this 
works perfectly, but my question is, how can i optimize the programs?

>From gentoo, i have Cflags and march values, example, -march can be set to 
>pentium4 if this is the kind of cpu you have, and then the programs will be 
>compiled with optimizations for this kind of cpu. I actually dont know for 
>sure if this helps (performance, stability, anything) but it would be nice to 
>know.

Maybe someone can point me to some homepage or guide but it have to be simple 
as i dont have much time to do everything the right way, by reading all the 
welldocumentated stuff out there (although it would properly be for the best).

Happy holidays ;)

Regards
Kristian Mide
Denmark

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


amd64 + RAID freezing system

2005-12-22 Thread Georg Auernhammer
Hello!

i have an amd64 with Sata 80Gig Hardisk and extra RAID:

ad4: 76319MB  at ata2-master SATA150
ad8: 238475MB  at ata4-master SATA150
ad10: 238475MB  at ata5-master SATA150
ad12: 238475MB  at ata6-master SATA150
ad14: 238475MB  at ata7-master SATA150
ar0: 476837MB  status: READY
ar0: disk0 READY (master) using ad14 at ata7-master
ar0: disk1 READY (master) using ad10 at ata5-master
ar0: disk2 READY (mirror) using ad8 at ata4-master
ar0: disk3 READY (mirror) using ad12 at ata6-master

newfs and mounting ar0 works.
but as sonn as i am trying to write data on the RAID, the system
freezes.
i had some problems writing the label to ar0s1d
but after some reboots he managed to write the label on ar0.
only thing is, i cant write data...

Any suggestions?
-- 
Georg Auernhammer
http://www.isnochys.de
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Connecting to internet.

2005-12-22 Thread h p


Thanks for the reply Ruben (and others).  I did see these sections 
when having a cursory look at the docs but was hoping for something 
simpler.  On some older versions of Linux that I have installed there 
was a program called adsl-setup that I used to get connected.



Sounds like you're on a DSL line. The proper way to connect depends on 
what what your ISP is set up for. Mine uses a straight ethernet-to-ATM 
bridge, so I just ifconfig and I'm off. I hear a lot of ISPs use PPP 
over ethernet, and other stuff as well. Best would be to find out what 
your ISP uses. If it's PPP over ethernet, search the web site (and/or 
archives) for that phrase, or for PPPoE.


I thought FreeBSD would have something similar and I was just not 
finding it.



Not quite so automated here. There is dhclient, the DHCP client, which 
allows your machine to get a dynamic IP from your ISP. I've never used 
it but I know it exists.


Works very simple: In sysinstall, when you configure your network card, 
you simply answer 'yes' to the question whether you want to use DHCP. In 
my case, that sets the gateway to the internet correctly, and everything 
works out of the box, at home and in my office.
I don't know about something such as adsl-setup though. Best bet is to 
choose a provider whose ADSL-modem functions as a DHCP server, i think.


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


RE: libm.so.3 problem

2005-12-22 Thread Erin Fortenberry
You need to install /usr/ports/misc/compat5x

You might also let the maintainer of the port know this so he can fix the
problem in the Makefile.

-Erin


> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Frank Bonnet
> Sent: Thursday, December 22, 2005 5:32 AM
> To: FreeBSD
> Subject: libm.so.3 problem
> 
> Hello
> 
> I compiled xtraceroute from ports without noise but when I 
> started it I 
> get this error message.
> 
>  > xtraceroute
> /libexec/ld-elf.so.1: Shared object "libm.so.3" not found, 
> required by 
> "libGL.so.1"
> 
> of course this file is not present there is a libm.so.2 instead ...
> 
> I am at 6.0-R
> 
> any help welcome !
> 
> Thanks a lot
> -- 
> Regards
> Frank Bonnet
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "[EMAIL PROTECTED]"
> 

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


Re: FreeBSD router two DSL connections

2005-12-22 Thread Nathan Vidican

[EMAIL PROTECTED] wrote:

Which is not redundant.



 



Considering the OP asked for specifics on how to do this and your 



response as been a bunch of theoretical gobbdleygook that is flat out 




wrong network theory, you haven't done anything to help the poor bastard.



 


Hi,

 


This is a pretty firey debate.

 


I have a question along the lines of this thread. I currently have a 1.5Mbit
ADSL tail at the school that I work for. This tail connects to the Education
Office which hosts a variety of websites, we then get internet access
through the education office.

 


We currently also have 230 PCs, and the connection is slowing down
significantly. What I planned on doing was purchasing a 20Mbit ADSL 2+
connection and setting up a FreeBSD router which forwards all internet
traffic through the ADSL2+ connection, and the Education Office traffic
would be forwarded through the existing connection. Is this feasible? I
would assume that it would be a simple matter of letting the router know
what ranges need to be forwarded to the existing connection, and defaulting
the rest to the new connection.

 


Note there is NO load balancing in this scenario, so don't flame my head
off. 

 


Sorry if this is not making sense, I've had a long day.

 


Cheers,

Matt

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


First off, you might have posted this under a new subject/thread to avoid 
getting into the debate and to potentially get replies from those not interested 
in agruing this one anymore.


That said - there's all the flame you'll get from me. You should be able to 
connect both of your 'tails' (interesting term btw - never heard a 
pipe/connection called a 'tail') - and yes, specify which are to go out the pipe 
to your education office, set the default route to the other connection and you 
should be off to the races, ie:


Con1 (education office) xxx.xxx.xxx.xxx
Con2 (Large ADSL pipe)  yyy.yyy.yyy.yyy

route add 0.0.0.0 yyy.yyy.yyy.yyy
route add some.ip.net.work/24 xxx.xxx.xxx.xxx
route add some.other.ip.range/26 xxx.xxx.xxx.xxx

etc... Of course, depending on your configuration, you may have to use your 
upstream provided default route instead of the interface IP as indicated in the 
above example, (PPPoE uses your own IP as the default gateway, which is the case 
in -most- DSL setups). Anyhow, should be relatively straight-forward, just add 
the static routes to a script called when the connection is made, (for ppp, use 
ppp.links).


--
Nathan Vidican
[EMAIL PROTECTED]
Windsor Match Plate & Tool Ltd.
http://www.wmptl.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Connecting to internet.

2005-12-22 Thread Chris Saunders

Thanks so much Helge.  Tried this and everything is working
fine now.

Regards
Chris Saunders

Works very simple: In sysinstall, when you configure your network card, 
you simply answer 'yes' to the question whether you want to use DHCP. In 
my case, that sets the gateway to the internet correctly, and everything 
works out of the box, at home and in my office.
I don't know about something such as adsl-setup though. Best bet is to 
choose a provider whose ADSL-modem functions as a DHCP server, i think.


Helge


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


Re: libm.so.3 problem

2005-12-22 Thread Lowell Gilbert
Please don't top-post.  
I've reformatted the message for readability.

"Erin Fortenberry" <[EMAIL PROTECTED]> writes:

> Frank Bonnet wrote:
> > Subject: libm.so.3 problem
> > 
> > Hello
> > 
> > I compiled xtraceroute from ports without noise but when I 
> > started it I 
> > get this error message.
> > 
> >  > xtraceroute
> > /libexec/ld-elf.so.1: Shared object "libm.so.3" not found, 
> > required by 
> > "libGL.so.1"
> > 
> > of course this file is not present there is a libm.so.2 instead ...
> > 
> > I am at 6.0-R
> > 
> > any help welcome !
> > 
> > Thanks a lot
> > -- 
> > Regards
> > Frank Bonnet

> You need to install /usr/ports/misc/compat5x

It will solve the problem in this case, but in general the GL
libraries shouldn't depend on compat5x.  There are several ports to
get GL libraries from, but libglut, I'm pretty sure, doesn't require
the compat libraries.

A common way for this kind of problem to occur is for someone to
forget to recompile all of their ports when they upgrade from 5.x to
6.x.  Of course, it's also possible to get it by installing incorrect
versions of packages.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: FreeBSD router two DSL connections

2005-12-22 Thread Steve Bertrand

> If you have read this thread you will have already seen that 
> you cannot get increased throughput this way.
> 
> As I asked before, explain how a DSL line to SpiritOne 
> running at 1MBit/sec and a Comcast cable connection running 
> at 1MBit/sec will allow you to download the FreeBSD release 
> iso file at 2MBit/sec.  This will be interesting.
> 
> If you can't do it, which I will tell you that you can't, you 
> have not increased throughput.

I agree with this whole-heartedly.

> And as for redundancy, I already explained that while this 
> setup increases redundancy, the redundancy must be manually 
> done - monitored by a human, and switched over when needed - 
> or it will not react to the most common redundancy problems.

Well, technically, it could be scripted:

- load balancer pings primary upstream gateway
- primary upstream gateway does not respond
- run script that reconfigures routing tables, NAT etc accordingly

Which I wouldn't trust in a critical uptime environment. Plus, this
would NOT have the effect of increasing throughput.

> 
> > The primary problem is that you
> >need to make sure outgoing data for a connection is using 
> the same line 
> >as the incoming connection.
> 
> No, not at all.  The primary problem is that the incoming 
> data that is in response to the outgoing connection will come 
> in on the same line that the outgoing connection used.

Yes indeed. Unless you mask or 'spoof' your IP in the packet header as
it's going out, the traffic will always come back via the same pipe.
Unless of course your upstream allows this, which I doubt very much.

> >If the majority to all connections are
> >outgoing and both lines use NAT and have unique IP addresses, it's 
> >simpler to setup.
> >If you have incoming connections as well, either only one of the two 
> >lines will be used or you'll need BGP
> 
> Explain how to run BGP with a DSL line to Spirit One and a 
> cable line to Comcast.

BGP with two separate Internet providers such as those you speak of is
nearly impossible. Realistically, to run BGP, you have to have utmost
co-ordination between yourself, and BOTH providers. As soon as either
one disagrees (which they will), this will not work.

BGP is typically used in Point-to-Point connections. Generally, it's
used by ISP's to THEIR upstream providers. For instance, at the ISP at
which I work, part of the feed consists of three T-1's. Two of the T-1's
are bound together as a single channel (effectively doubling the
throughput), and the third is for load-balancing and redundancy. BGP is
used for this, but if I want to make a change, I have to get on the
phone with my upstream provider, and do the BGP changes together at both
ends.

Trying to do BGP with a single $40 to $80 DSL customer would not only be
financially wasteful because of wasted time and resources, most networks
are not set up to do this easily. As a matter of fact, just thinking
about it makes my head hurt.

If you really want this type of redundancy, and reliable throughput,
especially for a business, go the proper way and get your connection(s)
from an ISP's upstream provider. (Allstream, MCI, Sprint etc).

> >or some kind of
> >static route setup by the two ISPs.

We are a small ISP (<10,000 clients), and I wouldn't even do this. This
is easily something that could be forgotten it was done, slip through
the cracks, and cause all sorts of havoc down the road once the client
has up and left. Especially if the second provider mucks up their end.

Again, personally, the way I look at it is if you want to pay $40-$80
for your Internet connection, you technically get what you pay for.

If you REALLY wanted this done, you would have to personally know
someone inside the ISP who actually has direct and full access to the
infrastructure. I assure you, calling Comcast support desk and asking
them to 'please apply this routing structure for me' will get you no
where. You would have lost them at 'apply' :)

> >I have done this with a Linux router and using Comcast Cable and 
> >SpiritOne DSL.  We had all incoming connections use DSL and outgoing 
> >connections use either line.
> 
> You used the dual-NAT package that was detailed earlier which 
> is the only one that can do that - is specific to Linux - and 
> as I explained before, also will not permit you to take a 1MB 
> DSL line from one provider and a 1MB cable line from the 
> cable company and download a freebsd iso at 2MB.  Thus it is 
> not load-balancing because it does not actually use both 
> lines for a connection.
> 
> > We balanced them by internal IP addresses,
> 
> You did not balance them, you had some of the inside IP 
> numbers use one line, and others use the other line.  This 
> isn't load balancing.

Which, AFAICT, if the device sent data out one of the lines, it would
have come back in the same. Essentially, you are 'preserving' throughput
simply by dividing your network in half. This is not balancing.
Balancing is 'least-used'. In this configur

(no subject)

2005-12-22 Thread Chris

-- 
Best regards,
Chris

Almost anything is easier to get into than out of.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Rocket FM

2005-12-22 Thread DAve
Has anyone tried using the Rocket FM transmitter on FreeBSD? I have an 
old system and the family wants a house radio station.


Google didn't give any real info, and the ports tree shows no RocketFM 
driver.


Thanks,

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


Re: Bricked my machine, HELP

2005-12-22 Thread Tuc at T-B-O-H
> 
> Tuc at T-B-O-H <[EMAIL PROTECTED]> writes:
> 
> > Hi,
> > 
> > I was trying to upgrade from 4.X to 5.4 and I bricked my laptop...
> > 
> > When it boots, the last thing I see is :
> > 
> > atapci0:  port 
> > 0x376,0x170-0x177,0x3f6,0x1f0-0x1f
> > 7 at device 5.1 on pci0
> > atapci0: Lazy allocation of 0x10 bytes rid 0x20 type 4 at 0
> > ata0: channel #0 on atapci0
> > atapci0: Reserved 0x8 bytes for rid 0x10 type 4 at 0x1f0
> > atapci0: Reserved 0x1 bytes for rid 0x14 type 4 at 0x3f6
> > ata0: reset tp1 mask=03 ostat0=50 ostat1=00
> > ata0-master: stat=0x50 err=0x01 lsb=0x00 msb=0x00
> > ata0-slave:  stat=0x00 err=0x01 lsb=0x00 msb=0x00
> > ata0: reset tp2 stat0=50 stat1=00 devices=0x1
> > ata0: [MPSAFE]
> > ata1: channel #1 on atapci0
> > atapci0: Reserved 0x8 bytes for rid 0x18 type 4 at 0x170
> > atapci0: Reserved 0x1 bytes for rid 0x1c type 4 at 0x376
> > 
> > 
> > I tried doing a safe boot, EISA setting off, etc.. No luck. HELP!
> 
> Try setting ATAPI DMA off?
>
If I understand correctly, thats part of the "Safe boot" (I got
the beastie to come up after making a change) and it didn't help.

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


USB PenDrive question

2005-12-22 Thread Tuc at T-B-O-H
Hi,

I'm using a SOEKRIS box for an application, and I
have a 2G CF card as my primary drive. Its doing well and all,
but a 1.2G /usr partition just isn't cutting it.

Has anyone used any high capacity pen drives with
FreeBSD 5.4 (Like the http://www.memoryx.net/xpe4096.html)
and are there any "gotchas" I might have to worry about?

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


racoon on FreeBSD 6.0?

2005-12-22 Thread Vincent Chen
Hi, all

I have a VPN connection between FreeBSD 4.7 and Mandriva linux 2006, which
works fine for quite a while. Now, I upgrade FreeBSD 4.7 to 6.0 but found only
racoon2 available in package collection. After trying to build racoon from
port, I got 'port broken' message or something like that. I really don't like
racoon2, several startup scripts and different configuration. Is it possible
that I can get racoon running on 6.0, so I don't have to worry about new
configuration?


Thanks,

Vincent Chen



___  最新版 Yahoo!奇摩即時通訊 
7.0,免費網路電話任你打!  http://messenger.yahoo.com.tw/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


6.0 Release kernel panic - page fault

2005-12-22 Thread Abhi
Hi,
   I'm experiencing kernel panics with 6.0 Release. I did a fresh
install of 6.0 Release after playing with some linux distros and
Freebsd 5.4 Release. The only problem i had was due to faulty RAM. I
replaced the RAM and had no problems. But  for somedays my system has
started to panic randomly. All the crash dumps i got show something
wrong in the file pcpu.h at line 165.
 I'm ttaching my custom kernel configuration file and one crash dump i
got with kgdb. I hope someone can tell me why this's happening, and if
this's freebsd problem or  hardware problem.

Thanks for your help.

Greetings,
Abhijit

-
dmesg output:
-

Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 6.0-RELEASE #0: Sat Dec 17 13:02:27 IST 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/LUGBURZ
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (702.99-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
  
Features=0x383f9ff
real memory  = 535691264 (510 MB)
avail memory = 519077888 (495 MB)
npx0: [FAST]
npx0:  on motherboard
npx0: INT 16 interface
cpu0 on motherboard
pcib0:  pcibus 0 on motherboard
pir0:  on motherboard
pci0:  on pcib0
agp0:  mem
0xe800-0xebff,0xeff8-0xefff irq 11 at device 1.0 on
pci0
pcib1:  at device 30.0 on pci0
pci1:  on pcib1
isab0:  at device 31.0 on pci0
isa0:  on isab0
atapci0:  port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on
pci0
ata0:  on atapci0
ata1:  on atapci0
uhci0:  port 0xda00-0xda1f irq 9
at device 31.2 on pci0
uhci0: [GIANT-LOCKED]
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pcm0:  port 0xde00-0xdeff,0xdc00-0xdc3f irq 10 at
device 31.5 on pci0
pcm0: [GIANT-LOCKED]
pcm0: 
pmtimer0 on isa0
orm0:  at iomem 0xc-0xc7fff on isa0
atkbdc0:  at port 0x60,0x64 on isa0
atkbd0:  irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0:  irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse, device ID 3
fdc0:  at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0:  at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0:  on ppc0
plip0:  on ppbus0
lpt0:  on ppbus0
lpt0: Interrupt-driven port
ppi0:  on ppbus0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
unknown:  can't assign resources (memory)
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
unknown:  can't assign resources (irq)
Timecounter "TSC" frequency 702986027 Hz quality 800
Timecounters tick every 1.000 msec
ad0: DMA limited to UDMA33, controller found non-ATA66 cable
ad0: 19092MB  at ata0-master UDMA33
acd0: CDRW  at ata0-slave UDMA33
acd1: CDROM  at ata1-master PIO4
Trying to mount root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
Loading configuration files.
kernel dumps on /dev/ad0s1b
Entropy harvesting:
 interrupts
 ethernet
 point_to_point
 kickstart
.
swapon: adding /dev/ad0s1b as swap device
Starting file system checks:
/dev/ad0s1a: 1542 files, 43159 used, 210656 free (1800 frags, 26107
blocks, 0.7% fragmentation)
/dev/ad0s1h: DEFER FOR BACKGROUND CHECKING
/dev/ad0s1f: DEFER FOR BACKGROUND CHECKING
/dev/ad0s1e: DEFER FOR BACKGROUND CHECKING
/dev/ad0s1g: DEFER FOR BACKGROUND CHECKING
/dev/ad0s1d: DEFER FOR BACKGROUND CHECKING
cd0 at ata0 bus 0 target 1 lun 0
cd0:  Removable CD-ROM SCSI-0 device
cd0: 33.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not
present - tray closed
cd1 at ata1 bus 0 target 0 lun 0
cd1:  Removable CD-ROM SCSI-0 device
cd1: 16.000MB/s transfers
cd1: Attempt to query device size failed: NOT READY, Medium not present
WARNING: /data was not properly dismounted
WARNING: /home was not properly dismounted
WARNING: /tmp was not properly dismounted
/tmp: mount pending error: blocks 16 files 5
WARNING: /usr was not properly dismounted
WARNING: /var was not properly dismounted
Setting hostname: localhost.
lo0: flags=8049 mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet 127.0.0.1 netmask 0xff00
Additional routing options:
.
Starting devd.
Mounting NFS file systems:
.
Creating and/or trimming log files:
.
Starting syslogd.
Checking for core dump on /dev/ad0s1b...
savecore: reboot after panic: page fault
Dec 22 21:42:12 localhost savecore: reboot after panic: page fault
savecore: writing core to vmcore.1
Turni

Re: KDE How To ?

2005-12-22 Thread RW
On Wednesday 21 December 2005 18:25, Teo De Las Heras wrote:
> on a similar note, is it possible to create scripts that run after a user
> logs in.  I'm setting up freeBSD as my home PC and I don't like to go right
> into KDE.  However, I'd like startX to run when my wife logs in.

another way is to let kdm run, but hit ctrl-alt-Fn  (where n=2 - 8) to select 
another tty for text login. IMHO the console is best left for error messages 
anyway.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: KDE - how to?

2005-12-22 Thread Jorn Argelo

Sasa Stupar wrote:




--On 21. december 2005 19:43 +0100 Jorn Argelo <[EMAIL PROTECTED]> wrote:


Sasa Stupar wrote:


Hi!

I have been searching and trying to build a FreeBSD with KDE desktop
but I have not luck. The X starts but only the xdm.
Is there some nice step by step guide for it? Don't tell me for
handbook since I have tried to do it without success.

Regards,



Open /etc/ttys with your favourite editor and search for this line:

ttyv8   "/usr/X11R6/bin/xdm -nodaemon"  xterm   off secure

Change this into:

ttyv8   "/usr/X11R6/bin/kdm"  xterm   on secure

And voila, KDM will start at boot.

Best regards,

Jorn



OK. KDE is starting on boot but it won't let me to log in as root nor 
I can't su after I have logged in as normal user.
And another thing: I have configure X with "xorgcfg -textmode" and I 
have specified my card, monitor, resolution. Hence, after the log into 
my account I have 640*480 only resolution. I have tried to change in 
preferences>peripheral>display but I have only one choose 640*480.

What am I missing here?

1) Don't log into KDE as root. It's just not done. Create a normal user 
who is in the wheel group, which solves your su problem.
2) X -configure is the way to automatically configure your X server. 
Google for the Modes and DefaultDepth options in xorg.conf.

3) The FreeBSD handbook does an excellent job describing this :-)

Cheers,

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


Re: KDE - how to?

2005-12-22 Thread RW
On Thursday 22 December 2005 07:30, Sasa Stupar wrote:
> --On 21. december 2005 19:43 +0100 Jorn Argelo <[EMAIL PROTECTED]> wrote:
> > ttyv8   "/usr/X11R6/bin/kdm"  xterm   on secure
> >
> > And voila, KDM will start at boot.

> OK. KDE is starting on boot but it won't let me to log in as root nor I

that's a good thing

> can't su after I have logged in as normal user.

Are you in the wheel group?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Inconsistencies in df

2005-12-22 Thread Tim Lastine

Hi,

We are wondering why df gives such peculiar outputs on large disk 
drives?  The used space and the available space do not add up the 
reported size of the partition.  Is this a problem, or is it just the 
way it is?  We are using a 250 Gig SATA (ad4) drive and a 1000 Gig 
SATA Raid 0(da0) drive.   Incidentally, while partitioning the drives 
on install, the disk geometry warning came up for both drives.  We 
just used the geometry that the installer chose.



canicula-a# df -h
Filesystem  SizeUsedAvail   CapacityMounted on
/dev/ad4s1a 2.9G55M 2.6G2%  /
devfs   1.0K1.0K0B  100%/dev
/dev/ad4s1f 62G 4.0K57G 0%  /opt
/dev/da0s1d 906G4.0K833G0%  /raid
/dev/ad4s1e 3.9G810M2.8G22% /usr
/dev/ad4s1d 2.9G302K2.7G0%  /var

canicula-a# df
Filesystem  1K-blocks   UsedAvail   CapacityMounted 
on
/dev/ad4s1a 3049102 56150   2749024 2%  /
devfs   1   1   0   100%/dev
/dev/ad4s1f 644898644   593306720%  /opt
/dev/da0s1d 949613700   4   873644600   0%  /raid
/dev/ad4s1e 4058062 29730   2903688 22% /usr
/dev/ad4s1d 3045006 302 2801104 0%  /var


Thank You

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


GPGME fails to build under fresh 6.0 install

2005-12-22 Thread Michael Lieske

I'm doing a fresh install of FreeBSD 6.0 on my desktop system.  While
installing KDE from ports, the gpgme build crashed with the error quoted
below.  Google turns up little other than "try WITH_PTH and WITHOUT_PTH",
neither of which makes any difference (I used make -DWITH_PTH build and
make -DWITHOUT_PTH build).

Since pointyhat indicates gpgme builds just fine, and it built just fine
on the same machine under 5.4, I'm wondering if there's a dependency
borked or a misconfiguration somewhere.  Any clues on how to get it
working?

Thanks,
Micah


*** Error Excerpt ***
cc -O2 -fno-strict-aliasing -pipe -O2 -pipe -march=athlon -Wall
-Wcast-align -Wshadow -Wstrict-prototypes -o .libs/t-keylist-sig
t-keylist-sig.o  ../../gpgme/.libs/libgpgme.so -L/usr/local/lib
/usr/local/lib/libgpg-error.so -lintl -Wl,--rpath -Wl,/usr/local/lib
.../../gpgme/.libs/libgpgme.so: warning: warning: tmpnam() possibly used
unsafely; consider using mkstemp()
creating t-keylist-sig
if cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gpgme -I/usr/local/include  
-O2 -fno-strict-aliasing -pipe -O2 -pipe -march=athlon -Wall -Wcast-align
-Wshadow -Wstrict-prototypes -MT t-thread1.o -MD -MP -MF
".deps/t-thread1.Tpo" -c -o t-thread1.o t-thread1.c; \
then mv -f ".deps/t-thread1.Tpo" ".deps/t-thread1.Po"; else rm -f
".deps/t-thread1.Tpo"; exit 1; fi
/bin/sh /usr/local/bin/libtool15 --tag=CC --mode=link cc  -O2
-fno-strict-aliasing -pipe -O2 -pipe -march=athlon -Wall -Wcast-align
-Wshadow -Wstrict-prototypes   -o t-thread1 -L/usr/local/lib/pth
t-thread1.o ../../gpgme/libgpgme-pthread.la
cc -O2 -fno-strict-aliasing -pipe -O2 -pipe -march=athlon -Wall
-Wcast-align -Wshadow -Wstrict-prototypes -o .libs/t-thread1 t-thread1.o 
-L/usr/local/lib/pth ../../gpgme/.libs/libgpgme-pthread.so
-L/usr/local/lib /usr/local/lib/libgpg-error.so -lintl -Wl,--rpath
-Wl,/usr/local/lib
.../../gpgme/.libs/libgpgme-pthread.so: warning: warning: tmpnam() possibly
used unsafely; consider using mkstemp()
t-thread1.o(.text+0x847): In function `main':
: undefined reference to `pthread_create'
t-thread1.o(.text+0x86a): In function `main':
: undefined reference to `pthread_create'
t-thread1.o(.text+0x87d): In function `main':
: undefined reference to `pthread_join'
t-thread1.o(.text+0x890): In function `main':
: undefined reference to `pthread_join'
gmake[3]: *** [t-thread1] Error 1
gmake[3]: Leaving directory
`/usr/ports/security/gpgme/work/gpgme-1.0.3/tests/gpg'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/usr/ports/security/gpgme/work/gpgme-1.0.3/tests'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/security/gpgme/work/gpgme-1.0.3'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/security/gpgme.



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


what's an equivalent for the following Perl one-liner?

2005-12-22 Thread Mikhail Teterin
I'd like a sed string, that will remove both the carriage returns and the 
blanks at eol in one go. Perl appears to recognize the \r character and DTRT:

perl -p -e 's,[ \r]+$,,' < in > out

What's the sed's equivalent? Thanks!

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


Re: Inconsistencies in df

2005-12-22 Thread Greg Barniskis

Tim Lastine wrote:

Hi,

We are wondering why df gives such peculiar outputs on large disk 
drives?  


If I'm not mistaken, it's because "Available" is a relative term. 
Some space is reserved by the OS for itself. See part 9.25 of


http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html

I haven't done the math against your example, but I'd wager it adds 
up correctly if you revise your assumptions accordingly.


--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
, (608) 266-6348
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Inconsistencies in df

2005-12-22 Thread Greg Barniskis

Greg Barniskis wrote:

Tim Lastine wrote:


Hi,

We are wondering why df gives such peculiar outputs on large disk 
drives?  



If I'm not mistaken, it's because "Available" is a relative term. Some 
space is reserved by the OS for itself. See part 9.25 of


http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html

I haven't done the math against your example, but I'd wager it adds up 
correctly if you revise your assumptions accordingly.




Sorry, 9.25 and 9.26 both.

--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
, (608) 266-6348
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: KDE - how to?

2005-12-22 Thread Sasa Stupar



--On 22. december 2005 17:19 + RW <[EMAIL PROTECTED]> 
wrote:



On Thursday 22 December 2005 07:30, Sasa Stupar wrote:

--On 21. december 2005 19:43 +0100 Jorn Argelo <[EMAIL PROTECTED]> wrote:
> ttyv8   "/usr/X11R6/bin/kdm"  xterm   on secure
>
> And voila, KDM will start at boot.



OK. KDE is starting on boot but it won't let me to log in as root nor I


that's a good thing


can't su after I have logged in as normal user.


Are you in the wheel group?
___


No, I am not in wheel group. I thought I could su if I am not in the wheel 
group (well, at least I can do it on linux) but I am learning FreeBSD 
slowly.


BUt why it won't let me log in as root? As I have read if the following 
line  has secure written then root logins are allowed:

ttyv8   "/usr/X11R6/bin/kdm"  xterm   on secure
or have I missaunderstood this?

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


Re: what's an equivalent for the following Perl one-liner?

2005-12-22 Thread Dan Nelson
In the last episode (Dec 21), Mikhail Teterin said:
> I'd like a sed string, that will remove both the carriage returns and
> the blanks at eol in one go. Perl appears to recognize the \r
> character and DTRT:
> 
>   perl -p -e 's,[ \r]+$,,' < in > out
> 
> What's the sed's equivalent? Thanks!

sed -E 's,[ ^M]*$,,' < in > out

Note the ^M is a single control-character (entered via Ctrl-V Ctrl-M at
a shell prompt for example).  sed does not parse backslash-escapes
except for \n which represents a newline.

-- 
Dan Nelson
[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: what's an equivalent for the following Perl one-liner?

2005-12-22 Thread Mikhail Teterin
четвер 22 грудень 2005 13:32, Dan Nelson Ви написали:
> In the last episode (Dec 21), Mikhail Teterin said:
> > I'd like a sed string, that will remove both the carriage returns and
> > the blanks at eol in one go. Perl appears to recognize the \r
> > character and DTRT:
> >
> > perl -p -e 's,[ \r]+$,,' < in > out
> >
> > What's the sed's equivalent? Thanks!
>
> sed -E 's,[ ^M]*$,,' < in > out
>
> Note the ^M is a single control-character (entered via Ctrl-V Ctrl-M at
> a shell prompt for example).

Yes, I used this in the past, but the ports' Makefiles are supposed to be 
ASCII-only :-(

> sed does not parse backslash-escapes except for \n which represents a
> newline.

Is not that a bug really? There may be some legacy reasons not to do it by 
default, but I'd expect the -E flag to turn on the recognition of such 
symbols...

Thanks!

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


Re: KDE - how to?

2005-12-22 Thread Reko Turja
- Original Message - 
From: "Sasa Stupar" <[EMAIL PROTECTED]>
To: "RW" <[EMAIL PROTECTED]>; 


Sent: Thursday, December 22, 2005 8:32 PM
Subject: Re: KDE - how to?





--On 22. december 2005 17:19 + RW 
<[EMAIL PROTECTED]> wrote:



Are you in the wheel group?
___


No, I am not in wheel group. I thought I could su if I am not in the 
wheel group (well, at least I can do it on linux) but I am learning 
FreeBSD slowly.


You _must_ be in the wheel group to be able to su in any case. Linux 
people see whole wheel group and root as a bad thing for anarchistic 
society, BSD folks like the additional layer of security - One has to 
crack wheel group users password or account in order to get root in a 
machine using su.


BUt why it won't let me log in as root? As I have read if the 
following line  has secure written then root logins are allowed:

ttyv8   "/usr/X11R6/bin/kdm"  xterm   on secure
or have I missaunderstood this?


Secure means that root can login from these terminals directly (insecure 
terminals enforce the login as regular user then su:ing).


-Reko 
___

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


slice-table / partition-table

2005-12-22 Thread [EMAIL PROTECTED]
I have 2 hard drives on my system.  One (my main drive) has an
 MS-DOS  slice (naturally the first slice) and  3  FreeBSD  slices.
The other drive had 1  OS2  slice (just because an  OS2 CDROM  was used
to slice it up) and 1  MS-DOS  slice.  At one time, I was thinking of
putting the boot program on the second hard drive, and may have done
it with the  CDROM  of  FreeBSD 4.7 .  Recently, while I was running
 MS-DOS  and processing e-mail (trying to remove an attachment from
a letter in order to save it in the  MS-DOS  slice on the second hard
drive) through  juno.com , I discovered that the  MS-DOS  slice on this
second hard drive was hosed (naturally, that discovery could only be
made while running  MS-DOS ), and verified that fact by trying to go to a 
directory on that second drive.   MS-DOS  didn't go there but complained, and 
following that I couldn't see anything on that second drive.
To investigate this, I rebooted into my  FreeBSD 4.3  slice and
found that the  slice-table  (often called "partition-table") on the second 
drive was identical to that of the first drive.  In fact, when I tried  fdisk  
on each drive, I found the results identical except for the size (# of 
cylinders) of the drives.  Originally, the second drive's  fdisk  results 
stated 3 heads and some sectors per cylinder (but I don't recall how many).  I 
conclude that there is a strong possibility that only the  slice-table  sector 
has been copied (from the first drive), though I have no idea how this could 
have happened (though I consider the possible putting of the boot program on 
the second hard drive as possibly contributory).  Does anyone have any idea of 
how this can happen?  Has anyone seen this or the like before?
I also conclude that there is a strong possibility that the rest of the 
second disk (i.e., my data on it) is okay, and if I can rebuild the  
slice-table  then I can recover the rest of the disk and all my data.  I think 
I can do this if I can get the following things/information:
1)  is there a duplicate of the  slice-table 
somewhere on the disk, and if so, where is it,  
and how can I examine it rather than the
primary  slice-table ,
and is there a way to have its contents replace
the contents of the primary  slice-table ,
2)  is there a program that can look at a(n entire) 
disk and break it up into contiguous sectors
that belong to particular systems (in my case   
OS2  or  MS-DOS ), {I would be willing to write such a 
program if someone would tell me how to  read sectors 
without a  slice-table  [say with  just an  LBA  
number] and how to recognize  whether a sector 
belongs to  OS2  or  MS-DOS ,  and any timing 
constraints for reading/writing  cylinders [e.g., usual 
timing for getting a read/write head to cylinder  0 
, the time
to move between cylinders, etc.], if such   
constraints exist [maybe we have fixed heads
and so no timing constraints]},
3)   FreeBSD  programs (or  Linux  programs or  
 MS-DOS  programs if  FreeBSD  programs aren't  
available) that can read any sector given its   
 LBA  number or the like [somewhat like  fdisk  
reads/writes of sector  0 ], what could be  really 
useful [if I have to rebuild files] is a program that 
reads a range of sectors and   greps  its contents, 
reporting the  LBA 
number [and some contents] of those sectors 
that pass the  grep  test,
4)  the structure of the  slice-table's  sector and 
of the  slice-table  and  FreeBSD  programs 
that can write specific values (given as
arguments [say in structures]) into the 
 slice-table  without affecting the contents of any 
other sector on that disk,
5)  how to mark a  slice  "",
6)   FreeBSD  programs (or  Linux  programs or  
 MS-DOS  programs if  FreeBSD  programs aren't  
available) other than  fdisk  that can write
the  slice-table's  sector (including its magic number 
and boot code) without affecting the conte

RE: FreeBSD router two DSL connections

2005-12-22 Thread Ted Mittelstaedt


>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of
>[EMAIL PROTECTED]
>Sent: Thursday, December 22, 2005 3:09 AM
>To: freebsd-questions@freebsd.org
>Subject: RE: FreeBSD router two DSL connections
>
>
>> Which is not redundant.
>
>
>
>> Considering the OP asked for specifics on how to do this and your
>
>> response as been a bunch of theoretical gobbdleygook that is flat out
>
>> wrong network theory, you haven't done anything to help the
>poor bastard.
>
>
>
>Hi,
>
>
>
>This is a pretty firey debate.
>
>
>
>I have a question along the lines of this thread. I currently
>have a 1.5Mbit
>ADSL tail at the school that I work for. This tail connects to
>the Education
>Office which hosts a variety of websites, we then get internet access
>through the education office.
>
>
>
>We currently also have 230 PCs, and the connection is slowing down
>significantly. What I planned on doing was purchasing a 20Mbit ADSL 2+
>connection and setting up a FreeBSD router which forwards all internet
>traffic through the ADSL2+ connection, and the Education Office traffic
>would be forwarded through the existing connection. Is this feasible?

The easiest way would be to purchase a DSL modem/router for use
with the ADSL2 connection (or a ADSL2 modem coupled to a
etherent-to-ethernet
DSL router)  Set this up as a network address translator, plug it
into your school network. (you can use FreeBSD for this if you want)  You
will need
to do a bit of exploring to find out the subnets that the ED office is
using.

For example, suppose ED office has assigned IP subnet 10.0.10.0/24
to your school.  Their existing DSL tail has an IP number of 10.0.10.1
on it.  You have your PC's seup to use IP addresses 10.0.10.10 -
10.0.10.240
with a subnet mask of 255.255.255.0 and a gateway of 10.0.10.1

You do some queries with nslookup to find out all the IP adresses of the
Ed servers, and you find they are on subnets 10.0.12.x,   10.0.15.x,
192.168.4.x, etc.

So, first thing you do is you setup your BSD system/DSL router/DSl modem
as a translator, and set it's internal interface IP address to 10.0.10.2

Then you add in a bunch of static routes into it for the ED subnets you
discovered, pointing those subnets to 10.0.10.1

Last you set your PC's to use 10.0.10.2 as their default gateway.

When the PC's send traffic to the Internet the router sends that out the
ADSL2 line

When the PC's send traffic to ED, the router issues an ICMP redirect that
installs an ICMP route in the PC's that points to 10.0.10.1 for that
host.

Ted

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


Re: what's an equivalent for the following Perl one-liner?

2005-12-22 Thread Tijl Coosemans
On Thursday 22 December 2005 20:14, Mikhail Teterin wrote:
> четвер 22 грудень 2005 13:32, Dan Nelson Ви написали:
> > In the last episode (Dec 21), Mikhail Teterin said:
> > > I'd like a sed string, that will remove both the carriage returns
> > > and the blanks at eol in one go. Perl appears to recognize the \r
> > > character and DTRT:
> > >
> > >   perl -p -e 's,[ \r]+$,,' < in > out
> > >
> > > What's the sed's equivalent? Thanks!
> >
> > sed -E 's,[ ^M]*$,,' < in > out
> >
> > Note the ^M is a single control-character (entered via Ctrl-V
> > Ctrl-M at a shell prompt for example).
>
> Yes, I used this in the past, but the ports' Makefiles are supposed
> to be ASCII-only :-(

Try col(1) or tr(1) to remove the carriage return and then sed to remove 
the spaces.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: what's an equivalent for the following Perl one-liner?

2005-12-22 Thread Mikhail Teterin
> Try col(1) or tr(1) to remove the carriage return and then sed to remove
> the spaces.

Well, yes, but that's a two-stage process. A shame to go through the whole 
file twice just because our tools aren't good enough.

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


Re: New host and apache?

2005-12-22 Thread Daniel A.
Funny,
I fixed the problem.

The problem was not what I thought it was.
The problem was related to (At least) the mysql and mysqli extensions of PHP5.
Although, I did recompile these extensions a few times, it only worked
the very last time I recompiled them.
On 12/21/05, Daniel A. <[EMAIL PROTECTED]> wrote:
> Just yesterday, I decided that I would move over my domain to use it
> with my home server.
> So I did all the DNS-related stuff, and it worked fine.
> But, to change the host on the server was not so easy.
>
> After doing this:
> hostname shizlit.info
> edit /etc/hosts to reflect changes
> --snip etc/hosts--
> ::1 localhost.shizlit.info localhost
> 127.0.0.1   localhost.shizlit.info localhost
> 192.168.0.2 mooh.shizlit.info mooh
> 192.168.0.2 mooh.shizlit.info.
> ---snip end /etc/hosts--
>
> Whenever I try to run the httpd (Apache 1.3.34), it exits with the
> following error:
> httpd in free(): error: junk pointer, too high to make sense
>
> However, if I comment the lines "AddModule mod_php5.c" and "LoadModule
> php5_modulelibexec/apache/libphp5.so" in httpd.conf, the
> server starts just fine.
> I've tried rebuilding php5 and it's extensions from ports.
>
> Could anyone tell me how to do this right?
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: what's an equivalent for the following Perl one-liner?

2005-12-22 Thread Don Hinton
On Thursday 22 December 2005 13:52, Mikhail Teterin wrote:
> > Try col(1) or tr(1) to remove the carriage return and then sed to remove
> > the spaces.
>
> Well, yes, but that's a two-stage process. A shame to go through the whole
> file twice just because our tools aren't good enough.

How about this:

sed 's/ *[[:cntrl:]]$//' 

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

-- 
Don Hinton 615.480.5667
ISIS, Vanderbilt University


pgpuOloR8y33y.pgp
Description: PGP signature


HP Scanner:: zilch

2005-12-22 Thread Gary Kline
Folks,

Before I write off the HP Scanjet 4100c, I thought it's 
best to check with the list first.  

I have "device usb" in the kernel; I did a kernel load of
uscanner.ko and a kldstat shows that the module is there.
My two USB ports seem to be alive.  Is there a command to
double-check??

I have yet to reboot to reinitialize my 5.3 system.  Otherwise,
can anybody suggest ideas of things to try next?  xsane execs
but cannot find anything.

thanks for some clues.

gary

PS: In /usr/local/etc/sane.d, the hp.conf file lists the 
4100c with two heex addrs.   

PPS:  I got this from a fellow engineer who bought the thing
  boxed, unopened, and marked "AS IS" so yeah, it may not
  be working.


-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: HP Scanner:: zilch

2005-12-22 Thread albi
On Thu, 22 Dec 2005 14:16:58 -0800
Gary Kline <[EMAIL PROTECTED]> wrote:

>   Before I write off the HP Scanjet 4100c, I thought it's 
>   best to check with the list first.  
> 
>   I have "device usb" in the kernel; I did a kernel load of
>   uscanner.ko and a kldstat shows that the module is there.
>   My two USB ports seem to be alive.  Is there a command to
>   double-check??

two commands to try :

scanimage -L
sane-find-scanner

(you might want to try this as root if you don't find anything as a
normal user, after (scanner is found) that fix permissions)

-- 
grtjs, albi
gpg-key: lynx -dump http://scii.nl/~albi/gpg.asc | gpg --import
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


openldap setup question

2005-12-22 Thread Louis LeBlanc
I know this is OT, but I'm trying to set up an LDAP server
(openldap-2.2.29 client and server from ports) for user address books.

I'm not interested in setting up LDAP authentication for the whole
system.  I'd prefer the ldap server use the regular login passwords,
like the imap server does - the interface to change these is just
easier to deal with for me.

At this point, I have the server set up, and I've installed the java
based ldapbrowser package (from ports, of course) and it seems to be
able to add users.  Unfortunately, the users added don't seem to be
able to add or modify their own address books, and I have to have
their password to add them - which I don't like.

I don't want a network wide address book, like a company would use, I
want my 3 users to be able to import their address books and have them
available to themselves only - no anonymous connection, no access to
any users book by other users.

Ideally, I'd like to see bookmarks saved this way too, but I don't
think most browsers can read them over LDAP.  Oh well.

So, can anyone tell me if this is a realistic application of the LDAP
tools?  If so, any pointers to the docs that actually describe these
two features/uses?  There are dozens of howtos and quick start guides
out there, but I have yet to find one that addresses PAM
authentication and user writeable address books.

I know LDAP is a good tool for authentication, but I like having a
single access route - namely the system login.  This makes it much
easier to be sure all users can change *all* their passwords in one
go.  Having separate login dbs for samba, sasl, shell, and ldap would
make that quite a pain.

TIA
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

diplomacy, n:
  Lying in state.


pgparUxaxDSvQ.pgp
Description: PGP signature


Re: ports security branch

2005-12-22 Thread Ian Moore
On Tuesday 20 December 2005 16:54, rihad wrote:
> Is there a security branch for the FreeBSD ports collection? 
No, there isn't.

> Let's say, 
> I installed FreeBSD 6.0 together with all needed -RELEASE ports/packages
> (i.e., those on the CD). Running security/portaudit after a while
> reveals that some of the installed packages have vulnerabilities. Am I
> on my own to go grab the fresh ports tree, and upgrade the affected
> software, suffering all the intricacies of the move by myself? 

CVSUP & Portupgrade or portupdate makes this process very simple, they manage 
all the intricacies for you. Check out Dru Lavigne's article on protupgrade 
for a simple portupgrade how-to:
http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html
I update my ports with it all the time and rarely have problems. 

If you only want to track security vulnerabilities, just portupgrade the ports 
that have vulnerabilities - that would be roughly equivalent to tracking a 
security branch.

> Debian 
> GNU/Linux has its security package updates, OpenBSD has a separately
> maintained "errata" ports branch (it's very likely you still get to
> download a newer release of the software, though).
>
> Sorry if this is a bit OT. I've already asked this on freebsd-questions@
> but they told me there's no such thing at all.

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpEFZiuYaARM.pgp
Description: PGP signature


Quake 3 and Punkbuster

2005-12-22 Thread Craig
I have the latest version (quake3-1.32b_4) of Quake 3 server running on a
FreeBSD 4-STABLE box. The server runs fine, but it seems the Punkbuster
anti-cheat software that is now bundled w/ Quake dosent want to load.

This is what I've done. The server runs as a normal user. All files and
executables are owned by that user. I have a .q3a/ DIR which contains the
config files and the "pb" directory (~/.q3a/pb). I ran pbweb.x86 to update
the the server Punkbuster (PB) files and added sv_punkbuster "1" to all
config files. But the server does not start PB. I then used rcon to access
the server from a Windows Quake client and enabled PB with pb_sv_enable
and wrote the permanent change with pb_sv_writecfg. I then rebooted the Q3
server and still no PB.

Anyone running Quake 3 under FreeBSD and have Punkbuster running that
could lend some assistance?

Craig

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


Re: HP Scanner:: zilch

2005-12-22 Thread Warren Block

On Thu, 22 Dec 2005, Gary Kline wrote:


Before I write off the HP Scanjet 4100c, I thought it's
best to check with the list first.

I have "device usb" in the kernel; I did a kernel load of
uscanner.ko and a kldstat shows that the module is there.
My two USB ports seem to be alive.  Is there a command to
double-check??


Device detection should auto-load the uscanner module for you.


I have yet to reboot to reinitialize my 5.3 system.  Otherwise,
can anybody suggest ideas of things to try next?  xsane execs
but cannot find anything.

thanks for some clues.

gary

PS: In /usr/local/etc/sane.d, the hp.conf file lists the
4100c with two heex addrs.  


My Epson requires this line in epson.conf:

usb /dev/uscanner0

The hp.conf file kind of implies something similar, but I can't tell 
whether it would want the line above or this:


/dev/uscanner0
  option connect-device

-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Reading roots mail when connected remotely

2005-12-22 Thread freebsd-questions


On 21 dec 2005, at 20:55, Pietro Cerutti wrote:


On 12/21/05, Daniel A. <[EMAIL PROTECTED]> wrote:

Stupid question, I know :(
How do I read the mail sent to root, if I can only access my  
server via SSH?
When I su, and type "mail", it shows only mail to the user I  
connected with.


su - (with the minus sign) simulates a full login, see man su for  
details



...followed by:
mail -uroot

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


Re: Reboots under 6.0 while exercising md device

2005-12-22 Thread James Long
On Wed, Dec 21, 2005 at 08:35:19PM -0800, Brooks Davis wrote:
> On Wed, Dec 21, 2005 at 07:50:49PM -0800, James Long wrote:
[snip]
> > 
> > What do I need to fix to be able to use a RAM-backed filesystem?
> 
> From mdconfig(8):
> 
>  -t type
>  Select the type of the memory disk.
> 
>  malloc   Storage for this type of memory disk is allocated with
>   malloc(9).  This limits the size to the malloc bucket
>   limit in the kernel.  If the -o reserve option is not
>   set, creating and filling a large malloc-backed memory
>   disk is a very easy way to panic a system.
> 
> As a rule, swap or vnode backed md devices are a better idea than malloc
> ones.
> 
> -- Brooks

Thank you very much.  That not only works much better, it shatters my 
ignorant misconception about the -t switch.

If I may:

I naively assumed that a malloc'ed RAMDISK would just remove X number of
bytes of physical RAM from FreeBSD's VM system, and dedicate that RAM to a
memory disk.  Since this RAM would now be outside the VM system, contents
of such RAM could never be swapped out, thus my memory disk would
always be fast, but would reduce the physical RAM available to the VM system.

I assumed a swap-backed disk would do similar, but would be subject to swapping 
if the memory disk data hadn't been accessed recently, and demand for new
VM pages became sufficient to force the memory disk out of physical RAM into
swap.  My memory disk would usually be fast, provided that I accessed it 
frequently.
Parts of the disk that were not accessed frequently could be swapped out to
free up physical RAM, and re-accessing those parts would then mean a disk access
to swap in the pertinent pages.

I assumed a file-backed disk would  be about the same as a swap-backed md,
except that it's paged to and from a file system, instead of a swap partition.

How much of that is wrong? :)

And would *any* program that tried to malloc 500 megs of RAM be likely to
crash the system, or is this a unique skill that mdconfig has mastered?

Thanks!

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


Re: HP Scanner:: zilch

2005-12-22 Thread Gary Kline
On Thu, Dec 22, 2005 at 11:26:37PM +0100, albi wrote:
> On Thu, 22 Dec 2005 14:16:58 -0800
> Gary Kline <[EMAIL PROTECTED]> wrote:
> 
> > Before I write off the HP Scanjet 4100c, I thought it's 
> > best to check with the list first.  
> > 
> > I have "device usb" in the kernel; I did a kernel load of
> > uscanner.ko and a kldstat shows that the module is there.
> > My two USB ports seem to be alive.  Is there a command to
> > double-check??
> 
> two commands to try :
> 
> scanimage -L
> sane-find-scanner
> 
> (you might want to try this as root if you don't find anything as a
> normal user, after (scanner is found) that fix permissions)
> 

Nada.  Either the transformer isn't working or the unit 
itseld is defective.  Or *both*.  That's what comes with
"AS-IS".

How can i be sure that my dual USB ports are working?  
Is "usbstats" (?) the right utility?  Again, I know 0.0
about USB.

thanks in advance,

gary



-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: Reboots under 6.0 while exercising md device

2005-12-22 Thread Brooks Davis
On Thu, Dec 22, 2005 at 04:11:02PM -0800, James Long wrote:
> On Wed, Dec 21, 2005 at 08:35:19PM -0800, Brooks Davis wrote:
> > On Wed, Dec 21, 2005 at 07:50:49PM -0800, James Long wrote:
> [snip]
> > > 
> > > What do I need to fix to be able to use a RAM-backed filesystem?
> > 
> > From mdconfig(8):
> > 
> >  -t type
> >  Select the type of the memory disk.
> > 
> >  malloc   Storage for this type of memory disk is allocated with
> >   malloc(9).  This limits the size to the malloc bucket
> >   limit in the kernel.  If the -o reserve option is not
> >   set, creating and filling a large malloc-backed memory
> >   disk is a very easy way to panic a system.
> > 
> > As a rule, swap or vnode backed md devices are a better idea than malloc
> > ones.
> > 
> > -- Brooks
> 
> Thank you very much.  That not only works much better, it shatters my 
> ignorant misconception about the -t switch.
> 
> If I may:
> 
> I naively assumed that a malloc'ed RAMDISK would just remove X number
> of bytes of physical RAM from FreeBSD's VM system, and dedicate that
> RAM to a memory disk.  Since this RAM would now be outside the VM
> system, contents of such RAM could never be swapped out, thus my
> memory disk would always be fast, but would reduce the physical RAM
> available to the VM system.

It allocates kernel address space which is quite scarce on 32-bit
platforms.  I'm not sure if it allocated physical memory.  Given the
panicking behavior, I suspect that is deferred.

> I assumed a swap-backed disk would do similar, but would be subject to
> swapping if the memory disk data hadn't been accessed recently, and
> demand for new VM pages became sufficient to force the memory disk
> out of physical RAM into swap.  My memory disk would usually be fast,
> provided that I accessed it frequently.  Parts of the disk that were
> not accessed frequently could be swapped out to free up physical RAM,
> and re-accessing those parts would then mean a disk access to swap in
> the pertinent pages.

I believe this is mostly accurate.  If you're actually out of memory,
there's a good chance you're going to be swapping anyway so this might
or might not actually cost you anything.  If you have frequent, randomly
distributed access to the file system it's likely to be expensive.  On
the other hand, if there are hot spots, the swapping may be beneficial
because it will allow other processes to proceed more efficiently.

> I assumed a file-backed disk would be about the same as a swap-backed
> md, except that it's paged to and from a file system, instead of a
> swap partition.

Basically.

> How much of that is wrong? :)
>
> And would *any* program that tried to malloc 500 megs of RAM be likely
> to crash the system, or is this a unique skill that mdconfig has
> mastered?

No, just any kernel process.  Userland processes have around 2GB (IIRC,
2.5GB by default) of address space each and the kernel gets what's left.
Since the kernel has to service everything else, that space goes fast.
64-bit architectures aren't so badly off since they have 2^63 bytes of
address space for the kernel.  They are still constrained by physical
memory so a large malloc late in the game may fail.

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4


pgp7NSdUxXHsQ.pgp
Description: PGP signature


Re: Inconsistencies in df

2005-12-22 Thread Parv
in message <[EMAIL PROTECTED]>,
wrote Tim Lastine thusly...
>
> We are wondering why df gives such peculiar outputs on large disk 
> drives?  The used space and the available space do not add up the 
> reported size of the partition.  Is this a problem, or is it just the 
> way it is?  We are using a 250 Gig SATA (ad4) drive and a 1000 Gig 
> SATA Raid 0(da0) drive
...
> canicula-a# df -h
> Filesystem   Size   Used   Avail  Capacity  Mounted on
> /dev/ad4s1a  2.9G   55M2.6G   2%/
...
> canicula-a# df
> Filesystem  1K-blocksUsed  Avail   Capacity Mounted on
> /dev/ad4s1a   3049102   56150 2749024 2%/
...
> /dev/ad4s1f  64489864   459330672 0%/opt
> /dev/da0s1d 949613700   4   873644600 0%/raid
> /dev/ad4s1e   4058062   29730 290368822%/usr
> /dev/ad4s1d   3045006 302 2801104 0%/var

(Tabs were evil in the above case as df outputs were not lined up
correctly; i have readjusted the above.)

Try to take 8% reserve in account ...

  df -t ufs \
  | tail +2 \
  | awk ' { sum = $3 + $4 +  $2 * 0.08 ;
printf "%s: space diff: %f\n" , $1 , $2 - sum
  }
'

... subject to rounding errors.  Here is an example ...

  # df
  Filesystem  1K-blocks Used   Avail Capacity  Mounted on
  /dev/ad0s2a13860651952   7556641%/
  devfs   11   0   100%/dev
  /dev/ad0s2d594926   417042  13029076%/usr
  /dev/ad0s2e47588695826  34199022%/var
  /dev/ad0s2g  16724102 11949534 343664078%/misc
  /dev/ad0s2f   287582216170 2629588 1%/work
  procfs  44   0   100%/proc

  # df -t ufs | tail +2 | awk '{ ... }' # awk program is given above
  /dev/ad0s2a: space diff: -0.48
  /dev/ad0s2d: space diff: -0.08
  /dev/ad0s2e: space diff: -0.88
  /dev/ad0s2g: space diff: -0.16
  /dev/ad0s2f: space diff: -1.76


  - Parv

-- 

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


Re: HP Scanner:: zilch

2005-12-22 Thread Gary Kline
On Thu, Dec 22, 2005 at 04:46:56PM -0700, Warren Block wrote:
> On Thu, 22 Dec 2005, Gary Kline wrote:
> 
> > Before I write off the HP Scanjet 4100c, I thought it's
> > best to check with the list first.
> >
> > I have "device usb" in the kernel; I did a kernel load of
> > uscanner.ko and a kldstat shows that the module is there.
> > My two USB ports seem to be alive.  Is there a command to
> > double-check??
> 
> Device detection should auto-load the uscanner module for you.
> 
> > I have yet to reboot to reinitialize my 5.3 system.  Otherwise,
> > can anybody suggest ideas of things to try next?  xsane execs
> > but cannot find anything.
> >
> > thanks for some clues.
> >
> > gary
> >
> > PS: In /usr/local/etc/sane.d, the hp.conf file lists the
> > 4100c with two heex addrs.  
> 
> My Epson requires this line in epson.conf:
> 
> usb /dev/uscanner0
> 
> The hp.conf file kind of implies something similar, but I can't tell 
> whether it would want the line above or this:
> 
> /dev/uscanner0
>   option connect-device

Hm, this is strange. I have two hp files in sane.d, both sseem
oriented toward Linux.  There is an entry for the 4100c in
"hp.conf", but it wants to create /dev/scanner.  

[EMAIL PROTECTED]:/usr/local/etc/sane.d# ll hp*
-r--r--r--  1 root  wheel  497 Dec 22 16:40 hp.conf
-r--r--r--  1 root  wheel  238 Oct  9 23:09 hp5400.conf

>From "hp.conf"::

[EMAIL PROTECTED]:/usr/local/etc/sane.d# more hp.conf 
scsi HP
# Uncomment the following if you have "Error during device I/O" on SCSI
#   option dumb-read
#
# The usual place for a SCSI-scanner on Linux
/dev/scanner
#
# USB-scanners supported by the hp-backend
# HP ScanJet 4100C
usb 0x03f0 0x0101
.
.
.

Would it make sense to create an "hp4100.conf" with your epson line
"usb /dev/uscanner0" as a first line?



> 
I am missing /dev/uscanner0.  How is this /dev created?  


q2 16:27  [5015] kldstat
Id Refs AddressSize Name
 1   11 0xc040 5e7530   kernel
 2   14 0xc09e8000 537f0acpi.ko
 31 0xc1aaf000 2000 blank_saver.ko
 41 0xc1ad1000 17000linux.ko
 51 0xc2352000 3000 uscanner.ko

Does this output look right?  This may be right the scanner 
wasn't seen.  I figured that by kldloading uscanner.ko, 
/dev/uscanner0 would be auto-created.  I need some other 
magic.




-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


strange ntpd problem in 6.0-RELEASE

2005-12-22 Thread Vincent Chen

Hi, all

I have the following 2 line in my rc.conf

ntpd_enable="YES"
ntpd_flags="-c /etc/ntp.conf -p /var/run/ntpd.pid"

after system reboot, I can see ntpd running but 'ntpq -p' gives nothing. I have
to 'killall ntpd' and '/usr/sbin/ntpd -c /etc/ntp.conf -p /var/run/ntpd.pid'
manually to get the peers connected like this.

ntpq -p

 remote   refid  st t when poll reach   delay   offset  jitter
==
*clock.isc.org   204.123.2.5  2 u  360  512   37  179.5121.236   4.032
+ntp-nasa.arc.na .GPS.1 u  367  512   37  178.9730.203   5.656
+time-a.nist.gov .ACTS.   1 u  361  512   37  245.621   -0.267   4.155
 220-130-158-52. 220.130.158.50   2 u  430  512   33   52.8237.489   5.799
+220-130-158-51. 220.130.158.50   2 u  373  512   37   50.8906.736   2.976
-220-130-158-71. 220.130.158.70   2 u  366  512   37   54.1606.995   7.094

Why ntpd has no peers after system first boot? Maybe it's firewall issue, can I
configure ntpd trying to talk to peers again automatically until peers
connected?

my ntp.conf:

#
# servers in US
#
server clock.isc.org prefer
server ntp.nasa.gov
server time-a.nist.gov

#
# servers in Taiwan
#
server time.stdtime.gov.tw
server tick.stdtime.gov.tw
server tock.stdtime.gov.tw

driftfile /etc/ntp.drift



Thanks, 

Vincent

___  最新版 Yahoo!奇摩即時通訊 
7.0,免費網路電話任你打!  http://messenger.yahoo.com.tw/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: HP Pavillion laptop can't boot FreeBSD

2005-12-22 Thread Derrick Ryalls
On 12/22/05, Ted Mittelstaedt <[EMAIL PROTECTED]> wrote:
>
>
>
> >-Original Message-
> >From: [EMAIL PROTECTED]
> >[mailto:[EMAIL PROTECTED] Behalf Of Derrick Ryalls
> >Sent: Wednesday, December 21, 2005 10:26 AM
> >To: Ted Mittelstaedt
> >Cc: FreeBSD Questions
> >Subject: Re: HP Pavillion laptop can't boot FreeBSD
> >
> >
> >> >-Original Message-
> >> >From: [EMAIL PROTECTED]
> >> >[mailto:[EMAIL PROTECTED] Behalf Of
> >Derrick Ryalls
> >> >Sent: Tuesday, December 20, 2005 9:02 PM
> >> >To: FreeBSD Questions
> >> >Subject: HP Pavillion laptop can't boot FreeBSD
> >> >
> >> >
> >> >Greetings,
> >> >
> >> >I recently purchased an HP Pavillion laptop (dv8000) that has
> >> >an AMD-64 CPU,
> >> >with the intent on running FreeBSD 6.0 (i386) as a dual boot
> >> >option.  I have
> >> >installed BSD numerous times on various desktops, but this
> >is my first
> >> >attempt on a laptop.
> >> >
> >> >When I boot off the CD, before the boot menu comes up, an
> >error message
> >> >comes up: elf32_lookup_symbol: corrupt symbol table.  Then the
> >> >normal boot
> >> >menu comes up, at which point selecting option 1 (normal) or option 2
> >> >(without ACPI) causes the BTX loader to halt after
> >displaying some hex
> >> >errors.  I even tried hitting option 6, unsettng acpi_load,
> >> >then booting,
> >> >but the same error comes up.
> >> >
> >> >I tried 6.0 AMD-64 and didn't get as far.  Before the boot menu
> >> >could come
> >> >up, it continually spews what appears to be the same/similar
> >> >hex errors and
> >> >didn't even respond to Cntrl-Alt-Delete.  Trying 5.4, I don't
> >> >get the elf32
> >> >error before the boot menu, but if I select option 1 it has
> >> >trouble loading
> >> >ACPI and then shuts down.  Selecting option 2 (with the 5.4
> >cd) does not
> >> >bring up an error, the system just shuts down.  Out of
> >> >curiousity, I tried a
> >> >Knoppix 4.0 CD and was able to fully boot and get a functioning
> >> >system up
> >> >(albeit running off the CD).
> >> >
> >> >My bios has painfully few options, such as boot order and
> >disabling the
> >> >onboard wireless nic, nothing else.
> >> >
> >> >Is there something else I should try, or do I have to wait
> >for the time
> >> >being?
> >> >
> >> >TIA for any suggestions.
> >> >
> >> >-Derrick
> >> On 12/21/05, Ted Mittelstaedt <[EMAIL PROTECTED]> wrote:
> >> >
> >> > boot off floppies and try a ftp install.  Or, boot windows
> >> > and burn the freebsd cd in the laptop (i assume the laptop has
> >> > a cd burner) sounds like a media error.
> >> >
> >> > Ted
> >>
> >>
> >I don't have a floppy drive to use, but in any case I used 3 different
> >FreeBSD CDs, all failed.  One of the CDs I had previously used
> >to install on
> >a desktop, so I doubt it is a media issue.
> >
>
> Try booting a 4.11 CD, I have systems which will boot 4.11 fine
> but will not boot 5.4 or later.  If an install works on that, I would
> send-pr the bug.
>
> Also, make sure to firmware/bios update the laptop.
>
> Ted
>
>
I tried 4.11 and got the hex errors even quicker, no chance to interrupt
boot sequence.  There isn't a bios update available for it either.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


what am i doing wrong?!

2005-12-22 Thread Gary Kline
So far, I've upgraded my second FBSD platform to 5.4.  With 

# USB support
device  uhci# UHCI PCI->USB interface
device  ohci# OHCI PCI->USB interface
#device ehci# EHCI PCI->USB interface (USB 2.0)
device  usb # USB Bus (required)
[[ ... ]]

device  uscanner# Scanners

builtin.  I just tried xsane again; still no devices.  I'm
still minus /dev/uscanner[01].  How, pray tell,  do I create 
these?

gary

-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Boot error

2005-12-22 Thread Ariane & Ron Joordens

Afternoon All,

My FreeBSD 6.0 computer refuses to boot. It gets to the screen where it 
pauses for 10 seconds and gives you the choice of 8 boot options, and 
then...nothing!


Choosing the default option shows a single line "/boot/kernel/acpi.ko 
text= etc,..." then the next line shows "|", and that's it. All the 
other boot options show just the "|" and that's it. I have waited for up 
to 30 minutes, but no change. The only way out is to reset the computer.


Prior to this prblem the computer worked perfectly. FreeBSD 5.4 was 
installed about 4 months ago, this was upgraded to 6.0 about 2 months 
ago. Everything had been recompiled and I never had any problems, until 
this.


I suspect that my 2 year old son has been pressing the power button 
repeatedly which may have caused this.


My question to you all is: How can I see what is going on? FreeBSD 5.4 
and prior used to show the progress on the booting process on screen, 
however FreeBSD 6 hides all that and remains at the options screen until 
the login prompt. Why? That was useful stuff. (But that is a little off 
topic) The basic question is: How do I go about finding the cause of my 
problem?


Thanks in advance

Ron
Melbourne, Australia


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.4/211 - Release Date: 22/12/2005

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


Re: Boot error

2005-12-22 Thread Giorgos Keramidas
On 2005-12-23 14:18, Ariane & Ron Joordens <[EMAIL PROTECTED]> wrote:
> Afternoon All,
>
> My FreeBSD 6.0 computer refuses to boot. It gets to the screen where it
> pauses for 10 seconds and gives you the choice of 8 boot options, and
> then...nothing!
>
> Choosing the default option shows a single line "/boot/kernel/acpi.ko
> text= etc,..." then the next line shows "|", and that's it. All the
> other boot options show just the "|" and that's it. I have waited for up
> to 30 minutes, but no change. The only way out is to reset the computer.
>
> Prior to this prblem the computer worked perfectly. FreeBSD 5.4 was
> installed about 4 months ago, this was upgraded to 6.0 about 2 months
> ago. Everything had been recompiled and I never had any problems, until
> this.
>
> I suspect that my 2 year old son has been pressing the power button
> repeatedly which may have caused this.

Do you still have the FreeBSD install CD-ROM?  You can use that to boot.

DON'T INSTALL ANYTHING, though :)

Just make sure that the CD-ROM boots fine up to the sysinstall menu.

If that works, then there's definitely something wrong with the kernel
or the other boot files you have on disk, and we'll see what can be
done.

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


Re: Boot error

2005-12-22 Thread rajoor

Giorgos Keramidas wrote:


On 2005-12-23 14:18, Ariane & Ron Joordens <[EMAIL PROTECTED]> wrote:
 


Afternoon All,

My FreeBSD 6.0 computer refuses to boot. It gets to the screen where it
pauses for 10 seconds and gives you the choice of 8 boot options, and
then...nothing!

Choosing the default option shows a single line "/boot/kernel/acpi.ko
text= etc,..." then the next line shows "|", and that's it. All the
other boot options show just the "|" and that's it. I have waited for up
to 30 minutes, but no change. The only way out is to reset the computer.

Prior to this prblem the computer worked perfectly. FreeBSD 5.4 was
installed about 4 months ago, this was upgraded to 6.0 about 2 months
ago. Everything had been recompiled and I never had any problems, until
this.

I suspect that my 2 year old son has been pressing the power button
repeatedly which may have caused this.
   



Do you still have the FreeBSD install CD-ROM?  You can use that to boot.

DON'T INSTALL ANYTHING, though :)

Just make sure that the CD-ROM boots fine up to the sysinstall menu.

If that works, then there's definitely something wrong with the kernel
or the other boot files you have on disk, and we'll see what can be
done.

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


 


Thanks Giorgos,

The install cd boots just fine. So I then looked up the manual and tried 
to boot from /boot/kernel.old.kernel but that doesn't work either.


What can we do next?

Ron


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.4/211 - Release Date: 22/12/2005

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


default password of toor

2005-12-22 Thread Imran Imtiaz
what is the default password of toor cause i have forgotton my roots password 
so any one could help me in recovering ?

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


Re: default password of toor

2005-12-22 Thread Eric Kjeldergaard
On Friday 23 December 2005 13:49, Imran Imtiaz wrote:
> what is the default password of toor cause i have forgotton my roots
> password so any one could help me in recovering ?

By default the toor account cannot be logged into via password.  Try booting 
into single-user-mode to change your root password.


pgpaACma98B10.pgp
Description: PGP signature


Re: default password of toor

2005-12-22 Thread Aaron Peterson
reboot
at boot prompt type boot -s
will boot in single user mode
at prompt type "mount -a"
then if / is mounted read only, perhaps
mount -u -rw /
passwd root

CTL-D

Alternately, you can boot from a cd mount and chroot to your os /
passwd root
etc...

Aaron
On 12/22/05, Imran Imtiaz <[EMAIL PROTECTED]> wrote:
> what is the default password of toor cause i have forgotton my roots password 
> so any one could help me in recovering ?
>
> ___
> 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]"


SB16 kernel troubles

2005-12-22 Thread Gary Kline

In rebuilding my 5.4 kernel I added

device sound
device "snd_sb16"

to get my AWE-64 to work.   Anybody know what's causng the
linking troubles??

cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual  -fformat-extensions -std=c99  -nostdinc -I-  -I. -I../../..
-I../../../contrib/dev/acpica -I../../../contrib/altq
-I../../../contrib/ipfilter -I../../../contrib/pf
-I../../../contrib/dev/ath -I../../../contrib/dev/ath/freebsd
-I../../../contrib/ngatm -I../../../dev/twa -D_KERNEL -include
opt_global.h -fno-common -finline-limit=8000 --param
inline-unit-growth=100 --param large-function-growth=1000
-mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow
-mno-sse -mno-sse2 -ffreestanding -Werror  vers.c
linking kernel
sb16.o(.text+0x12): In function `sb_lock':
: undefined reference to `sbc_lock'
sb16.o(.text+0x2a): In function `sb_lockassert':
: undefined reference to `sbc_lockassert'
sb16.o(.text+0x42): In function `sb_unlock':
: undefined reference to `sbc_unlock'
*** Error code 1


I'm just upgrading from 5.3; this is a new one!

gary

-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: flash plugin in 6.0

2005-12-22 Thread Scott I. Remick
I had Flash6 working but have need to try Flash7 (I know it might crash,
but some sites I use require at least Flash7). But I can't get it to work
at all.

I uninstalled linuxpluginwrapper and linux-flashplugin6 before I started.

I've tried Beecher's instructions and about:plugins still doesn't show any
Flash. This is using Firefox 1.5 on FreeBSD 6.0R.

Any suggestions?

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


Re: flash plugin in 6.0

2005-12-22 Thread Beecher Rintoul
On Thursday 22 December 2005 08:24 pm, Scott I. Remick wrote:
> I had Flash6 working but have need to try Flash7 (I know it might crash,
> but some sites I use require at least Flash7). But I can't get it to work
> at all.
>
> I uninstalled linuxpluginwrapper and linux-flashplugin6 before I started.
>
> I've tried Beecher's instructions and about:plugins still doesn't show any
> Flash. This is using Firefox 1.5 on FreeBSD 6.0R.
>
> Any suggestions?

Try starting firefox from a terminal and see if you get plugin errors before 
it starts. I was working on that port locally to fix the paths. I uninstalled 
everything and did an install with the fixed port and none of the plugins 
worked. I uninstalled again and reinstalled with the stock port and still 
nothing. Startup shows errors on all the linux plugins. I think something 
else has changed, but I'm not sure what. Even my fixes don't work anymore.

Here's the startup errors I'm getting:

LoadPlugin: failed to initialize shared 
library 
/usr/local/lib/acroread/usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so 
[/usr/local/lib/acroread/usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so:
 
Undefined symbol "XtCalloc"]
LoadPlugin: failed to initialize shared 
library /usr/X11R6/lib/linux-flashplugin7/libflashplayer.so 
[/usr/X11R6/lib/linux-flashplugin7/libflashplayer.so: Undefined symbol 
"ah_arctan"]
LoadPlugin: failed to initialize shared 
library /usr/X11R6/lib/linux-mozilla/plugins/nphelix.so 
[/usr/X11R6/lib/linux-mozilla/plugins/nphelix.so: Undefined symbol "stderr"]

Any input would be appreciated.

Beech
-- 

---
Beech Rintoul - System Administrator - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | NorthWind Communications
\ / - NO HTML/RTF in e-mail  | 201 East 9th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://akparadise.byethost33.com
---













pgpRvZodBnNCR.pgp
Description: PGP signature


skill problems

2005-12-22 Thread Anthony Philipp
Hello,

When I did this:

$ skill ttype  

I got this back:

skill: proc size mismatch, recompile libkvm

Anyone know how to fix this? 
uname -a:
6.0-RELEASE FreeBSD 6.0-RELEASE #0: Mon Dec  5 11:19:03 CST 2005
pkg_info | grep skill
skill-4.1.1 SuperKILL, kill or renice processes by pid,
name, tty or ui

I've rebuilt world, and rebuilt the kernel with it, so I'm not sure
what else to do. I don't remember when this problem arose. 

Thanks in advance!

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


Re: FreeBSD router two DSL connections

2005-12-22 Thread Winelfred G. Pasamba
I wonder if these routers are using freebsd

http://www.edimax.com/html/english/products/list-router.htm

2 WAN, 4 WAN, etc...

and i also wonder what happens if one WAN goes down? or if the WANs are of
different speeds?

On 12/23/05, Ted Mittelstaedt <[EMAIL PROTECTED]> wrote:
>
>
>
> >-Original Message-
> >From: [EMAIL PROTECTED]
> >[mailto:[EMAIL PROTECTED] Behalf Of
> >[EMAIL PROTECTED]
> >Sent: Thursday, December 22, 2005 3:09 AM
> >To: freebsd-questions@freebsd.org
> >Subject: RE: FreeBSD router two DSL connections
> >
> >
> >> Which is not redundant.
> >
> >
> >
> >> Considering the OP asked for specifics on how to do this and your
> >
> >> response as been a bunch of theoretical gobbdleygook that is flat out
> >
> >> wrong network theory, you haven't done anything to help the
> >poor bastard.
> >
> >
> >
> >Hi,
> >
> >
> >
> >This is a pretty firey debate.
> >
> >
> >
> >I have a question along the lines of this thread. I currently
> >have a 1.5Mbit
> >ADSL tail at the school that I work for. This tail connects to
> >the Education
> >Office which hosts a variety of websites, we then get internet access
> >through the education office.
> >
> >
> >
> >We currently also have 230 PCs, and the connection is slowing down
> >significantly. What I planned on doing was purchasing a 20Mbit ADSL 2+
> >connection and setting up a FreeBSD router which forwards all internet
> >traffic through the ADSL2+ connection, and the Education Office traffic
> >would be forwarded through the existing connection. Is this feasible?
>
> The easiest way would be to purchase a DSL modem/router for use
> with the ADSL2 connection (or a ADSL2 modem coupled to a
> etherent-to-ethernet
> DSL router)  Set this up as a network address translator, plug it
> into your school network. (you can use FreeBSD for this if you want)  You
> will need
> to do a bit of exploring to find out the subnets that the ED office is
> using.
>
> For example, suppose ED office has assigned IP subnet 10.0.10.0/24
> to your school.  Their existing DSL tail has an IP number of 10.0.10.1
> on it.  You have your PC's seup to use IP addresses 10.0.10.10 -
> 10.0.10.240
> with a subnet mask of 255.255.255.0 and a gateway of 10.0.10.1
>
> You do some queries with nslookup to find out all the IP adresses of the
> Ed servers, and you find they are on subnets 10.0.12.x,   10.0.15.x,
> 192.168.4.x, etc.
>
> So, first thing you do is you setup your BSD system/DSL router/DSl modem
> as a translator, and set it's internal interface IP address to 10.0.10.2
>
> Then you add in a bunch of static routes into it for the ED subnets you
> discovered, pointing those subnets to 10.0.10.1
>
> Last you set your PC's to use 10.0.10.2 as their default gateway.
>
> When the PC's send traffic to the Internet the router sends that out the
> ADSL2 line
>
> When the PC's send traffic to ED, the router issues an ICMP redirect that
> installs an ICMP route in the PC's that points to 10.0.10.1 for that
> host.
>
> Ted
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> [EMAIL PROTECTED]"
>



--
Seek ye first the kingdom of God and all these things shall be added unto
you.

Winelfred G. Pasamba
Adventist University of the Philippines
Computer Science Department, AUP Online Information System
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"