semget problems

2002-12-21 Thread paul beard
Hey,

I am having some problems with semaphores on a 4.7-RELEASE system using 
gramofile. Allis well the first time I use it, but subsequent uses will 
kick back a "semget: no space left on device" when I try to playback a 
sound file.

there were some conversations about this in years past, but I don't see 
how to solve it. What I ended up doing was adding the Sys V semaphore 
stuff from LINT and cutting the number of semaphore per ID to 33 out of 
a system total of 61.

http://www.google.com/search?hl=en&ie=ISO-8859-1&q=kern%2F12014

http://www.geocrawler.com/mail/thread.php3?subject=semaphores%2Fsemget+problem&list=159

Any guidance on this one? I'll be rebooting to see if that helps, but if 
anyone can spare me the trial-and-guess process, I'd appreciate it.

--
Paul Beard / 8040 27th Ave NE / Seattle WA 98115 
weblog @ 

Love is sentimental measles.







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


Re: half speed on 10/100 nic?

2002-12-21 Thread Dragoncrest
You mean are there several connections sharing the same 
bandwidth?  Not normally.  Rarely are there two simultaneous connections 
going.  But when we do connect, we usually hit it hard for brief periods of 
time of 2-5 minutes on most things.  Transfer of things across the net via 
FTP will have it tied up for about 1-2 hours from time to time, but that's 
about it.  That's why it baffles me why when I ask for full bandwidth and I 
am the only one using it I only get 50% of max speed.

At 02:57 PM 12/21/02 -0500, you wrote:
Dragoncrest <[EMAIL PROTECTED]> writes:

>   Hi all.  Got a weird one for ya.  Got a server that's using
> Freebsd 4.5 and a Kingston 10/100 nic.  One problem.  I can only get
> it to go at half speed.  No matter the link, no matter what speed
> setting its set at, I can only get half of the total available speed.

Will multiple, separate connections use the total speed?




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



Re: half speed on 10/100 nic?

2002-12-21 Thread Dragoncrest


How are you testing the transfer rates?


FTP is the primary way.  I also look at the download speeds for 
http via lynx, samba, and wget.

What type of network is the machine connected to?


Standard 10/100mbps lan via Cat5e.


Are there more than a couple of machines active on this network?


Just 2 currently.  This machine and one workstation.  The server 
sits next to my workstation and acts as a general departmental file 
server.  It's a low usage server too, so 2 people on at the same time is rare.

Are you using hubs or switches?


Dedicated switch.




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



Re: half speed on 10/100 nic?

2002-12-21 Thread Dragoncrest
You might want to post what dmesg says about the nic and the output

from:-
ifconfig 
netstat -i 

Transfer speeds can be affected by a host of factors, so its worth
posting as much information about the set up as possible.


Sorry.  My apologies.  I should have posted that.  Here's the info 
from IFconfig.

rl0: flags=8843 mtu 1500
inet6 fe80::220:18ff:fed5:2746%rl0 prefixlen 64 scopeid 0x1
inet 192.168.0.25 netmask 0xff00 broadcast 192.168.0.255
ether 00:20:18:d5:27:46
media: Ethernet autoselect (100baseTX)
status: active
lp0: flags=8810 mtu 1500
lo0: flags=8049 mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet 127.0.0.1 netmask 0xff00
ppp0: flags=8010 mtu 1500
sl0: flags=c010 mtu 552
faith0: flags=8002 mtu 1500
tun0: flags=8010 mtu 1500
inet6 fe80::220:18ff:fed5:2746%tun0 prefixlen 64 scopeid 0x7

Here's the info from netstat -i

rl0   1500  00:20:18:d5:27:46  1283479 0  1245334 0  3695
rl0   1500  fe80:1::220 fe80:1::220:18ff:0 -0 - -
rl0   1500  192.168.0 dragoncrest  1276469 -  1237615 - -
lp0*  1500   0 00 0 0
lo0   16384 311776 0   311776 0 0
lo0   16384 localhost   ::1  21624 -21624 - -
lo0   16384 fe80:3::1   fe80:3::10 -0 - -
lo0   16384 your-net  localhost 290152 -   290152 - -
ppp0* 1500   0 00 0 0
sl0*  5520 00 0 0
faith 1500   0 00 0 0
tun0* 1500   0 02 0 0
tun0* 1500  fe80:7::220 fe80:7::220:18ff:0 -0 - -

Thanks for the help!!



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


Re: About Evolution?

2002-12-21 Thread Brian
locate evolution reveals a mail port by that name.

> locate evolution
/usr/ports/mail/evolution

Bri

- Original Message -
From: "Mark-Nathaniel Weisman" <[EMAIL PROTECTED]>
To: "FreeBSD Questions" <[EMAIL PROTECTED]>
Sent: Saturday, December 21, 2002 9:33 PM
Subject: About Evolution?


> Hey all,
>   Does anyone know if there is a ported copy of Evolution for FreeBSD? Or
LinNeighborHood? I need both of those apps to work, and I get tons of errors
with both of these apps when I try to install them under FreeBSD v4.5 with
KDE. Any help?
>
> His Servant,
> Mark Weisman
>
> 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



About Evolution?

2002-12-21 Thread Mark-Nathaniel Weisman
Hey all,
  Does anyone know if there is a ported copy of Evolution for FreeBSD? Or 
LinNeighborHood? I need both of those apps to work, and I get tons of errors with both 
of these apps when I try to install them under FreeBSD v4.5 with KDE. Any help?

His Servant, 
Mark Weisman

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



Re: Refusing Connections

2002-12-21 Thread Matthew Emmerton

Does 'sockstat' show that httpd is listening on port 80?

Matt

- Original Message -
From: "Jimi Thompson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, December 22, 2002 12:53 AM
Subject: Refusing Connections


> OS - 5.0 RC2
> Apache - 2.0.43
> OpenSSL - 0.9.6g
>
> I'm having a rather odd problem and I can't quite put my finger on it.   I
> can verify that the apache httpd is running but I am unable to connect to
> the box on port 80.
> I verified that httpd.conf specifies port 80.  I've verified that the
> firewall is disabled.  I can connect on other ports so I know that the
> network settings are working properly.If someone could point out what
> I'm missing, I'd really appreciate it.  I have a feeling that it's going
to
> be a "DOH!" momemt.
>
> Thanks,
>
> Ms. Jimi Thompson
>
> Those who are too smart to engage in politics are punished by being
governed
> by those who are dumber. - Plato
>
>
> 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



Refusing Connections

2002-12-21 Thread Jimi Thompson
OS - 5.0 RC2
Apache - 2.0.43
OpenSSL - 0.9.6g

I'm having a rather odd problem and I can't quite put my finger on it.   I
can verify that the apache httpd is running but I am unable to connect to
the box on port 80.
I verified that httpd.conf specifies port 80.  I've verified that the
firewall is disabled.  I can connect on other ports so I know that the
network settings are working properly.If someone could point out what
I'm missing, I'd really appreciate it.  I have a feeling that it's going to
be a "DOH!" momemt.

Thanks,

Ms. Jimi Thompson

Those who are too smart to engage in politics are punished by being governed
by those who are dumber. - Plato


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



Re: Copying a CD

2002-12-21 Thread John Bleichert
On Sat, 21 Dec 2002, Mike Jeays wrote:
> Subject: Copying a CD
> 
> How can I use dd to copy a  CD?   The command below does not
> work - I presume I have failed to understand something.  I have tried other
> devices begining "acd".
> 
> 209 ~# dd if=/dev/acd0c of=x1
> dd: /dev/acd0c: Invalid argument
> 0+0 records in
> 0+0 records out
> 0 bytes transferred in 0.000219 secs (0 bytes/sec)
> 210 ~#
> 211 /dev# ls -l acd*
> crw-r-  4 root operator  0,13568 Dec 21 2002 19:33 acd0a
> crw-r-  4 root operator  0,13568 Dec 21 2002 19:33 acd0c
> 212 /dev# ls -l racd*
> crw-r-  4 root operator  0,13568 Dec 21 2002 19:33 racd0a
> crw-r-  4 root operator  0,13568 Dec 21 2002 19:33 racd0c
> 213 /dev#
> 

On my hardware (ASUS board / Plextor CDRW) I need to specify the block 
size with the 'bs' switch as in 

$  dd bs=2048 if=/dev/acd0c of=x1

or I get the same results you do above. I'm not sure what happens if you 
use different block sizes, but the above allows me to e.g. make copies of 
Linux and BSD ISOs.

HTH - 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



Copying a CD

2002-12-21 Thread Mike Jeays
How can I use dd to copy a  CD?   The command below does not
work - I presume I have failed to understand something.  I have tried other
devices begining "acd".

209 ~# dd if=/dev/acd0c of=x1
dd: /dev/acd0c: Invalid argument
0+0 records in
0+0 records out
0 bytes transferred in 0.000219 secs (0 bytes/sec)
210 ~#
211 /dev# ls -l acd*
crw-r-  4 root operator  0,13568 Dec 21 2002 19:33 acd0a
crw-r-  4 root operator  0,13568 Dec 21 2002 19:33 acd0c
212 /dev# ls -l racd*
crw-r-  4 root operator  0,13568 Dec 21 2002 19:33 racd0a
crw-r-  4 root operator  0,13568 Dec 21 2002 19:33 racd0c
213 /dev#






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



ipfw divert open ports

2002-12-21 Thread Joe
Hello,
	I just got dsl and am using freebsd as a router / gatway for my 
internal network.

	When I scan the machine from a REMOTE IP address (from work) it shows 
the ports in OPEN status.

	xl0 is the internal network interface.  dc0 is the external network 
interface

	even without rule 02000 nmap shows the following when I ssh to work and 
nmap my ip address

20/udp openftp-data
21/udp openftp
22/udp openssh
23/udp opentelnet
24/udp openpriv-mail
25/udp opensmtp

	below are my firewall rules:

	How do I lock this down so that ALL the ports show that they are closed???

Thanks,
Joe


00100   0  0 allow ip from any to any via lo0
00200   0  0 deny ip from any to 127.0.0.0/8
00300   0  0 deny ip from 127.0.0.0/8 to any
00400   0  0 deny ip from 192.168.0.0/24 to any in recv dc0
00500   0  0 deny ip from 172.16.1.0/24 to any in recv xl0
00600 944 278220 allow ip from any to any via xl0
00700   0  0 deny ip from any to 10.0.0.0/8 via dc0
00800   0  0 deny ip from any to 192.168.0.0/16 via dc0
00900   0  0 deny ip from any to 0.0.0.0/8 via dc0
01000   0  0 deny ip from any to 169.254.0.0/16 via dc0
01100   0  0 deny ip from any to 192.0.2.0/24 via dc0
01200   0  0 deny ip from any to 224.0.0.0/4 via dc0
01300   0  0 deny ip from any to 240.0.0.0/4 via dc0
01400 972 280278 divert 8668 ip from any to any via dc0
01500   0  0 check-state
01600 398  68836 allow tcp from any to any keep-state out xmit dc0 setup
01700 488 198024 allow tcp from any to any via dc0 established
01800   0  0 reset tcp from any to any in recv dc0 setup
01900  29   1887 allow udp from any to any 53 keep-state via dc0
02000  29   9473 allow udp from any to any keep-state via dc0
02100   0  0 allow icmp from any to any keep-state icmptype 8
02200   0  0 allow icmp from any to any keep-state icmptype 3
02300   0  0 allow icmp from any to any keep-state icmptype 11
02400   0  0 allow icmp from any to any keep-state
02500   0  0 reset log logamount 500 tcp from any to any
02600   0  0 unreach host log logamount 500 ip from any to any
02700   0  0 deny log logamount 500 ip from any to any
65535  20   2011 deny ip from any to any


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


Re: Drawing diagrams a-la-Visio

2002-12-21 Thread Mike Jeays
Cliff Sarginson wrote:


Ok, thanks for the answers.
I shall have a look at the various suggestions...
I may also mail whoever makes Visio and say what an excellent X11
application it would make :)

 

It's sold by Microsoft - although they bought it from someone
else.

I don't think they will be interested...



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



Re: How to suspend....

2002-12-21 Thread Brian
this whole thread has gotten weird, when most people think of suspending,
its either via bg&fg, or ctrl-z.  If you stop then restart, that not
suspension, thats resuming where you left off with a new PID.

Bri

- Original Message -
From: "clayton rollins" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, December 21, 2002 2:51 PM
Subject: Re: How to suspend


