Re: test test test

2005-04-28 Thread Abu Khaled
On 4/28/05, Carpenter, Rohan S <[EMAIL PROTECTED]> wrote:
> test test test test --- test tets test test
> 

freebsd-test freebsd-test freebsd-test freebsd-test --- freebsd-test
freebsd-test freebsd-test freebsd-test

[EMAIL PROTECTED] Where to send your test messages instead of
one of the actual lists

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


ThinkPad can't se Ethernet PC Card

2005-04-28 Thread Kjell Midtseter
I am trying to install FreeBSD 5.4RC3 on my IBM ThinkPad iSeries, 
Type 2611 laptop.

Unfortunately my Kingston EtheRx IC PC Card is not detected.
When I boot a CD distribution like Knoppix, the card is detected as 
Kingston KNE-PC2
In the compatibility list the KNE-PC2 card is listed with the ed driver, 
but specifying  ifconfig_ed="inet 192.168. in rc.conf  does not help.

The following is fram my dmesg:
---
cbb0: <02Micro OZ6832/6833 PCI-CardBus Bridge> irq 9 at device 5.0 
on pci0
cardbus0:  on cbb0
pccard0: <16-bit PCCard bus> on cbb0

cbb1: <02Micro OZ6832/6833 PCI-CardBus Bridge> irq 9 at device 5.1 
on pci0
cardbus1:  on cbb1
pccard1: <16-bit PCCard bus> on cbb1
.
plip0:  on ppbus0
..
unknown:  can't assign resources(memory)
unknown:  can't assign resources(port)
unknown:  can't assign resources(irq)
unknown:  can't assign resources(port)
unknown:  can't assign resources(port)
unknown:  can't assign resources(port)
.
pccard0: Card has no functions!
cbb0: PC Card card activation failed
-
Regards from Kjell

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


VPN Setup

2005-04-28 Thread Rene C. Mendoza
Hi,
I plan to setup a VPN gateway using OpenVPN.  However, the setup is a 
little bit weird.  Here it is:

Priv. Network A<->FreeBSD Server< ->Linksys Router(NAT) <-- INTERNET 
-->Cisco VPN Concentrator--> Priv. Network B
(OpenVPN Gateway)

I'm a newbie in this kind of thing so I would it appreciate it very much 
if anyone can tell me what  is wrong with this setup.  You may be 
wondering why the Linksys router is still there when the Freebsd server 
can serve as the router as well.  The answer is very much convoluted and 
I'd rather not go into it now. :-(  By the way, the Linksys router can 
do port forwarding.

My big question is: Is the above setup feasible and if so, could you 
send me some references (on the Internet) where I can find more 
info/solution on this problem?

thanks,
Rene


smime.p7s
Description: S/MIME Cryptographic Signature


Where can i d/l VMware-workstation-3.2.1-2242.tar.gz

2005-04-28 Thread Warren
im trying to install the vmware pkg via the port but all URL's listed fail to 
have the pkg:

Where can i grab a copy of this pkg ?

===>  Vulnerability check disabled, database not found
=> VMware-workstation-3.2.1-2242.tar.gz doesn't seem to exist 
in /usr/ports/distfiles/.
=> Attempting to fetch from http://vmware-svca.www.conxion.com/software/.
fetch: 
http://vmware-svca.www.conxion.com/software/VMware-workstation-3.2.1-2242.tar.gz:
 
Not Found
=> Attempting to fetch from http://vmware-chil.www.conxion.com/software/.
fetch: 
http://vmware-chil.www.conxion.com/software/VMware-workstation-3.2.1-2242.tar.gz:
 
Not Found
=> Attempting to fetch from http://vmware-heva.www.conxion.com/software/.
fetch: 
http://vmware-heva.www.conxion.com/software/VMware-workstation-3.2.1-2242.tar.gz:
 
Not Found
=> Attempting to fetch from 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch: 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/VMware-workstation-3.2.1-2242.tar.gz:
 
File unavailable (e.g., file not found, no access)
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

-- 
Yours Sincerely
Shinjii
http://www.shinji.nq.nu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Acer Aspire 1804

2005-04-28 Thread Jon Mercer
Looks like my 'old' laptop of nine months has died and is being replaced
with an Acer Aspire 1804WSMi (under warranty, of course).

Has anyone got any experience of FBSD on one of these? Spec is one of the
following:

Aspire 1804WSMi Intel® Pentium® 540 processor (3.2GHz, 800MHz 
FSB),
Microsoft® Windows® XP Home Edition, 512MB (2*256) DDR, 100GB HDD,
DVD-SuperMulti, 17" WXGA Acer CrystalBrite TFT display, ATI MOBILITY
RADEON X600 with 128MB of external DDR video, 56Kbps modem, 10/100/1000
LAN, Integrated wireless LAN (802.11b/g), Bluetooth™, Li-Ion battery,
5-in-1card reader, Microsoft® Works

Aspire 1804WSMi Intel® Pentium® 540 processor (3.2GHz, 800MHz 
FSB),
Microsoft® Windows® XP Media Centre Edition, 512MB (2*256) DDR, 100GB HDD,
DVD-SuperMulti, 17" WXGA Acer CrystalBrite TFT display, ATI MOBILITY
RADEON X600 with 128MB of external DDR video, 56Kbps modem, 10/100/1000
LAN, Integrated wireless LAN (802.11b/g), Bluetooth™, Li-Ion battery,
5-in-1card reader, TV Tuner, Remote Control

I'm a bit worried about the screen being WXGA. Does Xorg support this?
Things like the remote control(?), card reader, modem don't exactly worry
me too much...

Any experiences gratefully received,

Jon

---
Achean Ltdhttp://www.achean.com
Jon Mercer  [EMAIL PROTECTED]  Director
---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: harddisk problem in the 5.x series

2005-04-28 Thread Lowell Gilbert
zoltan sandor <[EMAIL PROTECTED]> writes:

> I have the following problem. I moved my system from
> FreeBSD 4.11 to 5.4-RC3 by reinstalling everything.
> The 4.11 system had no problem finding my MAXTOR hard
> disk as ad3 as slave on the secondary IDE behind the
> CDROM. The new 5.4 system indicates a lot of errors,
> but finally accepts it and everything just works
> fine. If I remove the hard drive the CDROM is
> recognised without problems. My guess is that the
> system tries to use higher PIO mode on the disk than
> it is good for or something like that. Can anybody
> explain how I can tune the kernel to avoid the error
> messages? (BTW I have a GENERIC kernel.) dmesg
> messages from the 4.11 and the 5.4-RC3 versions are
> below.

I'm nothing like an ATA expert, but I wonder whether it might now fail
on 4.11 also...  (bad cabling, etc.)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ftpd: user needs to upload in mode 777

2005-04-28 Thread Fafa Diliha Romanova
hello!

i got this user who only connects to her account with ftp
to upload pictures to her photoalbum. all the files she uploads
has to be in mode 777 for the photoalbum to work properly;
to generate thumbnails etc.

hence, i've set her .login_conf to:

me:\
  :umask=0:

but still the files she upload aren't in mode 777.
does anybody know?

thanks,
fafa

-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Re: DNS config for dhcp

2005-04-28 Thread Lowell Gilbert
benchmark <[EMAIL PROTECTED]> writes:

> I have a DHCP setup, and as part of the network interface config, i've
> got my hostname and domain setup as rainier.sbcglobal.com. Note that I
> have my own DHCP sever (my wireless access point, which in turn is
> getting a dhcp address from SBC).
> 
> #hostname
> rainier.sbcglobal.com
> 
> but host or bind won't run correctly, as the name of my network/dhcp
> setup is really not in the DNS of my ISP. I believe that's cause cvsup
> misbehave (as well as browser's behaving very slowly or timedout).
> cvsup only worked once, it always came back with a network read error
> after connecting to the freebsd host, and wasn't able to get any
> files
> 
> So how do i go about fixing this problem?

Good question.  You're almost certainly on the wrong track.  Running
your own nameserver should take care of DNS problems, and having your
own name in your own local DNS should keep local programs from
failing.  It would still be better to use a real domain name in
network communications, but that won't affect things like cvsup.

Try raising the verbosity of cvsup and see what *it* tells you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Converting mkv to avi ?

2005-04-28 Thread edward
Hi all,
I have several mkv files (Matroska video) that I would like to convert 
to avi. Any idea what software I should use to do that (I'm under KDE) ?
Thanks gang,
Edward

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


Re: Which is the best PDF utility ?

2005-04-28 Thread edward
Hi,
I installed it though pkg_add -r kdegraphics3. Install seemed to go all 
right. Then the software added itself to the K menu. But KPDF doesn't 
launch. When started from the console, I get :
# kpdf
/libexec/ld-elf.so.1: Shared object "libidn.so.16" not found, required 
by "kpdf"
My guess is that there is version mixup involving one of the 
dependencies used by KPDF. Any idea which dependency is concerned or how 
I can bail out of this ?
Edward

Henry Miller wrote:
On 4/26/2005 at 19:13 edward wrote:

Hi all,
Just wanted to know which is, according to you, the best utility to
read 

PDF files. I notice the Acrobat7 port is mentioned as "broken" in the 
notes. Which program (not necessarily Adobe) would be the best 
alternative for everyday PDF reading ? Oh, almost forgot, I use KDE.
Thanks for your insight on this.
Edward

kpdf, which is based on xpdf (other recommended xpdf) is a part of KDE,
and thus integrates well with the rest of your KDE environment.  I like
it.   The Adobe reader would be better if it wasn't such a pain to
install and use.   (I have a windows machine with acrobat, but when I
need to view a pdf I move to my FreeBSD machine so I can use kpdf)
kpdf is a part of kdegraphics, which is in ports as:
/usr/ports/graphics/kdegraphics3
I'd call this your best bet because you use KDE already.

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


Re: Converting mkv to avi ?

2005-04-28 Thread Marc Fonvieille
On Thu, Apr 28, 2005 at 02:12:47PM +0200, edward wrote:
> Hi all,
> I have several mkv files (Matroska video) that I would like to convert 
> to avi. Any idea what software I should use to do that (I'm under KDE) ?

mkv and avi are both video container.  You should be able to quickly
"change" the container with mencoder (part of MPlayer):

mencoder video.mkv -ovc copy -oac copy -o video.avi

well MPlayer must be compiled with mastroka support, and the result may
be "weird" if the .mkv use many audio channels etc.
It may be a better option to extract both video and audio part and remux
them.  Look at multimedia/mkvtoolnix, transcode and/or mencoder.

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


Re: test test test

2005-04-28 Thread Chris
Carpenter, Rohan S wrote:
> test test test test --- test tets test test 
> 
> Rohan Carpenter
> Information Security Analyst
> EDS - Navy Marine Corp Intranet (NMCI)
> MS-Bldg 87, 300 Lexington Blvd
> Honolulu, HI 96818
> * Phone: 808-356-6308 - IA watch 
> * Phone: 808-356-6000 (ext 7505) - direct line
> * <>
>

*Sigh*
Some users just don't have a clue - do they.

-- 
Best regards,
Chris

The light at the end of the tunnel can be a helluva
nuisance, especially if your're using the tunnel
as a darkroom.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: can't build kernel [with CONFIG this time]

2005-04-28 Thread Lowell Gilbert
"/dev/null" <[EMAIL PROTECTED]> writes:

> Hello,
>  Just got a new CPU today. Running 5.4-RC3 on GENERIC until the new CPU
> showed up. Installed the CPU drafted a new config for the kernel cd'd to
> /usr/src, typed "make buildkernel KERNCONF=DEMON01", build process went as
> expected. But before the build process completed the machine froze for no
> apparent reason at the sound driver part. Couldn't ssh into it from another
> box, so hit the reset button, chose 4 from the menu (single user mode).
> Performed a fsck -f. Rebooted and attempted to rebuild. But it barfed.
> So I performed an rm -fr /usr/src.
> Then /stand/sysinstall > install entire src tree and tried another
> "make buildkernel KERNCONF=DEMON01" in /usr/src.
> It barfed with the following:
> 
> rm -f .depend GPATH GRTAGS GSYMS GTAGS
> ===> rp
> rm -f /usr/src/sys/modules/rp/export_syms rp.ko rp.kld rp.o rp_pci.o @
> machine s
> ymb.tmp tmp.o opt_compat.h pci_if.h bus_if.h device_if.h
> rm -f .depend GPATH GRTAGS GSYMS GTAGS
> ===> rue
> ".depend", line 1: Need an operator
> ".depend", line 3: Need an operator
> ".depend", line 4: Need an operator
> ".depend", line 5: Need an operator
> ".depend", line 6: Need an operator
> ".depend", line 9: Need an operator
> ".depend", line 18: Need an operator
> ".depend", line 20: Need an operator
> ".depend", line 21: Need an operator
> ".depend", line 25: Need an operator
> ".depend", line 43: Need an operator
> make: fatal errors encountered -- cannot continue
> *** Error code 1
> 
> Stop in /usr/src/sys/modules.
> *** Error code 1
> 
> Stop in /usr/obj/usr/src/sys/DEMON01.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> 
> /usr/src

Sounds like maybe something involved with make(1) itself got
corrupted.  Rare, but it happens.  Reinstalling the base system
would probably help (just do a "binary upgrade" -- you don't need
to reinstall the whole system).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


netcat strange behaviour

2005-04-28 Thread shibbsd
My netcat is the one from the official FreeBSD 5.4-RELEASE s the system here 
now to check the exact version; I'll check it and post it
to the maillist a.s.a.p. (or look in web-cvs).

As of telnet, it runs o.k., but I wanted to use netcat in a shell script... :(
Besides, that is what netcat is designed for, is it not?

PS. sorry, as of 5.4-RELEASE I meant 5.4-RC2

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


pf's ftp-proxy outside inetd (with pure-ftpd)

2005-04-28 Thread Fafa Diliha Romanova
hey

i am trying to disable inetd.
i've installed pure-ftpd to replace ftpd.

but since i'm running pf, i wonder what happens to this inetd.conf entry:

ftp-proxy stream tcp nowait root /usr/libexec/ftp-proxy ftp-proxy

how is this applied now?

thanks!
-- fafa
-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


crash dump

2005-04-28 Thread Wei Chong
Hi,

I compiled my FreeBSD 5.3-STABLE kernel with 
options KDB, DDB
makeoptions DEBUG="-g"

and wrote a kernel module that does nothing but call
panic() upon its loading, to try experimenting on
crash kernel debugger and crash dump.
Upon kldload the module, KDB was invoked and I was
dropped into a console debugger that let me see the
backtrace by typing "where".
However, when I typed "panic" as suggested by the FAQ,
it doesn't dump anything to my swap device.  Only by
typing "call doadump" in the KDB that it does the job.

I wonder why?

Any help is appreciated.
Thanks.

Yours truly,
Tan, Wei Chong.

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


RE: 256 MB not enough RAM for Desktop-FreeBSD, a strange experience

2005-04-28 Thread Freek Nossin
Hello list-member :)

I had the same experience with OpenOffice. I do have the same amount of RAM,
but I think it is not related to the size the machine's memory, UNLESS the
use of virtual memory is a problem. The thing is, the 256 of RAM is often
used for 100% on my system and therefor it has to swap a lot. OO.org didn't
even start in XFCE properly on my machine and I too couldn't kill the
process. Even with kill -9. Unfortunately nobody was able to help, I did
sent a message over this list but nobody came up with the cause of the
problem or a solution. I do think it is BSD related because the process was
unkillable. If you find the cause, or even better a solution, to this
problem I'd like to hear about it. 

Good Luck,

Freek Nossin

-Original Message-
From: Benjamin Thelen [mailto:[EMAIL PROTECTED] 
Sent: woensdag 27 april 2005 16:20
To: [EMAIL PROTECTED]
Subject: 256 MB not enough RAM for Desktop-FreeBSD, a strange experience

Hi list,


I started using FreeBSD as a Desktop in December 04 with the hardware
configuration below

FreeBSD 5.3-RELEASE-p2
Asus TUSL-C with PIII-1133
256 MB RAM
WDC WD800JB
KDE 3.3.2
OOo-1.1.4


Very often OpenOffice-1.4 died on starting, just showing the splash screen.
I couldn't kill the process, even not with "-9". So I had to reboot. Because
of KDEs behavior to start applications, which have been used before,
OpenOffice was started automatically on KDEs 
startup. Mostly successful. OpenOffice started a bit more   reliable 
using XFCE4...

In combination with this FreeBSD was hanging on the end of a shutdown:
No buffers busy after final sync


I didn't find very helpful information on the net, but since I added
256 MB of RAM I have never seen one of these errors.


Does someone have any idea what that could have been caused? Adding 
more RAM, gaining stability, gaining speed, ok...


Ben



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


RE: 256 MB not enough RAM for Desktop-FreeBSD, a strange experience

2005-04-28 Thread Jorn Argelo
On Thu, 28 Apr 2005 14:59:18 +0200, Freek Nossin wrote
> Hello list-member :)
> 
> I had the same experience with OpenOffice. I do have the same amount 
> of RAM, but I think it is not related to the size the machine's 
> memory, UNLESS the use of virtual memory is a problem. The thing is, 
> the 256 of RAM is often used for 100% on my system and therefor it 
> has to swap a lot. OO.org didn't even start in XFCE properly on my 
> machine and I too couldn't kill the process. Even with kill -9. 
> Unfortunately nobody was able to help, I did sent a message over 
> this list but nobody came up with the cause of the problem or a 
> solution. I do think it is BSD related because the process was 
> unkillable. If you find the cause, or even better a solution, to 
> this problem I'd like to hear about it.

I am running FreeBSD with KDE 3.4 and OOo on a P3 700MHz with 192 MB ram. 
It's not really great performance, but it works all right. And it's not even 
swapping that much. Ok, it swaps for about 100MB, but it's still doing fine. 
And if I use XFCE in combination with OOo it performs just fine. It doesn't 
even need to swap. Ok, my AMD64 with 1 gig ram works better, but hey, it's 
workable. 

So it's not always BSD who is to blame ;)
> 
> Good Luck,
> 
> Freek Nossin
> 
> -Original Message-
> From: Benjamin Thelen [mailto:[EMAIL PROTECTED] 
> Sent: woensdag 27 april 2005 16:20
> To: [EMAIL PROTECTED]
> Subject: 256 MB not enough RAM for Desktop-FreeBSD, a strange experience
> 
> Hi list,
> 
> I started using FreeBSD as a Desktop in December 04 with the hardware
> configuration below
> 
> FreeBSD 5.3-RELEASE-p2
> Asus TUSL-C with PIII-1133
> 256 MB RAM
> WDC WD800JB
> KDE 3.3.2
> OOo-1.1.4
> 
> Very often OpenOffice-1.4 died on starting, just showing the splash screen.
> I couldn't kill the process, even not with "-9". So I had to reboot. 
> Because of KDEs behavior to start applications, which have been used 
> before, OpenOffice was started automatically on KDEs startup. Mostly 
> successful. OpenOffice started a bit more reliable using XFCE4...
> 
> In combination with this FreeBSD was hanging on the end of a 
> shutdown: No buffers busy after final sync
> 
> I didn't find very helpful information on the net, but since I added
> 256 MB of RAM I have never seen one of these errors.
> 
> Does someone have any idea what that could have been caused? Adding 
> more RAM, gaining stability, gaining speed, ok...
> 
> Ben
> 
> ___
> 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: How to get rid of games ?

2005-04-28 Thread Louis LeBlanc
On 04/27/05 08:29 PM, Rob sat at the `puter and typed:
> 
> Hi,
> 
> I'm running a server with 4-Stable.
> 
> As it is a server, things like games should not be
> there. However, it has already been installed (did
> that come by default? don't know).

I believe there's an option to install or not install games in the
initial install UI (/stand/sysinstall).

> Anyway, I'd like to get rid of all the games stuff.
> I'll add "NOGAMES=true" in /etc/make.conf, which will
> prevent compiling & installing games for a new build
> + install world.
> 
> However, what was already there, remains there after
> a new install world; and I'd like to remove those
> games files & directories.
> 
> I don't like to roam around the system as root and
> type "rm -rf" here and there, without being very
> sure it can go.

Very wise.  This I say from experience.  And always be careful with
wildcard deletes.  Fatfingering a space between your pattern and a '*'
can be disastrous, even as a regular joe user. :(

> Can I safely do
>  rm -rf /usr/games /usr/share/games /var/games
> for that matter?
>
> Can I also safely do the same on a 5-Stable server?

I find it highly improbable that the kernel would suddenly bonk if it
can't amuse itself with a game or two while you're not looking, but
these aren't really the kind of games that will keep people wasting
time.  On top of that, they take up less than 4M of disk space, which
might be considered less than negligible.

Finally, keep in mind that fortune is used for some logins to present
FreeBSD tips and hints.  And even after some 5 years using FreeBSD, I
find these tips helpful from time to time.

So you're probably perfectly safe to plonk them, but it's probably not
worth the hassle.

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

I've already got a female to worry about.  Her name is the Enterprise.
-- Kirk, "The Corbomite Maneuver", stardate 1514.0


pgpcHAx0ouNku.pgp
Description: PGP signature


Re: How to get rid of games ?

2005-04-28 Thread Giorgos Keramidas
On 2005-04-28 09:30, Louis LeBlanc <[EMAIL PROTECTED]> wrote:
>On 04/27/05 08:29 PM, Rob sat at the `puter and typed:
>> Anyway, I'd like to get rid of all the games stuff.
>> I'll add "NOGAMES=true" in /etc/make.conf, which will
>> prevent compiling & installing games for a new build
>> + install world.
>>
>> However, what was already there, remains there after
>> a new install world; and I'd like to remove those
>> games files & directories.
>>
>> I don't like to roam around the system as root and
>> type "rm -rf" here and there, without being very
>> sure it can go.
>
> Very wise.  This I say from experience.  And always be careful with
> wildcard deletes.  Fatfingering a space between your pattern and a '*'
> can be disastrous, even as a regular joe user. :(

The best way to make changes like this to an already installed system
__and__ be certain there are no leftover files is to use a second
partition as an installworld area, boot into the second partition, clean
the first partition (newfs?)  and then install again the new, minimal
world to the initial partition.

It does require a lot of extra space (around 180 MB for a full
installworld of the base system in FreeBSD 6.0-CURRENT), but if you are
really determined to trim the base system to the exact specifications
you have in mind, it's the best way I know of.

The ``FreeBSD from Scratch'' article in the documentation set describes
how this can be done, in a lot more detail than I can write in a single
email message:

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/fbsd-from-scratch/

___
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 make "shared library cache" (ldconfig cache) changes permanent?

2005-04-28 Thread Tofik Suleymanov
Corey Brune wrote:
You can add the shared lib directories to /etc/rc.conf. 

Corey
On 4/22/05, Chad Leigh -- Shire. Net LLC <[EMAIL PROTECTED]> wrote:
 

I have a new directory I want to be always used to look for shared
libraries.
I do a
% ldconfig -m /usr/public/lib
and all is well.  However, on reboot, the changes go away and I have to
do it again.  Does not work so well if things that start up at boot
time rely on libraries in the new directory.
How can I execute this so it is a permanent addition?
Thanks
Chad
   

assuming that you need /usr/local/fake to be your shared library 
path,this is what
you need to add in /etc/rc.conf:
(/usr/lib/compat ,/usr/X11R6/lib and /usr/local/lib  are default 
system-wide  search
pathes for shared libraries)

ldconfig_paths="/usr/lib/compat /usr/X11R6/lib /usr/local/lib 
/usr/local/fake"


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


ipfilter / ftp

2005-04-28 Thread Sherman, Michael (GE Energy)
Hi all.

I am trying to set up an ftp box, have a some problems. I am using vsftp as
the ftp server, with IPfilter as a firewall. During large transfers, the ftp
client would suddenly stop with a message "Operation failed, no route to
host". Any ideas?

I am using FreeBSD 5.3 Release, vsftp ftp server and the IPfilter rules for
ftp are as follows:
for out:
pass out quick on xl0 proto tcp from any to any port = 21 flags S keep state
pass out quick on xl0 proto tcp from any port = 20 to any  port > 1023 flags
S keep state
for in:
pass in quick on xl0 proto tcp from any port > 1023 to any port = 21 flags S
keep state

Michael




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


Which is the best PDF utility ?

2005-04-28 Thread Sherman, Michael (GE Energy)
KDE has kpdf, GNOME has gpdf. Both are alright if you want to read. There's
also a possibility of running Adobe's Acrobat, but as far as I know it needs
Linux emulation. It's the ugliest of the three, but the most functional.

Mike



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


Re: What is ata2 ?

2005-04-28 Thread Rob
Joel wrote:
>>For now, another, possibly silly, question:
>>If this is indeed a multifunctional multimedia card,
>>then does that mean I can connect another harddisk
>>to this card, and it will be recognized as a
>>harddisk on ata2 ?
>
> Very likely.
>
> However, if freeBSD does what some other OSses do
> when it sees the added disk, you may find you need
> to edit /etc/fstab .

OK, I have opened the box and had a look at this
ISA card. It's indeed a sound card, "Creative
SB16/SB32". But it also has one IDE Interface
connector, which apparently is the ata2 device.

So, I thought, let's see how I get this ata2 to work.
I disconnected the CDrom cable from the motherboard's
IDE, and connected it to this soundcard.
Nothing there at bootup; no mentioning of any
CDrom in the kernel messages.
(To be sure, I reconnected the cable the other way
round to the card; same result).

Does this ISA/IDE require some other additional
tweaks to become operational? The OS is 5-Stable.

---

Eventually I would like to achieve this:
I have another, very old, PC with following
configuration:
  IDE/0 (on motherboard) master and slave harddisks
  IDE/1 (on motherboard) -broken-
 
I like to use this soundcard/IDE controller for
adding a CDrom to this very old PC. The OS of this
PC is 4-Stable.

Thanks for your help!

Rob.
  



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: netcat strange behaviour

2005-04-28 Thread Alex Zbyslaw
[EMAIL PROTECTED] wrote:
My netcat is the one from the official FreeBSD 5.4-RELEASE s the system here 
now to check the exact version; I'll check it and post it
to the maillist a.s.a.p. (or look in web-cvs).
As of telnet, it runs o.k., but I wanted to use netcat in a shell script... :(
Besides, that is what netcat is designed for, is it not?
PS. sorry, as of 5.4-RELEASE I meant 5.4-RC2
 

Try
   pkg_info -I netcat\*
Regardless of whether it is up-to-date or not you should try remaking 
it.  If it's not up-to-date then you should update it first.  The 
handbook will tell you how.  Try nc reading from stdin
   nc -i 1 localhost 110
and type the commands just like to telnet.  Does that work?

If it still doesn't work then there may be a bug in the port on 5.4 and 
you might try reporting it.

Also, there seems to be a gnetcat port which is a rewrite of netcat.  
Try that.

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


Apache rewrite log and newsyslog.conf

2005-04-28 Thread Paul Schmehl
I maintain a small hobby website for some friends.  I use mod_rewrite, and 
apache logs all rewrites to /var/log/httpd/rewrite_log.  The log gets very 
large and files up /var, so I added it to newsyslog.conf:

/var/log/httpd-access.log   640  5 *$W0D0 Z
/var/log/httpd-error.log640  5 *$W0D0 Z
/var/log/httpd/rewrite.log  640  5 *$W0D0 Z
As you can see, the newsyslog.conf settings are identical to the 
httpd-access.log and the httpd-error.log.  Both of those logs are rotated 
daily and only five gzipped backup copies are maintained.

For some reason, the rewrite_log never gets turned over.  Has anyone seen 
this problem?  What might I be doing wrong?

uname -v
FreeBSD 4.9-SECURITY #0: Mon Jun  7 18:02:41 GMT 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC

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


Re: How to get rid of games ?

2005-04-28 Thread Lowell Gilbert
Louis LeBlanc <[EMAIL PROTECTED]> writes:

> I find it highly improbable that the kernel would suddenly bonk if it
> can't amuse itself with a game or two while you're not looking, but
> these aren't really the kind of games that will keep people wasting
> time.  On top of that, they take up less than 4M of disk space, which
> might be considered less than negligible.
> 
> Finally, keep in mind that fortune is used for some logins to present
> FreeBSD tips and hints.  And even after some 5 years using FreeBSD, I
> find these tips helpful from time to time.

The data for the fortunes seems to be most of the space taken up by
the "games" distribution.  

We should also mention for the original poster's benefit that in 5.x,
all of the actual games have been removed from the base system, but
fortune(6), primes(6), random(6), and so on are still there (and still
referred to as "games", even though they really aren't).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: netcat strange behaviour

2005-04-28 Thread Lowell Gilbert
Alex Zbyslaw <[EMAIL PROTECTED]> writes:

> [EMAIL PROTECTED] wrote:
> 
> >My netcat is the one from the official FreeBSD 5.4-RELEASE s the system here 
> >now to check the exact version; I'll check it and post it
> >to the maillist a.s.a.p. (or look in web-cvs).
> >
> >As of telnet, it runs o.k., but I wanted to use netcat in a shell script... 
> >:(
> >Besides, that is what netcat is designed for, is it not?
> >
> >PS. sorry, as of 5.4-RELEASE I meant 5.4-RC2
> >
> Try
> pkg_info -I netcat\*
> 
> Regardless of whether it is up-to-date or not you should try remaking
> it.  If it's not up-to-date then you should update it first.  The
> handbook will tell you how.  Try nc reading from stdin
> nc -i 1 localhost 110
> and type the commands just like to telnet.  Does that work?
> 
> If it still doesn't work then there may be a bug in the port on 5.4
> and you might try reporting it.
> 
> Also, there seems to be a gnetcat port which is a rewrite of netcat.
> Try that.

Presumably the original poster was referring to the version in the
base system.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Nat problem

2005-04-28 Thread perikillo
Hello Frank.

I think you are using ipfilter, but what about the rules on ipfilter.conf? 
The handbook has a very good explanation about ipfilter, my rules are based 
on the handbook and the ipfilter how to.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls-ipf.html
http://www.obfuscation.org/ipf/ipf-howto.txt

Look this are my rules on ipfilter.conf, my connection is DSL, ed0 is my 
internal interface and tun0 is my public interface on Freensd 4.11 p4.

block in on tun0 all head 1
block in quick on tun0 from 192.168.0.0/16  to any 
group 1
block in quick on tun0 from 172.16.0.0/12  to any 
group 1
block in quick on tun0 from 10.0.0.0/8  to any group 1
block in quick on tun0 from 127.0.0.0/8  to any group 1
block in quick on tun0 from 0.0.0.0/8  to any group 1
block in quick on tun0 from 169.254.0.0/16  to any 
group 1
block in quick on tun0 from 192.0.2.0/24  to any group 
1
block in quick on tun0 from 204.152.64.0/23  to any 
group 1
block in quick on tun0 from 224.0.0.0/3  to any group 1
block in quick on tun0 from 192.168.0.0/8  to any 
group 1
block in quick on tun0 from 192.168.0.0/16  to any 
group 1 
block in quick on tun0 from 192.168.0.0/24  to any 
group 1
block in quick on tun0 from 192.168.0.0/32  to any 
group 1
block in quick on tun0 from 192.168.0.255/32  to 
any group 1
block in quick on tun0 all with frags group 1 to any group 1
block in quick on tun0 proto tcp all with short group 1 
block in quick on tun0 all with opt lsrr group 1
block in quick on tun0 all with opt ssrr group 1
block in quick on tun0 proto tcp from any to any flags FUP group 1
block in quick on tun0 all with ipopts group 1
block in quick on tun0 proto icmp all icmp-type 8 group 1
block in quick on tun0 proto tcp from any to any port = 113 group 1
block in quick on tun0 proto tcp/udp from any to any port = 135 group 1
block in quick on tun0 proto tcp/udp from any to any port = 137 group 1
block in quick on tun0 proto tcp/udp from any to any port = 138 group 1
block in quick on tun0 proto tcp/udp from any to any port = 139 group 1
block in quick on tun0 proto tcp/udp from any to any port = 81 group 1
block in quick on tun0 proto tcp/udp from any to any port = 445 group 1
block in quick on tun0 proto tcp/udp from any to any port = 500 group 1
block in quick on tun0 proto tcp/udp from any to any port = 593 group 1
block in log first quick on tun0 group 1

block out on tun0 all head 2
#DNS1_IP and DNS2_IP are my dns servers from my ISP.
pass out quick on tun0 proto tcp from any to MYDNS1_IP/32 port=53 flags S 
keep state group 2
pass out quick on tun0 proto udp from any to MYDNS1_IP/32 port=53 keep state 
group 2
pass out quick on tun0 proto tcp from any to MYDNS2_IP/32 port=53 flags S 
keep state group 2
pass out quick on tun0 proto udp from any to MYDNS2_IP/32 port=53 keep state 
group 2
#With this rules i can connect to the webservers 
pass out quick on tun0 proto tcp from any to any port = 80 flags S keep 
state group 2
pass out quick on tun0 proto tcp from any to any port = 443 flags S keep 
state group 2
pass out quick on tun0 proto tcp from any to any port = 21 flags S keep 
state group 2
pass out quick on tun0 proto tcp from any to any port = 23 flags S keep 
state group 2
pass out quick on tun0 proto tcp from any to any port = 5999 flags S keep 
state group 2
pass out quick on tun0 proto tcp from any to any port = 43 flags S keep 
state group 2
#With this rule i can ping the outside world
pass out quick on tun0 proto icmp from any to any icmp-type 8 keep state 
group 2
block out log first quick on tun0 all group 2

pass in quick on ed0 all
pass out quick on ed0 all
pass in quick on lo0 all
pass out quick on lo0 all
pass in quick on lp0 all
pass out quick on lo0 all 

block in quick all
block out quick all

And ipnat.rules
map tun0 0/0 ->0/32 proxy port ftp ftp/tcp
map tun0 0/0 ->0/32 portmap tcp/udp 2/6
map tun0 0/0 ->0/32

Hope this can help you Frank.

On 4/27/05, Frank de Bot <[EMAIL PROTECTED]> wrote:
> 
> Hi,
> 
> I got my FreeBSD box set up as a NAT gateway. I got it working partialy;
> icmp pinging from inside to the internet works. But as soon as I try to
> make a tcp connection (loading a webpage or so) it just sits still!
> 
> The external interface is fxp0
> The internal interface is gif3 (this is a ipip tunnel)
> 
> ipnat.conf is:
> 
> map fxp0 10.0.1.0/24  -> 
> 0.0.0.0/32portmap tcp/udp 1025:65000
> map fxp0 10.0.1.0/24  -> 0.0.0.0/32
> 
> I find it very odd, because pings travel and are natted without
> problems. What can be wrong?
> 
> Thanks in advanced,
> 
> Frank de Bot!
> 
> _

Re: Apache rewrite log and newsyslog.conf

2005-04-28 Thread Greg Barniskis
Paul Schmehl wrote:
I maintain a small hobby website for some friends.  I use mod_rewrite, 
and apache logs all rewrites to /var/log/httpd/rewrite_log.  The log 
gets very large and files up /var, so I added it to newsyslog.conf:

/var/log/httpd-access.log   640  5 *$W0D0 Z
/var/log/httpd-error.log640  5 *$W0D0 Z
/var/log/httpd/rewrite.log  640  5 *$W0D0 Z
As you can see, the newsyslog.conf settings are identical to the 
httpd-access.log and the httpd-error.log.  Both of those logs are 
rotated daily and only five gzipped backup copies are maintained.

For some reason, the rewrite_log never gets turned over.  Has anyone 
seen this problem?  What might I be doing wrong?
is it really httpd/rewrite.log or is that a typo for httpd-rewrite.log?
if the file really is in its own subdirectory, permissions on that 
dir? tried keeping the file in /var/log proper instead for real 
parity with the other httpd log configs?

--
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: FreeBSD NIS client and Solaris NIS server problem...

2005-04-28 Thread Julien Gabel
Hello,

> I'm having a bit of trouble getting my FreeBSD workstation ( 5.4
> PRERELEASE ) binding to our Solaris 8 NIS server. I do not get any
> warnings or errors when ypbind starts up, but if I do a 'rpcinfo
> localhost', it takes a very long time to come back with anything(stays
> in a 'nanslp' state the whole time), and trying to do a 'ypcat hosts'
> ( or an equivalent ypcat query ) times out with the error:
>
>$ ypcat hosts
>ypcat: no such map hosts.byaddr. reason: Can't bind to server which
> serves this domain
>
> if I run rpcbind manually with the -d flag I get the following message:
>
>   $ rpcbind -d
>   rpcbind debugging enabled.
>   can't get local ip6 address: hostname nor servname provided, or not
> known
>
> Now, I dont have ipv6 compiled in the kernel, but is rpcbind dependent on
> it?
>
> Here are the parameters I'm using in rc.conf for nis:
>
>rpcbind_enable="YES"
>nisdomainname="delta"
>nis_client_enable="YES"
>nis_client_flags="-S delta,engr-nis1,engr-nis2"
>
> Any info is appreciated, I would like to access my NFS home directory
> from my workstation :)

Because rpcbind is a dependancy of ypbind, no (real) need to explicitly
enable it... but it doesn't hurt.

I personnaly use a very similar setup at work (Solaris NIS server and
FreeBSD NIS client), and binding point to point the two works great:
 # grep nis /etc/rc.conf
 nisdomainname="domain"
 nis_client_enable="YES"
 nis_client_flags="-ypset -s -m -S domain,foor,bar"
 # /etc/rc.d/ypbind start

If ypwhich(1) don't tell you more on the hostname of NIS server, the
problem may come from the configuration of the server, not the client.

-- 
-jpeg.

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


Re: netcat strange behaviour

2005-04-28 Thread Kris Kennaway
On Wed, Apr 27, 2005 at 04:30:29PM +, [EMAIL PROTECTED] wrote:
> My netcat is the one from the official FreeBSD 5.4-RELEASE s the system here 
> now to check the exact version; I'll check it and post it
> to the maillist a.s.a.p. (or look in web-cvs).
> 
> As of telnet, it runs o.k., but I wanted to use netcat in a shell script... :(
> Besides, that is what netcat is designed for, is it not?
> 
> PS. sorry, as of 5.4-RELEASE I meant 5.4-RC2

You forgot to explain the problem you're having.

Kris


pgp93C4hUH2bR.pgp
Description: PGP signature


Re: can't build kernel [with CONFIG this time]

2005-04-28 Thread Kris Kennaway
On Thu, Apr 28, 2005 at 08:31:02AM -0400, Lowell Gilbert wrote:
> "/dev/null" <[EMAIL PROTECTED]> writes:
> 
> > Hello,
> >  Just got a new CPU today. Running 5.4-RC3 on GENERIC until the new CPU
> > showed up. Installed the CPU drafted a new config for the kernel cd'd to
> > /usr/src, typed "make buildkernel KERNCONF=DEMON01", build process went as
> > expected. But before the build process completed the machine froze for no
> > apparent reason at the sound driver part. Couldn't ssh into it from another
> > box, so hit the reset button, chose 4 from the menu (single user mode).
> > Performed a fsck -f. Rebooted and attempted to rebuild. But it barfed.
> > So I performed an rm -fr /usr/src.
> > Then /stand/sysinstall > install entire src tree and tried another
> > "make buildkernel KERNCONF=DEMON01" in /usr/src.
> > It barfed with the following:
> > 
> > rm -f .depend GPATH GRTAGS GSYMS GTAGS
> > ===> rp
> > rm -f /usr/src/sys/modules/rp/export_syms rp.ko rp.kld rp.o rp_pci.o @
> > machine s
> > ymb.tmp tmp.o opt_compat.h pci_if.h bus_if.h device_if.h
> > rm -f .depend GPATH GRTAGS GSYMS GTAGS
> > ===> rue
> > ".depend", line 1: Need an operator
> > ".depend", line 3: Need an operator
> > ".depend", line 4: Need an operator
> > ".depend", line 5: Need an operator
> > ".depend", line 6: Need an operator
> > ".depend", line 9: Need an operator
> > ".depend", line 18: Need an operator
> > ".depend", line 20: Need an operator
> > ".depend", line 21: Need an operator
> > ".depend", line 25: Need an operator
> > ".depend", line 43: Need an operator
> > make: fatal errors encountered -- cannot continue
> > *** Error code 1
> > 
> > Stop in /usr/src/sys/modules.
> > *** Error code 1
> > 
> > Stop in /usr/obj/usr/src/sys/DEMON01.
> > *** Error code 1
> > 
> > Stop in /usr/src.
> > *** Error code 1
> > 
> > Stop in /usr/src.
> > 
> > /usr/src
> 
> Sounds like maybe something involved with make(1) itself got
> corrupted.  Rare, but it happens.  Reinstalling the base system
> would probably help (just do a "binary upgrade" -- you don't need
> to reinstall the whole system).

No, probably he just neds to 'make cleandir' in /usr/src/sys/modules,
or remove /usr/obj, to clean up from his failed previous build.

Kris


pgpGCLo9CyGJK.pgp
Description: PGP signature


Re: Apache rewrite log and newsyslog.conf

2005-04-28 Thread Paul Schmehl
--On Thursday, April 28, 2005 10:32:08 AM -0500 Greg Barniskis 
<[EMAIL PROTECTED]> wrote:
is it really httpd/rewrite.log or is that a typo for httpd-rewrite.log?
Ah, geez.  A man is never so blind as when he cannot see.
Thanks for pointing out what *should* have been blatently obvious to me. 
I'm going to go sit in the corner for a while now. :-(

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


Re: test test test

2005-04-28 Thread Tomas Quintero
On 4/28/05, Chris <[EMAIL PROTECTED]> wrote:
> Carpenter, Rohan S wrote:
> > test test test test --- test tets test test
> >
> > Rohan Carpenter
> > Information Security Analyst
> > EDS - Navy Marine Corp Intranet (NMCI)
> > MS-Bldg 87, 300 Lexington Blvd
> > Honolulu, HI 96818
> > * Phone: 808-356-6308 - IA watch
> > * Phone: 808-356-6000 (ext 7505) - direct line
> > * <>
> >
> 
> *Sigh*
> Some users just don't have a clue - do they.
> 
> --
> Best regards,
> Chris
> 
> The light at the end of the tunnel can be a helluva
> nuisance, especially if your're using the tunnel
> as a darkroom.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

Wow I'm very glad you brought this constructive piece of information
to the group. Thank you for sharing.
-- 
-Tomas Quintero
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


usbd.conf not mounting usb mass storage

2005-04-28 Thread Vittorio
 Under FreeBSD 5.4 In my laptop I have the following item in usbd.conf to  
mount a usb-mass storage:

device "SWISSBIT"
vendor  0x1370
product 0x2168
devname "umass0"
attach "/sbin/mount_msdosfs /dev/da0 /mnt/swissbit"


When I insert the device this are the messages:


fbsd# usbd -v -d
usbd: opened /dev/usb0
usbd: opened /dev/usb1
usbd: reading configuration file /etc/usbd.conf
usbd: opened /dev/usb
usbd: device-attach event at 1114704239.430921000, Twist, SWISSBIT:
  vndr=0x1370 prdct=0x2168 rlse=0x0200 clss=0x subclss=0x prtcl=0x
  device names: umass0
usbd: Found action 'SWISSBIT' for Twist, SWISSBIT at umass0
usbd: Executing '/sbin/mount_msdosfs /dev/da0 /mnt/swissbit'
mount_msdosfs: /dev/da0: No such file or directory
usbd: '/sbin/mount_msdosfs /dev/da0 /mnt/swissbit' returned 71


While giving the same command by hand in a root console 
'/sbin/mount_msdosfs /dev/da0 /mnt/swissbit' it all goes smooth and I find 
the share mounted.

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


Re: usbd.conf not mounting usb mass storage

2005-04-28 Thread Roland Smith
On Thu, Apr 28, 2005 at 06:35:57PM +, Vittorio wrote:
>  Under FreeBSD 5.4 In my laptop I have the following item in usbd.conf to  
> mount a usb-mass storage:
> 
> device "SWISSBIT"
> vendor  0x1370
> product 0x2168
> devname "umass0"
> attach "/sbin/mount_msdosfs /dev/da0 /mnt/swissbit"
> 
> 
> When I insert the device this are the messages:
> 
> 
> fbsd# usbd -v -d
> usbd: opened /dev/usb0
> usbd: opened /dev/usb1
> usbd: reading configuration file /etc/usbd.conf
> usbd: opened /dev/usb
> usbd: device-attach event at 1114704239.430921000, Twist, SWISSBIT:
>   vndr=0x1370 prdct=0x2168 rlse=0x0200 clss=0x subclss=0x prtcl=0x
>   device names: umass0
> usbd: Found action 'SWISSBIT' for Twist, SWISSBIT at umass0
> usbd: Executing '/sbin/mount_msdosfs /dev/da0 /mnt/swissbit'
> mount_msdosfs: /dev/da0: No such file or directory
> usbd: '/sbin/mount_msdosfs /dev/da0 /mnt/swissbit' returned 71

It takes a while for the mapping from umass to da to be established. Try
adding '/bin/sleep 1; ' to the front of the attach command.

Your usbd.conf relies on two assumptions that might not be true. The
umass0 device is not necessarily the swissbit device, and umass0 does
not automatically map to da0.

Roland
-- 
R.F. Smith   /"\ASCII Ribbon Campaign
r s m i t h @ x s 4 a l l . n l  \ /No HTML/RTF in e-mail
http://www.xs4all.nl/~rsmith/ X No Word docs in e-mail
public key: http://www.keyserver.net / \Respect for open standards


pgpOHShHiouSu.pgp
Description: PGP signature


Re: What is ata2 ?

2005-04-28 Thread Clifton Royston
On Thu, Apr 28, 2005 at 07:48:00AM -0700, Rob wrote:
> OK, I have opened the box and had a look at this
> ISA card. It's indeed a sound card, "Creative
> SB16/SB32". But it also has one IDE Interface
> connector, which apparently is the ata2 device.
 
Wow, this *is* an old machine!

> So, I thought, let's see how I get this ata2 to work.
> I disconnected the CDrom cable from the motherboard's
> IDE, and connected it to this soundcard.
> Nothing there at bootup; no mentioning of any
> CDrom in the kernel messages.
> (To be sure, I reconnected the cable the other way
> round to the card; same result).
> 
> Does this ISA/IDE require some other additional
> tweaks to become operational? The OS is 5-Stable.

I never tried running it under any BSD.  ISTR that it was a very
messed-up IDE interface which only worked with Creative's brand
CD-ROMs.  I saw a bunch of these back in the day as they were marketed
as upgrade kits when CD-ROMs were just hitting mass-market computers,
and lots of people wanted to add CD-ROMs and sound to their old
computers so they could play games.  A soundcard with extra IDE + a
CD-ROM got them there, barely.

> Eventually I would like to achieve this:
> I have another, very old, PC with following
> configuration:
>   IDE/0 (on motherboard) master and slave harddisks
>   IDE/1 (on motherboard) -broken-
>  
> I like to use this soundcard/IDE controller for
> adding a CDrom to this very old PC. The OS of this
> PC is 4-Stable.

I don't think it'll work for that - too bastardized. I don't know what
they did but they might have changed the pinout or something so that it
was only compatible with Creative CD-ROMs.  In the best case, if you
got it to work, it would be deathly slow.

  -- Clifton

-- 
  Clifton Royston  --  [EMAIL PROTECTED] 
 Tiki Technologies Lead Programmer/Software Architect
"I'm gonna tell my son to grow up pretty as the grass is green
And whip-smart as the English Channel's wide..."
-- 'Whip-Smart', Liz Phair
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: netcat strange behaviour

2005-04-28 Thread Alex Zbyslaw
Lowell Gilbert wrote:
Try
   pkg_info -I netcat\*
   

Presumably the original poster was referring to the version in the
base system.
 

Then maybe someone with 5.X could try netcat!
In the meantime, gnetcat might still work where netcat didn't.  Or maybe the 
netcat port would work.
--Alex
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: test test test

2005-04-28 Thread Bart Silverstrim
On Apr 28, 2005, at 12:28 PM, Tomas Quintero wrote:
On 4/28/05, Chris <[EMAIL PROTECTED]> wrote:
Carpenter, Rohan S wrote:
test test test test --- test tets test test
*Sigh*
Some users just don't have a clue - do they.
Wow I'm very glad you brought this constructive piece of information
to the group. Thank you for sharing.
Hey, if we're going to vent and snipe today...
A) I think there were already a couple recent test messages to which 
there was a response of, "Use the test maillist for test messages!", 
and
B) Nice trimming of unnecessary crud before posting...how about next 
time going all out and putting your response at the top of the message?

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


Re: Which is the best PDF utility ?

2005-04-28 Thread Joshua Tinnin
Please don't top-post ...

On Thu 28 Apr 05 05:13, edward <[EMAIL PROTECTED]> wrote:
> Henry Miller wrote:
> > On 4/26/2005 at 19:13 edward wrote:
> >>Hi all,
> >>Just wanted to know which is, according to you, the best utility to
> > read
> >>PDF files. I notice the Acrobat7 port is mentioned as "broken" in
> >> the notes. Which program (not necessarily Adobe) would be the best
> >> alternative for everyday PDF reading ? Oh, almost forgot, I use
> >> KDE. Thanks for your insight on this.
> >>Edward
> >
> > kpdf, which is based on xpdf (other recommended xpdf) is a part of
> > KDE, and thus integrates well with the rest of your KDE
> > environment.  I like it.   The Adobe reader would be better if it
> > wasn't such a pain to install and use.   (I have a windows machine
> > with acrobat, but when I need to view a pdf I move to my FreeBSD
> > machine so I can use kpdf)
> >
> > kpdf is a part of kdegraphics, which is in ports as:
> > /usr/ports/graphics/kdegraphics3
> >
> > I'd call this your best bet because you use KDE already.
>
> Hi,
> I installed it though pkg_add -r kdegraphics3. Install seemed to go
> all right. Then the software added itself to the K menu. But KPDF
> doesn't launch. When started from the console, I get :
> # kpdf
> /libexec/ld-elf.so.1: Shared object "libidn.so.16" not found,
> required by "kpdf"
> My guess is that there is version mixup involving one of the
> dependencies used by KPDF. Any idea which dependency is concerned or
> how I can bail out of this ?

You're missing devel/libidn. However, for something with many 
dependencies like kdegraphics3, I'd recommend building it from ports in 
order to pull in dependencies more easily. Are you familiar with using 
ports? If not, here's some basic info: 
http://www.onlamp.com/pub/a/bsd/2000/12/21/Big_Scary_Daemons.html and 
there are many more helpful articles on the site, as well as excellent 
info in the handbook.

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


Re: usbd.conf not mounting usb mass storage

2005-04-28 Thread Vittorio
Alle 16:52, giovedì 28 aprile 2005, Roland Smith ha scritto:
> On Thu, Apr 28, 2005 at 06:35:57PM +, Vittorio wrote:
> >  Under FreeBSD 5.4 In my laptop I have the following item in usbd.conf to
> > mount a usb-mass storage:
> >
> > device "SWISSBIT"
> > vendor  0x1370
> > product 0x2168
> > devname "umass0"
> > attach "/sbin/mount_msdosfs /dev/da0 /mnt/swissbit"
> >
> >
> > When I insert the device this are the messages:
> >
> >
> > fbsd# usbd -v -d
> > usbd: opened /dev/usb0
> > usbd: opened /dev/usb1
> > usbd: reading configuration file /etc/usbd.conf
> > usbd: opened /dev/usb
> > usbd: device-attach event at 1114704239.430921000, Twist, SWISSBIT:
> >   vndr=0x1370 prdct=0x2168 rlse=0x0200 clss=0x subclss=0x
> > prtcl=0x device names: umass0
> > usbd: Found action 'SWISSBIT' for Twist, SWISSBIT at umass0
> > usbd: Executing '/sbin/mount_msdosfs /dev/da0 /mnt/swissbit'
> > mount_msdosfs: /dev/da0: No such file or directory
> > usbd: '/sbin/mount_msdosfs /dev/da0 /mnt/swissbit' returned 71
>
> It takes a while for the mapping from umass to da to be established. Try
> adding '/bin/sleep 1; ' to the front of the attach command.
>
> Your usbd.conf relies on two assumptions that might not be true. The
> umass0 device is not necessarily the swissbit device, and umass0 does
> not automatically map to da0.
>
> Roland

Didn't know. I was misled by the fact that I saw my SWISSBIT mass storage  
mapped as umass[0-2]+ and ** acordingly ** da[0-2]+: 0 to 0, 1 to 1 and 2 to 
2.
By the way, there's another question relating to mapping.
As I said to mount  the SWISSBIT I use for instance 
"/sbin/mount_msdosfs /dev/da0 /mnt/swissbit" whilst to mount my Eutron usb 
mass storage mapped as umass0 -> da0 I have to issue:
"/sbin/mount_msdosfs /dev/da0s1 /mnt/eutron"
Why is that, I mean da0 -> da0s1?

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


Fwd: FreeBSD NIS client and Solaris NIS server problem...

2005-04-28 Thread Mike Carlson
Thanks Julien.

-- Forwarded message --
From: Mike Carlson <[EMAIL PROTECTED]>
Date: Apr 28, 2005 9:57 AM
Subject: Re: FreeBSD NIS client and Solaris NIS server problem...
To: [EMAIL PROTECTED]


Cool, those additional nis_client_flags did the trick, much appreciated :)

Mike C

On 4/28/05, Julien Gabel <[EMAIL PROTECTED]> wrote:
> Hello,
>
> > I'm having a bit of trouble getting my FreeBSD workstation ( 5.4
> > PRERELEASE ) binding to our Solaris 8 NIS server. I do not get any
> > warnings or errors when ypbind starts up, but if I do a 'rpcinfo
> > localhost', it takes a very long time to come back with anything(stays
> > in a 'nanslp' state the whole time), and trying to do a 'ypcat hosts'
> > ( or an equivalent ypcat query ) times out with the error:
> >
> >$ ypcat hosts
> >ypcat: no such map hosts.byaddr. reason: Can't bind to server which
> > serves this domain
> >
> > if I run rpcbind manually with the -d flag I get the following message:
> >
> >   $ rpcbind -d
> >   rpcbind debugging enabled.
> >   can't get local ip6 address: hostname nor servname provided, or not
> > known
> >
> > Now, I dont have ipv6 compiled in the kernel, but is rpcbind dependent on
> > it?
> >
> > Here are the parameters I'm using in rc.conf for nis:
> >
> >rpcbind_enable="YES"
> >nisdomainname="delta"
> >nis_client_enable="YES"
> >nis_client_flags="-S delta,engr-nis1,engr-nis2"
> >
> > Any info is appreciated, I would like to access my NFS home directory
> > from my workstation :)
>
> Because rpcbind is a dependancy of ypbind, no (real) need to explicitly
> enable it... but it doesn't hurt.
>
> I personnaly use a very similar setup at work (Solaris NIS server and
> FreeBSD NIS client), and binding point to point the two works great:
>  # grep nis /etc/rc.conf
>  nisdomainname="domain"
>  nis_client_enable="YES"
>  nis_client_flags="-ypset -s -m -S domain,foor,bar"
>  # /etc/rc.d/ypbind start
>
> If ypwhich(1) don't tell you more on the hostname of NIS server, the
> problem may come from the configuration of the server, not the client.
>
> --
> -jpeg.
>
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: What is ata2 ?

