Re: Help with xorg.conf

2005-08-15 Thread Jonathan Glaschke
Hello,

On Tue, Aug 16, 2005 at 04:39:37PM +1200, [EMAIL PROTECTED] wrote:
> Hey guys,
> 
> I'm a FreeBSD newbie and have been lovin' the whole experience.  I've recently
> got  fluxbox working as my WM, which was an experience, and just got firefox
> working too.  My problem is that I can't get X to use my whole screen and it 
> is
> stuck on some crappy resolution, 800x600 I think.  I've followed all of the
> documentation to include all of the lines about:
> 
> DefaultDisplay 24
> 
> Modes "1024x768"
> 
> etc ...
> 
> However none of them have an effect!  Please help!
> 
> Gareth
Use /usr/X11R6/bin/xorgconfig or /usr/X11R6/bin/xf86condig, that worked for me.

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

-- 
 | /"\   ASCII Ribbon   | Jonathan Glaschke - Lorenz-Görtz-Straße 71,
 | \ / Campaign Against | 41238 Mönchengladbach, Tel: 02166-265876
 |  XHTML In Mail   | Mobil: 0162-3390789, ICQ: 231021883
 | / \ And News | http://jonathan-glaschke.de/


pgpXQVSnOw85Q.pgp
Description: PGP signature


Re: Help with xorg.conf

2005-08-15 Thread Roland Smith
On Tue, Aug 16, 2005 at 04:39:37PM +1200, [EMAIL PROTECTED] wrote:
> Hey guys,
> 
> I'm a FreeBSD newbie and have been lovin' the whole experience.  I've recently
> got  fluxbox working as my WM, which was an experience, and just got firefox
> working too.  My problem is that I can't get X to use my whole screen and it 
> is
> stuck on some crappy resolution, 800x600 I think.  I've followed all of the
> documentation to include all of the lines about:
> 
> DefaultDisplay 24
> 
> Modes "1024x768"
> 
> etc ...
> 
> However none of them have an effect!  Please help!

It should be something like:

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor"Monitor0"
DefaultDepth 24
SubSection "Display"
   Depth24
   Modes"1024x768"
EndSubSection
SubSection "Display"
   Depth16
   Modes"1024x768"
EndSubSection
EndSection

You should change the Device and Monitor names to match the ones you're
using for them.

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgpFQZTXXwORM.pgp
Description: PGP signature


Re: Help with xorg.conf

2005-08-15 Thread Kent Stewart
On Monday 15 August 2005 09:39 pm, [EMAIL PROTECTED] wrote:
> Hey guys,
>
> I'm a FreeBSD newbie and have been lovin' the whole experience.  I've
> recently got  fluxbox working as my WM, which was an experience, and
> just got firefox working too.  My problem is that I can't get X to
> use my whole screen and it is stuck on some crappy resolution,
> 800x600 I think.  I've followed all of the documentation to include
> all of the lines about:
>
> DefaultDisplay 24
>
> Modes "1024x768"
>
> etc ...
>
> However none of them have an effect!  Please help!

Look for x-windows config files in different locations. I had an old one 
that was still being used and nothing I did to the other worked. I was 
using XF86Config and "locate XF86Config" found the one actually being 
used. It sounds like you may have a similar problem.

Kent

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

-- 
Kent Stewart
Richland, WA

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


Re: How to Force UDMA100 Mode on Boot?

2005-08-15 Thread Kent Stewart
On Monday 15 August 2005 07:38 pm, Chuck Swiger wrote:
> Howdy--
>
> Mark Kane wrote:
> [ ... ]
>
> > I know about atacontrol to set it manually, but I'd like to set
> > UDMA100 mode automatically on boot since I have 5 hard drives. I
> > also know the sysctl hw.ata.ata_dma, but that doesn't say anything
> > about using 100 vs 133.
>
> Your BIOS ought to have a setting which throttles this down.
>
> Simply changing in within FreeBSD might be a little late, since the
> system has to boot far enough to get to that, or you might run some
> other OS on the machine one fine day.  Anyway, consider:
>
> touch /etc/rc.local
> echo "/sbin/atacontrol mode ..." >> /etc/rc.local

There used to be a Maxtor utility that would set the maximum ATA rate on 
Maxtor ATA drives. I had one of those motherboard with a broken 
Southbridge and that was the easy way out until I replaced the 
motherboard with a good one. If you aren't using Maxtor's, you can look 
for a utility to do what the Maxtor utility did.

Kent

-- 
Kent Stewart
Richland, WA

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


Help with xorg.conf

2005-08-15 Thread kaygarme
Hey guys,

I'm a FreeBSD newbie and have been lovin' the whole experience.  I've recently
got  fluxbox working as my WM, which was an experience, and just got firefox
working too.  My problem is that I can't get X to use my whole screen and it is
stuck on some crappy resolution, 800x600 I think.  I've followed all of the
documentation to include all of the lines about:

DefaultDisplay 24

Modes "1024x768"

etc ...

However none of them have an effect!  Please help!

Gareth

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


list self-crossposting ought to be trimmed...?

2005-08-15 Thread Chuck Swiger
[ ...I've BCC:ed <[EMAIL PROTECTED]> but please direct any followups to 
freebsd-questions and not them... :-) ]


Hey, guys:

Can someone either in Mailman or in a front-end MX box handling the mail before 
it gets fed to the listserver, filter out obvious duplicate aliases for the 
same list?  For an example, see:


Message-id: <[EMAIL PROTECTED]>

...with these headers:

To: [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org

-

One solution ought to be a specific Mailman tunable, which if one goes to the 
list admin page, and appends /?VARHELP=privacy/recipient/acceptable_aliases to 
the URL, should be:


"acceptable_aliases (privacy): Alias names (regexps) which qualify as explicit 
to or cc destination names for this list."


Repeat as needed with the other lists to reduce needless multiposting.

--
-Chuck

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


Re: error when makebuildworld

2005-08-15 Thread Jason Morgan
On Mon, Aug 15, 2005 at 08:11:06PM -0700, sonjaya wrote:
> dear all 
> 
>  i try update my fb box ( 5.2 release to 5.3 stable) ,
> i do it  like this 
> 
> 1. i made update all source of my kernel to 5.3 with
> cvsup ( #cvsup -g -L 2 fileconf-CVS) 
> 2. #mergemaster -p 
> 3.make buildworld
> and i get error like this  "
> 
> WARNING: type @@ invalid
> mkmagic: could not find any magic files!
> *** Error code 1
> 
> Stop in /usr/cvsup/src/lib/libmagic.
> *** Error code 1
> 
> Stop in /usr/cvsup/src/lib.
> *** Error code 1
> 
> Stop in /usr/cvsup/src.
> *** Error code 1
> 
> Stop in /usr/cvsup/src.
> *** Error code 1
> 
> Stop in /usr/cvsup/src.
> *** Error code 1
> 
> Stop in /usr/cvsup/src.
> PAG_ROUTER# "
> 
> how i solved that problem ?
> 
> and second question : where i get manual for upgrade
> my fb box from 5.2 release to 5.3 stable ?
> thx before and now my fb 5.2 box still on because if i
> reboot will never up againt .
> my regard
> 

You follow the order shown in /usr/src/Makefile ?

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

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


Re: FreeBSD 5.4 VPN

2005-08-15 Thread Glenn Dawson

At 08:36 PM 8/15/2005, Vasili S. wrote:

Hi !
I planing create VPN by FreeBSD 5.4
In documentation discribed utility - gifconfig
 (  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ipsec.html )
After instalation i don't find  gifconfig  :(
Please, help me, what i must to do, where  find gifconfig  ?
May be need setup additional package ?


To quote the page that you mentioned above:

"Note: In FreeBSD 5.X, the functionality provided by the 
gifconfig(8) 
utility has been merged into 
ifconfig(8)."



-Glenn



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


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


FreeBSD 5.4 VPN

2005-08-15 Thread Vasili S.
Hi !
I planing create VPN by FreeBSD 5.4
In documentation discribed utility - gifconfig 
 (  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ipsec.html )
After instalation i don't find  gifconfig  :(
Please, help me, what i must to do, where  find gifconfig  ?
May be need setup additional package ?  

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


Re: RELEASE 4

2005-08-15 Thread Chuck Swiger

Ted Thomas wrote:
[ ... ]
I spent about 30 minutes on the site searching for matches to various 
parts of the error message, read numerous FAQ's, and generally browsed 
the installation guides to try and solve this before writing an e-mail. 
If you or Kris could send me an example of where to search and what to 
search for to find this, it would be helpful. I was using the search 
engine at www.freebsd.org, so I assume that was not the right one.


Well, let's make sure the search thingy for this thread actually includes a 
backreference.  :-)  Go to freebsd.org, click on "Search mailing lists" or 
anything else which takes you to the main search page:


http://www.freebsd.org/cgi/search.cgi?words=patch+failed&max=25&sort=score&index=recent&source=freebsd-questions

Google also works:

http://www.google.com/ie?q=FreeBSD+patch+failed

--
-Chuck

PS: I'd hate to be a webcrawler.

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


error when makebuildworld

2005-08-15 Thread sonjaya
dear all 

 i try update my fb box ( 5.2 release to 5.3 stable) ,
i do it  like this 

1. i made update all source of my kernel to 5.3 with
cvsup ( #cvsup -g -L 2 fileconf-CVS) 
2. #mergemaster -p 
3.make buildworld
and i get error like this  "

WARNING: type @@ invalid
mkmagic: could not find any magic files!
*** Error code 1

Stop in /usr/cvsup/src/lib/libmagic.
*** Error code 1

Stop in /usr/cvsup/src/lib.
*** Error code 1

Stop in /usr/cvsup/src.
*** Error code 1

Stop in /usr/cvsup/src.
*** Error code 1

Stop in /usr/cvsup/src.
*** Error code 1

Stop in /usr/cvsup/src.
PAG_ROUTER# "

how i solved that problem ?

and second question : where i get manual for upgrade
my fb box from 5.2 release to 5.3 stable ?
thx before and now my fb 5.2 box still on because if i
reboot will never up againt .
my regard


SONJAYA

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


Re: Monitor Tuning

2005-08-15 Thread Chuck Swiger

On Friday, 12 August 2005 at 15:52:13 -0400, Sean wrote:

My display is not very sharp and I was looking for a few tips that might
help to cure things. I tweeked a few things and no luck. Still a soft
dull image. Little annoying on the eyes.


Degauss the monitor.  Check adjustment controls such as convergence.  Check to 
see whether you have "moire cancel" enabled, and try disabling that.


Be more specific about how the monitor is fuzzy, or get a closeup snapshot, 
even.  :-)


--
-Chuck

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


Re: ftp security

2005-08-15 Thread Aaron Peterson
On 8/15/05, stephen honea <[EMAIL PROTECTED]> wrote:
> I read http://www.freebsddiary.org/ftp-anonymous.php to try and secrue my ftp 
> server.
> The author sugested to add a line to my fstab:
> 
> /dev/ad2s2f   /home/ftp/incoming ufs  rw,SUIDDIR2   2
> 
> however i don't have the file ad2s2f in my /dev directory
> 
> # DeviceMountpoint  FStype  Options DumpPass#
> /dev/ad0s1b noneswapsw  0   0
> /dev/ad0s1a /   ufs rw  1   1
> /dev/ad0s1e /tmpufs rw  2   2
> /dev/ad0s1f /usrufs rw  2   2
> /dev/ad0s1d /varufs rw  2   2
> /dev/acd0   /cdrom  cd9660  ro,noauto   0   0
> #/dev/ad0s  /ftp/incoming   ufs rw,SUIDDIR  2   2
> 
> [root]/etc-
> 
> i don't really understand the fstab but I gather
> ad0s1 is the drive and a-f is the partitions created at boot time
> 
> basicly i am trying to sticky a directory mounted by fstab

Matter of fact, it looks like you can turn this option on for a
directory with the "chmod" command without it being it's own separate
partition/filesystem...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ftp security

2005-08-15 Thread Aaron Peterson
On 8/15/05, stephen honea <[EMAIL PROTECTED]> wrote:
> I read http://www.freebsddiary.org/ftp-anonymous.php to try and secrue my ftp 
> server.
> The author sugested to add a line to my fstab:
> 
> /dev/ad2s2f   /home/ftp/incoming ufs  rw,SUIDDIR2   2
> 
> however i don't have the file ad2s2f in my /dev directory
> 
> # DeviceMountpoint  FStype  Options DumpPass#
> /dev/ad0s1b noneswapsw  0   0
> /dev/ad0s1a /   ufs rw  1   1
> /dev/ad0s1e /tmpufs rw  2   2
> /dev/ad0s1f /usrufs rw  2   2
> /dev/ad0s1d /varufs rw  2   2
> /dev/acd0   /cdrom  cd9660  ro,noauto   0   0
> #/dev/ad0s  /ftp/incoming   ufs rw,SUIDDIR  2   2
> 
> [root]/etc-
> 
> i don't really understand the fstab but I gather
> ad0s1 is the drive and a-f is the partitions created at boot time
> 
> basicly i am trying to sticky a directory mounted by fstab

yes, if you didn't create a partition  /dev/ad2s2f then you can't
mount it or put it in fstab because it doesn't exist.  I think you are
mistaken that you are trying to turn on the sticky bit since you don't
need a separate partition for that by itself.  There are other
security features that go along with mounting the filesystem with the
SUIDDIR option. An excerpt from "man mount":

  suiddir
 A directory on the mounted file system will respond to
 the SUID bit being set, by setting the owner of any new
 files to be the same as the owner of the directory.  New
 directories will inherit the bit from their parents.
 Execute bits are removed from the file, and it will not
 be given to root.

 This feature is designed for use on fileservers serving
 PC users via ftp, SAMBA, or netatalk.  It provides secu-
 rity holes for shell users and as such should not be used
 on shell machines, especially on home directories.  This
 option requires the SUIDDIR option in the kernel to work.
 Only UFS file systems support this option.  See chmod(2)
 for more information.

This requires planning ahead on your filesystem though, so that you
have space to create a separate partition for /home/ftp/incoming in
your case.  You could add another hard disk, or perhaps find a way to
rearrange your existing space.  It is usually easiest to set this stuf
up at install time though...

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


Re: How to Force UDMA100 Mode on Boot?

2005-08-15 Thread Chuck Swiger

Howdy--

Mark Kane wrote:
[ ... ]
I know about atacontrol to set it manually, but I'd like to set UDMA100 
mode automatically on boot since I have 5 hard drives. I also know the 
sysctl hw.ata.ata_dma, but that doesn't say anything about using 100 vs 
133.


Your BIOS ought to have a setting which throttles this down.

Simply changing in within FreeBSD might be a little late, since the system has 
to boot far enough to get to that, or you might run some other OS on the 
machine one fine day.  Anyway, consider:


touch /etc/rc.local
echo "/sbin/atacontrol mode ..." >> /etc/rc.local

--
-Chuck

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


ftp security

2005-08-15 Thread stephen honea
I read http://www.freebsddiary.org/ftp-anonymous.php to try and secrue my ftp 
server.
The author sugested to add a line to my fstab:
 
/dev/ad2s2f   /home/ftp/incoming ufs  rw,SUIDDIR2   2
 
however i don't have the file ad2s2f in my /dev directory
 
# DeviceMountpoint  FStype  Options DumpPass#
/dev/ad0s1b noneswapsw  0   0
/dev/ad0s1a /   ufs rw  1   1
/dev/ad0s1e /tmpufs rw  2   2
/dev/ad0s1f /usrufs rw  2   2
/dev/ad0s1d /varufs rw  2   2
/dev/acd0   /cdrom  cd9660  ro,noauto   0   0
#/dev/ad0s  /ftp/incoming   ufs rw,SUIDDIR  2   2

[root]/etc-

i don't really understand the fstab but I gather
ad0s1 is the drive and a-f is the partitions created at boot time
 
basicly i am trying to sticky a directory mounted by fstab


-
 Start your day with Yahoo! - make it your home page 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


stream + record audio simultaneously (jack?)

2005-08-15 Thread Mike Hernandez
In my quest to remove windows from my machine I am working on a list
of "stuff I can do with windows that I can't figure out how to do with
*nix". The item I'm up to now is simultaneous streaming and recording
of audio from my line-in. I can use audacity to record, and stream
with the shoutcast server + darkice, but I can't stream and record at
the same time.

I've done some research and it looks like I may be able to accomplish
this using Jack. So far I've also found some good news: jack and
darkice are already ports, and darkice can use jack... and audacity's
homepage says it can be compiled with jack support as too... but the
good news seems to end there.

If anyone knows of a way to stream & record simultaneousy with freebsd
(with jack or by any other means) please let me know... thanks!

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


Re: Monitor Tuning

2005-08-15 Thread Nikolas Britton
On 8/15/05, Chris <[EMAIL PROTECTED]> wrote:
> 
> > On Friday, 12 August 2005 at 15:52:13 -0400, Sean wrote:
> >
> >>My display is not very sharp and I was looking for a few tips that might
> >>help to cure things. I tweeked a few things and no luck. Still a soft
> >>dull image. Little annoying on the eyes.
> >>
> >>Is anyone running a NEC Multisync XV17+ with an Nvidia 6500 ultra and
> >>getting a sharp display?
> >>
> >>Excerpts from my xorg.conf will give you my monitor and graphics card.
> >
> 
> There is an online guide at
> 
> http://www.nec-mitsubishi.com/coremedia/download/76118/MSXV17+-UsersGuide-english-german-spanish-italian-french.pdf
> 
> I made my monitor (a different make) sharper with a Convergance control
> which I think makes the red blue and green electron streams land at the
> same point on the screen. There is a reference to convergance in the
> guide but only in reference to de-gaussing. Still that might help if you
> haven't already done it.
> 

If your monitor looks blurry or you have a hard time getting your
eye's to focus on the monitor then the convergence is way off. If you
have a convergence control, sean's monitor doesn't have one, you can
play with it and notice if you look closely at text or hard lines a
red or blue shadow ether on the sides (V convergence) or top/bottom (H
convergence).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sound /audio

2005-08-15 Thread kalin mintchev

  got it.  thanks...

> kalin mintchev wrote:
>>
>> hi all...
>>
>> i have a new 5.4R installation on t30 thinkpad. trying to get the sound
>> drivers in the kernel.
>>
>> adding:
>> device pcm
>>
>> doesn't work. it used to work with 5.3. adding 'device sound' didn't do
>> much. when i start x i get 'No volume control elements and/or devices
>> found'
>>
>> is there any other driver for the 'SoundBlaster compatible' sound card?
>> which one should i use instead of pcm?
>>
>
> Hi. The handbook has pretty good sound documentation on how to get
> started:
>
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html
>
> I personally would:
>
> 1) kldload snd_driver to find out what driver my card needed
> 2) Then compile device sound and my sound driver into the kernel as the
> handbook says.
>
> Hope that helps.
>
> -Mark
>
>


