Formats Other Than FAT(16)

2004-01-19 Thread Gerard Seibert
I want to format disks that I use in my ZIP drive in  either the FAT(32) or NTFS 
systems. Is there anyway to make FreeBSD accomplish that task? All it seems to want to 
do is use the FAT(16) system. I am now using version 5.2.

Thanks!

Gerard Seibert
[EMAIL PROTECTED]

If life gives you lemons, squeeze the juice into a water gun and shoot other people in 
the eyes.

-- Anonymous

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


ipsec changes in 5.2

2004-01-19 Thread Andrew Thomson
I'm really more interested in changes wrt ipsec since 5.0! ;)

I just upgraded my laptop from 5.0 to 5.2 the other day and now my IPSEC
VPN doesn't work.

I run a VPN over my wireless adhoc network at home.

There are just two hosts on the network, the firewall and the laptop.

The firewall is running Freebsd 4.8.

When my laptop was on 5.0 the following setup worked a treat. However
since the upgrade, the VPN has stopped working.

Below are the setkey entries I was using to get the job done.

spdadd 192.168.14.2/32 0.0.0.0/0 any -P in ipsec
   esp/tunnel/192.168.14.2-192.168.14.1/require;
spdadd 0.0.0.0/0 192.168.14.2/32 any -P out ipsec
   esp/tunnel/192.168.14.1-192.168.14.2/require;

And racoon for the key exchange.

Any tips?

ajt.


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


Unexpected soft update inconsistency

2004-01-19 Thread Peter Schuller
Hello,

What's the deal with soft updates and guaranteed consistency? Every time 
journaling is brought up by someone, he/she is promptly told about how soft 
updates does the job at least as well.  I never had a problem with this based 
on what I have read about soft updates. However:

I *very* quickly ran into a case where I got an unexpected soft update 
inconsistency after crashing the machine by doing something naughty with 
Vinum while there was disk activity (note: the filesystem which exhibited the 
problem was not on a vinum volume).

So my question is:

Do soft updates, or do they not, algorithmically guarantee filesystem 
meta-data consistency in the event of a crash?

   or to put it another way:

Was this an implementation bug or a fact of life with soft updates?

Thanks,

-- 
/ Peter Schuller, InfiDyne Technologies HB

PGP userID: 0xE9758B7D or 'Peter Schuller [EMAIL PROTECTED]'
Key retrieval: Send an E-Mail to [EMAIL PROTECTED]
E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org


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


Re: Web Editing?

2004-01-19 Thread daniel
 At 2004-01-19T22:59:05Z, [EMAIL PROTECTED] writes:

 I think Macromedia have soughted that all out by now in MX. Frankly i
 havent found an editor for Unix that is as good as either Quanta or
 Zend Studio or even Eclipse.

 The website at your email domain doesn't validate as any level of HTML.
 What did you use to write it?
 --


LOl, 2 years out of date, homesite 4.5 on windoze i think. It does have a
validator actually, but why be so pedantic for a personal website
especially when most of your energy and time is used in a paid job doing
the same thing ? I'm actually changing the whole thing very soon.

Sadly as i just moved my development to a Knoppix box running KDE, i had
issues getting quanta to install on the present KDE version, so i've had to
use a kedit for my current contract jobs, not as quick, i seriouslly cant
understand how people can develop via a terminal especially for speed and
efficiency when edit, moving , selecting etc. .


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


Newbie question

2004-01-19 Thread Gafgo
Hello there! I am a newbie to FreeBSD but have read a lot of handbooks.
I have also installed different versions on my old computer just to
practice (incl 4.8, 4.9, 5.0, 5.1). Now I have bought a new computer and
wanted to install 4.9 for real. But during boot up this happened:
ad0: REAL command timeout tag=0 serv=0 - resetting
ata0: resetting devices...
and there it hangs. When I tried 5.1 I had no problem. Could it be a
hardware problem??
I hope that somebody can help me with this.
Many thanks Nicolas
Is this a very stupid question? Nobody answers.
Just give me a clue.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 5.1 pure-ftpd stopped working, can't kill process

2004-01-19 Thread hugle
Hello all.
DOn't know if i'm posting to the right place, but...
I came up with kinda situation..
i saw that samba died.. trie ftp'ing to the server..
waited a long time while getting directory list, after got time out.
samba olso seems not to be working.

ps aux show such processes:
ftp   1498  0.0  0.2  2824 1188  ??  D12:13AM   0:00.00 pure-ftpd (IDLE) 
(pure-ftpd)
ftp   1500  0.0  0.2  2824 1188  ??  D12:13AM   0:00.00 pure-ftpd (IDLE) 
(pure-ftpd)
ftp   2953  0.0  0.2  2824 1188  ??  D12:14AM   0:00.00 pure-ftpd (IDLE) 
(pure-ftpd)
ftp   3289  0.0  0.2  2824 1188  ??  D12:16AM   0:00.00 pure-ftpd (IDLE) 
(pure-ftpd)
root  3292  0.0  0.4  5312 2224  ??  I12:16AM   0:00.07 /usr/local/sbin/smbd 
-s /usr/smb.conf
ftp   3639  0.0  0.2  2824 1188  ??  D12:17AM   0:00.00 pure-ftpd (IDLE) 
(pure-ftpd)
ftp   3640  0.0  0.2  2824 1188  ??  D12:19AM   0:00.00 pure-ftpd (IDLE) 
(pure-ftpd)
ftp   3664  0.0  0.2  2824 1188  ??  D12:22AM   0:00.00 pure-ftpd (IDLE) 
(pure-ftpd)
ftp   3671  0.0  0.2  2824 1188  ??  D12:23AM   0:00.00 pure-ftpd (IDLE) 
(pure-ftpd)
ftp   3672  0.0  0.2  2824 1188  ??  D12:23AM   0:00.00 pure-ftpd (IDLE) 
(pure-ftpd)
ftp   3676  0.0  0.2  2824 1192  ??  D12:25AM   0:00.00 pure-ftpd (IDLE) 
(pure-ftpd)
ftp   3677  0.0  0.2  2824 1188  ??  D12:25AM   0:00.00 pure-ftpd (IDLE) 
(pure-ftpd)
ftp   3678  0.0  0.2  2824 1188  ??  D12:26AM   0:00.00 pure-ftpd (IDLE) 
(pure-ftpd)
ftp   3691  0.0  0.2  2824 1188  ??  D12:32AM   0:00.00 pure-ftpd (IDLE) 
(pure-ftpd)
ftp   3705  0.0  0.2  2824 1188  ??  D12:33AM   0:00.00 pure-ftpd (IDLE) 
(pure-ftpd)
ftp   3706  0.0  0.2  2824 1188  ??  D12:33AM   0:00.00 pure-ftpd (IDLE) 
(pure-ftpd)
ftp   3710  0.0  0.2  2824 1188  ??  D12:37AM   0:00.00 pure-ftpd (IDLE) 
(pure-ftpd)
ftp   3711  0.0  0.2  2824 1188  ??  D12:38AM   0:00.00 pure-ftpd (IDLE) 
(pure-ftpd)
ftp   3715  0.0  0.2  2824 1188  ??  D12:40AM   0:00.00 pure-ftpd (IDLE) 
(pure-ftpd)
ftp   3733  0.0  0.2  2824 1188  ??  D12:49AM   0:00.00 pure-ftpd (IDLE) 
(pure-ftpd)
ftp   3739  0.0  0.2  2824 1188  ??  D12:52AM   0:00.00 pure-ftpd (IDLE) 
(pure-ftpd)
ftp   3786  0.0  0.2  2824 1188  ??  D 1:07AM   0:00.00 pure-ftpd (IDLE) 
(pure-ftpd)
ftp   3807  0.0  0.2  2824 1188  ??  D 1:18AM   0:00.00 pure-ftpd (IDLE) 
(pure-ftpd)
ftp   3826  0.0  0.2  2824 1188  ??  D 1:22AM   0:00.00 pure-ftpd (IDLE) 
(pure-ftpd)
ftp   3836  0.0  0.2  2824 1188  ??  D 1:32AM   0:00.00 pure-ftpd (IDLE) 
(pure-ftpd)
ftp   3837  0.0  0.2  2824 1188  ??  D 1:32AM   0:00.00 pure-ftpd (IDLE) 
(pure-ftpd)
ftp   3839  0.0  0.2  2824 1188  ??  D 1:32AM   0:00.00 pure-ftpd (IDLE) 
(pure-ftpd)
ftp   3860  0.0  0.2  2824 1188  ??  D 1:42AM   0:00.00 pure-ftpd (IDLE) 
(pure-ftpd)
ftp   3880  0.0  0.2  2824 1188  ??  D 1:48AM   0:00.00 pure-ftpd (IDLE) 
(pure-ftpd)
ftp   3900  0.0  0.2  2824 1188  ??  D 1:55AM   0:00.00 pure-ftpd (IDLE) 
(pure-ftpd)
ftp   3901  0.0  0.2  2824 1188  ??  D 1:58AM   0:00.00 pure-ftpd (IDLE) 
(pure-ftpd)
nobody3928  0.0  0.4  5268 2072  ??  D 2:05AM   0:00.01 /usr/local/sbin/smbd 
-s /usr/smb.conf
nobody3930  0.0  0.4  5252 2048  ??  D 2:06AM   0:00.01 /usr/local/sbin/smbd 
-s /usr/smb.conf
nobody4034  0.0  0.4  5268 2072  ??  D 2:07AM   0:00.01 /usr/local/sbin/smbd 
-s /usr/smb.conf
ftp   4035  0.0  0.2  2824 1188  ??  D 2:10AM   0:00.00 pure-ftpd (IDLE) 
(pure-ftpd)
root  4078  0.0  0.2  2740 1268  ??  Ss2:16AM   0:00.00 pure-ftpd (SERVER) 
(pure-ftpd)
ftp   4081  0.0  0.3  2808 1412  ??  D 2:16AM   0:00.00 pure-ftpd (IDLE) 
(pure-ftpd)
ftp   4082  0.0  0.3  2824 1428  ??  D 2:16AM   0:00.00 pure-ftpd (IDLE) 
(pure-ftpd)

