USB External Drive

2003-07-09 Thread Richard Beyer
Hi,

I'm trying to get a USB external drive working on FreeBSD-4.8

Plugging it in gives all the expected kernel messages.

> camcontrol devlist
gives:
  at scbus0 target 0 lun 0 (da0,pass0)

fdisk -I /dev/da0
gives:
fdisk: can't open device /dev/da0
fdisk: cannot open disk /dev/da0: Input/output error

with /var/log/messages showing:

Jul 10 16:19:34 enterprise /kernel: da0: reading primary partition table:
error reading fsbn 0
Jul 10 16:19:34 enterprise /kernel: da0: reading primary partition table:
error reading fsbn 0


Any help would be appreciated.
Cheers,
Richard

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


Anyone able to run e2fsck

2003-07-09 Thread W. Sierke
I just can't get e2fsck to run on my 4.8 system. As mentioned in a previous
thread, after a crash I had to resort to booting with tomsrtbt and ran what
appears to be the same version of e2fsck. Now, with the box back up and
running, I still can't run e2fsck under BSD.

I'm therefore interested to hear from anyone who is able to run it and/or
has any suggestions as to why I might be having problems. The ext2fs
partitions happen to be in a DOS extended partition, hence they appear on my
system as:

/dev/ad0s5 and
/dev/ad0s6

# e2fsck /dev/ad0s5
e2fsck 1.27 (8-Mar-2002)
The filesystem size (according to the superblock) is 1281175 blocks
The physical size of the device is 0 blocks
Either the superblock or the partition table is likely to be corrupt!
Abort? yes

and similar result for ad0s6. Having run e2fsck from tomsrtbt, they are now
mounting fine and the system is running normally, but I'd prefer to not have
to resort to booting under linux to maintain these volumes if possible.


Thanks,

Wayne

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


RE: VPN setup problem - proxy arp I think

2003-07-09 Thread Brent Wiese
Set gateway="YES" in rc.conf and reboot.

Then look into ipfw so you don't end up passing bogus traffic.


> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Koroush Saraf
> Sent: Monday, June 30, 2003 7:09 PM
> To: [EMAIL PROTECTED]
> Subject: VPN setup problem - proxy arp I think
> 
> 
> 
> 
> 
> Hi all,
> 
> I read the setup at 
> http://www.blackh0le.net/articles/vpn-dun-howto.html to setup 
> my VPN. However, I'm having a problem which I think is 
> proxy-ARP not working.  I like to ask you to see if you know 
> what's going on.  When I ping 10.77.1.1 from windows XP 
> machine the packets get to the 10.77.1.1 machine, but they 
> don't have a return path to get back.  When I do ping the 
> windows machine from 10.77.1.1 I get: 
> ping: sendto: Host is down
> 
> When I add static route to 10.77.1.1 the machines can talk to 
> each other. 
> (route add 10.77.1.50/32 10.77.1.2)
>  But I don't think I need to setup a static route if Proxy ARP worked!
> 
> I've included my config files in this email.  Please note 
> that the I get a message back saying "[pptp1] no interface to 
> proxy arp on for 10.77.1.50"  could this be my problem?  how 
> can I fix it? Thanks very much, ~koroush
> 
> 
> =
> 
> 
> I network looks as follows
> 
> Freebsd 4.6
> IP 10.77.1.1/24
> |
> |
> fxp0:10.77.1.2/24
> Freebsd 4.8 (DELL2) (only 1 network card)
> ng0: 10.77.13
> |
> |
> Windows XP machine with tunnel.
> 10.77.1.50
> 
> 
> 
> ==
> Config files for Dell 2:
> DELL2# ifconfig -a
> fxp0: flags=8843 mtu 1500
> inet 129.197.244.10 netmask 0xfff0 broadcast 
> 129.197.244.15
> inet 10.0.0.249 netmask 0xff00 broadcast 10.0.0.255
> inet 10.77.1.2 netmask 0xff00 broadcast 10.77.1.255
> inet 10.77.2.2 netmask 0xff00 broadcast 10.77.2.255
> inet 10.77.3.2 netmask 0xff00 broadcast 10.77.3.255
> inet 10.77.4.2 netmask 0xff00 broadcast 10.77.4.255
> inet 10.77.5.2 netmask 0xff00 broadcast 10.77.5.255
> ether 00:07:e9:87:ca:4f
> media: Ethernet autoselect (100baseTX )
> status: active
> lp0: flags=8810 mtu 1500
> lo0: flags=8049 mtu 16384
> inet 127.0.0.1 netmask 0xff00
> lo1: flags=8008 mtu 16384
> ppp0: flags=8010 mtu 1500
> sl0: flags=c010 mtu 552
> faith0: flags=8002 mtu 1500
> ng0: 
> flags=88d1 mtu 1256
> inet 10.77.1.2 --> 10.77.1.50 netmask 0x
> ng1: flags=8890 mtu 1500
> ng2: flags=8890 mtu 1500
> ng3: flags=8890 mtu 1500
> ng4: flags=8890 mtu 1500
> 
> ===
> 
> DELL2# pwd
> /usr/local/etc/mpd
> DELL2# cat mpd.conf
> default:
> load client1
> load client2
> load client3
> load client4
> load client5
> 
> pptp_common_settings:
> set link type pptp
> set pptp enable incoming
> set pptp disable originate
> set iface disable on-demand
> set iface enable proxy-arp
> #   set iface idle 1800
> set bundle enable multilink
> set link yes acfcomp protocomp
> set link no pap chap
> set link enable chap
> #   set link keep-alive 10 60
> set link mtu 1260
> set ipcp yes vjcomp
> #   set ipcp ranges 10.77.1.1/32 10.77.1.50/32
> #   set ipcp dns 10.77.1.1
> #   set ipcp nbns 10.77.1.1
> set bundle enable compression
> set ccp yes mppc
> set ccp yes mpp-e40
> #   set ccp yes mpp-e128
> set ccp yes mpp-stateless
> 
> client1:
> new -i ng0 pptp1 pptp1
> set ipcp range 10.77.1.2/24 10.77.1.50/24
> load pptp_common_settings
> 
> client2:
> new -i ng1 pptp2 pptp2
> set ipcp range 10.77.2.2/32 10.77.2.50/32
> load pptp_common_settings
> 
> client3:
> new -i ng2 pptp3 pptp3
> set ipcp range 10.77.3.3/32 10.77.3.50/32
> load pptp_common_settings
> 
> client4:
> new -i ng3 pptp4 pptp4
> set ipcp range 10.77.4.3/32 10.77.4.50/32
> load pptp_common_settings
> 
> client5:
> new -i ng4 pptp5 pptp5
> set ipcp range 10.77.5.3/32 10.77.5.50/32
> load pptp_common_settings
> 
> DELL2#
> =
> DELL2# cat mpd.secret
> demo1 "demo1" 10.77.1.50/24
> demo2 "demo2" 10.77.2.50/24
> demo3 "demo3" 10.77.3.50/24
> demo4 "demo4" 10.77.4.50/24
> demo5 "demo5" 10.77.5.50/24
> 
> RUN TIME 
> 
> DELL2# mdp default
> mdp: Command not found.
> DELL2# mpd default
> Multi-link PPP for FreeBSD, by Archie L. Cobbs.
> Based on iij-ppp, by Toshiharu OHNO.
> mpd: pid 281, version 3.13 ([EMAIL PROTECTED] 09:44 
> 23-Jun-2003) [pptp1] ppp node is "mpd281-pptp1"
> mpd: local IP address for PPTP is 129.197.244.10
> [pptp1] using interface ng0
> [pptp1] device type already set to pptp
> [pptp2] ppp node is "mpd281-pptp2"
> [pptp2] using interface ng1
> [pptp2] device type already set to pptp
> [pptp3] ppp node is "mpd281

Re: Printing from KDE

2003-07-09 Thread Brett Glass
The owners of the machine installed FreeBSD 4.8, with KDE as supplied as a
FreeBSD package on the install disk.  This package installs the KDE utlities
package as a dependency.  However, the utilities package does not include the
"KJettool" utility, nor is that utility available as a separate port.

After I saw your message, I tried to install the utility separately, but could
not find the utility except as an RPM. If one goes to the KDE code repository
and looks in the CVS tree, one finds that the branch with BSD support is
empty. All that's there is a comment saying that BSD support didn't work and
was discontinued.

So, perhaps an earlier version of KDE for FreeBSD had the utility, but the
current one does not.

--Brett

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


Re: Printing from KDE

2003-07-09 Thread Brian Astill
On Thu, 10 Jul 2003 02:16 pm, Brett Glass wrote:
> At 11:50 PM 7/6/2003, Brian Astill wrote:
> >That shouldn't be an issue.  Utilities-KJettool is designed for HP
> >Laserjets.  Have you tried that?
>
> Can't. It won't run on anything but Linux.

Brett - that simply isn't so.
I run FBSD 4.8/KDE3.0 and only mentioned it to you after invoking it 
myself.  It certainly WILL run. Whether it is effective for you is 
another matter of course.

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


Re: Apache 4.8 Stable

2003-07-09 Thread Rob
Only essential software is in the base system - for something like
Apache, you have to install it from the ports collection. Here's a
walk-through...

Install the apache package:

* If you have the 4 CD set for 4.8-RELEASE, mount CD 4 and do

pkg_add /cdrom/packages/www/apache-1.3.27_4.tgz

* If you don't, then do

cd /usr/ports/www/apache13
make install

Make a config file:

  cd /usr/local/etc/apache
  cp httpd.conf.default httpd.conf
  vi httpd.conf

Enable the startup script:

  cd /usr/local/etc/rc.d
  cp apache.sh.default apache.sh

Start apache:

  /usr/local/etc/rc.d/apache.sh start

And you're done!

- Original Message -
From: "DanB" <[EMAIL PROTECTED]>
To: "freebsd" <[EMAIL PROTECTED]>
Sent: Thursday, July 10, 2003 2:07 PM
Subject: Apache 4.8 Stable


> Is Apache software built in like sendmail?  How do you start it?
>
> Dan
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>

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


Re: Change terminals

2003-07-09 Thread Stephen Hilton
On 07 Jul 2003 22:35:08 -0700
"Marvin J. Kosmal" <[EMAIL PROTECTED]> wrote:

> 
> 
> Question
> 
> When you ssh into your work machine from home
> 
> How or can you change the terminal you are on..
> 
> 
> 
> example below
> 
> 
> 
> 
> 
> Last login: Mon Jul  7 22:23:50 2003 from clark.lab
> [EMAIL PROTECTED]:~$ w
>  22:31:55 up 4 days,  8:42,  7 users,  load average: 1.16, 1.03, 1.01
> USER TTY  FROM  LOGIN@   IDLE   JCPU   PCPU WHAT
> mkosmal  :0   -Thu13   ?xdm?  14:27   4.09s
> /usr/bin/icewm-experimental
> mkosmal  pts/0:0   Thu134days  4days  4days
> ./setiathome
> mkosmal  pts/1:0   Thu134days  0.07s  0.07s -bash
> mkosmal  pts/2:0.0 Thu154days  0.31s  0.28s ssh
> [EMAIL PROTECTED]
> mkosmal  pts/3:0.0 Thu164days  0.00s  0.00s -bash
> mkosmal  pts/4:0.0 Thu164days  0.04s  0.04s -bash
> mkosmal  pts/5pdx-ppp374.pop1. 22:310.00s  0.04s  0.02s w
>  
> 
> 
> I did the w.  and am on pts/5
> 
> How do I get to pts/0??
> 
> 
> TIA

Marvin,

Try the program called "screen" in the ports tree at:
/usr/ports/misc/screen

A very usefull utility to allow you to attach and detach from 
terminal sessions. Once you start using it you will never 
go back, like FreeBSD.

Regards,

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


Re: Printing from KDE

2003-07-09 Thread Brett Glass
At 11:50 PM 7/6/2003, Brian Astill wrote:

>That shouldn't be an issue.  Utilities-KJettool is designed for HP 
>Laserjets.  Have you tried that?

Can't. It won't run on anything but Linux. (Yet another reason why
the BSDs should have their own, non-GPLed desktop.)

--Brett Glass

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


Re: Apache 4.8 Stable

2003-07-09 Thread JacobRhoden
On Thu, 10 Jul 2003 02:37 pm, DanB wrote:
> Is Apache software built in like sendmail?  How do you start it?

No, but its very easy to install, just download the package, and install it 
using the pkg_add command.

Regards,
Jacob

Jacob RhodenPhone: +61 3 8344 4478
ITS DivisionEmail: [EMAIL PROTECTED]
Melbourne University   Mobile: +61 403 788 386
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Apache 4.8 Stable

2003-07-09 Thread DanB
Is Apache software built in like sendmail?  How do you start it?

Dan

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


Re: nutball video question

2003-07-09 Thread Olivier Nicole
> only the original Matrox Meteor is supported, and it cannot run
> on modern PCI buses without locking up.

I am sorry to say, but I have been using a cheap card build on
brooktree chip and it is working fine (at least for still captudes)

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


Newbie proxy question

2003-07-09 Thread Remington L.
I am interested in installing an FTP proxy server on my default gateway. I
understand caching and all that, my question goes along the lines of
security. Lets say I leave ports 21, 20 open on the server(default gateway)
and I have another machine which is the actually FTP server. I read
somewhere about proxy packet inspection. It is my understanding that without
the proxy anyone can portscan me and find the open port. With proxy
inspection it will only allow in valid FTP commands through, making it
harder to find the open ports. Does this hold true? And I would like to here
any ideas you guys may have on a good proxy, right now im looking at jftpgw

Thanks for your time
-Remi


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


Re: .forward file

2003-07-09 Thread Vincent Poy
On 9 Jul 2003, Marvin J. Kosmal wrote:

>
>
> .forward file
>
> So I want to forward my mail from
>
> a box with the email as
>
> [EMAIL PROTECTED]
>
> to
>
> [EMAIL PROTECTED]
>
> So if I understand this the syntax would be ( in .forward)
>
> [EMAIL PROTECTED]:  [EMAIL PROTECTED]
>
> ???
>
> Yes/NO???
>
> TIA

No, it should just be the address per line:

[EMAIL PROTECTED]

would forward to only [EMAIL PROTECTED]

and

[EMAIL PROTECTED]
[EMAIL PROTECTED]

would forward to both [EMAIL PROTECTED] and [EMAIL PROTECTED]


Cheers,
Vince - [EMAIL PROTECTED] - Vice President    __ 
Unix Networking Operations - FreeBSD-Real Unix for Free / / / / |  / |[__  ]
WurldLink Corporation  / / / /  | /  | __] ]
San Francisco - Honolulu - Hong Kong  / / / / / |/ / | __] ]
HongKong Stars/Gravis UltraSound Mailing Lists Admin /_/_/_/_/|___/|_|[]
[EMAIL PROTECTED] - oahu.DAL.NET Hawaii's DALnet IRC Network Server Admin

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


.forward file

2003-07-09 Thread Marvin J. Kosmal


.forward file

So I want to forward my mail from

a box with the email as 

[EMAIL PROTECTED]

to 

[EMAIL PROTECTED]

So if I understand this the syntax would be ( in .forward)

[EMAIL PROTECTED]:  [EMAIL PROTECTED]

???

Yes/NO???

TIA



-- 
Marvin J. Kosmal
Linux Activist
Registered User # 88512
Brought to by Libranet 2.7

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


[no subject]

2003-07-09 Thread esayer1
FreeBSD-
I have a question about RAID software.  Is there such a thing, and if so is
there a ported RAID package that is compadible with SCSI?
-Evan

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


Remote Printing

2003-07-09 Thread Derrick
I have a nice laser printer set up on my router which was installed via
CUPS and shared via samba.  It works perfectly with my XP and 2k
machines, but I am having trouble getting my 4.8 Desktop machine to
print to it.  I installed the same version of CUPS on the desktop to try
to facilitate the setup.  Right now, anytime I send a print job (print
test page, line print), it connects, then says the printer is busy, will
try again in 10 seconds.