-- 


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


Re: cache-only named won't resolve "localhost"

2005-08-15 Thread Chuck Swiger

Gary W. Swearingen wrote:
[ ... ]

so I'd think domain resolution should look in /etc/hosts before
even checking my cache-only named.  Which it seems to do for "ping",
but not for "host", "nslookup", or "mozilla".


As Lowell noted, programs like "nslookup" and "dig" are designed to query DNS 
specificly, not look into your flatfiles for hostname/IP mappings.



I'm still wondering if I should be declaring a forward zone for
"localhost" or "localhost.localhost"; it seems kinda strange that
the script would set up a reverse for it, but say nothing about
the forward.


Note that the resolver will treat lookups of "localhost." and "localhost" 
differently if you have a domain or search directive specified in 
/etc/resolv.conf.  You could and perhaps should ensure that the one ending in a 
period exists in a zone file on the nameserver, and maps via an A record to 
127.0.0.1:


;
; BIND data file for local loopback interface
;

$TTL 604800

@   IN  SOA localhost. root.localhost. (
  1 ; Serial
 604800 ; Refresh
  86400 ; Retry
2419200 ; Expire
 604800 )   ; Default TTL
;
@   IN  NS  localhost.
@   IN  A   127.0.0.1

--

I inherited this from somewhere, you could remove all but the first "IN" (it 
defaults), as well as being less clever about reusing @, but add salt as 
needed. :-)


It is probably also a reasonable idea to have an A record for localhost in each 
forward zone file, so that "localhost.example.com" resolves immediately and 
stops rather than querying names throughout the search list of domains.  This 
can reduce annoying DNS delays significantly in a number of circumstances, not 
the least of which are client machines with less-than-brillant resolver 
routines (think WinNT 4).


Oh, yeah, this all was prompted by the notion that some other programs, such as 
squid in particular, also use their own resolver routines like "nslookup" does. 
 But Mozilla ought to pay attention to /etc/hosts.  The connection between 
these two is that you could uncouple mozilla from doing it's own DNS by 
pointing at a proxy server for testing what is going on


--
-Chuck

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


Re: sound /audio

2005-08-15 Thread Mark Kane

kalin mintchev wrote:


hi all...

i have a new 5.4R installation on t30 thinkpad. trying to get the sound
drivers in the kernel.

adding:
device pcm

doesn't work. it used to work with 5.3. adding 'device sound' didn't do
much. when i start x i get 'No volume control elements and/or devices
found'

is there any other driver for the 'SoundBlaster compatible' sound card?
which one should i use instead of pcm?



Hi. The handbook has pretty good sound documentation on how to get started:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html

I personally would:

1) kldload snd_driver to find out what driver my card needed
2) Then compile device sound and my sound driver into the kernel as the 
handbook says.


Hope that helps.

-Mark

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


sound /audio

2005-08-15 Thread kalin mintchev


hi all...

i have a new 5.4R installation on t30 thinkpad. trying to get the sound
drivers in the kernel.

adding:
device pcm

doesn't work. it used to work with 5.3. adding 'device sound' didn't do
much. when i start x i get 'No volume control elements and/or devices
found'

is there any other driver for the 'SoundBlaster compatible' sound card?
which one should i use instead of pcm?

thanks
--




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


Re: Question

2005-08-15 Thread Jerahmy Pocott

On 15/08/2005, at 11:04 AM, jon freddy wrote:



When I get my new computer and I am going to run
FreeBSD, also, I want to still run the browser
Firefox. But if you go to Firefox's website it also
lists other OS, but not FreeBSD. But I see that a lot
of my friends that run FreeBSD use firefox. Would I
install the Linux package because it is also a Unix System?



The systems you see on the firefox website are just binary packages  
they have made
for various systems. It is actually better to compile the source  
yourself on your own
system in a lot of cases, since you can specify optimizations that  
they probably didn't
put into their binary packages so as to make them work on lots of  
systems..


Just about every single application you ever want to use can be found  
in the ports
collection, which if installed is found in /usr/ports by default..  
The very lastest build
of firefox may not be in a port yet (is it?) in which case if you  
really want it you can
just download the source from their website and compile it (they  
probably have
instructions on how to do this but generally it is just a matter of  
decompressing
the archive and running 'configure' then 'make install' in the base  
directory of the

archive).

The linux binary package possibly will also work if you have  
installed the linux
compatibility stuff and have the module loaded, but it is better to  
use native where

possible!




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


Re: Counter-Strike, Wine and FreeBSD

2005-08-15 Thread Jerahmy Pocott


On 16/08/2005, at 5:00 AM, Andrew P. wrote:


Hello!

I'm sorry to bother you all guys, but this issue has really become a
crusade for me :)

I'm trying to play Counter-Strike 1.5 on FreeBSD - over network

The easy part was to install wine, closed-source nvidia drivers,
launch CS1.5 - and even play on the local listen server with some
bots. Mouse was not very responsive, but overall performance was
great. It should be noted that CS1.5 did not need any native dll's -
only wine's built in modules.

The problems start when you try to connect to a network server. It
would just hang. It took me three days of messing with wine, googling,
and meditating - to finally decide to ask for help at
freebsd-questions :)


Well my first thought is that if it works on a local server it should  
work on

a remote one..

Perhaps you can try to connect to a server on your local network?

What I'm thinking is that perhaps the remote server you are connecting
to is doing something different, perhaps trying to use "punkbuster" or
what ever counterstrike has as its anti cheat thing or it could be  
trying

to download maps/textures/sounds/etc..

Have you tried different servers?

When you say it hangs, what exactly happens? The program completely
stops responding? Does it say anything prior to hanging? How far does
the remote connection get before it stops? What if any messages are in
the wine console when this happens?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Anyone seen anything like this in the ports tree?

2005-08-15 Thread Kurt Buff
Eric Schuele wrote:
> Bob Johnson wrote:
> 
>> On 8/12/05, Kurt Buff <[EMAIL PROTECTED]> wrote:
>>
>>> All,
>>>
>>> http://www.networkworld.com/news/2005/080805-wafs.html
>>>
>>> It's software-in-a-box to tone down the chattiness of CIFS/SMB and NFS,
>>> so that WAN links aren't so slow.
>>>
>>> I'm working with offices in the US, UK and AU, and file sharing between
>>> them is horrendous, mostly because of how many hops between them.
>>
>>
>>
>> I don't know enough about its internal workings to really say, but it
>> seems likely that setting up a Coda server at each office and using
>> NFS or SMB for local access to those servers might do what you want.
>>
>> I've seen Coda in ports somewhere, and the main website is
>> http://www.coda.cs.cmu.edu/
>>
>> - Bob
>> ___
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to
>> "[EMAIL PROTECTED]"
>>
> Looks very promising.  Thanks.
> 

Oh, yes indeedy, this looks quite interesting.

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


Re: Anyone seen anything like this in the ports tree?

2005-08-15 Thread Eric Schuele

Bob Johnson wrote:

On 8/12/05, Kurt Buff <[EMAIL PROTECTED]> wrote:


All,

http://www.networkworld.com/news/2005/080805-wafs.html

It's software-in-a-box to tone down the chattiness of CIFS/SMB and NFS,
so that WAN links aren't so slow.

I'm working with offices in the US, UK and AU, and file sharing between
them is horrendous, mostly because of how many hops between them.



I don't know enough about its internal workings to really say, but it
seems likely that setting up a Coda server at each office and using
NFS or SMB for local access to those servers might do what you want.

I've seen Coda in ports somewhere, and the main website is
http://www.coda.cs.cmu.edu/

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


Looks very promising.  Thanks.

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


Re: How to Force UDMA100 Mode on Boot?

2005-08-15 Thread Mark Kane
Hi, thanks for the response. The thread somehow got broken up due to 
some subject formatting (there was a space inserted somehow). Here are 
the threads:


http://lists.freebsd.org/mailman/htdig/freebsd-questions/2005-August/095212.html
http://lists.freebsd.org/mailman/htdig/freebsd-questions/2005-August/095227.html
http://lists.freebsd.org/mailman/htdig/freebsd-questions/2005-August/095335.html

I have 5 hard drives, and when copying data between them in certain 
configurations (such as drive placement) I get READ and WRITE wouldn 
errors. All the cables are brand new, as are two of the hard drives.


Similar errors happened on the last board I had. I had the same model 
(Giga-Byte K8NS Pro) a couple months ago that had other issues in 
addition to this. I sent it to the factory for a RMA, and a brand new 
one came back. Before I sent it in, I was using Windows XP and it would 
automatically downgrade it to 100 so I wouldn't see any errors. When I 
switched over to FreeBSD and it tried to operate in 133 mode, I got 
errors instead of the OS trying to hide it.


Note that throughout this whole problem I never got a "FAILURE" message 
until today, except that is only on one drive, and one that I think is 
in fact going bad.


It's gotta be something with the controller.

I can't get you the dmesg info right now since I'm doing a scan on that 
one hard drive that I think is failing. But it is an nForce 3 chipset on 
a Giga-Byte K8NS Pro motherboard.


I would really like to solve the DMA problems, but if not I think the 
easiest is trying to downgrade it to UDMA100 on boot, which is what this 
post is about.


Thanks

-Mark

jason wrote:

Mark Kane wrote:

Hi everyone. I've had a thread going here on the lists about DMA 
problems in 133 mode. In a nutshell, some drives give DMA_WRITE and 
DMA_READ errors when in 133 mode with certain configurations, however 
don't have any problems in 100 or 66 mode. After looking in to many 
solutions I think I'm just going to run it at 100, since from my 
research the benefit isn't that noticeable.


I know about atacontrol to set it manually, but I'd like to set 
UDMA100 mode automatically on boot since I have 5 hard drives. I also 
know the sysctl hw.ata.ata_dma, but that doesn't say anything about 
using 100 vs 133.


Thanks in advance.

-Mark

Sounds like a cable issue, but could it be a buggy bios?  How about some 
information since I did not see your previous postings.



 > dmesg|grep DMA
atapci1:  port 
0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 9.0 on pci0

ad0: 38172MB  [77557/16/63] at ata0-master UDMA133


Also if I don't have a cd in the drive I get "acd0: CDRW LTR-40125S/ZS0K> at ata1-master PIO4" for acd0.  If there is a disc in 
the drive it is set to UDMA66 at boot up.   Or first use  if it was not 
in at boot.


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


Re: How to Force UDMA100 Mode on Boot?

2005-08-15 Thread jason

Mark Kane wrote:

Hi everyone. I've had a thread going here on the lists about DMA 
problems in 133 mode. In a nutshell, some drives give DMA_WRITE and 
DMA_READ errors when in 133 mode with certain configurations, however 
don't have any problems in 100 or 66 mode. After looking in to many 
solutions I think I'm just going to run it at 100, since from my 
research the benefit isn't that noticeable.


I know about atacontrol to set it manually, but I'd like to set 
UDMA100 mode automatically on boot since I have 5 hard drives. I also 
know the sysctl hw.ata.ata_dma, but that doesn't say anything about 
using 100 vs 133.


Thanks in advance.

-Mark

Sounds like a cable issue, but could it be a buggy bios?  How about some 
information since I did not see your previous postings.



> dmesg|grep DMA
atapci1:  port 
0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 9.0 on pci0

ad0: 38172MB  [77557/16/63] at ata0-master UDMA133


Also if I don't have a cd in the drive I get "acd0: CDRW LTR-40125S/ZS0K> at ata1-master PIO4" for acd0.  If there is a disc in 
the drive it is set to UDMA66 at boot up.   Or first use  if it was not 
in at boot.

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


Re: disk fragmentation, <0%?

2005-08-15 Thread Lei Sun
Thanks All,

I think Kris's suggestion worked, as when I was rebuilding of the
atacontrol, I remember it failed once, and had a lot of problem trying
to reboot and unmount the /tmp directory.

So after I rebuild the array, somehow /tmp looks clean to the OS, and
didn't get checked.

so somehow the the stats was not showing the correct information.

I have already rebuild the machine, all of the effect from the
atacontrol rebuild array are gone now, and it seems like everything is
back to normal.

Capacity is right, Used is right, Avail is right, and all 0.0% fragmentation.

Then, my other question is,

If the file space allocation works like Glenn said earlier, how come
with the exact same files from 2 different installations using the
exact procedures, can result in different fragmentation?

in the atacontrol raid1 failure case, /dev/ar0s1a: ... 0.5% fragmentation
in the new build case, /dev/ar0s1a: ... 0.0% fragmentation

That doesn't seems to make a lot of sense.

Thanks again

Lei

On 8/15/05, Kris Kennaway <[EMAIL PROTECTED]> wrote:
> On Mon, Aug 15, 2005 at 09:20:12AM -0400, Jerry McAllister wrote:
> > >
> > > Thanks for the good answers.
> > >
> > > But can anyone tell me why the capacity is going negative? and not full?
> > >
> > > > Filesystem SizeUsed   Avail Capacity  Mounted on
> > > > /dev/ar0s1e248M   -278K228M-0%/tmp
> >
> > As someone mentioned, there is a FAQ on this.   You should read it.
> >
> 
> In fact, you're both wrong, because that's clearly not what's going on
> here (capacity <0, not capacity >100!)
> 
> The only thing I can think of is that you have some filesystem
> corruption on this partition that is confusing the stats.  Try
> dropping to single-user mode and running fsck -f /tmp.
> 
> Kris
> 
> 
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


How to Force UDMA100 Mode on Boot?

2005-08-15 Thread Mark Kane
Hi everyone. I've had a thread going here on the lists about DMA 
problems in 133 mode. In a nutshell, some drives give DMA_WRITE and 
DMA_READ errors when in 133 mode with certain configurations, however 
don't have any problems in 100 or 66 mode. After looking in to many 
solutions I think I'm just going to run it at 100, since from my 
research the benefit isn't that noticeable.


I know about atacontrol to set it manually, but I'd like to set UDMA100 
mode automatically on boot since I have 5 hard drives. I also know the 
sysctl hw.ata.ata_dma, but that doesn't say anything about using 100 vs 133.


Thanks in advance.

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


Re: resource deadlock avoided??

2005-08-15 Thread Kris Kennaway
On Sat, Aug 13, 2005 at 07:50:14AM +0530, Akhthar Parvez. K wrote:
> Hi all,
> 
> I am gettting the following error message while accessing the interchange 
> admin panel. 
> 
> (perl), uid 1004: exited on signal 11 (core dumped)
> 
> I have no problem in accessing the main page. Does anyone know what could be 
> the problem? I had a look at sysctl directives, but did not notice anything 
> particular.
> 
> I would also like to tune my FreeBSD server. The server has 2 cpus and RAID5. 
> There are around 1000 accounts in it. Can anyone suggest the ideal values for 
> the sysctl variables.

Your questions seem to be uncorrelated with your subject line :-)

Kris


pgpsx6vpiy430.pgp
Description: PGP signature


Re: i can't block win98 computers

2005-08-15 Thread Greg Barniskis

Roland Smith wrote:

On Mon, Aug 15, 2005 at 11:28:10PM +0300, vladone wrote:


Hi!
I try to block some computers to acces my gateway based on MAC
address.
I use this ipfw rule:
 ipfw add 100 deny mac any xx:yy:aa:bb:cc:dd in via $private_interface
With this i can block XP computers but not work with Win98. I dont
understand what is happened!



As the ipfw manpage states, you can filter on layer-2 header fields (of
which the MAC address is one) _where available_.

It could be that Win98 doesn't correctly list the MAC address in the
packets. You could try using tcpdump to check the packets.

Roland



I think you could correct this problem by reversing the rule 
construction. Instead of denying all the bad MACs, create rules that 
permit all the good MACs and that deny all other traffic. All 
packets with unidentified MACs would then get dropped. Of course, 
this won't work if you have some Win98 boxes that you'd like to 
pass, and some that you'd like to drop.


Otherwise, maybe you could fix the problem by installing FreeBSD on 
all the Win98 machines. 8)


--
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: i can't block win98 computers

2005-08-15 Thread Andrew L. Gould
On Mon, 15 Aug 2005 17:19:49 -0400
Hornet <[EMAIL PROTECTED]> wrote:

> On 8/15/05, vladone <[EMAIL PROTECTED]> wrote:
> > Hi!
> > I try to block some computers to acces my gateway based on MAC
> > address.
> > I use this ipfw rule:
> >   ipfw add 100 deny mac any xx:yy:aa:bb:cc:dd in via
> > $private_interface With this i can block XP computers but not work
> > with Win98. I dont understand what is happened!
> > I try against different computer with win98 OS and i can't block it.
> > Only messenger is blocked but navigation work well. Computers with
> > WinXP OS is blocked succesfull.
> > I believe as is an problem with TCP packets that comming from Win98
> > computers but i dont know how i can resolv this.
> 
> IIRC, 98 had a hacked down version of the TCP/IP stack opposed to the
> normal unix stack.
> All though I don't think this would be a issue, as 98 boxes would not
> be able to use any type of switch if the TCP/IP stack did not have
> some type of MAC header in it.
> 
> Clear your arp table and look to see if you get an arp address for
> the 98 boxes. You might find that you have a typo in the address, or
> pull the MAC right off the card it self.

If you're trying to keep Win98 computers off the internet without
blocking them from the internal network, you could try manually
configure their NIC's with an internal, nonexistent name
server. Technically, they would have access to the internet; but
without actual IP addresses, non-savvy users would think that
access to the internet is blocked.  (Savvy users could just change
the configuration.) Would this accomplish your goal?  (Do you have
savvy users?)

I have one WinXP computer that's configured this way.  It can still
access shared directories and printers on the local network.

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


Re: Anyone seen anything like this in the ports tree?

2005-08-15 Thread Kurt Buff
luke wrote:
> you can also put all offices on a vpn and use regular smb or nfs or
> whatever transparently
> 

That's what we do now - we have IPSec VPNs between all of our offices.
However, this does not mitigate problem with the number of hops, and the
latency added at each one. It's especially bad in AU, as the ISP they're
using seems to have a large number of routers with latency > 100ms,
sometimes reaching over 200ms.

Ain't nothing magic about a VPN.


Kurt


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


Re: Anyone seen anything like this in the ports tree?

2005-08-15 Thread luke
you can also put all offices on a vpn and use regular smb or nfs or
whatever transparently
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: i can't block win98 computers

2005-08-15 Thread Hornet
On 8/15/05, vladone <[EMAIL PROTECTED]> wrote:
> Hi!
> I try to block some computers to acces my gateway based on MAC
> address.
> I use this ipfw rule:
>   ipfw add 100 deny mac any xx:yy:aa:bb:cc:dd in via $private_interface
> With this i can block XP computers but not work with Win98. I dont
> understand what is happened!
> I try against different computer with win98 OS and i can't block it.
> Only messenger is blocked but navigation work well. Computers with
> WinXP OS is blocked succesfull.
> I believe as is an problem with TCP packets that comming from Win98
> computers but i dont know how i can resolv this.
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

IIRC, 98 had a hacked down version of the TCP/IP stack opposed to the
normal unix stack.
All though I don't think this would be a issue, as 98 boxes would not
be able to use any type of switch if the TCP/IP stack did not have
some type of MAC header in it.

Clear your arp table and look to see if you get an arp address for the 98 boxes.
You might find that you have a typo in the address, or pull the MAC
right off the card it self.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: i can't block win98 computers

2005-08-15 Thread Roland Smith
On Mon, Aug 15, 2005 at 11:28:10PM +0300, vladone wrote:
> Hi!
> I try to block some computers to acces my gateway based on MAC
> address.
> I use this ipfw rule:
>   ipfw add 100 deny mac any xx:yy:aa:bb:cc:dd in via $private_interface
> With this i can block XP computers but not work with Win98. I dont
> understand what is happened!

As the ipfw manpage states, you can filter on layer-2 header fields (of
which the MAC address is one) _where available_.

It could be that Win98 doesn't correctly list the MAC address in the
packets. You could try using tcpdump to check the packets.

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgpJIbEZlxsBY.pgp
Description: PGP signature


RE: PowerChute && FreeBSD 5.4 / 6.0

2005-08-15 Thread Brad Voth
 
Date: Fri, 12 Aug 2005 15:23:46 +0200
From: [EMAIL PROTECTED] (Matthias Apitz)
Subject: PowerChute && FreeBSD 5.4 / 6.0
To: freebsd-questions@freebsd.org
>Message-ID: <[EMAIL PROTECTED]>
>Content-Type: text/plain; charset=us-ascii
>Hello,
>In our rack we have a APC Smart-UPS RT 5000 and in most of
>the Linux servers we use some java-based daemon 'PowerChute'; the
>daemon on each server creats LISTEN in TCP/3052 and UDP/3052
>and the Smart-UPS does UDP broadcasts on this port; this is
>all I can see with tcpdump.
>
>PowerChute does not support FreeBSD (only Solaris, Linux, ...)
>and even if it would support FreeBSD I'm not willing to install
>all the java stuff on it because the system will be used as
>firewall.
>
>Is there somehow a small client for this TCP/UDP protocol?
>
>Thx in advance
>
>   matthias
>-- 
>Matthias Apitz / Sisis Informationssysteme GmbH
>Gruenwalder Weg 28g / D-82041 Oberhaching
>Fon: ++49 89 / 61308-351, Fax: -399, Mobile ++49 170 4527211
>http://www.sisis.de/~guru/