>
> I'm pretty much of a newbie to bsd/networking, so I feel kind of dumb even
> writing to this list. But, I don't think anyone's suggested it and it
might
> help.
>
> Maybe your loopback address could be useful in keeping the session open?
>
> like I said, I'm a newbie, so I'm not sure how... Maybe some "stateful"
> packet forwarding, or some sort of tee, or something
> Or maybe it won't.
>
> Anyways,
> Good luck
> Clayton
>
>
>
>
> _
> MSN 8: advanced junk mail protection and 3 months FREE*.
>
http://join.msn.com/?page=features/junkmail&xAPID=42&PS=47575&PI=7324&DI=747
4&SU=
>
http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_advancedjmf
_3mf
>
>
> 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



Problems with cdrdao

2002-12-21 Thread joe
I'm trying to copy an audio cd with cdrdao. I'm running 4.7-RELEASE
Not having much luck.  Here's the results of the cdrdao command.  It 
just stops at "Track 1 ..."

wotan# cdrdao copy
Cdrdao version 1.1.7 - (C) Andreas Mueller <[EMAIL PROTECTED]>
  SCSI interface library - (C) Joerg Schilling
  Paranoia DAE library - (C) Monty

Check http://cdrdao.sourceforge.net/drives.html#dt for current driver 
tables.

Using libscg version 'andreas-0.5-UNIXWARE_Patch'

0,0,0: PLEXTOR CD-R   PX-W1210A Rev: 1.10
Using driver: Generic SCSI-3/MMC - Version 2.0 (options 0x0010)

WARNING: Unit not ready, still trying...
WARNING: Unit not ready, still trying...
Starting CD copy at speed 12...

Track   ModeFlags  StartLength

 1  AUDIO   0  00:00:00( 0) 03:55:45( 17670)
[snip]
14  AUDIO   0  49:27:65(222590) 05:05:15( 22890)
Leadout AUDIO   0  54:33:05(245480)

PQ sub-channel reading (audio track) is supported, data format is HEX.
Raw P-W sub-channel reading (audio track) is supported.
Cooked R-W sub-channel reading (audio track) is supported.
Copying audio tracks 1-14: start 00:00:00, length 54:33:05 to 
"cddata329.bin"...
Track 1...

Thanks,

-
Joe 



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



Error: Command returned status 36

2002-12-21 Thread daniel kohn
I am trying to set up FreeBSD 4.7 on a very old COMPAQ 486 machine 
with a 120MB harddrive via an FTP install.

Each time I get through the setup and it tries to creat the root 
filesystem I get the following message:

Unable to make new root filesystem on dev/ad0s1a!
Command returned status 36

Can you give me any ideas what I can do to fix this, or is it just 
my harddrive is too small?

Dan
 
 


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



IPFW Squid problem

2002-12-21 Thread Mark Pearce
Hi all

I have a small problem with Squid, I am running 4.7-STABLE on a server
that is running 3 network cards, all with private range IP's.  I have
installed squid with the transparent proxy functionality as per the
ports and it works 100%.

My network is as follows:
10.0.2.100 -> router to the internet
10.0.4.1 -> internal network with hosted webserver
10.0.0.1 -> private lan

MY situation is as follows:
My router has a cross over cable connected to this machine,
the other 2 cards are supporting a hosted server and other clients
wanting internet access via my line.  I have the following rules loaded
at the moment.

00051   88  14535 allow tcp from 10.0.2.100 to any
00052   61   8058 fwd 127.0.0.1 tcp from any to any 80
65535 18147300 8402581899 allow ip from any to any


My problem is that I have a hosted webserver on one of the network cards
and if I run the rules listed above as directed by www.squid-cache.org,
the transparent proxy works, but all requests to the hosted web server
fail.  I suspect that this is due to every request passing though the
server on port 80 is redirected to the proxy server.

How can I allow packets directed to the webserver not be "hijacked" by
the fwd rule for the proxy server as I suspect that this will allow the
hosted webserver to work as per normal.

Thanks
Mark

-
This mail has been virus scanned! 


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



Error

2002-12-21 Thread daniel kohn


I am trying to set up FreeBSD 4.7 on a very old COMPAQ 486 machine with 
a 120MB harddrive via an FTP install.

Each time I get through the setup and it tries to creat the root 
filesystem I get the following message:

Unable to make new root filesystem on dev/ad0s1a!
Command returned status 36

Can you give me any ideas what I can do to fix this, or is it just my 
harddrive is too small?

Dan



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



Re: Drawing diagrams a-la-Visio

2002-12-21 Thread Scott Robbins
On Sat, Dec 21, 2002 at 10:03:34PM +0100, Cliff Sarginson wrote:
> Ok, thanks for the answers.
> I shall have a look at the various suggestions...
> I may also mail whoever makes Visio and say what an excellent X11
> application it would make :)


I think it is now an MS application---so you can write some fellow named
Mr. Gates.  :)

(Not 100 percent sure of my info though--I know it was bought by MS at
one point, but haven't kept up with it.)
>

-- 

Scott Robbins

PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 D575 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

Riley: When I'm around you Buffy I find myself needing to know 
the plural of apocalypse. 




msg12867/pgp0.pgp
Description: PGP signature


Re: Voodoo Graphics Cards

2002-12-21 Thread Scott Robbins
On Sat, Dec 21, 2002 at 07:28:46PM +, Steve Hodgson wrote:
> I have been trying to find out if a 3dfx voodoo 3500 AGP is compatible
> with FreeBSD 4.7.  I have managed to everything up to a successful GUI
> -free login.  I checked out the various web resources and usenet with
> no success.  My FreeBSD book (FreeBSd Unleashed) doesn't list the card
> in the supported hardware.


I have had no trouble with a Voodoo5, using X's voodoo3 driver (tdfx).
If you use xf86config it's number 530 (I just saved you a bit of
scrolling.)  :)  

I did have trouble with FreeBSD and X at one time on one box, but the
issue was the Asus Motherboard--this was fixed, however, back in April. 

So I would suspect that you'd have no trouble.

-- 

Scott Robbins

PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 D575 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

Willow: The only solution is the final solution.
Xander: Nuke the school? I like that.
Willow: Not quite. Exorcism.
Cordelia: Are you crazy? I saw that movie. Even the priest died.



msg12868/pgp0.pgp
Description: PGP signature


Re: How to suspend....

2002-12-21 Thread clayton rollins

I'm pretty much of a newbie to bsd/networking, so I feel kind of dumb even 
writing to this list. But, I don't think anyone's suggested it and it might 
help.

Maybe your loopback address could be useful in keeping the session open?

like I said, I'm a newbie, so I'm not sure how... Maybe some "stateful" 
packet forwarding, or some sort of tee, or something
Or maybe it won't.

Anyways,
Good luck
Clayton




_
MSN 8: advanced junk mail protection and 3 months FREE*. 
http://join.msn.com/?page=features/junkmail&xAPID=42&PS=47575&PI=7324&DI=7474&SU= 
http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_advancedjmf_3mf


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


RE: SQUID question

2002-12-21 Thread Howard Picken
I may have missed a reply here but
I can't see anything about the Windows
setup.

What is the proxy setup on the win box?
What is the gateway setup on win box?

Ping will work even if none of the above
have been setup because it works on 
the IP part. Would you're trying to use
is the TCP part.

Run "ipconfig" from the run menu on
the w2k box and let us know the result.

Howard

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of David S.
> Jackson
> Sent: Sunday, 22 December 2002 6:11 AM
> To: P. U. Kruppa
> Cc: [EMAIL PROTECTED]
> Subject: Re: SQUID question
> 
> 
> On Sat, Dec 21, 2002 at 09:35:33AM + P. U. Kruppa 
> <[EMAIL PROTECTED]> wrote:
> > Hi,
> > 
> > I am testing Squid on my home network:
> > 
> > +--+   +--+
> > | 192.168.10.1 |   | 192.168.10.2 |
> > | squid proxy  |<--|Win2k |
> > |  on -STABLE  |   |   Client |
> > +--+   +--+
> > 
> > Squid can be used properly on the proxy-machine (with
> > linux-mozilla1.2.1 directed to localhost:3128 ),
> > but Win2k's InternetExploder (directed to 192.168.10.1:3128)
> > cannot open any webpages: After some minutes it ends up with
> > "... couldn't be opened"
> > 
> > C:> telnet 192.168.10.1 3128
> > seems to be ok: the dialog window is opened.
> > 
> > This is my rule set in squid.conf so far:
> > 
> > acl pukruppa src 192.168.10.0/255.255.255.0
> > http_access allow pukruppa
> > http_access allow localhost
> > http_access deny all
> > 
> > 
> > Thanks for any ideas.
> 
> What does the access.log say for Squid?
> 
> Are you sure the proxy is set up properly in IE?
> 
> Are there any other proxies you're chaining together with squid, like
> junkbuster or something?
> 
> Are you running any add-ons to squid, like squidguard?
> 
> I'm sure there are other possibilities, but I'd check those first.
> 
> -- 
> David S. Jackson[EMAIL PROTECTED]
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> I could dance with you till the cows come home.
> On second thought, I'd rather dance with the cows
> till you come home.  -- Groucho Marx
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
> 
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.431 / Virus Database: 242 - Release Date: 17/12/2002
> 
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.431 / Virus Database: 242 - Release Date: 17/12/2002


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



devfs and sound

2002-12-21 Thread Derek Tattersall
I'm running CURRENT cvsup'ed recently.  I've just started to get sound
working and I don't really understand devfs and how it works.  When I
use mplayer it tells me  it can't find /dev/dsp.  Now I can kldload
the appropriate sound card driver module (I have a Creative 5880
AudioPCI adapter) and it always worked splendidly under stable.

So there are really 2 questions:

1  What is /dev/dsp and how do I make it exist?
and
2  How can I get a deeper understanding of devfs, beyond the man
pages?

I'd really appreciate it if you'd copy me, as I'm not subscribed to
this list.

-- 
Derek Tattersall[EMAIL PROTECTED]

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



Re: Missing ports?

2002-12-21 Thread dslb
>-- Original Message --
>Subject: Re: Missing ports?
>From: Stacey Roberts <[EMAIL PROTECTED]>

>Those ports are now located in a new ports dir called multimedia.

Ahh ok, thanks :-)

br
socketd


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



Re: Drawing diagrams a-la-Visio

2002-12-21 Thread John Bleichert
On Sat, 21 Dec 2002, David Schultz wrote:
> Subject: Re: Drawing diagrams a-la-Visio
> 
> Thus spake Cliff Sarginson <[EMAIL PROTECTED]>:
> > I am looking for an application that will allow diagrams to be drawn
> > (such as network topologies) similar to the Windows program Visio (I
> > think that is what it is called). One that has some pre-defined
> > shapes/lines etc suitable for technical use. Does anyone have any
> > suggestions ... ?
> 
> I can't think of a direct comparison any closer than xfig, and
> xfig isn't as featureful as Visio.  However, if you just want a
> nice looking graph of network connections, and you're happy
> letting the computer arrange the nodes (for the most part), try
> graphviz.
> 

There is also Dia in ports/graphics/dia - works great and has some 
pre-defined shapes in several categories, including networking.

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: Drawing diagrams a-la-Visio

2002-12-21 Thread paul beard
Cliff Sarginson wrote:

Ok, thanks for the answers.
I shall have a look at the various suggestions...
I may also mail whoever makes Visio and say what an excellent X11
application it would make :)



That would be Microsoft: I wouldn't expect much  . . .

--
Paul Beard: seeking UNIX/internet engineering work

8040 27th Ave NE Seattle WA 98115 / 206 529 8400

"I gained nothing at all from Supreme Enlightenment, and for that very
reason it is called Supreme Enlightenment."
		-- Gotama Buddha


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



Re: OT - Compiling IMAP-UW to allow plain text passwords

2002-12-21 Thread Jonathan Chen
On Sat, Dec 21, 2002 at 09:35:11AM -, Danny Horne wrote:
> Hi all,
> 
> I've been trying to install IMAP-UW from ports but can't get it to allow
> plain text passwords.  Any clues?

Deinstall your current version, and:

# cd /usr/ports/mail/imap-uw
# make -DWITH_SSL_AND_PLAINTEXT install clean

Cheers.
-- 
Jonathan Chen  |  To do is to be  -- Nietzsche
<[EMAIL PROTECTED]> |  To be is to do  -- Sartre 
   |  Scooby do be do -- Scooby

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



Re: Drawing diagrams a-la-Visio

