Re: mirror site

2003-03-04 Thread adrian kok
Dear Giorgos

Thank you 

If I use rsync, can it run at background job?

Thank you

 --- Giorgos Keramidas <[EMAIL PROTECTED]>
wrote: > On 2003-03-04 14:26, adrian kok
> <[EMAIL PROTECTED]> wrote:
> > I would like to create 2 ftp sites from different
> regions
> > What is the best way to mirror each other?
> 
> I'm not sure if I understand the question correctly,
> but you could
> always decide in advance which of the two sites is
> the "master" and
> periodically pull updates from the master to the
> secondary using any
> method you prefer (i.e. rsync).
> 
> - Giorgos
>  

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: [newbie] pkg_fetch fails to fetch files

2003-03-04 Thread Kjell
> I'm trying to run 'portupgrade' to update my part of my package tree. 
> (FreeBSD 4.7 off the mini-ISO)
> 
> 'pkg_fetch', which is used by 'portupgrade', keeps looking for packages 
> in the wrong path; "ftp://ftp.uk.mirror.org/pub/FreeBSD/ports/All"; 
> instead of ".../pub/FreeBSD/ports/packages/All".
> 
> And this is despite I've set my environment variable correctly by:
> 
> setenv PKG_SITES "ftp://ftp.uk.freebsd.org/pub/FreeBSD/ports/packages";
> 
Have you tried another ftp server?
I have found that my local server ftp.no.freebsd.org at times totally 
messes up my system by using portupgrade, while the server at 
ftp.dk.freebsd.org normally gives me good service..
Kjell
> 
> So am I doing something wrong?
> 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Multiple NICS with IPNAT and IPF

2003-03-04 Thread Shawn Dillon
I need some help.

I have a freebsd 5.0 box running IPNAT and IPF as a firewall. I currently have five 
static IPS with my ISP. With my ISP I must register the MAC address of the adapter to 
obtain an IP. Thus I have a FreeBSD box with six nics in it ( all 3c905C).

The basic config is as follows:


*
*   *
*   Internet*
**
|
|
|
3Com DSL Bridge
|
|
|
3Com 10MB Office Connect Hub
|   |   |   |   |
|   |   |   |   |
|   |   |   |   |
|   |   |   |   |
|   |   |   |   |
xl1 xl2 xl3 xl4 xl5

*   *
*   FreeBSD 5.0 IPNAT/IPFW  *
*
|
|
|
xl0
|
|
3Com 3300 XM Switch

I can get one external NIC up and running. But when I get a second one up and running 
I get a kernel message stating
that the second NIC (xl2) is trying to use the same IP as XL1. They are set to 
different IP's in the rc.conf. I assume that this is because they can see each other 
on the hub that splits the 3Com bridge out. 

Is there any arguments or settings that I could use to resolve this? An ipconfig 
setting? Or even a kernel option. I would recompile the kernel in a second if it would 
help.

You can assume that xl1 has an ip of 142.179.196.134 and xl2 has an ip of 
142.179.196.135 both with a subnet of 255.255.248.0.


Thanks in advance

Shawn Dillon



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


[newbie] pkg_fetch fails to fetch files

2003-03-04 Thread Andy Park
I'm trying to run 'portupgrade' to update my part of my package tree. 
(FreeBSD 4.7 off the mini-ISO)

'pkg_fetch', which is used by 'portupgrade', keeps looking for packages 
in the wrong path; "ftp://ftp.uk.mirror.org/pub/FreeBSD/ports/All"; 
instead of ".../pub/FreeBSD/ports/packages/All".

And this is despite I've set my environment variable correctly by:

setenv PKG_SITES "ftp://ftp.uk.freebsd.org/pub/FreeBSD/ports/packages";

So am I doing something wrong?



Error message in case needed:

---
--->  Checking the availability of the latest package of 
'security/openssl'
--->  Fetching the package(s) for 'openssl-0.9.7a' (security/openssl)
--->  Fetching openssl-0.9.7a
fetch: /var/tmp/openssl-0.9.7a.tgz: File unavailable (e.g., file not 
found, no access)
** The command returned a non-zero exit status: 1
** Failed to fetch 
ftp://ftp.uk.freebsd.org/pub/FreeBSD/ports/All/openssl-0.9.7a.tgz
fetch: /var/tmp/openssl-0.9.7a.tbz: File unavailable (e.g., file not 
found, no access)
** The command returned a non-zero exit status: 1
** Failed to fetch 
ftp://ftp.uk.freebsd.org/pub/FreeBSD/ports/All/openssl-0.9.7a.tbz
fetch: /var/tmp/openssl-0.9.7a.tgz: File unavailable (e.g., file not 
found, no access)
** The command returned a non-zero exit status: 1


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


LyX-1.3.0 on FreeBSD

2003-03-04 Thread Marco Beishuizen

Hi,

I was just wondering if there is someone who has succesfully
installed LyX-1.3.0 on FreeBSD. On my machine running 4.7-RELEASE
LyX doesn't compile.

Marco
-- 
"Gee, Mudhead, everyone at More Science High has an
extracurricular activity except you."
"Well, gee, doesn't Louise count?"
"Only to ten, Mudhead."

-- Firesign Theater

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: SBC DSL vs Fbsd 4.7 PPPoE?

2003-03-04 Thread Peter Leftwich
On Tue, 4 Mar 2003, Amit Chakradeo wrote:
> Indent your ppp.conf file properly. All lines in a section (e.g. default)
> should be indented by at least a space.

YEAY!!  (No thanks to those deceptive, colon-hating or colon-seeking error
messages.)  Hey, Amit my new good good helpful friend... does this email
address of yours accept kindly PayPal-originated donations?  Let me know.

> ppp automatically loads the netgraph module if it is not built in
> kernel. /boot/loader.conf just decides what modules to load at bootup.
> Don't change anything there.

They're all off except for ng_pppoe.ko and netgraph.ko according to the
output from "kldstat."  Do they run faster "compiled" into the kernel?

I don't know what I'm asking exactly.  Can I safely change these to NO?

> Also if you have multiple tun interfaces, you might want to add
> -unit0 to the ppp commandline to force it to use tun0 interface (makes
> filtering easy!)
> HTH
> AMit

That weird tun0, tun1, tun2 problem has since ceased.  I like the ifconfig
command but couldn't get `ifconfig xl0 destroy` to work (kept getting a
compile sort of error, lemme see...

ifconfig: SIOCIFDESTROY: Invalid argument

There it is, yeah.  And I am mildly confused about if there are any dangers
with killing the ppp process, or running ppp to get into interactive mode
and trying to use the "close" command or, once again, does any of this
matter?

Now it's time for me to read up on natd, ipfw etc etc and most important of
all, learn how to install just one port at a time rather than
/stand/sysinstall then getting src-all and ports-all then portupgrade then
cvsup then make install clean  there's gotta be a command above
"pkg_add -r" but below "cvsup" and having extraneous ports in my tree!!

Tarballs are so under-rated, as are mechanisms for getting dependent libs!

:(

PS - Thanks again Amit, early birthday present to me!! :-)  B^]

--
Peter Leftwich
President & Founder, Video2Video Services
Box 13692, La Jolla, CA, 92039 USA
http://Www.Video2Video.Com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Can I run my own Dynamic DNS server for private use ??

2003-03-04 Thread jdroflet
I have a static IP and a number of remotes with Cable or ADSL access. 
Remotes have FreeBSD, or router firewalls ala Linksys, Netgears.

To make support/access easier can I set up my own Dynamic DNS server on
the static address and have those remotes register their IP's with it
when they change ?
Thanks in Advance -Jay.

__
Get your FREE personalized e-mail at http://www.canada.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Trying to run Quanta, but got error in libfreetype

2003-03-04 Thread Tom Hines
Aha!  I did a 'pkgdb -F' and discovered I had a
missing dependency: fontconfig.  A simple 'portinstall
fontconfig' later and I'm staring at a shiny new
Quanta.  Looks good.



__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


CODA 5.3.20 compilation under FreeBSD 5 (stat structure problem)

2003-03-04 Thread Tak Pui LOU
Greetings All,

I am trying to compile CODA 5.3.20 on FreeBSD Release 5. The compilation
stopped when it tries to compile coda-5.3.20/coda-src/venus/vproc.cc in
which VattrToStat (line 787) try to do the following:

sp->st_qspare[0] = 0;
sp->st_qspare[1] = 0;

And, I look into the stat.h in FBSD 5, the struct of stat has changed and
it no longer has st_qspare in it.

What can I do to get around with this?

Thanks,
---
Lou


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: still can't resolve these system reboots... help please

2003-03-04 Thread Moti Levy
so you have a 3com nic in that thing ?

- Original Message - 
From: "Cliff Sarginson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 04, 2003 10:33 PM
Subject: Re: still can't resolve these system reboots... help please


> On Tue, Mar 04, 2003 at 06:55:21PM -0800, Kris Kennaway wrote:
> > On Tue, Mar 04, 2003 at 03:30:08PM -0800, Bsd Neophyte wrote:
> > 
> Think you have been given just about all the advice to give.
> It is a bunner, and expensive to solve if you replace bits.
> 
> I will give two suggestions.
> Is the power supply to your firm/house whatever "clean" ?
> Computers don't like dirty power, that is power prone to what I think
> experts call grey-outs. They don't like spikes either, momentary
> increases in voltage. Do you live in an area prone to thunderstorms?
> 
> You can get devices to protect against somne of these things.
> 
> My second suggestion is going to sound really weird.
> My FreeBSD system disappears into the boonies when I have a screen saver
> enabled. That is xscreevsaver. Given enough time, and enough core dumps.
> it crashes my system as sure as eggs is eggs. I kind of proved this by
> leaving the systen running for days with and without screen saver.
> It boonied with the screen saver, it did not wihout.
> 
> A few questons. Power supply ? Do you have SCSI disks ? They eat
> electricity like it is going out of fashion.
> 
> Heat, is the server overheating ?
> If you have a modern BIOS it can tell you what the temperature is.
> You need to watch what the CPU temp is, because the reaction to over
> heating is reboot.
> 
> Good luck.
> 
> 
> -- 
> 
> Regards
>Cliff
> 
> [ This mail has been checked as virus-free ]
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
> 
> 
> 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Make buildworld fails for 5.0

2003-03-04 Thread taxman
On Tuesday 04 March 2003 09:40 pm, Mike Loiterman wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> I'm getting the following error in my:
>
> 'make buildworld'
>
> I'm currently running 5.0-RELEASE #0 and I've cvsup'ed to '.'.

So then this belongs on -current.  See 
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html
They'll help you out more there,

Tim

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: A couple of questions related to the sendmail patch, etc.

2003-03-04 Thread taxman
On Tuesday 04 March 2003 01:08 pm, Giorgos Keramidas wrote:
> On 2003-03-04 10:02, Phillip Smith <[EMAIL PROTECTED]> wrote:
> : A couple of quick questions...
> :
> : I've downloaded the 8.11.6 patch from sendmail.org, and used the
> : instructions they provided
> : [patch -p0 < /PATH/TO/sendmail.8.11.6.security.cr.patch], which then
> : prompts me for 'which file to patch.' I'm not clear on which file I
> : _need_ to patch? Or where it would be.
>
> You should run the patch command with /usr/src/contrib/sendmail as
> your current working directory.

I don't run sendmail at all, but I would like to learn how to apply the patch.  
doing:  patch -p0 < /home/tim/sendmail.8.12.security.cr.patch  in the above 
directory still gives the "File to patch:" prompt
What else needs to be done to apply the patch?

Thanks,
Tim


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: still can't resolve these system reboots... help please

2003-03-04 Thread Cliff Sarginson
On Tue, Mar 04, 2003 at 06:55:21PM -0800, Kris Kennaway wrote:
> On Tue, Mar 04, 2003 at 03:30:08PM -0800, Bsd Neophyte wrote:
> 
Think you have been given just about all the advice to give.
It is a bunner, and expensive to solve if you replace bits.

I will give two suggestions.
Is the power supply to your firm/house whatever "clean" ?
Computers don't like dirty power, that is power prone to what I think
experts call grey-outs. They don't like spikes either, momentary
increases in voltage. Do you live in an area prone to thunderstorms?

You can get devices to protect against somne of these things.

My second suggestion is going to sound really weird.
My FreeBSD system disappears into the boonies when I have a screen saver
enabled. That is xscreevsaver. Given enough time, and enough core dumps.
it crashes my system as sure as eggs is eggs. I kind of proved this by
leaving the systen running for days with and without screen saver.
It boonied with the screen saver, it did not wihout.

A few questons. Power supply ? Do you have SCSI disks ? They eat
electricity like it is going out of fashion.

Heat, is the server overheating ?
If you have a modern BIOS it can tell you what the temperature is.
You need to watch what the CPU temp is, because the reaction to over
heating is reboot.

Good luck.


-- 

Regards
   Cliff

[ This mail has been checked as virus-free ]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


RE: Make buildworld fails for 5.0

2003-03-04 Thread Andy Farkas
On Tue, 4 Mar 2003, Mike Loiterman wrote:

> [21:02:07 [EMAIL PROTECTED]: /usr/src]# swapinfo
> Device  1K-blocks UsedAvail Capacity  Type
> /dev/ad2s1b 78008515362647266%Interleaved
>
> I don't know what to make of either of these commands.
>
> Which logs should I be looking at?  Here is `tail' of /var/log/messages:
>
> Mar  3 18:14:50 little_boy kernel: swap_pager: out of swap space
> Mar  3 18:14:50 little_boy kernel: swap_pager_getswapspace: failed
> Mar  3 18:14:50 little_boy kernel: pid 40733 (genattrtab), uid 0, was killed: out of 
> swap space
> Mar  3 20:09:38 little_boy kernel: swap_pager: out of swap space
> Mar  3 20:09:55 little_boy kernel: swap_pager_getswapspace: failed
> Mar  3 20:09:55 little_boy kernel: pid 58759 (genattrtab), uid 0, was killed: out of 
> swap space
>
> Which seems that I am out of space, but I'm not sure why that is
> happening.  My machine is old and slow, but I never had problems
> compiling 4.x?

Yup, you are out of swap space.

Fix: add more RAM or swap space.

As to why this is happening.probably because you have to many
processes running. Do 'ps aux' and check the %MEM column for memory pigs..

Workaround: drop to single-user mode and try buildworld again.

--

 :{ [EMAIL PROTECTED]

Andy Farkas
System Administrator
   Speednet Communications
 http://www.speednet.com.au/




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: out of curiosity..

2003-03-04 Thread Dan Nelson
In the last episode (Mar 04), charles pelletier said:
> You are on the right track, but, i'm more interested in NOT dealing
> with Mp3s. I want to be able to, say, load a 7 cdrom tower (nothing
> but scsci cdroms, all chained, with an external scsi port) with cds,
> then play direct from there. Basically, I want a jukebox. Although I
> may try the mod port.

You'll need to encode it into some format to stream them.  You can
probably whip up a cgi that given cd# and track#, launches cdda2wav
that pipes its output to lame, which then writes its mp3 to stdout and
to the browser.  cdda2wav has cddb hooks, so you can probably use it to
generate your selection list on the fly as well.

-- 
Dan Nelson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


RE: Make buildworld fails for 5.0

2003-03-04 Thread Mike Loiterman
 
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday, March 04, 2003 8:47 PM Andy Farkas  wrote:

>> I'm getting the following error in my:
>> 
>> 'make buildworld'
>> 
>> ===> gnu/usr.bin/cc/cc_int
>> /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools/genattrtab
>> /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config/i386/i386.md
>> > insn-attrtab.c Killed  
>> *** Error code 137
>> 
> 
> Sounds like you're out of memory/swap or hit some other process limit.
> 
> what does 'limits' and/or 'swapinfo' say?  Anything in the logfiles?


[20:42:37 [EMAIL PROTECTED]: /usr/src]# limits
Resource limits (current):
  cputime  infinity secs
  filesize infinity kb
  datasize   524288 kb
  stacksize   65536 kb
  coredumpsize infinity kb
  memoryuseinfinity kb
  memorylocked infinity kb
  maxprocesses  478
  openfiles 957
  sbsize   infinity bytes
  vmemoryuse   infinity kb

[21:02:07 [EMAIL PROTECTED]: /usr/src]# swapinfo
Device  1K-blocks UsedAvail Capacity  Type
/dev/ad2s1b 78008515362647266%Interleaved

I don't know what to make of either of these commands.

Which logs should I be looking at?  Here is `tail' of /var/log/messages:

Mar  3 18:14:50 little_boy kernel: swap_pager: out of swap space
Mar  3 18:14:50 little_boy kernel: swap_pager_getswapspace: failed
Mar  3 18:14:50 little_boy kernel: pid 40733 (genattrtab), uid 0, was killed: out of 
swap space
Mar  3 20:09:38 little_boy kernel: swap_pager: out of swap space
Mar  3 20:09:55 little_boy kernel: swap_pager_getswapspace: failed
Mar  3 20:09:55 little_boy kernel: pid 58759 (genattrtab), uid 0, was killed: out of 
swap space