but while killing any of them, I have no success.. can't kill any
even with kill -9 PID
strange..
got this problem once.. rebooted machine - helped
now came up with tha same problem... so i'm trying to figure out.
SSH working..
THX, Jarek
-- 
Best regards,Hugle

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


Re: [was: Cutting the power ... ] Journaling file system

2004-01-19 Thread Warren Block
On Mon, 19 Jan 2004, Cordula's Web wrote:

 Beware when using flash ram as some kind of live filesystem!
 Flash media has a quite limited number of erase cycles
 You may think that's plenty, but since filesystem meta-data
 is often written at the same location (superblocks etc...),
 this location will quickly reach the threshold, where it
 can't be used anymore!

Current flash memory spreads the writes around through wear leveling.
A logical write to an address is remapped internally to keep the wear as
even as possible.  There's a kind of neat calculator at:

http://www.m-sys.com/content/Developer/Calc.asp

There's also a PDF from the same company that talks about how it works,
but I couldn't find it on their web site, so:

http://www.spezial.de/commercio/dateien/magazin/FFD_Life_Expectancy.pdf

-Warren Block * Rapid City, South Dakota USA
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Formats Other Than FAT(16)

2004-01-19 Thread Warren Block
On Mon, 19 Jan 2004, Gerard Seibert wrote:

 I want to format disks that I use in my ZIP drive in either the
 FAT(32) or NTFS systems. Is there anyway to make FreeBSD accomplish
 that task? All it seems to want to do is use the FAT(16) system. I am
 now using version 5.2.

The man page for newfs_msdos shows a -F flag, just like Linux's
mkfs.vfat takes.  What error message do you get?

-Warren Block * Rapid City, South Dakota USA
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: GDBE and USB-sticks? [was: GBDE and file-backed filesystems?]

2004-01-19 Thread Michael W. Oliver
On Mon, Jan 19, 2004 at 06:52:32PM +0100, Benjamin Walkenhorst wrote:
 Hello once more,
 
 One of the readers has replied privately, telling me there's a patch for
 FBSD 5.x, mdcrypt, he also supplied me with a URL for downloading
 (thank you very much!). GDBE, he told me, would most probably not work
 on md-filesystems.
 But another thing came to my mind - is it possible to encrypt partitions
 on a USB-stick using GDBE? (If that worked, it would remove the need for
 encrypted md-files...)
 Benjamin

I will trade links with you.  Here is a link to an article describing
GBDE on a USB ThumbDrive.  If you are not bound by a privacy request,
please post the link to the patch you mention above.

http://www.bsdnews.org/03/cryptusb.php

Thanks!

-- 
Mike
perl -e 'print unpack(u,88V]N=%C=\!I;F9O(EN(AE861EG,*);'



pgp0.pgp
Description: PGP signature


Re: Web Editing?

2004-01-19 Thread Greg 'groggy' Lehey
On Tuesday, 20 January 2004 at 10:35:14 +1100, [EMAIL PROTECTED] wrote:
 At 2004-01-19T22:59:05Z, [EMAIL PROTECTED] writes:

 I think Macromedia have soughted that all out by now in MX. Frankly i
 havent found an editor for Unix that is as good as either Quanta or
 Zend Studio or even Eclipse.

 The website at your email domain doesn't validate as any level of HTML.
 What did you use to write it?

 LOl, 2 years out of date, homesite 4.5 on windoze i think. It does have a
 validator actually, but why be so pedantic for a personal website
 especially when most of your energy and time is used in a paid job doing
 the same thing ?

That's your call.  A number of us have good reasons, and that's why
many of us use bollox.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgp0.pgp
Description: PGP signature


booting with pci wireless card

2004-01-19 Thread Benjamin Coy
I recently installed FreeBSD 5.2 on my Pentium III 850.  I'd like to set it up 
as a wireless router, but I'm having problems getting the wi driver to work 
properly with my D-link dwl-520 (rev. E1) pci wireless card.  It seems to 
correctly identify the card, but then is unable to configure it.
dmesg.boot:
...
 wi0: Intersil Prism2.5 mem 0xe8011000-0xe8011fff irq 10 at device 15.0 on pci0
 wi0: couldn't reset prism2.5 core.
 device_probe_and_attach: wi0 attach returned 6
...
Thanks in advance,
Ben
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Web Editing?

2004-01-19 Thread BSD baby
 What do people here use to edit HTML documents?  I usually use Dreamweaver, 
 but I haven't gotten the time to try to get wine working so I can run 
 Dreamweaver on FreeBSD.


