The FreeBSD Diary: 2002-12-01 - 2002-12-21

2002-12-22 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to [EMAIL PROTECTED] with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives http://www.freebsd.org/search/search.html#mailinglists 
and/or The FreeBSD Diary http://www.freebsddiary.org/. 

These are the articles posted during this period:

6-Dec : PostgreSQL - removing foreign keys
 Things are getting easier
 http://freebsddiary.org/postgresql-dropping-constraints.php?2


-- 
Dan Langille - DVL Software Limited
The FreeBSD Diary - http://www.FreeBSDDiary.org/ - practical examples
FreshPorts- http://www.FreshPorts.org/   - the place for ports
FreshSource   - http://www.FreshSource.org/  - the place for source


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



ipfw count Q

2002-12-22 Thread Alexander Yeremenko
I have a box, running as router.
Network A.B.C/Z is connected via ppp0
router:/rc.firewall :
ipfw add 10 connt all from any to any via ppp0
ipfw add 15 connt all from any to A.B.C/Z 
ipfw add 15 connt all from A.B.C/Z to any
Rules 10 and 15 gives absolutely different results.
What's wrong ? 

-- 
AY7-UANIC || AY15-RIPE

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



windows 2000 FreeBSD?

2002-12-22 Thread Timm Rebitzki
i have windows 2000 professional as my primary os. is it possible for
freebsd and win2k to coexist on my system with a boot manager?

thanx for your help!

timm rebitzki

[EMAIL PROTECTED]


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



Re: windows 2000 FreeBSD?

2002-12-22 Thread Frank Reppin
On Sun, 22 Dec 2002, Timm Rebitzki wrote:

 i have windows 2000 professional as my primary os. is it possible for
 freebsd and win2k to coexist on my system with a boot manager?

Yes. I have the same constellation on a box here.
A 40GB harddrive divided by 2 serves W2k and FreeBSD.
The first OS installed was W2k and afterwards I installed
FreeBSD. Once I accidently removed the BSD bootloader, but
this wasn't difficult to solve - I booted from the FBSD install
CD and in sysinstall i rewrote the info with fdisk (this happened
because of a new installation from the previous installed Windows98 to
W2k).

Kind regards,

Frank Reppin



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



Changing Colocation site. help: ifconfig

2002-12-22 Thread Grant Peel
Hello all,

We have been colocating at our current site since 2001, and will be
changing colo sites in late January.

When we set up the current site, the colo admin set up ifconfig for us.
He will not be available to set up at the new colo site :-)

I have been reading the man articles for ifconfig and am still slightly
confised. If anyone can help I would be greatfull.

Here is the current setup:

fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 205.150.82.194 netmask 0xfff0 broadcast 205.150.82.207
ether 00:b0:d0:f9:ca:e2
media: Ethernet autoselect (100baseTX full-duplex)
status: active
fxp1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 192.168.0.2 netmask 0xfc00 broadcast 192.168.3.255
ether 00:02:b3:89:62:52
media: Ethernet autoselect (100baseTX full-duplex)
status: active
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet 127.0.0.1 netmask 0xff00
ppp0: flags=8010POINTOPOINT,MULTICAST mtu 1500
sl0: flags=c010POINTOPOINT,LINK2,MULTICAST mtu 552
faith0: flags=8000MULTICAST mtu 1500

What I need to do is:

1) Wipe the configurations for fxp0 and fxp1 completely.

2) Add the new settings.
Here are the details from the new provider:
Network: 65.39.193.144
Gateway: 65.39.193.145
Subnet Mask: 255.255.255.240
Useable IP Range: 65.39.193.152 - 154

fxp0 will be plugged into a switch which in turn will be plugged into
the providers switch.
I am somewhat confised about the terms. I know the subnet and one of the
available IPs need to be set, But I am wondering of the gateway is going to
be my switch address? and what I am supposed to do with the 'network'
IP?

3) CUrrently, I have two boxes that are connected to each other. (fxp1). I
want to add a third box, and have the three of them LANd using 192.168.0.1,
2, 3. My question is, can I pluc the three of them into the same local
switch as the internet connections (fxp0).


Here is what it shoould look like when finished:


Box 1
fxp0 65.39.193.152---**
fxp1 192.168.0.1-** -providers switch
  **   (provider does routing)
  *  My*
Box 2 * Switch *
fxp0 65.39.193.152---**
fxp1 192.168.0.2-**
  **
Box3  **
fxp0 65.39.193.153---**
fxp1 192.168.0.3-**
  **


-Grant


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



Re: About Evolution?

2002-12-22 Thread Ray Seals
I run evolution on my FreeBSD 4.7 laptop.  I have installed it out of
the ports collection with no problems.

Ray

On Sat, 2002-12-21 at 23:33, Mark-Nathaniel Weisman wrote:
 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
-- 
Ray Seals [EMAIL PROTECTED]


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



Re: SQUID question

2002-12-22 Thread P. U. Kruppa
On Sat, 21 Dec 2002, Roman Neuhauser wrote:

 # [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
When I change
http_port to
http_port 192.168.10.1:3128
Squid doesn't even work locally on the proxy.
So I stayed with
http_port 3128

Uli.

  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


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


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



Re: SQUID question

2002-12-22 Thread P. U. Kruppa
On Sat, 21 Dec 2002, David S. Jackson wrote:

 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?
it completely ignores any access from 192.168.10.2 - the Win2k
machine.


 Are you sure the proxy is set up properly in IE?
Yes, I put in IP and channel manually.

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

 Are you running any add-ons to squid, like squidguard?
Not that I know.

Uli.



 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


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


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



RE: SQUID question

2002-12-22 Thread P. U. Kruppa
On Sun, 22 Dec 2002, Howard Picken wrote:

 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?
192.168.10.1:3128

 What is the gateway setup on win box?
192.168.10.1


 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.
IP address192.168.10.2
subnetmask255.255.255.0
gateway   192.168.10.1

And: when I kill Squid and reset IE it can access the Internet as
it always did.


Uli.




 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


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


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-22 Thread Lowell Gilbert
Dragoncrest [EMAIL PROTECTED] writes:

  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.

Let me try asking this again.

If you try more than one connection, simultaneously, how much *total*
bandwidth do you get?  [In other words, is it the link or the TCP
connection that is throttling the bandwidth?]

 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

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



Re: Networking hardware question

2002-12-22 Thread Jerry Bell
It partially depends on how the 5 switches and one hub are connected to each
other.  If they 5 of the devices all connect into one central device, you're
probably safe, but if one is connected to the other and on and on, you will
have problems.
The problem is propogation delays when the devices are chained together in
series.  The delay can lead to retries and crashes which, in some cases, can
really degrade the throughput of your network and in some cases halt it all
together.

Jerry
- Original Message -
From: Christophe Simon [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, December 20, 2002 1:47 PM
Subject: Networking hardware question


 Hi,

 For one week, I have the responsability to administrate a LAN in a society
 where there's at least 5 swithes and 1 hub connected together in chain. I
 heard that plugging too many hubs or swithes in chain can cause network
 stability problems.

 Is that right, and what can I do. I have been adviced to put a bridge
 station between twoo switches in the chain, but I didn't succeeded in
 configuring the twoo interfaces (twoo RTL 8139 cards) on the same  network
 adress (for exemple 192.168.0.1 and 192.168.0.2 cards in the same box...)
 and making a bridge. I compiled my kernel with the BRIDGE option, and I
put
 sysct.net.link.bridge_cfg=rl0:0,rl1:0 in sysctl.conf.

 Im I on the rigt way, and if not so on, what ca I do ?

 Thanks a lot !





 _
 MSN Messenger : discutez en direct avec vos amis !
 http://www.msn.fr/msger/default.asp


 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: blank saver question

2002-12-22 Thread Lowell Gilbert
J. Seth Henry [EMAIL PROTECTED] writes:

 Hello,
 I am working on adapting FreeBSD to a Compaq IA-1. The display on this
 system is not DPMS compliant, so shutting off the backlight requires
 writing to a PCI register.
 
 I currently have a small C program which I can use to manipulate this
 register from the command line, and I would like to either integrate, or
 call, this code from the blanksaver module. Unfortunately, I don't know
 enough about how it works to change it.
 
 Could someone give me some tips on how to do this? Is it as simple as
 simply adding the code to the blank_saver() function, and adding the
 appropriate header and include files? I'm a bit nervous mucking in
 modules, as I understand they can cause problems that are hard to
 recover from.

Offhand, that looks like a good approach.
Try it and see; if you have problems, just change things back.

 If it is, this would be a good place to initialize all of the front panel
 LED's as well :)


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



Re: Refusing Connections

2002-12-22 Thread Andrew Prewett
On Dec 21 Jimi Thompson wrote:

 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.

- Check if apache really listening on port (ie.: netstat -an -finet -ptcp).
- Check your httpd.conf for the following directives (main server config):

Listen  IP-ADDRESS:PORT
ServerName  FQDN

- Check the httpd.conf syntax (ie.: httpd -t, ev. httpd -DSSL -t).
- Try with telnet:
prompt$ telnet IP-ADDRESS PORT
GET /


 I verified that httpd.conf specifies port 80.  I've verified that the
 firewall is disabled.

And the default setting is `pass' any packet not `block'?

-andrew

 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

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



DTP under FreeBSD/UNIX.

2002-12-22 Thread lewiz
Hi,

  I'm looking for some powerful DTP software for FreeBSD / UNIX in
general (Linux would be fine, emulation is nice :).  I am familiar with
CorelDRAW (I have version 10) but so long as the software is quite
powerful I'd be willing to put the effort in to learn it.

  I want to design a yearbook for my college, I've got some nice stuff
in CorelDRAW right now.  It'd need to be fairly sturdy.  Any information
would be appreciated.  I know of the KDE/GNOME projects but haven't used
them, any feedback on these would be good.

  Thanks very much,

-lewiz.

-- 
No, `Eureka' is Greek for `This bath is too hot.'
-- Dr. Who

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



msg12899/pgp0.pgp
Description: PGP signature


Re: About Evolution?

2002-12-22 Thread Jud
On 22 Dec 2002 08:56:24 -0600, Ray Seals [EMAIL PROTECTED] wrote:


I run evolution on my FreeBSD 4.7 laptop.  I have installed it out of
the ports collection with no problems.

Ray

On Sat, 2002-12-21 at 23:33, Mark-Nathaniel Weisman wrote:

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

Just wondering if the errors may be a consequence of either an outdated 
ports tree, or if the ports tree has been updated, perhaps some problem 
involving the updated ports looking for and not finding certain updated 
system files.  There have certainly been lots of changes in KDE between 4.5 
and 4.7 (I don't run KDE myself, but I remember numerous mailing list 
discussions about this).

--
Jud

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


subscribe freebsd-questions

2002-12-22 Thread Nik The Greek

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



Re: Changing Colocation site. help: ifconfig

2002-12-22 Thread Scott Mitchell
On Sun, Dec 22, 2002 at 09:05:08AM -0500, Grant Peel wrote:
 
 Here is the current setup:
 
 fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 inet 205.150.82.194 netmask 0xfff0 broadcast 205.150.82.207
 ether 00:b0:d0:f9:ca:e2
 media: Ethernet autoselect (100baseTX full-duplex)
 status: active
 fxp1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 inet 192.168.0.2 netmask 0xfc00 broadcast 192.168.3.255
 ether 00:02:b3:89:62:52
 media: Ethernet autoselect (100baseTX full-duplex)
 status: active
 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
 inet 127.0.0.1 netmask 0xff00
 ppp0: flags=8010POINTOPOINT,MULTICAST mtu 1500
 sl0: flags=c010POINTOPOINT,LINK2,MULTICAST mtu 552
 faith0: flags=8000MULTICAST mtu 1500
 
 What I need to do is:
 
 1) Wipe the configurations for fxp0 and fxp1 completely.

You want the ifconfig_fxp0=... and ifconfig_fxp1=... lines in your
/etc/rc.conf file.  Currently you probably have something like:

ifconfig_fxp0=inet 205.150.82.194 netmask 0xfff0 broadcast 205.150.82.207

maybe with some additional options.  All you should need to do is change
those lines to match the new values.  Do this before you power everything
down in the old colo, then the machines should come up correctly configured
in the new location.

 2) Add the new settings.
 Here are the details from the new provider:
 Network: 65.39.193.144
 Gateway: 65.39.193.145
 Subnet Mask: 255.255.255.240
 Useable IP Range: 65.39.193.152 - 154
 
 fxp0 will be plugged into a switch which in turn will be plugged into
 the providers switch.
 I am somewhat confised about the terms. I know the subnet and one of the
 available IPs need to be set, But I am wondering of the gateway is going to
 be my switch address? and what I am supposed to do with the 'network'
 IP?

The gateway address goes in your defaultrouter=... line in /etc/rc.conf.
This refers to the host on the 65.39.193.144 network that knows how to
route to other networks.  Your switch may or may not have its own IP
address, but that's not relevant here.

You shouldn't need to use the network number anywhere
explicitly... ifconfig should be able to work it (and the broadcast
address) out from the netmask and host address you give it, i.e:

65.39.193.152 AND 255.255.255.240 = 65.39.193.144

So on your first machine, you probably want:

ifconfig_fxp0=inet 65.39.193.152 netmask 0xfff0
ifconfig_fxp1=inet 192.168.0.2 netmask 0xfc00
defaultrouter=65.39.139.145

and so on for the other two.

 3) CUrrently, I have two boxes that are connected to each other. (fxp1). I
 want to add a third box, and have the three of them LANd using 192.168.0.1,
 2, 3. My question is, can I pluc the three of them into the same local
 switch as the internet connections (fxp0).

The switch probably won't care, but you might have ARP problems with that
kind of setup.  I really not sure though... maybe someone else can
clarify what the problems might be?

Hope that helps,

Scott

-- 
===
Scott Mitchell  | PGP Key ID | Eagles may soar, but weasels
Cambridge, England  | 0x54B171B9 |  don't get sucked into jet engines
[EMAIL PROTECTED] | 0xAA775B8B |  -- Anon

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



Internet connection sharing

2002-12-22 Thread Christophe Simon
Hi,

I'm trying to configure an old K6 200 as a gateway to share my internet 
connection at home. My LAN connected interface is xl0 (192.168.0.1), and my 
internet connected interface is ed0 (DHCP).
I followed the instructions to make a filtering bridge :

* /boot/loader.conf
bridge_load=YES

* /etc/sysctl.conf
net.link.ether.bridge_cfg=ed0:0,xl0:0
net.link.ether.bridge_ipfw=1
net.link.ether.bridge=1

* /etc/rc.conf
firewall_enable=YES
firewall_type=open
firewall_quiet=YES
firewall_logging=YES

And it doesn't work. I have done a standard installation...

At startup i have the error ip_fw_ctl : invalid command

Could someone tell me where my error is ? Thanks a lot...

_
MSN Messenger : discutez en direct avec vos amis ! 
http://www.msn.fr/msger/default.asp


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


Re: About Evolution?

2002-12-22 Thread Ryan Sommers
Update your ports tree
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html).
Then cd /usr/ports
Then discover 'make search' ex. make search name=evolution

Hope this helps,
Ryan

On Sat, 2002-12-21 at 23:33, Mark-Nathaniel Weisman wrote:
 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
-- 
Ryan leadZERO Sommers
[EMAIL PROTECTED]
ICQ: 1019590   AIM/MSN: leadZERO




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



RE: Refusing Connections

2002-12-22 Thread Jimi Thompson
Oddly enough, yes.

Thanks,

Ms. Jimi Thompson

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

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Matthew
Emmerton
Sent: Saturday, December 21, 2002 8:36 PM
To: Jimi Thompson; [EMAIL PROTECTED]
Subject: Re: Refusing Connections



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


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-22 Thread Dragoncrest


Let me try asking this again.

If you try more than one connection, simultaneously, how much *total*
bandwidth do you get?  [In other words, is it the link or the TCP
connection that is throttling the bandwidth?]


If I do multiple connections, all I get is a maximum of 45mbps 
internal lan, or 360kbps via my 740kbps external DSL link.  So no matter 
how many I have, one connection or 20, the maximum I can pull is 50% of the 
maximum speed available to me on any link or connection.


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-22 Thread Dragoncrest
	Oh, one other thing.  On my workstation I can hit 85mbps via the lan and 
720kbps on the DSL link.  So I don't think it's hardware.  I think it's a 
setting somewhere in the system, but it's baffling me where it's at.


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


Re: Internet connection sharing

2002-12-22 Thread David Kelly
On Sun, Dec 22, 2002 at 05:15:33PM +, Christophe Simon wrote:
 Hi,
 
 I'm trying to configure an old K6 200 as a gateway to share my internet 
 connection at home. My LAN connected interface is xl0 (192.168.0.1), and my 
 internet connected interface is ed0 (DHCP).
 I followed the instructions to make a filtering bridge :
[...]

IMO you don't want a filtering bridge. You want a NAT Gateway. Enable
the gateway kernel option, may have to compile divert sockets into the
kernel, ipfw is needed to divert packets to natd, run natd.

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

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



pkg_* question

2002-12-22 Thread Alexander Yeremenko
I have ny own package.
When i installed it at my new 4-7 box, all package_add's
begins to sout pacgage thispackage has no origin recorded
What's wrong in my pck_create ?

-- 
AY7-UANIC || AY15-RIPE

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



Q on vinum HOWTO org.netbase.org/vinum-mirrored

2002-12-22 Thread Hari Bhaskaran
Hi,

I am trying to follow the HOWTO at
http://org.netbase.org/vinum-mirrored.html
It says under Fresh installation of FreeBSD
section, second line, 

Then install the bootmanager only for the first disk

why is that? I am trying to follow Case 2 (explained in
the para just above the refered section). Is it a typo?
Did he mean only for case 1?

If bootmanager is not installed for the second disk,
how will it boot if the first one fails?

Any help is appreciated

Thank you for your time.
--
Hari Bhaskaran

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



Re: SQUID question

2002-12-22 Thread Fernando Gleiser
On Sun, 22 Dec 2002, P. U. Kruppa wrote:

 When I change
 http_port to
 http_port 192.168.10.1:3128
 Squid doesn't even work locally on the proxy.
 So I stayed with
 http_port 3128

What does 'sockstat -4 | grep squid' say?


Fer


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



Re: SQUID question

2002-12-22 Thread Fernando Gleiser
On Sun, 22 Dec 2002, P. U. Kruppa wrote:

 
  What does the access.log say for Squid?
 it completely ignores any access from 192.168.10.2 - the Win2k
 machine.

What do you mean? aren't there any lines for 192.168.10.2?

If there are no lines for 192.168.10.2, the Win box is not connecting to
the proxy. If the proxy is blocking the connection, it should log
a TCP_DENIED line for the requesting IP.


Fer


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-22 Thread Lowell Gilbert
Dragoncrest [EMAIL PROTECTED] writes:

 Let me try asking this again.
 
 If you try more than one connection, simultaneously, how much *total*
 bandwidth do you get?  [In other words, is it the link or the TCP
 connection that is throttling the bandwidth?]
 
  If I do multiple connections, all I get is a maximum of
 45mbps internal lan, or 360kbps via my 740kbps external DSL link.  So
 no matter how many I have, one connection or 20, the maximum I can
 pull is 50% of the maximum speed available to me on any link or
 connection.

Oh, right, a third possibility I didn't mention:  looks like it's the
router and not either link.  Check for errors (or even collisions) on
the interfaces while the transfer is happening, and also see what kind
of CPU load you're getting from NATD under pressure.

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



Re: Internet connection sharing

2002-12-22 Thread randall ehren
  or you can use IPFILTER, less involved setup:
   http://www.isber.ucsb.edu/~randall/wireless/ipnat.html

 the above URL refers to a page containing some
 info on setting up ipnat with one network card:
 URL:http://forum.redigital.org/read.php?f=2i=9t=8

 However, that URL appears to no longer be valid. :-(
 Does this info exist somewhere else?

instead of assigning a private (192.168.x.x) address to your 2nd network card,
just do the following:
 % ifconfig fxp0 alias 192.168.x.x netmask 255.255.255.255

 where fxp0 is your primary network card.

in this example you have to assume your gateway/isp connection is connected to
a hub/switch and all of your comptuters, including the one doing NAT, are
connected to the hub/switch as well.

--
:// randall s. ehren :// voice 805.893.5632
:// systems administrator:// isber|survey|avss.ucsb.edu
:// institute for social, behavioral, and economic research


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



Re: DTP under FreeBSD/UNIX.

2002-12-22 Thread nate
lewiz said:
 Hi,

   I'm looking for some powerful DTP software for FreeBSD / UNIX in
 general (Linux would be fine, emulation is nice :).  I am familiar with
 CorelDRAW (I have version 10) but so long as the software is quite
 powerful I'd be willing to put the effort in to learn it.

   I want to design a yearbook for my college, I've got some nice stuff
 in CorelDRAW right now.  It'd need to be fairly sturdy.  Any information
 would be appreciated.  I know of the KDE/GNOME projects but haven't used
 them, any feedback on these would be good.

never used it before but it's been out for a while:

http://linux.corel.com/products/draw/index.htm

also never tried but ..
http://xibios.free.fr/english/xclamation.html
http://www.atlantictechsolutions.com/scribusdocs/projects.html
http://www.mediascape.com/artstream-linux.html

see google for more ..

nate




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



System freeze (supported Disk Controllers)

2002-12-22 Thread Helmut Hoernle
hi  freebsd 
regarding the supported Hardware  of FreeBSD 4.7 (4.8) on a PC with AMD 
Athlon I have a question :
Does FreeBSD support this Configuration ?

Trying to install LINUX on rather high performance Hardware
There is constantly the Problem of freezing the system of this configuration :
The Motherboard is a Jetway  848 BS with an AMD Athlon  1400 MHZ and an
ALI M1649 + M1535D Chipset ( according to manual )
which consists of :
Ali M1533 Aladdin IV ISA Bridge
Ali M5229 IDE Controller
Ali M1647 Northbridge
Ali M7101 Power Management
Ali M5451 AC -link Controller (Sound )
Ali USB 1.1  USB - Controller

that is according to /proc/pci of  LINUX

The Disk - Controller is a UltraDMA100 IDE Controller with 
ALI M5229 Chipset.
I use 1024 MB of SDRAM 2-2-2 Infinion.
The Harddisks are IBM DTLA 307015 for booting and root partition and
IBM  Deskstar IC35L100 for /home.
The Graphicboard is a Jetway RV100 ATI Radeon VE QY with 64MB RAM.

I tried to run LINUX with a 2.4.19-195 Kernel 
( modified SuSE 8.1) but the System freezes undefined on unknown
conditions without any warnings or messages.

The UDMA100 - mode  doesn't work on SuSE 8.1 either.
So I tried the newer kernel 2.4.29-195; but no improvements.

Also Knoppix with kernel 2.4.19-xfs has the same problem.


Is it possible to run FreeBSD on this Hardware ?

thanX in Advance

Helmut


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



System freeze (supported Disk Controllers)

2002-12-22 Thread Helmut Hoernle
hi  freebsd 
regarding the supported Hardware  of FreeBSD 4.7 (4.8) on a PC with AMD 
Athlon I have a question :
Does FreeBSD support this Configuration ?

Trying to install LINUX on rather high performance Hardware
There is constantly the Problem of freezing the system of this configuration :
The Motherboard is a Jetway  848 BS with an AMD Athlon  1400 MHZ and an
ALI M1649 + M1535D Chipset ( according to manual )
which consists of :
Ali M1533 Aladdin IV ISA Bridge
Ali M5229 IDE Controller
Ali M1647 Northbridge
Ali M7101 Power Management
Ali M5451 AC -link Controller (Sound )
Ali USB 1.1  USB - Controller

that is according to /proc/pci of  LINUX

The Disk - Controller is a UltraDMA100 IDE Controller with 
ALI M5229 Chipset.
I use 1024 MB of SDRAM 2-2-2 Infinion.
The Harddisks are IBM DTLA 307015 for booting and root partition and
IBM  Deskstar IC35L100 for /home.
The Graphicboard is a Jetway RV100 ATI Radeon VE QY with 64MB RAM.

I tried to run LINUX with a 2.4.19-195 Kernel 
( modified SuSE 8.1) but the System freezes undefined on unknown
conditions without any warnings or messages.

The UDMA100 - mode  doesn't work on SuSE 8.1 either.
So I tried the newer kernel 2.4.29-195; but no improvements.

Also Knoppix with kernel 2.4.19-xfs has the same problem.


Is it possible to run FreeBSD on this Hardware ?

thanX in Advance

Helmut


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



System freeze (supported Disk Controllers)

2002-12-22 Thread Helmut Hoernle
hi  freebsd 
regarding the supported Hardware  of FreeBSD 4.7 (4.8) on a PC with AMD 
Athlon I have a question :
Does FreeBSD support this Configuration ?

Trying to install LINUX on rather high performance Hardware
There is constantly the Problem of freezing the system of this configuration :
The Motherboard is a Jetway  848 BS with an AMD Athlon  1400 MHZ and an
ALI M1649 + M1535D Chipset ( according to manual )
which consists of :
Ali M1533 Aladdin IV ISA Bridge
Ali M5229 IDE Controller
Ali M1647 Northbridge
Ali M7101 Power Management
Ali M5451 AC -link Controller (Sound )
Ali USB 1.1  USB - Controller

that is according to /proc/pci of  LINUX

The Disk - Controller is a UltraDMA100 IDE Controller with 
ALI M5229 Chipset.
I use 1024 MB of SDRAM 2-2-2 Infinion.
The Harddisks are IBM DTLA 307015 for booting and root partition and
IBM  Deskstar IC35L100 for /home.
The Graphicboard is a Jetway RV100 ATI Radeon VE QY with 64MB RAM.

I tried to run LINUX with a 2.4.19-195 Kernel 
( modified SuSE 8.1) but the System freezes undefined on unknown
conditions without any warnings or messages.

The UDMA100 - mode  doesn't work on SuSE 8.1 either.
So I tried the newer kernel 2.4.29-195; but no improvements.

Also Knoppix with kernel 2.4.19-xfs has the same problem.


Is it possible to run FreeBSD on this Hardware ?

thanX in Advance

Helmut


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



RE: SQUID question

2002-12-22 Thread Howard Picken
If you change the port number in IE to 80, does it
see the web server? (bepassing Squid).

If it does then Squid maybe OK but your ip filtering 
or forwarding is not setup properly.

Are you using an up-stream ISP or just running a local 
Web Server? What port is it set to?

Also, have you looked at this page?

http://www.squid-cache.org/Doc/FAQ/FAQ-17.html

It deals with your problem especially item 3 and 
the notes section.

GL

Howard
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of P. U. Kruppa
 Sent: Monday, 23 December 2002 3:06 AM
 To: Howard Picken
 Cc: [EMAIL PROTECTED]
 Subject: RE: SQUID question
 
 
 On Sun, 22 Dec 2002, Howard Picken wrote:
 
  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?
 192.168.10.1:3128
 
  What is the gateway setup on win box?
 192.168.10.1
 
 
  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.
 IP address192.168.10.2
 subnetmask255.255.255.0
 gateway 192.168.10.1
 
 And: when I kill Squid and reset IE it can access the Internet as
 it always did.
 
 
 Uli.
 
 
 
 
  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
 
 
 *---*
 *Peter Ulrich Kruppa*
 *  -  Wuppertal -   *
 *  Germany  *
 *---*
 
 
 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



RE: Refusing Connections

2002-12-22 Thread Jimi Thompson
This is a strange one.  Here's the deal.  The traffic doesn't even appear to
be making it as far as the Apache process.  That's why I was looking for
something in the OS that would be blocking it (like the firewall).

#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, in addition to the default. See also the VirtualHost
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
#
#Listen 12.34.56.78:80
Listen 80


Yep and I'm not getting a thing in the error logs either.  My access log is
totally empty.

My error log shows this when I stop and restart it by hand -

[Sat Dec 21 23:48:19 2002] [notice] caught SIGTERM, shutting down

[Sat Dec 21 23:48:25 2002] [warn] RSA server certificate CommonName (CN)
`web1' does NOT match server name!?
[Sat Dec 21 23:48:28 2002] [warn] RSA server certificate CommonName (CN)
`web1' does NOT match server name!?
[Sat Dec 21 23:48:28 2002] [notice] Apache/2.0.43 (Unix) mod_ssl/2.0.43
OpenSSL/0.9.6g configured -- resuming
normal operations

Netstat,  however, has other ideas -

 netstat -an -finet -ptcp
Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address  Foreign Address(state)
tcp4   0  0  4.60.243.40.22 4.60.243.201.1277
ESTABLISHED
tcp4   0  0  *.8021 *.*LISTEN
tcp4   0  0  *.8080 *.*LISTEN
tcp4   0  0  *.587  *.*LISTEN
tcp4   0  0  *.25   *.*LISTEN
tcp4   0  0  4.60.243.40.22 *.*LISTEN


Thanks,

Ms. Jimi Thompson

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

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Matthew
Emmerton
Sent: Saturday, December 21, 2002 8:36 PM
To: Jimi Thompson; [EMAIL PROTECTED]
Subject: Re: Refusing Connections



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


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



Re: SQUID question

2002-12-22 Thread David S. Jackson
On Sun, Dec 22, 2002 at 04:17:02PM -0300 Fernando Gleiser [EMAIL PROTECTED] 
wrote:
 On Sun, 22 Dec 2002, P. U. Kruppa wrote:
 
  
   What does the access.log say for Squid?
  it completely ignores any access from 192.168.10.2 - the Win2k
  machine.
 
 What do you mean? aren't there any lines for 192.168.10.2?
 
 If there are no lines for 192.168.10.2, the Win box is not connecting to
 the proxy. If the proxy is blocking the connection, it should log
 a TCP_DENIED line for the requesting IP.

Exactly.  I'm not sure Peter is even connecting to Squid.  

Ideally, I would like a screenshot (close up window capture) of his
proxy config from IE, an entire copy of his squid.conf, and the last two
days of his access.log and his cache.log.

If *nothing* happens when he's trying to connect to the proxy, the
browser just times out with no error from Squid, that tells me IE
probably isn't even *seeing* the proxy, although you can never be sure
with M$ error descriptions.  :-)  

If the winbox *is* seeing the proxy, perhaps the proxy is busy, deaf, or
dead, due to misconfiguration.  Hell, it could be as simple as a
permissions problem where Squid can't write to or read a file or
something.  But let's at least be sure Squid is running with no errors
and that it's willing and able to talk to his winbox.

-- 
David S. Jackson[EMAIL PROTECTED]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
I sold my memoirs of my love life to Parker Brothers
   -- they're going to make a game out of it.  -- Woody Allen

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



Re: About Evolution?

2002-12-22 Thread Andrew Y Ng
I compiled Evolution 1.2 from ports without any problem, been using it for a
long time on my freebsd laptop. they don't have Connector for freebsd though,
which is a big bummer...

/ayn


On  0, Mark-Nathaniel Weisman [EMAIL PROTECTED] wrote:
 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

-- 
andrew y ng  [EMAIL PROTECTED]  http://andrewng.com

gpg --keyserver pgp.mit.edu --recv-keys 9BFC594C
fingerprint : 46a1 29ff 893a 0381 dc81  1e1e bed8 e882 9bfc 594c 




msg12925/pgp0.pgp
Description: PGP signature


Re: Copying a CD

2002-12-22 Thread David S. Jackson
On Sat, Dec 21, 2002 at 09:44:58PM -0500 Mike Jeays [EMAIL PROTECTED] wrote:
 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#

What kind of data is on the CD?  Whether or not you can/should use dd
depends on what you're trying to do and with what kind of CD.  Make sure
you read chapter 12.5 of the FreeBSD handbook.  

-- 
David S. Jackson[EMAIL PROTECTED]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
And now for something completely different.

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



Re: DTP under FreeBSD/UNIX.

2002-12-22 Thread David S. Jackson
On Sun, Dec 22, 2002 at 04:07:13PM + lewiz [EMAIL PROTECTED] wrote:
 Hi,
 
   I'm looking for some powerful DTP software for FreeBSD / UNIX in
 general (Linux would be fine, emulation is nice :).  

Hi Lewiz.  Powerful is a funny word to use when comparing
Windows/Earlymac software with *Nix.  TeX and groff are some of the most
powerful typesetting/publishing software ever created, but there's a
steep learning curve before you can be productive with it.

You have to remember that *Nix was around long before graphical user
interfaces were common.  There're worlds of software available through a
CLI (commandline interface).  And, once you get used to it, this type of
software has a lot of advantages over graphically oriented software.

 I am familiar with
 CorelDRAW (I have version 10) but so long as the software is quite
 powerful I'd be willing to put the effort in to learn it.

I have never used CorelDRAW, so I don't know what all it does.  But it
sounds kinda like a drawing program with extras.  (Probably an
understatement.)  You might look at some of the graphics packages in the
new kde or gnome.  Open Office probably has a fairly good graphics
package.  Some of the word processors have some graphics capability,
though I doubt they're anywhere near where FrameMaker and that type of
software is (was?).

   I want to design a yearbook for my college, I've got some nice stuff
 in CorelDRAW right now.  It'd need to be fairly sturdy.  Any information
 would be appreciated.  I know of the KDE/GNOME projects but haven't used
 them, any feedback on these would be good.

Your goal, then, is to create camera ready copy, right?  I think that's
what DTP normally implies, but even that could have changed since I was
doing it.  ;-)  

May I suggest that you take a larger view of the project and consider
various ways to use the data that goes into a yearbook.  It might be
possible to create an SGML application with an SQL database that could
give you many ways to reuse the data, including camera ready copy for
the printer.  But if you think of the data clearly and efficiently, you
could also generate output for CDs for your class or school, a class
website, specialized products for special interest groups in your class
(sell the wrestling team or whoever all their data that didn't make it
into the yearbook, for instance), or even print a web-based yearbook as
well, without the restrictions that come with the printed format.

Anyway, you could also just search graphics and desktop publishing and
Linux/BSD application sites for software.  I just googled desktop
publishing +linux and got
http://www.epinions.com/cmsw-Graphics-All-Adobe_Framemaker

Seems you can get Adobe FrameMaker (with decent SGML capapbility) for
some UNIX flavors after all.  It ain't cheap, though.  :-)

-- 
David S. Jackson[EMAIL PROTECTED]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Nirvana?  That's the place where the powers that be
and their friends hang out.  -- Zonker Harris



msg12927/pgp0.pgp
Description: PGP signature


Re: Internet connection sharing

2002-12-22 Thread Christophe Simon
From: randall ehren [EMAIL PROTECTED]
To: David Kelly [EMAIL PROTECTED]
CC: Christophe Simon [EMAIL PROTECTED],  
[EMAIL PROTECTED]
Subject: Re: Internet connection sharing
Date: Sun, 22 Dec 2002 11:15:17 -0800 (PST)

  I'm trying to configure an old K6 200 as a gateway to share my 
internet
  connection at home. My LAN connected interface is xl0 (192.168.0.1), 
and my
  internet connected interface is ed0 (DHCP).
  I followed the instructions to make a filtering bridge :
 [...]

 IMO you don't want a filtering bridge. You want a NAT Gateway. Enable
 the gateway kernel option, may have to compile divert sockets into the
 kernel, ipfw is needed to divert packets to natd, run natd.

or you can use IPFILTER, less involved setup:
 http://www.isber.ucsb.edu/~randall/wireless/ipnat.html

in your case, fxp0 = ed0 and xl0 = wi0 (corresponding to the guide above)

 -randall

--
:// randall s. ehren :// voice 805.893.5632
:// systems administrator:// isber|survey|avss.ucsb.edu
:// institute for social, behavioral, and economic research


I succeeded in configuring my pc as an internet gateway. I had problems with 
the the page you indicated me (but it's very well done and documented).

Here's the method i used :

* In the kernel configuration file for compilation:
options IPFILTER
options IPDIVERT
options IPFIREWALL
options IPFIREWALL_VERBOSE (to log firewall)
options IPFIREWALL_VERBOSE_LIMIT=100 (log limits)

* In the rc.conf file (on a 192.168.0.0 network)
ifconfig_xl0=inet 192.168.0.1 netmask 0xff00 (LAN connection
ifconfig_ed0=DHCP
gateway_enable=YES
natd_enable=YES
natd_interface=ed0
firewall_enable=YES
firewall_type=open (or any firewall rules)
firewall_quiet=YES
firewall_logging=YES

I hope it will be of any utility...

Thanks a lot for your help !

_
MSN Messenger : discutez en direct avec vos amis ! 
http://www.msn.fr/msger/default.asp


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


Otvet

2002-12-22 Thread Darja Simonova
Íåêòî ñ IP 193.251.179.137 çàïðîñèë íà àäðåñ  [EMAIL PROTECTED]  
èíôîðìàöèþ î ñàéòå ÄÅÍÅÆÍÛÉ ÈÑÒÎÊ.


Ó ìíîãèõ ÷àñòî âîçíèêàþò âîïðîñû - ïî÷åìó â ìèðå íåò ñîöèàëüíîé 
ñïðàâåäëèâîñòè, ïî÷åìó òå êòî ìíîãî ðàáîòàþò äàëåêî íå âñåãäà èìåþò íå 
òîëüêî ÷òî ìíîãî äåíåã, à õîòÿ áû äîñòàòî÷íî, ïî÷åìó â îäíèõ ñòðàíàõ
áîìæû æèâóò ëó÷øå ÷åì àêàäåìèêè â äðóãèõ, âîîáùå îò ÷åãî çàâèñèò è 
÷åì îïðåäåëÿåòñÿ ìàòåðèàëüíîå áëàãîïîëó÷èå ÷åëîâåêà? 
Àâòîð ñàéòà ÄÅÍÅÆÍÛÉ ÈÑÒÎÊ ïûòàåòñÿ íàéòè îòâåòû íà âñå ýòè 
âîïðîñû. Ïðè ýòîì òî, ÷òî ïðåäëàãàåòñÿ íà ñàéòå èìååò íå 
îáùåòåîðåòè÷åñêóþ, à èìåííî ïðåæäå âñåãî ïðèêëàäíóþ íàïðàâëåííîñòü. 

Åñëè âû õîòèòå ïîñìîòðåòü ñàéò ÄÅÍÅÆÍÛÉ ÈÑÒÎÊ,
òî íàïèøèòå ïî àäðåñó:

[EMAIL PROTECTED]

âàì áóäåò âûñëàíà ññûëêà.

 Åñëè âàì óäîáíåå, òî âàì ìîãóò âûñëàòü àðõèâ ñ ôàéëàìè, 
ñîäåðæàùèìè èíôîðìàöèþ èçëîæåííóþ íà ñàéòå.   

-
Ýòî îòâåò íà êîíêðåòíûé çàïðîñ.
Âàø àäðåñ  [EMAIL PROTECTED]  
íå áóäåò âíåñ¸í íè â êàêèå ñïèñêè ðàññûëîê.
   Åñëè õîòèòå, ìîæåòå ïîñëàòü äîïîëíèòåëüíóþ
ïðîñüáó íå âûñûëàòü âàì èíôîðìàöèþ âïðåäü:
[EMAIL PROTECTED]















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



Any IPFW clues???

2002-12-22 Thread Gary D Kline

People,

I'm trying to switch from ipfilter to ipfw.  With the former,
things work.  When I comment out the ipf* lines in /etc/rc.conf
and enable the ipfw lines (and reboot) not even ping works.
I've tried pining ns1.thought.org and get the No route to host
error.  (!)

Anbody ever have this happen and understand what I'm breaking?
And how-to fix it?

thanks,

gary



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


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



RE: Any IPFW clues???

2002-12-22 Thread Sean J. Countryman
Perhaps you could post your rules?

- Sean


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Gary D Kline
Sent: Sunday, December 22, 2002 4:06 PM
To: FreeBSD Mailing List
Subject: Any IPFW clues???



People,

I'm trying to switch from ipfilter to ipfw.  With the former,
things work.  When I comment out the ipf* lines in /etc/rc.conf
and enable the ipfw lines (and reboot) not even ping works.
I've tried pining ns1.thought.org and get the No route to host
error.  (!)

Anbody ever have this happen and understand what I'm breaking?
And how-to fix it?

thanks,

gary



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


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: Any IPFW clues???

2002-12-22 Thread MikeM


On 12/22/2002 at 3:05 PM Gary D Kline wrote:
|   I'm trying to switch from ipfilter to ipfw.  With the former,
|   things work.  When I comment out the ipf* lines in /etc/rc.conf
|   and enable the ipfw lines (and reboot) not even ping works.
|   I've tried pining ns1.thought.org and get the No route to host
|   error.  (!)
|
|   Anbody ever have this happen and understand what I'm breaking?
|   And how-to fix it?
 =

What does your rules file look like?  

By default, ipfw blocks everything, unless you've enabled the
DEFAULT_TO_ACCEPT option in the kernel config.




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



Re: Any IPFW clues???

2002-12-22 Thread Gary D Kline
On Sun, Dec 22, 2002 at 04:14:31PM -0700, Sean J. Countryman wrote:
 Perhaps you could post your rules?
 
 - Sean

Sure::

 ipfw -f 10 flush
 ipfw add 100 check-state
 ipfw add 150 allow tcp from any to any in via dc0 keep-state
 ipfw add 200 allow udp from any to any in via dc0 keep-state
 ipfw add 300 allow icmp from any to any in recv dc0 keep-state
 ipfw add 500 reset tcp from any to any in via dc0

# Allow in SSH on port 22 [[ this block should be okay ]]
 ipfw add 1000 allow tcp from any to 10.0.0.249 22 in via dc1 keep-state
 ipfw add 1050 allow tcp from 10.0.0.249 to any 22 out via dc1 keep-state
 ipfw add 1100 allow tcp from any to 10.0.0.247 22 in via dc1 keep-state
 ipfw add 1150 allow tcp from 10.0.0.247 to any 22 in via dc1 keep-state
 ipfw add 1200 allow tcp from any to 216.231.43.140 22 in via dc0
keep-state
 ipfw add 1250 allow tcp from 216.231.43.140 to any 22 in via dc0
keep-state

# Allow FTP data connections
  ipfw add 1300 allow tcp from any to 216.231.43.140 21 7499-8501 in via
dc0

# Allow in DNS on port 53
  ipfw add 1400 allow tcp from any to 216.231.43.140 53 in via dc0
  ipfw add 1500 allow udp from any to 216.231.43.140 53 in via dc0

# Allow in private printer and printer on ports 35 AND 515
  ipfw add 1600 allow tcp from any to 216.231.43.140 35,515 in via dc0
  ipfw add 1700 allow udp from any to 216.231.43.140 35,515 in via dc0

# Allow in HTTP on port 80
  ipfw add 1800 allow tcp from any to 216.231.43.140 80 in via dc0
  ipfw add 1900 allow udp from any to 216.231.43.140 80 in via dc0

# Allow in SMTP on port 25
 ipfw add 2200 allow tcp from any to 216.231.43.140 25 in via dc0
 ipfw add 2300 allow udp from any to 216.231.43.140 25 in via dc0

# Allow in named/BIND on port 42
 ipfw add 2400 allow tcp from any to 216.231.43.140 42 in via dc0
 ipfw add 2500 allow udp from any to 216.231.43.140 42 in via dc0

# deny unreachable pings; (type = 3).
 ipfw add 2600 deny icmp from any to any in icmptypes 3


# Inside Interface
 ipfw add 2900 allow udp from any to any out xmit dc0 keep-state
 ipfw add 3200 allow tcp from any to any via dc0 keep-state
 ipfw add 3300 allow udp from any to any in recv dc0 keep-state
 ipfw add 3400 allow icmp from any to any via dc0 keep-state
 ipfw add 3500 deny ip from any to any recv dc0

# Loopback Interface
 ipfw add 3600 allow ip from 127.0.0.1 to 127.0.0.1 in recv lo0
 ipfw add 3700 allow ip from 127.0.0.1 to 127.0.0.1 out xmit lo0
 ipfw add 3800 allow from any to any



Anything here glaringly wrong?

gary


 
 

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


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



Re: Any IPFW clues???

2002-12-22 Thread Gary D Kline
On Sun, Dec 22, 2002 at 06:19:12PM -0500, MikeM wrote:
 
 
 On 12/22/2002 at 3:05 PM Gary D Kline wrote:
 | I'm trying to switch from ipfilter to ipfw.  With the former,
 | things work.  When I comment out the ipf* lines in /etc/rc.conf
 | and enable the ipfw lines (and reboot) not even ping works.
 | I've tried pining ns1.thought.org and get the No route to host
 | error.  (!)
 |
 | Anbody ever have this happen and understand what I'm breaking?
 | And how-to fix it?
  =
 
 What does your rules file look like?  
 
 By default, ipfw blocks everything, unless you've enabled the
 DEFAULT_TO_ACCEPT option in the kernel config.
 


Yeah, I saw that DEFAULT; mine is to ACCEPT...

gary

PS: rules just posted.


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


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



Re: Any IPFW clues???

2002-12-22 Thread Gary D Kline
On Sun, Dec 22, 2002 at 03:21:13PM -0800, Sarah Woolley wrote:
 I had this happen to me once.  ipfw may be set to deny everything.  You'll
 probably need to make rules allowing whatever traffic you want in and out.
 Try the man pages.  They are useful.  :)
 

Thanks; I'm reading the HOWTO which is equally helpful.  One
thing wis that even tho I thought I had the kernel rebuilt
earlier, evidently *not*

cut-paste

messages:154:Dec 22 13:20:36 sage /kernel: IP packet filtering initialized,
divert disabled, rule-based forwarding disabled, default to deny, logging
disabled
messages:258:Dec 22 13:28:26 sage /kernel: IP packet filtering initialized,
divert disabled, rule-based forwarding disabled, default to deny, logging
disabled
messages:362:Dec 22 13:38:43 sage /kernel: IP packet filtering initialized,
divert disabled, rule-based forwarding disabled, default to deny, logging
disabled

About an hour ago everything was OPEN and DEFAULT_TO_ACCEPT.

gary


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


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



Re: Any IPFW clues???

2002-12-22 Thread Sarah Woolley
do ipfw show to see what's actually in ipfw.  Also, I don't think the 10
after -f on the first line should be there, perhaps it's preventing ipfw
from actually flushing things.

Hope this helps.


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



Re: Any IPFW clues???

2002-12-22 Thread Gary D Kline
On Sun, Dec 22, 2002 at 03:30:04PM -0800, Sarah Woolley wrote:
 do ipfw show to see what's actually in ipfw.  Also, I don't think the 10
 after -f on the first line should be there, perhaps it's preventing ipfw
 from actually flushing things.
 
 Hope this helps.
 

Hm!  Let me try that...I think you right about the numbering
for flush.

Ah. There is an err on the last line:

 ipfw add 3800 allow from any to any

should read:

 ipfw add 3800 allow all from any to any


gary


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


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



RE: Refusing Connections

2002-12-22 Thread Andrew Prewett
On Dec 22 Jimi Thompson wrote:

 This is a strange one.  Here's the deal.  The traffic doesn't even appear to
 be making it as far as the Apache process.  That's why I was looking for
 something in the OS that would be blocking it (like the firewall).

 #
 # Listen: Allows you to bind Apache to specific IP addresses and/or
 # ports, in addition to the default. See also the VirtualHost
 # directive.
 #
 # Change this to Listen on specific IP addresses as shown below to
 # prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
 #
 #Listen 12.34.56.78:80
 Listen 80

change this to `Listen 4.60.243.40:80' and see what happens...

(assuming IP# 4.60.243.40 where apache should bind/listen)



 Yep and I'm not getting a thing in the error logs either.  My access log is
 totally empty.

 My error log shows this when I stop and restart it by hand -

 [Sat Dec 21 23:48:19 2002] [notice] caught SIGTERM, shutting down

 [Sat Dec 21 23:48:25 2002] [warn] RSA server certificate CommonName (CN)
 `web1' does NOT match server name!?
 [Sat Dec 21 23:48:28 2002] [warn] RSA server certificate CommonName (CN)
 `web1' does NOT match server name!?
 [Sat Dec 21 23:48:28 2002] [notice] Apache/2.0.43 (Unix) mod_ssl/2.0.43
 OpenSSL/0.9.6g configured -- resuming
 normal operations

 Netstat,  however, has other ideas -

  netstat -an -finet -ptcp
 Active Internet connections (including servers)
 Proto Recv-Q Send-Q  Local Address  Foreign Address(state)
 tcp4   0  0  4.60.243.40.22 4.60.243.201.1277
 ESTABLISHED
 tcp4   0  0  *.8021 *.*LISTEN
 tcp4   0  0  *.8080 *.*LISTEN
  this is a proxy?
You dont changed the apache default port at compile time?

 tcp4   0  0  *.587  *.*LISTEN
 tcp4   0  0  *.25   *.*LISTEN
 tcp4   0  0  4.60.243.40.22 *.*LISTEN
somewere in the netstat output should be a line like:

tcp4 0 0  4.60.243.40.80 *.* LISTEN

-andrew

 Thanks,

 Ms. Jimi Thompson

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



Padding expr output

2002-12-22 Thread BSD Freak
Hi all,

I am usiung expr in a shell script and need to pad it's output to 
always be 3 characters. An example will explain thing better:

% expr 007 + 1
Output is 8

I need the output to be 008


I checked the expr man page, but nothing there solves my problem. 
Anyone out there got one?

Thanks in advance



-
Would you like to receive faxes to your personal email address?
You can with mBox.  Visit http://www.mbox.com.au/fax

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



Re: Padding expr output

2002-12-22 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-12-23 10:57:19 +1100:
 Hi all,
 
 I am usiung expr in a shell script and need to pad it's output to 
 always be 3 characters. An example will explain thing better:
 
 % expr 007 + 1
 Output is 8
 
 I need the output to be 008

printf(8)

zero-padded integer and octal, respectively:
roman@freepuppy ~ 1029:0  printf %03d\n $(expr 8 + 1)   
009
roman@freepuppy ~ 1030:0  printf %#o\n $(expr 8 + 1)   
011
roman@freepuppy ~ 1031:0   

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



4.7 Stable - Apache 2, Mod jk

2002-12-22 Thread Ian Watkinson
Hi List.

Trying to get Apache 2 and mod_jk to play together.

Getting the error 

/mod_jk.so: Undefined symbol pthread_mutex_unlock

When I try to load the module

Now, I've done the --no-verify. Remove from configure in mod_jk to get
it to compile 
on freebsd properly but I can't get it to load. Apache2 runs and loads
other modules fine, and tomcat 4.06 is running fine as well.

Google and google groups produce the same question as I have, but no
answers, except for...

Url:http://groups.google.com/groups?q=/mod_jk.so:+Undefined+symbol+%22pt
hread_mutex_unlock%22start=30hl=enlr=ie=UTF-8selm=p04330117b7d44145
59ce__192.0.1.73_%40ns.sol.netrnum=35filter=0

Which to summarise says 

 took a stab at trying to fix this problem, and I've managed to get 
it working by building mod_jk *WITHOUT* the -D_REENTRANT flag.

Except, I can't find that as an option within configure, and no-one has
answered the further question, is this a good thing.

Any help or pointers would be appreciated...

Thanks in advance, and seasons greetings to all.


-- 

Ian Watkinson
==


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



Re: Padding expr output

2002-12-22 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-12-23 01:12:22 +0100:
 # [EMAIL PROTECTED] / 2002-12-23 10:57:19 +1100:
  Hi all,
  
  I am usiung expr in a shell script and need to pad it's output to 
  always be 3 characters. An example will explain thing better:
  
  % expr 007 + 1
  Output is 8
  
  I need the output to be 008
 
 printf(8)

printf(1), of course.

-- 
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: Padding expr output

2002-12-22 Thread Kurt Bigler
on 12/22/02 3:57 PM, BSD Freak [EMAIL PROTECTED] wrote:

 Hi all,
 
 I am usiung expr in a shell script and need to pad it's output to
 always be 3 characters. An example will explain thing better:
 
 % expr 007 + 1
 Output is 8
 
 I need the output to be 008
 
 
 I checked the expr man page, but nothing there solves my problem.
 Anyone out there got one?

Don't use expr to do the formatting.

Use some sprintf-like capability in some scripting language that supports
full functionality from the command-line.  I think both awk and perl have
that capability in some form.  (Maybe someone else can be more specific.)

 
  Kurt Bigler


 
 Thanks in advance


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



Re: Copying a CD

2002-12-22 Thread Mike Jeays
David S. Jackson wrote:


On Sat, Dec 21, 2002 at 09:44:58PM -0500 Mike Jeays [EMAIL PROTECTED] wrote:
 

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#
   


What kind of data is on the CD?  Whether or not you can/should use dd
depends on what you're trying to do and with what kind of CD.  Make sure
you read chapter 12.5 of the FreeBSD handbook.  

 

It is a data CD. bs=2048 was what I needed.  My thanks to all who made 
suggestions.



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


List etiquette

2002-12-22 Thread Mike Jeays
Many times I have asked questions on this list, and had helpful
replies from one or more people.  My usual practice is to reply
to them directly and thank them, and tell them whether their idea
helped.  This avoids cluttering up the list with thank-you messages,
but may look as though I haven't bothered to even listen.

Should one post such replies to the list?

Secondly, an occasional question goes unanswered - perhaps
because no one thought it was interesting enough to reply.
Is it acceptable to post it again after a few days?




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



Re: DTP under FreeBSD/UNIX.

2002-12-22 Thread lewiz
On Sun, Dec 22, 2002 at 04:47:55PM -0500, David S. Jackson wrote:
 On Sun, Dec 22, 2002 at 04:07:13PM + lewiz [EMAIL PROTECTED] wrote:
  Hi,
  
I'm looking for some powerful DTP software for FreeBSD / UNIX in
  general (Linux would be fine, emulation is nice :).  
 
 Hi Lewiz.  Powerful is a funny word to use when comparing
 Windows/Earlymac software with *Nix.  TeX and groff are some of the most
 powerful typesetting/publishing software ever created, but there's a
 steep learning curve before you can be productive with it.

Hehe, yeah, I agree.  I've been playing around with TeX for a while just
recently.  I can do a bit with it - ie, write an essay, include a few
pictures but tbh, I really would _hate_ to try and do a modern
graphics-intensive DTP project in it.  It's almost too clumsy yet...
much more elegant at the same time ;)

 though I doubt they're anywhere near where FrameMaker and that type of
 software is (was?).

Hehe, still is.  I've looked at it a bit - for Windows only though.
There was a Linux BETA of FrameMaker (or maybe it was PageMaker) but I
couldn't get it to run under emulation, which was a bit disappointing.

 May I suggest that you take a larger view of the project and consider
 various ways to use the data that goes into a yearbook.  It might be
 possible to create an SGML application with an SQL database that could
 give you many ways to reuse the data, including camera ready copy for
 the printer.  But if you think of the data clearly and efficiently, you
 could also generate output for CDs for your class or school, a class
 website, specialized products for special interest groups in your class
 (sell the wrestling team or whoever all their data that didn't make it
 into the yearbook, for instance), or even print a web-based yearbook as
 well, without the restrictions that come with the printed format.

I'm toying with the idea of a website now.  For my school ICT coursework
I'm doing some PHP coding for an ex-pupils website.  Once I've finished
this I might modify it a bit and make it the perfect base for such an
idea.  Not got far with this yet, though.

  Thanks very much for your ideas, they've been very useful.

-lewiz.

-- 
A consultant is a person who borrows your watch, tells you what time it
is, pockets the watch, and sends you a bill for it.

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



msg12949/pgp0.pgp
Description: PGP signature


newfs -i and -f options with vinum

2002-12-22 Thread Hari Bhaskaran
Hi,

I need to create a partition that will be used to 
store large number of small files (qmail Maildir)
I normally (without vinum in the picture) do this via

newfs -i 2048 -f 512 /dev/...

So when using newfs to create an fs via vinum, I am assuming
I have to specify -i and -f options in addition to -v.
However, I noticed that these options where also specified
under disklabel for the entire vinum drive
(I saw fsize and bsize - which I assume
will be fragment size and block size).

So my questions is:-

   Is it possible to specify these settings only for one
   volume (where I store my mail files)? Does it mean I 
   can ignore the settings that I saw in disklabel (-e)?

Any help is appreciated
(Thanks Greg for the earlier reply)

--
Hari Bhaskaran

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



Re: DTP under FreeBSD/UNIX.

2002-12-22 Thread lewiz
On Sun, Dec 22, 2002 at 12:15:55PM -0800, nate wrote:
I want to design a yearbook for my college, I've got some nice stuff
  in CorelDRAW right now.  It'd need to be fairly sturdy.  Any information
  would be appreciated.  I know of the KDE/GNOME projects but haven't used
  them, any feedback on these would be good.
 
 never used it before but it's been out for a while:
 
 http://linux.corel.com/products/draw/index.htm

Yeah, I knew about this.  Unfortunately, it's no longer available for
purchase and, what I consider to be even more important - if I've
already paid for it, I don't feel totally happy paying again for the
same thing, simply for a different platform!  grin

 also never tried but ..
 http://xibios.free.fr/english/xclamation.html

I've just had a look at the website and I've never heard of this before.
The screenshots look _very_ encouraging.  Looks like the site is a bit
dodgy -- some of the links don't work and stuff.  I'll see what I can do
with this one, and tell you how I get on.

  Thanks very much for the details.

-lewiz.

-- 
The Kennedy Constant:
Don't get mad -- get even.

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



msg12951/pgp0.pgp
Description: PGP signature


java/jdk13 problems under 4.7-STABLE

2002-12-22 Thread Tom Parquette
Please CC me on any replies.  I'm not currently subscribed to 
freebsd-questions.  TIA...

I'm trying to install the jdk13 to make mozilla happy.  By trial and 
error (trial and download? ;-) I've gotten to the point of the following 
error.  I cannot find anything that gets me around this.  

Thanks for any assistance anybody can provide.
Cheers...

The messages and errors from my latest attempt: (transcription typos and 
all)
make
=== Extracting for jdk-1.3.1p7_2
 Checksum OK for j2sdk-1_3_1-src.tar.gz
 Checksum OK for bsd-jdk131-patches-7.tar.gz
=== jdk-1.3.1p7_2 depends on executable: gm4 - found
=== jdk-1.3.1p7_2 depends on executable: zip - found
=== jdk-1.3.1p7_2 depends on file: /usr/X11R6/lib/libxm.so - found
=== jdk-1.3.1p7_2 depends on file: 
/usr/local/linux-sun-jdk1.3.1/bin/javac - not found
=== Verifying install for /usr/local/linux-sun-jdk1.3.1/bin/javac in 
/usr/ports/java/linux-sun-jdk13
=== Extracting for linux-sun-jdk-1.3.1.06_1
 Checksum OK for j2sdk-1_3_1_06-linux-i586.bin.
=== linux-sun-jdk-1.3.1.06_1 depends on file: 
/compat/linux/lib/libc.so.6 - found
ELF interpreter /compat/svr4/lib/ld-linux.so.2 not found
abprt trap *** Error code 134
Stop in /usr/ports/java/linux-sun-jdk13.
*** Error code 1
Stop in /usr/ports/java/jdk13.

Thr original error I was trying to fix in Mozilla was: LoadPlugin: 
failed to initialize shared library 
/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so [Cannot 
open /usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so]

One other error I got that only appeared once was something about 
needing to download the linux gnuzip shell script then redo the make 
command.  It only showed up once and has not shown itself again.  I do 
not know if it was important or not.

Thanks again for any help you can provide.
Cheers and Seasons Greetings...


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


mountroot Please Help / URGENT..

2002-12-22 Thread Ethan Akins
Date: 12-22-02

Operating System / Configuration:

FreeBSD 4.6 with RAID 1 ( Mirrored )

Situation:

I have 2 active drives running in the same machine at all times. In 
addition, I have 1 extra drive that sits on the shelf with a copy of the 
previous backup that I swap out with one of the other active drives every 
week. When I swap out the drive from the shelf with one of the drives in the 
machine upon booting it says array failure so I press Ctrl + F and 
re-create the array. After successful replication has taken place I reboot 
the machine and everything runs flawlessly as it should...

However, here is the problem:

The remaining drive that I leave on the shelf for additional backup will NOT 
boot up as a single drive to get data off that I need very badly...

Upon booting it brings me to this prompt:

===

Manual root filesystem specification:

fstype:device Mount device using filesystem fstype

Example: ufs:/dev/da0s1a
? List valid disk boot devices
empty line Abort manual input

Mountroot

===

I then type:

mountroot ufs:/dev/ar0s1a

and receive this message:

Mounting root from ufs:/dev/ar0s1a
No such device 'ar'
Getrootbyname failed
mfs_mountroot: can't find rootvp
root mount failed: 6

-

I then type:

mountroot ufs:/dev/ad0s1a

and it lets me log in with read-only access and browsing is limited to the 
/root /dev  /etc directory.

I then 'cat' the FSTAB directory to see this configuration:

/dev/ar0s1b none swap sw 0 0
/dev/ar0s1a / ufs rw 1 1
/dev/ar0s1e /usr ufs rw 2 2
/dev/acodoc /cdrom cd9660 ro,noauto 0 0
proc /proc procfs rw 0 0

-

Would anyone able to help me out with this situation ?

The data on the backup drive is VERY IMPORTANT and I can't get to it...

I can be reached via email and I will reply immediately!!

Please have the subject line pertaining to FreeBSD / Backup Drives or 
something comparable to that so I do not accidentally delete it thinking it 
is spam...

[EMAIL PROTECTED]

Thanks,

Ethan






_
MSN 8 with e-mail virus protection service: 3 months FREE*. 
http://join.msn.com/?page=features/virusxAPID=42PS=47575PI=7324DI=7474SU= 
http://www.hotmail.msn.com/cgi-bin/getmsgHL=1216hotmailtaglines_eliminateviruses_3mf


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-22 Thread Cambria, Michael (Michael)


 -Original Message-
 
 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

In addition (since the above will still use SSL), just make cert in the same 
directory.  You may find yourself not wanting plaintext after all.

I started to use openssl to create my own self signed cert when I stumbled across 
make cert in the port.  

MikeC

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



Re: mountroot Please Help / URGENT..

2002-12-22 Thread randall ehren
 I then type:

 mountroot ufs:/dev/ad0s1a

 and it lets me log in with read-only access and browsing is limited to the
 /root /dev  /etc directory.

once there, just type
 % mount /
 % mount /usr

that will at least get you access to your data.

 -randall

--
:// randall s. ehren :// voice 805.893.5632
:// systems administrator:// isber|survey|avss.ucsb.edu
:// institute for social, behavioral, and economic research



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



Re: List etiquette

2002-12-22 Thread Dan Nelson
In the last episode (Dec 22), Mike Jeays said:
 Many times I have asked questions on this list, and had helpful
 replies from one or more people.  My usual practice is to reply to
 them directly and thank them, and tell them whether their idea
 helped.  This avoids cluttering up the list with thank-you
 messages, but may look as though I haven't bothered to even listen.
 
 Should one post such replies to the list?

It's a good idea, so that people reading the thread later have
confirmation that the suggestion actually was the correct solution.
 
 Secondly, an occasional question goes unanswered - perhaps because no
 one thought it was interesting enough to reply. Is it acceptable to
 post it again after a few days?

I'd wait a week before reposting, and then try to ask the question a
different way, or provide more info.

-- 
Dan Nelson
[EMAIL PROTECTED]

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



Re: windows 2000 FreeBSD?

2002-12-22 Thread Giorgos Keramidas
On 2002-12-22 13:33, Timm Rebitzki [EMAIL PROTECTED] wrote:
 i have windows 2000 professional as my primary os. is it possible for
 freebsd and win2k to coexist on my system with a boot manager?

 thanx for your help!

Yes, of course.  You can even use the Windows 2000 boot menu to boot
your FreeBSD installation.  I've done it recently, and it works fine :)


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



Re: mountroot Please Help / URGENT..

2002-12-22 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-12-23 01:23:53 +:
 Date: 12-22-02
 
 Operating System / Configuration:
 FreeBSD 4.6 with RAID 1 ( Mirrored )
 
 I have 2 active drives running in the same machine at all times. In 
 addition, I have 1 extra drive that sits on the shelf with a copy of the 
 previous backup that I swap out with one of the other active drives every 
 week. When I swap out the drive from the shelf with one of the drives in 
 the machine upon booting it says array failure so I press Ctrl + F and 
 re-create the array. After successful replication has taken place I 
 reboot the machine and everything runs flawlessly as it should...
 
 However, here is the problem:
 
 The remaining drive that I leave on the shelf for additional backup will 
 NOT boot up as a single drive to get data off that I need very badly...
 
 Upon booting it brings me to this prompt:
 
 Manual root filesystem specification:
 
 fstype:device Mount device using filesystem fstype
 
 Example: ufs:/dev/da0s1a
 ? List valid disk boot devices
 empty line Abort manual input
 
 Mountroot
 
 I then type:
 
 mountroot ufs:/dev/ar0s1a
 
 and receive this message:
 
 Mounting root from ufs:/dev/ar0s1a
 No such device 'ar'
 Getrootbyname failed
 mfs_mountroot: can't find rootvp
 root mount failed: 6

right. when you plug the drive into a regular IDE controller it's
not /dev/ar* anymore.

 I then type:
 
 mountroot ufs:/dev/ad0s1a
 
 and it lets me log in with read-only access

right. the drive is ad0* now, and it's mounted read-only because the
system assumes a problem, and stays on the safe side.

 and browsing is limited to the 
 /root /dev  /etc directory.

right. see below.
 
 I then 'cat' the FSTAB directory to see this configuration:

you mean /etc/fstab, right? it's fstab, not FSTAB (the case
matters; I've seen someone rename the file to Fstab and then wonder
what broke), and it's a file, not a directory.
 
 /dev/ar0s1b none swap sw 0 0
 /dev/ar0s1a / ufs rw 1 1
 /dev/ar0s1e /usr ufs rw 2 2

the system can't mount /usr because it is listed being in ar0s1e,
but that device is not present now.

 /dev/acodoc /cdrom cd9660 ro,noauto 0 0
 proc /proc procfs rw 0 0
 
 Would anyone able to help me out with this situation ?
 
 The data on the backup drive is VERY IMPORTANT and I can't get to it...

have you read the Handbook?
http://www.freebsd.org/doc/handbook/mount-unmount.html

also, you *do* know mount(8), why don't you use your knowledge?

# mount -u /dev/ad0s1a /
# mount /dev/ad0s1e /usr
# sed -E 's/ar0/ad0/' /etc/fstab  /tmp/fstab
# cat /tmp/fstab
(check that it's ok)
# mv /tmp/fstab /etc
(/etc/fstab should be root:wheel 644, chown/chmod it if it's not)
# swapon -a

and you're set. since you will most probably be in singleuser at
this point, you'll want to finish the booting procedure:

# exit

-- 
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: List etiquette

2002-12-22 Thread John Bleichert
On Sun, 22 Dec 2002, Dan Nelson wrote:
 Date: Sun, 22 Dec 2002 18:38:37 -0600
 Subject: Re: List etiquette
 
 In the last episode (Dec 22), Mike Jeays said:
  Many times I have asked questions on this list, and had helpful
  replies from one or more people.  My usual practice is to reply to
  them directly and thank them, and tell them whether their idea
  helped.  This avoids cluttering up the list with thank-you
  messages, but may look as though I haven't bothered to even listen.
  
  Should one post such replies to the list?
 
 It's a good idea, so that people reading the thread later have
 confirmation that the suggestion actually was the correct solution.
  

Agreed - by having a solution confirmation in the archives of this list, 
it makes searching the archives a little easier and more believable. Not 
that I minded the private 'danke' :)

  Secondly, an occasional question goes unanswered - perhaps because no
  one thought it was interesting enough to reply. Is it acceptable to
  post it again after a few days?
 
 I'd wait a week before reposting, and then try to ask the question a
 different way, or provide more info.
 

Ocassionally there will be no response because nobody knows the answer 
*or* it's been answered ad nauseum in the archives. Re-posting with an 
update, however, does keep the archives up to date.

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: Padding expr output

2002-12-22 Thread Mike Jeays
Kurt Bigler wrote:


on 12/22/02 3:57 PM, BSD Freak [EMAIL PROTECTED] wrote:

 

Hi all,

I am usiung expr in a shell script and need to pad it's output to
always be 3 characters. An example will explain thing better:

% expr 007 + 1
Output is 8

I need the output to be 008


I checked the expr man page, but nothing there solves my problem.
Anyone out there got one?
   


Don't use expr to do the formatting.

Use some sprintf-like capability in some scripting language that supports
full functionality from the command-line.  I think both awk and perl have
that capability in some form.  (Maybe someone else can be more specific.)


 Kurt Bigler


 

Thanks in advance
   



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

 

In bash:

i=8
while [ ${#i} -lt 3 ]
do
 i=0${i}
done
echo $i



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



Look for Help

2002-12-22 Thread shen chao
Hi:

I have some problem when I configure the sendmail in the freebsd4.7 box

1.How to restart the sendmail service in the freebsd4.7

2.how to query the process in the freebsd4.7,ps -ef or other operation.

3.where can I find the sendmail.mc or I must write one manually.I want to 
find the default one and make modification under it.

4.how to change the binding nic in the sendmail.mc for the freebsd4.7


Thanks in advance

Shen Chao

_
Add photos to your messages with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemailxAPID=42PS=47575PI=7324DI=7474SU= 
http://www.hotmail.msn.com/cgi-bin/getmsgHL=1216hotmailtaglines_addphotos_3mf


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


Re: Look for Help

2002-12-22 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-12-23 11:04:52 +0800:
 Hi:
 
 I have some problem when I configure the sendmail in the freebsd4.7 box
 
 1.How to restart the sendmail service in the freebsd4.7

# cd /etc/mail  make restart
 
 2.how to query the process in the freebsd4.7,ps -ef or other operation.

does not compute. can you rephrase it?
 
 3.where can I find the sendmail.mc or I must write one manually.I want to 
 find the default one and make modification under it.

see /etc/mail/Makefile. it's `hostname`.mc. but don't change the
default mc file (freebsd.mc). edit `hostname`.mc.
 
 4.how to change the binding nic in the sendmail.mc for the freebsd4.7

does not compute. can you rephrase it?
 
-- 
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



CDRW drive

2002-12-22 Thread Thomas DeYoung
Hello-
I'm running 4.7 with a sony 48/24/48 cdrw drive.  I try to mount it to
burn cd's, using

sudo mount_cd9660 /dev/acd0c /cdrom

and get

mount_cd9660: /dev/acd0c: Invalid argument
 

Any suggestions?

Thanks,
Tom


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



Re: CDRW drive

2002-12-22 Thread paul beard
Thomas DeYoung wrote:

Hello-
I'm running 4.7 with a sony 48/24/48 cdrw drive.  I try to mount it to
burn cd's, using

sudo mount_cd9660 /dev/acd0c /cdrom

and get

mount_cd9660: /dev/acd0c: Invalid argument


if there's nothing on the CD, there's nothing to mount, no 
filesystem. You have to burn something to it first, I think.


--
Paul Beard: seeking UNIX/internet engineering work
http://paulbeard.no-ip.org/paulbeard.html
8040 27th Ave NE Seattle WA 98115 / 206 529 8400

This login session: $13.99, but for you $11.88


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


Top sbwait??

2002-12-22 Thread Mike
Using FreeBSD 4.7 with  Squid and Squidguard.

Question: What is sbwait in top? SquidGuard is showing this in Top but
none of the logs show any errors?
  Anyone using SquidGuard or have a better solution I would
appreciate the help.

Thanks

Mike


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



we have E-MAiL AddREssES of people interested in MLM opportunities

2002-12-22 Thread icpStavros John Karageorgiou
You want email addresses; we've got lots of fresh ones.
Face it, there's no way you're going to extract 400 million email addresses
with some flimsy email extractor program you downloaded from the web.
You're lucky if you can extract 2 million in a year! 

Our email addresses are even targeted in 34 different categories to help you 
reach only the market you want.

No need to buy any more directories from the web. We've bought almost all of
them for you, cleaned them up including removal of duplicates and flamers, 
and compiled them into a 4 disk volume for only $139.00

Now you can send emails to millions of people worldwide. Imagine if only
a small number out of even 1 million emails sent responded to your email. 
Don't you think you'd make something out of that?

No need to worry if our email addresses will work with your mailing program.
We already thought of that and made sure to save all files as text files. Text files
are the most universal types of files so they will import easily. Also, there's no
limit to how many times you can use our email addresses.

Still have more specific questions? We're here to help. You can contact us by email
At [EMAIL PROTECTED]  make sure to put ENQUIRY in the subject line

Want to order? Follow the instructions below:

[] I want to order online

Please complete ONLY section A  B of the order form below and either fax or email it 
back to us. If you're faxing it, send it to 1-6 30-604-1030 or 1-44 3-659-0730

[] I want to order by Credit Card

Please complete section A , B  C  of the order form below. For your security, DO NOT 
email anything with your credit card number on it. Please fax your order form to 
1-63 0-604-10 30 or 1-4 43-659-07 30

[] I want to order by Paypal

Please complete section A , B  D of the order form below. You can email or fax the 
order form back to us for processing. Return by fax to 1-630-604-1 030 or 1-443-6 
59-0730

\

SECTION A  - Products (prices are in US$)

[] Email Marketing CD with 100 million Addresses $69.00
[] 200 Million Email Addresses on 2 CD's $79.00 
[] 1.5 Million USA Business Fax Numbers $49.00 
[] PACKAGE A - ALL DIRECTORIES ABOVE (3 CDs) $99.00 

[] Email Gold CD FRESHLY EXTRACTED 100 Million Addresses $99.00
[] 7 Million Chinese Email Addresses $99.00 
[] PACKAGE B + PACKAGE A- All directories above (4 CDs) $139.00

[] 1 Million Email Addresses from French speaking countries $69
[] 1 Million U.K. only email addresses $69

/

SECTION B - Personal Information

Full Name:

Company Name:

Tel: ( __) ___-__

Email Address:__  


Shipping Addresss:___Zip/Postal:___

City:___ State/Province:

Country:

\

SECTION C - Credit Card Information

Card Number:

Expiration Date:/CVV2 code (last 3 digits on reverse):__

Type of card :   [] Visa   [] Mastercard[] American Express

Exact name on card:___

Billing Address:Zip/Postal___

City:State/Province:___

Country:


Cardholder Signature:__

I hereby authorize F.T. Internat ion al to bill my credit card for the items ordered 
on this form. I understand that all sales are final and further agree not to dispute 
this charge.

\

SECTION D - Paypal Information

Email Address associated with Paypal:

Note: After receiving this order form, we will send a payment request to the address 
above.

/

If you want off our list, please send an email to  [EMAIL PROTECTED] with 
DELETE in the subject line.



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



Re: mountroot Please Help / URGENT..

2002-12-22 Thread Mark
- Original Message -
From: Ethan Akins [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, December 23, 2002 2:23 AM
Subject: mountroot Please Help / URGENT..

 Operating System / Configuration:

 FreeBSD 4.6 with RAID 1 ( Mirrored )

 Situation:

 I have 2 active drives running in the same machine at all times. In
 addition, I have 1 extra drive that sits on the shelf with a copy of the
 previous backup that I swap out with one of the other active drives every
 week. When I swap out the drive from the shelf with one of the drives in
 the machine upon booting it says array failure so I press Ctrl + F and
 re-create the array.

Lemme guess, you're using a FastTrack RAID controller? I use the exact same
method of backing up as you do (on my ASUS A7V333), down to the same
rotation scheme even. :)

 The remaining drive that I leave on the shelf for additional backup will
 NOT boot up as a single drive to get data off that I need very badly...

How odd. On my ASUS A7V333 board I can yank out either of the two disks, and
even though the BIOS complains a bit about my array being in a critical
state, it will still boot, of course. I say of course, for that is the
whole point of having a RAID 1, right? That if one of the drives fails, you
can continue with the other.

Naturally, FreeBSD 4.7R still notices the drive missing from the array, but
unless you checked the logs, you would not know it.

 Would anyone able to help me out with this situation ?

Have you tried physically removing (disconnecting) the first drive? That may
help. It could be a FreeBSD issue (though I doubt it; it is hard to imagine
the difference between 4.6 and 4.7 would be this major).

I have heard people say here that FreeBSD could not possibly mount the
single drive partitions as they are part of an array. Well, I cannot speak
for others, but there have been several occassions where I had to do exactly
what you want: boot from the backup disk to retrieve data; and, like I said,
unless I checked the logs, FreeBSD ran just as it always does: smoothly. :)

- Mark


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



RE: Top sbwait??

2002-12-22 Thread Mike
Never mind - Fixed an found the answerer. Moved on to Dansguardian if
anyone cares and it's working fineg

M;)

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Mike
Sent: Sunday, December 22, 2002 9:54 PM
To: [EMAIL PROTECTED]
Subject: Top sbwait??


Using FreeBSD 4.7 with  Squid and Squidguard.

Question: What is sbwait in top? SquidGuard is showing this in Top but
none of the logs show any errors?
  Anyone using SquidGuard or have a better solution I would
appreciate the help.

Thanks

Mike


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: List etiquette

2002-12-22 Thread Cliff Sarginson
On Sun, Dec 22, 2002 at 08:39:17PM -0500, John Bleichert wrote:
 On Sun, 22 Dec 2002, Dan Nelson wrote:
  Date: Sun, 22 Dec 2002 18:38:37 -0600
  Subject: Re: List etiquette
  
  In the last episode (Dec 22), Mike Jeays said:
   Many times I have asked questions on this list, and had helpful
   replies from one or more people.  My usual practice is to reply to
   them directly and thank them, and tell them whether their idea
   helped.  This avoids cluttering up the list with thank-you
   messages, but may look as though I haven't bothered to even listen.
   
   Should one post such replies to the list?
  
  It's a good idea, so that people reading the thread later have
  confirmation that the suggestion actually was the correct solution.
   
 
Yes, this is important, I think a thread with an affirmative onclusion
should be registered on the list. Someone in the future may not know you
need to wear a penguin suite and sing the Hallelulah Chorus when you
wish to install Port X.

On a second note, if while waiting for an answer, and you discover it
yourself then post the answer, close the ticket so to speak.

 Agreed - by having a solution confirmation in the archives of this list, 
 it makes searching the archives a little easier and more believable. Not 
 that I minded the private 'danke' :)
 
   Secondly, an occasional question goes unanswered - perhaps because no
   one thought it was interesting enough to reply. Is it acceptable to
   post it again after a few days?
  
  I'd wait a week before reposting, and then try to ask the question a
  different way, or provide more info.
  

Yup, unfortunately you will always believe that someone *does* know the
answer to your question, so re-posting a week or so later sometimes
works. If it does not, then you are perhaps asking on the wrong list or
the people who know are all holidaying in the Seychelles on the huge
profits they make from answering questions on FreeBSD :)
 
 Ocassionally there will be no response because nobody knows the answer 
 *or* it's been answered ad nauseum in the archives. Re-posting with an 
 update, however, does keep the archives up to date.
 
Private thank you's are nice.,but I think some people will find it
enough that you have acknowledged the solution proposed works in the
public forum. Of course there is a class of questions for which you will
get a shell and an awk and a perl and a sed and a python and a ruby
answer, often many of all of them. Hee hee ,,, 

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



SysKonnect GbE problem under 5.0-RC2

2002-12-22 Thread Cheng Jin
Hi,

I just installed 5.0 RC-2 on my system and made a custom kernel.  However,
the two SysKonnect cards I have in the system are not visible under
FreeBSD anymore.  4.6-STABLE had no problem recognizing them, but I see
the following errors in my log:

Dec 22 22:28:16 dm kernel: skc0: SysKonnect Gigabit Ethernet port
0x3000-0x30ff mem 0xfc30-0xfc303fff irq 16 at device 1.0 on pci5
Dec 22 22:28:16 dm kernel: skc0: SysKonnect SK-NET Gigabit Ethernet
Adapter SK-9843 SX
Dec 22 22:28:16 dm kernel: sk0: XaQti Corp. XMAC II on skc0
Dec 22 22:28:16 dm kernel: sk0: Ethernet address: 00:00:5a:9a:94:90
Dec 22 22:28:16 dm kernel: skc0: no PHY found!
Dec 22 22:28:16 dm kernel: device_probe_and_attach: sk0 attach returned 6
Dec 22 22:28:16 dm kernel: skc1: SysKonnect Gigabit Ethernet port
0x3400-0x34ff mem 0xfc304000-0xfc307fff irq 17 at device 2.0 on pci5
Dec 22 22:28:16 dm kernel: skc1: SysKonnect SK-NET Gigabit Ethernet
Adapter SK-9843 SX
Dec 22 22:28:16 dm kernel: sk1: XaQti Corp. XMAC II on skc1
Dec 22 22:28:16 dm kernel: sk1: Ethernet address: 00:00:5a:9a:94:38
Dec 22 22:28:16 dm kernel: skc1: no PHY found!
Dec 22 22:28:16 dm kernel: device_probe_and_attach: sk1 attach returned 6

I did enable MII_BUS in my kernel config file, and the fxp cards are
working fine.  I took a look at the code, and it seems that it bombed out
when calling mii_phy_probe.  Any ideas?

Thanks,

Cheng


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



FreeBSD stuff

2002-12-22 Thread Morten olson
Hi. Where can i buy some FreeBSD stuff.. like FreeBSD t-shirt

Morten olson

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



Support for shuttle S551G mobo?

2002-12-22 Thread Marshall Clow
Has anyone looked at the Shuttle mobo/case combo?
They are shoebox-sized, with a variable speed fan, and look like they'd
make a killer server.

http://us.shuttle.com/specs2.asp?pro_id=76

However, they use a SiS 651 bridge chip, and that isn't on the supported
list (for 4.7 or 5.0, as far as I can tell).

The 4.7 installer dies during hardware probing, unable to read from the disks.
(Gets a read timeout, tries to reset at0, and hangs).

Any ideas?

P.S.I know it's rude, but I am not subscribed to the list - I would
appreciate it if any replies went to me as well as the list. Thanks!
-- 
-- Marshall

Marshall Clow Idio Software   mailto:[EMAIL PROTECTED]
Hey! Who messed with my anti-paranoia shot?

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



Re: FreeBSD stuff

2002-12-22 Thread Kevin Stevens

On Sunday, Dec 22, 2002, at 22:29 US/Pacific, Morten olson wrote:


Hi. Where can i buy some FreeBSD stuff.. like FreeBSD t-shirt


http://www.FreeBSD.org/commercial/misc.html


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



Re: CDRW drive

2002-12-22 Thread Scott Robbins
On Sun, Dec 22, 2002 at 11:47:36PM -0500, Fuzzy wrote:
 
 
 On 22 Dec 2002, Thomas DeYoung wrote:
 
  Hello-
  I'm running 4.7 with a sony 48/24/48 cdrw drive.  I try to mount it to
  burn cd's, using
 
  sudo mount_cd9660 /dev/acd0c /cdrom
 
  and get
 
  mount_cd9660: /dev/acd0c: Invalid argument
 
 
 Look at the man page for mkisofs and burncd.


Even better, check the handbook--the chapter on burning CD's is very
clear (imho).

If I'm burning a cd I don't have to mount the device.  Nor do I have to
mount it to copy a CD--that is, if I'm copying a CD to the hard drive to
burn it I don't mount the drive, just do the dd if=/dev/acd0c thingie,
as explained in the handbook

HTH
-- 

Scott Robbins

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

Spike: Should I really trust you? 
Adam: Scout's honor. 
Spike: You were a Boy Scout? 
Adam: Parts of me.



msg12974/pgp0.pgp
Description: PGP signature


Via VT8233a Sound support (?)

2002-12-22 Thread Ronald F. Guilmette

What's the current status of support (in the pcm driver?) for
the Via VT8233a Southbridge sound?

I just looked at some postings about this in Google, and it doesn't
look very encouraging.

(That's kind-of a bummer, cuz I just bought this shiny new Soyo KT333
motherboard, and I hate to have to go and buy a soundblaster for
this box when the motherboard has perfectly good sound support right
there on the motherboard.)

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



MSN Messenger

2002-12-22 Thread Wayne Swart
Lo everyone

Is there an equivalant for msn messenger on X ?




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



RE: Via VT8233a Sound support (?)

2002-12-22 Thread Mantas Smelevicius
Copying over the files (assuming installed under /usr/src)

/usr/src/sys/dev/sound/pci/ich.h
/usr/src/sys/dev/sound/pci/ich.c

with the equivalents from -stable should allow audio to work on this board.
Probably the easiest way to get the latest revisions of these files is via
cvsweb:

http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/dev/sound/pci/ich.h

http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/dev/sound/pci/ich.c

Obviously you'll have to rebuild your kernel and make sure the appropriate
device entries exist.

Mantas Smelevicius
http://mantas.lt
ICQ UIN 31072511

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Ronald F.
Guilmette
Sent: Monday, December 23, 2002 8:56 AM
To: [EMAIL PROTECTED]
Subject: Via VT8233a Sound support (?)



What's the current status of support (in the pcm driver?) for the Via
VT8233a Southbridge sound?

I just looked at some postings about this in Google, and it doesn't look
very encouraging.

(That's kind-of a bummer, cuz I just bought this shiny new Soyo KT333
motherboard, and I hate to have to go and buy a soundblaster for this box
when the motherboard has perfectly good sound support right there on the
motherboard.)

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: MSN Messenger

2002-12-22 Thread Bryan Vyhmeister
On Sunday, December 22, 2002, at 11:32 PM, Wayne Swart wrote:


Lo everyone

Is there an equivalant for msn messenger on X ?


/usr/ports/net/kmess works quite well if you have KDE or don't mind 
running the libs from KDE.

Another option is gaim with the msn plugin.

Try doing:

make search key=msn

in /usr/ports and you will get a more complete listing of options. Hope 
that helps.

Bryan


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


Re: Look for Help

2002-12-22 Thread Paul A. Scott

 From: Roman Neuhauser [EMAIL PROTECTED]
 4.how to change the binding nic in the sendmail.mc for the freebsd4.7
   does not compute. can you rephrase it?

Seems like you want the OO (or O DaemonPortOptions) option with A=ipaddr.

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