2002-12-21 Thread Cliff Sarginson
Ok, thanks for the answers.
I shall have a look at the various suggestions...
I may also mail whoever makes Visio and say what an excellent X11
application it would make :)

-- 
Regards
   Cliff Sarginson 
   The Netherlands

[ 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: Missing ports?

2002-12-21 Thread Stacey Roberts
On Sat, 2002-12-21 at 20:41, [EMAIL PROTECTED] wrote:
> Hi all
> 
> I was trying to find a program, so I can view divx files. I found:
> avifile and xmms-avi, but acording to 
> http://www.freebsd.org/cgi/pds.cgi?ports/graphics/xmms-avi and
> http://www.freebsd.org/cgi/url.cgi?ports/graphics/avifile/pkg-descr
> These ports doesn't exits anymore?
> 
> What is the problem and can you recommend another divx/avi player? (I use
> FreeBSD 4.7 with gnome).
> 
> br
> socketd
> 

Those ports are now located in a new ports dir called multimedia.


Stacey
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
-- 
Stacey Roberts
B.Sc (HONS) Computer Science

Web: www.vickiandstacey.com



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



Missing ports?

2002-12-21 Thread dslb
Hi all

I was trying to find a program, so I can view divx files. I found:
avifile and xmms-avi, but acording to
http://www.freebsd.org/cgi/pds.cgi?ports/graphics/xmms-avi and
http://www.freebsd.org/cgi/url.cgi?ports/graphics/avifile/pkg-descr
These ports doesn't exits anymore?

What is the problem and can you recommend another divx/avi player? (I use
FreeBSD 4.7 with gnome).

br
socketd


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



Re: Drawing diagrams a-la-Visio

2002-12-21 Thread Mike Jeays
David Schultz wrote:


Thus spake Cliff Sarginson <[EMAIL PROTECTED]>:
 

I am looking for an application that will allow diagrams to be drawn
(such as network topologies) similar to the Windows program Visio (I
think that is what it is called). One that has some pre-defined
shapes/lines etc suitable for technical use. Does anyone have any
suggestions ... ?
   


I can't think of a direct comparison any closer than xfig, and
xfig isn't as featureful as Visio.  However, if you just want a
nice looking graph of network connections, and you're happy
letting the computer arrange the nodes (for the most part), try
graphviz.

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

 

Two other options are Kivio, part of the KDE office suite, and Draw,
which is part of OpenOffice.  Both claim to provide similar
functionality to Visio.



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



Re: OT - Compiling IMAP-UW to allow plain text passwords

2002-12-21 Thread Brian
as of a week or 2 ago, the port in question has reqd ssl auth, this isnt a
bad thing imho..

Bri

- Original Message -
From: "Danny Horne" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 21, 2002 1:35 AM
Subject: OT - Compiling IMAP-UW to allow plain text passwords


> Hi all,
>
> I've been trying to install IMAP-UW from ports but can't get it to allow
> plain text passwords.  Any clues?
>
> Thanks
>
>
> 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: Drawing diagrams a-la-Visio

2002-12-21 Thread David Schultz
Thus spake Cliff Sarginson <[EMAIL PROTECTED]>:
> I am looking for an application that will allow diagrams to be drawn
> (such as network topologies) similar to the Windows program Visio (I
> think that is what it is called). One that has some pre-defined
> shapes/lines etc suitable for technical use. Does anyone have any
> suggestions ... ?

I can't think of a direct comparison any closer than xfig, and
xfig isn't as featureful as Visio.  However, if you just want a
nice looking graph of network connections, and you're happy
letting the computer arrange the nodes (for the most part), try
graphviz.

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



Êîìïëåêñíûå ðåøåíèÿ â îáëàñòè áåçîïàñíîñòè CFPRDDJOTQ

2002-12-21 Thread main_base
Òåìà ïèñüìà: Êîìïëåêñíûå ðåøåíèÿ â îáëàñòè áåçîïàñíîñòè

Óâàæàåìûå ãîñïîäà!

Ïðåäëàãàåì Âàøåìó âíèìàíèþ êîìïëåêñíûå ðåøåíèÿ ïî îáåñïå÷åíèþ
áåçîïàñíîñòè Âàøåãî áèçíåñà:
1. Îõðàííûå óñëóãè.
2. Óñòàíîâêà è îáñëóæèâàíèê îõðàííî-ïîæàðíîé ñèãíàëèçàöèè.
3. Ïðîâåðêó äåëîâûõ ïàðòíåðîâ.

Íàøè òåëåôîíû â Ìîñêâå: 107-05-55, 995-04-32.

Ïîñåòèòå íàø ñàéò â ñåòè Èíòåðíåò: http://informations.by.ru

Ïî âñåì âîïðîñàì, îáðàùàéòåñü òàêæå íà îäèí èç íàøèõ E-mail:
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

P.S. Åñëè Âû íå õîòèòå ïîëó÷àòü â äàëüíåéøåì ðåêëàìíûå ñîîáùåíèÿ,
îòïðàâüòå íà ëþáîé èç íàøèõ E-mail ïèñüìî ñ òåìîé: REMOVE.
 
CFPRDDJOTQHGQVQLPOVZLJBTHPQFQKMOCMJCNT

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



Re: half speed on 10/100 nic?

2002-12-21 Thread Lowell Gilbert
Dragoncrest <[EMAIL PROTECTED]> writes:

>   Hi all.  Got a weird one for ya.  Got a server that's using
> Freebsd 4.5 and a Kingston 10/100 nic.  One problem.  I can only get
> it to go at half speed.  No matter the link, no matter what speed
> setting its set at, I can only get half of the total available speed.

Will multiple, separate connections use the total speed?

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



Re: Voodoo Graphics Cards

2002-12-21 Thread Joe Gwozdecki


- Original Message - 
From: "Steve Hodgson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 21, 2002 1:28 PM
Subject: Voodoo Graphics Cards


I have been trying to find out if a 3dfx voodoo 3500 AGP is compatible 
with FreeBSD 4.7.  I have managed to everything up to a successful GUI
-free login.  I checked out the various web resources and usenet with 
no success.  My FreeBSD book (FreeBSd Unleashed) doesn't list the card 
in the supported hardware.

I have used the card successfully with Linux, BeOS and Windows (not XP) 
so assumed it would be OK under FreeBSD too.

Any help and pointers would be much appreciated at this stage!

Steve Hodgson



FreeBSD will run with any graphics card on the planet.
If you never get into the GUI scene, you will be fine.

It is the X window system which is picky about what will
run and what won't.  Check your card with the video
driver list at www.Xfree.org  If it is not on the list, go
get a card which is and you will be up and going
in no time.

Joe Gwozdecki
Houston, TX




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: How do you suspend and resume a remote shell session?

2002-12-21 Thread Paul A. Scott

> From: Matthew Seaman <[EMAIL PROTECTED]>
> On Sat, Dec 21, 2002 at 10:03:30PM +1100, Andrew Cutler wrote:
> 
>> However what I'm really trying to achieve is to keep X apps alive when
>> running them remotely, and be able to connect and disconnect at will and
>> still have the app up and running, exactly where you left it.

Oh, NOW you tell us. :)

> 
> vnc can do that.  You run vnc in server mode on your FreeBSD machine
> and the vnc client gives you an X desktop in a window that you can
> connect to or disconnect from at will.

Good call.

-- 
Paul A. Scott
mailto:[EMAIL PROTECTED]
http://skycoast.us/pscott/


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



Re: How do you suspend and resume a remote shell session?

2002-12-21 Thread Paul A. Scott

> From: Andrew Cutler <[EMAIL PROTECTED]>
> Maybe my question wasn't clear enough. I would like to SSH into a box
> with say my laptop, setup some tasks, run some programs, suspend the
> connection, unplug and turn off my laptop, and then come back to the
> same session a few days later, perhaps using a different computer.

Oh. Well, your needs weren't clear to me. I just thought you wanted to
simply suspend telnet or ssh, which is explained in the man pages. I didn't
realize you also intended to disconnect (close) the connection.
 
> and yes I do rtfm, do u read questions or do u just answer them :)
> 
> -> ouch!
> 
> Seriously, I'm not trying to start a flame, I 'm just looking for some
> answers

I understand your frustration. Sorry for increasing it by not understanding
your requirements.

Quite frankly, I don't think you can accomplish (what I now think you want)
once you close the tcp/ip connection. Something must continue running to
keep the connection alive. Certainly, moving to a different ip address will
require a fresh log in.

-- 
Paul A. Scott
mailto:[EMAIL PROTECTED]
http://skycoast.us/pscott/


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



Voodoo Graphics Cards

2002-12-21 Thread Steve Hodgson
I have been trying to find out if a 3dfx voodoo 3500 AGP is compatible
with FreeBSD 4.7.  I have managed to everything up to a successful GUI
-free login.  I checked out the various web resources and usenet with
no success.  My FreeBSD book (FreeBSd Unleashed) doesn't list the card
in the supported hardware.

I have used the card successfully with Linux, BeOS and Windows (not XP)
so assumed it would be OK under FreeBSD too.

Any help and pointers would be much appreciated at this stage!

Steve Hodgson



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



The List Is Closed

2002-12-21 Thread Ecartis
We are closed! Stop sending! Go away!

---
Ecartis v1.0.0 - job execution complete.


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



Web Designer

2002-12-21 Thread Cobby Drost
Merry Christmas from Meridan Design

1-207-760-8112
[EMAIL PROTECTED]

My name is Cobby Drost. I'm a freelance Web Designer. I was wondering if you 
had any work available in your firm, company or personal interest for a work 
at home developer. I develop professional, attractive sites. It's been a tough 
year and need the extra cash for Xmas for my family. No job to big or small. 
This is a one time mailing.


Page Design

Html Splash Pages, Email Templates, FrontPage, MSAcess, DreamWeaver, Hand Coding, 
You Name It.

Graphic Design
 
Flash, Gif Animation, Logos, Jpeg, Picture Management 

Multimedia 

Real server, Audio Mastering, Mp3 Production, Mpeg Production 

Programming

Java, JavaScript, Cgi/Perl, PHP, ASP, Database Connectivity, Cold Fusion,
Message Boards Contact Forms, Auctions, Newsletter Creation, Email list Management 
Systems, Member Management systems, Guestbook's, Search Engines etc.

E-commerce
 
Shopping Carts, Inventory Systems, Quote Systems 

Promotion

Hidden inputs, Search Engine Submissions, Placement Services, Keyword Training, 
Hand Submissions, Email Marketing, Web Marketing, MetaTags, Keyword density and 
placement 

Storage

Hosting available from $10.00 per month, true dedicated hosting, domain parking, 
Domain Registration etc. 


I'm affordable, all fees are negotiable. It doesn't hurt to ask about my services. 
I specialize is High speed, tightly coded sites using CSS, and SSI, and interactive, 
well defined categorized sites... Redesigns and Interactivity are also strong 
points. All sites come with three months of updates and site submissions free!!!

Training available in all areas at very reasonable costs

Please contact me at 1-207-760-8112 or email me at [EMAIL PROTECTED]


Best Regards
Cobby Drost
Meridan Design

Visa, MasterCard, AMEX, Discover, Checks, Money Orders, and Reasonable Barter 
Accepted 










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



Re: SQUID question

2002-12-21 Thread David S. Jackson
On Sat, Dec 21, 2002 at 09:35:33AM + P. U. Kruppa <[EMAIL PROTECTED]> 
wrote:
> Hi,
> 
> I am testing Squid on my home network:
> 
> +--+   +--+
> | 192.168.10.1 |   | 192.168.10.2 |
> | squid proxy  |<--|Win2k |
> |  on -STABLE  |   |   Client |
> +--+   +--+
> 
> Squid can be used properly on the proxy-machine (with
> linux-mozilla1.2.1 directed to localhost:3128 ),
> but Win2k's InternetExploder (directed to 192.168.10.1:3128)
> cannot open any webpages: After some minutes it ends up with
> "... couldn't be opened"
> 
> C:> telnet 192.168.10.1 3128
> seems to be ok: the dialog window is opened.
> 
> This is my rule set in squid.conf so far:
> 
> acl pukruppa src 192.168.10.0/255.255.255.0
> http_access allow pukruppa
> http_access allow localhost
> http_access deny all
> 
> 
> Thanks for any ideas.

What does the access.log say for Squid?

Are you sure the proxy is set up properly in IE?

Are there any other proxies you're chaining together with squid, like
junkbuster or something?

