Re: What happened after gnome upgrade??

2004-04-15 Thread Kent Stewart
On Wednesday 14 April 2004 09:21 pm, R. M. Los wrote:
 OK...so I got this idea, maybe if I did a portupgrade
 gnomesystemmonitor, something would giveboy was I wrong.  What
 the heck is this?!


 ERROR from 'portupgrade gnomesystemmonitor'
 checking what warning flags to pass to the C compiler... -Wall
 -Wmissing-prototypes
 checking what language compliance flags to pass to the C compiler...
 checking for pkg-config... /usr/local/bin/pkg-config
 checking for libgnome-2.0 = 2.0.0 libgnomeui-2.0 = 2.0.0 gconf-2.0
 = 1.1.5 libgtop-2.0 = 2.5.2 libwnck-1.0 = 2.5.0 gtk+-2.0 =
 2.3.0... Requested 'libgtop-2.0 = 2.5.2' but version of libgtop is
 2.0.7

I would suspect that you had ports that depend on glib-2.4.0 get updated 
in a bad order. Gtk-2.4.0, for example, depends on atk and pago, which 
also depend on glib-2.4.0. Portversion lists the ports in alphabetical 
order and not the order they need to be updated in. I have used -rR and 
seen things build out of order. They could have been built more than 
once because all I saw was the resulting package and it was built after 
a port that had it as a dependancy.

If you remember what you updated, you could force build them again. If 
you don't, you might consider portupgrade -rf glib. This is a start it 
and go away solution because it will take a lot of computer time. I 
would also set BATCH=yes in /etc/make.con

Kent


 configure: error: Library requirements (libgnome-2.0 = 2.0.0
 libgnomeui-2.0 = 2.0.0 gconf-2.0 = 1.1.5 libgtop-2.0 = 2.5.2
 libwnck-1.0 = 2.5.0 gtk+-2.0 = 2.3.0) not met; consider adjusting
 the PKG_CONFIG_PATH environment variable if your libraries are in a
 nonstandard prefix so pkg-config can find them.
 ===  Script configure failed unexpectedly.
 Please report the problem to [EMAIL PROTECTED] [maintainer] and
 attach the
 /usr/ports/sysutils/gnomesystemmonitor/work/gnome-system-monitor-2.6
.0/config.log including the output of the failure of your make
 command. Also, it might be
 a good idea to provide an overview of all packages installed on your
 system
 (e.g. an `ls /var/db/pkg`).
 *** Error code 1

 Stop in /usr/ports/sysutils/gnomesystemmonitor.
 ** Command failed [exit code 1]: /usr/bin/script -qa
 /tmp/portupgrade22439.0 make
 ** Fix the problem and try again.
 ** The following packages were not installed or upgraded (*:skipped /
 !:failed)
 ! sysutils/gnomesystemmonitor (gnomesystemmonitor-2.4.0)
 (configure error)

 /ERROR

-- 
Kent Stewart
Richland, WA

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


Re: Nvidia Drivers

2004-04-15 Thread Radu MOLNAR
i've been using the nvidia drivers on riva tnt2 and geforce2 mx400 and
every tiem i installed the drivers on the nvidia site. worked perfectly
every time and except for the kernel options no other tweaking was
required


Radu Molnar
Babes-Bolyai Comunication Center



On Thu, 15 Apr 2004, Remko Lodder wrote:

 Mateusz Rajca wrote:
  Hi,
 
  I have Nvidia Ge Force 4 MX 440. How should I install drivers for Nvidia Ge Force 
  on
  FreeBSD 5.1 because FreeBSD won't work untill I install them?

 Hello,

 I have the same card, you can find drivers for it in the
 /usr/ports/x11/nvidia-driver directory.

 Note that i had to copy the nvidia.ko file from that directory to
 /boot/kernel myself. Perhaps i did something wrong, but when copied
 manually and added to /boot/loader.conf

 (nvidia_load=YES) it works like a sunshine.

 Oh and could you do a little favor for me in return, wrap your lines at
 80 chars or something. Thanks

 Cheers


 p.s little sidenote, FreeBSD works fine without the drivers, even VESA
 mode under X works. But when working dualscreen and for getting it all
 out of your card, it's better to  use the driver.

 
  Thanks
 
  Zdzislaws
 


 --

 Kind regards,

 Remko Lodder
 Elvandar.org/DSINet.org
 www.mostly-harmless.nl A Dutch community for helping newcomers on the
 hackerscene
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: pppoe on FBSD ...

2004-04-15 Thread Joshua Lokken
* Rainer [EMAIL PROTECTED] [2004-04-14 22:14]:
 hello,
 
 i'm new to freebsd with some linux experience - hope i picked the right
 list!

You did, indeed.  Welcome.

 
 got the card, pc card on laptop (supported in your laptop list!), to come up
 at boot, ep0 = address ...
 
 referred to the handbook and it covers 4.9 ... i got a 4.5 version with the
 'unleashed' book so it's unclear to me whether the instructions will be
 valid my version? can i simply follow those instructions or is there an
 older version of the handbook for 4.5?
 
The handbook is mostly, if not completely relevant to 4.5, but I would
suggest reading Appendix A of the handbook, esp. A.5, Using CVSup.

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

You can install cvsup from the cds you bought, then use it to update
your source tree and ports (third-party software) collection.  That'll
enable you to upgrade FreeBSD to a more recent version, which will be
a good experience for you, and is a good idea, as 4.5 is rather old
now, and there have been many improvements to the 4.x branch since
then.

Good luck.


-- 
Joshua

Women professionals do tend to over-compensate.
-- Dr. Elizabeth Dehaver, Where No Man Has Gone Before,
   stardate 1312.9.

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


Re: False positives from chkrootkit? or hacked test server?

2004-04-15 Thread Matthew Seaman
On Wed, Apr 14, 2004 at 12:29:19PM -0700, Mike wrote:

 Well... I installed and ran chkrootkit. And the output shows that:
 
 Checking `chfn'... INFECTED
 Checking `chsh'... INFECTED
 Checking `date'... INFECTED
 Checking `ls'... INFECTED
 Checking `ps'... INFECTED
 
 No rootkits were found.

 Question: Does chkrootkit ever generate false positives?

In a word: yes.  This was something that was quite a popular question
on this list some months back around the time of one of the earlier
5.x releases.  I don't remember anyone mentioning this in the context
of 4.9 or earlier systems, but that could just be my memory failing.

   http://lists.freebsd.org/pipermail/freebsd-security/2003-August/000755.html

For the rest of the traffic look at:

   
http://www.google.co.uk/search?hl=enie=UTF-8oe=UTF-8safe=offq=site%3Alists.freebsd.org+chkrootkit+chfn+INFECTEDbtnG=Searchmeta=

(Nb. chkrootkit has since been fixed to work correctly under 5.x)

However see this:

http://lists.freebsd.org/pipermail/freebsd-ports/2004-April/011362.html

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: Possible DNS Problems

2004-04-15 Thread Matthew Seaman
On Wed, Apr 14, 2004 at 08:43:53PM +, Travis Troyer wrote:
 I am running FreeBSD 5.2.1-Release on two systems, a server that acts as a NAT 
 Gateway for my cable service, and a client.  When trying to load various 
 websites on the client machine, I get a delay, usually about 25 seconds, 
 during which Mozilla will tell me it's resolving the hostname.  I also get 
 the same situation with Konqueror or lynx.  It only happens on certain sites, 
 for example, Bankone.com.  With loading Bankone.com, after the homepage 
 initially loads, I can load any page on the site without problems.  Using 
 this same system, and dual booting into Windows, I find that I can load these 
 sites with no problem, leading me to believe that it is a configuration 
 problem with my FreeBSD installation; however, I can not figure out what the 
 problem is.  I would really appreciate any help in this matter.

You could well be right -- a lot of DNS servers out there do not
respond correctly (or even at all) to queries for  or A6 records.
You can confirm if that is the case by using tcpdump to show you what
DNS traffic your system is generating as you browse around.

This is a case of FreeBSD users being penalised for running a properly
standards compliant OS by stupid service providers who are unable to
install standards compliant DNS servers with support for RR types
introduced getting on for 10 years ago now.  Even worse, DNS servers
that don't return any response to such a request, which forces your
system to wait for the whole 30s of the DNS timeout.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: Gimp 2 does not come with help?

2004-04-15 Thread Tijl Coosemans
On Thu, 15 Apr 2004 07:03:45 +0900, Rob wrote:

 As I explained earlier in this thread, gimp (version 2.0.0) help
 complains about not finding help files that have .xml extension.
 
 And it says Check your installation. So I bet the gimp port is
 not complete.

The documentation is in a separate package for which no port exists
yet as far as I can tell. You can download it from the gimp website
and run configure/make install.
Last time I checked it was still very incomplete though.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Possible DNS Problems

2004-04-15 Thread jens thys
Hello,

Have a look at the different ad.doubleclick.net addresses included in the web site.

Find out the ip address and put them in your /etc/hosts file like this:

206.65.183.95   ad.doubleclick.net
206.65.183.95   uk.doubleclick.net
206.65.183.95   ad.uk.doubleclick.net
195.154.195.154 ad.fr.doubleclick.net


This will solve the loading time of the different websites with konqueror, firefox 
etc( sticking to load 90% of the images of the web site). 
This issue doesn't seem to exist when you use Opera. 


Kind regards

Jens



On Thu, 15 Apr 2004 08:36:17 +0100
Matthew Seaman [EMAIL PROTECTED] wrote:

 On Wed, Apr 14, 2004 at 08:43:53PM +, Travis Troyer wrote:
  I am running FreeBSD 5.2.1-Release on two systems, a server that acts as a NAT 
  Gateway for my cable service, and a client.  When trying to load various 
  websites on the client machine, I get a delay, usually about 25 seconds, 
  during which Mozilla will tell me it's resolving the hostname.  I also get 
  the same situation with Konqueror or lynx.  It only happens on certain sites, 
  for example, Bankone.com.  With loading Bankone.com, after the homepage 
  initially loads, I can load any page on the site without problems.  Using 
  this same system, and dual booting into Windows, I find that I can load these 
  sites with no problem, leading me to believe that it is a configuration 
  problem with my FreeBSD installation; however, I can not figure out what the 
  problem is.  I would really appreciate any help in this matter.
 
 You could well be right -- a lot of DNS servers out there do not
 respond correctly (or even at all) to queries for  or A6 records.
 You can confirm if that is the case by using tcpdump to show you what
 DNS traffic your system is generating as you browse around.
 
 This is a case of FreeBSD users being penalised for running a properly
 standards compliant OS by stupid service providers who are unable to
 install standards compliant DNS servers with support for RR types
 introduced getting on for 10 years ago now.  Even worse, DNS servers
 that don't return any response to such a request, which forces your
 system to wait for the whole 30s of the DNS timeout.
 
   Cheers,
 
   Matthew
 
 -- 
 Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
   Savill Way
 PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
 Tel: +44 1628 476614  Bucks., SL7 1TH UK
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: False positives from chkrootkit? or hacked test server?

2004-04-15 Thread Martin Hudec
Hello,

thanks for the info :), that explains why my 4.9-STABLE was not infected
and 4.10-BETA shows false positives..
But I am still bit unsure why my 5.2.1-RELEASE-p4 (not mentioning one false
positive) stops while checking lkm..


Cheers,

Martin

On Thu, Apr 15, 2004 at 08:29:17AM +0100 or thereabouts, Matthew Seaman wrote:
 In a word: yes.  This was something that was quite a popular question
 on this list some months back around the time of one of the earlier
 5.x releases.  I don't remember anyone mentioning this in the context
 of 4.9 or earlier systems, but that could just be my memory failing.
 
http://lists.freebsd.org/pipermail/freebsd-security/2003-August/000755.html
 
 For the rest of the traffic look at:
 

 http://www.google.co.uk/search?hl=enie=UTF-8oe=UTF-8safe=offq=site%3Alists.freebsd.org+chkrootkit+chfn+INFECTEDbtnG=Searchmeta=
 
 (Nb. chkrootkit has since been fixed to work correctly under 5.x)
 
 However see this:
 
 http://lists.freebsd.org/pipermail/freebsd-ports/2004-April/011362.html
 

-- 
Martin Hudec| corwin at aeternal.net
| corwin at web.markiza.sk
http://www.aeternal.net | cell +421 907 303 393

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


Re: /dev/sa0 DSS-4 drive help

2004-04-15 Thread William Bailey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I also get the following message from dmesg:

(sa0:ahc0:0:6:0): Invalid request.  Fixed block device requests must be
a multiple of 1 bytes


Regards,
William Bailey.
Pro-Net Internet Services Ltd.
http://www.pro-net.co.uk/
William Bailey wrote:
| Hi All,
|
| I am currently trying to get a DSS-4 type drive working on a 5.2.1
| RELEASE system but am haveing no joy at all. From dmesg at boot the
| device if found as
|
| sa0 at ahc0 bus 0 target 6 lun 0
| sa0: ARCHIVE Python 06408-XXX 8130 Removable Sequential Access SCSI-3
| device
| sa0: 80.000MB/s transfers (40.000MHz, offset 32, 16bit)
|
|
| 'mt status' gives the following (first 2 lines)
|
| Mode  Density  Blocksize  bpi  Compression
| Current:  0x26:DDS-4   1024 bytes 97000DCLZ
|
| I have also tried setting blocksize to variable without any
success (mt
| blocksize 0).
|
| Now when i try to use dump or tar the system will just sit there
untill
| i get a kernel:  Dump Card State Ends 
| message which then locks out the tape drive untill.
|
| For an example the command 'tar -cf /dev/sa0 /root/*-supfile' gave the
| following dump...
|
| For reference ls -l /root/*-supfile returns...
|
| -r--r--r--  1 root  wheel  2761 Apr  9 17:23 /root/doc-supfile
| -r--r--r--  1 root  wheel  3831 Apr  9 17:22 /root/ports-supfile
| -r--r--r--  1 root  wheel  3957 Apr  9 17:22 /root/stable-supfile
|
|
| | Dump Card State Begins 
| ahc0: Dumping Card State while idle, at SEQADDR 0x9
| Card was paused
| ACCUM = 0x0, SINDEX = 0x14, DINDEX = 0xe4, ARG_2 = 0x0
| HCNT = 0x0 SCBPTR = 0x1e
| SCSIPHASE[0x0] SCSISIGI[0x0] ERROR[0x0] SCSIBUSL[0x0]
| LASTPHASE[0x1]:(P_BUSFREE) SCSISEQ[0x12]:(ENAUTOATNP|ENRSELI)
| SBLKCTL[0xa]:(SELWIDE|SELBUSB) SCSIRATE[0x0] SEQCTL[0x10]:(FASTMODE)
| SEQ_FLAGS[0xc0]:(NO_CDB_SENT|NOT_IDENTIFIED) SSTAT0[0x0]
| SSTAT1[0x8]:(BUSFREE) SSTAT2[0x0] SSTAT3[0x0] SIMODE0[0x8]:(ENSWRAP)
| SIMODE1[0xa4]:(ENSCSIPERR|ENSCSIRST|ENSELTIMO) SXFRCTL0[0x80]:(DFON)
| DFCNTRL[0x0] DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL)
| STACK: 0x0 0x163 0x109 0x3
| SCB count = 40
| Kernel NEXTQSCB = 32
| Card NEXTQSCB = 32
| QINFIFO entries:
| Waiting Queue entries:
| Disconnected Queue entries: 1:7
| QOUTFIFO entries:
| Sequencer Free SCB List: 30 20 14 12 23 28 26 18 11 16 25 0 29 24 17 5
| 21 22 27 15 6 2 3 31 19 4 13 10 7 9 8
| Sequencer SCB Info:
| ~  0 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
| SCB_LUN[0x0] SCB_TAG[0xff]
| ~  1 SCB_CONTROL[0x44]:(DISCONNECTED|DISCENB) SCB_SCSIID[0x67]
| SCB_LUN[0x0] SCB_TAG[0x7]
| ~  2 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
| SCB_LUN[0x0] SCB_TAG[0xff]
| ~  3 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
| SCB_LUN[0x0] SCB_TAG[0xff]
| ~  4 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
| SCB_LUN[0x0] SCB_TAG[0xff]
| ~  5 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
| SCB_LUN[0x0] SCB_TAG[0xff]
| ~  6 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
| SCB_LUN[0x0] SCB_TAG[0xff]
| ~  7 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
| SCB_LUN[0x0] SCB_TAG[0xff]
| ~  8 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
| SCB_LUN[0x0] SCB_TAG[0xff]
| ~  9 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
| SCB_LUN[0x0] SCB_TAG[0xff]
| ~ 10 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
| SCB_LUN[0x0] SCB_TAG[0xff]
| ~ 11 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
| SCB_LUN[0x0] SCB_TAG[0xff]
| ~ 12 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
| SCB_LUN[0x0] SCB_TAG[0xff]
| ~ 13 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
| SCB_LUN[0x0] SCB_TAG[0xff]
| ~ 14 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
| SCB_LUN[0x0] SCB_TAG[0xff]
| ~ 15 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
| SCB_LUN[0x0] SCB_TAG[0xff]
| ~ 16 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
| SCB_LUN[0x0] SCB_TAG[0xff]
| ~ 17 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
| SCB_LUN[0x0] SCB_TAG[0xff]
| ~ 18 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
| SCB_LUN[0x0] SCB_TAG[0xff]
| ~ 19 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
| SCB_LUN[0x0] SCB_TAG[0xff]
| ~ 20 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
| SCB_LUN[0x0] SCB_TAG[0xff]
| ~ 21 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
| SCB_LUN[0x0] SCB_TAG[0xff]
| ~ 22 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
| SCB_LUN[0x0] SCB_TAG[0xff]
| ~ 23 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
| SCB_LUN[0x0] SCB_TAG[0xff]
| ~ 24 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
| SCB_LUN[0x0] SCB_TAG[0xff]
| ~ 25 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) 

false positive, or server hacked?

2004-04-15 Thread Piotr Gnyp
Hi,
I`m running FreeBSD 5.2.1-p4, I`ve just installed new version of
chkrootkit 0.43 from freshports, and report follows:
Checking `date'... INFECTED
Checking `lkm'... You have   115 process hidden for readdir command
You have23 process hidden for ps command
Warning: Possible LKM Trojan installed

ll of /bin/date
-r-xr-xr-x  1 root  wheel  14776 30 Mar 13:20 /bin/date

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


Re: lament about freebsd sacrifices

2004-04-15 Thread DoubleF
On Wed, Apr 14, 2004 at 11:36:05AM -0700,
 Peter Leftwich probably wrote:


 Any major sacrifices I've forgotten?  :-\
 

Sure (this list doesn't apply to XP only):

* being able to hang the machine by just running an executable from the
base system (krnl386.exe or something like that, which I don't remember
now) --- no viruses needed;

* being able to put an iframe tag in your Active Desktop to
automatically launch applications at startup without your confirmation
(1);

* being able to write *beautiful* and *portable* programs in Visual
Basic;

* being able to write a program which, using assembly, changes the video
mode to some text mode, confusing the OS and the user;

* being able to erase all configuration of your system by just altering
one file (oh --- maybe two --- now that's a progress);

* and certainly many more:).

Sorry, just couldn't resist.

1. if you don't get the joke, look at the message bodies of the viruses
your filter received today.

-- 
DoubleF
A randomly generated quote:
b18e116555605131cc635bacb88d5c9f
-- md5 /dev/random


pgp0.pgp
Description: PGP signature


Re: lament about freebsd sacrifices

2004-04-15 Thread Dag-Erling Smørgrav
Peter Leftwich [EMAIL PROTECTED] writes:
 * webcam ball

see for instance /usr/ports/graphics/vid

 * flatbed scanner

see /usr/ports/graphics/sane-frontends

 * color printer

see for instance /usr/ports/print/cups

 * digital cameras

Most of those behave as USB mass-storage devices, see 'man umass'

 * firewire devices

see 'man firewire'

 * several USB 1 and 2 devices

Which ones?

 * IM software features such as voice and video chat

see /usr/ports/mbone/vic (though I haven't used it in six years)

 * websites that use ActiveX (Windows) controls

you'd be surprised how rare these are.

 * MP3 devices

Some of these use proprietary protocols, while others behave as USB or
Firewire mass-storage devices.  The latter are supported out of the
box.  For the former, there is for instance /usr/ports/audio/rio, or
/usr/ports/audio/rio500 (in conjunction with the urio driver).

DES
-- 
Dag-Erling Smørgrav - [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


CUPS

2004-04-15 Thread Robert Storey
Dear all,

Having looked at the mind-boggling amount of configuration information
that is in the Handbook, I decided to just install CUPS. I'm very familiar
with CUPS, having configured it many times in Linux.

So I installed the CUPS daemon, and started it by going to
/usr/local/etc/rc.d/ and renaming the sample file to cups.sh. I even did a
./cups.sh start and that worked - that is, my printer reacted by moving
the print head, and I could fire up Mozilla and type
http://localhost:631; and then reach the CUPS configuration page. My
printer is an Epson 24-pin dot-matrix onf /dev/lpt0 - there is a driver
for that, so no problem. So that should be enough to make it work - at
least that would do the job under Linux. But attempting to print a test
page gives me nothing.

The Handbook says almost zilch about CUPS other than suggesting that one
should look at cups.org for advice. Of course, cups.org has little to say
about BSD.

So I'm wondering what I did wrong? Any help is appreciated.

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


Re: /dev/sa0 DSS-4 drive help

2004-04-15 Thread Peter Risdon
William Bailey wrote:

I also get the following message from dmesg:

(sa0:ahc0:0:6:0): Invalid request.  Fixed block device requests must be
a multiple of 1 bytes
| I am currently trying to get a DSS-4 type drive working on a 5.2.1
| RELEASE system but am haveing no joy at all. From dmesg at boot the
| device if found as
|
| sa0 at ahc0 bus 0 target 6 lun 0
| sa0: ARCHIVE Python 06408-XXX 8130 Removable Sequential Access SCSI-3
| device
| sa0: 80.000MB/s transfers (40.000MHz, offset 32, 16bit)
|
| 


Hi. You haven't had any response yet so a long shot might be in order. I 
see you're using an adaptec scsi controller. I had dreadful problems 
with a brand new AHA29610 under 5.2, where lots of errors that seemed to 
point to a bad tape drive disappeared when I swapped the controller for 
an old Tekram DC390 I had lying around. I haven't tried the AHA again 
with 5.2.1 to see whether these probs have been cured.

PWR.

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


RE: Beginning C++ in FreeBSD

2004-04-15 Thread Lucas Holt
 
I would suggest C before C++.  I took a C class after tring C++ on my own.
I tought C++ was newer and better.  Actually I found it was only newer.  It
has new features and such, just not better because it was an extension or
expansion to C.  I don't use C++ so I am sure there are those that would say
C++ is better, but I think it is only better if it suits the job better.  I
was told by a friend java is very close to C++ so it maybe a smart move, but
anyone coming in fresh I would always recommend C first. 



Many universities teach C++ exclusiveley now.  Java and C++ share some
common ground on syntax and the fact that they both support Object oriented
programming.  Aside from that, there are many differences.  C++ is native
code and executes faster than java which uses a virtual machine.  C++ code
is compiled into C code by the compiler and then assembly.  Java is
converted into byte code for a virtual machine.

I had a class at the local community college in C before I moved on to
western michigan.  The only benefit from the C class was a better
understanding of pointers.  Contrary to what many C++ programmers will tell
you, pointers are still very useful and needed at times.  Although I tend to
like C as a language, C++ arguably makes it easier to reuse code.
Regardless of the order, you should look at both languages to have a good
foundation.  C++ programmers must learn C basics, at least C libraries like
cstring and cstdlib.


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


Packages

2004-04-15 Thread Arend P. van der Veen
Hi,

I have a question about ports.  I have a port installed.  I want to make
package for it also.  I find that I must delete the package from my
system first and then go make package.  This is because make package
must install the package first.  

Is there a better way to make a package that does not require me to
uninstall and reinstall it from my system ?

Thanks in advance,
Arend


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


Re: Installing jdk14

2004-04-15 Thread Matthew Seaman
On Wed, Apr 14, 2004 at 07:26:59PM -0600, Elliot Finley wrote:
 Is there any way to install jdk14 without having to install XFree86 or
 open-motif?
 
 that seems a little overkill.

Hmmm... as far as I can see, you don't need OpenMotif at all, and the
only bits of X Windows you need are imake and the XFree86-libraries:

happy-idiot-talk:~:% pkg_info -r jdk-1.4\*
Information for jdk-1.4.2p6_4:

Depends on:
Dependency: expat-1.95.7
Dependency: pkgconfig-0.15.0_1
Dependency: javavmwrapper-1.5
Dependency: imake-4.3.0_2
Dependency: freetype2-2.1.7_2
Dependency: fontconfig-2.2.2,1
Dependency: XFree86-libraries-4.3.0_6
Dependency: urwfonts-1.0

Now, this is what's required for running jdk-1.4.2 -- installing is a
different matter.  First time installation will require you to install
a Linux JDK and the whole Linux compatability environment.  Once
you've got a native jdk-1.4.2 you can delete all that, and then use
the native JDK to compile any updates.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


messenger: console based

2004-04-15 Thread Balan, Andrei (RO01)
http://www.cse.iitb.ac.in/~varunk/My_Yahoo.php
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Packages

2004-04-15 Thread Matthew Seaman
On Thu, Apr 15, 2004 at 03:39:26AM -0400, Arend P. van der Veen wrote:

 I have a question about ports.  I have a port installed.  I want to make
 package for it also.  I find that I must delete the package from my
 system first and then go make package.  This is because make package
 must install the package first.  
 
 Is there a better way to make a package that does not require me to
 uninstall and reinstall it from my system ?

Unfortunately not -- building a package does require you to install
the package as well.  There has been some mention on the
[EMAIL PROTECTED] mailing list of modifying the system to be able to
install into a temporary area prior to creating a package, but as far
as I know, nothing has yet happened.

A solution to this problem which you can use if you have sufficient
spare capacity is to set up a jail system specially for building
packages: that's the basis of what the FreeBSD package building
cluster does.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: Can't get online

2004-04-15 Thread apeak
Kevin D. Kinsey, DaleCo, S.P. writes: 

[EMAIL PROTECTED] wrote: 

I just installed FreeBSD 5.1, but I can't get online.  When I
try to ping yahoo, it either hangs or gives me an error message. 

Can you ping 66.218.71.114?  Also, what
is the text of the error message? 

Kevin Kinsey
DaleCo, S.P. 



When I ping www.yahoo.com it says Cannot resolve www.yahoo.com: Host name
lookup failure. 

When I ping 66.218.71.114 I get ping: sendto no route to host. 

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


Re: Can't get online

2004-04-15 Thread Luke Kearney

On Thu, 15 Apr 2004 06:02:05 -0600
[EMAIL PROTECTED] spake thus:

 Kevin D. Kinsey, DaleCo, S.P. writes: 
 
  [EMAIL PROTECTED] wrote: 
  
  I just installed FreeBSD 5.1, but I can't get online.  When I
  try to ping yahoo, it either hangs or gives me an error message. 
  
  Can you ping 66.218.71.114?  Also, what
  is the text of the error message? 
  
  Kevin Kinsey
  DaleCo, S.P. 
  
  
 
 When I ping www.yahoo.com it says Cannot resolve www.yahoo.com: Host name
 lookup failure. 
 
 When I ping 66.218.71.114 I get ping: sendto no route to host. 
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

ooh ok well you don't have _any_ networking setup by the looks of things.
Are you on cable or a LAN of some description?  If so you will need to
give your box some basic information edit /etc/resolve.conf and enter
your NS details.  Edit rc.conf and add information about IP address and
default router and reboot and you should be good to go.

Enjoy

LukeK


-- 
Luke Kearney [EMAIL PROTECTED]

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


Re: Packages

2004-04-15 Thread Kris Kennaway
On Thu, Apr 15, 2004 at 12:51:05PM +0100, Matthew Seaman wrote:
 On Thu, Apr 15, 2004 at 03:39:26AM -0400, Arend P. van der Veen wrote:
 
  I have a question about ports.  I have a port installed.  I want to make
  package for it also.  I find that I must delete the package from my
  system first and then go make package.  This is because make package
  must install the package first.  
  
  Is there a better way to make a package that does not require me to
  uninstall and reinstall it from my system ?
 
 Unfortunately not -- building a package does require you to install
 the package as well.

He's asking about creating a package from an already installed port.

Use pkg_create -b.

Kris


pgp0.pgp
Description: PGP signature


Re: Installing jdk14

2004-04-15 Thread Jorn Argelo

What version are you using? As far as I know, it just depends on
XFree86's libraries and not XFree86 itself.

Just for your information, you'll need a java executable if you want to
install the native version from Sun.

Cheers,

Jorn


On 4/15/2004, Elliot Finley [EMAIL PROTECTED] wrote:

Is there any way to install jdk14 without having to install XFree86 or
open-motif?

that seems a little overkill.

Elliot

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


Re: Packages

2004-04-15 Thread Dag-Erling Smørgrav
Arend P. van der Veen [EMAIL PROTECTED] writes:
 Is there a better way to make a package that does not require me to
 uninstall and reinstall it from my system ?

'make pacakge-noinstall'

DES
-- 
Dag-Erling Smørgrav - [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Simple Network Question

2004-04-15 Thread dev
Hi all,

I am more or less new to FreeBSD and used to Linux. I have setup a server
on FreeBSD at home using DHCP. Now I want to move the server into our
housing environment with fixed IP's.

I found in the docs to change the network configuration I have to assign
the new IP and netmask in /etc/rc.conf to my network card.

Am I also right assinging new servers for DNS lookups in /etc/resolv.conf
using this syntax?

nameserver IP-Address

But where can I set the default gateway address?

Dave

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


Re: Simple Network Question

2004-04-15 Thread Remko Lodder
[EMAIL PROTECTED] wrote:
Hi all,

I am more or less new to FreeBSD and used to Linux. I have setup a server
on FreeBSD at home using DHCP. Now I want to move the server into our
housing environment with fixed IP's.
I found in the docs to change the network configuration I have to assign
the new IP and netmask in /etc/rc.conf to my network card.
Am I also right assinging new servers for DNS lookups in /etc/resolv.conf
using this syntax?
nameserver IP-Address

But where can I set the default gateway address?
Hi Dev!

That's also defined in /etc/rc.conf
configured as
defaultrouter=ipadres

The syntax for /etc/resolv.conf is correct, and yeah since dhcp does not 
give you any dns servers any more you need to fill them in yourself.



Cheers :-)



--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl A Dutch community for helping newcomers on the 
hackerscene
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Simple Network Question

2004-04-15 Thread albi
On Thu, 15 Apr 2004 14:35:52 +0200 (CEST)
[EMAIL PROTECTED] wrote:

 I found in the docs to change the network configuration I have to
 assign the new IP and netmask in /etc/rc.conf to my network card.
 
 Am I also right assinging new servers for DNS lookups in
 /etc/resolv.conf using this syntax?
 
 nameserver IP-Address

yes

 But where can I set the default gateway address?

also in /etc/rc.conf, e.g. :
defaultrouter=192.168.0.1

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


Re: Can't get online

2004-04-15 Thread Remko Lodder
Hey Luke


ooh ok well you don't have _any_ networking setup by the looks of things.
Are you on cable or a LAN of some description?  If so you will need to
give your box some basic information edit /etc/resolve.conf and enter
your NS details.  Edit rc.conf and add information about IP address and
default router and reboot and you should be good to go.
Enjoy

LukeK
Not to be picky ;-) but here we go.

in /etc/resolv.conf the syntax will be
nameserver Ip-address
the information in /etc/rc.conf will be

ifconfig_yournic=inet youripadres netmask yournetmask
defaultrouter=yourgateway
perhaps you need dhcp, then ifconfig_yournick=dhcp
and then (most of the time) you don't have to specify
anything in /etc/resolv.conf since that probably will be filled in for 
you by the remote dhcp server.

Cheers





--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl A Dutch community for helping newcomers on the 
hackerscene
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What happened after gnome upgrade??

2004-04-15 Thread Bart Silverstrim
On Apr 14, 2004, at 10:08 PM, Vulpes Velox wrote:

On Wed, 14 Apr 2004 19:48:32 -0400
R. M. Los [EMAIL PROTECTED] wrote:
Hi there,
  Something strange has happened.  In gnome-2.4 I had the
CPU/Memory/Network monitors setup on my bottom bar, as well as my
battery meter, etc.  Now with Gnome-2.6 upgraded (mostly OK, crashed
towards the VERY end...), all my things don't work right anymore.
All apps like GnomeMeeting, the battery meter, etc appear to be
completely messed up.  For the most part, they run, but none of the
words, etc are there!  The battery meter, when I click on it, only
shows the Do Not Enter ERROR box, no text and nothing else visible
- again, no words, etc.  The same goes for GnomeMeeting.  Also when
I try to run the proccess display applet, nothing shows up, just the
line graph of CPU usage, but nothing such as process names,
descriptions, etc or menu items along the top shows up anymore.  HOW
do I fix this?!
GTK+ was updated recently and this sounds like what happens when apps
that use it get out of sync with it. You will have to recompile
everything that uses GTK+. I suggest portupgraded.
/me recently saw this himself with the gtk apps he uses when updated
gtk+
Are you saying that a portupgrade -fRra is required?

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


natd (again) :(

2004-04-15 Thread Arek Czereszewski
Hi,

I'm newbie in ipfw and natd.

Config like this:
fxp0 - IP public (to my ISP)
fxp1 - IP public 213.216.67.81 (on this IP work www, mail, dns and ftp)
and 10 workstations with public IP conected
fxp1_alias - 192.168.0.1
fxp1 conect to LAN (in LAN 10 workstations from my subnet 
213.216.67.80/28 and 150 from 192.168.0.0/24).

In /etc/rc.conf:
...
gateway_enable=YES
firewall_enable=YES
#firewall_type=OPEN
firewall_script=/etc/fwrules
natd_enable=YES
natd_interface=fxp0 // is this correct??
natd_flags=-f /etc/natd.conf
...
/etc/fwrules

fwcdm=/sbin/ipfw

$fwcdm -f flush

# lo0

$fwcdm add 40 pass all from any to any via lo0
$fwcdm add 41 deny all from any to 127.0.0.0/8
$fwcdm add 42 deny all from 127.0.0.0/8 to any
$fwcdm add 50 divert natd all from any to any via fxp0
$fwcdm add 51 allow tcp from any to me 53 setup
$fwcdm add 52 allow udp from any to me 53
$fwcdm add 53 allow tcp from any to me 80 setup
$fwcdm add 54 allow tcp from any to me 25 setup
$fwcdm add 55 allow tcp from any to me 995 setup
$fwcdm add 60 allow tcp from 192.168.0.0/24 to any 53 setup
$fwcdm add 61 allow udp from 192.168.0.0/24 to any 53 keep-state
$fwcdm add 62 allow tcp from 192.168.0.0/24 to any 80 setup
$fwcdm add 63 allow tcp from 192.168.0.0/24 to any 8074 setup
$fwcdm add 64 allow tcp from 192.168.0.0/24 to me 25 setup
$fwcdm add 65 allow tcp from 192.168.0.0/24 to me 995 setup
$fwcdm add 66 fwd 213.216.67.91,8080 tcp from 192.168.0.0/24 to any 80
$fwcdm add 67 deny all from 192.168.0.0/24 to any
$fwcdm add 80 allow tcp from 213.216.67.80/28 to any 53 setup
$fwcdm add 81 allow udp from 213.216.67.80/28 to any 53 keep-state
$fwcdm add 82 allow tcp from 213.216.67.80/28 to any 80 setup
$fwcdm add 83 allow tcp from 213.216.67.80/28 to any 8074 setup
$fwcdm add 84 allow tcp from 213.216.67.80/28 to me 25 setup
$fwcdm add 85 allow tcp from 213.216.67.80/28 to me 995 setup
$fwcdm add 86 allow tcp from any to 213.216.67.92 113 setup
$fwcdm add 87 allow tcp from 213.216.67.92 to 150.254.64.64 6667
$fwcdm add 88 deny all from 213.216.67.80/28 to any
$fwcdm add 65000 deny log ip from any to any

And now question:
Is this rules OK?
I don't connect server to internet before check rules.
So if anybody can tell me what could i change, i do this. Or is this 
correct, and i can put server to internet.

All man and how-to talk about 1 public and 1 private IP so i don't know 
what put in rules.
Is anybody can help me?

Thank you,
Arek
P.S.
My english is awful, sorry.
--
Arek Czereszewski   | jid: aro(at)chrome.pl
arek(at)wup-katowice.pl |  gg: 1349941
*nix is like a wigwam:
no windows, no gates, apache inside.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Heimdal with LDAP backend

2004-04-15 Thread Robert Fitzpatrick
On FreeBSD 5.2.1, I see a new Heimdal port with LDAP backend options.
After install, I am getting this error and wondering if it may be I have
to run OpenLDAP 2.2.8, now running 2.1.29 port install. If so, should
the 2.1.29 be removed first or just set my VER in make.conf to 22 and
portupgrade? 

kadmin init WEBTENT.NET
kadmin: hdb_open: ldap_sasl_bind_s: Can't contact LDAP server
kadmin list *
kadmin: opening database: ldap_sasl_bind_s: Can't contact LDAP server
kadmin: kadm5_get_principals: Wrong database version

-- 
Robert

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


Re: 3Com 3C940

2004-04-15 Thread Mark
- Original Message - 
From: Matthew Seaman [EMAIL PROTECTED]
To: Mark [EMAIL PROTECTED]
Cc: Toni Heinonen [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Saturday, March 27, 2004 11:23 AM
Subject: Re: 3Com 3C940

 On Sat, Mar 27, 2004 at 08:10:48AM +, Mark wrote:
  Toni Heinonen wrote:

  The 3Com 3C940 does not appear on either the 5.x or 4.9 hardware list.

   Why don't you just try and install?
 
  Because the LAN is onboard a K8V ASUS motherboard I plan to install
  FreeBSD 4.9R on. And I'd like to know whether FreeBSD can handle it.

 That should be supported -- see sk(4)

Thanks for your reply, as always. :)

At the SYNOPSIS, I read:

 device miibus
 device sk

Does that mean I need to recompile the kernel? Because device sk is not
part of my kernel config, it seems.

Thanks,

- Mark

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


Re: When I'm all done..

2004-04-15 Thread Mark
- Original Message - 
From: Jonathan Arnold [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, April 09, 2004 3:53 PM
Subject: Re: When I'm all done..


 Mark wrote:

  For a small 'emergency' disk, I'd like to remove those directories,
after
  the 4.9R install has fully completed. Can it be safely done? Or is
anything
  needed, at runtime, from those directories?

 You have a couple of options for creating small emergency disks:

 1] The Live CD is precisely for that - booting from in an emergency.

 2] See the following entries on my blog for links to small distros:

Thanks. I use the emergency disk for calamities, such as require a
root-partition restore. Having a handy live-CD to do that would not hurt
either. :) Whenever I boot from the install CD's, they always seem to use my
existing partitions (which makes a root-partition restore impossible).

- Mark

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


kmail date headers translated to local time.

2004-04-15 Thread Malcolm Kay
I have just upgraded to FreeBSD 4.9 Release and also installed
a later version (3.1.4) of kde. I don't use the kde windows 
manager, I have it installed mainly for kmail.

On this new version I find the Date/Time in the headers gets
translated to my local Date/Time which I find something of a 
disaster -- I like to know what the author's clock said! If I
really want to know the translated time it was always available
in the Messages window.

When I found that I could customise the date display to include
the time zone offset from UTC I thought my problem was solved.
But, alas, it still showed my local time with my time zone 
offset which to me seems quite rediculous -- after all I know
MY time zone offset.

Is there some way I can switch this back to the earlier behaviour?
I know I can get it back by displaying all headers; but this
is a rather unsatisfactory extreme.

It seems that many modern applications for unix are trying to 
catch up with MS-windows negative features. Fortunately they
still have some way to go!

Malcolm
 

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


Re: Beginning C++ in FreeBSD

2004-04-15 Thread Jerry McAllister
 
 Thanks,
 I will strongly consider your advice.
 Tomorrow I'm heading out to barns and noble to pick up
 some reading. Any good beginner C books you may
 recommend?

It wouldn't be thought a beginner book per se, but you should
have the  KR C Programming Language as it is the definitive reference.

Also, C - A Reference Manual (its latest edition is 5 or later) is
a good programming reference.   

But, neither is a tutorial so, you'll want one more.

jerry

 
 thanks for your time every one!
 
 Joe
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Beginning C++ in FreeBSD

2004-04-15 Thread Jerry McAllister
 
  
  Thanks,
  I will strongly consider your advice.
  Tomorrow I'm heading out to barns and noble to pick up
  some reading. Any good beginner C books you may
  recommend?
 
 It wouldn't be thought a beginner book per se, but you should
 have the  KR C Programming Language as it is the definitive reference.
 
 Also, C - A Reference Manual (its latest edition is 5 or later) is
 a good programming reference.   

I forgot to include the authors - Samuel P Harbison III and Guy L Steele Jr

jerry

 
 But, neither one is a beginner's tutorial so, 
 you'll want one more book of some sort.
 
 jerry
 
  
  thanks for your time every one!
  
  Joe
  
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

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


nslookup

2004-04-15 Thread Brian Henning
is there a bsd tool that gives the domain name of an IP address? 

I know this will give me an ip of one of the google web servers.
traceroute www.google.com

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


Re: nslookup

2004-04-15 Thread Shaun T. Erickson
Brian Henning wrote:

is there a bsd tool that gives the domain name of an IP address? 
host?

nslookup?

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


Re: nslookup

2004-04-15 Thread Matthew Seaman
On Thu, Apr 15, 2004 at 08:56:29AM -0500, Brian Henning wrote:
 is there a bsd tool that gives the domain name of an IP address? 
 
 I know this will give me an ip of one of the google web servers.
 traceroute www.google.com

dig -x 12.34.56.78

- or - 

host 12.34.56.78

Note that rather fewer machines have a correctly registered reverse
mapping than should really be the case.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: Question about the Linksys EG1032V2

2004-04-15 Thread Chad Leigh -- Shire.Net LLC
On Apr 14, 2004, at 5:58 PM, John Barbieri wrote:

Hello there list.

I was wondering if anyone has found a driver or knows a way of getting 
the
Linksys EG1032V2 gigabit Ethernet card to work under FreeBSD 4.9RC-2
I posted about this a few days ago.  No response.  I bought 2 of them 
and I seemed to have gotten the new version as well, though there is no 
indication on the box or anything.  I

I bought this card because it said it was supported, but luck be have 
it, I
got the 2nd version of the card, which changed chipsets.
I couldn't get them  to be recognized in either FreeBSD or Linux.

I got an RMA on them yesterday and am returning them and purchasing 
something different -- probably an Intel card...

best of luck

If anyone knows how to get this card to work that would be awesome.

Chad

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


Re: 4.4BSD-Lite source code

2004-04-15 Thread Alistair Sutton
* Tim McMillen ([EMAIL PROTECTED]) wrote:
 Many FreeBSD mirrors still carry code to FreeBSD 2.0, but that is not
 what you want if you just want 4.4BSD-lite.  I think the BSD-lite code
 is still available as a tarball to download from various places.  40MB
 or so if I recall.  I couldn't find it from a very quick search, but I'm
 sure you could find it.  It may even be on ftp.FreeBSD.org if you know
 where to look.

You can check it out from the CVS repository using the bsd_44_lite tag.

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


FreeBSD Dial up server

2004-04-15 Thread Drew Robertson
Hi all,

I've been trying to set up an ISP like setup for a home lan.  ie. have dial 
in client use cable modem to access the internet and other lan clients.

I'm using freebsd 4.8 and have just changed from ipfw/natd to ipf/ipnat.

I have the issue where clients dial in, authenticate, logon but can't access 
anything on the server or lan.

I've gone right back to basics and added the sample server section from the 
ppp.conf.sample.

server:
enable chap chap80 chap81 pap passwdauth
enable proxy
set ifaddr 10.0.0.1 10.0.0.100-10.0.0.199
accept dns
In ipnat.rules there is a map command used to map all the packets going out 
on the tun0 interface, but it's use looks to be for dial out isp connection.

With packets coming in from a dial in client should i map packets back in 
instead, or both ways??

i have the ipnat.rules file as follows

map tl0 192.168.1.0/24 - 0/32
map tun0 192.168.1.0/24 - 0/32
map tun0 0/32 - 0/32
If so, will the last command allow packets being passed from the tun0 
interface coming into the server to just pass through with it's assigned ip 
address from ppp.conf?

I have included all the options in rc.conf from the handbook and it looks to 
be ok.

gateway_enable=YES
hostname=SOMECOMPUTER.SOMEWHERE.COM
ifconfig_sis0=inet 192.168.1.1  netmask 255.255.255.0
ifconfig_tl0=DHCP
ifconfig_tun0=
#defaultrouter=192.168.1.1
router_enable=NO
mrouted_enable=NO
#arpproxy_all=YES
local_startup=/usr/local/etc/rc.d /etc
inetd_enable=YES
kern_securelevel_enable=NO
linux_enable=YES
lpd_enable=YES
moused_enable=YES
moused_port=/dev/psm0
moused_type=auto
nfs_reserved_port_only=YES
usbd_enable=YES
ipfilter_enable=YES
ipmon_enable=YES
ipmon_flags=-Dsvn
ipnat_enable=YES
ipfilter_rules=/etc/ipf.rules
ipnat_rules=/etc/ipnat.rules
nfs_server_enable=YES
portmap_enable=YES
nfs_client_enable=YES
Thanks for the help.

_
Get Extra Storage in 10MB, 25MB, 50MB and 100MB options now! Go to  
http://join.msn.com/?pgmarket=en-aupage=hotmail/es2

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


RE: Beginning C++ in FreeBSD

2004-04-15 Thread Lucas Holt
K  R is a good book.  

For C++, Absolute C++ was my textbook last semester and I found it to be
pretty good.  Avoid the Deitel  Deitel C++ book.  It has a few good
reference chapters but covers material in a very choppy way.  Practical C++
programming from O'Reilley is a good book on C++ basics.  It covers I/O and
syntax well, but does not get into the OO elements of the language as much
as one would like.

Avoid the C++ Programing Language.  Although the book was written by the
author of C++, it is NOT a good reference.  

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


how to disable/enable kbd during kernel startup?

2004-04-15 Thread HU Xiang-hua
hi,
I have tried to display a progress bar during FreeBSD5.2 startup. The method is 
based on splash_bmp and insert several PROGRESS like Linux Progress Patch into 
mi_startup and rc.sysinit. It is urgly ,but it do work! :-)
Now the problem is: any key pressed during kernel startup will ruin the splash 
progress, and disable to show login:. 
So I want to disable keyboard for the period of kernel startup. I comment out 
kbd_enable in kbd_atttach(), but how can I enable it ?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


problem booting 5.2.1

2004-04-15 Thread whizzter
(sorry for reposting this but i guess freebsd-bugs was the wrong place)

i've installed 5.2.1 and after creating a new fat32 partition on the
same disk it stopped booting, however as i had problems during the
install i hope the description here should help narrow it down.

-
when i got the computer i had 2 preformatted fat32 partitions, so
before installing i destroyed the second one and created a new smaller
one so i could fit freebsd on a new.

i started the installer and got created a partition and selected the
boot manager, however when doing commit the installer complained about
not being able to create/use a node named something in the lines of
ad1s3.. (my guess is that there was no device present for the 3rd
partition).

i went back into XP and removed the second partition from there.

after that the installer (kern/mfsroot floppies) refused to boot. after
trying some things i was able to get the installer to start again by
recreating the second partition i had when i did my first try.

this time i deleted the second partition from within the installer and
after that i was able to successfully install fbsd on a second
partition (kinda confirms my suspicion about the installer, it might
just be that a few nodes is missing from the mfsroot maybe?)

having installed i was successful in booting both xp and fbsd. but i
had 12 gigs of unused space after the bsd partition so i created a new
fat32 drive from within xp, after doing that fbsd stopped booting.

trying to boot the installer again gave the same error i had before
with it hanging during boot.

the UFS2 partition is still intact as i can access it thru the
bootloader, using show and lsmod from within the bootloader also shows
that it's trying to use the correct root.

the hanging kernel pops up in slightly different places depending on if
i try to boot the installer or the installed kernel. but roughly in the
same place during device initialization, the installer kernel hangs
after some pci_cfgintr line and the installed one hangs after
displaying something about the agp bus (setting the verbose flag while
booting shows the kernel saying setting setting gatt size to 256mb.
however i guess that these lines are unrelated as i was able to install
the kernel and even start Xfree. and that the problems has been
connected to me changing the partition layout. but i hope that you can
somewhat guess where the kernel gets stuck.

the kernel approximately displays around 15-20 lines of output before
hanging.

Thanks in advance.

/ Jonas Lund




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


Re: CUPS

2004-04-15 Thread Kevin D. Kinsey, DaleCo, S.P.
Robert Storey wrote:

Dear all,

Having looked at the mind-boggling amount of configuration information
that is in the Handbook, I decided to just install CUPS. I'm very familiar
with CUPS, having configured it many times in Linux.
So I installed the CUPS daemon, and started it by going to
/usr/local/etc/rc.d/ and renaming the sample file to cups.sh. I even did a
./cups.sh start and that worked - that is, my printer reacted by moving
the print head, and I could fire up Mozilla and type
http://localhost:631; and then reach the CUPS configuration page. My
printer is an Epson 24-pin dot-matrix onf /dev/lpt0 - there is a driver
for that, so no problem. So that should be enough to make it work - at
least that would do the job under Linux. But attempting to print a test
page gives me nothing.
The Handbook says almost zilch about CUPS other than suggesting that one
should look at cups.org for advice. Of course, cups.org has little to say
about BSD.
So I'm wondering what I did wrong? Any help is appreciated.

best regards,
Robert
 

I'm a definite newbie when it comes to printing; but I'll
take a shot (hopefully you're taking that first sentence
under advisement) in the hopes that keeping the thread
alive will get you what you need before too many days
pass.  Probably these questions are more to satisfy my
curiosity than to give help ... but let's go:
First, what command are you using to attempt to print
the test page?
Secondly, what does your entry for the printer look like
in /etc/printcap?
Anything in your logs?  /var/log/messages, perhaps...

Lastly, did you restart the daemon? 

   $lpc restart all

Like I said; I may be off base here, but maybe there's
food for thought; at the very least maybe somebody
else can grab the ball and run with it
:-)

Kevin Kinsey
DaleCo, S.P.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Racoon + PIX 515 .... unsuccessful story!

2004-04-15 Thread Wilfried BARNAVON RPi
Hi !

I found your  mail on this website:
http://klub.chip.pl/nolewajk/work/freebsd/FreeBSD-howto.htm
 where you said being positive so .


I intend to connect from a Cisco pix515 to a Linux box. My Linux box is
built on a 2.6.5 kernel and I use ipsec-tools version 0.3. It is very
similar to a BSD config !

Well here is the racoon debug:
INFO: initiate new phase 2 negotiation: 81.255.81.44[0]=81.255.86.117[0]
2004-04-15 05:28:58: ERROR: unknown notify message, no phase2 handle found.

In fact I suspect the PIX 515 not understanding IPCOMP.
However I don't know howto deactivate the compression in the SA through
Racoon. I can't put other
argument that DEFLATE / LZS / OUI.

I give your my racoon's configuration:


[EMAIL PROTECTED] ipsec-tools-0.3]# cat /etc/racoon.conf
path pre_shared_key /etc/psk.txt;
remote I.J.K.L {
exchange_mode main,base;
doi ipsec_doi;
situation identity_only;

my_identifier address A.B.C.D;
send_cert off;
send_cr off;
verify_cert off;
support_proxy on;

initial_contact on;
proposal_check obey;

lifetime time 24 hour;

proposal {
hash_algorithm md5;
encryption_algorithm 3des;
authentication_method pre_shared_key;
dh_group 2;
}
}


# Net to Net
sainfo address 192.168.1.0/24 any address 192.168.2.0/24 any {
authentication_algorithm hmac_md5;
encryption_algorithm 3des;
compression_algorithm deflate;
pfs_group 2;
}


Really I need a little help from you :)

Regards


Wilfried BARNAVON  Ingnieur Rseau
Solutions Linux  - R.H.C.E. (808003698808020)
[EMAIL PROTECTED]

Tel : 04 75 78 45 45
Fax : 04 75 56 05 07

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


/sbin/init X2???

2004-04-15 Thread Henrik W Lund
I noticed the darndest thing just the other day (and again just now, 
which prompted me to write this mail).

At some point, the OS decided it'd be a good idea to whip up another 
init process! I don't know if this is default behaviour (from what I've 
come to learn about OSes, this certainly does not seem like default 
behaviour) or if it is some weird quirk of this system of mine.

It's not that it's a big deal, at least not as far as I know. It just 
sits ther - well, both of them do actually. But I wouldn't know if this 
causes complications on a deeper level.

Have any of you experienced this?

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


Recognizing the right drivers (aue instead of ugen)

2004-04-15 Thread pbest
I am trying to configure my USB wireless device which is a Seimens
SpeadStream USB 802.11b adapter and is supported w/ the aue(4) driver. 
Aue and all other nessecary drivers were compiled into the kernel by
default and kldload returns an already exists error, so I know that the
drivers are there.  However, when I plug in the device it is recognized as
a ugen0 instead of aue0...any suggestions?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Setting Sendmail to Refuse Possibly Forged Headers

2004-04-15 Thread Martin McCormick
The sendmail that comes with FreeBSD is set to disallow all
third-party relaying which is wonderful and how I want to keep things.

In addition to that, I would like to try to set it to refuse
incoming mail with forged address headers.  Judging from the logs, it
seems to be pretty good at catching such messages and most of the ones
I look at that trigger this warning are spam.

I get over 100 spam messages a day and bogofilter and
junkfilter catch about 80 to 90% of them, but it would be nice if they
didn't even successfully deliver.  Successful delivery may, itself
trigger more spam.

After reading the man pages on sendmail.cf, I am not sure if I
can safely do that or not.  Much of the information is actually how to
allow certain types of relaying.  Fortunately, I don't need to loosen
anything.

Refusing mail from bogus addresses is slightly risky because
innocent mail senders may get bitten if something is wrong with their
local domain name server causing the reverse lookup to fail.  I will
just have to try it set that way for a while and see if anyone has
trouble who shouldn't.

Thanks for any suggestions or for any documentation that
describes how to safely refuse forged Email without either turning on
more relaying or creating any other insidious situation that might not
be obvious.

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


Re: Setting Sendmail to Refuse Possibly Forged Headers

2004-04-15 Thread Dan Nelson
In the last episode (Apr 15), Martin McCormick said:
   The sendmail that comes with FreeBSD is set to disallow all
 third-party relaying which is wonderful and how I want to keep
 things.
 
   In addition to that, I would like to try to set it to refuse
 incoming mail with forged address headers.  Judging from the logs, it
 seems to be pretty good at catching such messages and most of the
 ones I look at that trigger this warning are spam.

Take a look at the milter-sender port, which checks the sender's email
address and verifies that an smtp server is listening.  It's not
something that can be done within sendmail, which is why it's a milter.

Another thing to check is the HELO string.  The following will block
all incoming mails claiming to be the mailserver itself.  Replace
XX your with server's IP and domainnames, spearated by spaces (so
C{RejectHelo} 1.2.3.4 mydomain.com, for example).  I deny ~500 spams
a day with this rule alone.

#+\/+ Block connections from servers that try and send our IP or hostname in the HELO
LOCAL_CONFIG
C{RejectHelo} XX

LOCAL_RULESETS

SLocal_check_mail
R$* $: $1 $| $sPut helo name in workspace
R$* $| $={RejectHelo}   $#error $@ 5.7.1 $: 550 Spammer access denied
R$* $| $*   $: $1   Extract helo from workspace if it doesn't match
#-/\-

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


Fluxbox System Tray

2004-04-15 Thread Victor Gregorio
Hello.  I am trying to get the system tray working on the fluxbox 
toolbar. I am running FreeBSD 5.2.1 and the latest port for fluxbox. 
After a bit of research I found this command for ~/.fluxbox/init:

session.screen0.toolbar.tools: workspacename, systemtray, iconbar, clock

This does not work for me.  My system tray is not showing up.  I cannot 
modify my toolbar settings at all.  Could I be missing a compile time 
option?  Any direction from fluxbox users is appreciated.

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


Re: Setting Sendmail to Refuse Possibly Forged Headers

2004-04-15 Thread Martin McCormick
Many thanks.  I should probably buy a Sendmail book, but it
hardly ever needs any attention.  It just quietly works.

Martin

Dan Nelson writes:
Take a look at the milter-sender port, which checks the sender's email
address and verifies that an smtp server is listening.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: nslookup

2004-04-15 Thread Kirk Strauser
At 2004-04-15T13:58:52Z, Shaun T. Erickson [EMAIL PROTECTED] writes:

 nslookup?

Don't use nslookup.  It's a Bad Thing.
-- 
Kirk Strauser

94 outdated ports on the box,
 94 outdated ports.
 Portupgrade one, an hour 'til done,
 82 outdated ports on the box.


pgp0.pgp
Description: PGP signature


RE: CUPS

2004-04-15 Thread Derrick Ryalls
 
 
 Robert Storey wrote:
 
 Dear all,
 
 Having looked at the mind-boggling amount of configuration 
 information 
 that is in the Handbook, I decided to just install CUPS. I'm very 
 familiar with CUPS, having configured it many times in Linux.
 
 So I installed the CUPS daemon, and started it by going to 
 /usr/local/etc/rc.d/ and renaming the sample file to cups.sh. I even 
 did a ./cups.sh start and that worked - that is, my 
 printer reacted 
 by moving the print head, and I could fire up Mozilla and type 
 http://localhost:631; and then reach the CUPS configuration 
 page. My 
 printer is an Epson 24-pin dot-matrix onf /dev/lpt0 - there 
 is a driver 
 for that, so no problem. So that should be enough to make it 
 work - at 
 least that would do the job under Linux. But attempting to 
 print a test 
 page gives me nothing.
 
 The Handbook says almost zilch about CUPS other than suggesting that 
 one should look at cups.org for advice. Of course, cups.org 
 has little 
 to say about BSD.
 
 So I'm wondering what I did wrong? Any help is appreciated.
 
 best regards,
 Robert
   
 
 
 I'm a definite newbie when it comes to printing; but I'll
 take a shot (hopefully you're taking that first sentence
 under advisement) in the hopes that keeping the thread
 alive will get you what you need before too many days
 pass.  Probably these questions are more to satisfy my 
 curiosity than to give help ... but let's go:
 
 First, what command are you using to attempt to print
 the test page?
 
 Secondly, what does your entry for the printer look like
 in /etc/printcap?
 
 Anything in your logs?  /var/log/messages, perhaps...
 
 Lastly, did you restart the daemon? 
 
 $lpc restart all
 
 Like I said; I may be off base here, but maybe there's
 food for thought; at the very least maybe somebody
 else can grab the ball and run with it
 

http://www.freebsddiary.org/cups.php

I no longer use CUPS myself, but when I had it setup, I had to make sure the
system lp* files where chmod'ed to -x so that the CUPS version would be used
instead.  The above link suggests moving /usr/local/bin before /usr/bin in
your path, but that just doesn't give me warm fuzzy feelings.

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


Re: CUPS

2004-04-15 Thread Joe Altman
On Thu, Apr 15, 2004 at 05:21:22PM +0800, Robert Storey wrote:
 Dear all,
 
 Having looked at the mind-boggling amount of configuration information
 that is in the Handbook, I decided to just install CUPS. I'm very familiar
 with CUPS, having configured it many times in Linux.
 
 So I installed the CUPS daemon, and started it by going to
 /usr/local/etc/rc.d/ and renaming the sample file to cups.sh. I even did a
 ./cups.sh start and that worked - that is, my printer reacted by moving
 the print head, and I could fire up Mozilla and type
 http://localhost:631; and then reach the CUPS configuration page. My
 printer is an Epson 24-pin dot-matrix onf /dev/lpt0 - there is a driver
 for that, so no problem. So that should be enough to make it work - at
 least that would do the job under Linux. But attempting to print a test
 page gives me nothing.
 
 The Handbook says almost zilch about CUPS other than suggesting that one
 should look at cups.org for advice. Of course, cups.org has little to say
 about BSD.
 
 So I'm wondering what I did wrong? Any help is appreciated.

Do you see any contents in /var/log/cups/ ? Any clues there?

What about /usr/local/etc/cups/? What does your cupsd.conf say about
your printer? I don't have root on my home box just now; but IIRC that
file is the one to alter. The alterations to /etc/printcap will follow
from /usr/local/etc/cups/printers.conf; but I dont' recall if that is
the file to alter, rather than the cupsd.conf file; perhaps you will
need to edit both, or use the web interface for configuration, which
will write the appropriate entries in the files for you.

Can you find any clues in /usr/local/share/doc/cups/? That's where I
found my answers; there and google.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Beginner's question about csh/tcsh

2004-04-15 Thread Mike
Greetings:

I have a FreeBSD 4.9-stable server up and running and I ran across an 
error (most likely mine) while using csh.

I normally use the UP and DOWN arrow keys to access the command history. 
  However, this morning instead being able to go through the .history 
file with the arrow keys (the arrow keys that are not part of the 
numeric keypad), I get a ^[[A  when using the up arrow key and a 
^[[B when using the down arrow key.

I've tried to clear the .history file but I still get it.  I've also 
tired to google through about 50 doc's and tutorials and through the 
freebsd-questions archive but... no joy.

Any hints or questions would be appreciated.  Thank you.

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


Re: Beginner's question about csh/tcsh

2004-04-15 Thread Jerry McAllister
 
 Greetings:
 
 I have a FreeBSD 4.9-stable server up and running and I ran across an 
 error (most likely mine) while using csh.
 
 I normally use the UP and DOWN arrow keys to access the command history. 
However, this morning instead being able to go through the .history 
 file with the arrow keys (the arrow keys that are not part of the 
 numeric keypad), I get a ^[[A  when using the up arrow key and a 
 ^[[B when using the down arrow key.
 
 I've tried to clear the .history file but I still get it.  I've also 
 tired to google through about 50 doc's and tutorials and through the 
 freebsd-questions archive but... no joy.
 
 Any hints or questions would be appreciated.  Thank you.

Are you sure your shell was csh/tcsh?
Which account were ou logged in under?   Were you SUed to root?

It sounds like you are using an account with /bin/sh as a shell
or some other one that doesn't know about the tcsh history editing.

For example, unless you change it, root uses sh for a shell.

jerry

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


Re: nslookup

2004-04-15 Thread Jerry McAllister
 
 At 2004-04-15T13:58:52Z, Shaun T. Erickson [EMAIL PROTECTED] writes:
 
  nslookup?
 
 Don't use nslookup.  It's a Bad Thing.
 
I haven't heard that there is any specific evil involved, just that 
somewhere in the high court of those who pass judgement on such things, 
it has been decided to phase out nslookup in favor of new utilities.   

Actually, I am a little sorry because nslookup puts out a nice
basic piece of information and is easy to use.  dig seems to fill
the screen with stuff I have to squint at and visually sort through
to find the tidbit of information I want.   Probably some more use
of arguments might narrow stuff down a little, I suppose, but...

Also, nslookup let me start it up and do some checks using my primary DBS
and then set server to something and stay that way while I did a bunch of
checking and then set it to another server to do some more checking, all
without having to re-enter the command line stuff.

That is handy.

I notice some desirable features of dig too, but I liked that simple
convenience in nslookup.

jerry

 Kirk Strauser
 
 94 outdated ports on the box,
  94 outdated ports.
  Portupgrade one, an hour 'til done,
  82 outdated ports on the box.
 
 --=-=-=
 Content-Type: application/pgp-signature
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.4 (GNU/Linux)
 
 iD8DBQBAfsuO5sRg+Y0CpvERAp5tAJ0fPgDZW96CenS5zmi5xkdOF0PkBwCeIWcO
 cKAE5fKIOyGECkfUKyArv14=
 =lH0l
 -END PGP SIGNATURE-
 --=-=-=--
 
 

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


Re: Beginner's question about csh/tcsh

2004-04-15 Thread Josh Paetzel
 It sounds like you are using an account with /bin/sh as a shell
 For example, unless you change it, root uses sh for a shell.
 
 jerry

Root uses csh by default.

Josh Paetzel

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


Re: Beginner's question about csh/tcsh

2004-04-15 Thread Jerry McAllister
 
  It sounds like you are using an account with /bin/sh as a shell
  For example, unless you change it, root uses sh for a shell.
  
  jerry
 
 Root uses csh by default.

Well, I'll be darned.  It does now.

jerry

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

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


RE: What happened after gnome upgrade??

2004-04-15 Thread mark rowlands
  Now with Gnome-2.6 upgraded (mostly  OK, crashed )

mostly ok ? ooops!
 
  towards the VERY end...), all my things don't work right anymore.
  All apps like GnomeMeeting, the battery meter, etc appear to be 
  completely messed up.  For the most part, they run, but 
 none of the 
  words, etc are there!  The battery meter, when I click on it, only 
  shows the Do Not Enter ERROR box, no text and nothing 
 else visible
  - again, no words, etc.  The same goes for GnomeMeeting.  
 Also when I 
  try to run the proccess display applet, nothing shows up, just the 
  line graph of CPU usage, but nothing such as process names, 
  descriptions, etc or menu items along the top shows up 
 anymore.  HOW 
  do I fix this?!
 
  GTK+ was updated recently and this sounds like what happens 
 when apps
  that use it get out of sync with it. You will have to recompile 
  everything that uses GTK+. I suggest portupgraded.
 
  /me recently saw this himself with the gtk apps he uses when updated
  gtk+
 
 Are you saying that a portupgrade -fRra is required?

From the faq..

 Oops! I ran portupgrade(1)! What do I do?

Do not worry; hope is not lost. Running portupgrade(1) will cause the
build to fail,
but it will not cause any lasting damage to your ports tree, unless you
have done 
something exceptionally creative. Simply download the gnome_upgrade.sh
script and 
run it, and pretend that you ran it in the first place. Nobody needs to
know that 
you didn't read the directions first!

The upgrade failed; what do I do?

Unfortunately, this is not only possible, it's highly probable. There
are many possible
valid GNOME configurations, and even more invalid starting points. If
the script fails,
follow the instructions in the error message to let the FreeBSD GNOME
team know about 
the failure.

The majority of build failures will be dependency-related issues. One
simple way to resolve
the problem is to remove the offending port, re-run gnome_upgrade.sh,
and then reinstall the
port when the upgrade process is complete.



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


Re: nslookup

2004-04-15 Thread Kirk Strauser
At 2004-04-15T18:35:47Z, Jerry McAllister [EMAIL PROTECTED] writes:

 I haven't heard that there is any specific evil involved, just that
 somewhere in the high court of those who pass judgement on such things, it
 has been decided to phase out nslookup in favor of new utilities.

Nope.  nslookup is inherently flawed is that its results don't necessarily
reflect the results that the rest of your system may be getting.  For more
information, Google of nslookup is bad.  For example:

  http://homepages.tesco.net/~J.deBoynePollard/FGA/nslookup-daft-error-message.html
-- 
Kirk Strauser


pgp0.pgp
Description: PGP signature


Re: Beginner's question about csh/tcsh

2004-04-15 Thread Matthew Seaman
On Thu, Apr 15, 2004 at 02:42:55PM -0400, Jerry McAllister wrote:
  
   It sounds like you are using an account with /bin/sh as a shell
   For example, unless you change it, root uses sh for a shell.
   
   jerry
  
  Root uses csh by default.
 
 Well, I'll be darned.  It does now.
 

Actually, root's shell has been set to csh(1) for as long as there has
been a FreeBSD:


http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/master.passwd?rev=1.1content-type=text/x-cvsweb-markup

I think I've seen one of the elder gods mention that root's shell was
csh all the way back to 4.2-BSD.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: Beginner's question about csh/tcsh

2004-04-15 Thread Mike
Jerry McAllister wrote:

It sounds like you are using an account with /bin/sh as a shell
For example, unless you change it, root uses sh for a shell.
jerry
Root uses csh by default.


Well, I'll be darned.  It does now.
BTW.  I login as normal user and su to root for adminstrative tasks.

I checked what shell root was using and it was sh (/bin/sh).  So the 
information on my first post was inaccurate.  My bad. I thought the 
shell was csh.

So, I changed root's shell to csh.  The problem of no .history via up 
and down arrows went away.  The arrow keys now access the .history file.

Strange.  Did I possibly do something to screw up the sh shell?

Michael Chinn
jerry


Josh Paetzel

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


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


Re: Beginner's question about csh/tcsh

2004-04-15 Thread Josh Paetzel
 I checked what shell root was using and it was sh (/bin/sh).  So the 
 information on my first post was inaccurate.  My bad. I thought the 
 shell was csh.
 
 So, I changed root's shell to csh.  The problem of no .history via up 
 and down arrows went away.  The arrow keys now access the .history file.
 
 Strange.  Did I possibly do something to screw up the sh shell?
 
 Michael Chinn


The only thing that's wrong is that root is using /bin/sh, and the only way 
that can really happen is if someone changes it. :-/

Good Luck, 

Josh Paetzel

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


Re: nslookup

2004-04-15 Thread Joshua Lokken
* Kirk Strauser [EMAIL PROTECTED] [2004-04-15 10:56]:
 At 2004-04-15T13:58:52Z, Shaun T. Erickson [EMAIL PROTECTED] writes:
 
  nslookup?
 
 Don't use nslookup.  It's a Bad Thing.


I really don't want to hijack this thread, but you've peaked my
curiosity; can you elaborate?


-- 
Joshua

Is truth not truth for all?
-- Natira, For the World is Hollow and I have Touched
   the Sky, stardate 5476.4.

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


Re: Beginner's question about csh/tcsh

2004-04-15 Thread Jerry McAllister
 
 Jerry McAllister wrote:
 
 It sounds like you are using an account with /bin/sh as a shell
 For example, unless you change it, root uses sh for a shell.
 
 jerry
 
 Root uses csh by default.
  
  Well, I'll be darned.  It does now.
 
 BTW.  I login as normal user and su to root for adminstrative tasks.
 
 I checked what shell root was using and it was sh (/bin/sh).  So the 
 information on my first post was inaccurate.  My bad. I thought the 
 shell was csh.

I guess that is now the default.

 So, I changed root's shell to csh.  The problem of no .history via up 
 and down arrows went away.  The arrow keys now access the .history file.
 
 Strange.  Did I possibly do something to screw up the sh shell?

I don't remember the FreeBSD version being mentioned.   Maybe if it
is old enough, it would be /bin/sh.   It used to be that I think
some time ago.  I don't remember how far back (or maybe if I am
thinking of a different UNIX).

Otherwise, someone (you?) may have modified the root entry on your
machine in /etc/passwd to have /bin/sh as its shell for some reason.

jerry

 Michael Chinn
  
  jerry
  
  
 Josh Paetzel
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


installing perl module Net::Netmask

2004-04-15 Thread JJB
Freebsd 4.9 is delivered with perl all ready installed.
Just how do I go about installing  module Net::Netmask into 
the existing Perl software?


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


Re: installing perl module Net::Netmask

2004-04-15 Thread Matthew Seaman
On Thu, Apr 15, 2004 at 04:39:50PM -0400, JJB wrote:
 Freebsd 4.9 is delivered with perl all ready installed.
 Just how do I go about installing  module Net::Netmask into 
 the existing Perl software?

# cd /usr/ports/net-mgmt/p5-Net-Netmask
# make install

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: installing perl module Net::Netmask

2004-04-15 Thread Martin Hudec
Hello,

or if you don't want to install it from ports for any reason,
you can use:

# perl -MCPAN -e shell
answer various configuration questions
cpan install Net::Netmask
after installation is complete, type quit
cpan quit


Cheers,

Martin


On Thu, Apr 15, 2004 at 04:39:50PM -0400 or thereabouts, JJB wrote:
 Freebsd 4.9 is delivered with perl all ready installed.
 Just how do I go about installing  module Net::Netmask into 
 the existing Perl software?

-- 
Martin Hudec| corwin at aeternal.net
| corwin at web.markiza.sk
http://www.aeternal.net | cell +421 907 303 393

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


[no subject]

2004-04-15 Thread -={|TooManyMirrors|}=-
unsubscribe 


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


whois(1) usage

2004-04-15 Thread Christian Weisgerber
From URL:http://www.sixxs.net/faq/account/?faq=6bonehandle:

| * First, read about the person template:
|   whois -h whois.6bone.net -v person.

FreeBSD's whois(1) does not have a -v flag.  I checked a Mandrake
Linux system, and there -v is supported and obviously produces the
expected result.

So, how do I execute the query above with our whois command?

-- 
Christian naddy Weisgerber  [EMAIL PROTECTED]

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


getting a current system

2004-04-15 Thread Aaron Walker
I've been trying to get an up-to-date FreeBSD system running for the
past 2 weeks, but keep running into problems.  I've tried both 5.2.1 and
4.9 (with 4.9 giving me more problems believe it or not).  I'm pretty
sure I followed the steps in the handbook correctly, but I might be
wrong.  Basically, I'd like to verify that I am doing this correctly. 
Right after a fresh install I have been doing:

 - Editing supfiles in /usr/share/examples/cvsup.  Specifically, the
doc-supfile, ports-supfile and (stable-supfile for 4.9 and
standard-supfile for 5.2.1).  Changed the CVS host and the default base
to /usr/local/etc/cvsup
 - Ran 'cvsup -g -L 2 SUPFILE' for the supfiles above that were edited.
 - Created /etc/make.conf with simple flags:
CPUTYPE=athlon-xp
CFLAGS=-O -pipe
MAKE_SHELL=sh
NOPROFILE=true
 - Ran 'mergemaster -p' to check if any config changes are needed before
running 'make buildworld' 
 - cd /usr/src  make -j4 buildworld
 - make buildkernel (for now I have just used the GENERIC until I get
this all working)
 - make installkernel
 - Reboot to single-user mode
 - make installworld
 - mergemaster

Is this all that is needed to update the system?  4.9 gave me the most
problems during and after the above steps.  I am really determined to
get this working, despite all the problems I am having.  A fresh install
of 5.2.1 has just finished, so I am gonna try this again (hopefully with
the help of you guys).

Thanks,
Aaron

-- 
Aaron Walker [EMAIL PROTECTED]
http://ka0ttic.dyndns.org/

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


timezone command

2004-04-15 Thread JJB
Time zone has been set during sysinstall.
Is there an console command to display my configured time zone like
format +05:00?

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


Re: whois(1) usage

2004-04-15 Thread Dan Nelson
In the last episode (Apr 15), Christian Weisgerber said:
 From URL:http://www.sixxs.net/faq/account/?faq=6bonehandle:
 
 | * First, read about the person template:
 |   whois -h whois.6bone.net -v person.
 
 FreeBSD's whois(1) does not have a -v flag.  I checked a Mandrake
 Linux system, and there -v is supported and obviously produces the
 expected result.
 
 So, how do I execute the query above with our whois command?

whois -h whois.6bone.net -- -v person

works for me, on both FreeBSD and Linux whois.  -v is not really a
whois option at all; it's a remote server flag.  I assume there are
others, and the above syntax is the only way to pass all possible flags
(Linux's syntax only works with flags that the whois binary itself
doesn't use).

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


Recognized as aue not ugen, how do I do it?

2004-04-15 Thread pbest
how would I configure my system such that a device supported by the aue
driver will load w/ it and not the generic ugen one?  aue and all
dependent driver are compiled into the system and loaded properly.  it
recognizes the name of the device Siemens but as ugen0.  Probably it
would include editing the parameters of usbd.conf? but how would I do that
such that it will work
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Setting Sendmail to Refuse Possibly Forged Headers

2004-04-15 Thread antenneX
- Original Message - 
From: Dan Nelson [EMAIL PROTECTED]
To: Martin McCormick [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, April 15, 2004 12:26 PM
Subject: Re: Setting Sendmail to Refuse Possibly Forged Headers


 In the last episode (Apr 15), Martin McCormick said:
  The sendmail that comes with FreeBSD is set to disallow all
  third-party relaying which is wonderful and how I want to keep
  things.
 
  In addition to that, I would like to try to set it to refuse
  incoming mail with forged address headers.  Judging from the logs, it
  seems to be pretty good at catching such messages and most of the
  ones I look at that trigger this warning are spam.

 Take a look at the milter-sender port, which checks the sender's email
 address and verifies that an smtp server is listening.  It's not
 something that can be done within sendmail, which is why it's a milter.

 Another thing to check is the HELO string.  The following will block
 all incoming mails claiming to be the mailserver itself.  Replace
 XX your with server's IP and domainnames, spearated by spaces (so
 C{RejectHelo} 1.2.3.4 mydomain.com, for example).  I deny ~500 spams
 a day with this rule alone.

 #+\/+ Block connections from servers that try and send our IP or hostname
in the HELO
 LOCAL_CONFIG
 C{RejectHelo} XX

 LOCAL_RULESETS

 SLocal_check_mail
 R$* $: $1 $| $s Put helo name in workspace
 R$* $| $={RejectHelo} $#error $@ 5.7.1 $: 550 Spammer access denied
 R$* $| $* $: $1 Extract helo from workspace if it doesn't match
 #-/\-

 -- 
 Dan Nelson
 [EMAIL PROTECTED]

Dan: Your suggestions here were appealing, but I'm batting zero.

1- Will milter-sender work alongside spamass-milter...??
I *think* it was working on a test box, but failed on production box.

2- Each of your 3 lines above for local_check_mail yelled about expecting
a Tab when sendmail was restarted... not sure how to fix that.

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


LSI21320-R

2004-04-15 Thread synrat
Does anyone know if LSI21320-R adapter works under freebsd ?
I found some mpt driver support for certain chipsets in hardware compat.
list, but I don't know what chipset this card uses. Will FreeBSD actually
see the hardware raid as one lun ?
thanx a lot in advance
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: timezone command

2004-04-15 Thread Greg 'groggy' Lehey
On Thursday, 15 April 2004 at 22:15:06 -0400, JJB wrote:
 Time zone has been set during sysinstall.
 Is there an console command to display my configured time zone like
 format +05:00?

Not quite like that (are you in Pakistan?).  The problem is that time
zones aren't that simple: they contain information about daylight
savings time, as well as implicit historical information that gets
lost when you reduce it to a number.  Admittedly, Pakistan doesn't
seem to have DST, but that's the way it is.

In general, the system time zone is stored in the file /etc/localtime.
You can set it with:

  # cp /usr/share/zoneinfo/Asia/Karachi /etc/localtime 
  # date
  Fri Apr 16 08:55:27 PKT 2004

If you remove it, it defaults to GMT (really UTC):

  # rm /etc/localtime
  # date
  Fri Apr 16 03:55:37 GMT 2004

Even then, you can specify the time zone explicitly with the TZ
environment variable:

  # TZ=Asia/Karachi date
  Fri Apr 16 08:55:45 PKT 2004

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
Note: I discard all HTML mail unseen.
Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgp0.pgp
Description: PGP signature


Re: Setting Sendmail to Refuse Possibly Forged Headers

2004-04-15 Thread Dan Nelson
In the last episode (Apr 15), antenneX said:
  SLocal_check_mail
  R$* $: $1 $| $s Put helo name in workspace
  R$* $| $={RejectHelo} $#error $@ 5.7.1 $: 550 Spammer access denied
  R$* $| $* $: $1 Extract helo from workspace if it doesn't match
  #-/\-
 
 Dan: Your suggestions here were appealing, but I'm batting zero.
 
 1- Will milter-sender work alongside spamass-milter...??
 I *think* it was working on a test box, but failed on production box.

They should coexist peacefully.  In general, milters should be unaware
of each other.  I'd put milter-sender in front of spamass-milter, since
spamassassin can be CPU-hungry and there's no need to mark a message as
spam if milter-sender is just going to deny it anyway.
 
 2- Each of your 3 lines above for local_check_mail yelled about
 expecting a Tab when sendmail was restarted... not sure how to fix
 that.

My outgoing message had tabs; if your mailer removes them or replaces
them with spaces, here's where they go:

R$*TAB$: $1 $| $sTABPut helo name in workspace
R$* $| $={RejectHelo}TAB$#error $@ 5.7.1 $: 550 Spammer access denied
R$* $| $*TAB$: $1TABExtract helo from workspace if it doesn't match

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


RE: timezone command

2004-04-15 Thread JJB
I know how to set timezone, date and time.

I am looking for command to display on the console screen the
systems timezone in this kind of format -00:00

Is there such an command or some way to get this info?

In an perl script I tried  $timezone= $ENV{TZ}  and I did not get
00:00 format which I was looking for.

-Original Message-
From: Greg 'groggy' Lehey [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 15, 2004 11:58 PM
To: JJB
Cc: [EMAIL PROTECTED] ORG
Subject: Re: timezone command

On Thursday, 15 April 2004 at 22:15:06 -0400, JJB wrote:
 Time zone has been set during sysinstall.
 Is there an console command to display my configured time zone
like
 format +05:00?

Not quite like that (are you in Pakistan?).  The problem is that
time
zones aren't that simple: they contain information about daylight
savings time, as well as implicit historical information that gets
lost when you reduce it to a number.  Admittedly, Pakistan doesn't
seem to have DST, but that's the way it is.

In general, the system time zone is stored in the file
/etc/localtime.
You can set it with:

  # cp /usr/share/zoneinfo/Asia/Karachi /etc/localtime
  # date
  Fri Apr 16 08:55:27 PKT 2004

If you remove it, it defaults to GMT (really UTC):

  # rm /etc/localtime
  # date
  Fri Apr 16 03:55:37 GMT 2004

Even then, you can specify the time zone explicitly with the TZ
environment variable:

  # TZ=Asia/Karachi date
  Fri Apr 16 08:55:45 PKT 2004

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original
recipients.
For more information, see http://www.lemis.com/questions.html
Note: I discard all HTML mail unseen.
Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.

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


Re: lament about freebsd sacrifices

2004-04-15 Thread freebsduser
My only regret was that I didn't listen to my inner voice that said -- Don't get an 
ATI All In Wonder Pro for watching TV. Get a Hauppauge TVIVO instead, or get a 
standard sort of sound card for sound.

I didn't do the research. But there's enough hardware and such to make one happy if 
they do the research.  But this is being pointed out to by other posters.

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


How can I correct this in postfix ?

2004-04-15 Thread Supote Leelasupphakorn
Hi lists,

   I use postfix as my mail server, and today, from output
of command postqueue -p I saw one mail unable to send out.
I found that the destination of email is correct and I want
to correct this. How can I do that ? Anybody know ?

TIA,
Pote


Yahoo! Messenger - Communicate instantly...Ping 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: timezone command

2004-04-15 Thread Erik Trulsson
On Fri, Apr 16, 2004 at 12:28:58AM -0400, JJB wrote:
 I know how to set timezone, date and time.
 
 I am looking for command to display on the console screen the
 systems timezone in this kind of format -00:00
 
 Is there such an command or some way to get this info?
 
 In an perl script I tried  $timezone= $ENV{TZ}  and I did not get
 00:00 format which I was looking for.

Try 'date +%z' to get the timezone in the format +0200.
Not exactly what you asked for, but almost.


-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: installing perl module Net::Netmask

2004-04-15 Thread mark rowlands
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of JJB
 Sent: Thursday, April 15, 2004 10:40 PM
 To: [EMAIL PROTECTED] ORG
 Subject: installing perl module Net::Netmask 
 
 Freebsd 4.9 is delivered with perl all ready installed.
 Just how do I go about installing  module Net::Netmask into 
 the existing Perl software?
 

I'm gonna hate myself for this.

1) cd /usr/ports/net/cvsup-without-gui
2) make install clean
3) Edit a file  /somewhere/portsup thusly



*default host=CHANGE_THIS.FreeBSD.org
# change it to reflect your nearest mirror!. cvsup.se.freebsd.org
for example
*default base=/usr
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix

# If your network link is a T1 or faster, comment out the following
line.
*default compress

## Ports Collection.
#
# The easiest way to get the ports tree is to use the ports-all
# mega-collection.  It includes all of the individual ports-*
# collections,
ports-all



4) cvsup /somewhere/portsup

5) When all that excitement is finished:-  cd /usr/ports

6) make search key=netmask | egrep Port|Path
Port:   libmtrie-1.0.3
Path:   /usr/ports/devel/libmtrie
Port:   pop-before-smtp-1.33
Path:   /usr/ports/mail/pop-before-smtp
Port:   hawk-0.6
Path:   /usr/ports/net/hawk
Port:   XBone-3.0
Path:   /usr/ports/net/xbone
Port:   icmpquery-1.0.3
Path:   /usr/ports/net-mgmt/icmpquery
Port:   netmask-2.4_1
Path:   /usr/ports/net-mgmt/netmask
Port:   p5-Net-Netmask-1.9007
Path:   /usr/ports/net-mgmt/p5-Net-Netmask

H  lookeee lookeee

7) cd /usr/ports/net-mgmt/p5-Net-Netmask

8) make install clean

9) Go read the the handbook, the faq, take a look in /usr/share/doc and
sin no more.


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


Dialup Modem/FreeBSD v4.9

2004-04-15 Thread Michael A. Alestock
I run a server on FreeBSD v4.9 and have broadband access on it.  However, I also have 
a dialup modem (external) that I use to dial-in when I can't access the box via 
broadband because of connection issues, etc.

Is there a way to assign an IP address to the modem device (/dev/cuaa1) so that when I 
do a who or last while dialed in, I'll be able to see an assigned IP address of 
the device /dev/cuaa1?   Or is that only for /dev/tty's 

Any faq or link to a FreeBSD.org section on this would be much appreciated.  I looked 
around, but couldn't find anything on what I was looking for.


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


IMPORTANT: My email address has changed, please resend your message.

2004-04-15 Thread sdudley
Hello,

I have been forced to change my email address due to being bombarded by spam  viruses 
(I was receiving hundreds of bogus emails per day).  Please resend your message to me 
at my new email address of [EMAIL PROTECTED]  Sorry for any inconvenience this may 
cause.

If you didn't send me a message, please disregard this email.  It means that a 
spoofing virus sent me a virus and said it was from your email address.

Thank you.

Sean Dudley
Byte Runner Technologies

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


Re: How can I correct this in postfix ?

2004-04-15 Thread Bill Campbell
On Fri, Apr 16, 2004, Supote Leelasupphakorn wrote:
Hi lists,

   I use postfix as my mail server, and today, from output
of command postqueue -p I saw one mail unable to send out.
I found that the destination of email is correct and I want
to correct this. How can I do that ? Anybody know ?

Why isn't it going out?  Often this is a inaccessible MX server
or bad DNS.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

Government spending?  I don't know what it's all about.  I don't know
any more about this thing than an economist does, and, God knows, he
doesn't know much.
-- Will Rogers
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: getting a current system

2004-04-15 Thread jens

Hello Aaron, 

Could you give us the output of the different error messages you got
during this upgrading? You described in detail what you did but did
not describe the errors.


Kind regards.

Jens

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


kde 3.2 - autologin - authentication fails

2004-04-15 Thread Gustaaf Wijnands
Hello,

After upgrading to kde 3.2 everything runs smoothly, except kdm. 
Autologin doesn't work any longer. Several times I changed the settings 
in the control center. I also removed all files from 
/usr/local/share/config/kdm and put back the files which can be found in 
usr/local/share/config/kdm/default to no avail.

I happen to run 4.9-p2

Does anybody have a clue what can be done about this?

--

Gustaaf

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