I've never used the PowerChute application, but I do use apcupsd
for all of my APC upses and it works great.  It is ported from linux to 
Freebsd so if you're willing to convert all of them over it would work
great.
But I'm not sure that it will interact with the apcupsd software.

Brad Voth
Systems Administrator
Information Systems
574-647-6816
Memorial Health Systems, Inc
615 N. Michigan St.
South Bend, IN 46601

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


Re: Counter-Strike, Wine and FreeBSD

2005-08-15 Thread Aaron Gibson
quick question, I'm guessing you used wine in ports? I never seemed to
be able to get the fonts to work properly with Counter-Strike 1.5. Can
you post your wine config file?

The alternative was/is cedega, but I felt more inclined to boot windows
than pay even more money to get a game to work (my .02)

Props to ID and epic for supporting alternative platforms. UT* and
Quake/Doom series work very well as I understand it (I played UT2004 and
QuakeIII on FreeBSD with great success)

--Aaron


Andrew P. wrote:
> Hello!
> 
> I'm sorry to bother you all guys, but this issue has really become a
> crusade for me :)
> 
> I'm trying to play Counter-Strike 1.5 on FreeBSD - over network
> 
> The easy part was to install wine, closed-source nvidia drivers,
> launch CS1.5 - and even play on the local listen server with some
> bots. Mouse was not very responsive, but overall performance was
> great. It should be noted that CS1.5 did not need any native dll's -
> only wine's built in modules.
> 
> The problems start when you try to connect to a network server. It
> would just hang. It took me three days of messing with wine, googling,
> and meditating - to finally decide to ask for help at
> freebsd-questions :)
> 
> Things I tried: using virtually all combinations of native dll's from
> Win98 and WinXP, trying each and every option in .wine/config, trying
> all kinds of CS1.5 options, etc.
> 
> Things I didn't try yet - they would require some expertise with
> wine/freebsd: careful debugging of relays and messages, building wine
> from cvs (port is not that old), IPX instead of IP (wild idea), etc.
> 
> Come on, people, could somebody help me with this? CS is the single
> most popular FPS game out there. I could just give up and fall back to
> Linux/Cedega, but that just wouldn't be cool :) I'm sure that if we
> sort it out with CS1.5, Steam and Source will just be a matter of
> time. And some hundreds of geeks won't have second thoughts about
> FreeBSD on their desktop/laptop computers.
> 
> I set up a separate Category on my forum in case anyone needs it:
> http://www.csme.ru/forum/
> 
> 
> Thanks guys,
> Andrew P.
> ___
> 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: disk fragmentation, <0%?

2005-08-15 Thread Kris Kennaway
On Mon, Aug 15, 2005 at 09:20:12AM -0400, Jerry McAllister wrote:
> > 
> > Thanks for the good answers.
> > 
> > But can anyone tell me why the capacity is going negative? and not full?
> > 
> > > Filesystem SizeUsed   Avail Capacity  Mounted on
> > > /dev/ar0s1e248M   -278K228M-0%/tmp
> 
> As someone mentioned, there is a FAQ on this.   You should read it.
> 

In fact, you're both wrong, because that's clearly not what's going on
here (capacity <0, not capacity >100!)

The only thing I can think of is that you have some filesystem
corruption on this partition that is confusing the stats.  Try
dropping to single-user mode and running fsck -f /tmp.

Kris


pgpUKruIUuhAv.pgp
Description: PGP signature


i can't block win98 computers

2005-08-15 Thread vladone
Hi!
I try to block some computers to acces my gateway based on MAC
address.
I use this ipfw rule:
  ipfw add 100 deny mac any xx:yy:aa:bb:cc:dd in via $private_interface
With this i can block XP computers but not work with Win98. I dont
understand what is happened!
I try against different computer with win98 OS and i can't block it.
Only messenger is blocked but navigation work well. Computers with
WinXP OS is blocked succesfull.
I believe as is an problem with TCP packets that comming from Win98
computers but i dont know how i can resolv this.

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


Re: cache-only named won't resolve "localhost"

2005-08-15 Thread Gary W. Swearingen
Lowell Gilbert <[EMAIL PROTECTED]> writes:

> Of course it won't work for nslookup(1); it's not supposed to.
> nslookup is specifically intended for querying a name server.  The
> documentation for host(1) isn't as clear on the subject, but my
> reading of it seems to indicate the same thing.

Well that sure explains something.  But I was also looking at the
"bind" docs thinking it should be able to read /etc/hosts or call the
name server host's resolver ("gethostbyname", etc.), but didn't find
anything, I suppose because someone thinks it is a bad idea since the
resolver library is supposed to look at both databases.

I'm still wondering if I should be declaring a forward zone for
"localhost" or "localhost.localhost"; it seems kinda strange that
the script would set up a reverse for it, but say nothing about
the forward.

I'm also wondering now what "host"-type command just queries the
resolver.  But I guess "ping" works well enough.

> So why it isn't
> working for mozilla is the only anomaly you are seeing.  What is the
> syntax you are using for pointing mozilla at your localhost, and what
> are the precise results?

I've tried:
 localhost/index.html
 localhost.localhost/index.html
 (getting desparate:)
 localhost:80/index.html 
 http://localhost/index.html

This worked immediately:
 127.0.0.1/index.html

The bad Mozilla results are a status line saying "Connecting to
..." and, IIRC, I saw a twirly thing until it times out
after several minutes, with no error message.  I didn't see anything
related to DNS in "preferences".
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Installation problems

2005-08-15 Thread Rafael Cepeda
Hi,

I have a HD of 40 GB with the following structure:
1° partition (20 GB) Windows 2000 (NTFS filesystem)
2° partition (20 GB) Empty (FAT32 filesystem)

I want to install freebsd 5.4 on the second partition. But the problem
is that when I enter on fdisk part of freebsd installation, it shows
me just one crazy partition of 8 GB (type unknow) and the rest of
space unused. Have Freebsd some kind of problem with NTFS filesystem ?
If it haven't, how can deal with this ?

OBS: I've a pentium II 233 MHZ with a 98 bios that doesn't recognize
my Maxtor 40GB HD. To solve this problem I had to install a Maxtor
utility that makes an overlay on bios. I used to have a linux
installed on that partition and it recognized the full HD space.
-- 
Rafael Cepêda
(Federal University of Rio de Janeiro)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: RELEASE 4

2005-08-15 Thread Ted Thomas
Thanks for the prompt response. FYI, I installed 5.4-RELEASE "over" a 
previous version of 5.3 and made the mistake of assuming that because I 
selected "Standard Install" rather than "Upgrade", I would get a clean 
installation. This morning I reinstalled after removing the entire slice 
(thereby forcing newfs) and everything appears to be working perfectly.


Re:Kris Kennaway's response...

You have stale patches in your ports tree.  I've answered this
question approximately N times, so please search the archives.

Kris

I spent about 30 minutes on the site searching for matches to various 
parts of the error message, read numerous FAQ's, and generally browsed 
the installation guides to try and solve this before writing an e-mail. 
If you or Kris could send me an example of where to search and what to 
search for to find this, it would be helpful. I was using the search 
engine at www.freebsd.org, so I assume that was not the right one.


Really appreciate the help. FreeBSD is a remarkable achievement.
-Ted

Björn König wrote:


Ted Thomas wrote:


I just installed RELEASE 4 on a Dell 800mhz w/128mb ram.



I suppose you mean 5.4-RELEASE?

While attempting to install CVSup, I keep encountering patch failures 
like this one:


cosmo4# make install
===>  Vulnerability check disabled, database not found
===>  Extracting for libtool-1.5.10_1
=> Checksum OK for libtool-1.5.10.tar.gz.
===>  Patching for libtool-1.5.10_1
===>  Applying FreeBSD patches for libtool-1.5.10_1
2 out of 8 hunks failed--saving rejects to ltmain.sh.rej
=> Patch patch-ltmain.sh failed to apply cleanly.
=> Patch(es) patch-aa patch-ab patch-ad patch-ae patch-af 
patch-libtoolize.in applied cleanly.

*** Error code 1

Stop in /usr/ports/devel/libtool15.
cosmo4#

I've rat-holed on this, when CvsUp failed, I tried ezm3, that failed; 
then I tried installing libtool alone, that failed...



Install the package cvsup (or cvsup-without-gui) and update your local 
ports directory before trying to install anything from ports. See also


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html 


("CVSup Method")

Originally installed RELEASE 4 from an iso image, but ran into this 
problem. Also could not get GENERIC kernel to compile.



A few lines from the output might be helpful.

Björn



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


Re: Mail Delivery (failure [EMAIL PROTECTED])

2005-08-15 Thread ddiana
thank you for your email.
i will get back to you asap.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Only some IP's (SSHd)

2005-08-15 Thread Lowell Gilbert
> > If you would like to permit ssh logins from specific IP addresses you
> > should take a look at:
> 
> > man 5 hosts_access
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/tcpwrappers.html
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls.html
> 
> It is also possible to do it via AllowUsers directive in sshd_config

No, that is a slightly different (and complimentary) measure.  
It affects *who* may log in, not *where* logins may come from.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


JDBC Driver & lookup Context

2005-08-15 Thread Zumba
I'm trying to connect to mysql database using InitialContext and
DataSource lookup but it not works on FreeBSD 5.4 + tomcat 5.5 + jdk
1.5.0 + mysql-connector-java.jar (3.1.0) installed from ports. The
application seems that reads ok the JNDI Resources variables but when I
invoke dataSource.getConnection() I get the message on SQLException:
"Cannot create JDBC class for 'com.mysql.jdbc.Driver'. The fact is if I
use DriverManager.getConnection("jdbc:mysql//localhost/mysql?params")
without handle mysql-connector-java.jar and your directories it
(com.mysql.jdbc.Driver) works fine.

 META-INF/context.xml:


   


 the reference on WEB-INF/Web.xml:

jdbc/GridDB
javax.sql.DataSource
Container


 servlet code:
Context initialContext = new InitialContext();
Context env = (Context) initialContext.lookup("java:comp/env");
DataSource dataSource = (DataSource) env.lookup("jdbc/GridDB");
connection = dataSource.getConnection();

Thanks,
Zumba




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


Re: Dump on large file systems

2005-08-15 Thread jpp
> On 8/14/05, John Pettitt <[EMAIL PROTECTED]> wrote:
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: RIPEMD160
>>
>>
>> I tried to dump a 600gb file system a few days ago and it didn't
>> work.  dump went compute bound during phase III and never wrote any
>> data to the dump device (this on an up to date  RELENG_5 box).  - is
>> this a known problem? Are there any work arounds?
>>
>> John
>> -BEGIN PGP SIGNATURE-
>> Version: GnuPG v1.4.1 (MingW32)
>>
>> iD8DBQFC/1VpaVyA7PElsKkRAwnlAKCiqEJ5BLoKpHIRCOLMbcSjrpNBjgCgyyZp
>> nM+KOXrDZs96+nk7QV6hOCc> =7Kv9
>> -END PGP SIGNATURE-
>>
>> ___
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to
>> "[EMAIL PROTECTED]"
>>
>
> If you are dumping that 660G slice to a file, you will need to split
> it up into smaller chuncks.
>
> dump -0auLf - / | split -a4 -b1024m - "patth/to/dump/file."
>
> The above line will create 1G files and append the filename (see the
> trailing ".")
> eg.. 20050815-root.
> 20050815-root.aaab
>
> You can also gzip it, but this makes the backup take a long time.
> dump -0auLf - / | gzip | split -a4 -b1024m - "patth/to/dump/file.gz."
>
>

Nope I'm dumping to an IOMEGA Rev 35Gb removable disk - but it doesn't get
that far -it hangs before wrting any output data.

John

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


Re: Simple IPv6 question [Was: Re: IPv6 site local EUI-64 adresses and jails]

2005-08-15 Thread Michael W. Oliver
On 2005-08-15T20:51:05+0200, Emanuel Strobl wrote:
> Dear inet6 guys,
> 
> I don't know the kind of addresses FreeBSD uses for autoconfigured 
> link-local addresses.
> For example: fe80::20e:cff:fe34:2bf8%em0
> 
> What the hack is %em0 ??? Interestingly I can use this address, but ping6 
> fe80::20e:cff:fe34:2bf8 doesn't work
> The Handbook doesn't clarify this mysterious address. Is it FreeBSD 
> specific?

Check out

http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/ipv6.html

``Some of the userland tools support extended numeric IPv6 syntax, as
documented in draft-ietf-ipngwg-scopedaddr-format-00.txt. You can
specify outgoing link, by using name of the outgoing interface like
"fe80::1%ne0". This way you will be able to specify link-local scoped
address without much trouble.''

-- 
Mike Oliver
[see complete headers for contact information]


pgp2o1kLD0K0u.pgp
Description: PGP signature


Counter-Strike, Wine and FreeBSD

2005-08-15 Thread Andrew P.
Hello!

I'm sorry to bother you all guys, but this issue has really become a
crusade for me :)

I'm trying to play Counter-Strike 1.5 on FreeBSD - over network