Quanta is your best bet.  It's very similar to Homesite on Windows.  (Which I think is 
bundled with Dreamweaver these days.)

HOMEPAGE:  http://quanta.sourceforge.net/

Those of you who haven't looked at it in a long time, check it out again.
Tag-completion for HTML saves many keystrokes over doing things in vi/emacs.
Its syntax hints for PHP are wonderful.
Syntax coloring for every language (even the odd/rare ones, thanks to Kate).

It's KDE-native.

TO INSTALL:
cd /usr/ports/www/quanta ; make install


I use it about 8 hours a day for everything from HTML-making to Ruby-programming, and 
love it.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ipfw/nated stateful rules example

2004-01-19 Thread Lowell Gilbert
fbsd_user [EMAIL PROTECTED] writes:

 Sorry but the rule set you posted is doing 'keep-state' on the lan
 interface and not the interface facing the public internet. All the
 rule statements processing against the public interface are
 stateless.  Doing stateful testing on the private lan is just waste
 of cpu cycles, it proves nothing other than you have less turst in
 your lan users that you have in unknown public internet users.

Not really; the stateful rules are being applied against the public
Internet responses to packets sent out by the LAN users.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area: 
resume/CV at http://be-well.ilk.org:8088/~lowell/resume/
username/password public
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Web Editing?

2004-01-19 Thread daniel

 Quanta is your best bet.  It's very similar to Homesite on Windows.
 (Which I think is bundled with Dreamweaver these days.)

 HOMEPAGE:  http://quanta.sourceforge.net/

 Those of you who haven't looked at it in a long time, check it out
 again. Tag-completion for HTML saves many keystrokes over doing things
 in vi/emacs. Its syntax hints for PHP are wonderful.
 Syntax coloring for every language (even the odd/rare ones, thanks to
 Kate).

 It's KDE-native.

 TO INSTALL:
 cd /usr/ports/www/quanta ; make install



I've had issues getting it installed on my debian based knoppix system ,
its saying something that it requires KDE 3 libraries but i'm already
running KDE3 any ideas ? Maybe this is offtopic, i use BSD purely as a
server at the moment.


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


Re: Kernel Make troubleshooting

2004-01-19 Thread Ion-Mihai Tetcu
On Mon, 19 Jan 2004 14:27:39 -0800 (PST)
Veronica Brainfluff [EMAIL PROTECTED] wrote:

 I am trying to customise my kernel for the very first
 time.  I got through config, make depend and when I
 ran 'make' I got an error called: Error code 1. 
 Attached is my configuration file, DARNBOXKERNEL.  I
 hope you can find out what I did wrong! :)

Veronica, first of all, when asking a question you should provide as
much info as necessary; it's better to have to much that to little. 

1. What  FreeBSD version are you running ( It seems from your kernel
config file you're running 5.x ) ? 

2. Error code 1 means just error, what is the system printing above
that (give about 6-10 lines) ? 

3. Did you cvsup before ?

Also, do you have all this ?
 # RAID controllers
 device aac # Adaptec FSA RAID
 device aacp# SCSI passthrough for aac (requires CAM)
 device amr # AMI MegaRAID
 #deviceida # Compaq Smart RAID
 device ips # IBM (Adaptec) ServeRAID
 device mlx # Mylex DAC960 family
 device pst # Promise Supertrak SX6000
 device twe # 3ware ATA RAID
if not ;) cut them out.

Also you can leave out pcm and kldload(8) the .ko you need.


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


NFS Samba problems

2004-01-19 Thread Zac Brown
Well I'm a new user to FreeBSD, decided I'd give 4.9 a shot yesterday since I had this 
extra HDD sitting around. Well all goes well, I have video  sound working, but now 
I've run into the snag of getting a hold of my data off of my linux samba/nfs server. 

When I tried to use mount_smbfs to mount a samba share I received this error:

   phineas# mount_smbfs -I 192.168.0.4 //[EMAIL PROTECTED]/homes /mnt/home
   mount_smbfs: unable to open connection: syserr = Operation timed out

This of course upset me because using the XFCe4 File Manager I was able to login to 
the linux samba/nfs server via smbclient and view my data. I hunted long and hard 
through all the mailing list entries for an answer to my problem and have come up with 
nothing. I've also googled numerous times on the google.com/bsd site to no avail. I'm 
really missing the smbmount command because it would all be fine if I could just use 
that. My next attempt was with NFS in which I setup my linux server with, setup my 
FreeBSD as a client just as the bsddiary.com version explained. I then issued the 
command:

   phineas# mount 192.168.0.4:/home/zac /mnt/home

   192.168.0.4:/home/zac: nfsd: RPCPROG_NFS: RPC: Port mapper failure -RPC: Unable 
to send

It repeats the 2nd statement till I press ctrl+c in the console. At this point I'd 
just be happy to be able to mount a share and listen to my mp3's and access my school 
work etc. Any help would be greatly appreciated.

Thanks in advance,

-- 
Zac Brown
http://rufius.com

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


Tuxcards + run away process

2004-01-19 Thread epilogue
Hello all,

I have been having problems with the program Tuxcards (ports/deskutils). 
After about 5 minutes open, it's process seems to run away (whether or not
I am actively using the program).

I have built Tuxcards from ports and also tried installing the pkg, but
both yield the same result:

last pid: 14101;  load averages:  0.59,  0.21,  0.15   
 up 0+00:34:17  20:05:28 36 processes:  4 running, 32 sleeping
CPU states: 95.3% user,  0.0% nice,  0.8% system,  3.9% interrupt,  0.0%
idle Mem: 85M Active, 91M Inact, 40M Wired, 3048K Cache, 48M Buf, 154M Free
Swap: 800M Total, 800M Free

PID USERNAME PRI NICE  SIZERES STATETIME   WCPUCPU COMMAND
14014 epi 49   0 24716K 20680K RUN  0:58 90.19% 90.19% tuxcards
172epi 28   0 41648K 40152K RUN  0:59  0.05%  0.05% XFree86
186epi  2   0 41252K 33388K poll 0:17  0.00%  0.00%  opera
...

I would like to trace the problem, but am unsure where to start.  If anyone
could point me in the right direction, it would be very much appreciated.


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


Big troubles running FreeBSD on a Shuttle nForce2

2004-01-19 Thread Raphael Dinge
Hi,

I've installed a long ago FreeBSD 5.1 on my mother's 
computer which is a shuttle with nvidia nforce2
motherboard.
The computer crashes for reasons I can't explain.
Since 5.2 was out, I installed it, and the problems
are still consistent.

The problem is that the computer is crashing (freezing or
suddenly rebooting). The problem occurs on both 5.1 and
5.2.
- In console vga text mode, the computer did not ever crash,
  and I was available to 'make install' via ssh from my home
  a big variety of different programs,
- When I launch X, the problems comes, what ever window
  manager I used, namely WindowMaker and KDE 3.
- Crash can occurs when moving a window, launching an
  application, clicking on a link in a web browser,
- The computer is stable running with X if I don't do
  anything with the GUI. I can still use ssh to administrate
  from my home flawlessly.
- Crashes are very likely to freeze the computer or to make
  it reboot suddenly. Sometimes it will just crash X,