2005-04-28 Thread Rob Bowers

I don't think it'll work for that - too bastardized. I don't know what
they did but they might have changed the pinout or something so that it
was only compatible with Creative CD-ROMs.  In the best case, if you
got it to work, it would be deathly slow.
 -- Clifton
 

I can't imagine why you couldn't get it to work. But for what limited 
performance you will get in return for your time spent, you would 
probably be better off with a more modern PCI card.

However if you are that curious:
http://us.creative.com/support/identifyproduct/
may be a good starting point.
R. Bowers
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


HELP ME WITH PF! (5th plea)

2005-04-28 Thread Fafa Diliha Romanova
hello!

1) i have reasons to believe that pf causes my server to crash
whenever i upload/download.

http://www.home.no/hedhnta/pf.conf

2) i also need to type some three stupid commands after every
reboot for my nat to work. i have to type:

pfctl -F a ; pfctl -Nf /etc/pf.conf ; pfctl -sr

3) how does this ftp-proxy work if i want to disable inetd, and
switch ftpd with pure-ftpd? i am referring to this line in my
/etc/inetd.conf:

ftp-proxy stream tcp nowait root /usr/libexec/ftp-proxy ftp-proxy

i'd be VERY happy if someone could help me.
as all other people in trouble would be.

thanks :)