The easy part was to install wine, closed-source nvidia drivers,
launch CS1.5 - and even play on the local listen server with some
bots. Mouse was not very responsive, but overall performance was
great. It should be noted that CS1.5 did not need any native dll's -
only wine's built in modules.

The problems start when you try to connect to a network server. It
would just hang. It took me three days of messing with wine, googling,
and meditating - to finally decide to ask for help at
freebsd-questions :)

Things I tried: using virtually all combinations of native dll's from
Win98 and WinXP, trying each and every option in .wine/config, trying
all kinds of CS1.5 options, etc.

Things I didn't try yet - they would require some expertise with
wine/freebsd: careful debugging of relays and messages, building wine
from cvs (port is not that old), IPX instead of IP (wild idea), etc.

Come on, people, could somebody help me with this? CS is the single
most popular FPS game out there. I could just give up and fall back to
Linux/Cedega, but that just wouldn't be cool :) I'm sure that if we
sort it out with CS1.5, Steam and Source will just be a matter of
time. And some hundreds of geeks won't have second thoughts about
FreeBSD on their desktop/laptop computers.

I set up a separate Category on my forum in case anyone needs it:
http://www.csme.ru/forum/


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


Simple IPv6 question [Was: Re: IPv6 site local EUI-64 adresses and jails]

2005-08-15 Thread Emanuel Strobl
Am Freitag, 12. August 2005 21:24 CEST schrieb Emanuel Strobl:
> Am Freitag, 12. August 2005 20:53 CEST schrieb Emanuel Strobl:
> > Hi all,
> >
> > I'm quiet new to IPv6 so I'd like to ask some questions:
>
> Here are two more:
>
> How do I use the eui64 option of ifconfig? 'ifconfig fxp0 inet6
> fe80:0:0:0:eui64 ' doesn't work!
>
> What's the meaning of the "%fxp0" tail of the ifconfig output for the
> inet6 address?

Dear inet6 guys,

I don't know the kind of addresses FreeBSD uses for autoconfigured 
link-local addresses.
For example: fe80::20e:cff:fe34:2bf8%em0

What the hack is %em0 ??? Interestingly I can use this address, but ping6 
fe80::20e:cff:fe34:2bf8 doesn't work
The Handbook doesn't clarify this mysterious address. Is it FreeBSD 
specific?

Thanks in andvance, I posted this also to current@ since I got no answer 
from questions@

-Harry


>
> Thanks,
>
> -Harry
>
> > So far I know how to generate s site-local address on basis of the MAC
> > address of the interface. That's what FreeBSD does itself for INET6
> > enabled kernels.
> > Now in the 24-16-24 scheme of th interface id part of the IPv6
> > address, the 16 bits were inserted with the value FFFE. And bit 57 was
> > changed to one! Why What if it is alread one? Or isn't tehre any
> > vendor who can have bit 41 of his MAC 1?
> > Now I want to use a dedicated interface, which is in a different
> > subnet, for 5 jails. How do I do that if I want to keep the MAC
> > relation and if I'm not allewd to change the FFFE insert? It isn't
> > possible then, is it? What should I do instead? Invent my own 64-bit
> > scheme?
> >
> > I hope you understand my questions, thanks a lot in advance,
> >
> > -Harr


pgptY0pgdPFKS.pgp
Description: PGP signature


Re: Monitor Tuning

2005-08-15 Thread Chris



On Friday, 12 August 2005 at 15:52:13 -0400, Sean wrote:


My display is not very sharp and I was looking for a few tips that might
help to cure things. I tweeked a few things and no luck. Still a soft
dull image. Little annoying on the eyes.

Is anyone running a NEC Multisync XV17+ with an Nvidia 6500 ultra and
getting a sharp display?

Excerpts from my xorg.conf will give you my monitor and graphics card.




There is an online guide at

http://www.nec-mitsubishi.com/coremedia/download/76118/MSXV17+-UsersGuide-english-german-spanish-italian-french.pdf

I made my monitor (a different make) sharper with a Convergance control 
which I think makes the red blue and green electron streams land at the 
same point on the screen. There is a reference to convergance in the 
guide but only in reference to de-gaussing. Still that might help if you 
haven't already done it.


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


Re: cache-only named won't resolve "localhost"

2005-08-15 Thread Lowell Gilbert
[EMAIL PROTECTED] (Gary W. Swearingen) writes:

> Kevin Kinsey <[EMAIL PROTECTED]> writes:
> 
> > Did you `sh /var/named/etc/namedb/make-localhost` ?
> 
> Yup, but that only handles the reverse translation (which works OK)
> and, of course, doesn't handle other stuff I might have in "/etc/hosts".
> 
> I also have in /etc/nsswitch.conf:
> hosts: files dns
> 
> so I'd think domain resolution should look in /etc/hosts before
> even checking my cache-only named.  Which it seems to do for "ping",
> but not for "host", "nslookup", or "mozilla".

Of course it won't work for nslookup(1); it's not supposed to.
nslookup is specifically intended for querying a name server.  The
documentation for host(1) isn't as clear on the subject, but my
reading of it seems to indicate the same thing.  So why it isn't
working for mozilla is the only anomaly you are seeing.  What is the
syntax you are using for pointing mozilla at your localhost, and what
are the precise results?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: *** POKED TIMER *** in named

2005-08-15 Thread Kris Kennaway
On Mon, Aug 15, 2005 at 09:35:03AM +0500, DeadMan Xia  wrote:
> I m running  FreeBSD 5.4 on Dell PowerEdge 6650 on Quad Processor. I
> ve configured the BIND, when I start BIND its works fine but i m also
> getting an error when i do tail -f /var/log/messages
> 
> Aug 15 09:26:15 www named[769]: starting BIND 9.3.1
> Aug 15 09:26:15 www named[769]: couldn't add command channel
> 127.0.0.1#953: not found
> Aug 15 09:26:15 www named[769]: couldn't add command channel ::1#953: not 
> found
> Aug 15 09:26:15 www named[769]: running
> Aug 15 09:27:34 www named[769]: *** POKED TIMER ***
> 
> Is there any one who can help me out, so that i may get rid of this trouble, 
> Thanx in Advance...

Search the threads and current mailing lists for discussion of this issue.

Kris

pgp2IAlpKyUGw.pgp
Description: PGP signature


Re: RELEASE 4

2005-08-15 Thread Kris Kennaway
On Sun, Aug 14, 2005 at 08:37:51PM -0700, Ted Thomas wrote:
> I just installed RELEASE 4 on a Dell 800mhz w/128mb ram.
> 
> While attempting to install CVSup, I keep encountering patch failures 
> like this one:
> 
> cosmo4# make install
> ===>  Vulnerability check disabled, database not found
> ===>  Extracting for libtool-1.5.10_1
> => Checksum OK for libtool-1.5.10.tar.gz.
> ===>  Patching for libtool-1.5.10_1
> ===>  Applying FreeBSD patches for libtool-1.5.10_1
> 2 out of 8 hunks failed--saving rejects to ltmain.sh.rej
> => Patch patch-ltmain.sh failed to apply cleanly.
> => Patch(es) patch-aa patch-ab patch-ad patch-ae patch-af 
> patch-libtoolize.in applied cleanly.
> *** Error code 1
> 
> Stop in /usr/ports/devel/libtool15.
> cosmo4#
> 
> I've rat-holed on this, when CvsUp failed, I tried ezm3, that failed; 
> then I tried installing libtool alone, that failed...
> 
> Originally installed RELEASE 4 from an iso image, but ran into this 
> problem. Also could not get GENERIC kernel to compile. So I installed 
> again from FTP, and I'm still having the same problems.
> 
> Sorry to have to write. It's been years since I had any problem at all 
> with FBSD...

You have stale patches in your ports tree.  I've answered this
question approximately N times, so please search the archives.

Kris


pgpopmT3BnGEc.pgp
Description: PGP signature


Cannot use linux-blackdown-jdk1.4.2 Mozilla Plugin. Need help.

2005-08-15 Thread Josh Zale
Hello all, I know this is a noob question, but I really cannot figure
this out. I've  installed the linux-blackdown-jdk1.4.2 port. Ive also
installed linux_base-8-8.0_6, and have set linux_enable="YES" in
rc.conf. Problem is,  whenever I start firefox, I get the  message:
LoadPlugin: failed to initialize shared library
/usr/compat/linux/usr/local/linux-blackdown-jdk1.4.2/jre/plugin/i386/mozilla/libjavaplugin_oji.so
[Shared object "libdl.so.2" not found, required by
"libjavaplugin_oji.so"].

Now, libdl.so.2  exists in my /compat/linux/lib directory. I,ve tried
moving the file to diiferent lib directories, with no success. I would
really like to run java apps in my browser. Any help would be greatly
appreciated. I am using FreeBSD 5.4, by hte way.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: RELEASE 4

2005-08-15 Thread Björn König

Ted Thomas wrote:


I just installed RELEASE 4 on a Dell 800mhz w/128mb ram.


I suppose you mean 5.4-RELEASE?

While attempting to install CVSup, I keep encountering patch failures 
like this one:


cosmo4# make install
===>  Vulnerability check disabled, database not found
===>  Extracting for libtool-1.5.10_1
=> Checksum OK for libtool-1.5.10.tar.gz.
===>  Patching for libtool-1.5.10_1
===>  Applying FreeBSD patches for libtool-1.5.10_1
2 out of 8 hunks failed--saving rejects to ltmain.sh.rej
=> Patch patch-ltmain.sh failed to apply cleanly.
=> Patch(es) patch-aa patch-ab patch-ad patch-ae patch-af 
patch-libtoolize.in applied cleanly.

*** Error code 1

Stop in /usr/ports/devel/libtool15.
cosmo4#

I've rat-holed on this, when CvsUp failed, I tried ezm3, that failed; 
then I tried installing libtool alone, that failed...


Install the package cvsup (or cvsup-without-gui) and update your local 
ports directory before trying to install anything from ports. See also


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html
("CVSup Method")

Originally installed RELEASE 4 from an iso image, but ran into this 
problem. Also could not get GENERIC kernel to compile.


A few lines from the output might be helpful.

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


Re: Installer can't find hdd

2005-08-15 Thread Gary W. Swearingen
"Efren Bravo" <[EMAIL PROTECTED]> writes:

>  I think that the problems is in fBSD that it doesn't able to communicate
> with IDE banks, it raise the errors:  
...
>  if the motherboard's controller isn't supported by fBSD, what could I do,
> should I send to garbage the motherboard?  

If you're convinced it's a FreeBSD problem and you'd like to do future
FreeBSD users a favor, then write up a formal problem report (find link
on home page) and also post your 5.4-R problem on [EMAIL PROTECTED]  If
you're keen on trying to get the problem fixed, try 6.x on it and if
it does the same thing, report the problem on [EMAIL PROTECTED]  If
you are really ready to trash the MB, and it's reasonably new, some
developer _might_ want it to debug the problem down on.  Maybe.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Installer can't find hdd

2005-08-15 Thread Efren Bravo
 Hi (Old subject: Problem with Seagate hdd),  
  
 I've downloaded 5.4-RELEASE-i386-disc1.iso and 5.4-RELEASE-i386-disc2.iso
this weekend and I burned them in CDs but I still have problem with fBSD
installer.  
  
 In fact, I not only have tried with a Fujitsu Model: MPD3043AT hdd but
ST340014A (40Gb barracuda7200.7) hdd as well without results.  
  
 I think that the problems is in fBSD that it doesn't able to communicate
with IDE banks, it raise the errors:  
  
 ata0-master: Failure - ATA-IDENTIFY timed out  
 ata0-master: Failure - ATA-IDENTIFY timed out  
 ata0-master: Failure - ATA-IDENTIFY timed out  
 atapi ... I don't remember the rest  
  
 I've tested the installer in other four PCs and it works well.  
  
 if the motherboard's controller isn't supported by fBSD, what could I do,
should I send to garbage the motherboard?  
  
 Thanks..

 PD: My motherboard
:http://www.biostar.com.tw/products/mainboard/board.php?name=U8668-D%20v7.x
 


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


Re[2]: Only some IP's (SSHd)

2005-08-15 Thread Daniel Gerzo
Hi Adi,

Monday, August 15, 2005, 6:08:02 PM, you wrote:

> On Mon, 15 Aug 2005 08:29:46 -0700
> Carstea Catalin <[EMAIL PROTECTED]> wrote:

>> What is the parameter that must be setting-up in
>> my /etc/ssh/sshd_config to permit only known IPs.

> If you would like to permit ssh logins from specific IP addresses you
> should take a look at:

> man 5 hosts_access
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/tcpwrappers.html
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls.html

> It's definetely a very good idea to search the available online &
> offline documentation before posting already documented and ansewred
> questions.

It is also possible to do it via AllowUsers directive in sshd_config

-- 
Best Regards,

 DanGer, ICQ: 261701668  | e-mail protecting at: http://www.2pu.net/
 http://danger.rulez.sk  | proxy list at:http://www.proxy-web.com/
 | FreeBSD - The Power to Serve!

[ BIRDS do it, bees do it, even chimpanzees do ]

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


RE: FreeBSD Gateway problems

2005-08-15 Thread Ruben Bloemgarten

Hi Tim, 

Which of the firewalls do you want to use and if you want to use both what
do you want the functionality to be? If you can send your rc.conf,ipf.conf
and ipnat.conf I could check out the ipf part and see if I find anything.
Obviously Glen's experience with ipfw is more extensive than mine so he
would most likely be of more help on that front. It would however of great
help to know what you're trying to accomplish. 