- Sometimes when X crash, I can see that KDE did catch
  a Bad drawable error (this is all the local machine, no
  distributed X),
- Sometimes when moving windows, I can see small horizontal
  lines as if the screen was not refreshed well,
- I was thinking that it did come from the kernel modules,
  so I tried :
- with or without acpi.ko (in 5.1 since acpi
  won't run on 5.2 on this computer now) didn't change,
- with various X card driver, namely 'vesa', 'nv' and
  'nvidia' from the ports, didn't change
- I didn't enable sound kernel module for now
- Enabling nvidia.ko in loader.conf always stall computer
  startup after keyboard probe (did not try on 5.2)
- I don't use the onchip network controller (not supported
  in 5.1), and did bought a network controller running
  with sis, flawlessly.
I must admit I'm completely lost with that problem, since
I have the same computer at home, but my mother's computer
was bought 1 year later after mine.
I don't know from where to start, (hardware test, bios
params, bios revision, nforce2 motherboard support) since it
seems I can't find panic log (and I don't know if they exist
anyway). Googling and searching list archive did not
give me more informations.
Any advice will be greatly apreciated.

Many thanks,

Below is my latest dmesg :

Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 
1992, 1993, 1994
	The Regents of the University of California. All rights 
reserved.
FreeBSD 5.2-RELEASE #0: Sun Jan 11 04:21:45 GMT 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Preloaded elf kernel /boot/kernel/kernel at 0xc09e1000.
mptable_probe: MP Config Table has bad signature: F8/I
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) XP 2600+ (2079.56-MHz 686-class CPU)
  Origin = AuthenticAMD  Id = 0x681  Stepping = 1

Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
  AMD Features=0xc040AMIE,DSP,3DNow!
real memory  = 503250944 (479 MB)
avail memory = 479174656 (456 MB)
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
Using $PIR table, 5 entries at 0xc00fdf10
pcib0: Host to PCI bridge at pcibus 0 on motherboard
pci0: PCI bus on pcib0
agp0: NVIDIA nForce2 AGP Controller mem 
0xd000-0xd3ff at device 0.0 on pci0
pci0: memory, RAM at device 0.1 (no driver attached)
pci0: memory, RAM at device 0.2 (no driver attached)
pci0: memory, RAM at device 0.3 (no driver attached)
pci0: memory, RAM at device 0.4 (no driver attached)
pci0: memory, RAM at device 0.5 (no driver attached)
isab0: PCI-ISA bridge at device 1.0 on pci0
isa0: ISA bus on isab0
pci0: serial bus, SMBus at device 1.1 (no driver attached)
ohci0: OHCI (generic) USB controller mem 
0xe0084000-0xe0084fff irq 10 at device 2.0 on pci0
usb0: OHCI version 1.0, legacy support
usb0: OHCI (generic) USB controller on ohci0
usb0: USB revision 1.0
uhub0: (0x10de) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/11.10, addr 
2, iclass 3/1
ums0: 3 buttons and Z dir.
ohci1: OHCI (generic) USB controller mem 
0xe0082000-0xe0082fff irq 11 at device 2.1 on pci0
usb1: OHCI version 1.0, legacy support
usb1: OHCI (generic) USB controller on ohci1
usb1: USB revision 1.0
uhub1: (0x10de) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
pci0: serial bus, USB at device 2.2 (no driver attached)
pci0: multimedia, audio at device 5.0 (no driver attached)
pci0: multimedia, audio at device 6.0 (no driver attached)
pcib1: PCIBIOS PCI-PCI bridge at device 8.0 on pci0
pci1: PCI bus on pcib1
pci_cfgintr: 1:6 INTA BIOS irq 11
sis0: NatSemi DP8381[56] 10/100BaseTX port 0xc000-0xc0ff 
mem 0xdf00-0xdf000fff irq 11 at device 6.0 on pci1
sis0: Silicon Revision: DP83815D
sis0: Ethernet address: 00:40:f4:60:74:15

RE: ipfw/nated stateful rules example

2004-01-19 Thread fbsd_user
That's a play on words. And still does not prove stateful
rules work on the interface facing the public internet.
There is no documentation that says keep-state and limit
only works on the interface facing the private Lan network.
And the implied meaning is they are to be used on the
interface facing the public internet.

This is the IPFW Inclusive Rule Set that I use with 'user ppp' -Nat.
This works just fine on the public internet facing interface.
Where in this rule set should I place the divert rule so the
stateful
table will match the returning packets. I tried many different
locations and all it accomplished is changing whether the
private or public IP address is posted in the stateful table and
the returning packet is always the reverse of what was posted in
the stateful table.

There are other users trying to do the same thing with the same
results
as I get. So I know it's not me.

This is looking like IPFW2 divert/Natd function has an legacy
fundamental
design error when used with stateful rules on the interface
facing the public internet.


##  Start of IPFW rules file
###
# Flush out the list before we begin.
ipfw -q -f flush

# Set rules command prefix
cmd=ipfw -q add

pif=tun0# public interface name of interface
 # facing the public internet


#
# No restrictions on Inside Lan Interface for private network
#

$cmd 5 allow all from any to any via xl0


#
# No restrictions on Loopback Interface
#

$cmd 00010 allow all from any to any via lo0


#
# Allow the packet through if it has previous been added to the
# the dynamic rules table by an allow keep-state statement.
#

$cmd 00015 check-state


#
# Interface facing Public internet  (Outbound Section)
# Interrogate session start requests originating from behind the
# firewall on the private network or from this gateway server
# destine for the public internet.
#


# Allow out access to my ISP's Domain name server.
$cmd 00110 allow tcp  from any to xxx.xxx.xxx.xxx 53 out via $pif
setup keep-state
$cmd 00111 allow udp  from any to xxx.xxx.xxx.xxx 53 out via $pif
keep-state


# Allow out non-secure standard www function
$cmd 00200 allow tcp  from any to any 80  out via $pif setup
keep-state

# Allow out secure www function https over TLS SSL
$cmd 00220 allow tcp  from any to any 443  out via $pif setup
keep-state

# Allow out send  get email function
$cmd 00230 allow tcp  from any to any 25  out via $pif setup
keep-state
$cmd 00231 allow tcp  from any to any 110 out via $pif setup
keep-state

# Allow out FBSD (make install  CVSUP)  functions
# Basically give user root  GOD  privileges.
$cmd 00240 allow tcp  from me to any  out via $pif setup keep-state
uid root

# Allow out ping
$cmd 00250 allow icmp from any to any  out via $pif keep-state

# Allow out Time
$cmd 00260 allow tcp  from any to any 37  out via $pif setup
keep-state

# Allow out nntp news (IE: news groups)
$cmd 00270 allow tcp  from any to any 119 out via $pif setup
keep-state

# Allow out secure FTP, Telnet, and SCP
# This function is using SSH  (secure shell)
$cmd 00280 allow tcp  from any to any 22 out via $pif setup
keep-state

# Allow out whois
$cmd 00290 allow tcp  from any to any 43 out via $pif setup
keep-state

# deny and log everything else that's trying to get out.
# This rule enforces the block all by default logic.
$cmd 00299 deny log all from any to any out via $pif


#
# Interface facing Public internet  (Inbound Section)
# Interrogate packets originating from the public internet
# destine for this gateway server or the private network.
#