-- fafa

-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Mozilla problems afetr upgrade

2005-04-28 Thread Your Name
i just portupgraded Mozilla to 1.7.7,2 and several
problems have come up.

when i try to open preferences, i get a Gecko pop-up
window  that says:

 XML Parsing Error: not well-formed
 Location: 
chrome://communicator/content/pref/pref.xul
 Line Number 1, Column 1:

also, i can no longer type text into the URL box and
hit the down arrow to do a search--even if i have
things 
in the box it says "(Search Google for "(null)")". and
the "find in page" function works only sometimes.

i didn't see any other reports about this--i think my
ports are all up to date.

Jen


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


With tcpdump data; Re: firefox slow/hang load images and yahoo mail

2005-04-28 Thread benchmark
More data with tcpdump.

Visiting www.nytimes.com
hanging on 'transferring data from graphics8.nytimes.com'

Here is the tcpdump starting when i hit the return on loading nyt.com.
The interesting stuff is at the end...

It seems to me that we got the name/ip for graphics8.nytimes.com.
a) It seems to me that  vnsc-pri.sys.gtei.net is not configured
correctly? why are we quering that as the nameserver? my
/etc/resolve.conf is like this:
nameserver 192.168.1.1
nameserver 4.2.2.1

b) i didn't understand the protocol where we are telling
vnsc-pri.sys.gtei.net that an udp port is not reachable