Are you running any add-ons to squid, like squidguard?

I'm sure there are other possibilities, but I'd check those first.

-- 
David S. Jackson[EMAIL PROTECTED]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
I could dance with you till the cows come home.
On second thought, I'd rather dance with the cows
till you come home.  -- Groucho Marx

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



Re: half speed on 10/100 nic?

2002-12-21 Thread Nathan Kinkade
On Sat, Dec 21, 2002 at 01:07:12PM -0500, Dragoncrest wrote:
>   Hi all.  Got a weird one for ya.  Got a server that's using Freebsd 
>   4.5 and a Kingston 10/100 nic.  One problem.  I can only get it to go at 
> half speed.  No matter the link, no matter what speed setting its set at, I 
> can only get half of the total available speed.  Examples.
> 
>   On a 740k DSL line I can only pass 360k max.  On a 10mbps lan link, 
>   I can only do 5mbps.  100mbps link allows me a maximum of 45mbps, sometimes 
> 50.
> 
>   Any suggestions, ideas, fixes for this?  Much apreciated.  Thanks.
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

In any case, you should probably not expect to get much more than 80% of the
rated speed - even in an ideal setup.   100mbps is the theoretical
maximum bit rate, not the data rate.  Remember that you have some
amount of overhead in the various protocol headers.  How are you testing
the transfer rates?  What type of network is the machine connected to?
Are there more than a couple of machines active on this network?  Are
you using hubs or switches?

Nathan

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



Re: help mounting ext2/3, ntfs [was: ]

2002-12-21 Thread Nathan Kinkade
On Sat, Dec 21, 2002 at 04:31:45PM +, Voicu Liviu wrote:

> > That said, assuming that you are using IDE HDDs, you device names will
> > probably correspond between Linux -> FreeBSD something like:
> > 
> > FreeBSD-> Linux
> > /dev/ad0s1 -> /dev/hda1
> > /dev/ad0s2 -> /dev/hda1
> > /dev/ad0s3 -> /dev/hda1
> > /dev/ad0s4 -> /dev/hda1
> I just don't understand why does FreeBSD work like that
> "/dev/ad0s_number_here". 

> Voicu Liviu
> Hebrew University of Jerusalem
> Rothberg International School
> Network Support and Assistant Programmer

It's really no different from the Linux system of naming in most
respects.  The names/numbers are arbitrary.  Does the Linux systems of
/dev/hda_number_here make sense to you?  If so, then
/dev/ad0s_number_here should not be any stretch.  The main difference
being that FreeBSD generally likes to further segment a slice
(partition in DOS) into separate filesystems i.e. /, /usr, /home, etc.  I've
heard it said that the way in which FreeBSD segments a given slice
(partition in DOS) is not unlike that of how DOS handles an extended
partition, although I don't know for myself how accurate this is.  At
any rate, it seems to me that this systems offers a good degree of
flexibility, as FreeBSD will nicely fit into a single primary partition.

Nathan

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



Re: half speed on 10/100 nic?

2002-12-21 Thread Stacey Roberts
On Sat, 2002-12-21 at 18:07, Dragoncrest wrote:
>   Hi all.  Got a weird one for ya.  Got a server that's using Freebsd 4.5 
> and a Kingston 10/100 nic.  One problem.  I can only get it to go at half 
> speed.  No matter the link, no matter what speed setting its set at, I can 
> only get half of the total available speed.  Examples.
> 
>   On a 740k DSL line I can only pass 360k max.  On a 10mbps lan link, I can 
> only do 5mbps.  100mbps link allows me a maximum of 45mbps, sometimes 50.
> 
>   Any suggestions, ideas, fixes for this?  Much apreciated.  Thanks.
> 

You might want to post what dmesg says about the nic and the output
from:-
ifconfig 
netstat -i 

Transfer speeds can be affected by a host of factors, so its worth
posting as much information about the set up as possible.

Stacey

> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
-- 
Stacey Roberts
B.Sc (HONS) Computer Science

Web: www.vickiandstacey.com



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



half speed on 10/100 nic?

2002-12-21 Thread Dragoncrest
	Hi all.  Got a weird one for ya.  Got a server that's using Freebsd 4.5 
and a Kingston 10/100 nic.  One problem.  I can only get it to go at half 
speed.  No matter the link, no matter what speed setting its set at, I can 
only get half of the total available speed.  Examples.

	On a 740k DSL line I can only pass 360k max.  On a 10mbps lan link, I can 
only do 5mbps.  100mbps link allows me a maximum of 45mbps, sometimes 50.

	Any suggestions, ideas, fixes for this?  Much apreciated.  Thanks.


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


Re: local copies of packages during their installation

2002-12-21 Thread Jens Rehsack
Jörg Meyer wrote:
> Thanks a lot. But as I understand your script it would only
> for the mupad package. That's great, but I am interested
> in a more general solution.
>
> pkg_add is really an impressive command, but why isn't there any
> way (as it seems) to tell it not onley to extract the package it
> is fetching but also to make a local them?
> I cannot understand that!
>
> If you want to install FreeBSD with a common set of applications
> on several computers how would you do that efficiently when
> getting the corresponding package set is so difficult?
>
> Thanks again for any good ideas concerning this problem.
>
> Yours, Joerg.
>
> Am 21.12.02 11:28:35, schrieb Jens Rehsack <[EMAIL PROTECTED]>:
>
>
>>Jörg Meyer wrote:
>>
>>>Hello,
>>>
>>>I've been experimenting with FreeBSD since the day
>>>day before yesterday. Coming from the MS-world I am very
>>>impressed already.
>>>
>>>I installed the system from a CD created from the Mini-Iso-Image.
>>>Installing packages with pkg_add -r I would like to have local
>>>copies of the downloaded tarball in order to create an adapted
>>>CD with the packages I really need (just for the case of a new-
>>>or re-installation).
>>>Of course, all the depending package-tarballs should be download
>>>as well - otherwise I could also ftp them manually.
>>>Furthermore it would be really nice if the directory structure of
>>>the FTP-Server was duplicated locally as well.
>>>
>>>I know (from experimenting) that make package within the ports 
collection
>>>can archieve something similar (packages are created under 
/usr/ports/packages
>>>if existent). But following this strategy in my opinion has 3 major 
disadvantages:
>>>1) Compiling packages like XFree86-4 takes quite a long time on my 
machnine.
>>
>>Solution a) Buy a faster machine. Compile takes it's time
>>Solution b) Do not compile but download
>>Solution c) Wait
>>Solution d) reduce your optimization level
>>
>>
>>>2) It is impossible to create a package without installing it.
>>>In case of the package is installed already make returns an error
>>>telling me to deinstall the package first.
>>
>>less /usr/ports/Mk/bsd.port.mk
>> SNIPP
>># Default targets and their behaviors:
>>#
>># fetch - Retrieves ${DISTFILES} (and ${PATCHFILES} if
>>defined)
>># into ${DISTDIR} as necessary.
>># fetch-list- Show list of files that would be retrieved by fetch.
>># fetch-recursive - Retrieves ${DISTFILES} (and ${PATCHFILES} if 
defined),
>># for port and dependencies into
>>${DISTDIR} as necessary.
>># fetch-recursive-list  - Show list of files that would be retrieved by
>># fetch-recursive.
>># extract   - Unpacks ${DISTFILES} into ${WRKDIR}.
>># patch - Apply any provided patches to the source.
>># configure - Runs either GNU configure, one or more local
>>configure
>># scripts or nothing, depending on
>>what's available.
>># build - Actually compile the sources.
>># install   - Install the results of a build.
>># reinstall - Install the results of a build, ignoring
>>"already installed"
>># flag.
>># deinstall - Remove the installation.
>># package   - Create a package from an _installed_ port.
>># describe  - Try to generate a one-line description for
>>each port for
>># use in INDEX files and the like.
>># checkpatch- Do a "patch -C" instead of a "patch".  Note that it may
>># give incorrect results if multiple
>>patches deal with
>># the same file.
>># checksum  - Use distinfo to ensure that your distfiles are
>>valid.
>># checksum-recursive - Run checksum in this port and all dependencies.
>># makesum   - Generate distinfo (only do this for your own
>>ports!).
>># clean - Remove ${WRKDIR} and other temporary files used
>>for building.
>># clean-depends - Do a "make clean" for all dependencies.
>> SNAPP
>>
>> SNIPP
>># For package:
>>#
>># NO_LATEST_LINK - Do not install the "Latest" link for package.  Define
>>this
>># if this port is a beta version of
>>another stable port
>># which is also in the tree.
>># LATEST_LINK- Install the "Latest" link for the package as ___. 
 Define
>># this if the "Latest" link name will be incorrectly
>>determined.
>>#
>># This is used in all stages:
>>#
>># SCRIPTS_ENV   - Additional environment vars passed to scripts in
>># ${SCRIPTDIR} executed by bsd.port.mk (default: see 
below).
>>#
>># Finally, variables to change if you want a special behavior.  These
>># are for debugging purposes.  Don't set them in your Makefile.
>>#
>># ECHO_MSG

RE: adduser ownership of mounted home directory

2002-12-21 Thread Adam Lofstedt
> > I am trying to put user's home directories onto a mounted windows 
> > share (mounting via smbfs).  When I run the adduser script (and 
> > specify /mountedshare/username as the home directory) it 
> doesn't set 
> > the ownership of the home directory to the user.  Root 
> still owns the 
> > folder.  If I add a user to the usual /home directory it works fine.
> 
> Do you expect windows to honour the *NIX permission flags? 
> Only ntfs comes close but differs too. So, what you want is 
> not possible afaik.

I don't really care about windows honoring the *NIX permissions.  When
the share is mounted via smbfs at boot, it is mounted as a single
windows user, so essentially all FreeBSD users are connecting to the
windows box as the same windows user.  If I understand correctly the
UNIX and Windows permissions are two different systems that run
independently of each other (except for those cases where the
permissions conflict).  Windows shouldn't care who the UNIX owner is, it
is only concerned about who is connecting to the machine via the network
with that particular username and password.  

I don't know why adduser correctly sets the ownership of the home
directories in /usr/home, but not in my mounted directory, which is in
/mountedshare?  I tried moving /mountedshare inside /usr, but that
didn't work either. 



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



Re: Drawing diagrams a-la-Visio

2002-12-21 Thread Scott Robbins
On Sat, Dec 21, 2002 at 05:34:20PM +0100, Cliff Sarginson wrote:
> Hello,
> I am looking for an application that will allow diagrams to be drawn
> (such as network topologies) similar to the Windows program Visio (I
> think that is what it is called). One that has some pre-defined
> shapes/lines etc suitable for technical use. Does anyone have any
> suggestions ... ?

I haven't used it, but according to some folks on NYLUG, Dia works well.

http://www.lysator.liu.se/~alla/dia/


Hope this is of use.


-- 

Scott Robbins

PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 D575 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

Xander: I wish dating was like slaying. You know, simple, direct,
stake through the heart, no muss, no fuss. 




msg12838/pgp0.pgp
Description: PGP signature


Newbie routing question

2002-12-21 Thread Daniel Benito [ATRIL]
This is probably pretty easy, but I'm a complete newbie regarding network
configuration, so please bear with me :-)

I've just had a nice LMDS (radio) connection installed, and my provider has
assigned me 16 IP addresses (A.B.C.0/28). After weighing different options
(and consulting a few friends), I decided to install a FreeBSD firewall
using IPFilter; since I have more internal interfaces than public IPs, I'm
also using IPNat.

At first, I configured NAT to map all private IP addresses to the firewall's
external interface's IP address (A.B.C.2), and everything worked as
expected. However, I want certain internal machines to have their own
external IP address, so I added some extra bimap entries to my
/etc/ipnat.rules to make this work. Now, NAT works fine, but my firewall
refuses to route packets from these specific IP addresses out into the real
world.

Clearly, having gateway_enabled="YES" in /etc/rc.conf isn't enough, so I
though I could use a routing daemon. I configured routed (using "-s" as
recommended by sysinstall). Running netstat -rn reveals that the entire
A.B.C.0/28 subnet is routed to the router provided by my ISP (A.B.C.1):

DestinationGatewayFlagsRefs  Use  Netif Expire
defaultA.B.C.1UGSc20if0
A.B.C/28   link#1 UC  20if0
A.B.C.100:07:e3:50:e4:38  UHLW10if0   1234
127.0.0.1  127.0.0.1  UH  00lo0
192.168.0  link#2 UC  30if1
192.168.0.13   00:cd:ef:01:23:45  UHLW00if1   1234
192.168.0.14   00:ef:01:23:45:67  UHLW00if1   1234