# Deny all inbound traffic from non-routable reserved address spaces
$cmd 00300 deny all from 192.168.0.0/16  to any in via $pif   #RFC
1918 private IP
$cmd 00301 deny all from 172.16.0.0/12   to any in via $pif   #RFC
1918 private IP
$cmd 00302 deny all from 10.0.0.0/8  to any in via $pif   #RFC
1918 private IP
$cmd 00303 deny all from 127.0.0.0/8 to any in via $pif
#loopback
$cmd 00304 deny all from 0.0.0.0/8   to any in via $pif
#loopback
$cmd 00305 deny all from 169.254.0.0/16  to any in via $pif   #DHCP
auto-config
$cmd 00306 deny all from 192.0.2.0/24to any in via $pif
#reserved for doc's
$cmd 00307 deny all from 204.152.64.0/23 to any in via $pif   #Sun
cluster interconnect
$cmd 00308 deny all from 224.0.0.0/3 to 

Segmentation fault on OPIE when sequence number 0

2004-01-19 Thread Dany
Playing around with OPIE I used the following command on a 5.2R 
(hopefully I still have my root working) :

1) from the user account :
#opiepasswd -c -n 2 

I put 2 for the initial sequence number just to see what would happen to 
the user when he reaches 0

Entered my passphrase, got the seed and got the first response.

2) I didn't touch the /etc/pam.d/login but noticed that it didn't 
contain any reference to opie (/etc/pam.d/ssh does have some).

3) After exiting the current session, I got :
login : alpha
otp-md5 2 he201
Password:
I think I tried my regular Unix password first and it worked. I logged 
out and this time I used the response computed by my external s/key 
calculator. It worked well and I was logged in... nice !

4) So I repeated that process until I reached 0.

5) Now this is what I get :
login: alpha
otp-md5 -1 (null) ext
Password:
I now my s/key password has expired so I put in my Unix password and 
received a nice :

FreeBSD/i386 (local) (ttyv0)
login: Jan 19 22:08:25 local kernel: pid 613 (login), uid 0:exited on 
signal 11 (core dumped)

6) I though it was some kind of security mecanism so I logged back on my 
root account.

7) Trying to disable OPIE login for alpha using the following command :
#opiepasswd -d alpha
Updating alpha:
Segmentation fault (core dumped)
local# Jan 19 22:10:06 local kernel: pid 627 (opiepasswd), uid 0: exited 
on signal 11 (core dumped)

I also tried opipasswd -c alpha to recreate OPIE keys for alpha but I 
received the same segmentation fault.

a) how did OPIE worked in the first place with no mention to it in 
/etc/pam.d/login ?
b) why do I get a segmentation fault ?

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


Re: NFS Samba problems

2004-01-19 Thread Zac Brown
The problems in the earlier post are irrelevant because I figured out I was trying to 
connect to the wrong IP now but I have a new problem. When I use mount_smbfs I get the 
following error:

phineas# mount_smbfs -I 192.168.0.3 //[EMAIL PROTECTED]/homes /mnt/home
mount_smbfs: unable to open connection: syserr = Connection refused

And when I try to mount the nfs share I get the following error:

phineas# mount -t nfs 192.168.0.3:/home/zac /mnt/home
192.168.0.3:/home/zac: nfsd: RPCPROG_NFS: Program not registered

Any help or enlightenment would be greatly appreciated. Thanks in advance.




On Mon, 19 Jan 2004 19:23:35 -0600
Zac Brown [EMAIL PROTECTED] wrote:

 Well I'm a new user to FreeBSD, decided I'd give 4.9 a shot yesterday since I had 
 this extra HDD sitting around. Well all goes well, I have video  sound working, but 
 now I've run into the snag of getting a hold of my data off of my linux samba/nfs 
 server. 
 
 When I tried to use mount_smbfs to mount a samba share I received this error:
 
phineas# mount_smbfs -I 192.168.0.4 //[EMAIL PROTECTED]/homes /mnt/home
mount_smbfs: unable to open connection: syserr = Operation timed out
 
 This of course upset me because using the XFCe4 File Manager I was able to login to 
 the linux samba/nfs server via smbclient and view my data. I hunted long and hard 
 through all the mailing list entries for an answer to my problem and have come up 
 with nothing. I've also googled numerous times on the google.com/bsd site to no 
 avail. I'm really missing the smbmount command because it would all be fine if I 
 could just use that. My next attempt was with NFS in which I setup my linux server 
 with, setup my FreeBSD as a client just as the bsddiary.com version explained. I 
 then issued the command:
 
phineas# mount 192.168.0.4:/home/zac /mnt/home
 
192.168.0.4:/home/zac: nfsd: RPCPROG_NFS: RPC: Port mapper failure -RPC: 
 Unable to send
 
 It repeats the 2nd statement till I press ctrl+c in the console. At this point I'd 
 just be happy to be able to mount a share and listen to my mp3's and access my 
 school work etc. Any help would be greatly appreciated.
 
 Thanks in advance,
 
 -- 
 Zac Brown
 http://rufius.com
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 


-- 
Zac Brown
http://rufius.com

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


Re: Segmentation fault on OPIE when sequence number 0

2004-01-19 Thread Dany
In order to allow my user to login using his regular Unix password I had 
to remove the file /etc/opiekeys

I've tried the same opiepasswd thing on a Debian box and when the s/key 
expired (sequence #  = 0), I just pressed enter in order to get the 
Password prompt for the Unix password.

Just for information heres is my /etc/pam.d/login (stock from 5.2R 
install)  :
auth required pam_nologin.so  no_warn
auth sufficient pam_self.so no_warn
auth include system

account requisite pam_securetty.so
account include system
session include system

password include system

How did I get the OPIE running in the first place without any 
modification of this file ?

On the debian one I had to add auth sufficient pam_opie.so and auth 
required pam_deny.so.

Dany

Dany wrote:

Playing around with OPIE I used the following command on a 5.2R 
(hopefully I still have my root working) :

1) from the user account :
#opiepasswd -c -n 2
I put 2 for the initial sequence number just to see what would happen 
to the user when he reaches 0

Entered my passphrase, got the seed and got the first response.

2) I didn't touch the /etc/pam.d/login but noticed that it didn't 
contain any reference to opie (/etc/pam.d/ssh does have some).

3) After exiting the current session, I got :
login : alpha
otp-md5 2 he201
Password:
I think I tried my regular Unix password first and it worked. I logged 
out and this time I used the response computed by my external s/key 
calculator. It worked well and I was logged in... nice !

4) So I repeated that process until I reached 0.

5) Now this is what I get :
login: alpha
otp-md5 -1 (null) ext
Password:
I now my s/key password has expired so I put in my Unix password and 
received a nice :

FreeBSD/i386 (local) (ttyv0)
login: Jan 19 22:08:25 local kernel: pid 613 (login), uid 0:exited on 
signal 11 (core dumped)

6) I though it was some kind of security mecanism so I logged back on 
my root account.

7) Trying to disable OPIE login for alpha using the following command :
#opiepasswd -d alpha
Updating alpha:
Segmentation fault (core dumped)
local# Jan 19 22:10:06 local kernel: pid 627 (opiepasswd), uid 0: 
exited on signal 11 (core dumped)

I also tried opipasswd -c alpha to recreate OPIE keys for alpha but I 
received the same segmentation fault.