Regards,
Ruben

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tim Holmes
Sent: August 15, 2005 10:47 AM
To: freebsd-questions@freebsd.org
Subject: FreeBSD Gateway problems


For years I've used a FreeBSD as my gateway.  Well I haven't had a high
speed connection for 3 years now, and I've just gotten it back.  Since
then I've reloaded the machine from 4.3 to 5.3.  I thought I had it all
set up so when I did get connection, I could make a quick edit to my 
rc.conf and I'd be ready to go.  Well turns out I was way off.

The machine has no problems geting an IP from the cable modem, and I can
get anywhere I want from that machine directly.  (I'm currently ssh'd to
the router machine to send email, use w3m to find How-Tos)  But it won't
pass traffic from the rest of the network.

Here are the settings in my rc.conf:

gateway_enable="YES"  # Enable as Lan gateway
# firewall_enable="YES"
natd_enable="YES"
natd_interface="xl0"
natd_flags="-f /etc/natd.conf"
ipmon_enable="YES"
ipmon_flags="-Ds"

The firewall_enable is disable now because when it's turned on, I can't 
actually get out from directly on the machine.  At this point I just want
it to do the routing and then I can work on building a firewall afterwards.

Before I did the update and rebuilt the kernel yesterday, I had these
options
in rc.conf

# ipnat_enable="YES"# Start ipnat function
# ipnat_rules="/etc/ipnat.rules"# rules definition file for ipnat
# ipfilter_enable="YES" # Start ipf firewall
# ipfilter_rules="/etc/ipf.rules"   # loads rules definition text file

Well all these other How-Tos I found on FreeBSDDiary.org told me all I
needed
was "gateway_enable=YES" and "firewall_enable=YES".  Also to add these two 
options to the kernel:

options IPFILTER
options IPDIVERT


But that wasn't working.  Another mentioned I needed
defaultrouter="192.168.2.254",
but that's not doing it either.  It wasn't actually running nat, and I'd get
errors
if I tried to start.  Here's the message I saw at boot after a new kernel.

1: unexpected keyword (any) - from
/sbin/ipf: /etc/ipf.rules: parse error (-1), quitting
/etc/rc: WARNING: NO IPNAT RULES

After following some other How-Tos I tried running ipfw, but I keep getting
an error
message that won't return any helpful searches from Google.

# ipnat -f /etc/ipnat.conf 
ioctl(SIOCGNATS): Operation not permitted
# ipfw -f flush
ipfw: setsockopt(IP_FW_FLUSH): Protocol not available
# ipf -FA -f /etc/ipf.rules 
ioctl(SIOCIPFFL): Operation not permitted
# ipfw add divert natd all from any to any via xl0
ipfw: getsockopt(IP_FW_ADD): Protocol not available

None of those error messages will give me anything to go.  So I'm at a lose
here.  Can
anybody point me to How-To, or share their rc.conf edits to make this work?

I know this was a little long, but thanks in advance for the help.

tdh
-- 
 +-
   \./   | Tim Holmes  --  [EMAIL PROTECTED]: [EMAIL PROTECTED]
  (0Y0)  | UIN: 17021091  -- AIM: tdh004
 -ooO--(_)--Ooo--+-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


-- 
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.9/72 - Release Date: 08/14/2005

-- 
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.9/72 - Release Date: 08/14/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.9/72 - Release Date: 08/14/2005
 

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


Re: disk fragmentation, <0%?

2005-08-15 Thread Lei Sun
This happened, after I tested the atacontrol to rebuild the raid1.

The /tmp partition doesn't have anything but several empty directories created.

and I have the clear /tmp directive in the rc.conf, which will clean
up the /tmp everytime when system boot up.

So that was really wierd. as it never happened this way the previous
time that I was rebuilding the raid1.

Thanks

Lei

On 8/15/05, Freminlins <[EMAIL PROTECTED]> wrote:
> On 8/15/05, Jerry McAllister <[EMAIL PROTECTED]> wrote:
> > >
> 
> > As someone mentioned, there is a FAQ on this.   You should read it.
> >
> > It is going negative because you have used more than the nominal
> > capacity of the slice.   The nominal capacity is the total space
> > minus the reserved proportion (usually 8%) that is held out.
> > Root is able to write to that space and you have done something
> > that got root to write beyond the nominal space.
> 
> I'm not sure you are right in this case. I think you need to re-read
> the post. I've quoted the relevent part here:
> 
> > > Filesystem SizeUsed   Avail Capacity  Mounted on
> > > /dev/ar0s1e248M   -278K228M-0%/tmp
> 
> Looking at how the columns line up I have to state that I too have
> never seen this behaviour.  As an experiment I over-filled a file
> system and here's the results:
> 
> Filesystem SizeUsed   Avail Capacity  Mounted on
> /dev/ad0s1f965M895M   -7.4M   101%/tmp
> 
> Note capacity is not negative. So that makes three of us in this
> thread who have not seen negative capacity on UFS.
> 
> I have seen negative capacity when running an old version of FreeBSD
> with a very large NFS mount (not enough bits in statfs if I remember
> correctly).
> 
> > jerry
> 
> Frem.
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: After Partitioning a Drive: WARNING - WRITE_DMA UDMA ICRCerror (retrying request)

2005-08-15 Thread Mark Kane
Well, it's a week later and I've been trying some things. I don't want 
to get in to too much complicated detail, but I've now got the following 
disk setup:


Primary Master - 200GB 7200RPM
Secondary Master - TDK VeloCD CD Burner
Secondary Slave - Sony DRU500A
RAID0 Master - 160GB 7200RPM
RAID0 Slave - 160GB 7200RPM

I don't have the two 80GB's or 60GB's in there now since I was just 
testing with this setup. I thought keeping the OS drive on primary 
master and the rest on RAID would do the trick, but it didn't.


Bottom line is, I'm still getting the same errors with several different 
configurations of the drives. Now in the last couple of days I'm also 
getting READ DMA errors when reading from one of the 160GB drives as 
well. Before it was all just WRITE, but now some READs are thrown in 
there as well.


I should note that I have never seen a "FAILURE" message, only the 
"WARNING" messages. Also, if I downgrade the speed to UDMA100, it seems 
to work just fine as it does in UDMA66 mode.


I'm wondering if anyone else has any ideas? Personally I'm out, and if 
nobody else knows (including Maxtor, Giga-Byte, and my parts 
distributor) then I'm going to have to see what I can do to get another 
brand/model motherboard. I'm to the point where I think it's something 
with their controller and how it handles Maxtor drives. Now that I 
remember, I used to see similar results when running Windows on the 
previous board before sending it in (same model). However Windows would 
automatically take it down to 100 so I didn't see any errors.


Anyone think its something other than the board and it's controllers, or 
is that a pretty good estimate?


Thanks in advance.

-Mark

Mark Kane wrote:
Okay well I tried another test. I left the 160GB on the primary IDE 
channel, took out both optical drives, and put the 60GB on the secondary 
IDE channel by itself.


I copied the data over again. No errors this time. I checksummed the 
data, and everything is OK.


Chuck Swiger wrote:

Without another known-working mainboard to test, you can't really be 
sure, but it's a hardware problem of some sort, perhaps due to poor 
cabling, perhaps a marginal or failing mainboard.



The cables are new, and the other drive on the same channel works in 
UDMA133 with no errors.


The motherboard is new as well, fresh from the factory (unless it's 
defective).


If you use BIOS or atacontrol to slow down to UDMA 33 speeds, does 
everything work OK?



I tried slowing it down to UDMA66 speeds via atacontrol, and the errors 
went away on the 80GB. I haven't tried the 60GB drive yet.


-Mark
___
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: Monitor Tuning

2005-08-15 Thread Gary W. Swearingen
Greg 'groggy' Lehey <[EMAIL PROTECTED]> writes:

> Others have said this already, but to clarify: adjusting the monitor
> parameters may enable you to get higher resolution or less flicker,
> but they're unlikely to make it sharper unless they were previously
> out of the operating range.  Nowadays that's seldom, since monitors
> will just refuse to operate out of spec.

Yeah, and lower resolutions and more flicker (lower refresh rates)
usually give sharper images.

I once got rid of a lot of fuzziness by wrapping the video cable with
aluminum foil; which was feasible because it was only a few inches
between the MB and a backpanel connector.  But you might consider your
longer video cable routing to keep it as far as possible from RF noise.

I've also seen a montitor get fuzzy when setting too close to a noisy
computer or another monitor.

Another thing that sometimes helps and sometimes hurts is to give your
monitor a good slap.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Only some IP's (SSHd)

2005-08-15 Thread Adi Pircalabu
On Mon, 15 Aug 2005 08:29:46 -0700
Carstea Catalin <[EMAIL PROTECTED]> wrote:

> What is the parameter that must be setting-up in
> my /etc/ssh/sshd_config to permit only known IPs.

If you would like to permit ssh logins from specific IP addresses you
should take a look at:

man 5 hosts_access
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/tcpwrappers.html
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls.html

It's definetely a very good idea to search the available online &
offline documentation before posting already documented and ansewred
questions.

-- 
Adi Pircalabu (PGP Key ID 0x04329F5E)


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

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


Re: swap file using gmirror?

2005-08-15 Thread bob self

Andrea Venturoli wrote:


bob self wrote:

If you put your swap partition on a gmirror drive, your swap 
partition will benefit from RAID 1.
swapoff="YES" only allows for a clean shutdown, so that gmirror 
won't rebuild everything on next boot.


 bye
av.




So, is there swap space somewhere?



Maybe yes, maybe not: you won't find the answer in rc.conf and 
swapoff="YES" doesn't say anything about that.


Try "swapinfo".

 bye
av.



I ran swapinfo:

Device1K-blocks Used Avail Capacity
/dev/mirror/gm0s1b 31457280   3145728   0%

So, I have swap space?

Bob


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


Re: Failed installation of FreeBSD 5.4

2005-08-15 Thread Gary W. Swearingen
Milscvaer <[EMAIL PROTECTED]> writes:

> that. There must be something wrong with the boot
> records that fdisk is not correcting. 

> I know friends who have had unuseable boot records as
> well and have to boot from floppies, Its not really a
> big inconvenience.

Spend some time with the boot, boot0cfg, fdisk, bsdlabel, manpages and
the handbook.  Note that fdisk can install either a DOS-type MBR (and
set active part) or a FreeBSD-type MBR (use F1...).  Also note that
fdisk does not install the boot records that are probably not working
for you: the ones at the start of your primary partition.  These are
installed by "bsdlabel" with -B option.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Can FreeBSD handle 300G SATA disk?

2005-08-15 Thread Paul Schmehl
--On Sunday, August 14, 2005 22:30:07 + Bo Xiao <[EMAIL PROTECTED]> 
wrote:


Installation on another box, also with 5.4R, went well. So it must be
this particular Dell PowerEdge 750. After moving the disk back,

% sudo newfs /dev/ad3s1d
newfs: /dev/ad3s1d: failed to open disk for writing
% sudo mount /dev/ad3s1d /mnt/a
mount: /dev/ad3s1d: Operation not permitted
%

But dmesg gives right info so not likely the bios.
Timecounters tick every 10.000 msec
ad2: 76293MB  [155009/16/63] at ata1-master
SATA150
ad3: 286168MB  [581421/16/63] at ata1-slave SATA150
Mounting root from ufs:/dev/ad2s1a
em0: Link is up 100 Mbps Full Duplex


What does fdisk show?

utd59514# fdisk /dev/ad4
*** Working on device /dev/ad4 ***
parameters extracted from in-core disklabel are:
cylinders=484406 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=484406 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 7 (0x07),(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX)
   start 63, size 204796557 (8 Meg), flag 0
   beg: cyl 0/ head 1/ sector 1;
   end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
   start 204796620, size 283482990 (138419 Meg), flag 80 (active)
   beg: cyl 1023/ head 255/ sector 63;
   end: cyl 1023/ head 254/ sector 63
The data for partition 3 is:

The data for partition 4 is:

utd59514# fdisk /dev/ad5
*** Working on device /dev/ad5 ***
parameters extracted from in-core disklabel are:
cylinders=484406 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=484406 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
   start 63, size 488279547 (238417 Meg), flag 80 (active)
   beg: cyl 0/ head 1/ sector 1;
   end: cyl 1023/ head 5/ sector 63
The data for partition 2 is:

The data for partition 3 is:

The data for partition 4 is:


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


Only some IP's (SSHd)

2005-08-15 Thread Carstea Catalin
What is the parameter that must be setting-up in my /etc/ssh/sshd_config to 
permit only known IPs.

-- 
Any help would be greatly appreciated.
regards,
Carstea Catalin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: cache-only named won't resolve "localhost"

2005-08-15 Thread Gary W. Swearingen
Kevin Kinsey <[EMAIL PROTECTED]> writes:

> Did you `sh /var/named/etc/namedb/make-localhost` ?

Yup, but that only handles the reverse translation (which works OK)
and, of course, doesn't handle other stuff I might have in "/etc/hosts".

I also have in /etc/nsswitch.conf:
hosts: files dns

so I'd think domain resolution should look in /etc/hosts before
even checking my cache-only named.  Which it seems to do for "ping",
but not for "host", "nslookup", or "mozilla".

> Or, maybe I'm just not catching on :-(

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


Re: swap file using gmirror?