c) the icpm error ?

is this a DNS problem after all? Someone had suggested that there
might be a problem with my nic's mtu, however tuning it only
marginally helped.

I can ping graphics8.nytimes.com, though it turned out to be
graphics8.nytimes.m7z.net.

rainier# tcpdump -i ipw0
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on ipw0, link-type EN10MB (Ethernet), capture size 96 bytes
01:13:33.954509 IP 192.168.1.101.58733 > 192.168.1.1.domain:  12832+
? www.n ytimes.com. (33)
01:13:33.954818 IP 192.168.1.101.59236 > 199.239.136.245.http: F
3043240333:3043 240333(0) ack 3023665731 win 32890 
01:13:34.002143 IP 192.168.1.101.53941 > 192.168.1.1.domain:  48115+
PTR? 1.1.16 8.192.in-addr.arpa. (42)
01:13:34.055518 IP 199.239.136.245.http > 192.168.1.101.59236: R
3023665731:3023 665731(0) win 0
01:13:34.122146 IP 192.168.1.1.domain > 192.168.1.101.58733:  12832 0/1/0 (90)
01:13:34.122293 IP 192.168.1.101.61318 > 192.168.1.1.domain:  12833+
A? www.nyti mes.com. (33)
01:13:34.175363 IP 192.168.1.1.domain > 192.168.1.101.53941:  48115
NXDomain 0/1 /0 (119)
01:13:34.175611 IP 192.168.1.101.61704 > 192.168.1.1.domain:  48116+
PTR? 101.1. 168.192.in-addr.arpa. (44)
01:13:34.291863 IP 192.168.1.1.domain > 192.168.1.101.61704:  12833
4/2/2 A 199. 239.136.245,[|domain]
01:13:39.131372 IP 192.168.1.101.50079 > vnsc-pri.sys.gtei.net.domain:
12833+ A ? www.nytimes.com. (33)
01:13:39.150373 IP vnsc-pri.sys.gtei.net.domain > 192.168.1.101.50079:
12833 4/ 0/0 A 199.239.136.245,[|domain]
01:13:39.150735 IP 192.168.1.101.51283 > 199.239.136.245.http: S
312069547:31206 9547(0) win 65535 
01:13:39.251498 IP 199.239.136.245.http > 192.168.1.101.51283: S
571867274:57186 7274(0) ack 312069548 win 32890 
01:13:39.251556 IP 192.168.1.101.51283 > 199.239.136.245.http: . ack 1
win 32890  
01:13:39.251675 IP 192.168.1.101.51283 > 199.239.136.245.http: .
1:461(460) ack 1 win 32890 
01:13:39.251712 IP 192.168.1.101.51283 > 199.239.136.245.http: P
461:572(111) ac k 1 win 32890 
01:13:39.301350 IP 192.168.1.101.54657 > vnsc-pri.sys.gtei.net.domain:
48116+ P TR? 101.1.168.192.in-addr.arpa. (44)
01:13:39.320435 IP vnsc-pri.sys.gtei.net.domain > 192.168.1.101.54657:
48116 NX Domain 0/1/0 (121)
01:13:39.320723 IP 192.168.1.101.53566 > 192.168.1.1.domain:  48117+
PTR? 245.13 6.239.199.in-addr.arpa. (46)
01:13:39.363269 IP 199.239.136.245.http > 192.168.1.101.51283: . ack
461 win 328 90 
01:13:39.368426 IP 199.239.136.245.http > 192.168.1.101.51283: . ack
572 win 328 90 
01:13:39.468143 IP 199.239.136.245.http > 192.168.1.101.51283: .
1:461(460) ack 572 win 32890 
01:13:39.472145 IP 199.239.136.245.http > 192.168.1.101.51283: P
461:921(460) ac k 572 win 32890 
01:13:39.472195 IP 192.168.1.101.51283 > 199.239.136.245.http: . ack
921 win 326 60 
01:13:39.491093 IP 192.168.1.1.domain > 192.168.1.101.53566:  48117
ServFail 0/0 /0 (46)
01:13:39.491225 IP 192.168.1.101.61903 > vnsc-pri.sys.gtei.net.domain:
48117+ P TR? 245.136.239.199.in-addr.arpa. (46)
01:13:39.574748 IP 199.239.136.245.http > 192.168.1.101.51283: .
921:1381(460) a ck 572 win 32890 
01:13:39.574841 IP 192.168.1.101.51283 > 199.239.136.245.http: . ack
1381 win 32 890 
01:13:39.577387 IP 199.239.136.245.http > 192.168.1.101.51283: .
1381:1841(460) ack 572 win 32890 
01:13:39.580697 IP 199.239.136.245.http > 192.168.1.101.51283: P
1841:2301(460) ack 572 win 32890 
01:13:39.580746 IP 192.168.1.101.51283 > 199.239.136.245.http: . ack
2301 win 32 660 
01:13:39.581532 IP 192.168.1.101.61182 > 199.239.136.245.http: S
3407783382:3407 783382(0) win 65535 
01:13:39.677484 IP 199.239.136.245.http > 192.168.1.101.51283: .
2301:2761(460) ack 572 win 32890 
01:13:39.677581 IP 192.168.1.101.51283 > 199.239.136.245.http: . ack
2761 win 32 890 
01:13:39.680822 IP 199.239.136.245.http > 192.168.1.101.51283: P
2761:3221(460) ack 572 win 32890 
01:13:39.684648 IP 199.239.136.245.http > 192.168.1.101.51283: .
3221:3681(460) ack 572 win 32890 
01:13:39.684676 IP 192.168.1.101.51283 > 199.239.136.245.http: . ack
3681 win 32 660 
01:13:39.687639 IP 199.239.136.245.http > 192.168.1.101.51283: .
3681:4141(460) ack 572 win 32890 
01:13:39.687673 IP 192.168.1.101.51283 > 199.239.136.245.http: . ack
4141 win 32 890 
01:13:39.691664 IP 199.239.136.245.http > 192.168.1.101.51283: P
4141:4601(460) ack 572 win 32890 
01:13:39.693165 IP 199.239.136.245.http > 192.168.1.101.61182: S
3608145421