a) how did OPIE worked in the first place with no mention to it in 
/etc/pam.d/login ?
b) why do I get a segmentation fault ?

Thanks
Dany
___
[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]


FreeBSD Documentation and DocBook SGML

2004-01-19 Thread Al Johnson
I'm learning about the FreeBSD documentation, and have read the
primer at:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/fdp-primer/
and have a question.
http://www.freebsd.org/docproj/sgml.html
states: The Documentation Project is trying to use SGML as the
standard method of representing the documentation.
DocBook has been defined using both SGML and XML
(a subset of SGML).
My question is: Why does the FreeBSD Documentation Project
prefer SGML to XML?
_
Get a FREE online virus check for your PC here, from McAfee. 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

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


Re: FreeBSD Documentation and DocBook SGML

2004-01-19 Thread Jonathan T. Sage
Al Johnson wrote:
I'm learning about the FreeBSD documentation, and have read the
primer at:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/fdp-primer/
and have a question.
http://www.freebsd.org/docproj/sgml.html
states: The Documentation Project is trying to use SGML as the
standard method of representing the documentation.
DocBook has been defined using both SGML and XML
(a subset of SGML).
My question is: Why does the FreeBSD Documentation Project
prefer SGML to XML?
it's possible I'm reading things wrong, but it appears as those XML is a 
subset of SGML. While I am by no means an active docbook person, my 
guess would be the fact that in XML, a tree is required, (i.e., 
everything is a nest of a nest of a nest).  I see very few instances 
where this would be all that appropriate for this sort of structure, 
particularly in a manual type format.  While the term outline 
certinally works, ITEM1 - PREAMBLE is not the same significance as ITEM2 
- CONFIGURATION, etc.  XML forces a very rigid structure, where it looks 
like SGML is a bit more freeform.

just my $0.02

~j

--
Yesterday upon the stair I saw a man
who wasn't there, he wasn't there
again today, oh how i wish he'd go away
Jonathan T. Sage
Theatrical Lighting / Set Designer
Professional Web Design
[HTTP://www.JTSage.com]
[EMAIL PROTECTED]
[See Headers for Contact Info]


pgp0.pgp
Description: PGP signature


Mozilla: changing IP w/o restarting

2004-01-19 Thread Jesse Sheidlower

This may be offtopic, but my FreeBSD laptop is the only one
I can test this on, so apologies if it is OT.

I use Mozilla on my 4.8 laptop. Whenever I switch IP addresses,
which is frequent, as I use my computer both in the office and
at home (and on trips, etc.), Mozilla becomes unable to 
resolve any sites it hasn't previously hit. I just get an
endless, Resolving host www.nytimes.com note in the corner.

The only way around this is to quit and restart the browser.
Frankly, this is a pain in the ass, as I usually have six
or more tabs open at once, each containing something I need,
and I don't want to re-open everything every time I move the
computer.

Is there any way around this? I didn't see anything obvious
in the Mozilla docs. 

Thanks.

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


Re: Port Forwarding

2004-01-19 Thread Rishi Chopra
No, those are the values in the file.  I had posted a previous question 
to the list asking what the right values should be (my rl0 interface is 
configured via DHCP) - any ideas what I should put in this section?

James Earl wrote:

On Mon, 2004-01-19 at 13:58, Rishi Chopra wrote:

Here's the rc.firewall file, with comments trimmed for formatting:

[Ss][Ii][Mm][Pp][Ll][Ee])

# set these to your outside interface network and netmask and ip
oif=rl0
omask=255.255.255.0
oip=me


I'm assuming these aren't the real values you have in your actual
rc.firewall.
James



--
Rishi Chopra
http://www.ocf.berkeley.edu/~rchopra
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NFS Samba problems

2004-01-19 Thread T Kellers
On Monday 19 January 2004 10:27 pm, Zac Brown wrote:
 The problems in the earlier post are irrelevant because I figured out I was
 trying to connect to the wrong IP now but I have a new problem. When I use
 mount_smbfs I get the following error:

 phineas# mount_smbfs -I 192.168.0.3 //[EMAIL PROTECTED]/homes /mnt/home
 mount_smbfs: unable to open connection: syserr = Connection refused

 And when I try to mount the nfs share I get the following error:

 phineas# mount -t nfs 192.168.0.3:/home/zac /mnt/home
 192.168.0.3:/home/zac: nfsd: RPCPROG_NFS: Program not registered

 Any help or enlightenment would be greatly appreciated. Thanks in advance.



Try mount_nfs 192.168.0.3:/home/zac /mnt/home

and/or

mount_smbfs -I  -W YOUR WORKGROUPHERE  192.168.0.3 //[EMAIL PROTECTED]/homes /mnt/home 


Tim Kellers
CPE/NJIT

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


Re: NFS Samba problems

2004-01-19 Thread T Kellers

 mount_smbfs -I  -W YOUR WORKGROUPHERE  192.168.0.3 //[EMAIL PROTECTED]/homes
 /mnt/home
Arg..

of course that should be 

mount_smbfs  -W YOUR WORKGROUPHERE  -I 192.168.0.3 //[EMAIL PROTECTED]/homes

Tim

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


Re: Mozilla: changing IP w/o restarting

2004-01-19 Thread Pat Lashley
--On Monday, January 19, 2004 23:05:02 -0500 Jesse Sheidlower [EMAIL PROTECTED] wrote:

I use Mozilla on my 4.8 laptop. Whenever I switch IP addresses,
which is frequent, as I use my computer both in the office and
at home (and on trips, etc.), Mozilla becomes unable to
resolve any sites it hasn't previously hit. I just get an
endless, Resolving host www.nytimes.com note in the corner.
The only way around this is to quit and restart the browser.
Frankly, this is a pain in the ass, as I usually have six
or more tabs open at once, each containing something I need,
and I don't want to re-open everything every time I move the
computer.
Is there any way around this? I didn't see anything obvious
in the Mozilla docs.
Well, one work-around would be to switch from Mozilla to Galeon
and use its session capabilities to automatically re-open all
of the browser windows.  (My primary desktop usually has over
100 tabs distributed across 45 to 50 galeon windows, spread
over 5 of my 20 workspaces.  Without sessions, I think the
occasional crash would send me into a homicidal frenzy...)
You could also try setting up something like djbdns's dnscache
server on the laptop and then set resolv.conf to use 127.0.0.1.
This may not help though - I seem to recall reading that Mozilla
tries to improve DNS performance by doing it itself instead of
trusting the system...  (Actually, I think it was a complaint
about Netscape; but if it does it at all, it's probably in the
shared code.)


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


RE: ipfw/nated stateful rules example

2004-01-19 Thread Ken Bolingbroke

On Mon, 19 Jan 2004, fbsd_user wrote:

 That's a play on words. And still does not prove stateful rules work on
 the interface facing the public internet. There is no documentation that
 says keep-state and limit only works on the interface facing the private
 Lan network. And the implied meaning is they are to be used on the
 interface facing the public internet.

I just jumped in the middle here, so I may be out of context.

But, stateful rules don't play nice with NAT.  Consider non-NAT, a public
IP address contacting an Internet address:

  67.161.59.61 - 66.218.71.91

A rule is created for 66.218.71.91 coming to 67.161.59.61.  When
66.218.71.91 replies, the stateful rule lets it in.  This is good.