Which seems that I am out of space, but I'm not sure why that is happening.  My 
machine is old and slow, but I never had problems compiling 4.x?

- ---
Randomly Generated Quote:
'There are lies, damned lies, and
statistics.' -Mark Twain

Mike Loiterman
PGP Key 0xD1B9D18E
http://www.ascendency.net



-BEGIN PGP SIGNATURE-
Version: PGP 8.0
Comment: This message has been digitally signed by Mike Loiterman

iQA/AwUBPmVpjmjZbUnRudGOEQK4IwCg04FEx8LEtBs5/Nl4VMKITgMf6dsAn0Mn
ZNwlHOrMTDGDx4D/cdRbLqFQ
=kibk
-END PGP SIGNATURE-


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


RE: out of curiosity..

2003-03-04 Thread charles pelletier
You are on the right track, but, i'm more interested in NOT dealing with
Mp3s. I want to be able to, say, load a 7 cdrom tower (nothing but scsci
cdroms, all chained, with an external scsi port) with cds, then play direct
from there. Basically, I want a jukebox. Although I may try the mod port.

Charles Pelletier
Tech Coordinator
St Luke's School
Irving, TX


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jeff Jirsa
Sent: Tuesday, March 04, 2003 9:04 PM
To: charles pelletier
Cc: [EMAIL PROTECTED]
Subject: Re: out of curiosity..


On Tue, 4 Mar 2003, charles pelletier wrote:

> is there an app that would allow me to play CDs on my BSD box and have
that
> stream over an intranet? I want to set up a CD tower that allows for that
> sort of thing. Here's what i've got:
>

Not exactly what you're asking, but mod_mp3 works very well.

"This turns apache into your basic RIAA hating, but every college
student loving mp3 streaming server. It can play from a list of
files, either straight through or randomly. It can also be used
to cache mp3's into memory and have the server operate entirely
from memory. Enjoy, groove, mp3s not included."


Specifically, what you'd have to do is convert your CD collection to MP3,
and then you could set up as many streams as you wanted, and players like
winamp/xmms could then listen to those streams.

Conversion to mp3 would be a slight hassle, but it would allow you to keep
more than one cd on the system at a time, so it's a tradeoff.

mod_mp3 is in the ports.


- Jeff


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: ad-hoc wireless mode and ticks (fwd)

2003-03-04 Thread Kan Cai


On Wed, 5 Mar 2003, Eko Suwarsono wrote:

>
> Hi Warner,
>
> What kind of  version that orinoco's firmware  can support
> ibss-master mode ?
> Last time  I change the wi0 (Orinoco) mode to "ibss-master" was "ifconfig:
> SIOCSIFMEDIA: Device not configured"

I am using Lucent Firmware: Station 8.72.01, and it can support
ibss-master mediaopt, but it seems not supporting ibss-create yet.

--Ken

> but when using Senao Prism Based Card, it's work fine for "hostap" and
> "ibss-master".
>
> Regards,
>
> Eko Suwarsono
> -
> [EMAIL PROTECTED]
>
> - Original Message -
> From: "M. Warner Losh" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
> <[EMAIL PROTECTED]>
> Sent: Tuesday, March 04, 2003 9:20 PM
> Subject: Re: ad-hoc wireless mode and ticks (fwd)
>
>
> > In message: <[EMAIL PROTECTED]>
> > "Eko Suwarsono" <[EMAIL PROTECTED]> writes:
> > : May be help,
> > :
> > : http://www.live.com/wireless/unix-base-station.html
> > :
> > : and a little explanation you can read at,
> > :
> > : http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/wireless.html
> > :
> > : Lucent (Orinoco / avaya) base wireless Card will not work for "hostap"
> or
> > : "ibss-master" mode. To have your own FreeBSD host based Access point,
> you
> > : must using Prism II or 2.5 Card.
> >
> > That's not true.  Lucent cards *WILL* work as ibss-masters if their
> > firmware is new enough.
> >
> > Warner
> >
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: out of curiosity..

2003-03-04 Thread Jeff Jirsa
On Tue, 4 Mar 2003, charles pelletier wrote:

> is there an app that would allow me to play CDs on my BSD box and have that
> stream over an intranet? I want to set up a CD tower that allows for that
> sort of thing. Here's what i've got:
>

Not exactly what you're asking, but mod_mp3 works very well.

"This turns apache into your basic RIAA hating, but every college
student loving mp3 streaming server. It can play from a list of
files, either straight through or randomly. It can also be used
to cache mp3's into memory and have the server operate entirely
from memory. Enjoy, groove, mp3s not included."


Specifically, what you'd have to do is convert your CD collection to MP3,
and then you could set up as many streams as you wanted, and players like
winamp/xmms could then listen to those streams.

Conversion to mp3 would be a slight hassle, but it would allow you to keep
more than one cd on the system at a time, so it's a tradeoff.

mod_mp3 is in the ports.


- Jeff


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


out of curiosity..

2003-03-04 Thread charles pelletier
is there an app that would allow me to play CDs on my BSD box and have that
stream over an intranet? I want to set up a CD tower that allows for that
sort of thing. Here's what i've got:

Freebsd 4.7 Release
sitting on a 10/100 network, serving as samba box (roaming profiles set
up..don't know why this would matter, but anyway)
attached on the network are a Win NT 4 workstation and Win 2K Pro boxes, and
several windows 98 systems (this is a lab setup)

I'm interested only in getting the streaming to the win2k box.

Any thoughts?

Charles Pelletier
Tech Coordinator
St Luke's School
Irving, TX



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: still can't resolve these system reboots... help please

2003-03-04 Thread Kris Kennaway
On Tue, Mar 04, 2003 at 03:30:08PM -0800, Bsd Neophyte wrote:

> can faulty hardware be ruled out then?

No.  You can't exhaustively test the hardware using software.  You can
only test some things: what you have shown is that none of the things
that burn* does cause your system to reboot.  The only way you can
rule out hardware failure completely is to replace it component by
component and see if the problem persists.

Your problems certainly sound like failing hardware.  The archives are
littered with examples of people who swore black and blue that failing
hardware could not possibly be the cause of their mysterious reboots,
until they found the failing hardware and replaced it :-) Check and
swap out/replace RAM, power supply, CPU fan, cabling, CPU etc.

Kris

pgp0.pgp
Description: PGP signature


Portupgrade .. yet again

2003-03-04 Thread Cliff Sarginson
At the risk of being boring..

Portupgrade works fine for some people, less than fine for others.
Now I read the docs, the very patient advice given by people on the
list.
I have a very ordinary FreeBSD system.
Portupgrade trashed my KDE installation.
Trashed with a big T.
Now, I can fix this, 'cos this mama knows about computers.
Now I have experience, updating systems is almost always a ball-breaker.
So encouraged I tried out portupgrade.

problem 1... no way was it having -a ..didn't know how to make..
problem 2.. -R/r .. wow you hit the jackpot with that, it rebuilds
things you have never even heard of
problem 3.. mm, this one foxed me, trying to find things in
/usr/local/lib/.libs
problem 4 .. I don't use Gnome, I hate it, errmm portupgrade update it
for me..oh yes..
Problem 5 .. now I tried to update things individually. By name.
Well lo and gehold, and bless my cotton socks, portupgrade decided to
update all sorts of things, mutt, postfix, stuff I never even breathed
at.

Btw Mike, the reason you were getting my intranet addresses was because
portupgrade replaced my Muttrc file.
 

Now before the flames start, I am willimg to try and re-write
portupgrade. In "C".
It is a complex job, if anyone wants to help email me off list.


-- 
Regards
   Cliff

[ This mail has been checked as virus-free ]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Make buildworld fails for 5.0

2003-03-04 Thread Andy Farkas
>
> I'm getting the following error in my:
>
> 'make buildworld'
>
> ===> gnu/usr.bin/cc/cc_int
> /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools/genattrtab 
> /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config/i386/i386.md > 
> insn-attrtab.c
> Killed
> *** Error code 137
>

Sounds like you're out of memory/swap or hit some other process limit.

what does 'limits' and/or 'swapinfo' say?  Anything in the logfiles?

--

 :{ [EMAIL PROTECTED]

Andy Farkas
System Administrator
   Speednet Communications
 http://www.speednet.com.au/




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Make buildworld fails for 5.0

2003-03-04 Thread Mike Loiterman
 
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I'm getting the following error in my:

'make buildworld'

===> gnu/usr.bin/cc/cc_int
/usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools/genattrtab 
/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config/i386/i386.md > 
insn-attrtab.c
Killed
*** Error code 137

Stop in /usr/src/gnu/usr.bin/cc/cc_int.
*** Error code 1

Stop in /usr/src/gnu/usr.bin/cc.
*** Error code 1

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

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

Stop in /usr/src.

I'm currently running 5.0-RELEASE #0 and I've cvsup'ed to '.'.

- ---
Randomly Generated Quote:
Life is a series of very rude awakenings.  

Mike Loiterman
PGP Key 0xD1B9D18E
http://www.ascendency.net



-BEGIN PGP SIGNATURE-
Version: PGP 8.0
Comment: This message has been digitally signed by Mike Loiterman

iQA/AwUBPmVjp2jZbUnRudGOEQIAxACbBCCUKggWGf1zd2GL6c/9Uy1REn8AoOfE
EcG15BNy6zb36Qt2ZaM3LsrQ
=pbeQ
-END PGP SIGNATURE-


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: partition is "e" should be "a" -- how to fix?

2003-03-04 Thread James Long
On Tue, Mar 04, 2003 at 02:33:31PM -0700, Chad Leigh wrote:
> 
> How do I fix this?

One possible fix, if you are amenable to recreating the partitions and
retransferring the data, is to use sysinstall to create the partitions
as follows:

create your root partition and fib and tell sysinstall that the mount
point is / (root).  sysinstall will assign it to the a partition.  Then
press M to change the mount point and change it to, for example, /mnt.
This assumes you would be mounting your new disk's file systems under
/mnt as say, /mnt for root, /mnt/var, /mnt/usr, etc.

This avoids the problem in the first place, but in your case it would
require that you go back and start over with the process of moving data 
from your old disk to the new disk.

I just wanted to get this into the archives to help future travellers
avoid this pothole.

Credit where it is due, this trick was gleaned from Dan O'Connor's site,
http://www.mostgraveconcern.com/freebsd/


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: USB Mass storage (Datafab)

2003-03-04 Thread taxman
On Tuesday 04 March 2003 10:37 am, Irvine Short wrote:
> Hi All
>
> There's a pile of pretty neat USB attached gadgets out there.
>
> We just got a USB 2.0 external case with a 2.5" notebook drive in it.
> It's a Datafab MD2-USB2A.

USB 2.0 is not supported at all yet in FreeBSD as far as I last heard, so if 
this device works it will be in falling back to 1.0.

> On my machine running 4-STABLE as of this afternoon with USB 1.0 ports
> whenever I try to access it I get this:

> gopak# disklabel -w -r da0 auto
> disklabel: /dev/da0c: Input/output error

any reason you need to put a new disklabel on it?  Why not just try mounting 
it if it the drive already has a windows disklabel or whatever.

> and in /var/log/messages I get this:
> Mar  4 17:31:32 gopak /kernel: da0: reading primary partition table:
> error reading fsbn 0
>
>
> On a 5.0 machine (5.0-RELEASE-p3) with USB 2.0 ports (Intel 845 based
> motherboard) I get this:
>
> [EMAIL PROTECTED]:~$ disklabel -wr da0 auto
>disklabel: /dev/da0: Input/output error
>



> and in  /var/log/messages:
> Mar  4 12:00:52 fusion kernel: umass0: vendor 0x07c4 USB 2.0 Storage
> Device, rev 2.00/1.04, addr 2
>Mar  4 12:00:52 fusion kernel: umass0: Residue incorrect, was 0,
> should've been 219
>Mar  4 12:00:52 fusion last message repeated 4 times
>Mar  4 12:00:52 fusion kernel: da0 at umass-sim0 bus 0 target 0 lun 0
>Mar  4 12:00:52 fusion kernel: da0: 
> Fixed Direct Access SCSI-0 device
>Mar  4 12:00:52 fusion kernel: da0: 1.000MB/s transfers
>Mar  4 12:00:52 fusion kernel: da0: 38154MB (78140160 512 byte
> sectors: 255H 63S/T 4864C)
>Mar  4 12:00:52 fusion kernel: umass0: Residue incorrect, was 0,
> should've been 512
>Mar  4 12:00:53 fusion last message repeated 14 times
>Mar  4 12:01:25 fusion kernel: umass0: Residue incorrect, was 0,
> should've been 8192
>Mar  4 12:01:25 fusion last message repeated 4 times
>Mar  4 12:01:26 fusion kernel: umass0: Residue incorrect, was 0,
> should've been 512
>Mar  4 12:01:26 fusion last message repeated 14 times
>Mar  4 12:02:33 fusion kernel: umass0: at uhub0 port 2 (addr 2)
> disconnected
>Mar  4 12:02:33 fusion kernel: (da0:umass-sim0:0:0:0): lost device
>Mar  4 12:02:33 fusion kernel: (da0:umass-sim0:0:0:0): removing
> device entry
>Mar  4 12:02:33 fusion kernel: umass0: detached

are these messages from before or during trying to write the disklabel?
if during, what does the dmesg look like when you just have the devices 
plugged in and you haven't issued any commands?

> Anyone ever make these things work? Under Windoze 2000 and XP it just
> works, no hassle at all.

The USB standard is a large, difficult and fairly buggy standard and its 
implementation in hardware is usually pretty buggy too.  Read through the 
-current mailing list where they've discussed much of the hardware issues 
with USB.  If the hardware maker does not release enough documentation it can 
be impossible for somebody to write a FreeBSD driver for it.  It takes much 
more work to write a driver when the device maker gives partial info for it 
than for MS who gets all of the detailed specs.
So when you're getting free hardware support, be careful you're not 
complaining.
You may want to try -current if you're willing to accept all that goes with 
that (reading the Handbook, following the mailing list, etc).  That is where 
the newest USB code goes in.

Tim

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: ad-hoc wireless mode and ticks (fwd)

2003-03-04 Thread Eko Suwarsono

Hi Warner,

What kind of  version that orinoco's firmware  can support
ibss-master mode ?
Last time  I change the wi0 (Orinoco) mode to "ibss-master" was "ifconfig:
SIOCSIFMEDIA: Device not configured"
but when using Senao Prism Based Card, it's work fine for "hostap" and
"ibss-master".

Regards,

Eko Suwarsono
-
[EMAIL PROTECTED]

- Original Message -
From: "M. Warner Losh" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Tuesday, March 04, 2003 9:20 PM
Subject: Re: ad-hoc wireless mode and ticks (fwd)


> In message: <[EMAIL PROTECTED]>
> "Eko Suwarsono" <[EMAIL PROTECTED]> writes:
> : May be help,
> :
> : http://www.live.com/wireless/unix-base-station.html
> :
> : and a little explanation you can read at,
> :
> : http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/wireless.html
> :
> : Lucent (Orinoco / avaya) base wireless Card will not work for "hostap"
or
> : "ibss-master" mode. To have your own FreeBSD host based Access point,
you
> : must using Prism II or 2.5 Card.
>
> That's not true.  Lucent cards *WILL* work as ibss-masters if their
> firmware is new enough.
>
> Warner
>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: ad-hoc wireless mode and ticks (fwd)

2003-03-04 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]>
Wilko Bulte <[EMAIL PROTECTED]> writes:
: Inquiring minds will ask soon anyway: what rev is 'new enough' ?

wi man page says:
 Lucent cards prior to firmware version 6.0.4 do not support IBSS mode.

but the source code says:
if (sc->sc_sta_firmware_ver >= 60006)
ic->ic_flags |= IEEE80211_F_HASIBSS;

so I'd guess why 6.0.6 is the oldest version that will support IBSS
creation.  I'll update the man page.

Warner

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


auto login gdm help

2003-03-04 Thread Suken Woo
hi,all:
how can i do to make machine boot up and auto login to X
as special users ? don't know how to pass the authentications with gdm.

Thanks in advance, any responses are welcome.




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: A few 5.0-Release questions...

2003-03-04 Thread John Wilson
--- Scott Long <[EMAIL PROTECTED]> wrote:
[Dell PowerEdge]
> What model?  There are quite a few PowerEdges out

It's a 600SC - P4 1.8 - Perc3/SC

Since new, I've added a Plextor CD-RW (IDE), Lite-On
DVD-ROM (IDE), and an ATI All-In-Wonder VE (7500,
PCI).

> > These machines come with integrated video, an ATI
[Complications with integrated RageXL and PCI version
of the ATI AIW VE...  NMI halts]

> As a wild guess, what happens when you remove the
> EISA device from the kernel?

I tried this as well.  Unfortunately, removing the
EISA device did nothing to relieve the problem with
the NMI.  The only thing that cleared it up was adding
'hw.pci.enable_io_modes=0' in /boot/device.hints.

This was the case, at least, with 5.0-RELEASE.  I've
yet to see what happens with -CURRENT.  Perhaps I'll
try and cvsup -CURRENT, remove
'hw.pci.enable_io_modes=0', and see what happens.