2005-08-15 Thread Andrea Venturoli

bob self wrote:

If you put your swap partition on a gmirror drive, your swap partition 
will benefit from RAID 1.
swapoff="YES" only allows for a clean shutdown, so that gmirror won't 
rebuild everything on next boot.


 bye
av.




So, is there swap space somewhere?


Maybe yes, maybe not: you won't find the answer in rc.conf and 
swapoff="YES" doesn't say anything about that.


Try "swapinfo".

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


Re: Acer

2005-08-15 Thread Charlie Scherer

Alexandr Kobzarenko wrote:


senks for your answer, but problem is very hard..
i am install the ltmdm, then add  module ltmdm in startup. that's O.K/


But !!!
i see this:
# kldstat
# ...

...
ltmdm.ko
So, the module are load !!!   But device cual0  dont create in /dev 
-directory

this is a problem


 Including ltmdm_enable="YES" in /etc/rc.conf should set up the device 
node properly.  You should check the console messages to see if your 
modem can't load because of IRQ conflict or something like that.  Post 
the appropriate lines from dmesg.



Please , help me. My russian friends dont known haw do this.
maybe i dont need a ltmdm ?


 If you aren't sure if you have the proper hardware you can try pciconf 
-l -v and check for something from a vendor like "Lucent/Agere", with a 
device description that might include "WinModem" in the class "simple 
comms."  The Lucent/Agere chipset might have been used by more than one 
vendor so check the web.


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


Creating standalone passwords in /etc/passwd format

2005-08-15 Thread Gareth Bailey
Hi there,

I am using pserver for authentication on CVS. Rather than use the same
passwords as in /etc/passwd, I'd rather create different ones for
users. How would I output a password to, for example, a text file in
the same format as that of /etc/passwd.

i.e: # xxx mynewpassword > encrypted_password.txt


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


Re: Anyone seen anything like this in the ports tree?

2005-08-15 Thread Bob Johnson
On 8/12/05, Kurt Buff <[EMAIL PROTECTED]> wrote:
> All,
> 
> http://www.networkworld.com/news/2005/080805-wafs.html
> 
> It's software-in-a-box to tone down the chattiness of CIFS/SMB and NFS,
> so that WAN links aren't so slow.
> 
> I'm working with offices in the US, UK and AU, and file sharing between
> them is horrendous, mostly because of how many hops between them.

I don't know enough about its internal workings to really say, but it
seems likely that setting up a Coda server at each office and using
NFS or SMB for local access to those servers might do what you want.

I've seen Coda in ports somewhere, and the main website is
http://www.coda.cs.cmu.edu/

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


Re: disk fragmentation, <0%?

2005-08-15 Thread Freminlins
On 8/15/05, Jerry McAllister <[EMAIL PROTECTED]> wrote:
> >

> As someone mentioned, there is a FAQ on this.   You should read it.
> 
> It is going negative because you have used more than the nominal
> capacity of the slice.   The nominal capacity is the total space
> minus the reserved proportion (usually 8%) that is held out.
> Root is able to write to that space and you have done something
> that got root to write beyond the nominal space.

I'm not sure you are right in this case. I think you need to re-read
the post. I've quoted the relevent part here:
 
> > Filesystem SizeUsed   Avail Capacity  Mounted on
> > /dev/ar0s1e248M   -278K228M-0%/tmp

Looking at how the columns line up I have to state that I too have
never seen this behaviour.  As an experiment I over-filled a file
system and here's the results:

Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/ad0s1f965M895M   -7.4M   101%/tmp

Note capacity is not negative. So that makes three of us in this
thread who have not seen negative capacity on UFS.

I have seen negative capacity when running an old version of FreeBSD
with a very large NFS mount (not enough bits in statfs if I remember
correctly).

> jerry

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


Re: Power Off with ATX board wont work...

2005-08-15 Thread Christian Tischler
Sorry I did not reply to your questions, but the server is in an remote
location, and currently down due to hollidays.

thx for your help

Christian

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


Re: disk fragmentation, <0%?

2005-08-15 Thread Jerry McAllister
> 
> Thanks for the good answers.
> 
> But can anyone tell me why the capacity is going negative? and not full?
> 
> > Filesystem SizeUsed   Avail Capacity  Mounted on
> > /dev/ar0s1e248M   -278K228M-0%/tmp

As someone mentioned, there is a FAQ on this.   You should read it.

It is going negative because you have used more than the nominal
capacity of the slice.   The nominal capacity is the total space
minus the reserved proportion (usually 8%) that is held out.
Root is able to write to that space and you have done something
that got root to write beyond the nominal space.   

jerry

> 
> Thanks a lot
> 
> Lei
> 
> On 8/14/05, Glenn Dawson <[EMAIL PROTECTED]> wrote:
> > At 12:18 PM 8/14/2005, cpghost wrote:
> > >On Sun, Aug 14, 2005 at 12:09:19AM -0700, Glenn Dawson wrote:
> > > > >2. How come /tmp is -0% in size? -278K? What had happened? as I have
> > > > >never experienced this in the previous installs on the exact same
> > > > >hardware.
> > > >
> > > > Not sure about that one.  Maybe someone else has an answer.
> > >
> > >This is a FAQ.
> > >
> > >The available space is always computed after subtracting some space
> > >that would be only available to root (typically around 5% or 10%
> > >of the partition size).
> > 
> > The default is 8%.
> > 
> > >  This free space is necessary to avoid internal
> > >fragmentation and to keep the file system going. Root may be able
> > >to "borrow" some space from this (in which case the capacity goes
> > >below 0%), but it is not advisable to keep the file system so full,
> > >so it should be only for a limited period of time.
> > 
> > The reason for having the reserved space is to allow the functions that
> > allocate space to be able to find contiguous free space.  When the disk is
> > nearly full it takes longer and longer to locate contiguous space, which
> > can lead to performance problems.
> > 
> > 
> > >In your example, you're 278K over the limit; and should delete some
> > >files to make space ASAP. Should /tmp fill up more, it will soon become
> > >inoperable.
> > 
> >  From the original message:
> > 
> > Filesystem SizeUsed   Avail Capacity  Mounted on
> > /dev/ar0s1e248M   -278K228M-0%/tmp
> > 
> > This shows that /tmp is empty.  If the reserved space was being encroached
> > upon, it would show > 100% capacity, and available bytes would go negative,
> > not bytes used.
> > 
> > It would look something like this:
> > 
> > Filesystem SizeUsed   Avail Capacity  Mounted on
> > /dev/ad0s1a248M238M-10M   105%/
> > 
> > I've never seen the capacity go negative before, which is why I suggested
> > someone else might know the answer.
> > 
> > -Glenn
> > 
> >
> ___
> 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: Alcatel Speedtouch PC ADSL Modem

2005-08-15 Thread Bsderss


--- Abu Khaled <[EMAIL PROTECTED]> wrote:

> On 8/14/05, Bsderss <[EMAIL PROTECTED]> wrote:
> > 
> > 
> > --- Vladimir Botka <[EMAIL PROTECTED]>
> wrote:
> > 
> > > Hi,
> > > I am running Speedtouch 510i, which is defacto
> > > router with some small unix
> > > system inside. You can login with telnet and
> > > configure it from command
> > > line or use the web interface or load the
> > > configuration file. I dont
> > > think that USB and pppoa is here the best
> choice.
> > > You just connect the
> > > Speedtouch to the ADSL and use the Speedtouch
> > > ethernet to connect it to
> > > your LAN. Cheers, Vladimir.
> > >
> > Hi, thanks for the suggestion. Is this a normal
> DSL
> > Modem with an ethernet at its back connect to your
> > desktop or an router? How much did you pay for it?
> If
> > it is cheap enuf, I think it is worth to get it as
> a
> > standalone DSL  modem.
> > 
> > The reason I want to install freebsd in one of
> these
> > DSL modem is because here in Australia ISPs do not
> > lease out their DSL modem to end user. User will
> end
> > up purchase expensive crapy DSL Modem (eg.
> Netgear)
> > from computer shop.
> > 
> > As I have a freebsd gateway used to dail-up pppoe
> thru
> > an external DSL modem when I was in another
> country, I
> > want to reconfigure this freebsd router to make it
> > able to handle DSL modem communication. But I need
> to
> > purchase a DSL modem card for it. If an external
> DSL
> > modem like Speedtouch is cheap enuf and provide
> stable
> > system enviornment in the DSL Bridge mode, I would
> > like to purchase one as an external DSL modem.
> > 
> > On the other hand, if you know how to configure
> > freebsd with a DSL Modem card in freebsd, please
> let
> > me know how to do that. And if you also know where
> to
> > purchase a barebone DSL Modem (without a system)
> for
> > development  purpose (eg. Speedtouch), please also
> let
> > me know.
> > 
> > Thanks
> > Sam
> > 
> > > On Sat, 13 Aug 2005, Bsderss wrote:
> > >
> > > > Hi,
> > > >
> > > > I want to purchase a USB Alcatel Speedtouch PC
> > > ADSL
> > > > Modem and connection freebsd to it. There is a
> pkg
> > > in
> > > > the Ports
> > > > /usr/ports/net/pppoa written for the Alcatel
> > > > Speedtouch. I wonder how to use this pkg with
> the
> > > > Alcatel Speedtouch PC ADSL Modem. Correct me
> if I
> > > m
> > > > wrong, this modem does not have a system
> running
> > > > itside, it is just an external device have a
> USB
> > > port
> > > > connect to the FreeBSD system. As I browsed
> thru
> > > the
> > > > Speedtouch website, I don't know which modem
> does
> > > not
> > > > have a system and allow me to do this setup.
> > > >
> > > > Can anyone please help?
> > > >
> > > > Thanks
> > > > Sam
> > > >
> > > >
> > > > 
> 
> Did you try to check the FreeBSD handbook
>
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ppp-and-slip.html
>
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/pppoa.html
> 
Hi how this can be used to handle DSL modem card with
phone line?

Thanks
Sam

> -- 
> Regards.
> Abu Khaled
> ___
> 




Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Libtool and deprecated objformat

2005-08-15 Thread Ralf Wildenhues
[ resend to evade filtering; sorry ]

Hi there,

I noticed that objformat is deprecated in FreeBSD and might not be
present in the next major version.  Now, Libtool uses it, I'd guess
for rather historic purposes, but I'd like confirmation that it's
safe to assume ELF object format for FreeBSD versions starting from 4.

FYI, this is the proposed patch against Libtool:
http://lists.gnu.org/archive/html/libtool-patches/2005-08/msg00073.html

(Is this the adequate mailing list to ask this, BTW?)

Thanks!  Please Cc: me on replies,
Ralf

-- 
GMX DSL = Maximale Leistung zum minimalen Preis!
2000 MB nur 2,99, Flatrate ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


rt2500 Within 6.0-BETA2

2005-08-15 Thread d3c3it-linux
Hi
I'm pretty new to Freebsd (used it briefly a couple of year's ago) and thought 
I'd give it another try with the release of the 6.0 Beta's. So far everything 
so sweet, build a world and new kernel and all working fine but I'd really like 
to get my wireless card working. The laptop I'am using is a Compaq Evo N600v 
and rt2500 wireless card. Under linux the card worked fine but for the love of 
me I can't seem to crack why I can't get it to connect within freebsd.
Following this http://damien.bergamini.free.fr/ral/ral-freebsd.html I entered

# ifconfig ral0 netmask 0xff00 ssid HOME \ wepkey 
0x3F4F5FJN3859D9G3KL83NCLO34D weptxkey 1 wepmode on

(above is an example)

