Re: problems with make world process

2004-04-06 Thread Ryan Merrick
[EMAIL PROTECTED] wrote:
I am trying to use the make world process and am having a major problem.
Everything goes well until the last step.
First I tied upgrading to 4.9 stable by:
cvsuping RELENG_4
make buildworld
make buildkernel
make installkernel
reboot (single user)
mergemaster -p
make installworld
mergemaster
reboot
When I reboot the network is totally broken, if I try to ping 192.168.1.1
my local gateway I get:
ping: sendto: No route to host
So, I thought maybe the mergemaster process hosed things up.  I did the
whole process again and instead of running mergemaster, I rebooted after a
successful installworld.  Again, same thing the network is broken.
Then, I thought maybe something is wrong with 4.9, so I repeated the
exercise again twice going from 5.2.1.Release to 5.2.1.p4.  And still no
luck.  So, I am obviously missing something big or small (or both).
The purpose for doing this is to build a firewall by following the
directions
at:http://www.schlacter.net/public/FreeBSD-STABLE_and_IPFILTER.html
Everything looks ok as far as ifconfig and /etc/rc.conf are concerned.
What can I  do to troubleshoot the network problem?  Any advice would be
greatly appreciated.  TIA
Andy

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

I have been in this tough spot a few times. The default firewall rule is 
deny any to any. The default is used when no firewall type is specified 
in #/etc/rc.conf.

To solve without reboot:
#ipfw add 65000 allow ip from any to any
echo 'firewall_type=open' /etc/rc.conf

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


Re: dhcp problem, dont know what to do anymore

2004-03-21 Thread Ryan Merrick
Julio Maciel wrote:
there is a very big txt log i made explaining all



well
I just installed freeBSD on my home, (5.2.1), and everything goes ok, BUT, i cant get 
dhcp, working...
on sysinstall, if I try to make my dhcp to be discovered, it freezes up, so i skiped 
this part
and then
after installing
everytime i try to run dhclient i get this: (i use cable modem):
DHCPDISCOVER on rl0 to 255.255.255.255 port 67 interval 5
DHCPOFFER from 200.167.40.1
DHCPREQUEST on rl0 to 255.255.255.255 port 67
DHCPREQUEST on rl0 to 255.255.255.255 port 67
DHCPDISCOVER on rl0 to 255.255.255.255 port 67 interval 4
DHCPOFFER from 200.167.40.1
DHCPREQUEST on rl0 to 255.255.255.255 port 67
DHCPREQUEST on rl0 to 255.255.255.255 port 67
and after this, it just goes on a infinite loop
i tried tcpdump to help me, but i just understand a line of tcpdump... here is what is 
says:
any idea of how can i solve this???

Hi,

What IP address are you getting ?  #ifconfig -a

What is in your #/etc/dhclient.conf ?

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


Re: dhcp problem, dont know what to do anymore

2004-03-21 Thread Ryan Merrick
Julio Maciel wrote:
dhclient.conf  is blank
all things are commented... ive tried changing some things using request
but same thing happens
my ip address before this is set to blank
because, on the install i skipped the configuring networking devices
- Original Message - 
From: Ryan Merrick [EMAIL PROTECTED]
To: Julio Maciel [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, March 21, 2004 10:24 PM
Subject: Re: dhcp problem, dont know what to do anymore



Julio Maciel wrote:

there is a very big txt log i made explaining all



well
I just installed freeBSD on my home, (5.2.1), and everything goes ok,
BUT, i cant get dhcp, working...

on sysinstall, if I try to make my dhcp to be discovered, it freezes up,
so i skiped this part

and then
after installing
everytime i try to run dhclient i get this: (i use cable modem):
DHCPDISCOVER on rl0 to 255.255.255.255 port 67 interval 5
DHCPOFFER from 200.167.40.1
DHCPREQUEST on rl0 to 255.255.255.255 port 67
DHCPREQUEST on rl0 to 255.255.255.255 port 67
DHCPDISCOVER on rl0 to 255.255.255.255 port 67 interval 4
DHCPOFFER from 200.167.40.1
DHCPREQUEST on rl0 to 255.255.255.255 port 67
DHCPREQUEST on rl0 to 255.255.255.255 port 67
and after this, it just goes on a infinite loop
i tried tcpdump to help me, but i just understand a line of tcpdump...
here is what is says:

any idea of how can i solve this???

Hi,

What IP address are you getting ?  #ifconfig -a

What is in your #/etc/dhclient.conf ?

--
-Ryan Merrick
[EMAIL PROTECTED]



Hi

You need to send your cable company supplied hostname and use a modified 
 version of the example in #man dhclient.conf

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


Rejected by server: Access limit exceeded; try again later

2004-03-20 Thread Ryan Merrick
Hi

For the last week cvsup1 has been refusing connection from my mirror 
server. I checked the server with fastest_cvsup today then ran my update 
only to get the output Rejected by server: Access limit exceeded; try 
again later

Is Cvsup1.freebsd.org refusing connections by query type?

#fastest_cvsup -c us
  Querying servers in countries: us
-- Connecting to cvsup1.freebsd.org [198.104.69.57]...
- server replied: OK 17 0 SNAP_16_1e CVSup server ready
- time taken: 27.00 ms
  Speed Daemons:
- 1st: cvsup1.freebsd.org
- 2nd: cvsup5.freebsd.org
- 3rd: cvsup15.freebsd.org


#cat cvsup.log
CVSup update begins at 2004-03-20 21:21:10
Updating from cvsup1.freebsd.org
Connected to cvsup1.freebsd.org
Rejected by server: Access limit exceeded; try again later
CVSup update ends at 2004-03-20 21:21:10
--
-Ryan Merrick
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: MySQL 3 server problems: mysqlclient.10 not found?

2004-03-16 Thread Ryan Merrick
paul beard wrote:
I have been trying to complete a portupgrade and something seems to be 
wrong: mysql323-server won't build. It seems to have a dependency on a 
file -- mysqlclient.10 -- that's part of mysql323-client but isn't found.

===   Compressing manual pages for mysql-client-3.23.58_2
===   Running ldconfig
/sbin/ldconfig -m /usr/local/lib/mysql
===   Registering installation for mysql-client-3.23.58_2
===   Returning to build of mysql-server-3.23.58_2
Error: shared library mysqlclient.10 does not exist
*** Error code 1
Stop in /opt/ports/databases/mysql323-server.

--
Paul Beard
www.paulbeard.org/
paulbeard [at] mac.com
Hi.

What is in #/usr/local/lib/mysql ?

You should have something like:
...
lrwxrwxrwx  1 root  wheel  20 Feb 28 22:29 libmysqlclient.so - 
libmysqlclient.so.10
-rwxr-xr-x  1 root  wheel  132515 Nov  7 17:57 libmysqlclient.so.10
...

The #/sbin/ldconfig -m is trying to merge /usr/local/lib/mysql into the 
share libraries.

To verify what is in ldhints use: /sbin/ldconfig -r

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


Re: using hyperterminal

2004-03-07 Thread Ryan Merrick
Kyryll A Mirnenko wrote:
  How is `tip` related to well-known windows' hyperterminal? E.g. can I use 
hyperterm-to-tip style connection? If they're using different protocols, is 
there a BSD hyperterminal version?

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

Tip is the freebsd built in terminal emulator (ie) the same as hyperterm. I 
am not sure what you are asking on the second question. The close port to 
hyperterminal is #/usr/ports/comms/minicom

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


Re: Boot time, init? getty repeated too many times

2004-03-06 Thread Ryan Merrick
Peter Leftwich wrote:
Hi everyone and happy Friday.

When I boot my FreeBSD box, I think init is giving an error that
getty repeated too many times and that it will halt for 30 seconds.
Is there a simple fix for this?  I am not getting a login prompt and
AFAIK the other vtty's are not accessible.  The system locks up.
--
Peter Leftwich, President  Founder
Video2Video Services
Box 13692, La Jolla, CA, 92039, USA
http://Www.Video2Video.Com


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

Review your #/etc/ttys and comment out any questionable lines.

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


Re: directories to exclude for backups

2004-02-27 Thread Ryan Merrick
Benjamin P. Keating wrote:
My Plan is to make a gzipped tarball of the entire machine, excluding 
directories that are not necessary. If however, there is a more sound 
solution then tarballing a machine for a backup, Im all ears. I know 
rsync is a possibility, but i'd like to have just a solid, non-active 
archive copy of machines.

EXCLUDE DIRECTORIES
--
/proc
/dev
/tmp
/usr/ports/
/var/tmp/
What else would be safe to exclude?

Thanks,
-Ben
Hello,

I use bacula to disk and tape.
http://www.bacula.org/
/usr/ports/sysutils/bacula
--
-Ryan Merrick
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can't ssh back into 10.242; host seen as Down

2004-02-27 Thread Ryan Merrick
Gary Kline wrote:
5.2-RELEASE is coming around.  From the KVM connection
to 10.242 I can telnet and ssh *out* to other places.
(I can fetch ports and upgrade things... .)  But I can't
figure out why I can't ssh or telnet *in*.  ping sees my
new system as down::
pu 19:55 tao [5212] ping 10.242
PING 10.242 (10.0.0.242): 56 data bytes
ping: sendto: Host is down
ping: sendto: Host is down
ping: sendto: Host is down
^Csendto: Host is down
--- 10.242 ping statistics ---
10 packets transmitted, 0 packets received, 100% packet loss
pu 19:55 tao [5213]
	To show what's going on, I switched over to 10.242, ssh'd 
	into 10.1 and did ping and ssh -vvv .  Below is a typescript
	out these cmds:

Script started on Thu Feb 26 20:05:27 2004
p4 20:05 ns1 [5001]
PING 10.242 (10.0.0.242): 56 data bytes
ping: sendto: Host is down
ping: sendto: Host is down
ping: sendto: Host is down
ping: sendto: Host is down
ping: sendto: Host is down
^C
--- 10.242 ping statistics ---
12 packets transmitted, 0 packets received, 100% packet loss
p4 20:05 ns1 [5002]
OpenSSH_3.5p1 FreeBSD-20030201, SSH protocols 1.5/2.0, OpenSSL 0x0090701f
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Rhosts Authentication disabled, originating port will not be
trusted.
debug1: ssh_connect: needpriv 0
debug1: Connecting to 10.242 [10.0.0.242] port 22.
debug1: connect to address 10.0.0.242 port 22: Operation timed out
ssh: connect to host 10.242 port 22: Operation timed out
p4 20:08 ns1 [5003]
Script done on Thu Feb 26 20:08:08 2004

ssh worked with 4.9 a couple days ago.  Does anybody know
where I'm messing up?
	thanks,

	gary



Hi,

Are you using ipfw or ipf ?

if not Compair/send the output of ifconfig -a and sockstat on both boxes.

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


Re: Is it feisable to do a Firewall'ed DHCP server?

2004-02-27 Thread Ryan Merrick
Dragoncrest wrote:
I'm looking to take an old P120 with 128m of ram and turn it into a lan
DHCP server.  The thing is, the guys who will be pulling DHCP addresses
are cream of the crop computer users who really know their way around. 
So I plan to have all network services (minus DHCP of course) turned off
and I will have IPFW running as well to protect the box from most hack
attempts.

The network itself with be a 300+ person gaming lan broken down into 24
person Vlan's for added security.  The box in question will only be
console accessible to the average user.  AKA, you ain't at the console,
you don't get in as I plan to turn off sendmail, ssh, everything except
DHCP and IPFW.  So, how feisable is it to actually run a system like
this?  I realize I gotta open up certain ports in the firewall rules to
allow DHCP.  I'll figure those out later.  I'm more curious if these
steps to protect the security of the box are doable and if so, would
they be practical?  I'm just thinking ahead like this because I don't
want the box to get hacked and used to bring down the network.
I'm also looking to set the firewall to log ALL packets so that if we
have a problem user, we can use the firewall logs to identify said user.
 I'd be looking for things like port scanning and other hacking/virus
like activity.  We had our network brought down once by same said virus
and hacking activity but never found who did it.  So this is our new
plan to prevent that from happening and detect and remove said
individuals who are causing said issues.
It's hard enough running a 300 person gaming lan.  We want to be sure
that we don't have it brought to its knees like last time.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
Hi,

Take a look at netreg for the user and dhcp management.
http://www.netreg.org/
--
-Ryan Merrick
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: rocketport serial

2004-02-26 Thread Ryan Merrick
Jim Pazarena wrote:
I added:
   device rp
   device rp0 at pci? port 0x8400
to my kernel, and the next reboot proclaims:

 /kernel: rp0: rp port 0x8400-0x847f irq 12 at device 7.0 on pci2
 /kernel: RocketPort0 = 16 ports
 /kernel: rp0: driver is using old-style compatibility shims
-

can anyone tell me how to gain access to the 16 serial ports?
I do not see any new devices added in /dev ?
Thanks!
--
Jim Pazarenamailto:[EMAIL PROTECTED]
http://www.qcislands.net/paz
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
Hi,

The serial devices are accesses through /dev/ttyR0 - 15. Take a look at the 
 port #conserver: /usr/ports/comms/conserver

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


Re: serial multi-port

2004-02-24 Thread Ryan Merrick
Jim Pazarena wrote:
I purchased a comtrol rocketport (PCI) with the intention of loading
on FreeBSD.
I cannot see where/how I get the kernel to acknowledge the card.

Can anyone offer suggestions?

TIA

--
Jim Pazarenamailto:[EMAIL PROTECTED]
http://www.qcislands.net/paz
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
Hi,

# Rocketport driver
device  rp
There is a section listed in LINT.

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


Re: How to switching between INIT 3 and INIT 5

2004-02-24 Thread Ryan Merrick
Stephen Liu wrote:
Hi folks,

5.2
==
Kindly advise the key combination switching between INIT 3 and INIT 5

Ctrl + Alt + F2 = INIT 3/Text mode (works)
Ctrl + Alt + F7 = INIT 5/Graphic mode (does not work)
and the method switching to multi-user-mode from single-user-mode 
instead of rebooting PC

TIA

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

Hi,

To get to single user mode without rebooting #kill 1 to get back to 
multiuser mode exit the single user shell and the rc scripts will rerun.

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


Re: Apache ssl certificates?

2004-02-18 Thread Ryan Merrick
Eric F Crist wrote:
On Tuesday 17 February 2004 10:48 pm, Saint Aardvark the Carpeted wrote:

Eric F Crist disturbed my sleep to write:

When I go the the server via https:servername I get a dialog asking
for me to accept a certificate, but it's still the snakeoil cert!  What
am I doing wrong?
I hate to ask the obvious, but have you restarted Apache?  I know that's
bit me a couple times...
Hugh


That's a fair questions, but yes.  I've checked my syntax and restarted 
multiple times.  I've even taken the old snake-oil certificate and it's 
entire containing directory and moved it to a completely different part of 
the system.  What kills me more is that I've set these systems up before.

Thanks for the replies...

Hi,

More to the point, try stopping apache and then starting it. For some 
reason apache does not read the new certs on a apachectl restart.

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


Re: No More Daily Run Output

2004-02-14 Thread Ryan Merrick
[EMAIL PROTECTED] wrote:
All,

We've got a FreeBSD 4.7 box that's been running great for the last year and a 
half or so.  We host our customer's email on this box using postfix.  Before 
the FreeBSD box, we had two Linux boxes that hosted all of the email.  We've 
since migrated over the accounts just recently.  Approximately one week ago, 
the day after we moved over approximately 300 accounts, I no longer get 
a 'daily run output' email.  I do stil get the security run output and a 
pflogsumm report every morning.

Ive tried running the 'periodic daily' manually, but I only get the security 
report.

Any ideas on where to begin troubleshooting this?

Thanks!

-
This mail sent through IMP: http://horde.org/imp/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
Hi,

Check your #/etc/periodic.conf the daily_output can go to a file or a user.
daily_output=root   # user or /file
While your there check the daily_status_security_output for who the mail is 
sent to.
daily_status_security_output=root # user or /file

All the Defaults are in #/etc/defaults/periodic.conf

A typical file is #/var/log/daily.log which is set in newsyslog to rotate.

Last thing to check is that your aliases for the user for the daily_output 
has a valid email address.

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


Re: MBR problem

2004-01-31 Thread Ryan Merrick
Kjell B. wrote:
Kjell B. wrote:

I just installed FreeBSD 5.2-RELEASE (using the mini-install CD) on my
laptop which already had Win XP Home + Win XP Pro on it. During
partition definition I chose not to touch the MBR. (I wanted to make
use of Windows boot.ini for booting into FreeBSD.) Nevertheless,
whenever I boot I get directly to the FreeBSD boot menu where there's
no option to boot Windows.
disk layout:
ad0s1: 31 MB DELL slice
ad0s2: 8001 MB Windows XP Home slice
ad0s3: 8510 MB extended DOS slice with three logical Win partitions
(one of them Windows XP Professional)
ad0s4: 2533 MB FreeBSD slice
I tried to restore the MBR using fixmbr from Windows Recovery
Console. It doesn't help. I claims it has overwritten the file, but I
still get directly into FreeBSD at boot.
I've tried setting ad0s2 and ad0s4 as bootable and then writing
changes (W) in FDISK partition editor in sysinstall. At the following
choice of MBR, I choose 'Install the FreeBSD Boot Manager'. I then
get ERROR: Unable to write data to disk ad0! followed by Disk
partition write returned an error status!. The same result also if I
choose 'Standard' or 'None' in the MBR choice menu.
(Another weird thing in sysinstall - fdisk: Positioning the cursor
on any of the slices and hitting F1 yields Sorry! The slice file is
not provided on this particular floppy image. This indicates to me
that something is wrong with my installation, but what?)
Any hints on ways out of this?

Another question: In 5.2 there are two sysinstalls -
/stand/sysinstall and /usr/local/sbin/sysinstall whereas in 4.8 I
only find /stand/sysinstall. Which one should I use with 5.2 and
what's the difference between them?


OK, I did find a hint Googling a little more.

Apparently GEOM prevents me from using sysinstall on the installation for
changing MBR. I need to use the install CD and run sysinstall from there.
Then I could do the change of MBR and got the standard FreeBSD boot manager.
I now can boot Win XP or FreeBSD using the standard FreeBSD boot manager.
What remains is to get rid of that and use Windows boot.ini for choosing
between Win XP and FreeBSD, i.e. overwrite the MBR using fixmbr.
Hello,

I have use to do this with win2k. The trick I used to boot into windows was 
to used fdisk -a from freebsd and switch the active partition to the one I 
wanted to boot. Then to get back to freebsd I would use the manage disk 
volumes(?) for win2k to set the freebsd partition active and reboot.

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


Re: No disks found! in Sysinstall despite of supported IDE Controller

2004-01-27 Thread Ryan Merrick
Ben Koopmanschap wrote:
Hello Everybody!

I have a Pentium 4 2,66 GHz, 512 MB RAM, 80 GB UDMA HardDisk which in
Linux is recognized to have a Intel 82801DB Ultra ATA Storage Controller
(IDE). For more details about the chipset and other things, one can
eventually visit:
http://support.intel.com/support/motherboards/desktop/d845gbv/matrix.htm

(please see the right column).

On my Hard Disk I have the following partition scheme:

1st primary partition -- Fedora Core 1 (Linux)
2nd primary partition -- Swap Partition
3rd primary partition -- Linux From Scratch
4th partition -- extended partition
5th logical partition -- Swap
6th logical partition -- Linux From Scratch (for experimental purposes)
7th logical partition -- Swap
8th logical partition -- Linux From Scratch (for experimental purposes
either)
9th logical partition -- Swap
I am bothering you with this scheme because I'm not quite sure it has to
do with my problem, but maybe the information will help you to assist
me.;)
AFAIK, my hardware is supported by FreeBSD 4.9 and 5.2.

I downloaded the iso's of both the releases of FreeBSD (4.9 and 5.2),
burnt them on CD-ROM and tried to install a FreeBSD on my system.
Unfortunately, with both releases I totally get stuck when I in
Sysinstall choose for Begin a standard installation.. After Sysintall
said to me it is going to try to find my hard disk, I get the error
message:
No disks found! ... (followed by the message that I have to check if
my storage controller was properly been probed by the kernel). After
several attempts and having seen the kernel coming up, I ensured myself
that the kernel probed my controller properly. Though my hard disk is
not recognized!
Of course I have tried to enable/disable several drivers in the kernel
configuration menu (which I only was able to with the 4.9 - release),
but none of all tried combinations did work.
I start to get a little desperate now, so I hope very hopefully that
someone on this list can point me in the right direction.
Thanks anyway for your attention!

With regards,

Ben Koopmanschap

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

Your problem is that all 4 of your bootable partitions are used on linux.

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


Re: Problem update 4.7 STABLE-4.9

2004-01-27 Thread Ryan Merrick
 Zoulas's FILE 3.39. invalid
mkmagic: magic, 35533: type @Virgin import of Christos Zoulas's FILE 3.39. invalid
mkmagic: magic, 35534: offset @ invalid
mkmagic: magic, 35534: type @ invalid
mkmagic: magic, 35535: offset text invalid
mkmagic: magic, 35535: type text invalid
mkmagic: magic, 35536: offset @@ invalid
mkmagic: magic, 35536: type @@ invalid
mkmagic: magic, 35539: type .1.1.1.4.1 invalid
mkmagic: magic, 35540: offset log invalid
mkmagic: magic, 35540: type log invalid
mkmagic: magic, 35541: offset @MFC: file version 3.41 invalid
mkmagic: magic, 35541: type @MFC: file version 3.41 invalid
mkmagic: magic, 35543: offset Approved by:  murray(re) invalid
mkmagic: magic, 35543: type Approved by:murray(re) invalid
mkmagic: magic, 35544: offset Desired by:   nectar(so) invalid
mkmagic: magic, 35544: type Desired by: nectar(so) invalid
mkmagic: magic, 35545: offset @ invalid
mkmagic: magic, 35545: type @ invalid
mkmagic: magic, 35546: offset text invalid
mkmagic: magic, 35546: type text invalid
mkmagic: magic, 35547: offset @@ invalid
mkmagic: magic, 35547: type @@ invalid
*** Error code 1
Stop in /usr/src/usr.bin/file.
*** Error code 1
Stop in /usr/src/usr.bin.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
saturn# exit
exit
Hi,

rm -rf /usr/src and cvsup you source again. Make sure the cvs tag is: 
*default release=cvs tag=RELENG_4

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


Re: Terminal Emulator?

2004-01-17 Thread W. Ryan Merrick
Eric F Crist wrote:
Hey all,

I've got a headless system that I need to connect to via terminal and I've 
never done this from FreeBSD.  Any recommendations?

TIA
Hi,

#/usr/bin/tip is part of the base system and is controlled by #/etc/remote.conf

Minicom is in ports #/usr/ports/comms/minicom . Minicom is a all in one 
terminal emulator. Good for testing.

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


Re: IPFW and IP Statistics.

2004-01-17 Thread W. Ryan Merrick
Grant Peel wrote:
Hello,

I am currently using ipfm (IP FLow Meter) as a way of measuring bandwidth
per IP. I am not too happy with it as it has some major limitations.
Is there a way to configure IPFW in FreeBSD so that all it does is monitor
bandwidth per IP and writes simple stats to seperate files?
I am interested to hear other solutions (short of buying a router!).

TIA,

-Grant

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

There should be a way to use the ipfw -at and some scripts to give you a 
number of bytes.

I use IP Audit at work and have seen I couple of snmp solutions like mtrg 
and my buddys http://www.tnpi.biz/internet/manage/rrdutil/

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


Re: Cyrus-imapd2 installed through ports question

2004-01-13 Thread W. Ryan Merrick
Anish Mistry wrote:
On Monday 12 January 2004 06:59 pm, Jason Williams wrote:

Hello everyone.

I was having a problem after I installed cyrus-imapd2 through the ports 
tree.

Everything on the installation went well. However, im seeing a error pop 
up 

in my log that I cannot figure out.
Thus, I thought i'd ask here, see if anyone had any similiar problems.
Note, this is on a FreeBSD 4.9 box:
Cyrus-imapd-2.1.16
Cyrus-sasl-2.1.17
BerkeleyDB-4.1.25
This is from my /var/log/auth.log


Jan  5 23:54:39 obsidianbox imapd[8015]: OTP unavailable because can't 
read/write key database /etc/opiekeys: Permission denied
Jan  5 23:54:43 obsidianbox imapd[8015]: no user in db
I get this too in my logs, but the user is still there, and found by the 
operation that tries to find the user, and everything still seems to work, 
so I ignore it and chalk it up to a cyrus bug.

Hello,

How did you configure sasl? If you by chance include sql support you will 
get log messages like this and more when you add users to the sasl DB. 
Auxprop is looking in the sql databases and other places first. If you are 
getting authenticated, that is all that matters.

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


Re: Cyrrus-imap with generic error

2004-01-13 Thread W. Ryan Merrick
W. Ryan Merrick wrote:
hello,

I have been fighting this for a while. I am trying to setup 
Postfix-2.0.16+cyrus-Imap-2.1.16_1+cyrus-sasl-2.1.17_1 on my FreeBSD 4.9 
Stable server's inside NIC.

Postfix is configured with: sasl2, TLS, BDB_ver 40
cyrus-imapd2' = '--with-sasl --with-openssl WITH_BDB_VER=4'
cyrus-sasl2' = '--with-openssl WITH_BDB_VER=4 --enable-auth-sasldb 
--enable-login'

Postfix runs fine by itself It complains that:

Jan 10 02:47:22 c1529030-a postfix/pipe[35530]: 51BDF4113: 
to=[EMAIL PROTECTED], orig_to=[EMAIL PROTECTED], relay=cyrus, 
delay=9701, status=deferred (temporary failure. Command output: couldn't 
connect to lmtpd: Connection refused_ 421 4.3.0 deliver: couldn't 
connect to lmtpd_ )

I know that the lmtpd socket is also handled by cyrus imap to deliver 
the mail to the cyrus mailboxes that the admin sets up in cyradm.

#ll /var/imap/socket/
srwxrwxrwx  1 root  cyrus  0 Jan 10 03:17 lmtp
Sasl has two users one admin and one user with passwords
#sasldblistusers2
[EMAIL PROTECTED]: userPassword
[EMAIL PROTECTED]: userPassword
When I run /usr/local/cyrus/bin/master

I get this output in /var/log/cyrus.imap
Jan 10 03:27:09 c1529030-a master[39752]: process started
Jan 10 03:27:09 c1529030-a master[39753]: about to exec 
/usr/local/cyrus/bin/ctl_cyrusdb
Jan 10 03:27:09 c1529030-a ctl_cyrusdb[39753]: recovering cyrus databases
Jan 10 03:27:09 c1529030-a ctl_cyrusdb[39753]: done recovering cyrus 
databases
Jan 10 03:27:09 c1529030-a master[39752]: servname not supported for 
ai_socktype, disabling lmtp
Jan 10 03:27:09 c1529030-a master[39752]: ready for work
Jan 10 03:27:09 c1529030-a master[39754]: about to exec 
/usr/local/cyrus/bin/ctl_cyrusdb
Jan 10 03:27:09 c1529030-a ctl_cyrusdb[39754]: checkpointing cyrus 
databases
Jan 10 03:27:09 c1529030-a ctl_cyrusdb[39754]: archiving database file: 
/var/imap/mailboxes.db
Jan 10 03:27:09 c1529030-a ctl_cyrusdb[39754]: archiving log file: 
/var/imap/db/log.01
Jan 10 03:27:09 c1529030-a ctl_cyrusdb[39754]: archiving log file: 
/var/imap/db/log.01
Jan 10 03:27:09 c1529030-a ctl_cyrusdb[39754]: done checkpointing cyrus 
databases
Jan 10 03:27:09 c1529030-a master[39752]: process 39754 exited, status 0

When I attempt to access cyradmin with:
cyradm --user admin -auth plain cell.attbi.com
I get a high volume of repeating logs. (about 20 lines a second)

Jan 10 03:30:51 c1529030-a imap[39987]: executed
Jan 10 03:30:51 c1529030-a imapd[39987]: SASL failed initializing: 
sasl_server_init(): generic failure
Jan 10 03:30:51 c1529030-a master[39752]: process 39987 exited, status 1
Jan 10 03:30:51 c1529030-a master[39988]: about to exec 
/usr/local/cyrus/bin/imapd

Until I kill master. At which point I get my login prompt.

#cyradm --user admin -auth plain cell.attbi.com
IMAP Password:Broken pipe
I have googled everything I from the logs with no hints.
I dont know where I went wrong. I have tried cvsuping and rebuilding all 
the packages a few times in the last month.

Configs and files follow
Found the problem I was having in sasl.h The config files in 
#/usr/local/lib/sasl2 need to be readonly.

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


Re: FreeBSD hangs on boot

2004-01-13 Thread W. Ryan Merrick
[EMAIL PROTECTED] wrote:
I just recently got an old HP NetServer LH Plus
(specs):
Pentium 166MHz (dual processor board with single cpu)
128MB of RAM (DIMM's)
Mylex DAC960 RAID controller
5x 4.2GB SCSI RAID5 array.
--
At any rate, I've tried using my 4.3-RELEASE, 5.1-RELEASE cd's but those fail to even load due to a fault in the loader. I managed to find my 5.0-DP1 CD and gave that a shot, and low and behold the boot loader worked, it managed to find a driver for the SCSI drives (including the cdrom), and to my surprise the RAID controller as well. 

To give you a little background, basically any *nix based OS I have tried fails to install due to not having a driver or a working driver for the RAID controller, so no block device shows up as being able to installed on to. 5.0-DP1 was the first thing that worked. Even NetBSD with their claim of being able to run on anything fails to install. 

Ok so now the problem, pardon the winded explanation. I successfully created paritions and mount points and installed a system to them. Finished install, removed the CD, rebooted, and that ended that pretty much. Aftter it get's past loading up the BIOS and initializing the system, the loader comes up for me to push 'F1' to load FreeBSD. I do that and all I get is a system beep. Nothing loads, nothing happens, and I am able to keep pushing F1 with more beeps. No errors, no loading of anything, no nothin.

Is there a way I can force error messages to see what the problem is, or to get the machine to boot? Questions? Comments? Suggestions?

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

The partition size in the RAID BIOS should be set to 2GB for use with 
freebsd. Also look for BIOS and Firmware upgrades from mylex to improve 
performance and reliability.

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


Cyrrus-imap with generic error

2004-01-10 Thread W. Ryan Merrick
hello,

I have been fighting this for a while. I am trying to setup 
Postfix-2.0.16+cyrus-Imap-2.1.16_1+cyrus-sasl-2.1.17_1 on my FreeBSD 4.9 
Stable server's inside NIC.

Postfix is configured with: sasl2, TLS, BDB_ver 40
cyrus-imapd2' = '--with-sasl --with-openssl WITH_BDB_VER=4'
cyrus-sasl2' = '--with-openssl WITH_BDB_VER=4 --enable-auth-sasldb 
--enable-login'

Postfix runs fine by itself It complains that:

Jan 10 02:47:22 c1529030-a postfix/pipe[35530]: 51BDF4113: 
to=[EMAIL PROTECTED], orig_to=[EMAIL PROTECTED], relay=cyrus, 
delay=9701, status=deferred (temporary failure. Command output: couldn't 
connect to lmtpd: Connection refused_ 421 4.3.0 deliver: couldn't connect 
to lmtpd_ )

I know that the lmtpd socket is also handled by cyrus imap to deliver the 
mail to the cyrus mailboxes that the admin sets up in cyradm.

#ll /var/imap/socket/
srwxrwxrwx  1 root  cyrus  0 Jan 10 03:17 lmtp
Sasl has two users one admin and one user with passwords
#sasldblistusers2
[EMAIL PROTECTED]: userPassword
[EMAIL PROTECTED]: userPassword
When I run /usr/local/cyrus/bin/master

I get this output in /var/log/cyrus.imap
Jan 10 03:27:09 c1529030-a master[39752]: process started
Jan 10 03:27:09 c1529030-a master[39753]: about to exec 
/usr/local/cyrus/bin/ctl_cyrusdb
Jan 10 03:27:09 c1529030-a ctl_cyrusdb[39753]: recovering cyrus databases
Jan 10 03:27:09 c1529030-a ctl_cyrusdb[39753]: done recovering cyrus databases
Jan 10 03:27:09 c1529030-a master[39752]: servname not supported for 
ai_socktype, disabling lmtp
Jan 10 03:27:09 c1529030-a master[39752]: ready for work
Jan 10 03:27:09 c1529030-a master[39754]: about to exec 
/usr/local/cyrus/bin/ctl_cyrusdb
Jan 10 03:27:09 c1529030-a ctl_cyrusdb[39754]: checkpointing cyrus databases
Jan 10 03:27:09 c1529030-a ctl_cyrusdb[39754]: archiving database file: 
/var/imap/mailboxes.db
Jan 10 03:27:09 c1529030-a ctl_cyrusdb[39754]: archiving log file: 
/var/imap/db/log.01
Jan 10 03:27:09 c1529030-a ctl_cyrusdb[39754]: archiving log file: 
/var/imap/db/log.01
Jan 10 03:27:09 c1529030-a ctl_cyrusdb[39754]: done checkpointing cyrus 
databases
Jan 10 03:27:09 c1529030-a master[39752]: process 39754 exited, status 0

When I attempt to access cyradmin with:
cyradm --user admin -auth plain cell.attbi.com
I get a high volume of repeating logs. (about 20 lines a second)

Jan 10 03:30:51 c1529030-a imap[39987]: executed
Jan 10 03:30:51 c1529030-a imapd[39987]: SASL failed initializing: 
sasl_server_init(): generic failure
Jan 10 03:30:51 c1529030-a master[39752]: process 39987 exited, status 1
Jan 10 03:30:51 c1529030-a master[39988]: about to exec 
/usr/local/cyrus/bin/imapd

Until I kill master. At which point I get my login prompt.

#cyradm --user admin -auth plain cell.attbi.com
IMAP Password:Broken pipe
I have googled everything I from the logs with no hints.
I dont know where I went wrong. I have tried cvsuping and rebuilding all 
the packages a few times in the last month.

Configs and files follow
--
-Ryan Merrick
[EMAIL PROTECTED]


#cat /usr/local/lib/sasl2/Cyrus.conf
pwcheck_method auxprop
#cat /usr/local/lib/sasl2/smtpd.conf
pwcheck_method auxprop
#ll /usr/lib/sasl2
lrwxr-xr-x  1 root  wheel  20 Jan  8 01:34 /usr/lib/sasl2 - 
/usr/local/lib/sasl2

#ll /var/imap/socket/
total 0
srwxrwxrwx  1 root  cyrus  0 Jan 10 03:27 lmtp
#cat /usr/local/etc/imapd.conf
configdirectory: /var/imap
partition-default: /var/spool/imap
servername: cell.attbi.com
allowanonymouslogin: yes
allowplaintext: yes
admins: admin
singleinstancestore: yes
duplicatesuppression: yes
sieveusehomedir: false
sievedir: /var/imap/sieve
sendmail: /usr/local/sbin/sendmail
sasl_minimum_layer: 0
sasl_pwcheck_method: auxprop
lmtpsocket: /var/imap/socket/lmtp
#cat /usr/local/etc/cyrus.conf
# standard standalone server implementation
START {
  # do not delete this entry!
  recover   cmd=ctl_cyrusdb -r
  # this is only necessary if using idled for IMAP IDLE
#  idledcmd=idled
}
# UNIX sockets start with a slash and are put into /var/imap/socket
SERVICES {
  # add or remove based on preferences
  imap  cmd=imapd listen=10.1.1.1:imap prefork=0
  imaps cmd=imapd -s listen=10.1.1.1:imaps prefork=0
  pop3  cmd=pop3d listen=pop3 prefork=0
  pop3s cmd=pop3d -s listen=pop3s prefork=0
  sieve cmd=timsieved listen=sieve prefork=0
  # at least one LMTP is required for delivery
  lmtp  cmd=lmtpd listen=lmtp prefork=0
  lmtpunix  cmd=lmtpd listen=/var/imap/socket/lmtp prefork=0
  # this is only necessary if using notifications
#  notify   cmd=notifyd listen=/var/imap/socket/notify proto=udp prefork=1
}
EVENTS {
  # this is required
  checkpointcmd=ctl_cyrusdb -c period=30
  # this is only necessary if using duplicate delivery suppression
  delprune  cmd=ctl_deliver -E 3 at=0400
  # this is only necessary if caching TLS sessions
  tlsprune  cmd=tls_prune at=0400
}
#cat /usr/local/etc/postfix/main.cf
# LOCAL PATHNAME INFORMATION

Re: IPFW confusion

2004-01-07 Thread W. Ryan Merrick
Ben Quick wrote:
Hello all,
I've been hunting around for information on IPFW, and how to set up the 
rules I require. I found a tutorial that seemed to fit my needs: 
http://www.mostgraveconcern.com/freebsd/ipfw.html

However, I can't get the config to work. I've commented out all the deny 
rules. In this instance, I can browse the web via SQUID that's installed 
on the IPFW box. I can't browse the web directly, though. That is the 
only external access I get. I can't ping any sites, DNS lookups fail 
(I've set the DNS servers on the client workstation to be that my ISP's. 
I also tried setting it to look at the IPFW box first, with no luck)

Can anyone offer help on this one? I'm getting stuck in a muddle of 
mis-understanding

My setup is as follows

Internal LAN is 192.168.0.x
IPFW machine has 2 NIC's:
rl0: 192.168.0.10
rl1: 172.16.200.10
rl1 connects directly to my DSL router (D-Link 504) which has an 
internal IP of 172.16.200.1 along with it's public IP on the DSL port

The ruleset I'd like is as follows

For client IP's of 192.168.0.1 - 192.168.0.20 allow the following
HTTP \ HTTPS - But not directly, force them to use SQUID (Listening on 
port 8080, and using squidGuard for content filtering)
POP3 - But, only so far as pop.myisp.com
IMAP - But, only so far as imap.myisp.com
SMTP - But, only so far as smtp.myisp.com
DNS lookups - But, only with ns1.myisp.com and ns2.myisp.com
NNTP - But, only so far as news.myisp.com
FTP - To anywhere

For client IP's of 192.168.0.21 - 192.168.0.254 no access to anything 
external to the 192.168.0.x network should be granted

I'd like the IPFW box and 192.168.0.1 to be able to SSH out to anywhere.

I'd like to allow SSH inbound from a specific IP to be directed at the 
IPFW box (The port forwarding can be done with the DSL router) - SSH 
isn't currently listening on that interface, I'll get to that later :)

Does this sound like a reasonable ruleset? Is anyone willing to help me 
generate it?

Thanks
Ben
Hello,

Your best coarse of action is to add: 'ipfw add 65000 deny log all from any 
to any'. Then watch #/var/log/security for the hits as you attempt to 
access the internet. Build your firewall rules above the 65000 rule to 
eliminate the traffic from the log. The log will give you all the correct 
addresses and ports.

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


Re: Hard drive stress test

2003-12-18 Thread Ryan Merrick
Per olof Ljungmark wrote:
Could somebody please recommend a utility or script suitable for 
stressing a hard disk to check for possible errors?

Thanks,

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

Hello,

Bonnie++ is good for benchmark/testing a HDD.

bonnie++: /usr/ports/benchmarks/bonnie++

Ryan Merrick

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


Re: mysql can't finf shared library

2003-11-17 Thread Ryan Merrick
Gary Kline wrote:
On Sun, Nov 16, 2003 at 05:31:08PM -0800, Ryan Merrick wrote:

Gary Kline wrote:

After upgrading to the latest mysql323-client and reinstalling
my root password, here is what happens:
mysqladmin -u root password 'fooobar1234'
/usr/libexec/ld-elf.so.1: Shared object libmysqlclient.so.10 not found
[EMAIL PROTECTED]:/etc# locate libmysql
/usr/local/lib/mysql/libmysqlclient.a
/usr/local/lib/mysql/libmysqlclient.so
/usr/local/lib/mysql/libmysqlclient.so.10
	Anybody know what's going on here?  Is this a known bug?

	thanks, people,

	gary


Hello,

I have been seeing this too. I originaly fixed it with
#mdconfig -m /usr/local/lib/mysql
The LD config man page refeneced #/etc/ld-elf.so.conf for extra paths 
but rc never calls it. The default paths for ld-elf.so.conf are defined 
in #/etc/defaults/rc.conf. I just added mysql to the list.

There is a 2 year old pr on the man page problem...



	Hm, I tried this, in /etc/rc.conf.  I re-exec the script, 
	but it didn't seem to work.   Comments?  Care to show the
	mysql line you added?

	gary




agrep ldconfig /etc/defaults/rc.conf

ldconfig_paths=/usr/lib/compat /usr/X11R6/lib /usr/local/lib 
/usr/local/lib/mysql

I use #kill 1  to single user mode and let init handle the reload.

-Ryan Merrick

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


Re: mysql can't finf shared library

2003-11-16 Thread Ryan Merrick
Gary Kline wrote:
After upgrading to the latest mysql323-client and reinstalling
my root password, here is what happens:
mysqladmin -u root password 'fooobar1234'
/usr/libexec/ld-elf.so.1: Shared object libmysqlclient.so.10 not found
[EMAIL PROTECTED]:/etc# locate libmysql
/usr/local/lib/mysql/libmysqlclient.a
/usr/local/lib/mysql/libmysqlclient.so
/usr/local/lib/mysql/libmysqlclient.so.10
	Anybody know what's going on here?  Is this a known bug?

	thanks, people,

	gary


Hello,

I have been seeing this too. I originaly fixed it with
#mdconfig -m /usr/local/lib/mysql
The LD config man page refeneced #/etc/ld-elf.so.conf for extra paths 
but rc never calls it. The default paths for ld-elf.so.conf are defined 
in #/etc/defaults/rc.conf. I just added mysql to the list.

There is a 2 year old pr on the man page problem...

-Ryan Merrick

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


Re: Sendmail: Do I need it running?

2003-09-28 Thread Ryan Merrick
Ekrem wrote:
On Mon, 2003-09-29 at 02:00, Rus Foster wrote:

On Mon, 29 Sep 2003, Ekrem wrote:


Hi people,

I'm using FreeBSD on my standalone desktop PC. I use dialup for the
internet and use Evolution as the email client, but the following 2
processes always running;
sendmail: accepting connections (sendmail)
sendmail: Queue [EMAIL PROTECTED]:30:00 for /var/spool/clientmqueue (sendmail)
Do they need to be running for things like daily/weekly cron jobs that
send emails to root, or for any other purpose?
No if you aren't using SMTP to receive email from outside your can disable
these by putting sendmail_enable=no in /etc/rc.conf then just kill of
the processes
Rus


Thanks for your reply.

Actually, I am retrieving my emails from my ISP's SMTP server but I know
I don't need to run sendmail to retrieve them. I did kill those 2
processes. I'm just too sure if it will have some impact on email
notifications.
Interestingly, I do have sendmail_enable=NO in my /etc/rc.conf file,
yet sendmail continues to automatically start whenever I reboot.
I might have to go learn more about auto-start processes.

To completely disable sendmail in #/etc/rc.conf use sendmail_enable=none

Sendmail is used as the default mailer for cron. This only works if an 
email address is mapped to root in #/etc/aliases.

-Ryan



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


Re: Question on FreeBSD name resolution

2003-09-25 Thread Ryan Merrick
chris wrote:
I just installed 5.1 and have been playing around with it, but I am
troubled by an issue with my network configuration.  I apologize if this
is the wrong list, it seemed to be the most appropriate.  I want to at
least get the machine working so then I can start working through
learning the ins and outs.
 
My FreeBSD box is running on a Dell laptop on my home network where I
have three other Windows based machines.  All of my machines are
configured to use another NT-Based firewall as both the default gateway
and DNS server, which is connected out to the Internet via cable.  
 
Im using the default network settings that were configured when I
installed the system.  The network card is configured to use DHCP and
when I do an ifconfig I see the Ethernet card has an appropriately
assigned IP address  netmask.If I ping a website by its DNS name,
the name resolves quickly and I get ping responses back pretty quickly
(as I would expect).  When I use FTP, Telnet, or WWW to try to connect
to an address by FQDN, it takes a few minutes to establish the
connection.  However when I use the associated IP address instead of the
FQDN it connects instantly.  
 
It seems like the TCP (or at least FTP, WWW  Telnet) programs are
having an issue with resolving the name.  My guess is that they are
timing out through trying to resolve via one means, and therefore then
try a DNS resolve.  Is there a way to determine the order in which the
system currently does name resolution?  I looked for the host.conf file
in my /etc folder and there was one, but even when I added one in it
didnt help.  
 
 
Hello,

You should be looking in your #/etc/resolv.conf . If you don't have one 
make it.

Ryan Merrick

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


Re: Joining SAMBA-domain

2003-09-12 Thread Ryan Merrick
Peter Ulrich Kruppa wrote:
Hi,

I am trying to set up a SAMBA-PDC for our school's network and
find a strange Problem with two Win2k workstations.
When I try to join the SAMBA domain I receive an error which says
the user account - I am using root - is unknown.
I call this strange because other Win2k machines on the very
same subnet work correctly - and what is even stranger:
I can manually access all server shares, when I use root's
account.
(Of course I did a  net use * /dand set back the machines
to a workgroup before I tried to join the domain)
Please mail any ideas, I have got to get things working the next
days.
Regards and thanks,

Uli.

+---+
|Peter Ulrich Kruppa|
| Wuppertal |
|  Germany  |
+---+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
Check root's listing in #/etc/group

Add root to the group for domain admin.

-Ryan

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


Re: Retry: Problem with boot/loader I can't seem to solve. Ideas anyone?

2003-09-12 Thread Ryan Merrick
Frank Masolijn wrote:
L.S.

For about a week now I've been trying unsuccesfully to solve the problem
below.
My machine was installed with 4.8-Release.
The problem started after compiling and installing a new kernel to replace
kernel.GENERIC
What happens is:

The system starts.
Detects the AH2940 SCSI controller.
The controller detects 3 devices.
-SCSI ID#2 CDROM
-SCSI ID#1 IBM 4,3 GB Disk 0x80 (probably recognized later as da1)
-SCSI ID#0 IBM 4,3 GB Disk 0x81 (probably recognized later as da0)
It then starts boot0 and shows the boot0 selection-screen.
F1 FreeBSD
F5 Drive 1
Default: F1

-Choosing F5 results in errors since that one isn't bootable.
-Choosing F1 (in my opinion the correct one) yields the following.
Having choosen something at boot0 the system continues.
At this point it should be able to find /boot.config, but as I'll later show
it apparently ignores it.
It then shows the boot2 screen.

FreeBSD/i386 BOOT
Default: 0:ad(0,a)/kernel
boot:
At this point I've tried entering the following things.
X:da(Y,a)/Z with
-X anywhere between 0 and 5.
-Y anywhere between 0 and 2.
-Z either /kernel or /boot/loader.
The following options allowed a continued boot.
1:da(0,a)/kernel
1:da(1,a)/kernel
1:da(2,a)/kernel
1:da(0,a)/boot/loader
1:da(1,a)/boot/loader
1:da(2,a)/boot/loader
All the others didn't work.

Having discovered the correct input I assumed putting the same into
/boot.config would solve the problem and would ensure I wouldn't have to
fill it in manually every time the system boots
(this is not practial sincec the system neither has a viewscreen or a
keyboard) this however isn't the case. Whatever I fill in into /boot.config
the result remains the same. The system tries to boot
tells me twice Invalid partition' followed by Can't find /kernel.
I've reinstalled boot0, boot1 and boot2 to no effect. Reïnstalling FreeBSD
from scratch and making another kernel resulted in the same problem.
My guts tell me the problems lies in boot0 or boot1's apparent inabillity to
execute the correct value specified in /boot.config but I can't find any
cause for this.
Has anyone got any ideas on how to resolve this problem or where to find
additional documentation since I can't find enough information in the
Handbook to determine whether the problem indeed lies in the system's
inabillity to find /boot.config?
Thanks in advance,

Frank Masolijn

PS. Below anyone interested will find all information I think might be
required. (If somethings missing please mail me.)
DMESG
Copyright (c) 1992-2003 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.8-RELEASE #1: Mon Sep  1 18:47:33 CEST 2003
[EMAIL PROTECTED]:/usr/src/sys/compile/QEQUOIA
Timecounter i8254  frequency 1193182 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (233.87-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x633  Stepping = 3
Features=0x80f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,M
MX
real memory  = 100663296 (98304K bytes)
avail memory = 94269440 (92060K bytes)
Preloaded elf kernel kernel at 0xc0392000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 6 entries at 0xc00fda50
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Intel 82443LX (440 LX) host to PCI bridge on motherboard
pci0: PCI bus on pcib0
agp0: Intel 82443LX (440 LX) host to PCI bridge mem 0xe000-0xe3ff
at device 0.0 on pci0
pcib1: Intel 82443LX (440 LX) PCI-PCI (AGP) bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
isab0: Intel 82371AB PCI to ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel PIIX4 ATA33 controller at device 7.1 on pci0
atapci0: ATA channel disabled by BIOS
pci0: Intel 82371AB/EB (PIIX4) USB controller at 7.2 irq 15
chip0: Intel 82371AB Power management controller port 0x5f00-0x5f0f at
device 7.3 on pci0
rl0: RealTek 8139 10/100BaseTX port 0x6800-0x68ff mem
0xef00-0xefff irq 15 at device 9.0 on pci0
rl0: Ethernet address: 00:50:fc:2a:88:ff
miibus0: MII bus on rl0
rlphy0: RealTek internal media interface on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ahc0: Adaptec 2940 SCSI adapter port 0x6c00-0x6cff mem
0xef001000-0xef001fff irq 12 at device 10.0 on pci0
aic7870: Wide Channel A, SCSI Id=7, 16/253 SCBs
pci0: S3 968 graphics accelerator at 11.0 irq 10
ed0: NE2000 PCI Ethernet (ProLAN) port 0x7000-0x701f irq 11 at device 12.0
on pci0
ed0: address 48:54:e8:90:55:96, type NE2000 (16 bit)
eisa0: EISA bus on motherboard
eisa0: unknown card ADP7871 (0x04907871) at slot 6
orm0: Option ROMs at iomem 0xc-0xc7fff,0xc8000-0xcb7ff on isa0
fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
ata1 at port 0x170-0x177,0x376 irq 15 on isa0
atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
atkbd0: AT Keyboard flags 0x1 irq 

Re: startx fails

2003-09-06 Thread Ryan Merrick
daniel meg wrote:
I am running FreeBSD 4.8 RELEASE.

Video Card: nVidia RIVA128

I run the xf86config trillion of times..read through the manual over and over..but just can't get it to works...the attached file is the XFree86.log file and mine XF86Config file..hope BSD hackers will help..

...

# **
# Screen sections
# **
# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the -screen
# option.
Section Screen
Identifier  Screen 1
Device  RIVA128
Monitor My Monitor
DefaultDepth 24
Subsection Display
Depth   8
Modes   1280x1024 1024x768 800x600 640x480
ViewPort0 0
EndSubsection
Subsection Display
Depth   16
Modes   1280x1024 1024x768 800x600 640x480
ViewPort0 0
EndSubsection
Subsection Display
Depth   24
Modes   1024x768 800x600 640x480
ViewPort0 0
EndSubsection
EndSection
...

The default display mode above are the first pair on the left after 
modes (1280x1024). Your video card and monitor only do what is listed 
below from your log. Your maxium size is 1024x786 @ 60Hz that is 
supported by your monitor. Change your display depth to 16 or eight add 
reverse the modes start with 640x480. Use ctl+alt+numpad + or - to 
cycle through the different modes.

- Ryan Merrick

(II) NV(0): Supported VESA Video Modes:
(II) NV(0): [EMAIL PROTECTED]
(II) NV(0): [EMAIL PROTECTED]
(II) NV(0): [EMAIL PROTECTED]
(II) NV(0): [EMAIL PROTECTED]
(II) NV(0): [EMAIL PROTECTED]
(II) NV(0): [EMAIL PROTECTED]
(II) NV(0): [EMAIL PROTECTED]
(II) NV(0): [EMAIL PROTECTED]
(II) NV(0): [EMAIL PROTECTED]
(II) NV(0): [EMAIL PROTECTED]
(II) NV(0): [EMAIL PROTECTED]
(II) NV(0): [EMAIL PROTECTED] (interlaced)
(II) NV(0): [EMAIL PROTECTED]
(II) NV(0): Manufacturer's mask: 0
(II) NV(0): Supported Future Video Modes:
(II) NV(0): #0: hsize: 640  vsize 480  refresh: 85  vid: 22833
(II) NV(0): #1: hsize: 800  vsize 600  refresh: 85  vid: 22853
(II) NV(0): #2: hsize: 1024  vsize 768  refresh: 60  vid: 16481
(II) NV(0): Supported additional Video Mode:
(II) NV(0): clock: 36.0 MHz   Image Size:  255 x 191 mm
(II) NV(0): h_active: 640  h_sync: 696  h_sync_end 752 h_blank_end 832 
h_border: 0
(II) NV(0): v_active: 480  v_sync: 481  v_sync_end 484 v_blanking: 509 
v_border: 0
(II) NV(0): Supported additional Video Mode:
(II) NV(0): clock: 56.2 MHz   Image Size:  255 x 191 mm
(II) NV(0): h_active: 800  h_sync: 832  h_sync_end 896 h_blank_end 1048 
h_border: 0
(II) NV(0): v_active: 600  v_sync: 601  v_sync_end 604 v_blanking: 631 
v_border: 0
(II) NV(0): Ranges: V min: 50  V max: 120 Hz, H min: 30  H max: 55 kHz, 
PixClock max 2550 MHz
(II) NV(0): Serial No: HMEN414506
(II) NV(0): end of DDC Monitor info



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


Re: DHClient with Multiple ip's

2003-08-24 Thread Ryan Merrick
Don wrote:
I am attempting to have dhclient grab two ip's from comcast.  I already 
have them allowing me two ip's for my account and dhclient is working so 
far grabbing the one ip.  I know I have to set up the dhclient.conf with 
the pseudo section, but I am lost as what to do with the 
dhclient-script.  It has to be different as to not drop the main 
interface ip configuration, but everything I do seems to just assign the 
same ip to the iface twice.   Does it have to alias the second ip?  Are 
there any suggestions you can give me?

 FreeBSD 4.7-RELEASE-p13 #22
isc-dhcp3-3.0.1.r11
Thank you for any help you can give,

Don

Hello,

I tried this a year ago with Attbi. The second IP has to be aliased to 
interface with a netmask of 255.255.255.255 . One problem I had was that 
DHCP would not assign two IP addresses to one MAC address.  I was able 
to get two addresses but I could only use one at a time.

-Ryan Merrick

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


Re: XFree86 question

2003-08-24 Thread Ryan Merrick
Try the generic VGA driver for X .

-Ryan



Kelly Brown wrote:
I had already tried this, that's how I got the config file that I had.  I decided to try again.  I was using the VESA driver because I had read that might help.  This time I tried the s3 driver, which is supposed to be the driver that I really need and I get an error saying that the driver can't be found when I run startx.

I tried XFree86 -configure as well and that core dumps and tells me...  Symbol XAAPattern ROP_PM from module /usr/X11R6/lib/modules/drivers/nsc_drv.0 is unresolved.

Let me know if anybody has any other ideas.  I'm really at my wits end...

Thanks.
-K
From: Subhro [EMAIL PROTECTED]
Date: 2003/08/23 Sat AM 03:08:46 EDT
To: 'Kelly Brown' [EMAIL PROTECTED]
Subject: RE: XFree86 question
Did you configure any screens? Try /stand/sysinstall.

Subhro Sankha Kar
Indian Institute of Information Technology
State Book Board
Sector V,Salt Lake City
Calcutta
West Bengal
India
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kelly Brown
Sent: Saturday, August 23, 2003 11:17
To: [EMAIL PROTECTED]
Subject: XFree86 question
Hello All:

I'm trying to get XFree86 setup.  I think that I have a driver problem but I
don't know what to do to fix it.
Here's the log file...

XFree86 Version 4.3.0
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: FreeBSD 5.1 i386 [ELF] 
Build Date: 24 May 2003
	Before reporting problems, check http://www.XFree86.Org/
	to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/XFree86.0.log, Time: Fri Aug 22 22:09:28 2003
(==) Using config file: /etc/X11/XF86Config
(==) ServerLayout Simple Layout
(**) |--Screen Screen 1 (0)
(**) |   |--Monitor My Monitor
(**) |   |--Device * Generic VESA compatible
(**) |--Input Device Mouse1
(**) |--Input Device Keyboard1
(**) Option AutoRepeat 500 30
(**) Option XkbRules xfree86
(**) XKB: rules: xfree86
(**) Option XkbModel pc101
(**) XKB: model: pc101
(**) Option XkbLayout us
(**) XKB: layout: us
(==) Keyboard: CustomKeycode disabled
(WW) `fonts.dir' not found (or not valid) in
/usr/X11R6/lib/X11/fonts/local/.
	Entry deleted from font path.
	(Run 'mkfontdir' on /usr/X11R6/lib/X11/fonts/local/).
(**) FontPath set to
/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,/us
r/X11R6/lib/X11/fonts/100dpi/:unscaled,/usr/X11R6/lib/X11/fonts/Speedo/,/usr
/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X
11/fonts/100dpi/
(**) RgbPath set to /usr/X11R6/lib/X11/rgb
(==) ModulePath set to /usr/X11R6/lib/modules
(--) Using syscons driver with X support (version 2.0)
(--) using VT number 9

(II) Module ABI versions:
	XFree86 ANSI C Emulation: 0.2
	XFree86 Video Driver: 0.6
	XFree86 XInput driver : 0.4
	XFree86 Server Extension : 0.2
	XFree86 Font Renderer : 0.4
(II) Loader running on freebsd
(II) LoadModule: bitmap
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor=The XFree86 Project
	compiled for 4.3.0, module version = 1.0.0
	Module class: XFree86 Font Renderer
	ABI class: XFree86 Font Renderer, version 0.4
(II) Loading font Bitmap
(II) LoadModule: pcidata
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor=The XFree86 Project
	compiled for 4.3.0, module version = 1.0.0
	ABI class: XFree86 Video Driver, version 0.6
(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x, mode1Res1 = 0x8000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 1106,3099 card 1106, rev 00 class 06,00,00 hdr
00
(II) PCI: 00:01:0: chip 1106,b099 card , rev 00 class 06,04,00 hdr
01
(II) PCI: 00:05:0: chip 1317,0985 card 1317,0574 rev 11 class 02,00,00 hdr
00
(II) PCI: 00:06:0: chip 5333,8811 card , rev 00 class 03,00,00 hdr
00
(II) PCI: 00:07:0: chip 1102,0002 card 1102,8064 rev 07 class 04,01,00 hdr
80
(II) PCI: 00:07:1: chip 1102,7002 card 1102,0020 rev 07 class 09,80,00 hdr
80
(II) PCI: 00:11:0: chip 1106,3147 card 1106, rev 00 class 06,01,00 hdr
80
(II) PCI: 00:11:1: chip 1106,0571 card 1106,0571 rev 06 class 01,01,8a hdr
00
(II) PCI: 00:11:2: chip 1106,3038 card 0925,1234 rev 23 class 0c,03,00 hdr
00
(II) PCI: 00:11:3: chip 1106,3038 card 0925,1234 rev 23 class 0c,03,00 hdr
00
(II) PCI: 02:00:0: chip 5333,8811 card , rev 00 class 03,00,00 hdr
00
(II) PCI: 02:01:0: chip 5333,8811 card , rev 00 class 03,00,00 hdr
00
(II) PCI: 02:02:0: chip 5333,8811 card , rev 00 class 03,00,00 hdr
00
(II) PCI: 02:03:0: chip 5333,8811 card , rev 00 class 03,00,00 hdr
00
(II) PCI: 02:04:0: chip 5333,8811 card , rev 00 class 03,00,00 hdr
00
(II) PCI: 02:05:0: chip 

Re: Mouse/X11 Documentation

2003-08-03 Thread Ryan Merrick
Frank Jahnke wrote:
I'm writing you this message for assistance in getting my mouse wheel to
work with X11.  Yes, another one of these requests.  I have been through
the documentation (and numerous articles on the web) and yet I still
cannot get it to work.
I am running BSD 4.8 with XFree86 v4.3.0 (downloaded last week, so it
should be a very current version of the latest stable release).  My
window manager is currently Window Maker v0.80.1. The mouse is a
Logitech MouseMan Wheel, which I understand is equivalent to the
MouseMan+.
With success I have installed support for the mouse using moused for the
console drivers.  I added line allscreens_flags to my rc.conf file for
mouse support on the various virtual consoles.  That works fine.  I can
also use the same three buttons for text selection and pasting in X11.
What I cannot get to work is text scrolling using the wheel.  From
section 11.3 of the FAQ, first there is a description of /etc/XF86Config
(which is now located in /etc/X11/XF86Config) that is for XFree86 v3
only.  I currently have the 4.3 equivalent (see below) with SysMouse
replaced by Auto.  Changing from one to the other did not make a
difference, as far as I could tell.
Moving on to section 11.4 of the FAQ, I have tried without success to
use either moused or the X server for wheel support.  For the former, I
added the moused_flags line and options to rc.conf, as suggested. 
Moving now to Example 11-2, first the caption is incorrect.  It DOES
describe use of XF86Config with moused Translations, does it not?  I
needed to use an Identifier of Mouse0 instead of Mouse1, or else X11
would crash (again, see below).

Imwheel was downloaded and installed from the ports collection; the
configuration file moved to ~/.imwheelrc (which was used without
alteration).  No success.
Next I tried to use the X Server to translate wheel events.  The
suggested use of MouseManPlusPS/2 was not recognized by XFree; since
BSD recognized the mouse type on boot-up, I reverted to Auto.  Using
the device /dev/psm0 was not successful -- the device was busy, and X11
would not load.  I replaced psm0 with sysmouse.  After imwheel was
loaded, the wheel still did not scroll the screen.
I admit that it is frustrating to find files in different directories,
mislabeled headings in the documentation, and configurations that do not
work as suggested.  It feels to me that XFree86 is new, and has not been
fully incorporated into the various texts.
I am at loss on how best to proceed, and your suggestions would be most
appreciated.
Frank Jahnke, Ph.D.
President, FMJ  Associates
Auburn, CA 95604
[EMAIL PROTECTED]


Section InputDevice

# Identifier and driver

Identifier  Mouse0
Driver  mouse
Option  Protocol auto
Option  Device /dev/sysmouse
Option  Buttons 5
#Option ZAxisMapping 4 5
#Option Emulate3Buttons No
# Mouse-speed setting for PS/2 mouse.

 Option Resolution100

# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.
#Option Protocol  Xqueue

# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.
#Option BaudRate  9600
#Option SampleRate150
# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)
#Option Emulate3Buttons
#Option Emulate3Timeout50
# ChordMiddle is an option for some 3-button Logitech mice

#Option ChordMiddle

EndSection

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

#Option ZAxisMapping 4 5

The imwheel port is more or less intergrated into the X11 since 4.2. I 
dont have it installed and the wheel works great in X11.

You must use the device /dev/sysmouse in X11 if you run moused on the 
console.  If you disable moused on the console you can use the device 
/dev/psm0. I suggest you get rid of moused to simplify the troubleshooting.

Do check (#dmesg | grep psm0) what your mouse is being seen as by the 
kernel. I get flakey issues with my KVM that made my mouse into a 
generic ps2. You might need to change a flag on atkbd and rebuild the 
kernel.

-Ryan Merrick

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


Re: Listening to a serial port

2003-07-20 Thread Ryan Merrick
Troy Settle wrote:
All,

How can I configure the serial port to listen at 1200 baud, 8N2,
XON/XOFF?
I try using stty to set the port speed, but it doesn't take.  I also
don't see how to set the stop bits.
Any help is appreciated.

--
  Troy Settle
  Pulaski Networks
  http://www.psknet.com
  540.994.4254 ~ 866.477.5638
  Pulaski Chamber 2002 Small Business Of The Year
 

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


Look and edit the #/etc/gettytab . stty is more for altering the port 
while running and seeing all the configurations of the serial port. 
Another testing command for the terminal is #/usr/bin/tset .

Using stty to change the stopbits would be:
#stty -f /dev/device cstopb . for two stopbits.
#stty -f /dev/device -cstopb . for one stopbits.
Ryan Merrick

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


Re: poc and serial port

2003-05-29 Thread Ryan Merrick
Rob wrote:
Hi all,

I'm trying to use poc (/usr/ports/security/poc), but after one finished 
transaction to the cardreader the cardreader doesn't react anymore.
 It seems the cardreader is stuck and only removing it from the serial 
port resets it again (and gives me another clean run).

I use a Towitoko chipdrive micro, Freebsd 4.8 and 5.1b (same results)
Serial ports are standard 16650A (tried both first and second)
 My questions are: -is there anyone using this setup succesfully ? ( it 
might be my specific cardreader)
  -how can I debug the serial port ?
  -how to reset the serial port (hangup ?)

Please let me know if you need any more information.

Thanks

Rob Evers

I have been fighting with a serial terminial and found that STTY(1) and 
COMCONTROL(8) help to configure the serial port.

Ryan

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


Re: OpenOffice broken???

2003-04-03 Thread Ryan Merrick
CARTER Anthony wrote:

Hi,

Does anyone have any ideas on this?

Anthony

On Thursday 03 April 2003 08:16, CARTER Anthony wrote:
 

Hi,

I had a bit of a problem with the new openoffice 1.0.2. It stops out with
the following:
===  Installing for openoffice-1.0.2_2
===   openoffice-1.0.2_2 depends on file: /usr/local/bin/perl5.6.1 - found
#
# UGLY hack to not have to specify a X-Display.
#
/usr/X11R6/bin/Xvfb :1001 -screen 0 800x600x24  /dev/null 21  echo $! 
/mnt/spare/ports/editors/openoffice/work/.Xvfb.pid
Initializing installation program..
Xlib: connection to localhost:1001.0 refused by server
Xlib: No protocol specified
cannot connect to X server
*** Error code 255 (ignored)
===   Generating temporary packing list
===  Add wrapper scripts
find: OpenOffice.org1.0: No such file or directory
*** Error code 1
Stop in /mnt/spare/ports/editors/openoffice.

Looks like a problem with Xlib, maybe the UGLY hack???

Also, if I get a fix, can I restart the compile without recompiling
everything I have already compiled?
Thanks,
Anthony Carter
___
[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]
 

Are you using X during the install ?

-Ryan

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


Re: Stopping X binding to network interface

2003-04-02 Thread Ryan Merrick
Avleen Vig wrote:

I have multiple network interfaces in my machine, and don't want X to
listen on the internet facing NIC.   
Is there a way to control this? I can't find any details apart from  
using ACLs or other layer of security.   

I just don't want it to bind to that interface :-)

 

The default for X is not to listen to any tcp traffic.

xinit /home/flame/.xinitrc -- -nolisten tcp

-Ryan

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


Re: NATD IPFW

2003-04-02 Thread Ryan Merrick
Brian McCann wrote:

Hi all.  I'm having an issue with security while trying to get natd to
work with ipfw.  I got my ipfw rules working great, so I added the natd
line in:
 ipfw add divert 8668 all from any to any via $EXTERNAL_INTERFACE

But I can't do anything (ping, fetch, etc) until I add:
 ipfw add pass all from any to any
Now, I may be wrong, but doesn't this pretty much open the box up?  I
tried changing the first any to my internal network, but that didn't
work, and I know I've got to be missing something.
If anyone would like to help me off-list, I could send you a copy of my
rule set if you'd like.
Thanks in advance,
--Brian
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
 

Hello,

The best way to learn about your firewall is to log all denyed packets 
and review the log file while trying different programs that access the 
network.

#ipfw add 6500 deny log any to any

#tail -f /var/log/security

Then create rules based on what shows up in the logs.

-Ryan

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


Re: rebuilding the MBR

2003-04-02 Thread Ryan Merrick
Bsd Neophyte wrote:

i posted a message earlier, unfortunately, i received no responses.  so i
guess i'll ask a different question.
i've moved my HD from one system to another.

is it possible to rebuild the MBR?  i'm booting from a promise controller.
initially i was booting from the primary controller but now i'm booting
from the second ide contoller now.
i'm assuming there is a mismatch.  i guess need to boot off of the generic
kernel and reconfigure.  i have a great deal of information on this drive,
so i would really not like to do a reinstallation.


__
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
 

Yes,

Take a look at the fdisk (8) man page.

A generic kernel will idenify the new system's different hardware.

-Ryan

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


Re: Help with IDE RAID

2003-04-02 Thread Ryan Merrick
David Olbersen wrote:

Here's the history:

I installed a Promise TX2000 IDE RAID along with 2 drives. Booted into the BIOS of the TX2000 and defined a RAID-1 array using both drives.

Then, due to circumstances, I had to take out the card and replace it with a plain IDE controller (Promise Ultra 100).

Now when I boot I see the following in dmesg:

===snip!===
atapci1: Promise ATA100 controller port 
0xef00-0xef3f,0xefa4-0xefa7,0xefa8-0xefaf,0xeff0-0xeff3,0xefe0-0xefe7 mem 
0xffac-0xffad irq 11 at device 20.0 on pci0
===snip!===
ar0: 117301MB ATA RAID1 array [14953/255/63] status: DEGRADED subdisks:
0 FREE  ad6: 117800MB IC35L120AVV207-0 [239340/16/63] at ata3-master UDMA100
1 READY ad4: 117800MB IC35L120AVV207-0 [239340/16/63] at ata2-master UDMA100
===snip!===
So it looks like I have an array (ar0) even though I don't have the RAID controller any more!

`atacontrol list` gives the following:
ATA channel 0:
   Master:  no device present
   Slave:   no device present
ATA channel 1:
   Master:  no device present
   Slave:   no device present
ATA channel 2:
   Master:  ad4 IC35L120AVV207-0/V24OA63A ATA/ATAPI rev 6
   Slave:   no device present
ATA channel 3:
   Master:  ad6 IC35L120AVV207-0/V24OA63A ATA/ATAPI rev 6
   Slave:   no device present
So I tried `atacontrol detach 3`. Then rebooted. The dmesg about above is from after that boot. The array is still there, but degraded. I'd like to just get rid of it and have my two drives (ad4 and ad6) to use with vinum.

This machine is running 4.5-STABLE #1, any suggestions?

--
David Olbersen 
iGuard Engineer
11415 West Bernardo Court 
San Diego, CA 92127 
1-858-676-2277 x2152
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

 

I have not used a IDE RAID controler, But I do know RAID.  When you 
create a RAID disk the configuration of the RAID is copied to all of the 
drives and the controller.

I guess, for your problem to use fdisk (8) to regenerate the MBR on one 
of the disks and boot from it.

-Ryan



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


Re: localhost name resolution problem

2003-03-31 Thread Ryan Merrick
W. Sierke wrote:

Hi,

In the course of trying to resolve a problem with sendmail (refusing to
deliver even local mail), I saw a note in the sendmail configuration docs
which says host localhost must resolve to 127.0.0.1. However, when I
checked my system I instead found (details obscured):
# host localhost
localhost.my.domain is a nickname for my.domain
my.domain has address 202.x.x.x
Someone suggested I check localhost.:

# host localhost.
Host not found.
I'm not (wasn't) running a nameserver, my host.conf contains the entries
hosts and bind in that order, resolv.conf has a single, automatic (from
PPPoE)
nameserver entry which works, hostname is set to this_machine.my.domain.
hosts contains
::1 localhost.my.domain localhost
127.0.0.1 localhost.my.domain localhost
192.168.100.1 this_machine.my.domain this_machine
192.168.100.2 another_machine.my.domain another_machine
...


 

Your #/etc/hosts file should read for IPv4 localhost
127.0.0.1localhost.Your_local_domain.com localhost
There should be another line in #/etc/hosts your host
192.168.100.1My_host.Your_local_domain.com My_host
You can add as many lines as you want. with IP address, hostname, nickname.

-Ryan





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


Re: FreeBSD install fails on a DAC960 RAID array

2003-03-19 Thread Ryan Merrick
Darren Gamble wrote:

Good day,

 

-Original Message-
From: Ryan Merrick [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 18, 2003 6:48 AM
To: Darren Gamble
Cc: [EMAIL PROTECTED]
Subject: Re: FreeBSD install fails on a DAC960 RAID array
Hello,

It has been a while since I have seen a  DAC960, but this problem was 
solved by setting the partition size to 2GIGs instead of 8GIGs in the 
RAID BIOS.

-Ryan
   

Thanks for your help!  We'll give that a shot.

Just so that I understand this situation a bit better... why does that solve
the problem?

Darren Gamble
Planner, Regional Services
Shaw Cablesystems GP
630 - 3rd Avenue SW
Calgary, Alberta, Canada
T2P 4L4
(403) 781-4948
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message
 

I do not know, but I think that it has to do with the geometry of the 
logical drive.  When I worked for HostPro all of our MicronPC servers 
came with DAC 960's. I used Freebsd for testing bad hardware. The MS 
servers that used the DAC 960 could boot from both partition sizes.

Ryan Merrick



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


Re: FreeBSD install fails on a DAC960 RAID array

2003-03-18 Thread Ryan Merrick
Darren Gamble wrote:

Good day,

I posted a question last week on my inability to get FreeBSD installed on a
machine with a Mylex DAC960PTL1 RAID array.  I had originally attributed the
problem to a bug mentioned on the 5.0 release errata page which describes my
condition, but after further testing I am not so sure anymore.
The machine in question is a NEC, dual 733MZ P3 with a Mylex DAC960 RAID
controller.  I'm performing the install via floppy/FTP.  Immediately prior
to the installation, the machine was running Red Hat Linux 7.2 , occupying
the entire disk array, and functioning great.  That installation has since
been deleted, as I've attempted to install FreeBSD using the entire disk
array.
The installation proceeds fine, but the machine hangs upon reboot at the
boot manager prompt.  If I try again and install the default boot loader
instead of the boot manager, I get Missing Operating System.
I've so far tried 5.0-RELEASE, 4.8-RC2 and 4.7-RELEASE (using their
respective installation floppies) with identical results.
These symptoms match exactly installation FAQ entries 3.21 and 3.22 .
However, the former suggests to resolve a conflict between two operating
systems conflicting over disk geometry, and I only have FreeBSD installed,
using the entire disk array.  The latter FAQ suggests the problem is with
the BIOS not detecting the disk properly.  However, I am really not sure
what I need to do here, since I know the BIOS/controller are able to work
with large partition sizes due to the previous success with Red Hat.  The
only difference, of course, is that the Linux installation had several
partitions while FreeBSD uses the single partition with slices.
Lastly, I am not even positive that FreeBSD supports booting from this
drive.  The card initially identifies itself as a DAC960PTL1 in the name,
which doesn't exactly match any of the DAC960 cards listed on the hardware
page.  FreeBSD is able to ID and work with the drive, etc. when the mlx
driver module is loaded, so I would guess that this isn't a problem.
I'm at a loss as to what I can do.  Sorry for making this message so large,
but I wanted to be comprehensive.
Thanks in advance,


Darren Gamble
Planner, Regional Services
Shaw Cablesystems GP
630 - 3rd Avenue SW
Calgary, Alberta, Canada
T2P 4L4
(403) 781-4948
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message
 

Hello,

It has been a while since I have seen a  DAC960, but this problem was 
solved by setting the partition size to 2GIGs instead of 8GIGs in the 
RAID BIOS.

-Ryan



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


Re: trouble with DNS lookup

2003-03-18 Thread Ryan Merrick
Alexandr Sinitskiy wrote:

Hello.

 I have trouble with DNS-lookup.
 Then I ping any host by name, the DNS-name was resolving, and ping
 is working. But if I want to connect to remote host by name, almost
 all program reply to me: ftp: alex.kmv.ru: Non-recoverable failure
 in name resolution. And after it, I see in messages new message:
 217.13.212.70 failed: host is not on local network. 217.13.212.70
 - our DNS-server, but my ip is 212.96.114.132. What can I do to make
 my system working ?
 

Hello,

The error message sounds like you are not in the ACL to access the 
nameserver at 217.13.212.70 or a tcp wrapper in hosts.allow.

You are using 'host' and 'dig' to lookup the IP's?

-Ryan



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