I figured there was no need to add any static routes, but it still doesn't
work.

I looked around the web, and I found a page that recommended that I added
all of the public IPs as aliases on the external interface. It specifically
gave two options:

1. Use: ifconfig if0 inet A.B.C.x netmask p.q.r.s alias
route add -host A.B.C.x 127.0.0.1 0

2. Use: ifconfig if0 inet A.B.C.x netmask 255.255.255.255 alias

If I use option 1, I run into problems because I can't add more than one IP
with the same broadcast address (and I don't know what broadcast address I
should use for the other IPs, other than the same one I'm using for the real
IP of the interface). Option 2 works fine, but I don't quite understand why
it works and why I should have to use it. After adding the aliased IP that I
need, the output of netstat -rn looks like this:

DestinationGatewayFlagsRefs  Use  Netif Expire
defaultA.B.C.1UGSc20if0
A.B.C/28   link#1 UC  20if0
A.B.C.100:07:e3:50:e4:38  UHLW10if0   1234
A.B.C.13/32link#1 UC  00if0
A.B.C.14/32link#1 UC  00if0
127.0.0.1  127.0.0.1  UH  00lo0
192.168.0  link#2 UC  30if1
192.168.0.13   00:b0:7d:9f:ba:40  UHLW00if1   1234
192.168.0.14   00:b0:7d:a0:9a:02  UHLW00if1   1234

So, what I don't understand is why it didn't work when it only had
A.B.C/28 -> link#1, but it works now that if explicitly has routes for
A.B.C.13 and A.B.C.14. Can anyone explain this?

MTIA,

Daniel

PS. Just in case anyone is interested, this is my current ifconfig:

if0: flags=8843 mtu 1500
 inet A.B.C.2 netmask 0xfff0 broadcast A.B.C.15
 inet A.B.C.14 netmask 0x broadcast A.B.C.14
 inet A.B.C.13 netmask 0x broadcast A.B.C.13
 ether 00:b0:7d:de:52:a4
 media: Ethernet autoselect (10baseT/UTP)
 status: active
if1: flags=8843 mtu 1500
 inet 192.168.0.2 netmask 0xff00 broadcast 192.168.0.255
 ether 00:b0:7d:de:52:b2
 media: Ethernet autoselect (100baseTX)
 status: active
lo0: flags=A49 mtu 16384
 inet 127.0.0.1 netmask 0xff00



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



Re: Drawing diagrams a-la-Visio

2002-12-21 Thread Stacey Roberts
On Sat, 2002-12-21 at 16:34, Cliff Sarginson wrote:
> Hello,
> I am looking for an application that will allow diagrams to be drawn
> (such as network topologies) similar to the Windows program Visio (I
> think that is what it is called). One that has some pre-defined
> shapes/lines etc suitable for technical use. Does anyone have any
> suggestions ... ?

I use dia here. Its no way near as comprehensive as visio (I really like
visio), but its the closest thing I've come across so far in my
searches.

Have a look: http://www.lysator.liu.se/~alla/dia/

Its pretty much the best visio alternative I know of.

Stacey
-- 
Stacey Roberts
B.Sc (HONS) Computer Science

Web: www.vickiandstacey.com



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



Drawing diagrams a-la-Visio

2002-12-21 Thread Cliff Sarginson
Hello,
I am looking for an application that will allow diagrams to be drawn
(such as network topologies) similar to the Windows program Visio (I
think that is what it is called). One that has some pre-defined
shapes/lines etc suitable for technical use. Does anyone have any
suggestions ... ?

-- 
Regards
   Cliff Sarginson 
   The Netherlands

[ 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: help mounting ext2/3, ntfs [was: ]

2002-12-21 Thread Voicu Liviu
On Sat, 21 Dec 2002, Nathan Kinkade wrote:

> On Sat, Dec 21, 2002 at 02:25:09PM +, Voicu Liviu wrote:
> > my problem is mounting vfat/ext3 partitions:
> > under linux my table looks like:
> > /dev/hda1 - > win2k
> > /dev/hda2 - > root of gentoo linux
> > /dev/hda3 - > swap of gentoo linux
> > /dev/hda4 - > my freebsd workstation
> > 
> > Any 1 please, how do I mount the partition of linux/win2k under freebsd?
> > 
> > Every thing is named different in freebsd.
> > Thanks
> > 
> > 
> > -- 
> > Voicu Liviu
> 
> Voicu,
> 
> First, ALWAYS put a subject in your post and try your best to summarize
> the entire question in a few descriptive words.  Frequently, not putting
> a subject will cause list members to skip over and ignore your post.
You are so right...I always fill the subject but now I missed it...I'm
appologise.
> Second, read the handbook section 2.5: Allocating Disk Space at
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-steps.html
> This should help you to understand device naming/numbering in FreeBSD
The truth is I was looking for something like this but did not find
...maybe I did not search to much. 
> That said, assuming that you are using IDE HDDs, you device names will
> probably correspond between Linux -> FreeBSD something like:
> 
> FreeBSD-> Linux
> /dev/ad0s1 -> /dev/hda1
> /dev/ad0s2 -> /dev/hda1
> /dev/ad0s3 -> /dev/hda1
> /dev/ad0s4 -> /dev/hda1
I just don't understand why does FreeBSD work like that
"/dev/ad0s_number_here". 
> >From here you can read up mount(8) for more information on mounting
> various filesystem types.  A Google (or similar) search would probably
> also prove helpful.
> 
> Good luck,
> 
> Nathan
Thank you 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
> 

-- 
Voicu Liviu
Hebrew University of Jerusalem
Rothberg International School
Network Support and Assistant Programmer


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



Re: Help With Custom Kernel

2002-12-21 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-12-21 00:25:34 -0500:
> I am building a custom kernel so I can use my sound card. 
> I am building it the ``traditional'' way. And when I type 
> the second make comand It ends with the fallowing: 
>  
>  -include opt_global.h -elf  -mpreferred-stack-boundary=2  
> vers.c 
> linking kernel 
> umass.o: In function `umass_cam_attach_sim': 
> umass.o(.text+0x137f): undefined reference to `cam_simq_alloc' 

you broke a dependency. go back to building GENERIC, if that
succeeds, add just *one* feature, including it's dependencies if any
(recursively), and build again.

as a general advice: read the comments carefully. if a comment next
to an "option" of "device" foo says it requires bar, it's not a
joke.

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

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



Re: SQUID question

2002-12-21 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-12-21 09:35:33 +:
> I am testing Squid on my home network:
> 
> +--+   +--+
> | 192.168.10.1 |   | 192.168.10.2 |
> | squid proxy  |<--|Win2k |
> |  on -STABLE  |   |   Client |
> +--+   +--+
> 
> Squid can be used properly on the proxy-machine (with
> linux-mozilla1.2.1 directed to localhost:3128 ),
> but Win2k's InternetExploder (directed to 192.168.10.1:3128)
> cannot open any webpages: After some minutes it ends up with
> "... couldn't be opened"

localhost is 127.0.0.1, you want squid to listen on 192.168.10.1
 
> C:> telnet 192.168.10.1 3128
> seems to be ok: the dialog window is opened.
> 
> This is my rule set in squid.conf so far:
> 
> acl pukruppa src 192.168.10.0/255.255.255.0
> http_access allow pukruppa
> http_access allow localhost
> http_access deny all

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

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



help mounting ext2/3, ntfs [was: ]

2002-12-21 Thread Nathan Kinkade
On Sat, Dec 21, 2002 at 02:25:09PM +, Voicu Liviu wrote:
> my problem is mounting vfat/ext3 partitions:
> under linux my table looks like:
> /dev/hda1 - > win2k
> /dev/hda2 - > root of gentoo linux
> /dev/hda3 - > swap of gentoo linux
> /dev/hda4 - > my freebsd workstation
> 
> Any 1 please, how do I mount the partition of linux/win2k under freebsd?
> 
> Every thing is named different in freebsd.
> Thanks
> 
> 
> -- 
> Voicu Liviu

Voicu,

First, ALWAYS put a subject in your post and try your best to summarize
the entire question in a few descriptive words.  Frequently, not putting
a subject will cause list members to skip over and ignore your post.

Second, read the handbook section 2.5: Allocating Disk Space at
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-steps.html
This should help you to understand device naming/numbering in FreeBSD

That said, assuming that you are using IDE HDDs, you device names will
probably correspond between Linux -> FreeBSD something like:

FreeBSD-> Linux
/dev/ad0s1 -> /dev/hda1
/dev/ad0s2 -> /dev/hda1
/dev/ad0s3 -> /dev/hda1
/dev/ad0s4 -> /dev/hda1

>From here you can read up mount(8) for more information on mounting
various filesystem types.  A Google (or similar) search would probably
also prove helpful.

Good luck,

Nathan

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



Re: printing over the network

2002-12-21 Thread Warren Block
On Sat, 21 Dec 2002 [EMAIL PROTECTED] wrote:

>:sh:\
>:rm=name_printer:sd=/var/spool/output/:lf=/var/log/lpd-errs:\

That's just a fragment.  What's the whole entry?  The printer name that
is used by lpr -P is the first line of the entry in /etc/printcap, like
the first line here:

lp|local line printer:\
:lp=:\
:sh:\
:mx#0:\
:rm=mynetworkprinter:\
:rp=raw:\
:sd=/var/spool/output/lpd/lp:\
:lf=/var/log/lpd-errs:

The rm= entry is either a hostname or IP address of the network printer.  
Note also that there is no \ at the end of the last line.

-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: your mail

2002-12-21 Thread Matthew Seaman
On Sat, Dec 21, 2002 at 02:25:09PM +, Voicu Liviu wrote:
> my problem is mounting vfat/ext3 partitions:

Mounting ext3 partitions under FreeBSD is apparently pretty much the
same degree of um, "challenge" as mounting ext2 partitions.  You need
a custom kernel with:

options EXT2FS

compiled in.  See Chapter 9 of the Handbook
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html)
for detailed instructions.  Even so, Linux filesystem support is not
entirely without pitfalls.  The trick is apparently to always make
sure the ext{2,3} partitions are cleanly unmounted and to install and
make appropriate use of a recent version of e2fsprogs
(ports/sysutils/e2fsprogs).

> under linux my table looks like:

Linux partition names work like this:

  hd  --- 'hard disk': ie. an ATA disk device
a --- Drive 'a': the master drive on the primary channel
 1--- Bios partition 1 ('Slice' in FreeBSD parlance)

If you have multiple drives, they are usually labelled according to:

  a  --- master, 1ary channel
  b  --- slave,  1ary channel
  c  --- master, 2ary channel
  d  --- slave,  2ary channel

[Aside: SCSI disks use the 'sd' driver and the drive letters 'a', 'b',
etc. are assigned in sequence in the order of the SCSI busses and ID
numbers.]

FreeBSD partition names work similarly:

  ad  -- 'ATA Disk' driver
0 -- The first disk (usually the primary master)
 s1   -- Slice 1 (Bios partition 1)
   a  -- partition 'a' (FreeBSD partitions only)

FreeBSD defaults to numbering the drives in order of discovery so if
you have two disks thay will be ad0 and ad1, although this can be
overridden in the kernel configuration. The search order is '1ary
master, 1ary slave, 2ary master, 2ary slave'.

The slices are numbered s1, s2, s3, s4 --- the four primary partitions
---, s5, s6 etc. for logical or extended partitions.  FreeBSD should
be installed into a primary partition if you need it to be bootable...

[ SCSI disks use the 'da' (Direct access) driver, and are numbered in
order of SCSI bus and SCSI ID unless overridden in the kernel.]

> /dev/hda1 - > win2k

  /dev/ad0s1

> /dev/hda2 - > root of gentoo linux

  /dev/ad0s2

> /dev/hda3 - > swap of gentoo linux

  /dev/ad0s3

> /dev/hda4 - > my freebsd workstation

  /dev/ad0s4a
  /dev/ad0s4b
  etc.
 
> Any 1 please, how do I mount the partition of linux/win2k under freebsd?

Read carefully the mount(8), mount_ntfs(8), mount_msdos(8) and
mount_ext2fs(8), fstab(5) man pages, but in general it's something
like:

mount -t type -o options /dev/ad0sN /mnt/point

You'll need to add appropriate support to your kernel config to mount
the various different filesystem types, and note that some (NTFS in
particular) should probably only be mounted read-only.
 