longest uptime

2005-04-28 Thread Stevan Tiefert
Hello list,
if I want to do a uptime-record I have always the possiblity to shut 
down daemons (when needed) and start them again, without rebooting the 
system! That is very nice! I had many days and weeks running my nicely 
freebsd-server. BUT every time I updated the patchlevel (in example 
5.2.1-RELEASE to 5.2.1-RELEASE-p14) I had to reboot my system. But then 
the counter of uptime is starting at zero again :-(

Question: Is there a possiblity to run the system inclusive patching it, 
without rebooting? Goal is to run a system maybe longer than a year!!!

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


fixit

2005-04-28 Thread Darrel
Thanks a lot.
http://www.freebsd-corp-net-guide.com/technotes/fixit.html
Darrel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


sendmail relay host problem

2005-04-28 Thread Olaf Stein
hi everybody
 
I am running FBSD 5.3 with sendmail 8.12 on a custom installed system (just
base and man)
The only thing this machine is supposed to do is send notification emails on
certain events on an ftp server
the ftp notifications work, as other mail servers I have tried deliver them
my old machine doing this (FBSD 4.9) crashed and I unfortunately do not
remember exactly how I configured it
 
What I remember and what I did on this installation is the following:
 
- add alias for existing user in /etc/mail/aliases
- run newaliases
- add relay-domains file in /etc/mail with the domains to deliver mail to
- restart sendmail
 
I am under the impression that with my old installation that was enough but
I am not sure
Fact is that it does not send any emails
Am I missing something I still have to do or do you know locations of howtos
for setting up sendmail for my purposes
 
please cc me as I am not on the list
 
thanks
/Olaf
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: longest uptime

2005-04-28 Thread Nico Meijer
Hi Stevan,

> Question: Is there a possiblity to run the system inclusive patching
> it, without rebooting? Goal is to run a system maybe longer than a
> year!!!

Short answer: no.

Long answer: don't think like that. Uptime is not important. It is not
a pissing contest.

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


Re: usbd.conf not mounting usb mass storage

2005-04-28 Thread Roland Smith
On Thu, Apr 28, 2005 at 07:58:49PM +, Vittorio wrote:
> > > prtcl=0x device names: umass0
> > > usbd: Found action 'SWISSBIT' for Twist, SWISSBIT at umass0
> > > usbd: Executing '/sbin/mount_msdosfs /dev/da0 /mnt/swissbit'
> > > mount_msdosfs: /dev/da0: No such file or directory
> > > usbd: '/sbin/mount_msdosfs /dev/da0 /mnt/swissbit' returned 71
> >
> > It takes a while for the mapping from umass to da to be established. Try
> > adding '/bin/sleep 1; ' to the front of the attach command.
> >
> > Your usbd.conf relies on two assumptions that might not be true. The
> > umass0 device is not necessarily the swissbit device, and umass0 does
> > not automatically map to da0.
> >
> > Roland
> 
> Didn't know. I was misled by the fact that I saw my SWISSBIT mass storage  
> mapped as umass[0-2]+ and ** acordingly ** da[0-2]+: 0 to 0, 1 to 1 and 2 to 
> 2.

That is probably because you have no SCSI disks. They also use the da
driver. If you had one, it would be da0, and umass0 would probably map
to da1.

> By the way, there's another question relating to mapping.
> As I said to mount  the SWISSBIT I use for instance 
> "/sbin/mount_msdosfs /dev/da0 /mnt/swissbit" whilst to mount my Eutron usb 
> mass storage mapped as umass0 -> da0 I have to issue:
> "/sbin/mount_msdosfs /dev/da0s1 /mnt/eutron"
> Why is that, I mean da0 -> da0s1?

The devices are partitioned differently. If you run 'gpt show /dev/daX',
where X denotes the numbers of the two devices, you'll see the differences.

Roland
-- 
R.F. Smith   /"\ASCII Ribbon Campaign
r s m i t h @ x s 4 a l l . n l  \ /No HTML/RTF in e-mail
http://www.xs4all.nl/~rsmith/ X No Word docs in e-mail
public key: http://www.keyserver.net / \Respect for open standards


pgpe2MSqLAdKD.pgp
Description: PGP signature


Re: can't build kernel [with CONFIG this time]

2005-04-28 Thread /dev/null
Hello,
> "/dev/null" <[EMAIL PROTECTED]> writes:
>
>> Hello,
>>  Just got a new CPU today. Running 5.4-RC3 on GENERIC until the new CPU
>> showed up. Installed the CPU drafted a new config for the kernel cd'd to
>> /usr/src, typed "make buildkernel KERNCONF=DEMON01", build process went
>> as
>> expected. But before the build process completed the machine froze for
>> no
>> apparent reason at the sound driver part. Couldn't ssh into it from
>> another
>> box, so hit the reset button, chose 4 from the menu (single user mode).
>> Performed a fsck -f. Rebooted and attempted to rebuild. But it barfed.
>> So I performed an rm -fr /usr/src.
>> Then /stand/sysinstall > install entire src tree and tried another
>> "make buildkernel KERNCONF=DEMON01" in /usr/src.
>> It barfed with the following:
>> 
>> rm -f .depend GPATH GRTAGS GSYMS GTAGS
>> ===> rp
>> rm -f /usr/src/sys/modules/rp/export_syms rp.ko rp.kld rp.o rp_pci.o @
>> machine s
>> ymb.tmp tmp.o opt_compat.h pci_if.h bus_if.h device_if.h
>> rm -f .depend GPATH GRTAGS GSYMS GTAGS
>> ===> rue
>> ".depend", line 1: Need an operator
>> ".depend", line 3: Need an operator
>> ".depend", line 4: Need an operator
>> ".depend", line 5: Need an operator
>> ".depend", line 6: Need an operator
>> ".depend", line 9: Need an operator
>> ".depend", line 18: Need an operator
>> ".depend", line 20: Need an operator
>> ".depend", line 21: Need an operator
>> ".depend", line 25: Need an operator
>> ".depend", line 43: Need an operator
>> make: fatal errors encountered -- cannot continue
>> *** Error code 1
>>
>> Stop in /usr/src/sys/modules.
>> *** Error code 1
>>
>> Stop in /usr/obj/usr/src/sys/DEMON01.
>> *** Error code 1
>>
>> Stop in /usr/src.
>> *** Error code 1
>>
>> Stop in /usr/src.
>>
>> /usr/src
>
> Sounds like maybe something involved with make(1) itself got
> corrupted.  Rare, but it happens.  Reinstalling the base system
> would probably help (just do a "binary upgrade" -- you don't need
> to reinstall the whole system).
>
Really?! I'll _gladly_ give that a shot and see what I get.
*Thank you* for the reply.

-Chris


 If only Western Electric had found a way to offer
binary licenses for the UNIX system back in 1974,
the UNIX system would be running on all PC's today
rather than DOS/Windows.

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


Re: longest uptime

2005-04-28 Thread Chad Morland
On 4/28/05, Stevan Tiefert <[EMAIL PROTECTED]> wrote:
> 
> Question: Is there a possiblity to run the system inclusive patching it,
> without rebooting? Goal is to run a system maybe longer than a year!!!
> 

For educational purposes only: http://www.jwsdot.com/tuptune/

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


Re: groff alternative?

2005-04-28 Thread Chuck Swiger
Dag-Erling Smørgrav wrote:
[ ... ]
Install pre-rendered man pages instead of the mdoc source, and fake up
a shell script that locates the appropriate page, decompresses it and
pipes it to $PAGER.
At least some flavors of the "man" program will show cat pages even if the 
original NROFF version isn't present.  Does the one in FreeBSD not do this?

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


Re: ftpd: user needs to upload in mode 777

2005-04-28 Thread Chad Morland
What photo album is she using? I don't think it is the picture files
themselves that need such liberal permissions. Perhpas the directory
where the thumnails are stored should be writable by the webserver
user.

This message is really off-topic. Consult the docs for the photo-album
software. I'm sure your answer is in there.

-CM

On 4/28/05, Fafa Diliha Romanova <[EMAIL PROTECTED]> wrote:
> hello!
> 
> i got this user who only connects to her account with ftp
> to upload pictures to her photoalbum. all the files she uploads
> has to be in mode 777 for the photoalbum to work properly;
> to generate thumbnails etc.
> 
> hence, i've set her .login_conf to:
> 
> me:\
>  :umask=0:
> 
> but still the files she upload aren't in mode 777.
> does anybody know?
> 
> thanks,
> fafa
> 
> --
> ___
> Sign-up for Ads Free at Mail.com
> http://promo.mail.com/adsfreejump.htm
> 
> ___
> 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: HELP ME WITH PF! (5th plea)

2005-04-28 Thread Didier Wiroth
Hi,

>1) i have reasons to believe that pf causes my server to crash
>whenever i upload/download.
Why do you mean with "crashing your server"? (panic, freeze ...)

>2) i also need to type some three stupid commands after every
>reboot for my nat to work. i have to type:
>pfctl -F a ; pfctl -Nf /etc/pf.conf ; pfctl -sr
What do you have in your /etc/rc.conf and /etc/rc.conf.local

>3) how does this ftp-proxy work if i want to disable inetd, and
>switch ftpd with pure-ftpd? i am referring to this line in my
>etc/inetd.conf:
>ftp-proxy stream tcp nowait root /usr/libexec/ftp-proxy ftp-proxy
What do you mean with point 3)? Please explain what you would like to do.
Post what you have in your inetd.conf

didier

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


Re: pf's ftp-proxy outside inetd (with pure-ftpd)

2005-04-28 Thread Chad Morland
On 4/28/05, Fafa Diliha Romanova <[EMAIL PROTECTED]> wrote:
> i am trying to disable inetd.
>
>i wonder what happens to this inetd.conf entry:
>  
> how is this applied now?

Common sense tells me that if you disable inetd any entries in
inetd.conf are no longer applicable.

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


Re: can't build kernel [with CONFIG this time]

2005-04-28 Thread /dev/null

>> > Sounds like maybe something involved with make(1) itself got
>> > corrupted.  Rare, but it happens.  Reinstalling the base system
>> > would probably help (just do a "binary upgrade" -- you don't need
>> > to reinstall the whole system).
>> >
>> Really?! I'll _gladly_ give that a shot and see what I get.
>
> One of the committers already responded and said that things will
> probably work if you just clean out the previous build first.

Doesn't "make buildworld" run an rm -r(f) to cleanse any previous
attempts to build world?
or did you mean the message I got suggesting a "rm -fr /usr/obj?

>
>> *Thank you* for the reply.
>
> I saw no one else had after a couple of days, so I took a guess.
> And then I got corrected.  Sometimes the best way to get information
> on the net is to post wrong information and wait to be told you're
> wrong.

Greatly appreciated. I haven't gotten a chance that was long enough to
attempt an upgrade yet. But should be able before the day is over.
>
> Good luck.

Thanks

>

 If only Western Electric had found a way to offer
binary licenses for the UNIX system back in 1974,
the UNIX system would be running on all PC's today
rather than DOS/Windows.

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


Re: groff alternative?

2005-04-28 Thread Emanuel Strobl
Am Donnerstag, 28. April 2005 23:37 schrieb Chuck Swiger:
> Dag-Erling Smørgrav wrote:
> [ ... ]
>
> > Install pre-rendered man pages instead of the mdoc source, and fake up
> > a shell script that locates the appropriate page, decompresses it and
> > pipes it to $PAGER.
>
> At least some flavors of the "man" program will show cat pages even if the
> original NROFF version isn't present.  Does the one in FreeBSD not do this?

In case of cat pages it does, but like I wrote I want to be able to add 
packages and read their man pages without having to involve any other 
machine. So there's no way arround a lean *roff...

Bit it's on ice for the moment, I'm about XP-ipsec(dynamicIP) <-> FreeBSD 
problems (and racoon was the man page I wanted to read on my embedded 
box)

Thanks,

-Harry


pgpLU2tzL9bPi.pgp
Description: PGP signature