But consider NAT:

 10.0.0.10 changed to 67.161.59.61 - 66.218.71.91

If you do a keep-state before NAT, you have a rule to allow 66.218.71.91
to 10.0.0.10, but the return incoming packet will be 66.218.71.91 -
67.161.59.61, so the rule doesn't match.

If you do a keep-state after NAT, then you have a rule to allow
66.218.71.91 to 67.161.59.61.  The return incoming packet matches that
rule, but it accepts the packet and packet processing stops, so it's never
passed through NAT, and never makes it back to 10.0.0.10.


So as it stands now, I don't see that you can use stateful connections
with NAT, unless check-state is changed to allow a packet to be passed
through NAT.

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


Re: ypset(8) attempts to bind to Weird IP (and possible solution)

2004-01-19 Thread Saint Aardvark the Carpeted
Matthew Seaman disturbed my sleep to write:
 Please do submit a PR with your analysis and a patch.  It's slightly
 perturbing that no-one spotted this a long time ago, but these things
 happen from time to time.

Thanks for taking the time to reply!  I'm glad to find out I'm not
completely wrong about this.  I'll be submitting a PR later this week.

I am now blessing your keyboard...
-- 
Saint Aardvark the Carpeted
[EMAIL PROTECTED]
Because the plural of Anecdote is Myth.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 5.1 Crash

2004-01-19 Thread Jousha Coyote
I have a webserver running FreeBSD 5.1, apache, and
Gallery on a Dell PowerEdge 2450 When I get multiple
accesses to gallery at the same time, it locks up the
server.  I have to power cycle the box to get it
running again.  This server has been up and running
for a year, and this just started to happen. There is
nothing in the logs to that point to any problem. 
What is the best way to trouble shoot this problem.

Thanks…


__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


GDM on FreeBSD 5.2

2004-01-19 Thread James
When starting GDM on 5.2 X just crashes.   After the first crash it
comes back with a blank dialog box (and a red - icon) with one button.  
After clicking that button, X exits again.

This is the last (and only) fatal error reported in the log file:

xf86OpenConsole: VT_SETMODE VT_PROCESS failed



I am using nvidia display drivers.   X works fine otherwise (startx and
xdm).


Any ideas?

Thanks,
James

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


FreeBSD 4.9: Installation: CD-ROM problems

2004-01-19 Thread Keith Kelly
From the FreeBSD FAQ 
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/install.html#NO-INSTALL-CDROMhttp://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/install.html#NO-INSTALL-CDROM):
--
3.16. I booted from my ATAPI CDROM, but the install program says no CDROM is found. 
Where did it go?

The usual cause of this problem is a mis-configured CDROM drive. Many PCs now ship 
with the CDROM as the slave device on the secondary IDE controller, with no master 
device on that controller. This is illegal according to the ATAPI specification, but 
Windows plays fast and loose with the specification, and the BIOS ignores it when 
booting. This is why the BIOS was able to see the CDROM to boot from it, but why 
FreeBSD cannot see it to complete the install.

Reconfigure your system so that the CDROM is either the master device on the IDE 
controller it is attached to, or make sure that it is the slave on an IDE controller 
that also has a master device.
---

Well, I'm hitting exactly this problem with the install program after booting off the 
CD, but in my case the CDROM *is* the slave device on an IDE controller that also has 
a master device!  My configuration is as follows:

 - IDE1 master: hard drive
 - IDE1 slave: hard drive
 - IDE2 master: hard drive
 - IDE2 slave: CD-ROM drive

I'm a long-time Windows user who has dabbled in Linux and hated a lot about it.  After 
reading about FreeBSD, I'm really excited to install it and try it out.  But I can't 
even get into the installation process because of this issue.

Can anyone help?  I've searched newsgroup and e-mail list archives and have found 
nothing relevant.

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


mysql files

2004-01-19 Thread Kostya Odnoralov
Hello!
Could you please tell me, am i able to view mysql
database files (3 - *.myd, *.frm, *.myi) without
mysqld running? Is there any progie for this?

Thanks.

-- 
Best regards,
 Kostya  mailto:[EMAIL PROTECTED]

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


Re: Web Editing?

2004-01-19 Thread Paul A. Hoadley
On Mon, Jan 19, 2004 at 09:54:35AM -0600, Kirk Strauser wrote:
 At 2004-01-19T14:25:28Z, Eric F Crist [EMAIL PROTECTED] writes:
 
  What do people here use to edit HTML documents?
 
 Emacs.

Are you using PSGML's xml-mode?  I find it's not indenting my XHTML
documents too well (for example, it seems to assume something like
'div' is an inline rather than a block level element, and then won't
indent the closing tag properly if I move it onto a new line), though
I haven't tried to debug it too extensively.


-- 
Paul.

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


Memory problem while compiling kernel.

2004-01-19 Thread Hossein
Hello;

I tried to compile my 5.1 FreeBSD with these two new options:
options PFIL_HOOKS
options RANDOM_IP_ID

config was successful, and also make depend.But when I tried to make after a few 
seconds I see this message and the process stops
linking kernel
uhub.o: file not recognized: Memory exhausted
***Error code 1

I searched the net for a solution and found that maybe te limits in login.conf 
may cause this problem. But after removing the limits I get the same error. My disk 
usage is like this:

FilesystemSize   Used  Avail Capacity  Mounted on
/dev/ad0s1a   248M70M   157M31%/
devfs 1.0K   1.0K 0B   100%/dev
/dev/ad0s1e   248M55M   173M24%/tmp
/dev/ad0s1f54G   3.7G46G 7%/usr
/dev/ad0s1d   248M27M   201M12%/var

Mohammad H. Falaki

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


Re: ipfw/nated stateful rules example

2004-01-19 Thread Micheal Patterson