> Every thing is named different in freebsd.

That's because everything is different in FreeBSD. Or at least, it's
most different at the kernel level.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
  Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

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



Re: Re: local copies of packages during their installation

2002-12-21 Thread Jörg Meyer
Thanks a lot. But as I understand your script it would only
for the mupad package. That's great, but I am interested
in a more general solution.

pkg_add is really an impressive command, but why isn't there any
way (as it seems) to tell it not onley to extract the package it 
is fetching but also to make a local them?
I cannot understand that!

If you want to install FreeBSD with a common set of applications
on several computers how would you do that efficiently when
getting the corresponding package set is so difficult?

Thanks again for any good ideas concerning this problem.

Yours, Joerg.

Am 21.12.02 11:28:35, schrieb Jens Rehsack <[EMAIL PROTECTED]>:

>Jörg Meyer wrote:
>> Hello,
>> 
>> I've been experimenting with FreeBSD since the day
>> day before yesterday. Coming from the MS-world I am very 
>> impressed already.
>> 
>> I installed the system from a CD created from the Mini-Iso-Image.
>> Installing packages with pkg_add -r I would like to have local
>> copies of the downloaded tarball in order to create an adapted
>> CD with the packages I really need (just for the case of a new-
>> or re-installation).
>> Of course, all the depending package-tarballs should be download
>> as well - otherwise I could also ftp them manually.
>> Furthermore it would be really nice if the directory structure of
>> the FTP-Server was duplicated locally as well.
>> 
>> I know (from experimenting) that make package within the ports collection
>> can archieve something similar (packages are created under /usr/ports/packages
>> if existent). But following this strategy in my opinion has 3 major disadvantages:
>> 1) Compiling packages like XFree86-4 takes quite a long time on my machnine.
>Solution a) Buy a faster machine. Compile takes it's time
>Solution b) Do not compile but download
>Solution c) Wait
>Solution d) reduce your optimization level
>
>> 2) It is impossible to create a package without installing it.
>> In case of the package is installed already make returns an error
>> telling me to deinstall the package first.
>
>less /usr/ports/Mk/bsd.port.mk
> SNIPP
># Default targets and their behaviors:
>#
># fetch - Retrieves ${DISTFILES} (and ${PATCHFILES} if 
>defined)
># into ${DISTDIR} as necessary.
># fetch-list- Show list of files that would be retrieved by fetch.
># fetch-recursive - Retrieves ${DISTFILES} (and ${PATCHFILES} if defined),
># for port and dependencies into 
>${DISTDIR} as necessary.
># fetch-recursive-list  - Show list of files that would be retrieved by
># fetch-recursive.
># extract   - Unpacks ${DISTFILES} into ${WRKDIR}.
># patch - Apply any provided patches to the source.
># configure - Runs either GNU configure, one or more local 
>configure
># scripts or nothing, depending on 
>what's available.
># build - Actually compile the sources.
># install   - Install the results of a build.
># reinstall - Install the results of a build, ignoring 
>"already installed"
># flag.
># deinstall - Remove the installation.
># package   - Create a package from an _installed_ port.
># describe  - Try to generate a one-line description for 
>each port for
># use in INDEX files and the like.
># checkpatch- Do a "patch -C" instead of a "patch".  Note that it may
># give incorrect results if multiple 
>patches deal with
># the same file.
># checksum  - Use distinfo to ensure that your distfiles are 
>valid.
># checksum-recursive - Run checksum in this port and all dependencies.
># makesum   - Generate distinfo (only do this for your own 
>ports!).
># clean - Remove ${WRKDIR} and other temporary files used 
>for building.
># clean-depends - Do a "make clean" for all dependencies.
> SNAPP
>
> SNIPP
># For package:
>#
># NO_LATEST_LINK - Do not install the "Latest" link for package.  Define 
>this
># if this port is a beta version of 
>another stable port
># which is also in the tree.
># LATEST_LINK- Install the "Latest" link for the package as ___.  Define
># this if the "Latest" link name will be incorrectly 
>determined.
>#
># This is used in all stages:
>#
># SCRIPTS_ENV   - Additional environment vars passed to scripts in
># ${SCRIPTDIR} executed by bsd.port.mk (default: see below).
>#
># Finally, variables to change if you want a special behavior.  These
># are for debugging purposes.  Don't set them in your Makefile.
>#
># ECHO_MSG  - Used to print all the '===>' style prompts - 
>override this
># to turn them off (de

[no subject]

2002-12-21 Thread Voicu Liviu
my problem is mounting vfat/ext3 partitions:
under linux my table looks like:
/dev/hda1 - > win2k
/dev/hda2 - > root of gentoo linux
/dev/hda3 - > swap of gentoo linux
/dev/hda4 - > my freebsd workstation

Any 1 please, how do I mount the partition of linux/win2k under freebsd?

Every thing is named different in freebsd.
Thanks


-- 
Voicu Liviu


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



Re: printing over the network

2002-12-21 Thread Cliff Sarginson
On Sat, Dec 21, 2002 at 08:07:52PM +0200, [EMAIL PROTECTED] wrote:
> 
> :))
> Actually " I did PING name_printer and it works fine. I guess the problem it's not 
>the daemon, it's something that i can figure out!"

Think you need an "rp" entry as well.

-- 
Regards
   Cliff Sarginson 
   The Netherlands

[ 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: (da0:ahc0:0:0:0): Unexpected busfree in Data-in phase

2002-12-21 Thread Joan Picanyol i Puig
* Dimitris Zilaskos <[EMAIL PROTECTED]> [20021221 14:11]:
>  Wherever I encountered it , that message either meant bad cabling
> /termination , or insufficient power output from the psu to support all
> the hard disks on the system .
Mmmhh... I haven't touched anything hw-related for months in this
machine

> Generally , it indicates a hardware problem
The disk in question is from this August, last time I opened the case.
It's been working fine since then.

> . Is the message the only symptom ? Can you access the filesystem on
> the disk normally ?
yes two both questions

qvb
-- 
pica

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



Re: (da0:ahc0:0:0:0): Unexpected busfree in Data-in phase

2002-12-21 Thread Joan Picanyol i Puig
* lewiz <[EMAIL PROTECTED]> [20021221 14:21]:
> On Sat, Dec 21, 2002 at 12:12:22PM +0100, Joan Picanyol i Puig wrote:
> > (da0:ahc0:0:0:0): Unexpected busfree in Data-in phase
>   This looks like you've got an Adaptec ahc SCSI controller, to me?  Am
> I right?
yes

> I was wondering if I could awfully cheeky and ask if I could
> see your kernel config for the device. 
(14:47:13 <~>) 0 $ strings /kernel | grep ahc | grep ___
___device   ahc # AHA2940 and onboard AIC7xxx
devices

qvb
-- 
pica

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



Re: (da0:ahc0:0:0:0): Unexpected busfree in Data-in phase

2002-12-21 Thread lewiz
On Sat, Dec 21, 2002 at 12:12:22PM +0100, Joan Picanyol i Puig wrote:
> (da0:ahc0:0:0:0): Unexpected busfree in Data-in phase

Hi,

  This looks like you've got an Adaptec ahc SCSI controller, to me?  Am
I right?  I was wondering if I could awfully cheeky and ask if I could
see your kernel config for the device.  I've been trying to get an
AHA-2920 working for some time now and I have not yet got the kernel to
even probe it (after booting in verbose mode).  I'm wondering whether or
not I have my kernel config. wrong.

  Thanks very much,

-lewiz.

-- 
Sattinger's Law:
It works better if you plug it in.

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg12823/pgp0.pgp
Description: PGP signature


Eat pizza, watch TV ... and lose 22 pounds

2002-12-21 Thread hinim
Hi,

If you're like me, you've tried EVERYTHING to lose
weight.  I know how you feel - the special diets,
miracle pills, and fancy exercise equipment never helped
me lose a pound either.  It seemed like the harder I tried,
the bigger I got, until I heard about a product called
Power Diet Plus.

You're probably thinking to yourself, "Oh geez, not another
miracle diet pill!"  Like you, I was skeptical at first, but 
my sister swore it helped her lose 23 pounds in just two weeks, 
so I told her I'd give it a shot.  I mean, there was nothing 
to lose except a lot of weight!  Let me tell you, it was
the best decision I've ever made. Period.  Six months later,
as I'm writing this message to you, I've gone from 355 pounds
to 210 pounds, and I haven't changed my exercise routine or diet
at all.  Yes, I still eat pizza, and lots of it!

I was so happy with the results that I contacted the manufacturer
and got permission to resell it - at a BIG discount.  I want
to help other people lose weight like I did, because it
does so much for your self-esteem, not to mention your health.
I give you my personal pledge that Power Diet Plus
absolutely WILL WORK FOR YOU.  If it doesn't, you can return it
any time for a full refund.

If you are frustrated with trying other products, not having 
any success, and just not getting the results you were promised,
then I recommend the only product that worked for me - POWER DIET
PLUS.

You're probably asking yourself, "Ok, so how does this stuff
actually work?"

Power Diet Plus contains Lipotropic fat burners which are 
scientifically proven to increase metabolism and cause rapid 
weight loss. No "hocus pocus" in these pills - just RESULTS, RESULTS, 
RESULTS!! 

Here is the bottom line ...

I can help you lose 10-15 pounds per week naturally, without
exercising and without having to eat rice cakes all day.  
Just try it for one month - there's nothing to lose, and everything 
to gain.  You will lose weight fast - GUARANTEED.  That is my
pledge to you.  

To order Power Diet Plus on our secure server, just click
on the link below:

http://lonewplace.nease.net/images/powerorder.htm

To see what some of our customers have said about this product, 
visit http://lonewplace.nease.net/images/testimonials.htm

To see a list of ingredients and for more information
on test studies and how it will help you lose weight, visit 
http://lonewplace.nease.net/images/howitworks.htm

{%rand%}

1843ziXY5-993kczG7568egQD8-278FCrm5935iuWF5-38l43

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



Re: (da0:ahc0:0:0:0): Unexpected busfree in Data-in phase

2002-12-21 Thread Dimitris Zilaskos
>
> I started getting the following message about two days ago:
>
> (da0:ahc0:0:0:0): Unexpected busfree in Data-in phase
>
> What does it mean? Should I worry about it? Relevant part of dmesg on a

 Wherever I encountered it , that message either meant bad cabling
/termination , or insufficient power output from the psu to support all
the hard disks on the system . Generally , it indicates a hardware problem
. Is the message the only symptom ? Can you access the filesystem on
the disk normally ?


 Kind regards ,
--
=

Dimitris Zilaskos

Department of Physics @ Aristotle Univercity of Thessaloniki , Greece
PGP key : http://tassadar.physics.auth.gr/~dzila/pgp_public_key.asc
  http://egnatia.ee.auth.gr/~dzila/pgp_public_key.asc
MD5sum  : 4f84f3f53cb046008b4abcb2a092d28d  pgp_public_key.asc
=



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



Re: How do you suspend and resume a remote shell session?

2002-12-21 Thread Matthew Seaman
On Sat, Dec 21, 2002 at 10:03:30PM +1100, Andrew Cutler wrote:

> However what I'm really trying to achieve is to keep X apps alive when
> running them remotely, and be able to connect and disconnect at will and
> still have the app up and running, exactly where you left it.

vnc can do that.  You run vnc in server mode on your FreeBSD machine
and the vnc client gives you an X desktop in a window that you can
connect to or disconnect from at will.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
  Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

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



Re: printing over the network

2002-12-21 Thread iuliand

:))
Actually " I did PING name_printer and it works fine. I guess the problem it's not the 
daemon, it's something that i can figure out!"
-- 
Iulian Dumbrava
ROMTELECOM. O&M Network. IN Management Center 

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



Re: printing over the network

2002-12-21 Thread iuliand
On 21 Dec 2002 11:26:58 +
Stacey Roberts <[EMAIL PROTECTED]> wrote:

> On Sat, 2002-12-21 at 17:16, [EMAIL PROTECTED] wrote:
> > On 21 Dec 2002 11:04:59 +
> > Stacey Roberts <[EMAIL PROTECTED]> wrote:
> > 
> > > On Sat, 2002-12-21 at 16:53, [EMAIL PROTECTED] wrote:
> > > > Hello!
> > > > I heve trying to do this job on a network printer with an IP assigned.
> > > > I have edited hosts and printcap files but when I do lpr -P name_printer file, 
>the output is printer unknown. Is there anywhere else where I should configure?
> > > > Thanks!
> > > 
> > > Quick shot in the dark., have you restarted lpd?
> > > 
> > > Stacey
> > Yes!
> > Still nothing!
> 