Re: firefox slow/hang load images and yahoo mail

2005-04-28 Thread benchmark
Just checked my gentoo linux setup. The network MTU is at 1500, and I
don't run named/bind, and my firefox is setup to do ipv6. The
/etc/resolve.conf on my gentoo box is also using 192.168.1.1 as the
name server. Don't know why BSD isn't behaving. I have a few guesses:
a) my FreeBSD wireless network driver isn't behaving (it's a thinkpad
t40's build in card)
b) or my router (DLink DI-714) didn't like FreeBSD's network packet --
i don't know enough here

Really appreciate any help here. I started to play with FreeBSD
because someone suggested (and i also read that  it has better
networking/filesystems), but I am almost ready to give it up...

On 4/28/05, benchmark <[EMAIL PROTECTED]> wrote:
> digging a bit more, i found that if you add named_flags='-4 -u bind'
> will disable ipv6.
> 
> more experiment lead to suspect that my router might not be doing it
> job when things are hang. This is the tcpdump when mail.yahoo.com
> hangs. It kept on sending the same packet to f407.mail.yahoo.com
> without getting the ack back. Maybe my router has somehow dropped that
> packet?
> 
> 16:02:09.376566 IP 192.168.1.101.52367 > f407.mail.yahoo.com.http: S
> 1416997185:1416997185(0) win 65535  1,nop,nop,timestamp 445106 0>
> 16:02:12.576613 IP 192.168.1.101.52367 > f407.mail.yahoo.com.http: S
> 1416997185:1416997185(0) win 65535  1,nop,nop,timestamp 445426 0>
> 16:02:15.776664 IP 192.168.1.101.52367 > f407.mail.yahoo.com.http: S
> 1416997185:1416997185(0) win 65535 
> 16:02:18.976713 IP 192.168.1.101.52367 > f407.mail.yahoo.com.http: S
> 1416997185:1416997185(0) win 65535 
> 16:02:22.176762 IP 192.168.1.101.52367 > f407.mail.yahoo.com.http: S
> 1416997185:1416997185(0) win 65535 
> 16:02:28.376861 IP 192.168.1.101.52367 > f407.mail.yahoo.com.http: S
> 1416997185:1416997185(0) win 65535 
> 
> 
> On 4/28/05, benchmark <[EMAIL PROTECTED]> wrote:
> > Thanks for being kind and patient with me.
> >
> > I've run my own named, in the namedb.conf. Here are my named.conf and
> > rc.conf attached. when i do a grep on ps
> > [EMAIL PROTECTED] # ps ax | grep named  
> >~
> >   315  ??  Is 0:00.02 /usr/sbin/syslogd -l /var/run/log -l 
> > /var/named/var/r
> >   842  ??  Ss 0:00.10 /usr/sbin/named -u bind -t /var/named
> >
> > it didn't have the -4 option as you mentioned, though i've disabled
> > ipv6 in rc.conf as well as the default config. is this still a
> > problem?
> >
> > Now my local dns is serving up ips
> >
> > [EMAIL PROTECTED] # nslookp mail.yahoo.com  
> >~
> > zsh: correct 'nslookp' to 'nslookup' [nyae]? y
> > Server: 127.0.0.1
> > Address:127.0.0.1#53
> >
> > Non-authoritative answer:
> > mail.yahoo.com  canonical name = login.yahoo.com.
> > login.yahoo.com canonical name = login.yahoo.akadns.net.
> > Name:   login.yahoo.akadns.net
> > Address: 66.218.75.184
> >
> > I've changed the firefox setting to not issue ipv6 queries.
> >
> > However, things are not much better. Visiting mail.yahoo.com still
> > hangs, here is the tcpdump at the end. I notice that my machine kept
> > sending yahoo the ACK forever.
> >
> > My MTU at the time was 1492. The other thing that I noticed is that if
> > i hit refresh a few times after it hangs, eventually piece by piece
> > the page MIGHT come up. However, visiting a mostly text page like
> > craigslist.org, things are ok.
> >
> > I've tried to have my MTU set to 500 or something, that didn't help
> > either. My wireless router/dhcp server works well with
> > XP/Linux(gentoo)...
> >
> > I am totally confused here
> >
> > 15:15:19.601321 IP 192.168.1.101.50418 > 63.218.7.147.http: R
> > 1619429220:1619429220(0) win 0
> > 15:15:24.133464 IP 192.168.1.101.61965 > 199.239.136.200.http: F
> > 580:580(0) ack 25567 win 33120 
> > 15:15:24.231789 IP 199.239.136.200.http > 192.168.1.101.61965: . ack
> > 581 win 33405 
> > 15:15:25.683612 IP 192.168.1.101.54119 > 199.239.136.200.http: P
> > 3277:4176(899) ack 93448 win 33120  > 493616495>
> > 15:15:25.843023 IP 199.239.136.200.http > 192.168.1.101.54119: .
> > 93448:94758(1310) ack 4176 win 33405  > 164741>
> > 15:15:25.851176 IP 199.239.136.200.http > 192.168.1.101.54119: P
> > 94758:96068(1310) ack 4176 win 33405  > 164741>
> > 15:15:25.851231 IP 192.168.1.101.54119 > 199.239.136.200.http: . ack
> > 96068 win 32465 
> > 15:15:25.859983 IP 199.239.136.200.http > 192.168.1.101.54119: .
> > 96068:97378(1310) ack 4176 win 33405  > 164741>
> > 15:15:25.869947 IP 199.239.136.200.http > 192.168.1.101.54119: P
> > 97378:98688(1310) ack 4176 win 33405  > 164741>
> > 15:15:25.869987 IP 192.168.1.101.54119 > 199.239.136.200.http: . ack
> > 98688 win 32465 
> > 15:15:25.877105 IP 199.239.136.200.http > 192.168.1.101.54119: .
> > 98688:8(1310) ack 4176 win 33405  > 164741>
> > 15:15:25.886376 IP 199.239.136.200.http > 192.168.1.101.54119: P
> > 8:101308(1310) ack 4176 win 33405  > 164741>
> > 15:15:25.886416 IP 192.168.1.101.54119 > 199.239.13

How to resize /USR

2005-04-28 Thread E. J. Cerejo
I'm running FBSD 5.3 release, I want to increase the
size of /usr slice, is this possible and how would I
go about it?

Thanks






Yahoo! Acesso Grátis - Internet rápida e grátis. 
Instale o discador agora! http://br.acesso.yahoo.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Does FreeBSD work with "SB Live" and "GeForce"?

2005-04-28 Thread Gary Kline

Folks,

I'm looking at doing a build-your-own desktop/tower system.
It's an Intel 2.9GHz motherboard with builtin graphics and
sound.  But to be on the safe side I just want stuff to 
*work*.  So will to order a video and sound card.  cAn anybody
tell me if FBSD-5.3 works with the SoundBlaster Live card and 
the "GeForce MX4000 64M" card?  Since I can't fiddle with my
hardware myself, I'd rather than everything just-works.
...Rather than having to beg favors.

Also, if anybody knows of a good online store, please let me
know.  I found a website called "tigerdirect.com".  Am I
tossing the dice? anybody dealt with this place?

thankee,

gary


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

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


Re: pf's ftp-proxy outside inetd (with pure-ftpd)

2005-04-28 Thread Tomas Quintero
On 4/28/05, Fafa Diliha Romanova <[EMAIL PROTECTED]> wrote:
> i am trying to disable inetd.

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


Re: Does FreeBSD work with "SB Live" and "GeForce"?

2005-04-28 Thread Jerry McAllister
> 
> 
>   Folks,
> 
>   I'm looking at doing a build-your-own desktop/tower system.
>   It's an Intel 2.9GHz motherboard with builtin graphics and
>   sound.  But to be on the safe side I just want stuff to 
>   *work*.  So will to order a video and sound card.  cAn anybody
>   tell me if FBSD-5.3 works with the SoundBlaster Live card and 
>   the "GeForce MX4000 64M" card?  Since I can't fiddle with my
>   hardware myself, I'd rather than everything just-works.
>   ...Rather than having to beg favors.

Did you check the FreeBSD web site hardware compatibility list?
There is one for each version of the OS that is released.

> 
>   Also, if anybody knows of a good online store, please let me
>   know.  I found a website called "tigerdirect.com".  Am I
>   tossing the dice? anybody dealt with this place?

Never done business with them.  They sure spam a lot which turns
me off.

jerry

>   thankee,
> 
>   gary
> 
> -- 
>Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

___
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 resize /USR

2005-04-28 Thread Jerry McAllister
> 
> I'm running FBSD 5.3 release, I want to increase the
> size of /usr slice, is this possible and how would I
> go about it?

Two ways to go about it unless you just happened to leave a lot of
space contiguously following the current partition that you mount
as /usr (not very likely).   Then you could try growfs.

But, presuming the more normal situation:

One:  you can back up everything on the disk, rebuild the whole disk
to whatever sizes you want and then use the live cd to reload the
backups.   Make sure you make the disk bootable when you redo it.

Two:  you can move some stuff such as /usr/local and/or /usr/ports
to some disk partition where you have lots of extra space and make
soft links to it/them.   That way you don't really have to redo 
the disk.   I have posted sample instructions for doing this several
times in this list, even recently.  So, check the list archives.

jerry

> 
> Thanks
> 
> ___
> 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: Does FreeBSD work with "SB Live" and "GeForce"?

2005-04-28 Thread Chad Leigh -- Shire.Net LLC
On Apr 28, 2005, at 6:45 PM, Gary Kline wrote:
Also, if anybody knows of a good online store, please let me
know.  I found a website called "tigerdirect.com".  Am I
tossing the dice? anybody dealt with this place?
Their catalogs are cheesy and somewhat misleading if you ask me.   
They send a lot of junk mail (paper).  And they sued Apple today over  
the Tiger name, though they do not seem to have any relevant  
trademarks registered at the USPTO.

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


RE: fixit

2005-04-28 Thread Darrel
On Thu, 28 Apr 2005, Ted Mittelstaedt wrote:
I hate it when I have to do that.
Ted
This time single user mode fixed it.
I plan to study the file permissions with fixit.  It seems like a tool to 
know the correct use of, in case I need it.  ;)

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


Re: What is ata2 ?

2005-04-28 Thread Rob

--- Clifton Royston wrote:
> On Thu, Apr 28, 2005 at 07:48:00AM -0700, Rob wrote:
> 
> > Eventually I would like to achieve this:
> > I have another, very old, PC with following
> > configuration:
> >   IDE/0 (on motherboard) master and slave HDs
> >   IDE/1 (on motherboard) -broken-
> >  
> > I like to use this soundcard/IDE controller for
> > adding a CDrom to this very old PC. The OS of
> > this PC is 4-Stable.
> 
> I don't think it'll work for that - too bastardized.
> I don't know what they did but they might have
> changed the pinout or something so that it
> was only compatible with Creative CD-ROMs. In the
> best case, if you got it to work, it would be
> deathly slow.

Too bad, as the soundcard itself seems to be
recognized properly by 5-Stable:

 # kldload snd_sb16
 # kldstat
 Id Refs AddressSize Name
  19 0xc040 275764   kernel
  22 0xc0676000 18a44miibus.ko
  31 0xc068f000 6b98 if_rl.ko
  41 0xc0696000 b1b8 random.ko
  51 0xc1118000 4000 snd_sb16.ko
  62 0xc111c000 18000sound.ko
  71 0xc113b000 4000 snd_sbc.ko

 # cat /dev/sndstat 
 FreeBSD Audio Driver (newpcm)
 Installed devices:
 pcm0:  at io 0x220 irq 5 drq 1:5
   bufsz 4096d kld snd_sb16 (1p/1r/0v channels
   duplex default)

Anyway, if I buy a PCI IDE controller, would that
work easily with FreeBSD (4- or 5-Stable alike) ?

Thanks,
Rob.

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


Re: firefox slow/hang load images and yahoo mail

2005-04-28 Thread benchmark
Eliminated the wireless driver problem, as I connected via LAN to my
router and still got the hang and the browers has to be killed. Here
is more tcpdum data. It's hanging/repeating itself. Again, none of
these problems in my gentoo linux box. Is it because that it is
running firefox in emulation mode