and ifconfig return's stating wepkey is of an invalid length. Now my netgear 
router produce's 128-bit keys which are 26 char's in length, from reading the 
man page's ifconfig only accept's 8 or 13-bit key's.
On my router the 26-bit key it generate's is produced from entering a 
phase/password/whatever and then "encrypts" it (converts to hex i presume) I 
could use wpa but this would disconnect my other user's off the network (linux 
boxes with only wep enabled driver's) and running without any security at all 
is not an answer (busy city area, surprised the wep hasn't been cracked yet). 
If I enter the above ifconfig command but with the prehexed phase/password the 
command is accepted but when I 
dhclient ral0
I recieve error's about network unreachable.
On my linux laptop (same card) it does take a couple of time's of dhclient (or 
equiv in debian) to bring the card "online" as it were (the light's stay out 
but it does kick in after a couple of times) but never recieve and error about 
network unreachable which lead's me to believe it's not connecting to the 
access point at all (ifconfig confirm's this).
I've searched google and the list's and turned up nothing, any help is greatly 
appreciated, I'm not a list subscriber yet so could any reponse's be sent to my 
email address as well as the list.
Thanks very much in advance

Glyn


-
Email sent from www.ntlworld.com
Virus-checked using McAfee(R) Software 
Visit www.ntlworld.com/security for more information

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


Re: presario amd64 boot fails

2005-08-15 Thread iv gan
Try with acpi enabled.
I got that problem with hp proliant dl320
It won't run unless the acpi is enabled.
greets...

On 8/15/05, Damon Blom <[EMAIL PROTECTED]> wrote:
> Hi
> 5_3_30Dec2004 Freebsd
>hp Presario r3000
>cannot update. ran cvsup current for current source.
>   build world, build kernel, installkernel
>   device.hints:
>  hint.acpi.o.disabled="1"
>  hint.apic.0.disabled="1"
>  hw.acpi.skip_timer_override="1"
>  hint.atkbd.0.flags="0x9"
>  boot kernel   loader prompt
>  freezes after writing loading ich.ko
>  loading sound.ko
>  Thank's so much for any help
>   Damon.
> ___
> 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: Dump on large file systems

2005-08-15 Thread Hornet
On 8/14/05, John Pettitt <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: RIPEMD160
> 
> 
> I tried to dump a 600gb file system a few days ago and it didn't
> work.  dump went compute bound during phase III and never wrote any
> data to the dump device (this on an up to date  RELENG_5 box).  - is
> this a known problem? Are there any work arounds?
> 
> John
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.1 (MingW32)
> 
> iD8DBQFC/1VpaVyA7PElsKkRAwnlAKCiqEJ5BLoKpHIRCOLMbcSjrpNBjgCgyyZp
> nM+KOXrDZs96+nk7QV6hOCc=
> =7Kv9
> -END PGP SIGNATURE-
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

If you are dumping that 660G slice to a file, you will need to split
it up into smaller chuncks.

dump -0auLf - / | split -a4 -b1024m - "patth/to/dump/file."

The above line will create 1G files and append the filename (see the
trailing ".")
eg.. 20050815-root.
20050815-root.aaab

You can also gzip it, but this makes the backup take a long time.
dump -0auLf - / | gzip | split -a4 -b1024m - "patth/to/dump/file.gz."

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


Re: increasing size of a partition

2005-08-15 Thread Dmitry Mityugov
On 8/15/05, dave <[EMAIL PROTECTED]> wrote:
> Hello,
> I've got a 5.4-release box that is in need of some partition maintence.
> It's using raid1 procedure1 from Mr. Ralf S. Engelschall's site:
> http://people.freebsd.org/~rse/mirror/
> I haven't been able to get procedure2 to boot, i keep getting an error on
> boot that the kernel is not found. This is worrysome because the two drives
> are not identical in size, they're close, and usually unless the partitions
> are filling up i don't worry about it. Lately /var has been filling up, when
> this box was installed space requirements were not estimated to be like they
> are now. I've got a single slice covering the entire drive and four
> partitions, /, /usr, /var, and /home which is last on the drive because it
> takes up the most space. Now i need to increase the size of /var probably
> taking space away from /home, does anyone have a procedure for doing this
> keeping in mind that geom mirror raid1 is going on?

Not exactly an answer to your question, but you can probably just
create symlinks for big subdirectories in /var in, for example, /home.

-- 
Dmitry Mityugov, St. Petersburg, Russia
I ignore all messages with confidentiality statements

"We live less by imagination than despite it" - Rockwell Kent, "N by E"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD Gateway problems

2005-08-15 Thread Glenn Dawson

At 01:46 AM 8/15/2005, Tim Holmes wrote:


For years I've used a FreeBSD as my gateway.  Well I haven't had a high
speed connection for 3 years now, and I've just gotten it back.  Since
then I've reloaded the machine from 4.3 to 5.3.  I thought I had it all
set up so when I did get connection, I could make a quick edit to my
rc.conf and I'd be ready to go.  Well turns out I was way off.

The machine has no problems geting an IP from the cable modem, and I can
get anywhere I want from that machine directly.  (I'm currently ssh'd to
the router machine to send email, use w3m to find How-Tos)  But it won't
pass traffic from the rest of the network.

Here are the settings in my rc.conf:

gateway_enable="YES"  # Enable as Lan gateway
# firewall_enable="YES"
natd_enable="YES"
natd_interface="xl0"
natd_flags="-f /etc/natd.conf"
ipmon_enable="YES"
ipmon_flags="-Ds"

The firewall_enable is disable now because when it's turned on, I can't
actually get out from directly on the machine.  At this point I just want
it to do the routing and then I can work on building a firewall afterwards.


If you use options IPFIREWALL_DEFAULT_TO_ACCEPT that will allow you to get 
the other things working, and you can figure out your firewall rules once 
everything else works.




Before I did the update and rebuilt the kernel yesterday, I had these options
in rc.conf

# ipnat_enable="YES"# Start ipnat function
# ipnat_rules="/etc/ipnat.rules"# rules definition file for ipnat
# ipfilter_enable="YES" # Start ipf firewall
# ipfilter_rules="/etc/ipf.rules"   # loads rules definition text file

Well all these other How-Tos I found on FreeBSDDiary.org told me all I needed
was "gateway_enable=YES" and "firewall_enable=YES".  Also to add these two
options to the kernel:

options IPFILTER
options IPDIVERT


To use ipfw adding these options to your kernel is a good place to start:

options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPFIREWALL_DEFAULT_TO_ACCEPT

If you're using natd, you'll also want:

options IPDIVERT

If you want to use ipnat (ipfilter) you'll want:

options IPFILTER



But that wasn't working.  Another mentioned I needed 
defaultrouter="192.168.2.254",
but that's not doing it either.  It wasn't actually running nat, and I'd 
get errors

if I tried to start.  Here's the message I saw at boot after a new kernel.


The default router for the FreeBSD machine should be supplied by the dhcp 
server that give you your IP address.


Also, you will need to use NAT since the cable modem probably only gives 
you a single IP.




1: unexpected keyword (any) - from
/sbin/ipf: /etc/ipf.rules: parse error (-1), quitting
/etc/rc: WARNING: NO IPNAT RULES

After following some other How-Tos I tried running ipfw, but I keep 
getting an error

message that won't return any helpful searches from Google.

# ipnat -f /etc/ipnat.conf
ioctl(SIOCGNATS): Operation not permitted
# ipfw -f flush
ipfw: setsockopt(IP_FW_FLUSH): Protocol not available
# ipf -FA -f /etc/ipf.rules
ioctl(SIOCIPFFL): Operation not permitted
# ipfw add divert natd all from any to any via xl0
ipfw: getsockopt(IP_FW_ADD): Protocol not available


The errors suggest that ipfw isn't in your kernel, and likely is not loaded 
from a module.  Is kldstat doesn't show it loaded, and you don't have 
OPTIONS IPFIREWALL in your kernel, that will cause errors like those.


If you'd like some sample configs, contact me off list and I'll send you 
copies of some that I typically use as a starting point.


-Glenn


None of those error messages will give me anything to go.  So I'm at a 
lose here.  Can

anybody point me to How-To, or share their rc.conf edits to make this work?

I know this was a little long, but thanks in advance for the help.

tdh
--
 +-
   \./   | Tim Holmes  --  [EMAIL PROTECTED]: [EMAIL PROTECTED]
  (0Y0)  | UIN: 17021091  -- AIM: tdh004
 -ooO--(_)--Ooo--+-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


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


FreeBSD Gateway problems

2005-08-15 Thread Tim Holmes

For years I've used a FreeBSD as my gateway.  Well I haven't had a high
speed connection for 3 years now, and I've just gotten it back.  Since
then I've reloaded the machine from 4.3 to 5.3.  I thought I had it all
set up so when I did get connection, I could make a quick edit to my 
rc.conf and I'd be ready to go.  Well turns out I was way off.

The machine has no problems geting an IP from the cable modem, and I can
get anywhere I want from that machine directly.  (I'm currently ssh'd to
the router machine to send email, use w3m to find How-Tos)  But it won't
pass traffic from the rest of the network.

Here are the settings in my rc.conf:

gateway_enable="YES"  # Enable as Lan gateway
# firewall_enable="YES"
natd_enable="YES"
natd_interface="xl0"
natd_flags="-f /etc/natd.conf"
ipmon_enable="YES"
ipmon_flags="-Ds"

The firewall_enable is disable now because when it's turned on, I can't 
actually get out from directly on the machine.  At this point I just want
it to do the routing and then I can work on building a firewall afterwards.

Before I did the update and rebuilt the kernel yesterday, I had these options
in rc.conf

# ipnat_enable="YES"# Start ipnat function
# ipnat_rules="/etc/ipnat.rules"# rules definition file for ipnat
# ipfilter_enable="YES" # Start ipf firewall
# ipfilter_rules="/etc/ipf.rules"   # loads rules definition text file

Well all these other How-Tos I found on FreeBSDDiary.org told me all I needed
was "gateway_enable=YES" and "firewall_enable=YES".  Also to add these two 
options to the kernel:

options IPFILTER
options IPDIVERT


But that wasn't working.  Another mentioned I needed 
defaultrouter="192.168.2.254",
but that's not doing it either.  It wasn't actually running nat, and I'd get 
errors
if I tried to start.  Here's the message I saw at boot after a new kernel.

1: unexpected keyword (any) - from
/sbin/ipf: /etc/ipf.rules: parse error (-1), quitting
/etc/rc: WARNING: NO IPNAT RULES

After following some other How-Tos I tried running ipfw, but I keep getting an 
error
message that won't return any helpful searches from Google.

# ipnat -f /etc/ipnat.conf 
ioctl(SIOCGNATS): Operation not permitted
# ipfw -f flush
ipfw: setsockopt(IP_FW_FLUSH): Protocol not available
# ipf -FA -f /etc/ipf.rules 
ioctl(SIOCIPFFL): Operation not permitted
# ipfw add divert natd all from any to any via xl0
ipfw: getsockopt(IP_FW_ADD): Protocol not available

None of those error messages will give me anything to go.  So I'm at a lose 
here.  Can
anybody point me to How-To, or share their rc.conf edits to make this work?

I know this was a little long, but thanks in advance for the help.

tdh
-- 
 +-
   \./   | Tim Holmes  --  [EMAIL PROTECTED]: [EMAIL PROTECTED]
  (0Y0)  | UIN: 17021091  -- AIM: tdh004
 -ooO--(_)--Ooo--+-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Help with Fluxbox

2005-08-15 Thread Leonidas Tsampros
On Mon, Aug 15, 2005 at 05:14:04PM +1200, Campbells wrote:
> Hello,
> 
> I just installed Fluxbox from the ports collection (latest version).  I 
> subsequently added this line at the end of my xinitrc file:
> 
> exec /usr/X11R6/bin/fluxbox
> 
> Now when I run startx nothing has changed!  It isn't running fluxbox as its 
> windowmanager!  So I type startfluxbox and it doesn't start, presumably 
> becuase a windowmanager is already running (the standard Xorg manager).
> 
> Any help would be greatly appreciated
> 
> Gareth

You'll have to modify your ~/..xinitrc file.
Just add the following at the end  of the file:

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


Re: Alcatel Speedtouch PC ADSL Modem

2005-08-15 Thread Vladimir Botka

Hi,
here is the scheme
(ADSL)-> Speedtouch 510i <-(ETHERNET)-> PC(FreeBSD)
As long as you use ethernet there is no difference in what OS you have on 
PC. Speedtouch has a firewall/NAT capability so you can decide where to 
filter/masquerade. It costs ~ $100 new. I have no experience with DSL 
cards. Cheers, Vladimir.


On Sat, 13 Aug 2005, Bsderss wrote:




--- Vladimir Botka <[EMAIL PROTECTED]> wrote:


Hi,
I am running Speedtouch 510i, which is defacto
router with some small unix
system inside. You can login with telnet and
configure it from command
line or use the web interface or load the
configuration file. I dont
think that USB and pppoa is here the best choice.
You just connect the
Speedtouch to the ADSL and use the Speedtouch
ethernet to connect it to
your LAN. Cheers, Vladimir.


Hi, thanks for the suggestion. Is this a normal DSL
Modem with an ethernet at its back connect to your
desktop or an router? How much did you pay for it? If
it is cheap enuf, I think it is worth to get it as a
standalone DSL  modem.

The reason I want to install freebsd in one of these
DSL modem is because here in Australia ISPs do not
lease out their DSL modem to end user. User will end
up purchase expensive crapy DSL Modem (eg. Netgear)
from computer shop.

As I have a freebsd gateway used to dail-up pppoe thru
an external DSL modem when I was in another country, I
want to reconfigure this freebsd router to make it
able to handle DSL modem communication. But I need to
purchase a DSL modem card for it. If an external DSL
modem like Speedtouch is cheap enuf and provide stable
system enviornment in the DSL Bridge mode, I would
like to purchase one as an external DSL modem.

On the other hand, if you know how to configure
freebsd with a DSL Modem card in freebsd, please let
me know how to do that. And if you also know where to
purchase a barebone DSL Modem (without a system) for
development  purpose (eg. Speedtouch), please also let
me know.

Thanks
Sam


On Sat, 13 Aug 2005, Bsderss wrote:


Hi,

I want to purchase a USB Alcatel Speedtouch PC

ADSL

Modem and connection freebsd to it. There is a pkg

in

the Ports
/usr/ports/net/pppoa written for the Alcatel
Speedtouch. I wonder how to use this pkg with the
Alcatel Speedtouch PC ADSL Modem. Correct me if I

m

wrong, this modem does not have a system running
itside, it is just an external device have a USB

port

connect to the FreeBSD system. As I browsed thru

the

Speedtouch website, I don't know which modem does

not

have a system and allow me to do this setup.

Can anyone please help?

Thanks
Sam


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam

protection around

http://mail.yahoo.com
___
freebsd-current@freebsd.org mailing list




http://lists.freebsd.org/mailman/listinfo/freebsd-current

To unsubscribe, send any mail to

"[EMAIL PROTECTED]"




___
freebsd-questions@freebsd.org mailing list


http://lists.freebsd.org/mailman/listinfo/freebsd-questions

To unsubscribe, send any mail to
"[EMAIL PROTECTED]"




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



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