Stacey Roberts <[EMAIL PROTECTED]> wrote:
> 
> Could we see what your printcap file looks like, please?

   :sh:\
   :rm=name_printer:sd=/var/spool/output/:lf=/var/log/lpd-errs:\

> I presume you could ping the printer, yes?
That's right! I could!

> Are you using lpd or lprng (have to get that out of the way)
lpd

> Is lpd running / listening? - Show me
iulian#ps -ax | grep lpd
4544  ??  Is 0:00.01 lpd



> What does "lpc status all" return?
Nothing
> 
> 
I did pig name_printer and it work fine. I guess the problem it's not the daemon, it's 
something that i can figure out!
Thanks!
-- 
Iulian Dumbrava
ROMTELECOM. O&M Network. IN Management Center 

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



Re: printing over the network

2002-12-21 Thread Stacey Roberts
On Sat, 2002-12-21 at 17:16, [EMAIL PROTECTED] wrote:
> On 21 Dec 2002 11:04:59 +
> Stacey Roberts <[EMAIL PROTECTED]> wrote:
> 
> > On Sat, 2002-12-21 at 16:53, [EMAIL PROTECTED] wrote:
> > > Hello!
> > > I heve trying to do this job on a network printer with an IP assigned.
> > > I have edited hosts and printcap files but when I do lpr -P name_printer file, 
>the output is printer unknown. Is there anywhere else where I should configure?
> > > Thanks!
> > 
> > Quick shot in the dark., have you restarted lpd?
> > 
> > Stacey
> Yes!
> Still nothing!

Could we see what your printcap file looks like, please?
I presume you could ping the printer, yes?
Are you using lpd or lprng (have to get that out of the way)
Is lpd running / listening? - Show me
What does "lpc status all" return?


Stacey
-- 
Stacey Roberts
B.Sc (HONS) Computer Science

Web: www.vickiandstacey.com



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



Re[2]: How do you suspend and resume a remote shell session?

2002-12-21 Thread Alex

Dear/Beste Andrew Cutler,

Saturday, December 21, 2002, 5:48:02 AM, Dan wrote:

> In the last episode (Dec 21), Andrew Cutler said:
>> Does anyone know of a method to suspend and resume a telnet / SSH
>> session. I know that it is possible to suspend and resume a serial
>> console session, but is there any way to do it remotely using SSH?
>> 
>> Essentially I'd like to be able to disconnect my session and then
>> reconnect,say a day later and return to the same console session.

> ports/misc/screen

After you have installed this you do this:

# screen
# execute the command you want
# ctrl-a d
# exit

The next time you can do:

# screen -r

And it all is back at the screen.


-- 
Best regards/Met vriendelijke groet,
Alex


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



Re: printing over the network

2002-12-21 Thread iuliand
On 21 Dec 2002 11:04:59 +
Stacey Roberts <[EMAIL PROTECTED]> wrote:

> On Sat, 2002-12-21 at 16:53, [EMAIL PROTECTED] wrote:
> > Hello!
> > I heve trying to do this job on a network printer with an IP assigned.
> > I have edited hosts and printcap files but when I do lpr -P name_printer file, the 
>output is printer unknown. Is there anywhere else where I should configure?
> > Thanks!
> 
> Quick shot in the dark., have you restarted lpd?
> 
> Stacey
Yes!
Still nothing!

-- 
Iulian Dumbrava
ROMTELECOM. O&M Network. IN Management Center 

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



(da0:ahc0:0:0:0): Unexpected busfree in Data-in phase

2002-12-21 Thread Joan Picanyol i Puig
Hi,

I started getting the following message about two days ago: 

(da0:ahc0:0:0:0): Unexpected busfree in Data-in phase

What does it mean? Should I worry about it? Relevant part of dmesg on a
recent -stable:

da0 at ahc0 bus 0 target 0 lun 0
da0:  Fixed Direct Access SCSI-3 device
da0: 80.000MB/s transfers (40.000MHz, offset 63, 16bit), Tagged Queueing
Enabled
da0: 19001MB (38914049 512 byte sectors: 255H 63S/T 2422C)

ahc0:  port 0x1000-0x10ff mem 0xd002-0xd0020fff 
irq 11 at device 14.0 on pci0
aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs

tks
-- 
pica

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



Re: How do you suspend and resume a remote shell session?

2002-12-21 Thread Mark
- Original Message -
From: "Andrew Cutler" <[EMAIL PROTECTED]>
To: "Paul A. Scott" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, December 21, 2002 11:34 AM
Subject: Re: How do you suspend and resume a remote shell session?


> Maybe my question wasn't clear enough. I would like to SSH into a
> box with say my laptop, setup some tasks, run some programs,
> suspend the connection, unplug and turn off my laptop, and then
> come back to the same session a few days later, perhaps using a
> different computer. I would also like to be able to do this with
> XDMCP / remote X.


Unless I am mistaken, I do not see how this can be done. SSH sessions, as
any other process, can be suspended, I suppose; but once you lose the
connection, as in: unplug / turn off your laptop, that socket connection is
gone, and gone for ever.

Perhaps you need to redesign your concept. Maybe I lack imagination, but
what is the use of suspending a telnet / SSH session? It seems to me that
what you want is to suspend the tasks you are working on within the SSH
session. That can be done using regular process management, and does not
require your SSH session, to use a Windoze term, be "hybernated" or
something.

- Mark


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



Re: printing over the network

2002-12-21 Thread Stacey Roberts
On Sat, 2002-12-21 at 16:53, [EMAIL PROTECTED] wrote:
> Hello!
> I heve trying to do this job on a network printer with an IP assigned.
> I have edited hosts and printcap files but when I do lpr -P name_printer file, the 
>output is printer unknown. Is there anywhere else where I should configure?
> Thanks!

Quick shot in the dark., have you restarted lpd?

Stacey
-- 
Stacey Roberts
B.Sc (HONS) Computer Science

Web: www.vickiandstacey.com



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



Re: How do you suspend and resume a remote shell session?

2002-12-21 Thread Andrew Cutler
Hi Uli,

I'm not a total n00b as some of my previous posts would suggest, I do
use the '&' method when needed ;). Its great for running kernel builds,
as you suggested.

However what I'm really trying to achieve is to keep X apps alive when
running them remotely, and be able to connect and disconnect at will and
still have the app up and running, exactly where you left it.

Anyone who has used Terminal Server or Citrix in a disconnected
environment will know what I mean, about suspending and resuming
sessions.

I've been looking tentatively for info on how to do this for about a
year now and so far I haven't found anything useful.

Regarding my previous post, I couldn't help but poke at the comic irony
of Pauls post. No agro intended, other than to poke fun and perhaps cut
down on the number of noise posts.



> If I understand you right, you don't want to exit the session,
> because you are afraid the program you started is going to close,
> too.
> This can be prevented by typing an  &  at the end of a command
> line:
> # make kernel &
> will go on building and installing a new kernel, though you log
> out.
> 
> Sorry, if I misinterpreted your question.
> 
> Uli.of Pauls post. No agro intended, other than to poke fun and perhaps cut
> 
> 
> > I
> > would also like to be able to do this with XDMCP / remote X.
> >
> > and yes I do rtfm, do u read questions or do u just answer them :)
> >
> > -> ouch!
> >
> > Seriously, I'm not trying to start a flame, I 'm just looking for some
> > answers, I've been looking at this for a while now but there does not
> > seem to be any info available on how this is achieved.
> >
> > As Dan suggested, I'm going to look at screen, which looks quite
> > promising. Any other legitimate info / advice would also be appreciated.
> >
> >
> > On Sat, 2002-12-21 at 20:34, Paul A. Scott wrote:
> > > > From: Andrew Cutler <[EMAIL PROTECTED]>
> > > > Does anyone know of a method to suspend and resume a telnet / SSH
> > > > session.
> > >
> > > man telnet
> > > man ssh
> > --
> > Andrew Cutler <[EMAIL PROTECTED]>
> >
> >
> > To Unsubscribe: send mail to [EMAIL PROTECTED]
> > with "unsubscribe freebsd-questions" in the body of the message
> >
> 
> *---*
> *Peter Ulrich Kruppa*
> *  -  Wuppertal -   *
> *  Germany  *
> *---*
-- 
Andrew Cutler <[EMAIL PROTECTED]>


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



printing over the network

2002-12-21 Thread iuliand
Hello!
I heve trying to do this job on a network printer with an IP assigned.
I have edited hosts and printcap files but when I do lpr -P name_printer file, the 
output is printer unknown. Is there anywhere else where I should configure?
Thanks!
-- 
Iulian Dumbrava
ROMTELECOM. O&M Network. IN Management Center 

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



Re: How do you suspend and resume a remote shell session?

2002-12-21 Thread P. U. Kruppa
On 21 Dec 2002, Andrew Cutler wrote:

> Maybe my question wasn't clear enough. I would like to SSH into a box
> with say my laptop, setup some tasks, run some programs, suspend the
> connection, unplug and turn off my laptop, and then come back to the
> same session a few days later, perhaps using a different computer.
If I understand you right, you don't want to exit the session,
because you are afraid the program you started is going to close,
too.
This can be prevented by typing an  &  at the end of a command
line:
# make kernel &
will go on building and installing a new kernel, though you log
out.

Sorry, if I misinterpreted your question.

Uli.


> I
> would also like to be able to do this with XDMCP / remote X.
>
> and yes I do rtfm, do u read questions or do u just answer them :)
>
> -> ouch!
>
> Seriously, I'm not trying to start a flame, I 'm just looking for some
> answers, I've been looking at this for a while now but there does not
> seem to be any info available on how this is achieved.
>
> As Dan suggested, I'm going to look at screen, which looks quite
> promising. Any other legitimate info / advice would also be appreciated.
>
>
> On Sat, 2002-12-21 at 20:34, Paul A. Scott wrote:
> > > From: Andrew Cutler <[EMAIL PROTECTED]>
> > > Does anyone know of a method to suspend and resume a telnet / SSH
> > > session.
> >
> > man telnet
> > man ssh
> --
> Andrew Cutler <[EMAIL PROTECTED]>
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>

*---*
*Peter Ulrich Kruppa*
*  -  Wuppertal -   *
*  Germany  *
*---*


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



Re: How do you suspend and resume a remote shell session?

2002-12-21 Thread Andrew Cutler
Maybe my question wasn't clear enough. I would like to SSH into a box
with say my laptop, setup some tasks, run some programs, suspend the
connection, unplug and turn off my laptop, and then come back to the
same session a few days later, perhaps using a different computer. I
would also like to be able to do this with XDMCP / remote X.

and yes I do rtfm, do u read questions or do u just answer them :)

-> ouch!

Seriously, I'm not trying to start a flame, I 'm just looking for some
answers, I've been looking at this for a while now but there does not
seem to be any info available on how this is achieved.

As Dan suggested, I'm going to look at screen, which looks quite
promising. Any other legitimate info / advice would also be appreciated.


On Sat, 2002-12-21 at 20:34, Paul A. Scott wrote:
> > From: Andrew Cutler <[EMAIL PROTECTED]>
> > Does anyone know of a method to suspend and resume a telnet / SSH
> > session.
> 
> man telnet
> man ssh
-- 
Andrew Cutler <[EMAIL PROTECTED]>


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



Re: local copies of packages during their installation

2002-12-21 Thread Jens Rehsack
Jörg Meyer wrote:

Hello,

I've been experimenting with FreeBSD since the day
day before yesterday. Coming from the MS-world I am very 
impressed already.

I installed the system from a CD created from the Mini-Iso-Image.
Installing packages with pkg_add -r I would like to have local
copies of the downloaded tarball in order to create an adapted
CD with the packages I really need (just for the case of a new-
or re-installation).
Of course, all the depending package-tarballs should be download
as well - otherwise I could also ftp them manually.
Furthermore it would be really nice if the directory structure of
the FTP-Server was duplicated locally as well.

I know (from experimenting) that make package within the ports collection
can archieve something similar (packages are created under /usr/ports/packages
if existent). But following this strategy in my opinion has 3 major disadvantages:
1) Compiling packages like XFree86-4 takes quite a long time on my machnine.
Solution a) Buy a faster machine. Compile takes it's time
Solution b) Do not compile but download
Solution c) Wait
Solution d) reduce your optimization level