19:18:23.674119 IP espn.go.com.http > 192.168.1.104.49381: . ack 1 win
47001 
19:18:23.674131 IP 192.168.1.104.49381 > espn.go.com.http: F
987711815:987711815(0) ack 2424365703 win 33304 
19:18:23.685239 IP espn.go.com.http > 192.168.1.104.49381: . ack 1 win
47001 
19:18:23.685252 IP 192.168.1.104.49381 > espn.go.com.http: F
987711815:987711815(0) ack 2424365703 win 33304 
19:18:23.687487 IP espn.go.com.http > 192.168.1.104.49381: . ack 1 win
47001 
19:18:23.687498 IP 192.168.1.104.49381 > espn.go.com.http: F
987711815:987711815(0) ack 2424365703 win 33304 
19:18:23.709118 IP espn.go.com.http > 192.168.1.104.49381: . ack 1 win
47001 
19:18:23.709171 IP 192.168.1.104.49381 > espn.go.com.http: F
987711815:987711815(0) ack 2424365703 win 33304 
19:18:23.720227 IP espn.go.com.http > 192.168.1.104.49381: . ack 1 win
47001 
19:18:23.720277 IP 192.168.1.104.49381 > espn.go.com.http: F
987711815:987711815(0) ack 2424365703 win 33304 
19:18:23.722593 IP espn.go.com.http > 192.168.1.104.49381: . ack 1 win
47001 
19:18:23.722607 IP 192.168.1.104.49381 > espn.go.com.http: F
987711815:987711815(0) ack 2424365703 win 33304 
19:18:23.743337 IP espn.go.com.http > 192.168.1.104.49381: . ack 1 win
47001 
19:18:23.743377 IP 192.168.1.104.49381 > espn.go.com.http: F
987711815:987711815(0) ack 2424365703 win 33304 
19:18:23.754450 IP espn.go.com.http > 192.168.1.104.49381: . ack 1 win
47001 
19:18:23.754462 IP 192.168.1.104.49381 > espn.go.com.http: F
987711815:987711815(0) ack 2424365703 win 33304 
19:18:23.757698 IP espn.go.com.http > 192.168.1.104.49381: . ack 1 win
47001 
19:18:23.757709 IP 192.168.1.104.49381 > espn.go.com.http: F
987711815:987711815(0) ack 2424365703 win 33304 
^C


On 4/28/05, benchmark <[EMAIL PROTECTED]> wrote:
> Just checked my gentoo linux setup. The network MTU is at 1500, and I
> don't run named/bind, and my firefox is setup to do ipv6. The
> /etc/resolve.conf on my gentoo box is also using 192.168.1.1 as the
> name server. Don't know why BSD isn't behaving. I have a few guesses:
> a) my FreeBSD wireless network driver isn't behaving (it's a thinkpad
> t40's build in card)
> b) or my router (DLink DI-714) didn't like FreeBSD's network packet --
> i don't know enough here
> 
> Really appreciate any help here. I started to play with FreeBSD
> because someone suggested (and i also read that  it has better
> networking/filesystems), but I am almost ready to give it up...
> 
> On 4/28/05, benchmark <[EMAIL PROTECTED]> wrote:
> > digging a bit more, i found that if you add named_flags='-4 -u bind'
> > will disable ipv6.
> >
> > more experiment lead to suspect that my router might not be doing it
> > job when things are hang. This is the tcpdump when mail.yahoo.com
> > hangs. It kept on sending the same packet to f407.mail.yahoo.com
> > without getting the ack back. Maybe my router has somehow dropped that
> > packet?
> >
> > 16:02:09.376566 IP 192.168.1.101.52367 > f407.mail.yahoo.com.http: S
> > 1416997185:1416997185(0) win 65535  > 1,nop,nop,timestamp 445106 0>
> > 16:02:12.576613 IP 192.168.1.101.52367 > f407.mail.yahoo.com.http: S
> > 1416997185:1416997185(0) win 65535  > 1,nop,nop,timestamp 445426 0>
> > 16:02:15.776664 IP 192.168.1.101.52367 > f407.mail.yahoo.com.http: S
> > 1416997185:1416997185(0) win 65535 
> > 16:02:18.976713 IP 192.168.1.101.52367 > f407.mail.yahoo.com.http: S
> > 1416997185:1416997185(0) win 65535 
> > 16:02:22.176762 IP 192.168.1.101.52367 > f407.mail.yahoo.com.http: S
> > 1416997185:1416997185(0) win 65535 
> > 16:02:28.376861 IP 192.168.1.101.52367 > f407.mail.yahoo.com.http: S
> > 1416997185:1416997185(0) win 65535 
> >
> >
> > On 4/28/05, benchmark <[EMAIL PROTECTED]> wrote:
> > > Thanks for being kind and patient with me.
> > >
> > > I've run my own named, in the namedb.conf. Here are my named.conf and
> > > rc.conf attached. when i do a grep on ps
> > > [EMAIL PROTECTED] # ps ax | grep named
> > >  ~
> > >   315  ??  Is 0:00.02 /usr/sbin/syslogd -l /var/run/log -l 
> > > /var/named/var/r
> > >   842  ??  Ss 0:00.10 /usr/sbin/named -u bind -t /var/named
> > >
> > > it didn't have the -4 option as you mentioned, though i've disabled
> > > ipv6 in rc.conf as well as the default config. is this still a
> > > problem?
> > >
> > > Now my local dns is serving up ips
> > >
> > > [EMAIL PROTECTED] # nslookp mail.yahoo.com
> > >  ~
> > > zsh: correct 'nslookp' to 'nslookup' [nyae]? y
> > > Server: 127.0.0.1
> > > Address:127.0.0.1#53
> > >
> > > Non-authoritative answer:
> > > mail.yahoo.com  canonical name = login.yahoo.com.
> > > login.yahoo.com canonical name = login

Re: longest uptime

2005-04-28 Thread Joshua Tinnin
On Thu 28 Apr 05 12:37, Stevan Tiefert <[EMAIL PROTECTED]> wrote:
> Hello list,
>
> if I want to do a uptime-record I have always the possiblity to shut
> down daemons (when needed) and start them again, without rebooting
> the system! That is very nice! I had many days and weeks running my
> nicely freebsd-server. BUT every time I updated the patchlevel (in
> example 5.2.1-RELEASE to 5.2.1-RELEASE-p14) I had to reboot my
> system. But then the counter of uptime is starting at zero again :-(
>
> Question: Is there a possiblity to run the system inclusive patching
> it, without rebooting? Goal is to run a system maybe longer than a
> year!!!

As others have said, no, and it's not really important, though FWIW, my 
uptime is always as long as my machines run without me rebooting them, 
meaning they'll stay up until I say otherwise ;) They never go down on 
their own. I have a laptop running close to a month now, and the only 
reason it's not longer is because I wanted to update to 5.4-PR.

But ... rebooting in order to update for security fixes is not a bad 
thing. An long-unpatched FreeBSD install on a DMZ server makes me a bit 
more edgy than knowing the uptime will reset to zero when it's rebooted 
after updating.

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


Re: longest uptime

2005-04-28 Thread Anthony Atkielski
Joshua Tinnin writes:

> An long-unpatched FreeBSD install on a DMZ server makes me a bit
> more edgy than knowing the uptime will reset to zero when it's rebooted
> after updating.

Is FreeBSD so insecure that it must be patched every few days?  I hardly
ever see FreeBSD security issues on Bugtraq, and the ones I see often
have nothing to do with Net attacks.  A properly configured FreeBSD
server with no local logins should be quite secure.  The only problem
I've ever had resulted from a bug in Apache, and Apache obviously isn't
part of FreeBSD.

-- 
Anthony


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


Re: longest uptime

2005-04-28 Thread Joshua Tinnin
On Thu 28 Apr 05 19:49, Anthony Atkielski <[EMAIL PROTECTED]> 
wrote:
> Joshua Tinnin writes:
> > An long-unpatched FreeBSD install on a DMZ server makes me a bit
> > more edgy than knowing the uptime will reset to zero when it's
> > rebooted after updating.
>
> Is FreeBSD so insecure that it must be patched every few days?

Obviously not. Security update notifications are available: 
http://lists.freebsd.org/mailman/listinfo/freebsd-security-notifications

> I 
> hardly ever see FreeBSD security issues on Bugtraq, and the ones I
> see often have nothing to do with Net attacks.  A properly configured
> FreeBSD server with no local logins should be quite secure.  The only
> problem I've ever had resulted from a bug in Apache, and Apache
> obviously isn't part of FreeBSD.

It depends very much on what you're doing with it and what the 
vulnerabilities are. Security is always a balance between practicality 
and safety. FreeBSD is very secure by design, but ignoring security 
updates isn't necessarily the best idea. If I were running 3.x, it 
would probably make me a bit nervous if I couldn't update it to at 
least 4.11, though some people still do run 3.x - wouldn't necessarily 
recommend it, though.

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


Re: What is ata2 ?

2005-04-28 Thread Clifton Royston
On Thu, Apr 28, 2005 at 07:31:01PM -0700, Rob wrote:
> --- Clifton Royston wrote:
> > On Thu, Apr 28, 2005 at 07:48:00AM -0700, Rob wrote:
> > 
> > > Eventually I would like to achieve this:
> > > I have another, very old, PC with following
> > > configuration:
> > >   IDE/0 (on motherboard) master and slave HDs
> > >   IDE/1 (on motherboard) -broken-
> > >  
> > > I like to use this soundcard/IDE controller for
> > > adding a CDrom to this very old PC. The OS of
> > > this PC is 4-Stable.
> > 
> > I don't think it'll work for that - too bastardized.
> > I don't know what they did but they might have
> > changed the pinout or something so that it
> > was only compatible with Creative CD-ROMs. In the
> > best case, if you got it to work, it would be
> > deathly slow.
> 
> Too bad, as the soundcard itself seems to be
> recognized properly by 5-Stable:
 
  You could always try... but as I recall you did, and it didn't work. 
Maybe worth googling for, but if you've got a working PCI slot, a cheap
IDE card should be many times faster.  The Creative ISA card was
designed in an era when a "fast" CD-ROM was 2x, not 52x.

  -- Clifton

-- 
  Clifton Royston  --  [EMAIL PROTECTED] 
 Tiki Technologies Lead Programmer/Software Architect
"I'm gonna tell my son to grow up pretty as the grass is green
And whip-smart as the English Channel's wide..."
-- 'Whip-Smart', Liz Phair
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


keyboard leds

2005-04-28 Thread Mervin McDougall
I have recently installed FreeBSD 5.3 on a Compaq
Presario 2100 laptop. After setting up X I noticed
that I can activate the led for the num lock button by
pressing the numlock button. However, the caps lock
and scroll lock leds do not come on. Is there a reason
why this may be happening and can it be fixed. I
sometimes press the wrong keys and would like to know
in what mode I am from time to time.

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


Re: HELP ME WITH PF! (5th plea)

2005-04-28 Thread Peter N. M. Hansteen

> 2) i also need to type some three stupid commands after every
> reboot for my nat to work. i have to type:
>
> pfctl -F a ; pfctl -Nf /etc/pf.conf ; pfctl -sr

Fafa, it would help a lot if you read the suggestions offered in the
followups to your earlier messages and reported back if trying what
people suggested made any difference.  If you're not subscribed to the
list, you could try searching the list archives (or google on the
message subjects).  AFAICT the solution lies in a simple modification of
your rule set which is actually pretty obvious.

> 3) how does this ftp-proxy work if i want to disable inetd, and
> switch ftpd with pure-ftpd? 

You could try running ftpsesame or pftpx instead.

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

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


Problem ext2

2005-04-28 Thread pier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all.
I have a problem using an external hd (firewire).
I formatted the hd in two partitions:

da0s1 10gb = vfat
da0s2 30gb = ext2

I need ext2 because i need to exchange very big files (dvd iso images)
with linux computers.
But everytime i try to copy a big file i receive this message:

cp: ./sarge-i386-1.iso: File too large

I have already try to tuned to ext2 and even change the connection (usb
instead of firewire), but no luck?
Any advice?
I use freebsd 5.4-STABLE-20050419-JPSNAP
Thanx

Pier
- --
Un uomo saggio impara dall' esperienza. Un uomo ancora più saggio impara
dall'esperienza degli altri
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCcddS0EvuLV/O0yoRAmViAJ9C29KmPdWkakMGyp8tCG+TJJ7IbACg9Sni
eVJ0r0f/1ALoZ9UXFf8fkPU=
=+RxC
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sendmail relay host problem

2005-04-28 Thread Toni Schmidbauer
On Thu, Apr 28, 2005 at 04:14:40PM -0400, Olaf Stein wrote:
> What I remember and what I did on this installation is the following:
>  
> - add alias for existing user in /etc/mail/aliases
> - run newaliases
> - add relay-domains file in /etc/mail with the domains to deliver mail to
> - restart sendmail
>  
> I am under the impression that with my old installation that was enough but
> I am not sure
> Fact is that it does not send any emails
> Am I missing something I still have to do or do you know locations of howtos
> for setting up sendmail for my purposes

what does mailq say? what happens when sending an e-mail with mail
-v? 

relay_domains contains domain- or hostnames sendmail will relay
for. where sendmail should forward (send to) your mails, depends
on MX or A DNS records, entries in the mailertable, or the DS
(smart host) statement in /etc/mail/sendmail.cf.

hth
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"