- Original Message - 
From: Ken Bolingbroke [EMAIL PROTECTED]
To: fbsd_user [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, January 19, 2004 10:28 PM
Subject: RE: ipfw/nated stateful rules example



 On Mon, 19 Jan 2004, fbsd_user wrote:

  That's a play on words. And still does not prove stateful rules work on
  the interface facing the public internet. There is no documentation that
  says keep-state and limit only works on the interface facing the private
  Lan network. And the implied meaning is they are to be used on the
  interface facing the public internet.

 I just jumped in the middle here, so I may be out of context.

 But, stateful rules don't play nice with NAT.  Consider non-NAT, a public
 IP address contacting an Internet address:

   67.161.59.61 - 66.218.71.91

 A rule is created for 66.218.71.91 coming to 67.161.59.61.  When
 66.218.71.91 replies, the stateful rule lets it in.  This is good.


 But consider NAT:

  10.0.0.10 changed to 67.161.59.61 - 66.218.71.91

 If you do a keep-state before NAT, you have a rule to allow 66.218.71.91
 to 10.0.0.10, but the return incoming packet will be 66.218.71.91 -
 67.161.59.61, so the rule doesn't match.

 If you do a keep-state after NAT, then you have a rule to allow
 66.218.71.91 to 67.161.59.61.  The return incoming packet matches that
 rule, but it accepts the packet and packet processing stops, so it's never
 passed through NAT, and never makes it back to 10.0.0.10.


 So as it stands now, I don't see that you can use stateful connections
 with NAT, unless check-state is changed to allow a packet to be passed
 through NAT.

 Ken Bolingbroke

Ken, try this one. This is what I use here at home and it does indeed work:

Launch NATD with natd -interface ep0 -s -m -u (Only RFC1918 packets get
altered)

## Divert everything to NAT.
ipfw add 1 divert natd ip from any to any via ep0

#Prevent inbound spoof attempts for my lan range
ipfw add 10 deny ip from 192.168.1.0/24 to any in via ep0

#Check State Rules
ipfw add 20 check state

#LAN Allow Stateful
ipfw add 31 allow ip from 192.168.1.0/24 to any keep-state

#Allow Outbound Stateful.
ipfw add 40 allow ip from 68.12.xx.xx to any keep-state

NAT keeps a seperate table of it's translations to provide a back channel.
Traffic comes in, generates a dynamic ruleset, gets translated, heads out
and creates the 2nd dynamic for the packet. You'll end up with something
like this

ipfw -d list

snip

## Dynamic rules:
00040 4 692 (T 18, slot 215) - tcp, 68.12.xx.xx3777- 216.239.57.99 80
00031 35 20374 (T 10, slot 219) - udp, 192.168.1.3 4986- 198.247.231.41
27019
00031 3 216 (T 1, slot 483) - tcp, 192.168.1.1 22- 192.168.1.2 3574
00031 16 11902 (T 298, slot 752) - tcp, 192.168.1.2 3777- 216.239.57.99
80

Granted, you'll end up with a dual entry for each packet in stateful space,
but it does work. Perhaps not as intended with a single match but you can
use statful with NAT.


--

Micheal Patterson
Network Administration
TSG Incorporated
405-917-0600


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


Re: Web Editing?

2004-01-19 Thread Paul A. Hoadley
On Tue, Jan 20, 2004 at 10:35:14AM +1100, [EMAIL PROTECTED] wrote:

 i seriouslly cant understand how people can develop via a terminal
 especially for speed and efficiency when edit, moving , selecting
 etc. .

I don't really find anything speedy or efficient about the 'click,
drag, select, menu, select, dialog-box, click-button, are-you-sure,
confirm' paradigm myself.  I guess everyone's mileage varies.


-- 
Paul.

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


PXE boot and no kernel/init messages

2004-01-19 Thread Peter Schmiedeskamp
Hello, I'm writing in hopes that someone will
recognize the problem I'm seeing and point me in the
right direction.

I'm currently working on setting up a network booting
environment similar to what is described in The
Network People, Inc.'s FreeBSD 5 PXE boot recipe
(http://www.tnpi.biz/computing/freebsd/pxe-netboot.shtml).
 I'm deviating from the instructions in that I'm
pulling my mfsroot image from the server via TFTP
rather than NFS.  Here's a brief description of what
I'm attempting to do:

1. PXE environment loads a TFTP enabled pxeboot  
--- works
2. Fetch kernel from TFTP  --- works
3. Fetch custom MFSROOT via TFTP  --- works
4. Boot --- have encountered problems here, but also
see limited success (see below).

Step 4 is where I seem to have problems.  If I use an
uncompressed mfsroot.gz file that I extract from
FreeBSD's mfsroot.flp, I can boot and I eventually see
the familiar installation screen.  However, no output
is written to the screen between the time the kernel
loads and the time sysinstall appears on the screen. 
I suspect the console is only being initialized as a
function of the (curses?) library that sysinstall
uses?

When I use a custom mfsroot (I don't actually intend
to run sysinstall at all), I don't see any status
messages written to the screen despite the fact that
my mfsroot is pulled across the wire properly and that
the kernel appears to have loaded.  Also, I can boot
using kern.flp and my custom mfsroot and I see both
kernel and init messages posted to the screen.  But
nothing when I boot the same kernel/mfsroot over PXE.

Is there some way that I must initialize the console
to see the normal boot messages?

Thank you in advance.

-Peter


__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Memory problem while compiling kernel.

2004-01-19 Thread Kent Stewart
On Tuesday 20 January 2004 06:22 am, Hossein wrote:
 Hello;

 I tried to compile my 5.1 FreeBSD with these two new options:
   options PFIL_HOOKS
   options RANDOM_IP_ID

I couldn't find any reference to these options.


 config was successful, and also make depend.But when I tried to
 make after a few seconds I see this message and the process stops
 linking kernel
   uhub.o: file not recognized: Memory exhausted
   ***Error code 1

Have you commented any of the USB options. I have a uhub.o in my modules 
directory.


   I searched the net for a solution and found that maybe te limits in
 login.conf may cause this problem. But after removing the limits I
 get the same error. My disk usage is like this:

 FilesystemSize   Used  Avail Capacity  Mounted on
 /dev/ad0s1a   248M70M   157M31%/
 devfs 1.0K   1.0K 0B   100%/dev
 /dev/ad0s1e   248M55M   173M24%/tmp
 /dev/ad0s1f54G   3.7G46G 7%/usr
 /dev/ad0s1d   248M27M   201M12%/var


I don't think it has anything to do with your file systems. Unless you 
are running out of memory and swap.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

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


Re: Real Time FreeBSD?!!!

2004-01-19 Thread anubis
Dude, could you rephrase that?
Its a bit hard to understand

On Sun, 18 Jan 2004 04:09 pm, sam Long wrote:
 I have a system FreeBSD 5.1-p11.
 How will develop further FreeBSD?
 How real time is possible to make from FreeBSD
 operational system?
 I know, that in FreeBSD there are expansions real time
 of standard POSIX.

 I have a small kernel of system due to modules, but on
 how many stably such
 kernel?
 What problems can be?I have born all modules for
 limits of a kernel.

 Thank you for the help Den.

 __
 Do you Yahoo!?
 Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
 http://hotjobs.sweepstakes.yahoo.com/signingbonus
 ___
 [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: Real Time FreeBSD?!!!

2004-01-19 Thread ogautherot

Hi Anubis and Den!

Anubis, I've translated the questions into what I understood.
Den, do not hesitate to complain if I had it wrong.

I would guess the original message was:
- what is the roadmap of FreeBSD (new features)?
  - (I let this one to authorized people :-) )

- How can a real-time system be designed around FreeBSD?
  - I've seen many people that knew what a real-time system
is but they had different views... It all depends on the
type of application and the allowed reaction time, in the
end. What do you want to do? If the POSIX extensions are
OK, then go for it. FreeBSD is a nice system!

- FreeBSD has a small kernel due to module support but
  how stable is this kernel?
  - let's say it's stable enough to serve as a secure Internet
backbone and file server (that must say pretty much...)

- What are the current issues?
  - See the release notes.


anubis écrit:

 Dude, could you rephrase that?
 Its a bit hard to understand
 
 On Sun, 18 Jan 2004 04:09 pm, sam Long wrote:
  I have a system FreeBSD 5.1-p11.
  How will develop further FreeBSD?
  How real time is possible to make from FreeBSD
  operational system?
  I know, that in FreeBSD there are expansions real time
  of standard POSIX.
 
  I have a small kernel of system due to modules, but on
  how many stably such
  kernel?
  What problems can be?I have born all modules for
  limits of a kernel.
 
  Thank you for the help Den.
 
  __
  Do you Yahoo!?
  Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
  http://hotjobs.sweepstakes.yahoo.com/signingbonus
  ___
  [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]


<    1   2