2) It is impossible to create a package without installing it.
In case of the package is installed already make returns an error
telling me to deinstall the package first.


less /usr/ports/Mk/bsd.port.mk
 SNIPP
# Default targets and their behaviors:
#
# fetch - Retrieves ${DISTFILES} (and ${PATCHFILES} if 
defined)
# into ${DISTDIR} as necessary.
# fetch-list- Show list of files that would be retrieved by fetch.
# fetch-recursive - Retrieves ${DISTFILES} (and ${PATCHFILES} if defined),
# for port and dependencies into 
${DISTDIR} as necessary.
# fetch-recursive-list  - Show list of files that would be retrieved by
# fetch-recursive.
# extract   - Unpacks ${DISTFILES} into ${WRKDIR}.
# patch - Apply any provided patches to the source.
# configure - Runs either GNU configure, one or more local 
configure
# scripts or nothing, depending on 
what's available.
# build - Actually compile the sources.
# install   - Install the results of a build.
# reinstall - Install the results of a build, ignoring 
"already installed"
# flag.
# deinstall - Remove the installation.
# package   - Create a package from an _installed_ port.
# describe  - Try to generate a one-line description for 
each port for
# use in INDEX files and the like.
# checkpatch- Do a "patch -C" instead of a "patch".  Note that it may
# give incorrect results if multiple 
patches deal with
# the same file.
# checksum  - Use distinfo to ensure that your distfiles are 
valid.
# checksum-recursive - Run checksum in this port and all dependencies.
# makesum   - Generate distinfo (only do this for your own 
ports!).
# clean - Remove ${WRKDIR} and other temporary files used 
for building.
# clean-depends - Do a "make clean" for all dependencies.
 SNAPP

 SNIPP
# For package:
#
# NO_LATEST_LINK - Do not install the "Latest" link for package.  Define 
this
# if this port is a beta version of 
another stable port
# which is also in the tree.
# LATEST_LINK- Install the "Latest" link for the package as ___.  Define
# this if the "Latest" link name will be incorrectly 
determined.
#
# This is used in all stages:
#
# SCRIPTS_ENV   - Additional environment vars passed to scripts in
# ${SCRIPTDIR} executed by bsd.port.mk (default: see below).
#
# Finally, variables to change if you want a special behavior.  These
# are for debugging purposes.  Don't set them in your Makefile.
#
# ECHO_MSG  - Used to print all the '===>' style prompts - 
override this
# to turn them off (default: ${ECHO_CMD}).
# PATCH_DEBUG   - If set, print out more information about the patches as
# it attempts to apply them.
# PKG_DBDIR - Where package installation is recorded 
(default: /var/db/pkg)
# NO_PKG_REGISTER - Don't register a port installation as a package.
# FORCE_PKG_REGISTER - If set, it will overwrite any existing package
# registration information in 
${PKG_DBDIR}/${PKGNAME}.
# NO_DEPENDS- Don't verify build of dependencies.
 SNAPP

It seems to work. Try 'NO_PKG_REGISTER=yes make package"

3) dependencies are not considered.
make package in /usr/math/mupad only creates a mupad-package
but no package for linux_base which is necessary for mupad.


I've attached you a small script. Preventing d

Re: local copies of packages during their installation

2002-12-21 Thread P. U. Kruppa
On Sat, 21 Dec 2002, Jörg Meyer wrote:

> Hello,
>
> I've been experimenting with FreeBSD since the day
> day before yesterday. Coming from the MS-world I am very
> impressed already.
>
> I installed the system from a CD created from the Mini-Iso-Image.
> Installing packages with pkg_add -r I would like to have local
> copies of the downloaded tarball in order to create an adapted
> CD with the packages I really need (just for the case of a new-
> or re-installation).
> Of course, all the depending package-tarballs should be download
> as well - otherwise I could also ftp them manually.
> Furthermore it would be really nice if the directory structure of
> the FTP-Server was duplicated locally as well.
>
> I know (from experimenting) that make package within the ports collection
> can archieve something similar (packages are created under /usr/ports/packages
> if existent). But following this strategy in my opinion has 3 major disadvantages:
> 1) Compiling packages like XFree86-4 takes quite a long time on my machnine.
> 2) It is impossible to create a package without installing it.
> In case of the package is installed already make returns an error
> telling me to deinstall the package first.
> 3) dependencies are not considered.
> make package in /usr/math/mupad only creates a mupad-package
> but no package for linux_base which is necessary for mupad.
>
> Does anyone know a solution to this problem?
> Don't you make local copies of packages you install(ed)?
No, I have a DSL flatrate. Why should I pay extra money for
back-up CD-ROMs? They will be outdated next month anyway.


Uli.

> Thanks for each advice in advance.
>
> Yours,
> Joerg Meyer
>
>
>
>
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>

*---*
*Peter Ulrich Kruppa*
*  -  Wuppertal -   *
*  Germany  *
*---*


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



local copies of packages during their installation

2002-12-21 Thread Jörg Meyer
Hello,

I've been experimenting with FreeBSD since the day
day before yesterday. Coming from the MS-world I am very 
impressed already.

I installed the system from a CD created from the Mini-Iso-Image.
Installing packages with pkg_add -r I would like to have local
copies of the downloaded tarball in order to create an adapted
CD with the packages I really need (just for the case of a new-
or re-installation).
Of course, all the depending package-tarballs should be download
as well - otherwise I could also ftp them manually.
Furthermore it would be really nice if the directory structure of
the FTP-Server was duplicated locally as well.

I know (from experimenting) that make package within the ports collection
can archieve something similar (packages are created under /usr/ports/packages
if existent). But following this strategy in my opinion has 3 major disadvantages:
1) Compiling packages like XFree86-4 takes quite a long time on my machnine.
2) It is impossible to create a package without installing it.
In case of the package is installed already make returns an error
telling me to deinstall the package first.
3) dependencies are not considered.
make package in /usr/math/mupad only creates a mupad-package
but no package for linux_base which is necessary for mupad.

Does anyone know a solution to this problem?
Don't you make local copies of packages you install(ed)?
Thanks for each advice in advance.

Yours,
Joerg Meyer






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



Re: ELF docs

2002-12-21 Thread Matthew Seaman
On Sat, Dec 21, 2002 at 02:11:04AM +0100, Alexander wrote:
> Where I can find some docs about the freebsd elf binary structure ?
> I'm interested in more detailed docs (C examples would be great).

elf(5) looks like a good start. ELF isn't FreeBSD specific: it's the
same binary format as used in Linux, SVR4, Solaris and many more, so a
small amount of time spent googling will turn up such documents as
http://www.skyfree.org/linux/references/ELF_Format.pdf

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
  Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

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



OT - Compiling IMAP-UW to allow plain text passwords

2002-12-21 Thread Danny Horne
Hi all,

I've been trying to install IMAP-UW from ports but can't get it to allow
plain text passwords.  Any clues?

Thanks


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



Re: How do you suspend and resume a remote shell session?

2002-12-21 Thread Paul A. Scott

> From: Andrew Cutler <[EMAIL PROTECTED]>
> Does anyone know of a method to suspend and resume a telnet / SSH
> session.

man telnet
man ssh

-- 
Paul A. Scott
mailto:[EMAIL PROTECTED]
http://skycoast.us/pscott/


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



Re: adduser ownership of mounted home directory

2002-12-21 Thread dick hoogendijk
> I am trying to put user's home directories onto a mounted windows
> share (mounting via smbfs).  When I run the adduser script (and
> specify /mountedshare/username as the home directory) it doesn't set
> the ownership of the home directory to the user.  Root still owns the
> folder.  If I add a user to the usual /home directory it works fine.

Do you expect windows to honour the *NIX permisssion flags?
Only ntfs comes close but differs too. So, what you want is not
possible afaik.

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.7 ++ Debian GNU/Linux (Woody)

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



SQUID question

2002-12-21 Thread P. U. Kruppa
Hi,

I am testing Squid on my home network:

+--+   +--+
| 192.168.10.1 |   | 192.168.10.2 |
| squid proxy  |<--|Win2k |
|  on -STABLE  |   |   Client |
+--+   +--+

Squid can be used properly on the proxy-machine (with
linux-mozilla1.2.1 directed to localhost:3128 ),
but Win2k's InternetExploder (directed to 192.168.10.1:3128)
cannot open any webpages: After some minutes it ends up with
"... couldn't be opened"

C:> telnet 192.168.10.1 3128
seems to be ok: the dialog window is opened.

This is my rule set in squid.conf so far:

acl pukruppa src 192.168.10.0/255.255.255.0
http_access allow pukruppa
http_access allow localhost
http_access deny all


Thanks for any ideas.


Uli.


*---*
*Peter Ulrich Kruppa*
*  -  Wuppertal -   *
*  Germany  *
*---*


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



CONFIDENTIAL

2002-12-21 Thread samsin joe
FRO:Samsin  joe
PHONE:(874)-762864167, 
  (870)-762864167,
  (871)-762864167 
 
FAX  :(874)-762864168


 (URGENT AND CONFIDENTIAL)

RE:  TRANSFER OF ($26,000.000.00 USD}
TWENTY SIX MILLION DOLLARS

Dear Sir,

We want to transfer to overseas account 
($26,000.000.00 USD) Twenty six million United States
Dollars) from a Prime Bank here in South Africa, I
want to ask you, If you can look for a reliable and
honest person who will be capable and fit to provide
either an existing bank account or to set up a new
Bank a/c immediately to receive this money, even an
empty a/c can serve to receive this money, as long as
you will remain honest to me till the end for this
important business trusting in you and believing in
God that you will never let me down either now or in
future.

I am the Auditor General of one of the prime banks
here in South Africa, during the course of our
auditing,I discovered a floating fund in an account
opened in the bank in 1996 and since 1998 nobody has
operated on this account again,after going through
some old files in the records I discovered that the
owner of the account died without a [Heir/WILL] hence
the money is floating and if I do not remit this money
out urgently it will be forfeited for nothing. The
owner of this account is PEDRO F. HASLER a foreigner,
a great industrialist and he died since 1998.No other
person knows about this account or any thing
concerning it, the account has no other beneficiary
and my investigation proved to me as well that until
his death he was the manager GOLD ARK [pty]. SA.

We will start the first transfer with Six million
[$6,000.000] upon successful transaction without any
disappoint from your side, we shall re-apply for the
payment of the remaining rest amount to your account.

The total amount involve is Twenty six million United
States Dollars only [$26,000.000.00]. I want to first
transfer $6,000.000.00 [Six million United States
Dollar] from this money into a safe foreigners account
abroad before the rest. But I don't know any
foreigner, I am only contacting you as a foreigner
because this money can not be approved to a local
person here, without valid international foreign
passport, but can only be approved to any foreigner
with valid international passport or drivers
license and foreign a/c  because the money is in US
dollars and the former owner of the a/c is a
foreigner too, and the money can only be approved into
a foreign a/c.

However, we will sign a binding agreement, to bind us
together when we meet face to face after the first
transfer of $6 Million before transferring the second
part of $20 Million. I am revealing this to you with
believe in God that you will never let me down in this
business, you are the first and the only person that I
am contacting for this business, so please reply
urgently so that I will inform you the next step to
take urgently. Send also your private telephone and
fax number including the full details of the account
to be used for the deposit.

I want us to meet face to face to build confidence and
to sign a binding agreement that will bind us together
immediately after the first transfer before we fly to
your country for withdrawal, sharing and investments.

I need your full co-operation to make this work fine
because the management is ready to approve this
payment to any foreigner who has correct information
of this account, which I will give to you upon your
positive response and once I am convinced that you are
capable and will meet up with instruction of  a key
bank official who is deeply involved with me in this
business. I need your strong assurance that you will
never, never let me down.

With my influence and my position in the bank the bank
official can transfer this money to any foreigner's
reliable account that you can provide with assurance
that this money will be intact pending our physical
arrival in your country for sharing. The bank official
Will destroy all documents of transaction immediately
we receive this money leaving no trace to any place
and to build confidence you can call me for heart to
heart discussion through my private satellite phone
which I secured for the security and safety of this
business as you know that this business is
confidential.I will use my position and influence to
obtain all legal approvals for onward transfer of this
money to your account with appropriate clearance from
the relevant ministries and foreign exchange
departments.

At the conclusion of this business, you will be given
35% of the total amount, 60% will be for me, while 5%
will be for expenses both parties might have incurred
during the process of transferring.

I look forward to your earliest reply through my email
address.

Yours truly
Samsin  joe








 





__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsu