ipf ipnat ftp question

2005-01-23 Thread dick hoogendijk
I want ftp services to and from the internet for my gateway and my lan
machines. I read the handbook but still have some questions. As I
understand I have to put two lines into my ipf.rules whe I use the IPNAT
built in ftp proxy.

#pass out quick on rl0 proto tcp from any to any port = 21 flags S keep state
# Allow in non-secure FTP ( both passive & active modes)
#pass in quick on rl0 proto tcp from any to any port = 21 flags S keep state

But I don't understand the proxy rules ;-( !!
What happens with the /29 thing? ??? Why isn't it /24 ??

Please give me some hints on this.


### ip.nat.rules
###

# This rule will handle all the traffic for the internal LAN:
# map rl0 192.168.11.0/29 -> 0/32 proxy port 21 ftp/tcp

# This rule handles the FTP traffic from the gateway.
# map rl0 0.0.0.0/0 -> 0/32 proxy port 21 ftp/tcp

# This rule handles all non-FTP traffic from the internal LAN.
# map rl0 192.168.11.0/29 -> 0/32
# Only one filter rule is needed for FTP if the NAT FTP proxy is used.

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.10 ++ Debian GNU/Linux (Woody)
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilya
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


problems with ipfilter module on RELENG_4_11

2005-01-23 Thread Katsuji Ishikawa
Hi all,

I upgraded a FreeBSDBOX from RELENG_4_10 to RELENG_4_11,
with custom kernels w/o INET6, then ipfilter module(ipl.ko) was doesn't work.

* output of uname -a
freebsd4# uname -a
FreeBSD freebsd4.localdomain 4.11-RELEASE FreeBSD 4.11-RELEASE #1: Sun
Jan 23 17:48:11 JST 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/NOINET6  i386

* execute 'kldload ipl'
freebsd4# kldload ipl
kldload: can't load ipl: Exec format error
freebsd4# tail -1 /var/log/messages
Jan 24 16:32:27 freebsd4 /kernel: link_elf: symbol in6_cksum undefined

* kernel configuration
freebsd4# diff /sys/i386/conf/{GENERIC,NOINET6}
25c25
< ident GENERIC
---
> ident NOINET6
32c32
< options   INET6   #IPv6 communications protocols
---
> #options  INET6   #IPv6 communications protocols


any advice would be appreciated

thanks,
Katsuji

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


How to query date of when package was installed?

2005-01-23 Thread spam maps

Hi,

I know I can query the package list on before/after
date with pkg_glob.

But how do I query simply the package date of when it
was installed. For example something like:

 gimp-2.2.2,1 17-01-2005 16:05:20

Rob.



__ 
Do you Yahoo!? 
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ndis0: link down after idle time

2005-01-23 Thread Hendrik Spiegel
Hi,

I use the same D_Link card as you do, although I use it successfully
with the native ath driver.

On Sun, 2005-01-23 at 22:23 -0600, [EMAIL PROTECTED] wrote:
> I am running FreeBSD 5.3-stable and have had limited success with a
> d-link DWL-G520 card, rev B3 (atheros ar5213 chipset). I had hoped that
> I would have purchased a card with a supported native driver (ath),

You probably did ;)
> The card works well, albeit only in 802.11b 11mb/s adhoc mode,

I can reproduce this with the native driver. 11g is sometimes down to a
few kBit and 500-1000ms when I switch to 11b speed is ok and times are
25-40ms.


> that I can't figure out. After about an hour or so of idle time on the
> link, the interface brings itself down and cannot be resurrected unless
> I issue a command through ifconfig to bring the interface up again. Does
> anyone else experience this problem and/or have a solution? 

I will watch this - I do not remember exactly if there were such
problems. 

FreeBSD mars.local 5.3-RELEASE-p2 FreeBSD 5.3-RELEASE-p2 #0: Mon Jan 10
23:27:32 CET 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BTKERNEL
i386

[EMAIL PROTECTED]:9:0:  class=0x02 card=0x3a131186 chip=0x0013168c rev=0x01
hdr=0x00
vendor   = 'Atheros Communications Inc.'
device   = 'AR5213 802.11a/b/g Wireless Adapter'
class= network
subclass = ethernet

ath0: flags=8843 mtu 1500
inet 192.168.0.2 netmask 0xff00 broadcast 192.168.0.255
ether 00:0f:3d:ab:9a:b6
media: IEEE 802.11 Wireless Ethernet autoselect mode 11b
(DS/11Mbps)
status: associated
ssid LokalHorst 1:LokalHorst
channel 4 authmode OPEN powersavemode OFF powersavesleep 100
rtsthreshold 2312 protmode CTS
wepmode MIXED weptxkey 1
wepkey 1:104-bit



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


firefox in 5.3

2005-01-23 Thread Olivier Nicole
Hi,

I have installed firefox from the ports, I try to launch it from an
xterm, where the $DISPLAy is defined, but nothing happens.

The command silently exit after one second.

Any clue?

TIA

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


gcc linking: undefined reference to '__gnu_norm::...' ?

2005-01-23 Thread spam maps

Hello,

I'm using FreeBSD 5.3-Stable.

I'm compiling a package from sources myself (it's
the most recent LyX software).

The compilation goes almost fine, only at the final
linking it gives strange errors. A zillion lines, that
all share having a problem with "__gnu_norm::...".

The LyX mailing list seems to have only Linux users,
and my problem is unknown there. So I guessed it is a
specific FreeBSD issue. Does somebody have an idea
what's going wrong here:

-
$ gmake
 [many compilation lines]
g++ -g -O -fno-exceptions -o lyx-xforms main.o Bidi.o
  [...]
trans_mgr.o undo.o vc-backend.o version.o vspace.o
  [...]
-lICE -laspell -lm -L/usr/X11R6/lib -lX11 -lz
BranchList.o(.gnu.linkonce.t._ZN10__gnu_norm4listI6BranchSaIS1_EE9_M_insertENS_14_List_iteratorIS1_EERKS1_+0x19):
In function `__gnu_norm::list
>::_M_insert(__gnu_norm::_List_iterator,
Branch const&)':
/usr/include/c++/3.4/bits/locale_facets.tcc:2443:
undefined reference to
`__gnu_norm::_List_node_base::hook(__gnu_norm::_List_node_base*)'
BranchList.o(.gnu.linkonce.t._ZN10__gnu_norm4listI6BranchSaIS1_EE8_M_eraseENS_14_List_iteratorIS1_EE+0xd):
In function `__gnu_norm::list
>::_M_erase(__gnu_norm::_List_iterator)':

[...and a zillion more of such lines...]

Thanks,
Rob.

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


Re: samba printing

2005-01-23 Thread Murray Taylor
Hmm - I use 
...
   printing = lprng

and my standard lp setup that all unix programs use

on the windows box is can see \\unixhost\lp as an available printer
so I just added it using the wizard on winblows...
To avoid windows sending printer binary codes I chose a printer
type of Postscript.

It Just Works (tm)

I suspect that lpr would work also - I think the real trick
is to sidestep the windows print-ripping actions and let 

The Printer Print (tm)

BTW I ma using a HP 5MP on a parallel port of the FBSD boxen.
The 5MP has the postscript engine inboard.

mjt


On Mon, 2005-01-24 at 13:48, McCy Ron wrote:
> I have/had the same problem - couldn't print to the Samba shared printer 
> until I found in the
> "Handbook" a couple of line of code that were missing in my smb.conf
> 
> [printers]
>comment = Guttenburgs Pride
>printable = yes
>printing = BSD
>printcap name = /etc/printcap
>print command = /usr/bin/lpr -P%p -r %s
>path = /var/spool/samba
>min print space = 2000
>public = yes
> 
> I've got a printcap setting that uses a "pass-through" filter.
> Windows provides the drivers that talk to the printer correctly. BSD 
> need only pass the bytes through.
> 
> ###
> ### printcap setup for Samba printer share..
> 
> broxima|hplj4|Samba Laser:\
> :sh:\
> :lp=/dev/lpt0:sd=/var/spool/output/broxima:\
> :lf=/var/log/smbprt-errs:\
> :if=/usr/libexec/pass-prt:\
> 
> ### pass-prt ..Pass through filter
> #!/bin/sh
> /bin/cat && exit 0
> exit
> 
> Mikko Heiskanen wrote:
> 
> >Hi list,
> >
> >I'm having hard time getting printing working from samba winXP client to
> >a printer parallelport connected to my FreeBSD-4.10-release box.
> >I have a HP Laserjet 1200 -printer, and am using LPD and apsfilter with
> >postscript driver as suggested by linuxprinting.org.
> >
> >Everything works real well under BSD, but I am unable to get any output
> >to printer from the Windows box.
> >
> >I have gathered different bits and pieces from around the net and
> >manuals, and have come up with the following:
> >
> >/etc/printcap:
> >lp|PS;r=1200x1200;q=medium;c=full;p=a4;m=auto:\
> >:lp=/dev/lpt0:\
> >:if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
> >:sd=/var/spool/lpd/lp:\
> >:lf=/var/spool/lpd/lp/log:\
> >:af=/var/spool/lpd/lp/acct:\
> >:mx#0:\
> >:sh:
> >raw|hp|HP LaserJet 1200:\
> >:lp=/dev/lpt0:\
> >:sd=/var/spool/raw:\
> >:lf=/var/spool/raw/log:\
> >:af=/var/spool/raw/acct:\
> >:mx#0:\
> >:sf:\
> >:sh:
> >
> >$ ls -ld /var/spool/lpd/lp
> >drwxr-xr-x  2 root  daemon  512 Jan 23 19:59 /var/spool/lpd/lp
> >$ ls -ld /var/spool/raw/  
> >drwxr-xr-x  2 root  wheel  512 Jan 23 19:57 /var/spool/raw/
> >
> >/usr/local/etc/smb.conf:
> >[global]
> >hosts allow 10.0.0.
> >security = user
> >encrypt passwords = yes
> >socket options = TCP_NODELAY 
> >client code page=850
> >wins support = yes
> >printing = bsd
> >printcap name = /etc/printcap
> >[lp]
> >comment = Laserjet 1200
> >path = /var/spool/samba
> >printer name = raw
> >public = yes
> >writeable = no
> >printable = yes
> >
> >$ ls -ld /var/spool/samba/
> >drwxrwxrwt  2 root  wheel  512 Jan 23 20:03 /var/spool/samba/
> >
> >In the Windows box, I've added a local printer with the "Add new printer
> >wizard" pointing it to lpt1-port. After that, I have opened a command
> >prompt, and typed "net use lpt1: \\10.0.0.1\lp".
> >
> >I have filesharing also in samba, and that works without problems.
> >
> >My windows username and password are same as samba username and
> >password.
> >
> >However, as said, nothing gets printed. No files are in the
> >spooldirectories. I do not know how to proceed, and would love some
> >guidance. Thanks,
> >Mikko
> >
> >ps. would hate to have to put it into windows box, as printer supports
> >PS.
> >___
> >freebsd-questions@freebsd.org mailing list
> >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> >
> >  
> >
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
> ***This Email has been scanned for Viruses by MailMarshal.***
-- 
Murray Taylor
Special Projects Engineer
-
Bytecraft Systems & Entertainment
P: +61 3 8710 2555
F: +61 3 8710 2599
D: +61 3 9238 4275
M: +61 417 319 256
E: [EMAIL PROTECTED]
or visit us on the web
http://www.bytecraftsystems.com
http://www.bytecraftentertainment.com



---
The information transmitted in this e-mail is for the exclusive
use of the intended addressee and may c

Re: KDE issues after recent portupgrade

2005-01-23 Thread Ian Moore
On Mon, 24 Jan 2005 02:53, Trey Sizemore wrote:
> On Sun, 2005-01-23 at 20:52 +1030, Ian Moore wrote:
> > You could try removing the kde packages & install packages instead -
> > the
> > FreeBSD-KDE people seem to suggest that's the prefered method for KDE.
>
> 
>
> What is the 'best'/'easiest' way to uninstall kde ports and then do a
> fresh reinstall?

Looking at what's been happening in this thread since I last checked my mail, 
I gather you are now faced with doing this. I'm no expert, but I'd say cd to 
each of the ports directories and do a make deinstall. Do all the kde ports, 
leaving the kde3 metaport till last. Then make deinstall quanta, arts & qt.
Now set your PACKAGESITE env. variable as per the instructions on fruitsalad.
Then pkg_add qt, arts, kdelibs, kdebase, kdenetwork, then the other kde ports,  
quanta & finally the kde metaport.

Hope that helps.

Cheers,
-- 
Ian Moore

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgppFbzLaYG1X.pgp
Description: PGP signature


Re: port 445 ?

2005-01-23 Thread Murray Taylor
On Mon, 2005-01-24 at 10:14, Paul Schmehl wrote:
> --On Sunday, January 23, 2005 7:01 AM -0800 faisal gillani 
> <[EMAIL PROTECTED]> wrote:
> 
> > i use samba on my freebsd server to share files , i
> > dont use any active directory connectivity still the
> > port "445/tcpopenmicrosoft-ds" is open , i
> > read is some where that this port should be close as
> > it is dangerous to the server , is this true ?
> >
> Port 445 is the CIFS port, which is used by the newer MS systems 
> (2000,XP,2003) for networking.  Like any networking port, it should not be 
> exposed to the Internet.  The port itself doesn't represent a risk, but 
> there's no reason to make it available to the internet anyway.
> 
Judging by the > 300 probes / 12 hours to this port that I log
in my /var/log/firewall files, I would _definately_ close the hole.

port 81 is a Windows network port also that should be closed.

 
-- 
Murray Taylor
Special Projects Engineer
-
Bytecraft Systems & Entertainment
P: +61 3 8710 2555
F: +61 3 8710 2599
D: +61 3 9238 4275
M: +61 417 319 256
E: [EMAIL PROTECTED]
or visit us on the web
http://www.bytecraftsystems.com
http://www.bytecraftentertainment.com



---
The information transmitted in this e-mail is for the exclusive
use of the intended addressee and may contain confidential
and/or privileged material. Any review, re-transmission,
dissemination or other use of it, or the taking of any action
in reliance upon this information by persons and/or entities
other than the intended recipient is prohibited. If you
received this in error, please inform the sender and/or
addressee immediately and delete the material. 

E-mails may not be secure, may contain computer viruses and
may be corrupted in transmission. Please carefully check this
e-mail (and any attachment) accordingly. No warranties are
given and no liability is accepted for any loss or damage
caused by such matters.
---

***This Email has been scanned for Viruses by MailMarshal.***
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: change bootloader

2005-01-23 Thread Oliver Fuchs
On Mon, 24 Jan 2005, dick hoogendijk wrote:

> I installed the bootmng and now I have the "F1 FreeBSD" prompt at
> boottime. This is not what I want though.
> I want my disk to just boot into FreeBSD. I can't find the right option
> in boot0cfg to change this behaviour of my harddisk.
> Can I still change the F1 prompt into nothing? If so, how can this be
> done?

Take a look at the FAQs:

[...]
3.9. Windows killed my boot manager! How do I get it back?
[...]
Boot the FreeBSD boot floppy again and go to the Custom installation menu item. 
Choose Partition. Select the drive which used to contain your boot manager 
(likely the first one) and when you come to the partition editor for it, as the 
very first thing (e.g. do not make any changes) select (W)rite. This will ask 
for confirmation, say yes, and when you get the Boot Manager selection prompt, 
be sure to select ``Boot Manager''. This will re-write the boot manager to 
disk. Now quit out of the installation menu and reboot off the hard disk as 
normal.
[...]

Oliver
-- 
... don't touch the bang bang fruit
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


change bootloader

2005-01-23 Thread dick hoogendijk
I installed the bootmng and now I have the "F1 FreeBSD" prompt at
boottime. This is not what I want though.
I want my disk to just boot into FreeBSD. I can't find the right option
in boot0cfg to change this behaviour of my harddisk.
Can I still change the F1 prompt into nothing? If so, how can this be
done?

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.10 ++ Debian GNU/Linux (Woody)
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilya
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 5.3 I/O Performance / Linux 2.6.10

2005-01-23 Thread Oliver Fuchs
On Sun, 23 Jan 2005, Chris wrote:

> Oliver Fuchs wrote:
> >On Sat, 22 Jan 2005, Nick Pavlica wrote:
> >
> >
> >>All,
> >> This post is not about BSD VS. Linux and should not be taken that
> >>way.  I think that "Flame Wars/Engineer Wars" are  waste of time and
> >>energy.  I was surprised by my test results and didn't want to take
> >>FBSD out of the loop just yet.  There may be flaws in my testing that
> >>have led me to inaccurate results.  I didn't share the testing details
> >>in the original mail because of time constraints, and the notes are
> >>fairly lengthy.  I will add my notes to this mail so that there is a
> >>better understanding of what tests I performed, and their results. 
> >>It's important to note that I did not tweak any of the default
> >>settings of the OS or DB.  The notes should be generally self
> >>explanatory, but will be more that happy to clarify any questions that
> >>you have.  As a side note, I chose the email address linicks because
> >>by name is Nick, and thought it was a fun play on words.  I appreciate
> >>all of your feedback, so that I can better understand the differences
> >>in these great operating systems and communities.
> >>
> >>Thanks Again!
> >>--Nick Pavlica
> >>
> >>"OK, The testing notes already" :)
> >
> >
> >Hi,
> >please put your test results on a web page so that everyone who is
> >interested can look them up and everyone who is not interested does not 
> >have
> >to pay for receiving such a long mail.
> >
> >You are using different versions of postgresql?
> >Did you set up the three systems with the same partitioning or did you set
> >up all three on one harddrive?
> >What is the meaning of this email: regarding your test FreeBSD is not as
> >fast as the other OSes - so what do you want to know? I do not get it.
> >
> >Oliver
> 
> In addition, was on OS running a window manager and the other not? Was 
> one running ssh and the other not, was FBSD running Linux emu? ... Was 
> one running (insert program) and the other not...

In addition to this:
- how often did you run your test
- what processes/daemons else where running
- what is the contents of /etc/fstab
- what is the contents of /etc/login.conf
- what shell was used
- what user was used
- ... .

> 
> When you run each side by side, process for process, thread for thread, 
> version for version - nothing extra on one over the other, then post 
> your results.
> 
> Funny thing about polls/tests/ etc. the results can be portrayed to 
> reflect one biased point of view over another.
> 
> I apologize for my cynicism - but I don't put a heck of a lot of faith 
> in any type of poll (in your case, a test) that can be tainted by the 
> slightest bit of prejudice.

Besides this - the speed is only one aspect when it comes to choose a OS.

Oliver
-- 
... don't touch the bang bang fruit
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Network Printing (continued)

2005-01-23 Thread gabriel
Okay, is it my luck or what? - Oliver and I were able to figure out
why the test page option of the cups web interface wasn't working
(/var../tmp did not exist) so I was able to get the test page to
print. Well, in all the excitement I failed to test printing a file
through the cli, when I tried later on when I needed to it failed
(Imagine my surprise!).

Here's what I tried:
insomniac# echo "wee" | lpr -P HPPRINTER 
lpr: Unable to connect to /var/run/printer: No such file or directory
lpr: Check to see if the master 'lpd' process is running.
jobs queued, but cannot start daemon.
insomniac#

This is using cupsd and my jetdirect printer. Here's the /etc/printcap
generated by cups:
insomniac# cat /etc/printcap 
# This file was automatically generated by cupsd(8) from the
# /usr/local/etc/cups/printers.conf file.  All changes to this file
# will be lost.
HPPRINTER|HPPRINTER:rm=insomniac.normal1.net:rp=HPPRINTER:
insomniac#

*sigh* - Knowing my luck, I should have tested it earlier. If anyone
can think of a solution please let me know. I've looked at cup's logs
and nuffing.

Cheers!

-- 
gabriel,

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


Re: Cheap, reliable mass storage

2005-01-23 Thread Sergei Gnezdov
On 2005-01-23, markzero <[EMAIL PROTECTED]> wrote:
>
> To clarify, I'm looking for long-term reliability, low cost and large
> space rather than high performance. I have a budget of around $600-900
> to spend but I would not have to buy a PC as I have plenty of old
> machines (average spec: Intel P3 700mhz) laying around that would=20
> probably be up to the job.

You can buy lots of storage for $900...  How much storage do you need?

One way to do it.  Take one machine, get 2 large drives for the data, one
smaller drive for the OS and a CD-ROM drive.  Send all the data to the
first data drive and configure OS to sync second drive every 24 hours.

If you have a pranoia about safety of the data on one machine, buy
external drive enclosure.  Attach external drive only when it is time
to run a backup.

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


Re: bug report submission

2005-01-23 Thread Sergei Gnezdov
On 2005-01-23, Erik Norgaard <[EMAIL PROTECTED]> wrote:
> I think the recomended vay is to use send-pr(1)

I tried to use send-pr once to submit my port.  Id did not specify any
arguments and it did not work.  Do I have to specify site name?

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


Re: FreeBSD 5.3 I/O Performance / Linux 2.6.10

2005-01-23 Thread Chris
Oliver Fuchs wrote:
On Sat, 22 Jan 2005, Nick Pavlica wrote:

All,
 This post is not about BSD VS. Linux and should not be taken that
way.  I think that "Flame Wars/Engineer Wars" are  waste of time and
energy.  I was surprised by my test results and didn't want to take
FBSD out of the loop just yet.  There may be flaws in my testing that
have led me to inaccurate results.  I didn't share the testing details
in the original mail because of time constraints, and the notes are
fairly lengthy.  I will add my notes to this mail so that there is a
better understanding of what tests I performed, and their results. 
It's important to note that I did not tweak any of the default
settings of the OS or DB.  The notes should be generally self
explanatory, but will be more that happy to clarify any questions that
you have.  As a side note, I chose the email address linicks because
by name is Nick, and thought it was a fun play on words.  I appreciate
all of your feedback, so that I can better understand the differences
in these great operating systems and communities.

Thanks Again!
--Nick Pavlica
"OK, The testing notes already" :)

Hi,
please put your test results on a web page so that everyone who is
interested can look them up and everyone who is not interested does not have
to pay for receiving such a long mail.
You are using different versions of postgresql?
Did you set up the three systems with the same partitioning or did you set
up all three on one harddrive?
What is the meaning of this email: regarding your test FreeBSD is not as
fast as the other OSes - so what do you want to know? I do not get it.
Oliver
In addition, was on OS running a window manager and the other not? Was 
one running ssh and the other not, was FBSD running Linux emu? ... Was 
one running (insert program) and the other not...

When you run each side by side, process for process, thread for thread, 
version for version - nothing extra on one over the other, then post 
your results.

Funny thing about polls/tests/ etc. the results can be portrayed to 
reflect one biased point of view over another.

I apologize for my cynicism - but I don't put a heck of a lot of faith 
in any type of poll (in your case, a test) that can be tainted by the 
slightest bit of prejudice.

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


ndis0: link down after idle time

2005-01-23 Thread lreid

I am running FreeBSD 5.3-stable and have had limited success with a
d-link DWL-G520 card, rev B3 (atheros ar5213 chipset). I had hoped that
I would have purchased a card with a supported native driver (ath), but
alas! The card was supposed to have used the 5212 chipset, which is
supported by the ath driver. The ndis driver will only bring the link up
if the media is forced to adhoc mode, which seems to be common from my
limited viewing of reports in the mailing lists. The card works well,
albeit only in 802.11b 11mb/s adhoc mode, but there is a major problem
that I can't figure out. After about an hour or so of idle time on the
link, the interface brings itself down and cannot be resurrected unless
I issue a command through ifconfig to bring the interface up again. Does
anyone else experience this problem and/or have a solution? Attached
below is all pertinent information I can think of:

uname -a output:
FreeBSD [hidden] 5.3-STABLE FreeBSD 5.3-STABLE #7: Tue Jan 18 21:47:38
CST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/HAUTLOS  i386

pciconf -lv output for the device:
[EMAIL PROTECTED]:10:0:class=0x02 card=0x3a131186 chip=0x0013168c
rev=0x01 hdr=0x00
vendor   = 'Atheros Communications Inc.'
device   = 'AR5213 802.11a/b/g Wireless Adapter'
class= network
subclass = ethernet

ifconfig ndis0:
ndis0: flags=8843 mtu 1500
inet 192.168.2.1 netmask 0xff00 broadcast 192.168.2.255
inet6 fe80::211:95ff:fe8d:1379%ndis0 prefixlen 64 scopeid 0x1
ether 00:11:95:8d:13:79
media: IEEE 802.11 Wireless Ethernet autoselect (DS/11Mbps
)
status: associated
ssid deutschland 1:deutschland
channel 6 authmode OPEN powersavemode OFF powersavesleep 100
rtsthreshold 2312 protmode CTS
wepmode OFF weptxkey 1

available sysctls for dev.ndis.0:
dev.ndis.0.%desc: D-Link AirPlus DWL-G520 Wireless PCI Adapter(rev.B)
dev.ndis.0.%driver: ndis
dev.ndis.0.%location: slot=10 function=0
dev.ndis.0.%pnpinfo: vendor=0x168c device=0x0013 subvendor=0x1186
subdevice=0x3a13 class=0x02
dev.ndis.0.%parent: pci0
dev.ndis.0.InitFile: A3AB.ini
dev.ndis.0.aifs: 2
dev.ndis.0.cwmin: 15
dev.ndis.0.MapRegisters: 256
dev.ndis.0.NetworkAddress:
dev.ndis.0.sleepMode: 0
dev.ndis.0.tpc: 0
dev.ndis.0.shortPreamble: 1
dev.ndis.0.radioEnable: 1
dev.ndis.0.BusType: 5
dev.ndis.0.AdHocChannel: 2437
dev.ndis.0.AwakeTimePerf: 200
dev.ndis.0.beaconInterval: 100
dev.ndis.0.bkScanEnable: 1
dev.ndis.0.bssType: 1
dev.ndis.0.ccode: US
dev.ndis.0.clist:
dev.ndis.0.defaultKey: 0
dev.ndis.0.EncryptionAlg: 2
dev.ndis.0.FragThreshold: 2346
dev.ndis.0.HwTxRetries: 4
dev.ndis.0.privacyInvoked: 0
dev.ndis.0.QoS: 0
dev.ndis.0.rateCtrlEnable: 1
dev.ndis.0.RTSThreshold: 2346
dev.ndis.0.scanType: 2
dev.ndis.0.SwTxRetryScale: 6
dev.ndis.0.SSID: default
dev.ndis.0.NetBand: 28
dev.ndis.0.AdHocBand: 0
dev.ndis.0.NicType: 0
dev.ndis.0.p24GAG: 2
dev.ndis.0.p5GAG: 4
dev.ndis.0.abolt: 255
dev.ndis.0.Environment: 1
dev.ndis.0.NdisVersion: 0x00050001
dev.ndis.0.InterruptNumber: 5
dev.ndis.0.DriverDesc: UNSET
dev.ndis.0.BusConfig: UNSET
dev.ndis.0.TriggerAdj: UNSET
dev.ndis.0.CalibrationTime: UNSET
dev.ndis.0.gpioPinFunc0: UNSET
dev.ndis.0.gpioPinFunc1: UNSET
dev.ndis.0.TransmitRate11a: UNSET
dev.ndis.0.TransmitRate11b: UNSET
dev.ndis.0.TransmitRate11g: UNSET
dev.ndis.0.TransmitRate108g: UNSET
dev.ndis.0.TransmitRateTurbo: UNSET
dev.ndis.0.TransmitRate11Xr: UNSET
dev.ndis.0.antennaSwitch: UNSET
dev.ndis.0.writeBlockSize: UNSET
dev.ndis.0.MinimumRate11a: UNSET
dev.ndis.0.MinimumRate11b: UNSET
dev.ndis.0.MinimumRate11g: UNSET
dev.ndis.0.MinimumRate108g: UNSET
dev.ndis.0.MinimumRateTurbo: UNSET
dev.ndis.0.MinimumRate11Xr: UNSET
dev.ndis.0.iqOverride: UNSET
dev.ndis.0.iqLogCountMax: UNSET
dev.ndis.0.iCoff: UNSET
dev.ndis.0.qCoff: UNSET
dev.ndis.0.modeCTS: UNSET
dev.ndis.0.rateCTS: UNSET
dev.ndis.0.shortSlotTime: UNSET
dev.ndis.0.gdraft5: UNSET
dev.ndis.0.protectionType: UNSET
dev.ndis.0.Ssid2: UNSET
dev.ndis.0.Ssid3: UNSET
dev.ndis.0.XrFragThreshold: UNSET
dev.ndis.0.atimWindow: UNSET
dev.ndis.0.cfpDuration: UNSET
dev.ndis.0.RD: UNSET
dev.ndis.0.ignore11dBeacon: UNSET
dev.ndis.0.quietDuration: UNSET
dev.ndis.0.quietOffset: UNSET
dev.ndis.0.quietAckCtsAllow: UNSET
dev.ndis.0.extendedChanMode: UNSET
dev.ndis.0.overRideTxPower: UNSET
dev.ndis.0.enableFCC3: UNSET
dev.ndis.0.capLinkSp: UNSET
dev.ndis.0.keyLength0: UNSET
dev.ndis.0.key0: UNSET
dev.ndis.0.keyLength1: UNSET
dev.ndis.0.key1: UNSET
dev.ndis.0.keyLength2: UNSET
dev.ndis.0.key2: UNSET
dev.ndis.0.keyLength3: UNSET
dev.ndis.0.key3: UNSET
dev.ndis.0.uniqKeyLength: UNSET
dev.ndis.0.uniqKey: UNSET
dev.ndis.0.leapEnabled: UNSET
dev.ndis.0.leapUserName: UNSET
dev.ndis.0.leapUserPasswdLen: UNSET
dev.ndis.0.leapUserPasswd: UNSET
dev.ndis.0.leapTimeout: UNSET
dev.ndis.0.CardCfgId: UNSET
dev.ndis.0.authType: UNSET
dev.ndis.0.authTypeUseOnly: UNSET
dev.ndis.0.wpaEnabled: UNSET
dev.ndis.0.mixedPrivacyAllow: UNSET
dev.ndis.0.roamRssiA: UNSET
dev.ndis

Re: FreeBSD 5.3 I/O Performance / Linux 2.6.10

2005-01-23 Thread Oliver Fuchs
On Sat, 22 Jan 2005, Nick Pavlica wrote:

> All,
>   This post is not about BSD VS. Linux and should not be taken that
> way.  I think that "Flame Wars/Engineer Wars" are  waste of time and
> energy.  I was surprised by my test results and didn't want to take
> FBSD out of the loop just yet.  There may be flaws in my testing that
> have led me to inaccurate results.  I didn't share the testing details
> in the original mail because of time constraints, and the notes are
> fairly lengthy.  I will add my notes to this mail so that there is a
> better understanding of what tests I performed, and their results. 
> It's important to note that I did not tweak any of the default
> settings of the OS or DB.  The notes should be generally self
> explanatory, but will be more that happy to clarify any questions that
> you have.  As a side note, I chose the email address linicks because
> by name is Nick, and thought it was a fun play on words.  I appreciate
> all of your feedback, so that I can better understand the differences
> in these great operating systems and communities.
> 
> Thanks Again!
> --Nick Pavlica
> 
> "OK, The testing notes already" :)

Hi,
please put your test results on a web page so that everyone who is
interested can look them up and everyone who is not interested does not have
to pay for receiving such a long mail.

You are using different versions of postgresql?
Did you set up the three systems with the same partitioning or did you set
up all three on one harddrive?
What is the meaning of this email: regarding your test FreeBSD is not as
fast as the other OSes - so what do you want to know? I do not get it.

Oliver
-- 
... don't touch the bang bang fruit
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Connection via proxy

2005-01-23 Thread Mervin McDougall

--- Charlie Schluting <[EMAIL PROTECTED]> wrote:

> Mervin McDougall wrote:
> > 
> > Ummm what do you suggest that I do to get it
> connected
> > to the proxy server?
> 
> Well obviously you'll need an IP address first.
> Remember the ifconfig you pasted? The netstat -rn?
> You have no IP address 
> assigned to an interface.
> 
> Try reading
>
http://www.onlamp.com/pub/a/bsd/2004/05/13/FreeBSD_Basics.html
> and then the handbook.
> 
> -Charlie
> ___
> freebsd-questions@freebsd.org mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> 
after some investigation on my part and reading
through that article you emailed me, I discovered I
was connecting through a DHCP .. so I simply used
sysinstall and reconfigured my ethernet card. Thanks
for all the help guys, I really appreciate it. Now for
some fun :)



__ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: upgrade software with no package db

2005-01-23 Thread Sean Ellis
On Mon, Jan 24, 2005 at 05:50:51AM +0300, bitHawk wrote:

Hey,

> 
> 1. run the cvsup to update your port collection. 
> (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html)
> The updated port should already contain patching information and will take 

no problems here

> care of the rest. So do not worry about dependencies.

is that right? I hadn't looked into it yet, but I'd imagined that the
system would use the db of installed stuff to verify whether some of
the dependency stuff was present or not. Right now pkg_info gives me
this,

[EMAIL PROTECTED]:/home/sellis/backups> pkg_info
ffsrecov-0.5Recover files from a corrupt FFS

( on the one hand, a reminder of the screw-up that obliterated the db,
 on the other, as you can see, we're paying more attention to backups ; )

thanks,

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


Re: upgrade software with no package db

2005-01-23 Thread Sean Ellis
On Sun, Jan 23, 2005 at 04:52:29PM -0800, Michael C. Shultz wrote:
> On Sunday 23 January 2005 04:36 pm, Sean Ellis wrote:

> > I'm looking moving to a newer Mysql version on a machine where the
> > database of installed packages has been trashed.
> >
 
> If you can pkg_add -rf to force installation and get  it recorded
> in /var/db/pkg/mysql... then running portmanager -u will get the 
> dependencies straightened out, correctly registered and it will likely
> rebuild mysql from ports too.
> 
> portmanager is under /usr/ports/sysutils/portmanager 

portmanager

Thanks for that tip, I'll look into that.

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


Re: upgrade software with no package db

2005-01-23 Thread bitHawk
Hi Sean,

1. run the cvsup to update your port collection. 
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html)
The updated port should already contain patching information and will take 
care of the rest. So do not worry about dependencies.
If you prefer to do it manually:
1. run "make exctract".
2. run "make"
3. run "make install"

I hope this helps,
Regards,

bitHawk

- Original Message - 
From: "Sean Ellis" <[EMAIL PROTECTED]>
To: 
Sent: Monday, January 24, 2005 3:36 AM
Subject: upgrade software with no package db


> Hello,
>
> I'm looking moving to a newer Mysql version on a machine where the
> database of installed packages has been trashed.
>
> I'm expecting that after examining /usr/ports/UPGRADING, whatever
> READMEs accompany the source, and manually checking for dependencies,
> that I can extract and patch the port, and install it.
>
> If anyone has any tips for some way of using the ports framework to make
> this any easier please pass them on,
>
> thanks,
>
> --
> Sean
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "[EMAIL PROTECTED]" 

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


Re: sk0: not freezing up, looking good!! but....

2005-01-23 Thread Joshua Tinnin
On Sunday 23 January 2005 03:13 pm, "T.F. Cheng" <[EMAIL PROTECTED]> 
wrote:
> Hi,
>I also have trouble with sk0 driver on my 5.3/i386,
> after a recent search and a cvsup to 5.3-STABLE source
> (01/23/05), config and make depend all install my
> kernel, I was able to boot up the machine with the
> onboard NIC device turned on and without freezing the
> whole thing up, this is good really good
>however, it still can't do DHCP

Do you have

device  bpf

in your kernel config? dhclient(8) needs it.

>what I did was I 
> plugined the cable, killed the oroginal dhclient
> process, and reissued one by "/sbin/dhclient sk0", it
> took about a few minute before it gave up the prompt,
>
> and there was no ip address, here is what I am now:
> >ifconfig
>
> sk0:
> flags=8843 mtu
> 1500
> inet6 fe80::211:2fff:fee0:3d61%sk0 prefixlen
> 64 scopeid 0x2
> inet 0.0.0.0 netmask 0xff00 broadcast
> 255.255.255.255
> ether 00:11:2f:e0:3d:61
> media: Ethernet autoselect (none)
> status: no carrier
>
> >dmesg
>
> skc0:  port 0xa800-0xa8ff
> mem 0xfab0-0xfab03fff irq 10 at device 10.0 on
> pci0
> skc0: Yukon Gigabit Ethernet 10/100/1000Base-T Adapter
> sk0:  on skc0
> sk0: Ethernet address: 00:11:2f:e0:3d:61
> miibus0:  on sk0
> e1000phy0:  on miibus0
> e1000phy0:  10baseT, 10baseT-FDX, 100baseTX,
> 100baseTX-FDX, 1000baseTX-FDX, auto
> xl0: <3Com 3c905-TX Fast Etherlink XL> port
> 0xb000-0xb03f irq 10 at device 12.0 on pci0
> miibus1:  on xl0
> nsphy0:  on miibus1
> nsphy0:  10baseT, 10baseT-FDX, 100baseTX,
> 100baseTX-FDX, auto
> xl0: Ethernet address: 00:60:97:d5:2a:85
>
> (xl0 is the NIC i am using as substitute now)
>
>   look like the sk0 is recognizing the device well,
> and thing runs smoothly, really appreciate what people
> have done for sk0, so sorry I don't know how to code.
> And I was trying to identify which version of if_sk.c
> I have now, in the file, it marked:
> ("$FreeBSD: src/sys/pci/if_sk.c,v 1.83.2.6 2005/01/21
> 00:50:51 mlaier Exp $") so I hoped this is the most
> updated. And after cvsuping the source, I only did my
> kernel, not the "world", is this enough? thank you for
> your help.

Actually, if you upgraded your source from 5.3-RELEASE to STABLE, you 
definitely should rebuild world then the kernel, install kernel, world, 
etc. IOW, go though the full procedure outlined in the handbook. 
Although it's possible to rebuild just the kernel or parts of the world 
in some circumstances, you should rebuild the whole thing if you're 
updating more than some isolated parts. The source you have now likely 
requires the world and kernel be built, although I cannot say for sure 
(am not tracking STABLE), but this is by far the safest way.

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


Re: samba printing

2005-01-23 Thread McCy Ron
I have/had the same problem - couldn't print to the Samba shared printer 
until I found in the
"Handbook" a couple of line of code that were missing in my smb.conf

[printers]
  comment = Guttenburgs Pride
  printable = yes
  printing = BSD
  printcap name = /etc/printcap
  print command = /usr/bin/lpr -P%p -r %s
  path = /var/spool/samba
  min print space = 2000
  public = yes
I've got a printcap setting that uses a "pass-through" filter.
Windows provides the drivers that talk to the printer correctly. BSD 
need only pass the bytes through.

###
### printcap setup for Samba printer share..
broxima|hplj4|Samba Laser:\
   :sh:\
   :lp=/dev/lpt0:sd=/var/spool/output/broxima:\
   :lf=/var/log/smbprt-errs:\
   :if=/usr/libexec/pass-prt:\
### pass-prt ..Pass through filter
#!/bin/sh
/bin/cat && exit 0
exit
Mikko Heiskanen wrote:
Hi list,
I'm having hard time getting printing working from samba winXP client to
a printer parallelport connected to my FreeBSD-4.10-release box.
I have a HP Laserjet 1200 -printer, and am using LPD and apsfilter with
postscript driver as suggested by linuxprinting.org.
Everything works real well under BSD, but I am unable to get any output
to printer from the Windows box.
I have gathered different bits and pieces from around the net and
manuals, and have come up with the following:
/etc/printcap:
lp|PS;r=1200x1200;q=medium;c=full;p=a4;m=auto:\
   :lp=/dev/lpt0:\
   :if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
   :sd=/var/spool/lpd/lp:\
   :lf=/var/spool/lpd/lp/log:\
   :af=/var/spool/lpd/lp/acct:\
   :mx#0:\
   :sh:
raw|hp|HP LaserJet 1200:\
   :lp=/dev/lpt0:\
   :sd=/var/spool/raw:\
   :lf=/var/spool/raw/log:\
   :af=/var/spool/raw/acct:\
   :mx#0:\
   :sf:\
   :sh:
$ ls -ld /var/spool/lpd/lp
drwxr-xr-x  2 root  daemon  512 Jan 23 19:59 /var/spool/lpd/lp
$ ls -ld /var/spool/raw/  
drwxr-xr-x  2 root  wheel  512 Jan 23 19:57 /var/spool/raw/

/usr/local/etc/smb.conf:
[global]
   hosts allow 10.0.0.
   security = user
   encrypt passwords = yes
   socket options = TCP_NODELAY 
   client code page=850
   wins support = yes
   printing = bsd
   printcap name = /etc/printcap
[lp]
   comment = Laserjet 1200
   path = /var/spool/samba
   printer name = raw
   public = yes
   writeable = no
   printable = yes

$ ls -ld /var/spool/samba/
drwxrwxrwt  2 root  wheel  512 Jan 23 20:03 /var/spool/samba/
In the Windows box, I've added a local printer with the "Add new printer
wizard" pointing it to lpt1-port. After that, I have opened a command
prompt, and typed "net use lpt1: \\10.0.0.1\lp".
I have filesharing also in samba, and that works without problems.
My windows username and password are same as samba username and
password.
However, as said, nothing gets printed. No files are in the
spooldirectories. I do not know how to proceed, and would love some
guidance. Thanks,
Mikko
ps. would hate to have to put it into windows box, as printer supports
PS.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
 

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


Re: make: don't know how to make when trying to make world for a jail

2005-01-23 Thread Kris Maglione
Daniel Johansson wrote:
Hi, I'm running FreeBSD 5.3-RELEASE-p5, updated it today without any problems
at all but I'm getting errors when I run make world, after everything was 
cleaned,
didn't knew I was going to build a jail so I cleaned. I completly removed obj
and ran make clean and cleandir twice so no old files are left.
I can run just make world I builds without any problems but when I run it with
the path to my jail it fails. Any ideas why and how I can fix that?
Here is the output:
 

What was the command that you ran and what's in your make.conf?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD ACPI shutdown -p fails on my Motherboard

2005-01-23 Thread Mark Jayson Alvarez
Good day,

 I have an old Jetway Motherboard(830 CH) together
with AMD Athlon 1.2 Ghz. It's currently running
FreeBSD 5.3. The ACPI is already enabled in BIOS but
whenever I shutdown -p now, the computer doesn't
totally goes off at all, it just reboots itself. I'm
thinking that the APCI interface of FreeBSD with my
particular motherboard is not working very well(it
works well in my office workstation). Do you know any
kernel tweek that can help me get around with this
situation. Because I'm having a hard time turning my
computer back on whenever I presses the power button
during a reboot by Freebsd and I would have to turn
the power on and off for quite some times just to be
able to boot it to normal again. 



__ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 

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


RE: samba printing

2005-01-23 Thread Andras Kende


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mikko Heiskanen
Sent: Sunday, January 23, 2005 4:44 PM
To: [EMAIL PROTECTED]
Subject: RE: samba printing

On Sun, 2005-01-23 at 23:06, Andras Kende wrote:
> Hello,
> 
> 
> Looks like the spool directories are different in /etc/printcap and
> in smb.conf:
> 
> sd=/var/spool/raw:
> 
> path = /var/spool/samba
> 
> Try to set to the same path, also make sure windows user has
> Enough privileges to write to spool directory...
> 
> Best regards,
> 
> Andras Kende

Hi,
Appreciate the answer, but to my understanding, the two spool
directories need to be separate. From the samba documentation:

"Successful printing from a Windows client via a Samba print server to a
UNIX printer involves six (potentially seven) stages:
3.Windows sends a copy of the print file over the network into Samba's
spooling area.
5. Samba invokes the print command to hand the file over to the UNIX
print subsystem's spooling area."

I am naturally with admin priviledges on windows side.
I am though almost certain it is some little configuration err.
As always.

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



Hello,


Sorry for the definitely wrong answer... my mistake !!

Here is also a nice samba print howto maybe you can find something:
http://www.linuxprinting.org/kpfeifle/SambaPrintHOWTO/Samba-HOWTO-Collection
-3.0-PrintingChapter-11th-draft.html

Best regards,
Andras Kende
http://www.kende.com







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


Re: upgrade software with no package db

2005-01-23 Thread Michael C. Shultz
On Sunday 23 January 2005 04:36 pm, Sean Ellis wrote:
> Hello,
>
> I'm looking moving to a newer Mysql version on a machine where the
> database of installed packages has been trashed.
>
> I'm expecting that after examining /usr/ports/UPGRADING, whatever
> READMEs accompany the source, and manually checking for dependencies,
> that I can extract and patch the port, and install it.
>
> If anyone has any tips for some way of using the ports framework to
> make this any easier please pass them on,
>
> thanks,
>
> --
> Sean

If you can pkg_add -rf to force installation and get  it recorded
in /var/db/pkg/mysql... then running portmanager -u will get the 
dependencies straightened out, correctly registered and it will likely
rebuild mysql from ports too.

portmanager is under /usr/ports/sysutils/portmanager 

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


upgrade software with no package db

2005-01-23 Thread Sean Ellis
Hello,

I'm looking moving to a newer Mysql version on a machine where the
database of installed packages has been trashed.

I'm expecting that after examining /usr/ports/UPGRADING, whatever
READMEs accompany the source, and manually checking for dependencies,
that I can extract and patch the port, and install it.

If anyone has any tips for some way of using the ports framework to make
this any easier please pass them on,

thanks,

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


make: don't know how to make when trying to make world for a jail

2005-01-23 Thread Daniel Johansson
Hi, I'm running FreeBSD 5.3-RELEASE-p5, updated it today without any problems
at all but I'm getting errors when I run make world, after everything was 
cleaned,
didn't knew I was going to build a jail so I cleaned. I completly removed obj
and ran make clean and cleandir twice so no old files are left.

I can run just make world I builds without any problems but when I run it with
the path to my jail it fails. Any ideas why and how I can fix that?

Here is the output:
--
>>> stage 1.2: bootstrap tools
--
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/usr/src/i386  DESTDIR=  INSTALL="sh
/usr/src/tools/install.sh"
PATH=/usr/obj/usr/src/i386/legacy/usr/sbin:/usr/obj/usr/src/i386/legacy/usr/bin:/usr/obj/usr/src/i386/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
WORLDTMP=/usr/obj/usr/src/i386  MAKEFLAGS="-m /usr/src/tools/build/mk
DESTDIR=/usr/jail/jail.henrikssons.net -m /usr/src/share/mk" make -f
Makefile.inc1  BOOTSTRAPPING=503001  -DNOHTML -DNOINFO -DNOLINT -DNOMAN
-DNOPIC -DNOPROFILE  -DNOSHARED -DNO_CPU_CFLAGS -DNO_WARNS bootstrap-tools
===> games/fortune/strfile
/usr/obj/usr/src/i386/usr/src/games/fortune/strfile created for
/usr/src/games/fortune/strfile
rm -f .depend
mkdep -f .depend -a-I/usr/obj/usr/src/i386/legacy/usr/include
/usr/src/games/fortune/strfile/strfile.c
echo strfile: /usr/jail/jail.henrikssons.net/usr/lib/libc.a
/usr/obj/usr/src/i386/legacy/usr/lib/libegacy.a >> .depend
cc -O -pipe  -I/usr/obj/usr/src/i386/legacy/usr/include -c
/usr/src/games/fortune/strfile/strfile.c
make: don't know how to make /usr/jail/jail.henrikssons.net/usr/lib/libc.a.
Stop
*** Error code 2

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

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

Stop in /usr/src.

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


Re: Help on a little script

2005-01-23 Thread Marty Landman
At 06:18 PM 1/23/2005, Paul Schmehl wrote:
--On Sunday, January 23, 2005 10:30 AM -0600 antenneX 
<[EMAIL PROTECTED]> wrote:

It works well except for this:
It changes my mail list from this format:
name1
name2
name3
...to this:
name1name2name3 <---one big long line with no separators.
It would probably be a lot easier to fix the cgi script so it creates the 
list with separators.
If it's Perl look for a line something like
s (or tr or y) /\n//g
and remove it.
Marty
Marty Landman, Face 2 Interface Inc. 845-679-9387
Search & Sort Easily: http://face2interface.com/Products/FormATable.shtml
Web Installed Formmail: http://face2interface.com/formINSTal
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Automake Problem

2005-01-23 Thread Michael C. Shultz
On Sunday 23 January 2005 03:06 pm, Cody Holland wrote:
> I'm a newbie to FreeBSD, so please be patient with me.  I'm running
> 5.3 adn am trying to install php4-extensions through the ports
> collection and getting:
>
> ===>  Installing for php4-extensions-1.0
> ===>   php4-extensions-1.0 depends on file:
> /usr/local/include/php/main/php.h - found
> ===>   php4-extensions-1.0 depends on file:
> /usr/local/lib/php/20020429/ctype.so - not found
> ===>Verifying install for /usr/local/lib/php/20020429/ctype.so in
> /usr/ports/textproc/php4-ctype
> ===>  Vulnerability check disabled, database not found
> ===>  Extracting for php4-ctype-4.3.10_1
> => Checksum OK for php-4.3.10.tar.bz2.
> ===>  Patching for php4-ctype-4.3.10_1
> ===>   php4-ctype-4.3.10_1 depends on executable: phpize - found
> ===>   php4-ctype-4.3.10_1 depends on file: /usr/local/bin/automake15
> - not found
> ===>Verifying install for /usr/local/bin/automake15 in
> /usr/ports/devel/automake15
> ===>   NOTICE:
>
> This port is deprecated; you may wish to reconsider installing it:
>
> Please use devel/automake19 instead.
>
> ===>  Vulnerability check disabled, database not found
> ===>  Extracting for automake-1.5_2,1
> => Checksum mismatch for automake-1.5.tar.gz.
> ===>  Refetch for 1 more times files: automake-1.5.tar.gz
> ===>   NOTICE:
>
> This port is deprecated; you may wish to reconsider installing it:
>
> Please use devel/automake19 instead.
>
> ===>  Vulnerability check disabled, database not found
> => automake-1.5.tar.gz doesn't seem to exist in
> /usr/ports/distfiles/. => Attempting to fetch from
> http://ftp.gnu.org/gnu/automake/. fetch: automake-1.5.tar.gz: local
> modification time does not match remote => Attempting to fetch from
> ftp://ftp.gnu.org/gnu/automake/. fetch: automake-1.5.tar.gz: local
> modification time does not match remote => Attempting to fetch from
> http://ftp.lug.udel.edu/pub/gnu/automake/. fetch:
> automake-1.5.tar.gz: local modification time does not match remote =>
> Attempting to fetch from http://gnu.mirror.mcgill.ca/automake/.
> fetch: automake-1.5.tar.gz: local modification time does not match
> remote => Attempting to fetch from
> ftp://ftp.nstu.ru/pub/mirrors/ftp.gnu.org/gnu/automake/.
> fetch:
> ftp://ftp.nstu.ru/pub/mirrors/ftp.gnu.org/gnu/automake/automake-1.5.t
>ar.gz: File unavailable (e.g., file not found, no access)
> => Attempting to fetch from
> http://www.gtlib.cc.gatech.edu/pub/gnu/gnu/automake/.
> fetch: automake-1.5.tar.gz: local modification time does not match
> remote => Attempting to fetch from
> http://mirrors.usc.edu/pub/gnu/automake/. fetch: automake-1.5.tar.gz:
> local modification time does not match remote => Attempting to fetch
> from http://gatekeeper.dec.com/pub/GNU/automake/. fetch:
> automake-1.5.tar.gz: local modification time does not match remote =>
> Attempting to fetch from ftp://ftp.de.uu.net/pub/gnu/automake/.
> fetch: ftp://ftp.de.uu.net/pub/gnu/automake/automake-1.5.tar.gz:
> Operation timed out
> => Attempting to fetch from
> http://ftp.funet.fi/pub/gnu/prep/automake/. fetch:
> automake-1.5.tar.gz: local modification time does not match remote =>
> Attempting to fetch from
> ftp://ftp.leo.org/pub/comp/os/unix/gnu/automake/. fetch:
> automake-1.5.tar.gz: local modification time does not match remote =>
> Attempting to fetch from ftp://ftp.wustl.edu/mirrors/gnu/automake/.
> fetch: automake-1.5.tar.gz: local modification time does not match
> remote => Attempting to fetch from
> ftp://ftp.kddlabs.co.jp/GNU/automake/. fetch: automake-1.5.tar.gz:
> local modification time does not match remote => Attempting to fetch
> from ftp://ftp.dti.ad.jp/pub/GNU/automake/. fetch:
> automake-1.5.tar.gz: local modification time does not match remote =>
> Attempting to fetch from ftp://www.t.ring.gr.jp/pub/GNU/automake/.
> fetch: automake-1.5.tar.gz: local modification time does not match
> remote => Attempting to fetch from
> http://www.t.ring.gr.jp/archives/GNU/automake/. fetch:
> automake-1.5.tar.gz: local modification time does not match remote =>
> Attempting to fetch from
> ftp://ftp.mirrorservice.org/sites/ftp.gnu.org/gnu/automake/.
> fetch: automake-1.5.tar.gz: local modification time does not match
> remote => Attempting to fetch from
> ftp://ftp.sunsite.org.uk/package/gnu/automake/. fetch:
> automake-1.5.tar.gz: local modification time does not match remote =>
> Attempting to fetch from
> ftp://ftp.informatik.hu-berlin.de/pub/gnu/automake/. fetch: transfer
> timed out
> => Attempting to fetch from
> ftp://ftp.informatik.rwth-aachen.de/pub/mirror/ftp.gnu.org/pub/gnu/au
>tomake/. fetch: automake-1.5.tar.gz: local modification time does not
> match remote => Attempting to fetch from
> http://ftp.rediris.es/sites/ftp.gnu.org/pub/automake/.
> fetch:
> http://ftp.rediris.es/sites/ftp.gnu.org/pub/automake/automake-1.5.tar
>.gz: Not Found
> => Attempting to fetch from ftp://ftp.lip6.fr/pub/gnu/automake/.
> fetch: automake-1.5.tar.gz: local modification time does not matc

Re: Help on a little script

2005-01-23 Thread Paul Schmehl
--On Sunday, January 23, 2005 10:30 AM -0600 antenneX <[EMAIL PROTECTED]> 
wrote:

Am running FBSD-4.10p2
I have a serious need for some help on a CGI script I just installed.
I've tried to reach the author but no dice there.
It's used to automate "unsubscribes" on a mail list.
It works well except for this:
It changes my mail list from this format:
name1
name2
name3
...to this:
name1name2name3 <---one big long line with no separators.
With over 6000 names it makes a huge long line instead with no space
between
the names either. It make a mess!
I know how to convert
name1
name2
name3
...to
name1 name2 name3.
like this:
# cat mybadlist | xargs > mygoodlist
...but, need the reverse.
So how can I convert
name1name2name3
...back to the original format?
name1
name2
name3
It would probably be a lot easier to fix the cgi script so it creates the 
list with separators.

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


Re: port 445 ?

2005-01-23 Thread Paul Schmehl
--On Sunday, January 23, 2005 7:01 AM -0800 faisal gillani 
<[EMAIL PROTECTED]> wrote:

i use samba on my freebsd server to share files , i
dont use any active directory connectivity still the
port "445/tcpopenmicrosoft-ds" is open , i
read is some where that this port should be close as
it is dangerous to the server , is this true ?
Port 445 is the CIFS port, which is used by the newer MS systems 
(2000,XP,2003) for networking.  Like any networking port, it should not be 
exposed to the Internet.  The port itself doesn't represent a risk, but 
there's no reason to make it available to the internet anyway.

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


sk0: not freezing up, looking good!! but....

2005-01-23 Thread T.F. Cheng
Hi, 
   I also have trouble with sk0 driver on my 5.3/i386,
after a recent search and a cvsup to 5.3-STABLE source
(01/23/05), config and make depend all install my
kernel, I was able to boot up the machine with the
onboard NIC device turned on and without freezing the
whole thing up, this is good really good
   however, it still can't do DHCP, what I did was I
plugined the cable, killed the oroginal dhclient
process, and reissued one by "/sbin/dhclient sk0", it
took about a few minute before it gave up the prompt,
and there was no ip address, here is what I am now: 
>ifconfig 
sk0:
flags=8843 mtu
1500
inet6 fe80::211:2fff:fee0:3d61%sk0 prefixlen
64 scopeid 0x2 
inet 0.0.0.0 netmask 0xff00 broadcast
255.255.255.255
ether 00:11:2f:e0:3d:61
media: Ethernet autoselect (none)
status: no carrier
>dmesg
skc0:  port 0xa800-0xa8ff
mem 0xfab0-0xfab03fff irq 10 at device 10.0 on
pci0
skc0: Yukon Gigabit Ethernet 10/100/1000Base-T Adapter
sk0:  on skc0
sk0: Ethernet address: 00:11:2f:e0:3d:61
miibus0:  on sk0
e1000phy0:  on miibus0
e1000phy0:  10baseT, 10baseT-FDX, 100baseTX,
100baseTX-FDX, 1000baseTX-FDX, auto
xl0: <3Com 3c905-TX Fast Etherlink XL> port
0xb000-0xb03f irq 10 at device 12.0 on pci0
miibus1:  on xl0
nsphy0:  on miibus1
nsphy0:  10baseT, 10baseT-FDX, 100baseTX,
100baseTX-FDX, auto
xl0: Ethernet address: 00:60:97:d5:2a:85

(xl0 is the NIC i am using as substitute now)

  look like the sk0 is recognizing the device well,
and thing runs smoothly, really appreciate what people
have done for sk0, so sorry I don't know how to code.
And I was trying to identify which version of if_sk.c
I have now, in the file, it marked: 
("$FreeBSD: src/sys/pci/if_sk.c,v 1.83.2.6 2005/01/21
00:50:51 mlaier Exp $") so I hoped this is the most
updated. And after cvsuping the source, I only did my
kernel, not the "world", is this enough? thank you for
your help.


=
Best Regards,

Tsu-Fan Cheng

_
Do You Yahoo!?
登記免費的 @yahoo.com 中文電子郵件 @ http://chinese.mail.yahoo.com
Get your free @yahoo.com address at http://chinese.mail.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Automake Problem

2005-01-23 Thread gabriel
Have you tried doing pkg_add -r automake19? - It appears as though it
wasnt able to fetch the dist file, you can try going to one of the
mirrors and download it manually then putting it in
/usr/ports/distfiles/

Cheers!

On Sun, 23 Jan 2005 17:06:39 -0600, Cody Holland <[EMAIL PROTECTED]> wrote:
> I'm a newbie to FreeBSD, so please be patient with me.  I'm running
> 5.3 adn am trying to install php4-extensions through the ports
> collection and getting:
> 
> ===>  Installing for php4-extensions-1.0
> ===>   php4-extensions-1.0 depends on file:
> /usr/local/include/php/main/php.h - found
> ===>   php4-extensions-1.0 depends on file:
> /usr/local/lib/php/20020429/ctype.so - not found
> ===>Verifying install for /usr/local/lib/php/20020429/ctype.so in
> /usr/ports/textproc/php4-ctype
> ===>  Vulnerability check disabled, database not found
> ===>  Extracting for php4-ctype-4.3.10_1
> => Checksum OK for php-4.3.10.tar.bz2.
> ===>  Patching for php4-ctype-4.3.10_1
> ===>   php4-ctype-4.3.10_1 depends on executable: phpize - found
> ===>   php4-ctype-4.3.10_1 depends on file: /usr/local/bin/automake15
> - not found
> ===>Verifying install for /usr/local/bin/automake15 in
> /usr/ports/devel/automake15
> ===>   NOTICE:
> 
> This port is deprecated; you may wish to reconsider installing it:
> 
> Please use devel/automake19 instead.
> 
> ===>  Vulnerability check disabled, database not found
> ===>  Extracting for automake-1.5_2,1
> => Checksum mismatch for automake-1.5.tar.gz.
> ===>  Refetch for 1 more times files: automake-1.5.tar.gz
> ===>   NOTICE:
> 
> This port is deprecated; you may wish to reconsider installing it:
> 
> Please use devel/automake19 instead.
> 
> ===>  Vulnerability check disabled, database not found
> => automake-1.5.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
> => Attempting to fetch from http://ftp.gnu.org/gnu/automake/.
> fetch: automake-1.5.tar.gz: local modification time does not match remote
> => Attempting to fetch from ftp://ftp.gnu.org/gnu/automake/.
> fetch: automake-1.5.tar.gz: local modification time does not match remote
> => Attempting to fetch from http://ftp.lug.udel.edu/pub/gnu/automake/.
> fetch: automake-1.5.tar.gz: local modification time does not match remote
> => Attempting to fetch from http://gnu.mirror.mcgill.ca/automake/.
> fetch: automake-1.5.tar.gz: local modification time does not match remote
> => Attempting to fetch from
> ftp://ftp.nstu.ru/pub/mirrors/ftp.gnu.org/gnu/automake/.
> fetch: 
> ftp://ftp.nstu.ru/pub/mirrors/ftp.gnu.org/gnu/automake/automake-1.5.tar.gz:
> File unavailable (e.g., file not found, no access)
> => Attempting to fetch from
> http://www.gtlib.cc.gatech.edu/pub/gnu/gnu/automake/.
> fetch: automake-1.5.tar.gz: local modification time does not match remote
> => Attempting to fetch from http://mirrors.usc.edu/pub/gnu/automake/.
> fetch: automake-1.5.tar.gz: local modification time does not match remote
> => Attempting to fetch from http://gatekeeper.dec.com/pub/GNU/automake/.
> fetch: automake-1.5.tar.gz: local modification time does not match remote
> => Attempting to fetch from ftp://ftp.de.uu.net/pub/gnu/automake/.
> fetch: ftp://ftp.de.uu.net/pub/gnu/automake/automake-1.5.tar.gz:
> Operation timed out
> => Attempting to fetch from http://ftp.funet.fi/pub/gnu/prep/automake/.
> fetch: automake-1.5.tar.gz: local modification time does not match remote
> => Attempting to fetch from ftp://ftp.leo.org/pub/comp/os/unix/gnu/automake/.
> fetch: automake-1.5.tar.gz: local modification time does not match remote
> => Attempting to fetch from ftp://ftp.wustl.edu/mirrors/gnu/automake/.
> fetch: automake-1.5.tar.gz: local modification time does not match remote
> => Attempting to fetch from ftp://ftp.kddlabs.co.jp/GNU/automake/.
> fetch: automake-1.5.tar.gz: local modification time does not match remote
> => Attempting to fetch from ftp://ftp.dti.ad.jp/pub/GNU/automake/.
> fetch: automake-1.5.tar.gz: local modification time does not match remote
> => Attempting to fetch from ftp://www.t.ring.gr.jp/pub/GNU/automake/.
> fetch: automake-1.5.tar.gz: local modification time does not match remote
> => Attempting to fetch from http://www.t.ring.gr.jp/archives/GNU/automake/.
> fetch: automake-1.5.tar.gz: local modification time does not match remote
> => Attempting to fetch from
> ftp://ftp.mirrorservice.org/sites/ftp.gnu.org/gnu/automake/.
> fetch: automake-1.5.tar.gz: local modification time does not match remote
> => Attempting to fetch from ftp://ftp.sunsite.org.uk/package/gnu/automake/.
> fetch: automake-1.5.tar.gz: local modification time does not match remote
> => Attempting to fetch from 
> ftp://ftp.informatik.hu-berlin.de/pub/gnu/automake/.
> fetch: transfer timed out
> => Attempting to fetch from
> ftp://ftp.informatik.rwth-aachen.de/pub/mirror/ftp.gnu.org/pub/gnu/automake/.
> fetch: automake-1.5.tar.gz: local modification time does not match remote
> => Attempting to fetch from
> http://ftp.rediris.es/sites/ftp.gnu.org/pub/automa

Automake Problem

2005-01-23 Thread Cody Holland
I'm a newbie to FreeBSD, so please be patient with me.  I'm running
5.3 adn am trying to install php4-extensions through the ports
collection and getting:

===>  Installing for php4-extensions-1.0
===>   php4-extensions-1.0 depends on file:
/usr/local/include/php/main/php.h - found
===>   php4-extensions-1.0 depends on file:
/usr/local/lib/php/20020429/ctype.so - not found
===>Verifying install for /usr/local/lib/php/20020429/ctype.so in
/usr/ports/textproc/php4-ctype
===>  Vulnerability check disabled, database not found
===>  Extracting for php4-ctype-4.3.10_1
=> Checksum OK for php-4.3.10.tar.bz2.
===>  Patching for php4-ctype-4.3.10_1
===>   php4-ctype-4.3.10_1 depends on executable: phpize - found
===>   php4-ctype-4.3.10_1 depends on file: /usr/local/bin/automake15
- not found
===>Verifying install for /usr/local/bin/automake15 in
/usr/ports/devel/automake15
===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

Please use devel/automake19 instead.

===>  Vulnerability check disabled, database not found
===>  Extracting for automake-1.5_2,1
=> Checksum mismatch for automake-1.5.tar.gz.
===>  Refetch for 1 more times files: automake-1.5.tar.gz
===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

Please use devel/automake19 instead.

===>  Vulnerability check disabled, database not found
=> automake-1.5.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from http://ftp.gnu.org/gnu/automake/.
fetch: automake-1.5.tar.gz: local modification time does not match remote
=> Attempting to fetch from ftp://ftp.gnu.org/gnu/automake/.
fetch: automake-1.5.tar.gz: local modification time does not match remote
=> Attempting to fetch from http://ftp.lug.udel.edu/pub/gnu/automake/.
fetch: automake-1.5.tar.gz: local modification time does not match remote
=> Attempting to fetch from http://gnu.mirror.mcgill.ca/automake/.
fetch: automake-1.5.tar.gz: local modification time does not match remote
=> Attempting to fetch from
ftp://ftp.nstu.ru/pub/mirrors/ftp.gnu.org/gnu/automake/.
fetch: 
ftp://ftp.nstu.ru/pub/mirrors/ftp.gnu.org/gnu/automake/automake-1.5.tar.gz:
File unavailable (e.g., file not found, no access)
=> Attempting to fetch from
http://www.gtlib.cc.gatech.edu/pub/gnu/gnu/automake/.
fetch: automake-1.5.tar.gz: local modification time does not match remote
=> Attempting to fetch from http://mirrors.usc.edu/pub/gnu/automake/.
fetch: automake-1.5.tar.gz: local modification time does not match remote
=> Attempting to fetch from http://gatekeeper.dec.com/pub/GNU/automake/.
fetch: automake-1.5.tar.gz: local modification time does not match remote
=> Attempting to fetch from ftp://ftp.de.uu.net/pub/gnu/automake/.
fetch: ftp://ftp.de.uu.net/pub/gnu/automake/automake-1.5.tar.gz:
Operation timed out
=> Attempting to fetch from http://ftp.funet.fi/pub/gnu/prep/automake/.
fetch: automake-1.5.tar.gz: local modification time does not match remote
=> Attempting to fetch from ftp://ftp.leo.org/pub/comp/os/unix/gnu/automake/.
fetch: automake-1.5.tar.gz: local modification time does not match remote
=> Attempting to fetch from ftp://ftp.wustl.edu/mirrors/gnu/automake/.
fetch: automake-1.5.tar.gz: local modification time does not match remote
=> Attempting to fetch from ftp://ftp.kddlabs.co.jp/GNU/automake/.
fetch: automake-1.5.tar.gz: local modification time does not match remote
=> Attempting to fetch from ftp://ftp.dti.ad.jp/pub/GNU/automake/.
fetch: automake-1.5.tar.gz: local modification time does not match remote
=> Attempting to fetch from ftp://www.t.ring.gr.jp/pub/GNU/automake/.
fetch: automake-1.5.tar.gz: local modification time does not match remote
=> Attempting to fetch from http://www.t.ring.gr.jp/archives/GNU/automake/.
fetch: automake-1.5.tar.gz: local modification time does not match remote
=> Attempting to fetch from
ftp://ftp.mirrorservice.org/sites/ftp.gnu.org/gnu/automake/.
fetch: automake-1.5.tar.gz: local modification time does not match remote
=> Attempting to fetch from ftp://ftp.sunsite.org.uk/package/gnu/automake/.
fetch: automake-1.5.tar.gz: local modification time does not match remote
=> Attempting to fetch from ftp://ftp.informatik.hu-berlin.de/pub/gnu/automake/.
fetch: transfer timed out
=> Attempting to fetch from
ftp://ftp.informatik.rwth-aachen.de/pub/mirror/ftp.gnu.org/pub/gnu/automake/.
fetch: automake-1.5.tar.gz: local modification time does not match remote
=> Attempting to fetch from
http://ftp.rediris.es/sites/ftp.gnu.org/pub/automake/.
fetch: http://ftp.rediris.es/sites/ftp.gnu.org/pub/automake/automake-1.5.tar.gz:
Not Found
=> Attempting to fetch from ftp://ftp.lip6.fr/pub/gnu/automake/.
fetch: automake-1.5.tar.gz: local modification time does not match remote
=> Attempting to fetch from ftp://ftp.chg.ru/pub/gnu/automake/.
fetch: automake-1.5.tar.gz: local modification time does not match remote
=> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch: automake-1.5.t

Cheap, reliable mass storage

2005-01-23 Thread markzero
Hi, this is possibly the most open question posted here to date. :)

I'm looking to build/buy a large, low-access, long term storage
solution for my home. I'm a musician primarily so my files mostly
consist of lumps of audio. Ideally, I would like to be able to rsync
files to it, so I think I'd probably be looking at a cheap old box
with a stack of large hard disks and some kind of RAID controller, but
can anybody suggest anything better?

To clarify, I'm looking for long-term reliability, low cost and large
space rather than high performance. I have a budget of around $600-900
to spend but I would not have to buy a PC as I have plenty of old
machines (average spec: Intel P3 700mhz) laying around that would 
probably be up to the job.

Obviously, I'd like it to be running FreeBSD...

All suggestions welcome!

Mark


pgp7LH2qY8Uca.pgp
Description: PGP signature


swap getting consumed

2005-01-23 Thread Mark Edwards
I have posted about this problem a couple of times with not much 
response, I'm afraid, but here is a different take on it perhaps.  I 
have a 4.10p5 running and for roughly the last two months my swap space 
has been getting eaten uncontrollably.  The only clue I have is that it 
resets when I restart Apache (1.3.33), and so if I set up a cron job to 
restart Apache every day or hour the problem is contained:

https://secure.antsclimbtree.com/mrtg/ants.swap-year.png
Oddly, my physical memory doesn't seem to be generally affected:
https://secure.antsclimbtree.com/mrtg/ants.ram-year.png
I have 128MB of physical RAM and 384MB of swap.
The only clue I have with Apache is a lot of this in /var/log/messages:
Jan 21 18:25:06 lilbuddy /kernel: pid 68446 (httpd), uid 80: exited on 
signal 6

But I'm not sure what to make of it.  The only thing Google turns up 
related to those messages are notes about CodeRed virus attacks, but 
Apache 1.3.33 is suppose to address that issue.

Does anyone have any suggestion of how to attack this problem?  I'm 
totally stumped.

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


RE: samba printing

2005-01-23 Thread Mikko Heiskanen
On Sun, 2005-01-23 at 23:06, Andras Kende wrote:
> Hello,
> 
> 
> Looks like the spool directories are different in /etc/printcap and
> in smb.conf:
> 
> sd=/var/spool/raw:
> 
> path = /var/spool/samba
> 
> Try to set to the same path, also make sure windows user has
> Enough privileges to write to spool directory...
> 
> Best regards,
> 
> Andras Kende

Hi,
Appreciate the answer, but to my understanding, the two spool
directories need to be separate. From the samba documentation:

"Successful printing from a Windows client via a Samba print server to a
UNIX printer involves six (potentially seven) stages:
3.Windows sends a copy of the print file over the network into Samba's
spooling area.
5. Samba invokes the print command to hand the file over to the UNIX
print subsystem's spooling area."

I am naturally with admin priviledges on windows side.
I am though almost certain it is some little configuration err.
As always.

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


Re: KDE issues after recent portupgrade

2005-01-23 Thread Michael C. Shultz
On Sunday 23 January 2005 02:03 pm, Trey Sizemore wrote:
> On Sun, 2005-01-23 at 13:04 -0800, Michael C. Shultz wrote:
> > Try setting up a different user account on your machine then see
> > how kde
> > works with it.
>
> The new user had an artsd.core and kdeint.core file in their home
> directory when I logged in using their account.  Starting up k3b from
> their account created a k3b.core file and k3b was not started.
>
> :-(

I guess you should try to install kde from packages and see if that 
works, else you've little choice but to start over by deleting and 
reinstalling all its dependencies which means you might as well remove
everthing and start over.  Sorry I don't have anything better to offer.

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


Re: KDE issues after recent portupgrade

2005-01-23 Thread Trey Sizemore
On Sun, 2005-01-23 at 13:04 -0800, Michael C. Shultz wrote:
> Try setting up a different user account on your machine then see how
> kde 
> works with it.
> 

The new user had an artsd.core and kdeint.core file in their home
directory when I logged in using their account.  Starting up k3b from
their account created a k3b.core file and k3b was not started.

:-(

-- 
Cheers,
Trey
---

When you have robbed a man of everything, he is no longer in your power.
He is free again.
-- Alexander Solzhenitsyn 

5:01PM up 28 mins, 0 users, load averages: 0.36, 0.26, 0.21 
FreeBSD salamander.thesizemores.net 5.3-STABLE i386

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


Re: Error installing dvipsk-tetex

2005-01-23 Thread Aaron Dalton
Hiroki Sato wrote:
Hi,
Aaron Dalton <[EMAIL PROTECTED]> wrote
  in <[EMAIL PROTECTED]>:
a> I am now trying to install print/teTeX.  With some fiddling I have
a> gotten it to almost install.  Now I'm having a problem when it gets to
a> the installation of print/dvipsk-tetex.  Below is the error?  Can
a> anybody point me in the right direction?  I'm running FreeBSD 5.2.1-RELEASE.
 Probably you set the $TEXMF environment variable, right?
 Please try to unset $TEXMF first and do make the port.
 I will fix this problem soon.  Thanks for the report.
Cheers!  That did it =)
Aaron
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: KDE issues after recent portupgrade

2005-01-23 Thread Michael C. Shultz
On Sunday 23 January 2005 12:43 pm, Trey Sizemore wrote:
> On Sun, 2005-01-23 at 08:30 -0800, Michael C. Shultz wrote:
> > To not uninstall them, but to properly upgrade your installed ports
> > with sysutils/portmanager.
> >
> > -Mike
>
> Did a 'portmanager -u' and still having the same issues with k3b and
> konq.

Try setting up a different user account on your machine then see how kde 
works with it.

-Mike



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


RE: samba printing

2005-01-23 Thread Andras Kende


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mikko Heiskanen
Sent: Sunday, January 23, 2005 12:34 PM
To: [EMAIL PROTECTED]
Subject: samba printing

Hi list,

I'm having hard time getting printing working from samba winXP client to
a printer parallelport connected to my FreeBSD-4.10-release box.
I have a HP Laserjet 1200 -printer, and am using LPD and apsfilter with
postscript driver as suggested by linuxprinting.org.

Everything works real well under BSD, but I am unable to get any output
to printer from the Windows box.

I have gathered different bits and pieces from around the net and
manuals, and have come up with the following:

/etc/printcap:
lp|PS;r=1200x1200;q=medium;c=full;p=a4;m=auto:\
:lp=/dev/lpt0:\
:if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
:sd=/var/spool/lpd/lp:\
:lf=/var/spool/lpd/lp/log:\
:af=/var/spool/lpd/lp/acct:\
:mx#0:\
:sh:
raw|hp|HP LaserJet 1200:\
:lp=/dev/lpt0:\
:sd=/var/spool/raw:\
:lf=/var/spool/raw/log:\
:af=/var/spool/raw/acct:\
:mx#0:\
:sf:\
:sh:

$ ls -ld /var/spool/lpd/lp
drwxr-xr-x  2 root  daemon  512 Jan 23 19:59 /var/spool/lpd/lp
$ ls -ld /var/spool/raw/  
drwxr-xr-x  2 root  wheel  512 Jan 23 19:57 /var/spool/raw/

/usr/local/etc/smb.conf:
[global]
hosts allow 10.0.0.
security = user
encrypt passwords = yes
socket options = TCP_NODELAY 
client code page=850
wins support = yes
printing = bsd
printcap name = /etc/printcap
[lp]
comment = Laserjet 1200
path = /var/spool/samba
printer name = raw
public = yes
writeable = no
printable = yes

$ ls -ld /var/spool/samba/
drwxrwxrwt  2 root  wheel  512 Jan 23 20:03 /var/spool/samba/

In the Windows box, I've added a local printer with the "Add new printer
wizard" pointing it to lpt1-port. After that, I have opened a command
prompt, and typed "net use lpt1: \\10.0.0.1\lp".

I have filesharing also in samba, and that works without problems.

My windows username and password are same as samba username and
password.

However, as said, nothing gets printed. No files are in the
spooldirectories. I do not know how to proceed, and would love some
guidance. Thanks,
Mikko

ps. would hate to have to put it into windows box, as printer supports
PS.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"




Hello,


Looks like the spool directories are different in /etc/printcap and
in smb.conf:

sd=/var/spool/raw:

path = /var/spool/samba

Try to set to the same path, also make sure windows user has
Enough privileges to write to spool directory...

Best regards,

Andras Kende
http://www.kende.com



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


Re[2]: dhclient problems in 5.3-RELEASE

2005-01-23 Thread Hexren
DG> Hexren ([EMAIL PROTECTED]) [050124 07:02]:

>> DG> On reboot, I ran dhclient and it completely failed to get an IP address.
>> DG> But I know the cable is good and the DHCP server is working, because I
>> DG> booted the box in question into Windows and it grabbed an IP just fine. 
>> So
>> DG> where do I start on diagnosing what's up with this installation?

>> Start by sniffing the network traffic on the DHCP Server machine while
>> you request an address. See where it differs from the usual. Maybe the
>> problem becomes obvious then. :)


DG> As I noted, it served fine to the Windows installation on the same box on
DG> the same wire from the same server. Also, just before installing 5.3, it
DG> was serving just fine to FreeBSD 4.10 on the same box on the same wire from
DG> the same server. The only factor that's different is the software and OS
DG> running. I'm wondering what if anything's changed in dhclient between
DG> 4.10 and 5.3 ... is there some daft but obvious gotcha I've missed? Or are
DG> you saying the 5.3 dhclient is much, much fussier in some way?


DG> - d.

-

I do not know, as I myself only looked once at the code and that was
only very briefly.
But I have seen myown set of fuzzy DHCP behavior involving
different OSes and various network equipment. That is why I suggested
to you that you should sniff the traffic to get an idea of where
things go astray. At that point you should be able to decide which
side stops talking to the other. Armed with that knowledge you
should be able to a) look for the error yourself b) pinpoint its
general direction more accurate and thus maybe try and find a workaround. For
example another DHCP server, c) see who supports the software and
send him a bug report or d) provide this list with more information :)

Hexren

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


Re: KDE issues after recent portupgrade

2005-01-23 Thread Trey Sizemore
On Sun, 2005-01-23 at 08:30 -0800, Michael C. Shultz wrote:
> To not uninstall them, but to properly upgrade your installed ports with
> sysutils/portmanager.
> 
> -Mike

Did a 'portmanager -u' and still having the same issues with k3b and
konq.

-- 
Cheers,
Trey
---

The world is full of obvious things
which nobody by any chance ever observes.
-- Sir Arthur Conan Doyle 

3:42PM up 9 mins, 0 users, load averages: 0.17, 0.18, 0.11 
FreeBSD salamander.thesizemores.net 5.3-STABLE i386

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


Re: dhclient problems in 5.3-RELEASE

2005-01-23 Thread Erik Norgaard
David Gerard wrote:
This afternoon, I set up a new machine with 5.3-RELEASE. Started with three
5.3-beta5 floppies, told it I wanted 5.3-RELEASE from a CD-R, installed
minimal base, man pages and ports, created two users.
On reboot, I ran dhclient and it completely failed to get an IP address.
But I know the cable is good and the DHCP server is working, because I
booted the box in question into Windows and it grabbed an IP just fine. So
where do I start on diagnosing what's up with this installation?
Try run dhclient with option "-d" to keep it in the foreground and see 
what errors appear.

Do you have dhclient_enable="YES" in your rc.conf? If a dhclient is 
already running starting a new one has the special feature that the 
existing stops working. The new one sets ip to 0.0.0.0, then fails 
startup and exits.

Cheers, Erik
--
Ph: +34.666334818   web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: dhclient problems in 5.3-RELEASE

2005-01-23 Thread Michael C. Shultz
On Sunday 23 January 2005 12:09 pm, David Gerard wrote:
> Hexren ([EMAIL PROTECTED]) [050124 07:02]:
> > DG> On reboot, I ran dhclient and it completely failed to get an IP
> > address. DG> But I know the cable is good and the DHCP server is
> > working, because I DG> booted the box in question into Windows and
> > it grabbed an IP just fine. So DG> where do I start on diagnosing
> > what's up with this installation?
> >
> > Start by sniffing the network traffic on the DHCP Server machine
> > while you request an address. See where it differs from the usual.
> > Maybe the problem becomes obvious then. :)
>
> As I noted, it served fine to the Windows installation on the same
> box on the same wire from the same server. Also, just before
> installing 5.3, it was serving just fine to FreeBSD 4.10 on the same
> box on the same wire from the same server. The only factor that's
> different is the software and OS running. I'm wondering what if
> anything's changed in dhclient between 4.10 and 5.3 ... is there some
> daft but obvious gotcha I've missed? Or are you saying the 5.3
> dhclient is much, much fussier in some way?
>
>
> - d.

A while back I had exactly the same problem as you, what I did to prove 
there was a problem with dhclient in 5.3 was I copied the 
dir /usr/src/sbin/dhclient from a 4.10 machine to my 5.3 machine, then 
"make install"'ed it and it worked.  I did my best to explain the 
problem in the lists to no avail so now the machine that runs the dsl 
modem is running FreeBSD 4.11 and I just don't worry about it anymore.

-Mke

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


Re: dhclient problems in 5.3-RELEASE

2005-01-23 Thread David Gerard
Hexren ([EMAIL PROTECTED]) [050124 07:02]:

> DG> On reboot, I ran dhclient and it completely failed to get an IP address.
> DG> But I know the cable is good and the DHCP server is working, because I
> DG> booted the box in question into Windows and it grabbed an IP just fine. So
> DG> where do I start on diagnosing what's up with this installation?

> Start by sniffing the network traffic on the DHCP Server machine while
> you request an address. See where it differs from the usual. Maybe the
> problem becomes obvious then. :)


As I noted, it served fine to the Windows installation on the same box on
the same wire from the same server. Also, just before installing 5.3, it
was serving just fine to FreeBSD 4.10 on the same box on the same wire from
the same server. The only factor that's different is the software and OS
running. I'm wondering what if anything's changed in dhclient between
4.10 and 5.3 ... is there some daft but obvious gotcha I've missed? Or are
you saying the 5.3 dhclient is much, much fussier in some way?


- d.



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


Re: dhclient problems in 5.3-RELEASE

2005-01-23 Thread Hexren

DG> This afternoon, I set up a new machine with 5.3-RELEASE. Started with three
DG> 5.3-beta5 floppies, told it I wanted 5.3-RELEASE from a CD-R, installed
DG> minimal base, man pages and ports, created two users.

DG> On reboot, I ran dhclient and it completely failed to get an IP address.
DG> But I know the cable is good and the DHCP server is working, because I
DG> booted the box in question into Windows and it grabbed an IP just fine. So
DG> where do I start on diagnosing what's up with this installation?


DG> - d.

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

-

Start by sniffing the network traffic on the DHCP Server machine while
you request an address. See where it differs from the usual. Maybe the
problem becomes obvious then. :)

Hexren

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


Re: FreeBSD 5.3 CD2 ?

2005-01-23 Thread Mike Jeays
On Sun, 2005-01-23 at 10:13, Daniel S. Haischt wrote:
> AFAIK - The 2nd CD only contains additional software
> packages ...
> 
> faisal gillani schrieb:
> > i installed freebsd 5.3 & the first cd installed
> > everything i needed , but i got 2 cds with freebsd , i
> > browsed it but couldent understand wat is it for 
> > ?
> > 
> > 
> > 
> > =
> > *º¤., ¸¸,.¤º*¨¨¨*¤ Allah-hu-Akber*º¤., ¸¸,.¤º*¨¨*¤
> > 
> > 
> > 
> > __ 
> > Do you Yahoo!? 
> > Meet the all-new My Yahoo! - Try it today! 
> > http://my.yahoo.com
> >  
> > 
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> > 

The second CD is a live filesystem, useful for repairing damaged
installations.  More packages are available on disks 3 and 4, which need
to be purchased - there are no ISO images for download.  (However, all
the additional packages are available for installation by means of
pkg_add -r).


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


Re: samba printing

2005-01-23 Thread gabriel
Make sure all the permissions are correct on the spool directories,
they should be 755. During this troubleshooting, I'd recommend looking
at any tcp communication while trying to print..

Good Luck!


On Sun, 23 Jan 2005 20:33:47 +0200, Mikko Heiskanen
<[EMAIL PROTECTED]> wrote:
> Hi list,
> 
> I'm having hard time getting printing working from samba winXP client to
> a printer parallelport connected to my FreeBSD-4.10-release box.
> I have a HP Laserjet 1200 -printer, and am using LPD and apsfilter with
> postscript driver as suggested by linuxprinting.org.
> 
> Everything works real well under BSD, but I am unable to get any output
> to printer from the Windows box.
> 
> I have gathered different bits and pieces from around the net and
> manuals, and have come up with the following:
> 
> /etc/printcap:
> lp|PS;r=1200x1200;q=medium;c=full;p=a4;m=auto:\
>:lp=/dev/lpt0:\
>:if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
>:sd=/var/spool/lpd/lp:\
>:lf=/var/spool/lpd/lp/log:\
>:af=/var/spool/lpd/lp/acct:\
>:mx#0:\
>:sh:
> raw|hp|HP LaserJet 1200:\
>:lp=/dev/lpt0:\
>:sd=/var/spool/raw:\
>:lf=/var/spool/raw/log:\
>:af=/var/spool/raw/acct:\
>:mx#0:\
>:sf:\
>:sh:
> 
> $ ls -ld /var/spool/lpd/lp
> drwxr-xr-x  2 root  daemon  512 Jan 23 19:59 /var/spool/lpd/lp
> $ ls -ld /var/spool/raw/
> drwxr-xr-x  2 root  wheel  512 Jan 23 19:57 /var/spool/raw/
> 
> /usr/local/etc/smb.conf:
> [global]
>hosts allow 10.0.0.
>security = user
>encrypt passwords = yes
>socket options = TCP_NODELAY
>client code page=850
>wins support = yes
>printing = bsd
>printcap name = /etc/printcap
> [lp]
>comment = Laserjet 1200
>path = /var/spool/samba
>printer name = raw
>public = yes
>writeable = no
>printable = yes
> 
> $ ls -ld /var/spool/samba/
> drwxrwxrwt  2 root  wheel  512 Jan 23 20:03 /var/spool/samba/
> 
> In the Windows box, I've added a local printer with the "Add new printer
> wizard" pointing it to lpt1-port. After that, I have opened a command
> prompt, and typed "net use lpt1: \\10.0.0.1\lp".
> 
> I have filesharing also in samba, and that works without problems.
> 
> My windows username and password are same as samba username and
> password.
> 
> However, as said, nothing gets printed. No files are in the
> spooldirectories. I do not know how to proceed, and would love some
> guidance. Thanks,
> Mikko
> 
> ps. would hate to have to put it into windows box, as printer supports
> PS.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 


-- 
gabriel,

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


samba printing

2005-01-23 Thread Mikko Heiskanen
Hi list,

I'm having hard time getting printing working from samba winXP client to
a printer parallelport connected to my FreeBSD-4.10-release box.
I have a HP Laserjet 1200 -printer, and am using LPD and apsfilter with
postscript driver as suggested by linuxprinting.org.

Everything works real well under BSD, but I am unable to get any output
to printer from the Windows box.

I have gathered different bits and pieces from around the net and
manuals, and have come up with the following:

/etc/printcap:
lp|PS;r=1200x1200;q=medium;c=full;p=a4;m=auto:\
:lp=/dev/lpt0:\
:if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
:sd=/var/spool/lpd/lp:\
:lf=/var/spool/lpd/lp/log:\
:af=/var/spool/lpd/lp/acct:\
:mx#0:\
:sh:
raw|hp|HP LaserJet 1200:\
:lp=/dev/lpt0:\
:sd=/var/spool/raw:\
:lf=/var/spool/raw/log:\
:af=/var/spool/raw/acct:\
:mx#0:\
:sf:\
:sh:

$ ls -ld /var/spool/lpd/lp
drwxr-xr-x  2 root  daemon  512 Jan 23 19:59 /var/spool/lpd/lp
$ ls -ld /var/spool/raw/  
drwxr-xr-x  2 root  wheel  512 Jan 23 19:57 /var/spool/raw/

/usr/local/etc/smb.conf:
[global]
hosts allow 10.0.0.
security = user
encrypt passwords = yes
socket options = TCP_NODELAY 
client code page=850
wins support = yes
printing = bsd
printcap name = /etc/printcap
[lp]
comment = Laserjet 1200
path = /var/spool/samba
printer name = raw
public = yes
writeable = no
printable = yes

$ ls -ld /var/spool/samba/
drwxrwxrwt  2 root  wheel  512 Jan 23 20:03 /var/spool/samba/

In the Windows box, I've added a local printer with the "Add new printer
wizard" pointing it to lpt1-port. After that, I have opened a command
prompt, and typed "net use lpt1: \\10.0.0.1\lp".

I have filesharing also in samba, and that works without problems.

My windows username and password are same as samba username and
password.

However, as said, nothing gets printed. No files are in the
spooldirectories. I do not know how to proceed, and would love some
guidance. Thanks,
Mikko

ps. would hate to have to put it into windows box, as printer supports
PS.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


dhclient problems in 5.3-RELEASE

2005-01-23 Thread David Gerard

This afternoon, I set up a new machine with 5.3-RELEASE. Started with three
5.3-beta5 floppies, told it I wanted 5.3-RELEASE from a CD-R, installed
minimal base, man pages and ports, created two users.

On reboot, I ran dhclient and it completely failed to get an IP address.
But I know the cable is good and the DHCP server is working, because I
booted the box in question into Windows and it grabbed an IP just fine. So
where do I start on diagnosing what's up with this installation?


- d.

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


Re: Help on a little script

2005-01-23 Thread antenneX
- Original Message - 
From: "Mike Jeays" <[EMAIL PROTECTED]>
To: "antenneX" <[EMAIL PROTECTED]>
Cc: 
Sent: Sunday, January 23, 2005 11:49 AM
Subject: Re: Help on a little script


> On Sun, 2005-01-23 at 11:30, antenneX wrote:
> > Am running FBSD-4.10p2
> >
> > I have a serious need for some help on a CGI script I just
installed.
> > I've tried to reach the author but no dice there.
> >
> > It's used to automate "unsubscribes" on a mail list.
> >
> > It works well except for this:
> > It changes my mail list from this format:
> > name1
> > name2
> > name3
> >
> > ...to this:
> > name1name2name3 <---one big long line with no separators.
> >
> > With over 6000 names it makes a huge long line instead with no space
> > between
> > the names either. It make a mess!
> >
> > I know how to convert
> > name1
> > name2
> > name3
> >
> > ...to
> > name1 name2 name3.
> >
> > like this:
> > #cat mybadlist | xargs > mygoodlist
> >
> > ...but, need the reverse.
> >
> > So how can I convert
> > name1name2name3
> > ...back to the original format?
> > name1
> > name2
> > name3
> >
> >
> > Would really appreciate your help as it is really messing up my mail
> > lists
> >
> > Thanks in advance!
> >
> > Best regards,
> >
> > Jack L. Stone
> >
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>
> It may be impossible, if the names have really been run together with
no
> separator at all. '[EMAIL PROTECTED]@[EMAIL PROTECTED]' cannot
> reliably be parsed into distinct names.  Are you quite sure there is
no
> separator - look at the file with od (octal dump).
>

I was afraid of that. Fortunately I have routine backups every few
hours.

I have discovered that I have not been able to reproduce the corruption
or script failure. In copying back the good formtted list (but with some
unsubscribes back in) and running the web page unsubscribe, it is fine
for now -- but, mystified as to why it happened. Only been using the
script for 3 days but has had numerous adds and deletes before this.

Some sort of bug in the script. I thought it might have been a very log
email on the list, but removing and putting back made no difference.
Only this one list has been affected and is one of the largest.

Thanks for your reply.

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


Re: Help on a little script

2005-01-23 Thread Mike Jeays
On Sun, 2005-01-23 at 11:30, antenneX wrote:
> Am running FBSD-4.10p2
> 
> I have a serious need for some help on a CGI script I just installed.
> I've tried to reach the author but no dice there.
> 
> It's used to automate "unsubscribes" on a mail list.
> 
> It works well except for this:
> It changes my mail list from this format:
> name1
> name2
> name3
> 
> ...to this:
> name1name2name3 <---one big long line with no separators.
> 
> With over 6000 names it makes a huge long line instead with no space
> between
> the names either. It make a mess!
> 
> I know how to convert
> name1
> name2
> name3
> 
> ...to
> name1 name2 name3.
> 
> like this:
> #cat mybadlist | xargs > mygoodlist
> 
> ...but, need the reverse.
> 
> So how can I convert
> name1name2name3
> ...back to the original format?
> name1
> name2
> name3
> 
> 
> Would really appreciate your help as it is really messing up my mail
> lists
> 
> Thanks in advance!
> 
> Best regards,
> 
> Jack L. Stone
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

It may be impossible, if the names have really been run together with no
separator at all. '[EMAIL PROTECTED]@[EMAIL PROTECTED]' cannot
reliably be parsed into distinct names.  Are you quite sure there is no
separator - look at the file with od (octal dump).

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


Re: Demand load of cd9660 filesystem not occurring

2005-01-23 Thread Steven Friedrich
On Sunday 23 January 2005 11:20 am, Steven Friedrich wrote:
> I've been wrestling with mounting CDs as a non-root user and even though I
> performed all the steps in the handbook, it failed.
>
> So I tried to mount a CD as root, and THAT failed.
>
> As it turns out, I had removed CD9660 from my kernel config (a LONG time
> ago), because FreeBSD is supposed to load it on demand if it's not in the
> kernel.
>
> I added it back to the kernel config and now I can mount CDs as root or
> non-root.
>
> I believe this to be a bug, but perhaps I have something mis-configured.
>
> Any ideas?  Can anyone confirm this anomaly on their system?
>
> The particular CD is a DesignCAD installation disk, and it's Joliet 3
> extensions.  It's in a TOSHIBA DVD-ROM SD-R5002 drive. I'm tracking FreeBSD
> 4.11.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

Ok, a little more work and I've discovered that I wasn't building the cd9660 
module.

So now, the problem is that if I am a non-root user, it won't demand load 
cd9660, but it will if I am root.

I don't know if this could be considered a bug, perhaps a warning should be 
added to the FAQ.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD 5.3: Kerberos and SSH

2005-01-23 Thread Mark A Gebert
I have the SSHD PAM setup to use Kerberos  the way I do under FreeBSD 
4.x. When I SSH into the box I
authenticate fine the KDC issues a ticket for me but the credentials 
cache does not get created. Clues?

--geeb
/etc/pam.d/sshd
#
# $FreeBSD: src/etc/pam.d/sshd,v 1.15 2003/04/30 21:57:54 markm Exp $
#
# PAM configuration for the "sshd" service
#
# auth
authsufficient  pam_krb5.so debug 
try_first_pass ccache=SAFE
#auth   requiredpam_nologin.so  no_warn
authsufficient  pam_opie.so no_warn 
no_fake_prompts
authrequisite   pam_opieaccess.so   no_warn allow_local
#auth   sufficient  pam_krb5.so no_warn 
try_first_pass
#auth   sufficient  pam_ssh.so  no_warn 
try_first_pass
authrequiredpam_unix.so no_warn 
try_first_pass

# account
account requiredpam_krb5.so
account requiredpam_login_access.so
account requiredpam_unix.so
# session
#sessionoptionalpam_ssh.so
session requiredpam_permit.so
# password
passwordsufficient  pam_krb5.so no_warn 
try_first_pass
#password   requiredpam_unix.so no_warn 
try_first_pass

% ssh tigger
Password:
FreeBSD 5.3-RELEASE (GENERIC) #0: Fri Nov  5 04:19:18 UTC 2004
Welcome to FreeBSD!
> klist
klist: No ticket file: /tmp/krb5cc_4465
5kdc log
Jan 23 12:29:12 lart.thugsrus.net krb5kdc[252](info): AS_REQ (1 etypes 
{1}) 66.93.3.118: ISSUE: authtime 1106501352, etypes {rep=1 tkt=1 
ses=1}, [EMAIL PROTECTED] for krbtgt/[EMAIL PROTECTED]
Jan 23 12:29:12 lart.thugsrus.net krb5kdc[252](info): TGS_REQ (1 etypes 
{1}) 66.93.3.118: ISSUE: authtime 1106501352, etypes {rep=1 tkt=1 
ses=1}, [EMAIL PROTECTED] for host/[EMAIL PROTECTED]

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


freebsd-users list - semi regular post

2005-01-23 Thread cmc3list-bsdnews
FreeBSD Users is a small (too small, so far :-))
informal mailing list for people who use FreeBSD.

The list is not meant to compete with the formal
FreeBSD lists, but to be a place for people who
like to use FreeBSD to hang out, ask questions,
talk about what interests them with FreeBSD. Think
of it as the users group your town doesn't have :-).

To join:
http://www.whee.org/mailman/listinfo/freebsd-users 

I'll try to post here at least monthly. Email me
if you have questions or comments.



=
Christopher Mark Conn
http://storm.cadcam.iupui.edu/~cmcgoat
Austin, Texas, USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Error installing dvipsk-tetex

2005-01-23 Thread Hiroki Sato
Hi,

Aaron Dalton <[EMAIL PROTECTED]> wrote
  in <[EMAIL PROTECTED]>:

a> I am now trying to install print/teTeX.  With some fiddling I have
a> gotten it to almost install.  Now I'm having a problem when it gets to
a> the installation of print/dvipsk-tetex.  Below is the error?  Can
a> anybody point me in the right direction?  I'm running FreeBSD 5.2.1-RELEASE.

 Probably you set the $TEXMF environment variable, right?
 Please try to unset $TEXMF first and do make the port.

 I will fix this problem soon.  Thanks for the report.

-- 
| Hiroki SATO


pgpDxmZGzZ6Ke.pgp
Description: PGP signature


Re: KDE issues after recent portupgrade

2005-01-23 Thread Michael C. Shultz
On Sunday 23 January 2005 08:53 am, Trey Sizemore wrote:
> On Sun, 2005-01-23 at 08:41 -0800, Michael C. Shultz wrote:
> > Yes. portupgrade screws up the port registration files when you run
> > pkgdb -F.  These are the files in /var/db/pkg/{portname}/+CONTENTS
> >
> > Portmanager does not mess with the registration files and can
> > usually straighten out the damage caused by pkgdb -F. As
> > portmanager runs it gives you good feedback on what it is doing and
> > why, and if you disagree or just question something it is perfectly
> > safe to ctrl-C out
> > of it.  When start again and it will just pick up from when you
> > left off.
>
> So as a general rule, it appears I would just cvsup my ports as usual
> and then use 'portmanager -u' rather than 'portupgrade -arR'.  No
> more need for portsdb -u and pkgdb -F then?

Correct.

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


Error installing dvipsk-tetex

2005-01-23 Thread Aaron Dalton
I am now trying to install print/teTeX.  With some fiddling I have
gotten it to almost install.  Now I'm having a problem when it gets to
the installation of print/dvipsk-tetex.  Below is the error?  Can
anybody point me in the right direction?  I'm running FreeBSD 5.2.1-RELEASE.
Thanks for your time!
Aaron
===>   teTeX-2.0.2_7 depends on executable: dvips - not found
===>Verifying install for dvips in /usr/ports/print/dvipsk-tetex
===>  Building for dvipsk-tetex-5.92b_2
/usr/bin/sed -e s!%%PAPERSIZE%%!letter!g -e
s!%%MKTEXLSR%%!/usr/local/bin/mktexlsr!g -e
s!%%DVIPSDIR%%!/usr/local/{/usr/local/share/texmf,{/home/aaron/texmf,!!/usr/local/share/texmf-var,!!/usr/local/share/texmf-local,!!/usr/local/share/texmf}}/dvips/config!g 

-e
s!%%DVIPSVARDIR%%!/usr/local/{/usr/local/share/texmf,{/home/aaron/texmf,!!/usr/local/share/texmf-var,!!/usr/local/share/texmf-local,!!/usr/local/share/texmf}}-var/dvips/config!g 

-e s!%%TEXCONFIG%%!/usr/local/bin/texconfig!g -e
s!%%LOCALBASE%%!/usr/local!g  <
/usr/ports/print/dvipsk-tetex/files/pkg-install.in >
/usr/ports/print/dvipsk-tetex/work/pkg-install.sh
sed: 1: "s!%%DVIPSDIR%%!/usr/loc ...": bad flag in substitute command: '!'
*** Error code 1
Stop in /usr/ports/print/dvipsk-tetex.
*** Error code 1

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


Re: IPSec without AH

2005-01-23 Thread Erik Norgaard
J65nko BSD wrote:
Ofcourse, it requires access to the (public?) keys to create valid
encrypted packets. Hence, if the public key is kept as a shared secret
among the authorized users, one could assume that ESP packets are
authenticated/trusted.
This is my idea, discard AH, rely on ESP and assume that anyone capable
of producing decryptable packets must have access to the pre-shared
secret "public" key and hence authorized.
Your are not the first to have this idea. The authors of "Secure
Architectures with OpenBSD" already published this ;)
Dang! Why do someone always steal my ideas before I get them?
AH would work, if both ends were NATaware, such that the rigth src/dst
ip could be inserted in the header before checking. It just occured to
me that maybe this could be done by adding yet another IP/IP tunnel?
OpenBSD 3.6 supports NAT traversal. From http://openbsd.org/36.html:
"isakmpd(8) now supports NAT-traversal and Dead Peer Detection (RFC 3706)."
Don't know how ling it would take to before this is supported by FreeBSD ;)
Interesting, I'll take a look at that - thanks.
Erik
--
Ph: +34.666334818   web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: KDE issues after recent portupgrade

2005-01-23 Thread Trey Sizemore
On Sun, 2005-01-23 at 08:41 -0800, Michael C. Shultz wrote:
> Yes. portupgrade screws up the port registration files when you run
> pkgdb -F.  These are the files in /var/db/pkg/{portname}/+CONTENTS 
> 
> Portmanager does not mess with the registration files and can usually 
> straighten out the damage caused by pkgdb -F. As portmanager runs it 
> gives you good feedback on what it is doing and why, and if you 
> disagree or just question something it is perfectly safe to ctrl-C
> out 
> of it.  When start again and it will just pick up from when you left 
> off.

So as a general rule, it appears I would just cvsup my ports as usual
and then use 'portmanager -u' rather than 'portupgrade -arR'.  No more
need for portsdb -u and pkgdb -F then?

-- 
Cheers,
Trey
---

Humor is the only test of gravity, and gravity of humor; for a subject
which will not bear raillery is suspicious, and a jest which will not
bear serious examination is false wit.
-- Aristotle 

11:50AM up 3:18, 0 users, load averages: 0.05, 0.07, 0.07 
FreeBSD salamander.thesizemores.net 5.3-STABLE i386

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


Re: KDE issues after recent portupgrade

2005-01-23 Thread Michael C. Shultz
On Sunday 23 January 2005 08:40 am, you wrote:
> On Sun, 2005-01-23 at 08:30 -0800, Michael C. Shultz wrote:
> > To not uninstall them, but to properly upgrade your installed ports
> > with
> > sysutils/portmanager.
>
> I'd tried with portupgrade, but it seems that is what caused the most
> recent issues.  I've not used portmanager before.  Would that be a
> better alternative to portupgrade?

Yes. portupgrade screws up the port registration files when you run
pkgdb -F.  These are the files in /var/db/pkg/{portname}/+CONTENTS 

Portmanager does not mess with the registration files and can usually 
straighten out the damage caused by pkgdb -F. As portmanager runs it 
gives you good feedback on what it is doing and why, and if you 
disagree or just question something it is perfectly safe to ctrl-C out 
of it.  When start again and it will just pick up from when you left 
off.

-Mike
 



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


Re: KDE issues after recent portupgrade

2005-01-23 Thread Trey Sizemore
On Sun, 2005-01-23 at 08:30 -0800, Michael C. Shultz wrote:
> To not uninstall them, but to properly upgrade your installed ports
> with
> sysutils/portmanager.

I'd tried with portupgrade, but it seems that is what caused the most
recent issues.  I've not used portmanager before.  Would that be a
better alternative to portupgrade?

-- 
Cheers,
Trey
---

It is easier to forgive an enemy than to forgive a friend.
â William Blake 

11:38AM up 3:06, 0 users, load averages: 0.40, 0.16, 0.07 
FreeBSD salamander.thesizemores.net 5.3-STABLE i386

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


Re: KDE issues after recent portupgrade

2005-01-23 Thread Michael C. Shultz
On Sunday 23 January 2005 08:23 am, Trey Sizemore wrote:
> On Sun, 2005-01-23 at 20:52 +1030, Ian Moore wrote:
> > You could try removing the kde packages & install packages instead
> > - the
> > FreeBSD-KDE people seem to suggest that's the prefered method for
> > KDE.
>
> 
>
> What is the 'best'/'easiest' way to uninstall kde ports and then do a
> fresh reinstall?

To not uninstall them, but to properly upgrade your installed ports with
sysutils/portmanager.

-Mike

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


Help on a little script

2005-01-23 Thread antenneX
Am running FBSD-4.10p2

I have a serious need for some help on a CGI script I just installed.
I've tried to reach the author but no dice there.

It's used to automate "unsubscribes" on a mail list.

It works well except for this:
It changes my mail list from this format:
name1
name2
name3

...to this:
name1name2name3 <---one big long line with no separators.

With over 6000 names it makes a huge long line instead with no space
between
the names either. It make a mess!

I know how to convert
name1
name2
name3

...to
name1 name2 name3.

like this:
#cat mybadlist | xargs > mygoodlist

...but, need the reverse.

So how can I convert
name1name2name3
...back to the original format?
name1
name2
name3


Would really appreciate your help as it is really messing up my mail
lists

Thanks in advance!

Best regards,

Jack L. Stone

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


Re: KDE issues after recent portupgrade

2005-01-23 Thread Trey Sizemore
On Sun, 2005-01-23 at 20:52 +1030, Ian Moore wrote:
> You could try removing the kde packages & install packages instead -
> the 
> FreeBSD-KDE people seem to suggest that's the prefered method for KDE.



What is the 'best'/'easiest' way to uninstall kde ports and then do a
fresh reinstall?

-- 
Cheers,
Trey
---

"Men do not differ much about what things they will call evils;
they differ enormously about what evils they will call excusable."
-- GK Chesterton 

11:22AM up 2:51, 0 users, load averages: 0.01, 0.03, 0.02 
FreeBSD salamander.thesizemores.net 5.3-STABLE i386

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


Demand load of cd9660 filesystem not occurring

2005-01-23 Thread Steven Friedrich
I've been wrestling with mounting CDs as a non-root user and even though I 
performed all the steps in the handbook, it failed.

So I tried to mount a CD as root, and THAT failed.

As it turns out, I had removed CD9660 from my kernel config (a LONG time ago), 
because FreeBSD is supposed to load it on demand if it's not in the kernel.

I added it back to the kernel config and now I can mount CDs as root or 
non-root.

I believe this to be a bug, but perhaps I have something mis-configured.

Any ideas?  Can anyone confirm this anomaly on their system?

The particular CD is a DesignCAD installation disk, and it's Joliet 3 
extensions.  It's in a TOSHIBA DVD-ROM SD-R5002 drive. I'm tracking FreeBSD 
4.11.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: IPSec without AH

2005-01-23 Thread J65nko BSD
On Sun, 23 Jan 2005 14:54:46 +0100, Erik Norgaard <[EMAIL PROTECTED]> wrote:
> J65nko BSD wrote:
> >>Due to the problems of IPSec with NAT I was thinking if it is posible to
> >>setup IPSec without Authenticated Headers? Does anyone know of a howto?
> 
> > The AH (Authenticated Header) protocol cannot be used with NAT, NAT
> > modifies the header of packets, while AH is supposed to protect that
> > header from being modified. Another IPSEC protocol ESP (Encrypted
> > Security Payload), both authenticates and encrypts, and thus has no
> > problem with NAT traversal.
> 
> Thanks, AFAIK, ESP and AH are used in conjunction in IPSec, ESP for
> encrypting the packet payload, and AH for authentication. ESP in it self
> does not provide authentication, but only encrypts the payload - hence
> the names :-)
> 
> Since ESP only encrypts the payload, as you say, ESP has no problem with
> NAT, whereas AH appends a signed checksum of the header. And since NAT
> alters the header, verifying the AH fails.
> 
> Ofcourse, it requires access to the (public?) keys to create valid
> encrypted packets. Hence, if the public key is kept as a shared secret
> among the authorized users, one could assume that ESP packets are
> authenticated/trusted.
> 
> This is my idea, discard AH, rely on ESP and assume that anyone capable
> of producing decryptable packets must have access to the pre-shared
> secret "public" key and hence authorized.

Your are not the first to have this idea. The authors of "Secure
Architectures with OpenBSD" already published this ;)

> AH would work, if both ends were NATaware, such that the rigth src/dst
> ip could be inserted in the header before checking. It just occured to
> me that maybe this could be done by adding yet another IP/IP tunnel?
> 
> Cheers, Erik

OpenBSD 3.6 supports NAT traversal. From http://openbsd.org/36.html:

"isakmpd(8) now supports NAT-traversal and Dead Peer Detection (RFC 3706)."
Don't know how ling it would take to before this is supported by FreeBSD ;)

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


Re: port 445 ?

2005-01-23 Thread Daniel S. Haischt
You can control which port Samba would use by adding
something like the following to your smb.conf:
smb ports = 139 445
This would cause the following result:
[EMAIL PROTECTED] $ sockstat | grep smb
haischt  smbd   3501  5  tcp4   192.168.120.1:445 
192.168.120.239:3046
haischt  smbd   3501  21 udp4   127.0.0.1:63184   *:*
haischt  smbd   3501  26 tcp4   192.168.120.25:51330  192.168.120.25:389
root smbd   1112  18 tcp4   127.0.0.1:139 *:*
root smbd   1112  19 tcp4   127.0.0.1:445 *:*
root smbd   1112  20 tcp4   192.168.120.1:139 *:*
root smbd   1112  21 tcp4   192.168.120.1:445 *:*

Marty Landman schrieb:
At 10:01 AM 1/23/2005, faisal gillani wrote:
i use samba on my freebsd server to share files , i dont use any 
active directory connectivity still the port "445/tcpopen
microsoft-ds" is open , i read is some where that this port should be 
close as it is dangerous to the server , is this true ?

Hi Faisal,
Are you running the newest Samba? I think this is relatively new because 
I run fbsd 4.8 and rh 9, both have samba but fbsd is running the new 
3.0.10 and rh is running an older 2.x version. Here are my (persistent) 
connections on my win xp gateway:

System:4TCP delliver:3033   penguin:netbios-ssn ESTABLISHED
System:4TCP delliver:3034   swamisalami:microsoft-ds 
ESTABLISHED

Notice that the connection is to netbios-ssn on the rh box running samba 
2.x, but to microsoft-ds which afaik is port 445 for the fbsd box 
running samba 3.0.10. TBH I don't know which port is being kept open for 
rh, so maybe this is of no help at all.

Well it helps me a little to repeat the bit that I do know. :)
Marty
Marty Landman, Face 2 Interface Inc. 845-679-9387
Search & Sort Easily: http://face2interface.com/Products/FormATable.shtml
Web Installed Formmail: http://face2interface.com/formINSTal
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"

--
Mit freundlichen Gruessen / With kind regards
DAn.I.El S. Haischt
Want a complete signature??? Type at a shell prompt:
$ > finger -l [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: gnome desktop ?

2005-01-23 Thread Daniel S. Haischt
Another option would be to start the GNOME display
manager (GDM) at boot time using /usr/X11R6/etc/rc.d/gdm.sh
Miguel Mendez schrieb:
On Sun, 23 Jan 2005 06:44:25 -0800 (PST)
faisal gillani <[EMAIL PROTECTED]> wrote:

Well i installed all the packages needed for gnome
desktop , but when i startx a plain dull desktop
manager comes , what can be wrong ?
how to start gnome ?

In the absence of a .xinitrc the default wm is executed (twm). Just
create a .xinitrc file in your home dir that contains the following:
exec gnome-session
If you're using xdm/gdm then you should put that in .xsession
Cheers,
--
Mit freundlichen Gruessen / With kind regards
DAn.I.El S. Haischt
Want a complete signature??? Type at a shell prompt:
$ > finger -l [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD 5.3 CD2 ?

2005-01-23 Thread faisal gillani
i installed freebsd 5.3 & the first cd installed
everything i needed , but i got 2 cds with freebsd , i
browsed it but couldent understand wat is it for 
?



=
*º¤., ¸¸,.¤º*¨¨¨*¤ Allah-hu-Akber*º¤., ¸¸,.¤º*¨¨*¤



__ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 

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


Re: port 445 ?

2005-01-23 Thread Marty Landman
At 10:01 AM 1/23/2005, faisal gillani wrote:
i use samba on my freebsd server to share files , i dont use any active 
directory connectivity still the port 
"445/tcpopenmicrosoft-ds" is open , i read is some where that 
this port should be close as it is dangerous to the server , is this true ?
Hi Faisal,
Are you running the newest Samba? I think this is relatively new because I 
run fbsd 4.8 and rh 9, both have samba but fbsd is running the new 3.0.10 
and rh is running an older 2.x version. Here are my (persistent) 
connections on my win xp gateway:

System:4TCP delliver:3033   penguin:netbios-ssn ESTABLISHED 

System:4TCP delliver:3034   swamisalami:microsoft-ds 
ESTABLISHED

Notice that the connection is to netbios-ssn on the rh box running samba 
2.x, but to microsoft-ds which afaik is port 445 for the fbsd box running 
samba 3.0.10. TBH I don't know which port is being kept open for rh, so 
maybe this is of no help at all.

Well it helps me a little to repeat the bit that I do know. :)
Marty
Marty Landman, Face 2 Interface Inc. 845-679-9387
Search & Sort Easily: http://face2interface.com/Products/FormATable.shtml
Web Installed Formmail: http://face2interface.com/formINSTal
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 5.3 CD2 ?

2005-01-23 Thread Daniel S. Haischt
AFAIK - The 2nd CD only contains additional software
packages ...
faisal gillani schrieb:
i installed freebsd 5.3 & the first cd installed
everything i needed , but i got 2 cds with freebsd , i
browsed it but couldent understand wat is it for 
?


=
*º¤., ¸¸,.¤º*¨¨¨*¤ Allah-hu-Akber*º¤., ¸¸,.¤º*¨¨*¤
		
__ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
--
Mit freundlichen Gruessen / With kind regards
DAn.I.El S. Haischt
Want a complete signature??? Type at a shell prompt:
$ > finger -l [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: port 445 ?

2005-01-23 Thread Daniel S. Haischt
Hummm - A similar question about port 445
was raised recently on this list. I would
at least do not allow incomming connections
*from* the internet and outgoing connections
*to* the internet on port 445.
You can accomplish that using a firewall-router
or one of the firewall software packages that
are distributed together with FreeBSD.
faisal gillani schrieb:
i use samba on my freebsd server to share files , i
dont use any active directory connectivity still the
port "445/tcpopenmicrosoft-ds" is open , i
read is some where that this port should be close as
it is dangerous to the server , is this true ?
thanks
 

=
*º¤., ¸¸,.¤º*¨¨¨*¤ Allah-hu-Akber*º¤., ¸¸,.¤º*¨¨*¤
		
__ 
Do you Yahoo!? 
All your favorites on one personal page – Try My Yahoo!
http://my.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

--
Mit freundlichen Gruessen / With kind regards
DAn.I.El S. Haischt
Want a complete signature??? Type at a shell prompt:
$ > finger -l [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: console messages after dmesg ?

2005-01-23 Thread Daniel S. Haischt
BTW - During boot time you can press 
and after that  ||  to
review the console messages.
faisal gillani schrieb:
How can i view the messages that comes after the
demesg output messages ?

=
*º¤., ¸¸,.¤º*¨¨¨*¤ Allah-hu-Akber*º¤., ¸¸,.¤º*¨¨*¤
		
__ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

--
Mit freundlichen Gruessen / With kind regards
DAn.I.El S. Haischt
Want a complete signature??? Type at a shell prompt:
$ > finger -l [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


port 445 ?

2005-01-23 Thread faisal gillani
i use samba on my freebsd server to share files , i
dont use any active directory connectivity still the
port "445/tcpopenmicrosoft-ds" is open , i
read is some where that this port should be close as
it is dangerous to the server , is this true ?

thanks
 

=
*º¤., ¸¸,.¤º*¨¨¨*¤ Allah-hu-Akber*º¤., ¸¸,.¤º*¨¨*¤



__ 
Do you Yahoo!? 
All your favorites on one personal page – Try My Yahoo!
http://my.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: console messages after dmesg ?

2005-01-23 Thread J.D. Bronson
What I do is this:
edit syslog.conf:
console.info/var/log/console.log
then 'touch /var/log/console.log'
kick syslog
Now anything that is tossed on the console will appear in
this log file :)

At 08:47 AM 1/23/2005, you wrote:
How can i view the messages that comes after the
demesg output messages ?

=
*º¤., ¸¸,.¤º*¨¨¨*¤ Allah-hu-Akber*º¤., ¸¸,.¤º*¨¨*¤

__
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


--
J.D. Bronson
Aurora Health Care // Information Services // Milwaukee, WI USA
Office: 414.978.8282 // Email: [EMAIL PROTECTED] // Pager: 414.314.8282
AIM:lonebanditusa // MSN:[EMAIL PROTECTED] // Yahoo:lonebanditusa
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: gnome desktop ?

2005-01-23 Thread Miguel Mendez
On Sun, 23 Jan 2005 06:44:25 -0800 (PST)
faisal gillani <[EMAIL PROTECTED]> wrote:

> Well i installed all the packages needed for gnome
> desktop , but when i startx a plain dull desktop
> manager comes , what can be wrong ?
> how to start gnome ?

In the absence of a .xinitrc the default wm is executed (twm). Just
create a .xinitrc file in your home dir that contains the following:

exec gnome-session

If you're using xdm/gdm then you should put that in .xsession

Cheers,
-- 
Miguel Mendez <[EMAIL PROTECTED]>
http://www.energyhq.es.eu.org
PGP Key: 0xDC8514F1



pgprY0uZZJrXv.pgp
Description: PGP signature


Re: gnome desktop ?

2005-01-23 Thread albi
faisal gillani wrote:
Well i installed all the packages needed for gnome
desktop , but when i startx a plain dull desktop
manager comes , what can be wrong ?
how to start gnome ?
install gdm, or try the following :
echo "gnome-session" > ~/.xinitrc and type startx
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


console messages after dmesg ?

2005-01-23 Thread faisal gillani
How can i view the messages that comes after the
demesg output messages ?



=
*º¤., ¸¸,.¤º*¨¨¨*¤ Allah-hu-Akber*º¤., ¸¸,.¤º*¨¨*¤



__ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


gnome desktop ?

2005-01-23 Thread faisal gillani
Well i installed all the packages needed for gnome
desktop , but when i startx a plain dull desktop
manager comes , what can be wrong ?
how to start gnome ?



=
*º¤., ¸¸,.¤º*¨¨¨*¤ Allah-hu-Akber*º¤., ¸¸,.¤º*¨¨*¤




__ 
Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we. 
http://promotions.yahoo.com/new_mail
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


gnome desktop ?

2005-01-23 Thread faisal gillani
Well i installed all the packages needed for gnome
desktop , but when i startx a plain dull desktop
manager comes , what can be wrong ?
how to start gnome ?



=
*º¤., ¸¸,.¤º*¨¨¨*¤ Allah-hu-Akber*º¤., ¸¸,.¤º*¨¨*¤



__ 
Do you Yahoo!? 
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 1 cpu + 2 monitors + 2 keybord/mouse + FreeBSD, is it possible??

2005-01-23 Thread Lee Harr
   FreeBSD is multi-user right? I know this setup but
only when other users are logging in remotely via
another pc. I just want to know if it is possible for
me to just buy 1 more monitor, a mouse and a keyboard
and just dig a hole between my brother's room and mine
and share with him my pc.

This comes up occasionally, and it can be hard to find much
information about it.
Here is one such discussion:
http://www.dbforums.com/showthread.php?p=3893544
My understanding is that it is not possible with FreeBSD
without quite a bit of hacking.
There has been some activity along these lines using Linux
however:
http://www.linuxplanet.com/linuxplanet/tutorials/3100/1/
http://www.userful.com/
Keep in mind that you would also need another video card
(or possibly a supported dual-head video card).
A much simpler alternative would be to use an old system
as a "thin" terminal. Where I live, systems that can be used
like that are often considered junk and can be had for free.
_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

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


Re: 1 cpu + 2 monitors + 2 keybord/mouse + FreeBSD, is it possible??

2005-01-23 Thread albi
Mark Jayson Alvarez wrote:
   FreeBSD is multi-user right? 
yes
I know this setup but
only when other users are logging in remotely via
another pc. I just want to know if it is possible for
me to just buy 1 more monitor, a mouse and a keyboard
and just dig a hole between my brother's room and mine
and share with him my pc. I really wanted him to learn
the inner workings of computer, but we cannot afford
to buy another computer. Used computers are cheaper
but not as cheap as just buying another used monitor
and a keyboard. I've heard something like a dumb
terminal but I guess it still requires another cpu.
i've been looking for a similar thing, and i know it's possible for 
linux, as you can see here :

http://cambuca.ldhs.cetuc.puc-rio.br/multiuser/
http://www.scii.nl/projects/3hm/
the idea is to have more than 1 extra videocard in the machine and then
use 2 or more keyboards and mice, personally i think this is a great 
hack and i've been searching for something like that for FreeBSD but 
have not found it

one other thing you can do however is to get yourself at least a
pentiumI with 32 Mb RAM and a NIC with PXE and make that a diskless
client attached to your machine
see here :
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-diskless.html
http://www.the-labs.com/FreeBSD/Diskless/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


sio1: configured irq 3 not in bitmap of probed irqs 0

2005-01-23 Thread krolk
hi

I've a fresh installation of freeBSD 5.3.
but why I get this error message in /var/log/messages:

Jan 23 14:05:40 bsd kernel: sio1: configured irq 3 not in bitmap of probed irqs 0
Jan 23 14:05:40 bsd kernel: sio1: port may not be enabled

If I try to load sound drivers, then I get :

bsd# kldload snd_driver
Jan 23 13:18:06 bsd kernel: sio1: configured irq 3 not in bitmap of probed irqs 0
Jan 23 13:18:06 bsd kernel: sio1: port may not be enabled
Jan 23 13:18:07 bsd kernel: sio1: configured irq 3 not in bitmap of probed irqs 0
Jan 23 13:18:07 bsd kernel: sio1: port may not be enabled
Jan 23 13:18:07 bsd kernel: sio1: configured irq 3 not in bitmap of probed irqs 0
Jan 23 13:18:07 bsd kernel: sio1: port may not be enabled
Jan 23 13:18:12 bsd kernel: sio1: configured irq 3 not in bitmap of probed irqs 0
Jan 23 13:18:12 bsd kernel: sio1: port may not be enabled
Jan 23 13:18:12 bsd kernel: sio1: configured irq 3 not in bitmap of probed irqs 0
Jan 23 13:18:12 bsd kernel: sio1: port may not be enabled
Jan 23 13:18:12 bsd kernel: sio1: configured irq 3 not in bitmap of probed irqs 0

Jan 23 13:18:12 bsd kernel: sio1: port may not be enabled
Jan 23 13:18:12 bsd kernel: sio1: configured irq 3 not in bitmap of probed irqs 0
Jan 23 13:18:12 bsd kernel: sio1: port may not be enabled
Jan 23 13:18:13 bsd kernel: pcm0:  port 0xd800-0xd8ff irq 5 at 
device 17.5 on pci0
Jan 23 13:18:13 bsd kernel: pcm0: [GIANT-LOCKED]
Jan 23 13:18:13 bsd kernel: pcm0:  


what's wrong and how can I solve this problem ?

kind regards
chris


__
Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min.
weltweit telefonieren! http://freephone.web.de/?mc=021201

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


Re: moving users to new puter

2005-01-23 Thread Chris Hill
On Sun, 23 Jan 2005, Perttu Laine wrote:
I'm moving all lusers from old server to new. What files and 
directories I need to copy? /usr/home of course and /etc/passwd and 
/etc/group.
In addition to those, I'd want to hold on to /etc/printcap, 
/etc/ntp.conf and /var/mail. /etc/hosts too, if you're using it. 
Basically anything from /etc that you've customized that isn't 
machine-specific. Possibly some things from /usr/local/etc as well,
depending on your application.

--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging <|> ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: IPSec without AH

2005-01-23 Thread Erik Norgaard
J65nko BSD wrote:
Due to the problems of IPSec with NAT I was thinking if it is posible to
setup IPSec without Authenticated Headers? Does anyone know of a howto?

The AH (Authenticated Header) protocol cannot be used with NAT, NAT
modifies the header of packets, while AH is supposed to protect that
header from being modified. Another IPSEC protocol ESP (Encrypted
Security Payload), both authenticates and encrypts, and thus has no
problem with NAT traversal.
Thanks, AFAIK, ESP and AH are used in conjunction in IPSec, ESP for 
encrypting the packet payload, and AH for authentication. ESP in it self 
does not provide authentication, but only encrypts the payload - hence 
the names :-)

Since ESP only encrypts the payload, as you say, ESP has no problem with 
NAT, whereas AH appends a signed checksum of the header. And since NAT 
alters the header, verifying the AH fails.

Ofcourse, it requires access to the (public?) keys to create valid 
encrypted packets. Hence, if the public key is kept as a shared secret 
among the authorized users, one could assume that ESP packets are 
authenticated/trusted.

This is my idea, discard AH, rely on ESP and assume that anyone capable 
of producing decryptable packets must have access to the pre-shared 
secret "public" key and hence authorized.

AH would work, if both ends were NATaware, such that the rigth src/dst 
ip could be inserted in the header before checking. It just occured to 
me that maybe this could be done by adding yet another IP/IP tunnel?

Cheers, Erik
--
Ph: +34.666334818   web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: IPSec without AH

2005-01-23 Thread J65nko BSD
On Sun, 23 Jan 2005 13:47:35 +0100, Erik Norgaard <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> Due to the problems of IPSec with NAT I was thinking if it is posible to
> setup IPSec without Authenticated Headers? Does anyone know of a howto?
> 
> My postulate is that since data is encrypted, this should provide the
> same security as SSL/TLS - or better as _all_ protocols are encapsulated
> - or did I miss something?
> 
> Thanks, Erik

The AH (Authenticated Header) protocol cannot be used with NAT, NAT
modifies the header of packets, while AH is supposed to protect that
header from being modified. Another IPSEC protocol ESP (Encrypted
Security Payload), both authenticates and encrypts, and thus has no
problem with NAT traversal.

BTW I am not an IPSEC expert, just scratched its surface a little bit ;)

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


RE: 1 cpu + 2 monitors + 2 keybord/mouse + FreeBSD, is it possible??

2005-01-23 Thread Subhro
Dumb terminals are "dumb" because they cant work on their own. In other
words they are useless if they cant set up a link with the backend computer.

Regards
S.

Indian Institute of Information Technology
Subhro Sankha Kar
Block AQ-13/1, Sector V
Salt Lake City
PIN 700091
India
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owner-freebsd-
> [EMAIL PROTECTED] On Behalf Of Mark Jayson Alvarez
> Sent: Sunday, January 23, 2005 18:37
> To: freebsd-questions@freebsd.org
> Subject: 1 cpu + 2 monitors + 2 keybord/mouse + FreeBSD, is it possible??
> 
> Hi,
>FreeBSD is multi-user right? I know this setup but
> only when other users are logging in remotely via
> another pc. I just want to know if it is possible for
> me to just buy 1 more monitor, a mouse and a keyboard
> and just dig a hole between my brother's room and mine
> and share with him my pc. I really wanted him to learn
> the inner workings of computer, but we cannot afford
> to buy another computer. Used computers are cheaper
> but not as cheap as just buying another used monitor
> and a keyboard. I've heard something like a dumb
> terminal but I guess it still requires another cpu.
> Just hoping if it's possible :(
> 
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-
> [EMAIL PROTECTED]"


smime.p7s
Description: S/MIME cryptographic signature


ipfw filtering of a netgraph bridge

2005-01-23 Thread Matt Dawson
Hi folks,
Is the above possible? I'm trying to filter by MAC address on an 
Atheros in 
hostap mode. Kernel bridging doesn't allow clients to talk to the interface 
on the other side of the bridge and since dhcpd listens on this interface 
it's pretty pointless using kernel bridging.

Is there some tomfoolery I have missed in setting this up to allow ipfw to 
filter on MAC? I'm using the standard ether.bridge script from examples, 
changed slightly and bunged in /usr/local/etc/rc.d so the bridge gets 
configured at boot and destroyed at shutdown.
-- 
Matt Dawson.

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


1 cpu + 2 monitors + 2 keybord/mouse + FreeBSD, is it possible??

2005-01-23 Thread Mark Jayson Alvarez
Hi,
   FreeBSD is multi-user right? I know this setup but
only when other users are logging in remotely via
another pc. I just want to know if it is possible for
me to just buy 1 more monitor, a mouse and a keyboard
and just dig a hole between my brother's room and mine
and share with him my pc. I really wanted him to learn
the inner workings of computer, but we cannot afford
to buy another computer. Used computers are cheaper
but not as cheap as just buying another used monitor
and a keyboard. I've heard something like a dumb
terminal but I guess it still requires another cpu.
Just hoping if it's possible :(

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


mbmon with Tyan 2510

2005-01-23 Thread Joe Kraft
Has anyone used the sysutils/xmbmon port to get status from the Tyan 
S2510 motherboard?  I'm using FBSD 5.3.

mbmon seems to detect the system monitor chip and read it OK, but it 
doesn't report everything.

I'm only receiving one temperature value and two fan speeds.  The 
temperature appears to be the case temp. The fan speed is from one of 
the CPUs and the other from one of the case fans.

[EMAIL PROTECTED] joe]$ mbmon -d
Using SMBus access method[ServerWorks(ServerSet Chipset)]!!
* Nat.Semi.Con. Chip LM80 found.
[EMAIL PROTECTED] joe]$ mbmon
Temp.= 24.3,  0.0,  0.0; Rot.= 7031, 3443,0
Vcore = 1.46, 2.79; Volt. = 3.44, 2.90,  0.63,  -0.10, -0.00
Any help you can provide to help me figure this out would be appreciated.
Joe.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: RELENG_4 IPX commit broke net/mars_nwe?

2005-01-23 Thread Robert Watson

On Thu, 13 Jan 2005, Boris Popov wrote:

> On Wed, Jan 12, 2005 at 08:50:02PM +0300, Igor B. Bykhalo wrote:
> > 
> > Looks like the follwoing commit broke net/mars_nwe port
> > on my RELENG_4 file server box:
> 
>   Yes, it seems to be.  Mars_nwe have different idea about
> added macro:
> 
> # define sipx_node sipx_addr.x_host.c_host
> # define sipx_network sipx_addr.x_net.c_net
> # define ipx_netlong(iaddr) (((union ipx_net_u *)(&((iaddr).x_net)))->long_e)

I've backed out the change, and wonder if the correct variation would be
the change I merged, with the addition of __packed, which would make the
above work on architectures with strong alignment requirements?

Robert N M Watson


> 
> > 
> >  Edit src/sys/netipx/ipx.h
> >   Add delta 1.15.2.1 2005.01.02.13.00.51 rwatson
> > 
> > 
> > ===
> > RCS file: /usr/local/www/cvsroot/FreeBSD/src/sys/netipx/ipx.h,v
> > retrieving revision 1.15
> > retrieving revision 1.15.2.1
> > diff -u -p -r1.15 -r1.15.2.1
> > --- src/sys/netipx/ipx.h1999/08/28 18:21:52 1.15
> > +++ src/sys/netipx/ipx.h2005/01/02 13:00:51 1.15.2.1
> > @@ -33,7 +33,7 @@
> >   *
> >   * @(#)ipx.h
> >   *
> > - * $FreeBSD: /usr/local/www/cvsroot/FreeBSD/src/sys/netipx/ipx.h,v 1.15 
> > 1999/08/28 18:21:52 jhay Exp $
> > + * $FreeBSD: /usr/local/www/cvsroot/FreeBSD/src/sys/netipx/ipx.h,v 
> > 1.15.2.1 2005/01/02 13:00:51 rwatson Exp $
> >   */
> >  
> >  #ifndef _NETIPX_IPX_H_
> > @@ -108,6 +108,7 @@ union ipx_host {
> >  union ipx_net {
> > u_char  c_net[4];
> > u_short s_net[2];
> > +   u_int   u_net;
> >  };
> >  
> >  union ipx_net_u {
> > @@ -131,6 +132,8 @@ struct sockaddr_ipx {
> > charsipx_zero[2];
> >  };
> >  #define sipx_port sipx_addr.x_port
> > +#define sipx_network sipx_addr.x_net.u_net
> > +#define sipx_node sipx_addr.x_host.c_host
> >  
> >  /*
> >   * Definitions for IPX Internetwork Packet Exchange Protocol
> > 
> 
> -- 
> Boris Popov
> http://rbp.euro.ru
> 

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


IPSec without AH

2005-01-23 Thread Erik Norgaard
Hi,
Due to the problems of IPSec with NAT I was thinking if it is posible to 
setup IPSec without Authenticated Headers? Does anyone know of a howto?

My postulate is that since data is encrypted, this should provide the 
same security as SSL/TLS - or better as _all_ protocols are encapsulated 
- or did I miss something?

Thanks, Erik
--
Ph: +34.666334818   web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


problem with a camera pentax S50

2005-01-23 Thread guzman
I've got a problem with a Pentax Optio S50. I can't make it work with my fbsd 
5.3.
It's first announce as :
umass0: PENTAX product 0x001f, rev 1.10/0.00, addr 2
and some seconds later dmesg says the folowing several times :
umass0: CBI reset failed, IOERROR
umass0: CBI bulk-in stall clear failed, IOERROR
umass0: CBI bulk-out stall clear failed, IOERROR

I can't figure what it come from, the camera work well on the same computer 
under XP, and well also under a fbsd 4.10 on an another computer.
I currently have both ehci and ohci in my kernel, but I've tried to separate 
them, and it doesn't work.

Any help would be great.

Cheers,
Guzman




here is the complete dump of my dmesg, with connecting and deconnecting the 
camera :

Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.3-RELEASE #4: Sun Jan 23 11:35:36 CET 2005
[EMAIL PROTECTED]:/home/src/sys/i386/compile/Barjack
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2390.31-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf24  Stepping = 4
  
Features=0x3febf9ff
real memory  = 534708224 (509 MB)
avail memory = 517746688 (493 MB)
npx0: [FAST]
npx0:  on motherboard
npx0: INT 16 interface
acpi0:  on motherboard
acpi0: Power Button (fixed)
unknown: I/O range not supported
unknown: I/O range not supported
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0
cpu0:  on acpi0
acpi_tz0:  on acpi0
acpi_acad0:  on acpi0
acpi_cmbat0:  on acpi0
acpi_lid0:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
agp0:  mem 0xd000-0xdfff at device 0.0 on 
pci0
pcib1:  at device 1.0 on pci0
pcib1: could not get PCI interrupt routing table for \\_SB_.PCI0.AGP_ - 
AE_NOT_FOUND
pci1:  on pcib1
pci1:  at device 0.0 (no driver attached)
isab0:  at device 2.0 on pci0
isa0:  on isab0
atapci0:  port 
0x1000-0x100f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 2.5 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pcm0:  port 0x1080-0x10ff,0x1400-0x14ff at device 2.7 on pci0
pcm0: [GIANT-LOCKED]
pcm0: 
ohci0:  mem 0xe000-0xefff irq 5 at device 3.0 
on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0:  on ohci0
usb0: USB revision 1.0
uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ohci1:  mem 0xe0001000-0xe0001fff irq 5 at device 3.1 
on pci0
ohci1: [GIANT-LOCKED]
usb1: OHCI version 1.0, legacy support
usb1: SMM does not respond, resetting
usb1:  on ohci1
usb1: USB revision 1.0
uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ohci2:  mem 0xe0002000-0xe0002fff irq 5 at device 3.2 
on pci0
ohci2: [GIANT-LOCKED]
usb2: OHCI version 1.0, legacy support
usb2: SMM does not respond, resetting
usb2:  on ohci2
usb2: USB revision 1.0
uhub2: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0:  mem 0xe0003000-0xe0003fff at device 
3.3 on pci0
ehci0: [GIANT-LOCKED]
ehci_pci_attach: companion usb0
ehci_pci_attach: companion usb1
ehci_pci_attach: companion usb2
usb3: EHCI version 1.0
usb3: companion controllers, 2 ports each: usb0 usb1 usb2
usb3:  on ehci0
usb3: USB revision 2.0
uhub3: SiS EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
pci0:  at device 6.0 (no driver attached)
rl0:  port 0x1800-0x18ff mem 0xe0004000-0xe00040ff 
at device 8.0 on pci0
miibus0:  on rl0
rlphy0:  on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:40:ca:bd:03:1d
cbb0:  mem 0x8000-0x8fff irq 10 at 
device 12.0 on pci0
cardbus0:  on cbb0
pccard0: <16-bit PCCard bus> on cbb0
fwohci0:  mem 0xe0005000-0xe0005fff at device 13.0 on pci0
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channels is 8.
fwohci0: EUI64 00:40:ca:01:10:01:81:0f
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0:  on fwohci0
sbp0:  on firewire0
fwe0:  on firewire0
if_fwe0: Fake Ethernet address: 02:40:ca:01:81:0f
fwe0: Ethernet address: 02:40:ca:01:81:0f
fwe0: if_start running deferred for Giant
fwohci0: Initiate bus reset
fwohci0: node_id=0xc000ffc0, gen=4, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
acpi_button0:  on acpi0
ppc0:  port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0:  on ppc0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
atkbdc0:  port 0x64,0x60 irq 1 on acpi0
atkbd0:  irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0:  irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device 

Re: bug report submission

2005-01-23 Thread Giorgos Keramidas
On 2005-01-23 11:57, Erik Norgaard <[EMAIL PROTECTED]> wrote:
>Chris Landauer wrote:
>> can anyone tell me how to submit a bug report using lynx? i filled
>> out all of the requested fields, but since i can't see any images at
>> all in that browser, i can't enter the right code, so i'm stuck so far

Use send-pr(1) or a GUI browser, please.  If we *did* use something that
can be readable as text (i.e. an ALT="" attribute to the image), then
the Gnats trolls, who like spamming the database, would find an easy way
to automatically circumvent spam protection.

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


  1   2   >