> There have been problems in the past with ATAPI/IDE
> drives that claim DMA capabilities but instead
corrupt data
> and/or cause panics.  Forcing everything to PIO is
the
> easiest way to achieve maximum compatibility.  The
ata manual
> page describes what to put into /boot/loader.conf to
> force them back using DMA.

I pulled these two drives from a WinXP machine, and
based on the transfer method reported in XP, it was
using DMA.  No stability issues were noted, at least
in regard to XP.  I've been running them under 5.0 now
for a few days, burned a few CD's and played a few
DVD's without stability issues either -- thankfully.

I'll check out the above referenced manual page and
make the suggested changes.  Thank you for the tip.

[About permanently disabling the integrated video]
> Does the motherboard have a jumper that will disable
> it?

Unfortunately, no.  I've even contacted Dell regarding
this as I could find no information in the
documentation provided with the system.  They simply
stated that when another video card is installed, the
integrated video is disabled.  They also mentioned
that this type of configuration "is not supported." 
I've looked for jumpers on the motherboard itself and
only found jumpers for clearing the BIOS password...
nothing else.
 
Thank you once again, Scott, for your help.  It was
very much appreciated.

- John Wilson <[EMAIL PROTECTED]>

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: make error for postfix

2003-03-04 Thread Simon Barner
> While attempting to install postfix from the ports collection I get
> the following:
> 
> Unknown option(s): subwin(dialog,16,71,4,7) failed, maybe wrong dims
> *** Error code 1
> 
> Stop in /usr/ports/mail/postfix.
> 

Perhaps the error is in postfix's dependency: ports/devel/pcre

 Simon

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: A few 5.0-Release questions...

2003-03-04 Thread Scott Long
John Wilson wrote:
Good day,

After spending quite some time trying to get
5.0-RELEASE installed on a Dell PowerEdge machine, it
seems that all is now working quite well.  Being that
these machines are somewhat common, I'll share what
was halting my installation.
What model?  There are quite a few PowerEdges out there.  I
installed 5.0 (actually, I built the official 5.0 release)
on a PowerEdge.
These machines come with integrated video, an ATI
RageXL, which is rather useless for anything other
than console mode. I installed an ATI All- In-Wonder
VE so that I could get somewhat decent performance out
of X. The problem manifested when the kernel probed
the machines hardware, causing an "NMI ISA 30, EISA
ff", and locking up the machine solid. After I began
pulling memory and expansion cards from the system,
the error went away when I removed the ATI AIW card. I
reinstalled the card and attempted to find how to
correct this. My only solution to this issue was to
interrupt the boot process and use the following
command:
set hw.pci.enable_io_modes = 0

This prevented any further halts.
As a wild guess, what happenes when you remove the EISA
device from the kernel?
My first question is as follows: is /boot/device.hints
the most proper place to stick this? Also, are there
any other possible solutions to this issue?
/boot/loader.conf is the best place for this.

My main drives are SCSI, and I have one CD-RW and one
DVD-R on the secondary IDE controller. The kernel
detects the drives just fine, but defaults them both
down to PIO4. The drives are fully UDMA2 capable. I am
able to set the drives to use UDMA2 via atacontrol
without issue.  However, how would one make this more
permanent, such that I wouldn't have to use atacontrol
everytime I boot the machine?
There have been problems in the past with ATAPI/IDE drives
that claim DMA capabilities but instead corrupt data and/or
cause panics.  Forcing everything to PIO is the easiest way
to achieve maximum compatibility.  The ata manual page
describes what to put into /boot/loader.conf to force them
back using DMA.
Back to the topic of video; is there _any_ way to
permanently disable, or at least prevent FreeBSD from
detecting the integrated video on the motherboard?
There is nothing in the machines BIOS that would allow
this. This would just be "nice" to do, as X works just
fine, but it still sticks an entry into the
XFree86Config file for the integrated chip.
Does the motherboard have a jumper that will disable it?

And finally...

Where can one obtain a complete list of allowed hints
for use in /boot/device.hints? I tried searching
around the FBSD site as well as the handbook and found
no listing, other than a line here and a line there.
This has been desired for a long time, yes.  There have
been periodic pushes to do this, but they quickly loose
steam or become outdated.
Scott

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


make error for postfix

2003-03-04 Thread David Bear
While attempting to install postfix from the ports collection I get
the following:

Unknown option(s): subwin(dialog,16,71,4,7) failed, maybe wrong dims
*** Error code 1

Stop in /usr/ports/mail/postfix.

This system was freshly cvsup'd and I get this regardless of which
postfix I try -- current or not.  My FreeBSD is

FreeBSD urbansrv1.pp.asu.edu 4.6.2-RELEASE FreeBSD 4.6.2-RELEASE #0:
Wed Aug 14 21:23:26 GMT 2002
[EMAIL PROTECTED]:/usr/src/sys/compile/GENERIC  i386


What am I missing?

-- 
David Bear
College of Public Programs/ASU
Mail Code 0803

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: a simple question about ports

2003-03-04 Thread Cliff Sarginson
On Sun, Mar 02, 2003 at 01:42:31PM -0600, Mike Meyer wrote:
> In <[EMAIL PROTECTED]>, Cliff Sarginson <[EMAIL PROTECTED]> typed:
> > On Sun, Mar 02, 2003 at 12:39:13PM -0600, Mike Meyer wrote:
> > > In <[EMAIL PROTECTED]>, Cliff Sarginson <[EMAIL PROTECTED]> typed:
> > > > Why are ports sometimes released, when they are uncompileable ?
> > > Lots of different reasons, the most likely one being that they
> > > compiled fine on the committers box.
> > And aye there's the rub.
> 
> I've found that most maintainers are willing to try and fix ports that
> don't compile in your environment. You can't expect a bug to be fixed
> unless you report it to someone who can fix it.
> 
Let us straighten a few things out here, the perpetuation of this kind of
nonsense puts us back in the dark Lord of Redmond world.

A language is a language. Ok GCC has groovy extras to allow FreeBSD and
Linux to compile.  
I expect that "Hello. world" will compile   
link and run .. yes ?
Does it matter very much what CPU I have, how much memory etc..?
Linking, Now we have another story.
It is quite educational to find thet KDE has a dependency on a game
program ;) Yup it sure does.
I know people put in precious spare time to just about the best OS on
the planet.
But "portupgrade" just does not hack it.
Ok. End of story. Otherwise I will get banned again by the inner corpus.
Let us make it better.

-- 
Regards
   Cliff

[ This mail has been checked as virus-free ]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: stale dependency ?!

2003-03-04 Thread Lowell Gilbert
Petre Bandac <[EMAIL PROTECTED]> writes:

> kgb# portversion 
> Stale dependency: simicq-0.8.1 --> fam-2.6.9_2 -- manually run 'pkgdb -F' to 
> fix, or specify -O to force.
> 
> 
> and when I run pkgdb -Fvu I am asked whether to:
> 
> Stale dependency: simicq-0.8.1 -> fam-2.6.9_2 (devel/fam):
> New dependency? (? to help): ?
>  [Enter] to skip, [Ctrl]+[D] to delete,  [.][Enter] to abort, [Tab] to 
> complete
> New dependency? (? to help): 
> 
> 
> delete here means it deletes the dependency or the whole port ?

the dependency

> what's the method to correct the situation, assuming that in the future I 
> shall want to portupgrade ?

portupgrade -R, perhaps?

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


USB Epson perfection 1250, support?

2003-03-04 Thread Peter B

I have a "Epson Perfection 1250" USB scanner. It works fine under "Windows Me".
I'm trying to get it to work under FreeBSD-4.7 and have patched usbdevs, 
usbdevs.h, usbdevs_data.h, uscanner.c in /usr/src/sys/dev/usb
However the only thing I'm getting is:

[EMAIL PROTECTED] /usr/src/sys/dev/usb #usbdevs -dv
Controller /dev/usb0:
addr 1: self powered, config 1, UHCI root hub(0x), VIA(0x), rev 1.00
  uhub0
 port 1 powered
 port 2 powered
Controller /dev/usb2:
addr 1: self powered, config 1, UHCI root hub(0x), VIA(0x), rev 1.00
  uhub2
 port 1 powered
 port 2 addr 2: self powered, config 1, EPSON Scanner 010F(0x010f), EPSON(0x04b8), rev 
1.00
   uscanner0

[EMAIL PROTECTED] /usr/src/sys/dev/usb #sane-find-scanner
# Note that sane-find-scanner will find any scanner that is connected
# to a SCSI bus and some scanners that are connected to the Universal
# Serial Bus (USB) depending on your OS. It will even find scanners
# that are not supported at all by SANE. It won't find a scanner that
# is connected to a parallel or proprietary port.

sane-find-scanner: found USB scanner (UNKNOWN vendor and product) at device 
/dev/uscanner0

# `UNKNOWN vendor and product' means that there seems to be a scanner
# at this device file but the vendor and product ids couldn't be 
# identified. Currently identification only works with Linux versions
# >= 2.4.8. 

And subsequent failure of xscanimage..
It's listed as "stable" in http://www.mostang.com/sane/sane-mfgs.html

Anyone else had luck with this scanner..?

..PATCHES diff -c
*** usbdevs.org Tue Aug 27 15:46:28 2002
--- usbdevs Tue Mar  4 22:40:53 2003
***
*** 587,592 
--- 587,593 
  product EPSON 16400x010a  Perfection 1640SU scanner
  product EPSON 12400x010b  Perfection 1240U / 1240Photo scanner
  product EPSON 640U0x010c  Perfection 640U scanner
+ product EPSON 12500x010f  Perfection 1250 scanner
  product EPSON 16500x0110  Perfection 1650 scanner
  product EPSON GT9700F 0x0112  GT-9700F scanner
  
*** usbdevs.h.org   Tue Aug 27 15:49:04 2002
--- usbdevs.h   Tue Mar  4 22:57:14 2003
***
*** 594,599 
--- 594,600 
  #define   USB_PRODUCT_EPSON_1640  0x010a  /* Perfection 1640SU scanner */
  #define   USB_PRODUCT_EPSON_1240  0x010b  /* Perfection 1240U / 
1240Photo scanner */
  #define   USB_PRODUCT_EPSON_640U  0x010c  /* Perfection 640U scanner */
+ #define   USB_PRODUCT_EPSON_1250  0x010f  /* Perfection 1250 scanner */
  #define   USB_PRODUCT_EPSON_1650  0x0110  /* Perfection 1650 scanner */
  #define   USB_PRODUCT_EPSON_GT9700F   0x0112  /* GT-9700F scanner */
  
*** usbdevs_data.h.org  Tue Aug 27 15:49:04 2002
--- usbdevs_data.h  Tue Mar  4 17:30:42 2003
***
*** 874,879 
--- 874,885 
"Perfection 640U scanner",
},
{
+   USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1250,
+   0,
+   "Seiko Epson",
+   "Perfection 1250 scanner",
+   },
+   {
USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1650,
0,
"Seiko Epson",
*** uscanner.c.org  Mon Aug 12 16:19:49 2002
--- uscanner.c  Tue Mar  4 17:37:12 2003
***
*** 174,179 
--- 174,180 
   {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1600 }, 0 },
   {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1640 }, 0 },
   {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_640U }, 0 },
+  {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1250 }, 0 },
   {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1650 }, 0 },
   {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_GT9700F }, USC_KEEP_OPEN },
  

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Make installworld problem (4.7)

2003-03-04 Thread Lowell Gilbert
[EMAIL PROTECTED] writes:

> I am trying to upgrade from FreeBSD 4.7-p2 to 4.7-p6, but I get an error.
> I have run:
> cd /usr/src
> make buildworld
> make buildkernel KERNCONF=SOCKETD
> make installkernel KERNCONF=SOCKETD
> Bootet with the new kernel so uname says:
> 
> FreeBSD loadmaster 4.7-RELEASE-p6 FreeBSD 4.7-RELEASE-p6 #1: Sun Mar  2
> 23:50:15 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SOCKETD  i386
> 
> But then I cd to /usr/src to make installworld his happens:
> loadmaster# make installworld
> 
> mkdir -p /tmp/install.715
> for prog in [ awk cat chflags chmod chown date echo egrep find grep  ln
> make makewhatis mtree mv perl pwd_mkdb rm sed sh sysctl  test true uname
> wc zic; do  cp `which $prog` /tmp/install.715;  done
> usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target
>cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory
> *** Error code 64
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> 
> It seems like a nobrain error, but I can't fix it, maybe someone here can
> help me? Btw please cc to me as I am not on the list.

Looks like one of those programs isn't there.
Can you find them in the obj tree?

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: printing to HP LaserJet 4050 TN

2003-03-04 Thread Warren Block
On Tue, 4 Mar 2003, Darren Spruell wrote:

> We have this printer set up to print to from the network and I have
> printed to it by IP address before. It is connected to a Windows server
> but I would like to print directly to it by IP from my fbsd 4.7 box.
>
> I have installed the cups-base, cups-pstoraster, and ghostscript-gnu
> packages. Afterwards I looked through the Handbook but didn't see
> anything that cleared up the process of configuring this printer.

It's a PostScript printer, so you shouldn't need ghostscript.  I can't
help you with CUPS, never tried it.  Good old ordinary printcap entries
work fine:

lpraw:\
:lp=:\
:sh:\
:mx#0:\
:rm=laser:\
:rp=raw:\
:sd=/var/spool/output/lpd/lpraw:\
:lf=/var/log/lpd-errs:

After creating the spool directory (sd=) and entering an IP address for
"laser" in /etc/hosts, this works fine.  This is just for sending raw
PostScript output, of course.  The queue name is lpraw, so you'd print
to it with

# lpr -Plpraw postscriptfile.ps

My lp queue runs through a little Perl program that detects PostScript
and passes it through.  Text is formatted with enscript and then
printed.  I can post the whole setup if you'd like.

-Warren Block * Rapid City, South Dakota USA

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: ad-hoc wireless mode and ticks (fwd)

2003-03-04 Thread Greg 'groggy' Lehey
On Tuesday,  4 March 2003 at  7:18:02 -0700, M. Warner Losh wrote:
> In message: <[EMAIL PROTECTED]>
> "Greg 'groggy' Lehey" <[EMAIL PROTECTED]> writes:
>> Yes, this is very confusing.  I've been asking the maintainer to
>> change the terminology, but he points out that the other BSDs do it
>> this way as well.
>
> I think you need to learn to ask better.  The maintainer uses industry
> standard terminology.

No, this has changed since we last discussed it, as you demonstrate
below.

> In -stable, you want something like
>
> ifconfig wi0 media DS/11Mbps mediaopt ibss-craete # ibss mode (adhoc)
> ifconfig wi0 media DS/11Mbps mediaopt adhoc   # lucent
>
> In current, by contrast, you want to use the following:
>
> ifconfig wi0 media DS/11Mbps mediaopt adhoc   # ibss mode (adhoc)
> ifconfig wi0 media DS/11Mbps mediaopt adhoc,flag0 # lucent

It's good to see you've changed this.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers


pgp0.pgp
Description: PGP signature


Ðàñøèðüòå ðûíîê ñáûòà... XEHJRISWSN

2003-03-04 Thread ASIA
 Региональное  рекламное агентство "А З И Я"
 (более 10 лет на рынке России и стран СНГ)

предлагает разместить рекламу Ваших товаров или услуг в прессе -
Узбекистана, Казахстана, Туркменистана, Таджикистана и Киргизии.

Реклама, размещенная в наиболее читаемой прессе региона,
будет способствовать расширению Вашего бизнеса,
привлечению новых клиентов и, в конечном итоге, увеличению Вашего капитала. 

Недостаточное насыщение региона различными товарами и услугами
способствует быстрому и легкому проникновению на региональный рынок,
а также обеспечит быстрый сбыт Ваших товаров и услуг.

Также наше агентство оказывает услуги по поиску региональных представителей(дилеров).

Московское представительство: (095) 464-71-60, 139-83-16.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: still can't resolve these system reboots... help please

2003-03-04 Thread Bsd Neophyte

--- Tuc <[EMAIL PROTECTED]> wrote:
> > 
> > please if anyone can help me resolve this... i can't stand having this
> > extremely unstable server.  it's causing all sorts of problems on the
> > network.
> > 
>   I feel for you. I too am having it. Most of the time it does it
> while I'm not around, but once I was in elm writing mail, and the screen
> went black, and the DELL splash screen came on. I ran burnP6 for a few
> minutes (Boy does it make the system unhappy, but it kept chugging) and
> BurnMMX too. I'm cvsup'd to Feb 23, RELENG_4.
> 
>   Tuc/TTSG Internet Services, Inc.

can faulty hardware be ruled out then?

burnP6 and burnMX have been running all night

342:16 49.17% 49.17% burnBX
340:52 48.10% 48.10% burnP6

and there are no problems so far.

it's odd though, this thing just started happening on day when i first
started creating DSA keyparis.  other than that, things were rock solid.

this is starting to leave a sour taste in my mouth. :/



__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


A few 5.0-Release questions...

2003-03-04 Thread John Wilson
Good day,

After spending quite some time trying to get
5.0-RELEASE installed on a Dell PowerEdge machine, it
seems that all is now working quite well.  Being that
these machines are somewhat common, I'll share what
was halting my installation.

These machines come with integrated video, an ATI
RageXL, which is rather useless for anything other
than console mode. I installed an ATI All- In-Wonder
VE so that I could get somewhat decent performance out
of X. The problem manifested when the kernel probed
the machines hardware, causing an "NMI ISA 30, EISA
ff", and locking up the machine solid. After I began
pulling memory and expansion cards from the system,
the error went away when I removed the ATI AIW card. I
reinstalled the card and attempted to find how to
correct this. My only solution to this issue was to
interrupt the boot process and use the following
command:

set hw.pci.enable_io_modes = 0

This prevented any further halts.

My first question is as follows: is /boot/device.hints
the most proper place to stick this? Also, are there
any other possible solutions to this issue?

My main drives are SCSI, and I have one CD-RW and one
DVD-R on the secondary IDE controller. The kernel
detects the drives just fine, but defaults them both
down to PIO4. The drives are fully UDMA2 capable. I am
able to set the drives to use UDMA2 via atacontrol
without issue.  However, how would one make this more
permanent, such that I wouldn't have to use atacontrol
everytime I boot the machine?

Back to the topic of video; is there _any_ way to
permanently disable, or at least prevent FreeBSD from
detecting the integrated video on the motherboard?
There is nothing in the machines BIOS that would allow
this. This would just be "nice" to do, as X works just
fine, but it still sticks an entry into the
XFree86Config file for the integrated chip.

And finally...

Where can one obtain a complete list of allowed hints
for use in /boot/device.hints? I tried searching
around the FBSD site as well as the handbook and found
no listing, other than a line here and a line there.

Thank you all very much for your help, and have a
wonderful day.

- John Wilson [EMAIL PROTECTED]

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: partition is "e" should be "a" -- how to fix?

2003-03-04 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Chad Leigh -- Shire.Net LLC <[EMAIL PROTECTED]> typed:
> On Tuesday, Mar 4, 2003, at 14:55 US/Mountain, Mike Meyer wrote:
> >> However, I am wanting some second opinions on this,
> >> and since I am not a disklabel guru, some guidance on how to use 
> >> disklabel
> >> without screwing up my system would be appreciated.
> > Basically, run "disklabel -e /dev/da0s1". That will create a temporary
> > file with the disklabel in it, and open an editor on that file. Delete
> > the line - if it exists - for a, copy the e line to where it was, and
> > then change the initial e to an a. Then save the file and exit the
> > editor. Fix your fstab to refer to da0s1a instead of da0s1e, and
> > reboot.
> Okay, should I be able to have an "a" and an "e" that overlap?  
> Disklabel doesn't seem to want to let me do this.

Yes, you should, but apparently someone decided not to allow
that. Personally, that strikes me as a being bogus, but fixing it
requires hacking disklabel.

Try booting the fixit cdrom, and doing the disklabel to chagne e to a
without mounting e.

  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Cisco Tools

2003-03-04 Thread Adam Maas
minicom

Adam


- Original Message - 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 04, 2003 4:19 PM
Subject: Cisco Tools


> 
> 
> Anyone have good recommendation on console login software to configure
> cisco routers under freebsd???
> 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
> 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Multiple Versions of Same Port

2003-03-04 Thread Stephen Hilton
On Tue, 4 Mar 2003 12:29:53 -0800 (PST)
John McClure <[EMAIL PROTECTED]> wrote:

> Thanks in advance for any help. I'm new to FreeBSD.
> 
> I want to maintain multiple copies of the apache
> server, one running PHP, another running mod_perl,
> perhaps another configured differently ...
> 
> If I use the ports system, how do I go about this? I
> can use a different PREFIX for each different
> installation, but will the ports system overwrite the
> information each time under /var/db/pkg? If so, I'm
> thinking this would break the pkg_delete functionality
> at least.
> 
> I thought I might just cp the apache13 port, call if
> something different, say apache13-2, and then do a
> "make PREFIX=/usr/local/apache_whatever install". But
> should I use the ports system for this? Under linux
> I'd just do different compiles, which I could do here,
> but I like the ease-of-upgrading provided by ports so
> I'd like to use that if I could, as well as just gain
> the general insight.

John,

Going at this from a different angle, if Apache was the one 
port you wanted to do this with, you could possibly accomplish 
this by having different httpd.conf files for your different 
Apache setups. Then by hacking the apachectl/httpd -f argument 
you could specify which configuration you wanted to start up.

Regards,

Stephen Hilton
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Aliasing Libraries or Installing Older Versions

2003-03-04 Thread Mike Meyer
In <[EMAIL PROTECTED]>, John McClure <[EMAIL PROTECTED]> typed:
[...]
> nicely from /usr/ports/textproc/sablotron but installs
> a version of library that ldconfig -r lists as
> lsablot.70.
> The mod_php4 build complains (as pasted below) that is
> can't find sablot.69. I rebuilt the library cache by
> running ldconfig, but it appears that php is looking
> specifically for sablot.69 and nothing else.
> 
> Can a library be aliased? Or should an older version
> be installed? If so, how do I obtain that? Hints?
> Suggestions?

It sounds like you need to rebuild the mod_php4 port. Somehow, it
found a sablot.69 when it was built, and that's now gone. Rebuilding
it should find the sablot.70 library and use that. I'm not familiar
with either mod php or sablot, so I can't be sure if I'm right, but
that's the general case with libraries missing like that.

  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: partition is "e" should be "a" -- how to fix?

2003-03-04 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Chad Leigh <[EMAIL PROTECTED]> typed:
> I have sent this three or four times already in the last 30 hours and 
> never seen it show up in the list...  I am trying sending from a different 
> account.

I haven't seen it before.

[system having root on da0s1e partition not booting.]

Yup. One of the few magic partitions is root - it has to be a for the
system to boot

> How do I fix this?  How do I change the root partition from using "e" to 
> "a"?  I would think I could use disklabel to map the "a" partition to the 
> same range of blocks as the "e" partition, remake the special dev files, 
> and be done with it.

Yup, that's the way you fix it.

> However, I am wanting some second opinions on this, 
> and since I am not a disklabel guru, some guidance on how to use disklabel 
> without screwing up my system would be appreciated.

Basically, run "disklabel -e /dev/da0s1". That will create a temporary
file with the disklabel in it, and open an editor on that file. Delete
the line - if it exists - for a, copy the e line to where it was, and
then change the initial e to an a. Then save the file and exit the
editor. Fix your fstab to refer to da0s1a instead of da0s1e, and
reboot.

  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Aliasing Libraries or Installing Older Versions

2003-03-04 Thread Jeff Jirsa
On Tue, 4 Mar 2003, John McClure wrote:

> Thanks in advance for any help.
>
> Trying to build mod_php4 (version 4.3.1) as a port,
> basically not a big deal, BUT ... when I try to add
> XSLT support via Sablotron, the Sablotron port builds
> nicely from /usr/ports/textproc/sablotron but installs
> a version of library that ldconfig -r lists as
> lsablot.70.
>
> The mod_php4 build complains (as pasted below) that is
> can't find sablot.69. I rebuilt the library cache by
> running ldconfig, but it appears that php is looking
> specifically for sablot.69 and nothing else.
>


You should be able to just change the scripts/configure.php appropriately
(Just change the .69 to .70 in ports/www/mod_php4/scripts/configure.php.
diff below for clarity, watch the wrap):

# diff -u scripts/configure.php.orig scripts/configure.php
--- scripts/configure.php.orig  Tue Mar  4 13:45:11 2003
+++ scripts/configure.php   Tue Mar  4 13:45:19 2003
@@ -278,7 +278,7 @@
fi
;;
\"XSLT\")
-   echo "LIB_DEPENDS+= 
sablot.69:\${PORTSDIR}/textproc/sablotron"
+   echo "LIB_DEPENDS+= 
sablot.70:\${PORTSDIR}/textproc/sablotron"
echo "CONFIGURE_ARGS+=--enable-xslt 
--with-xslt-sablot=\${LOCALBASE}"
if [ -z "$XML" ]; then
set $* \"XML\"




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Aliasing Libraries or Installing Older Versions

2003-03-04 Thread John McClure
Thanks in advance for any help.

Trying to build mod_php4 (version 4.3.1) as a port,
basically not a big deal, BUT ... when I try to add
XSLT support via Sablotron, the Sablotron port builds
nicely from /usr/ports/textproc/sablotron but installs
a version of library that ldconfig -r lists as
lsablot.70.

The mod_php4 build complains (as pasted below) that is
can't find sablot.69. I rebuilt the library cache by
running ldconfig, but it appears that php is looking
specifically for sablot.69 and nothing else.

Can a library be aliased? Or should an older version
be installed? If so, how do I obtain that? Hints?
Suggestions?

* BEGIN ERROR PASTE *

===>   mod_php4-4.3.1 depends on shared library:
sablot.69 - not found
===>Verifying install for sablot.69 in
/usr/ports/textproc/sablotron
===>   Returning to build of mod_php4-4.3.1
Error: shared library "sablot.69" does not exist
*** Error code 1

Stop in /usr/ports/www/mod_php4.
*** Error code 1

* END ERROR PASTE 

uname -a *
FreeBSD 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Wed Oct  9
15:08:34 GMT 2002
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
 i386

-GM

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


partition is "e" should be "a" -- how to fix?

2003-03-04 Thread Chad Leigh
Hi

I have sent this three or four times already in the last 30 hours and 
never seen it show up in the list...  I am trying sending from a different 
account.

Over the weekend, I upgraded my HW on my server, replacing all disks with 
new ones.  In order to do this, I mounted the new disks, used sysinstall 
to partition and label the new partitions, and then I used dump/restore to 
move all the old partitions files and data to the new partitions.  I then 
took the old drives off, made appropriate fstab changes as needed, and 
rebooted.  Then I noticed a problem.  My "root" partition was now da0s1e 
instead of da0s1a .  I can boot the machine if I manually enter the 
different partition letter into the bootloader, but the bootloader doesn't 
find its meta data settings and the machine won't boot unattended.

How do I fix this?  How do I change the root partition from using "e" to 
"a"?  I would think I could use disklabel to map the "a" partition to the 
same range of blocks as the "e" partition, remake the special dev files, 
and be done with it.  However, I am wanting some second opinions on this, 
and since I am not a disklabel guru, some guidance on how to use disklabel 
without screwing up my system would be appreciated.  I am studying 
disklabel man pages, but I don't want to screw up my running system and 
would appreciate a small how-to explanation from someone who IS a 
disklabel guru :-)

Thanks
Chad



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: SAMBA performance and FreeBSD

2003-03-04 Thread Stephen Hilton
On Tue, 4 Mar 2003 21:20:12 +0200
"Bigbrother" <[EMAIL PROTECTED]> wrote:

> 
> I started to use samba with freebsd and I cant say that I am
> satisfied with the performance of it. Specifically on my local 100Mbits
> network the samba read speed on the server (athlon 1700) is < 1Mbit/sec,
> while the write speed is much much worse.
> 
> If I ftp to that machine I have read speed of minimum 7Mbits/sec.
> 
> I am puzzled why the samba has so much worse performance.
> 
> Is anyone that using samba on his freebsd machine without any
> performance loss? 
> 
> Or what typical read/write speeds do usually achieve on your samba
> +freebsd machine?

I have had better results on "older" hardware by using this in the 
smb.conf file:

socket options = TCP_NODELAY

HTH

Stephen Hilton
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Cisco Tools

2003-03-04 Thread Joe Marcus Clarke
On Tue, 2003-03-04 at 16:19, [EMAIL PROTECTED] wrote:
> Anyone have good recommendation on console login software to configure
> cisco routers under freebsd???

cu -l /dev/cuaa[0-4] -s 9600 works fine for me.  The only device I
recall that gave me trouble was the AP1200 which I had to use kermit to
access.

Joe

> 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
-- 
PGP Key : http://www.marcuscom.com/pgp.asc




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


Cisco Tools

2003-03-04 Thread romero3000


Anyone have good recommendation on console login software to configure
cisco routers under freebsd???



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: PR sent through send-pr don'r reach actual PR list ????

2003-03-04 Thread Giorgos Keramidas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2003-03-04 13:09, Yuri <[EMAIL PROTECTED]> wrote:
> I've sent PR today using send-pr.
>
> >From maillog I can tell that mail actually left to
> [EMAIL PROTECTED] and was accepted.
>
> But I don't see it in the PR list.
>
> What's wrong 

It is possible that the PR was misfiled.  I'm downloading misfiled PRs
now, and will shortly look at them.  Can you remember what the Synopsis
of your PR was?

- - Giorgos

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+ZRRc1g+UGjGGA7YRAunSAJ9YicJsljHF2rxd/a9cVygcq8UyVwCfdtmV
VXaevHj7BX9KNacpS9xmAZo=
=srgE
-END PGP SIGNATURE-

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Multiple Versions of Same Port

2003-03-04 Thread Mike Meyer
In <[EMAIL PROTECTED]>, John McClure <[EMAIL PROTECTED]> typed:
> If I use the ports system, how do I go about this? I
> can use a different PREFIX for each different
> installation, but will the ports system overwrite the
> information each time under /var/db/pkg? If so, I'm
> thinking this would break the pkg_delete functionality
> at least.

No, it won't overwrite the information. The dangers involved in having
two different ports revolves around them overwriting each other. The
stuff in /var/db/pkg will be fine. Just do two builds/installs with
different PREFIXs.

Be warned that not all ports are PREFIX-clean. I don't run apache as a
port, so I can't say for sure whether or not it is.

  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


upgrading sendmail from ports was Re: Sendmail patch questions...

2003-03-04 Thread Michelle Weeks
I would like to upgrade sendmail from the ports collections.  However, I have been using sendmail 8.12.6 from the base install of freebsd 4.6.2 release and I believe that installing sendmail from the ports collection will add files to 
/usr/local rather then /usr where sendmail is currently located.  From the research I've done after I install sendmail from the ports collection, I will need to add the following lines to sendmail.mc file:

define(`confEBINDIR', `/usr/local/libexec')dnl
define(`UUCP_MAILER_PATH', `/usr/local/bin/uux')dnl

as well as change the mailer.conf file.  

Am I missing any other steps?  Any help would be greatly appreciated since this is my first attempt at upgrading sendmail.

Thank you,
Michelle

On Tuesday, March 4, 2003, at 06:43 AM, Peter Elsner wrote:

Step by step instructions

ftp sendmail.org
login anonymously
cd pub/sendmail
get sendmail-8.12.8.tar.gz
quit
tar xvzf sendmail-8.12.8.tar.gz
cd sendmail-8.12.8
./Build
./Build install

kill -1 (SIGHUP) sendmail

You're now upgraded


At 08:53 PM 3/3/2003 -0600, you wrote:
On Mon, Mar 03, 2003 at 05:49:50PM -0600, Mike Loiterman wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Just applied the patch to /usr/src/contrib/sendmail/src
>
> I'm running sendmail 8.11.6
>
>
> 1.  Is this the correct location for the patch?
> 2.  Do I need to do a `make world' or can I just do a make install from with the /usr/src/contrib/sendmail directory and restart sendmail?
>
> Thanks...


I'm also running 8.11.6.  I installed the correct patch from sendmail.org
but haven't figured out how to get it to compile.  The README says:

*
!! DO NOT USE MAKE !!  in this directory to compile sendmail --
*  instead, use the "Build" script located in
the sendmail directory.

However, there is no "Build" script.

Now what?


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

--
Peter Elsner <[EMAIL PROTECTED]>
Vice President Of Customer Service (And System Administrator)
1835 S. Carrier Parkway
Grand Prairie, Texas 75051
(972) 263-2080 - Voice
(972) 263-2082 - Fax
(972) 489-4838 - Cell Phone
(425) 988-8061 - eFax

I worry about my child and the Internet all the time, even though she's
too young to have logged on yet. Here's what I worry about. I worry
that 10 or 15 years from now, she will come to me and say "Daddy, where
were you when they took freedom of the press away from the Internet?"
-- Mike Godwin

Unix IS user friendly... It's just selective about who its friends are.
System Administration - It's a dirty job, but somebody said I had to do it.
If you receive something that says 'Send this to everyone you know,
pretend you don't know me.

Standard $500/message proofreading fee applies for UCE.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Multiple Versions of Same Port

2003-03-04 Thread John McClure
Thanks in advance for any help. I'm new to FreeBSD.

I want to maintain multiple copies of the apache
server, one running PHP, another running mod_perl,
perhaps another configured differently ...

If I use the ports system, how do I go about this? I
can use a different PREFIX for each different
installation, but will the ports system overwrite the
information each time under /var/db/pkg? If so, I'm
thinking this would break the pkg_delete functionality
at least.

I thought I might just cp the apache13 port, call if
something different, say apache13-2, and then do a
"make PREFIX=/usr/local/apache_whatever install". But
should I use the ports system for this? Under linux
I'd just do different compiles, which I could do here,
but I like the ease-of-upgrading provided by ports so
I'd like to use that if I could, as well as just gain
the general insight.

I tried searching the archives but couldn't find
anything helpful. Sorry if I missed something. Any
help here would be appreciated.

uname -a *
FreeBSD 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Wed Oct  9
15:08:34 GMT 2002
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
 i386

-GM

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


AMI Megaraid, failed array

2003-03-04 Thread Wayne Pascoe
Hi all,

A FreeBSD 4.7 machine with an AMI Megaraid controller and 3 disks in a
RAID 5 array failed on me this week. 

One of the disk drives went into offline state due to overheating and
the array, to the best of my knowledge should have continued in degraded
mode.

Two things concern me at this point.

1. There were no messages in /var/log/messages to indicate that a disk
had failed and the array was in degraded mode.

2. With 2 disks of the array still online, we were unable to read /
execute loads of data. Many text files were unreadable and system
binaries like tar unusable. 

When we got the disk back online and rebooted the box, we were able to
easily read data, and files that appeared to be corrupt turned out not
to be. 

Can anyone advise me on why I saw what I saw and how I can get around
this in the future.

Regards,

-- 
Wayne Pascoe

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: atapicam in 4.8-PRERELEASE

2003-03-04 Thread Scott A. Moberly

*snip*

> I thought that atapicam = scsi emulation for parallel devices thru CAM?
> or I got this wrong? :) I'm talking about a CDRW on my parallel port..

nope - ata devices

> I need to burn FreeBSD 5 and install it on an Ultra-10 d*mmit :)
> my other fellows "Linux admins" are making fun of how I will return to
> them to burn a copy of FreeBSD on their Linux boxes :/ hehe. so PLEASE
> HELP lol

> btw, how can I use burncd on the "undetected" device? :)

can't - again ata

Sorry I missed the parallel thing until now...  completely different ball
of wax.
-- 
Scott A. Moberly
[EMAIL PROTECTED]

Thumb's Postulate
An easily understood, workable falsehood is more
useful than a complex incomprehensible truth.




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: SAMBA performance and FreeBSD

2003-03-04 Thread Bill Moran
Bigbrother wrote:
I started to use samba with freebsd and I cant say that I am
satisfied with the performance of it. Specifically on my local 100Mbits
network the samba read speed on the server (athlon 1700) is < 1Mbit/sec,
while the write speed is much much worse.
What kind of HDD?  What other processes are running?  The HDD is likely
the limiting factor.  If your HDD is slow, adding RAM can help, but it's
only going to help so much.
If I ftp to that machine I have read speed of minimum 7Mbits/sec.
As someone else pointed out, 7Mbytes/sec is reasonable, but 7Mbit/sec
is horrible.  I'm assuming your 1Mbit/sec number above is really
1Mbyte/sec.  Disabling delayed_ack should help.
I am puzzled why the samba has so much worse performance.
Than ftp?  Samba will always be slower than FTP.  This is because SMB
is massivly bloated compared to FTP.  FTP is a pretty streamlined
protocol with very little overhead.  SMB has a good bit of overhead,
although you shouldn't be seeing 7x differences.  That indicates
something else is wrong, but SMB speed will never be on par with FTP.
Is anyone that using samba on his freebsd machine without any
performance loss? 
Yes.  We have a Samba server right here and the performance is excellent
considering the ancient hardware it's running on.
Also if you have extra tips and tricks about samba and freebsd that can
boost the performance, they would be much appreciated. About tunning
parameters and so onThis machine will be the main server of a
laboratory of the university, and its not acceptable to have a low
speed.
You already seem to have found them below.  Have you changed delayed_ack
yet?  In my experiements, it makes a HUGE difference (we copied a large
file and I turned it on and off while the file was copying, you could
visibly see the difference in the speed at which the progress bar was
moving)
Additionally, don't use older versions of Windows.  We ran tests and
found out that Windows NT, 98, 95 all had approximately 1/2 the network
speed compared to Windows XP.  This is regardless of whether a Samba or
Windows server was used.
Thanks very much in advance!!

P.s. I searched the net and I saw the people suggested changing the
net.inet.tcp.delayed_ack value, or measuring with tcpdump the MSS window
size and trying to put a formula on it to calculate the parameter
SO_RCVBUF
Of the samba and various other tricksDo they have a point?
Yes.  Especially the net.inet.tcp.delayed_ack value will alter performance
considerably for Samba.  I've never gotten significant performance gains
by messing with the MSS windows, though.
P.s.2 I am also mounting with SUIDDIR the filesystems. Does this make a
performance loss?
Don't know

--
Bill Moran
Potential Technologies
http://www.potentialtech.com
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: atapicam in 4.8-PRERELEASE

2003-03-04 Thread Edmond Baroud
Quoting Scott A. Moberly ([EMAIL PROTECTED]):
> 
> > Quoting Scott A. Moberly ([EMAIL PROTECTED]):
> >> On Tue, Mar 04, 2003 at 01:20:46PM -0500, Edmond Baroud wrote:
> >> > Hello Scott,
> >> >
> >> > Sorry I'm writing to you directly.
> >>
> >> No problem.
> >>
> >> > I'm affraid you misunderstood my question;
> >>
> >> Nope I think I got it.
> >>
> >> > > %camcontrol eject cd0
> >> > > ejects my LG cdrom
> >>
> >> due to atapicam in your KERNEL config
> >>
> >> > > and %mount /dev/cdrom /cdrom
> >> > > also mounts the LG cdrom.
> >>
> >> due to atapicd in you KERNEL config
> >>
> >> > the question is that I am supposed to control my CDRW through cd0
> >> right?
> >>
> >> When using atapicam, yes.
> > what do you mean? booting with a kernel that has option atapicam ?
> 
> Yes
> 
> >> > and not be able to eject my "regular" CDROM.
> >>
> >> Incorrect, acd?c is still available with atapicd in the kernel config
> >>
> >> > however, my cdrom is being detected at boot time as cd0, shouldnt
> >> cd0 be my CDRW?
> >>
> >> Yes; however, acd0 will also be seen in your dmesg.  Not a problem,
> >> like I said in a previous post as long as you access only one of the
> >> devices, i.e /dev/acd0c or /dev/cd0 at a time.  You can remove the
> >> atapicd to minimize this risk, of course.
> >>
> >> Hope this is a little more clear.
> > thanks for taking the time Scott :) but I still can't get the image.. I
> > am aware that acd?c still shows up in my dmesg because I have both
> > options in my kernel. let me make this less painful :)..
> > how, what is the command that I can use to eject/load my parallel
> > device, which shows as: cd0 at ata1 bus 0 target 1 lun 0
> > cd0:  Removable CD-ROM SCSI-0 device
> > cd0: 16.000MB/s transfers
> > cd0: cd present [183123 x 2048 byte records]
> 
> Now, I'm confused; I though this did it?
> 
> >> > > %camcontrol eject cd0
> >> > > ejects my LG cdrom
> 
> Are we speaking of an entirely different device then "LG CD-ROM CRD-8521B
> 1.00" at /dev/cd0 ?

yes :)
I have an LG 52x which is not "Removable CD-ROM SCSI-0 device" as the dmesg claims, 
and another Backpack cd-rewriter connected to the parallel port of my box, but I dont 
see this detected at anytime of the boot..
 
> 
> > I dont see any signs in my dmesg that says "CDR/CDRW. I dont know, I'm a
> > bit confused here.. I've seen already other people's dmesg, and it shows
> > their CDRW in dmesg
> 
> I'm not usually too concerned about the Manufacturer's details about the
> device.  (The string you are referring to.)  You can actually test the
> device, i.e. make a coaster. Or,
> use:
> 
> cdrecord -scanbus # to find the device
> 
> # and
> 
> cdrecord -prcap dev=x,y,z # to see the actual capabilities
> 
> I'm of course assuming you want to use cdrecord rather then burncd,
> otherwise why
> bother with atapicam at all :D...

I thought that atapicam = scsi emulation for parallel devices thru CAM? or I got this 
wrong? :)
I'm talking about a CDRW on my parallel port..

I need to burn FreeBSD 5 and install it on an Ultra-10 d*mmit :)
my other fellows "Linux admins" are making fun of how I will return to them to burn a 
copy of FreeBSD on their Linux boxes :/ hehe.
so PLEASE HELP lol

btw, how can I use burncd on the "undetected" device? :)

> 
> -- 
> Scott A. Moberly
> [EMAIL PROTECTED]
> 
> He hadn't a single redeeming vice.
>   -- Oscar Wilde
> 
> 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

-- 
Edmond Baroud 
UNIX Systems Admin mailto:[EMAIL PROTECTED]
Fingerprint  140F 5FD5 3FDD 45D9 226D  9602 8C3D EAFB 4E19 BEF9
"UNIX is very user friendly, it's just picky about who its friends are."



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: need database suggestion for *.mdb files

2003-03-04 Thread John Bleichert
On Tue, 4 Mar 2003, Clement Laforet wrote:
> Subject: Re: need database suggestion for *.mdb files
> 
> On 04 Mar 2003 09:30:16 -0600
> "Kirk R. Wythers" <[EMAIL PROTECTED]> wrote:
> 
> > I just received an attachment that was saved as an Access db. Can anyone
> > suggest an application to deal with this file. I'm not familiar enough
> > with freebsd's database options to know if any of them read .mdb files. 
> 
> /usr/ports/databases/mdbtools/
> 
> clem
> 

Last time I had to deal with this issue, I opened them in Access and 
exported the mdb files as flat comma-delimited text, then massaged them 
into appropriate SQL (for Postgres) with Perl. Of course, that was back 
when I had access to a Windows box on co-op :) Now I'd have to seek other 
means... 

Just a thought.

JB

#  John Bleichert 
#  http://vonbek.dhs.org/latest.jpg


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: atapicam in 4.8-PRERELEASE

2003-03-04 Thread hoppern
unsubscribe

On Tue, 4 Mar 2003, Scott A. Moberly wrote:

>
> > Quoting Scott A. Moberly ([EMAIL PROTECTED]):
> >> On Tue, Mar 04, 2003 at 01:20:46PM -0500, Edmond Baroud wrote:
> >> > Hello Scott,
> >> >
> >> > Sorry I'm writing to you directly.
> >>
> >> No problem.
> >>
> >> > I'm affraid you misunderstood my question;
> >>
> >> Nope I think I got it.
> >>
> >> > > %camcontrol eject cd0
> >> > > ejects my LG cdrom
> >>
> >> due to atapicam in your KERNEL config
> >>
> >> > > and %mount /dev/cdrom /cdrom
> >> > > also mounts the LG cdrom.
> >>
> >> due to atapicd in you KERNEL config
> >>
> >> > the question is that I am supposed to control my CDRW through cd0
> >> right?
> >>
> >> When using atapicam, yes.
> > what do you mean? booting with a kernel that has option atapicam ?
>
> Yes
>
> >> > and not be able to eject my "regular" CDROM.
> >>
> >> Incorrect, acd?c is still available with atapicd in the kernel config
> >>
> >> > however, my cdrom is being detected at boot time as cd0, shouldnt
> >> cd0 be my CDRW?
> >>
> >> Yes; however, acd0 will also be seen in your dmesg.  Not a problem,
> >> like I said in a previous post as long as you access only one of the
> >> devices, i.e /dev/acd0c or /dev/cd0 at a time.  You can remove the
> >> atapicd to minimize this risk, of course.
> >>
> >> Hope this is a little more clear.
> > thanks for taking the time Scott :) but I still can't get the image.. I
> > am aware that acd?c still shows up in my dmesg because I have both
> > options in my kernel. let me make this less painful :)..
> > how, what is the command that I can use to eject/load my parallel
> > device, which shows as: cd0 at ata1 bus 0 target 1 lun 0
> > cd0:  Removable CD-ROM SCSI-0 device
> > cd0: 16.000MB/s transfers
> > cd0: cd present [183123 x 2048 byte records]
>
> Now, I'm confused; I though this did it?
>
> >> > > %camcontrol eject cd0
> >> > > ejects my LG cdrom
>
> Are we speaking of an entirely different device then "LG CD-ROM CRD-8521B
> 1.00" at /dev/cd0 ?
>
> > I dont see any signs in my dmesg that says "CDR/CDRW. I dont know, I'm a
> > bit confused here.. I've seen already other people's dmesg, and it shows
> > their CDRW in dmesg
>
> I'm not usually too concerned about the Manufacturer's details about the
> device.  (The string you are referring to.)  You can actually test the
> device, i.e. make a coaster. Or,
> use:
>
> cdrecord -scanbus # to find the device
>
> # and
>
> cdrecord -prcap dev=x,y,z # to see the actual capabilities
>
> I'm of course assuming you want to use cdrecord rather then burncd,
> otherwise why
> bother with atapicam at all :D...
>
> --
> Scott A. Moberly
> [EMAIL PROTECTED]
>
> He hadn't a single redeeming vice.
>   -- Oscar Wilde
>
>
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: atapicam in 4.8-PRERELEASE

2003-03-04 Thread Scott A. Moberly

> Quoting Scott A. Moberly ([EMAIL PROTECTED]):
>> On Tue, Mar 04, 2003 at 01:20:46PM -0500, Edmond Baroud wrote:
>> > Hello Scott,
>> >
>> > Sorry I'm writing to you directly.
>>
>> No problem.
>>
>> > I'm affraid you misunderstood my question;
>>
>> Nope I think I got it.
>>
>> > > %camcontrol eject cd0
>> > > ejects my LG cdrom
>>
>> due to atapicam in your KERNEL config
>>
>> > > and %mount /dev/cdrom /cdrom
>> > > also mounts the LG cdrom.
>>
>> due to atapicd in you KERNEL config
>>
>> > the question is that I am supposed to control my CDRW through cd0
>> right?
>>
>> When using atapicam, yes.
> what do you mean? booting with a kernel that has option atapicam ?

Yes

>> > and not be able to eject my "regular" CDROM.
>>
>> Incorrect, acd?c is still available with atapicd in the kernel config
>>
>> > however, my cdrom is being detected at boot time as cd0, shouldnt
>> cd0 be my CDRW?
>>
>> Yes; however, acd0 will also be seen in your dmesg.  Not a problem,
>> like I said in a previous post as long as you access only one of the
>> devices, i.e /dev/acd0c or /dev/cd0 at a time.  You can remove the
>> atapicd to minimize this risk, of course.
>>
>> Hope this is a little more clear.
> thanks for taking the time Scott :) but I still can't get the image.. I
> am aware that acd?c still shows up in my dmesg because I have both
> options in my kernel. let me make this less painful :)..
> how, what is the command that I can use to eject/load my parallel
> device, which shows as: cd0 at ata1 bus 0 target 1 lun 0
> cd0:  Removable CD-ROM SCSI-0 device
> cd0: 16.000MB/s transfers
> cd0: cd present [183123 x 2048 byte records]

Now, I'm confused; I though this did it?

>> > > %camcontrol eject cd0
>> > > ejects my LG cdrom

Are we speaking of an entirely different device then "LG CD-ROM CRD-8521B
1.00" at /dev/cd0 ?

> I dont see any signs in my dmesg that says "CDR/CDRW. I dont know, I'm a
> bit confused here.. I've seen already other people's dmesg, and it shows
> their CDRW in dmesg

I'm not usually too concerned about the Manufacturer's details about the
device.  (The string you are referring to.)  You can actually test the
device, i.e. make a coaster. Or,
use:

cdrecord -scanbus # to find the device

# and

cdrecord -prcap dev=x,y,z # to see the actual capabilities

I'm of course assuming you want to use cdrecord rather then burncd,
otherwise why
bother with atapicam at all :D...

-- 
Scott A. Moberly
[EMAIL PROTECTED]

He hadn't a single redeeming vice.
-- Oscar Wilde




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: SAMBA performance and FreeBSD

2003-03-04 Thread David Kelly
On Tue, Mar 04, 2003 at 09:20:12PM +0200, Bigbrother wrote:
> 
> I started to use samba with freebsd and I cant say that I am
> satisfied with the performance of it. Specifically on my local 100Mbits
> network the samba read speed on the server (athlon 1700) is < 1Mbit/sec,
> while the write speed is much much worse.
> 
> If I ftp to that machine I have read speed of minimum 7Mbits/sec.

For starters, how do you measure _bits_ per second? "7Mbits/sec" sucks
for FTP over 100baseT networks. 7M bytes/sec is about right. Odds are
you have your bits and bytes mixed up.

At some point you have to consider your HD hardware. 1M bytes/sec of
random access isn't bad.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]
=
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


RE: SAMBA performance and FreeBSD

2003-03-04 Thread Derrick Ryalls
> I started to use samba with freebsd and I cant say that I am 
> satisfied with the performance of it. Specifically on my 
> local 100Mbits network the samba read speed on the server 
> (athlon 1700) is < 1Mbit/sec, while the write speed is much 
> much worse.

I have samba set up on multiple machines.  Their performance is about on
par with Windows boxes.

Perhaps you could post output of ifconfig




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: natd not working :(

2003-03-04 Thread Jonathan Chen
On Wed, Mar 05, 2003 at 02:17:18AM +0800, Khairil Yusof wrote:
[...]
> and my simple firewall rules (I've deleted stuff which is not important
> and working like dns, ntp etc.):
> 
> #firewall command
> 
> fwcmd="/sbin/ipfw"
> 
> # Force a flushing of the current rules before we reload.
> $fwcmd -f flush
> 
> # RULES FOR INTERNAL NETWORK ##
> 
> # Setup localhost
> $fwcmd add allow ip from any to any via lo0
> 
> $fwcmd add allow any from any to any via fxp0
> 
> # Divert all packets through the tunnel interface.
> $fwcmd add divert natd all from any to any via tun0

You should have a look at /etc/rc.firewall and use it as the template for
your rules. In your case, the "divert natd" rule should be the first;
looking at /etc/rc.firewall and using the "open" rule:

${fwcmd} add 50 divert natd all from any to any via tun0
${fwcmd} add 100 pass all from any to any via lo0
${fwcmd} add 200 deny all from any to 127.0.0.0/8
${fwcmd} add 300 deny ip from 127.0.0.0/8 to any
${fwcmd} add 65000 pass all from any to any

Alternatively you could change your /etc/rc.conf:

firewall_type="open"

-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
  "Opportunity does not knock,
   it presents itself when you beat down the door" - W.E. Channing

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


SAMBA performance and FreeBSD

2003-03-04 Thread Bigbrother

I started to use samba with freebsd and I cant say that I am
satisfied with the performance of it. Specifically on my local 100Mbits
network the samba read speed on the server (athlon 1700) is < 1Mbit/sec,
while the write speed is much much worse.

If I ftp to that machine I have read speed of minimum 7Mbits/sec.

I am puzzled why the samba has so much worse performance.

Is anyone that using samba on his freebsd machine without any
performance loss? 

Or what typical read/write speeds do usually achieve on your samba
+freebsd machine?

Also if you have extra tips and tricks about samba and freebsd that can
boost the performance, they would be much appreciated. About tunning
parameters and so onThis machine will be the main server of a
laboratory of the university, and its not acceptable to have a low
speed.


Thanks very much in advance!!



P.s. I searched the net and I saw the people suggested changing the
net.inet.tcp.delayed_ack value, or measuring with tcpdump the MSS window
size and trying to put a formula on it to calculate the parameter
SO_RCVBUF
Of the samba and various other tricksDo they have a point?

P.s.2 I am also mounting with SUIDDIR the filesystems. Does this make a
performance loss?




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: atapicam in 4.8-PRERELEASE

2003-03-04 Thread Edmond Baroud
Quoting Scott A. Moberly ([EMAIL PROTECTED]):
> On Tue, Mar 04, 2003 at 01:20:46PM -0500, Edmond Baroud wrote:
> > Hello Scott,
> > 
> > Sorry I'm writing to you directly.
> 
> No problem.
> 
> > I'm affraid you misunderstood my question;
> 
> Nope I think I got it.
> 
> > > %camcontrol eject cd0
> > > ejects my LG cdrom
> 
> due to atapicam in your KERNEL config
> 
> > > and %mount /dev/cdrom /cdrom
> > > also mounts the LG cdrom.
> 
> due to atapicd in you KERNEL config
> 
> > the question is that I am supposed to control my CDRW through cd0 right?
> 
> When using atapicam, yes.
what do you mean? booting with a kernel that has option atapicam ?

> 
> > and not be able to eject my "regular" CDROM.
> 
> Incorrect, acd?c is still available with atapicd in the kernel config
> 
> > however, my cdrom is being detected at boot time as cd0, shouldnt cd0
> > be my CDRW?
> 
> Yes; however, acd0 will also be seen in your dmesg.  Not a problem, like I
> said in a previous post as long as you access only one of the devices, i.e
> /dev/acd0c or /dev/cd0 at a time.  You can remove the atapicd to minimize
> this risk, of course.
> 
> Hope this is a little more clear.
thanks for taking the time Scott :) but I still can't get the image..
I am aware that acd?c still shows up in my dmesg because I have both options in my 
kernel.
let me make this less painful :)..
how, what is the command that I can use to eject/load my parallel device, which shows 
as:
cd0 at ata1 bus 0 target 1 lun 0
cd0:  Removable CD-ROM SCSI-0 device
cd0: 16.000MB/s transfers
cd0: cd present [183123 x 2048 byte records]

I dont see any signs in my dmesg that says "CDR/CDRW. I dont know, I'm a bit confused 
here..
I've seen already other people's dmesg, and it shows their CDRW in dmesg

thanks again for ur time! :)

Ed.

> 
> -- 
> Scott A. Moberly
> [EMAIL PROTECTED]
> 
> A budget is just a method of worrying before you spend money, as well
> as afterward.

-- 
Edmond Baroud 
UNIX Systems Admin mailto:[EMAIL PROTECTED]
Fingerprint  140F 5FD5 3FDD 45D9 226D  9602 8C3D EAFB 4E19 BEF9
"UNIX is very user friendly, it's just picky about who its friends are."



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: hacking attempts?

2003-03-04 Thread YOU


On Tue, 4 Mar 2003, Kevin Kinsey, DaleCo, S.P. wrote:

> > him/her/it access to your sshd daemon. NOTE: It is 'normally not a
> good
> > idea' to do this, but if you don't want to rebuild with a firewall
> > configured kernel it will suffice.
> >
> And the reason it's not a "good idea"?  I've always
> assumed it was because you didn't want to be
> on vacation, at a friends house, or suddenly have
> your ISP switch subnets on you and lock you out
> of your box...
> 
> Absolutely nothing wrong with denying the
> supposed "cracker's" IP;  AAMOF, go over
> to ARIN or APNIC or such and ditch entire
> Class A nets that you'll never touch...I'll never
> be in SE Asia, for example...
> 
> I use a dual strategy here.  One machine only
> trusts a second; on the second box I deny
> the known bad guyz and let most others try...
> ...Needless to say, the really important stuff
> is on the first box...
> 

I was only quoting the default hosts.allow line for sshd which states:

# Wrapping sshd(8) is not normally a good idea... 

This is no reason not to use it since in the man for sshd it states:

/etc/hosts.allow, /etc/hosts.deny

Access controls that should be enforced by tcp-wrappers are defined
here.  Further details are described in hosts_access(5).

R.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: ad-hoc wireless mode and ticks (fwd)

2003-03-04 Thread Wilko Bulte
On Tue, Mar 04, 2003 at 07:20:25AM -0700, M. Warner Losh wrote:
> In message: <[EMAIL PROTECTED]>
> "Eko Suwarsono" <[EMAIL PROTECTED]> writes:
> : May be help,
> : 
> : http://www.live.com/wireless/unix-base-station.html
> : 
> : and a little explanation you can read at,
> : 
> : http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/wireless.html
> : 
> : Lucent (Orinoco / avaya) base wireless Card will not work for "hostap" or
> : "ibss-master" mode. To have your own FreeBSD host based Access point, you
> : must using Prism II or 2.5 Card.
> 
> That's not true.  Lucent cards *WILL* work as ibss-masters if their
> firmware is new enough.

Inquiring minds will ask soon anyway: what rev is 'new enough' ?

-- 
|   / o / /_  _ 
|/|/ / / /(  (_)  Bulte [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: gateway and other freebsd network function

2003-03-04 Thread Bill Moran
Chan, Herman (MTO) wrote:
Hi:

This might be a stupid question, but what is a gateway, I've heard many
great things about freebsd acting as a gateway to interent, but 
what is it really?
A gateway, also called a "default router" is a machine that knows how
to get network traffic "anywhere" (theoretically).
Thus, if you have a small (or large for that matter) network, each
computer will have a gateway configured so that if it doesn't know
how to reach a particular computer, it can send the data to the
gateway, and the gateway will figure out how to deliver it.
This is somewhat oversimplified, but should give you the idea.

And what are other good things about freebsd in terms of networking?
That's a pretty broad question.
In my opinion, the best thing about FreeBSD's networking is that it
just works.  No playing around, no silly browse masters to worry about.
Usually, you turn on the machine and it just works.
The next best thing is the abundance of network tools for performance
testing, problem diagnosis and just about anything else you could need.
But if you ask 5 other people, you'll probably get 5 other answers.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: sendmail 4.6 fixed binary on 4.5-RELEASE ?

2003-03-04 Thread Toomas Aas
> Date:  Tue, 4 Mar 2003 02:21:41 -0800 (PST)
> From:  Josh Brooks <[EMAIL PROTECTED]>

Format fixed (top-posting)

> On Tue, 4 Mar 2003, Toomas Aas wrote:
> 
> > Sendmail "architecture" on FreeBSD changed quite drastically between
> > 4.5-RELEASE and 4.6-RELEASE (see /usr/src/UPDATING for details).
> > I think that for this reason the binary update is not quite drop-in on
> > 4.5, but I'm really no expert.

> Then why don't they have a section in the SA that deals with 4.5 ?

Probably because if they would then someone would come and ask why they don't
have information about 4.4. And then about 4.3. And then... and then... 
and then... down to and including 1.0 :-)

For official word, see http://www.freebsd.org/security/#adv

--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* A woman's husband's previous wife is called her 'wife-in-law.'


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


gateway and other freebsd network function

2003-03-04 Thread Chan, Herman (MTO)
Hi:

This might be a stupid question, but what is a gateway, I've heard many
great things about freebsd acting as a gateway to interent, but 
what is it really?

And what are other good things about freebsd in terms of networking?

Thanks
Herman

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: atapicam in 4.8-PRERELEASE

2003-03-04 Thread Scott A. Moberly
On Tue, Mar 04, 2003 at 01:20:46PM -0500, Edmond Baroud wrote:
> Hello Scott,
> 
> Sorry I'm writing to you directly.

No problem.

> I'm affraid you misunderstood my question;

Nope I think I got it.

> > %camcontrol eject cd0
> > ejects my LG cdrom

due to atapicam in your KERNEL config

> > and %mount /dev/cdrom /cdrom
> > also mounts the LG cdrom.

due to atapicd in you KERNEL config

> the question is that I am supposed to control my CDRW through cd0 right?

When using atapicam, yes.

> and not be able to eject my "regular" CDROM.

Incorrect, acd?c is still available with atapicd in the kernel config

> however, my cdrom is being detected at boot time as cd0, shouldnt cd0
> be my CDRW?

Yes; however, acd0 will also be seen in your dmesg.  Not a problem, like I
said in a previous post as long as you access only one of the devices, i.e
/dev/acd0c or /dev/cd0 at a time.  You can remove the atapicd to minimize
this risk, of course.

Hope this is a little more clear.

-- 
Scott A. Moberly
[EMAIL PROTECTED]

A budget is just a method of worrying before you spend money, as well
as afterward.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


RFE: include CVSROOT-src in src-all cvsup distribution

2003-03-04 Thread Rolf Großmann
Hi,

I've noticed that recently the cvsup distribution of commitlogs has
been moved out of CVSROOT/commitlogs to CVSROOT-*/commitlogs and
replaced with a symlink. However, the CVSROOT-* directories are not
part of the corresponding *-all cvsup distribution (only cvs-all).
Would it be feasible to include them in those distributions aswell?
I've always appreciated being able to look at the logs.

Thanks, Rolf

PS: I couldn't find a list specific to cvsup, so I hope this is ok here.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: A couple of questions related to the sendmail patch, etc.

2003-03-04 Thread Giorgos Keramidas
On 2003-03-04 10:02, Phillip Smith <[EMAIL PROTECTED]> wrote:
:
: A couple of quick questions...
:
: I've downloaded the 8.11.6 patch from sendmail.org, and used the
: instructions they provided
: [patch -p0 < /PATH/TO/sendmail.8.11.6.security.cr.patch], which then
: prompts me for 'which file to patch.' I'm not clear on which file I
: _need_ to patch? Or where it would be.

You should run the patch command with /usr/src/contrib/sendmaill as
your current working directory.

: Second question, I'd like to re-compile my Kernel and some other
: things that required the sources to be installed. On one machine
: (where I didn't install then initially), I'm having a real challenge
: trying to get them (chicken and egg); using sysinstall, I'm trying
: to install additional distributions > sources > all. Unfortunately,
: the CD-ROM does not seem to be working on this box, so I'm trying
: via ftp... but I keep receiving this message:

Can you mount the CD-ROM at all?  If you manage to mount the CD-ROM
under /mnt/cdrom then you can copy the sources from /mnt/cdrom without
using sysinstall.

- Giorgos


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: mirror site

2003-03-04 Thread Giorgos Keramidas
On 2003-03-04 14:26, adrian kok <[EMAIL PROTECTED]> wrote:
> I would like to create 2 ftp sites from different regions
> What is the best way to mirror each other?

I'm not sure if I understand the question correctly, but you could
always decide in advance which of the two sites is the "master" and
periodically pull updates from the master to the secondary using any
method you prefer (i.e. rsync).

- Giorgos


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


PR sent through send-pr don'r reach actual PR list ????

2003-03-04 Thread Yuri
I've sent PR today using send-pr.

>From maillog I can tell that mail actually left to
[EMAIL PROTECTED] and was accepted.

But I don't see it in the PR list.

What's wrong 
Yuri


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


natd not working :(

2003-03-04 Thread Khairil Yusof
I'm having problems being a gateway for my freebsd box at home (I can
acccess internet, but others can't).

I have no problem to use the internet from my freebsd box with or
without the natd rule enabled.

This is what is puzzling me. I can access the outside net, through natd
and via tun0, so natd must be working. Again I confirmed this by the
count on ipfw rule which is showing that I am going through natd via the
divert rule.

What is it other than gateway, and natd that might be causing packets
not be routed properly for the other clients? I've checked that the
gateway ip and tcpip connection is ok for the clients also.

Any help would be much appreciated as always.

fxp0 = conneciton to local network
fxp1 = pppoe device that ppp uses
tun0

I've confirmed that,

net.inet.ip.forwarding: 1

and here's my setup:

in rc.conf

gateway_enable="YES"
ppp_enable="YES"
ppp_mode="ddial"
ppp_profile="streamyx"
firewall_enable="YES"
firewall_script="/etc/ipfw.rules"
firewall_quiet="NO"
log_in_vain="NO"
natd_enable="YES"
natd_interface="tun0"
natd_flags="-dynamic"

and my simple firewall rules (I've deleted stuff which is not important
and working like dns, ntp etc.):

#firewall command

fwcmd="/sbin/ipfw"

# Force a flushing of the current rules before we reload.
$fwcmd -f flush

# RULES FOR INTERNAL NETWORK ##

# Setup localhost
$fwcmd add allow ip from any to any via lo0

$fwcmd add allow any from any to any via fxp0

# Divert all packets through the tunnel interface.
$fwcmd add divert natd all from any to any via tun0




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


printing to HP LaserJet 4050 TN

2003-03-04 Thread Darren Spruell
We have this printer set up to print to from the network and I have 
printed to it by IP address before. It is connected to a Windows server 
but I would like to print directly to it by IP from my fbsd 4.7 box.

I have installed the cups-base, cups-pstoraster, and ghostscript-gnu 
packages. Afterwards I looked through the Handbook but didn't see 
anything that cleared up the process of configuring this printer.

TIA,

--
Darren Spruell
Sento IS Department
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: SBC DSL vs Fbsd 4.7 PPPoE?

2003-03-04 Thread Hostmaster
On Mon, 03 Mar 2003 17:05:50 PST [EMAIL PROTECTED] wrote:
> How-do.  Has anyone gotten SBC's DSL service working on FreeBSD?
> I've tinkered with netgraph, pppoe, and my ppp.conf file but still get an 

In the "netgraph modules" area of my /boot/loader.conf file should all be 
"NO?"  Is there a way to determine which version of the ppp binary I
have, or is this not useful?

> error about device tun0 or tun1; I'm not sure what to do.
> Also, how do I know what hostname to set in my rc.conf file ... before
> I've been assigned a dynamic IP??
> Please CC: me in your reply.  Thank you all.  PS-(SDBUG, next mtg?)

I noticed in the output of "kldstat" that "ng_pppoe.ko" was not listed;
is it somehow "built-in" to ppp?  Here is my ppp.conf file followed by
the errors (lots about missing colons).  Thanks everyone.

# Begin ppp.conf
default:
# Next line is Line 12 by the way
set log Phase tun command
set ifaddr 10.0.0.1/0 10.0.0.2/0

sbcdsl:
# Does next line require ":" on the end or should
# the next line be moved up to the default area with ":sbcdsl"
# added to the end of the line?
set device PPPoE:xl0
set authname myusernamehere
set authkey mypasswordhere
set dial
set login
add default HISADDR

# enable dns# request DNS info (for resolv.conf)
# End ppp.conf

# ppp -ddial sbcdsl
Warning: Bad label in /etc/ppp/ppp.conf (line 12) - missing colon
Mar  3 22:48:01 <3.4> freebsd ppp[209]: Warning: Bad label in /etc/ppp/ppp.conf
(line 12) - missing colon
Warning: Bad label in /etc/ppp/ppp.conf (line 13) - missing colon
Mar  3 22:48:01 <3.4> freebsd ppp[209]: Warning: Bad label in /etc/ppp/ppp.conf
(line 13) - missing colon
Working in ddial mode
Using interface: tun0
Warning: Bad label in /etc/ppp/ppp.conf (line 12) - missing colon
Mar  3 22:48:01 <3.4> freebsd ppp[209]: Warning: Bad label in /etc/ppp/ppp.conf
(line 12) - missing colon
Warning: Bad label in /etc/ppp/ppp.conf (line 12) - missing colon
Mar  3 22:48:01 <3.4> freebsd ppp[209]: Warning: Bad label in /etc/ppp/ppp.conf
(line 12) - missing colon
Warning: Bad label in /etc/ppp/ppp.conf (line 13) - missing colon
Mar  3 22:48:01 <3.4> freebsd ppp[209]: Warning: Bad label in /etc/ppp/ppp.conf
(line 13) - missing colon
Warning: Bad label in /etc/ppp/ppp.conf (line 16) - missing colon
Mar  3 22:48:01 <3.4> freebsd ppp...

Please CC: me in your reply.  PS, is SDBUG meeting this Thursday??

--
Peter Leftwich, President & Founder
Video2Video Services
Box 13692, La Jolla, CA, 92039 USA
http://Www.Video2Video.Com

(sent via http://www.mail.cloud9.net)



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Portupgrade -- revisited

2003-03-04 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Cliff Sarginson <[EMAIL PROTECTED]> typed:
> Portupgrade has too many ways it can go wrong for mere mortals.
> I have offered to re-write it.
> It will be a mega-project, but my offer is serious.
> And ruby (don't take our love to town) will place a less than significant
> role.

So what are you going to write it in? C?

BTW, did you know your email to freebsd-questions has an invalid From:
field in it? I keep getting bounces with host not found for
<[EMAIL PROTECTED]>.

  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


I'm leaving already

2003-03-04 Thread Frans-Jan v. Steenbeek

Hey all,

I'll remove myself from this list. It's to busy for my mail-server :)
I will stay active (more or less) on freebsd-chat and freebsd-newbies.

Have fun all!

-- 
tcGB <>< Fi-Ji ><>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Trying to run Quanta, but got error in libfreetype

2003-03-04 Thread Tom Hines
--- BSD baby <[EMAIL PROTECTED]> wrote:
> You didn't mention your KDE version, but I know that
> Quanta 3.1
> (the one that's in ports now) is meant to be run on
> KDE 3.1
> (also in ports now.)

I didn't install KDE.  I just installed Qt-3.1, then
Quanta via portinstall, which installed all the
dependencies, including kdelibs-3.1.


__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Portupgrade -- revisited

2003-03-04 Thread Stijn Hoop
On Tue, Mar 04, 2003 at 05:06:44PM +0100, Cliff Sarginson wrote:
> On Tue, Mar 04, 2003 at 10:00:08AM +0100, Stijn Hoop wrote:
> > 
> > Hope this helps to clear up some of the confusion.
> > 
> > --Stijn
> 
> Oh Mr Stijn. Listen, I am not tellimg you off, or making fun of you..Ok ?
> I promise. But my eyes crossed, went sidewyas, took a holiday, crawled
> across the floor looking for somewhere else to be.

What part did you not understand? I'll try and reword it for you.
Hopefully things can become clear then.

> Years and years ago I wrote a caculator program for DOS, using a
> recursive state-machine model and allowing infinite precision, kind of
> like "bc"..or is it "dc" ?
> Quite necessary at the time to deal with the Dutch Tax System.

What does that have to do with portupgrade?

If you're trying to convey the height of your programming skills, you've
succeeded -- I've never done the above, and probably never will.  My interests
lie elsewhere. To each his own.

I am not making fun of you either -- portupgrades *can* go wrong in many
subtle ways. However I enjoy finding out what exactly went wrong, and try to
fix things in the process. Even better if I can find where portupgrade got
things wrong, so that I can report them to the author.

Note that I'm still a convinced portupgrade user. Kent's story led me to find
out why portupgrade did what it did, and it cautioned me to again look more
closely at what exactly happened after my portupgrade runs. And like I said, I
succesfully used portupgrade to survive X, mozilla and gnumeric upgrades.
That's why I'm still convinced that there's something on your system that
prevents you from portupgrading KDE.  However you don't seem interested in
fixing this anymore; not my loss.

> Portupgrade has too many ways it can go wrong for mere mortals.
> I have offered to re-write it.
> It will be a mega-project, but my offer is serious.

That would be great. More alternatives is always better. Maybe you will also
encounter a lot of the difficulties of automatic dependencies and the like.
Maybe you can even make it part of the base system, or at least of the ports
system.

Regards,

--Stijn

-- 
Remember, kids: "Q" is always followed by "U". You can learn more on the
Internet in the Spelling FAQU.
-- James "Kibo" Parry


pgp0.pgp
Description: PGP signature


firewall

2003-03-04 Thread Brian Henning
Hello-
I am pretty new to natd and ipfw, so i would like to be able to describe what i
want
to be able to do with my new bsd router. This is to understand the nomenclature
and how understand

how other people use bsd as a router/firewall.
So far i have manually done this to my router.

>sysctl net.inet.ip.forwarding=1  # gateway_enable="YES"
>natd -interface rl1
>ipfw -f flush
>ipfw add divert natd all from any to any via rl1
>ipfw add pass all from any to any

notes:
r11 is my external network
rl0 is my internal network

here is what i would like to do in a more standard way. Please correct my
wording
if it is off or if it unclear.

port forward: ssh from a local machine port 22 to the router port 22, open to
the outside
port forward: vpn port 5001 for all local machines, open to the outside
block all servers on the router to the outside, but not the inside
anyone on the local network has access to services on the router

what else should i consider?

is port forwarding done with ip or with mac address?

cheers,

brian

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: hacking attempts?

2003-03-04 Thread Kevin Kinsey, DaleCo, S.P.
From: "YOU" <[EMAIL PROTECTED]>
To: "Phillip Smith (mailing list)" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, March 04, 2003 10:06 AM
Subject: Re: hacking attempts?



> On Tue, 4 Mar 2003, Phillip Smith (mailing list) wrote:
>
> >
> > I found this in my logs and I'm wondering if this is a hacking
attempt?
> > Should I be concerned?
> >
> > Also, if/when I see these, I'd like to add them to a blocked list
using
> > /sbin/ipfw, but get the following message when trying this
command:
> >
> > # /sbin/ipfw add 1 deny all from 151.204.100.88:255.255.255.255
to any
> > ipfw: getsockopt(IP_FW_ADD): Protocol not available
> >
> >
> > freedom.domain.com login failures:
> > Mar  2 11:38:33 freedom sshd[47912]: Failed none for illegal user
test
> > from 64.21.10.2
> > port 36747 ssh2
> > Mar  2 11:38:33 freedom sshd[47912]: Failed publickey for illegal
user
> > test from
> > 64.21.10.2 port 36747 ssh2
> > Mar  2 11:38:34 freedom sshd[47912]: Failed keyboard-interactive
for
> > illegal user test
> > from 64.21.10.2 port 36747 ssh2
> > Mar  2 11:38:34 freedom sshd[47912]: Failed password for illegal
user
> > test from
> > 64.21.10.2 port 36747 ssh2

>
> ipfw: getsockopt(blaah)
>
> Is your kernel configured for firewall work? Check LINT for
options.
>
> As well you should be able to use tcpwrappers, look in
> /etc/hosts.allow. You could add a deny for this 'persons' ip addy
denying
> him/her/it access to your sshd daemon. NOTE: It is 'normally not a
good
> idea' to do this, but if you don't want to rebuild with a firewall
> configured kernel it will suffice.
>
> Hope this helps.
>
> R.
>
And the reason it's not a "good idea"?  I've always
assumed it was because you didn't want to be
on vacation, at a friends house, or suddenly have
your ISP switch subnets on you and lock you out
of your box...

Absolutely nothing wrong with denying the
supposed "cracker's" IP;  AAMOF, go over
to ARIN or APNIC or such and ditch entire
Class A nets that you'll never touch...I'll never
be in SE Asia, for example...

I use a dual strategy here.  One machine only
trusts a second; on the second box I deny
the known bad guyz and let most others try...
...Needless to say, the really important stuff
is on the first box...

Kevin Kinsey



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: boring old me, KDE revisited

2003-03-04 Thread Andrew Y Ng
we need more information to figure out what your problem is, I and many
others have built or upgraded KDE many many times and have working versions
of KDE. portupgrade works like a charm for me, either when using it to build
from ports (source), or setting the PACKAGESITE environment variable to point
to the KDE package site at fruitsalad.org (check 
http://rabarber.fruitsalad.org/ for fully qualified path) and specify the -P 
option to install binary package.

/ayn
-- 
andrew y ng  <[EMAIL PROTECTED]>  http://andrewng.com
independent computer consultants http://aynassociates.com


On  0, Cliff Sarginson <[EMAIL PROTECTED]> wrote:
> I hae taken all adice given.
> I stil do not have a working KDE, 
> -- 
> Regards
>Cliff



pgp0.pgp
Description: PGP signature


Re: Sendmail patch questions...

2003-03-04 Thread Giorgos Keramidas
On 2003-03-03 21:15, Terry Todd <[EMAIL PROTECTED]> wrote:
> On Mon, Mar 03, 2003 at 08:53:26PM -0600, Terry Todd wrote:
> > I'm also running 8.11.6.  I installed the correct patch from
> > sendmail.org but haven't figured out how to get it to compile.
> > The README says:
> >
> > *
> > !! DO NOT USE MAKE !!  in this directory to compile sendmail --
> > *  instead, use the "Build" script located in
> > the sendmail directory.
> >
> > However, there is no "Build" script.
> >
> > Now what?
>
> Looks like in FreeBSD you need to cd to /usr/src/usr/sbin/sendmail
> and run make install after applying the patch from sendmail.org
> Then restart sendmail.
>
> Is there a way to test that the vulnerability has been fixed?

There are also a few other things you need to recompile:

# cd /usr/src
# for dirname in lib/libsm lib/libsmdb lib/libsmutil \
lib/libmilter bin/rmail libexec/mail.local \
libexec/smrsh usr.bin/vacation usr.sbin/editmap \
usr.sbin/mailstats usr.sbin/makemap \
usr.sbin/praliases usr.sbin/sendmail
do
cd "${dirname}"
make cleandir && make cleandir
make obj && make depend && make && make install
cd /usr/src
done

- Giorgos

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Cannot boot FreeBSD kernel with etherboot

2003-03-04 Thread Nathan Kinkade
On Tue, Mar 04, 2003 at 02:38:29PM +0100, Heinrich Rebehn wrote:
> Heinrich Rebehn wrote:
> >Hi list,
> >
> >trying to boot a FreeBSD kernel with etherboot 5.0.6 results in:
> >
> >...
> >Loading 134.102.176.16:/tftpboot/bsd-diskless ...(ELF)... segment does 
> >not fit in any memory region
> >
> >What does this mean?

I'm not sure exactly what the message means, but I've had the same
problem recently.  It appears to be related to the network card - not
the boot ROM.  I have one diskless machine up and running - booting from
a ROM on an Intel Pro100.  I have another Intel Pro100 with a built-on
ROM chip.  Now, my known good machine will not boot with this second
card.  I get the same error as you about "segment...memory region".
Both of the cards have the _exact_ same image loaded - by the way,
neither of them have the -DIMAGE_FREEBSD option set.  So apparently the
-DIMAGE_FREEBSD option is not necessary, as I daily boot and use a
machine from a ROM image that does not have this feature.  Also, I have
been getting my ROM images from http://rom-o-matic.org.  I find it very
convenient and altogether easier than using the ports version, not to
mention that the version is newer.  Anyway, my experiments seem to point
to the fact that it has something to do with the card, not the image or
the machine itself.  I have two machines with which to test.  Both
machines boot fine with one card, and both machines fail with the second
card, giving the same error you mention above.  However, I could be way
off base, and I'm definitely going to try loading an image with the
-DIMAGE_FREEBSD option set onto the problem card and see what happens.

> >
> >The kernel is 2390599 bytes. Did i hit a size limitation?
> >I am attaching the Etherboot Config file.
> 
> I have found the solution myself, i forgot "-DIMAGE_FREEBSD", in fact i 
> thought i set it at my 2nd try, but on the 2nd try, i had the floppy write 
> protected, which i didn't notice.. :-(
> 
> Now the kernel gets loaded, last output from etherboot is "done" 
> and then the system reboots.. :-(

This is probably not a ROM issue, but instead a problem with the kernel
you compiled.  Make sure that you have set the machine type correctly
your kernel config file.  Also, and this one got me, make sure that you
set the appropirate CPUTYPE in your /etc/make.conf file.  For the
longest time I had your exact problem - the kernel would load and then
the machine would immediately reboot.  I beat my head on the wall for
quite some time before I realized that my make.conf file was set to
build for CPUTYPE=i686, but I was trying to boot the kernel on i586.  As
soon as I specified the correct the CPUTYPE all was well.

I hope this helps, and I'll let you know if setting -DIMAGE_FREEBSD
works for my problem card.

> Heinrich



-- 
GPG Public Key ID: 0x4250A04C
gpg --keyserver pgp.mit.edu --recv-keys 4250A04C
http://63.105.21.156/gpg_nkinkade_4250A04C.asc


pgp0.pgp
Description: PGP signature


USB Mass storage (Datafab)

2003-03-04 Thread Irvine Short
Hi All

There's a pile of pretty neat USB attached gadgets out there.

We just got a USB 2.0 external case with a 2.5" notebook drive in it.
It's a Datafab MD2-USB2A.
On my machine running 4-STABLE as of this afternoon with USB 1.0 ports 
whenever I try to access it I get this:

gopak# disklabel -w -r da0 auto
disklabel: /dev/da0c: Input/output error
and in /var/log/messages I get this:
Mar  4 17:31:32 gopak /kernel: da0: reading primary partition table: 
error reading fsbn 0

On a 5.0 machine (5.0-RELEASE-p3) with USB 2.0 ports (Intel 845 based 
motherboard) I get this:

[EMAIL PROTECTED]:~$ disklabel -wr da0 auto
  disklabel: /dev/da0: Input/output error
and in  /var/log/messages:
Mar  4 12:00:52 fusion kernel: umass0: vendor 0x07c4 USB 2.0 Storage 
Device, rev 2.00/1.04, addr 2
  Mar  4 12:00:52 fusion kernel: umass0: Residue incorrect, was 0, 
should've been 219
  Mar  4 12:00:52 fusion last message repeated 4 times
  Mar  4 12:00:52 fusion kernel: da0 at umass-sim0 bus 0 target 0 lun 0
  Mar  4 12:00:52 fusion kernel: da0:  
Fixed Direct Access SCSI-0 device
  Mar  4 12:00:52 fusion kernel: da0: 1.000MB/s transfers
  Mar  4 12:00:52 fusion kernel: da0: 38154MB (78140160 512 byte 
sectors: 255H 63S/T 4864C)
  Mar  4 12:00:52 fusion kernel: umass0: Residue incorrect, was 0, 
should've been 512
  Mar  4 12:00:53 fusion last message repeated 14 times
  Mar  4 12:01:25 fusion kernel: umass0: Residue incorrect, was 0, 
should've been 8192
  Mar  4 12:01:25 fusion last message repeated 4 times
  Mar  4 12:01:26 fusion kernel: umass0: Residue incorrect, was 0, 
should've been 512
  Mar  4 12:01:26 fusion last message repeated 14 times
  Mar  4 12:02:33 fusion kernel: umass0: at uhub0 port 2 (addr 2) 
disconnected
  Mar  4 12:02:33 fusion kernel: (da0:umass-sim0:0:0:0): lost device
  Mar  4 12:02:33 fusion kernel: (da0:umass-sim0:0:0:0): removing 
device entry
  Mar  4 12:02:33 fusion kernel: umass0: detached

Anyone ever make these things work? Under Windoze 2000 and XP it just 
works, no hassle at all.

Cheers,

--

Irvine Short

Sys Admin
SANBI, University of the Western Cape, South Africa
http://www.sanbi.ac.za
tel: +27-21-959 3645
cel: +27-82-494 3828
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Portupgrade -- revisited

2003-03-04 Thread Cliff Sarginson
On Tue, Mar 04, 2003 at 10:00:08AM +0100, Stijn Hoop wrote:
> 
> Hope this helps to clear up some of the confusion.
> 
> --Stijn

Oh Mr Stijn. Listen, I am not tellimg you off, or making fun of you..Ok ?
I promise. But my eyes crossed, went sidewyas, took a holiday, crawled
across the floor looking for somewhere else to be.
Years and years ago I wrote a caculator program for DOS, using a
recursive state-machine model and allowing infinite precision, kind of
like "bc"..or is it "dc" ?
Quite necessary at the time to deal with the Dutch Tax System.

Portupgrade has too many ways it can go wrong for mere mortals.
I have offered to re-write it.
It will be a mega-project, but my offer is serious.

And ruby (don't take our love to town) will place a less than significant
role.


-- 
Regards
   Cliff

[ This mail has been checked as virus-free ]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: hacking attempts?

2003-03-04 Thread YOU

ipfw: getsockopt(blaah)

Is your kernel configured for firewall work? Check LINT for options.

As well you should be able to use tcpwrappers, look in
/etc/hosts.allow. You could add a deny for this 'persons' ip addy denying
him/her/it access to your sshd daemon. NOTE: It is 'normally not a good
idea' to do this, but if you don't want to rebuild with a firewall
configured kernel it will suffice.

Hope this helps.

R.

On Tue, 4 Mar 2003, Phillip Smith (mailing list) wrote:

> 
> I found this in my logs and I'm wondering if this is a hacking attempt?
> Should I be concerned?
> 
> Also, if/when I see these, I'd like to add them to a blocked list using
> /sbin/ipfw, but get the following message when trying this command:
> 
> # /sbin/ipfw add 1 deny all from 151.204.100.88:255.255.255.255 to any
> ipfw: getsockopt(IP_FW_ADD): Protocol not available
> 
> 
> freedom.domain.com login failures:
> Mar  2 11:38:33 freedom sshd[47912]: Failed none for illegal user test
> from 64.21.10.2
> port 36747 ssh2
> Mar  2 11:38:33 freedom sshd[47912]: Failed publickey for illegal user
> test from
> 64.21.10.2 port 36747 ssh2
> Mar  2 11:38:34 freedom sshd[47912]: Failed keyboard-interactive for
> illegal user test
> from 64.21.10.2 port 36747 ssh2
> Mar  2 11:38:34 freedom sshd[47912]: Failed password for illegal user
> test from
> 64.21.10.2 port 36747 ssh2
> Mar  2 11:38:34 freedom sshd[47912]: Failed password for illegal user
> test from
> 64.21.10.2 port 36747 ssh2
> Mar  2 11:38:37 freedom sshd[47913]: Failed none for illegal user oracle
> from 64.21.10.2
> port 36984 ssh2
> Mar  2 11:38:38 freedom sshd[47913]: Failed publickey for illegal user
> oracle from
> 64.21.10.2 port 36984 ssh2
> Mar  2 11:38:38 freedom sshd[47913]: Failed keyboard-interactive for
> illegal user oracle
> from 64.21.10.2 port 36984 ssh2
> Mar  2 11:38:38 freedom sshd[47913]: Failed password for illegal user
> oracle from
> 64.21.10.2 port 36984 ssh2
> Mar  2 11:38:38 freedom sshd[47913]: Failed password for illegal user
> oracle from
> 64.21.10.2 port 36984 ssh2
> Mar  2 11:38:41 freedom sshd[47914]: Failed none for illegal user guest
> from 64.21.10.2
> port 37171 ssh2
> Mar  2 11:38:41 freedom sshd[47914]: Failed publickey for illegal user
> guest from
> 64.21.10.2 port 37171 ssh2
> Mar  2 11:38:41 freedom sshd[47914]: Failed keyboard-interactive for
> illegal user guest
> from 64.21.10.2 port 37171 ssh2
> Mar  2 11:38:41 freedom sshd[47914]: Failed password for illegal user
> guest from
> 64.21.10.2 port 37171 ssh2
> Mar  2 11:38:41 freedom sshd[47914]: Failed password for illegal user
> guest from
> 64.21.10.2 port 37171 ssh2
> Mar  2 11:38:44 freedom sshd[47915]: Failed password for ROOT from
> 64.21.10.2 port 37187
> ssh2
> Mar  2 11:38:45 freedom sshd[47915]: Failed password for ROOT from
> 64.21.10.2 port 37187
> ssh2
> Mar  2 11:38:48 freedom sshd[47916]: Failed password for nobody from
> 64.21.10.2 port
> 37211 ssh2
> Mar  2 11:38:48 freedom sshd[47916]: Failed password for nobody from
> 64.21.10.2 port
> 37211 ssh2
> Mar  2 11:38:52 freedom sshd[47917]: Failed password for games from
> 64.21.10.2 port
> 37215 ssh2
> Mar  2 11:38:52 freedom sshd[47917]: Failed password for games from
> 64.21.10.2 port
> 37215 ssh2
> Mar  2 11:38:56 freedom sshd[47918]: Failed none for illegal user user
> from 64.21.10.2
> port 37217 ssh2
> Mar  2 11:38:56 freedom sshd[47918]: Failed publickey for illegal user
> user from
> 64.21.10.2 port 37217 ssh2
> Mar  2 11:38:56 freedom sshd[47918]: Failed keyboard-interactive for
> illegal user user
> from 64.21.10.2 port 37217 ssh2
> Mar  2 11:38:56 freedom sshd[47918]: Failed password for illegal user
> user from
> 64.21.10.2 port 37217 ssh2
> Mar  2 11:38:56 freedom sshd[47918]: Failed password for illegal user
> user from
> 64.21.10.2 port 37217 ssh2
> Mar  2 11:38:59 freedom sshd[47919]: Failed password for ROOT from
> 64.21.10.2 port 37218
> ssh2
> Mar  2 11:38:59 freedom sshd[47919]: Failed password for ROOT from
> 64.21.10.2 port 37218
> 
> 
> --
> Phillip
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
> 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: [SDBUG] SBC DSL vs Fbsd 4.7 PPPoE?

2003-03-04 Thread Amit Chakradeo
On Mon, Mar 03, 2003 at 05:05:50PM -0800, [EMAIL PROTECTED] wrote:
> How-do.  Has anyone gotten SBC's DSL service working on FreeBSD?

Yes.

> I've tinkered with netgraph, pppoe, and my ppp.conf file but still get an
> error about device tun0 or tun1; I'm not sure what to do.

man ppp
man 8 pppoe

It works with generic kernel. ppp loads the netgraph module
automatically. Here is what you need to have in rc.conf:

ifconfig_rl0="up"   
ppp_enable="YES"
ppp_mode="ddial"
ppp_nat="YES"
ppp_profile="SBC"

Then in ppp.conf you have:
default:
set log Phase tun command
set ifaddr 10.0.0.1/0 10.0.0.2/0
SBC:
set device PPPoE:rl0
set authname [EMAIL PROTECTED]
set authkey mypassword
set dial
set login
add default HISADDR


Note, my external interface is rl0 and ppp_profile points to relevant
stanza in ppp.conf

You can also add line in /etc/ppp/ppp.linkup to update the ipnat and ipf
rules. Use tun0 as the external interface. DO not filter on rl0.

Email me privately if you need help...
Amit

> 
> Also, how do I know what hostname to set in my rc.conf file ... before
> I've been assigned a dynamic IP??
> 
> Please CC: me in your reply.  Thank you all.  PS-(SDBUG, next mtg?)
> 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: need database suggestion for *.mdb files

2003-03-04 Thread Clement Laforet
On 04 Mar 2003 09:30:16 -0600
"Kirk R. Wythers" <[EMAIL PROTECTED]> wrote:

> I just received an attachment that was saved as an Access db. Can anyone
> suggest an application to deal with this file. I'm not familiar enough
> with freebsd's database options to know if any of them read .mdb files. 

/usr/ports/databases/mdbtools/

clem

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: hacking attempts?

2003-03-04 Thread Bill Moran
Phillip Smith (mailing list) wrote:
I found this in my logs and I'm wondering if this is a hacking attempt?
Probably.

Should I be concerned?
Probably not, as long as you use good passwords for everything, you're
probably safe (unless you use telnet or ftp or something).
Also, if/when I see these, I'd like to add them to a blocked list using
/sbin/ipfw, but get the following message when trying this command:
# /sbin/ipfw add 1 deny all from 151.204.100.88:255.255.255.255 to any
ipfw: getsockopt(IP_FW_ADD): Protocol not available
Doesn't seem like IPFW is enabled.  What does your rc.conf look like?
You should enable it in /etc/rc.conf and select a good basic ruleset.
Additionally, when you add block rules like this, you should add them
to you /etc/rc.firewall script so they get preserved across a reboot.
freedom.domain.com login failures:
Mar  2 11:38:33 freedom sshd[47912]: Failed none for illegal user test
from 64.21.10.2
port 36747 ssh2
Mar  2 11:38:33 freedom sshd[47912]: Failed publickey for illegal user
test from
64.21.10.2 port 36747 ssh2
Mar  2 11:38:34 freedom sshd[47912]: Failed keyboard-interactive for
illegal user test
from 64.21.10.2 port 36747 ssh2
Mar  2 11:38:34 freedom sshd[47912]: Failed password for illegal user
test from
64.21.10.2 port 36747 ssh2
Mar  2 11:38:34 freedom sshd[47912]: Failed password for illegal user
test from
64.21.10.2 port 36747 ssh2
Mar  2 11:38:37 freedom sshd[47913]: Failed none for illegal user oracle
from 64.21.10.2
port 36984 ssh2
Mar  2 11:38:38 freedom sshd[47913]: Failed publickey for illegal user
oracle from
64.21.10.2 port 36984 ssh2
Mar  2 11:38:38 freedom sshd[47913]: Failed keyboard-interactive for
illegal user oracle
from 64.21.10.2 port 36984 ssh2
Mar  2 11:38:38 freedom sshd[47913]: Failed password for illegal user
oracle from
64.21.10.2 port 36984 ssh2
Mar  2 11:38:38 freedom sshd[47913]: Failed password for illegal user
oracle from
64.21.10.2 port 36984 ssh2
Mar  2 11:38:41 freedom sshd[47914]: Failed none for illegal user guest
from 64.21.10.2
port 37171 ssh2
Mar  2 11:38:41 freedom sshd[47914]: Failed publickey for illegal user
guest from
64.21.10.2 port 37171 ssh2
Mar  2 11:38:41 freedom sshd[47914]: Failed keyboard-interactive for
illegal user guest
from 64.21.10.2 port 37171 ssh2
Mar  2 11:38:41 freedom sshd[47914]: Failed password for illegal user
guest from
64.21.10.2 port 37171 ssh2
Mar  2 11:38:41 freedom sshd[47914]: Failed password for illegal user
guest from
64.21.10.2 port 37171 ssh2
Mar  2 11:38:44 freedom sshd[47915]: Failed password for ROOT from
64.21.10.2 port 37187
ssh2
Mar  2 11:38:45 freedom sshd[47915]: Failed password for ROOT from
64.21.10.2 port 37187
ssh2
Mar  2 11:38:48 freedom sshd[47916]: Failed password for nobody from
64.21.10.2 port
37211 ssh2
Mar  2 11:38:48 freedom sshd[47916]: Failed password for nobody from
64.21.10.2 port
37211 ssh2
Mar  2 11:38:52 freedom sshd[47917]: Failed password for games from
64.21.10.2 port
37215 ssh2
Mar  2 11:38:52 freedom sshd[47917]: Failed password for games from
64.21.10.2 port
37215 ssh2
Mar  2 11:38:56 freedom sshd[47918]: Failed none for illegal user user
from 64.21.10.2
port 37217 ssh2
Mar  2 11:38:56 freedom sshd[47918]: Failed publickey for illegal user
user from
64.21.10.2 port 37217 ssh2
Mar  2 11:38:56 freedom sshd[47918]: Failed keyboard-interactive for
illegal user user
from 64.21.10.2 port 37217 ssh2
Mar  2 11:38:56 freedom sshd[47918]: Failed password for illegal user
user from
64.21.10.2 port 37217 ssh2
Mar  2 11:38:56 freedom sshd[47918]: Failed password for illegal user
user from
64.21.10.2 port 37217 ssh2
Mar  2 11:38:59 freedom sshd[47919]: Failed password for ROOT from
64.21.10.2 port 37218
ssh2
Mar  2 11:38:59 freedom sshd[47919]: Failed password for ROOT from
64.21.10.2 port 37218
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Setting up Unknown ISA Ethernet Card

2003-03-04 Thread Marc Schneiders
On Tue, 4 Mar 2003, at 10:30 [=GMT-0500], Chan, Herman (MTO) wrote:

> I am new to freebsd and I am trying to set up a ISA ethernet card so I can
> connect to interent with my cable modem.
>
> Since I don't know the brand name of the ISA ethernet card,

There must be something written on this card. Enter that in Google and
see what comes up. Or tell it here, if Google doesn't work.

> I've been having
> hard time setting up the OS.
>
> Any idea how can I make it work, is there any way I can see the IRQ and port
> for the ISA card without runny another
> OS on the machine?

Does FreeBSD _see_ your card? Is it mentioned in the kernel messages?
If so, what do they exactly say? Or if you get to the install, is the
card listed among the network devices that you can use to install
over? Look for some device with a mac address, e.g.:

ep0: <3Com 3C509-Combo EtherLink III> at port 0x310-0x31f irq 10 on
isa0
ep0: Ethernet address 00:60:08:47:b1:0b

This "Ethernet address" indicates that it is an ethernet card :-)

> And how can I test if the ethernet card is up and running?

Usually there is some sort of DOS program for these old cards. You can
run it from a DOS floppy. This program can be used to set IRQ etc. as
well as to test the functioning.

Some of these cards also can be set to both BNC and UTP connectors,
some even have AUI. Often this works fine when set to auto. However,
if it set by some setup program in the past to do BNC and you use UTP,
it won't communicate obviously.

Some cards do have jumpers to set IRQ etc.

And then you have to enter the correct data of IRQ etc during the
FreeBSD install. Precisely because it is ISA.

And sometimes you also have to set the IRQ and memory address as
reserved in the BIOS. Otherwise those of your ISA card may be used by
some PCI device, and then it doesn't work, of course. In my experience
this is true for the Western Digital 8013 cards.

It is a bit of work, but many of these old cards do run fine still,
and you can pick them up from the street. Same with BNC cable, which
has far better connectors than UTP (RJ45, a.k.a. cat 5). I mean, stand
on a RJ45 connector, and you know what I mean. And you don't need a
hub, and have less cables on the floor, since BNC is daisy chain. So
if you are not going for 100 MBit, go ahead.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Setting up Unknown ISA Ethernet Card

2003-03-04 Thread Jasvinder S. Bahra
Log in as root, and enter the command 'dmesg'. Look through the output (you may need 
to scroll up using the Scroll Lock key).

You should see an entry for all the hardware in your machine.

Jazz

- Original Message - 
> Hi:
> 
> I am new to freebsd and I am trying to set up a ISA ethernet card so I can
> connect to interent with my cable modem.
> 
> Since I don't know the brand name of the ISA ethernet card, I've been having
> hard time setting up the OS.
> 
> Any idea how can I make it work, is there any way I can see the IRQ and port
> for the ISA card without runny another
> OS on the machine?
> 
> And how can I test if the ethernet card is up and running?
> 
> Thanks in advance.
> Herman



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: dev ufm0

2003-03-04 Thread Brian Henning
I tried that with no luck.

[EMAIL PROTECTED]/dev > sh MAKEDEV ufm
ufm - no such device name



- Original Message -
From: "Peter Elsner" <[EMAIL PROTECTED]>
To: "Brian Henning" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, March 04, 2003 9:30 AM
Subject: Re: dev ufm0


> Try...
>
> sh MAKEDEV ufm
>
>
>
> At 09:26 AM 3/4/2003 -0600, you wrote:
> >Hello -
> >I am trying to use my usb FM radio on freebsd, but i am having problems
> >creating
> >the device.
> >any suggestions?
> >
> >Cheers,
> >
> >brian
> >
> >[EMAIL PROTECTED]/home/henninb > ls /dev/ufm0*
> >ls: No match.
> >[EMAIL PROTECTED]/home/henninb > dmesg | grep ufm
> >ufm0: GemTek Corp USB FM Radio, rev 1.00/4.10, addr 2
> >[EMAIL PROTECTED]/home/henninb > cd /dev
> >[EMAIL PROTECTED]/dev > sh MAKEDEV ufm
> >ufm - no such device name
> >[EMAIL PROTECTED]/dev > sh MAKEDEV ufm0
> >ufm0 - no such device name
> >
> >To Unsubscribe: send mail to [EMAIL PROTECTED]
> >with "unsubscribe freebsd-questions" in the body of the message
>
> --

> Peter Elsner <[EMAIL PROTECTED]>
> Vice President Of Customer Service (And System Administrator)
> 1835 S. Carrier Parkway
> Grand Prairie, Texas 75051
> (972) 263-2080 - Voice
> (972) 263-2082 - Fax
> (972) 489-4838 - Cell Phone
> (425) 988-8061 - eFax
>
> I worry about my child and the Internet all the time, even though she's
> too young to have logged on yet. Here's what I worry about. I worry
> that 10 or 15 years from now, she will come to me and say "Daddy, where
> were you when they took freedom of the press away from the Internet?"
> -- Mike Godwin
>
> Unix IS user friendly... It's just selective about who its friends are.
> System Administration - It's a dirty job, but somebody said I had to do it.
> If you receive something that says 'Send this to everyone you know,
> pretend you don't know me.
>
> Standard $500/message proofreading fee applies for UCE.
>

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


  1   2   >