Looking at the router's log files, it shows a ton of connects from the
client, so many that it gives the message of Possible DoS attach from
192.168.0.20.  The current max connects per client is 10, so my client
must be sending a bunch of connect for a single print job.

Any ideas on how to get through this?  Note:  I am not totally against
trying a different way to configure the printer, I just am more
familliar with CUPS than with printcap.

-Derrick

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


Changed a filesystem's name -- now system hangs on reboot (help)

2003-07-09 Thread [EMAIL PROTECTED]
Any help appreciated... I feel like I've painted myself into a corner.

The problem: system drops into /bin/sh on reboot without going through a
full reboot because it can't find a filesystem (/storage) that it's looking
for. I can't get into /etc/fstab to comment out the offending line because
I can't get booted.

This is as far as the boot gets:

# mount: /storage: No such file or directory
# Mounting /etc/fstab filesystems failed, startup aborted
# Enter full pathname of shell or RETURN for /bin/sh:


Background: I turned /storage into /var/ftp/many_more_files by unmounting
it and renaming it and remounting it. Everything worked fine until I needed
to do a reboot following a physical move of the box.

I've looked through the handbook and tried (unsuccessfully) to reboot into
single-user mode or otherwise get to a place where I can either comment out
the line in fstab or skip the check -- no luck.

Any ideas much appreciated.

G.


mail2web - Check your email from the web at
http://mail2web.com/ .


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


Re: (repeated questions)

2003-07-09 Thread Joel Rees
> FreeBSD Question Answerer-
>   First of all thank you for your help and time.  I have a question about
> running a Samba server where the server is a FreeBSD machine and the client
> is a Macintosh ibook running max os X.

If the only client is a Mac, I'd suggest looking into NFS or netatalk. 
(Why mess with M$ pseudo-standards if there is no M$ on the network?) Mac
OS X does samba, so, if you also have MSWindows boxes on the network
with which you want to share, Samba would work.

As has been pointed out, Samba support in Mac OS X prior to 10.2 was not
the best, so you may find you want to upgrade your Mac OS if you go that
path. (I was able to get Samba client on Mac OS x 10.0 to work with
MSWindows boxes, but I never tried it with *NIX Samba.)

> The client would have a wireless PC
> card connection that runs through the same bridge as the server. 

Not sure what you're saying there. If the FreeBSD machine is on one side
of a bridge and the Mac is on the other, there will probably be some
minor additional setup, beyond what you do when both machines are on the
same side of the bridge. I think. I've never done this, though, only
read about it, so you'll need someone else's help if it goes south on
you.

>  Can the
> client and the server share files and devices with this setup? 

The client can access files on the server, if you set it up right. The
server can not access files on the client, unless the client is also
serving (and properly set up). I don't think you can share raw devices,
but I've never tried, so I may well be wrong.

> I was also
> wondering about how Samba was configured, is it through the /etc/exports
> file or is it done differently?

If you can browse http, Google is one of your friends --

http://www.google.com/search?hl=en&ie=ISO-8859-1&q=samba+setup&btnG=Google+Search

http://www.google.com/search?hl=en&ie=ISO-8859-1&q=samba+setup+freebsd&btnG=Google+Search

http://www.google.com/search?hl=en&ie=ISO-8859-1&q=samba+setup+mac+os+x&btnG=Google+Search

> Also is Samba in the ports packages tree?

Was the last time I looked. (Or was that the openBSD tree or the ... ;-/)

> Also does Samba allow computers to share devices?  Could i have a server
> with a DVD-ROM, and watch DVDs on a client?

Anybody know for sure? I'm pretty sure NFS and appletalk will share CDs
mounted with the right permissions. 

> Also how are shared files
> stored on a Samba network, does the server store them all and they are all
> accessible to the clients, or does the machine where the file was made store
> it and it's accessible to all the clients? 

Under file sharing, a client accesses the file system on the server, or,
rather, the part of the file system the server is set up to share,
preferably not including root.

Files on any machine not serving are not accessible to other machines,
unless the operator on the client deliberately copies them to the server.
But, then, it's only the copy that is accessible.

> Also i was going to RAID
> together three SCSI harddrives in the server and also have one seperate IDE
> harddrive.  The three SCSIs will store FreeBSD and be the storage for the
> Samba server, and the IDE will run DOS.  Will the FreeBSD boot manager
> recognize DOS even though it is on another harddrive, or will i have to boot
> to it manually through the BIOS?

I think this topic has come up in the very recent past on this list. Hmm.
Not so recent, maybe, but check some of the threads here:


http://marc.theaimsgroup.com/?l=freebsd-questions&w=2&r=1&s=dual+boot+scsi+raid+freebsd&q=b

-- 
Joel Rees, programmer, Kansai Systems Group
Altech Corporation (Alpsgiken), Osaka, Japan
http://www.alpsgiken.co.jp

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


Re: [SAGE] FreeBSD 4.4-REL to FreeBSD 4.8-STABLE upgrade problem.

2003-07-09 Thread Dustin Puryear
At 07:05 PM 7/9/2003 -0700, David Wolfskill wrote:
># cd /etc
># mv MAKEDEV MAKEDEV.old
># cp /usr/src/etc/MAKEDEV .
># sh MAKEDEV all
># reboot
Huh?  I wouldn't expect MAKEDEV to live in /etc:

g1-13(4.8-S)[1] ls /etc/MAK*
ls: No match.
g1-13(4.8-S)[2] uname -a
FreeBSD g1-13.catwhisker.org 4.8-STABLE FreeBSD 4.8-STABLE #586: Wed 
Jul  9 06:23:15 PDT 
2003 [EMAIL PROTECTED]:/common/S1/obj/usr/src/sys/LAPTOP_30W  i386
g1-13(4.8-S)[3] ls -l /dev/MAKEDEV*
-r-xr-xr-x  1 root  wheel  43789 Feb 11 06:40 /dev/MAKEDEV
-r-xr-xr-x  1 root  wheel   2064 May 17  2001 /dev/MAKEDEV.local
g1-13(4.8-S)[4]
Typo. I should have written /dev. Come on now..

---
Dustin Puryear <[EMAIL PROTECTED]>
Puryear Information Technology, LLC 
Providing expertise in the management, integration, and
security of Windows and UNIX systems, networks, and applications.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Can't get splash scr working - arg

2003-07-09 Thread Kevin Berrien
No luck with the link, or placing the splash file in the other dirs. I 
did find my splash was a bit off on the res, but using a 320x200x8 
replacement, and playing around a bit didn't help. I get no flicker or 
anything that would indicate it's even suggesting of trying a graphics mode.

As for dmesg, I get no messages regarding the splash modules or 
anything. This is using dmesg , or w/ -a as I'm familiar with it.

If this doesn't work, please send as the output of the relevant dmesg 
lines, i.e. the beginning, where the kernel modules are preloaded and 
some message about the splash module should appear.

Ciao
Siegbert


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


Re: [SAGE] FreeBSD 4.4-REL to FreeBSD 4.8-STABLE upgrade problem.

2003-07-09 Thread Michael E. Mercer
Not sure if this is the problem but my copy of MAKEDEV only makes ad0
thru ad3 when you type sh MAKEDEV all

You may still need to run sh MAKEDEV ad4

later
MEM


On Wed, 2003-07-09 at 21:53, Dustin Puryear wrote:
> Before reading below: I am considering a new install rather than an upgrade 
> of our servers. However, now I just want to beat this problem. :)
> 
> At 02:19 PM 7/8/2003 +, Phil Pennock wrote:
> >On 2003-07-08 at 14:09 +, Phil Pennock wrote:
> > > There was a fairly major update to the IDE disk device handlers which
> > > required new device nodes.  Bringing in the new MAKEDEV script and
> > > running that to create the disk devices will probably let you boot on
> > > the new kernel and try to repair things from there.
> >
> >Okay, I'll go get more coffee after sending this.  You noticed this one.
> >Sorry.
> >
> >There are two mergemaster steps, one which does the minimum needed to
> >let the rest of the build continue.
> 
> Yes, I ran 'mergemaster -p' but found that it really only merged my passwd 
> and group files with the new ones. Unless it did some other things behind 
> the scenes then there is no fix here.
> 
> >The issue is, as you note, the device stuff.  As I said though, just
> >pull in MAKEDEV manually and run it.  That will fix this.  Either
> >"sh MAKEDEV all" or "sh MAKEDEV ad0" ...
> 
> I keep thinking it's the device stuff myself, but even MAKEDEV didn't do 
> the trick (interesting notes below this stuff):
> 
> # cd /usr/src
> # make update
> # /usr/src/usr.sbin/mergemaster/mergemaster.sh -p
> # make buildworld
> # make buildkernel
> # make installkernel
> # cd /etc
> # mv MAKEDEV MAKEDEV.old
> # cp /usr/src/etc/MAKEDEV .
> # sh MAKEDEV all
> # reboot
> 
> Upon reboot I get my favorite lines:
> 
> blah, blah
> blah, blah
> ar0: ...  [...] status: READY subdisks:
>   0 READY ad4: ... at ata2-master UDMA100
>   1 READY ad6: ... at ata3-master UDMA100
> acd0: CDROM ... at ata0-master PIO4
> Mounting root from ufs:/dev/ad4s1a
> Root mount failed: 16
> 
> Manual root filesystem specification:
> blah, blah
> 
> Okay, so I reboot, but this time I load kernel.good and the system comes up 
> fine with the old 4.4-REL kernel:
> 
> ar0: ...  [...] status: READY subdisks:
>ad4: ... at ata2-master UDMA100
>ad6: ... at ata3-master UDMA100
> acd0: CDROM ... at ata0-master using PIO4
> 
> Oh, and I found that this server has a HighPoint RAID controller which can 
> do RAID 0, 1, 0+1, and JBOD. Looking in my array configuration I see that 
> we have:
> 
> ChannelMode  Status
> Primary Master: Mirror (RAID 1) for array #0   UDMA 5HDD0
> Secondary Master: Mirror ...   UDMA 5Hidden
> 
> I initially said that this was a Promise controller.
> 
> Here is my /etc/fstab for /:
> 
> /dev/ad4s1a  /   ufs  rw  1   1
> 
> Following is /var/run/dmesg.log after booting from kernel.good:
> 
> Copyright (c) 1992-2001 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 4.4-RELEASE #1: Sun Jun 30 21:23:39 CDT 2002
>  [EMAIL PROTECTED]:/usr/src/sys/compile/WWW
> Timecounter "i8254"  frequency 1193182 Hz
> Timecounter "TSC"  frequency 1494468860 Hz
> CPU: Pentium 4 (1494.47-MHz 686-class CPU)
>Origin = "GenuineIntel"  Id = 0xf07  Stepping = 7
>
> Features=0x3febf9ff,ACC>
> real memory  = 268369920 (262080K bytes)
> avail memory = 257404928 (251372K bytes)
> Preloaded elf kernel "kernel.good" at 0xc0375000.
> md0: Malloc disk
> Using $PIR table, 12 entries at 0xc00fdea0
> npx0:  on motherboard
> npx0: INT 16 interface
> pcib0:  on motherboard
> pci0:  on pcib0
> pcib1:  at device 1.0 on pci0
> pci1:  on pcib1
> pci1:  at 0.0 irq 12
> pcib2:  at device 30.0 on pci0
> pci2:  on pcib2
> rl0:  port 0x9000-0x90ff mem 
> 0xd900-0xd9ff irq 11 at device 3.0 on pci2
> rl0: Ethernet address: 00:50:ba:60:7b:83
> miibus0:  on rl0
> rlphy0:  on miibus0
> rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> atapci0:  port 
> 0xa400-0xa4ff,0xa000-0xa003,0x9c00-0x9c07,0x9800-0x9803,0x9400-0x9407 irq 
> 10 at device 6.0 on pci2
> ata2: at 0x9400 on atapci0
> ata3: at 0x9c00 on atapci0
> isab0:  at device 31.0 on pci0
> isa0:  on isab0
> atapci1:  port 0xf000-0xf00f at device 31.1 
> on pci0
> ata0: at 0x1f0 irq 14 on atapci1
> ata1: at 0x170 irq 15 on atapci1
> pci0:  at 31.2 irq 11
> pci0:  (vendor=0x8086, dev=0x2443) at 31.3 irq 0
> pci0:  at 31.4 irq 11
> pci0:  (vendor=0x8086, dev=0x2445) at 31.5 irq 9
> orm0:  at iomem 0xcc000-0xcf7ff on isa0
> fdc0:  at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
> fdc0: FIFO enabled, 8 bytes threshold
> fd0: <1440-KB 3.5" drive> on fdc0 drive 0
> atkbdc0:  at port 0x60,0x64 on isa0
> atkbd0:  flags 0x1 irq 1 on atkbdc0
> kbd0 at atkbd0
> vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
> sc0:  at flags 0x100 on isa0
> sc0: VGA <16 virtual 

Re: [SAGE] FreeBSD 4.4-REL to FreeBSD 4.8-STABLE upgrade problem.

2003-07-09 Thread Dustin Puryear
Before reading below: I am considering a new install rather than an upgrade 
of our servers. However, now I just want to beat this problem. :)

At 02:19 PM 7/8/2003 +, Phil Pennock wrote:
On 2003-07-08 at 14:09 +, Phil Pennock wrote:
> There was a fairly major update to the IDE disk device handlers which
> required new device nodes.  Bringing in the new MAKEDEV script and
> running that to create the disk devices will probably let you boot on
> the new kernel and try to repair things from there.
Okay, I'll go get more coffee after sending this.  You noticed this one.
Sorry.
There are two mergemaster steps, one which does the minimum needed to
let the rest of the build continue.
Yes, I ran 'mergemaster -p' but found that it really only merged my passwd 
and group files with the new ones. Unless it did some other things behind 
the scenes then there is no fix here.

The issue is, as you note, the device stuff.  As I said though, just
pull in MAKEDEV manually and run it.  That will fix this.  Either
"sh MAKEDEV all" or "sh MAKEDEV ad0" ...
I keep thinking it's the device stuff myself, but even MAKEDEV didn't do 
the trick (interesting notes below this stuff):

# cd /usr/src
# make update
# /usr/src/usr.sbin/mergemaster/mergemaster.sh -p
# make buildworld
# make buildkernel
# make installkernel
# cd /etc
# mv MAKEDEV MAKEDEV.old
# cp /usr/src/etc/MAKEDEV .
# sh MAKEDEV all
# reboot
Upon reboot I get my favorite lines:

blah, blah
blah, blah
ar0: ...  [...] status: READY subdisks:
 0 READY ad4: ... at ata2-master UDMA100
 1 READY ad6: ... at ata3-master UDMA100
acd0: CDROM ... at ata0-master PIO4
Mounting root from ufs:/dev/ad4s1a
Root mount failed: 16
Manual root filesystem specification:
blah, blah
Okay, so I reboot, but this time I load kernel.good and the system comes up 
fine with the old 4.4-REL kernel:

ar0: ...  [...] status: READY subdisks:
  ad4: ... at ata2-master UDMA100
  ad6: ... at ata3-master UDMA100
acd0: CDROM ... at ata0-master using PIO4
Oh, and I found that this server has a HighPoint RAID controller which can 
do RAID 0, 1, 0+1, and JBOD. Looking in my array configuration I see that 
we have:

ChannelMode  Status
Primary Master: Mirror (RAID 1) for array #0   UDMA 5HDD0
Secondary Master: Mirror ...   UDMA 5Hidden
I initially said that this was a Promise controller.

Here is my /etc/fstab for /:

/dev/ad4s1a  /   ufs  rw  1   1

Following is /var/run/dmesg.log after booting from kernel.good:

Copyright (c) 1992-2001 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 4.4-RELEASE #1: Sun Jun 30 21:23:39 CDT 2002
[EMAIL PROTECTED]:/usr/src/sys/compile/WWW
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 1494468860 Hz
CPU: Pentium 4 (1494.47-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf07  Stepping = 7
  Features=0x3febf9ff,ACC>
real memory  = 268369920 (262080K bytes)
avail memory = 257404928 (251372K bytes)
Preloaded elf kernel "kernel.good" at 0xc0375000.
md0: Malloc disk
Using $PIR table, 12 entries at 0xc00fdea0
npx0:  on motherboard
npx0: INT 16 interface
pcib0:  on motherboard
pci0:  on pcib0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
pci1:  at 0.0 irq 12
pcib2:  at device 30.0 on pci0
pci2:  on pcib2
rl0:  port 0x9000-0x90ff mem 
0xd900-0xd9ff irq 11 at device 3.0 on pci2
rl0: Ethernet address: 00:50:ba:60:7b:83
miibus0:  on rl0
rlphy0:  on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
atapci0:  port 
0xa400-0xa4ff,0xa000-0xa003,0x9c00-0x9c07,0x9800-0x9803,0x9400-0x9407 irq 
10 at device 6.0 on pci2
ata2: at 0x9400 on atapci0
ata3: at 0x9c00 on atapci0
isab0:  at device 31.0 on pci0
isa0:  on isab0
atapci1:  port 0xf000-0xf00f at device 31.1 
on pci0
ata0: at 0x1f0 irq 14 on atapci1
ata1: at 0x170 irq 15 on atapci1
pci0:  at 31.2 irq 11
pci0:  (vendor=0x8086, dev=0x2443) at 31.3 irq 0
pci0:  at 31.4 irq 11
pci0:  (vendor=0x8086, dev=0x2445) at 31.5 irq 9
orm0:  at iomem 0xcc000-0xcf7ff on isa0
fdc0:  at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0:  at port 0x60,0x64 on isa0
atkbd0:  flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0:  at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
lpt0:  on ppbus0
lpt0: Interrupt-driven port
ppi0:  on ppbus0
ar0: 39266MB  [5005/255/63] subdisks:
  ad4: 39266MB  [79780/16/63] at ata2-master UDMA100
  ad6: 39266MB  [79780/16/63] at ata3-master UDMA100
acd0: CDROM  at ata0-master using PIO4
Mounting root from ufs:/dev

Re: USB mouse/keyboard causes kernel panic during boot sequence

2003-07-09 Thread Michael E. Mercer
> > > There is one last thing you can do: put
> > > options DDB
> > > in your kernel config file. Recompile. Reproduce.
> > > ddb> trace
> > > ... 
> > > ddb> continue
> > > ...
> > > ddb> continue
> > > Uptime - 0s
> > > Rebooting...
> > > 
> > > -- Josh

Next time it involves this much typing... don't tell me... :P

uhci_idone(0,c2e17180,c2e18000,c2e17180,c0494d6c) at +0xc
uhci_waitintr(c2e18000,c2e17180,c2e17180,8,c0494d7c) at +0xb6
uhci_device_ctrl_start(c2e17180,0,c0494da4,c026f219,c2e17180) at +0x2c
uhci_device_ctrl_transfer(c2e,17180,0,c2e17180,c0494e0c,c026fc12) at
+0x1f
usbd_transfer(c2e17180,c0494dd4,c026fc1b,c2e17180,c2e17130) at +0xd1
usbd_sync_transfer(c2e17180,c2e17130,c2e17100,c2e17130,c2e0daf0) at
+0x10
usbd_request_flags(c2e17100,c0494e0c,c2e17130,0,0) at +0x5f
usbd_do_request(c2e17100,c0494e0c,c2e17130,c2e17100,0) at +0x18
usbd_get_desc(c2e17100,1,0,8,c2e17130) at +0x67
usbd_new_device(c2e17300,c2e18000,1,200,1,c2e17260) at +0x148
uhub_explore(c2e17480,c2e17500,c2e17c00,0,c0494ea0) at +0x2be
usb_attach(c2e17500,c0494ebc,c0186f0f,c2e17500,c2e18000) at +0x112
DEVICE_ATTACH(c2e17500,c2e18000,c2e17c00,0,1) at +0x2e
device_probe_and_attach(c2e17500) at +0x63
uhci_pci_attach(c2e17c00,c0494f08,c0186f0f,c2e17c00,c2e17c00) at +0x2c6
DEVICE_ATTACH(c2e17c00,c2e17c00,c2e16280,0,0) at +0x2e
device_probe_and_attach(c2e17c00) at +0x63
bus_generic_attach(c2e16100,c0494f40,c0186f0f,c2e16100,c2e16100) at
+0x16
DEVICE_ATTACH(c2e16100,c2e16100,c2e16400,0,1) at +0x2e
device_probe_and_attach(c2e16100) at +0x63
bus_generic_attach(c2e16280,c0494f78,c0186f0f,c2e16280,c2e16280) at
+0x16
DEVICE_ATTACH(c2e16280,c2e16280,c1454880,0,1) at +0x2e
device_probe_and_attach(c2e16280) at +0x63
bus_generic_attach(c2e16400,c2e16400,c0494fa4,c012dd6e,c2e16400) at
+0x16
nexus_attach(c2e16400,c0494fc0,c0186f0f,c2e16400,c2e16400) at +0xd
DEVICE_ATTACH(c2e16400,c2e16400,c0386ad0,49c000,1) at +0x2e
device_probe_and_attach(c2e16400) at +0x63
root_bus_configure(c1454880,c035e6ec,0) at +0x16
configure(0,491c00,49c00,0,c012d660) at +0x2a
mi_startup(0,0,0,0,0) at +0x69
begin() at +0x47

That's it... hope I read my writing correctly :)
Michael



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


Re: Samba between Mac and BSD

2003-07-09 Thread Joel Rees
> On Tue, Jul 08, 2003 at 09:11:11PM -0700, [EMAIL PROTECTED] wrote:
> > FreeBSD Question Answerer-
> > First of all thank you for your help and time.  I have a question about
> >running a Samba server where the server is a FreeBSD machine and the client
> >is a Macintosh ibook running max os X. ...

And [EMAIL PROTECTED] commented,

> I would think that NFS would be a better choice between two Unix
> systems than Samba.

To which I might add that netatalk would seem to me to be a better
option than Samba if the only client is a Mac. 

But then I've never done netatalk on freeBSD.

-- 
Joel Rees, programmer, Kansai Systems Group
Altech Corporation (Alpsgiken), Osaka, Japan
http://www.alpsgiken.co.jp

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


[no subject]

2003-07-09 Thread esayer1
FreeBSD Question Answerer-
First of all thank you for your help and time.  I have a question about
running a Samba server where the server is a FreeBSD machine and the client
is a Macintosh ibook running max os X. The client would have a wireless PC
card connection that runs through the same bridge as the server.   Can the
client and the server share files and devices with this setup?  I was also
wondering about how Samba was configured, is it through the /etc/exports
file or is it done differently?  Also is Samba in the ports packages tree?
Also does Samba allow computers to share devices?  Could i have a server
with a DVD-ROM, and watch DVDs on a client?  Also how are shared files
stored on a Samba network, does the server store them all and they are all
accessible to the clients, or does the machine where the file was made store
it and it's accessible to all the clients?  Also i was going to RAID
together three SCSI harddrives in the server and also have one seperate IDE
harddrive.  The three SCSIs will store FreeBSD and be the storage for the
Samba server, and the IDE will run DOS.  Will the FreeBSD boot manager
recognize DOS even though it is on another harddrive, or will i have to boot
to it manually through the BIOS? Thanks and e-mail me back.

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


Re: Restricting logins by terminal

2003-07-09 Thread lewiz
On Wed, Jul 09, 2003 at 01:14:06PM -0400, Charley wrote:
> I would like to restrict user login based on the terminal where the login 
> request originates.  Ideally, I want Root, and ONLY Root, to be able to log 
> in at the console.  The system is already running SSHD, so I want to be able 

That's more than possible.  Take a look at /etc/login.access and
/etc/login.conf.  In login.access a simple:

-:ALL EXCEPT root # taken from the examples near the end (which actual
use groups)

should do the trick.

> to check logins via SSH.  Root should not be allowed to log in from a remote 

That's all defined in your sshd config (by default root cannot login via
sshd).  If you're really paranoid, the second example in login.access:

-:root:ALL EXCEPT LOCAL # instead of considering root, the ``wheel''
group might be better.

> terminal and SU should be disabled for any remote terminal.  Is there 

By default, only members of the wheel group can su to root.

> something in the ports collection that I've missed that will do this?  Maybe 
> I'm just blind and haven't yet seen something like this in the manual.

Well, I don't know exactly what you want to do... but ``su'' is setuid
root, so you could unset that and use the ``sudo'' command.  Take a look
at security/sudo in the ports collection.  That'd be quite contrived
though.

  Best wishes,

-lewiz.

P.S.
  Some of my examples might not work -- I didn't test them and I'm
shocking for getting things to work first time.

-- 
"Why was I born with such contemporaries?"
-- Oscar Wilde

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


Re: ATI-Radeon-9000

2003-07-09 Thread cloper
Yes I have. The odd part is that I dual boot with slackware, and X on 
slackware works great. I wonder whats wrong :(
Thanks,
[EMAIL PROTECTED]

lewiz wrote:

On Wed, Jul 09, 2003 at 12:03:46PM -0700, cloper wrote:
 

I have a Dell Latitude D600 Laptop with the ATI Radeon 9000 video 
chipset, with FreeBSD-4.8 w/ XFree86-4.3, yet I still can not get X to 
   

I've had it working with an AIW 7200 before now.  It was just a stock
setup, very straightforward.  I don't know if there's much difference
between the 9000 and the 7200.  Have you tried using an older driver?
 Best wishes,

-lewiz.

 

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


Re: Lexmark

2003-07-09 Thread lewiz
On Wed, Jul 09, 2003 at 08:33:47PM +0200, Per Nilsson wrote:
> for it, with a printer and a scanner. The name on that unit is 'Lexmark 
> x75' and you can read about it at: 

I have an X85.

> Now I was wondering if FreeBSD 4.7 or higher support that Lexmark in any 
> way, and where I can get software that works on it?!

Absolutely, I've had mine working.  I always use apsfilter for printers
(it's under print/apsfilter in the ports).  If your model is also a
scanner, you should be taking a look at SANE.  A quick Google will
return lots of info.

  Best wishes,

-lewiz.

-- 
A bird in the hand is worth what it will bring.

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


sybase connection

2003-07-09 Thread David Bear
has anyone made a connection to a sybase db from freebsd?  I'm looking
at the netlibs from sybase.  they are binaries for linux.  I was
hoping there is some connector for freebsd...
-- 
David Bear
phone:  480-965-8257
fax:480-965-9189
College of Public Programs/ASU
Wilson Hall 232
Tempe, AZ 85287-0803
 "Beware the IP portfolio, everyone will be suspect of trespassing"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD Router and ARP

2003-07-09 Thread Dan Mahoney, System Admin
I have a lan of maybe 200 nodes where a BSD box is performing as the
core router (with cisco's doing line-connectivity).  It is all switched,
with no VLAN in place.

Each machine (in general) has its own subnet.  Most are /29's, some are as
large as a /25.  Each subnet has a single gateway ip configured on the
router.  This is so that each machine can have a gateway within its own
subnet.

This works reasonably well, except that when running ethereal on one of
the local machines, I discovered an alarming rate of ARP requests coming
out from the MAC of the BSD router.

Considering the arp is supposed to be cached for 20 minutes or more until
something different is heard, I shouldn't see five or six requests within
two seconds.

I don't see this when routing with (say) a Cisco router.  Is there some
reason for this?

TCPDumps from my local desktop available upon request.

-Dan Mahoney

--

"There is no right and wrong, there is only fun and boring."

-Fisher Stevens, "Hackers"

Dan Mahoney
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---


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


Re: ATI-Radeon-9000

2003-07-09 Thread lewiz
On Wed, Jul 09, 2003 at 12:03:46PM -0700, cloper wrote:
> I have a Dell Latitude D600 Laptop with the ATI Radeon 9000 video 
> chipset, with FreeBSD-4.8 w/ XFree86-4.3, yet I still can not get X to 

I've had it working with an AIW 7200 before now.  It was just a stock
setup, very straightforward.  I don't know if there's much difference
between the 9000 and the 7200.  Have you tried using an older driver?

  Best wishes,

-lewiz.

-- 
Never count your chickens before they rip your lips off

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


Re: make buildworld .. 4.5 to 4.8

2003-07-09 Thread lewiz
On Wed, Jul 09, 2003 at 04:16:12PM -0400, Jeff MacDonald wrote:
> Is it safe to do the mergemaster/makebuildworld etc. operation
> on it to bring it from 4.5 to 4.8 in one step ?

I can't vouch for having done it but technically it is absolutely
possible and I doubt you would run into any serious trouble.  If you're
really worried about upgrading between more than one minor release you
could always try incrementing, which will work for sure.  It seems a
rather silly way to do it though.

  Best wishes,

-lewiz.

-- 
Alas, I am dying beyond my means.
-- Oscar Wilde, as he sipped champagne on his deathbed

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


Re: IPSec to Windows 9x, 2k and XP

2003-07-09 Thread lewiz
On Wed, Jul 09, 2003 at 02:55:34PM -0700, Kevin Glick wrote:
> Just wondering if anybody has gotten FreeBSD's IPSec working with any
> version of Windows.  I'd love to see the config's if you've got them.

Yeah, I had it a while ago, but it was just for playing with, not for
any serious use, so sorry, I don't have the configs anymore.

> I've looked for some How-To documents, but haven't come up with much.

A quick Google for ``ipsec windows freebsd'' came up with:
http://www.wiretapped.net/~fyre/ipsec/ -- this looks rather
comprehensive, it's not the guide I followed, however.

> I'm not sure what I'd need to get it to work with 9x.  Any takers?

I'm not certain, but I don't know that it's possible with anything
pre-2000.

  Best wishes,

-lewiz.

-- 
Don't get suckered in by the comments -- they can be terribly
misleading.  Debug only code.
-- Dave Storer

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


Regeneration of configure (automake/autoconf issues).

2003-07-09 Thread lewiz
Hi,

  I've been tyring to create a port for a programme called Dasher (text
input for people with disabilities) but I've got stuck after trying to
hack configure.in provided with the tarball.

  Having spoken to the maintainer I discovered that libintl.h was not
require (and was causing the compile to fail) and it was recommended I
hack the configure.in and re-run automake/autoconf to generate a new
configure script.  I've done this but configure now searches for
automake-1.4 and aclocal-1.4 (which don't exists -- I have automake14
and aclocal14).  Previously the configure script just looked for
automake and aclocal.  Any help getting the new configure script to do
this would be much appreciated.

  Thanks very much,

-lewiz.

-- 
Whenever I hear anyone arguing for slavery, I feel a strong impulse to
see it tried on him personally.
-- A. Lincoln

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


Re: NFS problems

2003-07-09 Thread lewiz
On Wed, Jul 09, 2003 at 04:45:38PM -0700, Mark Woodson wrote:
> It's acting like the problem is in /etc/exports.
> 
> squelcher# less /etc/exports
> /usr/src-ro -maproot=0  cad1 squelcher lappy
> /usr/obj-ro -maproot=0  cad1 squelcher lappy

You export the actual local mount (i.e. if /usr is a mount on the NFSd
machine) and then define the directories you want to share, i.e.:

/usr/usr/src-ro -maproot=0  cad1 squelcher lappy
/usr/usr/obj-ro -maproot=0  cad1 squelcher lappy

  I think that's how it goes, anyway.  Best wishes,

-lewiz.

-- 
Acquaintance, n.:
A person whom we know well enough to borrow from, but not well
enough to lend to.
-- Ambrose Bierce, "The Devil's Dictionary"

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


Re: Can't get splash scr working - arg

2003-07-09 Thread Siegbert Baude
Hi Kevin,

As I've been playing with FreeBSD 4.8 stable on a test box, I came 
across the splash screen feature after building my own kernel.  Figured 
I'd give it a try for the heck of it.

Anyways, I've had no success!  I've followed the various (not always 
identical) tutorials on www.baldwin.cx/splash/, free-bsd.org & the 
manual page.  Other than my kernel my install is stock 4.8.  I'm I 
missing something obvious?  Anyone know if a better tutorial?
I just fiddled myself with the splash screen, but in CURRENT, so I don't 
know, if what I say is correct for STABLE, too.

First, what is the resolution and color depth of your image? Just type

file your_image.bmp

to get this info. If it is more than 320 pixels broad you need the 
VESA-mode preloaded into the kernel to make it work. Thus your graphics 
card must support this VESA modes in its BIOS, without the use of any 
DOS TSR programs, as this was the case for many older cards. Check the 
documentation for your card.

The problem in CURRENT is, that the image is looked for in the path for 
the kernel modules, i.e. /boot/kernel;/boot/modules. If the image is 
located outside these directories you have to use absolute paths.

Check http://www.freebsd.org/cgi/query-pr.cgi?pr=docs/54009 for this.

If this doesn't work, please send as the output of the relevant dmesg 
lines, i.e. the beginning, where the kernel modules are preloaded and 
some message about the splash module should appear.

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


Re: NFS problems

2003-07-09 Thread Jez Hancock
On Wed, Jul 09, 2003 at 04:45:38PM -0700, Mark Woodson wrote:
> I'm having trouble getting NFS exports to work properly on FreeBSD.  I'm 
> running 4.8-STABLE as of July 3.
> 
> It's acting like the problem is in /etc/exports.
> 
> squelcher# less /etc/exports
> /usr/src-ro -maproot=0  cad1 squelcher lappy
> /usr/obj-ro -maproot=0  cad1 squelcher lappy
Try placing both fs on the same line:
/usr/src /usr/obj  -ro -maproot=0  cad1 squelcher lappy

Mount points that reside on the same filesystem (ie both on /usr in this
case) have to be listed in the same entry in /etc/exports iirc.  This is
probably why you get the error:

> Jul  9 13:09:00 squelcher mountd[16110]: can't change attributes for /usr/obj
> Jul  9 13:09:00 squelcher mountd[16110]: bad exports list line /usr/obj -ro 
> -maproot
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


NFS problems

2003-07-09 Thread Mark Woodson
I'm having trouble getting NFS exports to work properly on FreeBSD.  I'm 
running 4.8-STABLE as of July 3.

It's acting like the problem is in /etc/exports.

squelcher# less /etc/exports
/usr/src-ro -maproot=0  cad1 squelcher lappy
/usr/obj-ro -maproot=0  cad1 squelcher lappy

/usr/src will export and is mountable
/usr/obj is not

squelcher# ls -ls /usr
total 54
[edited for brevity]
 2 drwxr-xr-x   3 root  wheel   512 Jun  5 10:45 obj
 2 drwxr-xr-x  21 root  wheel   512 Jun  9 15:54 src

on squelcher (the nfs server) I see this in messages when I start/sighup 
mountd.

squelcher# tail  /var/log/messages
Jul  9 13:09:00 squelcher mountd[16110]: can't change attributes for /usr/obj
Jul  9 13:09:00 squelcher mountd[16110]: bad exports list line /usr/obj -ro 
-maproot
Jul  9 13:09:29 squelcher mountd[16110]: mount request denied from 10.1.2.60 
for /usr/obj

and "Access denied" messages on lappy (the nfs client).

The permissions look the same, the exports lines are the same, and I must be 
missing something but I can't figure out what it is.

-Mark

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


Re: Disk cache size via sh?

2003-07-09 Thread Sean Chittenden
> Is the following the correct way to figure out the disk cache size?
> 
> echo $((`sysctl -n vm.stats.vm.v_page_count` - \
>  `sysctl -n vm.stats.vm.v_free_reserved` - \
>  `sysctl -n vm.stats.vm.v_free_target`))
> 
> I can't tell if there's a limit in kern/vfs_cache.c though I couldn't
> find anything worth while.

More correctly, can the FS cache up to the entire size listed in
vfs.maxbufspace (actually vfs.hibufspace) bytes or is there a limit to
how much FS operations can use of the vfs cache?  -sc

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


Re: DNS and SMTP problem

2003-07-09 Thread pat bey
thanks Toomas for your help I'm new at this sort of thing.
I never got the two messages you sent to me but I did find this in log files.
Jul 9 08:04:36 hijra postfix/smtpd[5063]:E19EB55: reject:RCPT FROM lv.raad.tarty.ee
[194.xxx.xxx.xxx]:555<[EMAIL PROTECTED]>:user unknown in local recipient
table; from=<[EMAIL PROTECTED]> proto=ESMTP helo=
 
check from root mailbox shown this with pine
The following addresses had permanent fatal error root
(reason:553 5.1.8 [EMAIL PROTECTED]
Domain of sender address [EMAIL PROTECTED] does not exist)
{Which was the hostname before I got the hijra.homeunix.com but I change it manually
in rc.conf and in named.conf, localhost.rev, localhost.v6.rev}
mail in local queue:
/var/spool/mqueue is empty
   total requests: 0
mail in submit queue:
/var/spool/clientmqueue is empty
 total requests: 0
looking at uname
#uname -a
FreeBSD hijra.homeunix.com 4-8-Release
[EMAIL PROTECTED]: /usr/obj/usr/src/sys/GENERIC I386
 
I have a account with dyndns.org that's where I got the host name but it has a option 
for
Mail Exchanger(optional):   "Should I fill this in with hijra.homeunix.com or hijra.  
The ip address is the address that points to my router which updates my ip address 
whenever it change by my isp.   thanks for your time and considerations

Toomas Aas <[EMAIL PROTECTED]> wrote:
Hi!

> my domain name is hijra.homeunix.com and i'm trying to
> be authoritative for my local lan so my xp box can use this server with
> Outlook Express to send and receive mail. 

OK, let's do some DNS checks:

# host hijra.homeunix.com
hijra.homeunix.com has address 66.136.178.42

# dig hijra.homeunix.com SOA

; <<>> DiG 8.3 <<>> hijra.homeunix.com SOA
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUERY SECTION:
;; hijra.homeunix.com, type = SOA, class = IN

;; AUTHORITY SECTION:
homeunix.com. 30M IN SOA ns1.dyndns.org. hostmaster.dyndns.org. (
2002043347 ; serial
3H ; refresh
30M ; retry
1W ; expiry
30M ) ; minimum

It looks like homeunix.com is a domain whose DNS server is ns1.dyndns.org,
and hijra.homeunix.com is a host in that domain, with address
66.136.178.42. Furthermore, it looks like hijra.homeunix.com is not
a subdomain, but just a single host (represented by A record in homeunix.com
zone). Hence it makes no sense to try to be authoritative for hijra.homeunix.com
domain, because this domain doesn't exist.

Anyway, having a domain or even MX record is not required to be able to receive
mail. If mail is sent to [EMAIL PROTECTED], then the sender's mail server
first tries to look up MX record for hijra.homeunix.com, which fails. Then the
sender's mail server tries to look up A record for hijra.homeunix.com, which
succeeds. Hence, the mail sent to hijra.homeunix.com should be sent to 
66.136.178.42. If that is the address of your server, you should get it.

> When I send a mesg to [EMAIL PROTECTED] I
> never receive it
> postqueue -p shows 0 mesgs. Lookin /var/log/maillog
> it's says something
> about the mesg that I sent but doesn't mention the one
> that I reply back too. There are no error messages
> anywhere in log files. My guess is it bounces back
> cause I never get it on the server never shows
> anything about it attempted to receive a mesg either.

If it bounces back, it must bounce back *from* somewhere *to* somewhere :-)
Do you get a bounced message back to your yahoo account? I cc-d this
message to [EMAIL PROTECTED] and [EMAIL PROTECTED]
just to see what happens. 


--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* Feeling compressed ARJ you?



Suppressed minds have no Freedom of Choice

-
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Can't get splash scr working - arg

2003-07-09 Thread Kevin Berrien
As I've been playing with FreeBSD 4.8 stable on a test box, I came 
across the splash screen feature after building my own kernel.  Figured 
I'd give it a try for the heck of it.

Anyways, I've had no success!  I've followed the various (not always 
identical) tutorials on www.baldwin.cx/splash/, free-bsd.org & the 
manual page.  Other than my kernel my install is stock 4.8.  I'm I 
missing something obvious?  Anyone know if a better tutorial?

Thanks!

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


Re: monitor's frequency

2003-07-09 Thread Adam
On Wed, 2003-07-09 at 04:02, przodownik wrote:
> I would like to have more monitor's  frequency.How this doing (under FreeBSD 4.7)?

If you are using X, this is easily set in the XF86Config file (check the
manpage).

-- 
Adam <[EMAIL PROTECTED]>

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


Disk cache size via sh?

2003-07-09 Thread Sean Chittenden
Is the following the correct way to figure out the disk cache size?

echo $((`sysctl -n vm.stats.vm.v_page_count` - \
 `sysctl -n vm.stats.vm.v_free_reserved` - \
 `sysctl -n vm.stats.vm.v_free_target`))

I can't tell if there's a limit in kern/vfs_cache.c though I couldn't
find anything worth while.
 
-sc
-- 
Sean Chittenden
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: kern.ipc.maxsockets limits with 4GB of memory

2003-07-09 Thread Mike Silbersack

On Wed, 9 Jul 2003, Thomas Chaffic Mowad wrote:

> Someone thought that the kernel might need more memory so we tried
> increasing VM_KMEM_MAXSIZE too 500 megs and then that caused a panic when
> we booted up.
>
> So we're kinda stuck here and any help would be greatly appreciated.
>
> Thanks,
> --Tom Mowad

Have you tried increasing KVA_PAGES?

#
# Change the size of the kernel virtual address space.  Due to
# constraints in loader(8) on i386, this must be a multiple of 4.
# 256 = 1 GB of kernel address space.  Increasing this also causes
# a reduction of the address space in user processes.  512 splits
# the 4GB cpu address space in half (2GB user, 2GB kernel).
#
options KVA_PAGES=260

If that doesn't help, you may also consider trying 4.8-RELEASE or -STABLE;
I believe that some additional changes to fix handling of 4GB machines
were committed after 4.7-RELEASE.  (You'll have to search the mailinglist
archives to confirm this, I can't remember exactly when they occured.)

Also, how are you exhausting 128K sockets to do a test of 2000
simultaneous connections?  Are the rest all in the TIME_WAIT state?

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


Re: Installing on a Sun Ultra 10

2003-07-09 Thread Tillman
On Wed, Jul 09, 2003 at 09:02:59PM +0100, Wayne Pascoe wrote:
> On Wed, Jul 09, 2003 at 11:56:34AM -0600, Tillman wrote:
> > Try 'n' and 'p' instead of arrow keys.
> > 
> > (I ran into this same problem when I installed on my Ultra 5)
> 
> Out of curiosity, which terminal did you use from the list ? VT100,
> ANSI, FreeBSD Terminal (mono), FreeBSD Terminal (color) or Xterm ?

I don't recall, unfortunately. As Kris mentioned, if you can use a
serial console it'll be a much easier install  - of course, I didn't
know that at the time ;-)

-T

-- 
When you can do nothing what can you do?
- Zen koan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: USB mouse/keyboard causes kernel panic during boot sequence

2003-07-09 Thread Joshua Oreman
On Wed, Jul 09, 2003 at 04:38:09PM -0400 or thereabouts, Michael E. Mercer wrote:
> Josh,
> 
> Is there an easy way to capture this without me having to handwrite all
> that info down myself?

Unless you have a serial console, no.
However, some kernel programmer on this list may be able to give a function
that enables dumping on a certain device (as a ddb call). Anyone?

-- Josh

> 
> Michael Mercer
> 
> On Wed, 2003-07-09 at 13:19, Joshua Oreman wrote:
> > On Tue, Jul 08, 2003 at 01:05:18PM -0400 or thereabouts, Michael E. Mercer wrote:
> > > On Tue, 2003-07-08 at 12:11, Joshua Oreman wrote:
> > > > On Mon, Jul 07, 2003 at 11:43:21PM -0400 or thereabouts, Michael E. Mercer 
> > > > wrote:
> > > > > Alrighty then,
> > > > > 
> > > > > Ok, after following FAQ 18.13 on the freebsd web site,
> > > > > I've been struggling for the last 4 hours trying to get this thing to
> > > > > dump core but it just won't! I added ad2s1b to the dumpdev in rc.conf
> > > > > and also read about kernel init problems need to have dumpdev added to
> > > > > the loader. So I added it to loader.conf as well. 
> > > > 
> > > > Your swap partition must be at least a few megs bigger than your physical
> > > > RAM.
> > > > 
> > > My swap is 1 Gig. I also changed MAXMEM in my kernel to a much smaller
> > > size... still can not get a dump...
> > 
> > Ah, silly me. Since this is a device probe panic, rc.conf setting dumpdev
> > won't ever happen.
> > 
> > There is one last thing you can do: put
> > options DDB
> > in your kernel config file. Recompile. Reproduce.
> > ddb> trace
> > ... 
> > ddb> continue
> > ...
> > ddb> continue
> > Uptime - 0s
> > Rebooting...
> > 
> > -- Josh
> > 
> > > 
> > > Any ideas?
> > > 
> > > > > 
> > > > > Anyways, the method it points to is uhci_idone. 
> > > > 
> > > > Thanks!
> > > 
> > > No, thank you for your help!
> > > 
> > > Michael
> > > > 
> > > > -- Josh
> > > > 
> > > > > 
> > > > > That's all I can find out at the moment, unless someone can inform me of
> > > > > what I am doing wrong.
> > > > > 
> > > > > Thanks
> > > > > Michael
> > > > > 
> > > > > 
> > > > > 
> > > > > On Mon, 2003-07-07 at 13:03, Joshua Oreman wrote:
> > > > > > On Mon, Jul 07, 2003 at 12:34:48PM -0400 or thereabouts, Michael E. Mercer 
> > > > > > wrote:
> > > > > > > Anybody?!?!?!
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > Hello peoples,
> > > > > > > 
> > > > > > > I have posted this before and unfortunately I still have this problem.
> > > > > > > During the boot sequence, when it probes for the USB devices, it causes
> > > > > > > a kernel panic (page fault) if there is either (or both) a USB mouse
> > > > > > > and/or keyboard attached.
> > > > > > > 
> > > > > > > If I remove the mouse and keyboard and let it boot up, then connect
> > > > > > > them, they work just fine.
> > > > > > > 
> > > > > > > Any ideas?
> > > > > > 
> > > > > > > Fatal trap 12: page fault while in kernel mode
> > > > > > > mp_lock = 0024; cpuid = 0; lapic.id = 
> > > > > > > fault virtual address = 0x4
> > > > > > > fault code = supervisor read, page not present
> > > > > > > instruction pointer = 0x8: 0xc02583c4
> > > > > >
> > > > > > > stack pointer   = 0x10: 0xc045fd20
> > > > > > > frame pointer   = 0x10: 0xc045fd3c
> > > > > > > code segment= base 0x0, limit 0xf, type 0x1b
> > > > > > > = DPL 0, pres 1, def 32 1, gran 1
> > > > > > > processor eflags= interrupt enabled, resume, IOPC=0
> > > > > > > current process = 0(swapper)
> > > > > > > interrupt mask  = none <- SMP: XXX
> > > > > > > trap number = 12
> > > > > > > panic: page fault
> > > > > > > mp_lock = 0024; cpuid = 0; lapic.id = 
> > > > > > > Uptime - 0s
> > > > > > 
> > > > > > That pointer I highlighted is important; it is also kernel-dependent.
> > > > > > Please read FAQ #18.13 to find out how to give us some useful function 
> > > > > > names,
> > > > > > or better yet, a backtrace.
> > > > > > 
> > > > > > -- Josh
> > > > > > 
> > > > > > > 
> > > > > > > Thanks
> > > > > > > Michael Mercer
> > > > > > > 
> > > > > > > 
> > > > > > > ___
> > > > > > > [EMAIL PROTECTED] mailing list
> > > > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > > > > > To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


IPSec to Windows 9x, 2k and XP

2003-07-09 Thread Kevin Glick
Just wondering if anybody has gotten FreeBSD's IPSec working with any
version of Windows.  I'd love to see the config's if you've got them.
I've looked for some How-To documents, but haven't come up with much.
I'm not sure what I'd need to get it to work with 9x.  Any takers?

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


Re: IPNAT... internal server what-to-do

2003-07-09 Thread keith
Thanks Mark,
The gateway is a dns server so I guess that is not a caching dns server.
I have a 4.7 system squid proxy machine on the inside which is the gateway
for the lan (then its gateway is the firewall)
Can I install the caching dns on it maybe?
Hints?
Thanks again (yet again Freebsd questions people rock)
Keith

> On Wednesday 09 July 2003 01:23 pm, [EMAIL PROTECTED] wrote:
>> Hi all.
>> On my 4.7 system, I have ipfilter and ipnat.
>> I have several "live" ips aliased to my external ADSL interface. Some
>> of these are mapped into private internal ips. So far so good. All
>> works fine from outside. But if I want to reach one of the internal
>> servers from inside...eg www.smmc.qld.edu.au...the client  hangs
>> looking. Here are some of my rules:
>> ==8< snip=
>>
>> map fxp0 10.0.0.0/21 -> 0/32  # <---OK maps internal getting out fine!
>>
>> #www server
>> rdr fxp0 210.15.203.195/32 port 80 -> 10.0.0.7 port 80
>> rdr dc0  210.15.203.195/32 port 80 -> 10.0.0.7 port 80 #<---No worky!
>>
>> ==8< snip=
>> I can figure there is a problem with this but dont have a clue how to
>> fix it I want to use fqdns inside not local ip addrs. It is more
>> convenient for users. BTW the ip address works fine...just the rdr or
>> lookup stuff is faulty
>
> There isn't really a way to do this currently.  (that was with 3.4.16 as
> I  remember perhaps support has been added now) because ipnat redirects
> from the  _outside_ interface to the inside and you want the inside
> reflected back  inside.  Not what it's meant to do.
>
> The easiest thing I can think of is to create a dummy dns entry on the
> local  machines or the caching dns server (if you have one) that points
> to the  10.0.0.7 address.
>
> -Mark



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


Re: Running GNOME Applications

2003-07-09 Thread Joe Marcus Clarke
On Wed, 2003-07-09 at 17:05, Ben Shin wrote:
> I am currently using Window Maker as my desktop.  Whenever I run any GNOME 
> app such as XMMS or GAIM, the GNOME panel and menu is superimposed on my 
> current desktop.  Is there any way to prevent this?

Rebuild those applications after defining WITHOUT_GNOME in your
/etc/make.conf.  For example:

WITHOUT_GNOME=yes

Joe

> 
> Thanks in advance,
> Ben
> 
> _
> MSN 8 with e-mail virus protection service: 2 months FREE*  
> http://join.msn.com/?page=features/virus
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
-- 
PGP Key : http://www.marcuscom.com/pgp.asc




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


Re: nutball video question

2003-07-09 Thread mark tinguely

>  For which device(s) does it have a non-free driver? Or hardware MPEG2
>  devices are not supported by FreeBSD at all?

I am not aware of any MPEG2 hardware capture cards supported under FreeBSD
at this time. The MPEG2 chipsets are finally relatively inexpensive. There
are several drivers for Linux.

The Hauppauge WinTV PVR [based in a Philips decoder and Conexant CX23416
(aka iVAC-15) MPEG2 encoder chipset]. Sounds like a good board. Conexant
does not release information but the Linux driver web page has some
register information that they said should be enough to write the driver.
The web page says they put the YUV information in a strange order and this
would be important if you wish to use a fxtv-like application to watch on
screen. Both of these facts make me leary.

I read the "KFIR" MPEG chipsets are bad.

The Philips MPEG2 SAA6752 encoder (with SAA7134 video bridge) looks good on
paper, and Philip is great with providing product specs. Unfortunately,
the only board I saw using this chipset was from a company in Germany
for 250 Euros. It looks like this chipset is mostly embedded in video
consumer appliances.

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


Re: restoresymtable

2003-07-09 Thread Peter Elsner
Quick search on google, brought up the following:

If you use the "-r" option to the restore command, it will create this file.
This is a "checkpoint" file, which the restore command uses when you are 
restoring
from multiple tapes.  For example, suppose you had a level 0 (full) dump tape
from a week ago and a level 1 (incremental) dump tape from yesterday and 
you need
to restore the entire disk.  You would run the "restore -r" command on the 
full dump
tape first, and then on the incremental dump tape to pick up the latest 
changes.
The restore command with the -r option assumes that additional restores may be
coming and so creates that restoresymtable file as an aid to help the next 
restore
command determine which directories or files need updating, creating, or 
deleting.

The restore "-x" option does not create this file, because it assumes no 
further
restores are coming.

After you are finished restoring your disk, you SHOULD remove the 
restoresymtable
file.  You do not want this file to appear on your next dump backup.  If a 
dump with
that file is used for a future restore operation, the old restoresymtable file
could end up overwriting the one that is being created at that time.



Peter

At 11:02 PM 7/9/2003 +0200, you wrote:
Inspecting the /usr directory I came across a >10MB file called
"restoresymtable"
Anybody got some idea where this came from?
Can I safely delete it?
How could it be created in the first place?
--
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.8 ++ Debian GNU/Linux (Woody)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Anything below this line, is considered a signature line.
If you do not know what a signature is within an email
STOP here and do not read any further.   Thank you.
_
Peter Elsner <[EMAIL PROTECTED]>
Vice President Of Customer Service (And System Administrator)
1835 S. Carrier Parkway
Grand Prairie, Texas 75051
(972) 263-2080 - Voice
(972) 263-2082 - Fax
(972) 489-4838 - Cell Phone
(425) 988-8061 - eFax
I worry about my child and the Internet all the time, even though she's
too young to have logged on yet. Here's what I worry about. I worry
that 10 or 15 years from now, she will come to me and say "Daddy, where
were you when they took freedom of the press away from the Internet?"
-- Mike Godwin
Unix IS user friendly... It's just selective about who its friends are.

System Administration - It's a dirty job, but somebody said I had to do it.

If you receive something that says 'Send this to everyone you know,
pretend you don't know me.
Standard $500/message proofreading fee applies for UCE.
(NOTE: UCE is Unsolicited Commercial Email also known as
SPAM or junk mail).
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: NAT and MTU

2003-07-09 Thread Brent Wiese
> In the last episode (Jul 08), Brent Wiese said:
> > I have a machine that is being double-NAT'd.
> > 
> > Would it make sense to set the MTU lower to account for the NAT 
> > overhead?
> > 
> > It makes sense to me as I know MTU, but I like to check in case my 
> > thinking isn't right. :)
> 
> There is no overhead; all NAT does is rewrite IP addresses in 
> the header (and in some data packets of certain protocols 
> like FTP).  It adds no extra data.
> 

I never messed w/ NAT enough to have learned this. There's always something
to learn!

Thanks to all who responded.

Brent

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


monitor's frequency

2003-07-09 Thread przodownik
I would like to have more monitor's  frequency.How this doing (under FreeBSD 4.7)?

Thanks for any answers.


K.Kolakowski
Warsow Uniwersity of Technology




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


Re: restoresymtable

2003-07-09 Thread Mark
- Original Message - 
From: "Dick Hoogendijk" <[EMAIL PROTECTED]>
To: "freebsd-questions" <[EMAIL PROTECTED]>
Sent: Wednesday, July 09, 2003 11:03 PM
Subject: restoresymtable


> Inspecting the /usr directory I came across a >10MB file
> called "restoresymtable"
>
> Anybody got some idea where this came from?
> Can I safely delete it?
> How could it be created in the first place?


It was created by the "restore" program (recently restored a partion backed
up with "dump"?).

>From the ever useful "man restore":

"Note that restore leaves a file restoresymtable in the root
directory to pass information between incremental restore passes.
This file should be removed when the last incremental has been
restored."

- Mark

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


Re: SquirrelMail on FreeBSD

2003-07-09 Thread Scott A. Moberly
> Yes I have enabled cookies and have even tried to set explorer to
> default accept all cookies -- eek!
>
> Thanks
> -cs
>
> Stephen Hovey wrote:
>
>>no no - I mean on the browser you are using to try and log in
>>
>>On Tue, 8 Jul 2003, Chris wrote:
>>
>>
>>
>>>Yes,
>>>
>>>I have tried all the php suggestions on the squirrel docs page.
>>>Including sessions.auto_start, register_globals etc.
>>>
>>>
>>>-cs
>>>
>>>Stephen Hovey wrote:
>>>
>>>
>>>
You got cookies enabled?

On Tue, 8 Jul 2003, Chris wrote:





>Hello,
>
>Has anyone had any trouble with the ports version of SquirrelMail.  I
>updated my mail ports yesterday and built cclient and IMAP-uw without
>ssl off.
>
>I verified this by logging in through telnet:
>
>* OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS AUTH=LOGIN] ed IMAP4rev1
>2003.337 at Tue, 8 Jul 2003 11:27:20 -0400 (EDT)
>0001 login user password
>0001 OK [CAPABILITY IMAP4REV1 IDLE NAMESPACE MAILBOX-REFERRALS BINARY
>SCAN SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND] User
> user
>authenticated
>0002 logout
>* BYE ed IMAP4rev1 server terminating connection
>0002 OK LOGOUT completed
>Connection closed by foreign host.
>
>So now that I know IMAP and cclient work I moved on to Squirrelmail.
> It
>installed successfully but when I try to login with a user on the
> system
>I get:
>
>"You must be logged in to access this page."
>
>I'm stuck on this one and would appreciate any help.  I acctually
> tried
>the ports version and the latest version off of squirrelmail.org and I
>get the same thing.
>
>Thank You
>-chris
>

Perhaps this has already been answered; but, have you:

cd /usr/local/squirrelmail
./configure

and set all appropriate options, i.e. imap hostname, port, type?

-- 
Scott A. Moberly
smoberly at karamazov.org

Microsoft: "Where would you like to go to today"
Linux: "Where would you like to go tomorrow"
FreeBSD: "Hey,when are you guys going to catch up"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: fxtv video capturing

2003-07-09 Thread Vulpes Velox
I've had problems with the script. I had to edit mine to get it to work. Convert
movie.AUDraw to a mp3 and try mplayer. If that does not work it means your audio
settings are messed.

On Wed, 9 Jul 2003 13:54:28 -0400
david <[EMAIL PROTECTED]> wrote:

> Hi, I'm using freebsd 5.0
> 
> I am using fxtv to watch TV and I decided to try the video capturing
> feature. I am able to catch video but unable to hear the audio. I
> did select the recording source and record levels with KMix
> and I do have a audio file which was captured and it plays fine.
> below are the files in the directory I selected:
> 
> movie.AUDraw
> movie.AVraw
> movie.aiff
> movie.mpg
> movie.sh*
> 
> I ran the shell script movie.sh, but it still doesn't combine the 
> the audio file with the video file. If you had a similar problem
> and solve it, let me know. I really would appreciate it. Thanks
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

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


kern.ipc.maxsockets limits with 4GB of memory

2003-07-09 Thread Thomas Chaffic Mowad
On a Tyan s2466 motherboard with 4 gigs of ram and freebsd 4.7-release-p10
we're having trouble increasing maxsockets beyond 128k.  The kernel panics
when we try buildworlds with any more than 128k.  We were able to increase
maxsockets to 192k with a system that had 2gb and 256k with a system that
had 1.5gb.  Does anyone know what to do in order to get a higher number
for maxsockets?

We need that many sockets because we're trying to run SPECweb99 with over
2000 connections and the server starts dropping connections because theres
not enough sockets.  vmstat -z shows that the sockets are maxed out.

Someone thought that the kernel might need more memory so we tried
increasing VM_KMEM_MAXSIZE too 500 megs and then that caused a panic when
we booted up.

So we're kinda stuck here and any help would be greatly appreciated.

Thanks,
--Tom Mowad






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


Running GNOME Applications

2003-07-09 Thread Ben Shin
I am currently using Window Maker as my desktop.  Whenever I run any GNOME 
app such as XMMS or GAIM, the GNOME panel and menu is superimposed on my 
current desktop.  Is there any way to prevent this?

Thanks in advance,
Ben
_
MSN 8 with e-mail virus protection service: 2 months FREE*  
http://join.msn.com/?page=features/virus

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


Re: restoresymtable

2003-07-09 Thread Larry Rosenman


--On Wednesday, July 09, 2003 23:02:20 +0200 Dick Hoogendijk 
<[EMAIL PROTECTED]> wrote:

Inspecting the /usr directory I came across a >10MB file called
"restoresymtable"
Anybody got some idea where this came from?
Can I safely delete it?
How could it be created in the first place?
it's from restore (as in dump/restore).

It's used by that process.  I **BELIEVE** it is safe to kill it after
the restore.


--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


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


restoresymtable

2003-07-09 Thread Dick Hoogendijk
Inspecting the /usr directory I came across a >10MB file called
"restoresymtable"

Anybody got some idea where this came from?
Can I safely delete it?
How could it be created in the first place?

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.8 ++ Debian GNU/Linux (Woody)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ssh keepalives

2003-07-09 Thread Philip J. Koenig
On 9 Jul 2003 at 23:03, Paulius Bulotas boldly uttered: 


> On 03 07 09, Philip J. Koenig wrote:
> > > Apply this patch to OpenSSH, if you are running FreeBSD:
> > > http://www.sc.isc.tohoku.ac.jp/~hgot/sources/openssh-watchdog.html
> > 
> > Considering that the author of the patch greatly discourages usage of 
> > the older OpenSSH code, and considering that my recently updated 4.8-
> > STABLE box is still using OpenSSH 3.5p1 rather than the latest 3.6p1 
> > mentioned in the patch, I'm a little disinclined to do this patch 
> > because I'll have to re-patch it every time I build/install world.
> > 
> > If there's any possibility this patch will make it into the 
> > mainstream distribution I'll just wait for that.  Will wait and see, 
> > but thanks very much for the tip!
> 
> I really don't know that ;) But it worked without a problem with 3.4 and
> 3.5 versions for me, the only thing could be - you will have to apply
> some peaces of code manually, because of any differences of OpenSSH in
> base FreeBSD vs stock OpenSSH portable. But still, IMO that's the only
> option with dynamic ipfw rules ;)


Not sure what you're saying there - if I have a vanilla install of 
OpenSSH as provided in the base 4.8-STABLE system, am _not_ using 
ipfw, will I have to do additional work in addition to running the 
patch against the existing files?


-- 
Philip J. Koenig   
[EMAIL PROTECTED]
Electric Kahuna Systems -- Computers & Communications for 
the New Millenium


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


Re: USB mouse/keyboard causes kernel panic during boot sequence

2003-07-09 Thread Michael E. Mercer
Josh,

Is there an easy way to capture this without me having to handwrite all
that info down myself?

Michael Mercer

On Wed, 2003-07-09 at 13:19, Joshua Oreman wrote:
> On Tue, Jul 08, 2003 at 01:05:18PM -0400 or thereabouts, Michael E. Mercer wrote:
> > On Tue, 2003-07-08 at 12:11, Joshua Oreman wrote:
> > > On Mon, Jul 07, 2003 at 11:43:21PM -0400 or thereabouts, Michael E. Mercer wrote:
> > > > Alrighty then,
> > > > 
> > > > Ok, after following FAQ 18.13 on the freebsd web site,
> > > > I've been struggling for the last 4 hours trying to get this thing to
> > > > dump core but it just won't! I added ad2s1b to the dumpdev in rc.conf
> > > > and also read about kernel init problems need to have dumpdev added to
> > > > the loader. So I added it to loader.conf as well. 
> > > 
> > > Your swap partition must be at least a few megs bigger than your physical
> > > RAM.
> > > 
> > My swap is 1 Gig. I also changed MAXMEM in my kernel to a much smaller
> > size... still can not get a dump...
> 
> Ah, silly me. Since this is a device probe panic, rc.conf setting dumpdev
> won't ever happen.
> 
> There is one last thing you can do: put
> options DDB
> in your kernel config file. Recompile. Reproduce.
> ddb> trace
> ... 
> ddb> continue
> ...
> ddb> continue
> Uptime - 0s
> Rebooting...
> 
> -- Josh
> 
> > 
> > Any ideas?
> > 
> > > > 
> > > > Anyways, the method it points to is uhci_idone. 
> > > 
> > > Thanks!
> > 
> > No, thank you for your help!
> > 
> > Michael
> > > 
> > > -- Josh
> > > 
> > > > 
> > > > That's all I can find out at the moment, unless someone can inform me of
> > > > what I am doing wrong.
> > > > 
> > > > Thanks
> > > > Michael
> > > > 
> > > > 
> > > > 
> > > > On Mon, 2003-07-07 at 13:03, Joshua Oreman wrote:
> > > > > On Mon, Jul 07, 2003 at 12:34:48PM -0400 or thereabouts, Michael E. Mercer 
> > > > > wrote:
> > > > > > Anybody?!?!?!
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > Hello peoples,
> > > > > > 
> > > > > > I have posted this before and unfortunately I still have this problem.
> > > > > > During the boot sequence, when it probes for the USB devices, it causes
> > > > > > a kernel panic (page fault) if there is either (or both) a USB mouse
> > > > > > and/or keyboard attached.
> > > > > > 
> > > > > > If I remove the mouse and keyboard and let it boot up, then connect
> > > > > > them, they work just fine.
> > > > > > 
> > > > > > Any ideas?
> > > > > 
> > > > > > Fatal trap 12: page fault while in kernel mode
> > > > > > mp_lock = 0024; cpuid = 0; lapic.id = 
> > > > > > fault virtual address = 0x4
> > > > > > fault code = supervisor read, page not present
> > > > > > instruction pointer = 0x8: 0xc02583c4
> > > > >
> > > > > > stack pointer   = 0x10: 0xc045fd20
> > > > > > frame pointer   = 0x10: 0xc045fd3c
> > > > > > code segment= base 0x0, limit 0xf, type 0x1b
> > > > > > = DPL 0, pres 1, def 32 1, gran 1
> > > > > > processor eflags= interrupt enabled, resume, IOPC=0
> > > > > > current process = 0(swapper)
> > > > > > interrupt mask  = none <- SMP: XXX
> > > > > > trap number = 12
> > > > > > panic: page fault
> > > > > > mp_lock = 0024; cpuid = 0; lapic.id = 
> > > > > > Uptime - 0s
> > > > > 
> > > > > That pointer I highlighted is important; it is also kernel-dependent.
> > > > > Please read FAQ #18.13 to find out how to give us some useful function names,
> > > > > or better yet, a backtrace.
> > > > > 
> > > > > -- Josh
> > > > > 
> > > > > > 
> > > > > > Thanks
> > > > > > Michael Mercer
> > > > > > 
> > > > > > 
> > > > > > ___
> > > > > > [EMAIL PROTECTED] mailing list
> > > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > > > > To unsubscribe, send any mail to "[EMAIL PROTECTED]"

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


Re: Installing on a Sun Ultra 10

2003-07-09 Thread Kris Kennaway
On Wed, Jul 09, 2003 at 04:48:55PM +0100, Wayne Pascoe wrote:
> Hi all,
> 
> Does anyone have any tips for installing FreeBSD onto a Sun ultra10? I
> can boot from the CD-ROM and get to a screen asking me to pick a
> terminal. I've tried ANSI, VT-100 and FreeBSD terminal (mono). I can't
> use the arrow keys to select sysinstall options in any of these.
> 
> I could start a standard install in ANSI mode by pressing 2 and then
> enter, however I couldn't do anything in the Disk menu.
> 
> Any advice would be greatfully received.
> 

The local console is not yet supported (it will be in 5.2)..see the
release notes and hardware guide.  It's recommended to use the serial
console to perform the installation.

Kris

pgp0.pgp
Description: PGP signature


IPNAT... internal server what-to-do

2003-07-09 Thread keith
Hi all.
On my 4.7 system, I have ipfilter and ipnat.
I have several "live" ips aliased to my external ADSL interface.
Some of these are mapped into private internal ips. So far so good.
All works fine from outside. But if I want to reach one of the internal
servers from inside...eg www.smmc.qld.edu.au...the client  hangs looking.
Here are some of my rules:
==8< snip=

map fxp0 10.0.0.0/21 -> 0/32  # <---OK maps internal getting out fine!

#www server
rdr fxp0 210.15.203.195/32 port 80 -> 10.0.0.7 port 80
rdr dc0  210.15.203.195/32 port 80 -> 10.0.0.7 port 80 #<---No worky!

==8< snip=
I can figure there is a problem with this but dont have a clue how to fix it
I want to use fqdns inside not local ip addrs. It is more convenient for
users. BTW the ip address works fine...just the rdr or lookup stuff is
faulty
Help???
Thanks
Keith


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


Re: SquirrelMail on FreeBSD

2003-07-09 Thread Chris
Yes I have enabled cookies and have even tried to set explorer to 
default accept all cookies -- eek!

Thanks
-cs
Stephen Hovey wrote:

no no - I mean on the browser you are using to try and log in

On Tue, 8 Jul 2003, Chris wrote:

 

Yes,

I have tried all the php suggestions on the squirrel docs page.   
Including sessions.auto_start, register_globals etc.

-cs

Stephen Hovey wrote:

   

You got cookies enabled?

On Tue, 8 Jul 2003, Chris wrote:



 

Hello,

Has anyone had any trouble with the ports version of SquirrelMail.  I 
updated my mail ports yesterday and built cclient and IMAP-uw without 
ssl off.

I verified this by logging in through telnet:

* OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS AUTH=LOGIN] ed IMAP4rev1 
2003.337 at Tue, 8 Jul 2003 11:27:20 -0400 (EDT)
0001 login user password
0001 OK [CAPABILITY IMAP4REV1 IDLE NAMESPACE MAILBOX-REFERRALS BINARY 
SCAN SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND] User user 
authenticated
0002 logout
* BYE ed IMAP4rev1 server terminating connection
0002 OK LOGOUT completed
Connection closed by foreign host.

So now that I know IMAP and cclient work I moved on to Squirrelmail.  It 
installed successfully but when I try to login with a user on the system 
I get:

"You must be logged in to access this page."

I'm stuck on this one and would appreciate any help.  I acctually tried 
the ports version and the latest version off of squirrelmail.org and I 
get the same thing.

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

   



 

   



 



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


Re: SquirrelMail on FreeBSD

2003-07-09 Thread Chris
Yes this I have also enabled.

-cs

Alfonso Romero wrote:

Is session.use_cookies = 1 in php.ini?
- Original Message -
From: "Chris" <[EMAIL PROTECTED]>
To: "Stephen Hovey" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, July 08, 2003 4:54 PM
Subject: Re: SquirrelMail on FreeBSD
 

Yes,

I have tried all the php suggestions on the squirrel docs page.
Including sessions.auto_start, register_globals etc.
-cs

Stephen Hovey wrote:

   

You got cookies enabled?

On Tue, 8 Jul 2003, Chris wrote:



 

Hello,

Has anyone had any trouble with the ports version of SquirrelMail.  I
updated my mail ports yesterday and built cclient and IMAP-uw without
ssl off.
I verified this by logging in through telnet:

* OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS AUTH=LOGIN] ed IMAP4rev1
2003.337 at Tue, 8 Jul 2003 11:27:20 -0400 (EDT)
0001 login user password
0001 OK [CAPABILITY IMAP4REV1 IDLE NAMESPACE MAILBOX-REFERRALS BINARY
SCAN SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND] User user
authenticated
0002 logout
* BYE ed IMAP4rev1 server terminating connection
0002 OK LOGOUT completed
Connection closed by foreign host.
So now that I know IMAP and cclient work I moved on to Squirrelmail.  It
installed successfully but when I try to login with a user on the system
I get:
"You must be logged in to access this page."

I'm stuck on this one and would appreciate any help.  I acctually tried
the ports version and the latest version off of squirrelmail.org and I
get the same thing.
Thank You
-chris
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
   

"[EMAIL PROTECTED]"
 

   



 

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

"[EMAIL PROTECTED]"
 





 



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


make buildworld .. 4.5 to 4.8

2003-07-09 Thread Jeff MacDonald
Hi,

I have an older machine that was recently turned over
to me for administration. It's running Fbsd 4.5 right
now and is a product machine. Re-install is not an option.

Is it safe to do the mergemaster/makebuildworld etc. operation
on it to bring it from 4.5 to 4.8 in one step ?

I've only got experience doing it from 1 point release to
another.

Thanks.

Jeff.

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


Re: ports installation error

2003-07-09 Thread Alexander Pohoyda
"kanematsu" <[EMAIL PROTECTED]> writes:

> Jul  5 10:47:16 ws kernel: swap_pager: out of swap space
> Jul  5 10:47:17 ws kernel: swap_pager_getswapspace: failed
> Jul  5 10:47:21 ws kernel: pid 9345 (ld), uid 0, was killed: out of swap space
> 
> Does anyone have any idea?

Seems like you need more RAM or swap space.
Please follow this link:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/adding-swap-space.html


P.S. Questions are welcome on freebsd-questions@ mailing list.

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


Re: Installing on a Sun Ultra 10

2003-07-09 Thread Wayne Pascoe
On Wed, Jul 09, 2003 at 11:56:34AM -0600, Tillman wrote:
> On Wed, Jul 09, 2003 at 05:04:32PM +0100, Wayne Pascoe wrote:
> > On Wed, Jul 09, 2003 at 04:42:57PM +0100, scott wrote:
> > > when I installed OpenBSD, terminal type was 'Sun' !!!
> > > 
> > > not 100% certain it's the same for FreeBSD, but possibly worth a try 
> > 
> > You don't get to specify a terminal type, just choose from a list of 5
> > :(
> 
> Try 'n' and 'p' instead of arrow keys.
> 
> (I ran into this same problem when I installed on my Ultra 5)

Out of curiosity, which terminal did you use from the list ? VT100,
ANSI, FreeBSD Terminal (mono), FreeBSD Terminal (color) or Xterm ?

Thanks :)

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


DNS misconfigured, mail servers can't find me

2003-07-09 Thread pat bey
Or at least I think they can't 
Toomas, phaza7 is not a user on in the smtp but tweaxor is 
root never recieved any mail.   I think its a DNS problem cause I haven't configured a 
MX record in BIND 8.3.2 or a A record either.  guess that would help but having 
trouble following the handbook on how to setup a master name server for my lan will 
that help
In RFC 2181 it's says that MX should never point to CNAME why??
How can I tell in the master name server is running properly thanks for your time and 
consideration ;-)

Toomas Aas <[EMAIL PROTECTED]> wrote:
OK, as I mentioned in my previous message I cc-d it to
[EMAIL PROTECTED]

My mail server recorded the following in its log as it
tried to send mail to this address

Jul 9 16:59:54 lv sendmail[10974]: h69Dxml10970: to=
 , delay=00:00:06, xdelay=00:00:02, mailer=esmtp, pri=93327, relay=hijra.homeunix.com. 
[66.136.178.42], dsn=5.1.1, stat=User unknown

Note that I was able to successfully connect to hijra.homeunix.com. [66.136.178.42],
but it responded that user phaza7 is unknown. This leaves two possibilities:

* 66.136.178.42 is not really your server, which means that there is some confusion
with dyndns.org nameserver.
* you haven't defined local user phaza7 in your server.

Mail to [EMAIL PROTECTED] was successfully delivered:

Jul 9 16:59:55 lv sendmail[10974]: h69Dxml10970: to=, delay=00:00:07, xdelay=00:00:03, 
mailer=esmtp, pri=93327, relay=hijra.homeunix.com. [66.136.178.42], dsn=2.0.0, 
stat=Sent (Ok: queued as E19E9B55)
--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* The cost of living hasn't affected its popularity.



Suppressed minds have no Freedom of Choice

-
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ssh keepalives

2003-07-09 Thread Chuck Swiger
Philip J. Koenig wrote:
On 9 Jul 2003 at 20:24, Paulius Bulotas boldly uttered: 
a bit late answer, but I'm not able to keep up with my email traffic ;)

Apply this patch to OpenSSH, if you are running FreeBSD:
http://www.sc.isc.tohoku.ac.jp/~hgot/sources/openssh-watchdog.html
[ ... ]
Considering that the author of the patch greatly discourages usage of 
the older OpenSSH code, and considering that my recently updated 4.8-
STABLE box is still using OpenSSH 3.5p1 rather than the latest 3.6p1 
mentioned in the patch, I'm a little disinclined to do this patch 
because I'll have to re-patch it every time I build/install world.

If there's any possibility this patch will make it into the 
mainstream distribution I'll just wait for that.  Will wait and see, 
but thanks very much for the tip!
Why not add the patch mentioned above to /usr/ports/security/openssh/files, and 
then build openssh-3.6p1 as a package?  When you installworld, re-add this 
package afterwards...

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


Re: ssh keepalives

2003-07-09 Thread Philip J. Koenig
On 9 Jul 2003 at 20:24, Paulius Bulotas boldly uttered: 

> Hi,
> 
> a bit late answer, but I'm not able to keep up with my email traffic ;)
> 
> Apply this patch to OpenSSH, if you are running FreeBSD:
> http://www.sc.isc.tohoku.ac.jp/~hgot/sources/openssh-watchdog.html
> 
> and use Heartbeat option with something less then dynamic rules life ;)
> 
> Regards,
> Paulius


Aha, now this is a very interesting response!

Considering that the author of the patch greatly discourages usage of 
the older OpenSSH code, and considering that my recently updated 4.8-
STABLE box is still using OpenSSH 3.5p1 rather than the latest 3.6p1 
mentioned in the patch, I'm a little disinclined to do this patch 
because I'll have to re-patch it every time I build/install world.

If there's any possibility this patch will make it into the 
mainstream distribution I'll just wait for that.  Will wait and see, 
but thanks very much for the tip!



 
> On 03 07 01, Philip J. Koenig wrote:
> > 
> > I'm having a problem with premature termination of ssh sessions after 
> > an idle period of a few minutes, getting a "connection reset by peer" 
> > message.  I presume this is due to intermediate stateful firewalls 
> > closing the connection when no traffic passes for a period of time.
> > 
> > In the past I've addressed this issue when I have control of the 
> > destination host, by including the following parameters in 
> > sshd_config:
> > 
> > ClientAliveInterval 30
> > ClientAliveCountMax 4
> > 
> > 
> > However in this case I don't have control over the destination.  It's 
> > a self-contained network device.
> > 
> > man 5 ssh_conf says that "KeepAlive" is the default with ssh.  Is 
> > there any other tactic I can use to keep these connections from 
> > closing after a few minutes of inactivity?
> > 
> > Currently on FreeBSD 4.8-stable with OpenSSH_3.5p1


-- 
Philip J. Koenig   
[EMAIL PROTECTED]
Electric Kahuna Systems -- Computers & Communications for 
the New Millenium


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


ATI-Radeon-9000

2003-07-09 Thread cloper
I have a Dell Latitude D600 Laptop with the ATI Radeon 9000 video 
chipset, with FreeBSD-4.8 w/ XFree86-4.3, yet I still can not get X to 
work. I just get 'symbol' errors for the ATI driver. Anyone else have 
the same problem?
Thanks,
[EMAIL PROTECTED]

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


Re: ICMP redirect

2003-07-09 Thread Dan Nelson
In the last episode (Jul 09), Bob Hall said:
> This isn't critical, but I'm wondering if someone can tell me what is
> going on here.
> 
> I did
>   traceroute 217.20.241.75
> and got several of the following on ttyv0, which displays kernel and 
> other messages:
>   icmp redirect from 213.232.120.198: 217.20.241.75 => 213.232.120.194
> 
> I'm guessing that the router at 213.232.120.198 is redirecting ICMP
> packets, but why is this information showing up on the tty that
> handles internal messages?

You probably have the net.inet.icmp.log_redirect sysctl set to 1.  It
defaults to 0.

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


ICMP redirect

2003-07-09 Thread Bob Hall
This isn't critical, but I'm wondering if someone can tell me what 
is going on here. 

I did
traceroute 217.20.241.75
and got several of the following on ttyv0, which displays kernel and 
other messages:
icmp redirect from 213.232.120.198: 217.20.241.75 => 213.232.120.194

I'm guessing that the router at 213.232.120.198 is redirecting ICMP 
packets, but why is this information showing up on the tty that 
handles internal messages?

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


Lexmark

2003-07-09 Thread Per Nilsson
Heya.

My name is Per Nilsson, and i am a true FreeBSD user, but I have one problem 
now. I got myself a new computerpackage, and i bought a combo-unit for it, 
with a printer and a scanner. The name on that unit is 'Lexmark x75' and you 
can read about it at: 
http://www.lexmark.com/Canada/printers/inkjet/X75/X75_tech.html

Now I was wondering if FreeBSD 4.7 or higher support that Lexmark in any 
way, and where I can get software that works on it?!

// Per Nilsson

_
Hitta rätt köpare på MSN Köp & Sälj http://www.msn.se/koposalj
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: How do I max a 6Mbps link

2003-07-09 Thread Lapinski, Michael (Research)
I said roughly.

--
Michael Lapinski
Computer Scientist
GE Research


"I think there is a world market for maybe five computers."
- IBM Chairman Thomas Watson, 1943


->-Original Message-
->From: Dukemaster [mailto:[EMAIL PROTECTED]
->Sent: Wednesday, July 09, 2003 2:28 PM
->To: 'Lapinski, Michael (Research)'
->Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
->Subject: RE: How do I max a 6Mbps link
->
->
->Wrong again a 6megabit link is exactly 768kilobytes/sec
->
->
->-Original Message-
->From: [EMAIL PROTECTED]
->[mailto:[EMAIL PROTECTED] On Behalf Of Lapinski, Michael
->(Research)
->Sent: Wednesday, July 09, 2003 1:32 PM
->To: 'Simon'; [EMAIL PROTECTED]; 
->[EMAIL PROTECTED]; Max
->Clark
->Subject: RE: How do I max a 6Mbps link
->
->
->1) "6mbps link, which is roughly 3megs/sec" is inaccurate 
->   6 Mbits is roughly 600kilobytes/second
->
->2) A common way to speed up transfers is to tune your 
->   tcp window sizes using /sbin/sysctl.
->   The two you may wish to lok at are:
->  net.inet.tcp.sendspace
->  net.inet.tcp.recvspace
->   try values like 128000 and 256000
->   Doing so so on bnoth machien sshould increase your throughput.
->
->   A good reference for all the syctl variable is available at
->   http://people.freebsd.org/~adrian/sysctl.descriptions, 
->   the freebsd manual may have em soemwhere but i cant recall 
->   where.
->
->-mtl
->
->--
->Michael Lapinski
->Computer Scientist
->GE Research
->
->
->"I think there is a world market for maybe five computers."
->- IBM Chairman Thomas Watson, 1943
->
->
->->-Original Message-
->->From: Simon [mailto:[EMAIL PROTECTED]
->->Sent: Wednesday, July 09, 2003 1:19 PM
->->To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; 
->Max Clark
->->Subject: Re: How do I max a 6Mbps link
->->
->->
->->
->->Sounds like you have a problem with your server/network hardware or
->->firewall/proftpd settings. FreeBSD out of the box on low-end 
->->Intel hardware
->->can  easily sustain 6mbps link, which is roughly 3megs/sec. 
->Make sure
->->your harddrive on receiving end can write at least this fast 
->->and your network
->->is capable of such transfers. Sometimes faulty switches/cable 
->->wires can
->->cause packet loss/delays, causing a bottleneck. It could be a 
->->number of
->->things, but I would start with testing your network.
->->
->->-Simon
->->
->->On Wed, 9 Jul 2003 10:12:03 -0700, Max Clark wrote:
->->
->->>Hi all,
->->>
->->>What configuration changes do I need to make to two 
->->freebsd-stable boxes to
->->>fully max out a 6Mbps/220ms network link? This is for bulk 
->->500+MB file
->->>transfers.
->->>
->->>The target application is proftpd with ncftpd as the client.
->->>
->->>Thanks in advance,
->->>Max
->->>
->->>___
->->>[EMAIL PROTECTED] mailing list
->->>http://lists.freebsd.org/mailman/listinfo/freebsd-isp
->->>To unsubscribe, send any mail to 
->->"[EMAIL PROTECTED]"
->->>
->->
->->
->->___
->->[EMAIL PROTECTED] mailing list
->->http://lists.freebsd.org/mailman/listinfo/freebsd-isp
->->To unsubscribe, send any mail to 
->"[EMAIL PROTECTED]"
->->
->___
->[EMAIL PROTECTED] mailing list
->http://lists.freebsd.org/mailman/listinfo/freebsd-isp
->To unsubscribe, send any mail to "[EMAIL PROTECTED]"
->
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: How do I max a 6Mbps link

2003-07-09 Thread Dukemaster
Wrong again a 6megabit link is exactly 768kilobytes/sec


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lapinski, Michael
(Research)
Sent: Wednesday, July 09, 2003 1:32 PM
To: 'Simon'; [EMAIL PROTECTED]; [EMAIL PROTECTED]; Max
Clark
Subject: RE: How do I max a 6Mbps link


1) "6mbps link, which is roughly 3megs/sec" is inaccurate 
   6 Mbits is roughly 600kilobytes/second

2) A common way to speed up transfers is to tune your 
   tcp window sizes using /sbin/sysctl.
   The two you may wish to lok at are:
net.inet.tcp.sendspace
net.inet.tcp.recvspace
   try values like 128000 and 256000
   Doing so so on bnoth machien sshould increase your throughput.

   A good reference for all the syctl variable is available at
   http://people.freebsd.org/~adrian/sysctl.descriptions, 
   the freebsd manual may have em soemwhere but i cant recall 
   where.

-mtl

--
Michael Lapinski
Computer Scientist
GE Research


"I think there is a world market for maybe five computers."
- IBM Chairman Thomas Watson, 1943


->-Original Message-
->From: Simon [mailto:[EMAIL PROTECTED]
->Sent: Wednesday, July 09, 2003 1:19 PM
->To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; Max Clark
->Subject: Re: How do I max a 6Mbps link
->
->
->
->Sounds like you have a problem with your server/network hardware or
->firewall/proftpd settings. FreeBSD out of the box on low-end 
->Intel hardware
->can  easily sustain 6mbps link, which is roughly 3megs/sec. Make sure
->your harddrive on receiving end can write at least this fast 
->and your network
->is capable of such transfers. Sometimes faulty switches/cable 
->wires can
->cause packet loss/delays, causing a bottleneck. It could be a 
->number of
->things, but I would start with testing your network.
->
->-Simon
->
->On Wed, 9 Jul 2003 10:12:03 -0700, Max Clark wrote:
->
->>Hi all,
->>
->>What configuration changes do I need to make to two 
->freebsd-stable boxes to
->>fully max out a 6Mbps/220ms network link? This is for bulk 
->500+MB file
->>transfers.
->>
->>The target application is proftpd with ncftpd as the client.
->>
->>Thanks in advance,
->>Max
->>
->>___
->>[EMAIL PROTECTED] mailing list
->>http://lists.freebsd.org/mailman/listinfo/freebsd-isp
->>To unsubscribe, send any mail to 
->"[EMAIL PROTECTED]"
->>
->
->
->___
->[EMAIL PROTECTED] mailing list
->http://lists.freebsd.org/mailman/listinfo/freebsd-isp
->To unsubscribe, send any mail to "[EMAIL PROTECTED]"
->
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-isp
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

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


Gif Problem

2003-07-09 Thread Company 2210
I'm running freebsd 5.0, and trying to setup a VPN tunnel between two boxes. However, 
I'm having some problems getting a gif tunnel working - the setup looks like this:

Box-A 
ed0: 10.0.0.2
rl0:81.17.78.1

Box-B
aue0: 10.0.0.1
rl0:81.17.78.81

Now, I've added the following lines to rc.conf to preconfigure the gif interface: 

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


Re: pooh.ASARian.org security run output (lots of wrong arpmessages)

2003-07-09 Thread Lowell Gilbert
John Murphy <[EMAIL PROTECTED]> writes:

> Fuzzy <[EMAIL PROTECTED]> wrote:
> >
> >Is there any way to convince the kernel not to log these
> >incorrect arp messages?
> >
> >currently we have...
> >net.link.ether.inet.log_arp_wrong_iface: 1
> >
> >Is there a different sysctl or variable for rc.conf
> >to stop it from logging incorrect information?
> 
> Indeed there is but only in 5.0 or greater I believe.  It's called:
> 
> net.link.ether.inet.log_arp_movements

Actually, both of those are available in -STABLE.
However, it's usually better to fix the source of the address changes,
if it's under your control.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Moving locate DB from weekly to daily?

2003-07-09 Thread Lowell Gilbert
Dragoncrest <[EMAIL PROTECTED]> writes:

>   Other than just copying the script "310.locate" from the
> weekly folder to the daily folder, what else do I need to do in order
> to move the rebuilding of the locate database from weekly to daily?  I
> want to rebuild it daily if possible.  I doubt that'll put a lot of
> extra load on my machine as it does the rebuild and other cron tasks
> around 3am anyways.  Any suggestions are welcome.

That should work fine, although if it were I, I'd use a different
number because there's already a "310.*" script in periodic/daily.
This isn't important to the computer, of course, but it may save
some human confusion in the future.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Swap usage locks up my laptop.

2003-07-09 Thread Jon Fox
Whenever I start up gnome I'm getting panics and reboots, until I got
wise and ran ``swapoff'' and started up gnome. No panics. 

How can I check my swap parition in FreeBSD. I've used fsck and
badblocks on ext2 in Linux, but how do I check my FreeBSD swap? 



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


fxtv video capturing

2003-07-09 Thread david
Hi, I'm using freebsd 5.0

I am using fxtv to watch TV and I decided to try the video capturing
feature. I am able to catch video but unable to hear the audio. I
did select the recording source and record levels with KMix
and I do have a audio file which was captured and it plays fine.
below are the files in the directory I selected:

movie.AUDraw
movie.AVraw
movie.aiff
movie.mpg
movie.sh*

I ran the shell script movie.sh, but it still doesn't combine the 
the audio file with the video file. If you had a similar problem
and solve it, let me know. I really would appreciate it. Thanks
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Installing on a Sun Ultra 10

2003-07-09 Thread Tillman
On Wed, Jul 09, 2003 at 05:04:32PM +0100, Wayne Pascoe wrote:
> On Wed, Jul 09, 2003 at 04:42:57PM +0100, scott wrote:
> > when I installed OpenBSD, terminal type was 'Sun' !!!
> > 
> > not 100% certain it's the same for FreeBSD, but possibly worth a try 
> 
> You don't get to specify a terminal type, just choose from a list of 5
> :(

Try 'n' and 'p' instead of arrow keys.

(I ran into this same problem when I installed on my Ultra 5)

-T


-- 
The priest Sung-yuan said, "Why does the enlightened man not stand on his feet
and explain himself?" And he said, "It is not with the tongue that you speak."
- Zen koan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How do I max a 6Mbps link

2003-07-09 Thread Kevin Stevens


On Wed, 9 Jul 2003, Max Clark wrote:

> Hi all,
>
> What configuration changes do I need to make to two freebsd-stable boxes to
> fully max out a 6Mbps/220ms network link? This is for bulk 500+MB file
> transfers.

You need to increase the maximum TCP window size setting (not sure what
sysctl it is) to around 256KB to accommodate the bandwidth/latency
product.  In brief, 6Mb/1500B frames = 500 frames/sec.  Using 250ms for
simplicity, you need a large enough TCP window to handle 1/4 of that (125
frames x 1500 bytes/frame = 183KB, round up to 256KB) to permit continuous
streaming.  Note that TCP windows actually only go to 64KB, you need to
use TCP window scaling as a multiplier to go beyond that.  Both stations
must support it.

You can find more info on this on the web, look for
high-latency/high-bandwidth.

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


Re: How do I max a 6Mbps link

2003-07-09 Thread Mykroft Holmes IV


Simon wrote:

Sounds like you have a problem with your server/network hardware or
firewall/proftpd settings. FreeBSD out of the box on low-end Intel hardware
can  easily sustain 6mbps link, which is roughly 3megs/sec. Make sure
your harddrive on receiving end can write at least this fast and your network
is capable of such transfers. Sometimes faulty switches/cable wires can
cause packet loss/delays, causing a bottleneck. It could be a number of
things, but I would start with testing your network.
-Simon



6Mb/s is more like 900KB/s not 3 megs/sec(Which would be 24Mbps)

Adam

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


RE: How do I max a 6Mbps link

2003-07-09 Thread Simon

Ops, you're absolutely right, I don't know how I got the 3megs, I'm in the middle
of getting a mortgage, if you know what I mean. Sorry for any confusion I might
have caused. I do know my bits and bytes and I was way off indeed, my mistake.

-Simon

On Wed, 9 Jul 2003 13:31:54 -0400, Lapinski, Michael (Research) wrote:

>1) "6mbps link, which is roughly 3megs/sec" is inaccurate 
>   6 Mbits is roughly 600kilobytes/second
>
>2) A common way to speed up transfers is to tune your 
>   tcp window sizes using /sbin/sysctl.
>   The two you may wish to lok at are:
>   net.inet.tcp.sendspace
>   net.inet.tcp.recvspace
>   try values like 128000 and 256000
>   Doing so so on bnoth machien sshould increase your throughput.
>
>   A good reference for all the syctl variable is available at
>   http://people.freebsd.org/~adrian/sysctl.descriptions, 
>   the freebsd manual may have em soemwhere but i cant recall 
>   where.
>
>-mtl
>
>--
>Michael Lapinski
>Computer Scientist
>GE Research
>
>
>"I think there is a world market for maybe five computers."
>- IBM Chairman Thomas Watson, 1943
>
>
>->-Original Message-
>->From: Simon [mailto:[EMAIL PROTECTED]
>->Sent: Wednesday, July 09, 2003 1:19 PM
>->To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; Max Clark
>->Subject: Re: How do I max a 6Mbps link
>->
>->
>->
>->Sounds like you have a problem with your server/network hardware or
>->firewall/proftpd settings. FreeBSD out of the box on low-end 
>->Intel hardware
>->can  easily sustain 6mbps link, which is roughly 3megs/sec. Make sure
>->your harddrive on receiving end can write at least this fast 
>->and your network
>->is capable of such transfers. Sometimes faulty switches/cable 
>->wires can
>->cause packet loss/delays, causing a bottleneck. It could be a 
>->number of
>->things, but I would start with testing your network.
>->
>->-Simon
>->
>->On Wed, 9 Jul 2003 10:12:03 -0700, Max Clark wrote:
>->
>->>Hi all,
>->>
>->>What configuration changes do I need to make to two 
>->freebsd-stable boxes to
>->>fully max out a 6Mbps/220ms network link? This is for bulk 
>->500+MB file
>->>transfers.
>->>
>->>The target application is proftpd with ncftpd as the client.
>->>
>->>Thanks in advance,
>->>Max
>->>
>->>___
>->>[EMAIL PROTECTED] mailing list
>->>http://lists.freebsd.org/mailman/listinfo/freebsd-isp
>->>To unsubscribe, send any mail to 
>->"[EMAIL PROTECTED]"
>->>
>->
>->
>->___
>->[EMAIL PROTECTED] mailing list
>->http://lists.freebsd.org/mailman/listinfo/freebsd-isp
>->To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>->
>


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


Re: How do I max a 6Mbps link

2003-07-09 Thread Thomas T. Veldhouse
The problem is probably file I/O.  I use samba for use with Windows.  I can
transfer a large file from my FreeBSD server and get almost 10MB/s (using an
Intel 10/100 card).  However, when I transfer files to FreeBSD, I only get
about 6MB/s.  I seem to get this same ratio when using FTP transfers as
well.  This leads me to believe it is I/O bound (my FreeBSD machine has a
UDMA66, mainboard limitted to UDMA33,  7200RPM drive in it running
softupdates).  BTW -- this is one area where Linux (w / reiserfs) kicks the
FreeBSD daemon all over town.

Tom Veldhouse

- Original Message -
From: "Simon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; "Max Clark"
<[EMAIL PROTECTED]>
Sent: Wednesday, July 09, 2003 12:19 PM
Subject: Re: How do I max a 6Mbps link


>
> Sounds like you have a problem with your server/network hardware or
> firewall/proftpd settings. FreeBSD out of the box on low-end Intel
hardware
> can  easily sustain 6mbps link, which is roughly 3megs/sec. Make sure
> your harddrive on receiving end can write at least this fast and your
network
> is capable of such transfers. Sometimes faulty switches/cable wires can
> cause packet loss/delays, causing a bottleneck. It could be a number of
> things, but I would start with testing your network.
>
> -Simon
>
> On Wed, 9 Jul 2003 10:12:03 -0700, Max Clark wrote:
>
> >Hi all,
> >
> >What configuration changes do I need to make to two freebsd-stable boxes
to
> >fully max out a 6Mbps/220ms network link? This is for bulk 500+MB file
> >transfers.
> >
> >The target application is proftpd with ncftpd as the client.
> >
> >Thanks in advance,
> >Max
> >
> >___
> >[EMAIL PROTECTED] mailing list
> >http://lists.freebsd.org/mailman/listinfo/freebsd-isp
> >To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> >
>
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>

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


RE: How do I max a 6Mbps link

2003-07-09 Thread Lapinski, Michael (Research)
1) "6mbps link, which is roughly 3megs/sec" is inaccurate 
   6 Mbits is roughly 600kilobytes/second

2) A common way to speed up transfers is to tune your 
   tcp window sizes using /sbin/sysctl.
   The two you may wish to lok at are:
net.inet.tcp.sendspace
net.inet.tcp.recvspace
   try values like 128000 and 256000
   Doing so so on bnoth machien sshould increase your throughput.

   A good reference for all the syctl variable is available at
   http://people.freebsd.org/~adrian/sysctl.descriptions, 
   the freebsd manual may have em soemwhere but i cant recall 
   where.

-mtl

--
Michael Lapinski
Computer Scientist
GE Research


"I think there is a world market for maybe five computers."
- IBM Chairman Thomas Watson, 1943


->-Original Message-
->From: Simon [mailto:[EMAIL PROTECTED]
->Sent: Wednesday, July 09, 2003 1:19 PM
->To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; Max Clark
->Subject: Re: How do I max a 6Mbps link
->
->
->
->Sounds like you have a problem with your server/network hardware or
->firewall/proftpd settings. FreeBSD out of the box on low-end 
->Intel hardware
->can  easily sustain 6mbps link, which is roughly 3megs/sec. Make sure
->your harddrive on receiving end can write at least this fast 
->and your network
->is capable of such transfers. Sometimes faulty switches/cable 
->wires can
->cause packet loss/delays, causing a bottleneck. It could be a 
->number of
->things, but I would start with testing your network.
->
->-Simon
->
->On Wed, 9 Jul 2003 10:12:03 -0700, Max Clark wrote:
->
->>Hi all,
->>
->>What configuration changes do I need to make to two 
->freebsd-stable boxes to
->>fully max out a 6Mbps/220ms network link? This is for bulk 
->500+MB file
->>transfers.
->>
->>The target application is proftpd with ncftpd as the client.
->>
->>Thanks in advance,
->>Max
->>
->>___
->>[EMAIL PROTECTED] mailing list
->>http://lists.freebsd.org/mailman/listinfo/freebsd-isp
->>To unsubscribe, send any mail to 
->"[EMAIL PROTECTED]"
->>
->
->
->___
->[EMAIL PROTECTED] mailing list
->http://lists.freebsd.org/mailman/listinfo/freebsd-isp
->To unsubscribe, send any mail to "[EMAIL PROTECTED]"
->
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How do I max a 6Mbps link

2003-07-09 Thread Simon

Sounds like you have a problem with your server/network hardware or
firewall/proftpd settings. FreeBSD out of the box on low-end Intel hardware
can  easily sustain 6mbps link, which is roughly 3megs/sec. Make sure
your harddrive on receiving end can write at least this fast and your network
is capable of such transfers. Sometimes faulty switches/cable wires can
cause packet loss/delays, causing a bottleneck. It could be a number of
things, but I would start with testing your network.

-Simon

On Wed, 9 Jul 2003 10:12:03 -0700, Max Clark wrote:

>Hi all,
>
>What configuration changes do I need to make to two freebsd-stable boxes to
>fully max out a 6Mbps/220ms network link? This is for bulk 500+MB file
>transfers.
>
>The target application is proftpd with ncftpd as the client.
>
>Thanks in advance,
>Max
>
>___
>[EMAIL PROTECTED] mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-isp
>To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>


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


Re: USB mouse/keyboard causes kernel panic during boot sequence

2003-07-09 Thread Joshua Oreman
On Tue, Jul 08, 2003 at 01:05:18PM -0400 or thereabouts, Michael E. Mercer wrote:
> On Tue, 2003-07-08 at 12:11, Joshua Oreman wrote:
> > On Mon, Jul 07, 2003 at 11:43:21PM -0400 or thereabouts, Michael E. Mercer wrote:
> > > Alrighty then,
> > > 
> > > Ok, after following FAQ 18.13 on the freebsd web site,
> > > I've been struggling for the last 4 hours trying to get this thing to
> > > dump core but it just won't! I added ad2s1b to the dumpdev in rc.conf
> > > and also read about kernel init problems need to have dumpdev added to
> > > the loader. So I added it to loader.conf as well. 
> > 
> > Your swap partition must be at least a few megs bigger than your physical
> > RAM.
> > 
> My swap is 1 Gig. I also changed MAXMEM in my kernel to a much smaller
> size... still can not get a dump...

Ah, silly me. Since this is a device probe panic, rc.conf setting dumpdev
won't ever happen.

There is one last thing you can do: put
options DDB
in your kernel config file. Recompile. Reproduce.
ddb> trace
... 
ddb> continue
...
ddb> continue
Uptime - 0s
Rebooting...

-- Josh

> 
> Any ideas?
> 
> > > 
> > > Anyways, the method it points to is uhci_idone. 
> > 
> > Thanks!
> 
> No, thank you for your help!
> 
> Michael
> > 
> > -- Josh
> > 
> > > 
> > > That's all I can find out at the moment, unless someone can inform me of
> > > what I am doing wrong.
> > > 
> > > Thanks
> > > Michael
> > > 
> > > 
> > > 
> > > On Mon, 2003-07-07 at 13:03, Joshua Oreman wrote:
> > > > On Mon, Jul 07, 2003 at 12:34:48PM -0400 or thereabouts, Michael E. Mercer 
> > > > wrote:
> > > > > Anybody?!?!?!
> > > > > 
> > > > > 
> > > > > 
> > > > > Hello peoples,
> > > > > 
> > > > > I have posted this before and unfortunately I still have this problem.
> > > > > During the boot sequence, when it probes for the USB devices, it causes
> > > > > a kernel panic (page fault) if there is either (or both) a USB mouse
> > > > > and/or keyboard attached.
> > > > > 
> > > > > If I remove the mouse and keyboard and let it boot up, then connect
> > > > > them, they work just fine.
> > > > > 
> > > > > Any ideas?
> > > > 
> > > > > Fatal trap 12: page fault while in kernel mode
> > > > > mp_lock = 0024; cpuid = 0; lapic.id = 
> > > > > fault virtual address = 0x4
> > > > > fault code = supervisor read, page not present
> > > > > instruction pointer = 0x8: 0xc02583c4
> > > >
> > > > > stack pointer   = 0x10: 0xc045fd20
> > > > > frame pointer   = 0x10: 0xc045fd3c
> > > > > code segment= base 0x0, limit 0xf, type 0x1b
> > > > > = DPL 0, pres 1, def 32 1, gran 1
> > > > > processor eflags= interrupt enabled, resume, IOPC=0
> > > > > current process = 0(swapper)
> > > > > interrupt mask  = none <- SMP: XXX
> > > > > trap number = 12
> > > > > panic: page fault
> > > > > mp_lock = 0024; cpuid = 0; lapic.id = 
> > > > > Uptime - 0s
> > > > 
> > > > That pointer I highlighted is important; it is also kernel-dependent.
> > > > Please read FAQ #18.13 to find out how to give us some useful function names,
> > > > or better yet, a backtrace.
> > > > 
> > > > -- Josh
> > > > 
> > > > > 
> > > > > Thanks
> > > > > Michael Mercer
> > > > > 
> > > > > 
> > > > > ___
> > > > > [EMAIL PROTECTED] mailing list
> > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > > > To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Restricting logins by terminal

2003-07-09 Thread Charley

I would like to restrict user login based on the terminal where the login 
request originates.  Ideally, I want Root, and ONLY Root, to be able to log 
in at the console.  The system is already running SSHD, so I want to be able 
to check logins via SSH.  Root should not be allowed to log in from a remote 
terminal and SU should be disabled for any remote terminal.  Is there 
something in the ports collection that I've missed that will do this?  Maybe 
I'm just blind and haven't yet seen something like this in the manual.

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


How do I max a 6Mbps link

2003-07-09 Thread Max Clark
Hi all,

What configuration changes do I need to make to two freebsd-stable boxes to
fully max out a 6Mbps/220ms network link? This is for bulk 500+MB file
transfers.

The target application is proftpd with ncftpd as the client.

Thanks in advance,
Max

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


VMware3 FreeBSD port

2003-07-09 Thread Mike Futerko
Hi,

Does VMware3 support USB under FreeBSD 5.1, and how to configure it?

I have USB scanner (HP ScanJet 3500C) which is not supported by SANE, so I
hope I could use it with windoze installed into VMware...

Thanks in advance,
Mike.


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


Re: 5.1 COMMENTFILE Problem

2003-07-09 Thread Matthew Seaman
On Wed, Jul 09, 2003 at 11:30:29AM -0400, DAVID MARKLE wrote:

> OK, I read the FAQ and did not find reference to changing the "owner" 
> of the ports tree (if you will, regestering the tree structure with 
> CVSup).  I cannot even install cvsupit from /usr/ports/net/cvsupit.  
> Doing a make install from that directory, I get the comment file.
> 
> Sorry for not getting it.

Hmmm... net/cvsupit is marked broken, plus it seems it hasn't been
updated since 4_6_RELEASE was state of the art.

I recommend that you just grab one of the cvsup or cvsup-without-gui
packages, plus any dependencies, from one of the FTP sites and install
(pkg_add) that. Those dependencies are:

/net/cvsup:% make pretty-print-run-depends-list
This port requires package(s) "XFree86-libraries-4.3.0_5 expat-1.95.6_1 
fontconfig-2.2.1 freetype2-2.1.4_1 imake-4.3.0 pkgconfig-0.15.0" to run.

/net/cvsup-without-gui:% make pretty-print-run-depends-list
(no dependencies...)

Then the cheat's way of getting cvsup(1) configured quickly is to add
some variable settings to /etc/make.conf:

SUP_UPDATE= yes
SUP=/usr/local/bin/cvsup
SUPFLAGS=   -g -L 2
SUPHOST=cvsup.XX.FreeBSD.org   [1]
SUPFILE=/usr/share/examples/cvsup/standard-supfile [2]
PORTSSUPFILE=   /usr/share/examples/cvsup/ports-supfile

[1] Choose a server near to you

[2] standard-supfile will get you the sources for the same OS branch
as you installed.  In you case, probably RELENG_5_1.  However, if you
aren't interested in updating the system sources, it doesn't really
matter what this is set to.

Having done that, you can now:

# cd /usr/ports
# make update

to update your ports tree.  If you've got bandwidth to burn, you can
even go as far as removing most of the structure under /usr/ports
before you run cvsup(1):

# cd /usr/ports
# rm -rf [a-z]*

otherwise, you should probably do the register-the-files-with-cvsup
thing.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: nutball video question

2003-07-09 Thread Alexey Koptsevich

Mark,

> >  Is it possible to record video under FreeBSD? Which card should I buy for
> >  that? Is multicasting can be done using combination of available software,
> >  or some programming required?
> 
> For serious digital recording, I would point you towards hardware
> MPEG2 compression. FreeBSD does not have a free driver for hardware
> MPEG2 devices.

For which device(s) does it have a non-free driver? Or hardware MPEG2
devices are not supported by FreeBSD at all?

Thanks,
Alex

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


Re: Installing on a Sun Ultra 10

2003-07-09 Thread Wayne Pascoe
On Wed, Jul 09, 2003 at 04:42:57PM +0100, scott wrote:
> when I installed OpenBSD, terminal type was 'Sun' !!!
> 
> not 100% certain it's the same for FreeBSD, but possibly worth a try 

You don't get to specify a terminal type, just choose from a list of 5
:(

-- 
Wayne Pascoe
Everything to excess. To enjoy the flavour of 
life, take big bites. Moderation is for 
monks. - Robert Heinlein
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ftpchroot

2003-07-09 Thread Richard Jones
Hi,

I'm trying to get ftpchroot to work and having problems:

In the ftpchroot man page it states that a user (non-anonymous) can be
chrooted by specifying the username and directory as so

user ftp_dir

if there is no leading "/" then the directory is relative to the user's
home directory.

The problem is that "user ftp_dir" works, but "user /home/user/ftp_dir"
does not, giving an error "421 Service not available, remote server has
closed connection". 

There's nothing in syslog or /var/log/xfer.log to indicate why, just
"ftpd exited", and "FTP LOGIN FROM ..."

I'm using FreeBSD-5.1 RELEASE, can anyone help?

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


Re: Can vi edit binary file in hex format?

2003-07-09 Thread othermark
Supote Leelasupphakorn wrote:
>Is there option that enable standard vi (accompany wiht FreeBSD)
> for editing binary file in hex format ?

I do this fairly regularly, just use xxd.  For example try this:

cp /bin/cat ~/mycat
vi ~/mycat

[esc] :%!xxd 



[esc] :%!xxd -r
[esc] :wq!
./mycat 

You can also 'pre' xxd transform the file, then edit it, then transform
it back when finished.

---
Mark
atkin901 at NOSPAM yahoo dot com
(!wired)?(coffee++):(wired);

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


Cyrus PAM authentication doesn't work for POP3 (works for IMAP)

2003-07-09 Thread Johan Paul
Hi all!

Just a brief question: does anyone have a clue why this doesn't work
(4.8R) in /etc/pam.conf:
pop auth sufficient pam_mysql.so user=foo passwd=foo host=localhost
db=mail table=accountuser usercolumn=username passwdcolumn=password crypt=1
pop account required pam_mysql.so user=foo passwd=foo host=localhost
db=mail table=accountuser usercolumn=username passwdcolumn=password crypt=1
?

I have the same lines for IMAP (the line starting with imap) and it 
works fine. This is the setup I would use with web-cyradmin.

In imapd.conf I have tried for sasl_pwcheck_method both 'PAM' and
'saslauthd' (which would use PAM...). If I set it to be 'saslauthd' I 
get this in /var/log/messages:

Jul  9 18:36:55 silakka pop3d[23741]: badlogin: 
dyn-7.milkyway[10.0.42.7] plaintext kypeli cannot connect to pwcheck server

If I set it to 'PAM' I get nothing in messages - the client just shows 
an error for invalid login. IMAP forks fine no matter if 
sasl_pwcheck_method is PAM or saslauthd.

I am a bit confused :-)

Thanks again in advance!

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


  1   2   >